Card Test Numbers

An easy way to try the EBANX solution with credit card payment

Use the sandbox mode, or test environment, to try and simulate scenarios with different credit cards.

Remember: the numbers below don’t work, you can’t buy things. It’s only for test. 😉

Card Test – Success

First, let’s try numbers of credit cards that have “infinite” funds and will always be authorized. That way, you’ll receive an approved transaction response.

You can use any of the following numbers in the test environment. Just don’t forget to read the tips below:

  • CVV: use any number with three digits, except American Express which CVV is four digits;
  • Expiration date (due date): use any period in the future.

Types

American Express

amex

378282246310005 or 371449635398431

Aura

aura

5078601870000127985 or 5078601800003247449

Diners Club

diners

30569309025904 or 38520000023237

Discover

discover

6011111111111117

Elo

elo

6362970000457013

Hipercard

hipercard

6062825624254001

MasterCard

mastercard

5555555555554444 or 5105105105105100

Visa

visa

4111111111111111 or 4012888888881881

CARNET (For Mexico only)

carnet

5062224607440872

Card Test – Decline

Now, let’s try another scenario with other numbers, that way you will receive a declined transaction response in the test environment.

They have the same rules as the other cards:

  • CVV: use any number with three digits, except American Express which CVV is four digits;
  • Expiration date (due date): use any period in the future.

Visa

visa

4716909774636285

  • response: insufficientFunds

Mastercard

mastercard

5102026827345142

  • response: invalidData

Discover

discover

6011088896715918

  • response: cardExpired

American Express

amex

378568775709157

  • response: notApproved

Debit card test numbers for Mexico

Mexico accepts only debit cards for online international purchases. So if you sell for them, you have to use the following numbers in the sandbox mode (test environment) to make the tests, but pay attention:

  • For CVV use any number with three digits.
  • For expiration date (due date), use any time in the future.

It’s essential to use these examples because others will decline.

Remember that they are not real card numbers. So they only serve to make tests. 🙂

Mexican debit cards

debitcard

  • 4242424242424242 (Visa)
  • 4012888888881881 (Visa)
  • 5555555555554444 (Mastercard)
  • 5105105105105100 (Mastercard)