Sandbox Environment
Etherfuse provides a sandbox environment for testing your integration before going to production. The sandbox connects to testnets for all supported blockchains:- Stellar: Testnet
- Solana: Devnet
- Other supported chains: Testnet
Sandbox API URL
All sandbox API requests should be made to:Getting Sandbox Access
To get access to the sandbox environment:- Contact Etherfuse to request sandbox credentials
- You’ll receive a sandbox API key separate from your production key
- Use this key with the sandbox API URL for all test requests
- Full setup: Complete the KYC process and link bank accounts in the sandbox environment to test the complete flow
- Whitelisted access: Contact Etherfuse to get your test account whitelisted, which allows you to skip certain verification steps for faster testing
Sandbox UI
A sandbox version of the Etherfuse UI is available at:Testing Onramps
In production, onramp orders require the customer to send MXN to a deposit CLABE. In the sandbox, you can simulate this deposit using the/ramp/order/fiat_received endpoint.
Sandbox onramp flow:
- Create an onramp order via
POST /ramp/order - Note the
orderIdfrom the response - Call
POST /ramp/order/fiat_receivedwith theorderIdto simulate the fiat deposit - The order will automatically progress through
funded→completedstatus - Monitor progress via webhooks or by polling the order status
Testing Offramps
Offramp testing works the same as production:- Create an offramp order via
POST /ramp/order - Receive the
burnTransactionin theorder_updatedwebhook - Sign and submit the transaction to the testnet/devnet blockchain
- The order will progress to
fundedonce the transaction is confirmed - The sandbox will simulate the fiat payout, and the order will complete
Testing Swaps
Swap testing also works the same as production:- Create a quote via
POST /ramp/quotewithtype: "swap" - Create a swap via
POST /ramp/swap - Receive the
sendTransactionin theswap_updatedwebhook - Sign and submit the transaction to the testnet blockchain
- The swap will complete and you’ll receive a
swap_updatedwebhook with statuscompleted
Testnet Tokens
You’ll need testnet tokens to test offramps and swaps. Contact Etherfuse for information on obtaining testnet CETES, USDC, and other supported tokens on the relevant testnets.Webhooks in Sandbox
Webhooks work the same in sandbox as in production. Make sure your webhook endpoint is publicly accessible (or use a tool like ngrok for local development) and register it viaPOST /ramp/webhook.