Depends on the gateway, but typically there will be parameters to supply API credentials to enable refunds from within CBSubs. However our Quickpay gateway does not include an implementation to refund from CBSubs.
I really need documentation (which functions and classes handles which features) for the admin payment/subsciption handling functions .
Where to find this?
In the code it self. Nearly all of CB and its plugins utilize phpdoc. Using an IDE you can review the functions available to the gateways payment class. Specifically the function refundPayment handles the refund API calls.