SET Crypto API Suite · Cash out to a bank
Open a Cash-Out Address
POST/v1/cash_out_addresses
A permanent address: stablecoin sent to it is converted and paid to the customer's own bank (ACH by default). Any payer may use it; each payment's sender is named per payment.
Platform account Platform funds are off by default (
platform_funds_allowed = 0), soreturnAddressis required, must be an address the merchant controls, and the platform's own registered address is refused (403 platform_funds_not_allowed). Only if SET's operator has explicitly enabled platform funds after CCO review may you omitreturnAddressto use the platform's registered return address (POST /v1/return_addresses), or receive400 return_address_requiredif none is registered.
Business account Without
returnAddress, the merchant's own registered return address is used (POST /v1/return_addresses).
Headers
Idempotency-Keystring- Optional. The same key and body run once; a replay answers with
Idempotent-Replayed: true. Kept 24 hours.
Body
customerstringrequired- An
approvedcustomer. bankAccountstringrequired- One of the customer's linked accounts.
chain"base" | "ethereum" | "solana"required- The chain payers send on.
currency"usdc" | "eurc"- The stablecoin it accepts. Default
usdc. rail"ach" | "wire" | "sepa" | "faster_payments" | "spei" | "pix" | "bre_b" | "co_bank_transfer"- Default from the bank's currency.
co_bank_transferpays a Colombian bank-transfer account (POST /v1/bank_accountswithaccountType: "co_bank_transfer"). settlement"per_payment" | "batched"per_payment(default): each payment is paid on its own.batchedsettles payments in batches to spread fixed bank fees, onach,wire,sepa,speiorbre_b; it answers409 batched_settlement_unavailableuntil SET switches it on.referencestring- On each payout's bank statement. ACH ≤ 10 letters, digits or spaces; wire ≤ 140; SEPA 6–140 of
a-z A-Z 0-9 space & - . /; Faster Payments ≤ 18. recipientstring- Instead of
bankAccount: a recipient with a bank destination (POST /v1/recipients). USDC sent to the address is paid to that supplier's bank, with the supplier as Travel Rule beneficiary. Its bank cannot be changed later (409 cash_out_address_pays_recipient). platformFeeBpsinteger- Not offered: SET collects no fee for a platform, so any value but 0 answers
403 platform_fee_not_allowed. returnAddressstring- Where a payment that cannot be paid out returns.
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
- Minimum payout per route (payout currency): USDC on Base or Ethereum → USD 1, EUR 1, GBP 3; USDC on Solana → USD 1, EUR 2, GBP 3; EURC on Base or Solana → USD 1, EUR 1; EURC on Ethereum → EUR 1.
Errors
400 platform_fee_invalid400 platform_fee_too_high409 multichain_unavailable409 return_policy_missing409 cash_out_address_exists409 cash_out_address_in_wallet409 customer_closed400 metadata_invalid400 metadata_personal_data400 chain_invalid400 rail_invalid400 rail_currency_mismatch400 stablecoin_invalid400 reference_invalid400 return_address_invalid400 return_address_required409 cash_out_address_conflict400 settlement_invalid400 settlement_rail_not_supported409 batched_settlement_unavailable409 endorsement_required409 verification_incomplete401 api_key_required401 api_key_invalid401 api_key_wrong_mode401 api_key_expired403 scope_missing403 platform_api_paused429 rate_limited503 api_disabled