
stripe test cvv
Stripe test CVV codes are the placeholder security codes you type alongside Stripe's test card numbers while building, demoing, or debugging a checkout flow. In test mode, Stripe accepts virtually any three- or four-digit CVC plus any future expiry date, so you can run transactions end to end without touching a real card. This reference explains how those test values behave, which card numbers produce which responses, and what to check when a CVC validation error appears.
Key Features
- Valid only with test-mode API keys (pk_test_ and sk_test_); live-mode requests reject them.
- Any 3-digit CVC is accepted on standard success test cards, with 4 digits used for Amex-style test numbers.
- Dedicated test numbers that deliberately return a CVC mismatch, a generic decline, or insufficient funds.
- Predictable 3D Secure flows for testing authentication-required scenarios.
- Works across Stripe Checkout, Elements, Payment Intents, and the mobile SDKs.
- Safe to paste into documentation, QA scripts, and public demos โ no real account is ever charged.
- Repeatable results: the same test number returns the same response every run.
Materials, Specs, and How Test Values Behave
Test mode is a sandbox, not a shortcut. A success test card such as 4242 4242 4242 4242 accepts any CVC, any future expiry, and any postal code, while numbers like 4000 0000 0000 0127 return an incorrect-CVC error and 4000 0000 0000 0002 returns a generic decline. Cards flagged for 3D Secure push the payment into an authentication step you can approve or fail on demand. Every one of these values carries no monetary value, is tied to no real account, and cannot move funds โ they exist purely to exercise your integration logic. Stripe periodically revises the list, so confirm numbers against the current reference before locking them into a test suite.
Delivery and Support
This reference is delivered digitally and is available immediately after checkout, with no physical shipment involved. If any entry no longer matches the live Stripe documentation, contact support and we will send an updated copy or issue a refund.
Does the CVV Matter in Stripe Test Mode?
For standard success cards, no โ any three digits pass. The CVV only matters when you deliberately use a test number designed to fail the CVC check.
Why Does a Test Payment Say "Incorrect CVC"?
You are most likely using a card number reserved for CVC failures, such as 4000 0000 0000 0127. Swap to a success card number to confirm the rest of your flow works.
Can a Stripe Test CVV Be Used for a Real Charge?
No. Test values are rejected outside test mode, and using placeholder or test data against a live account will simply fail the request.