Seamless wallet
API สำหรับให้แพลตฟอร์มที่ต้องการเชื่อมต่อกับ Betworld ทำการพัฒนาเพื่อให้รองรับการทำงานร่วมกัน
Balance inquire
API สำหรับให้ Betworld ดึงยอดเครดิตของผู้เล่นจากดีลเลอร์แพลตฟอร์ม
POST https://{your-domain}/balance-inquire
API path สามารถ provide ได้ตามที่คุณต้องการ ไม่จำเป็นต้องเหมือนตัวอย่าง Request body เป็น json การ verify signature สามารถดูได้ที่ Signature verification
Headers
x-casino-signature*
String
เป็น string ที่ได้จากการ hash request body ด้วย authentication key ที่ได้รับจาก Betworld
Request Body
user_id*
String
user id ในระบบของท่านที่ส่งให้กับ Betworld
player_id*
String
user id จากระบบของ Betworld
{
"user_id": "888",
"balance": 200, //type float
"currency": "thb"
}{
"id": "bad_request",
"detail": "error detail"
}Betting
API สำหรับให้ Betworld ส่งรายการที่ผู้เล่นวางเดิมพันกลับไปยังดีลเลอร์แพลตฟอร์ม
POST https://{your-domain}/betting
API path สามารถ provide ได้ตามที่คุณต้องการ ไม่จำเป็นต้องเหมือนตัวอย่าง Request body เป็น json การ verify signature สามารถดูได้ที่ Signature verification
Headers
x-casino-signature*
String
เป็น string ที่ได้จากการ hash request body ด้วย authentication key ที่ได้รับจาก Betworld
Request Body
user_id*
String
user id ในระบบของท่านที่ส่งให้กับ Betworld
player_id*
String
user id จากระบบของ Betworld
bet_amount*
Float
จำนวนเครดิตที่ user วางเดิมพัน
transaction_id*
Integer
เลขอ้างอิงในการทำรายการเดิมพัน
timestamp*
Integer
เวลาที่ทำรายการ เป็น timestamp milliseconds
remark*
String
รายละเอียดเกมที่ลงเดิมพัน
game_id*
String
เลขที่ของเกมส์ที่วางเดิมพัน
user_bet*
Object
รายละเอียดที่ user วางเดิมพันในรอบนั้น
{
"user_id": "888",
"bet_amount": 200, //float
"currency": "thb",
"before_balance": 700, //float จำนวนเครดิตคงเหลือ ก่อนตัดเครดิต
"current_balance": 500, //float จำนวนเครดิตคงเหลือ หลังจากตัดเครดิต
"transaction_id": 12345678,
"game_id": "bc:1659974366095:4b3afhl6kxvma7"
}{
"id": "credit_excess_limit",
"detail": "your description",
"transaction_id": 12345678,
"game_id": "bc:1659974366095:4b3afhl6kxvma7"
}ตัวอย่าง Request ของ Betting
{
"bet_amount": 30,
"currency": "thb",
"game_id": "bc:1662722427002:k7e0il7ue03nf",
"player_id": "403",
"remark": "Baccarat | Baccarat BW205 | 0612 | 028",
"timestamp": 1662722432807,
"transaction_id": 12166,
"type": "baccarat",
"user_bet": {
"data": { "PLAYER": 30 },
"mode": "commission" // จะมีค่า commission, nocommission และจะมี field นี้ เฉพาะกรณีที่เปิด สลับโหมด commission/no commission เท่านั้น
},
"user_id": "testuserid"
}
{
"bet_amount": 6,
"currency": "thb",
"game_id": "bc:1662722920713:k7e0il7ueaoll",
"player_id": "403",
"remark": "Baccarat Insurance | Baccarat Insurance BW205 | 0612 | 030",
"timestamp": 1662722944866,
"transaction_id": 12170,
"type": "baccarat_insurance",
"user_bet": {
"insurance": [{ "id": "P-22-605-6", "insurance": "PLAYER", "amount": 6 }]
},
"user_id": "testuserid"
}
{
"bet_amount": 220,
"currency": "thb",
"game_id": "dt:1662723493226:k7e0il7uemycq",
"player_id": "403",
"remark": "Dragon Tiger | Dragon Tiger | 0608 | 016",
"timestamp": 1662723511243,
"transaction_id": 12173,
"type": "dragon_tiger",
"user_bet": {
"data": {
"DBLACK": 20,
"DEVEN": 20,
"DODD": 20,
"DRED": 20,
"TBLACK": 20,
"TEVEN": 20,
"TIE": 30,
"TIGER": 30,
"TODD": 20,
"TRED": 20
}
},
"user_id": "testuserid"
}{
"bet_amount": 80,
"currency": "thb",
"game_id": "rlt:1662738865850:bq0xhuil7unsfy3",
"player_id": "403",
"remark": "Roulette | Roulette | 0614 | 022",
"timestamp": 1662738875433,
"transaction_id": 12177,
"type": "roulette",
"user_bet": {
"data": {
"HALFxBLACK": 10,
"HALFxEVEN": 10,
"HALFxSMALL": 10,
"SPLITx19-22": 10,
"SPLITx2-5": 10,
"SPLITx24-27": 10,
"STRAIGHTUPx17": 10,
"STRAIGHTUPx26": 10
}
},
"user_id": "testuserid"
}
{
"bet_amount": 100,
"currency": "thb",
"game_id": "hlht:1662723752817:k7e0il7uesinl",
"player_id": "403",
"remark": "Sicbo | Sicbo | 0605 | 064",
"timestamp": 1662723765267,
"transaction_id": 12175,
"type": "sicbo",
"user_bet": {
"data": {
"SINGLEDIEx1": 10,
"SINGLEDIEx2": 10,
"SINGLEDIEx3": 10,
"THREEDICETOTALSx11": 10,
"THREEDICETOTALSx13": 10,
"THREEDICETOTALSx15": 10,
"THREEDICETOTALSx17": 10,
"THREEDICETOTALSx5": 10,
"THREEDICETOTALSx7": 10,
"THREEDICETOTALSx9": 10
}
},
"user_id": "testuserid"
}
Betting result
API สำหรับให้ Betworld ส่งผลการวางเดิมพันของผู้เล่นในรอบนั้นๆ ไปยังดีลเลอร์แพลตฟอร์มหลังจากออกผล
POST https://{your-domain}/betting-result
API path สามารถ provide ได้ตามที่คุณต้องการ ไม่จำเป็นต้องเหมือนตัวอย่าง Request body เป็น json การ verify signature สามารถดูได้ที่ Signature verification ระบบจะมี timeout 3 วินาที หากเกิดข้อผิดพลาดในการเรียก API ระบบจะทำการ retry อีก 2 ครั้ง
*ควรมีการตรวจสอบการทำรายการซ้ำจากเลข transaction_id
ค่า result ที่ระบบ Betworld ส่งกลับไป result = win ผู้เล่นชนะเดิมพัน ระบบของคุณต้องโอนเติมเครดิตให้ผู้เล่น ตาม amount ที่ได้รับ result = loss ผู้เล่นแพ้เดิมพัน ระบบของคุณไม่ต้องทำการโอนเครดิตให้ผู้เล่น result = refund กรณียกเลิกเกมส์ ระบบของคุณต้องโอนเครดิตคืนให้ผู้เล่น ตาม amount ที่ได้รับ
Headers
x-casino-signature*
String
เป็น string ที่ได้จากการ hash request body ด้วย authentication key ที่ได้รับจาก Betworld
Request Body
user_id*
String
user id ในระบบของท่านที่ส่งให้กับ Betworld
player_id*
String
user id จากระบบของ Betworld
bet_amount*
Float
จำนวนเครดิตที่ user วางเดิมพัน
transaction_id*
Integer
เลขอ้างอิง ในการทำรายการ จะส่งเฉพาะ result ที่เท่ากับ win และ refund (loss จะส่ง 0)
timestamp*
Integer
เวลาที่ทำรายการ เป็น timestamp milliseconds
remark*
String
รายละเอียดเกมที่ลงเดิมพัน
result*
String
win = ผู้เล่นชนะเดิมพัน
loss = ผู้เล่นแพ้เดิมพัน
refund = คืนเงิน
game_id*
String
เลขที่ของเกมส์ที่วางเดิมพัน
addition_amount
Float
จำนวนเครดิตที่ user วางเดิมพันเพิ่มเติม เช่น การวางประกันภัย
win_amount
Float
จำนวนเครดิตส่วนที่ชนะหรือแพ้เดิมพัน เช่น
100 = ชนะ รอบนั้น user ได้กำไร
-150 = แพ้ รอบนั้น user ขาดทุน
payout_amount*
Float
จำนวนเครดิตที่ระบบจะต้องโอนให้ user (รางวัลรวมทุน)
user_bet
Object
รายละเอียดที่ user วางเดิมพันในรอบนั้น
game_result
Object
รายละเอียดผลที่ออกในรอบนั้นๆ
user_bet_result
Object
รายละเอียดที่ user วางเดิมพัน และ ถูกรางวัลหรือเสมอ
{
"user_id": "888",
"payout_amount": 200, //float
"currency": "thb",
"before_balance": 500, //float จำนวนเครดิตคงเหลือ ก่อนโอนเครดิต
"current_balance": 700, //float จำนวนเครดิตคงเหลือ หลังจากโอนเครดิต
"transaction_id": 12345678,
"game_id": "bc:1659974366095:4b3afhl6kxvma7"
}ตัวอย่าง Request ของ Betting result
{
"user_id": "testuserid",
"player_id": "403",
"bet_amount": 10,
"addition_amount": 0,
"win_amount": 10,
"payout_amount": 20,
"currency": "thb",
"result": "win",
"transaction_id": 12099,
"game_id": "bc:1662542226276:2citkl7reprvo",
"timestamp": 1662542262098,
"remark": "Baccarat | Baccarat (8) | 0613 | 010", // ประเภทเกมส์ | ชื่อเกมส์ | ขอนที่ | ตาที่
"game_result": {
"data": {
"BANKER": {
"card": ["KC", "QH"], // ไพ่เจ้ามือ แต่ละใบ
"score": ["0", "0"], // แต้มไพ่เจ้ามือ แต่ละใบ
"total": 0 // แต้มที่ออกฝั่งเจ้ามือ
},
"PLAYER": {
"card": ["9C", "JD"], // ไพ่ผู้เล่น แต่ละใบ
"score": ["9", "0"], // แต้มไพ่ผู้เล่น แต่ละใบ
"total": 9 // แต้มที่ออกฝั่งผู้เล่น
}
},
"win_results": ["PLAYER"], // ช่องที่ชนะเดิมพัน
"mode": "commission" // จะมีค่า commission, nocommission และจะมี field นี้ เฉพาะกรณีที่เปิด สลับโหมด commission/no commission เท่านั้น
},
"result_image_url": "https://fullmoonprod-public.s3.ap-southeast-1.amazonaws.com/2741-38/original.png",
"type": "baccarat",
"user_bet": { // รายละเอียดการวางเดิมพันของ user
"data": {
"PLAYER": 10 // ช่องที่วางเดิมพัน
}
},
"user_bet_result": { // ผลการวางเดิมพันของ user ในรอบนั้น
"win": [ // ผลการวางเดิมพันที่ชนะเดิมพัน
{
"name": "PLAYER",
"bet": 10,
"rate": 1,
"profit": 10,
"commission": null
}
]
}
}{
"user_id": "testuserid",
"player_id": "403",
"bet_amount": 20,
"addition_amount": 6,
"win_amount": -2,
"payout_amount": 24,
"currency": "thb",
"result": "win",
"transaction_id": 12102,
"game_id": "bc:1662543169110:2citkl7rf9zdi",
"timestamp": 1662543217429,
"remark": "Baccarat Insurance | Baccarat Insurance BW205 | 0612 | 012",
"game_result": {
"data": {
"BANKER": {
"card": ["5C", "JD", "4C"],
"score": ["5", "0", "4"],
"total": 9
},
"PLAYER": {
"card": ["6S", "QH"],
"score": ["6", "0"],
"total": 6
}
},
"result_image_url": "https://fullmoonprod-public.s3.ap-southeast-1.amazonaws.com/2741-38/original.png",
"insurance": {
"P-22-605-6": {
"insurance": "PLAYER",
"result": "BANKER",
"rate": 3,
"timestamp": 1662543199482
}
},
"win_results": ["BANKER"]
},
"type": "baccarat_insurance",
"user_bet": {
"data": {
"PLAYER": 20
},
"insurance": [ // รายละเอียดการวางประกันภัยของ user
{
"id": "P-22-605-6",
"insurance": "PLAYER", // ฝั่งที่วางเดิมพัน
"amount": 6,
"rate": 3
}
]
},
"user_bet_result": { // ผลการวางเดิมพันของ user ในรอบนั้น
"insurance": [ // รายละเอียดผลการวางประกันของ user
{
"id": "P-22-605-6",
"status": "WIN", // ผลการวางประกันภัย
"insurance": "PLAYER", // ฝั่งที่ user วางประกันภัย
"rate": 3, // rate การวางประกันภัย
"bet": 6, // ยอดการวางประกันภัย
"profit": 24 // ยอดที่ได้จากการวางประกันภัย
}
]
}
}{
"user_id": "testuserid",
"player_id": "403",
"bet_amount": 180,
"addition_amount": 0,
"win_amount": 590,
"payout_amount": 770,
"currency": "thb",
"result": "win",
"transaction_id": 12146,
"game_id": "dt:1662632954813:1hqcil7swqegt",
"timestamp": 1662632970010,
"remark": "Dragon Tiger | Dragon Tiger | 0608 | 014",
"game_result": {
"data": {
"DRAGON": {
"card": ["9C"],
"score": [9],
"total": 9
},
"TIGER": {
"card": ["9C"],
"score": [9],
"total": 9
}
},
"win_results": ["TIE","TODD","DODD","TBLACK","DBLACK"]
},
"result_image_url": "https://fullmoonprod-public.s3.ap-southeast-1.amazonaws.com/2601-12/original.png",
"type": "dragon_tiger",
"user_bet": {
"data": {
"TIGER": 100,
"TIE": 80
}
},
"user_bet_result": {
"tie": [
{
"name": "TIGER",
"bet": 100,
"rate": 0,
"profit": 0,
"commission": 50
}
],
"win": [
{
"name": "TIE",
"bet": 80,
"rate": 8,
"profit": 640,
"commission": null
}
]
}
}{
"user_id": "testuserid",
"player_id": "403",
"bet_amount": 80,
"addition_amount": 0,
"win_amount": 130,
"payout_amount": 210,
"currency": "thb",
"result": "win",
"transaction_id": 12148,
"game_id": "rlt:1662638020602:1hqcil7szqz96",
"timestamp": 1662638036674,
"remark": "Roulette | Roulette | 0614 | 021",
"game_result": {
"data": {
"single_number": 2
},
"win_results":["STRAIGHTUPx2","SPLITx0-2","SPLITx1-2","SPLITx2-3","SPLITx2-5","STREETx0-1-2","STREETx0-2-3","STREETx1-2-3","SQUAREx1-2-4-5","SQUAREx2-3-5-6","BASKETx0-1-2-3","LINEx1-6","DOZENx1st","COLUMNx2nd","HALFxSMALL","HALFxEVEN","HALFxBLACK"]
},
"result_image_url": "https://fullmoon-preprod-public.s3.ap-southeast-1.amazonaws.com/349-9/original.png",
"type": "roulette",
"user_bet": {
"data": {
"COLUMNx1st": 10,
"COLUMNx2nd": 10,
"COLUMNx3rd": 10,
"SPLITx0-2": 10,
"STRAIGHTUPx12": 10,
"STRAIGHTUPx15": 10,
"STRAIGHTUPx22": 10,
"STRAIGHTUPx24": 10
}
},
"user_bet_result": {
"win": [
{
"name": "COLUMNx2nd",
"bet": 10,
"rate": 2,
"profit": 20,
"commission": null
},
{
"name": "SPLITx0-2",
"bet": 10,
"rate": 17,
"profit": 170,
"commission": null
}
]
}
}{
"user_id": "testuserid",
"player_id": "403",
"bet_amount": 80,
"addition_amount": 0,
"win_amount": -10,
"payout_amount": 70,
"currency": "thb",
"result": "win",
"transaction_id": 12151,
"game_id": "hlht:1662638345222:1hqcil7szxxqe",
"timestamp": 1662638378372,
"remark": "Sicbo | Sicbo | 0605 | 063",
"game_result": {
"data": {
"dice": [1, 1, 6]
},
"win_results":["SMALL","THREEDICETOTALSx8","TWODICEx16","SDOUBLESx1","SINGLEDIEx1","SINGLEDIEx6"]
},
"result_image_url": "https://fullmoon-preprod-public.s3.ap-southeast-1.amazonaws.com/349-9/original.png",
"type": "sicbo",
"user_bet": {
"data": {
"SINGLEDIEx1": 10,
"SINGLEDIEx6": 10,
"SMALL": 10,
"THREEDICETOTALSx4": 10,
"THREEDICETOTALSx5": 10,
"THREEDICETOTALSx9": 10,
"TWODICEx23": 10,
"TWODICEx25": 10
}
},
"user_bet_result": {
"win": [
{
"name": "SINGLEDIEx1",
"bet": 10,
"rate": 2,
"profit": 20,
"commission": null
},
{
"name": "SINGLEDIEx6",
"bet": 10,
"rate": 1,
"profit": 10,
"commission": null
},
{
"name": "SMALL",
"bet": 10,
"rate": 1,
"profit": 10,
"commission": null
}
]
}
}Betting refund
API สำหรับให้ Betworld ส่ง refund กลับไปยังดีลเลอร์แพลตฟอร์ม ในกรณีที่ Betworld ได้รับ response เป็น timeout ใน API Betting ที่ผู้เล่นวางเดิมพันจากดีลเลอร์แพลตฟอร์ม
POST {your-domain}/betting-refund
API path สามารถ provide ได้ตามที่คุณต้องการ ไม่จำเป็นต้องเหมือนตัวอย่าง Request body เป็น json การ verify signature สามารถดูได้ที่ Signature verification
*ดีลเลอร์แพลตฟอร์มต้องตรวจสอบด้วยว่ามีการเดิมพันด้วย transaction_id ที่ส่งไปในระบบหรือไม่ มี - ให้ทำการคืนเครดิตให้กับผู้เล่น ไม่มี - ไม่ต้องดำเนินการใดๆ
Headers
x-casino-signature*
String
เป็น string ที่ได้จากการ hash request body ด้วย authentication key ที่ได้รับจาก Betworld
Request Body
bet_amount*
Float
จำนวนเครดิตที่ user วางเดิมพัน
game_id*
String
เลขที่ของเกมส์ที่วางเดิมพัน
player_id*
String
user id จากระบบของ Betworld
remark*
String
รายละเอียด
timestamp*
Integer
เวลาที่ทำรายการ เป็น timestamp milliseconds
transaction_id*
Integer
เลขอ้างอิงในการทำรายการเดิมพัน
user_id*
String
user id ในระบบของท่านที่ส่งให้กับ Betworld
{
"user_id": "888",
"current_balance": 189000, //type float
"currency": "thb",
"transaction_id": 16141
} Betting result inquire
API สำหรับให้ดีลเลอร์แพลตฟอร์ม มาสอบถามผลการวางเดิมพันของผู้เล่น
GET https://{api-domain}/game-service/bet_game/result-inquire
Request body เป็น json การ generate signature สามารถดูได้ที่Signature generation
Headers
x-casino-signature*
String
เป็น string ที่ได้จากการ hash request body ด้วย authentication key ที่ได้รับจาก Betworld
x-casino-id*
String
casino id
Request Body
user_id*
String
user id ในระบบของท่านที่ส่งให้กับ Betworld
game_id*
String
เลขที่ของเกมส์ที่วางเดิมพัน
{
"message": "success",
"data": {
"user_id": "testuserid",
"player_id": "403",
"bet_amount": 10,
"addition_amount": 0,
"win_amount": 10,
"payout_amount": 20,
"currency": "thb",
"result": "win",
"transaction_id": 12099,
"game_id": "bc:1662542226276:2citkl7reprvo",
"timestamp": 1662542262098,
"remark": "Baccarat | Baccarat (8) | 0613 | 010",
"game_result": {
"data": {
"BANKER": {
"card": ["KC", "QH"], // ไพ่เจ้ามือ แต่ละใบ
"score": ["0", "0"], // แต้มไพ่เจ้ามือ แต่ละใบ
"total": 0 // แต้มที่ออกฝั่งเจ้ามือ
},
"PLAYER": {
"card": ["9C", "JD"], // ไพ่ผู้เล่น แต่ละใบ
"score": ["9", "0"], // แต้มไพ่ผู้เล่น แต่ละใบ
"total": 9 // แต้มที่ออกฝั่งผู้เล่น
}
},
"win_results": ["PLAYER"], // ช่องที่ชนะเดิมพัน
"mode": "commission" // จะมีค่า commission, nocommission และจะมี field นี้ เฉพาะกรณีที่เปิด สลับโหมด commission/no commission เท่านั้น
},
"result_image_url": "https://fullmoonprod-public.s3.ap-southeast-1.amazonaws.com/2741-38/original.png",
"type": "baccarat",
"user_bet": { // รายละเอียดการวางเดิมพันของ user
"data": {
"PLAYER": 10 // ช่องที่วางเดิมพัน
}
},
"user_bet_result": { // ผลการวางเดิมพันของ user ในรอบนั้น
"win": [ // ผลการวางเดิมพันที่ชนะเดิมพัน
{
"name": "PLAYER",
"bet": 10,
"rate": 1,
"profit": 10,
"commission": null
}
]
}
}
}{
"message": "success",
"data": {
"user_id": "testuserid",
"player_id": "403",
"bet_amount": 20,
"addition_amount": 6,
"win_amount": -2,
"payout_amount": 24,
"currency": "thb",
"result": "win",
"transaction_id": 12102,
"game_id": "bc:1662543169110:2citkl7rf9zdi",
"timestamp": 1662543217429,
"remark": "Baccarat Insurance | Baccarat Insurance BW205 | 0612 | 012",
"game_result": {
"data": {
"BANKER": {
"card": ["5C", "JD", "4C"],
"score": ["5", "0", "4"],
"total": 9
},
"PLAYER": {
"card": ["6S", "QH"],
"score": ["6", "0"],
"total": 6
}
},
"insurance": {
"P-22-605-6": {
"insurance": "PLAYER",
"result": "BANKER",
"rate": 3,
"timestamp": 1662543199482
}
},
"win_results": ["BANKER"]
},
"result_image_url": "https://fullmoon-preprod-public.s3.ap-southeast-1.amazonaws.com/349-9/original.png",
"type": "baccarat_insurance",
"user_bet": {
"data": {
"PLAYER": 20
},
"insurance": [ // รายละเอียดการวางประกันภัยของ user
{
"id": "P-22-605-6",
"insurance": "PLAYER", // ฝั่งที่วางเดิมพัน
"amount": 6,
"rate": 3
}
]
},
"user_bet_result": { // ผลการวางเดิมพันของ user ในรอบนั้น
"insurance": [ // รายละเอียดผลการวางประกันของ user
{
"id": "P-22-605-6",
"status": "WIN", // ผลการวางประกันภัย
"insurance": "PLAYER", // ฝั่งที่ user วางประกันภัย
"rate": 3, // rate การวางประกันภัย
"bet": 6, // ยอดการวางประกันภัย
"profit": 24 // ยอดที่ได้จากการวางประกันภัย
}
]
}
}
}{
"message": "success",
"data": {
"user_id": "testuserid",
"player_id": "403",
"bet_amount": 180,
"addition_amount": 0,
"win_amount": 590,
"payout_amount": 770,
"currency": "thb",
"result": "win",
"transaction_id": 12146,
"game_id": "dt:1662632954813:1hqcil7swqegt",
"timestamp": 1662632970010,
"remark": "Dragon Tiger | Dragon Tiger | 0608 | 014",
"game_result": {
"data": {
"DRAGON": {
"card": ["9C"],
"score": [9],
"total": 9
},
"TIGER": {
"card": ["9C"],
"score": [9],
"total": 9
}
},
"win_results": ["TIE","TODD","DODD","TBLACK","DBLACK"]
},
"result_image_url": "https://fullmoonprod-public.s3.ap-southeast-1.amazonaws.com/2601-12/original.png",
"type": "dragon_tiger",
"user_bet": {
"data": {
"TIGER": 100,
"TIE": 80
}
},
"user_bet_result": {
"tie": [
{
"name": "TIGER",
"bet": 100,
"rate": 0,
"profit": 0,
"commission": 50
}
],
"win": [
{
"name": "TIE",
"bet": 80,
"rate": 8,
"profit": 640,
"commission": null
}
]
}
}
}{
"message": "success",
"data": {
"user_id": "testuserid",
"player_id": "403",
"bet_amount": 80,
"addition_amount": 0,
"win_amount": 130,
"payout_amount": 210,
"currency": "thb",
"result": "win",
"transaction_id": 12148,
"game_id": "rlt:1662638020602:1hqcil7szqz96",
"timestamp": 1662638036674,
"remark": "Roulette | Roulette | 0614 | 021",
"game_result": {
"data": {
"single_number": 2
},
"win_results":["STRAIGHTUPx2","SPLITx0-2","SPLITx1-2","SPLITx2-3","SPLITx2-5","STREETx0-1-2","STREETx0-2-3","STREETx1-2-3","SQUAREx1-2-4-5","SQUAREx2-3-5-6","BASKETx0-1-2-3","LINEx1-6","DOZENx1st","COLUMNx2nd","HALFxSMALL","HALFxEVEN","HALFxBLACK"]
},
"result_image_url": "https://fullmoon-preprod-public.s3.ap-southeast-1.amazonaws.com/349-9/original.png",
"type": "roulette",
"user_bet": {
"data": {
"COLUMNx1st": 10,
"COLUMNx2nd": 10,
"COLUMNx3rd": 10,
"SPLITx0-2": 10,
"STRAIGHTUPx12": 10,
"STRAIGHTUPx15": 10,
"STRAIGHTUPx22": 10,
"STRAIGHTUPx24": 10
}
},
"user_bet_result": {
"win": [
{
"name": "COLUMNx2nd",
"bet": 10,
"rate": 2,
"profit": 20,
"commission": null
},
{
"name": "SPLITx0-2",
"bet": 10,
"rate": 17,
"profit": 170,
"commission": null
}
]
}
}
}{
"message": "success",
"data": {
"user_id": "testuserid",
"player_id": "403",
"bet_amount": 80,
"addition_amount": 0,
"win_amount": -10,
"payout_amount": 70,
"currency": "thb",
"result": "win",
"transaction_id": 12151,
"game_id": "hlht:1662638345222:1hqcil7szxxqe",
"timestamp": 1662638378372,
"remark": "Sicbo | Sicbo | 0605 | 063",
"game_result": {
"data": {
"dice": [1, 1, 6]
},
"win_results":["SMALL","THREEDICETOTALSx8","TWODICEx16","SDOUBLESx1","SINGLEDIEx1","SINGLEDIEx6"]
},
"result_image_url": "https://fullmoon-preprod-public.s3.ap-southeast-1.amazonaws.com/349-9/original.png",
"type": "sicbo",
"user_bet": {
"data": {
"SINGLEDIEx1": 10,
"SINGLEDIEx6": 10,
"SMALL": 10,
"THREEDICETOTALSx4": 10,
"THREEDICETOTALSx5": 10,
"THREEDICETOTALSx9": 10,
"TWODICEx23": 10,
"TWODICEx25": 10
}
},
"user_bet_result": {
"win": [
{
"name": "SINGLEDIEx1",
"bet": 10,
"rate": 2,
"profit": 20,
"commission": null
},
{
"name": "SINGLEDIEx6",
"bet": 10,
"rate": 1,
"profit": 10,
"commission": null
},
{
"name": "SMALL",
"bet": 10,
"rate": 1,
"profit": 10,
"commission": null
}
]
}
}
}{
"id": "bad_request",
"detail": "error detail"
}{
"id": "data_not_found",
"detail": "Data not found"
}Last updated