---
title: "Create checkout session"
method: POST
path: "/billing/checkout"
tags: ["Billing"]
---

# Create checkout session

`POST /billing/checkout`

Create a checkout session for buying prepaid credits. `amount_cents` must be at
least `100`.

## Request body

- CheckoutRequest
  - `amount_cents` integer, required — Amount to charge, in cents. Must be at least `100`.

## Response `200`

Checkout URL.

- CheckoutResponse
  - `url` string, required — Hosted checkout URL.

## Other responses

- `401` — Missing or invalid API key.
- `422` — Validation error.

---

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