---
title: "Cancel a Contract"
method: DELETE
path: "/v3/contract?id={contractId}"
---

# Cancel a Contract

`DELETE /v3/contract?id={contractId}`

This will ***cancel*** active contracts that have payments and ***delete*** inactive contracts or contracts that have not billed yet.

## Query parameters

- `id` integer, required

## Response `204`

204

---

[API](https://skmtc.net/mxmerchant/apis/checkout-api.md) · [All operations](https://skmtc.net/mxmerchant/apis/checkout-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/mxmerchant/checkout-api/versions/6807b698abcb/schema)
