Skip to main content
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

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_card
enum<string>
required
The type of discount provided. One of: flat or percentage
string | null
required
The voucher (coupon) code linked to the claimed reward. Only included if the reward type is voucher
number | 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 voucher
string | 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 card
integer | 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 card

Example

Example