---
title: "Start Checkout"
method: POST
path: "/api/checkout/start"
tags: ["billing"]
---

# Start Checkout

`POST /api/checkout/start`

## Request

- Base URL: `https://www.gateco.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://www.gateco.ai/api/checkout/start`
- Auth: OAuth 2 (password, token URL `/api/auth/login`)

Create a Stripe Checkout Session for plan upgrade.

## Request body

- CheckoutRequest: Request to start a checkout session.
  - `plan_id` string, required
  - `billing_period` string

## Response `200`

Successful Response

- CheckoutResponse: Checkout session response.
  - `checkout_url` string, required
  - `session_id` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/gateco/apis/gateco-api.md) · [All operations](https://skmtc.dev/gateco/apis/gateco-api/llms.txt) · [OpenAPI document](https://skmtc.dev/gateco/apis/gateco-api/revisions/5debaf204950?raw)
