1. Home
  2. /
  3. Integrations
  4. /
  5. Recharge
Subscriptions

Protect Recurring Order Margins and Model Subscription Lifetime Profitability

Agentis integrates with Recharge to track per-renewal margin, identify subscribers receiving unsustainable discounts, and model the true lifetime profit of your subscription program.

How It Works

Agentis connects to Recharge's API to read subscription details — product, price, discount, frequency, and renewal history. For each recurring charge, Agentis calculates the margin using live COGS from your ERP, current shipping costs, and the subscription discount. Over time, Agentis models each subscriber's lifetime margin trajectory, flagging subscriptions where the introductory discount never breaks even and identifying optimal price-increase points.

Data Flows

  • →Subscription product, price, and discount from Recharge → Agentis recurring margin model
  • →Renewal history and frequency from Recharge → Agentis lifetime value calculation
  • →Churn events and cancellation reasons from Recharge → Agentis churn cost modeling
  • →Upcoming renewal queue from Recharge → Agentis pre-renewal margin check

Benefits

  • Know the true margin of every subscription renewal, not just the revenue
  • Identify subscribers locked into discounts that will never reach profitability
  • Model lifetime profit (not just LTV) to make better subscription pricing decisions
  • Flag upcoming renewals that will ship below your margin floor before they charge

Setup

  1. 1Connect your Recharge account to Agentis via API token (read-only)
  2. 2Agentis imports subscription data, renewal history, and discount structures
  3. 3Configure subscription-specific profit floors (can differ from one-time order floors)
  4. 4Enable pre-renewal margin checks to flag or pause unprofitable upcoming charges

Technical Details

Agentis integrates via Recharge's REST API (2021-11 version) using API token authentication with read-only scopes (read_subscriptions, read_orders, read_charges). We poll the /subscriptions and /charges endpoints every 15 minutes and receive real-time updates via Recharge webhooks (charge/created, subscription/updated, subscription/cancelled). Lifetime margin modeling uses a cohort-based analysis that factors in COGS trends, historical churn rates, and discount schedules per subscription tier.

Frequently Asked Questions

Can Agentis pause an unprofitable subscription renewal?

In flag-only mode, Agentis alerts your team before the renewal processes. With enforcement enabled, Agentis can call Recharge's API to skip or delay a charge pending review. Most merchants start with flag-only mode.

How does Agentis handle subscription discounts that increase over time?

Agentis tracks the discount applied at each renewal and recalculates margin accordingly. If a subscriber's discount increases (e.g., loyalty tiers), Agentis updates the lifetime margin projection and alerts you if the subscription trajectory turns negative.

Does Agentis work with Recharge's Shopify Checkout integration?

Yes. When Recharge uses Shopify Checkout for subscription orders, Agentis evaluates those orders through the same Checkout Extensibility integration, giving you unified enforcement for one-time and recurring orders.

Related Solutions

Solution

DTC Brand Margin Protection

Stop invisible margin erosion from stacked promos, influencer codes, and free shipping thresholds. Agentis enforces profit floors at checkout for DTC brands on Shopify Plus.

Solution

Shopify Plus Profit Analytics

Go beyond Shopify’s native reporting with real-time margin intelligence that factors in live COGS from NetSuite, freight zone costs, and FX rates.

Key Concepts

Margin Analysis

Contribution Margin

The revenue remaining after deducting all variable costs associated with fulfilling an order — including COGS, shipping, payment processing fees, and pick-and-pack labor.

Margin Analysis

Margin Leakage

The gradual, often undetected loss of profit across many orders — driven by small per-order cost overruns that compound into significant revenue erosion over time.

Margin Analysis

Order Profitability

The true net profit of a single order after deducting all variable costs — COGS, shipping, discounts, payment fees, fulfillment labor, and return allowances.

Free Audit — No Commitment

Protect Every Order's Profit Margin

See exactly how much margin Agentis can recover for your store in 7 days — no commitment required.