Skip to documentation
GAME_ALLIGATOR
ProductsGamificationIntegrationDemos
Let’s talk
ProductsGamificationIntegrationDemos
Let’s talk
Integration
OverviewGuidesAPI referenceResources
Integration overview
Integration architectureFundamentalsGetting startedCertification
Products
Aggregation
Part I · Fundamentals
Core flowRequest & signingEnvelope, money and data formatsErrors: one modelIdempotency & retriesRate limits, pagination, networkMoney Path Rules
Part II · Operator API
Getting startedGames APIWallet APIFree rounds APIReports APIFeatures APIEvent stream
Part III · Certification
Run the checks from the Operator PortalThe command-line tool (for your CI)The checklistCertification checklist
Part IV · Changelog and status
ChangelogDocument ControlChangelog & migration guide: Operator API v2
Appendix
Numbers to rememberWhole guide on one page
API reference
Get player balanceAuthenticate player sessionDebit player balance (bet)Credit player balance (win/bonus)Atomic debit and creditRollback transactionClose game roundSettle free-round grantReconcile uncertain transactionNon-financial notificationgetCapabilitieslistGamesupdateGamelaunchGamelaunchDemocloseSessionlistSessionslistRoundsexportRoundsgetAggregatesissueGrantlistGrantscancelGrantsubscribeackgetOperatorCapabilitiesgetGameFeatureslistBonusBuyTypesissueBonusBuycancelBonusBuygetJackpotsgetBetRangesgetRoundReplaygetRoundDetailslistCampaignscancelCampaignqueryProviderTransactionslistTournamentsgetTournamentgetLeaderboard
Gamification
Integration
Quick startWidgets on your siteSigned-in playersLaunching gamesGameplay eventsTransportsOutcomes and your obligationsGame cataloguesRewardsOnboarding and go-liveReasons, numbers, currencies
Poker
Integration
OverviewEmbed the poker clientServer APIEvents and webhooks
llms-full.txt
Start here
Aggregation / Part I · FundamentalsCore flow

Game Alligators (GA) puts game studios' games into your casino. Traffic runs in two directions, each with its own key pair. Don't mix them. Direction Who calls whom What it's for Key you use Chapter You → GA You call https://api.rexplay.sit

Aggregation / Part I · FundamentalsRequest & signing

Every call GA sends to your wallet looks like this: http POST /v2/wallet/debit HTTP/1.1 Host: wallet.operator.example Content Type: application/json X API Key Id: key live 01 X Request Id: 0198a1d0 9a30 7f08 a7dd 713e4fd33db0 Idempotency Ke

Aggregation / Part I · FundamentalsEnvelope, money and data formats

Every wallet request has the same outer shape. payload is the action specific part and the per call ids live in payload.meta . json { "request id": "0198a1d0 9a30 7f08 a7dd 713e4fd33db0", "ts": "2026 09 13T12:00:00Z", "operator id": "0197aa

Aggregation / Part I · FundamentalsErrors: one model

Your wallet's codes are Appendix A.1. What GA returns to you is Appendix A.2. Every error from /v2/aggregator/ and /v2/features/ has a non 200 HTTP status and one JSON body, Content Type: application/json : json { "code": "ERROR CODE MAINTE

Aggregation / Part I · FundamentalsIdempotency & retries

Certification tests these hardest. Build them in from day one. The full normative text is in Money Path Rules. Keep every op id with its stored answer for at least 4 months . GA resends for 72 hours, and the margin covers reconciliation dis

Aggregation / Part I · FundamentalsRate limits, pagination, network

Your wallet must answer within 5 seconds per call (§2.7). Aim for well under 1 second. GA doesn't filter your source IP on the Operator API. If you restrict inbound traffic to your wallet, allow GA's outbound addresses: 49.13.169.177 and 46

Aggregation / Part I · FundamentalsMoney Path Rules

The rules below govern the v2 wallet contract when a call goes wrong. The cases are a timeout, a duplicate, a rollback of an operation you never saw, and a win that arrives after the session closed. They're additive: GA removes or renames n

Aggregation / Part II · Operator APIGetting started

1. Get sandbox credentials. Email [integration@gamealligator.com](mailto:integration@gamealligator.com). You receive an operator profile with operator id , the Operator API key pair, and a login to https://operator.rexplay.site . There you

↑ ↓ navigate↵ openesc close
  1. Home
  2. /Integration
  3. /Aggregation
  4. /Free rounds API
Aggregation

Free rounds API

MarkdownSource

Free rounds you issue

POST /v2/aggregator/issue_grant

FieldRequiredMeaning
player_ref, game_ids[]yesWho and on which games.
rounds_totalyesNumber of free rounds.
round_valueyesStake value of one round (Money).
bet_level, linesnoProvider bet level and lines, from get_bet_ranges (§6.1) where the game has levels.
settlement_modenoGA supports only SETTLEMENT_MODE_ON_COMPLETION. Leave it out.
idempotency_keyrecommendedThe same key returns the same grant. GA refuses a different body under the same key with IDEMPOTENCY_CONFLICT. Without a key every call creates a new grant.
valid_untilyesHard end date. GA refuses rounds after it.
external_refnoYour campaign or bonus id.

Response: Grant with grant_id, status (active, exhausted, expired, cancelled, settled), rounds_remaining, rounds_played, accumulated_win.

How the money flows for a grant you issued: no bet and no win reaches your wallet while the player plays the rounds. The win accumulates on the grant. When the grant is exhausted, expired, or cancelled with a win, GA sends one settle_grant to your wallet with total_win, and that’s when you credit the player (§5.9). GA also settles a zero-win grant, with total_win: 0.

list_grants (by player_ref and status) and cancel_grant (grant_id, reason) complete the set. You can cancel only an active grant, and GA still settles the win already earned.

Reference

  • POST /v2/wallet/settle_grant — Settle free-round grant: parameters, errors, code samples, try it
  • POST /v2/aggregator/issue_grant — issueGrant: parameters, errors, code samples, try it
  • POST /v2/aggregator/grants — listGrants: parameters, errors, code samples, try it
  • POST /v2/aggregator/cancel_grant — cancelGrant: parameters, errors, code samples, try it
PreviousWallet APINextReports API
Integration support: integration@gamealligator.comIntegration center
On this page
Free rounds you issueReference
↑ Back to top