Documentation menu

Current billing cycle summary (tier, included credit, used, overage, status)

GEThttps://api.instacloud.com/orgs/{orgId}/billing

Token scope: account · org — read-only tokens allowed.

Parameters

NameInTypeRequiredDescription
orgIdpathstringyes

Responses

200

Default Response

FieldTypeRequiredDescription
tier"free" | "pro" | "team" | "enterprise"no
pendingPlanChangeobject | nullno
pendingPlanChange.changeKind"upgrade" | "downgrade"no
pendingPlanChange.idstringyes
pendingPlanChange.fromTier"free" | "pro" | "team" | "enterprise"yes
pendingPlanChange.toTier"free" | "pro" | "team" | "enterprise"yes
pendingPlanChange.effectiveAtstringyesUTC effective timestamp: next-day upgrade or paid-period-end downgrade; the current tier remains effective until cutover. A Free → Pro/Team change cuts over locally once paid (status applied) — this stays the Stripe subscription start.
pendingPlanChange.status"awaiting_payment" | "scheduled"yes
pendingPlanChange.includedUsdnumberyesFull-cycle target allowance. An in-cycle paid upgrade adds only a proportional increase to the existing cycle.
billingStatus"active" | "suspended"no
cycleStartstringno
cycleEndstringno
includedUsdnumbernotier allowance for the cycle (free $5 / pro $20 / team $0 — the plan fee is flat and usage bills from the first cent / enterprise per deal, $0 default); platform-configurable
usedUsdnumberno
overageUsdnumberno
status"active" | "suspended"no
subscriptionStatusstring | nullnoStripe subscription status (active/past_due/canceled/…); null if no paid subscription.
capsobjectnothis plan's resource ceilings for a compute service (vCPU / MB / volume Gi; managed redis/mysql/mongodb read the compute row) and for a postgres service (millicores / MiB / volume Gi) — the same rows the per-service `cap` fields return. A NEW service is born at them (cpu, memory and, since 2026-09-12, its volume), and an existing one may be raised to them. Read them from here to prefill a create form before any service exists; they move with the plan and with env overrides per deployment, so never hardcode a tier's numbers.
caps.computeobjectyes
caps.compute.cpuintegeryes
caps.compute.memoryMbintegeryes
caps.compute.volumeGibintegeryes
caps.dbobjectyes
caps.db.cpuMilliintegeryes
caps.db.memoryMibintegeryes
caps.db.volumeGibintegeryes

403

Default Response

FieldTypeRequiredDescription
errorstringyes

View as Markdown