๐ชGet Balance
For security purposes, you must whitelist only our server IPs to access your Seamless callback endpoint. We will not be responsible if your system receives transaction requests from unauthenticated sources. Ensure you record the IP address of every incoming request to your Callback URL.
The Get Balance API method allows you to retrieve the account balance of a player from your system. This method is particularly useful for displaying the current balance on your game client. When integrating this function, your company server will send an HTTP(s) request to the customer's URL callback endpoint, requesting the account balance information. Let's explore the details of this method and the JSON data that your server should include in the request.
Get Balance
POST /api/balance
Our system will call an API to retrieve player wallet information and display the balance on the game client.
Headers
Content-Type
application/json
X-Authorization-Token
<token>
Body
operatorToken
UUID v4 format
Operator Token Identified
seamlessKey
UUID v4 format
Secret key for operator Identified password
playerUsername
Alphanumeric with a length of 4-25 characters
Player username from customer system
currencyCode
Currency code with ISO4217 format
Player wallet currency code
productName
STRING
Product name that player in game provider
productId
INTEGER
Product identified
productCode
STRING
Product name short
eventType
INTEGER
Callback event command in identified
eventName
STRING
Callback event command name in readable name
requestUid
UUID v4 format
Request identified generated by system
requestTime
STRING
Request time sent by server with timezone offset GMT+7
timestamp
BIG INTEGER
Request time in unix timestamp sent by server
Request Example
Response example
responseUid: you must generated from your system to making request identifier