{"openapi":"3.0.0","info":{"description":"93CONNECT APIs are written to be RESTful. This guide explains the high-level REST call\nand response mechanics. It also provides other information that you'll need as you write\napplications with the 93CONNECT APIs (including how to generate access tokens and how\nto parse error messages).\nThis guide lives at the top level of the REST doc hierarchy, and should be read before you\nwork with the individual APIs.\n","version":"1.0.0","title":"93Connect Game API","termsOfService":"http://swagger.io/terms/","contact":{"email":"apiteam@swagger.io"},"license":{"name":"Apache 2.0","url":"http://www.apache.org/licenses/LICENSE-2.0.html"}},"servers":[{"description":"SwaggerHub API Auto Mocking","url":"https://virtserver.swaggerhub.com/93Connect/93ConnectGameAPI/1.0.0"},{"description":"UAT Endpoint","url":"http://uat-wlapi.93connect.com/[agent]"},{"description":"Production Endpoint","url":"http://wlapi.93connect.com/[agent]"}],"tags":[{"name":"Access Token","description":"Token required for transer/seamless process"},{"name":"Player","description":"Actions for Player's API(s)"},{"name":"Game","description":"Game Action"}],"paths":{"/token":{"post":{"tags":["Access Token"],"summary":"Retrieve the access token with client's credential","operationId":"getAccessToken","responses":{"default":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TokenResponse"}}}},"100":{"description":"client_key_required"},"101":{"description":"client_key maximum characters is 50 characters"},"200":{"description":"client_secret required"},"201":{"description":"client_secret maximum characters is 50 characters"}},"requestBody":{"$ref":"#/components/requestBodies/Client"}}},"/player/?a=register":{"post":{"tags":["Player"],"summary":"Player registration","operationId":"userRegistration","responses":{"default":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegisterResponse"}}}},"000":{"description":"token required"},"001":{"description":"token maximum characters is 50 characters"},"002":{"description":"token is expired/invalid, please get a new token"},"100":{"description":"username required"},"101":{"description":"username minimum characters is 3 characters"},"102":{"description":"username maximum characters is 15 characters"},"103":{"description":"username already exist"},"200":{"description":"password required"},"201":{"description":"password minimum characters is 5 characters"},"202":{"description":"password maximum characters is 250 characters"},"203":{"description":"password required at least 1 alphabet, 1 numeric and 1 symbol"},"204":{"description":"password and confirm password required to match"},"300":{"description":"confirm_password required"},"301":{"description":"confirm_password minimum characters is 5 characters"},"302":{"description":"confirm_password maximum characters is 250 characters"},"303":{"description":"confirm_password required at least 1 alphabet, 1 numeric and 1 symbol"},"400":{"description":"test-account param accept 0/1 only"}},"requestBody":{"$ref":"#/components/requestBodies/RegisterRequest"}}},"/player/?a=login":{"post":{"tags":["Player"],"summary":"Player Login API","operationId":"userLogin","responses":{"default":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LoginResponse"}}}},"000":{"description":"token required"},"001":{"description":"token maximum characters is 50 characters"},"002":{"description":"token is expired/invalid, please get a new token"},"100":{"description":"username required"},"101":{"description":"username minimum characters is 3 characters"},"102":{"description":"username maximum characters is 15 characters"},"200":{"description":"password required"},"300":{"description":"ip required"},"301":{"description":"ip minimum characters is 7 characters"},"302":{"description":"ip maximum characters is 128 characters"},"303":{"description":"valid ip address required"}},"requestBody":{"$ref":"#/components/requestBodies/LoginRequest"}}},"/player/?a=get":{"post":{"tags":["Player"],"summary":"Check Player API","operationId":"checkPlayer","responses":{"default":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckPlayerResponse"}}}},"000":{"description":"token required"},"001":{"description":"token maximum characters is 50 characters"},"002":{"description":"token is expired/invalid, please get a new token"},"100":{"description":"username required"},"101":{"description":"username minimum characters is 3 characters"},"102":{"description":"username maximum characters is 15 characters"},"103":{"description":"username does not exist"}},"requestBody":{"$ref":"#/components/requestBodies/CheckPlayerRequest"}}},"/player/?a=password":{"post":{"tags":["Player"],"summary":"Change Password API","operationId":"changePassword","responses":{"default":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChangePasswordResponse"}}}},"000":{"description":"token required"},"001":{"description":"token maximum characters is 50 characters"},"002":{"description":"token is expired/invalid, please get a new token"},"100":{"description":"username required"},"101":{"description":"username minimum characters is 3 characters"},"102":{"description":"username maximum characters is 15 characters"},"103":{"description":"username does not exist"},"200":{"description":"old_password required"},"201":{"description":"old_password minimum characters is 5 characters"},"202":{"description":"old_password maximum characters is 250 characters"},"300":{"description":"new_password required"},"301":{"description":"new_password minimum characters is 8 characters"},"302":{"description":"new_password maximum characters is 250 characters"},"303":{"description":"new password required at least 1 alphabet, 1 numeric and 1 symbol"},"304":{"description":"new_password and confirm_new_password required to match"},"400":{"description":"confirm_new_password required"},"401":{"description":"confirm_new_password minimum characters is 8 characters"},"402":{"description":"confirm_new_password maximum characters is 250 characters"},"403":{"description":"confirm_new_password required at least 1 alphabet, 1 numeric and 1 symbol"}},"requestBody":{"$ref":"#/components/requestBodies/ChangePasswordRequest"}}},"/player/?a=deposit":{"post":{"tags":["Player"],"summary":"Deposit API","operationId":"deposit","responses":{"default":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DepositResponse"}}}},"000":{"description":"token required"},"001":{"description":"token maximum characters is 50 characters"},"002":{"description":"token is expired/invalid, please get a new token"},"100":{"description":"username required"},"101":{"description":"username minimum characters is 3 characters"},"102":{"description":"username maximum characters is 15 characters"},"103":{"description":"username does not exist"},"200":{"description":"transaction_id required"},"201":{"description":"transaction_id minimum characters is 5 characters"},"202":{"description":"transaction_id maximum characters is 36 characters"},"203":{"description":"transaction_id need to be unique"},"300":{"description":"deposit required"},"301":{"description":"deposit maximum characters is 12 characters"},"302":{"description":"deposit need to be decimal"},"303":{"description":"deposit need to be at least 1"}},"requestBody":{"$ref":"#/components/requestBodies/DepositRequest"}}},"/player/?a=withdraw":{"post":{"tags":["Player"],"summary":"Withdraw API","operationId":"withdraw","responses":{"default":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WithdrawResponse"}}}},"000":{"description":"token required"},"001":{"description":"token maximum characters is 50 characters"},"002":{"description":"token is expired/invalid, please get a new token"},"100":{"description":"username required"},"101":{"description":"username minimum characters is 3 characters"},"102":{"description":"username maximum characters is 15 characters"},"103":{"description":"username does not exist"},"200":{"description":"transaction_id required"},"201":{"description":"transaction_id minimum characters is 5 characters"},"202":{"description":"transaction_id maximum characters is 36 characters"},"203":{"description":"transaction_id need to be unique"},"300":{"description":"withdraw required"},"301":{"description":"withdraw maximum characters is 12 characters"},"302":{"description":"withdraw need to be decimal"}},"requestBody":{"$ref":"#/components/requestBodies/WithdrawRequest"}}},"/player/?a=logout":{"post":{"tags":["Player"],"summary":"Logout API","operationId":"logout","responses":{"default":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LogoutResponse"}}}},"000":{"description":"token required"},"001":{"description":"token maximum characters is 50 characters"},"002":{"description":"token is expired/invalid, please get a new token"},"100":{"description":"username required"},"101":{"description":"username minimum characters is 3 characters"},"102":{"description":"username maximum characters is 15 characters"},"200":{"description":"session required"},"201":{"description":"invalid session"}},"requestBody":{"$ref":"#/components/requestBodies/LogoutRequest"}}},"/player/?a=mybet":{"post":{"tags":["Player"],"summary":"MyBet API","operationId":"mybet","responses":{"default":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MyBetResponse"}}}},"000":{"description":"token required"},"001":{"description":"token maximum characters is 50 characters"},"002":{"description":"token is expired/invalid, please get a new token"},"100":{"description":"username required"},"101":{"description":"username minimum characters is 3 characters"},"102":{"description":"username maximum characters is 15 characters"},"103":{"description":"username does not exist"},"200":{"description":"session required"},"201":{"description":"invalid session"},"300":{"description":"game required"},"301":{"description":"invalid game"},"400":{"description":"date required"},"401":{"description":"date format required -yyyy-mm-dd"},"500":{"description":"lang_id can only accept integer"},"501":{"description":"lang_id language does not exist"}},"requestBody":{"$ref":"#/components/requestBodies/MyBetRequest"}}},"/player/?a=sessiondetails":{"post":{"tags":["Player"],"summary":"Get session details for transfer/seamless process","operationId":"getSessionDetails","responses":{"default":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionDetailsResponse"}}}},"000":{"description":"token required"},"001":{"description":"token maximum characters is 50 characters"},"002":{"description":"token is expired/invalid, please get a new token"},"100":{"description":"username required"},"101":{"description":"username minimum characters is 3 characters"},"102":{"description":"username maximum characters is 15 characters"},"200":{"description":"session required"},"300":{"description":"lang_id can only accept integer"},"301":{"description":"lang_id language does not exist"}},"requestBody":{"$ref":"#/components/requestBodies/SessionDetailsRequest"}}},"/player/?a=daily":{"post":{"tags":["Player"],"summary":"Get daily report for transfer/seamless process","operationId":"getDailyReport","responses":{"default":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReportResponse"}}}},"000":{"description":"token required"},"001":{"description":"token maximum characters is 50 characters"},"002":{"description":"token is expired/invalid, please get a new token"},"100":{"description":"date required"},"101":{"description":"date format required -yyy-mm-dd"},"200":{"description":"session required"}},"requestBody":{"$ref":"#/components/requestBodies/ReportRequest"}}},"/game/":{"post":{"tags":["Game"],"summary":"Retrieve Game URl for transfer/seamless process","operationId":"getGameUrl","responses":{"default":{"description":"successful operation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GameResponse"}}}},"000":{"description":"token required"},"001":{"description":"token maximum characters is 50 characters"},"002":{"description":"token is expired/invalid, please get a new token"},"100":{"description":"username required"},"101":{"description":"username minimum characters is 3 characters"},"102":{"description":"username maximum characters is 15 characters"},"103":{"description":"username does not exist"},"200":{"description":"session required"},"201":{"description":"invalid session"},"300":{"description":"game required"},"301":{"description":"invalid game"},"400":{"description":"invalid min_bet"},"401":{"description":"invalid max_bet"},"402":{"description":"invalid min_bet / max_bet amounts"},"403":{"description":"invalid draw_max_bet"},"500":{"description":"lang_id can only accept integer"},"501":{"description":"lang_id language does not exist"},"600":{"description":"ip required"},"601":{"description":"ip minimum characters is 7 characters"},"602":{"description":"ip maximum characters is 128 characters"},"603":{"description":"valid ip address required"}},"requestBody":{"$ref":"#/components/requestBodies/GameURLRequest"}}}},"externalDocs":{"description":"Find out more about Swagger","url":"http://swagger.io"},"components":{"schemas":{"TokenResponse":{"type":"object","properties":{"status":{"type":"string","example":"success","description":"success/error"},"token":{"type":"string","example":"a17fnaica8102he8d8ashd8","description":"API response description"},"token_expire":{"type":"string","format":"date-time","example":"2019-05-21 12:00:00","description":"Token expiration datetime"}}},"RegisterResponse":{"type":"object","properties":{"status":{"type":"string","example":"success","description":"success/error"},"message":{"type":"string","example":"Player Created","description":"API response description"},"username":{"type":"string","example":"aabbmyusername","description":"Player username"},"test_account":{"type":"integer","example":1,"description":"0/1"}}},"LoginResponse":{"type":"object","properties":{"status":{"type":"string","example":"success","description":"success/error"},"message":{"type":"string","example":"Player successfully login","description":"API response description"},"username":{"type":"string","example":"myusername","description":"Player username"},"session":{"type":"string","example":"ORUS45EVVVTTUFlMP","description":"Player session"},"test_account":{"type":"number","example":1,"description":"Test account indication"},"time":{"type":"number","example":1586366234,"description":"Login timestamp"}}},"CheckPlayerResponse":{"type":"object","properties":{"status":{"type":"string","example":"success","description":"success/error"},"message":{"type":"string","example":"Player found","description":"API response description"},"username":{"type":"string","example":"aabbmyusername","description":"Player username"},"session":{"type":"string","example":"ORUS45EVVVTTUFlMP","description":"Player current session"},"balance":{"type":"number","example":0.0,"description":"Player current Balance"},"test_account":{"type":"number","example":1,"description":"Test account indication"}}},"ChangePasswordResponse":{"type":"object","properties":{"status":{"type":"string","example":"success","description":"success/error"},"message":{"type":"string","example":"Player successfully changed password.","description":"API response description"},"username":{"type":"string","example":"aabbmyusername","description":"Player username"}}},"DepositResponse":{"type":"object","properties":{"status":{"type":"string","example":"success","description":"success/error"},"message":{"type":"string","example":"Deposit accepted.","description":"API response description"},"username":{"type":"string","example":"aabbmyusername","description":"Player username"},"last_balance":{"type":"number","example":0.0,"description":"Player last balance"},"new_balance":{"type":"number","example":100.0,"description":"Player new balance"}}},"WithdrawResponse":{"type":"object","properties":{"status":{"type":"string","example":"success","description":"success/error"},"message":{"type":"string","example":"Withdraw accepted.","description":"API response description"},"username":{"type":"string","example":"aabbmyusername","description":"Player username"},"last_balance":{"type":"number","example":100.0,"description":"Player last balance"},"new_balance":{"type":"number","example":0.0,"description":"Player new balance"}}},"LogoutResponse":{"type":"object","properties":{"status":{"type":"string","example":"success","description":"success/error"},"message":{"type":"string","example":"Player successfully logout","description":"API response description"},"username":{"type":"string","example":"aabbmyusername","description":"Player username"}}},"SessionDetailsResponse":{"type":"object","properties":{"session":{"type":"string","example":"ORUS45EVVVTTUFlMP","description":"Player session"},"allbetsprocessed":{"type":"boolean","example":true,"description":"Status of all bets processed or not"},"turnover":{"type":"integer","example":9,"description":"Session total turnover"},"win":{"type":"integer","example":5,"description":"Session total win"},"loss":{"type":"integer","example":-3,"description":"Session total loss"},"winloss":{"type":"number","format":"decimal","example":2.7,"description":"Session win loss"},"status":{"type":"string","example":"success","description":"Success/error"},"username":{"type":"string","example":"myusername","description":"Player username"},"test_account":{"type":"integer","example":1,"description":"0/1"},"betdata":{"type":"array","items":{"$ref":"#/components/schemas/BetDataModel"}},"runningbet":{"type":"array","items":{"$ref":"#/components/schemas/BetDataModel"}}}},"ReportResponse":{"type":"object","properties":{"status":{"type":"string","example":"success","description":"success/error"},"page":{"type":"integer","example":1,"description":"Current page"},"totalpage":{"type":"integer","example":1,"description":"Total pages"},"message":{"type":"string","example":"Displaying 2 records","description":"API response description"},"totalrecs":{"type":"integer","example":2,"description":"Total records"},"data":{"type":"array","items":{"$ref":"#/components/schemas/ReportData"}}}},"ReportData":{"type":"object","properties":{"player":{"type":"string","example":"myusername","description":"Player username","maxLength":100},"ticket":{"type":"integer","example":2122736,"description":"ticket ID","maxLength":11},"bet_date":{"type":"string","format":"date-time","example":"2019-07-07 16:35:00","description":"Date and time of bet placed","maxLength":30},"game":{"type":"string","example":"RNG Game","description":"Game selected","maxLength":150},"drawno":{"type":"string","example":"AA60109","description":"Draw number of game","maxLength":15},"bet_amount":{"type":"number","format":"decimal","example":1.0,"description":"Amount of bet placed","maxLength":16},"bet_odd":{"type":"number","format":"decimal","example":1.95,"description":"Bet odd","maxLength":10},"bet_typegroup":{"type":"string","example":"Big/Small","description":"Bet category","maxLength":50},"bet_type":{"type":"string","example":"Big","description":"Bet type","maxLength":50},"winloss":{"type":"number","format":"decimal","example":0.95,"description":"Bet win/loss","maxLength":16},"status":{"type":"string","example":"Win","description":"Bet result"}}},"BetDataModel":{"type":"object","properties":{"ticket":{"type":"integer","example":2122736,"description":"ticket ID","maxLength":11},"bet_date":{"type":"string","format":"date-time","example":"2019-07-07 16:35:00","description":"Date and time of bet placed","maxLength":30},"game":{"type":"string","example":"RNG Game","description":"Game selected","maxLength":150},"drawno":{"type":"string","example":"AA60109","description":"Draw number of game","maxLength":15},"bet_amount":{"type":"number","format":"decimal","example":1.0,"description":"Amount of bet placed","maxLength":16},"bet_odd":{"type":"number","format":"decimal","example":1.95,"description":"Bet odd","maxLength":10},"bet_typegroup":{"type":"string","example":"Big/Small","description":"Bet category","maxLength":50},"bet_type":{"type":"string","example":"Big","description":"Bet type","maxLength":50},"winloss":{"type":"number","format":"decimal","example":0.95,"description":"Bet win/loss","maxLength":16},"status":{"type":"string","example":"Win","description":"Bet result"}}},"Client":{"type":"object","properties":{"client_key":{"type":"string","description":"client_key is provided by 93Connect","maxLength":50,"example":"mykey"},"client_secret":{"type":"string","description":"client_secret is provided by 93Connect","maxLength":50,"example":"a17fnaica8102he8d8ashd8"}},"xml":{"name":"Client"}},"GameResponse":{"type":"object","properties":{"status":{"type":"string","example":"success","description":"success/error"},"gameurl":{"type":"string","example":"https://game.url.com/urlwithsessionwillbeprovided","description":"Game URL to be open"},"username":{"type":"string","example":"aabbmyusername","description":"Player username"}}},"MyBetResponse":{"type":"object","properties":{"status":{"type":"string","example":"success","description":"success/error"},"mybeturl":{"type":"string","example":"https://bet.url.com/urlwithsessionwillbeprovided","description":"My Bet URL to be open"},"username":{"type":"string","example":"aabbmyusername","description":"Player username"}}},"RegisterRequest":{"type":"object","properties":{"token":{"type":"string","example":"a17fnaica8102he8d8ashd8","description":"token from 4.0 ACCESS TOKEN","maxLength":50},"username":{"type":"string","example":"aabbmyusername","description":"Player username","maxLength":15},"password":{"type":"string","format":"password","example":"myPassword","description":"Player password","maxLength":250},"confirm_password":{"type":"string","format":"password","example":"myPassword","description":"Confirm player password","maxLength":250},"test_account":{"type":"integer","example":1,"description":"Test account flag \"0/1\"","maxLength":1}}},"LoginRequest":{"type":"object","properties":{"token":{"type":"string","description":"token from ACCESS TOKEN","maxLength":50,"example":"a17fnaica8102he8d8ashd8"},"username":{"type":"string","description":"player username","maxLength":15,"example":"myusername"},"password":{"type":"string","description":"player password","maxLength":250,"example":"mypassword"},"ip":{"type":"string","description":"client IP (IPv4, IPv6)","maxLength":128,"example":"1.1.1.1"}}},"CheckPlayerRequest":{"type":"object","properties":{"token":{"type":"string","description":"token from ACCESS TOKEN","maxLength":50,"example":"a17fnaica8102he8d8ashd8"},"username":{"type":"string","description":"player username","maxLength":15,"example":"myusername"}}},"ChangePasswordRequest":{"type":"object","properties":{"token":{"type":"string","description":"token from ACCESS TOKEN","maxLength":50,"example":"3dcd2fae7fd8226ef00b06aee276cf4d"},"username":{"type":"string","description":"player username","maxLength":15,"example":"myusername"},"old_password":{"type":"string","description":"player password","maxLength":250,"example":"mypassword"},"new_password":{"type":"string","description":"player password","maxLength":250,"example":"mypassword2"},"confirm_new_password":{"type":"string","description":"player password","maxLength":250,"example":"mypassword2"}}},"DepositRequest":{"type":"object","properties":{"token":{"type":"string","description":"token from ACCESS TOKEN","maxLength":50,"example":"3dcd2fae7fd8226ef00b06aee276cf4d"},"username":{"type":"string","description":"player username","maxLength":15,"example":"myusername"},"transaction_id":{"type":"string","description":"deposit ID","maxLength":36,"example":"ID000001"},"deposit":{"type":"number","description":"deposit amount","maximum":12,"example":100}}},"WithdrawRequest":{"type":"object","properties":{"token":{"type":"string","description":"token from ACCESS TOKEN","maxLength":50,"example":"3dcd2fae7fd8226ef00b06aee276cf4d"},"username":{"type":"string","description":"player username","maxLength":15,"example":"myusername"},"transaction_id":{"type":"string","description":"deposit ID","maxLength":36,"example":"ID000001"},"withdraw":{"type":"number","description":"withdraw amount","maximum":12,"example":100}}},"LogoutRequest":{"type":"object","properties":{"token":{"type":"string","description":"token from ACCESS TOKEN","maxLength":50,"example":"a17fnaica8102he8d8ashd8"},"username":{"type":"string","description":"player username","maxLength":15,"example":"myusername"},"session":{"type":"string","example":"ORUS45EVVVTTUFlMP","maxLength":255,"description":"player session from LOGIN"}}},"GameURLRequest":{"type":"object","properties":{"token":{"type":"string","example":"a17fnaica8102he8d8ashd8","description":"token from ACCESS  / Seamless Token","maxLength":50},"username":{"type":"string","example":"aabbmyusername","description":"Player username","maxLength":15},"ip":{"type":"string","example":123,"description":"Client IP address","maxLength":128},"session":{"type":"string","example":"ORUS45EVVVTTUFlMP","description":"Player session from Login","maxLength":255},"game":{"type":"string","example":"ATOM","description":"ATOM/KENO/RNGWAR/NUMBER","maxLength":10},"min_bet":{"type":"integer","example":1000,"description":"Force player minimum bet (By defailt 93Connect lowest min bet is 1)","maxLength":12},"max_bet":{"type":"integer","example":5000,"description":"Force player maximum bet","maxLength":12},"draw_max_bet":{"type":"integer","example":1,"description":"Limit player bets per draw/round","maxLength":12},"lang_id":{"type":"integer","example":1,"description":"Available languages","maxLength":2},"returnurl":{"type":"string","example":"https://www.google.com","description":"Redirection to provided URL","maxLength":255},"seamless":{"type":"integer","example":1,"description":"Seamless Flag 0/1","maxLength":1}}},"MyBetRequest":{"type":"object","properties":{"token":{"type":"string","example":"a17fnaica8102he8d8ashd8","description":"token from ACCESS  / Seamless Token","maxLength":50},"username":{"type":"string","example":"aabbmyusername","description":"Player username","maxLength":15},"session":{"type":"string","example":"ORUS45EVVVTTUFlMP","description":"Player session from Login","maxLength":255},"game":{"type":"string","example":"ATOM","description":"ATOM/KENO/RNGWAR/NUMBER","maxLength":10},"lang_id":{"type":"integer","example":1,"description":"Available languages","maxLength":2}}},"SessionDetailsRequest":{"type":"object","properties":{"token":{"type":"string","example":"a17fnaica8102he8d8ashd8","description":"token from ACCESS  / Seamless Token","maxLength":50},"username":{"type":"string","example":"aabbmyusername","description":"Player username","maxLength":15},"session":{"type":"string","example":"ORUS45EVVVTTUFlMP","description":"Player session from Login","maxLength":255},"lang_id":{"type":"integer","example":1,"description":"Available languages","maxLength":2}}},"ReportRequest":{"type":"object","properties":{"token":{"type":"string","example":"a17fnaica8102he8d8ashd8","description":"token from ACCESS  / Seamless Token","maxLength":50},"date":{"type":"string","format":"date-time","example":"2019-06-31","description":"Date format yyyy/mm/dd","maxLength":11},"page":{"type":"integer","example":1,"description":"Each page consist of 500 data","maxLength":10}}}},"requestBodies":{"Client":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Client"}}},"description":"Client credentials that needs to be added to the form data","required":true},"RegisterRequest":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegisterRequest"}}},"description":"Client credentials that needs to be added to the form data","required":true},"LoginRequest":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LoginRequest"}}},"description":"Client credentials that needs to be added to the form data","required":true},"CheckPlayerRequest":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckPlayerRequest"}}},"description":"Token and Player Name for Checking Player Details","required":true},"ChangePasswordRequest":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChangePasswordRequest"}}},"description":"Player details and Passwords for Changing Password","required":true},"DepositRequest":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DepositRequest"}}},"description":"Player details and amount for Deposit","required":true},"WithdrawRequest":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WithdrawRequest"}}},"description":"Player details and amount for Withdrawal","required":true},"LogoutRequest":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LogoutRequest"}}},"description":"Player details for logout the game","required":true},"GameURLRequest":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GameURLRequest"}}},"description":"Game details for retrieving the game URL","required":true},"MyBetRequest":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MyBetRequest"}}},"description":"Player and Game details for retrieving the bets","required":true},"SessionDetailsRequest":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SessionDetailsRequest"}}},"description":"Player details for retrieving session details","required":true},"ReportRequest":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReportRequest"}}},"description":"Details needed for retrieving daily report","required":true}}}}