---
title: "Create Polar checkout session"
method: POST
path: "/api/v1/billing/checkout"
tags: ["billing"]
---

# Create Polar checkout session

`POST /api/v1/billing/checkout`

## Request body

- CreateCheckoutRequest
  - `plan` 'developer' | 'pro', required — Plan to upgrade to. Only 'developer' and 'pro' are purchasable.

## Response `201`

Checkout session

- CreateCheckoutResponse
  - `checkout_url` string, uri, required

## Other responses

- `400` — Rejected checkout request
- `429` — Rate limited
- `502` — Provider error

---

[API](https://skmtc.net/crosmos/apis/crosmos-api.md) · [All operations](https://skmtc.net/crosmos/apis/crosmos-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/crosmos/crosmos-api/revisions/b38f8e603649/schema)
