Get token

Implement obtaining a token if you want authorized users to make purchases in your application.

A token is a string that includes data about a game, user, and purchase parameters. You can obtain a token when creating an order using API calls from the Payment group.

To implement the logic of purchasing items inside your application, you can use:
  • Ready-to-use Xsolla solution — Payments. This solution includes comprehensive configuration of user authentication, in-game store, and the payment UI on Xsolla’s side. Refer to the integration guide to set it up.
  • In-Game Store product. Refer to these instructions for selling items to set it up.
Your progress
Thank you for your feedback!
Last updated: December 14, 2022

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!