---
title: "Create Checkout Session"
method: POST
path: "/subscriptions/checkout"
tags: ["subscriptions"]
---

# Create Checkout Session

`POST /subscriptions/checkout`

Create a Stripe Checkout session for subscription.

## Headers

- `authorization` string, nullable

## Request body

- CreateCheckoutSessionRequest
  - `tier` string, required
  - `billing_cycle` string, required
  - `success_url` string, required
  - `cancel_url` string, required
  - `trial_days` integer, nullable
  - `promotional_code` string, nullable
  - `country` string, nullable

## Response `200`

Successful Response

- CreateCheckoutSessionResponse
  - `session_id` string, nullable
  - `url` string, nullable
  - `pay_in_app` boolean
  - `app_store_url` string, nullable

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/fluentea/apis/aurqa-language-learning-platform-refactored.md) · [All operations](https://skmtc.dev/fluentea/apis/aurqa-language-learning-platform-refactored/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/fluentea/aurqa-language-learning-platform-refactored/revisions/78f314acd8bf/schema)
