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"
}
}
}| Property | Description | Mandatory / Optional |
|---|---|---|
| EnableServiceRequest | Mandatory | |
| TransactionAction | For 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"
}
}
}
}Updated 13 days ago
Did this page help you?