Reversal for SVC_ADD
post
/svc_add_reversal
Request
There are no request parameters for this operation.
Back to TopResponse
200 Response
Success
400 Response
Invalid parameters have been passed in
401 Response
Not authorized.
500 Response
Invalid request.
Examples
Example of the Request Body
The following example shows the contents of the Request Body in JSON format:
{ "links": [{ "href": "wss://localhost:{port}/svc_add_reversal", "method": "post", "rel": "self" }], "POSdata": { "TransactionNumber": "217", "LanguageCode": "eng", "StoreID": "101" }, "TotalAmount": { "Currency": "GBP", "text": "10.00" }, "OriginalTransaction": { "TimeStamp":"2020-07-08 12:50:18", "STAN":"732164", "TerminalId":"1", "AcquirerTransactionReference":"732164", "ApprovalCode":"154310" }, "PaymentProviderName":"", "RequestType":"", "RequestSubType":"", "ApplicationSender":"XSTORE", "WorkstationID":"1" }
Example of the Response Body
The following example shows the contents of the response body in JSON format:
{ "Terminal": { "TerminalID": "12345678", "MarchantID": "Simulator12345678", "STAN": "595504" }, "Tender": { "TotalAmount": { "Currency": "GBP", "text": "10.00" }, "Authorization": { "AcquirerID":"UNKNOWN", "AcquirerTransactionReference":"732164", "TimeStamp":"Fri Jul 10 09:46:04 BST 2020", "CardType":"0", "EntryMode":"0" } }, "CardValue": { "Category":"0", "Token":"C342189118228895477", "CardType":"0", "EntryMode":"0" }, "PaymentProviderName":"oracle.eftlink.opiretail.OPIRetailCore", "RequestType":"3", "ApplicationSender":"XSTORE", "WorkstationID":"1","RequestID":"3", "OverallResult":"Success", "Success":"true", }