Reference / @getenginex/sdk-igaming / CasinoTransaction
CasinoTransaction
Movement of a casino round (GET /games/history).
Properties
amount
amount:
number
Value in minor units of currency (the gateway sends it as text; the SDK converts).
createdAt
createdAt:
string
Movement date, ISO 8601 (UTC).
currency
currency:
string
Currency code, e.g. BRL.
currencyDecimalPlaces
currencyDecimalPlaces:
number
Decimal places of the currency (e.g. 2 for BRL), to format amount.
gameId
gameId:
string
Game id.
gameName
gameName:
string
Game name.
id
id:
string
Movement id.
roundId
roundId:
string
Round id (the bet and the prize of the same round share it).
type
type:
CasinoTransactionType
Type, e.g. bet, win.