Sandbox testing
Last updated
Last updated
🏖️ Sandbox environment for all your development needs
MoonPay offers a sandbox environment so you can develop your integration and confirm that it works correctly before going live.
Initialize the widget using your test publishable API key with our . Your API KEY can be found on the authentication section.
Enter a fiat amount < 200. Due to a limited amount of testnet coins, this helps reduce the need to top up our wallet addresses. Purchasing an amount greater than 200 may result in a failed transaction with the error Your payment was declined by your bank.
Enter your email address. This will trigger an automated login code sent to your email inbox.
💡Test accountsWe recommend you use one test account in sandbox for all your test transactions. Creating multiple test accounts may result in those accounts getting flagged by our systems.
At the payment screen choose the debit card option and enter one of the following . Do not enter authentic payment card information, as this will result in a failed transaction.
From here you will be asked to carry out an identity check also known as KYC. We may request your SSN or other identity documents. KYC documents and information submitted in the sandbox widget will not be validated. Instead, the widget will provide 3 options for you to select from so you can test the user flow: Approve, Final Rejection, and Request additional information.
Enter the testnet wallet address of the cryptocurrency you are purchasing.
Once you've hit the "Pay" button, all Cryptocurrency withdrawals are executed on test networks:
Sepolia Testnet for ETH (Ethereum)
Sepolia Testnet for ERC-20 tokens
Solana Testnet for Solana
Testnet3 for Bitcoin
BitcoinCash Testnet for Bitcoin Cash
Binance Testnet for Binance Coin
Jungle2.0 Testnet for EOS
Litecoin Testnet for Litecoin
Stellar Testnet for Stellar
All Ethereum (not ERC-20 token) purchases in sandbox will result in the transfer 0.001 Sepolia ETH regardless of the purchased amount, as we have a finite amount of testnet ETH.
We would appreciate it if, after testing, you returned testnet coins to us at the wallet addresses below.
Bitcoin
tb1q45h8zexwztmz3nyd8gmkxhpavdsva4znwwhzvs
Bitcoin Cash
bchtest:qrn45hfjpqd0w5p7dur5a2aasgp3nj8d8qh4exym5k
Ethereum
0xc216eD2D6c295579718dbd4a797845CdA70B3C36
Litecoin
tltc1qjrv8pm0lumhyjkrrevk3p7wpwhtuz7e22mujw0
Ripple
rUZTCFB6zPyeEmDhrAVqVbBaLPWrzjKCQz
Flow & FUSD
0x4c6903af5fb0f9f2
Stellar
GD4KAFADEFXOLNWWUA4IZI5YG23AH2OSJMIJAZ6YLNHJWNPX3T366FIY
💡Empty testnet wallet
ERC-20 token transfers on the Ethereum network will use our . For example, purchasing USDC ERC-20 in sandbox will show a transfer of our MoonPayToken in the transaction hash.
An empty testnet wallet will result in a Transaction processing failed
error when you and other developers try to complete transactions. You may top up the wallet with your own testnet coins or use any available online faucet, e.g. to top up Sepolia ETH.