Stripe test card numbers

Stripe Test Credit Card Numbers 2024

Stripe provides a comprehensive array of Stripe test card numbers, allowing you to simulate a wide range of payment scenarios. These test card numbers serve as important tools for creating simulated payments in test mode, all without the need to process actual payments or incur any charges.

They offer merchants the ability to rigorously test many payment gateway features without filling in the genuine card details. Beyond catering to some major credit card providers, Stripe’s test numbers can help you with fraud prevention mechanisms, declined transactions, and much more.

In this guide, we will discuss more about the current Stripe test card numbers for [2024], exploring how they are utilized and which card numbers are best suited for testing specific scenarios.

Introduction To Stripe Test Card Numbers

Stripe test cards serve a pivotal role in the simulation of successful payments across different geographic regions, as well as the rigorous testing of Stripe integration. These test cards leverage predefined card numbers to rigorously validate the functionality of business systems concerning payment authorization, global payment processing, adherence to regulatory card payment standards, and the handling of invalid payment data. It’s important to note that these test cards function exclusively within an environment configured for Stripe’s test mode.

Stripe Issue Charge Card for Small Businesses

However, safeguarding against fraudulent activities and unauthorized card usage is of paramount importance for every business. Inadvertently leaving the test mode enabled within a production environment can expose your Stripe test cards to potential misuse during integration testing. Therefore, it is imperative for Stripe platform users to diligently confirm that the production environment is not inadvertently set to Stripe test mode, mitigating any unintended risks associated with testing in a live setting.

Let’s explore the primary use cases of these test cards:

Standard Transactions: Retailers can utilize Stripe test cards to assess common US transactions. In the US, Stripe provides a range of test card numbers, including leading credit card providers, allowing businesses to validate the core functionality of their payment system.

International Transactions: For merchants catering to a global clientele, Stripe test cards enable the simulation of international transactions originating from different countries. This capability ensures that your payment gateway seamlessly works with overseas clients, verifying its international transaction capabilities.

Declined Transactions: It’s essential to evaluate how your payment system handles declined transactions, including scenarios like “stolen card” or “lost card” declines. Stripe’s test cards facilitate this by allowing businesses to assess their system’s response to such events, ensuring a smooth customer experience even in adverse situations.

Fraud Prevention: As the threat of fraud continues to evolve, robust fraud prevention measures are critical. Stripe offers the means to test its tools for fraud prevention, like the Stripe Radar. These tests help ensure that your gateway effectively blocks any charges from any incorrect addresses, incorrect Card Verification Codes (CVCs), and other suspicious activities. Given that fraud incidents increase by over forty percent every second year, it’s imperative to verify the accuracy and effectiveness of your mechanisms for fraud prevention.

Types of Stripe Test Cards:
A Comprehensive Overview

debit cards

Stripe offers a comprehensive range of test cards to facilitate various types of card testing. These test cards are designed to verify card numbers, with no validation of zip codes or CVC. Let’s see the different categories of Stripe test cards:

Common Cards: Within this category, you’ll find 14 options representing different card brands. The Stripe’s test cards selection includes the following:

●      American Express – 2 variants
●      Mastercard
●      Mastercard – 2 series
●      Mastercard – Debit card
●      Mastercard – Prepaid
●      Diners Club – 16 digits
●      Discover – 2 variants
●      Diners Club – 14 digits
●      UnionPay
●      Visa
●      Visa – Debit card
●      JCB 

Global Cards: These cards are suitable for testing purposes across multiple regions, including Africa, America, the Asia-Pacific region, Europe, and the Middle East.

3D or Regulatory Secure Cards: Stripe provides cards that allow you to test scenarios involving two-factor authentication, ensuring compliance with regulatory requirements during payment transactions.

Cards Used In Particular Response Testing: When you need to simulate declined transactions for various reasons such as insufficient funds, incorrect PIN, incorrect billing address, or invalid expiry month or year, these test cards come in handy.

Cartes Bancaires Cards: Specifically designed for testing French card payments co-branded with Mastercard or Visa.

Disputes: In cases of payment disputes, Stripe offers test cards that mimic formal dispute situations. Payments can be provisionally reversed, but it’s important to note that the card issuer’s decision ultimately prevails and is binding on the customer.

Direct Debits: Stripe provides the capability to generate direct debit mandates for businesses. These mandates can be presented to customers for acceptance, enabling direct debits once authorized.

List Of Stripe Test Cards In Different Regions

Credit card and debit card

Using Stripe’s designated test card numbers is really important to ensure your payment gateway is all good from every perspective. Let’s have a look at some test card numbers provided by Stripe:

Stripe’s Test Cards In The US

You can use these cards to replicate the transaction in the USA.

Test Card NumberBrandDate Of ExpirationCard CVC
378282246310005American ExpressAny Date In The FutureAny 4 Numbers
371449635398431American ExpressAny Date In The FutureAny 4 Numbers
3056930009020004Diners ClubAny Date In The FutureAny 3 Numbers
3622 720627 1667Diners Club – 14 DigitsAny Date In The FutureAny 3 Numbers
6011111111111117DiscoverAny Date In The FutureAny 3 Numbers
6011000990139424DiscoverAny Date In The FutureAny 3 Numbers
6011981111111113Discover – Debit CardAny Date In The FutureAny 3 Numbers
3566002020360505JCBAny Date In The FutureAny 3 Numbers
5555555555554444MastercardAny Date In The FutureAny 3 Numbers
2223003122003222Mastercard – 2 seriesAny Date In The FutureAny 3 Numbers
5200828282828210Mastercard – Debit CardAny Date In The FutureAny 3 Numbers
5105105105105100Mastercard – Prepaid CardAny Date In The FutureAny 3 Numbers
6200000000000005UnionPayAny Date In The FutureAny 3 Numbers
6200000000000047UnionPay – DebitAny Date In The FutureAny 3 Numbers
4242424242424242VisaAny Date In The FutureAny 3 Numbers
4000056655665556Visa – DebitAny Date In The FutureAny 3 Numbers

Stripe Test Cards In The American Continent

You can use these cards to replicate the transaction in the American continent.

CountryTest Card NumberBrand
Argentina4000000320000021Visa
Brazil4000000760000002Visa
Canada4000001240000000Visa
Mexico4000004840008001Visa
United States4242424242424242Visa

Stripe Test Cards In the Middle East And Europe

You can use these cards to replicate the transaction in the Middle East and Europe.

CountryTest Card NumberBrand
Austria4000000400000008Visa
Belarus4000001120000005Visa
Belgium4000000560000004Visa
Bulgaria4000001000000000Visa
Croatia4000001910000009Visa
Cyprus4000001960000008Visa
Czechia (Czech Republic)4000002030000002Visa
Denmark4000002080000001Visa
Estonia4000002330000009Visa
Finland4000002460000001Visa
France4000002500000003Visa
Germany4000002760000016Visa
Gibraltar4000002920000005Visa
Greece4000003000000030Visa
Hungary4000003480000005Visa
Ireland4000003720000005Visa
Italy4000003800000008Visa
Latvia4000004280000005Visa
Liechtenstein4000004380000004Visa
Lithuania4000004400000000Visa
Luxembourg4000004420000006Visa
Malta4000004700000007Visa
Netherlands4000005280000002Visa
Norway4000005780000007Visa
Poland4000006160000005Visa
Portugal4000006200000007Visa
Romania4000006420000001Visa
Saudi Arabia4000006820000007Visa
Slovakia4000007030000001Visa
Slovenia4000007050000006Visa
Spain4000007240000007Visa
Sweden4000007520000008Visa
Switzerland4000007560000009Visa
UAE (United Arab Emirates)4000007840000001Visa
UAE (United Arab Emirates)5200007840000022Mastercard
UK (United Kingdom)4000008260000000Visa
UK (United Kingdom)4000058260000005Visa – Debit
UK (United Kingdom)5555558265554449Mastercard

Stripe Test Cards In Asian/Pacific Countries

You can use these cards to replicate the transaction in the Asian/Pacific Countries.

CountryTest Card NumberBrand
China4000001560000002Visa
Hong Kong4000003440000004Visa
India4000003560000008Visa
Japan4000003920000003Visa
Japan3530111333300000JCB
Malaysia4000004580000002Visa
New Zealand4000005540000008Visa
Singapore4000007020000003Visa
Thailand4000007640000003Visa – Credit Card
Thailand4000057640000008    Visa (debit)Visa – Debit Card

Stripe Test Cards For Fraud Prevention And Declines

You can use these cards to replicate the declined transactions. It is very useful for testing your payment gateway’s logic of error handling.

Stripe Test Cards for Declines:
Test Card NumberDecline ReasonCodeError Code
4000000000000002Generic declinegeneric_declinecard_declined
4000000000000069Expired cardexpired_card
4000000000000119Processing Errorprocessing_error
4000000000000127Incorrect CVCincorrect_cvc
4000000000009979Stolen cardstolen_cardcard_declined
4000000000009987Lost cardlost_cardcard_declined
4000000000009995Insufficient Balanceinsufficient_fundscard_declined
4242424242424241Incorrect Numberincorrect_number
Stripe Test Cards for Fraud Prevention:
Card NumberReasonDetails
4000000000000010Address checking failFailure of Address line1 and Postal code checking. The Radar may block it according to your particular settings.
4000000000000028Line1 checking failsFailure of Address line checking. Payment can pass through unless you have blocked it.
4000000000000036Postal code checking failsFailure of postal code checking. The Radar may block it according to your particular settings.
4000000000000044Address unavailableUnavailable Postal code or the Address line. Payment can pass through unless you have blocked it.
4000000000000101CVC checking failsFailure of CVC checking. The Radar may block it according to your particular settings.
4000000000004954Highest riskThe risk level on charge is “highest.” The Radar may block it according to your particular settings.
4000000000009235Elevated riskThe risk level on charge is “elevated.” The Radar may review it according to your particular settings.
4100000000000019Always blockedThe risk level on charge is very high. The Radar will block it.

Stripe Test 3D Secure Card Numbers

Card NumberDescriptionDetails
4000002500003155Authentication Required Unless Set UpThis card necessitates authentication for off-session payments unless you have configured it for future transactions. Once setup is done, off-session payments will proceed without the need for additional authentication.
4000002760003184Mandatory AuthenticationThis card mandates authentication for all transactions, no matter how the card is configured.
4000003800000446Already Configured for Off-Session UseThis card is pre-configured for off-session usage. While it does require authentication for one-time and other on-session payments, every off-session transaction is approved as if the card has already been set up.
4000008260003178Not Enough FundsFor this card, authentication is a prerequisite for one-time payments. Nevertheless, all payments, even after successful authentication or prior setup, result in a declined status with an “insufficient_funds” failure code.

Conclusion – Stripe Test Cards

Stripe’s test mode offers a valuable way to trial your payment gateway functionality without the need for actual credit card details. However, it’s essential to note that utilizing Stripe’s test card numbers requires your account to be in test mode rather than live mode. To transition into test mode, follow these straightforward steps: log into your business’s Stripe account, access the settings, and activate the test mode feature.

For those who find the concept of using Stripe’s test card numbers somewhat intricate, you’re not alone in this area. While these numbers serve a crucial role in testing payment gateway integrations, the entire testing process can be complex, particularly for people with no technical background.

In such cases, consider enlisting the assistance of a qualified developer or explore the option of hiring a certified expert. Alternatively, you can explore ready-made solutions developed by verified partners, eliminating the need to write code for testing purposes.

Frequently Asked Questions

  1. What is Stripe testing?

    Stripe’s test mode enables you to evaluate your integration without actually processing real charges or payments.

  2. Can Stripe test cards be used in a live production environment?

    No, using Stripe test cards in a live production environment is not recommended. It could lead to misuse of these test cards for fraudulent transactions. If necessary, you should utilize the company’s actual live payment mode for testing in a production setting.

  3. Can a Stripe test card be utilized in live mode?

    No, Stripe test cards cannot be utilized in live mode. Since they are not valid credit cards, they will not function when your Stripe payment gateway is in live mode. It’s important to conduct all testing in the designated test mode.

Save Time, Money, & Resources

Categories: Payment Facilitation, Payment Gateways, Payment Processing

Get Started

Ready for the ultimate credit card processing experience? Fill out this form!

Contact HMS

Ready for the ultimate credit card processing experience? Ask us your questions here.