> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xpaycheckout.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Refunded

> This event indicates that a payment intent has been successfully refunded.

```json theme={null}
{
  "eventId": "whe_fooD944t4VUKkaDT",
  "eventType": "intent.refunded",
  "eventTime": 1729608043615,
  "intentId": "in_fooBOwYsaK50AEfK",
  "receiptId": "recp_123311",
  "refundId": "rf_fooBOwYsaK50AEfi",
  "refundReferenceId": "re123",
  "status": "REFUNDED",
  "amount": 10000,
  "currency": "USD",
  "metadata": {
    "orderId": "12345",
    "customerNote": "Deliver after 5 PM"
  }
}
```

**eventId** `string`

&#x20;

A unique identifier for this specific event. This ensures that each event can be
tracked and processed individually.&#x20;

**eventType** `string`

&#x20;

Describes the type of event. In this case, it signifies that a payment intent has
been successfully refunded.&#x20;

**eventTime** `integer`

&#x20;

The timestamp when the event was generated, typically in milliseconds since the
Unix epoch (January 1, 1970). This value can be used to track when the event occurred.&#x20;

**intentId** `string`

&#x20;

A unique identifier for the specific payment intent that was refunded. This ID
ties the event back to the transaction or payment process that triggered the refund.&#x20;

**receiptId** `string`

Your identifier of the order.

**refundId** `string`

&#x20;

A unique identifier for the specific refund that triggered this event. This ID
ties the event back to the refund record so you can correlate it directly.&#x20;

**status** `string`

&#x20;

Represents the current status of the payment intent. For this event, the status
will be `REFUNDED`.&#x20;

**refundReferenceId** `string`

Your identifier for the refund.

**amount** `integer`

&#x20;

The refunded amount for the transaction, typically expressed in the smallest unit
of the currency. Here, 10000 represents 100.00 USD (because USD typically uses
two decimal places).&#x20;

**currency** `string`

&#x20;

The currency used for the refunded transaction. In this case, it is United States
Dollars (USD).&#x20;

**metadata** `object`

A collection of key-value pairs that were provided when the object was
created. These metadata values are echoed back in the response, allowing you
to store and retrieve custom information such as context-specific attributes,
references, or tags. This can be useful for correlating records in your system
or attaching meaningful context to transactions.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.