---
title: "Create Checkout Session"
method: POST
path: "/api/company-payment/session"
tags: ["Payments"]
---

# Create Checkout Session

`POST /api/company-payment/session`

## Request

- Base URL: `https://api.avete.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.avete.ai/api/company-payment/session`
- Auth: HTTP bearer

## Request body

- CreateStripePaymentSession
  - `company_id` integer, required
  - `email` string, required
  - `name` string, required
  - `price_id` string, required: selected Stripe Price ID

## Response `200`

Successful Response

- StripeCheckoutSessionResponse
  - `checkout_session_url` string, required
  - `session_id` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/avete/apis/fastcognito.md) - [All operations](https://skmtc.dev/avete/apis/fastcognito/llms.txt) - [OpenAPI document](https://skmtc.dev/avete/apis/fastcognito/revisions/2c3bbf575ddb?raw)
