The request
“We're implementing a reward program where customers exchange points for discount codes. If a customer reaches 200 points, they can generate a 20 dollar code. The code should be created when they redeem.”
Pre-generating codes for every customer wasn't practical. The brand needed codes created at the moment of redemption.
The approach
We built the redemption flow into the account page so customers see their points balance, choose a reward tier, and receive a unique discount code generated on the spot. Redeemed points are deducted automatically.
What we shipped
Points balance shown on the account page
Reward tiers for redemption
Unique discount code generated on redemption
Points deducted automatically