I have created the Payment gateway and it's ok, already sending payments, etc. Now I want to all the orders that were created through this gateway to have a Custom Refund (Credit Memo) button in the System Admin panel.
This refund will send to my custom API that does the refund of my payment (in the same system, but different API endpoint).