Stop card processing after a CardAcquisition when no Payment or BalanceInquiry follows.
| Message category | Class | Direction |
|---|---|---|
EnableService | Service | ECR → terminal |
Used in these guidesCancel an in-progress payment · Loyalty and card acquisition
If no Payment or BalanceInquiry request is initiated after the CardAcquisition request/response, the ECR must send an EnableService request with the TransactionAction component set to “AbortTransaction” to terminate the card processing and remove the card from the card reader.
Example request and response
enableservice
All fields
Example request
{
"SaleToPOIRequest": {
"MessageHeader": {
"ProtocolVersion": "3.1",
"ServiceID": "2",
"MessageClass": "Service",
"MessageCategory": "EnableService",
"MessageType": "Request",
"SaleID": "ECR123",
"POIID": "AT12345"
},
"EnableServiceRequest": {
"TransactionAction": "AbortTransaction"
}
}
}| Field | Required | Description |
|---|---|---|
EnableServiceRequest | Required | Contains the fields below |
↳ TransactionAction | Required | For abort always "AbortTransaction" |
Example response, successful AbortTransaction
{
"SaleToPOIResponse": {
"MessageHeader": {
"MessageCategory": "EnableService",
"MessageClass": "Service",
"MessageType": "Response",
"POIID": "AT12345",
"ProtocolVersion": "3.1",
"SaleID": "ECR123",
"ServiceID": "1"
},
"EnableServiceResponse": {
"Response": {
"AdditionalResponse": "",
"ErrorCondition": "Aborted",
"Result": "Success"
}
}
}
}