Refunds should be made via the same channel that charged the customer. For online payments the payment gateway will have a portal where you can find and refund a payment.
Important
Don’t refund an online payment in Cash,
A customers could dispute and chargeback through their credit card particularly if the credit card was stolen.