Skip to main content
A subscription starts when a customer completes a recurring checkout. They sign one bounded authorization in their own wallet, and from then on Reclack runs the billing against it.
The period opens and makes one invoice. The collection runs against the signed authorization. The chain confirms. Your application receives subscription.renewed and invoice.paid.The period opens and makes one invoice. The collection runs against the signed authorization. The chain confirms. Your application receives subscription.renewed and invoice.paid.

What happens in every billing period

How one starts

You do not create subscriptions directly. You create a checkout session from a recurring price, and the subscription is what the completed checkout produces.
When the payment confirms you receive subscription.created, carrying the subscription id, the customer, the amount and the next charge date.

The authorization

This is the part worth understanding properly.
Do not describe the approval to your customers as unlimited access, and do not build flows that depend on collecting more than the cap. If a plan grows past it, the customer approves the new terms.

Reading a subscription

Response

Statuses

When a collection fails

A failure the customer can fix, such as an insufficient balance, is a schedule rather than an incident:
  1. The first attempt happens on the billing date.
  2. Further attempts are spaced over the following days, not minutes.
  3. A reminder email goes to the customer.
  4. When the schedule is exhausted, the subscription pauses instead of retrying forever.
Your application hears payment.failed for the attempts and can decide what to do about access. Most teams keep access during the retry window and only act when the subscription pauses.

Cancelling

Cancelling is the customer’s authority under the contract they signed. When you allow it, they send it from their own wallet through the portal, and Reclack confirms the chain agreed before marking the subscription cancelled. Your application hears subscription.cancelled.
Gate access on the event rather than on a nightly job. The event tells you the chain has already agreed, which a job reading your own database cannot.

Metered subscriptions

A subscription whose price is metered bills in arrears on what you record. See Usage billing.