---
title: "Create a Stripe billing portal session"
method: POST
path: "/v1/billing/portal"
tags: ["Billing"]
---

# Create a Stripe billing portal session

`POST /v1/billing/portal`

## Request

- Base URL: `https://api.lizzflix.xyz` (the document declares no server; this is the origin it was published from)
- URL: `https://api.lizzflix.xyz/v1/billing/portal`
- Auth: none declared

## Request body

- BillingPortalRequest
  - `returnUrl` string

## Response `200`

Portal session created

- BillingPortalResponse
  - `ok` true, required
  - `url` string, nullable, required

## Other responses

- `400`: Bad request
- `401`: Unauthorized

---

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