post https://api.sandbox.datatrans.com/v1/transactions
Securely send all the needed parameters to the transaction initialization API. The result of this API call is a HTTP 201
status code with a transactionId
in the response body and the Location
header set. This call is required to proceed with our Redirect and Lightbox integration
PCI Proxy Use Cases
Note that this endpoint is also used by Datatrans to initiate payments. For PCI Proxy customers, most of the fields are not relevant. For an example, refer to this example.
A note on the payload
You may see in the payload example that the INT
, ALP
, EPS
, WEC
fields appear as required. You can safely ignore these fields for PCI Proxy use cases.