Coupons

View llm.txt

Last edited on 2026-07-21

Description

The Mini Program coupon API allows users to receive/view/use membership cards, tickets, and coupons (including general cards) created with the official account AppId within Mini Program. For more usage details, refer to Mini Program&Coupons Integration.

Usage Requirements

Currently, the coupon API is available only after Mini Program authentication. Please follow the guidelines for authentication.

API

Within Mini Program, you can use the wx.addCard API to add coupons to users, and wx.openCard to let users select existing coupons.