Skip to main content

What Subscriptions Automate

Subscriptions connect customers to plans and handle the billing cycle automatically. Recurso manages:
  • Recurring invoicing
  • Payment collection
  • Trial periods
  • Proration for upgrades/downgrades
  • Dunning for failed payments

Create a Subscription

There is no gateway parameter here: Recurso routes each payment to the right gateway from the invoice currency and your gateway connections, and payment happens per invoice — on the hosted checkout page or automatically via a saved mandate.

Apply a Coupon at Creation

Apply a discount coupon when creating a subscription:
The coupon discount is applied to invoices for the duration specified in the coupon configuration. See the Coupons guide for creating and managing coupons.

Subscription Lifecycle

Free Trials

Start customers with a free trial:
During trial, no invoice is generated. The first invoice is created when trial ends.

Per-Seat Quantities (Add-ons)

Subscriptions don’t carry a bare quantity — seats are modeled as an add-on: an existing plan attached to the subscription with a quantity, billed as its own line (add-on price × quantity, taxed independently) from the next recurring invoice:
Seats that fluctuate mid-period are often better metered: a billable metric with max(seats) aggregation bills the period’s high-water mark with no proration bookkeeping — see usage-based billing.

Upgrade / Downgrade

Change plans mid-cycle:

How Proration Works

When a customer upgrades mid-cycle with create_prorations:
  1. Recurso calculates a credit for the unused portion of the current plan
  2. Recurso calculates the charge for the new plan for the remaining period
  3. The net difference appears as a line item on the next invoice
Example: Customer upgrades from ₹4,999/mo to ₹9,999/mo on day 15 of a 30-day cycle:
  • Credit for old plan: ₹4,999 × (15/30) = ₹2,499.50
  • Charge for new plan: ₹9,999 × (15/30) = ₹4,999.50
  • Net charge on next invoice: ₹2,500.00
Want to see the exact number for your own prices? The Proration page has a live calculator that runs the same math the API uses, plus how to preview any plan change with a single API call.

Cancel Subscription

Immediately

For advanced cancellation flows with retention offers, see the Cancel Flows guide.

Reactivate a Canceled Subscription

If a subscription was canceled with cancel_at_period_end: true and the period has not yet ended, you can reactivate it:
Reactivation is only possible while the subscription is still active (before current_period_end). Once the status changes to canceled, you must create a new subscription.

Pause Subscription

Temporarily pause billing:

Billing Anchor

Control when subscriptions bill. The billing anchor determines which day of the month the subscription renews.

Acquisition Date (Default)

By default, the billing anchor is the day the subscription was created. A subscription created on the 15th renews on the 15th of each month.

Fixed Date (First of Month)

For enterprise customers who need invoices on a consistent date:
When the billing anchor differs from the subscription start date, the first period is prorated. For example, a subscription starting on January 15 with billing_anchor: 1 generates a prorated invoice for January 15-31, then full invoices from February 1 onward.
Use billing_anchor for enterprise customers who need invoices on specific dates.

Payment Terms

Configure when invoices are due relative to when they are generated:
Payment terms are commonly used for enterprise and B2B subscriptions where customers need time to process payments through their accounts payable workflow.

UPI Mandates

For Indian customers paying via UPI, you can set up a UPI mandate for automatic recurring payments:
The customer authorizes the mandate once, and subsequent payments are charged automatically. See the UPI Mandates guide for setup details. Track customer consent for billing-related communications:
See the Consent Tracking guide for compliance requirements.

Get Subscription

List Subscriptions

Webhooks

Subscribe to subscription events:

Next steps

Invoices

What every billing period produces

Usage-based billing

Add metered charges on top