Skip to main content
C
Billing platform

Chargebee Test Gateway Card Numbers

The Chargebee Test Gateway is configured by default on every Chargebee test site. It simulates successful payments, invalid cards, insufficient funds and 3DS flows without a real gateway.

Sandbox and test mode only. Never use real card numbers.
Source: Chargebee docs, checked November 2026

Before you test

  • Available only on Chargebee test sites.
  • CVV: any 3 or 4 digits. Expiry: any valid future date.
  • You can configure several Test Gateways to test Smart Routing.

Successful card numbers

Card numberBrand
4111 1111 1111 1111
Visa
5555 5555 5555 4444
Mastercard
3782 8224 6310 005
American Express
6011 1111 1111 1117
Discover
3530 1113 3330 0000
JCB
3852 0000 0232 37
Diners

Failure cards

Card numberScenarioExpected resultDecline code
4005 5192 0000 0004
Insufficient funds on chargeCharge attempts fail with an Insufficient funds errorChargebee gateway.transaction_processing.insufficient_funds
4119 8627 6033 8320
Card storage failsGateway verification failure when storing the card

3DS test card and amounts

Use card 4556 7610 2998 3886 with the amounts below (in cents). 4111 1111 1111 1111 behaves as a card not enrolled in 3DS.

Amount (cents)ScenarioExpected result
3001
3DS2 full frictionless flowImmediate transaction
3002
Fallback from 3DS2 to 3DS1
3003
Device fingerprint, then direct authorizeRequires lifecycle
3004
Device fingerprint, then challengeRequires lifecycle and completion call
3103
Device fingerprint with forced failure
3104
Challenge flow with forced failure

Testing failed subscription renewals on Chargebee

Chargebee documents a Test Gateway card that stores fine and fails every charge with Insufficient funds: the exact shape of a failed renewal.

  1. 1Add 4005 5192 0000 0004 as the customer's card on a test site. Storage succeeds.
  2. 2Create a subscription. Each renewal charge fails with Insufficient funds, and your dunning settings take over.
  3. 3Use Time Machine on the test site to move the site date forward and run renewals and dunning without waiting.
  4. 4To test a card that cannot even be saved, use 4119 8627 6033 8320.

In production, many failed renewals are soft declines that can succeed on a later attempt if the retry is timed right. See how Slicker smart retries pick the timing, gateway and amount for each failed payment.

Payment recovery

Your sandbox passes. What about the renewals failing in production?

Test cards prove your integration handles a decline. They do not show how much of your real failed Chargebee volume is recoverable. We will look at your decline mix and tell you.

Talk to Sales

Chargebee test card FAQ

What test cards does the Chargebee Test Gateway accept?

Visa 4111 1111 1111 1111, Mastercard 5555 5555 5555 4444, American Express 3782 822463 10005, Discover 6011 1111 1111 1117, JCB 3530 1113 3330 0000 and Diners 3852 0000 0232 37 all succeed.

Which Chargebee test card fails with insufficient funds?

4005 5192 0000 0004. The card stores normally, but charge attempts fail with an Insufficient funds error.

How do I test 3DS on the Chargebee Test Gateway?

Use 4556 7610 2998 3886 with an amount in cents: 3001 for frictionless, 3004 for a challenge, 3104 for a challenge that fails.

How do I test dunning in Chargebee without waiting?

Put 4005 5192 0000 0004 on the subscription so renewals fail, then use Time Machine on your test site to move time forward through the dunning schedule.

Sources

Values copied from the provider's documentation and checked November 2026. Providers change test values; if a number stops working, the source page is the reference.

Test cards for other providers

Cookie preferences

Your privacy matters

We use analytics to understand how you use our site and improve your experience. Privacy Policy