특정 고객과 연결된 금전적 지갑 잔액을 검색합니다. 지갑에는 송장 및 구독 결제에 적용할 수 있는 실제 자금(USD, INR)이 보관됩니다.
GET
/
customers
/
{customer_id}
/
wallets
JavaScript
Copy
import DodoPayments from 'dodopayments';const client = new DodoPayments({ bearerToken: process.env['DODO_PAYMENTS_API_KEY'], // This is the default and can be omitted});const wallets = await client.customers.wallets.list('customer_id');console.log(wallets.items);
import DodoPayments from 'dodopayments';const client = new DodoPayments({ bearerToken: process.env['DODO_PAYMENTS_API_KEY'], // This is the default and can be omitted});const wallets = await client.customers.wallets.list('customer_id');console.log(wallets.items);