Diners Club Test Card Numbers for Stripe

Complete collection of Diners Club test card numbers for Stripe payment testing. Test successful payments, declines, and Diners Club-specific payment scenarios for international commerce.

πŸ’³ 30569309025904 (Success)❌ 30000000000004 (Decline)🌍 International acceptanceπŸ’Ό Business card focus

Filters

2 test cards found

Code Generator

Select a test card to generate code

Affonso Logo

Ready to Launch?

Once your Stripe integration is tested, launch an affiliate program to let others promote your business.

How it works

Webhook Events

payment_intent.succeeded
Payment succeeded
payment_intent.payment_failed
Payment failed
charge.succeeded
Charge succeeded
charge.failed
Charge failed
charge.dispute.created
Dispute created
invoice.payment_succeeded
Invoice payment succeeded
invoice.payment_failed
Invoice payment failed
customer.subscription.created
Subscription created
customer.subscription.updated
Subscription updated
customer.subscription.deleted
Subscription cancelled

πŸ’‘ Tip: Use stripe listen --forward-to localhost:3000/webhook to test webhooks locally

πŸ’³

Diners Club

🌍United States (US)

Success
3056 9300 0902 0004
CVC
Any 3 digits
Expiry
Any future date
Payment Method ID
pm_card_diners

Diners Club

πŸ’³

Diners Club

🌍United States (US)

Success
3622 7206 2716 67
CVC
Any 3 digits
Expiry
Any future date
Payment Method ID
pm_card_diners

Diners Club 14-digit

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

1

Choose Your Test Scenario

Filter by brand, country, or scenario to find the right test card for your use case.

2

Copy Test Data

Click any test card to select it, then copy the card number or PaymentMethod ID.

3

Generate Code

Use the code generator to create payment integration snippets in your preferred language.

4

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.

Cards: Visa (4242...), Mastercard (5555...), Amex (3782...)

❌ Decline Handling

Test various decline scenarios and error handling.

Scenarios: Insufficient funds, stolen card, expired card

πŸ” 3D Secure

Test Strong Customer Authentication (SCA) flows.

Cards: 4000000000003220 (success), 4000008400001629 (decline)

πŸ’‘ 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

Test with instant verification via Financial Connections

SEPA Direct Debit

European bank transfers

Test mandate confirmation flows

Link by Stripe

One-click checkout

Use any valid email + test OTP codes

Redirect Methods

iDEAL, Sofort, etc.

Test redirect flows and return URLs
Affonso Logo

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 key
sk_test_xxx... - Secret key

Live Keys (Production)

pk_live_xxx... - Publishable key
sk_live_xxx... - Secret key

Rate 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.comfor 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

Any 6 digits (not listed)Success
000001Invalid code
000002Code expired
000003Max attempts

πŸ’³ Diners Club Test Cards for Stripe

Diners Club is a widely used card brand, making it essential to testDiners Club payment scenarios thoroughly. Stripe provides comprehensiveDiners Club test cards covering success, decline, authentication, and international payment scenarios.

Diners Club is popular for business and travel expenses worldwide.

Test international payment scenarios as Diners Club has global acceptance.

Diners Club cards often have different spending patterns than consumer cards.

πŸ§ͺ Common Diners Club Test Scenarios

βœ… Successful Payments

Generic Success:30569309025904
Alternative Success:38520000023237
Diners International:30000000000012

❌ Decline Scenarios

Generic Decline:30000000000004
Insufficient Funds:30000000000020

πŸ” Diners Club 3D Secure Testing

3D Secure (3DS) authentication is required for many EuropeanDiners Club transactions under Strong Customer Authentication (SCA) regulations. Test both successful and failed 3D Secure flows:

Success:
30000000000028

Triggers 3D Secure authentication that will succeed after user interaction.

Decline:
30000000000036

Requires 3D Secure but authentication will fail.

⭐ Special Diners Club Test Cards

Diners Business:30569309025904

πŸ’» Diners Club Test Card Code Example

Here's how to create a payment with a Diners Club 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_diners \
  -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