Seamless player balance callback
Returns players current balance.
Query string name | type (max) | description | mandatory |
---|---|---|---|
callerId | String | Caller authentication username | Y |
callerPassword | String | Caller authentication password | Y |
action | string | External service action [balance, credit, debit] | Y |
username | String | Unique player id, user_username from getGame call | Y |
session_id | string (32 - 40) | Unique game session id generated by provider | Y |
game_id_hash | string | Game id, same as id used for game launch in getGame | Y |
gamesession_id | string (255) | Enable tracking the player game sessions | Y |
key | string (40) | Request validation cache key | Y |
Request
GET
<REMOTE URL>/api/seamless/s2s/gh?callerId=danitestdev_s&callerPassword=7c222fb2927d828af22f592134e8932480637c0d&action=balance&username=946062&session_id=5abe10f0c71ae&game_id_hash=re_re-reactor&gamesession_id=re_924795-762e30b2ab6e3dd4fdf0-47477&key=ab900e2f21560e2314a92960ce657639bcc672a1
Response
{
"status"
:
"200"
,
"balance"
:
"300.00"
}