---
title: "Creates a new Stripe checkout session for the given price."
method: POST
path: "/payment/checkout"
tags: ["Payment"]
---

# Creates a new Stripe checkout session for the given price.

`POST /payment/checkout`

## Query parameters

- `priceId` string, required

## Response `200`

OK

- CreateCheckoutEndpointOutput
  - `sessionId` string, required — The id of the created checkout session.

## Other responses

- `400` — Bad Request
- `401` — Unauthenticated
- `403` — Forbidden

## Changes

- **2026-08-13** `d779de93a5ee` — 1 warning
  - deleted the `query` request parameter `mode`

[Change history](https://skmtc.dev/rapidata/apis/rapidata-api/changes/payment/checkout/post.md)

---

[API](https://skmtc.dev/rapidata/apis/rapidata-api.md) · [All operations](https://skmtc.dev/rapidata/apis/rapidata-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/rapidata/rapidata-api/revisions/fdb89a6eb2fb/schema)
