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

# Create Checkout Session

`POST /api/v1/billing/checkout-session`

## Request body

- CheckoutSessionRequest
  - `plan` 'free' | 'hobbyist' | 'developer' | 'startup' | 'enterprise', required
  - `startup_variant` 'outbound' — Startup only: the supported $200 dedicated-line option. The fixed value is 'outbound'; ignored for other plans.
  - `success_url` string, required — Absolute URL Stripe returns to after a completed checkout. Must be https on an inkbox.ai host (localhost allowed in dev).
  - `cancel_url` string, required — Absolute URL Stripe returns to if the user cancels checkout. Same host restrictions as success_url.

## Response `200`

Successful Response

- CheckoutSessionResponse
  - `url` string, required — Stripe Checkout session URL.

## Other responses

- `422` — Validation Error
- `4XX` — Client error with Support Agent information.
- `5XX` — Server error with Support Agent information.

---

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