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 · Cash out to a bank

Open a Cash-Out Address

POST/v1/cash_out_addresses

Key scope: write · Success: 201

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), so returnAddress is 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 omit returnAddress to use the platform's registered return address (POST /v1/return_addresses), or receive 400 return_address_required if none is registered.

Business account Without returnAddress, the merchant's own registered return address is used (POST /v1/return_addresses).

Headers

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

Body

customer stringrequired
An approved customer.
bankAccount stringrequired
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_transfer pays a Colombian bank-transfer account (POST /v1/bank_accounts with accountType: "co_bank_transfer").
settlement "per_payment" | "batched"
per_payment (default): each payment is paid on its own. batched settles payments in batches to spread fixed bank fees, on ach, wire, sepa, spei or bre_b; it answers 409 batched_settlement_unavailable until SET switches it on.
reference string
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.
recipient string
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).
platformFeeBps integer
Not offered: SET collects no fee for a platform, so any value but 0 answers 403 platform_fee_not_allowed.
returnAddress string
Where a payment that cannot be paid out returns.
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

  • 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_invalid
  • 400 platform_fee_too_high
  • 409 multichain_unavailable
  • 409 return_policy_missing
  • 409 cash_out_address_exists
  • 409 cash_out_address_in_wallet
  • 409 customer_closed
  • 400 metadata_invalid
  • 400 metadata_personal_data
  • 400 chain_invalid
  • 400 rail_invalid
  • 400 rail_currency_mismatch
  • 400 stablecoin_invalid
  • 400 reference_invalid
  • 400 return_address_invalid
  • 400 return_address_required
  • 409 cash_out_address_conflict
  • 400 settlement_invalid
  • 400 settlement_rail_not_supported
  • 409 batched_settlement_unavailable
  • 409 endorsement_required
  • 409 verification_incomplete
  • 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.