Response schemas
The canonical objects. Field names are the same for every provider; a field may be null.
CanonicalGame#
Returned by GET /api/v1/games.
{
"id": "2376", // pass as gameId to /api/v1/launch
"name": "Gates of Olympus",
"provider": "Pragmatic Play", // studio name
"providerCode": "PRAGMATIC_PLAY", // provider key
"image": "https://.../icon.png",
"thumbnail": null,
"symbol": "vs20olympgate",
"minBet": 1,
"maxBet": 1250,
"category": "slots", // free text, see below
"tags": ["Popular"],
"sort": 101063, // higher = show first
"branded": false,
"exclusive": false,
"isVirtual": false,
"hasTables": null,
"rtp": 96.5,
"volatility": "High", // Low | Medium | High
"maxMultiplier": 5000,
"hasDemo": true,
"hasFreespins": true,
"hasBonusBuy": false,
"megaways": false,
"aspectRatio": "16:9",
"isMobile": true,
"releasedAt": "2021-02-13",
"hasReplay": null,
"hasFreeChips": null,
"hasLobby": null,
"technology": "HTML5",
"raw": {} // source object, not stable: do not depend on it
}- Every field except
id,name,providerandproviderCodecan be null. categoryis free text. The values slots, live, table, crash, virtual, scratch and lottery are used only by SOFTGAMING. ALGNET returns names such as Live Roulette; GAME_AGGREGATOR returns the studio's own type.hasDemoandrtpare null for GAME_AGGREGATOR games, although demo launches work.rawis the source object behind this row. For GAME_AGGREGATOR, SOFTGAMING and ALGNET it is already mapped by us. It can change without notice.
CanonicalProvider#
Returned by GET /api/v1/providers?detailed=1. Without detailed the response is an array of provider keys.
{
"name": "SOFTGAMING", // use this in "provider" on /api/v1/launch
"displayName": "SoftGaming",
"group": "SoftGaming", // informational
"integration": "SOFTGAMING",
"gameCount": 0, // games open to your account right now
"subProviders": ["Evolution", "..."], // GAME_AGGREGATOR and SOFTGAMING; null for the others
"logoUrl": "https://..." // absolute, or a path on our site that may not exist: use a fallback
}CanonicalCallbackPayload#
Sent to your callbackUrl on live traffic. Validator requests use the older names. Which fields are filled depends on the provider, see fields per provider.
{
"action": "bet", // bet | win | betwin | rollback | balance | auth
"provider": "PRAGMATIC_PLAY", // provider key
"playerId": "player_123", // YOUR player id from /api/v1/launch
"providerPlayerId": "a81f3c09e2d4b7", // the provider's player id, or null (informational)
"sessionId": "clxyz1234567890",
"roundId": "round_001", // or null
"transactionId": "tx_456", // or null (rollback of the GitSlotPark family)
"refTransactionId": "tx_orig", // or null: the transaction this rollback / win refers to
"gameId": "2376", // or null; ALGNET may send a number
"amount": "-10.00", // or null; negative on some bets
"bet": "10.00", // or null, decimal string
"win": "0.00", // or null, decimal string
"currency": "TRY", // or null
"replayUrl": "https://...", // ALGNET bet / win / rollback only, when available
"freespinId": "8f3c2a..." // free-spin traffic only
// + legacy provider fields, removed after 2027-04-20
}Legacy fields#
The body also carries older, provider-specific fields. They are planned to be removed after 2027-04-20; read the canonical fields instead.
| Provider | Legacy fields |
|---|---|
All | _originalPlayerId, _sessionId |
SOFTGAMING | UserLogin, TID, betAmount / winAmount, Currency (balance only) |
ALGNET | userKey, betAmount / winAmount |
GAME_AGGREGATOR | The provider's own body: player_id, transaction_id, bet_transaction_id, round_id, game_uuid, rollback_transactions, ... |
PRAGMATIC_PLAY, PG_SOFT, AMATIC, AMUSNET | The provider's own body: userID, transactionID, refTransactionID, roundID, betAmount, winAmount, ... |
rollback_transactions has no canonical replacement yet, so keep reading it.
CanonicalError#
Found under canonical on most 400 responses, see Errors.
{
"errorCode": "INVALID_REQUEST",
"message": "gameId must be a numeric string",
"provider": "PRAGMATIC_PLAY" // optional
}Questions about your integration?Write to us with your account name and, if you have one, a sessionId or transactionId. integration@agixx.net