RecurringStack Subscription API
The Subscriptions API is the core of the RecurringStack billing engine. It allows you to manage the relationship between a Customer and a Plan, representing the services a customer has signed up for on a recurring basis. Actions performed on subscriptions, such as creation, upgrades, or cancellations, automatically handle proration logic and trigger the necessary invoicing and payment collection workflows. Key Features: Create Subscriptions: Start a new recurring billing relationship for a customer with a specific plan. Retrieve & List Subscriptions: Fetch details of a single subscription or list all subscriptions with powerful filtering options (e.g., by status, plan, or creation date). Update Subscriptions: Seamlessly handle upgrades, downgrades, and changes in quantity. RecurringStack automatically calculates prorations for immediate changes. Cancel Subscriptions: End a customer's subscription, either immediately or at the end of the current billing period. Manage Trials: Easily start subscriptions with a trial period without collecting payment information upfront. A subscription is one of the most important objects in the RecurringStack ecosystem. Its status (e.g., active, trialing, past_due, canceled) dictates a customer's access to your service and drives the entire billing lifecycle.