Microsoft 365 features that help users manage their subscriptions, account settings, and billing information.
Hello, good day and thanks for your question. Sorry to know about this and I understand that you have sent a gift to an account that has been compromised.
For this, you may check and login at https://account.microsoft.com/billing/orders and see if you will be able to request a refund from there as that compromised account will not be able to redeem that gift that you have sent.
In the event that the refund is not available from the above, you can reach out to the support team at https://support.microsoft.com/en-us/contactus/ and then click on Windows and then click Get Home Support and then type in Billing question and click the blue button that says Sign in to contact Support and login and proceed from there.