Skip to main content

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

  1. HTTPS Required

    • All API requests must use HTTPS protocol
    • Ensure SSL certificate is valid and not expired
  2. Encrypted Transmission

    • Sensitive data must use AES-256-GCM encryption
    • Keep encryption keys secure and avoid leakage
  3. Signature Verification

    • Each request must include a valid signature
    • Use SHA256 algorithm for signature verification
  4. Token Management

    • JWT Token is valid for 24 hours
    • Token must be reacquired after expiration
    • Do not pass Token in URL

Request Specification

  1. Request Header Settings

    Content-Type: application/json
    Authorization: Bearer {token}
  2. Character Encoding

    • Use UTF-8 encoding consistently
    • Special characters must be URL-encoded
  3. Time Zone Settings

    • All time parameters use the UTC+0 time zone
    • Except for the x-timestamp header, 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

  1. Idempotency

    • Use a unique transaction ID to ensure idempotency
    • Duplicate requests will not result in duplicate charges
  2. 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

  1. Test Accounts

    • Please contact technical support to obtain stage environment accounts
    • The stage environment is completely isolated from the production environment
  2. Test Keys

    • The stage environment uses a separate set of API keys
    • Production keys must be used before going live
  3. 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

  1. Select Wallet Mode – Choose Single Wallet or Transfer Wallet based on business requirements
  2. Obtain API Keys – Contact technical support to obtain stage environment API keys
  3. Read the Documentation – Carefully review the API documentation for the selected wallet mode
  4. Test Integration – Complete API integration in the stage environment
  5. Go Live Deployment – Apply for the production environment and deploy to production

Last Updated: 2026-02-02