⚠️ Important: Always verify which endpoints are available in which version. Not all endpoints exist in every version, and some features are only available from v3 and above. Make sure your project uses a supported API version.
Installation#
Initialization#
The client can be initialized with either an API Key or a Secret token:Changing Version#
Authentication#
API Key#
2.
Go to Dashboard → API Keys
3.
Click Create API Key, configure permissions, and set environment to Production.
4.
Use the API Key in your client:
Secret Token (Login-based)#
Short-lived tokens provide session-based access (valid for 24 hours).You can revoke tokens when needed:Core Modules#
Games#
Reseller#
User#
OAuth2#
Request Handling#
All HTTP requests are handled internally with Axios, including error handling. Every method returns a Promise.TypeScript Support#
Notes#
You must provide either an API Key or a Secret token.
Secret tokens expire after 24 hours and are visible in your dashboard.
API Key and Secret are mutually exclusive; setting one clears the other.
Always check the supported API version to ensure endpoint compatibility.
Modified at 2025-10-26 13:51:50