Environments
Sandbox for development, production for real transactions
Sandbox
Development and testing
- No real money movement
- Test adapter simulates all settlement flows
- 60 requests per minute rate limit
- 30-day data retention window
Production
Live transactions
- Real fund transfers via Stripe Connect
- Permanent data retention
- 600 requests per minute rate limit
- Full SLA and uptime guarantees
Feature Comparison
Side-by-side differences between sandbox and production
| Feature | Sandbox | Production |
|---|---|---|
| API Base URL | api.sandbox.zexrail.com/v1 | api.zexrail.com/v1 |
| API Key Prefix | sk_test_ | sk_live_ |
| Settlement Adapter | test (simulated) | stripe (real funds) |
| Real Money | No | Yes |
| Rate Limits | 60 req/min | 600 req/min |
| Data Retention | 30 days | Permanent |
| Webhooks | Full support | Full support |
| Verity Verification | Full support | Full support |
Switching Environments
# Sandbox
curl https://api.sandbox.zexrail.com/v1/agents \
-H "Authorization: Bearer sk_test_your_key"
# Production
curl https://api.zexrail.com/v1/agents \
-H "Authorization: Bearer sk_live_your_key"