> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.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.

<CardGroup cols={2}>
  <Card title="Microsoft store service APIs" icon="store" href="/reference/microsoft-store-apis/xstore-nav">
    This section lists technical reference articles for Microsoft Store service APIs used by game services.
  </Card>

  <Card title="Purchase.mp.microsoft.com/v8.0/b2b/order" icon="rotate-left" href="/reference/microsoft-store-apis/xstore-v8-clawbackv1">
    Instead, use the Clawback event service as outlined in Managing refunds and chargebacks from your service./Note
  </Card>

  <Card title="Purchase.mp.microsoft.com/v8.0/b2b/clawb" icon="right-to-bracket" href="/reference/microsoft-store-apis/xstore-v8-clawbackv2-sastoken">
    This endpoint generates an SAS token to authenticate and access your Clawback event message queue.
  </Card>

  <Card title="Collections.mp.microsoft.com/v8.0/collec" icon="store" href="/reference/microsoft-store-apis/xstore-v8-consume">
    Use the Consume API to manage these Microsoft Store consumable types:
  </Card>

  <Card title="Purchase.mp.microsoft.com/v8.0/purchases" icon="store" href="/reference/microsoft-store-apis/xstore-v8-grant">
    Use the Microsoft Store purchase API to grant a free app or add-on to a user's account.
  </Card>

  <Card title="Collections.mp.microsoft.com/v8.0/collec" icon="tags" href="/reference/microsoft-store-apis/xstore-v8-query-for-products">
    The b2bLicensePreview API allows your own services to query for a user's products and entitlements.
  </Card>

  <Card title="Purchase.mp.microsoft.com/v8.0/b2b/recur" icon="arrows-rotate" href="/reference/microsoft-store-apis/xstore-v8-recurrence-change">
    This endpoint is used to change the billing state of the user's subscription product in the Microsoft Store.
  </Card>

  <Card title="Purchase.mp.microsoft.com/v8.0/b2b/recur" icon="store" href="/reference/microsoft-store-apis/xstore-v8-recurrence-query">
    This endpoint queries subscription product status for a user in Microsoft Store.
  </Card>

  <Card title="Collections.mp.microsoft.com/v9.0/collec" icon="rocket" href="/reference/microsoft-store-apis/xstore-v9-query-for-products">
    publisherQuery allows your own services to query a user's products and entitlements including their XBOX Game Pass subscription status.
  </Card>
</CardGroup>


## Related topics

- [Authenticating your service with the Microsoft Store APIs](/publishing/xstore-commerce/xstore-authenticating-service.md)
- [XStore commerce overview](/publishing/xstore-commerce/xstore-commerce-overview.md)
- [GDK Commerce Systems Overview](/publishing/xstore-commerce/xstore-overview.md)
- [Handling mismatched store account scenarios on PC](/publishing/xstore-commerce/xstore-mismatched-accounts.md)
- [Request a User Store ID for service-to-service auth](/publishing/xstore-commerce/xstore-requesting-userstoreid.md)
