---
title: "Customer portal session"
method: POST
path: "/v2/billing/portal"
tags: ["billing"]
---

# Customer portal session

`POST /v2/billing/portal`

## Request

- Base URL: `https://api.stuut.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.stuut.ai/v2/billing/portal`
- Auth: HTTP bearer

Create a Stripe Customer Portal session.

## Request body

- PortalRequest
  - `return_url` string, required: App URL to return to when done in the portal.

## Response `200`

Successful Response

- PortalResponse
  - `url` string, required: One-time Stripe-hosted portal URL.

## Other responses

- `422`: Validation Error

---

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