EnableService

Stop card processing after a CardAcquisition when no Payment or BalanceInquiry follows.

Message categoryClassDirection
EnableServiceServiceECR → terminal

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"
    }
  }
}
FieldRequiredDescription
EnableServiceRequestRequiredContains the fields below
↳ TransactionActionRequiredFor 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"
      }
    }
  }
}