---
title: "Create Checkout Session"
method: POST
path: "/v1/billing/create_checkout_session/{pk}"
tags: ["billing"]
---

# Create Checkout Session

`POST /v1/billing/create_checkout_session/{pk}`

## Request

- Base URL: `https://api.branchly.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.branchly.io/v1/billing/create_checkout_session/{pk}`
- Auth: HTTP bearer

## Path parameters

- `pk` string, required

## Query parameters

- `product_lookup_key` 'starter_2024_01' | 'starter_2024_01_yearly' | 'starter_2024_08' | 'starter_2024_08_yearly' | 'pro_2024_01' | 'pro_2024_01_yearly' | 'pro_2024_05' | 'pro_2024_05_yearly' | 'pro_2024_07' | 'pro_2024_07_yearly'
- `redirect_success_url` string, uri, nullable
- `redirect_cancel_url` string, uri, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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