UnionPay
China (CN)
UnionPay card
Free Testing Tool
3 test cards found
Select a test card to generate code
💡 Tip: Use stripe listen --forward-to localhost:3000/webhook to test webhooks locally
China (CN)
UnionPay card
China (CN)
UnionPay debit
China (CN)
UnionPay 19-digit
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.
Filter by brand, country, or scenario to find the right test card for your use case.
Click any test card to select it, then copy the card number or PaymentMethod ID.
Use the code generator to create payment integration snippets in your preferred language.
Use the provided Stripe CLI commands to simulate webhook events and test your endpoints.
Test successful payments with different card brands and countries.
Test various decline scenarios and error handling.
Test Strong Customer Authentication (SCA) flows.
pm_card_visapm_card_mastercardpm_card_amex4242 4242 4242 42425555 5555 5555 44443782 822463 10005Stripe supports various non-card payment options like digital wallets and bank transfers. Each payment method has special test values for comprehensive testing.
US bank account payments
European bank transfers
One-click checkout
iDEAL, Sofort, etc.

Stripe integration tested? Perfect! Now let others promote your business and grow your revenue.
See How It Workspk_test_xxx... - Publishable keysk_test_xxx... - Secret keypk_live_xxx... - Publishable keysk_live_xxx... - Secret key{username}+test_email@{domain}Example: info+test_email@example.comfor testing ACH Direct Debit mandate confirmations and microdeposit emails.
UnionPay is a widely used card brand, making it essential to testUnionPay payment scenarios thoroughly. Stripe provides comprehensiveUnionPay test cards covering success, decline, authentication, and international payment scenarios.
UnionPay is the largest card scheme in China and growing internationally.
Essential for businesses targeting Chinese customers or expanding into China.
UnionPay cards support 3D Secure authentication for enhanced security.
620000000000000562400086314011486200000000000013620000000000000462000000000000123D Secure (3DS) authentication is required for many EuropeanUnionPay transactions under Strong Customer Authentication (SCA) regulations. Test both successful and failed 3D Secure flows:
6200000000000021Triggers 3D Secure authentication that will succeed after user interaction.
6200000000000039Requires 3D Secure but authentication will fail.
6240008631401148Here's how to create a payment with a UnionPay 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_unionpay \ -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.