The wallet balance shows you the most recent sum available to execute transactions or integrate with Blacbox.
In order for you to get your BlacBox Wallet Balance without hassle;
Simply use:
######{{baseurl}}/balance
This endpoint would fetch you your current balance in your BlacBox wallet.
Request
{{baseUrl}}/v1/balance/
Response
{
"status": true,
"message": "Balance fetched successfully",
"data": {
"amount": 0,
"account_name": "MERCHANT(Prudent Core NG)",
"account_number": "9978759163",
"bank_name": "Providus Bank"
}
}
curl -L -X GET '{{baseUrl}}/balance' \
-H "Authorization: Bearer YOUR_SECRET_KEY" \
-H "Content-Type: application/json"
-X GET