Skip to main content

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.

Get sandbox access

Sign up at https://dashboard.meld.io/#/sign-up, or accept the invite if Meld already sent you one. Getting access explains what happens after you sign up. Your sandbox API key is under Developer → API Keys in the dashboard.

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
Countries
  • US
  • Europe
Payment Methods
  • CREDIT_DEBIT_CARD
  • APPLE_PAY
  • GOOGLE_PAY
Fiat Currencies
  • USD
  • EUR
In production you will be able to use thousands of other combinations — see Coverage.

⚠️ 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
API responses in the sandbox environment may lack complete data accuracy and should only be used for understanding flow structure, not for building calculation logic.

🌍 Environment Access

🏦 Sandbox-Friendly Providers

You can complete an order in sandbox with these providers, using the test values on each provider’s page:

⚠️ Limited Sandbox Support

  • Transak - Quotes work and the widget opens. See Transak
  • Mercuryo - Contact Meld support to allow-list your IP address. A new customer waits for Mercuryo’s manual identity review. See Mercuryo
  • Coinbase Pay - Widget flows are production only. Headless Apple Pay can be tested up to order creation: see Wallets → Coinbase. For headless transfers, see Transfer Flow

🔄 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)

  • ✅ Headless sells with Yellow Card, dLocal and Brale reach a final status in sandbox. See Headless Testing
  • ⚠️ Other sell flows: quote generation only. Real cryptocurrency/fiat required for end-to-end testing

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 a recommended provider, such as Stripe for a widget buy or T-0 for a headless buy
  • Complete full transaction flow before moving to other flows

2. Provider Selection for Testing

  • Choose providers from “Recommended for Testing” list
  • 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

  1. Sandbox Flow Testing
    • Test UI integration
    • Understand provider interfaces
    • Validate basic functionality
  2. Production Validation
    • Test with real (small) transactions
    • Validate calculation accuracy
    • Confirm webhook functionality
  3. 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
Remember: Sandbox is for learning the flow, production is for validating the logic.