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

# Create Self Checkout

`POST /api/billing/checkout/self`

## 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/self`
- Auth: none declared

Checkout for the signed-in Crowe ID user (the `crowe-logic upgrade` rail).

The session and its subscription carry ``crowe_email`` metadata; the
webhook write-through stamps ``crowe_tier`` on the Keycloak user when
payment lands, and the next token refresh unlocks the plan.

## Headers

- `authorization` string, nullable

## Request body

- SelfCheckoutRequest
  - `plan_id` string
  - `interval` string
  - `success_url` string, nullable
  - `cancel_url` string, nullable
  - `ref` 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)
