---
title: "Create a Stripe Checkout session for the requested tier"
method: POST
path: "/v1/billing/checkout"
tags: ["Billing"]
---

# Create a Stripe Checkout session for the requested tier

`POST /v1/billing/checkout`

## Request

- Base URL: `https://api.usemektup.com`
- URL: `https://api.usemektup.com/v1/billing/checkout`
- Auth: HTTP bearer

Returns a URL to redirect the browser to. A browser-redirect flow (card entry on Stripe's hosted page), not meaningful for an agent to call directly.

## Request body

- object
  - `tier` 'starter', required

## Response `200`

OK

- object
  - `url` string, uri

## Other responses

- `400`: Invalid or missing tier
- `503`: Billing not configured yet (no Stripe keys, or no price set for that tier)

## Changes

- **2026-10-20** `e394b91cbc53`: 1 breaking
  - removed the enum value `pro` of the request property `tier`

[Operation history](https://skmtc.dev/usemektup/apis/mektup-api/changes/v1/billing/checkout/post.md)

---

[API](https://skmtc.dev/usemektup/apis/mektup-api.md) · [All operations](https://skmtc.dev/usemektup/apis/mektup-api/llms.txt) · [OpenAPI document](https://skmtc.dev/usemektup/apis/mektup-api/revisions/e394b91cbc53?raw)
