---
title: "Create a Stripe Checkout session"
method: POST
path: "/v1/billing/checkout"
tags: ["billing"]
---

# Create a Stripe Checkout session

`POST /v1/billing/checkout`

## Request

- Base URL: `https://api.slideforge.dev`
- URL: `https://api.slideforge.dev/v1/billing/checkout`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-API-Key`

Create a Stripe Checkout session for wallet top-up. Volume discounts: $50→+10%, $100→+15%, $200→+20%. Returns checkout_url to redirect the user to Stripe.

## Request body

- CheckoutRequest
  - `amount` number, required

## Response `200`

Checkout session created

- unknown

## Other responses

- `400`: Invalid amount
- `401`: Authentication required
- `422`: Validation Error

---

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