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

# Get Refund

> Get details of a specific refund

Retrieve the full details of a specific refund.

## Endpoint

`GET https://quickei.io/pay/sandbox/api/v1/refunds/{refund_id}`

## Path Parameters

<ParamField path="refund_id" type="string" required>
  The refund ID (e.g. `RF-20240115-X7Y8Z9`).
</ParamField>

## Example Request

```bash theme={null}
curl https://quickei.io/pay/sandbox/api/v1/refunds/RF-20240115-X7Y8Z9 \
  -H "Authorization: Basic {base64_credentials}"
```

## Success Response `200`

```json theme={null}
{
  "message": {
    "success": ["Refund details retrieved"]
  },
  "data": {
    "refund_id": "RF-20240115-X7Y8Z9",
    "transaction_id": "TRX-98765",
    "amount": "10.00 EUR",
    "raw_amount": 10.00,
    "currency": "EUR",
    "status": "completed",
    "reason": "Item returned",
    "reference": "RFD-2024-001",
    "created_at": "2024-01-15T16:30:00+00:00"
  }
}
```

## Response Fields

| Field            | Description                           |
| ---------------- | ------------------------------------- |
| `refund_id`      | Unique refund identifier (RF prefix)  |
| `transaction_id` | Original payment transaction ID       |
| `amount`         | Formatted refund amount with currency |
| `raw_amount`     | Numeric refund amount                 |
| `currency`       | ISO 4217 currency code                |
| `status`         | `pending`, `completed`, or `failed`   |
| `reason`         | Refund reason (if provided)           |
| `reference`      | Your internal reference (if provided) |
| `created_at`     | ISO 8601 timestamp                    |

## Error Response `404`

```json theme={null}
{
  "message": {
    "error": ["Refund not found"]
  }
}
```
