跳转到主要内容
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
  }
]

授权

Authorization
string
header
必填

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

路径参数

payout_id
string
必填

Id of the Payout to get breakup for

响应

Payout breakup by event type in payout currency

event_type
string
必填

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

total
integer<int64>
必填

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

Last modified on April 1, 2026