If you view the payment, at the top of the page you should see the option to refund it to a bank account.
This post talks you through how to do this: Reduce Supplier Prepayment because of refund - #2 by QFMathew
I hope this helps, but if you have any further questions, please don’t hesitate to ask.