SET API (Platforms) · Conversion
Open a Conversion Address
POST/v1/conversion_addresses
Crypto to crypto: stablecoin sent to the address is converted or moved across chains and delivered to the wallet named (for example USDC on Base to USDC on Solana, or USDC to EURC).
Platform key
beneficiary: {"type": "platform"}(the platform's own wallet) is refused with403 platform_funds_not_allowedunless SET has allowed platform funds for that platform. Use the merchant's own wallet,{"type": "customer", …}. Without platform funds allowed,returnAddressis required and must be an address the merchant controls (400 return_address_required); the platform's own registered address is refused.
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. chainstringrequired- The chain payers send on.
currency"usdc" | "usdt" | "pyusd" | "eurc"required- The stablecoin it accepts.
destination{ asset, address, beneficiary }required- Where it is delivered and whose wallet that is.
returnAddressstring- Where a payment that cannot be delivered returns.
Errors
400 currency_invalid400 asset_invalid400 route_not_supported400 beneficiary_invalid403 platform_funds_not_allowed401 api_key_required401 api_key_invalid401 api_key_wrong_mode403 scope_missing429 rate_limited