Skip to content
recurring-billingusage-billingusdc
Joshua C.

Usage Billing Onchain: Mid-Cycle Charges or Wait for Renewal?

Usage billing onchain: Bill metered usage mid-cycle or only at subscription renewal? This piece explains mechanics, tradeoffs, and real examples for USDC subscriptions.

Usage Billing Onchain: Mid-Cycle Charges or Wait for Renewal?

Stablecoin SaaS billing is no longer just about flat monthly rates. Many SaaS and API products now meter usage, charging per call or per unit above a base subscription. If you bill onchain in USDC, you have a choice: collect usage fees as soon as customers cross a threshold, or wait until the next renewal to settle everything at once. Each approach shapes user experience, payment reliability, and operational complexity.

What Makes Onchain Usage Billing Different

Onchain billing works under explicit customer approvals, clear spending caps, and final, visible transactions. Recurring stablecoin subscriptions mean the merchant can only collect what the customer has signed for, and only by triggering a new blockchain transaction. There are no automatic debits outside that cap. If you want to charge for usage, you need the customer’s prior approval for either a total cap that covers base plus metered usage, or a process to prompt approval for each usage-based charge.

Two Patterns: Mid-Cycle Charges and Renewal-Only Billing

Mid-Cycle Usage Charges

This model bills the customer’s wallet as soon as usage crosses a chargeable threshold. For example, if the base subscription covers 100,000 API calls per month, and the customer hits 120,000 by the 17th, you’d settle the 20,000 overage immediately. This can happen multiple times within a billing cycle.

Billing Only at Renewal

In this pattern, all usage is tracked offchain until the end of the billing period. At renewal, the next transaction includes both the base rate and any metered overages. One transaction per cycle, one interaction with the user’s wallet per renewal.

Worked Example: USDC API Billing on Polygon

Suppose you offer an API service with this plan:

  • 100,000 API calls/month for 50 USDC, billed at renewal
  • Overage: 0.001 USDC per extra call
  • Subscription is paid from the customer’s own wallet, using a capped onchain approval (let’s say 100 USDC for safety on overages)
  • Billing runs on Polygon, keeping gas costs low

Scenario: - Customer signs up on May 1, pays 50 USDC, and grants a capped approval of 100 USDC - By May 20, usage hits 130,000 calls (30,000 overage)

Mid-Cycle Billing Flow

  • On May 20, system detects overage: 30,000 x 0.001 = 30 USDC
  • Merchant submits an onchain charge for 30 USDC
  • Customer’s approval covers it, payment settles
  • Remaining cap is 20 USDC
  • If usage continues, and another overage is incurred before renewal, another charge is submitted, provided the cap allows

Renewal-Only Billing Flow

  • Usage tracked offchain
  • At June 1 renewal, total usage = 150,000 calls
  • Overage = 50,000 x 0.001 = 50 USDC
  • System submits a single transaction for 100 USDC (50 base + 50 usage)
  • Customer’s cap covers it
  • If usage plus base exceeds the cap, renewal fails, and customer must approve a higher cap or reduce usage

Tradeoffs: Customer Experience, Payment Risk, and Operational Simplicity

Pros of Mid-Cycle Usage Charges

  • Immediate settlement. Merchant receives funds as soon as usage occurs, reducing credit risk
  • Granular visibility. Customers see charges in near real time, helping with budgeting and transparency
  • Cap management. Smaller per-charge amounts may stay within approved cap, avoiding failure at renewal due to a large, accumulated bill

Cons of Mid-Cycle Usage Charges

  • More onchain transactions. Each charge means a blockchain transaction, incurring gas (though on Polygon or Base this is minor)
  • Customer notification. You must notify users each time a charge is made
  • Cap exhaustion risk. Multiple charges may use up the cap before renewal, requiring a top-up or new approval mid-cycle

Pros of Renewal-Only Billing

  • Fewer transactions. One onchain payment per cycle, minimizing gas costs and wallet prompts
  • Simple reconciliation. Easier accounting and ledger matching, both for you and your customers
  • Predictable user flows. Customer expects a single charge at renewal, with no surprises

Cons of Renewal-Only Billing

  • Credit exposure. If overages are significant and the cap is not high enough, you may be unable to collect full usage fees at renewal
  • Large, unexpected charges. Accumulated usage can surprise customers at renewal, making budgeting harder
  • Potential payment failure. If the total due exceeds the cap or the wallet balance, renewal fails and service may be interrupted

What Happens When a Charge Fails?

Onchain settlement is final when confirmed, but if a charge cannot be submitted, due to cap exhaustion or insufficient wallet balance, no funds move. For mid-cycle billing, this means overage charges may fail to settle if the cap is used up on earlier charges or the wallet is empty. For renewal-only, a large combined charge can fail in full, blocking both subscription renewal and usage collection.

Handling this means monitoring cap utilization on your side, alerting customers when they approach their limit, and making it easy for them to increase the cap if needed. Some teams add a buffer to the cap, but the customer must approve any increase onchain.

Which Model Suits Which Use Case?

  • High-variance usage (APIs, compute, bandwidth): Mid-cycle charges keep risk low for the merchant and help customers track costs.
  • Predictable, low-overage SaaS: Renewal-only fits where overages are rare or small, and customer billing ops value simplicity over granular control.
  • Enterprise customers: Some prefer approval and reconciliation once per period, even if it means a higher cap.
  • Consumer or SMB SaaS: More frequent mid-cycle charges with lower caps may be safer and more transparent for both sides.

Implementation: Approval Management and UX

Both models require clear UI for cap approval. For mid-cycle billing, show the remaining cap and notify users when charges post. For renewal-only, show estimated next charge and alert if usage looks likely to exceed the current cap.

Onchain, the logic to submit a charge is identical: a transaction moving USDC from the customer’s wallet to your settlement address, within the approved cap. Reclack never asks for unlimited approval. Every charge, mid-cycle or at renewal, must fit the customer’s signed cap.

How We Handle This at Reclack

We support both mid-cycle and renewal-only usage billing for USDC subscriptions on Base, Ethereum and Polygon. Each recurring approval is capped. You can trigger onchain charges as usage occurs, or aggregate at renewal, depending on what suits your product and customers. Our UI and API show cap status and usage, and prompt for a new approval only if the current cap is not enough. You can learn more or try out usage-based billing flows at https://reclack.com.

recurring-billingusage-billingusdc