Square test cards by scenario
Fixed success cards plus magic CVV, postal code, expiry, and amount values. One card declines generically; there is no card per decline reason. Where a cell names a trigger, use it with any of Square's cards below. On Flint, each scenario is one card number with any future expiry, any 3-digit CVC, and any ZIP.
| Scenario | Square | Flint |
|---|---|---|
| Successful payment | 4111 1111 1111 1111CVV 111 | 4242 4242 4242 4242any future expiry, any CVC, any ZIP |
| Generic decline | 4000 0000 0000 0002 | 4000 0000 0000 0002 |
| Insufficient funds | Not documented for cards | 4000 0000 0000 9995 |
| Lost or stolen card | Not documented | 4000 0000 0000 99874000 0000 0000 9979lost, stolen |
| Expired card | Expiry 01/40 (expiration date incorrect) | 4000 0000 0000 0069 |
| Incorrect CVC | CVV 911 | 4000 0000 0000 0127 |
| 3D Secure challenge | 4310 0000 0020 1019code 123456 | 4000 0025 0000 3155 |
| 3D Secure authentication fails | 4811 1100 0000 0008 | 4000 0000 0000 3220fail the challenge |
| Card saves, then charges fail | Not documented | 4000 0000 0000 0341 |
| Dispute or chargeback | Amount 8801 to 8809 | 4000 0000 0000 02594000 0000 0000 1976fraudulent, inquiry |
Declines, 3D Secure, and disputes
How Square triggers declines
Square has success cards and one generic decline card, 4000 0000 0000 0002. Other errors come from the card details: CVV 911 for an incorrect CVV, postal code 99999 for an incorrect postal code, and expiry 01/40 for an incorrect expiration date. The success cards need CVV 111.
How Square tests 3D Secure
In the sandbox, verifyBuyer creates a buyer challenge in every region, and the SMS verification code is 123456. The SCA cards for the Web Payments SDK and In-App Payments SDK each simulate one challenge result.
How Square simulates disputes
Disputes come from the amount: a payment of 8801 to 8809 creates a dispute with a reason for each amount, visible through the API only. Upload an evidence file named evidence_won or evidence_lost, then submit evidence, to win or lose it.