Activate a gift/loyalty/svc card (put in whitelist)
post
/card_activate
Once the svc account is activated, funds can then be loaded onto the card. SVC providers will behave differently. Some may perform the activate and load in one transactions. Others may activate and then a follow on load is required to ensure funds are added to the account.
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}/card_activate",
"method": "post",
"rel": "self"
}],
{
"POSdata":
{
"TransactionNumber":"217",
"StoreID":"731",
"LanguageCode":"eng"
},
"TotalAmount":
{
"Currency":"GBP",
"text":"5.00"
},
"PaymentProviderName":"",
"RequestType":"",
"RequestSubType":"PresetValue",
"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":"Simulator123456"
},
"Tender":
{
"TotalAmount":
{
"Currency":"GBP",
"text":"5.00"
},
"Authorization":
{
"AcquirerID":"UNKNOWN",
"AcquirerTransactionReference":"121024",
"TimeStamp":"Wed Jul 08 16:51:13 BST 2020",
"ApprovalCode":"282942",
"CardType":"80",
"EntryMode":"2",
"CardPAN":"492949******0002",
"ExpiryDate":"1299",
"CardCircuit":"SVC"
}
},
"CardValue":
{
"ICC":{},
"CardPAN":"492949******0002",
"EndDate":"1299",
"CardCircuit":"SVC",
"Category":"0",
"Token":"C575067211402196235",
"CardType":"80",
"EntryMode":"2"
},
"PaymentProviderName":"oracle.eftlink.opiretail.OPIRetailCore",
"RequestType":"24",
"ApplicationSender":"XSTORE",
"WorkstationID":"1",
"RequestID":"5",
"OverallResult":"Success",
"Success":true,
"Balance":"5.00"
}