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

# Create Checkout

`POST /api/v1/payments/create-checkout`

## Request

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

Legacy ECPay checkout is disabled. New subscription checkout must use Oen.

## Headers

- `Authorization` string, nullable

## Request body

- CreateCheckoutRequest
  - `plan_type` string, required

## Response `200`

Successful Response

- CheckoutResponse
  - `api_url` string, required
  - `form_html` string, required
  - `order_id` string, required

## Other responses

- `422`: Validation Error

---

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