---
title: "Stripe-Customer-Portal-Session erzeugen"
method: POST
path: "/api/subscription/portal"
tags: ["Tenant"]
---

# Stripe-Customer-Portal-Session erzeugen

`POST /api/subscription/portal`

## Request

- Base URL: `https://knowmind.de`
- URL: `https://knowmind.de/api/subscription/portal`
- Auth: API key in cookie `authjs.session-token`

Liefert eine URL zum Stripe-Customer-Portal, in dem der Kunde Plan-Wechsel, Zahlungsmittel, Rechnungen und Kündigung selbst verwaltet.

## Response `200`

Portal-URL

- object
  - `url` string

## Other responses

- `404`: Kein Stripe-Customer (z. B. Privat-Tarif)
- `503`: Stripe nicht konfiguriert

---

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