Skip to content

Subscriptions

A subscription is a recurring charge drawn from an allowance the payer grants in advance. The payer signs the subscription terms and approves the allowance once at the checkout; after that the system’s keeper sends each period’s charge from the hot wallet, and the funds are split to the payees’ addresses by the merchant contracts. This page covers Payments → Plans and Payments → Subscriptions, and how a subscription behaves at each stage.

A plan defines the price, period, number of periods, trial and dunning policy. The business system reads plan IDs from GET /v1/plans and creates subscriptions with them. Creating and editing plans requires the admin role and step-up verification.

Plan list: price, period, number of periods, start mode and state

  1. Open Payments → Plans and select New plan.
  2. Fill in the fields described below.
  3. Select Save and complete step-up verification.

New plan dialog: basics, price and billing cycle

Section Field Description
Basics Name, Description Shown in the console and on the payer’s subscription pages; see Payment flow
Price Pricing One price (stablecoins at par): enter the amount per period and the currency. Price per token: one entry per line as SYMBOL=amount, or SYMBOL@chainId=amount for a single network
Price Tokens Accepted tokens, comma-separated. Empty accepts every token the price applies to
Billing cycle Period Daily, Weekly, Every 30 days, Every 365 days, or a custom number of days
Billing cycle Periods Total number of charges. The subscription completes after the last one
Start and grace Start First charge at once: the first period is charged in the sign-up transaction. Trial first: enter the trial length in days; sign-up only sets up the allowance, and the first charge follows the trial
Start and grace Wallet must hold one period at sign-up Optional sign-up condition
Start and grace Grace period (days) How long retries continue after a failed charge
Failed charges Retries (hours) Hours after each failed charge, comma-separated, within the grace period. The default is 1, 24 and 72 hours
Failed charges When the grace period ends Mark unpaid (keep it) or Cancel
Splits Split rule The plan’s default split rule; the default rule is used when none is chosen
Splits Payers may pause from “My subscriptions” Whether payers can pause the subscription themselves
  • Edits apply to new subscriptions only. A subscription takes a snapshot of its plan when created (price, accepted tokens, dunning policy, pause permission); existing subscriptions keep the terms their payers signed.
  • A plan can be retired with Retire and re-enabled with Activate.

Payments → Subscriptions lists the subscriptions in the current mode. Search by customer reference, payer address or subscription ID. The list shows the plan, customer, charges made, next charge time and status.

Status Meaning
Awaiting sign-up Created; the payer has not yet signed at the link
Trial In the trial period; the first charge has not been taken
Active Charging normally each period
Past due The current charge failed; in the grace period and being retried
Unpaid Still not charged when the grace period ended (for plans set to keep the subscription)
Paused Paused by the merchant, by the payer, or after risk screening
Canceled Canceled; no further charges
Completed All periods have been charged

New subscription on this page creates a subscription link directly; see Overview and orders.

The detail page shows:

Area Content
Terms Amount per period and the period, charges made, next charge, network, token and funding source (token allowance or Permit2 allowance), trial end, payer address
Charges Each period’s attempts, time, status and failure reason (insufficient balance, insufficient allowance). Each charge is shown in its own token
Splits Each payee’s receiving address and amount per period
Subscription Subscription ID, on-chain ID, sign-up transaction
Other Pause source and time, on-chain cancellation state, previous payment methods, plan changes

Subscription detail: terms, charges, splits and subscription information, with Change plan, Pause and Cancel subscription at the top right

A subscription that is still awaiting sign-up shows its sign-up link. Operators and admins can use Change plan, Pause, Resume and Cancel subscription. The business API offers the matching change_plan, pause, resume and cancel endpoints; see API.

Terms that have been signed on chain cannot be altered. To upgrade or downgrade, the system creates a new subscription that waits for the payer’s confirmation, and the payer signs the new terms at a new link.

  1. On the subscription, select Change plan, choose the new plan, then select Create change link.
  2. Send the link to the payer. The payer also sees a notice of the change in “My subscriptions”.
  3. The change applies once the payer confirms the new terms with the original paying wallet and the transaction is on chain.

Change plan: the generated link, the start time of the new plan, and the plan change record

Rules:

  • Only subscriptions in Trial or Active that are confirmed on chain can be changed. Past-due, unpaid and paused subscriptions must be resolved first.
  • The new plan charges from the period boundary that follows the current period; if that boundary is less than 30 minutes away, it moves one period later. The current period is neither refunded nor prorated. Any difference is billed by the business system as a separate one-time order.
  • A change made during a trial does not grant a second trial; the new plan charges from the end of the trial.
  • Only the wallet that pays the original subscription can confirm the change.
  • After the new subscription is confirmed, the original one ends once its current period is over, and the keeper cancels it on chain.
  • The link stops working 15 minutes before the new plan starts. If the payer does not confirm in time, the change expires and the original subscription continues as before.
  • A newer change request replaces an earlier one the payer has not confirmed. Canceling either subscription withdraws the change.

A plan change is shown as Awaiting the payer, Applied, Expired or Withdrawn.

A pause takes effect inside the system: the keeper skips charges while the subscription is paused.

Initiated by Subscriptions that can be paused
Merchant (console or business API) Any active or past-due subscription
Payer (“My subscriptions”) Only Trial and Active subscriptions, and only when the plan allows it
Risk screening Paused automatically when the payer address hits a block-level list before a charge
  • After resuming, charging starts from the next period. The period in which the pause began and the periods during the pause are not charged, then or later. The failure count, retry time and past-due start are reset.
  • A pause caused by risk screening can be lifted only in the console. The payer address is screened again before resuming; if it is still blocked, the subscription stays paused.
  • A paused or unpaid subscription becomes Completed once all of its periods have passed.
Cancellation Description
By the merchant Select Cancel subscription on the detail page and confirm, or call the business API
By the payer The payer cancels in “My subscriptions”, or directly on chain
Unpaid after grace Canceled by the system when the plan is set to cancel at the end of the grace period
Allowance revoked When the allowance reads 0 and is still 0 on a recheck 5 minutes later, it is treated as cancellation by the payer

Cancellation has two steps:

  1. Off-chain cancellation takes effect immediately; the keeper stops charging at once.
  2. On-chain cancellation follows: the keeper calls the contract with the merchant’s quote signature to cancel the subscription on chain, after which nobody can charge it. The On chain field on the detail page shows Being canceled on chain, then Canceled on chain.

A cancellation the payer sends on chain is indexed and the subscription becomes Canceled. If the on-chain cancellation cannot be completed, the system raises an alert.

The keeper is the background task that charges subscriptions. It runs every 30 seconds and sends its transactions from the hot wallet.

Step Behaviour
Screen The payer address of each due subscription is screened first. On a block-level hit the subscription is paused and the period is not charged
Recheck Confirms the subscription is still valid, the on-chain subscription is unchanged, the period has not been charged, and no payment-method switch in flight or pending plan change covers the period
Simulate and send The charge is simulated first and, if it passes, sent from the hot wallet
Book Once the charge reaches its confirmations it is booked, and the webhook and charge receipt are sent
Cancel on chain Cancels on chain every subscription that was canceled in the system, and every on-chain subscription replaced by a payment-method switch
  • Keeper charges and on-chain cancellations are the system’s own transactions. They are sent on chains in any gas mode, are not limited by the sponsorship budget and do not count as sponsorship spending. They remain subject to the gas price cap and the hot wallet balance.
  • When transactions cannot be sent because of the node, the balance or the price cap, an alert is raised for that chain; it clears when a keeper transaction next goes out.
  • Subscriptions that cannot progress for the moment back off for 1, 2, 4 minutes and so on, up to 1 hour.
  • No charges are made while a token is under an emergency pause.
  • After an outage the keeper charges only the current period; earlier periods are not charged retroactively.

When a charge fails because of insufficient balance or allowance, the subscription enters dunning:

  1. The subscription becomes Past due. The system sends the subscription.charge_failed webhook and the Charge failed receipt, which includes guidance.
  2. Within the grace period the keeper retries at the plan’s retry intervals. The detail page shows when the subscription became past due, the next retry and the last error.
  3. When a retry succeeds the subscription returns to Active.
  4. If the grace period ends without a successful charge, the subscription becomes Unpaid or is canceled, as the plan specifies.

In “My subscriptions” the payer can top up the balance, renew the allowance, or change the payment method (another wallet, token or network). If the period is already due, the transaction that changes the payment method charges it immediately.

The system also notifies the business system at these points:

Event When
subscription.trial_will_end Before a trial ends (the number of days is set in the receipt settings; 3 by default)
subscription.allowance_low Once, when the remaining allowance no longer covers the remaining periods

For all events, see Webhooks.

Subscription receipts are sent to the subscription’s receipt email and are managed under Collection → Receipts & email.

Receipt When it is sent
Subscription started When a subscription or trial starts
Charge successful When each charge is confirmed
Charge failed On entering the grace period, with guidance
Trial ending soon A set number of days before a trial ends
Subscription cancelled / completed When a subscription ends
  • The Receipts tab turns each receipt type on or off, sets the merchant details and footer note shown on receipts, and previews each type per language with a test send.
  • The Mail server tab holds the sending provider (or SMTP server). Without one, receipts and notices are not sent.
  • The Delivery log tab lists each email with its status; sent and failed emails can be resent.
  • Subscription receipts carry a link for managing the subscription, which leads the payer to “My subscriptions”. After sign-up the receipt email can be changed only there.
  • When a plan change applies, a plan-changed receipt is sent; it follows the on/off setting of the started receipt.

Delivery log for receipts: type, recipient, status and resend