Move between stablecoins or chains (UC-A-10)
Status: current as of 2026-11-16.
Who this is for
A treasury or marketplace that receives USDC on Base and needs USDC on Solana, or EURC. When you finish, the customer has one permanent address: each payment sent to it is converted or moved and delivered to the wallet you named, less SET's fee.
Before you start
- Account: a SET API platform account on the SET API plan. A SET API business-account key runs the same calls.
- Key: a SET API key sent as
Authorization: Bearer …, with the scopeswrite(every POST below) andread(every GET). - Switches: none.
- What must exist: a customer verified by the provider (Give each merchant its own US account details, steps 1 and 2); the destination wallet, whose ownership you verified; and a return address on the source chain where a payment the provider cannot complete comes back. Send it as
returnAddress, an address the customer itself controls. If SET has approved platform funds for your platform, your return address registered once withPOST /v1/return_addressesis used when you leave it out.
By API
- Check the pair and its minimum.
GET /v1/conversion_routesThe next step uses: each route'ssource,destinationandminimumUsd.
- Open the address.
chainandcurrencyare what comes in;destination.assetis what goes out, as stablecoin and chain.POST /v1/conversion_addresses·Idempotency-Key``json { "customer": "cus_…", "chain": "base", "currency": "usdc", "destination": { "asset": "usdc-solana", "address": "…", "beneficiary": { "type": "customer", "walletType": "self_custodied", "ownershipVerifiedAt": "…" } }, "returnAddress": "0x…" }`To deliver into the customer's own wallet held by SET's provider, send"destination": { "asset": "usdc-base", "wallet": "wal_…" }instead of an address and beneficiary. The next step uses:id,address,source,minimumUsd`.
- Payers send only
source.assetonsource.chaintoaddress. Follow each payment.GET /v1/conversion_payments/{id}The fields to read:state,amount,received,exchangeRate,txHash,delivered.
- Name each payer (Travel Rule).
POST /v1/conversion_payments/{id}/sender·Idempotency-Key``json { "type": "business", "name": "…", "address": { "country": "…" } }`The answer to check:senderState` on the payment.
In SET Console
- Check the pair. Console: not available. Use the API call.
- Open the address. Console: not available. Use the API call. In the demo console, Platform View, Workflows, Move between stablecoins or networks shows the form: Merchant, Comes in on, Comes in as, Goes out on and Destination address, then Review and Confirm. It sends no return address.
- In Platform View, Balances and conversion shows Conversion Addresses, and Money in shows Conversion payments.
- Name a payer. Console: not available. Use the API call. A business account can save repeat payers (Name who paid you without writing code).
Check it worked
GET /v1/conversion_addresses/{id}: the address'sstate.GET /v1/conversion_payments: each payment'sstateanddelivered(true once the destination chain agrees, live only).- Webhooks:
conversion_address.created,conversion_payment.payment_processed(andconversion_payment.<state>),conversion_payment.screened, thenconversion_payment.delivered.
If it fails
400 route_not_supported: the provider does not list that pair;GET /v1/conversion_routeslists every one.400 currency_invalid,400 asset_invalid: the incoming stablecoin, ordestination.asset.400 chain_invalid: the incoming chain is not offered.400 address_invalid: the destination address does not suit the destination chain.400 beneficiary_invalid: the destination wallet's Travel Rule details.400 field_not_used:destination.wallettogether with an address or beneficiary.404 wallet_unknown:destination.walletis not one of this customer's wallets.400 return_address_required: sendreturnAddress.403 platform_funds_not_allowed: the return address given is your platform's own.409 conversion_address_conflict: the address belongs to another platform.400 sender_invalid,404 not_found: naming a payer.401 api_key_invalid,403 scope_missing,429 rate_limited: the key, its scopes, or the rate limit.
All codes: Errors. Retrying a POST safely: Idempotency.
Related
Changes
- 2026-11-16: Every use case step by step, by API and in the console.
- 2026-11-16: The modernized API Reference, the sandbox-key form, Direct Deposit without a revenue share.