---
title: "Create Billing Checkout Session"
method: POST
path: "/v1/billing/checkout-session"
tags: ["billing"]
---

# Create Billing Checkout Session

`POST /v1/billing/checkout-session`

## Request body

- CheckoutSessionRequest
  - `workspace_id` string, uuid, required
  - `plan_key` string, required

## Response `200`

Successful Response

- CheckoutSessionOut
  - `session_id` string, required
  - `url` string, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/ontora/apis/ontora-api.md) · [All operations](https://skmtc.dev/ontora/apis/ontora-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ontora/ontora-api/revisions/7f57037fd94b/schema)
