---
title: "Event reversed"
method: POST
path: "event.reversed"
tags: ["Webhook events"]
---

# Event reversed

`POST event.reversed` (webhook)

The awards a completed event issued were reversed. Scrip sends this request to every endpoint subscribed to `event.reversed`, signed with both the Standard Webhooks headers (`webhook-id`, `webhook-timestamp`, `webhook-signature`) and the `Scrip-Signature` header; verify either one.

## Payload

- WebhookEventReversed: The awards a completed event issued were reversed. This is the body of the delivery.
  - `api_version` string, required: The payload contract that `data` follows. Scrip adds fields without changing it, so ignore fields you do not know.
  - `created_at` string, date-time, required: When Scrip created the event, as an RFC 3339 timestamp.
  - `data` object, required: The payload of the event.
    - `event_id` string, uuid, required: The event the webhook is about.
    - `lines` object[], required: The accounting for each award line that was reversed.
      - `asset_id` string, uuid, required: The asset of the award line.
      - `original_journal_entry_id` string, uuid, required: The ledger entry of the original award.
      - `recovered` string, required: The amount the reversal recovered, as a decimal string.
      - `requested` string, required: The amount the reversal asked for, as a decimal string.
      - `shortfall` string, required: The amount the reversal could not recover, as a decimal string.
    - `organization_id` string, uuid, required: Your organization.
    - `program_id` string, uuid, required: The rewards program the event ran under. On a program wallet entry it is the program that owns the wallet.
    - `reversal_id` string, uuid, required: The reversal that produced this event.
    - `shortfall_policy` string, required: What Scrip does when a participant has already spent part of an award.
  - `id` string, uuid, required: The id of the webhook event. It is the same for every endpoint that receives the event.
  - `organization_id` string, uuid, required: The organization that owns the event.
  - `test` boolean: True on a delivery from a test send. It is absent on a real delivery.
  - `type` 'event.reversed', required: The event type.

## Acknowledgement `200`

Return any 2xx status to acknowledge the delivery. Scrip retries any other status except `410 Gone`, which ends the delivery as `FAILED`.

---

[API](https://skmtc.dev/scrip/apis/scrip-api.md) · [All operations](https://skmtc.dev/scrip/apis/scrip-api/llms.txt) · [OpenAPI document](https://skmtc.dev/scrip/apis/scrip-api/revisions/c52d35da8d97?raw)
