# Refund [POST] **[https://api.paiwise.com/terminalpayment/terminal-payment/refund](https://api.paiwise.com/terminalpayment/terminal-payment/refund)** \[POST\] The refund can be used on objects that has status “paid” or “partialRefund” Values
payment\_id | String | The payment\_id received when creating a terminal payment object |
amount (optional) | Int | If an amount to be refunded is not set the whole actual balance will be refunded |
reason (optional) | String | Reason of the refund. Value admitted: "duplicate", "requested\_by\_customer" or "fraudolent" |
refundDetails (optional) | String | Comments about the refund. Free text |
sent\_via (optional) (beta) | String | Notification method. Value admitted: "email" or "sms" |
sent\_to (optional) (beta) | String | To whom send notification of the refund |