Wallet balance
Bearer ds_live_ / ds_test_GET
/api/v1/merchant/wallet/balanceReturns the available balance of the wallet your purchases are charged to.
Language
curl -X GET "https://finaldatasub.com/api/v1/merchant/wallet/balance" \
-H "Authorization: Bearer ds_live_YOUR_KEY" \
-H "Accept: application/json"Authentication
Send your secret API key in the header. Authorization: Token … and X-API-Key: … are also accepted.
| Header | Value | Required |
|---|---|---|
| Authorization | Bearer ds_live_YOUR_KEY | Yes |
| Accept | application/json | Recommended |
Authentication failures (401 UNAUTHORIZED, 403 IP_NOT_ALLOWED / ACCOUNT_SUSPENDED / API_ACCESS_NOT_APPROVED, 429 RATE_LIMITED) are listed in Authentication.
Parameters
This endpoint takes no parameters.
Responses
200 OK — OK · 200 OK — OK (sandbox key)
{
"balance": "25000.00",
"currency": "NGN"
}