Overview
Sandbox is an isolated testing environment that mirrors production functionality. Use it to:- Test API integrations before going live
- Validate trading workflows
- Test deposit and withdrawal flows with simulated funds
- Experiment with different trading scenarios
Getting started
Obtain sandbox credentials
Contact your admin to create new Sandbox API credentials from the dashboard by switching to the Sandbox environment.Authentication
Sandbox uses the same authentication mechanism as production for both API keys and webhooks, with two small differences.API requests
- Sandbox API keys are prefixed with
sandbox_. - All requests must include the
x-app-mode: SANDBOXheader.
Webhook signing keys
Sandbox webhook signing keys are prefixed withsandbox_ to distinguish them from production keys. This helps prevent accidentally mixing production and Sandbox webhook handlers.
Rate limits
Sandbox has the same rate limits as production — 30 requests per second across all combined endpoints — so your integration behaves the same way when you go live.Best practices
Differences from production
Troubleshooting
401 Unauthorized
- Verify you are using Sandbox credentials (prefixed with
sandbox_). - Confirm the
x-app-mode: SANDBOXheader is included. - Check that the API key is correctly formatted in the header.
404 Not Found
- Verify the organization ID in the request path.
- Ensure the endpoint path is correct.
Moving to production
When you are ready to go live:1
Request production credentials
Request production API credentials from your admin.
2
Swap credentials
Replace Sandbox credentials with production credentials (remove the
sandbox_ prefix).3
Update the app-mode header
Remove or update the
x-app-mode header (use LIVE or omit entirely).4
Update webhook verification
Update webhook signing-key verification to use the production key.
5
Validate with small transactions
Perform final validation with small test transactions.