Prices
The prices used in sandbox are generally based on real world asset prices, for assets which exist (conceptually) on both mainnet and testnet. However the DEXes used on testnets are generally not arbitraged to be the same price. This can lead to the application reporting unexpectedly large (or possibly negative) fees.KYC
If the user does not have an existing MoonPay or Stripe account, a mock KYC form will be shown. This will not require a valid SSN or credit card, however the user will have to provide a valid email and phone number to get past security checks. See test credit card details that can be provided, depending on the service. The sandbox testing mode can be enabled in the application by settingsandbox
to true. API keys can be obtained by contacting [email protected].
Below is an example using the Payments Widget. To learn more about the Halliday API and its options, please reach out to [email protected]:
copy
Stripe Onramp KYC Mock Values
For testing Stripe onramp, use the following mock values for KYC:KYC Requirement | Mock Value |
---|---|
SSN | 000-00-0000 |
Credit Card Number | 4242 4242 4242 4242 |
Credit Card Expiration | 08/30 (any future date) |
Email Verification Code | 000000 (all zeros) |
CVC | 123 |
Transak Onramp KYC Mock Values
For testing Transak onramp, see the guidelines for testing, which includes additional fiat currency and location details. The following mock values will work for testing in the United States:KYC Requirement | Mock Value |
---|---|
SSN | 123-45-6789 |
Credit Card Number | 4024 7644 4997 1519 |
Credit Card Expiration | 10/2033 |
Email Verification Code | receive from email |
Checkout Confirmation Code | 000000 |
CVC | 123 |
Moonpay Onramp KYC Mock Values
For testing Moonpay onramp, see the guidelines for testing. The following mock values will work for testing in the United States:KYC Requirement | Mock Value |
---|---|
SSN | 123-12-3123 |
Credit Card Number | 5385 3083 6013 5181 |
Credit Card Expiration | 12/2030 |
Email Verification Code | receive from email |
Checkout Confirmation Code | Checkout1! |
CVC | 123 |
Banxa Onramp KYC Mock Values
For testing Banxa onramp, see the testing information. The following mock values will work for testing:Field | Value |
---|---|
Card Name | Use the name that you provided as part of KYC |
Card Number | 4111 1111 1111 1111 |
Expiry | Any expiry date in the future |
Security Code | Any |
Considerations when testing MoonPay
MoonPay has several security features in place to detect and prevent fraud; given the nature of testing, it is possible some activities may be incorrectly tagged as fraudulent. To that end, it is recommended to follow these best practices to test an integration:- Do not use test credit cards in real world environments or the account will automatically be blocked.
- Do not use the same MoonPay account across sandbox and real world environments or the account will automatically be blocked.
- Fraud alerts / issues may occur if MoonPay suspects a user has multiple MoonPay accounts. Ensure that each tester uses a unique identifier (email, phone number, etc.) that has not been previously associated with MoonPay.
- Sandbox testing may have outdated code, so it is possible there are unexpected bugs. Creation of multiple accounts with new fictitious KYC data is permitted when testing in sandbox.