The process for voiding a sale and refunding an order is the same. Whether a sale is voided or refunded depends on the status of the payment within the payment gateway.
If the payment is still unsettled (typically within 24 hours), the sale will automatically be voided.
If the payment is already settled, the sale will be refunded
