Staging environment address: https://hall.stag-topgame.com
Production environment address: https://hall.prod-topgame.com
| Name | Type | Required | Description |
| -------- | -------- | -------- | -------- |
| cert | string | Y | Security code |
| user |string (30) | Y | Player account|
| extension1 | string(20) | Y | Agent account |
Content-Type: application/x-www-form-urlencoded
Method: POST
Endpoint:https://{api_address}/api/game/getKey
Example
curl -X POST 'https://api.stag-topgame.com/api/game/getKey' -F 'cert=v8VMKKzlPpD0te4rX99Hgefs3PQrBFWJKiuUqg6Y' -F 'user=adminw_qo68801mnj25o2nqu1u' -F 'extension1=adminweb'
| Name | Type | Required | Description |
| -------- | -------- | -------- | -------- |
| status | string | Y | Status code (1 = success, others = failure)|
|key |string (30) | Y | Secret key|
{
"status": 1,
"key": "3F6AE577A2E2255EF4BACF02C9F8BB1154A6C7B77746366835F7250C896919F3B251654E75509490125E4966E52E8AB61D2A62FB40C0AEEFFC08C0EBCBA6AAEFAE4A", # Secret key
}
Use the secret key obtained in Step 1 to make a GET request
| Name | Type | Description |
| -------- | -------- | -------- |
| tt | string | Key obtained from( api/game/getKey )interface |
| lang | string | Language code (e.g. en, zh, id). Default: en |
https://hall.stag-topgame.com/?tt=3F6AE577A2E2255EF4BACF02C9F8BB1154A6C7B77746366835F7250C896919F3B251654E75509490125E4966E52E8AB61D2A62FB40C0AEEFFC08C0EBCBA6AAEFAE4A&lang=en