Skip to main content
P
Payment provider

PayPal Sandbox Test Card Numbers

PayPal sandbox cards work with Expanded Checkout (advanced card payments) when your integration uses a sandbox client ID and the api-m.sandbox.paypal.com endpoints. Declines are triggered through the cardholder name, not the card number.

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

Before you test

  • Expiry: any future date.
  • CVV: any 3 digits (4 digits for American Express).
  • Rejection triggers go in First Name or Name on Card and are case-sensitive.
  • Test rejection triggers with a Visa number such as 4012 8888 8888 1881.

Test card numbers

Card numberBrand
4012 8888 8888 1881
Visa
4005 5192 0000 0004
Visa
4012 0000 3333 0026
Visa
2223 0000 4840 0011
Mastercard
3714 4963 5398 431
American Express
3766 8081 6376 961
American Express
3646 1510 0000 39
Diners Club
6304 0000 0000 0000
Maestro
3636 5000 0000 0260
JCB
6200 6800 0000 0004
UnionPay (CUP)

Rejection triggers

Enter the trigger as the first name or name on card. All rejection scenarios return AVS code G (globally unavailable) and CVV code P (not processed).

Name on cardScenarioExpected resultDecline code
CCREJECT-IF
Insufficient funds5120 INSUFFICIENT_FUNDSPayPal 5120
CCREJECT-REFUSED
Card refused0500 DO_NOT_HONORPayPal 0500
CCREJECT-EC
Card expired5400 EXPIRED_CARDPayPal 5400
CCREJECT-CVV_F
CVC check fails00N7 CVV2_FAILURE_POSSIBLE_RETRY_WITH_CVV
CCREJECT-LS
Card lost or stolen9520 LOST_OR_STOLENPayPal 9520
CCREJECT-SF
Fraudulent card9500 SUSPECTED_FRAUDPayPal 9500
CCREJECT-IRC
Luhn check fails5180 INVALID_OR_RESTRICTED_CARDPayPal 5180
CCREJECT-IA
Card not valid1330 INVALID_ACCOUNTPayPal 1330
CCREJECT-BANK_ERROR
Card declined5100 GENERIC_DECLINEPayPal 5100

3D Secure test cards (purchase flows)

These cards cover the United States, Great Britain, China, Australia and France test set. They only work for purchase flows, not for saving payment methods.

Card numberScenarioExpected result
4868 7191 9682 9038
Visa: successful frictionlessauthentication_status Y, liability shift POSSIBLE
5329 8797 0782 4603
Mastercard: successful frictionlessauthentication_status Y, liability shift POSSIBLE
4868 7191 5813 0060
Visa: failed frictionlessauthentication_status N, liability shift NO
4868 7190 8156 4153
Visa: rejected frictionlessauthentication_status R, liability shift NO
4868 7191 6610 1368
Visa: successful step-up (challenge)authentication_status Y, liability shift POSSIBLE
4868 7191 8189 5556
Visa: failed step-up (challenge)authentication_status N, liability shift NO
4868 7194 8865 1967
Visa: authentication not available on lookupenrollment_status U, liability shift NO

3D Secure test cards (saving payment methods)

For the Payment Method Tokens v3 API only. Use expiry month 01 and the current year plus 3.

Card numberScenarioExpected result
4000 0000 0000 2701
Visa: successful no-challengeauthenticate_successful
5200 0000 0000 2235
Mastercard: successful no-challengeauthenticate_successful
4000 0000 0000 2925
Visa: failed no-challengeauthenticate_frictionless_failed
4000 0000 0000 2537
Visa: rejected by issuerauthenticate_rejected

Testing failed subscription renewals on PayPal

PayPal's card testing page does not document a card that saves successfully and then declines later. What it does document are name-based rejection triggers, which apply to any card payment, and negative testing through API request headers.

  1. 1Save a card with the Payment Method Tokens v3 API using a card from the saving payment methods table.
  2. 2To see how your renewal handling reacts to each decline, run card payments with a rejection trigger such as CCREJECT-IF (5120 insufficient funds) or CCREJECT-EC (5400 expired card).
  3. 3Read processor_response.response_code on the capture to drive your retry or customer email logic.

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 PayPal volume is recoverable. We will look at your decline mix and tell you.

Talk to Sales

PayPal test card FAQ

What test card numbers work in the PayPal sandbox?

For Expanded Checkout, PayPal lists cards such as Visa 4012 8888 8888 1881, Mastercard 2223 0000 4840 0011 and American Express 3714 496353 98431. Use a future expiry and any 3-digit CVV (4 for Amex).

How do I simulate a declined card in the PayPal sandbox?

Enter a rejection trigger in the first name or name on card field, for example CCREJECT-IF for insufficient funds (5120) or CCREJECT-REFUSED for do not honor (0500). Triggers are case-sensitive.

Which PayPal test card triggers a 3D Secure challenge?

In the US test set, 4868 7191 6610 1368 completes a successful step-up challenge and 4868 7191 8189 5556 fails it.

Can I generate more PayPal sandbox cards?

Yes. PayPal's credit card generator creates additional cards for sandbox testing and PayPal Checkout.

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