Skip to main content

Test Card Details

Dodo Payments provides a set of Test Card numbers that you can use to simulate various payment scenarios. You can use these test card numbers to create simulated payments in test mode without processing actual payments or charges. Test card numbers are only valid in test mode. Don’t use them for real payments.

Test Card Numbers

Combine all the regional test cards in a single table for easier reference. The table below includes US and India cards for both successful and declined payment simulations.
RegionBrandScenarioCard NumberExpiry Date (MM/YY)CVV/CVC
USVisaSuccess424242424242424206/32123
USVisaDeclined400000000000000206/32123
USMastercardSuccess555555555555444406/32123
USMastercardDeclined400000000000999506/32123
IndiaVisaSuccess457623891277145006/32123
IndiaVisaDeclined470613121121212306/32123
IndiaMastercardSuccess540916266938103406/32123
IndiaMastercardDeclined510510510510510006/32123

Test UPI Details

Know what UPI is here.
StatusUPI ID
SUCCESSsuccess@upi
FAILUREfailure@upi

Test Klarna Details

StatusDate of BirthFirst NameLast NameEmailStreetHouse NumberCityStatePostal CodePhone
APPROVED07-10-1970TestPerson-uscustomer@email.usAmsterdam Ave509New YorkNew York10024-3941+13106683312
DENIED07-10-1970TestPerson-uscustomer+denied@email.usAmsterdam Ave509New YorkNew York10024-3941+13106354386
Note: The minimum amount required for Klarna transactions is $50.

Test Afterpay Details

When testing your Checkout integration, select Afterpay as the payment method and click the Pay button.

Successful Payment

  • Use any valid email address and shipping address for successful payments.

Failed Authentication

  • To test the case where the user fails to authenticate, use your test API keys and view the redirect page. On the redirect page, close the Afterpay modal window and verify that payment failed. The PaymentIntent transitions from requires_action to requires_payment_method.
Note: The minimum amount required for Afterpay transactions is $50. For manual capture PaymentIntents in test mode, the uncaptured PaymentIntent auto-expires 10 minutes after successful authorization.

Other Payment Methods

To test other payment methods like Amazon Pay and Cash App, follow the usual testing procedures. Please note that Apple Pay and Google Pay won’t work in test mode.