> ## Documentation Index
> Fetch the complete documentation index at: https://wpay-feat-edp-guide.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Payload

The payload for a webhook is a single event referencing a resource that has recently changed.

<CodeGroup>
  ```json Transaction
  {
      "type": "event",
      "id": "347901e1-8b53-42a4-951b-ec546a5078f1",
      "created_at": "2012-12-12T10:53:43+00:00",
      "merchant_account_id": "default",
      "target": {
          "type": "transaction",
          "id": "795c27e9d-6cc3-40f6-a359-1355c434c30d",
      }
  }
  ```

  ```json Payment method
  {
      "type": "event",
      "id": "347901e1-8b53-42a4-951b-ec546a5078f1",
      "created_at": "2012-12-12T10:53:43+00:00",
      "merchant_account_id": "default",
      "target": {
          "type": "payment-method",
          "id": "8d29457b-683a-49c4-8afd-800cd7117236"
      }
  }
  ```

  ```json Refund
  {
      "type": "event",
      "id": "347901e1-8b53-42a4-951b-ec546a5078f1",
      "created_at": "2012-12-12T10:53:43+00:00",
      "merchant_account_id": "default",
      "target": {
          "type": "refund",
          "id": "c88fcbc0-8070-481c-87e3-6c4d4a5c9219",
          "transaction_id": "795c27e9d-6cc3-40f6-a359-1355c434c30d"
      }
  }
  ```

  ```json Reports
  {
      "type": "event",
      "id": "347901e1-8b53-42a4-951b-ec546a5078f1",
      "created_at": "2012-12-12T10:53:43+00:00",
      "merchant_account_id": "default",
      "target": {
          "type": "report-execution",
          "id": "8d29457b-683a-49c4-8afd-800cd7117236"
      }
  }
  ```

  ```json Gift card
  {
      "type": "event",
      "id": "347901e1-8b53-42a4-951b-ec546a5078f1",
      "created_at": "2012-12-12T10:53:43+00:00",
      "merchant_account_id": "default",
      "target": {
          "type": "gift-card",
          "id": "00c6b82d-46d7-4d0c-b015-3f03a29b7a81"
      }
  }
  ```
</CodeGroup>

We currently send events for the following resources.

* Transaction status changes
* Payment method updates
* Refunds status changes
* Reports executions updates
* Gift card updates
