Links

Update (Amount, Currency)

Call the Patch transaction API endpoint after calling secureFields.init() and before calling secureFields.submit().
patch
https://api.sandbox.datatrans.com
/v1/transactions/secureFields/{transactionId}
Transaction

Example

Request
curl -L -X PATCH 'https://api.sandbox.datatrans.com/v1/transactions/secureFields/201110094904976728' \
-H 'merchantId:password' \
-H 'Content-Type: application/json; charset=UTF-8' \
--data-raw '{
"amount": 5000,
"currency": "GBP"
}'