Issuing a refund

How to issue a refund for a finalised transaction to a customer.