> ## 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.

# Refund

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

The `REFUND` event indicates that a Loyalty v2 reward purchase was refunded.

<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 **Reward transactions** group and the `REFUND` 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. This transaction is always `APPROVED`, so a status filter on the trigger matches only that value. The status is available in `data.trigger.transaction.status`; it does not create a separate event type.

Refunding a reward also creates a separate `POINTS_RETURNED` card transaction. The original `PURCHASE` transaction is updated to the `REFUNDED` status. Those payloads are not included in this event. Use the [Points returned event](/api-reference/loyalty-transactions/card/points-returned) and the [Purchase event](/api-reference/loyalty-transactions/reward/purchase) for those details. When the original reward was loyalty card points, Voucherify also creates a separate `POINTS_PURCHASE_REVERSED` transaction on the destination card. Use the [Points purchase reversed event](/api-reference/loyalty-transactions/card/points-purchase-reversed) for that payload.


## OpenAPI

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

````