x-tenant-api-key header on every call, no sign-in or session to maintain, and Vane’s shared tenant key is all a normal integration needs. The same code converts ETH into native BTC or USDT between any two of the 18 chains. Settlement is a solver fill against escrow. Orders cost nothing to create; until you fund the deposit address nothing is at risk, and an unfunded order expires after about 30 minutes.
Make creation idempotent
Accountless orders aren’t listed anywhere for you (GET /v1/orders needs a signed-in user), so your database is the system of record. Persist before you act, and key every deposit to exactly one stored order.
- Insert a conversion row in state
createdwith the pair and amount. - Call
POST /v1/orders/create; storeuuid,walletAddress,minimalAmount,maximalAmount, andtimeouton the row before doing anything else. - Broadcast the deposit once, recording its tx hash on the same row.
- Track
GET /v1/orders/{uuid}to a terminal state and store the finalsettleAmount.

