PlaceBet

When a player makes a bet in a game, SimplePlay platform will send this request to partner system. This request must be responded within 3 seconds, otherwise it is defined as timeout and PlaceBetCancel will be sent to cancel/refund the unsuccessful bet.

Parameters:
NameDescriptionType and LimitRequired?
usernameUsername of the userString (28)Y
currencyISO 3 characters e.g. USDString (16)Y
amountAmount to bet (decimal format and max. 2 decimal places)DecimalY
txnidA unique id for all fund transferString (16)Y
timestampTimestamp in yyyy-MM-dd HH:mm:ss.fff (GMT +8)
E.g. 2020-03-22 12:34:56.123
DateTimeY
ipIP of the user StringY
gametypeGame type
slot - Slot Game
table - Table Game
multiplayer - Fishing Game
StringY
hostidHost ID, please refer to Section 11IntY
platform0 - desktop
1 - mobile
ByteY
gamecodeGame code of the gameStringY
gameidGame IDStringY
JackpotContributionJackpot Contribution (decimal format and max. 9 decimal places)DecimalN
betdetailsBet details array
type - Bet type
amount - Bet amount
JSONN
Response parameters:
NameDescriptionType and LimitRequired?
usernameUsername of the userString (28)Y
currencyISO 3 characters e.g. USD. Except mXBTString (16)Y
amount Amount after adjustment (decimal format and max. 2 decimal places)DecimalY
errorError codeIntY

Leave a Reply