Balance

Get the balance of a wallet

GET
https://api.tryduplo.com/v1/wallet/balance/:wallet_ref
curl --location --request GET 'https://api.duplo.com/wallets/balance/dp_wallet_drNR8Eyio4DwE4CeXh2wXc' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer dp_test_P2tH90snfuQB0qlPopnhdgkOpbs' \
const duplo = require('duplo')('dp_test_P2tH90snfuQB0qlPopnhdgkOpbs');
const virtualAccount = await duplo.wallets.balance('dp_wallet_drNR8Eyio4DwE4CeXh2wXc');
$duplo = new \Duplo\DuploClient(
 'dp_test_P2tH90snfuQB0qlPopnhdgkOpbs'
);
$duplo->wallets->balance('dp_wallet_drNR8Eyio4DwE4CeXh2wXc');
200 OK
{
   "data": {
       "available_balance": "0.00",
       "email": "pola@gmail.com",
       "currency": "NGN",
       "legder_balance": "0.00"
   },
   "errors": {},
   "message": "Request successful"
}
Need Support?

Helpful resources while you’re building or for that tricky problem you might be having.

Go to Help Center
Did this page help you?
Yes
No