Reject Order
POST/order/reject
Force-cancels an order that is already being processed.
Use this endpoint when you need to stop an order that is in the in_progress state and still contains at least one payment with status in_progress.
When accepted, the system sends a cancellation request to the acquirer, then updates the order to rejected and the related payments to cancelled.
Poll the order via Retrieve Order Details to track the final status.
Request
Responses
- 202
- 400
- 401
- 403
- 404
- 409
- 412
- 500
- 502
- 503
Order rejection 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 reject orders for the specified shop.
Resource not found.
Order is no longer in a cancellable state (already processed).
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.