Cybersource Test Card Numbers

Official Cybersource sandbox test card numbers, with the invalid-data cards and amounts that force declines and request errors.

Cybersource's sandbox accepts 4111 1111 1111 1111 (Visa), 5555 5555 5555 4444 (Mastercard) and 3782 822463 10005 (Amex) with any future expiration date. To test a decline, send 4111 1111 1111 1112, which fails the Luhn check and returns DECLINE with INVALID_DATA.

Last verified against Cybersource's official documentation on .

Expiry: Any future date
CVV: Any 3 digits (4 for Amex)
Official documentation

Sandbox test card numbers

Outcomes are driven by the request fields and amounts below, not by the number itself.

Card numberBrandResultCopy
4111 1111 1111 1111Visa
Sandbox test card
4622 9431 2701 3705Visa
Sandbox test card CVV 838
5555 5555 5555 4444Mastercard
Sandbox test card
2222 4200 0000 1113Mastercard
Sandbox test card 2-series
3782 822463 10005American Express
Sandbox test card
6011 1111 1111 1117Discover
Sandbox test card
3566 1111 1111 1113JCB
Sandbox test card
1354 123456 78911UATP
Sandbox test card

Invalid-data cards

Card numberBrandResultCopy
4111 1111 1111 1112Visa
Fails Luhn check DECLINE / INVALID_DATA
4242 3482 9384 8387 3Visa
Invalid card number DECLINE / INVALID_DATA

Amount triggers

Set as orderInformation.amountDetails.totalAmount.

ScenarioValueEffect
Authorised1AUTHORIZED (HTTP 201)
Invalid amount-1INVALID_REQUEST / INVALID_DATA
Amount too large100000000000INVALID_REQUEST / INVALID_DATA

Field triggers

ScenarioValueEffect
Expiration month13INVALID_REQUEST / INVALID_DATA
Expiration year1998DECLINE / INVALID_DATA

Before you use these

  • These numbers work only in the Cybersource sandbox.
  • Unified Checkout, Click to Pay, Token Management and 3-D Secure each have their own test card lists in the Cybersource docs.
  • These numbers are published by Cybersource for sandbox testing. They are not real cards and cannot be used for a real purchase.

How to use Cybersource test cards

  1. Switch your Cybersource integration to its test or sandbox environment and use test credentials. Live credentials reject these numbers.
  2. Enter a card number from the tables above. Expiry: Any future date. Security code: Any 3 digits (4 for Amex).
  3. Start with a successful card to confirm the happy path, then work through the decline and error cards so every failure message in your checkout gets exercised.
  4. Use the trigger values (amount triggers, field triggers) to simulate outcomes that are not tied to a card number.

Cybersource test card FAQ

What are the Cybersource test card numbers?

Cybersource's sandbox accepts 4111 1111 1111 1111 (Visa), 5555 5555 5555 4444 (Mastercard) and 3782 822463 10005 (Amex) with any future expiration date. To test a decline, send 4111 1111 1111 1112, which fails the Luhn check and returns DECLINE with INVALID_DATA.

Do Cybersource test cards work in production?

No. These numbers are only recognised by the Cybersource test environment and are rejected by the live platform. They are not real cards and cannot be used for a purchase.

How do I test a declined payment with Cybersource?

Cybersource triggers failures through amount triggers as well as dedicated card numbers. Both are listed on this page.