How to use Razorpay test card
- 1. Enable test mode. Generate rzp_test_ keys from Razorpay Dashboard → Settings → API Keys.
- 2. Copy domestic Visa. 4111111111111111 — any future expiry, random CVV.
- 3. Test UPI. Open UPI & wallets in the sidebar. Enter success@razorpay at Checkout.
- 4. Never use live keys. Test PANs on live keys return card issuer invalid errors.
About this tool
Indian payment integrations almost always start with Razorpay test card 4111111111111111. This alias matches that query and surfaces domestic, international, and UPI test credentials in one place.
Domestic vs international test cards
Razorpay lists separate PANs for domestic and international card flows. Pick the row that matches your Checkout configuration — the tool labels each card accordingly.
Cards are half the story
Most Indian checkouts also need UPI, netbanking, or wallet tests. success@razorpay and failure@razorpay cover UPI; netbanking and wallets use Razorpay mock pages in test mode.
Code examples
Stripe Visa (success)
4242424242424242
Expiry: 12/34 CVV: 123 ZIP: 42424Razorpay domestic Visa
4111111111111111
Expiry: any future date CVV: any 3 digitsRazorpay UPI success
success@razorpayStripe PaymentIntent test JSON
{
"number": "4242424242424242",
"exp_month": 12,
"exp_year": 34,
"cvc": "123"
}