Preauthorize transaction
The Preauthorize API allows the merchant to pre-authorize one or more captures up to the total pre-authorized amount on a pre-authorized period interval in hours. Captures after the pre-authorized period interval are treated as normal Captures (will need to pass the full balance and risk analysis to be guaranteed).
Authentication
Path parameters
Request
The amount to be authorized. (maximum of 10 characters with support for 2 decimal places). Required if the bank authorization was created with an amount of 0.00. If not specified, then the full amount of the bank authorization will be used.
The merchant’s tier associated with the customer (e.g. vip).
Response
A unique transaction identifier generated by Trustly (15 character max).
Type of transaction record. See Transaction Types
3-letter ISO Currency Code. Currently only USD is supported.
The amount of the transaction. (10 characters with support for 2 decimal places)
The total amount that is still pending completion. (10 characters with support for 2 decimal places)
The total amount that was already paid. (10 characters with support for 2 decimal places)
The total amount that was refunded. (10 characters with support for 2 decimal places)
The total amount that was reversed. (10 characters with support for 2 decimal places)
The balance of the amount paid, minus the amount reversed and/or refunded. (10 characters with support for 2 decimal places)
Status code of the Payment Provider Transaction record. See Transaction Types
A descriptive status message. (120 characters)