Split Authorizations
Split Authorizations separates the authorization process into two steps. You can proceed with the transaction first and as a second step, you complete the authorization with an additional request. This method of processing transactions reduces the risk of faulty debiting.
Deprecated Feature - Try Deferred Settlement instead
This feature is deprecated. You can also defer payments by using a so-called deferred settlement. You will find more information in our settling a transaction section of the docs.
Payment Page Setup
Once you have linked our payment pages and your merchant is configured to allow split authorizations, you can start processing split authorizations. After a transaction has been completed you will receive a transactionId
in your webhook that you will need for the final authorization.
Finalizing the Authorization
To finalize any transaction using split authorizations you need to call our authorize-split endpoint. Here you can specify if the transaction should be settled automatically or if you wish to proceed with a deferred settlement.
curl 'https://api.sandbox.datatrans.com/v1/transactions/{transactionId}/authorize' \
--header 'Authorization: Basic {basicAuth}' \
--header 'Content-Type: application/json' \
--data-raw '{
"refno": "Test-1234",
"amount": 100,
"autoSettle": true
}'
Updated 9 months ago