> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bbrands.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Club Maihue: my coupons

> The customer’s wallet: available, used and expired coupons, and how to add a coupon with a code.

## At a glance

| Field | Value |
| - | - |
| Status | **Available** |
| Route | `/{locale}/coupons` |
| Menu | Rewards › **Coupons**, or the Club's **My coupons** tab |
| Feature flag | `portal-customer-coupons` (default: off) |
| Who sees it | Every signed-in customer |
| Last verified | 2026-11-24 against `feature/horizon/referrals-rewards-part-1` (`2409457f97`); the online shop code was checked with test data |

## What it is for

Gathers the customer's coupons: Club ones, plan ones and the online shop codes they won by inviting. They can view them by status, open the QR to use them and add a coupon with a code.

## How to get there

**Rewards › Coupons** menu or the Club's **My coupons** tab.

![Club Maihue: the Benefits catalog with search and categories leads to a benefit detail, where the coupon is obtained; the coupon goes to My coupons, where its QR is opened to use it at the venue. Add code adds coupons with a code.](https://mintcdn.com/bbrands/w6DX1nTsRjzB7VQp/images/portal-customer-manual/club-navigation.svg?fit=max\&auto=format\&n=w6DX1nTsRjzB7VQp\&q=85\&s=02efac6c14b7d43d673b232d56fc7bcc)

Club Maihue journey

## What the customer sees

> [tab] Desktop
>
> ![My coupons on Available with two coupons, one expiring today, and the Add code button.](https://mintcdn.com/bbrands/_NKN45Wilc9LnqQU/images/portal-customer-screens/club-wallet/available.en.desktop.webp?fit=max\&auto=format\&n=_NKN45Wilc9LnqQU\&q=85\&s=8323fafc3d087e97d61a83d9adb2c5e9)

> [tab] Mobile
>
> ![My coupons on Available with two coupons, one expiring today, and the Add code button.](https://mintcdn.com/bbrands/RmQmo8S4AibSINhm/images/portal-customer-screens/club-wallet/available.en.mobile.webp?fit=max\&auto=format\&n=RmQmo8S4AibSINhm\&q=85\&s=e37c6acd8d80c0fa52342d65364f441f)

| Element | What it does |
| - | - |
| Status selector | **Available**, **Used**, **Expired** |
| Coupon card | Title, merchant and expiry ("Expires on 12/11", "Expires today at 17:00.") |
| Online shop code | A [Invite a friend](https://docs.bbrands.io/portal-customer/invite.md) reward: the code, **Copy code**, the notice "Online shop only, not valid at venues" and the expiry. It opens no QR |
| **Add code** | Enter the code to add the coupon to My coupons. |

## Step by step

**1. View by status**

Switches between Available, Used and Expired.

> [tab] Desktop
>
> ![Used tab with a used coupon and the amount saved.](https://mintcdn.com/bbrands/_NKN45Wilc9LnqQU/images/portal-customer-screens/club-wallet/used.en.desktop.webp?fit=max\&auto=format\&n=_NKN45Wilc9LnqQU\&q=85\&s=6a74ccd898413671527b94b43430dac7)

> [tab] Mobile
>
> ![Used tab with a used coupon and the amount saved.](https://mintcdn.com/bbrands/RmQmo8S4AibSINhm/images/portal-customer-screens/club-wallet/used.en.mobile.webp?fit=max\&auto=format\&n=RmQmo8S4AibSINhm\&q=85\&s=c74dbb569b5572ee77beb3dc0a3ca8ad)

> [tab] Desktop
>
> ![Expired tab with an expired coupon.](https://mintcdn.com/bbrands/_NKN45Wilc9LnqQU/images/portal-customer-screens/club-wallet/expired.en.desktop.webp?fit=max\&auto=format\&n=_NKN45Wilc9LnqQU\&q=85\&s=45c944a4224535971c354bc70c31ed55)

> [tab] Mobile
>
> ![Expired tab with an expired coupon.](https://mintcdn.com/bbrands/RmQmo8S4AibSINhm/images/portal-customer-screens/club-wallet/expired.en.mobile.webp?fit=max\&auto=format\&n=RmQmo8S4AibSINhm\&q=85\&s=2ecf5ae2355fcc75ff51a647d0915610)

**2. Add code**

Taps **Add code**, types the code and taps **Apply**. If valid they see "Coupon added!".

> [tab] Desktop
>
> ![Coupon code window with the code field.](https://mintcdn.com/bbrands/_NKN45Wilc9LnqQU/images/portal-customer-screens/club-wallet/add-code.en.desktop.webp?fit=max\&auto=format\&n=_NKN45Wilc9LnqQU\&q=85\&s=a93f23b21cb9c616ffcfb4d5d8c74fbc)

> [tab] Mobile
>
> ![Coupon code window with the code field.](https://mintcdn.com/bbrands/RmQmo8S4AibSINhm/images/portal-customer-screens/club-wallet/add-code.en.mobile.webp?fit=max\&auto=format\&n=RmQmo8S4AibSINhm\&q=85\&s=4d11226023857f362513f76240c5b5eb)

**3. Use a coupon**

Taps the coupon to open its QR. See [Use a coupon](https://docs.bbrands.io/portal-customer/club/redeem-coupon.md).

**4. Copy an online shop code**

On the **Online shop code** card, taps **Copy code** (sees "Code copied") and uses it when paying in the online shop. Once used or expired, the card keeps showing the code, without the copy button.

## Business rules

| ID | Rule |
| - | - |
| R-01 | Shows the coupons of the account being acted for |
| R-02 | An available coupon expires at the end of its window; it then moves to Expired and frees the quota |
| R-03 | Codes redeemed in the MaihueGO app are not added here |
| R-04 | Opening `/coupons?coupon=<id>` opens that coupon's QR directly |
| R-05 | An online shop code won through referrals is valid only in the online shop, never at a venue; it expires on the date the card shows (REQ-06.AC-2). The referrer and the referred of a campaign that gives both the bottle each see their own, different code; a referred without a Horizon account (Maihue Home) has no cuponera to show it in (D-68) |
| R-06 | A Club coupon won through referrals is a regular Club coupon (QR, expiry, venues); a plan discount won through referrals is applied to the bill and never listed here (D-66) |

## States and messages

| State | What the customer sees | Why | What to do |
| - | - | - | - |
| Available | Expires … / today / tomorrow | Within its window | Use it |
| Used | "Used on 03/11" · "You saved \$9.495" | Redeemed | — |
| Expired | "Expired on 20/10" | Window ended | — |
| Empty | "You have no available coupons." + **Explore benefits** | No coupons | Explore benefits |

## Errors

| Message | Cause | Backend code | Support action |
| - | - | - | - |
| "You already used this code." | Already used | `already_redeemed` | Explain the reason |
| "This code has expired." | Expired | `expired` | Explain the reason |
| "This code reached its usage limit." | Usage limit | `limit_reached` | Explain the reason |
| "This code is redeemed in the MaihueGO app." | It is an app code | `not_coupon` | Explain the reason |
| "We couldn't find that code. Check it and try again." | Does not exist | `not_found` | Explain the reason |
| "This code isn't valid yet." | Not valid yet | `not_started` | Explain the reason |
| "We couldn't add the code. Try again later." | Service error | `unavailable` | Explain the reason |

> [tab] Desktop
>
> ![Coupon code window with the This code has expired error.](https://mintcdn.com/bbrands/_NKN45Wilc9LnqQU/images/portal-customer-screens/club-wallet/add-code-error.en.desktop.webp?fit=max\&auto=format\&n=_NKN45Wilc9LnqQU\&q=85\&s=239d94accb610b98a1c92c43d8187f6a)

> [tab] Mobile
>
> ![Coupon code window with the This code has expired error.](https://mintcdn.com/bbrands/RmQmo8S4AibSINhm/images/portal-customer-screens/club-wallet/add-code-error.en.mobile.webp?fit=max\&auto=format\&n=RmQmo8S4AibSINhm\&q=85\&s=92dd2e526ffc118c73daa3bd3adbae41)

## Why it works this way

![Coupon lifecycle.](https://mintcdn.com/bbrands/w6DX1nTsRjzB7VQp/images/portal-customer-manual/club-process.svg?fit=max\&auto=format\&n=w6DX1nTsRjzB7VQp\&q=85\&s=3d5c261e717321958b6d2820d8aaad2f)

Coupon lifecycle

Splitting coupons by status keeps usable ones in sight, and keeping used and expired ones gives the customer their history.

## Technical detail

| Aspect | Detail |
| - | - |
| Components | `wallet-screen.tsx`, `wallet-card.tsx`, `add-code-modal.tsx` |
| Referral code | The listing item carries `referral_shop_code` (`code`, `expires_at`) when the row is an online shop code won through referrals (`referrals/program`, D-62) |
| API | `GET /api/v3/code/coupon/account/listing?account=`, `GET /api/v3/code/validate/{code}`, `POST /api/v3/code/coupon/enable/{code}` |
| Texts | `messages` › `coupons` |

## FAQ and support cases

> [accordion] The code says it is redeemed in the app
>
> It is a MaihueGO code (for example, for refills); it is used in the app.

> [accordion] The customer wants to use the referral code at a venue
>
> They can't: the online shop code is valid only in the online shop, as the card says.

## Related and history

* [Use a coupon](https://docs.bbrands.io/portal-customer/club/redeem-coupon.md)
* [Invite a friend](https://docs.bbrands.io/portal-customer/invite.md)

| Date | Change |
| - | - |
| 2026-11-25 | A granted online shop code is a real row of the wallet listing, for the referrer and for the referred (D-68); Club coupons won through referrals land as Club coupons (D-66) |
| 2026-11-24 | Online shop code won through referrals, with **Copy code** and the online-shop-only notice. No screenshot yet: it needs the API's reward routes |
| 2026-11-10 | First version |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.