Skip to main content
The Subscribe API makes it easy to set up recurring billing. You construct an AutoBill object and set its attributes to define the behavior of the recurring bill. An AutoBill contains three main components: the Account, Product, and BillingPlan. Subscribe automatically generates recurring transactions according to the definition in the AutoBill object, and processes them with your payment processor.

Create a Product

Establish recurring billing and specify an initial commitment period

This example shows how to set up recurring billing with an initial commitment period, and discusses risk screening, and what to do in the event of a payment method authorization failure, and validating for future payment Note that, as of release 25.0.0, you must set the minimumCommitment in the BillingPlan. See Creating a Billing Plan with an early cancellation fee for an example of setting a minimum commitment period with a penalty fee for canceling early.
Parent topic:Working with AutoBills