> ## 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 服务 API

> 供游戏服务使用的 Microsoft Store 服务到服务 API 的参考文章，涵盖购买、权益、订阅以及退款回收 (clawback)。

本节列出了游戏服务使用的 Microsoft Store 服务 API 的技术参考文章。
有关规划和实施指南，请参阅[从你的服务管理产品](https://learn.microsoft.com/reference/service-to-service-nav)。

## 本节内容

[Fine Grained Rate Limiting for Microsoft Store APIs](/publishing/xstore-commerce/xstore-fgrl)
描述 Microsoft Store 服务调用的调用模式和细粒度速率限制。

[collections.mp.microsoft.com/v9.0/collections/publisherQuery](/reference/microsoft-store-apis/xstore-v9-query-for-products)
描述如何使用 publisherQuery (v9) 查询拥有的产品，包括 XBOX Game Pass 状态。

[collections.mp.microsoft.com/v8.0/collections/b2bLicensePreview](/reference/microsoft-store-apis/xstore-v8-query-for-products)
描述如何使用 b2bLicensePreview (v8) 从你的服务查询拥有的产品。

[collections.mp.microsoft.com/v8.0/collections/consume](/reference/microsoft-store-apis/xstore-v8-consume)
描述如何履行开发者管理的可消耗产品，或从 Store 管理的可消耗产品中移除数量。

[purchase.mp.microsoft.com/v8.0/b2b/orders/query](/reference/microsoft-store-apis/xstore-v8-clawbackv1)
描述用于查询已退款/已撤销的可消耗购买的旧查询方式。

[purchase.mp.microsoft.com/v8.0/b2b/clawback/sastoken](/reference/microsoft-store-apis/xstore-v8-clawbackv2-sastoken)
生成 SAS 令牌以对你的 Clawback 事件消息队列进行身份验证。

[purchase.mp.microsoft.com/v7.0/purchases/grant](/reference/microsoft-store-apis/xstore-v8-grant)
描述如何从你的服务向用户授予免费应用或加载项产品。

[purchase.mp.microsoft.com/v8.0/b2b/recurrences/query](/reference/microsoft-store-apis/xstore-v8-recurrence-query)
描述如何查询用户的订阅产品。

[purchase.mp.microsoft.com/v8.0/b2b/recurrences/{recurrenceId}/change](/reference/microsoft-store-apis/xstore-v8-recurrence-change)
描述如何更改用户的订阅计费状态。


## Related topics

- [使用 Microsoft Store API 对你的服务进行身份验证](/zh-CN/publishing/xstore-commerce/xstore-authenticating-service.md)
- [从你的服务管理订阅产品](/zh-CN/publishing/xstore-commerce/xstore-managing-subscriptions.md)
- [从你的服务管理消耗品产品](/zh-CN/publishing/xstore-commerce/xstore-managing-consumables.md)
- [Microsoft Store API 的细粒度速率限制](/zh-CN/publishing/xstore-commerce/xstore-fgrl.md)
- [为服务到服务身份验证请求 User Store ID](/zh-CN/publishing/xstore-commerce/xstore-requesting-userstoreid.md)
