Getting started
Generate a sandbox API key
- Request Access - Visit hifi.com/contact to schedule a call with our team and get onboarded.
- Navigate to API Keys - Once approved, go to the Developer Dashboard
- Create New Key - Click the “New API Key” button under Sandbox
Sandbox Base URL
All sandbox API requests should be made to:Sandbox vs Production
The sandbox environment is designed to simulate production behavior while providing a safe testing environment:Automated KYC Approval
In sandbox, the KYC process is streamlined for testing:- Typically Auto-Approved - KYC submissions are usually approved within minutes
- Compliance Checks Still Apply - Some compliance checks (like PEP screening) may still block approval even in sandbox
- Dummy Data - Use any test personal information and documents
In production, KYC applications undergo real compliance review
Simulated Transactions
All money movement in sandbox is simulated:- Virtual Deposits - Use an endpoint to mimic bank deposits
- Testnet Token - Transaction uses testnet tokens and is processed on a testnet network
- Testnet Wallets - All wallet addresses are on blockchain testnets
Simulated Failures and Returns
Failures and returns can be forced in sandbox, following the same statuses and webhooks as a real one:- Forced outcomes - Pass
sandboxScenariowhen creating an offramp (CRYPTO_FAILED,FIAT_FAILED, orCOMPLETED), or when simulating the deposit that creates an onramp (FIAT_FAILEDorCOMPLETED) - Automatic returns - Every forced outcome resolves to its true terminal status 3 minutes later:
CRYPTO_RETURNEDfor offramps,FIAT_RETURNEDfor onramps. No follow-up call is needed
Transitioning to production
When you’re ready to move from sandbox to production:- Generate production API keys in the dashboard
- Update your base URL from
sandbox.hifibridge.comtoproduction.hifibridge.com - Update API keys in your environment variables
- Remove simulation calls - Delete any simulate-deposit endpoint usage, and drop
sandboxScenariofrom offramp and simulate-deposit requests - Enable real KYC - Provide real user information and documents
- Test thoroughly - Start with small transactions before scaling
Getting help
If you encounter issues or have suggestions for improving the sandbox experience:- 📧 Email: support@hifi.com
- 💬 Slack: Message us in our shared Slack channel
The sandbox environment is continuously updated to reflect production changes. If you notice discrepancies between sandbox and production behavior, please let us know.