Load funds onto an SVC account.

post

/svc_add

Typically an SVC account should be activated before funds can be loaded.

Request

There are no request parameters for this operation.

Back to Top

Response

200 Response

Success

400 Response

Invalid parameters have been passed in

401 Response

Not authorized.

500 Response

Invalid request.
Back to Top

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",
             "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",
          "MarchantID": "Simulator12345678"
       },
       "Tender": {
          "TotalAmount": {
          "Currency": "GBP",
          "text": "10.00"
       },
       "Authorization": {
       "AcquirerID":"UNKNOWN",
       "AcquirerTransactionReference":"259977",
       "TimeStamp":"Tue Jul 07 14:08:01 BST 2020",
       "ApprovalCode":"468512",
       "CardType":"80",
       "EntryMode":"2",
       "CardPAN":"492949******0002",
       "ExpiryDate":"1299",
       "CardCircuit":"UNKNOWN CARD"
       }
      },
      "CardValue": {
      "CardPAN":"492949******0002",
      "EndDate":"1299",
      "CardCircuit":"UNKNOWN CARD",
      "Category":"0",
      "Token":"C923245089498661163",
      "CardType":"80",
      "EntryMode":"2"
      },
      "Balance":"105.00",
      "PaymentProviderName":"oracle.eftlink.opiretail.OPIRetailCore",
      "RequestType":"15",
      "ApplicationSender":"XSTORE",
      "WorkstationID":"1",
      "RequestID":"10",
      "OverallResult":"Success",
      "Success":"true"
}
Back to Top