Returns a non-persisted preview of the invoice the next renewal will generate (Stripe-style invoice.upcoming). Returns `invoice: null` when the subscription is set to cancel at period end. Rejects incomplete, canceled, and unpaid subscriptions (no future cycle exists to preview). For past_due subscriptions, the preview reflects the cycle AFTER the current retry, not the in-flight unpaid invoice itself. To inspect the current cycle's open invoice, use `list_invoices` with `subscriptionId` and `status: payment_failed`.
AuthorizationRequiredBearer <token>API key as Bearer token
In: header
idRequiredstringSubscription id, discoverable via list_subscriptions
Bill Subscription Current Period
Generates a draft invoice for a subscription's current period without advancing the period. Used for the first-period invoice on a non-trial subscription, or one-off rebilling.
Renew Subscription
Advances a subscription to its next billing period and generates an invoice. If cancelAtPeriodEnd was set, transitions to canceled instead. The Phase 4 scheduler will call this on cycle.