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 a recipient

POST/v1/payouts

Key scope: write · Success: 201

One payout from a customer's wallet, held in custody by the provider, to one of its recipients: to a bank in its currency and rail, to a wallet, to another customer's wallet, or to an email. SET's fee is the key's developer fee (SET's volume fee on the key, platform or business account alike), and at least 1.00 must reach the recipient. The Travel Rule data goes with it: the customer as originator, the recipient as beneficiary.

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 paying customer's wallet (POST /v1/wallets). It must hold the amount, less payouts already queued.
recipient stringrequired
One of that customer's recipients.
amount decimal stringrequired
USDC, whole cents.
reference string
Bank payouts only, sent to the bank and never stored: ACH 10 letters, digits or spaces; wire 140; SEPA 6–140; SPEI, Pix and Faster Payments the rail's own.
externalId string
Your id; a retry with the same one returns the same payout.
platformFeeBps integer
Not offered: SET collects no fee for a platform, so any value but 0 answers 403 platform_fee_not_allowed.
approval "required"
Hold the payout as pending_approval until a key with the approve scope, other than this one, approves it (POST /v1/payouts/{id}/approve). Nothing goes to the provider until then.
scheduleAt ISO time
Send it later: an ISO 8601 time with its offset, in the future and within a year. The answer is scheduled; the wallet's balance is checked when it is sent.
maxRateDriftBps integer
Bank payouts in EUR, GBP, MXN, BRL or COP: 1–5000. SET keeps the buy rate at creation and reads it again just before sending; if it has moved further than this, or cannot be read, the payout is held for review (payout.pending_review, reviewReasons: ["rate_drift"]). See Exchange-rate drift.
metadata object
Up to 20 of your own ids as string keys (1–40 of A-Z a-z 0-9 _ . : -) and string values (≤ 200 characters). Returned on every answer and event for this object; never sent to the provider. A value that looks like an email, has a space, or has a run of more than 8 digits is refused (400 metadata_personal_data). See Metadata, audit log and versions.

Notes

  • A payout that waits answers 202: pending_approval (approval required), scheduled (a later scheduleAt), or pending_review when SET's own checks before sending hold it for SET's operator (reviewReasons lists the checks hit). Events payout.pending_approval, payout.scheduled, payout.pending_review; then payout.approved, .rejected, .canceled, .released or .refused. A payout sent later takes no reference.
  • Limits per key and per recipient (GET /v1/payout_limits): over one, 409 limit_exceeded names it.
  • States follow the provider's transfer, forward only. Events payout.created, payout.<state>, payout.create_failed, and for live crypto payouts payout.delivered, payout.chain_mismatch or payout.chain_failed once the chain is read. paidToBank is true at payment_processed on a bank rail; delivered only when the chain agrees.
  • A refused payout answers 502 with the payout in create_failed and error: "payout_refused"; nothing left the wallet.
  • SET re-reads any payout no webhook has moved for 15 minutes. SET's operator cannot pay out (403 operator_cannot_pay_out).
  • From a self-custody wallet (wallet: "swl_…") the payout is proposed for the owners to sign, never signed by SET (201, awaiting_signature). A wallet recipient is paid at its own address; a bank recipient through its own active Cash-Out Address on the wallet's chain (409 cash_out_address_missing if it has none), with cashOutAddress and travelRule: { held, submittedFor } in the answer. Every such destination is screened first (403 destination_refused).

Errors

  • 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
  • 400 recipient_invalid
  • 409 cash_out_address_missing
  • 409 travel_rule_incomplete
  • 422 policy_refused
  • 403 destination_refused
  • 400 asset_not_permitted
  • 400 approval_invalid
  • 400 schedule_at_invalid
  • 400 reference_not_supported
  • 400 max_rate_drift_invalid
  • 400 max_rate_drift_not_applicable
  • 502 rate_unavailable
  • 409 limit_exceeded
  • 400 metadata_invalid
  • 400 metadata_personal_data
  • 502 payout_refused
  • 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.