program_events/customer.claimed_reward
This webhook is triggered when a customer has claimed a reward.
To subscribe to this webhook, your access token needs to contain the
read_customers
scope.
This webhook is currently only triggered for voucher and gift card rewards
Payload
Customer object with the same shape as the Customers API response
Title of the reward that was claimed
Title of the reward that was claimed
The type of the claimed reward. One of: voucher
or gift_card
The type of discount provided. One of: flat
or percentage
The voucher (coupon) code linked to the claimed reward. Only included if the
reward type is voucher
The discount provided by the claimed reward as a decimal value, e.g. $5 will
be 5
. Only included if the reward type is voucher
The final four characters of the gift card applied. Only present if the claimed reward was a gift card
The currency of the gift card. Only present if the claimed reward was a gift card
The initial balance of the gift card as a decimal value, e.g. $5 will be 5
.
Only present if the claimed reward was a gift card
The current balance of the gift card as a decimal value, e.g. $5 will be 5
.
Only present if the claimed reward was a gift card