Documentation Index
Fetch the complete documentation index at: https://docs.onswitch.xyz/llms.txt
Use this file to discover all available pages before exploring further.
Sandbox API key
- Request access — Book a call or reach out through onswitch.xyz to get onboarded.
- Open the dashboard — After approval, sign in to the Switch dashboard.
- Create a sandbox key — In the developer section, create or copy your sandbox service key (distinct from your live key).
Sandbox base URL
Sandbox and live requests use the same API host. Send sandbox traffic with your sandbox service key:Sandbox vs production
The sandbox environment simulates production behavior while keeping risk low:| Feature | Sandbox | Production |
|---|---|---|
| API base URL | https://api.onswitch.xyz | https://api.onswitch.xyz |
| Business verification | Auto-approved after onboarding | Real-world compliance review |
| Blockchain | Mainnet (Simulated) | Mainnet |
Automated onboarding
In sandbox, onboarding is streamlined for testing:- Typically auto-approved — Submissions are often approved within minutes.
- Compliance checks still apply — Some checks (for example PEP screening) may still block approval in sandbox.
- Test data — Use mocked and appropriate test data for your testing or staging environment.
In production, business onboarding verification undergoes real compliance review.
Transitioning to production
When you move from sandbox to production:- Use your live service key from the dashboard.
- Keep the same base URL —
https://api.onswitch.xyz - Update environment variables so production deployments never use the sandbox key.
- Remove sandbox-only calls — Drop any endpoints or flags used only for simulation or testing.
- Perform user compliance checks — Collect real user compliance information and documents as required.
- Test thoroughly — Start with small live transactions before scaling volume.
Need Help?
Send us a message
Call
Book a call with us