# Refunds

Call `startRefund()` to process a referenced refund against a previous transaction.


```swift
finixClient.startRefund(
    transactionID: String,
    amount: Currency,
    completion: ((RefundResponse?, Error?) -> Void)?
)
```

| Parameter | Type | Required | Description |
|  --- | --- | --- | --- |
| `transactionID` | `String` | Yes | The ID of the original transaction to refund. |
| `amount` | `Currency` | Yes | Amount to refund in cents. Cannot exceed the original transaction amount. |
| `completion` | `((RefundResponse?, Error?) -> Void)?` | No | Called with the refund result or an error. |


## Completion Handler

| Parameter | Trigger |
|  --- | --- |
| `RefundResponse` | Refund approved. Contains the refund details. |
| `Error` | Refund failed. Check `error.localizedDescription` for details. |