Overview
Sandbox mode allows you to test your Transaction API integration without processing real payments. This is essential for development, testing, and debugging your payment flows.Enabling Sandbox Mode
Method 1: Dashboard Toggle
- Log in to your dashboard
- Navigate to Settings → Sandbox Mode
- Toggle sandbox mode on/off
Method 2: API Toggle
Sandbox vs Production
Sandbox Mode
Features:
- No real cryptocurrency transactions
- Test payment flows
- Simulated blockchain confirmations
- Higher rate limits
- Free testing
Production Mode
Features:
- Real cryptocurrency transactions
- Live payment processing
- Actual blockchain confirmations
- Standard rate limits
- Transaction fees apply
Sandbox Testing Scenarios
Payment Flow Testing
1
Create Test Payment
Use sandbox mode to create payments without real money.
2
Simulate Payment
Use our testing tools to simulate payment completion.
3
Test Webhooks
Verify your webhook handling with test events.
4
Validate Integration
Ensure your application handles all payment states correctly.
Example Sandbox Payment
Sandbox-Specific Features
Test Cryptocurrency Addresses
Sandbox mode provides special test addresses for each cryptocurrency:| Cryptocurrency | Test Address Format |
|---|---|
| Bitcoin (BTC) | tb1... (Testnet) |
| Ethereum (ETH) | 0x... (Testnet) |
| Litecoin (LTC) | tltc1... (Testnet) |
| Solana (SOL) | ... (Devnet) |
Simulated Confirmations
In sandbox mode, payments are automatically confirmed after a short delay to simulate blockchain confirmations.Test Data
Use these test values for consistent testing:Testing Different Scenarios
Successful Payment
Expired Payment
Failed Payment
Sandbox Webhooks
Sandbox mode includes special webhook events for testing:Test Webhook Events
Webhook Testing Tools
Use our webhook testing tools to verify your webhook handling:- Webhook Tester: Test your webhook endpoint
- Event Simulator: Simulate different payment events
- Delivery Logs: Monitor webhook delivery status
Best Practices for Sandbox Testing
1
Test All Scenarios
Test successful payments, failures, and edge cases.
2
Verify Webhooks
Ensure your webhook handlers work correctly.
3
Test Error Handling
Verify your application handles errors gracefully.
4
Performance Testing
Test your application under load conditions.
Moving to Production
Pre-Production Checklist
Code Review
Code Review
- Remove all sandbox-specific code
- Verify production API keys are used
- Test with production endpoints
Security Audit
Security Audit
- Ensure API keys are properly secured
- Verify webhook signature validation
- Check for hardcoded test values
Monitoring Setup
Monitoring Setup
- Set up production monitoring
- Configure alerts for failures
- Test error notification systems