Home Platform Integrations Customers Pricing Blog
Sign in Request Access

Accrual Engine

Flexible point accrual across every purchase event

Define how members earn — by transaction, category, basket threshold, or campaign rule. One configuration powers every channel, no per-integration logic to maintain.

Event Schema

Accrual starts with a transaction event

Your POS, e-commerce, or app sends a structured event. Revlance evaluates it against your program rules and updates the member ledger — all within a single round-trip.

POST /v1/events/transaction
// Loyalty transaction event — sent from POS or e-commerce checkout
{
  "event_type": "purchase.completed",
  "event_id":   "evt_3Hk9pQR7xL4mN2",
  "member_id":  "mbr_5F2wTZ9aV8cK1",
  "channel":    "pos",
  "location_id": "store_042_atlanta_midtown",
  "occurred_at": "2026-01-14T14:32:07Z",
  "basket": {
    "subtotal_cents": 8749,
    "currency": "USD",
    "items": [
      {
        "sku": "HO-TRAIL-BOOT-M10",
        "quantity": 1,
        "unit_price_cents": 7499,
        "category": "footwear"
      },
      {
        "sku": "HO-SOCK-WOOL-3PK",
        "quantity": 1,
        "unit_price_cents": 1250,
        "category": "accessories"
      }
    ]
  },
  "idempotency_key": "txn_pos_042_20260114_00438"
}

// ← Response: points awarded, new balance, tier status
Features

Everything a production loyalty program needs

Transaction Events

Process purchase, return, exchange, and custom event types. Each event type has configurable accrual rules — returns can reduce balance or be ignored based on your policy.

Bonus Multipliers

Apply 2× or 5× multipliers based on tier status, product category, time window, or store location. Stack rules in priority order — Revlance resolves conflicts according to your precedence config.

Campaign Overrides

Create time-bounded campaigns that temporarily override base accrual rates — a weekend double-points event or a back-to-school category bonus — without changing your core program configuration.

Cross-Channel Deduplication

Idempotency keys prevent the same transaction from being accrued twice if your POS and e-commerce platform both fire events for a click-and-collect order. Configurable deduplication window.

Fractional Points

Support earn rates like 1.5 pts per dollar without rounding artifacts — Revlance stores fractional balances and rounds only at redemption, so members earn precisely what your program promises.

Real-Time Sync

Point balances update in under 200ms end-to-end. Webhooks notify your mobile app and POS display within the same transaction session — members see their new balance before they leave the register.

Start processing loyalty events today

Request sandbox access to test the Accrual Engine with your own event schema.