Carnet Test Card Numbers for Stripe
Complete collection of Carnet test card numbers for Stripe payment testing. Test successful payments, declines, and Carnet-specific scenarios for Mexican markets.
Filters
1 test card found
Code Generator
Select a test card to generate code

Ready to Launch?
Once your Stripe integration is tested, launch an affiliate program to let others promote your business.
How it worksWebhook Events
π‘ Tip: Use stripe listen --forward-to localhost:3000/webhook
to test webhooks locally
Carnet
πMexico (MX)
Mexico Carnet
Complete Stripe Testing Reference
This testing companion provides instant access to all official Stripe test cards, organized by brand, country, and testing scenario. Whether you're testing successful payments, decline codes, 3D Secure authentication, or webhook events, find the exact test data you need.
All test card numbers and scenarios are sourced directly from the official Stripe testing documentation, ensuring accuracy and compliance with Stripe's testing requirements.
π‘οΈ Testing Best Practices
β Do
- β’ Always use test API keys (sk_test_xxx, pk_test_xxx)
- β’ Use PaymentMethod IDs for server-side code
- β’ Test all payment scenarios your app supports
- β’ Verify webhook handling with Stripe CLI
- β’ Test 3D Secure flows for European customers
β Don't
- β’ Never use real card details in test mode
- β’ Don't use sandbox for load testing
- β’ Avoid hardcoding test card numbers in production
- β’ Don't ignore rate limits in test environment
- β’ Don't skip testing decline scenarios
π Quick Start Guide
Choose Your Test Scenario
Filter by brand, country, or scenario to find the right test card for your use case.
Copy Test Data
Click any test card to select it, then copy the card number or PaymentMethod ID.
Generate Code
Use the code generator to create payment integration snippets in your preferred language.
Test Webhooks
Use the provided Stripe CLI commands to simulate webhook events and test your endpoints.
π§ͺ Common Testing Scenarios
π³ Basic Payments
Test successful payments with different card brands and countries.
β Decline Handling
Test various decline scenarios and error handling.
π 3D Secure
Test Strong Customer Authentication (SCA) flows.
π‘ PaymentMethod IDs vs Test Card Numbers
βRecommended: PaymentMethod IDs
pm_card_visa
pm_card_mastercard
pm_card_amex
- β’ PCI-compliant by default
- β’ Perfect for server-side API calls
- β’ No card data handling required
- β’ Production-ready code structure
!Interactive Testing: Card Numbers
4242 4242 4242 4242
5555 5555 5555 4444
3782 822463 10005
- β’ Use in payment forms only
- β’ Any future expiry date (12/34)
- β’ Any 3-digit CVC (4 for Amex)
- β’ Don't hardcode in production
π¦ Testing Non-Card Payment Methods
Stripe supports various non-card payment options like digital wallets and bank transfers. Each payment method has special test values for comprehensive testing.
ACH Direct Debit
US bank account payments
SEPA Direct Debit
European bank transfers
Link by Stripe
One-click checkout
Redirect Methods
iDEAL, Sofort, etc.

Launch Your Stripe Affiliate Program
Stripe integration tested? Perfect! Now let others promote your business and grow your revenue.
See How It WorksβοΈ Testing Environment Setup
API Keys Configuration
Test Keys (Required)
pk_test_xxx...
- Publishable keysk_test_xxx...
- Secret keyLive Keys (Production)
pk_live_xxx...
- Publishable keysk_live_xxx...
- Secret keyRate Limits & Load Testing
Important Limitations
- β’ Testing environments have stricter rate limits
- β’ Don't use sandbox for load testing (use alternative approaches)
- β’ 429 HTTP errors indicate rate limiting - reduce request frequency
- β’ Production rate limits are more generous than test environment
Email Testing for Bank Payments
Test Email Format
{username}+test_email@{domain}
Example: info+test_email@example.com
for testing ACH Direct Debit mandate confirmations and microdeposit emails.
π Testing Link by Stripe
Setup Requirements
- βDomain registration required
- βWorks with cards and US bank accounts
- βUse any valid email for sandbox accounts
- β Don't store real user data in sandbox
Test OTP Codes
π³ Carnet Test Cards for Stripe
Carnet is a widely used card brand, making it essential to testCarnet payment scenarios thoroughly. Stripe provides comprehensiveCarnet test cards covering success, decline, authentication, and international payment scenarios.
Carnet is a major payment method in Mexico.
Essential for businesses targeting Mexican customers.
Supports local Mexican payment preferences and regulations.
π§ͺ Common Carnet Test Scenarios
β Successful Payments
5062280000000000
5062280000000018
β Decline Scenarios
5062280000000001
π Carnet 3D Secure Testing
3D Secure (3DS) authentication is required for many EuropeanCarnet transactions under Strong Customer Authentication (SCA) regulations. Test both successful and failed 3D Secure flows:
5062280000000026
Triggers 3D Secure authentication that will succeed after user interaction.
5062280000000034
Requires 3D Secure but authentication will fail.
β Special Carnet Test Cards
5062280000000000
π» Carnet Test Card Code Example
Here's how to create a payment with a Carnet test card using the Stripe API:
curl https://api.stripe.com/v1/payment_intents \ -u "sk_test_xxx:" \ -d amount=2000 \ -d currency=usd \ -d payment_method=pm_card_carnet \ -d "payment_method_types[]"=card \ -d confirm=true
Note: Always use test API keys (sk_test_xxx) with test cards. Use any 3-digit CVC and any future expiration date.
π Launch Your Stripe Affiliate Program in 8 Minutes
Everything you need to run a successful Stripe affiliate program. Track sales, automate commissions, and grow your revenue with seamless Stripe integration.
Connect & Track
Add our tracking script and connect Stripe with one click. Start tracking sales and commissions automatically.
Setup Your Program
Create your affiliate program. Set commission rates and customize your portal.
Watch Sales Grow
Focus on your product while affiliates drive qualified customers to your platform.
Perfect for SaaS & Software:
- Track trials, upgrades & recurring payments
- Compatible with Payment Links & Pricing Tables
- WordPress plugins & digital products
- Subscription business models
Stripe Integration Benefits:
- Real-time commission calculations
- Automated payout processing
- Handle refunds & chargebacks automatically
- Support for global payments & currencies
β 8-minute setup β Unlimited affiliates β No setup fees β 14-day free trial