curl -X POST "{{base_url}}/account/wallet/1" \
-H "x-api-key: YOUR_CONSUMER_KEY" \
-H "Content-Type: application/json" \
-d '{}'
{
"code": 200,
"message": "Wallet Balance",
"data": {
"id": 12,
"balance": 50000,
"available_balance": 50000,
"current_balance": null,
"currency": "KES",
"country_name": "Kenya"
}
}
Account
Wallet balance
Fiat wallet balance for a country, including available and current balance.
POST
/
account
/
wallet
/
{country_id}
curl -X POST "{{base_url}}/account/wallet/1" \
-H "x-api-key: YOUR_CONSUMER_KEY" \
-H "Content-Type: application/json" \
-d '{}'
{
"code": 200,
"message": "Wallet Balance",
"data": {
"id": 12,
"balance": 50000,
"available_balance": 50000,
"current_balance": null,
"currency": "KES",
"country_name": "Kenya"
}
}
integer
required
Country id
1–10 (see API overview).data.wallets from Account detail.
number
Wallet id.
number
Spendable fiat amount. Same value as
available_balance.number
Amount available to spend. Same value as
balance.number
Reserved amount on the wallet.
null when no reserved amount is set.string
Currency code, such as
KES.string
Country name.
Errors
| Status | Message | When |
|---|---|---|
404 | Wallet not found! | No partner wallet for that country |
curl -X POST "{{base_url}}/account/wallet/1" \
-H "x-api-key: YOUR_CONSUMER_KEY" \
-H "Content-Type: application/json" \
-d '{}'
{
"code": 200,
"message": "Wallet Balance",
"data": {
"id": 12,
"balance": 50000,
"available_balance": 50000,
"current_balance": null,
"currency": "KES",
"country_name": "Kenya"
}
}
