此功能允许将玩家余额从游戏提供商的钱包转移到运营商的钱包
请求方式( 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 | 状态代码 | | useraddscore | double | 玩家变化的分数 | | beforeuserscore | double | 转账前,玩家的分数 | | afteruserscore | double | 转账后,玩家的分数 |
## 成功的结果
{
"afteruserscore": 1000,
"beforeuserscore": 0,
"status": 1,
"useraddscore": 1000
}
## 失败的结果
{
"status": 1001
}