Get billing status
GET
https://app.speybooks.com/api/v1/billing/statusReturns the organisation's current subscription state including plan, trial status, days remaining, and Stripe subscription details (status, period end, cancellation flag). Fetches live subscription data from Stripe if a subscription ID exists.
Response
200 Returns current subscription status, trial info, and Stripe subscription details.
Show response fields
hasStripeCustomer booleanWhether a Stripe customer record exists for this organisation.
hasSubscription booleanWhether an active Stripe subscription exists.
isTrialActive booleanWhether the trial period is still active.
plan stringCurrent plan identifier (trial, sole_trader, limited_company).
planName stringHuman-readable plan name.
subscription object nullableStripe subscription details. Null if no subscription exists.
Show child attributes
cancelAtPeriodEnd booleanWhether the subscription will cancel at the end of the current period.
currentPeriodEnd string nullable date-timeEnd of the current billing period.
status stringStripe subscription status (active, trialing, past_due, canceled, unpaid).
trialDaysRemaining integerDays remaining in the trial. Zero if trial expired or on a paid plan.
trialEndsAt string nullable date-timeISO 8601 trial expiry timestamp.
Error codes
404 Organisation not found.