The following functions are a set for creating this web APIs:
Path | Method | Request/Exmaple | Desription |
---|---|---|---|
/transaction | POST | {"amount": 10.5, "currency": "USD", "category": "fastfood", "type": "expense"} | Add transaction |
/transactions | POST | { "user_id": 1 } | Chech transactions history |
/balance | POST | { "user_id": 1 } | Check balance |