# GameStation This document details API routes for GameStation, how to use them, what they return, etc. All routes on this category will be under * for staging: https://apis.c9gaming.games * for dev: https://devapis.c9gaming.games ## Game Launch Creating a url link for launch game ### Request `POST /gamestation/qtech/game-launch` | Header | value | | --- | --- | | Content-Type | application/json | | Game-Launch-Pass-Key | string | | parameters | type | required | | --- | --- | --- | | operatorId | string | true | | playerId | string | true | | gameId | string | true | | displayName | string | false | | currency | string | true | | language | string | true | | mode | string(real / demo) | true | | device | string(desktop / mobile) | true | | returlUrl | string | true if device is mobile | | sessionToken | string | true if mode is real | | jurisdiction | string | false | | tableId | string | false | **example** ``` curl --location --request POST 'https://apis.c9gaming.games/gamestation/qtech/game-launch' \ --header 'Content-Type: application/json' \ --header 'Game-Launch-Pass-Key: 5c0cff77-674f-48c3-bfc5-792798e10824' \ --data-raw '{ "operatorId":"qtech", "playerId":"keyops-kellytorres", "gameId":"roulette", "currency":"EUR", "language":"zh_CN", "mode":"real", "device":"mobile", "returnUrl":"https://qtechgames.com", "sessionToken":"0cc175b9c0f1b6a831c399e269772661" }' ``` ### Response | parameters | type | | --- | --- | | url | string | **example** ``` { "url": "http://devweb.c9gaming.games/roulette/?lang=zh_CN&leaveUrl=https://qtechgames.com" } ``` ## Game Result Creating a url link to show game result for a bet. ### Request `POST /gamestation/qtech/game-result` | Header | value | | --- | --- | | Content-Type | application/json | | Game-Result-Pass-Key | string | | parameters | type | required | | --- | --- | --- | | operatorId | string | true | | playerId | string | true | | gameId | string | true | | roundId | string | true | **example** ``` curl --location --request POST 'https://apis.c9gaming.games/gamestation/qtech/game-result' \ --header 'Content-Type: application/json' \ --header 'Game-Result-Pass-Key: ee03243a-8f3e-4394-9401-08cf5000ae2a' \ --data-raw '{ "operatorId": "qtech", "playerId" : "keyops-kellytorres", "gameId" : "roulette", "roundId" : "606149a9110c580001182943" }' ``` ### Response | parameters | type | | --- | --- | | url | string | ``` { "url": "http://rd3-dev-detail.guardians.one/playerodh5/?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJDUTkiLCJzdWIiOiJHYW1lUmVzdWx0VG9rZW4iLCJqdGkiOiIzYmY3ZTU5YS1jYTUxLTQwYmItYjRhZS0zNjg5MDljZTEyZjkiLCJpYXQiOiIyMDIxLTExLTA5VDA0OjE3OjU4LjM3NzYzOTE0NC0wNDowMCIsImV4cCI6IjIwMjEtMTEtMTJUMDQ6MTc6NTguMzc3NjM5MjE2LTA0OjAwIiwib3BlcmF0b3JJZCI6InF0ZWNoIiwicm91bmRJZCI6IjYwNjE0OWE5MTEwYzU4MDAwMTE4Mjk0MyIsInBsYXllcklkIjoia2V5b3BzLWtlbGx5dG9ycmVzIiwiZ2FtZUlkIjoicm91bGV0dGUifQ.qOd7MDL3vFzigl1FLZ58PHlD0RQQvTCZ2HVs2xbbGeM" } ```