Short answer
You can find Stripe test card numbers in Stripe's official testing documentation and in the Stripe Dashboard when Test mode is enabled. The documentation lists numbers for successful payments, declines, authentication, and other test scenarios.
Prerequisites
- A Stripe account with access to the Dashboard
- Test mode enabled before you copy any number
- A test environment that contains no real cardholder data
Steps to find Stripe test card numbers
- Sign in to the Stripe Dashboard.
- Turn on Test mode using the Dashboard mode switch.
- Open the Developers section and choose Documentation.
- Search the documentation for Testing.
- Open the Test card numbers section.
- Select the card number for the scenario you need, such as a successful charge or a decline.
- Copy the number into your test checkout form.
- Use any future expiry date, any three-digit CVC, and any valid postal code unless the documentation gives a specific value for that test case.
- Submit the test payment and confirm the result in the Dashboard.
How to use test numbers correctly
Use Stripe test card numbers only with test API keys and test mode. Test numbers do not move real money and do not represent real accounts. Do not enter real card numbers into test fields. Do not use live secret keys in a test environment. Keep test data separate from production data so reports and customer records stay clean.
Related Stripe Test Card Numbers vs Real Card Numbers Comparison Review
Common mistakes
- Copying a test number while the Dashboard is in live mode
- Using a live publishable key with a test card number
- Assuming every test number works for every payment method
- Reusing production card data in a test account
When a test payment fails, check the test mode setting, API keys, and the exact scenario listed in Stripe's documentation before changing the card number.