Sandbox
Sandbox mode lets you test the full SDK without touching real money or real accounts. Everything works exactly like production — the only difference is that no real financial operations execute.
Enable sandbox mode
Pass mode: 'sandbox' when initializing the SDK:
Use sk_test_ keys (not sk_live_) in sandbox. They're generated separately in the dashboard.
Sandbox vs production — what's different?
The API response shapes are identical. Code written for sandbox works in production without changes — just swap your key and mode.
Use virtual accounts for testing
The virtual account medium is perfect for sandbox testing. It requires minimal setup and lets you simulate balance and transfers immediately.
Switching to production
When you're ready to go live:
- Replace
sk_test_withsk_live_in your environment variables - Change
mode: 'sandbox'tomode: 'production' - Complete any required KYC/KYB for account types that need it
- Test with small real amounts before scaling
No code changes needed beyond those two values.
What's next
Now that your environment is set up, build something real.
→ Issue your first card — the complete flow from connect to card to transfer