Levain LabsLevain Labs
ApiBilling

Open Billing Portal

Open a secure page to manage the address and tax IDs on your invoices.

Open a secure page to manage the address and tax IDs on your invoices.

Returns a short-lived link where you can set the billing address and tax IDs (such as a VAT number) shown on your invoices. The contact name and email are managed directly on your billing profile, and past invoices are available from GET /api/v1/billing/invoices. The link is scoped to your workspace and expires after a short period.

POST
/api/v1/billing/portal-session

Authorization

HTTPBearer
AuthorizationBearer <token>

In: header

Header Parameters

X-API-Key?string|null

Response Body

application/json

application/json

curl -X POST "https://api.levainlabs.com/api/v1/billing/portal-session"
{
  "url": "string"
}