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

Authorization string

set value to Bearer SECRET_KEY

Query Param

wallet_ref string

Wallet reference

business_id string required

Merchant business ID

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