Identify
Used to identify player using token generated by operator before.
In case of successful identification, PAM expects Response 200, otherwise return response with code 403 Request.
Request fields:
Attribute
Data Type
Description
operator
string
Name of the operator as registered on the system
token
string
Player identification token
Sample identify
request:
{
"action": "identify",
"data": {
"operator": "operator-code",
"token": "partner-player-token"
}
}
Response fields:
Attribute
Data Type
Description
Sample identify
response:
Response: 200
{
"player_id": "1660986605374148608",
"lang": "en",
"balance": 1000,
"currency": "KES",
"feature_flags": {
"flag_name1": true,
"flag_name2": false
}
}
Response: 400
{
"code": 101,
"message": "User not found"
}
Last updated