How to refund a payment to a customer?

On cancellation of an order, the refund of payment to the customer is initiated automatically by the system.

...