The Order Cancellation API allows merchants to cancel an order before receiving payment from the customer. This enables merchants to halt the processing of an order using either the invoice code or merchant reference. At least one of two parameters should be provided: either orderId or merchantReference.