transfer-all-platform-balance-v2
One-click transfer out of all platform balances V2
* Endpoint: /api/server/transferAll
* Method: POST
* Request notes:
- No more than 2 requests per minute per player.
- The request timeout should be set to more than 30 seconds.
- Some platform wallets cannot transfer while the player is still in game.
* Request parameters:
| Field | Type | Required | Description |
|---|---|---|---|
| playerId | string | Yes | Player account whose balances should be collected from all supported platforms. |
| currency | string | Yes | Currency code such as CNY, USD, HKD, or PHP. |
* Core response fields:
| Field | Type | Description |
|---|---|---|
| code | number | Business status code for the sweep request. |
| msg | string | Response message. |
| data.balanceAll | number | Total amount transferred out across all platforms. |
| data.<platformCode> | number | Platform-specific transferred balance, such as ag, allbet, bbin, bg, cq9, ky, or im. |
* Response example:
{ "code": 10000, "msg": "request succeeded", "data": { "balanceAll": 235.5, "ag": 100.0, "bbin": 50.0, "cq9": 35.5, "im": 50.0 }
} transfer-all-platform-balance-v2.txt · Last modified: 2023/04/16 21:08 by admin