Read member data
Overview
Use these endpoints to power loyalty widgets in your storefront, mobile app, or customer account page. All read endpoints are independent — make them in parallel for best performance.
Get current balance
Endpoint: GET https://api.brevo.com/v3/loyalty/balance/programs/{pid}/subscriptions/{cid}/balances
Response (200)
The response is an array — one entry per balance definition configured on the program.
Get current tier
Endpoint: GET https://api.brevo.com/v3/loyalty/balance/programs/{pid}/subscriptions/{cid}/tier
Response (200)
Use nextTierThreshold and currentBalance to compute the points remaining to the next tier: 500 - 340 = 160 pts to Gold.
Get available vouchers
Endpoint: GET https://api.brevo.com/v3/loyalty/balance/programs/{pid}/subscriptions/{cid}/vouchers
Response (200)
Get transaction history
Endpoint: GET https://api.brevo.com/v3/loyalty/balance/programs/{pid}/subscriptions/{cid}/transactions
Returns the full list of completed, pending, and cancelled transactions for the member.
Building a loyalty widget
A standard loyalty account widget combines three parallel calls:
Make these calls in parallel — each is independent and does not depend on the others.
Cache balance and tier responses for 30–60 seconds on high-traffic account pages. These values only change when a transaction is completed, so near-real-time staleness is acceptable for display purposes.