Zum Hauptinhalt springen
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('pyt_zFTrrn4sk3x3y2vjDBW3T');

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

Autorisierungen

Authorization
string
header
erforderlich

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

Pfadparameter

payout_id
string
erforderlich

Id of the Payout to get breakup for

Antwort

Payout breakup by event type in payout currency

event_type
string
erforderlich

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

total
integer<int64>
erforderlich

Total amount for this event type in the payout's currency, in that currency's smallest unit (cents for USD, yen for JPY, fils for KWD).

Zuletzt geändert am 20. April 2026