Skip to main content
POST
EVENTS.VOUCHER.GIFT.TRANSACTION.CREATED
The EVENTS.VOUCHER.GIFT.TRANSACTION.CREATED event indicates that a transaction has been created for a gift voucher. It provides real-time notification that the gift voucher’s balance has been increased. The following transaction types trigger the event:
  • CREDITS_ADDITION
  • CREDITS_REMOVAL
  • CREDITS_REFUND
  • CREDITS_REDEMPTION
This event is used in a webhook configured in Project settings in Voucherify dashboard.
This page documents only the event. If you need more details about the webhook payload data that includes this event, go to Introduction to webhooks page.

Body

application/json

Event data object schema for voucher.gift.transaction.created.

transaction
Voucher Transaction · object

Transaction details of the voucher.

voucher
Voucher · object

Object representing a voucher.

campaign
Simple Campaign · object

Simplified campaign data.

holder
Simple Customer · object

Details about the redeemable holder.

balance
Voucher Balance Data · object

Voucher balance data for gift vouchers

order
Simple Order · object

Order information.

redemption
Simple Redemption · object

Simplified redemption data.

rollback
Simple Redemption · object

Details about the redemption rollback. Shown only for a redemption rollback.

Response

Webhook accepted