> ## Documentation Index
> Fetch the complete documentation index at: https://docs.voucherify.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Points spent on reward

> Event data sent for a Loyalty v2 POINTS_SPENT_ON_REWARD transaction handled by Workflows

The `POINTS_SPENT_ON_REWARD` event indicates that points were spent on a reward from a Loyalty v2 card.

<Note>
  This page documents only the event data nested under `data`. See [Introduction to webhooks](/api-reference/introduction-to-webhooks) for the shared webhook structure, and [Workflows webhooks](/api-reference/workflows-webhooks) for the full Workflows webhook payload.
</Note>

This event can trigger a workflow when **Loyalty transaction** is configured with the **Card transactions** group and the `POINTS_SPENT_ON_REWARD` 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.

Purchasing a reward also creates a separate `PURCHASE` reward transaction. That payload is not included in this event. Use the [Purchase event](/api-reference/loyalty-transactions/reward/purchase) to get details about the reward transaction. When the purchased 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](/api-reference/loyalty-transactions/card/points-purchased) to get details about the destination card transaction.


## OpenAPI

````yaml openapi-events/events-loyalty-transaction.json webhook POINTS_SPENT_ON_REWARD
openapi: 3.1.0
info:
  title: Events - Events loyalty transaction
  version: '2024-01-01'
  description: ''
servers: []
security: []
paths: {}

````