For iOS
There is no way to initiate a refund on the developer's end as all the subscriptions are managed by the Apple Store.
To cancel your subscription, please use this guideline: https://support.apple.com/en-hk/HT202039.