---
title: "Create Stripe checkout session"
method: POST
path: "/v1/billing/checkout"
tags: ["Billing"]
---

# Create Stripe checkout session

`POST /v1/billing/checkout`

## Request

- Base URL: `https://api.marketintell.ai`
- URL: `https://api.marketintell.ai/v1/billing/checkout`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-API-Key`

Create a Stripe Checkout session for the requested paid tier (Builder or Pro). See `lib/plans.ts` for the canonical price list.

## Response `200`

Checkout session created

- object
  - `success` boolean
  - `data` object
    - `checkout_url` string, uri
    - `session_id` string

## Other responses

- `500`: Failed to create checkout session

---

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