Hello, good day and thanks for your question. Sorry to know about this and I understand that you are checking with regards to requesting for a refund.
If you are referring to the purchase that you made from the Microsoft Store, you may try to check and see if you will be able to request and be granted of a refund as "Some Products are not eligible for return or refund; unless otherwise provided by law or by a particular offer, all purchases of these types of Products are final and non-refundable. Products ineligible for return and refund include, but are not limited to, the following:"
Digital apps, games, in-app content, in-app subscriptions, movies, TV shows, and associated content except Digital Game Products and Microsoft Subscription Services.
Third-Party subscription services billed through Microsoft.
gift cards and service/subscription cards (e.g., Skype, Xbox Live)
products that have been personalized or customized
special order products, if not part of a Store promotional offering.
random access memory ("RAM") products.
services that have been performed or consumed.
clearance items or those marked with a designation such as "Final Sale" or "Non-Returnable".
Reference links: https://support.microsoft.com/en-us/account-billing/get-a-refund-on-apps-and-games-bought-from-microsoft-81629012-aa4f-f48b-2394-8596f415072b
https://www.microsoft.com/en-us/store/b/terms-of-sale
First, check if you will be able to request for a refund via https://account.microsoft.com/billing/orders and second open the link below on a browser and try to go through the refund process from there.
https://support.xbox.com/en-us/help/subscriptions-billing/buy-games-apps/refund-orders