> ## 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: use a coupon

> How the customer shows the QR at the venue and what happens when the merchant validates it.

## At a glance

| Field | Value |
| - | - |
| Status | **Available** |
| Route | `/{locale}/coupons?coupon={id}` |
| Menu | My coupons › tap an available coupon |
| Feature flag | `portal-customer-coupons` (default: off) |
| Who sees it | Every customer with an available coupon |
| Last verified | 2026-11-10 against `develop` (`c10d24f33d`) |

## What it is for

Tapping an available coupon opens its personal QR and a security code. The customer shows it at the venue before paying; the merchant scans it or types the code and the portal confirms the redemption instantly.

## How to get there

In **My coupons**, tapping an available coupon.

![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
>
> ![Coupon window with the QR, the MAI-4821 security code, the usage steps and the conditions.](https://mintcdn.com/bbrands/_NKN45Wilc9LnqQU/images/portal-customer-screens/club-wallet/qr.en.desktop.webp?fit=max\&auto=format\&n=_NKN45Wilc9LnqQU\&q=85\&s=6c2189399ce7f73f6e97b0ccae2e6478)

> [tab] Mobile
>
> ![Coupon window with the QR, the MAI-4821 security code, the usage steps and the conditions.](https://mintcdn.com/bbrands/RmQmo8S4AibSINhm/images/portal-customer-screens/club-wallet/qr.en.mobile.webp?fit=max\&auto=format\&n=RmQmo8S4AibSINhm\&q=85\&s=b5c634f7cb77d32ff983e6f258108c79)

## Step by step

**1. Open the coupon**

While it reads "Generating your code…" the QR is generated (only the first time).

**2. Show it at the venue**

Show the QR at the venue before paying.

**3. If they cannot scan**

If they can't scan it, read out the security code.

**4. Confirmation**

Once validated they see "Your coupon has been used!" and the coupon moves to Used.

## Business rules

| ID | Rule |
| - | - |
| R-01 | The coupon is personal: show it yourself. It can't be gifted or transferred. |
| R-02 | The QR and code are issued the first time the coupon is opened |
| R-03 | The merchant redeems from MaihueGO Partner, through the coupon's public link; the merchant does not see the customer's personal data |
| R-04 | The portal checks the status while the QR is open and notifies on redemption |
| R-05 | Maihue can reverse a redemption within 48 hours |
| R-06 | A Maihue coupon (a Maihue bottle, such as the Gift Bottle) shows its own usage steps: go to a Maihue pickup point, show the QR code to validate the coupon, get your Maihue bottle and enjoy |

## States and messages

| State | What the customer sees | Why | What to do |
| - | - | - | - |
| Generating | "Generating your code…" | First opening | Wait |
| Ready | QR and code | — | Show it |
| Used | "This coupon was already used." | Already redeemed | — |
| Expired | "This coupon has expired." | Window ended | — |

## Errors

| Message | Cause | Backend code | Support action |
| - | - | - | - |
| "We couldn't load the QR code." | Could not be issued | `GET …/account/{id}/redemption` | **Try again** |

## Why it works this way

![Redemption: the customer opens the QR, the merchant scans it in MaihueGO Partner, the server checks it is available and within its window, marks it used and the portal shows the confirmation.](https://mintcdn.com/bbrands/w6DX1nTsRjzB7VQp/images/portal-customer-manual/club-redeem-process.svg?fit=max\&auto=format\&n=w6DX1nTsRjzB7VQp\&q=85\&s=8337afb23ff107f4e58567dd192d86de)

How a coupon is redeemed

The QR and security code are personal and single-use, so the merchant knows the benefit is valid without asking the customer for data.

## Technical detail

| Aspect | Detail |
| - | - |
| Component | `coupon-qr-modal.tsx` |
| API | `GET /api/v3/code/coupon/account/{id}/redemption` → `qr_url`, `redemption_code`, `status` |
| Merchant | MaihueGO Partner, `maihuego-link` |

## FAQ and support cases

> [accordion] The venue says the code does not work
>
> Check the coupon is available and within its valid days; if it expired, it cannot be used.

> [accordion] It was redeemed by mistake
>
> Maihue can reverse the redemption within 48 hours from Horizon Enterprise.

## Related and history

* [My coupons](https://docs.bbrands.io/portal-customer/club/my-coupons.md)

| Date | Change |
| - | - |
| 2026-11-10 | First version |


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