Create New User

POST https://meiyunyunapi.com/gambling_api/user_create

Request Ex:

{
        "agent_code": "YOUR_AGENT_CODE",
        "agent_token": "YOUR_AGENT_TOKEN",
        "user_code": "test",
        "deposit_amount": 1000 // [Optional] If there is a value for deposit_amount, create a user and charge the amount.
}

Response Ex:

// Success:
{
        "status": 1,
        "msg": "SUCCESS",
        "agent_code": "meiyun",
        "agent_balance": 100000,
        "agent_type": "Transfer",
        "user_code": "test",
        "user_balance": 1000,
        "user_created": true,
        "user_deposit": true,
        "currency": "USD"
}

// Failure:
{
        "status": 0,
        "msg": "DUPLICATED_USER"
}

Last updated