The refund object is a child of the payment object.

Refund contains both the request for a refund to occur and also the response once it has been processed. By default this object does not have an application tab and is only accessed as a related list to the relevant Payment record.

Refunds are processed by Salesforce users only, typically via a Salesforce "quick action" on the payment record.

Refund functionality is dependent on the Payment Service provider but typically you can do any number of partial refunds up to the amount of the original payment. For Direct Debit refunds are possible but come with added risk as it is very easy for a customer to request a refund for a Direct Debit payment direct from their bank and as such this is normally the recommended approach.