Currencies
Current user's balances across all defined currencies, plus transaction history.
Users don't need to have opened a user_balances row — /client/currencies synthesizes a zero-balance entry for every currency definition if the user has none yet.
Source: apps/api/src/routes/client/currencies.ts.
Endpoints
| Method | Path | Description |
|---|---|---|
| GET | /client/currencies | Balances for every defined currency (synthetic if no user_balance row). |
| GET | /client/currencies/transactions | Paginated transaction history, optional ?currency_code=. |
GET /client/currencies
Response 200
Errors
500 FETCH_FAILED.
Try it:
GET
client auth/client/currenciescurl -X GET 'https://api.amba.dev/client/currencies'Loading auth… Configure auth in the settings drawer (top-right) to run this request.
Curl:
GET /client/currencies/transactions
Query
| Param | Default |
|---|---|
limit | 50 |
offset | 0 |
currency_code | — (all currencies) |
Response 200
Try it:
GET
client auth/client/currencies/transactionscurl -X GET 'https://api.amba.dev/client/currencies/transactions'Loading auth… Configure auth in the settings drawer (top-right) to run this request.
Curl: