API for retrieving business wallet balance and statements
API for retrieving business wallet balance and statements
curl -i -X GET \
https://developer.boyahq.com/_mock/statements/wallet/ \
-H 'X-API-KEY: YOUR_API_KEY_HERE' \
-H 'org_wallet_ref: 1'
{ "docs": [ { … } ], "total": 0, "limit": "string", "page": "string", "pages": 0 }
curl -i -X GET \
'https://developer.boyahq.com/_mock/statements/wallet/all-in-one/{org_wallet_ref}?from=string&limit=25&page=1&to=string' \
-H 'X-API-KEY: YOUR_API_KEY_HERE' \
-H 'org_wallet_ref: 1'
{ "docs": [ { … } ], "total": 0, "limit": "string", "page": "string", "pages": 0 }
curl -i -X GET \
'https://developer.boyahq.com/_mock/statements/wallet/topup-history/{accountNumber}/{org_wallet_ref}?from=string&limit=25&page=1&to=string' \
-H 'X-API-KEY: YOUR_API_KEY_HERE' \
-H 'org_wallet_ref: 1'
{ "availableBalance": null, "allocatedAmount": null }