Skip to Content
Reporting APITransactions

Transactions

The bet, win and cancel calls of your casino, oldest first, a page at a time — the same rows you see in the Transaction Log of the admin panel.

Available only for a casino with Transaction Log switched on (the transaction_log field of Casinos). It is off by default; for another casino the call is answered with HTTP 403. Ask your account manager to switch it on.

Request

[POST] {PROVIDER_URL}/v2/transactions

The parameters are sent as a JSON object body. Give one of: a time window (from and to), a round_id, or a transaction_id.

ParameterTypeRequiredDescription
casino_idintegeryesyour CASINO_ID
fromstringone of the threestart of the window, Y-m-d H:i:s in UTC, inclusive
tostringone of the threeend of the window, Y-m-d H:i:s in UTC, exclusive. At most 24 hours after from
round_idstringone of the threeevery call of this game round
transaction_idstringone of the threethis transaction
user_idintegernoyour player id, narrows any of the above
actionsarraynoany of bet, win, cancel. Defaults to all three
after_idintegernonext_after_id of the previous page
limitintegernorows per page, 1–1000. Defaults to 500

Request body:

{ "casino_id": 1000, "from": "2026-11-12 00:00:00", "to": "2026-11-12 06:00:00", "limit": 1000 }

Response

Successful response will be returned as a json object.

{ "casino_id": 1000, "transactions": [ { "id": 818001, "user_id": 10000, "action": "cancel", "amount": 1.5, "currency": "EUR", "game_id": 19773, "game": "888 Dragons", "provider": "Pragmaticplay", "transaction_id": "c-1", "aborted_transaction_id": "b-1", "round_id": "r-1", "freespins_id": null, "date": "2026-11-12 08:00:00" } ], "next_after_id": 819000 }
ParameterTypeDescription
casino_idintegerthe casino asked for
transactionsarraythe transaction objects described below, oldest first
next_after_idinteger | nullpass it as after_id to read the next page. null on the last page

Transaction object

FieldTypeDescription
idintegerour id of the row, the paging key
user_idintegeryour player id
actionstringbet, win or cancel
amountfloatamount in the major currency unit, as sent in the callback
currencystringISO 4217 code
game_idintegerthe game id of Gamelist
gamestringgame name
providerstringgame studio
transaction_idstringthe transaction_id of the callback
aborted_transaction_idstring | nullon a cancel: the transaction it takes back
round_idstring | nullgame round the call belongs to
freespins_idstring | nullthe Gift Spin the round was played from
datestringtime of the call, Y-m-d H:i:s in UTC

Paging

Repeat the request with the same filter and after_id set to the next_after_id of the previous answer, until next_after_id is null.

{ "casino_id": 1000, "from": "2026-11-12 00:00:00", "to": "2026-11-12 06:00:00", "limit": 1000, "after_id": 819000 }

Each page counts against the rate limit. Use limit: 1000 for bulk downloads, and windows of a few hours on busy days.

Errors

  • HTTP 400 with the reason in message: no window and no round_id / transaction_id, only one of from and to, to not later than from, a window longer than 24 hours, a time not in Y-m-d H:i:s, an unknown actions value, a limit outside 1–1000, or a body that is not a JSON object.
  • HTTP 403: Transaction Log is not switched on for the casino, or the calling IP is not allow-listed.

See Errors for the other statuses.

Last updated on