Business API
The Business API is the cleanest choice when you want a classic partner API with server-to-server authentication, strong replay protection, and webhook subscriptions for order lifecycle events.
Base URL
https://mindswap.fun/api/v3When to use the Business API
- Classic partner API integration
- Server-to-server authentication with API key and secret
- Strong replay protection
- Webhook subscriptions for order lifecycle events
- Order management without wallet signature requirements
- Single-channel route discovery for private/offchain, onchain DEX, and gasless-capable execution paths
Happy path
- Call
GET /api/v3to confirm the surface is mounted. - Call
GET /api/v3/currenciesto build supported pair selectors. - Call
GET /api/v3/routesto discover available private/offchain and onchain routes. KeepwalletAddressas the source signer; passrecipientAddressseparately for cross-namespace destination recipients such as Mayan EVM-to-Solana flows. - For offchain routes, call
POST /api/v3/routes/resolveand create the order withPOST /api/v3/orders. - For onchain routes, call
POST /api/v3/onchain/routes/resolve, report the signed or broadcast execution, then poll onchain status. - Call
POST /api/v3/quotesonly when you need the direct quote/order path. - Poll
GET /api/v3/orders/{orderId}orGET /api/v3/orders/{orderId}/status. - Optionally attach email notifications, fetch QR assets, or register webhooks.
- If needed, call
POST /api/v3/orders/{orderId}/emergency.