---
title: "Create Checkout"
method: POST
path: "/api/payments/checkout"
tags: ["Payments"]
---

# Create Checkout

`POST /api/payments/checkout`

## Request

- Base URL: `https://api.kojiru.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.kojiru.com/api/payments/checkout`
- Auth: none declared

Create a Stripe Checkout session for a fixed package.

## Request body

- RoutersStripePaymentsCheckoutRequest
  - `package_id` string, required: Package identifier from PACKAGES
  - `origin_url` string, required: Frontend origin URL for redirect
  - `user_email` string, nullable
  - `metadata` object, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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