AbortRequest may be sent for any ongoing request.
Sample abort payment
1
2
3
4
5
6
7
 
<SaleToPOIRequest>
    <MessageHeader MessageCategory="Abort" MessageClass="Service" MessageType="Request" POIID="A-POIID" SaleID="ECR1" ServiceID="1524253498"/>
    <AbortRequest>
        <MessageReference MessageCategory="Payment" POIID="A-POIID" SaleID="ECR1" ServiceID="1524253497"/>
        <AbortReason>Abort by Sale System</AbortReason>
    </AbortRequest>
</SaleToPOIRequest>
 
 
| Name | Attributes | Description | 
|---|---|---|
| MessageReference | MessageCategory | Category of the request being aborted. | 
| POIID | POIID used in the request that is being aborted. | |
| SaleID | SaleID that was used in the request that is being aborted. | |
| ServiceID | ServiceID in the request that is being aborted. | |
| AbortReason | Text explaining the reason for the abortion. | 
warning: The AbortRequest does not give a nexo message response. The Http status code will be 204-No content, but the actual request that is aborted will get a response with Result Failure.
sequenceDiagram
participant POS
participant Terminal
    POS->>+Terminal: Http POST PaymentRequest
    POS->>+Terminal: Http POST AbortRequest
    Terminal->>-POS: rsp 204 - no content
    Terminal->>-POS: rsp 200 PaymentResponse Failure