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

# Create a billing portal session

`POST /billing/portal-session`

## Request

- Base URL: `https://api.sazabi.com/v1`
- URL: `https://api.sazabi.com/v1/billing/portal-session`
- Auth: none declared

Create a Stripe Customer Portal session for updating the payment method. Requires a user credential with `billing:manage`.

## Request body

- object
  - `organizationId` string: Organization to operate on. Auto-filled from CLI and SDK context when omitted. User tokens must supply it unless the credential's fixed scope resolves it; secret keys may omit it (the key's organization applies).

## Response `200`

OK

- object
  - `portalUrl` string, uri, required

---

[API](https://skmtc.dev/sazabi/apis/sazabi-public-api.md) - [All operations](https://skmtc.dev/sazabi/apis/sazabi-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/sazabi/apis/sazabi-public-api/revisions/965b6230cf45?raw)
