---
title: "Create a Stripe Checkout session (humans)"
method: POST
path: "/v1/checkout"
---

# Create a Stripe Checkout session (humans)

`POST /v1/checkout`

## Request

- Base URL: `https://framefetch.net`
- URL: `https://framefetch.net/v1/checkout`
- Auth: HTTP bearer

Opens a hosted Stripe Checkout session for a prepaid credit pack. Bigger packs carry a bonus: '5' -> $5 for 5,000,000 micros (no bonus), '20' -> $20 for 21,000,000 micros (+5%), '100' -> $100 for 112,000,000 micros (+12%). Also collects a VAT/Tax ID (tax_id_collection) and always issues an invoice with a reverse-charge footer for B2B buyers, and saves the card for future use by POST /v1/billing/auto-topup.

## Request body

- object
  - `pack` '5' | '20' | '100': Credit pack to purchase. Omitted/absent defaults to '5'.

## Response `200`

Checkout URL

- object
  - `url` string

## Other responses

- `400`: Error envelope
- `401`: Error envelope

---

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