Rewards Block
Battle-tested loyalty engine for your product. Open source, Apache 2.0, race-safe redemption built in.
claude plugin marketplace add https://github.com/23blocks-OS/ai-agents
claude plugin install rewards-block
Your agent now knows this API. Prefer hands-on? REST + SDK docs →
Points
Earning rules, multipliers, expiry
Badges
Milestones, achievements, streaks
Tiers
Bronze to Platinum, auto progression
Coupons
Unique codes, usage limits
Referrals
Two-way rewards, conversion tracking
Redemption
Discounts, products, custom catalog
Webhooks
Any external service
SDK
One client, every mechanic
The mistakes were made, fixed, and shipped past — before you got here.
Points expire FIFO — oldest batches lapse first, never a random wipe.
Redemption is race-safe — two devices can't double-spend one balance.
Tier downgrades get a grace window, not an instant demotion.
Refunds automatically claw back the points that order earned.
The user Auth Block signs in is the same user Rewards Block credits — no separate loyalty identity to reconcile. Order placed → Sales Block confirms → Rewards Block grants points. Zero glue code.
Get product updates, engineering posts, and new block announcements delivered to your inbox.