#

Description
- Single game start notification (Texas Hold'em, TeenPatti)
Request Method
- https
- POST
- Parameters are in Json format and placed in the body
Request Parameters (additional fields may be added, please keep compatibility with the added fields on the server side)
| Parameter Name |
Required |
Type |
Description |
Example |
| notify_id |
Yes |
string |
Notification ID |
0795d77f85789da0eb387a5096 |
| notify_time |
Yes |
string |
Server-side timestamp (in milliseconds) of notification time |
1647834452408 |
| app_id |
Yes |
string |
Application ID of the message recipient |
1 |
| notify_event |
Yes |
string |
Notification event |
sud.mg.merchant.match.start |
| data |
Yes |
MatchStartModel |
Notification data |
{} |
MatchSettleModel
| Parameter Name |
Required |
Type |
Description |
Example |
| mg_id |
Yes |
string |
Game ID |
14615640800525066 |
| room_id |
Yes |
string |
Room ID |
9009 |
| game_mode |
Yes |
int32 |
Game mode |
1 |
| match_id |
Yes |
string |
Game session ID |
ce56b6lzi1a7 |
| battle_start_at |
Yes |
string |
Game start timestamp (in seconds) |
1663991010 |
| report_game_info_key |
Yes |
string |
Report information key (up to 64 characters) passed in at the start of the game |
|
| report_game_info_extras |
Yes |
string |
Extended parameters (up to 1024 characters) passed in at the start of the game |
|
Message Signature Verification
Signature Verification
Request Example
{
"notify_id": "xxx",
"notify_time": "1664266669547",
"app_id": "xxx",
"notify_event": "sud.mg.merchant.match.start",
"data": {
"mg_id": "1557194155570024449",
"room_id": "9010",
"game_mode": 1,
"match_id": "ce56b6lzi1a7-cf75pcvbs7j1-cxjfg7fzupz0",
"battle_start_at": "1664265322",
"report_game_info_key": "key001",
"report_game_info_extras": "extras"
}
}
Notification Response
| Parameter Name |
Required |
Type |
Description |
Example |
| ret_code |
Yes |
int32 |
Return status code, 0 for successful notification, other error codes for failure |
0 |
| ret_msg |
Yes |
string |
Return message |
SUCCESS |
Response Example
{
"ret_code": 0,
"ret_msg": "SUCCESS",
}