Billing
Open Stripe's billing portal
Admins only.
POST/v1/organizations/{organizationId}/billing/portal
Returns a short-lived Stripe address where a person updates the card, the billing address and the tax id, and downloads invoices. We never see the card. Refused with 501 while billing is not connected, and refused when the organisation has never paid.
Requires the account:write scope. Operation billing.portal. MCP tool billing_portal. CLI, once published: gtable billing portal.
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
organizationId | string | yes |
Headers
| Name | Type | Required | Description |
|---|---|---|---|
Idempotency-Key | string | no | Any unique string. Sending the same key with the same request again returns the first response (marked Idempotency-Replayed: true) instead of running it twice. Reusing it for a different request is refused with 409. Kept for 24 hours. Up to 255 characters. |
Response
Success
dataobjectrequiredRefused
errorobjectrequired