Commerce

Your game may wish to offer a variety of monetization options in addition to the base game purchase. For example:

  • Micro-transactions and in-game currency for cosmetic items
  • A curated or usage-limited trial
  • DLC expansion packs
  • Unlock-able characters, experiences, or game modes

These and others are supported by Partner Center product configuration and the use of XStore API by your title. A robust consumable economy solution may also involve setting up your own title service that calls Microsoft Store services on behalf of the player. These and other topics will be covered in the following sections.

Note

It is crucial to understand that using the XStore API requires a fully licensed context. Please review the below sections for details on how to set up to test with loose and packaged builds properly.

In this section

Getting Started
Understanding the commerce related systems and options available to your title. Included are instructions on how to configure and setup your initial products to enable commerce related development and testing.

Fundamentals
Fundamental concepts and features available for developing an in-game commerce solution.

Manage products from your services How to enable service-to-service calling patterns between your game service and the Microsoft Store Services. Also best practices and guidance on how to build a consumable management system, detect Game Pass subscriptions, reconcile refunded products, manage subscriptions, and more.

PC Specific Considerations
Commerce related information specific for PC enabled titles such as licensing options, license validation, and user account management.