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
stringrequired
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 ''var axios = require('axios');
var data = '';
var config = {
method: 'get',
url: 'https://api.tryduplo.com/v1wallets/:wallet_ref?business_id={YOUR_VALUE}',
headers: {
'Authorization': 'Bearer SECRET_KEY'
},
data : data
};
axios(config)
.then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});Duplo Response
Last updated
Was this helpful?