Totals are scoped to the profile’s region
The totals (reward_balance, credit_balance, point_balance, point_balance_dollars, benefit_balance, combined_balance_dollars) are what the Profile can spend in their active region. They include:
- Incentives issued by a Definition in the Profile’s region
- Incentives issued by a Definition that names no region
Response fields
The regions breakdown
Every region in the tenant is listed, whether or not the Profile holds anything there, so you can render the same rows for every Profile. The final entry has region: null and holds the Incentives whose Definition names no region.
The entries do not add up to the totals. The totals equal the Profile’s own region entry plus the entry with no region. The sum of every entry is everything the Profile holds, including Incentives from other regions that they cannot spend where they are.
Currency conversion
The totals are in the currency of the Profile’s region. A Profile with no active region, or in a region with no currency, has totals in the tenant’s default currency. Passing thecurrency query parameter converts from that base currency to the requested one using the configured exchange rate for that pair. For example, ?currency=NZD for a Profile in a GBP region uses the GBP to NZD rate.
Related
- Localisation
- Points
- Rewards
- Credits
- Event contexts for the
balance.updatedpayload