The Billing object

Billing status for an organisation including subscription and trial state.

Attributes

plan string
Current plan identifier: trial, sole_trader, or limited_company.
planName string
Human-readable plan name.
hasStripeCustomer string
Whether a Stripe customer record exists for this organisation.
hasSubscription string
Whether an active Stripe subscription exists.
isTrialActive string
True if the organisation is on a trial that has not expired.
trialDaysRemaining string
Number of days remaining in the trial, or 0 if expired or subscribed.
trialEndsAt string
ISO 8601 timestamp when the trial expires, or null.
subscription string
Stripe subscription details when active: status, currentPeriodEnd, cancelAtPeriodEnd. Null if no subscription.