---
title: "Create Billing Portal"
method: POST
path: "/api/billing/portal"
tags: ["Account and billing"]
---

# Create Billing Portal

`POST /api/billing/portal`

## Request

- Base URL: `https://epw.tools`
- URL: `https://epw.tools/api/billing/portal`
- Auth: none declared. Required headers: `X-API-Key`

Create a Stripe Billing Portal session for the authenticated user.
Returns { portal_url } — redirect the browser there so the user can
upgrade, downgrade, cancel, or download invoices without contacting support.

## Headers

- `X-API-Key` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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