---
title: "Create a Stripe Billing Portal session for subscription management"
method: POST
path: "/api/stripe/create-portal-session"
tags: ["Stripe"]
---

# Create a Stripe Billing Portal session for subscription management

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

## Request

- Base URL: `https://api.hiyd.ai`
- URL: `https://api.hiyd.ai/api/stripe/create-portal-session`
- Auth: HTTP bearer

## Response `200`

Portal session created

- object
  - `url` string: Redirect user to this URL for subscription management

## Other responses

- `401`: Unauthorized

---

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