How to do a subscription refund

Hello, how do you process a Roku subscription refund once provided with the customers Transaction ID?
Found this site but I don’t know what to do or where to run the scripts : https://sdkdocs.roku.com/display/sdkdoc/Web+Service+API

Thank you