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

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

// Automatically fetches more pages as needed.
for await (const detailListResponse of client.payouts.breakup.details.list('payout_id')) {
  console.log(detailListResponse.id);
}
{
  "items": [
    {
      "created_at": "2023-11-07T05:31:56Z",
      "event_type": "<string>",
      "id": "<string>",
      "original_amount": 123,
      "original_currency": "<string>",
      "payout_currency_amount": 123,
      "usd_equivalent_amount": 123,
      "description": "<string>",
      "reference_object_id": "<string>"
    }
  ]
}

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

Frågeparametrar

page_size
integer<int32>

Number of items per page. Default: 10, Max: 100.

Obligatoriskt intervall: x >= 0
page_number
integer<int32>

Page number (0-indexed). Default: 0.

Obligatoriskt intervall: x >= 0

Svar

Per-row payout breakup in payout currency

Paginated response containing individual payout breakup entries.

items
object[]
obligatorisk

List of payout breakup detail entries.

Last modified on April 20, 2026