---
title: "Cancel subscription"
method: POST
path: "/v1/purchases/{id}/cancel_subscription"
tags: ["Purchases"]
---

# Cancel subscription

`POST /v1/purchases/{id}/cancel_subscription`

Cancel the subscription associated with a purchase by ID

This endpoint cancels the underlying subscription (Stripe, PayPal, or Kajabi Payments)
associated with the purchase. The purchase will be deactivated and the subscription
will be cancelled immediately, according to the payment provider's cancellation rules.

If the payment can be cancelled the response will be successful.
Otherwise, the response will be an error with validation details.

## Path parameters

- `id` string, required

## Response `200`

Success, cancelled subscription and deactivated purchase

## Other responses

- `401` — Unauthorized, Authorization header is missing or invalid
- `403` — Forbidden, insufficient permission to access the resource
- `404` — Not found
- `422` — Unprocessable Entity, validation errors in cancelling subscription

---

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