Skip to contentSkip to Content
API ReferenceWallet & balance

Wallet & balance

Check how much you can pay out, per currency.

GET/business/balance

Query parameters

currencystringoptional

One of USD, KES, TZS, UGX, ZAR. Omit to get all balances in items.

purposestringoptional

payout 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

FieldMeaning
availableUsable now for payouts
holdingReserved for transactions in progress
pendingIncoming, 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

StatusMessage
401missing value in request header or token is malformed