List all wallets

Returns a list of all wallets. The objects are sorted in descending order by creation date, with the most recently created object appearing first.

GET
https://api.tryduplo.com/v1/wallets
Parameter
Field
Type
Description
email (optional)
String
Retrieve accounts that has the specified email only
page (optional)
String
This is the page number to retrieve e.g. setting 1 retrieves the first page
curl --location --request GET 'https://api.duplo.com/wallets' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer dp_test_P2tH90snfuQB0qlPopnhdgkOpbs' \
const duplo = require('duplo')('dp_test_P2tH90snfuQB0qlPopnhdgkOpbs');
const wallets = await duplo.wallets.getAll({FilteringObject});
$duplo = new \Duplo\DuploClient(
 'dp_test_P2tH90snfuQB0qlPopnhdgkOpbs'
);
$duplo->virtualAccount->getAll();
200 OK
{
   "data": {
       "data": [
           {
               "legder_balance": "0.00",
               "available_balance": "0.00",
               "bank_accounts": [
                   {
                       "metadata": "{}",
                       "provider": {
                           "bank_code": "053",
                           "bank_name": "Providus",
                           "id": "providus",
                           "default": true
                       },
                       "first_name": "Victor",
                       "last_name": "Alade",
                       "email": "victor@duplo.com",
                       "is_permanent": true,
                       "account_ref": "dp_act_ab21b285350ae40d49034aebbcaa1a41",
                       "business_id": "ad779ff8-f4e8-4196-ba1a-548fc51fe7df",
                       "created_at": "2021-08-09T12:06:19.000Z",
                       "status": "active",
                       "account_name": "MERCHANT(Victor Alade)",
                       "account_number": "9977633837",
                       "bvn": "12345678923"
                   }
               ],
               "status": "active",
               "wallet_ref": "dp_wallet_7c443af256472ac95b68fc531bb545e6",
               "business_id": "ad779ff8-f4e8-4196-ba1a-548fc51fe7df",
               "created_at": "2021-08-09T12:06:19.000Z",
               "currency": "NGN"
           }
       ],
       "meta": {
           "page": 1,
           "limit": 10,
           "previousPage": false,
           "nextPage": false,
           "pageCount": 1,
           "total": 1
       }
   },
   "errors": {},
   "message": "Request successful"
}
Need Support?

Helpful resources while you’re building or for that tricky problem you might be having.

Go to Help Center
Did this page help you?
Yes
No