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

# Create a secure billing portal session

`POST /billing/portal`

## Request

- Base URL: `https://ledgerhq.pro/api/v1`
- URL: `https://ledgerhq.pro/api/v1/billing/portal`
- Auth: one of:
  - HTTP bearer and API key in header `x-organization-id`
  - HTTP bearer and API key in header `x-organization-id`

Creates a short-lived Stripe Billing Portal link for payment-method and subscription administration. No credentials are returned to LedgerHQ. Sponsored demo workspaces are refused because they have no Stripe billing account.

## Response `200`

Stripe billing portal URL

## Other responses

- `default`: Error response

---

[API](https://skmtc.dev/ledgerhq-pro/apis/ledgerhq-bookkeeping-api.md) · [All operations](https://skmtc.dev/ledgerhq-pro/apis/ledgerhq-bookkeeping-api/llms.txt) · [OpenAPI document](https://skmtc.dev/ledgerhq-pro/apis/ledgerhq-bookkeeping-api/revisions/9a8269f0a586?raw)
