en:trans-all
Transfer all platform quotas with one click
* (Except for some games such as Kaiyuan Chess, Meitian Chess, LEG Leyou Chess, etc. that cannot be transferred out in the game, when using this interface, the platform with balance will be transferred to the merchant together. If the transfer is successful, it will be returned to the data information.
* Interface address: * Domain name/v1/user/trans-all
* Request parameters:
| Field name | type | length | Must-choose | illustrate |
|---|---|---|---|---|
| username | string | 5-11 | yes | Member name, no prefix required |
| sign_key | string | 32 | yes | Encrypted signature |
| code | string | 32 | yes | md5(sign_key+api_account+username) |
* Response parameters
| Field name | type | illustrate |
|---|---|---|
| statusCode | string | Whether it is successful. 01:Success; Other failures; |
| message | string | Information corresponding to code |
| data | string | If the platform quota is transferred out of the successful list, the number of platforms returned is not fixed, it may be empty, and it may be multiple. The key is the platform type, and val is the corresponding amount transferred from the platform. |
* Return data content
{
"statusCode": "01",
"data": {
"ag": "20",
"bg": "20",
“BBIN”: “20”, “allCount”: “60”, allCount is the sum of all platforms }, “message”: “Success” }
en/trans-all.txt · 最后更改: 2019/12/15 21:52 由 127.0.0.1