---
title: "Create checkout link"
method: POST
path: "/v1/create_checkout_link"
tags: ["billing"]
---

# Create checkout link

`POST /v1/create_checkout_link`

## Request

- Base URL: `https://api.trylitos.com`
- URL: `https://api.trylitos.com/v1/create_checkout_link`
- Auth: OAuth 2 (authorization code, authorization URL `https://api.trylitos.com/oauth/authorize`, token URL `https://api.trylitos.com/oauth/token`, scopes: `billing:write`)

Fallback when no in-conversation payment is available: a Stripe-hosted checkout link for the renewing Litos+ subscription (7-day free trial for a first-time buyer). Opens in a browser.

## Request body

- object
  - `plan_id` 'litos_plus_week' | 'litos_plus_month' | 'litos_plus_quarter', required

## Response `200`

The operation's result. Shapes mirror the Litos dashboard routes they proxy.

- object

## Other responses

- `4XX`: A refusal, carrying `error` (a sentence) and usually `code`.

---

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