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

# Create Checkout Session

`POST /v1/billing/checkout`

## Request

- Base URL: `https://api.theagentc.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.theagentc.io/v1/billing/checkout`
- Auth: HTTP bearer

Create a Stripe Checkout session for plan subscription.

Args:
    plan: One of "builder", "studio", "builder_founder", "studio_founder",
        "builder_annual", "studio_annual"

Returns:
    - session_id: Stripe session ID for checkout
    - url: URL to redirect user to for checkout
    - plan: Plan tier selected
    - price_cents: Price in cents

## Query parameters

- `plan` string, required

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/theagentc/apis/the-agent-c-api.md) · [All operations](https://skmtc.dev/theagentc/apis/the-agent-c-api/llms.txt) · [OpenAPI document](https://skmtc.dev/theagentc/apis/the-agent-c-api/revisions/1c9868b44584?raw)
