read_customers scope.
This webhook is currently only triggered for voucher and gift card
rewards
Payload
object
required
Customer object with the same shape as the Customers
API
response
string
required
Title of the reward that was claimed
enum<string>
required
The type of the claimed reward. One of:
voucher or gift_cardenum<string>
required
The type of discount provided. One of:
flat or percentagestring | null
required
The voucher (coupon) code linked to the claimed reward. Only included if the
reward type is
vouchernumber | null
required
The discount provided by the claimed reward as a decimal value, e.g. $5 will
be
5. Only included if the reward type is voucherstring | null
required
The final four characters of the gift card applied. Only present if the
claimed reward was a gift card
string | null
required
The currency of the gift card. Only present if the claimed reward was a gift
card
integer | null
required
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 cardinteger | null
required
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 cardExample
Example