DHDemo Operator Platformdemo.igamingaffiliatehub.com
Internal API docs

Demo Operator Platform API

These endpoints are for demo lifecycle testing only. Webhook payloads include playerId, affiliateId, clickId, amount, gameType, turnover, GGR, NGR, eventType, source, and demoOnly where applicable.

Registration

POST /api/register

{
  "email": "player@example.test",
  "password": "DemoPlayer123!",
  "affiliateId": "aff-42",
  "clickId": "clk-abc"
}

Deposit

POST /api/wallet/deposit

{
  "playerId": "player_cuid",
  "amount": 50
}

Withdrawal

POST /api/wallet/withdrawal

{
  "playerId": "player_cuid",
  "amount": 20
}

Bet

POST /api/events

{
  "eventType": "bet",
  "playerId": "player_cuid",
  "affiliateId": "aff-42",
  "clickId": "clk-abc",
  "amount": 10,
  "gameType": "SLOT",
  "turnover": 10
}

Win

POST /api/events

{
  "eventType": "win",
  "playerId": "player_cuid",
  "amount": 25,
  "gameType": "BLACKJACK",
  "turnover": 10,
  "GGR": -15,
  "NGR": -15
}

Player activity

POST /api/events

{
  "eventType": "player_activity",
  "playerId": "player_cuid",
  "gameType": "SPORTSBOOK",
  "turnover": 10,
  "GGR": 2,
  "NGR": 2
}