Linking Xsolla as a source
Alpha release
This source is currently in alpha. The interface and available tables may change.
Let AI connect your sources for you
Skip the manual setup — run this in your project and the wizard auto-detects your databases and APIs and connects them to PostHog.

The Xsolla connector syncs your payment and subscription data into PostHog, including transactions, subscriptions, payouts, reports, promotions, projects, and per-project subscription details.
Prerequisites
You need an Xsolla merchant account with:
- Merchant ID – Find it in Publisher Account under Company settings > Company.
- Company API key – Create one in Publisher Account under Company settings > API keys. Use a company API key, not a project API key, because project keys cannot read merchant-level reports.
Adding a data source
- In PostHog, go to the Data pipeline page and select the Sources tab.
- Click + New source and then click Link next to Xsolla.
- Enter your Merchant ID (a numeric value, e.g.
123456). - Enter your API key (the company API key from Publisher Account).
- Click Next.
- Select the tables you want to sync, set the sync method and frequency, then click Import.
PostHog validates your credentials by calling the Xsolla API. If validation fails, check that the merchant ID is numeric and that you're using a company API key.
Configuration
| Option | Type | Required |
|---|---|---|
Merchant ID | text | Yes |
API key | password | Yes |
Supported tables
| Table | Description | Sync method | Incremental field | Primary key |
|---|---|---|---|---|
transactions | Payments made in your games, including payments that did not complete. | Incremental, Full refresh | create_date |











