Skip to main content

Currency & Transaction Codes

Reference tables for financial operations including currency identifiers and balance management rules.


Currency Codes

Internal currency identifiers used in moneyType fields throughout events and API responses.

Currency AliasCode
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
Currency Configuration

Currency aliases (like "mt.money-17") map to actual currencies (like "USD") in your system configuration. See Currencies for configuration details.


Transaction Codes

Transaction type and subtype codes are documented in the Backoffice section.

Transaction Types

The f_type column contains transaction type codes, and the Transaction Sub-type column contains subtype codes.


Spending Money Priority Codes

These codes define how funds are allocated between real money and bonus balances when players join tables or place bets.

Used in the spendingPriority field in events like OnTransactionNotification and OnCasinoRoundClosed.

CodeNameDescription
0smpUnknownNot used
1smpMoneyBalanceFirstDebit: Real balance first, then bonus if insufficient. Credit: Bonus balance first (up to amount taken), remainder to real.
2smpBonusBalanceFirstDebit: Bonus balance first, then real if insufficient. Credit: Real balance first (up to amount taken), remainder to bonus.
3smpMoneyBalanceOnlyDebit: Only from bonus balance. Credit: Only to bonus balance.
4smpBonusBalanceOnlyDebit: Only from bonus balance. Credit: Bonus balance (up to amount taken), remainder to real.
5smpBonusBalanceOnlyNoThresholdOnReturnDeprecated — Clone of smpBonusBalanceOnly
6smpMoneyBalanceFirstProportionalReturnDebit: Real balance first, then bonus. Credit: Proportional to original debit ratio.
7smpBonusBalanceFirstProportionalReturnDebit: Bonus balance first, then real. Credit: Proportional to original debit ratio.
8smpMoneyBalanceFirstProportionalReturnResetBonusPartNot used
9smpBonusBalanceFirstProportionalReturnResetBonusPartNot used
10smpGlobalSpendingMoneyPriorityUses value from system configuration.
11smpBonusBalanceOnlyReturnSurplusToMoneyBalanceDebit: Only from bonus. Credit: Bonus (up to amount taken), surplus to real.
12smpBonusBalanceFirstReturnSurplusToMoneyBalanceDebit: Bonus first, then real. Credit: Bonus (up to amount taken), surplus to real.
13smpMoneyBalanceFirstUntilEqualBonusBalanceThenFiftyToFiftyDebit: Real first; when real equals bonus, split 50/50. Credit: Bonus first (up to taken), remainder to real.

Priority Behavior Examples

smpMoneyBalanceFirst (Code 1)

Scenario: Player has $100 real, $50 bonus. Buys in for $120.

ActionReal BalanceBonus Balance
Before$100$50
Debit $120$0 (took $100)$30 (took $20)
Win $150 total
Credit $150$130$50

Credits go to bonus first (up to $20 taken), then $130 to real.

smpBonusBalanceFirstProportionalReturn (Code 7)

Scenario: Player has $100 real, $50 bonus. Buys in for $120.

ActionReal BalanceBonus Balance
Before$100$50
Debit $120$70 (took $30)$0 (took $50)
Win $180 total
Credit proportionally$70 + $67.50 = $137.50$0 + $112.50 = $112.50

Ratio was 25% real, 75% bonus — same ratio applied to winnings.