Skip to main content
WEBHOOK
The POINTS_SPENT_ON_ORDER event indicates that points were spent on an order from a Loyalty v2 card.
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 Card transactions group and the POINTS_SPENT_ON_ORDER 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, or REJECTED. The matched status is available in data.trigger.transaction.status; it does not create a separate event type. Paying with points also creates a separate PAY_WITH_POINTS order transaction. That payload is not included in this event. Use the Pay with points event to get details about the order transaction.

Body

application/json

Event data object schema for POINTS_SPENT_ON_ORDER.

transaction
Loyalty Points Spent On Order Transaction · object
required

A Loyalty v2 card transaction with the POINTS_SPENT_ON_ORDER type.

Response

Webhook accepted

Last modified on September 25, 2026