Hash Rule

In Ez Seamless Platform use hash to sign for connect. For all api request have to sign by Operator and successfully verify

Notice

  • Body are Json Only

  • apiSecretKey for confirm who you are (generate by partner)

  • Hash only apiSecretKey if no body

  • partnerSlug provider

Partner Important Credential

apiSecretKey = "T4fYpDVj8AxCe9f6gWT113li"
partnerSlug = "mockPartnerSlug"

Production Endpoint : https://partner-api.ezg-api.com

Development Endpoint : https://dev-partner-api.ezg-api.com

Json Body

body = {
  "appId": "gameslug",
  "username": "user001",
  "name": "MockUser",
  "returnUrl": "https://localhost",
  "lang": "en",
}
raw = '{"appId":"gameslug","username":"user001","name":"MockUser","returnUrl":"https://localhost","lang":"en"}'
rawToHash = raw + apiSecretKey
hash = md5(rawToHash)
hash : e828fcb317c37b9083c7fe9a94be8bcc

Last updated