Get Subscription
Response
Successful Response
Stripe subscription status (active, past_due, ...) or None on Free.
Whether the subscription is set to cancel at the period boundary.
Unix seconds when the current billing period ends, if subscribed.
Unix seconds when the pending plan change / cancellation takes effect.
True when the subscription's flat price is the retired $25 Developer price (sunset migration pending); the console surfaces the phase-out banner from this.
False when Stripe isn't configured server-side; the UI hides upgrade actions.
Stripe customer account balance in cents (negative = credit available, positive = amount owed). None on Free with no customer yet, or if the read failed.
Amount due in cents on the upcoming invoice (plan fee + metered overage accrued so far this cycle), net of any account credit. None when there's no subscription (Free) or the preview read failed.