Hoppa till huvudinnehåll
GET
/
payouts
/
{payout_id}
/
breakup
JavaScript
import DodoPayments from 'dodopayments';

const client = new DodoPayments({
  bearerToken: process.env['DODO_PAYMENTS_API_KEY'], // This is the default and can be omitted
});

const breakups = await client.payouts.breakup.retrieve('payout_id');

console.log(breakups);
[
  {
    "event_type": "<string>",
    "total": 123
  }
]

Documentation Index

Fetch the complete documentation index at: https://docs.dodopayments.com/llms.txt

Use this file to discover all available pages before exploring further.

Auktoriseringar

Authorization
string
header
obligatorisk

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

Sökvägsparametrar

payout_id
string
obligatorisk

Id of the Payout to get breakup for

Svar

Payout breakup by event type in payout currency

event_type
string
obligatorisk

The type of balance ledger event (e.g., "payment", "refund", "dispute", "payment_fees").

total
integer<int64>
obligatorisk

Total amount for this event type in the payout's currency (in smallest currency unit, e.g., cents).

Last modified on May 14, 2026