1. Interface Introduction
1.1 Overview
This API defines general guideline and set of function for integrating white label system with sports fund provider's system.
1.2 Flowchart
1.3 Protocol
All the API function is made through HTTP post
● All the request should comes with:
1.Header:
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
2.Body:
Type: x-www-form-urlencoded
Content: param:{"username":"test","portfolio":"1","startDate":"2019-01-01","endDate":"2019-01-02","companyKey":"DUMMY-COMPANY-KEY","serverId":"test"}
● All the API response is in JSON format:
1.Header: Content-Type: application/json; charset=UTF-8
2.Body: {"username":"test","token":"861.vqxuBwvchwmxbmJcBwZTDO","error":{"id":0,"msg":"NoError"},"serverId":"test"}
● All data in request and response are case sensitive.
Here's an example, using Postman to demo.
1.4 Timezone and datetime
All API listed here is based on GMT-4
Format | Note |
---|---|
Date only | yyyy-MM-dd |
Date and time | yyyy-MM-ddTHH:mm:ss |
Date, time and timezone |
yyyy-MM-ddTHH:mm:sszzzzzz
|
1.5 Change Log
Version | Change Log | Modify Date |
---|---|---|
2.0 | Player Login, Add device param | 2016.12.06 |
2.0.9 | New API GetCasinoReport & GetCasinoBetList | 2017.01.05 |
2.0.10 | add status in GetCasinoReport,GetCasinoBetList Reponse | 2017.01.06 |
2.0.11 | Fix parameter name from minBet&maxBet to min&max on RegisterAgent & UpdateAgentBetSettings | 2017.03.25 |
2.1 |
1. Merge Get-Casino-Report to Get-Customer-Report 2. Remove Get-Casino-Report 3. Remove Get-Casino-Report-By-Modifydate |
2017.04.19 |
2.1.1 |
1. Update get-customer-bet-list to get-bet-list 2. Remove get-casino-bet-list (it is merged into get-bet-list) |
2017.04.24 |
2.1.2 | Rename get-casino-bet-payload to get-bet-payload | 2017.04.24 |
2.1.3 | Update get-bet-payload column description | 2017.06.06 |
2.1.5 | Update typo error on get-bet-payload | 2017.06.19 |
2.1.6 |
Add API can get the report for all product. GetCustomerReport, GetBetList can set portfolio (Sports, Casino, and Games) |
2017.06.27 |
2.1.7 | Add change Log table | 2017.07.20 |
2.1.8 | Add Player Logining process | 2018.04.18 |
2.1.9 | Change Content-Type and Request Body format. | 2018.04.26 |
2.2.0 | Add disclaimer at section 1.6 | 2018.05.01 |
2.2.1 |
1. Add Lawn theme at theme section. 2. Add detail description on 3.2. RegisterPlayer . 3. Add detail description on 2.1. RegisterAgent . |
2018.05.03 |
2.2.2 | Add games login | 2018.05.21 |
2.2.3 |
1. Add theme supporting device table 2. Modify some typo request body |
2018.05.25 |
2.2.4 |
1. Update Error Code Table 2. Add clarification for VND,IDR and KRW. 3. Add I.7. SportsBet & I.7.1 SportsSubBet 4. Fix typo and invalid json format on section 5. |
2018.06.07 |
2.2.5 |
1. Update Error Code Table 2. Add new api to Update Player Bet Setting By SportId and Bettype 3.10. UpdatePlayerBetSettingsBySportTypeAndMarketType . 3. Add I.11. SportType. 4. Modify I.10. MarketType. |
2018.07.13 |
2.2.6 |
1. Update Get-Bet-list Table 2. Add SubBet Status. 3. Add Main Bet WinLostDate. |
2018.07.18 |
2.2.7 |
1. Update Agent BetSetting Rule 2. Modify RegisterAgent BetSetting Rule 3. Modify UpdateAgentBetSetting BetSetting Rule |
2018.07.19 |
2.2.8 |
1. Add TimeZone is GMT-4 description ( 1.4 Timezone and datetime ) 2. Modify themeid description in 2.1 RegisterAgent 3. Modify theme description in 3.1.1 Redirect to SportsBook 4. Modify title and content in II. How to set SportsBook themes |
2018.07.30 |
2.2.9 |
1. Fill out some missing variable descriptions. 2. Fill out some missing request fields. 3. Fill out some missing response fields. |
2018.08.02 |
2.2.10 |
1. Modify the description about I.1 Currency 2. Modify some variable descriptions. 3. Modify some variable types to more appropriate types. |
2018.08.02 |
2.3.1 |
1. Add a new section about Redirect to Game . 2. Modify some API descriptions. |
2018.08.09 |
2.3.2 |
1. Remove KRW 1:1000 description in I.1 Currency because system does not apply it anymore. |
2018.08.10 |
2.3.3 |
1. Add theme 7.2.8 SBO Lite theme . |
2018.08.20 |
2.3.4 |
1. Add API 2.5 LoginBackoffice . |
2018.08.22 |
2.3.4 |
1. Modify the descriptions about the based time of each parameters in 5. Report API. 2. Modify the time format for startdate and enddate parameters in 5. Report API. |
2018.08.24 |
2.3.6 |
1. Add Appendix V. How to Set or Update Bet Limit Setting . |
2018.09.25 |
2.3.7 |
1. Add Appendix I. I.12 Bet Status 2. Modify 6.11 Soccer and Football description |
2018.10.03 |
2.3.8 |
1. Add 3.11 UpdateAgentBetSettingsBySportTypeAndMarketType 2. Add 3.12 GetMemberBetSettingsWithSportTypeAndMarketType 3. Modify 3.2. RegisterPlayer 4. Modify 3.9. UpdatePlayerBetSettings 5. fix Appendix V. How to Set or Update Bet Limit Setting Link problem |
2018.10.04 |
2.3.9 |
1. Modify BetList Apis Add ModifyDate 2. Modify 6.12 Bet Status Add "Half Won" "Half Lose" |
2018.10.15 |
2.4.0 |
1. Modify BetList Apis Add isHalfWonLose , MaxWinWithoutActualStake 2. Remove 6.12 Bet Status "Half Won" "Half Lose" 3. Modify 6.7 SportsBet Add isHalfWonLose, MaxWinWithoutActualStake Detail 4. Add I.13. Game Product Type . |
2018.10.18 |
2.4.1 |
1. Modify BetList Apis Add BetStatus request column 2. Add param in requestbody |
2018.10.29 |
2.4.2 |
1. Change Hockey to Ice Hocket in SportsType 2. Add Mix Parlay in SportsType |
2018.12.13 |
2.4.3 |
1. Add Virtual Sports MixParlay subbet format in sample |
2018.12.13 |
3.0 |
1. Change Log translate to Chinese 2. All descriptions and parameters translate to Chinese 3. Update the description in I.12 Bet Status 4. Add Half Won, Half Lose and AbnormalBet in I.12 Bet Status 5. Modify typo error about request and response |
2018.12.14 |
3.1 |
1. Add 3.5 withdraw amount limitation to second decimal place. |
2018.12.26 |
3.2 |
1. 3.1.5 Redirect to VirtualSports after login Add param "lang" |
2018.12.26 |
3.3 |
1. Modify description of playerBetList-Hyperlink in 5.4 GetCustomerBetListByModifydate , 5.5 GetCustomerBetListByTransid ,and 5.9 GetCustomerHistoryBetListByModifydate |
2019.01.02 |
3.4 |
1. Add Odds, OddsStyle and ActualStake in VirtualSportsBet 5.3. GetBetList , 5.6.1 GetVirtualSportsBetListByModifyDate and 5.7.1 GetVirtualSportsBetListByTransid 2. Add VirtualSportsBet in Appendix I.6.3 VirtualSports Bet |
2019.01.18 |
3.5 |
1. Add example of request body of getting SeamlessGameProvider bet list by 5.3. GetBetList 2. Add SeamlessGameProviderBet in Appendix I.6.4 SeamlessGameProvider Bet 3. Add GetSeamlessGameProviderBetListByModifydate 5.10 GetSeamlessGameProviderBetListByModifydate Bet 4. Add GetSeamlessGameProviderBetListByRefNos 5.11 GetSeamlessGameProviderBetListByRefNos 5. Add LoginToSeamlessGameProvider 3.13 LoginToSeamlessGameProvider |
2019.02.15 |
3.6 |
1. Add 1.3 Protocol detail 2. Add Using charset information "UTF-8" |
2019.02.26 |
3.7 |
1. Add new Game Provider SBOLV infomation |
2019.03.13 |
3.8 |
1. Add 3.1.6 Redirect to GameProvider after login remove 3.13 Login to SeamlessGameProvider modified wrong URL |
2019.03.28 |
3.8.1 |
Modify the 6.14 SeamlessGameProductType and 6.15 SeamlessGameProvider for adding CQ9 |
2019.04.30 |
3.8.2 |
Modify the 6.6.4 SeamlessGameProvider Bet gamePeriodId and gameRoundId type to string |
2019.05.06 |
3.8.3 |
Modify API 5.10 5.11 winLose in response body - wm |
2019.05.07 |
3.9 |
Add 3.1.7 "Redirect to Games Lobby after login" |
2019.05.14 |
3.9.1 |
Add new SeamlessGameProvider in API Document 6.14 6.15 |
2019.05.15 |
3.10.0 |
Add new API for league bet setting 3.13 ~ 3.17 |
2019.06.03 |
3.20 |
Add API for 5.12 GetSeamlessGameProviderBonusBetListByModifyDate |
2019.06.20 |
3.21 |
Merge 3.1.7 "Redirect to Games Lobby after login" into 3.1.6 "Redirect to SeamlessGameProvider" |
2019.06.21 |
3.22 |
Add 5.13 "Get Customer Transaction" |
2019.07.24 |
3.23 |
Add 5.14 "Get All players's Sports Bet List By Modifydate" Add 5.15 "Get All players's Casino Bet List By Modifydate" Add 5.16 "Get All players's Games Bet List By Modifydate" Add 5.17 "Get All players's VirtualSports Bet List By Modifydate" Add 5.18 "Get All players's 3rd-party Games Bet List By Modifydate" |
2019.09.16 |
3.24 |
Add 8.9 "SBOBET-m theme" Add 8.10 "Euro-layout-m theme" Add 8.11 "China-layout-m theme" Add 8.11 "China-credit-layout-m theme" |
2019.09.17 |
3.25 |
Add description in ReportApi about we only keep data in two months. |
2019.10.14 |
3.26 |
Add description in ReportApi about new API 5.14 ~ 5.18 Add description in 3.1.3 about IsHtml5 parameters |
2019.10.24 |
3.27 |
Add new SeamlessGameProvider in API Document 6.14 6.15 |
2019.11.15 |
3.3 |
Add Saba related method and request/response body in API document 5.20~5.26, 6.16, 6.17 |
2019.12.17 |
3.32 |
Add WebId in Request body When Register Agent |
2020.02.04 |
3.33 |
Add 2.6 Get Sports Forecast page |
2020.02.05 |
3.34 |
Add 2.7 Get Sports Last 50 page |
2020.02.06 |
3.35 |
Add 3.18. SetLeagueBetSettingWithWebId Add 3.19. GetLeagueBetSettingWithWebId Add 3.20. SetLeagueGroupBetSettingWithWebId Add 3.21. GetLeagueGroupBetSettingWithWebId |
2020.02.06 |
3.36 |
Add 3.22. UpdatePlayerUserGroup |
2020.02.06 |
3.37 |
Add IONLC to 6.14. SeamlessGameProvider / SBO Game(new) / 3rd Party Game Product Type Product Type Add IONLC to 6.15. SeamlessGameProvider |
2020.02.06 |
3.38 |
Update 6.11 SportType |
2020.02.17 |
3.39 |
Update 3.13 GetLeagueIdAndName |
2020.02.18 |
3.40 |
Update 5.8 GetBetPayload Description |
2020.03.03 |
3.41 |
Add 5.20 Get Customer Live Casino Beauty Bet List By Modifydate |
2020.03.04 |
3.42 |
Modify 5 chapter order Modify5.3 GetBetPayloadNonSportBet connect Modify 5.15 Get Player Saba SportsBook Bet List By Modifydate path Add 3.2.7 GetGameList updateI.14. SeamlessGameProvider Game Product Type |
2020.03.13 |
3.43 |
3.1.3 Redirect to Casino Add parameter - productId |
2020.03.13 |
3.44 |
Could search ALL Virtual Sports now, including running bet. 5.5.4 GetVirtualSportsBetListByModifyDate 5.6.2 GetVirtualSportsBetListByTransid 5.10 Get Customer VirtualSports Bet List By ModifyDate |
2020.04.27 |
3.45 |
Add IdnPoker related API. 5.23 Get IdnPoker Transaction List 5.24 Get IdnPoker Bet List By TransId 5.25 Get Customer IdnPoker Bet List By Modifydate 5.26 Get IdnPoker Bet List By ModifyDate |
2020.06.09 |
3.46 |
Add GetSeamlessGameProviderBetListByRefNosWithAllBetStatus 5.6.4 GetSeamlessGameProviderBetListByRefNosWithAllBetStatus |
2020.07.09 |
3.47 |
Add GetSportsAndVirtualSportsBetListByModifyDate 5.27 GetSportsAndVirtualSportsBetListByModifyDate |
2020.08.10 |
3.49 |
Add CheckPlayerSuspiciousBehaviorForSports 3.24 CheckPlayerSuspiciousBehaviorForSports |
2021.01.20 |
3.50 |
Add RedirectToSBOLive after login 3.2.7 RedirectToSBOLive |
2021.06.22 |
3.51 |
Casino betList response add BetDetail、 GameResult. 5.2 GetBetList 5.5.3 GetCasinoBetListByModifyDate 5.6.1 GetCasinoBetListByTransid 5.8. Get Customer Casino Bet List By Modifydate 5.20 Get Customer Live Casino Beauty Bet List By ModifyDate Appendix I.6.1 Casino Bet |
2022.01.10 |
3.60 |
Add RedirectTo568WinCasino after login 3.2.8 RedirectTo568WinCasino Appendix I.6.1 Casino Bet |
2022.01.20 |
3.61 |
Add RedirectTo568WinSportsBook after login 3.2.9 RedirectTo568WinSportsBook |
2022.03.31 |
3.62 |
Abandoned several 568Win get-bet Api, change to using previous public get-bet Api 1. Abandoned 5.6.5 GetCustomerSports568BetListByTransid 2. Abandoned 5.7.1 Get Customer 568Win Sports Bet List By Modifydate |
2022.06.24 |
3.63 |
Add SBO Slot Games 3.2.4 Redirect to Game after login 14000124 - Pig Race 14000125 - Rich Runner |
2022.06.24 |
3.64 |
Add 5.7 Note of Fast Market BetOption Modify Description of BetOption on Appendix I.7.2 |
2022.07.14 |
3.65 |
Add 'kh-mr' to Appendix I.9. Language |
2022.07.14 |
3.66 |
Virtual sports add Bundesliga I.6.3 VirtualSportsBet I.18 SportsAndVirtualSportsBet SeamlessWallet - GameType |
2022.07.25 |
3.67 |
Add description 3.2.8 Redirect to 568WinCasino |
2022.08.10 |
3.7 |
Add 8.1 Recommend Match |
2022.09.10 |
3.71 |
Add GetRiskyTagPlayerForSportsByModifyDate 3.26 GetRiskyTagPlayerForSportsByModifyDate |
2022.09.23 |
3.72 |
Remove 'fr-fr' I.9. Language Add 'virtualSports' to remark 5.1 GetCustomerReport |
2022.09.26 |
3.73 | Add new Currency: AED/BRL/MXN/RUB | 2022.10.04 |
3.74 |
Add 'SettledTime' to I.7 SportsBet Related API 5.5.1 GetCustomerHistoryBetListByModifydate 5.5.2 GetCustomerBetListByModifydate 5.6 GetCustomerBetListByTransid 5.7 Get Customer Sports Bet List By Modifydate |
2022.10.25 |
3.75 |
API Add param "lang" Related API 5.5.4 GetVirtualSportsBetListByModifyDate 5.6.2 GetVirtualSportsBetListByTransid 5.10 Get Customer VirtualSports Bet List By ModifyDate |
2022.12.08 |
3.77 |
Abandoned SBO Live Api, 1. Abandoned 3.2.7 Redirect to SBO Live 2. Abandoned 5.12 Get Customer SBO Live Bet List By Modifydate 3. Abandoned 5.28 Get LiveCoin Transaction List By ModifyDate |
2023.01.03 |
3.78 |
Abandoned Tip Api in Seamless Wallet |
2023.02.09 |
3.79 |
Add 1.7 New System Supported Api List |
2023.03.16 |
3.80 | SBO Main theme has added support for new I.9 Language including Deutsch, Español, Pусский, Português, Japanese, Tamil, ភាសាខ្មែរ, and Français. | 2023.04.14 |
1.6 Disclaimer
Please note that Singapore, Philippines, Taiwan and Iran are the prohibited territories.
All of 568Win's services will not be accessed from above mentioned territories.
1.7 New System Supported
New System Supported Apis which is listing Below
2. AGENT API
2.1 RegisterAgent
This function is for registering a new agent account in white label system.Every agent's name must be unique under one company key.Please refer to Appendix V V.1. Register Agent.
name | sample | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
path |
http://{api-domain}/web-root/restricted/agent/register-agent.aspx |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
method |
POST |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
header |
Content-Type : application/x-www-form-urlencoded; charset=UTF-8 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
RequestBody |
"param" : { "companyKey" : "{CompanyKey}", "serverId" : "server ID", "username" : "agt001", "currency" : "USD", "country" : "ID", "language" : "en", "themeId" : "1", "webId" :"1", "min" : "10", "max" : "1000", "maxPerMatch" : "5000", "betSettings": [{"sport_type":"1","market_type":"1","min_bet":"1","max_bet":"2","max_bet_per_match":"3"}, {"sport_type":"2","market_type":"3","min_bet":"1","max_bet":"2","max_bet_per_match":"3"}] } |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ResponseBody |
{ "serverId" : "server ID", "error" : { "id" : 0, "msg" : "no error"} } |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
remark |
Request
|
2.2 UpdateAgentBetSettings
This function is for updating bet settings of an agent in white label system.
The parameter casinoTableLimit in the request will apply to new registered players' casinoTableLimit instead of existing players'.
Please refer to Appendix V V.3. Update Agent Bet Setting.
name | sample | ||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
path |
http://{api-domain}/web-root/restricted/agent/update-agent-bet-settings.aspx |
||||||||||||||||||||||||||||||||||||||||||||
method |
POST |
||||||||||||||||||||||||||||||||||||||||||||
header |
Content-Type : application/x-www-form-urlencoded; charset=UTF-8 |
||||||||||||||||||||||||||||||||||||||||||||
RequestBody |
"param" : { "companyKey" : "{CompanyKey}", "username": "agt001", "serverId" : "server ID", "min" : "10", "max" : "1000", "maxPerMatch" : "5000", "casinoTableLimit": "4" } |
||||||||||||||||||||||||||||||||||||||||||||
ResponseBody |
{ "serverId" : "server ID", "error" : { "id" : 0, "msg" : "no error"} } |
||||||||||||||||||||||||||||||||||||||||||||
remark |
Request
|
2.3 UpdateAgentStatus
Update agent status to closed/suspend/active. If status is closed, all of his players are not able to login. If status is suspend, all of his players are able to login, but not able to place order.
The status update will take effect immediately.
name | sample | ||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
path |
http://{api-domain}/web-root/restricted/agent/update-agent-status.aspx |
||||||||||||||||||||||||||||||||
method |
POST |
||||||||||||||||||||||||||||||||
header |
Content-Type : application/x-www-form-urlencoded; charset=UTF-8 |
||||||||||||||||||||||||||||||||
RequestBody |
"param" : { "companyKey" : "{CompanyKey}", "serverId" : "server ID", "username" : "agt001", "status" : "active" } |
||||||||||||||||||||||||||||||||
ResponseBody |
{ "error" : { "id" : 0, "msg" : "no error"}, "serverId" : "server ID" } |
||||||||||||||||||||||||||||||||
remark |
Request
|
2.4 UpdateDomains
Each agent own a domain list, players under the agent is only allowed to login from the list. The domain list is empty by default.If fund provider wish to use own url instead of url provided by 568win.com. Please set up CName or will receive failure response when calling our api methods.
name | sample | ||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
path |
http://{api-domain}/web-root/restricted/agent/update-domains.aspx |
||||||||||||||||||||||||||||||||
method |
POST |
||||||||||||||||||||||||||||||||
header |
Content-Type : application/x-www-form-urlencoded; charset=UTF-8 |
||||||||||||||||||||||||||||||||
RequestBody |
"param" : { "companyKey" : "{CompanyKey}", "serverId" : "server ID", "username" : "agt001", "domains" : ["domain1.com","domain2.com","domain3.com","domain4.com"] } |
||||||||||||||||||||||||||||||||
ResponseBody |
{ "error" : { "id" : 0, "msg" : "no error"}, "serverId" : "server ID" } |
||||||||||||||||||||||||||||||||
remark |
Request
|
2.5 LoginBackoffice
You can login admin backoffice through this api.
Detail:
The response token is considered as one time password for this login session which will be expired in 20 seconds.
Usage:
Step1: Call this API to get token
Step2: Generate URL in your side with token(get from step1) as below format
http://{admin-domain}/welcome.aspx?token=37.3f10ce59d7d8775c40c0a197d422590f&toUrl=BackOffice&lang=en
Step3: redirect user(Operator) to the URL(Step2)
Optional: Or you can use the account/password which you used to register API document to login Back Office.
name | sample | ||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
path |
http://{api-domain}/web-root/restricted/agent/login-backoffice.aspx |
||||||||||||||||||||||||||||||||
method |
POST |
||||||||||||||||||||||||||||||||
header |
Content-Type : application/x-www-form-urlencoded; charset=UTF-8 |
||||||||||||||||||||||||||||||||
RequestBody |
"param" : { "companyKey" : "{ CompanyKey }", "account" : "{ Back office account }", "serverId" : "server ID" } |
||||||||||||||||||||||||||||||||
ResponseBody |
{ "Token" : "37.3f10ce59d7d8775c40c0a197d422590f", "error" : { "id" : 0, "msg" : "no error"}, "serverId" : "server ID" } |
||||||||||||||||||||||||||||||||
remark |
Request
|
2.6 GetForecastPage
Calling this api to get url to access forecast page.
WebId default is 0, isGetAll default = false.
name | sample | ||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
path |
http://{api-domain}/web-root/restricted/page/get-forecast-page.aspx |
||||||||||||||||||||||||||||||||||||
method |
POST |
||||||||||||||||||||||||||||||||||||
header |
Content-Type : application/x-www-form-urlencoded; charset=UTF-8 |
||||||||||||||||||||||||||||||||||||
RequestBody |
"param" : { "companyKey" : "{ CompanyKey }", "webId" : 1, "isGetAll" : false, "serverId" : "server ID" } |
||||||||||||||||||||||||||||||||||||
ResponseBody |
{ "url" : "http://xxx.net/welcome.aspx?token=token&toUrl=Forecast&lang=en", "error" : { "id" : 0, "msg" : "no error"}, "serverId" : "server ID" } |
||||||||||||||||||||||||||||||||||||
remark |
Request
|
2.7 GetLast50Page
Calling this api to get url to access last 50 page.
WebId default is 0, isGetAll default = false.
name | sample | ||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
path |
http://{api-domain}/web-root/restricted/page/get-last50-page.aspx |
||||||||||||||||||||||||||||||||||||
method |
POST |
||||||||||||||||||||||||||||||||||||
header |
Content-Type : application/x-www-form-urlencoded; charset=UTF-8 |
||||||||||||||||||||||||||||||||||||
RequestBody |
"param" : { "companyKey" : "{ CompanyKey }", "webId" : 1, "isGetAll" : false, "serverId" : "server ID" } |
||||||||||||||||||||||||||||||||||||
ResponseBody |
{ "url" : "http://xxx.net/welcome.aspx?token=token&toUrl=last50&lang=en", "error" : { "id" : 0, "msg" : "no error"}, "serverId" : "server ID" } |
||||||||||||||||||||||||||||||||||||
remark |
Request
|
2.8. UpdateAgentPresetUserGroup
This function is for updating user group of an agent.
The parameter userGroup in the request will apply to new registered players' userGroup instead of existing players'.
name | sample | ||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
path |
http://{api-domain}/web-root/restricted/Agent/update-agent-preset-user-group.aspx |
||||||||||||||||||||||||||||||||
method |
POST |
||||||||||||||||||||||||||||||||
header |
Content-Type : application/x-www-form-urlencoded; charset=UTF-8 |
||||||||||||||||||||||||||||||||
RequestBody |
"param" : { "companyKey" : "{ CompanyKey }", "username" : "testAgent", "userGroup" : "c", "serverId" : "server ID" } |
||||||||||||||||||||||||||||||||
ResponseBody |
{"error":{"id":0,"msg":"NoError"},"serverId":"server ID"} |
||||||||||||||||||||||||||||||||
remark |
Request
|
3. PLAYER API
3.1 RegisterPlayer
This function is for registering a new player account in white label system.
Every player is binded to an agent. The hierarchy is => Company -> Agent -> Player.
The new player's default TableLimit is following with player's agent setting.
Please refer to Appendix V V.2. Register Player.
name | sample | ||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
path |
http://{api-domain}/web-root/restricted/player/register-player.aspx |
||||||||||||||||||||||||||||||||||||||||
method |
POST |
||||||||||||||||||||||||||||||||||||||||
header |
Content-Type : application/x-www-form-urlencoded; charset=UTF-8 |
||||||||||||||||||||||||||||||||||||||||
RequestBody |
"param" : { "companyKey" : "{CompanyKey}", "username" : "aaa01", "agent" : "agt001", "language" : "en", "serverId" : "server ID" } |
||||||||||||||||||||||||||||||||||||||||
ResponseBody |
{ "error" : { "id" : 0, "msg" : "no error"}, "serverId" : "server ID" } |
||||||||||||||||||||||||||||||||||||||||
remark |
Request
|
3.2 Login
Login function is used to get a login token for player who logins white label system. Login function is used to get a login token for player who logins white label system. The token is considered as one time password for this login session and it will be expired in 20 seconds. Player is required to carry this token to visit our website in order for authentication. And then the client should call the entry of target server, take SportsBook for example: http://{sportsbook-domain}, the entrance is http://{sportsbook-domain}/welcome2.aspx?token=token&lang=en&oddstyle=MY&theme=black&oddsmode=double&device=d
name | sample | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
path |
http://{api-domain}/web-root/restricted/player/login.aspx |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
method |
POST |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
header |
Content-Type : application/x-www-form-urlencoded; charset=UTF-8 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
RequestBody |
"param" : { "companyKey" : "{CompanyKey}", "username" : "aaa01", "portfolio" : "casino", "serverId" : "server ID" } |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ResponseBody |
{ "username" : "aaa01", "token" : "21321.JKDFAxk217daJLKdfa", "error" : { "id" : 0, "msg" : "no error"}, "serverId" : "server ID" } |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
remark |
Request
|
3.2.1 Redirect to SportsBook
After receive the login response,please use the token to redirect to our SportsBook welcome page.
*Reminder: Please use sports- instead of sports. in the beginning of the URL.
name | sample |
---|---|
Uri |
http://{sportsbook-domain}/welcome2.aspx?token=token&lang=en&oddstyle=MY&theme=black&oddsmode=double&device=d&recommendMatchId=24503959 |
lang |
Please refer to language |
oddstyle |
MY : Malay odds HK : HongKong odds EU : Euro odds ID : Indonesia odds |
theme |
If want to change theme to Black, add &theme=black, "black" can be replaced with other themes. Please refer to Appendix III for more details about setting themes. Please note that this change will only work on SportsBook and not influence themes of Casino and Games. ※theme will save into cookie, once you set theme parameter but not working, please clean up cookie and try again.※ |
oddsmode |
Double / Single |
device |
desktop => 'd' / '1' mobile => 'm' / '2' |
RecommendMatchId |
Optional, recommended matchId you can get from 8.1. Recommend Match |
3.2.2 Redirect to SportsBook Wap
After receive the login response,please use the token to redirect to our SportsBook Wap welcome page.
WAP is a low data version sportsbook interface. You may refer to this image.
*Reminder: Please use wap- instead of wap. in the beginning of the URL.
name | sample |
---|---|
Uri |
http://{sportsbookwap-domain}/web_root/public/welcome.aspx?token=token&lang=en&lcount=0&site=i&oddStyle=ID |
lang |
Please refer to language |
3.2.3 Redirect to Casino
After receive the login response,please use the token to redirect to our Casino welcome page.
*Reminder: Please use lobby- instead of lobby. in the beginning of the URL.
name | sample | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Uri |
http://{casino-domain}/welcome.aspx?token=token&locale=en&sb={sportsbook-domain}&device=d&loginMode=2&productId=0 |
||||||||||||||||||
locale |
Please refer to language |
||||||||||||||||||
sb |
Your sportsbooks url |
||||||||||||||||||
device |
d : desktop m : mobile (When use m, please keep loginMode = 2) |
||||||||||||||||||
loginMode |
Html5 => 2 |
||||||||||||||||||
productId |
|
3.2.4 Redirect to Game
After receive the login response,please use the token to redirect to our Game welcome page.
*Reminder: Please use rng- instead of rng. in the beginning of the URL.
name | sample | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Uri |
http://{game-domain}/web-root/public/?gameId=gameId&token=token |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
gameId |
Game IDs of game entries are as followed:
|
3.2.5 Redirect to VirtualSports
After receive the login response,please use the token to redirect to our VirtualSports.
*Reminder: Please use virtualsports- instead of virtualsports. in the beginning of the URL.
*Reminder: The program will automatically detect the user's device (desktop/phone) and provide the corresponding web version.
name | sample |
---|---|
Uri |
http://{virtualsports-domain}/Home/Welcome?gmOnlineId=3458478272&token=token&lang=en |
lang |
*Supported language : English(en)/Traditional Chinese(zh-tw)/Simplify Chinese(zh-cn)/Indo(id-id)/Thai (th-th) *The following languages will be presented in English : Vietname (vi-vn)/Russian (ru-ru )/Japanese (ja-jp)/Korean (ko-kr)/Deutsch (de-de)/Spanish (es-es) *Unsupported language : Burmese(my-mm), Português(pt -pt), Français(fr-fr) Please refer to language |
3.2.6 Redirect to SeamlessGameProvider
After receive the login response,please use the token to redirect to our SeamlessGameProvider.
*Reminder: Please use gp- instead of gp.
if you need to use iframe our side, please use https as Uri
name | sample |
---|---|
Uri |
http://{gameprovider-domain}/Game/Welcome?gpid=0&gameid=0&token=token&lang=en&device=d&betCode=5CNY2050000_5CNY100200000 |
lang |
*Supported language : English(en)/Traditional Chinese(zh-tw)/Simplify Chinese(zh-cn)/Indo(id-id)/Thai (th-th) *The following languages will be presented in English : Vietname (vi-vn)/Russian (ru-ru )/Japanese (ja-jp)/Korean (ko-kr)/Deutsch (de-de)/Spanish (es-es) *Unsupported language : Burmese(my-mm), Português(pt -pt), Français(fr-fr) Please refer to language |
gpid/gameid |
gpid : The id is used to define the game provider which player choose. |
device |
d : desktop m : mobile |
betCode |
The id is used to adjust 3rd-party betlimit before login,if need to set multiple bet limit,please split by "_"(e.g. 0BACCNY1100_0BACCNY5500),betCode please reference to GameProvider Bet Limit List |
3.2.7 Redirect to SBO Live(Abandoned)
After receive the login response,please use the token to redirect to our SBO Live welcome page.
name | sample |
---|---|
Uri |
http://{sportsbook-domain}/welcomeSBOLive.aspx?token=token&lang=en |
lang |
Please refer to language |
3.2.8 Redirect to 568WinCasino
After receive the login response,please use the token to redirect to our 568WinCasino welcome page.
*Reminder: Please use lobby568- instead of lobby. in the beginning of the URL.
*Only support PHP currency.
name | sample | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Uri |
http://{casino-domain}/welcome.aspx?token=token&locale=en&sb={sportsbook-domain}&device=d&loginMode=2&productId=0 |
||||||||||||||||
locale |
Please refer to language |
||||||||||||||||
sb |
Your sportsbooks url |
||||||||||||||||
device |
d : desktop m : mobile (When use m, please keep loginMode = 2) |
||||||||||||||||
loginMode |
Html5 => 2 |
||||||||||||||||
productId |
|
3.2.9 Redirect to 568WinSportsBook
After receive the login response,please use the token to redirect to our SportsBook568 welcome page.
*Reminder: Please use sports- instead of sports. in the beginning of the URL.
name | sample |
---|---|
Uri |
http://{sportsbook-domain}/welcomeSports568.aspx?token=token&lang=en&oddstyle=MY&oddsmode=double&device=d |
lang |
Please refer to language |
oddstyle |
MY : Malay odds HK : HongKong odds EU : Euro odds ID : Indonesia odds |
oddsmode |
Double / Single |
device |
desktop => 'd' / '1' mobile => 'm' / '2' |
3.2.10 GetSeamlessGameproviderGameList
get gameprovider all games (New)
name | sample | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
path |
http://{api-domain}/web-root/restricted/seamlessgameprovider/get-seamlessgameprovider-game-list.aspx |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
method |
POST |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
header |
Content-Type : application/x-www-form-urlencoded; charset=UTF-8 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
RequestBody |
param: { "gpid": "3", "isGetAll": "true", "companyKey": "{CompanyKey}", "serverId": "server ID" } |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ResponseBody |
{ "SeamlessGameProviderGames": [ { "GameProviderId": 3, "GameProvider": "PragmaticPlay", "GameId": 1, "GameType": "2", "Rank": 110, "Device": "d,m", "Platform": "HTML5", "Provider": "PragmaticPlay", "RTP": 0.9653, "Rows": 3, "Reels": 5, "Lines": 50, "GameInfos": [ { "Language": "cn", "GameName": "3个精灵愿望", "GameIconUrl": "https://sbo-tw1.prerelease-env.biz/game_pic/rec/160/vs50aladdin.png" }, { "Language": "en", "GameName": "3 Genie Wishes", "GameIconUrl": "https://sbo-tw1.prerelease-env.biz/game_pic/rec/160/vs50aladdin.png" }, { "Language": "id", "GameName": "3 Hajat Jin", "GameIconUrl": "https://sbo-tw1.prerelease-env.biz/game_pic/rec/160/vs50aladdin.png" }, { "Language": "jp", "GameName": "精霊の3つの願い", "GameIconUrl": "https://sbo-tw1.prerelease-env.biz/game_pic/rec/160/vs50aladdin.png" }, { "Language": "kr", "GameName": "지니의 소원 3가지", "GameIconUrl": "https://sbo-tw1.prerelease-env.biz/game_pic/rec/160/vs50aladdin.png" }, { "Language": "th", "GameName": "3 Hajat Jin", "GameIconUrl": "https://sbo-tw1.prerelease-env.biz/game_pic/rec/160/vs50aladdin.png" }, { "Language": "vn", "GameName": "3 Điều ước của Thần linh", "GameIconUrl": "https://sbo-tw1.prerelease-env.biz/game_pic/rec/160/vs50aladdin.png" } ], "SupportedCurrencies": [], "BlockCountries": [], "IsMaintain": false, "IsEnabled": true }, { "GameProviderId": 36, "GameProvider": "FlowGamingHub, "GameId": 1, "GameType": "3", "Rank": 1, "Device": null, "Platform": null, "Provider": "Kiron", "RTP": 0, "Rows": 0, "Reels": 0, "Lines": 0, "GameInfos": [ { "Language": "en", "GameName": "Smart Play Keno", "GameIconUrl": "/images/games/FlowGamingHub/KironGameIcons/161x118/KIR_Keno.png" } ], "SupportedCurrencies": ["CNY","IDR","INR","JPY","KRW","MYR","THB","USD","VND"], "BlockCountries": ["AU","BE","BG","CY","CZ","DE","DK","EE","ES","FI","FR","GR","HK", "HR","HU","IE","IT","LT","LU","LV","MT","NL","PH","PL","PT","RO","SE","SG","SI","SK"], "IsMaintain": false, "IsEnabled": true } ], "error": { "id":0, "msg":"NoError" }, "serverId":"210" } |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
remark |
Request
|
3.3 UpdatePlayerStatus
Update player status to closed/suspend/active. If status is closed, the player is not able to login and will be kick out if he is already in system. If status is suspend, all of his players are able to login, but not able to place order.
The status update will take effect immediately.
name | sample | ||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
path |
http://{api-domain}/web-root/restricted/player/update-player-status.aspx |
||||||||||||||||||||||||||||||||
method |
POST |
||||||||||||||||||||||||||||||||
header |
Content-Type : application/x-www-form-urlencoded; charset=UTF-8 |
||||||||||||||||||||||||||||||||
RequestBody |
"param" : { "companyKey" : "{CompanyKey}", "username" : "aaa01", "status" : "closed", "serverId" : "server ID" } |
||||||||||||||||||||||||||||||||
ResponseBody |
{ "error" : { "id" : 0, "msg" : "no error"}, "serverId" : "server ID" } |
||||||||||||||||||||||||||||||||
remark |
Request
|
3.4 Deposit
This function is for player to transfer money from fund provider's wallet into white label system. White label system only allow player deposit on his own currency defined when registration.
TxnId is created by customer for identifying this transaction. Reference number is created by white label system for identifying this transaction. TxnId and reference number is one to one mapping. If two request with same txnId, the 2nd request will return error.
name | sample | ||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
path |
http://{api-domain}/web-root/restricted/player/deposit.aspx |
||||||||||||||||||||||||||||||||||||||||||||||||||||
method |
POST |
||||||||||||||||||||||||||||||||||||||||||||||||||||
header |
Content-Type : application/x-www-form-urlencoded; charset=UTF-8 |
||||||||||||||||||||||||||||||||||||||||||||||||||||
RequestBody |
"param" : { "companyKey" : "{CompanyKey}", "username" : "aaa01", "amount" : "1312.93", "txnId" : "127DD-218-21387221", "serverId" : "server ID" } |
||||||||||||||||||||||||||||||||||||||||||||||||||||
ResponseBody |
{ "txnId":"127DD-218-21387221", "refno":"5453", "balance":4515.0, "outstanding":600.0, "error" : { "id" : 0, "msg" : "no error"}, "serverId":"server ID" } |
||||||||||||||||||||||||||||||||||||||||||||||||||||
remark |
Request
|
3.5 Withdraw
This function is for player to transfer money from white label system to fund provider's wallet. White label system only allow player withdraw on his own currency defined upon registration.
TxnId is created by customer for identifying this transaction. Reference number is created by white label system for identifying this transaction. TxnId and reference number is one to one mapping. If two request with same txnId, the 2nd request will return error.
Player is only allowed to withdraw available balance. If there are pending orders, player is not able to withdraw the wager until it is settled.
Player is only allowed to withdraw up to cents level.
For example: Validate format: 19.42; Invalid format: 19.4297;
name | sample | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
path |
http://{api-domain}/web-root/restricted/player/withdraw.aspx |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
method |
POST |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
header |
Content-Type : application/x-www-form-urlencoded; charset=UTF-8 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
RequestBody |
"param" : { "companyKey" : "{CompanyKey}", "username" : "aaa01", "amount" : "132.93", "isFullAmount": "False", "txnId" : "7W-218-21387199", "serverId" : "server ID" } |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ResponseBody |
{ "amount":132.93, "txnId":"7W-218-21387199", "refno":"5454", "balance":4415.0, "outstanding":600.0, "error" : { "id" : 0, "msg" : "no error"}, "serverId":"server ID" } |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
remark |
Request
|
3.6 CheckTransactionStatus
It is to check the transaction status by providing transaction Id.
name | sample | ||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
path |
http://{api-domain}/web-root/restricted/player/check-transaction-status.aspx |
||||||||||||||||||||||||||||||||||||||||||||
method |
POST |
||||||||||||||||||||||||||||||||||||||||||||
header |
Content-Type : application/x-www-form-urlencoded; charset=UTF-8 |
||||||||||||||||||||||||||||||||||||||||||||
RequestBody |
"param" : { "companyKey" : "{CompanyKey}", "txnId" : "7W-218-21387199", "serverId" : "server ID" } |
||||||||||||||||||||||||||||||||||||||||||||
ResponseBody |
{ "txnId" : "7W-218-21387199", "refno" : "5454", "transactionType" : "withdraw", "amount" : -1,312.93, "error" : { "id" : 0, "msg" : "no error"}, "serverId" : "server ID" } |
||||||||||||||||||||||||||||||||||||||||||||
remark |
Request
|
3.7 GetPlayerBalance
Retrieve player balance from white label system.
name | sample | ||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
path |
http://{api-domain}/web-root/restricted/player/get-player-balance.aspx |
||||||||||||||||||||||||||||||||||||||||
method |
POST |
||||||||||||||||||||||||||||||||||||||||
header |
Content-Type : application/x-www-form-urlencoded; charset=UTF-8 |
||||||||||||||||||||||||||||||||||||||||
RequestBody |
"param" : { "companyKey" : "{CompanyKey}", "username" : "aaa01", "serverId" : "server ID" } |
||||||||||||||||||||||||||||||||||||||||
ResponseBody |
{ "username": "aaa01", "currency": "CNY", "balance": 1000, "outstanding": 100, "error" : { "id" : 0, "msg" : "no error"}, "serverId": "server ID" } |
||||||||||||||||||||||||||||||||||||||||
remark |
Request
|
3.8 Logout
Logout player and clear the current session if the player is in the system. Used for SBO products
name | sample | ||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
path |
http://{api-domain}/web-root/restricted/player/logout.aspx |
||||||||||||||||||||||||||||
method |
POST |
||||||||||||||||||||||||||||
header |
Content-Type : application/x-www-form-urlencoded; charset=UTF-8 |
||||||||||||||||||||||||||||
RequestBody |
"param" : { "companyKey" : "{CompanyKey}", "username" : "aaa01", "serverId" : "server ID" } |
||||||||||||||||||||||||||||
ResponseBody |
{ "error" : { "id" : 0, "msg" : "no error"}, "serverId" : "server ID" } |
||||||||||||||||||||||||||||
remark |
Request
|
3.8.1 LogoutSeamlessGameProvider
Logout players and clear the current session if the player is in specific seamless game provider. Currently only support 12 (IONLC)
name | sample | ||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
path |
http://{api-domain}/web-root/restricted/seamlessgameprovider/logout-player.aspx |
||||||||||||||||||||||||||||||||||||
method |
POST |
||||||||||||||||||||||||||||||||||||
header |
Content-Type : application/x-www-form-urlencoded; charset=UTF-8 |
||||||||||||||||||||||||||||||||||||
RequestBody |
"param" : { "gpid":"12", "username":"testPlayer", "isLogoutAll":"False", "CompanyKey":"{CompanyKey}", "serverId":"server ID" } |
||||||||||||||||||||||||||||||||||||
ResponseBody |
{ "error" : { "id" : 0, "msg" : "no error"}, "serverId" : "server ID" } |
||||||||||||||||||||||||||||||||||||
remark |
Request
|
3.9 UpdatePlayerBetSettings
This function is for updating bet settings of a player in white label system.MaxPerMatch have to greater than / equal to max bet and max bet have to greater than / equal to min bet.Please refer to Appendix V V.4. Update Player Bet Setting.
** you Want to update bet settings of a agent in white label system. Please refer 2.2. UpdateAgentBetSettings
name | sample | ||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
path |
http://{api-domain}/web-root/restricted/player/update-player-bet-settings.aspx |
||||||||||||||||||||||||||||||||||||||||||||
method |
POST |
||||||||||||||||||||||||||||||||||||||||||||
header |
Content-Type : application/x-www-form-urlencoded; charset=UTF-8 |
||||||||||||||||||||||||||||||||||||||||||||
RequestBody |
"param" : { "companyKey" : "{CompanyKey}", "username": "aaa01", "serverId" : "server ID", "min" : "10", "max" : "1000", "maxPerMatch" : "5000", "casinoTableLimit" : "4" } |
||||||||||||||||||||||||||||||||||||||||||||
ResponseBody - update Success |
{ "error" : { "id" : 0, "msg" : "no error"}, "serverId" : "server ID" } |
||||||||||||||||||||||||||||||||||||||||||||
remark |
Request
|
3.9.1 UpdateMultiplePlayersBetSettings
This function is for updating bet settings of multiple players in white label system.MaxPerMatch have to greater than / equal to max bet and max bet have to greater than / equal to min bet.Please refer to Appendix V V.4. Update Player Bet Setting.
** you Want to update bet settings of a agent in white label system. Please refer 2.2. UpdateAgentBetSettings
name | sample | ||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
path |
http://{api-domain}/web-root/restricted/player/update-multiple-players-bet-settings.aspx |
||||||||||||||||||||||||||||||||||||||||||||
method |
POST |
||||||||||||||||||||||||||||||||||||||||||||
header |
Content-Type : application/x-www-form-urlencoded; charset=UTF-8 |
||||||||||||||||||||||||||||||||||||||||||||
RequestBody |
"param" : { "companyKey" : "{CompanyKey}", "usernames": ["aaa01", "aaa02", "aaa03"], "serverId" : "server ID", "min" : "10", "max" : "1000", "maxPerMatch" : "5000", "casinoTableLimit" : "4" } |
||||||||||||||||||||||||||||||||||||||||||||
ResponseBody - update Success |
{ "error" : { "id" : 0, "msg" : "no error"}, "serverId" : "server ID" } |
||||||||||||||||||||||||||||||||||||||||||||
remark |
Request
|
3.10 UpdatePlayerBetSettingsBySportTypeAndMarketType
This function is for updating bet settings of a player by sport type and market type in white label system.
MaxPerMatch have to greater than / equal to max bet and max bet have to greater than / equal to min bet.
Enter an agent name will update all existing players' bet setting under that agent.
The new register player will not use this bet setting.
Please refer to Appendix V
V.5. SportType and MarketType Betsetting
V.6. Update Agent Bet Setting by SportType and MarketType
V.7. Update Player Bet Setting by SportType and MarketType
name | sample | ||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
path |
http://{api-domain}/web-root/restricted/betsetting/update-bet-setting-by-sportid-and-markettype.aspx |
||||||||||||||||||||||||||||||||
method |
POST |
||||||||||||||||||||||||||||||||
header |
Content-Type : application/x-www-form-urlencoded; charset=UTF-8 |
||||||||||||||||||||||||||||||||
RequestBody |
"param" : { "companyKey" : "{CompanyKey}", "username": "aaa01", "serverId" : "server ID", "betSettings": [{"sport_type":"1","market_type":"1","min_bet":"1","max_bet":"2","max_bet_per_match":"3"}, {"sport_type":"2","market_type":"3","min_bet":"1","max_bet":"2","max_bet_per_match":"3"}, {"sport_type":"0","market_type":"40","min_bet":"1","max_bet":"2","max_bet_per_match":"3"}] } |
||||||||||||||||||||||||||||||||
ResponseBody |
{ "error" : { "id" : 0, "msg" : "no error"}, "serverId" : "server ID" } |
||||||||||||||||||||||||||||||||
remark |
Request
|
3.11 UpdateAgentPresetBetSettingsBySportTypeAndMarketType
This function is for updating bet settings of a Agent by sport type and market type in white label system.
MaxPerMatch have to greater than / equal to max bet and max bet have to greater than / equal to min bet.
Only can Enter an agent name The Bet Settings wil not apply the current player but the new register player
Please refer to Appendix V
V.5. SportType and MarketType Betsetting.
name | sample | ||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
path |
http://{api-domain}/web-root/restricted/betsetting/update-agent-preset-bet-setting-by-sportid-and-markettype.aspx |
||||||||||||||||||||||||||||||||
method |
POST |
||||||||||||||||||||||||||||||||
header |
Content-Type : application/x-www-form-urlencoded; charset=UTF-8 |
||||||||||||||||||||||||||||||||
RequestBody |
"param" : { "companyKey" : "{CompanyKey}", "username": "aaa01", "serverId" : "server ID", "betSettings": [{"sport_type":"1","market_type":"1","min_bet":"1","max_bet":"2","max_bet_per_match":"3"}, {"sport_type":"2","market_type":"3","min_bet":"1","max_bet":"2","max_bet_per_match":"3"}, {"sport_type":"0","market_type":"40","min_bet":"1","max_bet":"2","max_bet_per_match":"3"}] } |
||||||||||||||||||||||||||||||||
ResponseBody |
{ "error" : { "id" : 0, "msg" : "no error"}, "serverId" : "server ID" } |
||||||||||||||||||||||||||||||||
remark |
Request
|
3.12 GetMemberBetSettingsWithSportTypeAndMarketType
This function is get bet settings of a member by sport type and market type in white label system.
name | sample | ||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
path |
http://{api-domain}/web-root/restricted/betsetting/get-member-bet-settings-with-sportid-and-markettype.aspx |
||||||||||||||||||||||||||||||||
method |
POST |
||||||||||||||||||||||||||||||||
header |
Content-Type : application/x-www-form-urlencoded; charset=UTF-8 |
||||||||||||||||||||||||||||||||
RequestBody |
"param" : { "companyKey" : "{CompanyKey}", "username": "aaa01", "serverId" : "server ID" } |
||||||||||||||||||||||||||||||||
ResponseBody |
{ "account":"PlayerLeo01", "betsetting":[ { "sport_type":0, "market_type":0, "min_bet":10, "max_bet":100, "max_bet_per_match":100000 },{ "sport_type":1, "market_type":1, "min_bet":1, "max_bet":2, "max_bet_per_match":3 },{ "sport_type":2, "market_type":3, "min_bet":1, "max_bet":2, "max_bet_per_match":3 }], "error" : { "id" : 0, "msg" : "no error"}, "serverId":"server ID" } |
||||||||||||||||||||||||||||||||
remark |
Request
|
3.13 GetLeagueIdAndName
This function is get league id and league name in white label system.
name | sample | ||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
path |
http://{api-domain}/web-root/restricted/league/get-league.aspx |
||||||||||||||||||||||||||||||||||||||||||||
method |
POST |
||||||||||||||||||||||||||||||||||||||||||||
header |
Content-Type : application/x-www-form-urlencoded; charset=UTF-8 |
||||||||||||||||||||||||||||||||||||||||||||
RequestBody |
"param" : { "companyKey": "{CompanyKey}", "serverId": "server ID", "leagueNameKeyWord": "cup", "fromDate": "2019-05-01", "endDate": "2019-05-31", "sportType": "1" } |
||||||||||||||||||||||||||||||||||||||||||||
ResponseBody |
{ "leagues": [ { "league_id" : "2324", "league_name" : "King's Cup (in Thailand)": }, { "league_id" : "2232", "league_name" : "New Zealand ISPS Handa Chatham Cup": } ], "error" : { "id" : 0, "msg" : "no error"}, "serverId":"server ID" } |
||||||||||||||||||||||||||||||||||||||||||||
remark |
Request
|
3.14 SetLeagueBetSetting
This function is set bet settings of a league in white label system by league id ,currency and whether match under league is live.
name | sample | ||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
path |
http://{api-domain}/web-root/restricted/league/set-league-bet-setting.aspx |
||||||||||||||||||||||||||||||||||||||||||||||||||||
method |
POST |
||||||||||||||||||||||||||||||||||||||||||||||||||||
header |
Content-Type : application/x-www-form-urlencoded; charset=UTF-8 |
||||||||||||||||||||||||||||||||||||||||||||||||||||
RequestBody |
"param" : { "companyKey": "{CompanyKey}", "serverId": "server ID", "leagueId":"1", "currency":"USD", "isLive":false, "minBet":"100", "maxBet":"1000", "maxBetRatio":"0.9", "groupType":"BIG" } |
||||||||||||||||||||||||||||||||||||||||||||||||||||
ResponseBody |
{ "error" : { "id" : 0, "msg" : "no error"}, "serverId":"server ID" } |
||||||||||||||||||||||||||||||||||||||||||||||||||||
remark |
Request
|
3.15 GetLeagueBetSetting
This function is get bet settings of a league in white label system by league id ,currency and whether match under league is live.
name | sample | ||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
path |
http://{api-domain}/web-root/restricted/league/get-league-bet-setting.aspx |
||||||||||||||||||||||||||||||||||||||||
method |
POST |
||||||||||||||||||||||||||||||||||||||||
header |
Content-Type : application/x-www-form-urlencoded; charset=UTF-8 |
||||||||||||||||||||||||||||||||||||||||
RequestBody |
"param" : { "companyKey": "{CompanyKey}", "serverId": "server ID", "leagueId":"1", "currency":"USD", "isLive":false } |
||||||||||||||||||||||||||||||||||||||||
ResponseBody |
{ "leagueBetBetSettings": [ { "league_id": 1, "currency": "USD", "is_live": false, "min_bet": 100, "max_bet": 1000, "max_bet_ratio": 0.9, "group_type": "BIG" } ], "error" : { "id" : 0, "msg" : "no error"}, "serverId":"server ID" } |
||||||||||||||||||||||||||||||||||||||||
remark |
Request
|
3.16 SetLeagueGroupBetSetting
This function is set group bet settings of a league in white label system by groupType, currency and whether match under league is live.
name | sample | ||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
path |
http://{api-domain}/web-root/restricted/league/set-league-group-bet-setting.aspx |
||||||||||||||||||||||||||||||||||||||||||||||||
method |
POST |
||||||||||||||||||||||||||||||||||||||||||||||||
header |
Content-Type : application/x-www-form-urlencoded; charset=UTF-8 |
||||||||||||||||||||||||||||||||||||||||||||||||
RequestBody |
"param" : { "companyKey": "{CompanyKey}", "serverId": "server ID", "groupType":"BIG", "currency":"USD", "isLive":false, "minBet":"100", "maxBet":"1000", "maxBetRatio":"0.9" } |
||||||||||||||||||||||||||||||||||||||||||||||||
ResponseBody |
{ "error" : { "id" : 0, "msg" : "no error"}, "serverId":"server ID" } |
||||||||||||||||||||||||||||||||||||||||||||||||
remark |
Request
|
3.17 GetLeagueGroupBetSetting
This function is get group bet settings of a league in white label system by groupType, currency and whether match under league is live.
name | sample | ||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
path |
http://{api-domain}/web-root/restricted/league/get-league-group-bet-setting.aspx |
||||||||||||||||||||||||||||||||||||||||
method |
POST |
||||||||||||||||||||||||||||||||||||||||
header |
Content-Type : application/x-www-form-urlencoded; charset=UTF-8 |
||||||||||||||||||||||||||||||||||||||||
RequestBody |
"param" : { "companyKey": "{CompanyKey}", "serverId": "server ID", "groupType":"BIG", "currency":"USD", "isLive":false } |
||||||||||||||||||||||||||||||||||||||||
ResponseBody |
{ "leagueGroupBetBetSettings": [ { "group_type": "BIG", "currency": "USD", "is_live": false, "min_bet": 100, "max_bet": 1000, "max_bet_ratio": 0.9 } ], "error" : { "id" : 0, "msg" : "no error"}, "serverId":"server ID" }W |
||||||||||||||||||||||||||||||||||||||||
remark |
Request
|
3.18 SetLeagueBetSettingWithWebId
This function is set bet settings of a league in white label system by webId, league id ,currency and whether match under league is live.
name | sample | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
path |
http://{api-domain}/web-root/restricted/league/set-league-bet-setting-with-web-id.aspx |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
method |
POST |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
header |
Content-Type : application/x-www-form-urlencoded; charset=UTF-8 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
RequestBody |
"param" : { "companyKey": "{CompanyKey}", "serverId": "server ID", "webId":"1", "leagueId":"1", "currency":"USD", "isLive":false, "minBet":"100", "maxBet":"1000", "maxBetRatio":"0.9", "groupType":"BIG" } |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ResponseBody |
{ "error" : { "id" : 0, "msg" : "no error"}, "serverId":"server ID" } |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
remark |
Request
|
3.19 GetLeagueBetSettingWithWebId
This function is get bet settings of a league in white label system by webId,league id ,currency and whether match under league is live.
name | sample | ||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
path |
http://{api-domain}/web-root/restricted/league/get-league-bet-setting-with-web-id.aspx |
||||||||||||||||||||||||||||||||||||||||||||
method |
POST |
||||||||||||||||||||||||||||||||||||||||||||
header |
Content-Type : application/x-www-form-urlencoded; charset=UTF-8 |
||||||||||||||||||||||||||||||||||||||||||||
RequestBody |
"param" : { "companyKey": "{CompanyKey}", "serverId": "server ID", "webId":"1", "leagueId":"1", "currency":"USD", "isLive":false } |
||||||||||||||||||||||||||||||||||||||||||||
ResponseBody |
{ "leagueBetBetSettings": [ { "league_id": 1, "currency": "USD", "is_live": false, "min_bet": 100, "max_bet": 1000, "max_bet_ratio": 0.9, "group_type": "BIG" } ], "error" : { "id" : 0, "msg" : "no error"}, "serverId":"server ID" } |
||||||||||||||||||||||||||||||||||||||||||||
remark |
Request
|
3.20 SetLeagueGroupBetSettingWithWebId
This function is set group bet settings of a league in white label system by webId,groupType, currency and whether match under league is live.
name | sample | ||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
path |
http://{api-domain}/web-root/restricted/league/set-league-group-bet-setting-with-web-id.aspx |
||||||||||||||||||||||||||||||||||||||||||||||||||||
method |
POST |
||||||||||||||||||||||||||||||||||||||||||||||||||||
header |
Content-Type : application/x-www-form-urlencoded; charset=UTF-8 |
||||||||||||||||||||||||||||||||||||||||||||||||||||
RequestBody |
"param" : { "companyKey": "{CompanyKey}", "serverId": "server ID", "webId":"1", "groupType":"BIG", "currency":"USD", "isLive":false, "minBet":"100", "maxBet":"1000", "maxBetRatio":"0.9" } |
||||||||||||||||||||||||||||||||||||||||||||||||||||
ResponseBody |
{ "error" : { "id" : 0, "msg" : "no error"}, "serverId":"server ID" } |
||||||||||||||||||||||||||||||||||||||||||||||||||||
remark |
Request
|
3.21 GetLeagueGroupBetSettingWithWebId
This function is get group bet settings of a league in white label system by webId,groupType, currency and whether match under league is live.
name | sample | ||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
path |
http://{api-domain}/web-root/restricted/league/get-league-group-bet-setting-with-web-id.aspx |
||||||||||||||||||||||||||||||||||||||||||||
method |
POST |
||||||||||||||||||||||||||||||||||||||||||||
header |
Content-Type : application/x-www-form-urlencoded; charset=UTF-8 |
||||||||||||||||||||||||||||||||||||||||||||
RequestBody |
"param" : { "companyKey": "{CompanyKey}", "serverId": "server ID", "webId":"1", "groupType":"BIG", "currency":"USD", "isLive":false } |
||||||||||||||||||||||||||||||||||||||||||||
ResponseBody |
{ "leagueGroupBetBetSettings": [ { "group_type": "BIG", "currency": "USD", "is_live": false, "min_bet": 100, "max_bet": 1000, "max_bet_ratio": 0.9 } ], "error" : { "id" : 0, "msg" : "no error"}, "serverId":"server ID" } |
||||||||||||||||||||||||||||||||||||||||||||
remark |
Request
|
3.22 UpdatePlayerUserGroup
This function is update player user group.Enter an agent name will update all existing players' user group under that agent.The new register player will not use this setting.
name | sample | ||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
path |
http://{api-domain}/web-root/restricted/player/update-player-user-group.aspx |
||||||||||||||||||||||||||||||||
method |
POST |
||||||||||||||||||||||||||||||||
header |
Content-Type : application/x-www-form-urlencoded; charset=UTF-8 |
||||||||||||||||||||||||||||||||
RequestBody |
"param" : { "companyKey": "{CompanyKey}", "serverId": "server ID", "username":"alibaba", "userGroup":"a", } |
||||||||||||||||||||||||||||||||
ResponseBody |
{ "error" : { "id" : 0, "msg" : "no error"}, "serverId":"server ID" } |
||||||||||||||||||||||||||||||||
remark |
Request
|
3.23 SetPlayerSuspiciousForSports
This function will set player as Suspicious.
name | sample | ||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
path |
http://{api-domain}/web-root/restricted/player/set-player-suspicious-for-sports.aspx |
||||||||||||||||||||||||||||
method |
POST |
||||||||||||||||||||||||||||
header |
Content-Type : application/x-www-form-urlencoded; charset=UTF-8 |
||||||||||||||||||||||||||||
RequestBody |
"param" : { "companyKey" : "{CompanyKey}", "serverId" : "server ID", "username":"alibaba" } |
||||||||||||||||||||||||||||
ResponseBody |
{ "error" : { "id" : 0, "msg" : "no error"}, "serverId":"server ID" } |
||||||||||||||||||||||||||||
remark |
Request
|
3.24 SetPlayerUnsuspiciousForSports(Abandoned)
This function will set player as Unsuspicious.
name | sample | ||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
path |
http://{api-domain}/web-root/restricted/player/set-player-unsuspicious-for-sports.aspx |
||||||||||||||||||||||||||||
method |
POST |
||||||||||||||||||||||||||||
header |
Content-Type : application/x-www-form-urlencoded; charset=UTF-8 |
||||||||||||||||||||||||||||
RequestBody |
"param" : { "companyKey" : "{CompanyKey}", "serverId" : "server ID", "usernames":"alibaba,alibaba1,alibaba2" } |
||||||||||||||||||||||||||||
ResponseBody |
{ "error" : { "id" : 0, "msg" : "no error"}, "serverId":"server ID" } |
||||||||||||||||||||||||||||
remark |
Request
|
3.25 CheckPlayerSuspiciousBehaviorForSports
This function will check player Suspicious behavior in SBO sports within three days.Only can check one player in the same time.
name | sample | ||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
path |
http://{api-domain}/web-root/restricted/player/check-player-behavior-for-sports.aspx |
||||||||||||||||||||||||||||||||
method |
POST |
||||||||||||||||||||||||||||||||
header |
Content-Type : application/x-www-form-urlencoded; charset=UTF-8 |
||||||||||||||||||||||||||||||||
RequestBody |
"param" : { "companyKey" : "{CompanyKey}", "serverId" : "server ID", "username":"alibaba" } |
||||||||||||||||||||||||||||||||
ResponseBody |
{ "PlayerBehaviorReport": { "errorCode": 0, "errorMessage": "NoError", "username": "aaa01", "winRate": 0.87, "turnover": 8787, "customerWinlost": 787, "abnormalBetList": [ { "transId": 123, "reasonCode": 1, "reasonMessage": "DirtyMatch", "friends": "PlayerInOtherPlatform,aaa02" }, { "transId": 124, "reasonCode": 2, "reasonMessage": "MutiDevice", "friends": "aaa03,PlayerInOtherPlatform" }, { "transId": 125, "reasonCode": 3, "reasonMessage": "GroupBet", "friends": "aaa02" } ] }, "error" : { "id" : 0, "msg" : "no error"}, "serverId":"server ID" } |
||||||||||||||||||||||||||||||||
remark |
Request
|
3.26 GetRiskyTagPlayerForSportsByModifyDate
This function will return sports players tag by risk control team within the time period.
name | sample | ||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
path |
http://{api-domain}/web-root/restricted/player/get-risky-tag-player-for-sports-by-modifydate.aspx |
||||||||||||||||||||||||||||||||||||
method |
POST |
||||||||||||||||||||||||||||||||||||
header |
Content-Type : application/x-www-form-urlencoded; charset=UTF-8 |
||||||||||||||||||||||||||||||||||||
RequestBody |
"param" : { "companyKey" : "{CompanyKey}", "serverId" : "server ID", "startDate":"2022-09-23T00:00:00", "endDate":"2022-09-23T01:00:00" } |
||||||||||||||||||||||||||||||||||||
ResponseBody |
{ "riskyTagPlayers": [ { "webId": 0, "userName": "PlayerMyr", "currency": "MYR", "riskyIndex": 60, "riskyTags": [ 1 ], "modifyDate": "2022-09-22T22:00:03" }, { "webId": 0, "userName": "PlayerIdr", "currency": "IDR", "riskyIndex": 50, "riskyTags": [ 1, 2 ], "modifyDate": "2022-09-22T14:00:56" }, { "webId": 0, "userName": "PlayerCny", "currency": "CNY", "riskyIndex": 40, "riskyTags": [ 1, 3 ], "modifyDate": "2022-09-22T14:00:56" } ], "error": { "id": 0, "msg": "NoError" }, "serverId": "server ID" } |
||||||||||||||||||||||||||||||||||||
remark |
Request
|
4. System API
4.1 Ping
This function is to make an application level ping to make sure the API server available.
name | sample | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
path |
http://{api-domain}/web-root/restricted/system/ping.aspx |
||||||||||||||||||||||||
method |
POST |
||||||||||||||||||||||||
header |
Content-Type : application/x-www-form-urlencoded; charset=UTF-8 |
||||||||||||||||||||||||
RequestBody |
"param" : { "companyKey" : "{CompanyKey}", "serverId" : "server ID" } |
||||||||||||||||||||||||
ResponseBody |
{ "error" : { "id" : 0, "msg" : "no error"}, "serverId" : "server ID" } |
||||||||||||||||||||||||
remark |
Request
|
4.2 StopTrading
This function is to stop all betting behavior in white label system. It gives fund provider full control in white label system. It required a pre-defined key between fund provider and white label system.
name | sample | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
path |
http://{api-domain}/web-root/restricted/system/stop-trading.aspx |
||||||||||||||||||||||||
method |
POST |
||||||||||||||||||||||||
header |
Content-Type : application/x-www-form-urlencoded; charset=UTF-8 |
||||||||||||||||||||||||
RequestBody |
"param" : { "companyKey" : "{CompanyKey}", "serverId" : "server ID" } |
||||||||||||||||||||||||
ResponseBody |
{ "error" : { "id" : 0, "msg" : "no error"}, "serverId" : "server ID" } |
||||||||||||||||||||||||
remark |
Request
|
4.3 StartTrading
This function is to start betting in white label system. It required a pre-defined key between fund provider and white label system.
name | sample | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
path |
http://{api-domain}/web-root/restricted/system/start-trading.aspx |
||||||||||||||||||||||||
method |
POST |
||||||||||||||||||||||||
header |
Content-Type : application/x-www-form-urlencoded; charset=UTF-8 |
||||||||||||||||||||||||
RequestBody |
"param" : { "companyKey" : "{CompanyKey}", "serverId" : "server ID" } |
||||||||||||||||||||||||
ResponseBody |
{ "error" : { "id" : 0, "msg" : "no error"}, "serverId" : "server ID" } |
||||||||||||||||||||||||
remark |
Request
|
4.4 GetUMStatus
568Win normally will perform system maintenance. Most of them are based on planned schedule, and few of them is for urgent cases. To let fund provider has systematic way to deal with maintenance situation, API provides this function to deliver the maintenance information.
name | sample | ||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
path |
http://{api-domain}/web-root/restricted/system/get-um-status.aspx |
||||||||||||||||||||||||||||||||||||
method |
POST |
||||||||||||||||||||||||||||||||||||
header |
Content-Type : application/x-www-form-urlencoded; charset=UTF-8 |
||||||||||||||||||||||||||||||||||||
RequestBody |
"param" : { "companyKey" : "{CompanyKey}", "serverId" : "server ID" } |
||||||||||||||||||||||||||||||||||||
ResponseBody |
{ "isUM" : true, "umStartTime" : "2014-10-10T10:30:00-04:00", "umEndTime" : "2014-10-10T11:00:00-04:00", "error" : { "id" : 0, "msg" : "no error"}, "serverId" : "server ID" } |
||||||||||||||||||||||||||||||||||||
remark |
Request
|
5. Report API
5.1 GetCustomerReport
If the username is an agent account, then return all player's turnover report under this agent.
If the username is a player account, then return that player's turnover report.
The date in the request is based on the WinLostDate.and the date range should be less or equal to 60 days
name | sample | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
path |
http://{api-domain}/web-root/restricted/report/get-customer-report.aspx |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
method |
POST |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
header |
Content-Type : application/x-www-form-urlencoded; charset=UTF-8 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
RequestBody |
"param" : { "companyKey" : "{CompanyKey}", "serverId" : "server ID", "username" : "agt001", "portfolio" : "sportsbook", "startDate" : "2014-09-10T00:00:00", "endDate" : "2014-09-11T00:00:00" } |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ResponseBody - Sportsbook |
{ "playerRevenues": [ { "username":"player01", "betCount":{ "total":70, "waiting":5, "running":5, "lose":25, "won":25, "draw":5, "void":0, "reject":5, "refund":0 }, "turnover":{ "total":700.00, "waiting":50.00, "running":50.00, "lose":250.00, "won":250.00, "draw":50.00, "void":0.00, "reject":50.00, "refund":0.00 }, "winlose":100.00, "commission":10, "totalDeposit":0.00, "totalWithdrawal":0.00 } ], "error" : { "id" : 0, "msg" : "no error"}, "serverId":"server ID" } |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ResponseBody - casino |
{ "result":[ { "username": "player01", "betCount": { "win":70, "lose":25 }, "turnover": { "win":70, "lose":25 }, "winlose":100.00, "commission":10, "totalDeposit":0.00, "totalWithdrawal":0.00 } ], "error" : { "id" : 0, "msg" : "no error"}, "serverId": "server ID" } |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ResponseBody - Games |
{ "result":[ { "username":"player01", "betCount":{ "win":70, "lose":25 }, "turnover":{ "win":70, "lose":25 }, "winlose":100.00, "commission":10, "totalDeposit":0.00, "totalWithdrawal":0.00 } ], "error" : { "id" : 0, "msg" : "no error"}, "serverId":"server ID" } |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
remark |
Request
|
5.2. GetBetList
The function returns bet list of specific player on specific portfolio. For SportsBook portfolio, it returns player's bet list and their total turnover during the date range. For Casino or Games portfolio, it returns the settled casino(games) bet list of the player based on the order time of bets.
The function can also searches by specific agent, and it will return the bet list and turnover(Sportsbook) of the players who is under the specific agent. The time zone of orderTime and winlostDate is GMT-4 (server time).
The date in the request is based on the transaction date(orderTime) and the date range should be less or equal to 60 days
name | sample | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
path |
http://{api-domain}/web-root/restricted/report/get-bet-list.aspx |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
method |
POST |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
header |
Content-Type : application/x-www-form-urlencoded; charset=UTF-8 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
RequestBody |
Example (SportsBook): "param" : { "companyKey" : "{CompanyKey}", "serverId" : "server ID", "username" : "agt001", "portfolio" : "sportsbook", "betStatus": ["running","won"] , "startDate" : "2018-11-16T00:00:00", "endDate" : "2018-11-17T00:00:00", "lang" : "EN" } Example (Casino, Games,VirtualSports): "param" : { "companyKey" : "{CompanyKey}", "serverId" : "server ID", "username" : "player001", "portfolio" : "casino", "startDate" : "2018-10-12T00:00:00", "endDate" : "2018-12-13T00:00:00", "lang" : "EN" } Example (SeamlessGameProvider): "param" : { "companyKey" : "{CompanyKey}", "serverId" : "server ID", "username" : "player001", "portfolio" : "SeamlessGameProviderApi", "gameProvider":"Wm", "startDate" : "2018-10-12T00:00:00", "endDate" : "2018-12-13T00:00:00", "lang" : "EN" } |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ResponseBody - SportBook / SeamlessGameProviderBet(LV) |
{ "playerBetList" : { "subBet":[{ "transId":232984023, "betOption":"Altinordu(n)", "marketType":"Handicap", "hdp":0, "odds":-0.8, "league":"Turkey Cup", "match":"Altinordu(n) vs Kayserispor", "status":"lose", "winlostDate":"2018-11-16T00:00:00", "liveScore":"0:0", "htScore":"0:0", "ftScore":"0:0", "kickOffTime":"2018-11-16T01:00:00", "customeizedBetType":"", "sportType":"Football" }], "refNo":"221929192", "username":"tesewuf", "sportType":"Football", "orderTime":"2018-11-16T05:06:59.327", "winlostDate":"2018-11-16T00:00:00", "modifyDate":"2018-11-16T08:26:25.857", "odds":-0.8, "oddsStyle":"M", "stake":100.000000, "actualStake":80.000000, "currency":"THB", "status":"lose", "winlose":0.000000, "turnover":100.000000, "isHalfWonLose":false, "isLive":false, "MaxWinWithoutActualStake":100, "Ip":"123.147.58.47", "isSystemTagRisky":false, "remark":"" }, "turnover":"100", "error" : { "id" : 0, "msg" : "no error"}, "serverId" : "server ID" } |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ResponseBody - Casino, Games |
{ "result":[{ "orderTime":"2018-10-12T04:39:56.99", "modifyDate":"2018-10-12T04:41:02.45", "refNo":"B001332233", "accountId":"player001", "gameId":3054746, "tableName":"Baccarat G1-25C", "stake":10.00, "turnover":10.00, "winlost":-10.000000, "ProductType":"Baccarat", "WinlostDate":"3/11/2020 12:00:00 AM", "SubBets":null, "BetDetail":"Banker:10", "GameResult":"Banker:1(♣J ♥A ♣K); Player:9(♦6 ♣6 ♦7)" },{ "orderTime":"2018-10-12T04:52:46.603", "modifyDate":"2018-10-12T04:53:33.887", "refNo":"R001332303", "accountId":"player001", "gameId":3054877, "tableName":"Roulette A5-22", "stake":105.00, "turnover":105.00, "winlost":195.000000, "ProductType":"Roulette", "WinlostDate":"3/11/2020 12:00:00 AM", "SubBets":null, "BetDetail":"1st_12(1~12):100;1,2,4,5:5", "GameResult":"7 },{ "orderTime":"2018-10-12T04:54:15.197", "modifyDate":"2018-10-12T04:55:09.353", "refNo":"B001332343", "accountId":"player001", "gameId":3055737, "tableName":"Baccarat A7-29C", "stake":100.00, "turnover":100.00, "winlost":100.000000, "ProductType":"Baccarat", "WinlostDate":"3/11/2020 12:00:00 AM", "SubBets":null, "BetDetail":"Player:100", "GameResult":"Banker:7(♠Q ♠7); Player:9(♠3 ♦6)" }], "error" : { "id" : 0, "msg" : "no error"}, "serverId" : "server ID" } |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ResponseBody - VirtualSports |
{ "result":[{ "orderTime":"2018-11-08T04:05:31.937", "modifyDate":"2018-11-08T04:09:06.263", "refNo":"B2671658", "accountId":"player001", "gameId":3054746, "tableName":"Virtual Sports", "odds":0.35, "oddsStyle":"HK", "stake":100.00, "actualStake":100.00, "turnover":100.00, "winlost":-100.000000, "status":"Lose", "ProductType":"VirtualFootballMobile", "WinlostDate":"3/11/2020 12:00:00 AM", "SubBets":[ { "htScore":"0:1", "ftScore":"1:2", "betOption":"VL Vienna", "marketType":"FirstHalfAsianHandicap", "hdp":0.0, "odds":0.35, "match":"VL Vienna -vs- VL Madrid", "status":"Lose", "winlostDate":"2018-11-08T00:00:00" } ] }, { "orderTime":"2018-11-08T04:28:47.277", "modifyDate":"2018-11-08T04:33:47.06", "refNo":"B2671673", "accountId":"player001", "gameId":3054877, "tableName":"Virtual Sports", "odds":0.45, "oddsStyle":"Malay", "stake":10.00, "actualStake":10.00, "turnover":10.00, "winlost":4.500000, "status":"Won", "ProductType":"VirtualWorldCupMobile", "WinlostDate":"3/11/2020 12:00:00 AM", "SubBets":[ { "htScore":"0:1", "ftScore":"1:2", "betOption":"VL Vienna", "marketType":"FirstHalfAsianHandicap", "hdp":0.0, "odds":0.45, "match":"VL Vienna -vs- VL Madrid", "status":"Lose", "winlostDate":"2018-11-08T00:00:00" } ] }, { "orderTime":"2018-11-08T22:52:57.363", "modifyDate":"2018-11-08T22:58:48.097", "refNo":"B2671683", "accountId":"player001", "gameId":3055737, "tableName":"Virtual Sports", "odds":1.55, "oddsStyle":"Euro", "stake":10.00, "actualStake":10.00, "turnover":10.00, "winlost":-10.000000, "status":"Lose", "ProductType":"VirtualBasketballMobile", "WinlostDate":"3/11/2020 12:00:00 AM", "SubBets":[ { "htScore":"0:1", "ftScore":"1:2", "betOption":"VL Vienna", "marketType":"FirstHalfAsianHandicap", "hdp":0.0, "odds":1.55, "match":"VL Vienna -vs- VL Madrid", "status":"Lose", "winlostDate":"2018-11-08T00:00:00" } ] },{ "orderTime":"2018-12-13T06:18:09.527", "modifyDate":"2018-12-13T06:22:01.693", "refNo":"B2672386", "accountId":"tT2PIDR", "gameId":2672386, "tableName":"Virtual Sports", "odds":7.038, "oddsStyle":"Euro", "stake":10.00, "actualStake":10.00, "turnover":10.00, "winlost":-10.00, "status":"Lose", "ProductType":"MixParlayDesktop", "WinlostDate":"3/11/2020 12:00:00 AM", "SubBets":[ { "htScore":"0:1", "ftScore":"1:2", "betOption":"VL Vienna", "marketType":"FirstHalfAsianHandicap", "hdp":0.0, "odds":2.3, "match":"VL Vienna -vs- VL Madrid", "status":"Lose", "winlostDate":"2018-12-13T00:00:00" }, { "htScore":"2:0", "ftScore":"2:0", "betOption":"VL Paris", "marketType":"FirstHalfOneXTwo", "hdp":0, "odds":1.7, "match":"VL Vienna -vs- VL Madrid", "status":"Won", "winlostDate":"2018-12-13T00:00:00" }, { "htScore":"0:0", "ftScore":"1:1", "betOption":"VL Kiev", "marketType":"FirstHalfAsianHandicap", "hdp":-0.25, "odds":1.8, "match":"VL Vienna -vs- VL Madrid", "status":"Won", "winlostDate":"2018-12-13T00:00:00" } ] } ], "error" : { "id" : 0, "msg" : "no error"}, "serverId":"server ID" } |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ResponseBody - SeamlessGameProviderBet |
{ "result":[{ "orderTime": "2019-02-14T23:03:15.447", "modifyDate": "2019-02-14T23:06:39.967", "refNo": "WM_238_1000102_112164543_3", "accountId": "WuuP003CNY", "gamePeriodId": "112164543", "gameRoundId": "3", "gameType": "WmDragonAndTiger", "stake": 10, "turnOverStake": 10, "orderDetail": "betdetail[Dragon]:-10", "GameResult":"Dragon:♠10Tiger:♠3", "WinLostDate": "2019-02-14T00:00:00", "status": "Lose", "winLost": 0, "isResettle": true }], "error" : { "id" : 0, "msg" : "no error"}, "serverId":"server ID" } |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
remark |
Request
|
5.3 GetBetPayload
To get the detail of the specific bet of sportsbook, virtual sports, games, or casino(include Live Casino Beauty), payload is needed.
So we can use it to query the detail from sports, casino or games site.
The result contains a “payload” field.
For sports use it to call http://[SportsUrl].com/web-root/public/orderList/singleBetDetail.aspx?encodedTransId=$payload&language=EN
For virtual sports use it to call http://[VirtualSportsUrl].com/Payload/Index?payload=$payload
For casino, 568wincasino and games use it to call http://[CasinoUrl or 568WinCasinoUrl or GamesUrl].com/web-root/public/dispatch.aspx?payload=$payload
(Please contact the provider if you don't know sports or casino or 568wincasino or games site URL).The payload will be expired in 5 minutes.
only get the data within 60 days
name | sample | ||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
path |
http://{api-domain}/web-root/restricted/report/get-bet-payload.aspx |
||||||||||||||||||||||||||||||||||||
method |
POST |
||||||||||||||||||||||||||||||||||||
header |
Content-Type : application/x-www-form-urlencoded; charset=UTF-8 |
||||||||||||||||||||||||||||||||||||
RequestBody |
"param" : { "portfolio" : "casino", "refno" : "R001332303", "companyKey" : "{CompanyKey}", "serverId" : "server ID" } |
||||||||||||||||||||||||||||||||||||
ResponseBody |
{ "result":"VdWQvgeLtzz5HtRFmY76VEf1KMWpdXaaJfe5ugRVYA6lD89mDLDip0lBdVNB2zkG0YBuR5B7ufp4pvYR VVvagTe1B9KCzGJonRoqTD90%2b85hQ9Zr1xpPZtnG%2fr5Zh5VKz9m8UjjvOK9mlsRddYOitA%3d%3d", "error" : { "id" : 0, "msg" : "no error"}, "serverId":"server ID"" } |
||||||||||||||||||||||||||||||||||||
remark |
Request
|
5.4 GetCustomerTransaction
The function returns the transaction list of a specific player based on a time period within 4 days. The function can also search with a agent name, and it will return the players transaction list under that agent. When search with all user, it will return all transaction list in the request time period.
The date in the request is based on the transaction date and can only request within 4 days.
name | sample | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
path |
http://{api-domain}/web-root/restricted/report/get-customer-transaction.aspx |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
method |
POST |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
header |
Content-Type : application/x-www-form-urlencoded; charset=UTF-8 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
RequestBody |
"param" : { "companyKey" : "{CompanyKey}", "serverId" : "server ID", "username" : "agt001", "isAllUser": "false", "startDate" : "2019-06-04T00:00:00", "endDate" : "2019-06-07T00:00:00" } |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ResponseBody |
{ "startDate": "2019-06-04T00:00:00", "endDate": "2019-06-07T00:00:00", "transactionLists": [ { "txnId": "txn0000001", "transDate": "2019-06-05T07:51:19.043", "playerName": "player0001", "agentName": "agent0001", "transferType": "Deposit", "currency": "IDR", "amount": 1000 }, { "txnId": "txn0000002", "transDate": "2019-06-05T08:51:19.043", "playerName": "player0001", "agentName": "agent0001", "transferType": "Withdraw", "currency": "IDR", "amount": 100 } ], "error": {"id": 0, "msg": "NoError"}, "serverId": "101" } |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
remark |
Request
|
5.5 GetCustomerReportByModifydate
If the type is agent, then return all player's turnover report that under this agent.
If the type is player, then return the specific player's turnover report.
Modify Date range should be less than or equal to 4 days (Only Sportsbook)
The date in the request is based on the lastest modified date and the date range should be less or equal to 60 days
name | sample | ||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
path |
http://{api-domain}/web-root/restricted/report/get-customer-report-by-modifydate.aspx |
||||||||||||||||||||||||||||||||||||||||||||
method |
POST |
||||||||||||||||||||||||||||||||||||||||||||
header |
Content-Type : application/x-www-form-urlencoded; charset=UTF-8 |
||||||||||||||||||||||||||||||||||||||||||||
RequestBody |
"param" : { "companyKey" : "{CompanyKey}", "serverId" : "server ID", "username" : "agt001", "type" : "agent", "startDate" : "2014-09-10T00:00:00", "endDate" : "2014-09-11T00:00:00" } |
||||||||||||||||||||||||||||||||||||||||||||
ResponseBody |
{ "playerRevenues":[ { "username":"player01", "betCount":{ "total":70, "waiting":5, "running":5, "lose":25, "won":25, "draw":5, "void":0, "reject":5, "refund":0 }, "turnover":{ "total":700.00, "waiting":50.00, "running":50.00, "lose":250.00, "won":250.00, "draw":50.00, "void":0.00, "reject":50.00, "refund":0.00 }, "winlose":100.00, "commission":10, "totalDeposit":0.00, "totalWithdrawal":0.00 } ], "error" : { "id" : 0, "msg" : "no error"}, "serverId":"server ID" } |
||||||||||||||||||||||||||||||||||||||||||||
remark |
Request
|
5.5.1 GetCustomerHistoryBetListByModifydate
If the type is agent, then return all player's bet list and their total turnover during the modified date range that provided by the parameters.
Modified date range should be greater than / equal to 3 days and less or equal to 60 days
The date in the request is based on the modified date.
name | sample | ||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
path |
http://{api-domain}/web-root/restricted/report/get-customer-history-bet-list-by-modifydate.aspx |
||||||||||||||||||||||||||||||||||||||||||||
method |
POST |
||||||||||||||||||||||||||||||||||||||||||||
header |
Content-Type : application/x-www-form-urlencoded; charset=UTF-8 |
||||||||||||||||||||||||||||||||||||||||||||
RequestBody |
"param" : { "companyKey" : "{CompanyKey}", "serverId" : "server ID", "username" : "agt001", "startDate" : "2015-02-04 00:00:00", "endDate" : "2015-02-04 00:00:00" } |
||||||||||||||||||||||||||||||||||||||||||||
ResponseBody |
{ "playerBetList":{ "subBet":[ { "transId":12032394, "betOption":"Altinordu(n)", "marketType":"Handicap", "hdp":0, "odds":-0.8, "league":"Turkey Cup", "match":"Altinordu(n) vs Kayserispor", "status":"lose", "winlostDate":"2015-02-04T00:00:00", "liveScore":"0:0", "htScore":"0:0", "ftScore":"0:0", "kickOffTime":"2015-02-04T01:00:00", "customeizedBetType":"", "sportType":"Football" } ], "refNo":"221929192i", "username":"tesewuf", "sportType":"Football", "orderTime":"2015-02-04T21:35:46.03", "winlostDate":"2015-02-04T00:00:00", "modifyDate":"2015-02-04T23:14:23.913", "odds":-0.8, "oddsStyle":"M", "stake":100.000000, "actualStake":80.000000, "currency":"THB", "status":"lose", "winlose":0.000000, "turnover":100.000000, "isHalfWonLose":false, "isLive":false, "MaxWinWithoutActualStake":100, "Ip":"123.147.58.47", "isSystemTagRisky":false, "remark":"", "SettledTime":"2015-02-04T23:14:23.913" }, "turnover":100, "error" : { "id" : 0, "msg" : "no error"}, "serverId":"server ID" } |
||||||||||||||||||||||||||||||||||||||||||||
remark |
Request
|
5.5.2 GetCustomerBetListByModifydate
If the type is agent, then return all player's bet list and their total turnover during the modify date range that provided by the parameters.
Modified date range should be less than or equal to 4 days (Only Sportsbook)
The date in the request is based on the modified date.
name | sample | ||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
path |
http://{api-domain}/web-root/restricted/report/get-customer-bet-list-by-modifydate.aspx |
||||||||||||||||||||||||||||||||||||||||||||||||
method |
POST |
||||||||||||||||||||||||||||||||||||||||||||||||
header |
Content-Type : application/x-www-form-urlencoded; charset=UTF-8 |
||||||||||||||||||||||||||||||||||||||||||||||||
RequestBody |
"param" : { "companyKey" : "{CompanyKey}", "serverId" : "server ID", "username" : "Customer01", "startDate" : "2018-06-01 00:00:00", "endDate" : "2018-08-01 00:00:00" } |
||||||||||||||||||||||||||||||||||||||||||||||||
ResponseBody |
{ "playerBetList":{ "subBet":[ { "transId":1293810, "betOption":"Altinordu(n)", "marketType":"Handicap", "hdp":0, "odds":-0.8, "league":"Turkey Cup", "status":"lose", "match":"Altinordu(n) vs Kayserispor", "winlostDate":"2018-06-10T00:00:00", "liveScore":"0:0", "htScore":"0:0", "ftScore":"0:0", "customeizedBetType":"", "kickOffTime":"2018-06-10T01:00:00", "isHalfWonLose":false, "isLive":false, "sportType":"Football" } ], "refNo":"221929192", "username":"tesewuf", "sportType":"Football", "orderTime":"2018-06-10T21:35:46.03", "winlostDate":"2018-06-10T00:00:00", "modifyDate":"2018-06-10T22:26:56.86", "odds":-0.8, "oddsStyle":"M", "stake":100.000000, "actualStake":80.000000, "currency":"THB", "status":"lose", "winlose":0.000000, "turnover":100.000000, "isHalfWonLose":false, "isLive":false, "MaxWinWithoutActualStake":100, "Ip":"123.147.58.47", "isSystemTagRisky":false, "remark":"", "SettledTime":"2018-06-10T22:26:56.86" }, "turnover":100, "error" : { "id" : 0, "msg" : "no error"}, "serverId":"server ID" } |
||||||||||||||||||||||||||||||||||||||||||||||||
remark |
Request
|
5.5.3 GetCasinoBetListByModifyDate
The function returns the settled casino bet list of a specific player based on the time the bet is settled. The function can also search with a agent name, and it will return the players bet list under that agent.
The date in the request is based on the modified date.and the date range should be less or equal to 60 days
name | sample | ||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
path |
http://{api-domain}/web-root/restricted/report/get-casino-bet-list-by-modifydate.aspx |
||||||||||||||||||||||||||||||||||||||||
method |
POST |
||||||||||||||||||||||||||||||||||||||||
header |
Content-Type : application/x-www-form-urlencoded; charset=UTF-8 |
||||||||||||||||||||||||||||||||||||||||
RequestBody |
"param" : { "companyKey" : "{CompanyKey}", "serverId" : "server ID", "username" : "player001", "startDate" : "2016-12-05 00:00:00", "endDate" : "2016-12-06 00:00:00" } |
||||||||||||||||||||||||||||||||||||||||
ResponseBody |
{ "result":[ { "orderTime":"2016-12-05T00:22:51.783", "modifyDate":"2016-12-05T23:14:23.913", "refNo":"B001332233", "accountId":"player001", "gameId":3054746, "tableName":"Baccarat G1-25C", "stake":10.00, "turnover":10.00, "winlost":-10.000000, "ProductType":"Baccarat", "status":"Lose", "WinlostDate":"9/7/2018 12:00:00 AM", "SubBets":null, "BetDetail":"Banker:10", "GameResult":"Banker:1(♣J ♥A ♣K); Player:9(♦6 ♣6 ♦7)" }, { "orderTime":"2016-12-05T00:36:25.873", "modifyDate":"2016-12-05T23:14:23.913", "refNo":"R001332303", "accountId":"player001", "gameId":3054877, "tableName":"Roulette A5-22", "stake":105.00, "turnover":105.00, "winlost":195.000000, "ProductType":"Roulette", "status":"Won", "WinlostDate":"9/7/2018 12:00:00 AM", "SubBets":null, "BetDetail":"1st_12(1~12):100;1,2,4,5:5", "GameResult":"7 }, { "orderTime":"2016-12-05T02:04:01.79", "modifyDate":"2016-12-05T23:14:23.913", "refNo":"B001332343", "accountId":"player001", "gameId":3055737, "tableName":"Baccarat A7-29C", "stake":100.00, "turnover":100.00, "winlost":100.000000, "ProductType":"Baccarat", "status":"Won", "WinlostDate":"9/7/2018 12:00:00 AM", "SubBets":null, "BetDetail":"Player:100", "GameResult":"Banker:7(♠Q ♠7); Player:9(♠3 ♦6)" } ], "error" : { "id" : 0, "msg" : "no error"}, "serverId":"server ID" } |
||||||||||||||||||||||||||||||||||||||||
remark |
Request
|
5.5.4 GetVirtualSportsBetListByModifyDate
The function returns the virtualsports bet list of a specific player based on the time. The function can also search with a agent name, and it will return the players bet list under that agent.
The date in the request is based on the modified date and the date range should less and equal to 7 days ago.
name | sample | ||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
path |
http://{api-domain}/web-root/restricted/report/get-virtualsports-bet-list-by-modifydate.aspx |
||||||||||||||||||||||||||||||||||||||||||||
method |
POST |
||||||||||||||||||||||||||||||||||||||||||||
header |
Content-Type : application/x-www-form-urlencoded; charset=UTF-8 |
||||||||||||||||||||||||||||||||||||||||||||
RequestBody |
"param" : { "companyKey" : "{CompanyKey}", "serverId" : "server ID", "username" : "player001", "startDate" : "2020-04-27 06:00:00", "endDate" : "2020-04-27 06:30:00" } |
||||||||||||||||||||||||||||||||||||||||||||
ResponseBody |
{ "result": [ { "orderTime": "2020-04-27T06:04:05.067", "modifyDate": "2020-04-27T06:07:36.287", "refNo": "V2682729", "accountId": "Player001", "gameId": 2682729, "tableName": "Virtual Sports", "odds": -0.8, "oddsStyle": "Malay", "stake": 229, "actualStake": 183.2, "turnover": 229, "winlost": 0, "status": "Running", "ProductType": "VirtualFootballDesktop", "WinlostDate": "2020-04-27T00:00:00", "SubBets": [ { "htScore": "1:0", "ftScore": "2:1", "betOption": "VL Rome", "marketType": "AsianHandicap", "hdp": "-1.0", "odds": -0.8, "match": "VL Rome -vs- VL Zagreb", "status": "Running", "winlostDate": "2020-04-27T00:00:00" } ] }, { "orderTime": "2020-04-27T06:04:12.513", "modifyDate": "2020-04-27T06:07:36.303", "refNo": "V2682730", "accountId": "Player001", "gameId": 2682730, "tableName": "Virtual Sports", "odds": 12.15, "oddsStyle": "Euro", "stake": 1, "actualStake": 1, "turnover": 1, "winlost": -1, "status": "Lose", "ProductType": "MixParlayDesktop", "WinlostDate": "2020-04-27T00:00:00", "SubBets": [ { "htScore": "1:0", "ftScore": "2:1", "betOption": "VL Rome", "marketType": "AsianHandicap", "hdp": "-1.0", "odds": 2.25, "match": "VL Rome -vs- VL Zagreb", "status": "Draw", "winlostDate": "2020-04-27T00:00:00" }, { "htScore": "1:0", "ftScore": "2:1", "betOption": "VL Moscow", "marketType": "AsianHandicap", "hdp": "0.75", "odds": 2, "match": "VL Amsterdam -vs- VL Moscow", "status": "Won", "winlostDate": "2020-04-27T00:00:00" }, { "htScore": "0:1", "ftScore": "1:1", "betOption": "Under", "marketType": "OverUnder", "hdp": "1.5", "odds": 2.7, "match": "VL Athens -vs- VL Vienna", "status": "Lose", "winlostDate": "2020-04-27T00:00:00" } ] }, { "orderTime": "2020-04-27T06:14:21.263", "modifyDate": "2020-04-27T06:14:21.27", "refNo": "V2682731", "accountId": "Player001", "gameId": 2682731, "tableName": "Virtual Sports", "odds": 7.92, "oddsStyle": "Euro", "stake": 1, "actualStake": 1, "turnover": 1, "winlost": 0, "status": "Running", "ProductType": "MixParlayDesktop", "WinlostDate": "2020-04-27T00:00:00", "SubBets": [ { "htScore": "0:0", "ftScore": "0:0", "betOption": "Under", "marketType": "OverUnder", "hdp": "1.5", "odds": 4.95, "match": "VL Rome -vs- VL London", "status": "Running", "winlostDate": "2020-04-27T00:00:00" }, { "htScore": "0:0", "ftScore": "0:0", "betOption": "Over", "marketType": "OverUnder", "hdp": "1.5", "odds": 1.6, "match": "VL Bern -vs- VL Zagreb", "status": "Running", "winlostDate": "2020-04-27T00:00:00" } ] } ], "error": { "id": 0, "msg": "NoError" }, "serverId": "Server Id" } |
||||||||||||||||||||||||||||||||||||||||||||
remark |
Request
|
5.5.5 GetSeamlessGameProviderBetListByModifydate
The function returns the settled SeamlessGameProvider bet list of a specific player based on the time the bet is settled. The function can also search with a agent name, and it will return the players bet list under that agent.
The date in the request is based on the modified date.and the date range should be less or equal to 60 days
name | sample | ||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
path |
http://{api-domain}/web-root/restricted/report/get-seamlessgameprovider-bet-list-by-modifydate.aspx |
||||||||||||||||||||||||||||||||||||||||||||
method |
POST |
||||||||||||||||||||||||||||||||||||||||||||
header |
Content-Type : application/x-www-form-urlencoded; charset=UTF-8 |
||||||||||||||||||||||||||||||||||||||||||||
RequestBody |
"param" : { "companyKey" : "{CompanyKey}", "gameProvider" : "wm", "serverId" : "server ID", "username" : "agt001", "startDate" : "2015-02-04 00:00:00", "endDate" : "2015-02-04 00:00:00" } |
||||||||||||||||||||||||||||||||||||||||||||
ResponseBody - wm,SexyBaccarat, CQNine,BigGaming FlowGamingHub JokerGaming |
{"result":[ { "orderTime":"2019-02-14T23:03:15.447", "modifyDate":"2019-02-14T23:06:39.967", "refNo":"WM_238_1000102_112164543_3", "accountId":"WuuP003CNY", "gamePeriodId":"112164543", "gameRoundId":"3", "gameType":"WmDragonAndTiger", "stake":10, "turnOverStake":10, "orderDetail":"betdetail[Dragon]:-10", "gameResult":"Dragon:♠10Tiger:♠3", "WinLostDate":"2019-02-14T00:00:00", "status":"Lose", "winLost":-10.000000, "isResettle":true }, { "orderTime":"2019-02-15T03:53:28.697", "modifyDate":"2019-02-15T03:54:07.263", "refNo":"WM_238_1000102_112164578_95", "accountId":"WuuP003CNY", "gamePeriodId":"112164578", "gameRoundId":"95", "gameType":"WmDragonAndTiger", "stake":10, "turnOverStake":10, "orderDetail":"betdetail[Dragon]:-10", "gameResult":"Dragon:♥2Tiger:♣4", "WinLostDate":"2019-02-15T00:00:00", "status":"Lose", "winLost": -10.000000, "isResettle":false }], "error":{"id":0,"msg":"NoError"}, "serverId":"A60" } |
||||||||||||||||||||||||||||||||||||||||||||
ResponseBody - Lv |
{ "result": [ { "orderTime": "2018-07-23T05:48:32.43", "modifyDate":"2018-07-23T05:49:04.957", "refNo": "B00117581", "accountId": "testFrom568", "gameId": 1636936, "tableName": "Baccarat H1-32C", "stake": 100, "turnover": 100, "winlost": 95, "status": "Won", "WinlostDate":"10/29/2018 12:00:00 AM", "ProductType": "Baccarat" }, { "orderTime": "2018-10-12T04:39:56.99", "modifyDate":"2018-10-12T04:41:02.45", "refNo": "S00175043", "accountId": "testFrom568", "gameId": 1957718, "tableName": "Sic Bo A6-21", "stake": 8, "turnover": 8, "winlost": -8, "status": "Lose", "WinlostDate":"10/29/2018 12:00:00 AM", "ProductType": "SicBo" }, { "orderTime": "2016-09-21T22:57:32.55", "modifyDate":"2016-09-215T23:14:23.913", "refNo": "R00175063", "accountId": "testFrom568", "gameId": 1957714, "tableName": "Roulette A5-22", "stake": 7, "turnover": 7, "winlost": -7, "status": "Lose", "WinlostDate":"10/29/2018 12:00:00 AM", "ProductType": "Roulette" } ], "refNo":"221929192", "username":"tesewuf", "sportType":"Football", "orderTime":"2018-06-10T21:35:46.03", "winlostDate":"2018-06-10T00:00:00", "modifyDate":"2018-06-10T22:26:56.86", "odds":-0.8, "oddsStyle":"M", "stake":100.000000, "actualStake":80.000000, "currency":"THB", "status":"lose", "winlose":0.000000, "turnover":100.000000, "isHalfWonLose":false, "isLive":false, "MaxWinWithoutActualStake":100, "Ip":"123.147.58.47" }, "turnover":100, "error" : { "id" : 0, "msg" : "no error"}, "serverId":"server ID" } |
||||||||||||||||||||||||||||||||||||||||||||
remark |
Request
|
5.5.6 GetSeamlessGameProviderBonusBetListByModifyDate
The function returns the Bonus SeamlessGameProvider bet list of a specific player based on the time the bet is Bonus. The function can also search with a agent name, and it will return the players bet list under that agent.
The date in the request is based on the modified date.
name | sample | ||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
path |
http://{api-domain}/web-root/restricted/report/get-seamlessgameprovider-bonus-bet-list-by-modifydate.aspx |
||||||||||||||||||||||||||||||||||||||||||||
method |
POST |
||||||||||||||||||||||||||||||||||||||||||||
header |
Content-Type : application/x-www-form-urlencoded; charset=UTF-8 |
||||||||||||||||||||||||||||||||||||||||||||
RequestBody |
"param" : { "companyKey" : "{CompanyKey}", "gameProvider" : "JokerGaming", "serverId" : "server ID", "username" : "agt001", "startDate" : "2019-06-04 00:00:00", "endDate" : "2019-06-20 00:00:00" } |
||||||||||||||||||||||||||||||||||||||||||||
ResponseBody - wm,SexyBaccarat, CQNine,BigGaming FlowGamingHub JokerGaming |
{ "result": [ { "gamePeriodId": null, "gameRoundId": null, "orderTime": "2019-06-04T10:00:00", "modifyDate": "2019-06-04T10:00:00", "refNo": "JG_001_ebudnqj68wxyz_azw6e86tq1234", "accountId": "agt001", "stake": 0, "turnOverStake": 0, "orderDetail": "Bonus", "WinLostDate": "2019-06-04T10:00:00", "status": "Bonus", "winLost": 0 }, { "gamePeriodId": null, "gameRoundId": null, "orderTime": "2019-06-04T20:00:00", "modifyDate": "2019-06-04T20:00:00", "refNo": "JG_001_ne4gq55cpabcd_g5t9h3w634567", "accountId": "agt001", "stake": 0, "turnOverStake": 0, "orderDetail": "Bonus", "WinLostDate": "2019-06-04T20:00:00", "status": "Bonus", "winLost": 0.7 } ], "error": { "id": 0, "msg": "NoError" }, "serverId": "A15" } |
||||||||||||||||||||||||||||||||||||||||||||
remark |
Request
|
5.6 GetCustomerBetListByTransid
User can get bet list by transid, and can search multiple transid in one request. only get the data within 60 days
name | sample | ||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
path |
http://{api-domain}/web-root/restricted/report/get-customer-bet-list-by-transid.aspx |
||||||||||||||||||||||||||||||||||||||||
method |
POST |
||||||||||||||||||||||||||||||||||||||||
header |
Content-Type : application/x-www-form-urlencoded; charset=UTF-8 |
||||||||||||||||||||||||||||||||||||||||
RequestBody |
"param" : { "transid": "3998211,3998213", "lang": "EN", "companyKey": "DUMMY-COMPANY-KEY", "serverId": "server ID" } |
||||||||||||||||||||||||||||||||||||||||
ResponseBody |
{ "PlayerBetList": [ { "subBet": [ { "transId":12938102, "betOption": "Omiya Ardija", "marketType": "Handicap", "hdp": 0.25, "odds": 0.9, "league": "Japan J-League YBC Levain Cup", "status": "won", "match": "Omiya Ardija vs Yokohama F.Marinos", "winlostDate": "2016-08-31T00:00:00", "modifyDate":"2016-08-31T23:14:23.913", "liveScore": "0:0", "htScore": "1:0", "ftScore": "2:1", "kickOffTime":"2016-08-31T01:00:00", "customeizedBetType": "", "sportType":"Football" } ], "refNo": "3998211", "username": "testgg", "sportType": "Football", "orderTime": "2016-08-30T00:29:27.803", "winlostDate": "2016-08-31T00:00:00", "modifyDate":"2016-08-31T23:14:23.913", "odds": 0.9, "oddsStyle": "M", "stake": 1000, "actualStake": 1000, "currency": "CNY", "status": "won", "winlose": 1900, "turnover": 1000, "isHalfWonLose":false, "isLive":false, "MaxWinWithoutActualStake":null, "Ip": "122.146.59.233", "isSystemTagRisky":false, "remark":"", "SettledTime":"2016-08-31T23:14:23.913" }, { "subBet": [ { "betOption": "Trelleborgs FF", "marketType": "Handicap", "hdp": -0.25, "odds": 0.87, "league": "SWEDEN SUPERETTAN", "match": "Trelleborgs FF vs IK Frej", "status":"lose", "winlostDate": "2016-08-30T00:00:00", "modifyDate":"2016-08-31T23:14:23.913", "liveScore": "0:0", "htScore": "1:0", "ftScore": "4:1", "kickOffTime":"2016-08-30T01:00:00", "customeizedBetType": "" } ], "refNo": "3998213", "username": "tPlayerCNY", "sportType": "Football", "orderTime": "2016-08-30T10:59:01.9", "winlostDate": "2016-08-30T00:00:00", "modifyDate":"2016-08-31T23:14:23.913", "odds": 0.87, "oddsStyle": "M", "stake": 2525, "actualStake": 2525, "currency": "CNY", "status": "won", "winlose": 4721.75, "turnover": 2525, "isHalfWonLose":false, "isLive":false, "MaxWinWithoutActualStake":null, "Ip": "122.146.59.233", "isSystemTagRisky":false, "remark":"", "SettledTime":"2016-08-31T23:14:23.913" } ], "turnover": 3525, "error" : { "id" : 0, "msg" : "no error"}, "serverId": "server ID" } |
||||||||||||||||||||||||||||||||||||||||
remark |
Request
|
5.6.1 GetCasinoBetListByTransid
The function returns the settled casino bet list of specific player based on the transid we request. It can search mutiple transid at one request. only get the data within 60 days
name | sample | ||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
path |
http://{api-domain}/web-root/restricted/report/get-casino-bet-list-by-transid.aspx |
||||||||||||||||||||||||||||||||
method |
POST |
||||||||||||||||||||||||||||||||
header |
Content-Type : application/x-www-form-urlencoded; charset=UTF-8 |
||||||||||||||||||||||||||||||||
RequestBody |
"param" : { "transid": "B00117581,S00175043,R00175063,B00179251", "companyKey": "{CompanyKey}", "serverId": "server ID" } |
||||||||||||||||||||||||||||||||
ResponseBody |
{ "result": [ { "orderTime": "2018-07-23T05:48:32.43", "modifyDate":"2018-07-23T05:49:04.957", "refNo": "B00117581", "accountId": "testFrom568", "gameId": 1636936, "tableName": "Baccarat H1-32C", "stake": 10, "turnover": 10, "winlost": -10, "status": "Lose", "ProductType": "Baccarat", "BetDetail":"Banker:10", "GameResult":"Banker:1(♣J ♥A ♣K); Player:9(♦6 ♣6 ♦7)" }, { "orderTime": "2018-10-12T04:39:56.99", "modifyDate":"2018-10-12T04:41:02.45", "refNo": "S00175043", "accountId": "testFrom568", "gameId": 1957718, "tableName": "Sic Bo A6-21", "stake": 8, "turnover": 8, "winlost": -8, "status": "Lose", "ProductType": "SicBo", "BetDetail":"Big:25;3_Dice_Totalling(11):20;3_Dice_Totalling(12):20;Even:25", "GameResult":"1,3,4" }, { "orderTime": "2016-09-21T22:57:32.55", "modifyDate":"2016-09-215T23:14:23.913", "refNo": "R00175063", "accountId": "testFrom568", "gameId": 1957714, "tableName": "Roulette A5-22", "stake": 105, "turnover": 105, "winlost": 195, "status": "Won", "ProductType": "Roulette", "BetDetail":"1st_12(1~12):100;1,2,4,5:5", "GameResult":"7 } ], "error" : { "id" : 0, "msg" : "no error"}, "serverId": "server ID" } |
||||||||||||||||||||||||||||||||
remark |
Request
|
5.6.2 GetVirtualSportsBetListByTransid
The function returns the virtualsports bet list of specific player based on the transid you request. It can search mutiple transid at one request.
This api will not return subbet data if the bet is older than 7 days.
name | sample | ||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
path |
http://{api-domain}/web-root/restricted/report/get-virtualsports-bet-list-by-transid.aspx |
||||||||||||||||||||||||||||||||||||
method |
POST |
||||||||||||||||||||||||||||||||||||
header |
Content-Type : application/x-www-form-urlencoded; charset=UTF-8 |
||||||||||||||||||||||||||||||||||||
RequestBody |
"param" : { "transid": "V2682729,V2682730,V2682731", "companyKey": "{CompanyKey}", "serverId": "server ID" } |
||||||||||||||||||||||||||||||||||||
ResponseBody |
{ "result": [ { "orderTime": "2020-04-27T06:04:05.067", "modifyDate": "2020-04-27T06:07:36.287", "refNo": "V2682729", "accountId": "Player001", "gameId": 2682729, "tableName": "Virtual Sports", "odds": -0.8, "oddsStyle": "Malay", "stake": 229, "actualStake": 183.2, "turnover": 229, "winlost": 0, "status": "Running", "ProductType": "VirtualFootballDesktop", "WinlostDate": "2020-04-27T00:00:00", "SubBets": [ { "htScore": "1:0", "ftScore": "2:1", "betOption": "VL Rome", "marketType": "AsianHandicap", "hdp": "-1.0", "odds": -0.8, "match": "VL Rome -vs- VL Zagreb", "status": "Running", "winlostDate": "2020-04-27T00:00:00" } ] }, { "orderTime": "2020-04-27T06:04:12.513", "modifyDate": "2020-04-27T06:07:36.303", "refNo": "V2682730", "accountId": "Player001", "gameId": 2682730, "tableName": "Virtual Sports", "odds": 12.15, "oddsStyle": "Euro", "stake": 1, "actualStake": 1, "turnover": 1, "winlost": -1, "status": "Lose", "ProductType": "MixParlayDesktop", "WinlostDate": "2020-04-27T00:00:00", "SubBets": [ { "htScore": "1:0", "ftScore": "2:1", "betOption": "VL Rome", "marketType": "AsianHandicap", "hdp": "-1.0", "odds": 2.25, "match": "VL Rome -vs- VL Zagreb", "status": "Draw", "winlostDate": "2020-04-27T00:00:00" }, { "htScore": "1:0", "ftScore": "2:1", "betOption": "VL Moscow", "marketType": "AsianHandicap", "hdp": "0.75", "odds": 2, "match": "VL Amsterdam -vs- VL Moscow", "status": "Won", "winlostDate": "2020-04-27T00:00:00" }, { "htScore": "0:1", "ftScore": "1:1", "betOption": "Under", "marketType": "OverUnder", "hdp": "1.5", "odds": 2.7, "match": "VL Athens -vs- VL Vienna", "status": "Lose", "winlostDate": "2020-04-27T00:00:00" } ] }, { "orderTime": "2020-04-27T06:14:21.263", "modifyDate": "2020-04-27T06:14:21.27", "refNo": "V2682731", "accountId": "Player001", "gameId": 2682731, "tableName": "Virtual Sports", "odds": 7.92, "oddsStyle": "Euro", "stake": 1, "actualStake": 1, "turnover": 1, "winlost": 0, "status": "Running", "ProductType": "MixParlayDesktop", "WinlostDate": "2020-04-27T00:00:00", "SubBets": [ { "htScore": "0:0", "ftScore": "0:0", "betOption": "Under", "marketType": "OverUnder", "hdp": "1.5", "odds": 4.95, "match": "VL Rome -vs- VL London", "status": "Running", "winlostDate": "2020-04-27T00:00:00" }, { "htScore": "0:0", "ftScore": "0:0", "betOption": "Over", "marketType": "OverUnder", "hdp": "1.5", "odds": 1.6, "match": "VL Bern -vs- VL Zagreb", "status": "Running", "winlostDate": "2020-04-27T00:00:00" } ] } ], "error": { "id": 0, "msg": "NoError" }, "serverId": "Server Id" } |
||||||||||||||||||||||||||||||||||||
remark |
Request
|
5.6.3 GetSeamlessGameProviderBetListByRefNos
The function returns the settled SeamlessGameProvider bet list of specific player based on the RefNos in the request. It can search mutiple RefNos at one request.
This API will only return SETTLED bets (Without CANCEL bets), If your side wish to get those RUNNING / CANCEL bets, please request our sdie to enable this feature for your API
name | sample | ||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
path |
http://{api-domain}/web-root/restricted/report/get-seamlessgameprovider-bet-list-by-refno.aspx |
||||||||||||||||||||||||||||||||||||
method |
POST |
||||||||||||||||||||||||||||||||||||
header |
Content-Type : application/x-www-form-urlencoded; charset=UTF-8 |
||||||||||||||||||||||||||||||||||||
RequestBody |
"param" : { "companyKey" : "{CompanyKey}", "serverId" : "server ID", "refNos":"WM_238_1000102_112164578_95", "gameProvider":"wm" } |
||||||||||||||||||||||||||||||||||||
ResponseBody - wm,SexyBaccarat, CQNine,BigGaming FlowGamingHub JokerGaming |
{ "result":[ { "orderTime":"2019-02-15T03:53:28.697", "modifyDate":"2019-02-15T03:54:07.263", "refNo":"WM_238_1000102_112164578_95", "accountId":"WuuP003CNY", "gamePeriodId":"112164578", "gameRoundId":"95", "gameType":"WmDragonAndTiger", "stake":10, "turnOverStake":10, "orderDetail":"betdetail[Dragon]:-10", "gameResult":"Dragon:♥2Tiger:♣4", "WinLostDate":"2019-02-15T00:00:00", "status":"Lose", "winLost":-10.000000, "isResettle":false }], "error":{"id":0,"msg":"NoError"}, "serverId":"A60" } |
||||||||||||||||||||||||||||||||||||
ResponseBody - lv |
{ "playerBetList":{ "subBet":[ { "betOption":"Altinordu(n)", "marketType":"Handicap", "hdp":0, "odds":-0.8, "league":"Turkey Cup", "status":"lose", "match":"Altinordu(n) vs Kayserispor", "winlostDate":"2018-06-10T00:00:00", "liveScore":"0:0", "htScore":"0:0", "ftScore":"0:0", "kickOffTime":"2018-06-10T01:00:00", "customeizedBetType":"" } ], "refNo":"221929192", "username":"tesewuf", "sportType":"Football", "orderTime":"2018-06-10T21:35:46.03", "winlostDate":"2018-06-10T00:00:00", "modifyDate":"2018-06-10T22:26:56.86", "odds":-0.8, "oddsStyle":"M", "stake":100.000000, "actualStake":80.000000, "currency":"THB", "status":"lose", "winlose":0.000000, "turnover":100.000000, "isHalfWonLose":false, "isLive":false, "MaxWinWithoutActualStake":100, "Ip":"123.147.58.47" }, "turnover":100, "error" : { "id" : 0, "msg" : "no error"}, "serverId":"server ID" } |
||||||||||||||||||||||||||||||||||||
remark |
Request
|
5.6.4 GetSeamlessGameProviderBetListByRefNosWithAllBetStatus
The function returns the settled, canceled, running SeamlessGameProvider bet list of the specific players based on the RefNos in the request. It can search for mutiple RefNos at one request.
name | sample | ||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
path |
http://{api-domain}/web-root/restricted/report/get-seamlessgameprovider-all-bet-status-list-by-refno.aspx |
||||||||||||||||||||||||||||||||||||
method |
POST |
||||||||||||||||||||||||||||||||||||
header |
Content-Type : application/x-www-form-urlencoded; charset=UTF-8 |
||||||||||||||||||||||||||||||||||||
RequestBody |
"param" : { "companyKey" : "{CompanyKey}", "serverId" : "server ID", "refNos":"WM_238_1000102_112164578_95", "gameProvider":"wm" } |
||||||||||||||||||||||||||||||||||||
ResponseBody - wm,SexyBaccarat, CQNine,BigGaming FlowGaming JokerGaming |
{ "result":[ { "orderTime":"2019-02-15T03:53:28.697", "modifyDate":"2019-02-15T03:54:07.263", "refNo":"WM_238_1000102_112164578_95", "accountId":"WuuP003CNY", "gamePeriodId":"112164578", "gameRoundId":"95", "gameType":"WmDragonAndTiger", "stake":10, "turnOverStake":10, "orderDetail":"betdetail[Dragon]:-10", "gameResult":"Dragon:♥2Tiger:♣4", "WinLostDate":"2019-02-15T00:00:00", "status":"Lose", "winLost":-10.000000, "isResettle":false }, { "orderTime":"2019-02-15T03:53:30.697", "modifyDate":"2019-02-15T03:54:09.263", "refNo": "WM_238_1000102_112164578_95", "accountId": "WuuP003CNY", "gamePeriodId": "112164578", "gameRoundId": "95", "gameType": "WmDragonAndTiger", "stake": 20, "turnOverStake": 20, "orderDetail": "", "GameResult":"", "WinLostDate": "2019-02-15T00:00:00", "status": "Running", "winLost": 0.000000, "isResettle": false } ], "error":{"id":0,"msg":"NoError"}, "serverId":"A60" } |
||||||||||||||||||||||||||||||||||||
remark |
Request
|
5.6.5 GetCustomerSports568BetListByTransid(Abandoned)
User can get 568Win Sports bet list by transid, and can search multiple transid in one request. only get the data within 60 days
name | sample | ||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
path |
http://{api-domain}/web-root/restricted/report/v2/get-customer-568Sports-bet-list-by-transid.aspx |
||||||||||||||||||||||||||||||||||||||||
method |
POST |
||||||||||||||||||||||||||||||||||||||||
header |
Content-Type : application/x-www-form-urlencoded; charset=UTF-8 |
||||||||||||||||||||||||||||||||||||||||
RequestBody |
"param" : { "transid": "3998211,3998213", "lang": "EN", "companyKey": "DUMMY-COMPANY-KEY", "serverId": "server ID" } |
||||||||||||||||||||||||||||||||||||||||
ResponseBody |
{ "PlayerBetList": [ { "subBet": [ { "transId":12938102, "betOption": "Omiya Ardija", "marketType": "Handicap", "hdp": 0.25, "odds": 0.9, "league": "Japan J-League YBC Levain Cup", "status": "won", "match": "Omiya Ardija vs Yokohama F.Marinos", "winlostDate": "2016-08-31T00:00:00", "modifyDate":"2016-08-31T23:14:23.913", "liveScore": "0:0", "htScore": "1:0", "ftScore": "2:1", "kickOffTime":"2016-08-31T01:00:00", "customeizedBetType": "", "sportType":"Football" } ], "refNo": "3998211", "username": "testgg", "sportType": "Football", "orderTime": "2016-08-30T00:29:27.803", "winlostDate": "2016-08-31T00:00:00", "modifyDate":"2016-08-31T23:14:23.913", "odds": 0.9, "oddsStyle": "M", "stake": 1000, "actualStake": 1000, "currency": "CNY", "status": "won", "winlose": 1900, "turnover": 1000, "isHalfWonLose":false, "isLive":false, "MaxWinWithoutActualStake":null, "Ip": "122.146.59.233", "isSystemTagRisky":false, "remark":"" }, { "subBet": [ { "betOption": "Trelleborgs FF", "marketType": "Handicap", "hdp": -0.25, "odds": 0.87, "league": "SWEDEN SUPERETTAN", "match": "Trelleborgs FF vs IK Frej", "status":"lose", "winlostDate": "2016-08-30T00:00:00", "modifyDate":"2016-08-31T23:14:23.913", "liveScore": "0:0", "htScore": "1:0", "ftScore": "4:1", "kickOffTime":"2016-08-30T01:00:00", "customeizedBetType": "" } ], "refNo": "3998213", "username": "tPlayerCNY", "sportType": "Football", "orderTime": "2016-08-30T10:59:01.9", "winlostDate": "2016-08-30T00:00:00", "modifyDate":"2016-08-31T23:14:23.913", "odds": 0.87, "oddsStyle": "M", "stake": 2525, "actualStake": 2525, "currency": "CNY", "status": "won", "winlose": 4721.75, "turnover": 2525, "isHalfWonLose":false, "isLive":false, "MaxWinWithoutActualStake":null, "Ip": "122.146.59.233", "isSystemTagRisky":false, "remark":"" } ], "turnover": 3525, "error" : { "id" : 0, "msg" : "no error"}, "serverId": "server ID" } |
||||||||||||||||||||||||||||||||||||||||
remark |
Request
|
5.7 Get Customer Sports Bet List By Modifydate
The function returns all players' sports bet list within the time period.
The time range can only be up to 30 minutes. For example: 2019-09-16 12:00:00 ~ 2019-09-16 12:30:00.and the date range should be less or equal to 3 days
name | sample | ||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
path |
http://{api-domain}/web-root/restricted/report/v2/get-sports-bet-list-by-modifydate.aspx |
||||||||||||||||||||||||||||||||||||||||||||||
method |
POST |
||||||||||||||||||||||||||||||||||||||||||||||
header |
Content-Type : application/x-www-form-urlencoded; charset=UTF-8 |
||||||||||||||||||||||||||||||||||||||||||||||
RequestBody |
"param" : { "startDate" : "2019-06-04T00:00:00", "endDate" : "2019-06-04T00:30:00", "companyKey" : "{CompanyKey}", "serverId" : "{server ID}" } |
||||||||||||||||||||||||||||||||||||||||||||||
Postman Example | ![]() |
||||||||||||||||||||||||||||||||||||||||||||||
ResponseBody |
{ "result":[{ "subBet":[{ "transId":12313123, "betOption":"Altinordu(n)", "marketType":"Handicap", "hdp":0, "odds":-0.8, "league":"Turkey Cup", "status":"lose", "match":"Altinordu(n) vs Kayserispor", "winlostDate":"2018-06-10T00:00:00", "liveScore":"0:0", "htScore":"0:0", "ftScore":"0:0", "customeizedBetType":"", "kickOffTime":"2018-06-10T01:00:00", "isHalfWonLose":false, "isLive":false, "sportType":"Football" }], "refNo":"221929192", "username":"tesewuf", "sportType":"Football", "orderTime":"2018-06-10T21:35:46.03", "winlostDate":"2018-06-10T00:00:00", "modifyDate":"2018-06-10T22:26:56.86", "odds":-0.8, "oddsStyle":"M", "stake":100.000000, "actualStake":80.000000, "currency":"THB", "status":"lose", "winlose":0.000000, "turnover":100.000000, "isHalfWonLose":false, "isLive":false, "MaxWinWithoutActualStake":100, "Ip":"123.147.58.47", "isSystemTagRisky":false, "remark":"", "SettledTime":"2018-06-10T22:26:56.86" }], "error" : { "id" : 0, "msg" : "no error"}, "serverId":"server ID" } |
||||||||||||||||||||||||||||||||||||||||||||||
remark |
Request
|
5.7.1 Get Customer 568Win Sports Bet List By Modifydate(Abandoned)
The function returns all players' 568Win sports bet list within the time period.
The time range can only be up to 30 minutes. For example: 2019-09-16 12:00:00 ~ 2019-09-16 12:30:00.and the date range should be less or equal to 3 days
name | sample | ||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
path |
http://{api-domain}/web-root/restricted/report/v2/get-568Sports-bet-list-by-modifydate.aspx |
||||||||||||||||||||||||||||||||||||||||
method |
POST |
||||||||||||||||||||||||||||||||||||||||
header |
Content-Type : application/x-www-form-urlencoded; charset=UTF-8 |
||||||||||||||||||||||||||||||||||||||||
RequestBody |
"param" : { "startDate" : "2019-06-04T00:00:00", "endDate" : "2019-06-04T00:30:00", "companyKey" : "{CompanyKey}", "serverId" : "{server ID}" } |
||||||||||||||||||||||||||||||||||||||||
Postman Example | ![]() |
||||||||||||||||||||||||||||||||||||||||
ResponseBody |
{ "result":[{ "subBet":[{ "transId":12313123, "betOption":"Altinordu(n)", "marketType":"Handicap", "hdp":0, "odds":-0.8, "league":"Turkey Cup", "status":"lose", "match":"Altinordu(n) vs Kayserispor", "winlostDate":"2018-06-10T00:00:00", "liveScore":"0:0", "htScore":"0:0", "ftScore":"0:0", "customeizedBetType":"", "kickOffTime":"2018-06-10T01:00:00", "isHalfWonLose":false, "isLive":false, "sportType":"Football" }], "refNo":"221929192", "username":"tesewuf", "sportType":"Football", "orderTime":"2018-06-10T21:35:46.03", "winlostDate":"2018-06-10T00:00:00", "modifyDate":"2018-06-10T22:26:56.86", "odds":-0.8, "oddsStyle":"M", "stake":100.000000, "actualStake":80.000000, "currency":"THB", "status":"lose", "winlose":0.000000, "turnover":100.000000, "isHalfWonLose":false, "isLive":false, "MaxWinWithoutActualStake":100, "Ip":"123.147.58.47", "isSystemTagRisky":false, "remark":"" }], "error" : { "id" : 0, "msg" : "no error"}, "serverId":"server ID" } |
||||||||||||||||||||||||||||||||||||||||
remark |
Request
|
5.8 Get Customer Casino Bet List By ModifyDate
The function returns all players' casino bet list within the time period.
The time range can only be up to 30 minutes. For example: 2019-09-16 12:00:00 ~ 2019-09-16 12:30:00.and the date range should be less or equal to 60 days
name | sample | ||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
path |
http://{api-domain}/web-root/restricted/report/v2/get-casino-bet-list-by-modifydate.aspx |
||||||||||||||||||||||||||||||||||||
method |
POST |
||||||||||||||||||||||||||||||||||||
header |
Content-Type : application/x-www-form-urlencoded; charset=UTF-8 |
||||||||||||||||||||||||||||||||||||
RequestBody |
"param" : { "companyKey" : "{CompanyKey}", "serverId" : "{server ID}", "startDate" : "2016-12-05T00:00:00", "endDate" : "2016-12-06T00:30:00" } |
||||||||||||||||||||||||||||||||||||
ResponseBody |
{ "result":[ { "orderTime":"2016-12-05T00:22:51.783", "modifyDate":"2016-12-05T23:14:23.913", "refNo":"B001332233", "accountId":"player001", "gameId":3054746, "tableName":"Baccarat G1-25C", "stake":10.00, "turnover":10.00, "winlost":-10.000000, "ProductType":"Baccarat", "status":"Lose", "WinlostDate":"9/11/2018 12:00:00 AM", "SubBets":null, "BetDetail":"Banker:10", "GameResult":"Banker:1(♣J ♥A ♣K); Player:9(♦6 ♣6 ♦7)" }, { "orderTime":"2016-12-05T00:36:25.873", "modifyDate":"2016-12-05T23:14:23.913", "refNo":"R001332303", "accountId":"player001", "gameId":3054877, "tableName":"Roulette A5-22", "stake":105.00, "turnover":105.00, "winlost":195.000000, "ProductType":"Roulette", "status":"Won", "WinlostDate":"9/11/2018 12:00:00 AM", "SubBets":null, "BetDetail":"1st_12(1~12):100;1,2,4,5:5", "GameResult":"7 }, { "orderTime":"2016-12-05T02:04:01.79", "modifyDate":"2016-12-05T23:14:23.913", "refNo":"B001332343", "accountId":"player001", "gameId":3055737, "tableName":"Baccarat A7-29C", "stake":100.00, "turnover":100.00, "winlost":-100.000000, "ProductType":"Baccarat", "status":"Lose", "WinlostDate":"9/11/2018 12:00:00 AM", "SubBets":null, "BetDetail":"Player:100", "GameResult":"Banker:7(♠Q ♠7); Player:9(♠3 ♦6)" } ], "error" : { "id" : 0, "msg" : "no error"}, "serverId":"server ID" } |
||||||||||||||||||||||||||||||||||||
remark |
Request
|
5.9 Get Customer Game Bet List By ModifyDate
The function returns all players' game bet list within the time period.
The time range can only be up to 30 minutes. For example: 2019-09-16 12:00:00 ~ 2019-09-16 12:30:00.and the date range should be less or equal to 60 days
name | sample | ||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
path |
http://{api-domain}/web-root/restricted/report/v2/get-games-bet-list-by-modifydate.aspx |
||||||||||||||||||||||||||||||||||||
method |
POST |
||||||||||||||||||||||||||||||||||||
header |
Content-Type : application/x-www-form-urlencoded; charset=UTF-8 |
||||||||||||||||||||||||||||||||||||
RequestBody |
"param" : { "companyKey" : "{CompanyKey}", "serverId" : "{server ID}", "startDate" : "2016-12-05 00:00:00", "endDate" : "2016-12-06 00:00:00" } |
||||||||||||||||||||||||||||||||||||
ResponseBody |
{ "result":[ { "orderTime":"2016-12-05T00:22:51.783", "modifyDate":"2016-12-05T23:14:23.913", "refNo":"B001332233", "accountId":"player001", "gameId":3054746, "tableName":"Baccarat G1-25C", "stake":25.00, "turnover":25.00, "winlost":5.000000, "ProductType":"Baccarat", "status":"Won", "SubBets":null }, { "orderTime":"2016-12-05T00:36:25.873", "modifyDate":"2016-12-05T23:14:23.913", "refNo":"R001332303", "accountId":"player001", "gameId":3054877, "tableName":"Roulette A5-22", "stake":5.00, "turnover":5.00, "winlost":-5.000000, "ProductType":"Roulette", "status":"Lose", "SubBets":null }, { "orderTime":"2016-12-05T02:04:01.79", "modifyDate":"2016-12-05T23:14:23.913", "refNo":"B001332343", "accountId":"player001", "gameId":3055737, "tableName":"Baccarat A7-29C", "stake":15.00, "turnover":15.00, "winlost":-15.000000, "ProductType":"Baccarat", "status":"Lose", "SubBets":null } ], "error" : { "id" : 0, "msg" : "no error"}, "serverId":"server ID" } |
||||||||||||||||||||||||||||||||||||
remark |
Request
|
5.10 Get Customer VirtualSports Bet List By ModifyDate
The function returns all players' virtualsports bet list within the time period.
The time range can only be up to 30 minutes. For example: 2019-09-16 12:00:00 ~ 2019-09-16 12:30:00.
And the date range should be less or equal to 60 days
name | sample | ||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
path |
http://{api-domain}/web-root/restricted/report/v2/get-virtualsports-bet-list-by-modifydate.aspx |
||||||||||||||||||||||||||||||||||||||||
method |
POST |
||||||||||||||||||||||||||||||||||||||||
header |
Content-Type : application/x-www-form-urlencoded; charset=UTF-8 |
||||||||||||||||||||||||||||||||||||||||
RequestBody |
"param" : { "companyKey" : "{CompanyKey}", "serverId" : "{server ID}", "startDate" : "2020-04-27 06:00:00", "endDate" : "2020-04-27 06:30:00" } |
||||||||||||||||||||||||||||||||||||||||
ResponseBody |
{ "result": [ { "orderTime": "2020-04-27T06:04:05.067", "modifyDate": "2020-04-27T06:07:36.287", "refNo": "V2682729", "accountId": "Player001", "gameId": 2682729, "tableName": "Virtual Sports", "odds": -0.8, "oddsStyle": "Malay", "stake": 229, "actualStake": 183.2, "turnover": 229, "winlost": 0, "status": "Running", "ProductType": "VirtualFootballDesktop", "WinlostDate": "2020-04-27T00:00:00", "SubBets": [ { "htScore": "1:0", "ftScore": "2:1", "betOption": "VL Rome", "marketType": "AsianHandicap", "hdp": "-1.0", "odds": -0.8, "match": "VL Rome -vs- VL Zagreb", "status": "Running", "winlostDate": "2020-04-27T00:00:00" } ] }, { "orderTime": "2020-04-27T06:04:12.513", "modifyDate": "2020-04-27T06:07:36.303", "refNo": "V2682730", "accountId": "Player001", "gameId": 2682730, "tableName": "Virtual Sports", "odds": 12.15, "oddsStyle": "Euro", "stake": 1, "actualStake": 1, "turnover": 1, "winlost": -1, "status": "Lose", "ProductType": "MixParlayDesktop", "WinlostDate": "2020-04-27T00:00:00", "SubBets": [ { "htScore": "1:0", "ftScore": "2:1", "betOption": "VL Rome", "marketType": "AsianHandicap", "hdp": "-1.0", "odds": 2.25, "match": "VL Rome -vs- VL Zagreb", "status": "Draw", "winlostDate": "2020-04-27T00:00:00" }, { "htScore": "1:0", "ftScore": "2:1", "betOption": "VL Moscow", "marketType": "AsianHandicap", "hdp": "0.75", "odds": 2, "match": "VL Amsterdam -vs- VL Moscow", "status": "Won", "winlostDate": "2020-04-27T00:00:00" }, { "htScore": "0:1", "ftScore": "1:1", "betOption": "Under", "marketType": "OverUnder", "hdp": "1.5", "odds": 2.7, "match": "VL Athens -vs- VL Vienna", "status": "Lose", "winlostDate": "2020-04-27T00:00:00" } ] }, { "orderTime": "2020-04-27T06:14:21.263", "modifyDate": "2020-04-27T06:14:21.27", "refNo": "V2682731", "accountId": "Player001", "gameId": 2682731, "tableName": "Virtual Sports", "odds": 7.92, "oddsStyle": "Euro", "stake": 1, "actualStake": 1, "turnover": 1, "winlost": 0, "status": "Running", "ProductType": "MixParlayDesktop", "WinlostDate": "2020-04-27T00:00:00", "SubBets": [ { "htScore": "0:0", "ftScore": "0:0", "betOption": "Under", "marketType": "OverUnder", "hdp": "1.5", "odds": 4.95, "match": "VL Rome -vs- VL London", "status": "Running", "winlostDate": "2020-04-27T00:00:00" }, { "htScore": "0:0", "ftScore": "0:0", "betOption": "Over", "marketType": "OverUnder", "hdp": "1.5", "odds": 1.6, "match": "VL Bern -vs- VL Zagreb", "status": "Running", "winlostDate": "2020-04-27T00:00:00" } ] } ], "error": { "id": 0, "msg": "NoError" }, "serverId": "Server Id" } |
||||||||||||||||||||||||||||||||||||||||
remark |
Request
|
5.11 Get 3rd-party Game Provider Bet List By Modifydate
The function returns all players', all 3rd-parties game bet list within the time period. This API will only return SETTLED bets (Without CANCEL bets).
The time range can only be up to 30 minutes. For example: 2019-09-16 12:00:00 ~ 2019-09-16 12:30:00. The bet time must be in 60 days.
name | sample | ||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
path |
http://{api-domain}/web-root/restricted/report/v2/get-seamlessgameprovider-bet-list-with-bonus-by-modifydate.aspx |
||||||||||||||||||||||||||||||||||||
method |
POST |
||||||||||||||||||||||||||||||||||||
header |
Content-Type : application/x-www-form-urlencoded; charset=UTF-8 |
||||||||||||||||||||||||||||||||||||
RequestBody |
"param" : { "companyKey" : "{CompanyKey}", "serverId" : "{server ID}", "startDate" : "2015-02-04 00:00:00", "endDate" : "2015-02-04 00:00:00" } |
||||||||||||||||||||||||||||||||||||
ResponseBody - wm, SexyBaccarat, CQNine, BigGaming, FlowGamingHub, JokerGaming |
{ "result":[{ "orderTime":"2019-02-14T23:03:15.447", "modifyDate":"2019-02-14T23:06:39.967", "refNo":"WM_238_1000102_112164543_3", "accountId":"WuuP003CNY", "gamePeriodId":"112164543", "gameRoundId":"3", "gameType":"WmDragonAndTiger", "stake":10, "turnOverStake":10, "orderDetail":"betdetail[Dragon]:-10", "gameResult":"Dragon:♠10Tiger:♠3", "WinLostDate":"2019-02-14T00:00:00", "status":"Lose", "winLost":-10.000000, "isResettle":true }, { "orderTime":"2019-02-15T03:53:28.697", "modifyDate":"2019-02-15T03:54:07.263", "refNo":"WM_238_1000102_112164578_95", "accountId":"WuuP003CNY", "gamePeriodId":"112164578", "gameRoundId":"95", "gameType":"WmDragonAndTiger", "stake":10, "turnOverStake":10, "orderDetail":"betdetail[Dragon]:-10", "gameResult":"Dragon:♥2Tiger:♣4", "WinLostDate":"2019-02-15T00:00:00", "status":"Lose", "winLost": -10.000000, "isResettle":false }], "error":{"id":0,"msg":"NoError"}, "serverId":"A60" } |
||||||||||||||||||||||||||||||||||||
ResponseBody - Lv |
{ "result":{ "subBet":[ { "betOption":"Altinordu(n)", "marketType":"Handicap", "hdp":0, "odds":-0.8, "league":"Turkey Cup", "status":"lose", "match":"Altinordu(n) vs Kayserispor", "winlostDate":"2018-06-10T00:00:00", "liveScore":"0:0", "htScore":"0:0", "ftScore":"0:0", "kickOffTime":"2018-06-10T01:00:00", "customeizedBetType":"" } ], "refNo":"221929192", "username":"tesewuf", "sportType":"Football", "orderTime":"2018-06-10T21:35:46.03", "winlostDate":"2018-06-10T00:00:00", "modifyDate":"2018-06-10T22:26:56.86", "odds":-0.8, "oddsStyle":"M", "stake":100.000000, "actualStake":80.000000, "currency":"THB", "status":"lose", "winlose":0.000000, "turnover":100.000000, "isHalfWonLose":false, "isLive":false, "MaxWinWithoutActualStake":100, "Ip":"123.147.58.47" }, "error" : { "id" : 0, "msg" : "no error"}, "serverId":"server ID" } |
||||||||||||||||||||||||||||||||||||
remark |
Request
|
5.12 Get Customer SBO Live Bet List By Modifydate(Abandoned)
The function returns all players' SBO Live bet list within the time period.
The time range can only be up to 30 minutes. For example: 2019-09-16 12:00:00 ~ 2019-09-16 12:30:00.and the date range should be less or equal to 60 days
name | sample | ||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
path |
http://{api-domain}/web-root/restricted/report/v2/get-sbolive-bet-list-by-modifydate.aspx |
||||||||||||||||||||||||||||||||||||||||
method |
POST |
||||||||||||||||||||||||||||||||||||||||
header |
Content-Type : application/x-www-form-urlencoded; charset=UTF-8 |
||||||||||||||||||||||||||||||||||||||||
RequestBody |
"param" : { "startDate" : "2019-06-04T00:00:00", "endDate" : "2019-06-07T00:00:00", "companyKey" : "{CompanyKey}", "serverId" : "{server ID}" } |
||||||||||||||||||||||||||||||||||||||||
Postman Example | ![]() |
||||||||||||||||||||||||||||||||||||||||
ResponseBody |
{ "result":[{ "subBet":[{ "betOption":"Altinordu(n)", "marketType":"Handicap", "hdp":0, "odds":-0.8, "league":"Turkey Cup", "status":"lose", "match":"Altinordu(n) vs Kayserispor", "winlostDate":"2018-06-10T00:00:00", "liveScore":"0:0", "htScore":"0:0", "ftScore":"0:0", "customeizedBetType":"", "kickOffTime":"2018-06-10T01:00:00", "isHalfWonLose":false, "isLive":false, "sportType":"Football" }], "refNo":"221929192", "username":"tesewuf", "sportType":"Football", "orderTime":"2018-06-10T21:35:46.03", "winlostDate":"2018-06-10T00:00:00", "modifyDate":"2018-06-10T22:26:56.86", "odds":-0.8, "oddsStyle":"M", "stake":100.000000, "actualStake":80.000000, "currency":"THB", "status":"lose", "winlose":0.000000, "turnover":100.000000, "isHalfWonLose":false, "isLive":false, "MaxWinWithoutActualStake":100, "Ip":"123.147.58.47" }], "error" : { "id" : 0, "msg" : "no error"}, "serverId":"server ID" } |
||||||||||||||||||||||||||||||||||||||||
remark |
Request
|
5.13 Get Customer Saba SportsBook Bet List By Modifydate
The function returns all players' saba sportsbook bet list within the time period.
The time range can only be up to 30 minutes. For example: 2019-09-16 12:00:00 ~ 2019-09-16 12:30:00.and the date range should be less or equal to 3 days. The date in the request is based on the modified date.
name | sample | ||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
path |
http://{api-domain}/web-root/restricted/report/v2/get-saba-sportsbook-bet-list-by-modifydate.aspx |
||||||||||||||||||||||||||||||||||||||||
method |
POST |
||||||||||||||||||||||||||||||||||||||||
header |
Content-Type : application/x-www-form-urlencoded; charset=UTF-8 |
||||||||||||||||||||||||||||||||||||||||
RequestBody |
"param" : { "startDate" : "2019-06-04T00:00:00", "endDate" : "2019-06-07T00:00:00", "companyKey" : "{CompanyKey}", "serverId" : "{server ID}" } |
||||||||||||||||||||||||||||||||||||||||
ResponseBody |
{ "result":[{ "subBet":[{ "betOption":"Altinordu(n)", "marketType":"Handicap", "hdp":0, "odds":-0.8, "league":"Turkey Cup", "status":"lose", "match":"Altinordu(n) vs Kayserispor", "winlostDate":"2018-06-10T00:00:00", "liveScore":"0:0", "isLive":false }], "refNo":"221929192", "username":"tesewuf", "sportType":"Football", "orderTime":"2018-06-10T21:35:46.03", "winlostDate":"2018-06-10T00:00:00", "modifyDate":"2018-06-10T22:26:56.86", "odds":-0.8, "oddsStyle":"M", "stake":100.000000, "actualStake":80.000000, "currency":"THB", "status":"lose", "winlose":0.000000, "turnover":100.000000, "isLive":false, "isParlay": false }], "error" : { "id" : 0, "msg" : "no error"}, "serverId":"server ID" } |
||||||||||||||||||||||||||||||||||||||||
remark |
Request
|
5.14 Get Customer Saba VirtualSports Bet List By Modifydate
The function returns all players' saba virtual sports bet list within the time period.
The time range can only be up to 30 minutes. For example: 2019-09-16 12:00:00 ~ 2019-09-16 12:30:00.and the date range should be less or equal to 3 days. The date in the request is based on the modified date.
name | sample | ||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
path |
http://{api-domain}/web-root/restricted/report/v2/get-saba-virtualsports-bet-list-by-modifydate.aspx |
||||||||||||||||||||||||||||||||||||||||
method |
POST |
||||||||||||||||||||||||||||||||||||||||
header |
Content-Type : application/x-www-form-urlencoded; charset=UTF-8 |
||||||||||||||||||||||||||||||||||||||||
RequestBody |
"param" : { "startDate" : "2019-06-04T00:00:00", "endDate" : "2019-06-07T00:00:00", "companyKey" : "{CompanyKey}", "serverId" : "{server ID}" } |
||||||||||||||||||||||||||||||||||||||||
ResponseBody |
{ "result":[{ "subBet":[{ "betOption":"Altinordu(n)", "marketType":"Handicap", "hdp":0, "odds":-0.8, "league":"Turkey Cup", "status":"lose", "match":"Altinordu(n) vs Kayserispor", "winlostDate":"2018-06-10T00:00:00", "liveScore":"0:0", "isLive":false }], "refNo":"221929192", "username":"tesewuf", "sportType":"Football", "orderTime":"2018-06-10T21:35:46.03", "winlostDate":"2018-06-10T00:00:00", "modifyDate":"2018-06-10T22:26:56.86", "odds":-0.8, "oddsStyle":"M", "stake":100.000000, "actualStake":80.000000, "currency":"THB", "status":"lose", "winlose":0.000000, "turnover":100.000000, "isLive":false, "isParlay": false }], "error" : { "id" : 0, "msg" : "no error"}, "serverId":"server ID" } |
||||||||||||||||||||||||||||||||||||||||
remark |
Request
|
5.15 Get Player Saba SportsBook Bet List By Modifydate
If username is agent's account, then will return all players' bet list under the agent. If username is player's account, then simply return all bet list of the player.
The time range can only be up to 30 minutes. For example: 2019-09-16 12:00:00 ~ 2019-09-16 12:30:00.and the date range should be less or equal to 3 days. The date in the request is based on the modified date.
name | sample | ||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
path |
http://{api-domain}/web-root/restricted/report/get-player-saba-sportsbook-bet-list-by-modifydate.aspx |
||||||||||||||||||||||||||||||||||||||||
method |
POST |
||||||||||||||||||||||||||||||||||||||||
header |
Content-Type : application/x-www-form-urlencoded; charset=UTF-8 |
||||||||||||||||||||||||||||||||||||||||
RequestBody |
"param" : { "username" : "tesewuf", "startDate" : "2019-06-04T00:00:00", "endDate" : "2019-06-07T00:00:00", "companyKey" : "{CompanyKey}", "serverId" : "{server ID}" } |
||||||||||||||||||||||||||||||||||||||||
ResponseBody |
{ "result":[{ "subBet":[{ "betOption":"Altinordu(n)", "marketType":"Handicap", "hdp":0, "odds":-0.8, "league":"Turkey Cup", "status":"lose", "match":"Altinordu(n) vs Kayserispor", "winlostDate":"2018-06-10T00:00:00", "liveScore":"0:0", "isLive":false }], "refNo":"221929192", "username":"tesewuf", "sportType":"Football", "orderTime":"2018-06-10T21:35:46.03", "winlostDate":"2018-06-10T00:00:00", "modifyDate":"2018-06-10T22:26:56.86", "odds":-0.8, "oddsStyle":"M", "stake":100.000000, "actualStake":80.000000, "currency":"THB", "status":"lose", "winlose":0.000000, "turnover":100.000000, "isLive":false, "isParlay": false }], "error" : { "id" : 0, "msg" : "no error"}, "serverId":"server ID" } |
||||||||||||||||||||||||||||||||||||||||
remark |
Request
|
5.16 Get Player Saba VirtualSports Bet List By Modifydate
If username is agent's account, then will return all players' bet list under the agent. If username is player's account, then simply return all bet list of the player.
The time range can only be up to 30 minutes. For example: 2019-09-16 12:00:00 ~ 2019-09-16 12:30:00.and the date range should be less or equal to 3 days. The date in the request is based on the modified date.
name | sample | ||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
path |
http://{api-domain}/web-root/restricted/report/get-player-saba-virtualsports-bet-list-by-modifydate.aspx |
||||||||||||||||||||||||||||||||||||||||
method |
POST |
||||||||||||||||||||||||||||||||||||||||
header |
Content-Type : application/x-www-form-urlencoded; charset=UTF-8 |
||||||||||||||||||||||||||||||||||||||||
RequestBody |
"param" : { "username" : "tesewuf", "startDate" : "2019-06-04T00:00:00", "endDate" : "2019-06-07T00:00:00", "companyKey" : "{CompanyKey}", "serverId" : "{server ID}" } |
||||||||||||||||||||||||||||||||||||||||
ResponseBody |
{ "result":[{ "subBet":[{ "betOption":"Altinordu(n)", "marketType":"Handicap", "hdp":0, "odds":-0.8, "league":"Turkey Cup", "status":"lose", "match":"Altinordu(n) vs Kayserispor", "winlostDate":"2018-06-10T00:00:00", "liveScore":"0:0", "isLive":false }], "refNo":"221929192", "username":"tesewuf", "sportType":"Football", "orderTime":"2018-06-10T21:35:46.03", "winlostDate":"2018-06-10T00:00:00", "modifyDate":"2018-06-10T22:26:56.86", "odds":-0.8, "oddsStyle":"M", "stake":100.000000, "actualStake":80.000000, "currency":"THB", "status":"lose", "winlose":0.000000, "turnover":100.000000, "isLive":false, "isParlay": false }], "error" : { "id" : 0, "msg" : "no error"}, "serverId":"server ID" } |
||||||||||||||||||||||||||||||||||||||||
remark |
Request
|
5.17 Get Player Saba Sportsbook Bet List By TransId
User can get bet list by transid. only get the data within 60 days
name | sample | ||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
path |
http://{api-domain}/web-root/restricted/report/get-saba-sportsbook-bet-list-by-transid.aspx |
||||||||||||||||||||||||||||||||||||||||
method |
POST |
||||||||||||||||||||||||||||||||||||||||
header |
Content-Type : application/x-www-form-urlencoded; charset=UTF-8 |
||||||||||||||||||||||||||||||||||||||||
RequestBody |
"param" : { "transid" : "12312414", "companyKey" : "{CompanyKey}", "serverId" : "{server ID}" } |
||||||||||||||||||||||||||||||||||||||||
ResponseBody |
{ "result":[{ "subBet":[{ "betOption":"Altinordu(n)", "marketType":"Handicap", "hdp":0, "odds":-0.8, "league":"Turkey Cup", "status":"lose", "match":"Altinordu(n) vs Kayserispor", "winlostDate":"2018-06-10T00:00:00", "liveScore":"0:0", "isLive":false }], "refNo":"221929192", "username":"tesewuf", "sportType":"Football", "orderTime":"2018-06-10T21:35:46.03", "winlostDate":"2018-06-10T00:00:00", "modifyDate":"2018-06-10T22:26:56.86", "odds":-0.8, "oddsStyle":"M", "stake":100.000000, "actualStake":80.000000, "currency":"THB", "status":"lose", "winlose":0.000000, "turnover":100.000000, "isLive":false, "isParlay": false }], "error" : { "id" : 0, "msg" : "no error"}, "serverId":"server ID" } |
||||||||||||||||||||||||||||||||||||||||
remark |
Request
|
5.18 Get Player Saba VirtualSports Bet List By TransId
User can get bet list by transid. only get the data within 60 days
name | sample | ||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
path |
http://{api-domain}/web-root/restricted/report/get-saba-virtualsports-bet-list-by-transid.aspx |
||||||||||||||||||||||||||||||||||||||||
method |
POST |
||||||||||||||||||||||||||||||||||||||||
header |
Content-Type : application/x-www-form-urlencoded; charset=UTF-8 |
||||||||||||||||||||||||||||||||||||||||
RequestBody |
"param" : { "transid" : "12312414", "companyKey" : "{CompanyKey}", "serverId" : "{server ID}" } |
||||||||||||||||||||||||||||||||||||||||
ResponseBody |
{ "result":[{ "subBet":[{ "betOption":"Altinordu(n)", "marketType":"Handicap", "hdp":0, "odds":-0.8, "league":"Turkey Cup", "status":"lose", "match":"Altinordu(n) vs Kayserispor", "winlostDate":"2018-06-10T00:00:00", "liveScore":"0:0", "isLive":false }], "refNo":"221929192", "username":"tesewuf", "sportType":"Football", "orderTime":"2018-06-10T21:35:46.03", "winlostDate":"2018-06-10T00:00:00", "modifyDate":"2018-06-10T22:26:56.86", "odds":-0.8, "oddsStyle":"M", "stake":100.000000, "actualStake":80.000000, "currency":"THB", "status":"lose", "winlose":0.000000, "turnover":100.000000, "isLive":false, "isParlay": false }], "error" : { "id" : 0, "msg" : "no error"}, "serverId":"server ID" } |
||||||||||||||||||||||||||||||||||||||||
remark |
Request
|
5.19 Get Customer Saba Transaction
Can get all players' transaction list in our service, get all players' transaction list under one agent or get one player's transaction list. only get the data within 60 days
name | sample | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
path |
http://{api-domain}/web-root/restricted/report/get-customer-saba-transaction.aspx |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
method |
POST |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
header |
Content-Type : application/x-www-form-urlencoded; charset=UTF-8 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
RequestBody |
"param" : { "username" : "test", "startDate" : "2019-06-04T00:00:00", "endDate" : "2019-06-07T00:00:00", "isAllUser" : "false", "companyKey" : "{CompanyKey}", "serverId" : "{server ID}" } |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
ResponseBody |
{ "result":[{ "agentName": "TestA01", "amount": 1000, "currency": "MYR", "playerName": "test", "transDate": "2019-06-06T13:21:05", "transferType": "DepositToSaba", "txnId": "Saba_277_1_20190606132105944" }], "startDate": "2019-06-04T00:00:00", "endDate": "2019-06-07T00:00:00", "error" : { "id" : 0, "msg" : "no error"}, "serverId":"server ID" } |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
remark |
Request
|
5.20 Get Customer Live Casino Beauty Bet List By ModifyDate
The function returns all players' Live Casino Beauty bet list within the time period.
The time range can only be up to 30 minutes. For example: 2019-09-16 12:00:00 ~ 2019-09-16 12:30:00.and the date range should be less or equal to 60 days
name | sample | ||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
path |
http://{api-domain}/web-root/restricted/report/v2/get-livecasinobeauty-bet-list-by-modifydate.aspx |
||||||||||||||||||||||||||||||||||||
method |
POST |
||||||||||||||||||||||||||||||||||||
header |
Content-Type : application/x-www-form-urlencoded; charset=UTF-8 |
||||||||||||||||||||||||||||||||||||
RequestBody |
"param" : { "companyKey" : "{CompanyKey}", "serverId" : "{server ID}", "startDate" : "2016-12-05T23:00:00", "endDate" : "2016-12-05T23:30:00" } |
||||||||||||||||||||||||||||||||||||
ResponseBody |
{ "result":[ { "orderTime":"2016-12-05T00:22:51.783", "modifyDate":"2016-12-05T23:14:23.913", "refNo":"B001332233", "accountId":"player001", "gameId":3054746, "tableName":"Baccarat AB7-1C", "stake":10.00, "turnover":10.00, "winlost":-10.000000, "ProductType":"Baccarat", "status":"Won", "WinlostDate":"9/11/2018 12:00:00 AM", "SubBets":null, "BetDetail":"Banker:10", "GameResult":"Banker:1(♣J ♥A ♣K); Player:9(♦6 ♣6 ♦7)" }, { "orderTime":"2016-12-05T02:04:01.79", "modifyDate":"2016-12-05T23:14:23.913", "refNo":"B001332343", "accountId":"player001", "gameId":3055737, "tableName":"Baccarat AA7-1C", "stake":100.00, "turnover":100.00, "winlost":100.000000, "ProductType":"Baccarat", "status":"Won", "WinlostDate":"9/11/2018 12:00:00 AM", "SubBets":null, "BetDetail":"Player:100", "GameResult":"Banker:7(♠Q ♠7); Player:9(♠3 ♦6)" } ], "error" : { "id" : 0, "msg" : "no error"}, "serverId":"server ID" } |
||||||||||||||||||||||||||||||||||||
remark |
Request
|
5.21 Get bet detail URL by refno
This function will return the bet detail URL by ExternalRefnoCurrently Available Seamless Game Provider: CQNINE, BigGaming, IONLC, SBO Slot, FunkyGame, WM, and SG,PragmaticPlay,PragmaticplayCasino,FlowGamingHub,RealTimeGaming,Allbet,Yggdrasil
name | sample | ||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
path |
http://{api-domain}/web-root/restricted/report/get-betdetail-return-url.aspx |
||||||||||||||||||||||||||||||||||||||||
method |
POST |
||||||||||||||||||||||||||||||||||||||||
header |
Content-Type : application/x-www-form-urlencoded; charset=UTF-8 |
||||||||||||||||||||||||||||||||||||||||
RequestBody |
"param" : { "companyKey" : "{CompanyKey}", "serverId" : "server ID", "portfolio" : "SeamlessGameProviderApi", "refno" : "FunkyGames_74_Funky_keno_711372", "LANGUAGE":"en" } |
||||||||||||||||||||||||||||||||||||||||
ResponseBody |
{ "result" : "https://uat-wlkeno.93connect.com/mybet.php?mybet===AdlJWet5keFhXT6NWemRkQ40kVONEV6QSXZUR4JGWslmWYFVP", "error" : {"id":0,"msg":"NoError"}, "serverId" : "A02" } |
||||||||||||||||||||||||||||||||||||||||
remark |
Request
|
5.22 Get SeamlessGame Winlost Report By Modifydate
This function will return a seamless game winlost report for that time period
name | sample | ||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
path |
http://{api-domain}/web-root/restricted/report/get-customer-seamlessgameprovider-report.aspx |
||||||||||||||||||||||||||||||||||||||||||||
method |
POST |
||||||||||||||||||||||||||||||||||||||||||||
header |
Content-Type : application/x-www-form-urlencoded; charset=UTF-8 |
||||||||||||||||||||||||||||||||||||||||||||
RequestBody |
"param" : { "companyKey" : "{CompanyKey}", "serverId" : "server ID", "portfolio" : "SeamlessGameProviderApi", "gameProvider":"IONLC", "startDate" : "2014-09-10", "endDate" : "2014-09-11" } |
||||||||||||||||||||||||||||||||||||||||||||
ResponseBody |
{ "result" : [{"gameProvider":"12","betCount":11,"totalStake":870,"totalPlayerWinlose":253.5,"currency":"AUD"},{"gameProvider":"12","betCount":11,"totalStake":230,"totalPlayerWinlose":146.5,"currency":"CNY"},{"gameProvider":"12","betCount":7,"totalStake":93,"totalPlayerWinlose":57,"currency":"IDR"},{"gameProvider":"12","betCount":7,"totalStake":225,"totalPlayerWinlose":288.5,"currency":"USD"}], "error" : {"id":0,"msg":"NoError"}, "serverId" : "A02" } |
||||||||||||||||||||||||||||||||||||||||||||
remark |
Request
|
5.23 Get IdnPoker Transaction List
This function will return a IdnPoker transaction report for a period
name | sample | ||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
path |
http://{api-domain}/web-root/restricted/report/get-customer-IDNPoker-transaction-list.aspx |
||||||||||||||||||||||||||||||||||||||||||||
method |
POST |
||||||||||||||||||||||||||||||||||||||||||||
header |
Content-Type : application/x-www-form-urlencoded; charset=UTF-8 |
||||||||||||||||||||||||||||||||||||||||||||
RequestBody |
"param" : { "startDate" : "2020-06-03", "endDate" : "2020-06-04", "companyKey" : "{CompanyKey}", "serverId" : "{server ID}" } |
||||||||||||||||||||||||||||||||||||||||||||
ResponseBody |
{ "startDate" : "2020-06-03T00:55:00", "endDate" : "2020-06-03T23:56:00", "transactionLists" : [ { "TransactionNo":"{TransactionNo}", "playerName":"PlayerIDR", "transferDate":"2020-06-03T19:14:17.76", "Period":0,"transferType":"Deposit", "currency":"IDR", "amount":200000, "ExchangeRate":0.075, "ModifiedOn":"2020-06-03T17:41:58" }, { "TransactionNo":"{TransactionNo}", "playerName":"PlayerIDR", "transferDate":"2020-06-03T19:14:17.76", "Period":0, "transferType":"Deposit", "currency":"IDR", "amount":100000, "ExchangeRate":0.075, "ModifiedOn":"2020-06-03T17:30:56" } ], "error":{"id":0,"msg":"NoError"}, "serverId":"A02" } |
||||||||||||||||||||||||||||||||||||||||||||
remark |
Request
|
5.24 Get IdnPoker Bet List By TransId
This function will return IdnPoker bet list report By TransId
name | sample | ||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
path |
http://{api-domain}/web-root/restricted/report/get-idnpoker-bet-list-by-transId.aspx |
||||||||||||||||||||||||||||||||
method |
POST |
||||||||||||||||||||||||||||||||
header |
Content-Type : application/x-www-form-urlencoded; charset=UTF-8 |
||||||||||||||||||||||||||||||||
RequestBody |
"param" : { "transid":"10964205", "companyKey": "{CompanyKey}", "serverId":"{server ID}" } |
||||||||||||||||||||||||||||||||
ResponseBody |
{ "result": [ { "TransactionNo":"10964205", "TableNo":12258, "AccountId":"PlayerIDR", "UserId":"IDN1SBO310", "OrderTime":"2020-06-03T03:23:35.76", "Game":"TXH", "Stake":17350, "Winlost":0, "Currency":"IDR", "Status":"Lose", "Total":"3650.000000" } ], "error":{"id":0,"msg":"NoError"}, "serverId":"A02" } |
||||||||||||||||||||||||||||||||
remark |
Request
|
5.25 Get Customer IdnPoker Bet List By Modifydate
This function will return IdnPoker bet list report By Modifydate and specific user
name | sample | ||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
path |
http://{api-domain}/web-root/restricted/report/get-customer-idnpoker-bet-list-by-modifydate.aspx |
||||||||||||||||||||||||||||||||||||||||
method |
POST |
||||||||||||||||||||||||||||||||||||||||
header |
Content-Type : application/x-www-form-urlencoded; charset=UTF-8 |
||||||||||||||||||||||||||||||||||||||||
RequestBody |
"param" : { "username":"{username}", "startDate" : "2020-06-09", "endDate" : "2020-06-10", "companyKey":"{CompanyKey}", "serverId":"{server ID}" } |
||||||||||||||||||||||||||||||||||||||||
ResponseBody |
{ "result": [ { "TransactionNo":"10903754", "TableNo":5307, "AccountId":"test1234", "UserId":"IDN1SBO4825", "OrderTime":"2020-06-09T16:17:10", "Game":"TXH", "Stake":200, "Winlost":0, "Currency":"IDR", "Status":"Fold", "Total":"8600.000000" }, { "TransactionNo":"10883419", "TableNo":5307, "AccountId":"test1234", "UserId":"IDN1SBO4825", "OrderTime":"2020-06-09T16:16:18", "Game":"TXH", "Stake":1200, "Winlost":0, "Currency":"IDR", "Status":"Lose", "Total":"8800.000000" } ], "error":{"id":0,"msg":"NoError"}, "serverId":"A02" } |
||||||||||||||||||||||||||||||||||||||||
remark |
Request
|
5.26 Get IdnPoker Bet List By ModifyDate
This function will return IdnPoker bet list report By Modifydate
name | sample | ||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
path |
http://{api-domain}/web-root/restricted/report/v2/get-idn-poker-bet-list-by-modifydate.aspx |
||||||||||||||||||||||||||||||||||||
method |
POST |
||||||||||||||||||||||||||||||||||||
header |
Content-Type : application/x-www-form-urlencoded; charset=UTF-8 |
||||||||||||||||||||||||||||||||||||
RequestBody |
"param" : { "startDate" : "2020-06-03", "endDate" : "2020-06-04", "companyKey":"{CompanyKey}", "serverId":"{server ID}" } |
||||||||||||||||||||||||||||||||||||
ResponseBody |
{ "result": [ { "TransactionNo":"12983751", "TableNo":5307, "AccountId":"test123", "UserId":"IDN1SBO4359", "OrderTime":"2020-06-03T19:14:17.76", "Game":"TXH", "Stake":100, "Winlost":0, "Currency":"IDR", "Status":"Fold", "Total":"201582.000000" } ], "error":{"id":0,"msg":"NoError"}, "serverId":"A02" } |
||||||||||||||||||||||||||||||||||||
remark |
Request
|
5.27 Get Sports And VirtualSports Bet List By ModifyDate
The function returns all players' sports and virtual sports bet list within the time period.
The time range can only be up to 30 minutes. For example: 2019-09-16 12:00:00 ~ 2019-09-16 12:30:00. And the date range should be less or equal to 3 days
name | sample | ||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
path |
http://{api-domain}/web-root/restricted/report/v2/get-sports-and-vs-bet-list-by-modifydate.aspx |
||||||||||||||||||||||||||||||||||||||||
method |
POST |
||||||||||||||||||||||||||||||||||||||||
header |
Content-Type : application/x-www-form-urlencoded; charset=UTF-8 |
||||||||||||||||||||||||||||||||||||||||
RequestBody |
"param" : { "startDate" : "2020-07-30T06:10:00", "endDate" : "2020-07-30T07:10:00", "lang": "EN", "companyKey" : "{CompanyKey}", "serverId" : "{server ID}" } |
||||||||||||||||||||||||||||||||||||||||
ResponseBody |
{ "result":[ { "subBet":[ { "transId":65, "betOption":"Over", "marketType":"First Half O/U", "hdp":0.5, "odds":1.84, "league":"FINLAND VEIKKAUSLIIGA", "match":"HIFK Helsinki -vs- TPS Turku", "status":"lose", "winlostDate":"2020-08-10T00:00:00", "liveScore":"0:0", "htScore":"0:0", "ftScore":"2:0", "isHalfWonLose":false, "isLive":true, "kickOffTime":"2020-08-10T11:30:00", "sportType":"Football" }, { "transId":66, "betOption":"Honka Espoo", "marketType":"Handicap", "hdp":-0.75, "odds":1.97, "league":"FINLAND VEIKKAUSLIIGA", "match":"Honka Espoo -vs- Seinajoen JK", "status":"lose", "winlostDate":"2020-08-10T00:00:00", "liveScore":"0:0", "htScore":"0:0", "ftScore":"0:0", "isHalfWonLose":false, "isLive":true, "kickOffTime":"2020-08-10T11:30:00", "sportType":"Football" }, { "transId":67, "betOption":"Under", "marketType":"Over/Under", "hdp":2.5, "odds":1.9, "league":"Finland Ykkonen", "match":"Ekenas IF -vs- Gnistan Helsinki", "status":"lose", "winlostDate":"2020-08-10T00:00:00", "liveScore":"0:0", "htScore":"1:0", "ftScore":"2:1", "isHalfWonLose":false, "isLive":true, "kickOffTime":"2020-08-10T11:30:00", "sportType":"Football" } ], "refNo":"3998631", "username":"tPlayerTHB", "productType":"SportsMixParlay", "orderTime":"2020-08-10T11:47:44.447", "winlostDate":"2020-08-10T00:00:00", "modifyDate":"2020-08-10T13:24:19.66", "odds":6.887, "oddsStyle":"Euro", "stake":50, "actualStake":50, "currency":"THB", "IP":"122.146.59.233", "status":"lose", "winlost":-50, "turnover":50, "isHalfWonLose":false, "isLive":true, "isSystemTagRisky":false, "remark":"" } ], "error":{ "id":0, "msg":"NoError" }, "serverId":"Z01" } |
||||||||||||||||||||||||||||||||||||||||
remark |
Request
|
5.28 Get LiveCoin Transaction List By ModifyDate(Abandoned)
The function returns all players' LiveCoin Transaction list within the time period.
The time range can only be up to 30 minutes. For example: 2019-09-16 12:00:00 ~ 2019-09-16 12:30:00. And the date range should be less or equal to 3 days
name | sample | ||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
path |
http://{api-domain}/web-root/restricted/report/v2/get-livecoin-transaction-list-by-modifydate.aspx |
||||||||||||||||||||||||||||||||||||
method |
POST |
||||||||||||||||||||||||||||||||||||
header |
Content-Type : application/x-www-form-urlencoded; charset=UTF-8 |
||||||||||||||||||||||||||||||||||||
RequestBody |
"param" : { "startDate" : "2020-07-30T06:10:00", "endDate" : "2020-07-30T07:10:00", "companyKey" : "{CompanyKey}", "serverId" : "{server ID}" } |
||||||||||||||||||||||||||||||||||||
ResponseBody |
{ "result": [ { "refno": 1, "statementDate": "2021-05-06T08:18:00", "transDate": "2021-05-06T08:18:07.393", "status": "success", "username": "tPlayerTHB", "amount": 100, "modifiedOn": "2021-05-06T08:18:07.393" }, { "refno": 2, "statementDate": "2021-05-06T08:18:00", "transDate": "2021-05-06T08:18:12.893", "status": "success", "username": "tPlayerTHB", "amount": 50, "modifiedOn": "2021-05-06T08:18:12.893" } ], "error": { "id": 0, "msg": "NoError" }, "serverId": "Z01" } |
||||||||||||||||||||||||||||||||||||
remark |
Request
|
6. Seamless Wallet Resend API
6.1 Resend Seamless Wallet For Sports
This function will resend seamless wallet request only for settled or void sports bet
settled bet will send SETTLE
void bet will send CANCEL
name | sample | ||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
path |
http://{api-domain}/web-root/restricted/sw/resend-seamless-wallet-for-sports.aspx |
||||||||||||||||||||||||||||||||
method |
POST |
||||||||||||||||||||||||||||||||
header |
Content-Type : application/x-www-form-urlencoded; charset=UTF-8 |
||||||||||||||||||||||||||||||||
RequestBody |
"param" : { "transferCode" : "3998216,3998217", "companyKey":"{CompanyKey}", "serverId":"{server ID}" } |
||||||||||||||||||||||||||||||||
ResponseBody |
{ "ResendDetail": [ { "UserName": "testplayer001", "TransferCode": "3998216", "Action": "SETTLE" }, { "UserName": "testplayer002", "TransferCode": "3998217", "Action": "CANCEL" } ], "error": { "id": 0, "msg": "NoError" }, "serverId": "165" } |
||||||||||||||||||||||||||||||||
remark |
Request
|
6.2 Resend Seamless Wallet For Virtual Sports
This function will resend seamless wallet request only for settled or void virtual sports bet
settled bet will send SETTLE
void bet will send CANCEL
name | sample | ||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
path |
http://{api-domain}/web-root/restricted/sw/resend-seamless-wallet-for-virtual-sports.aspx |
||||||||||||||||||||||||||||||||
method |
POST |
||||||||||||||||||||||||||||||||
header |
Content-Type : application/x-www-form-urlencoded; charset=UTF-8 |
||||||||||||||||||||||||||||||||
RequestBody |
"param" : { "transferCode" : "B2672088,B2672089", "companyKey":"{CompanyKey}", "serverId":"{server ID}" } |
||||||||||||||||||||||||||||||||
ResponseBody |
{ "ResendDetail": [ { "UserName": "testplayer001", "TransferCode": "B2672088", "Action": "SETTLE" }, { "UserName": "testplayer002", "TransferCode": "B2672089", "Action": "CANCEL" } ], "error": { "id": 0, "msg": "NoError" }, "serverId": "165" } |
||||||||||||||||||||||||||||||||
remark |
Request
|
6.3 Resend Seamless Wallet For Casino
This function will resend seamless wallet request only for settled or void casino bet
settled bet will send SETTLE
void bet will send CANCEL
name | sample | ||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
path |
http://{api-domain}/web-root/restricted/sw/resend-seamless-wallet-for-casino.aspx |
||||||||||||||||||||||||||||||||
method |
POST |
||||||||||||||||||||||||||||||||
header |
Content-Type : application/x-www-form-urlencoded; charset=UTF-8 |
||||||||||||||||||||||||||||||||
RequestBody |
"param" : { "transferCode" : "B001481707258,B001481713675", "companyKey":"{CompanyKey}", "serverId":"{server ID}" } |
||||||||||||||||||||||||||||||||
ResponseBody |
{ "ResendDetail": [ { "UserName": "testplayer001", "TransferCode": "B001481713675", "Action": "SETTLE" }, { "UserName": "testplayer002", "TransferCode": "B001481707258", "Action": "CANCEL" } ], "error": { "id": 0, "msg": "NoError" }, "serverId": "165" } |
||||||||||||||||||||||||||||||||
remark |
Request
|
6.4 Resend Seamless Wallet For Game
This function will resend seamless wallet request only for settled or void game bet
settled bet will send SETTLE
void bet will send CANCEL
name | sample | ||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
path |
http://{api-domain}/web-root/restricted/sw/resend-seamless-wallet-for-game.aspx |
||||||||||||||||||||||||||||||||
method |
POST |
||||||||||||||||||||||||||||||||
header |
Content-Type : application/x-www-form-urlencoded; charset=UTF-8 |
||||||||||||||||||||||||||||||||
RequestBody |
"param" : { "transferCode" : "T10108,T10109", "companyKey":"{CompanyKey}", "serverId":"{server ID}" } |
||||||||||||||||||||||||||||||||
ResponseBody |
{ "ResendDetail": [ { "UserName": "testplayer001", "TransferCode": "T10108", "Action": "SETTLE" }, { "UserName": "T10109", "TransferCode": "B001481707258", "Action": "CANCEL" } ], "error": { "id": 0, "msg": "NoError" }, "serverId": "165" } |
||||||||||||||||||||||||||||||||
remark |
Request
|
7. Risk Control For Sports
7.1 Delay Settle By Bets
This function will delay settle for running sports bets
delay settled bet's bettype should be Handicap, Over_Under, First_Half_Hdp, First_Half_O_U
For 568win uses internally only
name | sample | ||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
path |
http://{api-domain}/web-root/restricted/risk-control/delay-settle-by-bets.aspx |
||||||||||||||||||||||||||||||||||||
method |
POST |
||||||||||||||||||||||||||||||||||||
header |
Content-Type : application/x-www-form-urlencoded; charset=UTF-8 |
||||||||||||||||||||||||||||||||||||
RequestBody |
"param" : { "webId" : "0", "transIds" : "111,3998801,3998802,3998803,3998807", "companyKey":"{CompanyKey}", "serverId":"{server ID}" } |
||||||||||||||||||||||||||||||||||||
ResponseBody |
{ "Bets": [ { "TransId": 111, "ErrorCode": 2, "Status": "BetNotExists" }, { "TransId": 3998801, "ErrorCode": 4, "Status": "NotRunningBet" }, { "TransId": 3998802, "ErrorCode": 9, "Status": "InvalidBetType" }, { "TransId": 3998803, "ErrorCode": 6, "Status": "WebIdNotMapping" }, { "TransId": 3998804, "ErrorCode": 0, "Status": "NoError" }, ], "error": { "id": 0, "msg": "NoError" }, "serverId": "165" } |
||||||||||||||||||||||||||||||||||||
remark |
Request
|
7.2 Remove Delay Settle By Bets
This function will remove delay settle for running sports bets
remove delay settled bet's bettype should be Handicap, Over_Under, First_Half_Hdp, First_Half_O_U
For 568win uses internally only
name | sample | ||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
path |
http://{api-domain}/web-root/restricted/risk-control/remove-delay-settle-by-bets.aspx |
||||||||||||||||||||||||||||||||||||
method |
POST |
||||||||||||||||||||||||||||||||||||
header |
Content-Type : application/x-www-form-urlencoded; charset=UTF-8 |
||||||||||||||||||||||||||||||||||||
RequestBody |
"param" : { "webId" : "0", "transIds" : "111,3998801,3998802,3998803,3998807", "companyKey":"{CompanyKey}", "serverId":"{server ID}" } |
||||||||||||||||||||||||||||||||||||
ResponseBody |
{ "Bets": [ { "TransId": 111, "ErrorCode": 2, "Status": "BetNotExists" }, { "TransId": 3998802, "ErrorCode": 9, "Status": "InvalidBetType" }, { "TransId": 3998803, "ErrorCode": 6, "Status": "WebIdNotMapping" }, { "TransId": 3998804, "ErrorCode": 0, "Status": "NoError" }, ], "error": { "id": 0, "msg": "NoError" }, "serverId": "165" } |
||||||||||||||||||||||||||||||||||||
remark |
Request
|
7.3 Void Single Bets By TransIds
This function will void running sports bets
Void bet's bettype should be Handicap, Over_Under, First_Half_Hdp, First_Half_O_U
Only can void recent three days, already delayed bet, bet status = 'running', match already completed and be won or draw bets
For 568win uses internally only
name | sample | ||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
path |
http://{api-domain}/web-root/restricted/risk-control/void-single-bets-by-transIds.aspx |
||||||||||||||||||||||||||||||||||||
method |
POST |
||||||||||||||||||||||||||||||||||||
header |
Content-Type : application/x-www-form-urlencoded; charset=UTF-8 |
||||||||||||||||||||||||||||||||||||
RequestBody |
"param" : { "webId" : "0", "transIds" : "111,3998801,3998802,3998803,3998804,3998805,3998806,3998807,3998808,3998809", "companyKey":"{CompanyKey}", "serverId":"{server ID}" } |
||||||||||||||||||||||||||||||||||||
ResponseBody |
{ "Bets": [ { "TransId": 111, "ErrorCode": 2, "Status": "BetNotExists" }, { "TransId": 3998801, "ErrorCode": 7, "Status": "MatchNotCompleted" }, { "TransId": 3998802, "ErrorCode": 4, "Status": "NotRunningBet" }, { "TransId": 3998803, "ErrorCode": 5, "Status": "NotDelayedBet" }, { "TransId": 3998804, "ErrorCode": 6, "Status": "WebIdNotMapping" }, { "TransId": 3998805, "ErrorCode": 7, "Status": "MatchNotCompleted" }, { "TransId": 3998806, "ErrorCode": 8, "Status": "BetTimeNotInThreeDays" }, { "TransId": 3998807, "ErrorCode": 9, "Status": "InvalidBetType" }, { "TransId": 3998808, "ErrorCode": 10, "Status": "BetNotWonOrDraw" }, { "TransId": 3998809, "ErrorCode": 0, "Status": "NoError" }, ], "error": { "id": 0, "msg": "NoError" }, "serverId": "165" } |
||||||||||||||||||||||||||||||||||||
remark |
Request
|
8. Recommend For Sports
8.1 Recommend Match
This function will return data of Today Top 3 matches.
It prioritizes recommending Football matches from the World Cup and the Major 5 Leagues -
ENGLISH PREMIER LEAGUE, ITALY SERIE A, GERMANY BUNDESLIGA, SPAIN LA LIGA, FRANCE LIGUE 1.
And if the data from these leagues is not enough, it will recommend other popular events.
name | sample | ||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
path |
http://{api-domain}/web-root/restricted/recommend/get-recommend-matches.aspx |
||||||||||||||||||||||||||||||||
method |
POST |
||||||||||||||||||||||||||||||||
header |
Content-Type : application/x-www-form-urlencoded; charset=UTF-8 |
||||||||||||||||||||||||||||||||
RequestBody |
"param" : { "language" : "en", "companyKey":"{CompanyKey}", "serverId":"{server ID}" } |
||||||||||||||||||||||||||||||||
ResponseBody |
{ "result": { "RecommendMatches": [ { "LeagueName": "ITALY SERIE A", "MatchId": 24503959, "HomeName": "Napoli", "AwayName": "Spezia", "KickOffTime": "2022-09-10T09:05:00.1", "GameTime": "1H15", "HomeScore": 0, "AwayScore": 0, "HomeTeamIconUrl": "https://img-2-2.cdn568.net/images/teamLogo/Napoli.png", "AwayTeamIconUrl": "https://img-2-2.cdn568.net/images/teamLogo/Spezia.png", "Handicap": { "HomeOdds": 0.55, "AwayOdds": -0.62, "Point": 1.25 }, "OverUnder": { "HomeOdds": 0.58, "AwayOdds": -0.68, "Point": 2.75 } }, { "LeagueName": "SPAIN LA LIGA", "MatchId": 24566487, "HomeName": "Cadiz CF", "AwayName": "Barcelona", "KickOffTime": "2022-09-10T12:35:00.1", "GameTime": "2H30", "HomeScore": 0, "AwayScore": 0, "HomeTeamIconUrl": "https://img-2-2.cdn568.net/images/teamLogo/CadizCF.png", "AwayTeamIconUrl": "https://img-2-2.cdn568.net/images/teamLogo/Barcelona.png", "Handicap": { "HomeOdds": -0.75, "AwayOdds": 0.68, "Point": -1.5 }, "OverUnder": { "HomeOdds": 0.59, "AwayOdds": -0.69, "Point": 2.5 } }, { "LeagueName": "FRANCE LIGUE 1", "MatchId": 24894880, "HomeName": "Marseille", "AwayName": "Lille", "KickOffTime": "2022-09-10T15:03:00.1", "GameTime": "", "HomeScore": 0, "AwayScore": 0, "HomeTeamIconUrl": "https://img-2-2.cdn568.net/images/teamLogo/Marseille.png", "AwayTeamIconUrl": "https://img-2-2.cdn568.net/images/teamLogo/Lille.png", "Handicap": { "HomeOdds": 0.52, "AwayOdds": -0.6, "Point": 0 }, "OverUnder": { "HomeOdds": 0.8, "AwayOdds": -0.9, "Point": 2.5 } } ] }, "error": { "id": 0, "msg": "NoError" }, "serverId": "server id" } |
||||||||||||||||||||||||||||||||
remark |
Request
|