Fetch transactions

GET /history/transactions

Response data is not real time and may have a delay. If an expected transaction is missing from the response it may be processing, and will not be available for some time. Transaction filters should be used as standard query parameters: GET BASE_URL/history/transactions?brandId=brand1&startTime=1723540920000&endTime=1723541020000

Headers

  • Signature string Required
  • Public-Key string Required

Query parameters

  • filters object Required
    Hide filters attributes Show filters attributes object
    • brandId string
    • endTime integer(int32) Required

      Epoch time in milliseconds. Maximum time span 7 days.

    • gameId string
    • gameRoundId string
    • page integer(int32) Required

      Minimum value is 1.

    • pageSize integer(int32) Required

      Minimum value is 1, maximum value is 200.

    • playerId string
    • startTime integer(int32) Required

      Epoch time in milliseconds.

Responses

  • 200 application/json

    Successful response

    Hide response attributes Show response attributes object
    • entries array[object]
      Hide entries attributes Show entries attributes object
      • amount number
      • brandId string
      • cashAmount number
      • country string
      • createTimestamp integer(int32)

        Epoch time in milliseconds.

      • currency string
      • freeSpinsCampaignId string
      • gameId string
      • gameRoundId string
      • isFeatureBuy boolean
      • isGameRoundFinished boolean
      • isRollbackRefunded boolean
      • jackpotAmount number
      • platform string
      • playerId string
      • referenceTransactionId string
      • resolveTimestamp integer(int32)

        Epoch time in milliseconds.

      • sessionId string
      • transactionId string
      • transactionResponseBalance number
      • transactionResponseCurrency string
      • transactionResponseStatus string

        Values are APPLIED or DECLINED.

      • transactionType string

        Values are withdraw, deposit, or rollback.

    • page integer(int32)
    • pageSize integer(int32)
    • totalPages integer(int32)
    • totalRows integer(int32)
  • 400 application/json

    Request could not be processed

    Hide response attributes Show response attributes object
    • code string

      Values are ERROR_UNKNOWN_ERROR, ERROR_BAD_REQUEST, ERROR_BAD_REQUEST_PLAYER_BLOCKED, ERROR_INVALID_SESSION, ERROR_SESSION_EXPIRED, ERROR_TRANSACTION_DUPLICATE, ERROR_TRANSACTION_WITHDRAW_NOT_FOUND, ERROR_TRANSACTION_INSUFFICIENT_FUNDS, ERROR_TRANSACTION_LIMIT_EXCEEDED, ERROR_TRANSACTION_REALITY_CHECK, ERROR_TRANSACTION_NOT_FOUND, ERROR_ROLLBACK_TRANSACTION_NOT_FOUND, ERROR_GAME_NOT_ACTIVE, or ERROR_BRAND_NOT_ACTIVE.

    • description string

      Message describing the error

    • traceId string

      Internal ID to trace the request when debugging

  • 401 application/json

    Request public key or signature is missing or invalid

    Hide response attributes Show response attributes object
    • code string

      Value is ERROR_INVALID_SIGNATURE.

    • description string

      Message describing the error

    • traceId string

      Internal ID to trace the request when debugging

  • 500 application/json

    Internal error / Unknown error

    Hide response attributes Show response attributes object
    • code string

      Values are ERROR_UNKNOWN_ERROR or ERROR_TIMEOUT.

    • description string

      Message describing the error

    • traceId string

      Internal ID to trace the request when debugging

GET /history/transactions
curl \
 --request GET 'BASE_URL/history/transactions?filters=%7B%7D' \
 --header "Signature: string" \
 --header "Public-Key: string"
Response examples (200)
{
  "entries": [
    {
      "amount": 42.0,
      "brandId": "string",
      "cashAmount": 42.0,
      "country": "string",
      "createTimestamp": 42,
      "currency": "string",
      "freeSpinsCampaignId": "string",
      "gameId": "string",
      "gameRoundId": "string",
      "isFeatureBuy": true,
      "isGameRoundFinished": true,
      "isRollbackRefunded": true,
      "jackpotAmount": 42.0,
      "platform": "string",
      "playerId": "string",
      "referenceTransactionId": "string",
      "resolveTimestamp": 42,
      "sessionId": "string",
      "transactionId": "string",
      "transactionResponseBalance": 42.0,
      "transactionResponseCurrency": "string",
      "transactionResponseStatus": "APPLIED",
      "transactionType": "withdraw"
    }
  ],
  "page": 42,
  "pageSize": 42,
  "totalPages": 42,
  "totalRows": 42
}
Response examples (400)
{
  "code": "ERROR_UNKNOWN_ERROR",
  "description": "string",
  "traceId": "string"
}
Response examples (401)
{
  "code": "ERROR_INVALID_SIGNATURE",
  "description": "string",
  "traceId": "string"
}
Response examples (500)
{
  "code": "ERROR_UNKNOWN_ERROR",
  "description": "string",
  "traceId": "string"
}