Xsolla-logo
前往发布商帐户

Overview

  • 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:

Interaction between app and Xsolla

Limitations

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).

How to set it up

Note

To enable Event API in your project, contact your Customer Success Manager or email at csm@xsolla.com or integration@xsolla.com.

  1. In your project in Publisher Account, go to the Settings > Integration settings section.
  2. Click Use API.
  3. 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.

Set up in Publisher Account

Note

The Xsolla Event API support is also available in the following Xsolla SDKs: