Deduct funds from from an SVC.
post
/svc_deduct
Deduct funds from from an SVC account. This is typically performed at the tender stage. Rather than selecting the credit/debit tender option, one would select GIFT / SVC as the tender option.
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}/eftlink-rest-api/v1/svc_deduct", "method": "post", "rel": "self" }], { "POSdata": { "TransactionNumber": 217, "LanguageCode": "eng", "StoreID": "101" }, "TotalAmount": { "Currency": "GBP", "text": "10.00" }, "PaymentProviderName": "", "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", "MerchantID": "Simulator12345678", }, "Tender": { "TotalAmount": { "Currency": "GBP", "text": "10.00" }, "Authorization": { "AcquirerID": "UNKNOWN", "AcquirerTransactionReference": "595504", "TimeStamp": "Wed Jul 08 14:41:25 BST 2020", "ApprovalCode": "374125", "CardType": "80", "EntryMode": "MSR", "CardPAN": "***********0002", "ExpiryDate": "1299", "CardCircuit": "GIFT" } }, "CardValue": { "CardPAN": "***********0002", "EndDate": "1299", "CardCircuit":"UNKNOWN CARD", "Category":"0", "Token":"C411673288324019380", "CardType":"80", "EntryMode":"2" "Balance":"95.00", "PaymentProviderName":"oracle.eftlink.opiretail.OPIRetailCore", "RequestType":"16", "ApplicationSender":"XSTORE", "WorkstationID":"1", "RequestID":"3", "OverallResult":"Success", "Success":"true", }, "PaymentProviderName": "string", "RequestType": "RefundValueFromCard", "ApplicationSender": "XSTORE", "WorkstationID": "1", "RequestID": "1", "OverallResult": "success" }