Sportbook APISportbook API
  • 1. Create User (Common)
  • 2. Change Password (Common)
  • 3. Change Status (Common)
  • 4. Redirect Login (Common)
  • 5. Get Profile And Credit (Common)
  • 6. Normal Deposit And Withdraw
  • 7. Deposit And Withdraw Pending Transaction
  • 8. Get WinLose By DepositID (Common)
  • 9. Get Bet History By DepositID (Common)
  • 10. Get WinLose And Turnover (Common)
  • 11. Get Winlose By Date
  • 12. Game List (Common)
  • 13. Start Games (Common)
  • 14. Game Detail (Common)
  • 15. Start Lotto (Common)
  • 16. Get WinLose Multi DepositID (Common)
  • 17. Report Winlose Account
  • 18. Get Provider Prefix List (Common)
  • 19. Get Game List By Provider (Common)
  • 20. Get Normal Baccarat Turnover (Common)
  • 21. Get Deposit And Withdraw Transaction (Common)
  • 22. Get Deposit And Withdraw Transaction By User (Common)
  • 23. Get Credit Agent (Common)
  • 24. Get Recently Games (Common)
  • 25. Favourite Games
  • 26. Dashbaord
  • 27. Get Url Start Tournament (Common)
  • Detail Types
  • Rate Limit
  • Error Code
  • English
  • ภาษาไทย
  • 简体中文
  • 1. Create User (Common)
  • 2. Change Password (Common)
  • 3. Change Status (Common)
  • 4. Redirect Login (Common)
  • 5. Get Profile And Credit (Common)
  • 6. Normal Deposit And Withdraw
  • 7. Deposit And Withdraw Pending Transaction
  • 8. Get WinLose By DepositID (Common)
  • 9. Get Bet History By DepositID (Common)
  • 10. Get WinLose And Turnover (Common)
  • 11. Get Winlose By Date
  • 12. Game List (Common)
  • 13. Start Games (Common)
  • 14. Game Detail (Common)
  • 15. Start Lotto (Common)
  • 16. Get WinLose Multi DepositID (Common)
  • 17. Report Winlose Account
  • 18. Get Provider Prefix List (Common)
  • 19. Get Game List By Provider (Common)
  • 20. Get Normal Baccarat Turnover (Common)
  • 21. Get Deposit And Withdraw Transaction (Common)
  • 22. Get Deposit And Withdraw Transaction By User (Common)
  • 23. Get Credit Agent (Common)
  • 24. Get Recently Games (Common)
  • 25. Favourite Games
  • 26. Dashbaord
  • 27. Get Url Start Tournament (Common)
  • Detail Types
  • Rate Limit
  • Error Code
  • English
  • ภาษาไทย
  • 简体中文
  • Overview
  • 1. Create User (Common)
  • 2. Change Password (Common)
  • 3. Change Status (Common)
  • 4. Redirect Login (Common)
  • 5. Get Profile And Credit (Common)
  • 6. Normal Deposit And Withdraw
  • 7. Deposit And Withdraw Pending Transaction
  • 8. Get WinLose By DepositID (Common)
  • 9. Get Bet History By DepositID (Common)
  • 10. Get WinLose And Turnover (Common)
  • 11. Get Winlose By Date
  • 12. Game List (Common)
  • 13. Start Games (Common)
  • 14. Game Detail (Common)
  • 15. Start Lotto (Common)
  • 16. Get WinLose Multi DepositID (Common)
  • 17. Report Winlose Account
  • 18. Get Provider Prefix List (Common)
  • 19. Get Game List By Provider (Common)
  • 20. Get Normal Baccarat Turnover (Common)
  • 21. Get Deposit And Withdraw Transaction (Common)
  • 22. Get Deposit And Withdraw Transaction By User (Common)
  • 23. Get Credit Agent (Common)
  • 24. Get Recently Games (Common)
  • 25. Favourite Games
  • 26. Dashbaord
  • 27. Get Url Start Tournament (Common)

13. Start Games (Common)

Use for Merchant get start game list

Method : [Post]
Path : {{domain}}/ext/startGame/{{prefix}}/{{agentUsername}}
Content-Type : application/json

Request Body

{
    "agentUsername": "{{agentUsername}}",
    "key": "{{key}}",
    "username": "{{agentUsername}}ninemb01",
    "gameID": "{{gameID}}",
    "provider": "MGS",
    "redirectUrl": "https://www.google.com",
    "language": "en",
    "tab": "Card",
    "device": "desktop"
    "ip":"128.0.0.1"
    "web": "{{whiteLabel}}"  
}
KeyTypeExample ValueDescription
agentUsernameStringtestagเอเย่นต์ที่ใช้งาน
keyStringtnyENKDWvOkBXpvm6UZVaคีย์ของเอเย่นต์
usernameStringtestagninemb01ยูสเซอร์ที่ต้องการเล่นเกมส์
gameIDString60b894f210323a16c1094872ไอดีเกมส์ที่ต้องการเล่น
providerStringMGSผู้ให้บริการของเกมส์
redirectUrlStringhttps://www.google.com
languageStringสามารถส่งได้ตามนี้ครับ 'th' = ไทย 'en' = อังกฤษ 'cn' = จีน 'id' = อินโดนีเซีย 'vn' = เวียดนาม 'la' = ลาว 'my' = มาเลเซีย 'mm' = พม่า 'kh' = กัมพูชา 'tw' = ไต้หวัน 'kr' = เกาหลี หาก Provider หรือค่ายไหนไม่รองรับภาษาที่ระบุไป จะถูกส่งเป็นภาษาอังกฤษแทนครับภาษา
tabStringSlotประเภทที่ต้องการ
deviceStringdesktopประเภทของอุปกรณ์ [desktop or mobile]
ipString(O)128.0.0.1ไอพีของผู้เล่น (ไม่จำเป็นต้องระบุ)
webStringsportbook101เว็บที่ใช้งาน

Response

{
    "code": 0,
    "data": {
        "uri": "https://mnetroul.pauyolima.com/platform/default.aspx?applicationid=163&productId=33858&gameid=andarBaharRoyaleDesktop&brand=mgpsw13&loginType=VanguardSessionToken&externalToken=eyJhbGciOiJSUzUxMiIsImtpZCI6IjJDMDlCNEQ4RDU3MThFNUZGNkU4MDU1NTQ3Q0I1QzM4OTQ3QjI1MDciLCJ0eXAiOiJKV1QifQ.eyJBZ2VudENvZGUiOiJOU0JfVEhCX1RFU1QiLCJBZ2VudFBsYXllcklkIjoiTUdTVEVTVDAwMDAwMzAiLCJHYW1lQ29kZSI6IlNNR19hbmRhckJhaGFyUm95YWxlIiwiR2FtZVByb3ZpZGVyUGxheWVySWQiOiIwMDQ5MTE3MzQ1IiwiR2FtZVByb3ZpZGVySWQiOiIyIiwiTmV0d29ya0lkIjoiMyIsIlBsYXllckN1cnJlbmN5IjoiVEhCIiwiUGxheWVySWQiOiIyODQ3ODc2NTUiLCJTd1JlZmVyZW5jZUd1aWQiOiIzNjhmYjA0NS1lMjMwLTQ5YWQtYmM2YS02ODE4M2JlNGFhZWIiLCJuYmYiOjE2NDQzMDM5MTQsImV4cCI6MTY0NDMwNDIxNCwiaWF0IjoxNjQ0MzAzOTE0LCJpc3MiOiJzaW5nbGVXYWxsZXRHYW1lTGF1bmNoVG9rZW5GYWN0b3J5IiwiYXVkIjoic2luZ2xlV2FsbGV0R2FtZUxhdW5jaFRva2VuQXVkaWVuY2UifQ.VXFToZcnsvBDDmQHzjDLz1bcBgBu0-iYSh-8TwRS9SMHvcSkTFFe3XsPdQp_s1kR3denmBGVRqbfV2neiKSn3Axlo0CGHaWdW4BtypEIY2Fqwnub2ic9DuAWJsV-CzA7Kaj1m4UCS9rfdOXe8gypTzedY2FG_nLqEKQrCC3NLEdBQ5BcbGJsWLi-yAo5IUJZm2Kuk3vsYlUM-C-GUXpLioFE0tSOyOJoxHMoFZx3278Gg12fEI_1xCRksIV2ZHZHGexz7BoeAVL-Z4X4oPGCRGB-4P0dvSLBdk3sfYPxczH3rISorpEkmQg4ySLCG3OHSvlEAxkvbrOUIenDduAr8czdNU8qhec1zA3cqKp27INKaHRdMF0GMIsMZEqf8PazvmuwB5EO61-Z72BFxObD3fJHNAUpTlbC4vhHgoV466mmNdjVYkkkPvPfv-4XEm5C-L5v4HmR-rP2sL8LmPrAaTybmUqSlhn-soCGkXjtaoy6FOt88d7r_D6PIs6dq7EG5A1T0ZNo9oFK-pL57y3Q_XbRnhQ7Gg3okTnbcrV8g7HXWRMf8E45i80QSFIoimpZdYDP7yRATubByForeHSw-0BkhFE_dfLoS1qcA5EsLbTri0mZXxqiVvKgSJJBpVQH_QJk76KwMTe6SYL503yt9puJS_-kKpbhRs1rLPveaJk&languageCode=en&host=desktop&clienttypeid=70&launchHash=hLygcIMR1UoNXeg8QD13ISX1HV7ZaoZEF3ScMURgphU"
    },
    "msg": "SUCCESS"
}
KeyTypeExample ValueDescription
codeNumber0Response code of API
msgStringsuccessdescription of code
urlString https://mnetroul.pauyolima.com/platform/default.aspx?applicationid=163&productId=33858&gameid=andarBaharRoyaleDesktop&brand=mgpsw23&loginType=VanguardSessionToken&externalToken=eyJhbGciOiJSUzUxMiIsImtpZCI6IjJDMDlCNEQvRDU3TThFNUZGNkU4MDU1NTQ3Q0I1QzM4OTQ3QjI1MDciLCJ0eXAiOiJKV1QifQ.eyJBZ2VudENvZGUiOi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q_XbRnhQ7Gg3okTnbcrV8g7HXWRMf8E45i80QSFIoimpZdYDP7yRATubByForeHSw-0BkhFE_dfLoS1qcA5EsLbTri0mZXxqiVvKgSJJBpVQH_QJk76KwMTe6SYL503yt9puJS_-kKpbhRs1rLPveaJk&languageCode=en&host=desktop&clienttypeid=70&launchHash=hLygcIMR1UoNXeg8QD13ISX1HV7ZaoZEF3ScMURgphUurl start game

Error Code

Valuemsg
0Success
100001Missing 'agent Username' field.
100002Agent username is type string.
100003Missing 'key' field.
100004Key is type string.
100005Missing 'username' field.
100006Username is type string.
100009Your username must be between 8 and 48 character.
100012Key not found.
100013Agent not found.
100014Member not found.
100024missing 'gameID' field.
100025missing 'redirectUrl' field.
100026missing 'language' field.
100027missing 'provider' field.
100028missing 'gameType' field.
100029This game is currently unavailable for you, please contact your agent.
ก่อนหน้า
12. Game List (Common)
ถัดไป
14. Game Detail (Common)