REST Example: Reversing a Mass Transit Authorization

Request
{ "clientReferenceInformation": { "code": "FE978755" }, "reversalInformation": { "amountDetails": { "totalAmount": "999.87" }, "reason": "Authreversal" } }
Response to a Successful Request
{     "_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" }