Get details of a wallet
Get digital wallet details
URI
GET
https://api.tryduplo.com/v1/wallets/:wallet_ref?business_id={YOUR_VALUE}
Parameters
Header
Authorization
string
set value to Bearer SECRET_KEY
Query Param
business_id
string
required
Merchant Business ID
Path Param
wallet_ref
string
Wallet reference
Sample request
curl --location --request GET 'https://api.tryduplo.com/v1/wallets/:wallet_ref ?business_id={YOUR_VALUE} \
--header 'Authorization: Bearer SECRET_KEY' \
--data-raw ''
Duplo Response
{
"data": {
"wallet_ref": "wal_a73dY82334j",
"created_at": "2021-08-08T11:08:31.000Z",
"first_name": "Manny",
"last_name": "Norte",
"currency": "NGN",
"status": "active",
"available_balance": "0.00",
"legder_balance": "0.00",
"bank_accounts": [
{
"account_ref": "act_7h37dghuX",
"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?