Open API

授权验证与状态查询接口

Overview

The Open API serves developers integrating with the EA2HA licensing system at 官方授权服务端(接入组件默认已内置). All endpoints are HTTPS POST returning JSON, signed with HMAC-SHA256 per the integration documentation obtained via authorized channels.

Core endpoints

  • act=time - server time sync.
  • act=auth - full verification: account+device lock, seats, expiry checks, issues a 2-hour JWT.
  • act=verify_token - lightweight per-tick check with realtime status and optional account reporting.
  • act=pull_cmd - pull remote commands (risk-control actions, announcements, up to 5 per pull).
  • act=revoke_token / offline_auth / crash_report - token revocation, offline activation, crash reporting.

Rate limits and security

Per-licence minute-level limits (auth 30/min, verify_token 120/min). All responses carry a timestamp and HMAC signature; clients should verify them against tampering and replay.

Getting started

obtain the integration component via authorized channels. Contact support for custom integrations.

开放平台对接文档 → HMAC 签名规范、参数说明、PHP / Python / curl 示例、错误码与限频规则