REST Example: Reversing a Mass Transit Authorization
Request
123456789{"clientReferenceInformation": { "code": "FE978755" }, "reversalInformation": { "amountDetails": { "totalAmount": "999.87" }, "reason": "Authreversal" }}
Response to a Successful Request
123456789101112131415161718192021222324{"_links": { "self": { "method": "GET", "href": "/pts/v2/reversals/7167830399586147504953" } }, "clientReferenceInformation": { "code": "FE978755" }, "id": "7167830399586147504953", "orderInformation": { "amountDetails": { "currency": "THB" } }, "processorInformation": { "responseCode": "000" }, "reversalAmountDetails": { "reversedAmount": "999.87", "currency": "THB" }, "status": "REVERSED", "submitTimeUtc": "2024-05-27T04:10:40Z"}