Webhook Payloads
Gift card
WEBHOOK
Body
application/json
Webhook type
Example:
"giftcard"
Event that triggered the webhook
Example:
"giftcard.requested"
Loop gift card ID, null
in the case of auto out-of-stock gift cards
Example:
12345
Total credit issued
Example:
"23.50"
Gift card value minus taxes and bonus
Example:
"25.00"
Gift card tax applied, "0.00" if no taxes applied
Example:
"0.50"
Gift card bonus credit applied, "0.00" if no bonus applied
Example:
"1.00"
Currency of the gift card values
Example:
"USD"
Loop return ID
Example:
"23456"
Customer email address
Example:
"eliza@example.com"
Customer first name
Example:
"Eliza"
Customer last name
Example:
"Strawberry"
External order ID
Example:
1234567890
External order name
Example:
"#2234"
External order number
Example:
1234
Response
200
Return a 200 status to indicate that the data was received successfully