createOrgBillingPortal
Answer the URL of the org's Stripe billing portal for a person to open, where they change the payment method, plan, or cancellation and read invoices. An org that never started a checkout has none. Takes manageBilling on the org.
POST
/orgs/{org_id}/billing/portalPath parameters
Returns
400
InvalidRequest
403
Forbidden | ForbiddenOrigin | RequiresPersonalSession | RunBranchRequired
JSON
One of the following:
- ForbiddenEncoded
- ForbiddenOriginEncoded
- RequiresPersonalSessionEncoded
- RunBranchRequiredEncoded
404
OrgNotFound | BillingAccountNotFound
JSON
One of the following:
- OrgNotFoundEncoded
- BillingAccountNotFoundEncoded
500
OrgFailure | ControlPlaneFailure
JSON
One of the following:
- OrgFailureEncoded
- ControlPlaneFailureEncoded
503
BillingNotConfigured | SessionUnavailable | RateLimitUnavailable
JSON
One of the following:
- BillingNotConfiguredEncoded
- SessionUnavailableEncoded
- RateLimitUnavailableEncoded