Event ID after which the list is retrieved.
Xsolla event API (2.0)
- Version: 2.0.0
- Servers:
https://getupdate.xsolla.com/
The Xsolla Event API is an alternative to using webhooks. It allows you to receive information about payment events directly from your application's client via requests to Xsolla’s server. This approach eliminates the need to set up and maintain your own server for handling webhooks.
Interaction between your application and Xsolla:
When you use the Event API:
- You can’t reject operations, e.g., payments — all events are automatically considered approved.
- You can’t use webhooks — the Event API and webhooks are incompatible integration options.
Comparison of the main features:
| Feature | Webhooks | Event API |
|---|---|---|
| Request initiator | Xsolla’s server. | Your application’s client. |
| Infrastructure | You need your own server. | You don’t need your own server. |
| Event handling | On your server. | On your application’s client. |
| Operation rejection | Supported. | Not supported (all events are automatically considered approved). |
Note
To enable Event API in your project, contact your Customer Success Manager or email at csm@xsolla.com or integration@xsolla.com.
- In your project in Publisher Account, go to the Settings > Integration settings section.
- Click Use API.
- In the modal window that opens, enter the project ID and click Use API.
Notice
Switching to the events API will automatically disable previously configured webhooks, and they will no longer be sent to your server.

Note
The Xsolla Event API support is also available in the following Xsolla SDKs:
Payment token. Used if you didn’t pass the user JWT token.
- Mock serverhttps://xsolla.redocly.app/_mock/api/event/events
- https://getupdate.xsolla.com/events
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://xsolla.redocly.app/_mock/api/event/events?after_id=0&types=string&token=string' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'{ "events": [ { … } ] }
- Mock serverhttps://xsolla.redocly.app/_mock/api/event/events/{event_id}/processed
- https://getupdate.xsolla.com/events/{event_id}/processed
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://xsolla.redocly.app/_mock/api/event/events/{event_id}/processed' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'