Checkout
Checkout is a payment interface solution for partners who have their own in-game store. This solution simplifies the opening of the payment interface, so it is enough to pass the purchase price and name of the purchase in the request to receive the token. All the logic of the store’s operation is on the partner’s side.
To accept payments using a checkout, configure in one of the following ways:
- Use Xsolla Login, if you don’t have a user authorization system implemented.
- Use your own authorization system.
Note
To implement the logic of purchasing items inside your application, you can use Xsolla’s ready-made solution — the In-Game Store. In this case, you will also get a convenient interface for paying for purchases and will be able to manage the player’s inventory.
Configure using Xsolla Login
- Connect Xsolla Login.
- Implement receiving a payment token using the
Create payment token API call.
Note
To display the name and image of the purchased product in Xsolla Pay Station, pass the
purchase.items.name
and purchase.items.image_url
parameters in the request body.- Implement the opening of the payment UI on the in-game store page using the token obtained in the previous step.
- Set up webhooks.
- Set up a checkout in your Publisher Account.
Configure using your own authorization system
- Implement receiving a payment token using the
Create payment token by server API call. Pass the following parameters in the request body:user.email
— to receive a receipt by the useruser.name
— to display the username in the payment interfacepurchase.items.name
— to display the name of the purchased item in the payment interfacepurchase.items.image_url
— to display an image of the purchased item in the payment interface
- Implement the opening of the payment UI on the in-game store page using the token obtained in the previous step.
- Set up webhooks.
- Set up a checkout in your Publisher Account.
Set up checkout in Publisher Account
- Go to your Publisher Account.
- Go to Project settings > Webhooks > Checkout, and click Connect.

- Specify the parameters and click Test.

- Click Pay Station in the left-hand-side menu and go to Settings.
- Set the Checkout toggle to On.

- Click Save.
Was this article helpful?
Thank you for your feedback!
We’ll review your message and use it to help us improve your experience.Rate this page
Rate this page
Don’t want to answer
Thank you for your feedback!
Found a typo or other text error? Select the text and press Ctrl+Enter.