Skip to main content
POST
/
dt
/
callback
/
balance
Player Balance Query
curl --request POST \
  --url https://api.example.com/dt/callback/balance \
  --header 'Content-Type: application/json' \
  --data '
{
  "platform_id": "H88",
  "token": "E444957EDE11A261BF7F6E215ED1F1D6",
  "uuid": "lobby1-82818443591811",
  "account": "c001"
}
'
{
  "code": 0,
  "message": "success",
  "uuid": "d12e08fd-26de-4b2e-87a6-5dec92786800",
  "timestamp": 1668580007001,
  "data": {
    "account": "c001",
    "credit": 115,
    "reserved": 100,
    "balance": 215,
    "platform_id": "H88"
  }
}

Body

application/json
platform_id
string
required

Platform product ID

token
string
required

Verification code, md5(platform_id + uuid + account + platform_secret)

uuid
string
required

Platform-defined unique request serial number, length >= 32 and <= 128 bytes

account
string
required

Player account

Response

200 - application/json

Success

getBalance response

code
integer

Error code

message
string

Error message

uuid
string

Custom unique request serial number

timestamp
integer

UNIX time, milliseconds

data
object