Get wallet balance
Get the available and ledger balances of a digital wallet
URI
GET
https://api.tryduplo.com/v1/wallets/balance/:wallet_ref?business_id=
Parameters
Header
Authorization
string
set value to Bearer SECRET_KEY
Path Param
wallet_ref
string
required
Wallet referenece
Query param
business_id
string
required
Merchant business id
Sample request
curl --location --request GET 'https://api.tryduplo.com/v1/wallets/balance/:wallet_ref?business_id=' \
--header 'Authorization: Bearer SECRET_KEY' \
--data-raw ''
Duplo Response
{
"data": {
"available_balance": "0.00",
"legder_balance": "0.00",
"bank_accounts": [
{
"account_ref": "act_8hda64gad",
"account_number": "9977632775",
"bank_code": "053",
"created_at": "2021-08-08T11:08:31.000Z",
"account_name": "MERCHANT(Manny Norte)",
"bank_name": "Providus"
}
]
},
"errors": {},
"message": "Request successful"
}
Last updated
Was this helpful?