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

# RefundRequest

> Request object for processing refunds

The `RefundRequest` object is used to specify refund details when processing a refund.

## Properties

| Field          | Type      | Required | Description                                                                                                                                                  |
| :------------- | :-------- | :------: | :----------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `refundAmount` | `integer` |     ❌    | Amount to refund in the smallest currency unit<br />**Notes:** Minimum value: 1, If omitted full refund is processed, Cannot exceed original captured amount |

## Usage

<Note>
  **Full Refund**: Omit the `refundAmount` field to refund the entire captured amount.

  **Partial Refund**: Include `refundAmount` to refund a specific amount.
</Note>

## Example - Full Refund

```json theme={null}
{}
```

## Example - Partial Refund

```json theme={null}
{
  "refundAmount": 500
}
```

## Business Rules

* Refunds can only be processed on captured payments
* Refund amount cannot exceed the captured amount
* Multiple partial refunds are allowed until the full amount is refunded
