此功能允许将玩家余额从游戏提供商的钱包转移到运营商的钱包
请求方式( Host-> BeSoft):post
编码方式:application/x-www-form-urlencoded
Besoft响应的数据格式是: application/json
网址
{besoftapi}/api/game/withdraw
| 名称 | 类型 | 必要 |描述| |:--------:|:-----:|:--------:|:--------:| | cert| String | Y |安全代码| | user | String | Y |用户 ID| | extension1 | String | Y |代理 ID| | score | String | N |更新的分数:分数小于零是代理赠送分数给玩家;分数大于零是代理从玩家身上收取分数|
## 示例
表单数据
Content-Type: application/x-www-form-urlencoded
cert:v8VMKKzlPpD0te4rX99Hgefs3PQrBFWJKiuUqg6Y user:test1 extension1:adminweb score: -1000
| 名称 | 类型 | 必要 | |:--------:|:-----:|:--------:| | status | int32 | 状态代码 | | afterspreaderscore | double | 转账后,代理的分数| | beforespreaderscore| double | 转账前,代理的分数 | | beforeuserscore | double | 转账前,玩家的分数 | | afteruserscore | double | 转账后,玩家的分数 |
## 成功的结果
{
"afterspreaderscore": 2999999000,
"afteruserscore": 1000,
"beforespreaderscore": 3000000000,
"beforeuserscore": 0,
"status": 1,
"useraddscore": 1000
}
## 失败的结果
{
"status": 1001
}