Go to Accounts Receivable > Adjustments
Click Next
Click into the Amount field at the bottom and enter zero
This will create three transactions. That is alright because it is reversing the payment and adding a credit cash
Once you commit the Adjustment you will be able to refund the amount through a Refunds batch