---
title: "Create Subscription"
method: POST
path: "/api/user/subscription"
tags: ["user"]
---

# Create Subscription

`POST /api/user/subscription`

Create a new Stripe checkout session for subscription purchase.

## Headers

- `origin` string

## Request body

- CreateSubscriptionRequest — Request to create a new subscription checkout session.
  - `price_id` string, required

## Response `200`

Successful Response

- CreateSubscriptionResponse — Response containing Stripe checkout session client secret.
  - `client_secret` string, required

## Other responses

- `422` — Validation Error

## Changes

- **2025-11-03** `d6c3e911a263` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/arbicity/apis/arbi/changes/api/user/subscription/post.md)

---

[API](https://skmtc.dev/arbicity/apis/arbi.md) · [All operations](https://skmtc.dev/arbicity/apis/arbi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/arbicity/arbi/revisions/1f956ac3d1c1/schema)
