Skip to main content

Cancel Order

Cancel order by order id. Only orders with status paid can be canceled. Orders that have already been processed cannot be canceled and will return 400 error.

Request Body
uid string

Deprecated. Pass your API key in the Authorization header instead.

order_id integer

The ID of the order to cancel.

Responses
200

successful

Schema OPTIONAL
httpCode integer OPTIONAL
status string OPTIONAL
400

Error

Schema OPTIONAL
status string OPTIONAL
httpCode integer OPTIONAL
message string OPTIONAL