# 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\_idStringThe payment\_id received when creating a terminal payment object
amount (optional)IntIf an amount to be refunded is not set the whole actual balance will be refunded
reason (optional)StringReason of the refund. Value admitted: "duplicate", "requested\_by\_customer" or "fraudolent"
refundDetails (optional)StringComments about the refund. Free text
sent\_via (optional) (beta)StringNotification method. Value admitted: "email" or "sms"
sent\_to (optional) (beta)StringTo whom send notification of the refund
[![image.png](https://wiki.paiwise.tech/uploads/images/gallery/2023-09/scaled-1680-/iUgimage.png)](https://wiki.paiwise.tech/uploads/images/gallery/2023-09/iUgimage.png)