Purpose

CartMoat exists to enforce a contribution-margin floor when checkout choices change margin.

It focuses on policy outcomes rather than checkout UI changes.

Decision flow

  1. Policy thresholds and constraints are configured.
  2. A checkout request is evaluated against the policy.
  3. CartMoat returns a decision outcome (allow, adjust, or block) with a reason code.
  4. A decision record is stored for audit and review.

Surfaces covered

  • Discount stacking and promotions.
  • Shipping options and rate choice.
  • Payment method fees.

Evidence trail

Every decision creates an evidence record with timestamps and reason codes. Optional metadata such as policy version can be attached when provided.

For field definitions and retention details, see the audit model.

Review audit model