Skip to main content
Add a loyalty program to any site that already uses Stripe or Shopify. Podium handles the points ledger, reward minting, and redemption logic — you integrate at the API layer.

What You’ll Build

Prerequisites

Step 1: Award Points on Purchase

When a customer completes a purchase, award loyalty points. The points ledger is double-entry — every earn has an audit trail.
For the companion flow, you can also award points for engagement actions:

Step 2: Check Points Balance

Display the user’s current balance in your loyalty dashboard.

Step 3: Redeem Points at Checkout

When the user wants to apply points to an order, check the maximum discount first, then create the PaymentIntent with points applied.
The returned amount reflects the order total minus the points discount. If points change, the old PaymentIntent is cancelled and a new one is created.

Handling Failed Payments

If a payment fails after points were reserved, the points are automatically reverted via the payment_intent.payment_failed webhook. If you need to manually trigger a revert:

Step 4: Create On-Chain Rewards

Reward high-value customers with on-chain collectibles. Podium supports 6 reward types.

Grant a Reward to a User

The mint is queued and processed by Podium’s mint queue (runs every minute). The user receives the on-chain collectible in their Privy-managed wallet on Base.

Step 5: Track Reward Analytics

Putting It Together

Here’s a complete loyalty webhook handler that listens for purchases and awards points + checks for tier upgrades: