Reporting Game Data API

(optionally) You can report "Match Score (score)" multiple times through this API

Report the match score

POST https://api.miniton.games/api/v2/match/data_report

Request Body

Name
Type
Signature Verification
Description

game_id*

Integer

ID of the game

match_token*

String

Token associated with the ongoing match.

user_ticket*

String

Ticket identifying the user.

taste

Integer

is this a trial game?(can be passed by init fuction

action*

String

Action to be performed

start_game

start_match

score

end_match

end_game

score*

Integer

Current player score Must be provided when the action is "score" or "end_match"; default is 0

auth_date*

Integer

Timestamp for data validation.

auth_sign*

String

"msg": "Success"

Request Example

{
    "body": {
        "game_id": 1,
        "match_token": "47AD1ED23DB1407720049D586C727C3B",
        "user_ticket": "1843BBAEBC83DDB0E45E378BA37014A9",
        "action": "report_score",
        "score": 5,
        "auth_date": 1704816000,
        "auth_sign": ""
    }
}

Parameter Signature Verification

Response Example

{
    "code": 200,
    "msg": "Success",
}

Last updated

Contact us

Telegram

Šī¸MiniTon 2023