curl 'http://localhost:9000/admin/payouts/pout_01HXYZ8Q2M4N6P8R0T2V4W6X8Y' \
-H 'Authorization: Bearer <token>'
const { payout } = await client.admin.payouts.$id.query({
$id: "pout_01HXYZ8Q2M4N6P8R0T2V4W6X8Y",
})
{
"payout": {
"id": "pout_01HXYZ8Q2M4N6P8R0T2V4W6X8Y",
"display_id": 42,
"amount": 1250,
"currency_code": "usd",
"status": "completed",
"data": null,
"account": { "id": "pacc_01HXYZ", "status": "active" },
"seller": { "id": "sel_01HXYZ", "name": "Acme Store", "handle": "acme-store" }
}
}
Payouts
Retrieve Payout
Retrieve a payout by ID.
GET
/
admin
/
payouts
/
{id}
curl 'http://localhost:9000/admin/payouts/pout_01HXYZ8Q2M4N6P8R0T2V4W6X8Y' \
-H 'Authorization: Bearer <token>'
const { payout } = await client.admin.payouts.$id.query({
$id: "pout_01HXYZ8Q2M4N6P8R0T2V4W6X8Y",
})
{
"payout": {
"id": "pout_01HXYZ8Q2M4N6P8R0T2V4W6X8Y",
"display_id": 42,
"amount": 1250,
"currency_code": "usd",
"status": "completed",
"data": null,
"account": { "id": "pacc_01HXYZ", "status": "active" },
"seller": { "id": "sel_01HXYZ", "name": "Acme Store", "handle": "acme-store" }
}
}
Returns a single payout with its payout account and seller details.
Path parameters
The payout’s ID.
Query parameters
Comma-separated fields to include in the response.
Response
Show properties
Show properties
The payout’s ID.
Human-readable payout number.
The payout amount.
The payout currency.
The payout status.
Provider-specific payout data.
The payout account, with
id and status.The seller, with
id, name, and handle.Creation timestamp.
Last update timestamp.
curl 'http://localhost:9000/admin/payouts/pout_01HXYZ8Q2M4N6P8R0T2V4W6X8Y' \
-H 'Authorization: Bearer <token>'
const { payout } = await client.admin.payouts.$id.query({
$id: "pout_01HXYZ8Q2M4N6P8R0T2V4W6X8Y",
})
{
"payout": {
"id": "pout_01HXYZ8Q2M4N6P8R0T2V4W6X8Y",
"display_id": 42,
"amount": 1250,
"currency_code": "usd",
"status": "completed",
"data": null,
"account": { "id": "pacc_01HXYZ", "status": "active" },
"seller": { "id": "sel_01HXYZ", "name": "Acme Store", "handle": "acme-store" }
}
}
⌘I