Skip to content
Back office

Control Users RTP

Sets the target RTP for multiple users in one request.

Markdown

Endpoint

POST https://api.nexusggr.com

Content-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
}
FieldTypeRequiredDescription
methodstringYesMust be control_users_rtp
agent_codestringYesYour agent code
agent_tokenstringYesYour agent API token
user_codesstringYesStringified JSON array of user codes. Codes of users that do not exist are skipped
rtpnumberYesTarget 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_codes must 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"
}