PayZuDocs

Card numbers that force each outcome in the sandbox, including the 3DS flows.

Use the cards below to simulate the different outcomes of a transaction in the sandbox environment, both the standard authorization flow and the 3DS authentication scenarios.

Test cards (simulated)

Each card number simulates a transaction status and returns the corresponding return code and return message:

Transaction StatusCardsReturn codeReturn Message
Authorized0000000000000000 / 0000000000000001 / 00000000000000046Operação realizada com sucesso
Not Authorized000000000000000205Not Authorized
Not Authorized000000000000000357Cartão Expirado
Not Authorized000000000000000578Cartão Bloqueado
Not Authorized000000000000000699Time Out
Not Authorized000000000000000777Cartão Cancelado
Not Authorized000000000000000870Problemas com o Cartão de Crédito
Random Authorization00000000000000094 to 99Operation Successful / Time Out

The simulation looks only at the last digit of the number. Any Mod10-valid card ending in 1 falls on the 0000000000000001 row, which is why the examples in this documentation use 4111111111111111 and come back Authorized.

If the goal is to test a transaction on the Payment Gateway using a card number, we recommend using a card number generator that satisfies the Mod10 rule (Luhn Algorithm). This practice is valid for both sandbox and production environments.

3DS test cards

If you want to simulate a specific 3DS authentication scenario, you can use the test cards below in the sandbox environment.

Test cards with challenge

CARDBRANDRESULTDESCRIPTION
4000000000001091SUCCESSAuthentication with challenge and cardholder authenticated successfully
5200000000001096SUCCESSAuthentication with challenge and cardholder authenticated successfully
6505050000001091eloSUCCESSAuthentication with challenge and cardholder authenticated successfully
4000000000001109FAILUREAuthentication with challenge and cardholder authentication failed
5200000000001104FAILUREAuthentication with challenge and cardholder authentication failed
6505050000001109eloFAILUREAuthentication with challenge and cardholder authentication failed
4000000000001117UNENROLLEDAuthentication with challenge unavailable at the moment
5200000000001112UNENROLLEDAuthentication with challenge unavailable at the moment
6505050000001117eloUNENROLLEDAuthentication with challenge unavailable at the moment
4000000000001125UNENROLLEDSystem error during the authentication step
5200000000001120UNENROLLEDSystem error during the authentication step
6505050000001125eloUNENROLLEDSystem error during the authentication step

Test cards without challenge

CARDBRANDRESULTDESCRIPTION
4000000000001000SUCCESSAuthentication without challenge and cardholder authenticated successfully
5200000000001005SUCCESSAuthentication without challenge and cardholder authenticated successfully
6505050000001000eloSUCCESSAuthentication without challenge and cardholder authenticated successfully
4000000000001000UNENROLLEDAuthentication without challenge and cardholder authentication failed
5200000000001005UNENROLLEDAuthentication without challenge and cardholder authentication failed
6505050000001000eloUNENROLLEDAuthentication without challenge and cardholder authentication failed

The numbers above reproduce the official PayZu reference exactly. In the no-challenge table, the reference itself lists the same cards for the success and the failure scenarios. Before automating tests for these scenarios, confirm with support which number to use for each one.

Next steps

On this page