API Documentation Introduction
Welcome to the Gaming Platform API documentation. This documentation provides complete API specifications for two wallet modes.
👉 Single Wallet: View Documentation
👉 Transfer Wallet: View Documentation
General Notes
Security Requirements
-
HTTPS Required
- All API requests must use HTTPS protocol
- Ensure SSL certificate is valid and not expired
-
Encrypted Transmission
- Sensitive data must use AES-256-GCM encryption
- Keep encryption keys secure and avoid leakage
-
Signature Verification
- Each request must include a valid signature
- Use SHA256 algorithm for signature verification
-
Token Management
- JWT Token is valid for 24 hours
- Token must be reacquired after expiration
- Do not pass Token in URL
Request Specification
-
Request Header Settings
Content-Type: application/json
Authorization: Bearer {token} -
Character Encoding
- Use UTF-8 encoding consistently
- Special characters must be URL-encoded
-
Time Zone Settings
- All time parameters use the UTC+0 time zone
- Except for the
x-timestampheader, which uses a Unix timestamp in milliseconds, all other API time fields must use the ISO 8601 format YYYY-MM-DDTHH:mm:ss.SSSZ (e.g., 2026-02-02T10:30:00.000Z)
Error Handling
-
Idempotency
- Use a unique transaction ID to ensure idempotency
- Duplicate requests will not result in duplicate charges
-
Error Codes
- For detailed error codes, please refer to the error appendices for each wallet mode
- Single Wallet: Error Appendix
- Transfer Wallet: Error Appendix
stage environment
-
Test Accounts
- Please contact technical support to obtain stage environment accounts
- The stage environment is completely isolated from the production environment
-
Test Keys
- The stage environment uses a separate set of API keys
- Production keys must be used before going live
-
Test Data
- Data in the stage environment is not synchronized with the production environment
Technical Support
If you encounter any issues during implementation, please contact the TG Technical Support team.
Quick Start
- Select Wallet Mode – Choose Single Wallet or Transfer Wallet based on business requirements
- Obtain API Keys – Contact technical support to obtain stage environment API keys
- Read the Documentation – Carefully review the API documentation for the selected wallet mode
- Test Integration – Complete API integration in the stage environment
- Go Live Deployment – Apply for the production environment and deploy to production
Last Updated: 2026-02-02