Verify User Token
The OMG platform calls this API to verify the player's identity information.
VerifySession
This API is provided by the integrator and is called by the OMG platform.
POST {AGENT_URL}/api/luck/user/verify_session?trace_id=omg_trace_id
Headers
Content-Type
"application/json; charset=utf-8"
sign
"omg_sign_string"
Body
app_id
string
The unique identifier for the user, available in the merchant backend.
timestamp
integer
Timestamp (in seconds)
operator_player_session
string
The token parameter passed by the integrator from the ingame interface.
game_id
integer optional
Game ID
ip
string optional
User ip address
custom_parameter
string optional
Additional parameters required by the integrator
OMG Platform Request Parameter Example
Integrator Response Parameter Example
Integrator Response Parameter Example Description
code
Yes
integer
Status Code
msg
Yes
string
Message
data
Yes
object
Response Data
uname
Yes
string
User ID must be unique
nickname
Yes
string
User Nickname
balance
Yes
string (decimal)
User Balance, supports up to 4 decimal places.
Error Code
Last updated