Skip to content
SETSimple Easy Transactions
SET DocsSET Crypto API Suite and SET API referenceCurrent as of 2026-11-21 · wallet release 7d8a79fb
Browse: SET Crypto API Suite

SET Crypto API Suite · Pay out

Pay up to 100 recipients at once

POST/v1/payout_batches

Key scope: write · Success: 201

Prefunded payouts: up to 100 items from one funded wallet. Every item is checked before anything is sent (recipient, owner, amount, fee); a bad item is refused with its index and nothing is created. The wallet must hold the batch total. Items are queued and sent, the first 10 at once and the rest in the background.

Headers

Idempotency-Key string
Optional. The same key and body run once; a replay answers with Idempotent-Replayed: true. Kept 24 hours.

Body

wallet stringrequired
The funded wallet.
items [{ recipient, amount, externalId?, maxRateDriftBps? }]required
1–100 items. No per-item reference: use single payouts for bank references. maxRateDriftBps guards one item, as on a single payout: bank payouts in EUR, GBP, MXN, BRL or COP, 1–5000. See Exchange-rate drift.
externalId string
Your id for the batch; a retry returns the same objects.

Notes

  • SET's own checks before sending run on every item; an item they hold is pending_review like a single payout.
  • An item whose rate has moved past its maxRateDriftBps, or cannot be read when it is sent, is held with reviewReasons: ["rate_drift"]; the batch's other items still go. A bad maxRateDriftBps, or no rate when the batch is created, refuses the whole batch, names the item, and creates nothing.
  • Each item is an ordinary payout with its own events. The batch is processing, then submitted, then completed once every item is final: events payout_batch.created, .submitted, .completed.

Errors

  • 400 items_invalid
  • 400 recipient_invalid
  • 409 cash_out_address_missing
  • 409 travel_rule_incomplete
  • 422 policy_refused
  • 403 destination_refused
  • 400 asset_not_permitted
  • 400 reference_not_supported
  • 400 external_id_repeated
  • 400 max_rate_drift_invalid
  • 400 max_rate_drift_not_applicable
  • 502 rate_unavailable
  • 409 external_id_taken
  • 413 payload_too_large
  • 400 amount_invalid
  • 400 fallback_invalid
  • 400 fallback_unavailable
  • 400 platform_fee_invalid
  • 400 platform_fee_too_high
  • 400 amount_too_small
  • 400 reference_invalid
  • 400 external_id_invalid
  • 400 recipient_other_customer
  • 404 recipient_unknown
  • 404 wallet_unknown
  • 409 recipient_disabled
  • 409 recipient_incomplete
  • 409 payee_not_ready
  • 409 balance_too_low
  • 409 initiation_required
  • 403 operator_cannot_pay_out
  • 403 platform_fee_not_allowed
  • 503 custodial_wallets_disabled
  • 401 api_key_required
  • 401 api_key_invalid
  • 401 api_key_wrong_mode
  • 401 api_key_expired
  • 403 scope_missing
  • 403 platform_api_paused
  • 429 rate_limited
  • 503 api_disabled

All codes: Errors.