Seamless API – Bet
Request URL
Request Body Parameters
username
Member username
String
Y
agent
Agent id that AMBSlot has provided
String
Y
game
Game that the user played
String
Y
gameId
Game code that user played
String
Y
roundId
Round id for each bet transaction
String
Y
amount
Amount number that user bet (+)
Double
Y
currency
Currency of amount
String
Y
transactionId
Reference id that refer to this transaction (unique)
String
Y
timestamp
Timestamp of this transaction
String
Y
featureBuy
Feature buy freespin
Boolean
Y
isEndRound
If true. It's last payout of current round
Boolean
Y
Request Body Example
Response Parameters
Status Object
code
0: Success
607: Bet failed
800: Balance insufficient 900: Duplicate round id 997: Invalid request data 998: Invalid agent id 999: Service not available 1600: Response error via axios 1601: Response error via axios timeout
Number
Y
message
Error message
String
Y
Data Object
username
Username that deduct balance to bet
String
Y
wallet
Contain latest balance and last update time
Object
Y
balance
Contain before and after transaction balance
Object
Y
refId
Reference id that refer to this transaction
String
Y
Response Example
Last updated