Cancelcommand to notify the integrator in order to initiate the cancelation process with the Cortina payment provider whenever on the bellow scenarios takes place:
- Getting a failed
AuthorizationResponse (either due to timeout or having an error code in theAuthorizationResponse). - Issues during product selection- inactivity of the consumer/Cancel button being pressed/invalid product selection by the consumer.
- Vend failure (issue with product dispensing/service providing) by the machine
Note: This command is relevant for PreAuthorization only. It’s equivalent of PreSelection flow is the
Void command.Request
Nayax’s servers send a POST request to your configuredCancel endpoint, which would be of the following format:
(customer's URL)/Cortina/PrePaid/Cancel
The payload includes the full result of the card scan operation:
Request Parameters
The following table describes the parameters included in the request body:Response
The Cancel Response that the customer’s payment method would send to Nayax’s servers.The payload should look as follows: