SET Crypto API Suite · Pay out
Pay a recipient
POST/v1/payouts
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-Keystring- Optional. The same key and body run once; a replay answers with
Idempotent-Replayed: true. Kept 24 hours.
Body
walletstringrequired- The paying customer's wallet (
POST /v1/wallets). It must hold the amount, less payouts already queued. recipientstringrequired- One of that customer's recipients.
amountdecimal stringrequired- USDC, whole cents.
referencestring- 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.
externalIdstring- Your id; a retry with the same one returns the same payout.
platformFeeBpsinteger- 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_approvaluntil a key with theapprovescope, other than this one, approves it (POST /v1/payouts/{id}/approve). Nothing goes to the provider until then. scheduleAtISO 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. maxRateDriftBpsinteger- 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. metadataobject- 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 laterscheduleAt), orpending_reviewwhen SET's own checks before sending hold it for SET's operator (reviewReasonslists the checks hit). Eventspayout.pending_approval,payout.scheduled,payout.pending_review; thenpayout.approved,.rejected,.canceled,.releasedor.refused. A payout sent later takes noreference. - Limits per key and per recipient (
GET /v1/payout_limits): over one,409 limit_exceedednames it. - States follow the provider's transfer, forward only. Events
payout.created,payout.<state>,payout.create_failed, and for live crypto payoutspayout.delivered,payout.chain_mismatchorpayout.chain_failedonce the chain is read.paidToBankis true atpayment_processedon a bank rail;deliveredonly when the chain agrees. - A refused payout answers
502with the payout increate_failedanderror: "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_missingif it has none), withcashOutAddressandtravelRule: { held, submittedFor }in the answer. Every such destination is screened first (403 destination_refused).
Errors
400 amount_invalid400 fallback_invalid400 fallback_unavailable400 platform_fee_invalid400 platform_fee_too_high400 amount_too_small400 reference_invalid400 external_id_invalid400 recipient_other_customer404 recipient_unknown404 wallet_unknown409 recipient_disabled409 recipient_incomplete409 payee_not_ready409 balance_too_low409 initiation_required403 operator_cannot_pay_out403 platform_fee_not_allowed503 custodial_wallets_disabled400 recipient_invalid409 cash_out_address_missing409 travel_rule_incomplete422 policy_refused403 destination_refused400 asset_not_permitted400 approval_invalid400 schedule_at_invalid400 reference_not_supported400 max_rate_drift_invalid400 max_rate_drift_not_applicable502 rate_unavailable409 limit_exceeded400 metadata_invalid400 metadata_personal_data502 payout_refused401 api_key_required401 api_key_invalid401 api_key_wrong_mode401 api_key_expired403 scope_missing403 platform_api_paused429 rate_limited503 api_disabled