NetgamingLogo

GetSession() API

Operator needs to make gameLaunch() API request to RGS API to get the launch URL. During this process our API system will send getSession() API request to you to validate the session ID.

POST   /get-session

JSON

Content-Type: application/json
Host: https://test-api.netgaming.com/v1/
{
   "token": "b6ef88a8054e328f4459b6"
}
Request Body
Parameters Type Description
token String Token(session ID) created created for the player during login.
Response Example
{
    "status": 1,
    "player_id": "125917",
    "country": "US",
    "token": "3c2ef39d02581e2db3ddf6c713e83e05",
   "currency": "USD",
    "balance": 1200
}
Parameters Type Description
status Integer 0 Indicates fail, 1 indicates success response
player_id String Id of the player
country String Country of the player
token String Unique string assigned to each player(session ID)
currency String Currency of the player
balance Integer Should be in Cents format(balance = amount x 100)