This page's content:

Please note those card numbers will only work in Sandbox(test) environment. No payment will be possible using those cards.

Credit card test – success

Please note that those credit card numbers will only work for Brazil

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

Discover discover

6011111111111117

Elo elo

6362970000457013

Hipercard hipercard

6062825624254001

Visa visa

4111111111111111 or 4012888888881881

Mastercard mastercard

5555555555554444

Credit card test – decline

Please note that those credit card numbers will only work as intended for Brazil.

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 or Mastercard visa or mastercard

4000000000000028

  • response: insufficientFunds
Visa or Mastercard mastercard or mastercard

4000000000000002

  • response: invalidData