Sandbox Environment Guide
This guide is for developers and QA testing their Meld crypto integration before going live. It covers what the sandbox is for, what it cannot do, which providers have usable sandboxes, and the supported test combinations. Note that the countries, tokens, fiat currencies, and payment methods supported in sandbox are a small subset of the ones supported in production. We recommend you only test in sandbox with the below combinations for the best results: Tokens- BTC
- ETH
- USDC
- US
- Europe
- CREDIT_DEBIT_CARD
- APPLE_PAY
- GOOGLE_PAY
- USD
- EUR
โ ๏ธ Important: Sandbox Purpose and Limitations
What Sandbox is For
The sandbox environment is designed for:- Exploring transaction flows and understanding how the process works
- Testing UI integration and user experience
- Familiarizing yourself with provider interfaces
- Initial development and basic functionality testing
- Happy path combinations of the most widely used tokens
What Sandbox is NOT For
๐จ Critical Warning: The sandbox environment should NOT be relied upon for:- Coding solutions related to calculations
- Production data accuracy validation
- Finalizing business logic based on API responses
- Performance testing with accurate response times
- Coverage testing because onramp sandboxes are very limited in the tokens they support
๐ Environment Access
๐ฆ Sandbox-Friendly Providers
โ Recommended for Testing (Full Sandbox Support)
These providers offer reliable sandbox environments ideal for testing:- Unlimit - Complete sandbox functionality with test cards
- Transak - Full-featured sandbox with test SSN/PAN numbers
โ ๏ธ Limited Sandbox Support
These providers have sandbox limitations:- Banxa - Sandbox often rejects KYC/transactions; production testing recommended
- Stripe - Runs on Meldโs Stripe sandbox with Stripeโs test values, and supports fewer currency pairs than production. For headless, see Apple Pay with Stripe
- Paybis - Basic sandbox functionality
- BTC Direct - Limited sandbox features
- Coinbase Pay - Widget flows are production only. Headless Apple Pay can be tested up to order creation: see Apple Pay โ Coinbase. For headless transfers, see Transfer Flow
โ Production Only
These providers do not offer sandbox environments:- Robinhood - Production environment only
- Blockchain.com - Production environment only
- Alchemy Pay - Production-like sandbox requiring real payments
๐ Flow Testing Capabilities
Buy Flow (Onramp)
- โ Fully testable end-to-end in sandbox
- Complete transaction simulation available
- Test cards and credentials work for most providers
- Recommended starting point for all integrations
Sell Flow (Offramp)
- โ ๏ธ Limited testing - quote generation only
- Cannot complete full transactions in sandbox
- Real cryptocurrency/fiat required for end-to-end testing
- Use for UI flow testing only
Transfer Flow
- โ ๏ธ White-Label API transfers: configuration and quotes only. Transfers cannot be executed in sandbox, and testing needs real wallet addresses
- Headless transfers from Coinbase are simulated end to end in sandbox. See Test in sandbox
๐ Testing Best Practices
1. Start with Buy Flow
- Begin all integrations with buy flow testing
- Use recommended providers (Unlimit, Transak)
- Complete full transaction flow before moving to other flows
2. Provider Selection for Testing
- Choose providers from โRecommended for Testingโ list
- Avoid production-only providers during initial development
- Test with multiple providers to understand variations
3. Sandbox Data Handling
- Never build calculation logic based on sandbox responses
- Use sandbox only for flow understanding and UI testing
- Validate all calculations and business logic in production
4. Progressive Testing Approach
๐ง Integration Testing Workflow
-
Sandbox Flow Testing
- Test UI integration
- Understand provider interfaces
- Validate basic functionality
-
Production Validation
- Test with real (small) transactions
- Validate calculation accuracy
- Confirm webhook functionality
-
Go Live
- Deploy with confidence
- Monitor real transaction data
- Iterate based on production insights
๐ Support
For sandbox-related questions or issues:- Check provider-specific testing credentials in the detailed testing guide
- Review flow limitations before troubleshooting
- Contact Meld support for integration guidance