/
v3.0.11Get access

getBalanceHistoryV2

This command retrieves a detailed ledger of all financial transactions associated with a player's account within a specified date range and transaction type

Request parameters:

Name
DescriptionTypeValuesDefaultSource
product
Specifies the product category to filter transactionsstring"Sport" / "Casino"--
to
The end of the reporting period in Unix Timestamp format. Only transactions created at or before this time are returnednumber---
from
The start of the reporting period in Unix Timestamp format. Only transactions created at or after this time are returnednumber---
type
Selected partner document typestring"bet", "betCashout", "rollbackBet", "correctionUp", "depositRequest", "payClientBonus", "correctionDown", "casinoBetWinning", "withdrawalRequest", "clientDepositFromPT", "loyaltyPointExchange", "casinoCashBackBonus", "increasingTheWinning", "decreasingTheWinning", "depositRequestPayment", "rejectedWithdrawalRequest", "withdrawalRequestPayment", etc.-
Key from responseget_partner_document_types
currencyId
The unique identifier for the specific currency wallet to be filtered. This value should match the currency IDs returned from the get_secondary_wallets callstring"TUS", "FTN", "BTC", "LTC", "ETH"-
Key from responsecurrency
This method is usually used with these methods:

Call example:

getBalanceHistoryV2({
  type: 'bet',
  from: 1610308800,
  to: 1610999999
})

Response examples:

{
  code: 0,
  rid: '161096285867755',
  data: {
    result: 0,
    result_text: null,
    details: [{
      Amount: -1,
      DocumentId: 26205906215,
      TransactionId: 52803434791,
      DocumentTypeId: 0,
      DocumentTypeName: 'Bet',
      Balance: 14.07,
      Created: 1610962799,
      Game: 'SportsBook',
      PaymentSystemId: null,
      PaymentSystemName: null,
      ProductCategoryId: 1,
      Product: 'Betting',
      BuddyId: null,
      BuddyLogin: null,
      ThirdPartyId: null
    }]
  }
}

Response parameters:

NameDescriptionTypeValues
Amount
Soonnumber-
DocumentId
The internal unique identifier for the specific financial document/entrynumber-
TransactionId
The unique reference number for the transaction, used for tracking and support reconciliationnumber-
DocumentTypeName
Label for the transaction typestring-
Balance
The player's total account balance after this specific transaction was processednumber-
Created
Unix Timestamp representing exactly when the transaction occurredstring-
Product
Soonstring-
Game
Soonstring-
DocumentTypeId
A unique numeric code assigned to specific transaction categoriesnumber-
PaymentSystemId
Soonnumber-
PaymentSystemName
Soonstring-
ProductCategoryId
Soonnumber-
BuddyId
Soonnumber-
BuddyLogin
Soonstring-
ThirdPartyId
Soonnumber-