Cancelling an abandoned order can be useful if you wish to directly control how orders that are abandoned, either by you or your payer, are reported back to you in the gateway portal or reports. In such cases, you may choose to cancel (and close) an outstanding order instead of simply leaving the abandoned order open.
Orders may only be cancelled if the payer has not yet provided their payment information.
In cases where the payer has already provided their payment information, you should use the Reversing an authorized payment function to cancel the authorization and close the order, or the Refund a Capture function if the payment has already been sent for settlement.
HTTP Request Method: PUT
Resource (URI): https://api-gateway.sandbox.ngenius-payments.com/transactions/outlets/[outlet-reference]/orders/[order-reference]/cancel
No request body required
Please note that, for order cancellation requests, no request body is required.