Example: Requesting an Latvia Banks Refund Using the REST API

Request
{ "orderInformation": { "amountDetails": { "totalAmount": "1", "currency": "EUR" } }, "clientReferenceInformation": { "code": "sale1077", "originalTransactionId": "1171091725" }, "paymentInformation": { "paymentType": { "name": "bankTransfer", "method": { "name": "latvianbanks" } } } }
Response to a Successful Request
{ "clientReferenceInformation": { "transactionid": "sale1077" }, "processorInformation": { "transactionId": "144133396" }, "message": "Successful", "status": "REFUNDED", "id": "6523329019126746031954", "submitTimeUtc": "2022-06-08T03:48:01Z" }