From 1 to 1000 items; the body can be up to 2 MiB.
Each item includes beneficiary_id and either a quote_id or source_currency, amount, and amount_side. Optional: description and reference (your id, up to 64 characters).
The shape of all items is checked first: one malformed item rejects the whole batch with 400 and param: items[i].field, and nothing is created.
Then each item becomes a regular payout, in order, with its own payout.* events. An item that can't be paid doesn't stop the others.
GET /v1/payout-batches/{id} returns summary (how many items are in each status) and totals per currency (principal, platform_fee, tenant_markup, total, completed_total).
Each item includes index, status, payout_id, and your reference. If it never became a payout it stays refused, with an error_code: beneficiary_not_found, quote_expired, limit_exceeded, customer_not_active…
Cancels the batch's payouts that haven't gone out yet. Events: payout_batch.created, payout_batch.cancellation_requested, payout_batch.cancellation_finished, payout_batch.completed.