Skip to content

billing/subscriptions.getOrgBillingState

Type: query Module: convex/billing/subscriptions.ts

{ orgId: string }

Combined billing state query. Returns subscription + trial + plan + current usage period in one call so the frontend avoids a waterfall of separate queries.