getOrgBilling
Read the org's plan and its subscription's status, renewal, and end, as Stripe last reported them. An org that never subscribed is on free. Takes readBilling on the org.
GET
/orgs/{org_id}/billingPath parameters
Returns
200
OrgBilling
400
InvalidRequest
403
Forbidden | ForbiddenOrigin | RequiresPersonalSession | RunBranchRequired
JSON
One of the following:
- ForbiddenEncoded
- ForbiddenOriginEncoded
- RequiresPersonalSessionEncoded
- RunBranchRequiredEncoded
500
OrgFailure | ControlPlaneFailure
JSON
One of the following:
- OrgFailureEncoded
- ControlPlaneFailureEncoded
503
BillingNotConfigured | SessionUnavailable | RateLimitUnavailable
JSON
One of the following:
- BillingNotConfiguredEncoded
- SessionUnavailableEncoded
- RateLimitUnavailableEncoded