SDK for Unity (PC, web)

Easily embed Xsolla services with this ready-to-use library for Unity applications and games.

Choose and integrate the asset

Choose the asset that suits your needs and follow the step-by-step instructions to integrate:

Game Commerce assetLogin & Account System assetCross-Buy asset
In-game store features
Virtual currency+
  • Sell any amount of virtual currency
  • Sell packages of virtual currency
  • Sell hard currency
  • Sell virtual currency and packages of virtual currency for real or virtual currency
Virtual items+
  • Set up a catalog of in-game items
  • Sell virtual items for real and virtual currency
Player inventory++
  • Get and verify inventory
  • Consume items according to game logic
  • Consume virtual currency according to in-game logics (for example, when opening a location, purchasing level for a currency)
  • Synchronize all purchases and premium rewards of the user on all platforms
Bundles+
Sell bundles for real and virtual currency
Promotional campaigns+
Manage campaigns with discounts, coupons and promo codes
Login features
Authentication+++
  • OAuth 2.0
  • Authenticate users via login and password
  • Authenticate users via social networks
  • Authenticate via Steam client
  • Authenticate users on mobile devices via native social authentication
  • Authenticate users via a device ID
User management+++
  • Manage user accounts
  • Manage access rights
  • Customize user attributes
  • Friend system
  • Cross-platform account linking
Payment UI features+
Additional features
UI builder+++
Customize colors, sprites, and fonts in the UI. For details, see How to use SDK to configure application UI.
Battle pass+
A ready-made version of the battle pass implementation that you can adapt for your application. For details, see How to implement battle pass in application.
IntegrateIntegrateIntegrate
Notice

Game Commerce asset includes Login & Account System and Cross-Buy assets. You do not need to install them separately.

Login & Account System and Cross-Buy assets will be deprecated in April 2022. You can continue to use them, but they will not be updated and supplemented with new features. It is recommended to switch to the Game Commerce asset. It contains all the classes and methods needed to work with Xsolla products.

Get started with SDK basics

Follow the step-by-step tutorials to get going:

Authentication

Purchase management

Set up your application

Learn about advanced features from the how-tos:

Contact our integration team

Click the chat icon in the bottom right corner and contact the integration team via a messenger. We’ll answer you in real time and will help to resolve the problem.

Was this article helpful?
Thank you!
Is there anything we can improve? Message
We’re sorry to hear that
Please explain why this article wasn’t helpful to you. Message
Thank you for your feedback!
We’ll review your message and use it to help us improve your experience.
Last updated: October 10, 2023

Found a typo or other text error? Select the text and press Ctrl+Enter.

Report a problem
We always review our content. Your feedback helps us improve it.
Provide an email so we can follow up
Thank you for your feedback!