How to verify your signature

Steps

  1. Arrange multiple signature data items in alphabetical order. Each data item forms a string in the format "key=value."

  2. Connect each data item string with the "&" symbol.

  3. Append the secret_key to the end of the concatenated string.

  4. Obtain the signature data by applying MD5 by above string

Example Data for Signature

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

secret_key Example

aE18Vlne8LxlHFCm

Signature Example

md5("action=report_score&auth_date=1704816000&game_id=1&match_token=47AD1ED23DB1407720049D586C727C3B&score=5&taste=0&user_ticket=1843BBAEBC83DDB0E45E378BA37014A9&secret_key=aE18Vlne8LxlHFCm")

Last updated

Contact us

Telegram

©️MiniTon 2023