---
title: "Create new Checkout Session for the subscription"
method: POST
path: "/stripe/checkout-session"
tags: ["stripe"]
---

# Create new Checkout Session for the subscription

`POST /stripe/checkout-session`

## Request

- Base URL: `https://api.autron.ai`
- URL: `https://api.autron.ai/stripe/checkout-session`
- Auth: API key in header `Authorization`

## Query parameters

- `price_id` string, required
- `usage_type` string, required
- `customer_id` string, required
- `customer_email` string, required
- `user_public_id` string, required
- `company_public_id` string, required
- `client_reference_id` string, required

## Response `200`

Success

---

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