Skip to main content

AS /Transfer Walletwallet documentation

ASgaming Partner Transfer Wallet API

OpenAPI specification for ASgaming partner transfer-wallet integration.

Version
1.0.0
Format
OpenAPI 3.0.3
Endpoints
19

Integration reference

Integration Guide

​

Introduction / Important Notes

  • API endpoints

    Production: https://ex.as568.com
    Test: https://ex.as88.online
  • API parameters Share Key, Brand ID, Brand Domain Code, back-office URL, and login account are provided by our team upon request.

  • Before integrating, provide your connection IP addresses for whitelist access. Test environment IP access takes 1–2 days.

  • All APIs use GMT+8 (Beijing time).

  • API responses use JSON format.

  • All APIs require the timestamp parameter.

  • The full hierarchy can be configured in the back office.

​

API Authentication Guide

Generate a hash to ensure the integrity and accuracy of API data transmission.

Hash rulemd5(parameter data (does not include the timestamp) + share key)
Share keytoken
  • Sort parameter keys alphabetically from a to z.
  • Arrays do not need to be encrypted.
  • Concatenate parameter data as key=value&key=value.
  • If an API call has issues, provide the full request parameters, headers, the pre-hash string, and the received response.

Request data

{ "user_id": 1, "username": "test" }

Generate hash

MD5(user_id=1&username=test&shared_key=token)

API parameters example

{ "hash": "e7770fc3ec1b6d5b2c49e92c73c8f430", "ts": 1542080457, "username": "sera0116", "brand_domain_code": "xzu" }

Transfer Wallet Flow​

System and Game Behavior​

ScenarioActionAmountRound ID
Transfer In and PlayTransfer IN1000-
Login--
Play102
Transfer OutTransfer OUT500-
Get Balance--

Notes​

OpenAPI reference

API Reference​