How to use Stripe test cards
- 1. Confirm test mode. Use pk_test_ and sk_test_ keys with the Dashboard toggle set to Test.
- 2. Copy a success PAN. 4242424242424242 is the default Visa. Use any future expiry, CVC 123, ZIP 42424.
- 3. Test failures. Open Declines in the sidebar for insufficient funds, wrong CVC, and expired simulations.
- 4. Test 3DS. Open 3D Secure for cards that require authentication before the charge succeeds.
About this tool
Developers searching “stripe test card” usually need 4242… first, then discover decline and 3DS PANs later. This page leads with Stripe success cards and links to the full payment test reference.
The card everyone memorizes
4242424242424242 is a Visa that succeeds in test mode. It does not work on live Stripe — live keys reject it. Pair it with any future expiry and any three-digit CVC unless you are testing incorrect-CVC declines.
When you need more than success
Stripe documents PANs for generic decline, insufficient funds, 3D Secure, incorrect CVC, and expired card scenarios. Use the sidebar on this tool to copy each number without hunting through Stripe docs.
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"
}