Cybersource

Below you will find a list of test cards available to test with Cybersource. Depending on your needs, you can test certain card schemes, issuer countries and even decline scenarios. For a full documentation on Cybersource test cards, please visit Cybersource reference.

Cybersource test cards: pre-requirements

In order to properly perform test using Bukckaroo test cards make sure to:

  • Use Sandbox environment - these cards will not work in Live environment
  • Have Cybersource Merchant Contract active on your merchant account
  • Have payment methods you want to test activated in your Cybersource Merchant Contract
  • If you are testing with Direct API, in your create order request pass merchant_contract field with your Cybersource contract id
Merchant Contract: you can find your merchant contract ID in your merchant account by navigating to: Payment Network - Service Providers - Payment Providers - [Contract]

Use the following test cards for a successful payment test

Brand Number Expiration Date CVV
Mastercard 512X342233150747 Any Any
Mastercard 512X343287499758 Any Any
Mastercard 51203501XXX64594 Any Any
Visa 46229431231XX639 12/26 242
Visa 46229431231XX647 12/26 749
Visa 46229431231XX654 12/26 972
Visa 46229431231XX662 12/26 344
Visa 46229431231XX67X 12/26 306
Visa 46229431231XX688 12/26 065
Visa 46229431231XX696 12/26 264

For Mastercard and Visa cards, replace the X with a 0. For Mastercard cards, you can use any future date for the expiration date.

Use the following test cards for an unsuccessful payment test

Card Brand Number Expiration Date CVV Failure Reason
American Express 370000000XXXX28 Any Any CARD_NOT_ELIGIBLE
American Express 3700000000XXXX2 Any Any DECLINED
American Express 37000000XXXX119 Any Any SERVICE_UNAVAILABLE
American Express 370000000XXXX36 Any Any CARD_NOT_ALLOWED
Visa 4000000011XXXXXX Any Any CARD_VERIFICATION_FAILED
Visa 4001770011XXXXXX Any Any CARD_NOT_ELIGIBLE
Visa 4010057011XXXXXX Any Any CARD_NOT_ALLOWED
Visa 4010057022XXXXXX Any Any DECLINED
Visa 4020057022XXXXXX Any Any DECLINED
Visa 4010057033XXXXXX Any Any SERVICE_UNAVAILABLE
Visa 4020057033XXXXXX Any Any SERVICE_UNAVAILABLE
Visa 4010057044XXXXXX Any Any SYSTEM_ERROR
Visa 4020057044XXXXXX Any Any SYSTEM_ERROR
Visa 4020057055XXXXXX Any Any INVALID_REQUEST
For American Express cards, replace the X with a 0. For Visa cards, replace the X with any number. You can use any future date for the expiration date.