---
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

---

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