---
title: "Cancel Subscription"
method: POST
path: "/v1/subscriptions/{id}/cancel"
---

# Cancel Subscription

`POST /v1/subscriptions/{id}/cancel`

This API endpoint cancels a subscription with status `active` or `notStarted`

## Path parameters

- `id` string, required

## Response `200`

200

- object
  - `id` string
  - `object` string
  - `createdAt` string
  - `collectionMethod` string
  - `status` string
  - `recipientId` string
  - `clientId` string
  - `companyId` string
  - `memo` string
  - `taxPercentage` number
  - `currency` string
  - `interval` string
  - `intervalCount` integer
  - `daysUntilDue` integer
  - `canceledAt` string
  - `paymentPreferences` object
    - `allowedPaymentMethodTypes` string[]
    - `absorbTransactionFee` object[]
      - `type` string
      - `feePaidByClient` boolean
  - `lineItems` object[]
    - `priceId` string
    - `productId` string
    - `description` string
    - `quantity` integer
  - `updatedAt` string

## Other responses

- `400` — 400

---

[API](https://skmtc.net/assembly/apis/core-resources.md) · [All operations](https://skmtc.net/assembly/apis/core-resources/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/assembly/core-resources/versions/28a9e7d13a8c/schema)
