Retrieve wallets associated with a specific customer.
JavaScript
import DodoPayments from 'dodopayments'; const client = new DodoPayments({ bearerToken: 'My Bearer Token', }); const wallets = await client.customers.wallets.list('customer_id'); console.log(wallets.items);
{ "items": [ { "balance": 123, "created_at": "2023-11-07T05:31:56Z", "currency": "AED", "customer_id": "<string>", "updated_at": "2023-11-07T05:31:56Z" } ], "total_balance_usd": 123 }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Customer ID
Show child attributes
Sum of all wallet balances converted to USD (in smallest unit)
Was this page helpful?