Cybersource test cards by scenario
Amount-driven: the order total decides the processor response, and the trigger amounts depend on the processor your sandbox account uses. The amounts here are Cybersource's table for Visa Platform Connect. 3D Secure has its own cards. Where a cell names a trigger, use it with any of Cybersource's cards below. On Flint, each scenario is one card number with any future expiry, any 3-digit CVC, and any ZIP.
| Scenario | Cybersource | Flint |
|---|---|---|
| Successful payment | 4111 1111 1111 1111 | 4242 4242 4242 4242any future expiry, any CVC, any ZIP |
| Generic decline | Amount 4005.00 on Visa Platform Connect | 4000 0000 0000 0002 |
| Insufficient funds | Amount 4051.00 | 4000 0000 0000 9995 |
| Lost or stolen card | Amount 4041.00 or 4043.00 | 4000 0000 0000 99874000 0000 0000 9979lost, stolen |
| Expired card | Amount 4054.00 | 4000 0000 0000 0069 |
| Incorrect CVC | Amount 4106.00 | 4000 0000 0000 0127 |
| 3D Secure challenge | 4000 0000 0000 2503expiry January, current year plus 3 | 4000 0025 0000 3155 |
| 3D Secure authentication fails | 4000 0000 0000 2370 | 4000 0000 0000 3220fail the challenge |
| Card saves, then charges fail | Not documented | 4000 0000 0000 0341 |
| Dispute or chargeback | Not documented | 4000 0000 0000 02594000 0000 0000 1976fraudulent, inquiry |
Declines, 3D Secure, and disputes
How Cybersource triggers declines
Cybersource's declines come from the order amount, and the amounts depend on the processor your sandbox uses. On Visa Platform Connect, 4005.00 declines with 05, 4051.00 with insufficient funds, 4054.00 with an expired card, and 4041.00 with a lost card. An amount below zero or a number that fails the Luhn check returns INVALID_DATA.
How Cybersource tests 3D Secure
Each payer authentication test case has its own card per brand, such as 4000 0000 0000 2503 for a challenge that succeeds and 4000 0000 0000 2370 for one that fails. Set the expiry to January of the current year plus 3.
How Cybersource simulates disputes
Cybersource's testing docs document no dispute or chargeback simulation in the sandbox.