---
title: "Create In Context Addon Checkout"
method: POST
path: "/v1/orgs/{org_id}/billing/in-context-addon/checkout-session"
tags: ["billing"]
---

# Create In Context Addon Checkout

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

## Request

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

Start Stripe Checkout for the in-context editing add-on (task 903).

Backend-driven: the client sends only the SKU; the backend resolves it to
the env price id and never trusts a client price id. Entitlement is granted
by the signed webhook on completion, not here.

## Path parameters

- `org_id` string, required

## Request body

- InContextAddonCheckoutIn
  - `sku` 'in_context'
  - `success_url` string, uri, required
  - `cancel_url` string, uri, required

## Response `200`

Successful Response

- CheckoutOut
  - `url` string, required
  - `session_id` string, required

## 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)
