MindKlip
PricePilot

Discount Engine

Rules-based loyalty discounts applied automatically based on customer behavior.

Available on Large Business plans and above. The Discount Engine lets you create rules-based loyalty and promotional discounts that are applied to subscriptions automatically. Requires Recharge OAuth connection with write_discounts scope.

Customer segmentation

PricePilot automatically segments your customers based on their subscription behavior:

SegmentCriteria
NewSubscription tenure less than 30 days
ActiveTenure ≥ 30 days with 3 or more orders
At RiskTenure > 90 days with fewer than 3 orders or less than $100 LTV
VIPLifetime value ≥ $500 OR 12 or more orders
ChurnedNo longer an active subscriber

Rule conditions

Each discount rule can include one or more conditions that a customer must match:

  • Tenure-based: Minimum and/or maximum days since first subscription
  • Order count: Minimum and/or maximum number of completed orders
  • Lifetime value (LTV): Minimum and/or maximum total spend
  • Promo window: Start and end dates for time-limited promotions

Discount types

  • Percentage discount: 0–100% off the subscription price
  • Fixed amount: A dollar amount deducted from the subscription price
  • Price floor: Discounts will never reduce a subscription price below $0

Priority system

Rules are evaluated by priority (lower number = higher priority). When multiple rules could match a customer, only the highest-priority rule is applied. This prevents discount stacking and ensures predictable behavior.

How discounts are applied

PricePilot applies discounts through Recharge's native address-level discount system. This means:

  • Discounts appear correctly in Recharge's admin and customer portal
  • Discount codes are properly tracked in Recharge
  • Discounts persist across renewal cycles until the rule conditions no longer match

Audit log

Every discount application is logged with status tracking (pending → applied/failed/reverted), timestamps, the rule that triggered it, and the customer/subscription details. View the audit log from the Applications tab in the Discount Engine section.

Discount rules are evaluated automatically every 12 hours. If PricePilot detects that a customer no longer matches a rule's conditions (e.g., their segment changed), the discount is reverted.

On this page