Test Cards and Test UPI ID

Use test cards to test domestic payments, international payments and subscriptions. Use test UPI IDs to test domestic one-time payments.


You can test the payment flow using our test cards and UPI IDs.

Watch Out!
You can use these test cards to make payments in test mode only. If you use these test cards for live mode payments, the following error message will be displayed, card issuer is invalid or invalid card input.

Test Cards🔗

Watch this video to see how to use the test card details.

To use the test card details:

  1. At the Checkout, select Card as the payment method.
  2. Enter the card details. This depends on the flow you are testing.
  3. Enter any random CVV.
  4. Enter any future date as the expiry date.
  5. Click Pay. A sample payment page is displayed.
  • Click Success to make the payment successful.
  • Click Failure to fail the payment.

Test Card for Domestic Payments🔗

Card Network

Card Number

CVV

Expiry Date

Mastercard

5267 3181 8797 5449

Random CVV

Any future date

Visa

4111 1111 1111 1111

Random CVV

Any future date

Test Card for International Payments🔗

Card Network

Card Number

CVV

Expiry Date

Mastercard

5555 5555 5555 4444
5105 1051 0510 5100

Random CVV

Any future date

Visa

4012 8888 8888 1881
5104 0600 0000 0008

Random CVV

Any future date

Test Card for Subscriptions🔗

Type

Card Network

Card Type

Card Number

CVV

Expiry Date

Domestic

Mastercard

Debit Card

5104 0600 0000 0008

Random CVV

Any future date

Domestic

Visa

Credit Card

4718 6091 0820 4366

Random CVV

Any future date

International

Mastercard

Credit Card

5104 0155 5555 5558

Random CVV

Any future date

Test Card for EMI Payments🔗

Card Network

Card Number

CVV

Expiry Date

Mastercard

5241 8100 0000 0000

Random CVV

Any future date

Test UPI ID🔗

Watch this video to see how to use the test UPI ID details.

To use the test UPI ID details:

  1. At the Checkout, select UPI as the payment method.
  2. Enter the UPI ID.
  • Test payment success flow using success@razorpay.
  • Test payment failure flow using failure@razorpay.
×