Available SDKs and libraries
Xsolla SDK
Xsolla SDK is a versatile solution for game developers that combines tools for managing in-game commerce across mobile, web, and PC games. The SDK enables seamless integration of payments into both official app store builds and versions for direct distribution channels.
Useful links:
Xsolla SDK (base API)
Xsolla SDKs with base API allow you to implement custom user interaction scenarios and configure purchase logic to meet the specific requirements of your project.
Each library contains ready-to-use data structures and client methods for working with the Xsolla API to implement the following scenarios:
- user authentication
- fetching the item catalog
- creating orders for one-click or shopping cart purchases
- opening the payment UI
- tracking order status on the client side
- purchasing subscriptions
| Name | Target platforms | Links |
|---|---|---|
| Xsolla SDK for Unity (legacy/enterprise) | Windows 64-bit (x64), macOS, Android, iOS, web. | Repository (SDK and demo project). Demo (WebGL). |
| Xsolla SDK for Unreal Engine | Windows 64-bit (x64), iOS, Android. | Repository (SDK and demo project). |
| Xsolla SDK for Cocos Creator | HTML5, WeChat Mini Games, Android, iOS. | Repository (SDK and demo project). |
An SDK is available for the Defold game engine, developed and maintained by the Defold team. It includes ready-to-use data structures and client-side methods for working with Xsolla API to retrieve the item catalog, create orders, obtain the URL to open the payment UI, and track order status. User authentication methods via Xsolla API are not included in this SDK.
This SDK supports the following platforms: HTML5, Windows, Linux, macOS, iOS, and Android.
Useful links:
Server-side and cloud tools
| Name | Description | Links |
|---|---|---|
| PHP SDK | Ready-made classes for implementing server-side logic and handling Xsolla webhooks. | |
| Extensions for BaaS | Functions for integration with PlayFab and Firebase. | Documentation. |
Functional SDKs and UI SDKs
| Name | Description | Target platforms | Links |
|---|---|---|---|
| Headless checkout | SDK for building a custom payment UI without using Xsolla Pay Station. Allows you to fully customize UI components and handle payments via WebView or browser. | Web. | Repository (SDK and demo project). Demo. |
| Ready-to-use store (Unity) | Module of Xsolla SDK for Unity (legacy/enterprise) with prebuilt UI components and core logic for fast and easy integration of Xsolla features. | Windows 64-bit (x64), macOS, web. | |
| Xsolla Login widget SDK | SDK for integrating the web-based authentication widget and working with the Login API. | Web. | Page on npm. |
| Pay Station Embed | Client-side script for integrating the Xsolla web-based payment UI widget. | Web. | Demo. |
Found a typo or other text error? Select the text and press Ctrl+Enter.