transactions
Refund transaction
Changed onRefunds a previously completed Capture or Instant transaction (minimum of 0.99). You can optionally refund partially. You can do so as many times as you wish until the entire collected amount has been refunded.
A Capture or Pay transaction can only be refunded after the bank money collection has been processed and completed.
Ensure you also implement an Event Notification Handler to get transaction status updates.
post/transactions/{transactionId}/refund
Request
- Base URLhttps://sandbox.trustly.one/api/v1
- URLhttps://sandbox.trustly.one/api/v1/transactions/{transactionId}/refund
- AuthHTTP basic
Path parameters
transactionIdstring required
Capture Transaction ID retrieved from a Trustly Capture transaction.
Request body
Response
OK
Changes
- warning
deleted the
headerrequest parameterAuthorization - info
the endpoint scheme security
HTTPBasicwas added to the API
- warning
- info
api operation id
post-transactions-refundremoved and replaced withtransactions_post-transactions-refund
- info