---
title: "Create subscription checkout"
method: POST
path: "/subscribe"
tags: ["Subscribe"]
---

# Create subscription checkout

`POST /subscribe`

Create a subscription checkout or billing-management URL only after the user confirms. The request never completes payment by itself.

## Request body

- object
  - `tier` 'starter' | 'pro' | 'business' — Subscription tier to pre-select.

## Response `200`

Billing URL

- object
  - `url` string, uri, required
  - `status` 'checkout_created' | 'already_subscribed' | 'payment_issue', required
  - `message` string, required

## Other responses

- `401` — Unauthenticated
- `429` — Xquik tier rate limit exceeded. The response includes a `Retry-After` header with the number of seconds to wait before retrying.

## Changes

- **2026-07-13** `83005363f122` — 2 breaking, 30 info
  - added `subschema #1: LegacyErrorCode, subschema #2: StructuredError` to the `error` response property `oneOf` list for the response status `401`
  - the `error` response's property type/format changed from `string`/`` to ``/`` for status `401`
  - added optional request body
  - added the non-success response with the status `429`
  - …28 more
- **2026-04-25** `2adc33156b4b` — 2 warning, 5 info
  - added the new `insufficient_credits` enum value to the `error` response property for the response status `401`
  - added the new `no_credits` enum value to the `error` response property for the response status `401`
  - the endpoint scheme security `apiKey` was added to the API
  - the endpoint scheme security `oauthBearer` was added to the API
  - …3 more

[Change history](https://skmtc.dev/xquik-dev/apis/xquik-api/changes/subscribe/post.md)

---

[API](https://skmtc.dev/xquik-dev/apis/xquik-api.md) · [All operations](https://skmtc.dev/xquik-dev/apis/xquik-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/xquik-dev/xquik-api/revisions/83005363f122/schema)
