Skip to content

URD: Loyalty

ModuleEXT-01Versionv0.1
StatusIn-progressDate2026-05-30

1. Purpose

Reward repeat customers so they return more often and spend more. The module turns completed purchases into points, lets customers climb tiers, and exchange points for rewards.

2. Scope

IncludedExcluded
Earning points on completed ordersCross-merchant point sharing
Tiers, rewards catalog, redemptionPaid membership billing
Referral & birthday rewardsMessage delivery (handled by Marketing)

3. Definitions

TermDefinition
PointUnit of loyalty value earned on spend; redeemable for rewards
TierMembership level (e.g. Bronze/Silver/Gold) granting benefits
Earning rateConversion of order value to points, set per merchant
RedemptionSpending points for a discount or reward

4. Conceptual Model

Conceptual only — full schema lives in the developer customer-points docs.

5. Functional Requirements

Priority = MoSCoW. All but earning are not yet built.

5.1 Points Earning (PTS)

IDPRequirementStatus
URD-PTS-001MAward points when an order completes paymentIn-progress
URD-PTS-002MEarning must be idempotent per order (no double award)In-progress
URD-PTS-003SEarning rate is configurable per merchantIn-progress

5.2 Redemption & Tiers (RDM)

IDPRequirementStatus
URD-RDM-001SRedeem points for a discount at checkoutPlanned
URD-RDM-002CAssign customers to tiers by lifetime pointsPlanned
URD-RDM-003CConfigure a rewards catalogPlanned

6. Acceptance Criteria

AC-PTS-01: Points awarded on completed order
GivenWhenThen
A customer-linked order with a non-zero earning rateThe order completes paymentPoints = total × rate are added once to the customer balance

7. Constraints & Non-Goals

Constraints

IDConstraint
C-01Points only accrue to identified customers (anonymous sales earn nothing)
C-02A single order awards points at most once

Non-Goals

  • Cross-merchant or franchise-wide point pooling
  • Marketing message delivery (owned by Marketing)

8. Version History

DateAuthorDescriptionVer
2026-05-30PMInitial stub; earning live, rest plannedv0.1

Proprietary and Confidential. Unauthorized copying, distribution, or use of this software is strictly prohibited.