---
title: "RefundUpdated"
method: POST
path: "refundUpdated"
tags: ["Webhook Topics"]
---

# RefundUpdated

`POST refundUpdated` (webhook)

## Payload

- object
  - `id` string, uuid, required: Unique identifier for the object.
  - `type` 'WebhookEvent', required
  - `attributes` object, required
    - `id` string, uuid, required: The webhook event ID
    - `topic` string, required: The webhook topic/event type
    - `clientId` string, uuid, required: The client ID associated with this webhook event
    - `userId` string, uuid: The user ID associated with this webhook event (if applicable)
    - `walletId` string, uuid: The wallet ID associated with this webhook event (if applicable)
    - `updatedAt` string, date-time, required
    - `createdAt` string, date-time, required
  - `relationships` object, required
    - `event` object
      - `data` object, required: The related event resource (PaymentIntent, Payment, Refund, Capture, or ApplicationEvent)
        - `id` string, uuid, required
        - `type` string, required
  - `included` object[], required
    - `id` string, uuid, required: Unique identifier for the object.
    - `type` 'Refund', required
    - `attributes` object, required
      - `status` 'Failed' | 'Pending' | 'Sent' | 'Waiting': The current status of the refund.
      - `amount` integer: The amount refunded, represented in the smallest currency unit (e.g., cents for USD). To obtain the value in dollars, divide by 100.
      - `message` string: A human-readable message describing the refund status or outcome.
      - `reference` string, nullable: Reference inherited from the parent Payment. This is not a direct field on the Refund entity.
      - `charges` object: Charges applied to this refund.
        - `fee` object: Processing fee details for this refund
          - `amount` integer, required: Fee amount in cents
          - `type` string, required: Fee type identifier. For refunds, this is `pay_by_wallet_refund`.
        - `rewards` integer: Rewards amount. Always 0 for refunds (rewards are not applicable to refunds).
      - `deductions` object: Legacy charges breakdown. Use `charges` instead.
        - `rewards` integer, required: Rewards amount. Always 0 for refunds.
        - `fees` integer, required: Processing fees charged for this refund, in cents. Same value as `charges.fee.amount`.
      - `id` string, uuid
      - `updatedAt` string, date-time, required
      - `createdAt` string, date-time, required

## Acknowledgement `200`

Return a 200 status to indicate that the data was received successfully

---

[API](https://skmtc.dev/byaccrue/apis/accrue-merchant-api.md) - [All operations](https://skmtc.dev/byaccrue/apis/accrue-merchant-api/llms.txt) - [OpenAPI document](https://skmtc.dev/byaccrue/apis/accrue-merchant-api/revisions/3e2d97ef2e6e?raw)
