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

# Create subscription checkout

`POST /api/v1/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.
- `default` — Unexpected error.

---

[API](https://skmtc.net/xquik-dev/apis/xquik-api-2.md) · [All operations](https://skmtc.net/xquik-dev/apis/xquik-api-2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/xquik-dev/xquik-api-2/versions/c367e6e8f845/schema)
