Consumer Flow
The consumer experience is the consumer role in apps/web.
Current Flow
- Sign in with Supabase OTP.
- Land on the wallet view.
- Open a merchant wallet to see balance and history.
- Browse offers tied to merchant campaigns.
- Use the redeem flow to generate a temporary redemption code.
- Manage marketing preferences for merchants you hold a wallet with.
Key Screens
/wallet/history/offers/offers/:campaignId/redeem/preferences/marketing/profile
Backend Routes Used
GET /api/v1/consumer/walletsGET /api/v1/consumer/wallets/:walletIdGET /api/v1/consumer/wallets/:walletId/historyPOST /api/v1/consumer/wallets/:walletId/redeem/previewPOST /api/v1/consumer/wallets/:walletId/redeem/confirmGET /api/v1/marketing/preferencesPATCH /api/v1/marketing/preferences
What the Consumer Can Trust
- balances come from the API
- redemption codes are temporary and single-use
- offers are campaign-driven, not hardcoded
Written byDhruv Doshi