List trading wallet balances
/v1/trading/wallet/balanceReturns the balances of the authenticated user's trading (Pro) wallets, one entry per
currency wallet. Only these funds can be used to place orders; move funds in
and out with POST /v1/trading/wallet/deposit and POST /v1/trading/wallet/withdraw.
blockedBalance includes both the funds reserved by open orders and the funds assigned to
the user's trading bots.
Authorization
ApiKeyAuth For accessing these endpoints a valid API key must be sent in the X-Api-Key header.
In: header
Query Parameters
Comma-separated currency codes. Only those wallets are returned; all of them when omitted.
^[A-Z0-9]+(,[A-Z0-9]+)*$number (default) returns balance and blockedBalance as JSON numbers, as always.
string returns them as exact decimal strings with up to 18 decimals, in plain notation
and without trailing zeros (for example "8.084941303345199").
"number"Value in
- "number"
- "string"
Response Body
application/json
application/json
application/json
curl --request GET \ --url 'https://gateway.bit2me.com/v1/trading/wallet/balance'[]List historical movements GET
Returns the movements of funds into and out of the authenticated user's trading wallet, newest first: their own deposits and withdrawals, adjustments made by Bit2Me, automatic working capital refills and funds assigned to or released from their trading bots. At most 100 movements are returned and there is no offset: when more could match, split the query into shorter `from`/`to` ranges.
Deposit into trading wallet POST
Moves funds from the user's Bit2Me wallet into their trading wallet, where they become available to place orders. The funds are taken from the user's pocket of `currency` with the highest balance, which must hold at least `amount`. The transfer is recorded as a `deposit` movement (`GET /v1/trading/movement`), and the trading wallet of the currency is created on the first deposit. Only one movement per currency can be in progress at a time.