Skip to content
Loading keys…
Authorization<token>

A public key (pk./pk_test.) is accepted on /payments, /customers, /links, /invoices and the catalogue reads (/channels, /providers, /countries, /currencies); anything that moves money out, reads the balance or manages the account answers 406 to it. It is an identifier, never an authorization. Use a secret key (sk./sk_test.) for sensitive operations (transfers, refunds, balance), or a restricted key (rk./rk_test.) scoped to specific permissions. The _test. variant of any key selects the sandbox environment, there is no separate sandbox URL. Never expose your secret key in client-side code.

In: header

Query Parameters

currencystring | null

ISO 4217 code to convert the balance to. Defaults to your account currency.

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://api.wajub.com/balance?currency=XAF"
GET
/balance
{  "code": 200,  "status": "OK",  "message": "Balance retrieved",  "balance": {    "total": 1325000,    "available": 1250000,    "pending": 75000,    "reserved": 0,    "in.transit": 0,    "hold": 0,    "disputed": 0,    "credit": 0,    "currency": "XAF",    "environment": "live"  }}

Balance retrieved

What did you think of this content?