billing/subscriptions.getOrgBillingState
Type: query
Module: convex/billing/subscriptions.ts
Arguments
Section titled “Arguments”{ 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.