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.
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 number | Brand |
|---|---|
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 card | Scenario | Expected result | Decline code |
|---|---|---|---|
CCREJECT-IF | Insufficient funds | 5120 INSUFFICIENT_FUNDS | PayPal 5120 |
CCREJECT-REFUSED | Card refused | 0500 DO_NOT_HONOR | PayPal 0500 |
CCREJECT-EC | Card expired | 5400 EXPIRED_CARD | PayPal 5400 |
CCREJECT-CVV_F | CVC check fails | 00N7 CVV2_FAILURE_POSSIBLE_RETRY_WITH_CVV | |
CCREJECT-LS | Card lost or stolen | 9520 LOST_OR_STOLEN | PayPal 9520 |
CCREJECT-SF | Fraudulent card | 9500 SUSPECTED_FRAUD | PayPal 9500 |
CCREJECT-IRC | Luhn check fails | 5180 INVALID_OR_RESTRICTED_CARD | PayPal 5180 |
CCREJECT-IA | Card not valid | 1330 INVALID_ACCOUNT | PayPal 1330 |
CCREJECT-BANK_ERROR | Card declined | 5100 GENERIC_DECLINE | PayPal 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 number | Scenario | Expected result |
|---|---|---|
4868 7191 9682 9038 | Visa: successful frictionless | authentication_status Y, liability shift POSSIBLE |
5329 8797 0782 4603 | Mastercard: successful frictionless | authentication_status Y, liability shift POSSIBLE |
4868 7191 5813 0060 | Visa: failed frictionless | authentication_status N, liability shift NO |
4868 7190 8156 4153 | Visa: rejected frictionless | authentication_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 lookup | enrollment_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 number | Scenario | Expected result |
|---|---|---|
4000 0000 0000 2701 | Visa: successful no-challenge | authenticate_successful |
5200 0000 0000 2235 | Mastercard: successful no-challenge | authenticate_successful |
4000 0000 0000 2925 | Visa: failed no-challenge | authenticate_frictionless_failed |
4000 0000 0000 2537 | Visa: rejected by issuer | authenticate_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.
- 1Save a card with the Payment Method Tokens v3 API using a card from the saving payment methods table.
- 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).
- 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.
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.
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.