https://your-domain.com/api
All endpoints on this page require
Authorization: Bearer {token}.GET /get-default-wallet-balance
Returns the formatted balance of the user’s default wallet (the wallet markedis_default = Yes).
Request parameters
The authenticated user’s ID.
Response fields
Error responses
| Status | Reason |
|---|---|
401 | User not found or no default wallet set |
GET /available-balance
Returns all wallets belonging to the user, including currency codes and current balances. Use this endpoint to populate wallet selectors across the app.Request parameters
The authenticated user’s ID.
Response fields
Array of wallet objects. Each item contains:
Error responses
| Status | Reason |
|---|---|
401 | user_id parameter missing |