Skip to main content

Consumer Flow

The consumer experience is the consumer role in apps/web.

Current Flow​

  1. Sign in with Supabase OTP.
  2. Land on the wallet view.
  3. Open a merchant wallet to see balance and history.
  4. Browse offers tied to merchant campaigns.
  5. Use the redeem flow to generate a temporary redemption code.
  6. 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/wallets
  • GET /api/v1/consumer/wallets/:walletId
  • GET /api/v1/consumer/wallets/:walletId/history
  • POST /api/v1/consumer/wallets/:walletId/redeem/preview
  • POST /api/v1/consumer/wallets/:walletId/redeem/confirm
  • GET /api/v1/marketing/preferences
  • PATCH /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