List all wallets
Get a list of all digital wallets
URI
GET
https://api.tryduplo.com/v1/wallets?bvn=&page=3&perPage=10&business_id=Parameters
Header
Authorization
string
set value to Bearer SECRET_KEY
Query Param
wallet_ref
string
Wallet reference
bvn
string
Bank verification number used oin registering the wallet
business_id
string required
Merchant Business ID
page
string
Specifies the current page in a list of paginated data, default is set to 1
perPage
string
Specifies the number of records per page of a paginated data, default is set to 50
Sample request
curl --location --request GET 'https://api.tryduplo.com/v1/wallets?bvn=&page=3&perPage=10&business_id=b6d2211a-ef00-471a-a3a7-dc5389bdd7ac' \
--header 'Authorization: Bearer SECRET_KEY' \
--data-raw ''var axios = require('axios');
var data = '';
var config = {
method: 'get',
url: 'https://api.tryduplo.com/v1/wallets?bvn=&page=3&perPage=10&business_id=',
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?