---
title: "Create Portal Session"
method: POST
path: "/api/stripe/create-portal-session"
tags: ["Stripe"]
---

# Create Portal Session

`POST /api/stripe/create-portal-session`

Create a Stripe session for payment management.

- If no payment method exists: Uses Checkout Setup mode (goes directly to card entry)
- If payment method exists: Uses Billing Portal (for managing existing methods)

## Response `200`

Successful Response

- unknown

---

[API](https://skmtc.dev/shofo/apis/shofo-api.md) · [All operations](https://skmtc.dev/shofo/apis/shofo-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/shofo/shofo-api/revisions/9fbdf65aab60/schema)
