latestOpenAPI 3.0.12026-08-104068226.2 KB

a772504dcc9e

Card transactions simulation

(Sandbox only) Create test 3DS transaction

This endpoint simulates a test 3DS transaction for the card_id specified in the request URL.<br> Calling this endpoint will begin the 3DS transaction process. The API will return a JSON schema containing the HTML for the 3DS challenge screen.<br> This endpoint is only available on Sandbox.

post/v1/cards/{card_id}/test_3ds_authentication

Path parameters

card_idstring required

Request body

merchant_namestring required

The name of the merchant.

purchase_currencystring required

The currency used for the purchase.

purchase_amountinteger required

The purchase amount (in Euro cents).

Response

Successful result of the operation

htmlstring

The HTML for the 3DS challenge screen.

Example response

{
  "html": "<html>...</html>"
}