Endpoint
POST https://api.nexusggr.comContent-Type: application/json
Request
Method: control_users_rtp
JSON
{
"method": "control_users_rtp",
"agent_code": "your_agent_code",
"agent_token": "your_agent_token",
"user_codes": "[\"test1\",\"test2\"]",
"rtp": 92
}| Field | Type | Required | Description |
|---|---|---|---|
method | string | Yes | Must be control_users_rtp |
agent_code | string | Yes | Your agent code |
agent_token | string | Yes | Your agent API token |
user_codes | string | Yes | Stringified JSON array of user codes. Codes of users that do not exist are skipped |
rtp | number | Yes | Target RTP value (0 ~ 999), sent as a JSON number. Unless your agent is a promo agent, it must also be at most 99, or at least 120 for a test agent |
user_codesmust be a stringified JSON array, not a native JSON array.
Response
Success
JSON
{
"status": 1,
"code": 7777777,
"msg": "SUCCESS",
"changed_rtp": 92
}Failure
JSON
{
"status": 0,
"code": 7770410,
"msg": "user_codes must be a JSON array of user codes"
}