We have an app hosted in Microsoft store. We want to,
Access the subscription/in-app purchase information of the app from backend using java/springboot
What are the MS Store Rest APIs that we can use to validate or communicate.
As we are doing this for first time any pointers or code sample will be absolutely halpful. Thanks in advance.
You can use the Microsoft Store collection API and Microsoft Store purchase API to access entitlement information for these products from your services. These APIs consist of REST methods that are designed to be used by developers with add-on catalogs that are supported by cross-platform services. For example, Microsoft Store collection API could query for products owned by a user and Microsoft Store purchase API could get subscriptions for a user.
You could learn the full process about how to use the Microsoft Store collection API and Microsoft Store purchase API here: Manage product entitlements from a service. And if you want to get the subscription information of the user, you could take a look at Get subscriptions for a user, which contains the full request example and response body.