Test data
Test cards and scenarios to test your Vayapay integration in test mode, without moving real money.
Test your integration with a project in test mode. Test payments run against a sandbox: no money moves and you can't be charged. Test every payment method you plan to offer, and every outcome your checkout has to handle: successful, declined, cancelled and expired payments.
Never use real card data in test mode
Only use the test cards on this page, or the ones Vayapay gives you. Never enter real card numbers or card details in a test project.
Test cards
Use any expiry date in the future.
Each card triggers its own 3D Secure outcome. Use the CVC listed with the card.
| Brand | Card number | CVC | 3D Secure flow | Result |
|---|---|---|---|---|
| Visa | 4918914107195005 | 123 | Challenge | Fully authenticated |
| Visa | 4001880000000055 | 123 | Challenge | Cancelled by the merchant |
| Visa | 4907639999990022 | 123 | Frictionless | Authentication rejected |
| Visa | 4907630099999922 | 123 | Frictionless | Not authenticated (denied) |
| Mastercard | 5283901906612672 | 156 | Frictionless | Authentication rejected |
| Mastercard | 5283901901266672 | 156 | Frictionless | Not authenticated (denied) |
| Mastercard | 5283901901626677 | 156 | Frictionless | Authentication attempted |
American Express
For these cards the amount of the order, in cents, decides the outcome.
| Card number | CVC | Amount | Result |
|---|---|---|---|
374500262001008 | 1234 | 100 to 1000 | Fully authenticated |
374500261001009 | 1234 | 1100 to 2000 | Fully authenticated |
374500261001009 | 1234 | 2100 to 3100 | Authentication attempted |
374500262001008 | 1234 | 3100 to 4000 | Authentication attempted |
374500261001009 | 1234 | 6100 to 7000 | Unable to authenticate |
Test scenarios
In test mode, the test card decides the outcome of a card payment, see Test cards. Two scenarios need more than the card:
| Scenario | Card number | Amount | Result |
|---|---|---|---|
| 3-D Secure challenge | 4918914107195005 | Any | Your customer has to complete a 3-D Secure challenge. See 3D Secure. |
| Soft decline with step-up | 5185570141917102, CVC 156 | 1278 | The first attempt, with a low-value exemption, is soft declined. The payment succeeds after 3-D Secure authentication. |
Apple Pay and Google Pay
To test Apple Pay, use an Apple Pay sandbox tester account: its Wallet holds test cards instead of real ones. See Apple's sandbox testing for how to set it up.
To test Google Pay, use Google's test environment: the Google Pay payment sheet then shows test cards instead of the real cards in your Google account. See Google's test card suite for how to set it up.
For the other wallet details, see Apple Pay and Google Pay.
Before you go live
When your tests pass, follow the go-live checklist and replace the API key of your test project with the key of your live project.