---
title: "Create Setup Checkout"
method: POST
path: "/stripe/checkout/setup"
tags: ["stripe"]
---

# Create Setup Checkout

`POST /stripe/checkout/setup`

Create a Stripe Checkout session to add a payment method.

Optionally pass a tier to auto-subscribe after payment method is saved.

## Request body

- SetupCheckoutRequest — Request to create a setup checkout session for adding payment method.
  - `tier` string, nullable — Optional target tier to subscribe after payment method is saved

## Response `200`

Successful Response

- CheckoutSessionResponse — Response from checkout session creation.
  - `checkout_url` string, required
  - `session_id` string, required

## Other responses

- `422` — Validation Error

---

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