---
title: "Create billing checkout session"
method: POST
path: "/billing/checkout"
---

# Create billing checkout session

`POST /billing/checkout`

## Request body

- object
  - `mode` 'payment' | 'subscription'
  - `plan_id` string
  - `amount` number

## Response `200`

Checkout URL

- object
  - `success` boolean
  - `data` object
    - `url` string

---

[API](https://skmtc.net/video-db/apis/videodb-server-api.md) · [All operations](https://skmtc.net/video-db/apis/videodb-server-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/video-db/videodb-server-api/versions/21b1d1d3eae8/schema)
