cURL
curl --request GET \ --url https://api.spotflow.co/api/v1/balances/accounts/{accountNumber}/sub-balances \ --header 'Authorization: Bearer <token>'
[ { "accountNumber": "7706438396", "currency": "GHS", "balance": 3, "availableBalance": 3, "accountTag": "main-account", "parentAccountNumber": "string" } ]
Retrieves account balance details for all direct wallets of the specified main account in both NGN and GHS.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
A JSON array of balances objects.
"7706438396"
"GHS"
3
"main-account"
"string"