Skip to main content

Codes to interpret the game data

In this article, you can find information about the codes that should be used to interpret the game and financial data received in the events and through the API.

Transaction codes

The transaction codes are presented in the article Transaction types. The f_type column shows the codes for the transaction types and the codes for the transaction sub-types can be found in the Transaction Sub-type column.

Currency codes

CurrencyCode
mt.money-0182
mt.money-02102
mt.money-03103
mt.money-04104
mt.money-05105
mt.money-06106
mt.money-07107
mt.money-08108
mt.money-09109
mt.money-10110
mt.money-11111
mt.money-12113
mt.money-13115
mt.money-14117
mt.money-15118
mt.money-16119
mt.money-1780
mt.money-1865
mt.money-1966
mt.money-2067
mt.money-2168
mt.money-2269

Card codes

RankSuitSignCode
2Clubs2c0
2Diamonds2d1
2Hearts2h2
2Spades2s3
3Clubs3c4
3Diamonds3d5
3Hearts3h6
3Spades3s7
4Clubs4c8
4Diamonds4d9
4Hearts4h10
4Spades4s11
5Clubs5c12
5Diamonds5d13
5Hearts5h14
5Spades5s15
6Clubs6c16
6Diamonds6d17
6Hearts6h18
6Spades6s19
7Clubs7c20
7Diamonds7d21
7Hearts7h22
7Spades7s23
8Clubs8c24
8Diamonds8d25
8Hearts8h26
8Spades8s27
9Clubs9c28
9Diamonds9d29
9Hearts9h30
9Spades8s31
10Clubs10c32
10Diamonds10d33
10Hearts10h34
10Spades10s35
JackClubsJc36
JackDiamondsJd37
JackHeartsJh38
JackSpadesJs39
QueenClubsQc40
QueenDiamondsQd41
QueenHeartsQh42
QueenSpadesQs43
KingClubsKc44
KingDiamondsKd45
KingHeartsKh46
KingSpadesKs47
AceClubsAc48
AceDiamondsAd49
AceHeartsAh50
AceSpadesAs51
Joker-PJ52

Pot types codes

Pot TypeCode
None0
Fixed (F)70
Pot Limit (P)80
No Limit (U)85
Scoring Method 1-6 (O, only for Chinese poker)79
Scoring Method 2-4 (T, only for Chinese poker)84
Scoring Method 2-6 (W, only for Chinese poker)87

Game types codes

Game TypeCode
Unknown0
Hold’em (H)72
Short Deck (6)54
Omaha (O)79
Omaha H/L (P)80
Stud (S)83
Stud H/L (T)84
Razz (R)82
2-7 Triple Draw (D)68
Badugi (B)66
Badeucy (E)69
Badacey (C)67
Chinese (N)78
Openface Chinese (F)70
Chinese Pineapple (I)73
Chinese 2-7 Pineapple (L)76
Chinese Turbo (U)85
Chinese OF Pineapple Progressive (M)77
Omaha 5 card (X)88
Omaha 5 card H/L71
Courchevel (Y)89
Pineapple Poker (J)74
Mixed Games (#)35
Turkish (K)75
7 Card Draw 7-A (Q)81
Points Rummy (A)65
Deals Rummy (V)86
Pool Rummy (W)87
Triton ShortDeck (Z)90
Omaha 6 card ([)91
Telesina92
Omaha 6 card H/L (])93
2-7 Single Draw (^)94
Telesina with vela95
Telesina 7-deck96
Telesina 7-deck with vela97
Callbreak98
Big299
Big2 Pool100
TeenPatti55
Custom Games34

Anti-fraud check types codes

Check typeCode
Same device1
Same IP2
Same MAC3
Chip dumping4
Colluding5
Tournament chip dumping6
Tournament colluding7
Fraudulent heads-up8
Fraudulent fold9
Tournament fraudulent fold10
Fraudulent showdown11
Tournament fraudulent showdown12
Chip dumping revision13
Tournament chip dumping revision14
Limp raise15
Tournament limp raise16
Long gaming session17

Anti-fraud incident status codes

StatusCode
OPEN1
RESOLVED2
CLOSED3
FALSE_ALARM4
REOPENED5
EXPIRED6
DUPLICATED7

Methods to close casino rounds

MethodCodeDefinition
poker_wc::CasinoRoundCloseMethod_Unknown0The method is unknown
poker_wc::CasinoRoundCloseMethod_ByPlayer1The casino round was closed by the player (normal method)
poker_wc::CasinoRoundCloseMethod_ByAdmin2The casino round was closed by the administrator
poker_wc::CasinoRoundCloseMethod_ByTimeout3The casino round was closed by timeout
poker_wc::CasinoRoundCloseMethod_Sale4The player sold his bet before the completion of the games (possible for sports bets)
poker_wc::CasinoRoundCloseMethod_Cancel5The casino round was cancelled by the provider
poker_wc::CasinoRoundCloseMethod_Reopen6The casino round was reopened. This can happen if the provider believes that the bet was not calculated correctly. In this case, he will send new amount, the system will rollback the old transaction and apply the new one, and the casino round will be closed with this method.

Spending money priority codes

Spending money priority defines the balance to take/credit money. They are two types of balances - real money balance and bonus balance. You can read more about it here.

Spending money priorityCodeDefinition
smpUnknown0Not used
smpMoneyBalanceFirst1The money is taken first from the player's real balance at the seating/for the bet, and if there is not enough money, then the rest is taken from the bonus balance. When the user leaves the table/receives the winnings from the bet, the money is returned to the bonus balance but not more than what was initially taken from the bonus balance. The rest goes to the real balance.
smpBonusBalanceFirst2The money is taken first from the player's bonus balance at the seating/for the bet, and if there is not enough money, then the rest is taken from the real money balance. The money is returned to the real balance but not more than what was initially taken. The rest is added to the bonus balance.
smpMoneyBalanceOnly3The money is taken only from the player's bonus balance at the seating/for the bet and returned to the bonus balance after leaving the table/when the player receives winnings from the bet
smpBonusBalanceOnly4The money is taken only from the player's bonus balance at the seating/for the bet. When the user leaves the table/receives winnings from the bet, the money is returned to the bonus balance, but not more than what was initially taken from the bonus balance. The rest goes to the real balance;
smpBonusBalanceOnlyNoThresholdOnReturn5Deprecated (at the moment it is a clone of smpBonusBalanceOnly)
smpMoneyBalanceFirstProportionalReturn6The money is taken first from the player's real balance at the seating/for the bet, and if there is not enough money, then the rest is taken from the bonus balance. When the user leaves the table/receives winnings from the bet, the money is returned to the balances proportionally to what was used for the seating/for the bet.
smpBonusBalanceFirstProportionalReturn7The money is taken first from the player's bonus balance at the seating/for the bet, and if there is not enough money, then the rest is taken from the money balance. When the user leaves the table/receives winnings from the bet, the money is returned to the balances proportionally to what was used for the seating/for the bet.
smpMoneyBalanceFirstProportionalReturnResetBonusPart8Not used
smpBonusBalanceFirstProportionalReturnResetBonusPart9Not used
smpGlobalSpendingMoneyPriority10Special spendingPriority value for use only from web-api or as a parameter value for table/tournament/casino/provider/casino game. It takes spending priority value from the configuration
smpBonusBalanceOnlyReturnSurplusToMoneyBalance11The money is taken only from the player's real balance at the seating/for the bet and returned to the real balance after leaving the table/when the player receives winnings from the bet but not more than what was initially taken.
smpBonusBalanceFirstReturnSurplusToMoneyBalance12The money is taken first from the player's bonus balance at the seating/for the bet, and if there is not enough money, then the rest is taken from the real money balance. When the user leaves the table/receives winnings from the bet, the money is returned to the bonus balance, but not more than what was initially taken from the bonus balance.

Mnemonic codes for hand history events

EventCode + ExampleExplanation
#####SpecialCase# 1Special case 1 occurred, unexpected in this game (caseNumber=1)
AnteAN 4 250Player at seat 4 posted ante with amount $2.50 (seatIndex=4, funds=$2.50)
BetBT 4 250Player at seat 4 made a bet with amount (seatIndex=4, funds=$2.50)
BetDealJackpotFeeTakenBDF 1 55Player at seat 4 paid $0.55 commission to jackpot prize pool
BetToRakeBR 0 50Player at seat 0 paid rake of $0.5 (seatIndex=0, rake=$0.50), used in Chinese poker
BetToWinnerBW 0 1 450Player at seat 0 sent money to player at seat 1, the amount is $4.50 (srcSeatIdx=0, dstSeatIdx=1, funds=$4.50), used in Chinese poker
BetsToPotB 100 1862All players made aa bet with overall amount of $1, the final pot at the table is $18.62 (bets=$1, pot=$18.62)
Big2PlayB2P 2 6d;7d;8dPlayer at seat 2 player with cards 6d;7d;8d
Big2SeatResultB2R 2 10Player at seat 2 completed the game with 10 points
Big2BatchStartedB2BS 2A batch of two games started (roundsCount=2)
Big2BatchFinishedB2BF 2A batch of two games is completed (roundsCount=2)
BigBlindBB 4 250Player at seat 4 posted a big blind of $2.50 (seatIndex=4, funds=$2.50)
BringInBI 4 250Player at seat 4 posted bring-in of $2.50 (seatIndex=4, funds=$2.50)
BombPotChangedBPC 3 123The state of Bomb pot was changed (state=3, ante=123). Possible states:
Off = 0
WaitGame = 1
WaitPlayers = 2
Active = 3
Canceled = 4
CallCL 4 250Player at seat 4 made a call of $2.50 (seatIndex=4, funds=$2.50)
CallBreakBidCBD 1 3Player at seat 1 selected a bid of 3 hands (he predicted to take 3 hands) (seatIdx=1, numBids=3)
CallBreakCardsRedealCCRRepeated cards dealing happened
CallBreakPlayCBP 2 33 10dPlayer at seat 2 used the card 10d with the code 33 in his turn (seatIdx=2, card=33)
CallBreakRoundResultCRR 0 -40 4 3This is the round outcome, player at seat 0 lost 4.0 points, he predicted to take 4 bids but only won 3 (seatIdx=0, pointsX10=-40, numDeclaredTricks=4, numTakenTricks=3)
CallBreakSeatResultCSR 3 74Game outcome, player at seat 3 completed the game with 7.4 points (seatIdx=3, wonPointsX10=74)
CallBreakTrickWinnerCTW 0The hand was won by the user at seat 0 (seatIdx=0)
CardToPlayerC 2 44 KcPlayer at seat 2 received the card (seatIndex=2, cardDBCode=44, cardTextCode=Kc - The King of clubs)
CardToTableD 17 6dThe card was dealt to the table (cardDBCode=17, cardTextCode=6d - The 6 of diamonds)
CardToTableLowerRowL 17 6dCard was dealt to the lower row (cardDBCode=17, cardTextCode=6d - The 6 of diamonds)
CardsForSeatDiscardedCSD 3Player at seat 3 discarded all of his cards
CashDrawnCD 3 15850Cash $158.5 was added to seat 3, it usually happens after SitDown (seatIndex=3, cash=$158.50)
ChHandResCHH 6121 6The final result of Chinese poker game for a player (playerId=6121, points=6)
ChP2PResCHR 6121 6158 6Game result for specified players in Chinese poker (playerId=6121, opponentId=6158, points=6)
ChPlrHandResCHQ 6121 2 1 4 6Game result in Chinese poker for a specified player (playerId=6121, сhineseHandType=2, points=1, bonusPoints=4, extraPoints=6, where ChineseHandType { chtNone = -1, chtFront = 0, chtMiddle = 1, chtBack = 2 })
CheckCH 3Player at seat 3 checked (seatIndex=3)
ChineseBatchCHB 1 2he number of the current batch in Chinese games
ChineseBatchFinishedCHBF 2 846, 847A batch of two Chinese games with numbers 846 and 847 is completed ((roundsCount=2, gameIds=[846, 847])
ChineseBatchStartedCHBS 2A batch of 2 Chinese games is started (roundsCount=2)
ChineseFantasyLandCHF 3 1Player at seat 3 gathered the first fantasyland (seatIndex=3, chineseFantasyLandNumber=1)
ChineseNaturalCHN 3Player at seat 3 in Chinese poker made a natural aiming to get additional bonuses (seatIndex=3)
ChinesePlayCHP 1 Qc;5s;5d 10h;6h #Player at seat 1 completed his turn and now has Qc;5s;5d in the upper row, 10h;6h in the middle row and no cards in the lower row (seatIndex=1, frontCards=Qc;5s;5d, middleCards=10h;6h, backCards=#)
ChineseSurrenderCHS 3Player at seat 3 chose to surrender (seatIndex=3)
ChineseTableLimitAppliedCHTA 2, 3Chinese poker limits were applied to players at seats 2 and 3 (seatIndexes=[2, 3])
ClosedCZTable was closed on the game server
DealerChangeDL 1 4 5Now the dealer is player at seat 1, small blind will be posted by the player at seat 4, big blind will be posted by the player at seat 5 (dealerIndex=1, SBIndex=4, BBIndex=5), there can be additional parameter SelectDealer - it shows that dealer was sleected in this hand
DeckTypeSelectedDTS 28This event shows that the deck was selected and the lower card is 28. 0 means full deck starting with 2 Clubs, 4 means that the deck starts with 3 Clubs, etc. 28 means that the deck starts with 9 Clubs.
DeclineStraddleDSR 3 0Player at seat 3 declined straddle (seatIndex=3, funds=$0)
DisconnectedDI 3 486 johnPlayer john at seat 3 disconnected from the server (seatIndex=3, playerId=486, nick=john)
DisconnectionAdditionalTimeAppliedDAT 2 6121 30 johnDisconnected player john at seat 2 received 30 additioonal seconds to act (seatIdx=2, playerId=6121, seconds=30, nick=john)
DisconnectionNoAdditionalTimeDNA 2 6121 johnDisconnected player john at seat 2 was refused in providing additional seconds to act (seatIdx=2, playerId=6121, nick=john)
DrawCardsDC 2 15;14;26;25;8 {5s 5h 8h 8d 4c}Player at seat 2 exchanged several cards and now has specified cards (seatIndex=2, cardDBCodes=[15;14;26;25;8], cardTextCodes={5s 5h 8h 8d 4c})
ExtraBlindEB 4 250Player at seat 4 posted extra-blind of $2.50 (seatIndex=4, funds=$2.50)
ExtraTimeBankAppliedET 2 6121 30 johnPlayer john at seat 2 used additonal time to act (30 seconds) (seatIdx=2, playerId=6121, seconds=30, nick=john)
FoldF 3Player at seat 3 folded (seatIndex=3)
FoldShowFS 3Player at seat 3 folded and showed his cards (seatIndex=3)
GAMEENDGE 22019085The game 22019085 is completed (gameId=22019085)
GAMESTARTGS 22019085 wsiGame 22019085 started (gameId=22019085), wsi parameter is mandatory, it shows that game events will be saved with mnemonic codes
GameTypeGT 72 FGame type and pot type, it is always specified in Mixed games right after the GAMESTART (gameType=72 - holdem, potType=F - fixed)
HideWinHW 3Player at seat 3 won the hand and decided to hide his cards (seatIndex=3)
InsuranceCommissionIC 3 0 200When pot 0 was sent to the player at seat 3, $2.00 was taken from the pot as insurance commission (seatIdx=3, potNumber=0, amount=$2.00)
InsuranceDecisionID 3 0 120 4s;7dPlayer at seat 3 insured the pot with index 0 for $1.20 from the outs 4s and 7d (seatIdx=3, potNumber=0, amount=$1.20, outs=[4s,7d], mandatory=false); if the insurance was mandatory, "mandatory" is added at the end
InsurancePaymentIP 3 1 1000Player at seat 3 received insurance payment for the insurance to the pot 1. The amount of payment is $10.00 (seatIdx=3, potNumber=1, amount=$10.00)
JackpotFeeFromWinningTakenJFW 1 55The winner at seat 1 paid jackpot commission of $0.55
JoinWaitJW 486 johnPlayer john joined the waiting list to table (playerId=486, nick=john)
LeaveWaitLW 486 johnPlayer john left the waiting list to table (playerId=486, nick=john)
LevelInfoLI 1 100 200 45This is the data about the current blind level at a tournament table (level=1, smallBlind=100, bigBlind=200, ante=45)
More timeMT 1Player at seat 1 used additional time to act before the blinds (seatIdx=1)
MuckMU 3Player at seat 3 discarded his card without showing them (seatIndex=3)
PausedPSThe table is paused
PlayerCommandPC 1 14Player at seat 1 made a command with the code 14 (seatIndex=1, cmd=14)
PlayerWonPW 0 490Player at seat 0 won the hand and took the pot (seatIndex=0, cash=$4.90)
PotToPlayerPP 2 400 0Player at seat 2 received a part of pot with index 0, the won amount is $4 (seatIndex=2, funds=$4, potNumber=0), side pot will have another index
PotToRakePR 40 0Rake of $0.40 was taken from the pot with index 0 (rake=$0.40, potNumber=0)
RabbitHuntingRH 2 120 5 7 29Player at seat 2 paid $1.20 for rabbit hunting, and the cards with the codes 5, 7, 29 were dealt to the table for him
RaiseRS 4 550Player at seat 4 raised $5.50 (seatIndex=4, funds=$5.50)
ReserveRES 3 486 johnPlayer john reserved seat 3 (seatIndex=3, playerId=486, nick=john)
ResumedREThe table is resumed
RummyBatchRBT 1 2Game 1 of 2-game batch is started (batchHandsCount=2, batchHandNumber=1)
RummyBatchFinishedRBF 2A batch of two games is completed (batchHandsCount=2)
RummyBatchStartedRBS 2A batch of two games started (batchHandsCount=2)
RummyDeadGameRDGShows that the game is 'dead' - all cards from the closed deck were taken twice and no one won
RummyDeckUpsideDownRDUShows that the cards from the open deck are put into the closed deck when no cards are left in the closed deck
RummyDeclareRDE 4 8c;9c 6d;7d;8d 10h;Kh 4s;6s;7s;8s Joker;2cPlayer at seat 4 declared his 5 groups of cards (seatIdx=4, cards=["8c;9c", "6d;7d;8d", "10h;Kh", "4s;6s;7s;8s", "Joker;2c"])
RummyDiscardRDI 1 5 3dPlayer at seat 1 discarded 3d into the open deck (seatIdx=1, card=5); if seatIdx=255, the card is simply dealt into the open deck
RummyDrawFromCloseRDC 1 5 3dPlayer at seat 1 took a card 3d from the closed deck (seatIdx=1, card=5)
RummyDrawFromOpenRDO 1 5 3dPlayer at seat 1 too ka card 3d from an open deck (seatIdx=1, card=5)
RummyDropRDR 0Player at seat 0 discarded his hand and completed the game (seatIdx=0)
RummyFinishRFI 1 5 3dPlayer at seat 1 put the card 3d into the finish slot (seatIdx=1, card=5)
RummySeatResultRSR 0 20 -20 60Player at seat 0 received 20 points for the deal, they were added as negative points -20, overall the player has 60 points (seatIdx=0, scorePoints=20, wonPoints=-20, totalPoints=60)
RunItTwiceActiveRITShows that Run It Twice mode was activated
SeatInfoS 5 5550 6158 johnInformation about the seat at the start of the game (seatIndex=5, seatCash=$55.5, playerId=6158, nick=john)
SeatPointsSP 0 6The number of points before the start for the Chinese games batch (seatIndex=0, points=6)
SharePrizeSZ 3 1Player at seat 3 decided to share the prize (1 - agreed, 0 - refused) (seatIdx=3, share=1)
ShowCardsSC 3 3d;##Player at seat 3 showed his cards. Some of the cards may be hidden, i.e. he might only show a part of his cards (seatIndex=3, cards=3d;##)
SitDownSD 3 486 johnPlayer john took seat 3 at the table (seatIndex=3, playerId=486, nick=john)
SitInSI 5Player at seat 5 returned to the game (seatIndex=5)
SitOutSO 5Player at seat 5 entered Sitout mode (seatIndex=5)
SmallBlindSB 4 250Player at seat 4 posted a small blind of $2.50 (seatIndex=4, funds=$2.50)
StandPatSPT 3Player at seat 3 did not draw his cards (seatIndex=3)
StandUpSU 0Player at seat 0 stood up from the table (seatIndex=0)
StartedSTTable is started at the game server
StraddleSR 4 250Player at seat 4 posted a straddle of $2.50 (seatIndex=4, funds=$2.50)
SubscribeSS 486 johnPlayer john joined the table without seating (playerId=486, nick=john)
AnteToPotAP 100 100The sum of players' ante ($1) was moved to the pot, and the pot became equal to $1
TeenPattiSeeCardsTSC 3Player at seat 3 saw his cards
TeenPattiAcceptShowTAS 1Player at seat 1 accepted the cards show (seatIndex=1)
TeenPattiBlindTBD 1 200Player at seat 1 made a Teen Patti blind bet $2.00 (seatIndex=1, funds=$2.0)
TeenPattiChaalTCA 1 200Player at seat 1 made a Teen Patti chaal bet $2.00 (seatIndex=1, funds=$2.0)
TeenPattiDeclineShowTDS 1Player at seat 1 declined the cards show (seatIndex=1)
TeenPattiPackTPP 1Player at seat 1 packed (discarded his cards)
TeenPattiSeeCardsTSH 1Player at seat 1 saw his cards
TeenPattiSideShowTSS 1 300Player at seat 1 requested a side show and made a bet of $3.0
UncalledBetUB 2 400 0Player at seat 2 received a part of his bet ($4) from the pot 0 that was not called (seatIndex=2, funds=$4, potNumber=0)
UnclaimedUC 400 0The amount $4 remained unclaimed in the pot number 0 (funds=$4, potNumber=0)
UnsubscribeUS 486 johnPlayer john closed the table in client (playerId=486, nick=john)
WaitWA 3Player at seat 3 refused to participate in the current hand to wait for the next hand (seatIndex=3)
WaitBBWB 3Player at seat 3 refused to participate in the current hand to wait for his turn to post the BB (seatIndex=3)
WasAutoActionWAuto-action took place
WasTimeoutActionWTAuto-action took place because of timeout
WildJokerWJ 44 KcWild joker Kc is dealt to the table (card=44)

Player commands

CommandCode
Unknown0
StopWaitBB1
StartWaitBB2
HideWinAutoActEnable3
HideWinAutoActDisable4
AutoRebuy5
AutoRebuy2x6
AutoAddon7
NoAutoRebuyAddon8
MakeRebuy9
BlindsAutoActEnable10
BlindsAutoActDisable11
MuckAutoActEnable12
MuckAutoActDisable13
ConfirmNewGameParticipation14
SharePrizeEnable15
SharePrizeDisable16
TableRunItTwiceEnable17
TableRunItTwiceDisable18
BecomeAwayAtNextBBEnable19
BecomeAwayAtNextBBDisable20
BankUpFeatureEnable21
BankUpFeatureDisable22
OtherPlayersBankUpNotificationEnable23
OtherPlayersBankUpNotificationDisable24
FastFold25
AcceptStraddleAutoActEnable26
DeclineStraddleAutoActEnable27
StraddleAutoActDisable28
AnteAutoActEnable29
AnteAutoActDisable30
AutoConfirmParticipationEnable32
AutoConfirmParticipationDisable33
StoreCardIndexes34
InsuranceEnable35
InsuranceDisable36
BetDealJackpotAutoParticipationEnable37
BetDealJackpotAutoParticipationDisable38
TableAutoTopUpEnable39
TableAutoTopUpDisable40
SharedPrizeEqualEnable41
SharedPrizeStackEnable42
SharedPrizeICM43
SharedPrizeNone44
TableAutoReturnEnable45
TableAutoReturnDisable46
BecomeAwayAtNextHandEnable47
BecomeAwayAtNextHandDisable48