> For the complete documentation index, see [llms.txt](https://help.fungies.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.fungies.io/for-saas-developers/types-of-webhooks/payment-refunded.md).

# Payment Refunded

Fired when a payment has been refunded to the customer. It provides details about the refund transaction, including the refunded amount and the original payment reference. Businesses can use this webhook to update financial records, notify customers of the refund status, and provide follow-up support to resolve any issues.

<figure><img src="/files/lqPWAUXJWA10WQGQdKIB" alt="" width="563"><figcaption></figcaption></figure>

### Example of Request Payload Object (payment\_refunded)

```
{
  "id": "5e65daf0-8253-4ffb-ab54-8645465aac75",
  "type": "payment_refunded",
  "testMode": true,
  "data": {
    "user": {
      "id": "6ea05f2f-fab2-4718-bfaf-abe888798100",
      "email": "test@fungies.io",
      "object": "user",
      "username": null,
      "internalId": null
    },
    "items": [],
    "order": {
      "id": "a0671147-3eee-4e08-885c-66dc436623f2",
      "fee": 0,
      "tax": 0,
      "value": 0,
      "number": "kktRWz1FllD0WDDX",
      "object": "order",
      "status": "PAID",
      "userId": "6ea05f2f-fab2-4718-bfaf-abe888798100",
      "country": "US",
      "currency": "USD",
      "createdAt": 1732370437156,
      "totalItems": 0,
      "orderNumber": "kktRWz1FllD0WDDX",
      "currencyDecimals": 2
    },
    "payment": {
      "id": "a0671147-3eee-4e08-885c-66dc436623f2",
      "fee": 0,
      "tax": 0,
      "type": "one_time",
      "value": 0,
      "number": "kktRWz1FllD0WDDX",
      "object": "payment",
      "status": "PAID",
      "userId": "6ea05f2f-fab2-4718-bfaf-abe888798100",
      "orderId": "a0671147-3eee-4e08-885c-66dc436623f2",
      "currency": "USD",
      "createdAt": 1732370437156,
      "orderNumber": "kktRWz1FllD0WDDX",
      "currencyDecimals": 2
    },
    "customer": {
      "id": "6ea05f2f-fab2-4718-bfaf-abe888798100",
      "email": "test@fungies.io",
      "object": "user",
      "username": null,
      "internalId": null
    }
  },
  "idempotencyKey": "5e65daf0-8253-4ffb-ab54-8645465aac75"
}
```
