---
title: "Create Subscription Checkout"
method: POST
path: "/v1/payment/stripe/checkout_session"
tags: ["internal"]
---

# Create Subscription Checkout

`POST /v1/payment/stripe/checkout_session`

Create a new payment checkout

## Headers

- `X-Team-Id` string

## Request body

- object
  - `price_id` string, required

## Response `200`

OK

- object
  - `message` string, required
  - `payment_url` string

## Other responses

- `400` — Example response
- `401` — Example response
- `500` — Example response
- `default` — Example response

## Changes

- **2025-11-18** `41ee26b930f3` — 1 info
  - endpoint added
- **2024-09-22** `407b73d9ce28` — 1 breaking
  - api path removed without deprecation
- **2024-04-19** `ba8a20839440` — 2 info
  - api tag `internal` added
  - the response property `message` became required for the status `500`
- **2024-01-31** `4f557b176ebd` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/projectdiscovery/apis/pdcp-api/changes/v1/payment/stripe/checkout_session/post.md)

---

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