---
title: "Create Checkout"
method: POST
path: "/v1/billing/checkout"
tags: ["billing"]
---

# Create Checkout

`POST /v1/billing/checkout`

## Request

- Base URL: `https://api.aristocles.com.au` (the document declares no server; this is the origin it was published from)
- URL: `https://api.aristocles.com.au/v1/billing/checkout`
- Auth: none declared. Required headers: `X-API-Key`

Create a Stripe Checkout session for a subscription upgrade.

## Query parameters

- `tier` string: Subscription tier to upgrade to: pro or enterprise

## Headers

- `X-API-Key` string, required

## Response `200`

Successful Response

- ApiResponseCheckoutResponse
  - `data` CheckoutResponse, required
    - `checkout_url` string, required
  - `meta` Meta
    - `timestamp` string, date-time
    - `source` string
    - `version` string

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/aristocles/apis/aristocles-data-api.md) · [All operations](https://skmtc.dev/aristocles/apis/aristocles-data-api/llms.txt) · [OpenAPI document](https://skmtc.dev/aristocles/apis/aristocles-data-api/revisions/4ca3fbb73c59?raw)
