User Tools

Site Tools


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:

FieldTypeRequiredDescription
playerIdstringYesPlayer account whose balances should be collected from all supported platforms.
currencystringYesCurrency code such as CNY, USD, HKD, or PHP.

* Core response fields:

FieldTypeDescription
codenumberBusiness status code for the sweep request.
msgstringResponse message.
data.balanceAllnumberTotal amount transferred out across all platforms.
data.<platformCode>numberPlatform-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

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki