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

# Create Checkout Session

`POST /api/billing/checkout`

## Request

- Base URL: `https://api.crowelogic.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.crowelogic.com/api/billing/checkout`
- Auth: none declared

Create a Stripe Checkout session for plan subscription.

## Request body

- CheckoutRequest
  - `workspace_id` string, required
  - `plan_id` string, required
  - `success_url` string, nullable
  - `cancel_url` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/crowelogic/apis/crowe-logic-foundry.md) · [All operations](https://skmtc.dev/crowelogic/apis/crowe-logic-foundry/llms.txt) · [OpenAPI document](https://skmtc.dev/crowelogic/apis/crowe-logic-foundry/revisions/a3c1ef17f171?raw)
