Cancel Order
POST/order/cancel
Voids an order whose payments are still in the authorized state.
Use this endpoint when an order is in_progress and all of its payments are in authorized status (funds are blocked but not yet captured).
Once accepted, the system submits cancellation requests to the acquirer for every authorized transaction and—when all succeed—sets both the order and the related payments to cancelled.
Retrieve the order via Retrieve Order Details.
Request
Responses
- 202
- 400
- 401
- 403
- 404
- 412
- 500
- 502
- 503
Order cancellation in progress
Invalid request parameters.
Authentication failed. Verify that a valid Api-Access-Token is provided in the request headers.
Access denied. The API token does not have permission to cancel orders for the specified shop.
Resource not found.
Precondition failed.
Internal server error. An unexpected error occurred on the server side.
Service unavailable. The upstream service is temporarily unreachable.
Service unavailable. The server is temporarily unable to handle the request.