Withdraw User Balance
POST https://meiyunyunapi.com/gambling_api/user_withdraw
Request Ex:
{
"agent_code": "YOUR_AGENT_CODE",
"agent_token": "YOUR_AGENT_TOKEN",
"user_code": "test",
"amount": 10000 // [Optional] If you omit the account, exchange all the user's money.
}
Response Ex:
// Success:
{
"status": 1,
"msg": "SUCCESS",
"agent_code": "meiyun",
"agent_balance": 990000,
"agent_type": "Transfer",
"user_code": "test",
"user_balance": 0,
"withdraw_amount":10000,
"currency": "USD",
"order_no": 351
}
// Failure:
{
"status": 0,
"msg": "INSUFFICIENT_AGENT_FUNDS"
}
Last updated