The Billing object
Billing status for an organisation including subscription and trial state.
Attributes
plan stringCurrent plan identifier: trial, sole_trader, or limited_company.
planName stringHuman-readable plan name.
hasStripeCustomer stringWhether a Stripe customer record exists for this organisation.
hasSubscription stringWhether an active Stripe subscription exists.
isTrialActive stringTrue if the organisation is on a trial that has not expired.
trialDaysRemaining stringNumber of days remaining in the trial, or 0 if expired or subscribed.
trialEndsAt stringISO 8601 timestamp when the trial expires, or null.
subscription stringStripe subscription details when active: status, currentPeriodEnd, cancelAtPeriodEnd. Null if no subscription.