Wallet & balance
Check how much you can pay out, per currency.
GET
/business/balanceQuery parameters
currencystringoptionalOne of USD, KES, TZS, UGX, ZAR. Omit to get all balances in items.
purposestringoptionalpayout or collection wallet.
cURL: one currency
curl "https://api.test.wakapay.io/business/balance?currency=USD" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN"200OK
{
"available": 5000000,
"businessId": "019d****-****-****-****-********19c3",
"currency": "USD",
"holding": 0,
"pending": 0
}200Response: all currencies
{
"businessId": "019d****-****-****-****-********19c3",
"items": [
{
"available": 5000000,
"currency": "USD",
"holding": 0,
"pending": 0
},
{
"available": 0,
"currency": "KES",
"holding": 0,
"pending": 0
}
]
}Balance fields
| Field | Meaning |
|---|---|
available | Usable now for payouts |
holding | Reserved for transactions in progress |
pending | Incoming, not yet settled |
Check available in the right currency before each payout. An unknown currency code returns a zero balance, not an error. Sandbox accounts may start at zero. Ask the admin team for a top-up.
Errors
| Status | Message |
|---|---|
| 401 | missing value in request header or token is malformed |