organizations

The billing page contract for an organization

Customer, subscription, the package entitlements are computed from (the subscription's, or the public Team package for an organization that has not subscribed), per-meter entitlements, add-ons, budget, and the Metronome draft-invoice preview. Any member may read it.

get/api/v1/organizations/{organization_id}/billing

Request

  • Base URL
    https://composal.com (the document declares no server; this is the origin it was published from)
  • URL
    https://composal.com/api/v1/organizations/{organization_id}/billing
  • Auth
    HTTP bearer

Path parameters

organization_idstring required

Response

Billing page

organization_idstring required
can_manage_contactboolean required
can_manage_extra_spendboolean required
can_manage_local_subscriptionboolean required
can_manage_payment_methodboolean required
extra_spend_enabledboolean required

Organization consent to paid overages across all metered usage.

deployment_usage_visibleboolean required
previewobject nullable required

Metronome draft invoice and credits, or null.

feature_enabledboolean required

Whether the billing feature is on for this organization. False renders the page as not enabled, with no Subscribe action.

Changes

No recorded changes to this operation across all 3 revisions of this API.