GET
/
customers
/
{customer_id}
/
wallets
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
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

customer_id
string
required

Customer ID

Response

The response is of type object.