---
title: "Cancel In Context Addon"
method: POST
path: "/v1/orgs/{org_id}/billing/in-context-addon/cancel"
tags: ["billing"]
---

# Cancel In Context Addon

`POST /v1/orgs/{org_id}/billing/in-context-addon/cancel`

## Request

- Base URL: `https://api.sonenta.dev`
- URL: `https://api.sonenta.dev/v1/orgs/{org_id}/billing/in-context-addon/cancel`
- Auth: none declared

Schedule the in-context add-on subscription to cancel at period end.

Idempotent: an already-scheduled cancel returns the current state with no
Stripe call and no audit row written.

## Path parameters

- `org_id` string, required

## Response `200`

Successful Response

- InContextAddonState: In-context editing add-on billing state (task 903). camelCase contract throughout (avoids the snake_case `is_active` gotcha from the feedback add-on's billing model). `tosVersion` is the current in-context ToS version the SDK should present.
  - `isActive` boolean, required
  - `sku` 'in_context', nullable, required
  - `status` string, nullable, required
  - `tosVersion` string, required
  - `everActivated` boolean, required
  - `cancelAtPeriodEnd` boolean
  - `cancelAt` string, date-time, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/sonenta/apis/sonenta-api.md) · [All operations](https://skmtc.dev/sonenta/apis/sonenta-api/llms.txt) · [OpenAPI document](https://skmtc.dev/sonenta/apis/sonenta-api/revisions/f853ea49fb05?raw)
