[GET]
{{baseUrl}}/api/v1/wallet/balance
Header
| Header | Type | Description |
|---|---|---|
| AppId | string | you would need to create an app to get your app ID |
| Authorization | string | Your private (secret) key |
Response
| Field | Type | Description |
|---|---|---|
account_number | string | Account number of the wallet |
account_name | string | Name on the account |
bank_name | string | Bank that issued the account |
ledger_balance | number | Ledger balance of the wallet |
main_balance | number | Main balance of the wallet |
balances | object | Balance for each supported currency. Keys are currency codes such as NGN, USD, GHS, and regional codes such as XOF_SEN |
Sample response
Response
{
"entity": {
"account_number": "1040048042",
"account_name": "Dojah-Sample Customer",
"bank_name": "VFD MFB",
"ledger_balance": 3069.3,
"balances": {
"EUR": 0,
"GHS": 0,
"KES": 0,
"MWK": 0,
"NGN": 0,
"TZS": 0,
"UGX": 0,
"USD": 3.81,
"ZWL": 0,
"XAF_CMR": 0,
"XOF_BFA": 0,
"XOF_CIV": 0,
"XOF_MLI": 0,
"XOF_SEN": 0
},
"main_balance": 150.46
}
}