---
title: "Checkout"
method: POST
path: "/v1/checkout"
---

# Checkout

`POST /v1/checkout`

## Request

- Base URL: `https://api.lyricpatch.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.lyricpatch.com/v1/checkout`
- Auth: HTTP bearer

## Headers

- `x-dev-user-id` string, nullable
- `x-dev-email` string, nullable

## Request body

- CheckoutRequest
  - `pack_id` 'credits_40' | 'credits_100' | 'credits_400' | 'credits_1000', required
  - `turnstile_token` string, required
  - `meta_context` string, nullable
  - `journey_session_id` string, uuid, nullable
  - `journey_consent` boolean

## Response `201`

Successful Response

- CheckoutResponse
  - `checkout_url` string, required
  - `session_id` string, required

## Other responses

- `422`: Validation Error

---

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