Abort after a CardAcquisition

Abort Transaction to terminate the card processing

If no Payment or BalanceInquiry request is initiated after the CardAcquisition request/response, the ECR must send and EnableService request with the TransactionAction component set to “AbortTransaction” to terminate the card processing and remove the card from the card reader.

Example request

{
  "SaleToPOIRequest": {
    "MessageHeader": {
      "ProtocolVersion": "3.1",
      "ServiceID": "2",
      "MessageClass": "Service",
      "MessageCategory": "EnableService",
      "MessageType": "Request",
      "SaleID": "ECR123",
      "POIID": "AT12345"
    },
    "EnableServiceRequest": {
      "TransactionAction": "AbortTransaction"
    }
  }
}
PropertyDescriptionMandatory / Optional
EnableServiceRequestMandatory
TransactionActionFor abort always "AbortTransaction"Mandatory

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"
      }
    }
  }
}

Did this page help you?