{{ t.sections.overview.title }}

{{ t.sections.overview.p1 }}

{{ t.sections.overview.p2 }}

{{ t.sections.flow.title }}

{{ t.sections.flow.p1 }}

1
{{ t.sections.flow.step1 }} Client app requests to launch a game iframe/WebView.
2
{{ t.sections.flow.step2 }} App requests authentication token exchange from Partner Backend.
3
{{ t.sections.flow.step3 }} Partner Backend calls /get_sstoken to register the session.
4
{{ t.sections.flow.step4 }} Gamezi returns token & direct URL. Game loads inside iframe.
5
{{ t.sections.flow.step5 }} Game launches and calls client backend via Gamezi core.
6
{{ t.sections.flow.step6 }} Gamezi triggers /get_user_info callback to check wallet balance.
7
{{ t.sections.flow.step8 }} Gameplay records bet and win amounts via /change_balance.

{{ t.sections.security.title }}

{{ t.sections.security.p1 }}

{{ t.sections.security.p2 }}

{{ t.sections.security.algoTitle }}

  • Sort all request keys alphabetically (ascending).
  • Concatenate keys and values using &. Do not sign empty parameters.
  • Compute SHA256 HMAC hash using the agreed-upon secret key.
  • Send signature hex value in the sign payload field.
signature.js
{{ appData.securityCode }}

POST {{ t.api[apiKey].title }}

{{ t.api[apiKey].url }}

{{ t.api[apiKey].desc }}

{{ t.sections.endpoints.headers }}

{{ t.sections.endpoints.fieldName }} {{ t.sections.endpoints.fieldType }} {{ t.sections.endpoints.fieldDesc }}
Content-Type string Must be application/json

{{ t.sections.endpoints.params }}

{{ t.sections.endpoints.fieldName }} {{ t.sections.endpoints.fieldType }} {{ t.sections.endpoints.fieldReq }} {{ t.sections.endpoints.fieldDesc }}
{{ param.name }} {{ param.type }} {{ param.req ? t.sections.endpoints.yes : t.sections.endpoints.no }} {{ locale === 'en' ? param.descEN : param.descZH }}

{{ t.sections.endpoints.response }}

{{ t.sections.endpoints.fieldName }} {{ t.sections.endpoints.fieldType }} {{ t.sections.endpoints.fieldDesc }}
{{ field.name }} {{ field.type }} {{ locale === 'en' ? field.descEN : field.descZH }}
{{ apiInfo[selectedApiTab[apiKey]] }}
{{ t.sections.endpoints.responsesTab }}
{{ apiInfo.responseJson }}

{{ t.sections.errors.title }}

{{ t.sections.errors.p1 }}

{{ t.sections.errors.code }} {{ t.sections.errors.httpStatus }} {{ t.sections.errors.desc }}
{{ err.code }} {{ err.http }} {{ locale === 'en' ? err.descEN : err.descZH }}