Skip to main content

Test Scenarios in 3DS Authorization

To successfully simulate the complete flow in a production scenario:​

  1. Use a valid 3DS Setup card/token.
  2. Then, successfully simulate 3DS Enrollment.
  3. Save the generated chargeId.
  4. To display the 3DS challenge, follow the steps described on the Transparent Checkout via API page.
  5. With this chargeId, call the 3DS authorization endpoint and use the values above to test different responses.
Important!

In sandbox: it is not possible to render the Enrollment link with Challenge, therefore skip step 4 above and go directly to step 5

Test Cards​

Card NumberTest ScenarioResult Description
4716100289307782
5597773670668839
3DS SetupThese cards simulate a scenario where 3D configuration is allowed.
54662458429987723DS Enrollment - RejectedThis card simulates a scenario where a 3DS enrollment is rejected. Use it to test how your application handles rejected 3DS enrollment transactions.
52455813238944133DS Enrollment - with ChallengeThis card simulates a scenario where 3DS enrollment generates a challenge. Use it to test how your application handles 3DS enrollment transactions that generate a challenge.

Temporary Test Tokens​

Temporary TokenTest ScenarioResult Description
card_ZVHmBRSw3EjkJ7s93Vm4S5FiZwuQjgTi
card_RtyG5hOw3EiJ8EJbwFHGQJJNDB0pqBXJ
3Ds SetupThese cards simulate a scenario where 3D configuration is allowed.
card_icZKwUvB3EgIJiPqTLXwQZBdcls8Hx5t3DS Enrollment - RejectedThis card simulates a scenario where a 3DS enrollment is rejected. Use it to test how your application handles rejected 3DS enrollment transactions.
card_7HdM7UvB3EgC0FQQ1/LSS5gF8OU5Ie6r3DS Enrollment - with ChallengeThis card simulates a scenario where 3DS enrollment generates a challenge. Use it to test how your application handles 3DS enrollment transactions that generate a challenge.

3DS Authorization Endpoint​

This endpoint simulates the final moment of 3DS authentication, where the transaction is approved or rejected after the previous setup and enrollment steps.

Important!

To successfully test this endpoint in the sandbox, you must first go through the 3DS Setup and Enrollment endpoints following the steps described above.

This will generate a chargeId that will be accepted at this endpoint. If you try to use a chargeId that has not gone through the previous steps, you will receive the following error:

{
"message": "3D Secure Authentication not found with chargeId: ff46de80-f29b-4ed5-8d24-bdad5f49a8d7",
"success": false
}

Scenarios for simulation​

By default, all valid requests to this endpoint are approved. To simulate failures, use the following CVV values:

ScenarioDescriptionFieldValue
Error 500Returns a standard error 500CVV500
Error 400Returns a standard error 400 (Bad Request) response for this endpointCVV400