---
title: "Create Billing Portal"
method: POST
path: "/billing/portal"
tags: ["billing", "billing-checkout"]
---

# Create Billing Portal

`POST /billing/portal`

## Request

- Base URL: `https://api.threadchain.pro` (the document declares no server; this is the origin it was published from)
- URL: `https://api.threadchain.pro/billing/portal`
- Auth: OAuth 2
  - Password
  - Token URL: `auth/token`

Create a Stripe Customer Portal session.

Users can manage their subscription, update payment methods,
view invoices, and cancel — all inside Stripe's hosted UI.

Only org owners/admins may access.

## Request body

- PortalRequest
  - `return_url` string, nullable

## Response `200`

Successful Response

- PortalResponse
  - `portal_url` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/threadchain/apis/threadchain-backend.md) - [All operations](https://skmtc.dev/threadchain/apis/threadchain-backend/llms.txt) - [OpenAPI document](https://skmtc.dev/threadchain/apis/threadchain-backend/revisions/8ee288a7e6bd?raw)
