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

# Create Portal

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

Create a Stripe Customer Portal session.

Allows customers to manage their subscription (update payment method,
cancel, view invoices, etc.)

## Request body

- CreatePortalRequest — Request to create a portal session
  - `product_id` string, required

## Response `200`

Successful Response

- CreatePortalResponse — Response with portal URL
  - `portal_url` string, required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/usecrow/apis/crow-backend-multi-tenant-saas.md) · [All operations](https://skmtc.dev/usecrow/apis/crow-backend-multi-tenant-saas/llms.txt) · [OpenAPI document](https://skmtc.dev/usecrow/apis/crow-backend-multi-tenant-saas/revisions/66e6366f8ef9?raw)
