> ## 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: detail and obtain

> A benefit’s detail, its conditions and how to obtain the coupon.

## At a glance

| Field | Value |
| - | - |
| Status | **Available** |
| Route | `/{locale}/benefits/{id}` |
| Menu | From the catalog or the Home row |
| Feature flag | `portal-customer-benefits` (default: off) |
| Who sees it | Signed-in customers; to obtain coupons they must be eligible |
| Last verified | 2026-11-10 against `develop` (`c10d24f33d`) |

## What it is for

Shows everything about a benefit: discount, conditions, valid days and use window, branches, merchant details and how it works. From here the customer accepts the terms and obtains their coupon.

## How to get there

**See details** on a catalog or Home card, or a shared link.

![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
>
> ![Detail of the 20% on your specialty coffee benefit with image, description, conditions, validity, stock, use window and the terms box.](https://mintcdn.com/bbrands/_NKN45Wilc9LnqQU/images/portal-customer-screens/club-benefit-detail/overview.en.desktop.webp?fit=max\&auto=format\&n=_NKN45Wilc9LnqQU\&q=85\&s=646a4e5d9973d39b895c32d146f08eef)

> [tab] Mobile
>
> ![Detail of the 20% on your specialty coffee benefit with image, description, conditions, validity, stock, use window and the terms box.](https://mintcdn.com/bbrands/RmQmo8S4AibSINhm/images/portal-customer-screens/club-benefit-detail/overview.en.mobile.webp?fit=max\&auto=format\&n=RmQmo8S4AibSINhm\&q=85\&s=14379d12edc15874f7594b64f19d9a8b)

| Element | What it does |
| - | - |
| **Description** / **Conditions** | What it includes and its rules |
| **Expires** / **Stock** | Validity and units ("120 available" or "Unlimited") |
| Window | "You have 2 days to use the coupon after you get it." |
| **How does it work?** | The 5 usage steps |
| **Branches** / **About the business** | Addresses with Google Maps and Waze, phone, WhatsApp and website |
| **Share benefit** | WhatsApp, e-mail or copy link |
| Box | "I accept the terms and conditions of this benefit." |
| **Get coupon** | Opens the confirmation |

## Step by step

**1. Read the benefit**

Reviews conditions, valid days and how it works.

> [tab] Desktop
>
> ![How it works section with the five usage steps.](https://mintcdn.com/bbrands/_NKN45Wilc9LnqQU/images/portal-customer-screens/club-benefit-detail/how-it-works.en.desktop.webp?fit=max\&auto=format\&n=_NKN45Wilc9LnqQU\&q=85\&s=2fa338db770563d418a4a71776146f46)

> [tab] Mobile
>
> ![How it works section with the five usage steps.](https://mintcdn.com/bbrands/RmQmo8S4AibSINhm/images/portal-customer-screens/club-benefit-detail/how-it-works.en.mobile.webp?fit=max\&auto=format\&n=RmQmo8S4AibSINhm\&q=85\&s=83312ff1ad99df52f33907a8b349334c)

**2. Accept the terms**

Ticks the benefit terms and conditions box.

**3. Get coupon**

"Confirm benefit" opens with the validity, the reserved coupon and the caps. Taps **Confirm and get**.

> [tab] Desktop
>
> ![Benefit confirmation with Valid until, Reserved coupon, Caps and the Confirm and get button.](https://mintcdn.com/bbrands/_NKN45Wilc9LnqQU/images/portal-customer-screens/club-benefit-detail/obtain-confirm.en.desktop.webp?fit=max\&auto=format\&n=_NKN45Wilc9LnqQU\&q=85\&s=5a9bc65b1893cf9b2402b486cd75c64f)

> [tab] Mobile
>
> ![Benefit confirmation with Valid until, Reserved coupon, Caps and the Confirm and get button.](https://mintcdn.com/bbrands/RmQmo8S4AibSINhm/images/portal-customer-screens/club-benefit-detail/obtain-confirm.en.mobile.webp?fit=max\&auto=format\&n=RmQmo8S4AibSINhm\&q=85\&s=ee3091dae00ebaabc38b24a87dc7d9f6)

**4. Done**

They see "Coupon added!" — You'll find it in My coupons, ready to show at the venue.

## Business rules

| ID | Rule |
| - | - |
| R-01 | The benefit terms must be accepted to obtain it |
| R-02 | The per-customer cap (per day, week, month or lifetime) shows before confirming |
| R-03 | Obtaining reserves one unit of the quota and sets the window to use it |
| R-04 | It can only be obtained on the benefit's days and hours and if the customer is eligible |
| R-05 | The benefit rules are fixed on the coupon when obtained |

## States and messages

| State | What the customer sees | Why | What to do |
| - | - | - | - |
| Obtaining | "Getting it…" | The coupon is being reserved | Wait |
| Obtained | "Coupon added!" | It is in My coupons | Go to My coupons |
| Not available | "This benefit is no longer available." | Unpublished or expired | Back to the catalog |

## Errors

| Message | Cause | Backend code | Support action |
| - | - | - | - |
| "This benefit is sold out." | No quota | `club:sold_out` | Explain the reason |
| "This benefit is sold out." | The agreement sold out | `club:agreement_sold_out` | Explain the reason |
| "This period's coupons are gone. Come back soon." | Sold out this period | `club:period_sold_out` | Explain the reason |
| "You reached the usage limit for this benefit." | Customer cap | `club:limit_reached` | Explain the reason |
| "Your wallet is full. Use one of your coupons to get another." | Full wallet | `club:wallet_full` | Explain the reason |
| "Your account can't get benefits right now." | Not eligible | `club:not_eligible` | Explain the reason |
| "This benefit is no longer available." | Unpublished | `club:not_published` | Explain the reason |
| "This benefit isn't valid today." | Outside days or hours | `club:out_of_window` | Explain the reason |
| "You must accept the terms and conditions." | Terms not accepted | `club:terms_required` | Explain the reason |
| "You'll be able to get this benefit soon. Come back in a few days!" | Obtain not enabled yet (`club-catalog-obtain`) | — | Explain the reason |

> [tab] Desktop
>
> ![Confirmation with the We could not get the coupon error for limit reached.](https://mintcdn.com/bbrands/_NKN45Wilc9LnqQU/images/portal-customer-screens/club-benefit-detail/obtain-error.en.desktop.webp?fit=max\&auto=format\&n=_NKN45Wilc9LnqQU\&q=85\&s=025a75a44392da7013c3864d4ff9656e)

> [tab] Mobile
>
> ![Confirmation with the We could not get the coupon error for limit reached.](https://mintcdn.com/bbrands/RmQmo8S4AibSINhm/images/portal-customer-screens/club-benefit-detail/obtain-error.en.mobile.webp?fit=max\&auto=format\&n=RmQmo8S4AibSINhm\&q=85\&s=28f173aa093c843864bf47b2ffe5302b)

## Why it works this way

![Obtaining a coupon: the customer accepts terms and confirms; the server checks eligibility, window, agreement, coupon and period quotas, the customer cap and wallet room; if all pass, it reserves one unit and creates the available coupon.](https://mintcdn.com/bbrands/w6DX1nTsRjzB7VQp/images/portal-customer-manual/club-obtain-process.svg?fit=max\&auto=format\&n=w6DX1nTsRjzB7VQp\&q=85\&s=951322bd52cdd3021cc8c5e7bf26f36f)

What is checked when obtaining a coupon

The checks protect the agreement with the merchant (quotas) and spread the benefits among many customers (per-customer caps).

## Technical detail

| Aspect | Detail |
| - | - |
| Components | `benefit-detail-screen.tsx`, `obtain-modal.tsx`, `terms-modal.tsx`, `share-benefit-button.tsx` |
| API | `GET …/catalog/{id}`, `POST …/catalog/{id}/obtain` (`accept_terms: true`) |
| Errors | `CLUB_OBTAIN_ERROR_CODES` (`@bbrandslab/utils/club-benefits`), `app/lib/club/obtain-errors.ts` |

## FAQ and support cases

> [accordion] They obtained the coupon and do not see it
>
> It is in My coupons, Available tab. If they switched accounts with Act as, the coupon belongs to the account they obtained it with.

> [accordion] Can they share the benefit with a friend
>
> They can share the benefit link; each person obtains their own coupon.

## 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.