| Name | Type | Description | Notes |
|---|---|---|---|
| invoice | string | Handle or id for invoice/charge to refund | |
| key | string | Optional idempotency key. Only one refund can be performed for the same key. An idempotency key identifies uniquely the request and multiple requests with the same key and invoice will yield the same result. In case of networking errors the same request with same key can safely be retried. | [optional] |
| amount | int | Optional amount in the smallest unit for the account currency. Either amount or note_lines can be provided, if neither is provided the full refundable amount is refunded. |
[optional] |
| text | string | Optional refund text to use on credit note. Used in conjunction with amount. Ignored if note_lines is provided. |
[optional] |
| note_lines | \Reepay\Model\CreateCreditNoteLine[] | Refund credit note lines to give detailed information for credit note. Either this or amount must be provided. |
[optional] |
| manual_transfer | \Reepay\Model\ManualRefundTransfer | Optional manual transfer. If given no refund will be performed on potential online settled transaction like card transaction. | [optional] |