---
title: "Open the Stripe billing portal"
method: POST
path: "/api/billing/portal"
tags: ["Billing"]
---

# Open the Stripe billing portal

`POST /api/billing/portal`

## Request

- Base URL: `https://snaplab.dev`
- URL: `https://snaplab.dev/api/billing/portal`
- Auth: HTTP bearer

## Response `200`

Redirect the browser here.

- object
  - `url` string, uri

## Other responses

- `401`: Not authenticated.
- `503`: Billing is not configured (`billing_not_configured`).

---

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