Exchange All User Amounts

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

Request Ex:

{
        "agent_code": "YOUR_AGENT_CODE",
        "agent_token": "YOUR_AGENT_TOKEN",
}

Response Ex:

 // Success:
{
        "status": 1,
        "msg": "SUCCESS",
        "agent_code": "meiyun",
        "agent_balance": 990000,
        "agent_type": "Transfer",
        "currency": "USD",
        "user_list": [
            {
                "user_code": "test",
                "withdraw_amount": 20000,
                "user_balance": 0
            },
            {
                "user_code": "test2",
                "withdraw_amount": 56850,
                "user_balance": 0
            }
        ]
}


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

Last updated