---
title: "Generate Checkout Token"
method: POST
path: "/user/generate-checkout-token"
tags: ["users"]
---

# Generate Checkout Token

`POST /user/generate-checkout-token`

## Request

- Base URL: `https://api.fincept.in` (the document declares no server; this is the origin it was published from)
- URL: `https://api.fincept.in/user/generate-checkout-token`
- Auth: API key in header `X-API-Key`

Generate a short-lived one-time token for desktop-to-web payment handoff.
Stored in the DB so it works across multiple uvicorn workers.

## Request body

- GenerateCheckoutTokenRequest
  - `plan_id` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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