---
title: "Create Stripe Checkout session for Pro upgrade"
method: POST
path: "/v1/billing/create-checkout"
tags: ["Billing"]
---

# Create Stripe Checkout session for Pro upgrade

`POST /v1/billing/create-checkout`

## Request

- Base URL: `https://api.sprixen.com`
- URL: `https://api.sprixen.com/v1/billing/create-checkout`
- Auth: `bearer` (a scheme the document does not define)

## Request body

- CreateCheckoutDto
  - `successUrl` string: URL to redirect after successful payment
  - `cancelUrl` string: URL to redirect if checkout is cancelled

## Response `201`

Checkout URL returned

---

[API](https://skmtc.dev/sprixen/apis/sprixen-api.md) · [All operations](https://skmtc.dev/sprixen/apis/sprixen-api/llms.txt) · [OpenAPI document](https://skmtc.dev/sprixen/apis/sprixen-api/revisions/6c0c57f6da58?raw)
