SET Crypto API Suite · Fund a wallet
Set up one way to get paid
POST/v1/payment_setups
One call per way. Checks everything first, creates what the way needs (bank account, Cash-Out Address, virtual account) and answers with payTo: exactly what the merchant gives its payers. A refused setup writes nothing.
Platform account
beneficiary: {"type": "platform"}names the platform's own wallet: platform funds are off by default (platform_funds_allowed = 0, reinstated 2026-11-19), so this is refused with403 platform_funds_not_allowedunless SET's operator has explicitly enabled platform funds after CCO review (in which case the platform is named in the Travel Rule data with the legal details SET holds, or409 platform_details_incompleteuntil it does). By default, use the merchant's own wallet,{"type": "customer", …}. 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 A merchant's destination wallet is always its own:
beneficiary.typemust be"customer";"platform"is refused with400 beneficiary_invalid. WithoutreturnAddress, 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. way"wallet" | "cash_out" | "bank" (or 1, 2, 3) | "balance"required- 1 collect bank transfers as stablecoin to a wallet; 2 take stablecoin and pay out to the merchant's bank; 3 collect bank transfers to the merchant's bank;
balancecollect bank transfers into the merchant's own wallet, held in custody by the provider (opened or reused onchain), to pay out from later.payTois the bank details andpaysInto: {wallet, chain, asset}. currency"usd" | "eur" | "gbp"- Ways 1 and 3: what payers send. Default
usd(way 3: the bank's own currency). asset, address, beneficiaryobject- Way 1: the destination stablecoin (for example
usdc-base), wallet address and whose wallet it is (Travel Rule). bankAccountobject | string- Ways 2 and 3: the fields of
POST /v1/bank_accounts, or the id of one already linked. chain"base" | "ethereum" | "solana"- Ways 2 and 3. Default
base. stablecoin"usdc" | "eurc"- Ways 2 and 3. Default
usdc. rail"ach" | "wire" | "sepa" | "faster_payments"- Ways 2 and 3. Default from the bank's currency.
referencestring- Shown on each bank payout, within the rail's limits.
returnAddressstring- Where a payment that cannot be paid out is returned.
"wallet": the customer's own wallet, held in custody by the provider, on that chain, opened if needed. platformFeeBpsinteger- Not offered: SET collects no fee for a platform, so any value but 0 answers
403 platform_fee_not_allowed.
Notes
- If a later step is refused, the answer names it (
step:bank_account,cash_out_addressorvirtual_account) and listscreated. Fix the request and send it again: each step is content-idempotent. - Conversion Addresses (crypto to crypto) stay a separate call:
POST /v1/conversion_addresses.
Errors
409 multichain_unavailable409 return_policy_missing409 cash_out_address_exists409 cash_out_address_in_wallet409 customer_closed400 way_invalid400 field_not_used400 bank_account_required400 return_address_required400 route_not_supported409 verification_incomplete409 endorsement_required403 platform_funds_not_allowed401 api_key_required401 api_key_invalid401 api_key_wrong_mode401 api_key_expired403 scope_missing403 platform_api_paused429 rate_limited503 api_disabled