---
title: "Cancel Checkout Order"
method: POST
path: "/v1/checkout/order/cancel"
tags: ["Online Checkout"]
---

# Cancel Checkout Order

`POST /v1/checkout/order/cancel`

Use this endpoint to cancel an incomplete or pending checkout order.

## Request body

- CancelOrderRequest — The request payload to cancel a checkout order
  - `orderReference` string, required — The unique reference of the checkout order to cancel

## Response `200`

OK - your request was successful.

- object
  - `code` string, required — Response Code
  - `description` string, required — Response description
  - `data` CancelOrderResponse, required — The response object for a cancel order operation
    - `success` boolean, required — Indicates whether the cancellation was successful
    - `message` string, required — A message describing the result of the cancellation

## Other responses

- `400` — The request body sent by merchant did not pass the validation checks
- `401` — The access_token provided to access the resource is missing or invalid.
- `403` — The client does not have the permissions to access this resource
- `404` — The record that the client is trying to access does not exist.
- `429` — The client has maxed out the number of calls within a time period on this resource.
- `500` — Downstream system error.

---

[API](https://skmtc.net/nomba/apis/vendor-api.md) · [All operations](https://skmtc.net/nomba/apis/vendor-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/nomba/vendor-api/revisions/41727ac9be5f/schema)
