Downloads the complete payout breakup as a CSV file with columns for ledger ID, event type, amounts, and more.
GET
/
payouts
/
{payout_id}
/
breakup
/
details
/
csv
JavaScript
import DodoPayments from 'dodopayments';const client = new DodoPayments({ bearerToken: process.env['DODO_PAYMENTS_API_KEY'], // This is the default and can be omitted});await client.payouts.breakup.details.downloadCsv('payout_id');
import DodoPayments from 'dodopayments';const client = new DodoPayments({ bearerToken: process.env['DODO_PAYMENTS_API_KEY'], // This is the default and can be omitted});await client.payouts.breakup.details.downloadCsv('payout_id');