Skip to main content
WEBHOOK
The PURCHASE event indicates that a member purchased a Loyalty v2 reward.
This page documents only the event data nested under data. See Introduction to webhooks for the shared webhook structure, and Workflows webhooks for the full Workflows webhook payload.
This event can trigger a workflow when Loyalty transaction is configured with the Reward transactions group and the PURCHASE transaction type. If the workflow reaches a Webhook callout action, Voucherify sends a webhook to the action’s target URL. Workflows send this transaction in the data.trigger object. The example uses the APPROVED status. A workflow can filter the trigger by transaction status: PENDING, PROCESSING, APPROVED, REJECTED, or REFUNDED. The matched status is available in data.trigger.transaction.status; it does not create a separate event type. When a purchase is later refunded, the same PURCHASE event type is dispatched again with the REFUNDED status. Purchasing a reward also creates a separate POINTS_SPENT_ON_REWARD card transaction. That payload is not included in this event. Use the Points spent on reward event to get details about the card transaction. When the reward credits points to another Loyalty v2 card, Voucherify also creates a separate POINTS_PURCHASED transaction on the destination card. Use the Points purchased event for that payload.

Body

application/json

Event data object schema for PURCHASE.

transaction
Loyalty Reward Purchase Transaction · object
required

A Loyalty v2 reward transaction with the PURCHASE type.

Response

Webhook accepted

Last modified on September 25, 2026