Get Wallet Balance

Get the balance in your wallet

URI

GET

https://api.tryduplo.com/v1/wallets/balance/{{wallet_ref}}?business_id={{business_id}}

Parameters

Query Param

Sample request

curl --location 'https://api.tryduplo.com/v1/wallets/balance/wal_05U9oVQavIRE?business_id=bd4239c4-ea0c-4ccc-b5ac-bbfe8f86cd04'. \
--header 'Authorization: Bearer SECRET_KEY'

Duplo Response


{
    "data": {
        "available_balance": 800,
        "email": "duoiba.com@gmail.com",
        "currency": "NGN",
        "ledger_balance": 7800
    },
    "errors": {},
    "message": "Request successful"
}

Last updated