> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Microsoft Store service APIs for game commerce

> Reference for Microsoft Store service APIs used by game services: b2bLicensePreview, product queries, consumables, clawback, refunds, and subscription changes.

Documentation for microsoft store APIs.

> **[Microsoft store service APIs](https://docs.xbox.com/reference/microsoft-store-apis/xstore-nav.md)**
>
> This section lists technical reference articles for Microsoft Store service APIs used by game services.

> **[Purchase.mp.microsoft.com/v8.0/b2b/order](https://docs.xbox.com/reference/microsoft-store-apis/xstore-v8-clawbackv1.md)**
>
> Instead, use the Clawback event service as outlined in Managing refunds and chargebacks from your service./Note

> **[Purchase.mp.microsoft.com/v8.0/b2b/clawb](https://docs.xbox.com/reference/microsoft-store-apis/xstore-v8-clawbackv2-sastoken.md)**
>
> This endpoint generates an SAS token to authenticate and access your Clawback event message queue.

> **[Collections.mp.microsoft.com/v8.0/collec](https://docs.xbox.com/reference/microsoft-store-apis/xstore-v8-consume.md)**
>
> Use the Consume API to manage these Microsoft Store consumable types:

> **[Purchase.mp.microsoft.com/v8.0/purchases](https://docs.xbox.com/reference/microsoft-store-apis/xstore-v8-grant.md)**
>
> Use the Microsoft Store purchase API to grant a free app or add-on to a user's account.

> **[Collections.mp.microsoft.com/v8.0/collec](https://docs.xbox.com/reference/microsoft-store-apis/xstore-v8-query-for-products.md)**
>
> The b2bLicensePreview API allows your own services to query for a user's products and entitlements.

> **[Purchase.mp.microsoft.com/v8.0/b2b/recur](https://docs.xbox.com/reference/microsoft-store-apis/xstore-v8-recurrence-change.md)**
>
> This endpoint is used to change the billing state of the user's subscription product in the Microsoft Store.

> **[Purchase.mp.microsoft.com/v8.0/b2b/recur](https://docs.xbox.com/reference/microsoft-store-apis/xstore-v8-recurrence-query.md)**
>
> This endpoint queries subscription product status for a user in Microsoft Store.

> **[Collections.mp.microsoft.com/v9.0/collec](https://docs.xbox.com/reference/microsoft-store-apis/xstore-v9-query-for-products.md)**
>
> publisherQuery allows your own services to query a user's products and entitlements including their XBOX Game Pass subscription status.


## Related topics

- [Microsoft Store Service APIs (contents)](https://docs.xbox.com/reference/microsoft-store-apis/xstore-nav.md)
- [Authenticating your service with the Microsoft Store APIs](https://docs.xbox.com/publishing/xstore-commerce/xstore-authenticating-service.md)
- [GDK Commerce Systems Overview](https://docs.xbox.com/publishing/xstore-commerce/xstore-commerce-overview.md)
- [Requesting a User Store ID for service-to-service authentication](https://docs.xbox.com/publishing/xstore-commerce/xstore-requesting-userstoreid.md)
- [Handling mismatched store account scenarios on PC](https://docs.xbox.com/publishing/xstore-commerce/xstore-mismatched-accounts.md)
