Canceling an order

An order can be canceled before and after the payment, as long as the latter has not been captured at the bank, i.e. its status is:

  • CREATED and before execution of the order,

If you try to cancel the payment between the time of order execution (while the status is still CREATED) and the end of the payment process (i.e. the transition from CREATED to PENDING), you will receive the following error:

{'Order': "This order has been executed and is not cancelable until the end of the payment process"}

Example of a DELETE ORDER call:


In case of success, the server responds with a HTTP 204 code (NO CONTENT).