Get Account Balance
The GET /balance/
method enables you to retrieve information related to your account balances for all Bitso-supported currencies.
HTTP Request
Header Parameters
You must specify the following authorization parameters in your request:
Parameter | Description | Required |
---|---|---|
key | See the section, Authorization | Yes |
signature | See the section, Authorization | Yes |
nonce | See the section, Authorization | Yes |
JSON Response Payload
The endpoint returns a JSON array, and every element in the array is a JSON object that includes the following fields:
Field Name | Description | Type | Units |
---|---|---|---|
| The balance available for use in the given currency, resulting from the computation | String | Currency |
| The currency in which the balances are specified. | String | |
| The balance locked away in open orders for the given | String | Currency |
| The currency balance for deposits awaiting confirmation (pending status) before they can be considered complete. For example, in a crypto deposit like bitcoin, Bitso receives the transaction but has to wait until it is confirmed. | String | Currency |
| The currency balance for withdrawals awaiting a successful or failed completion (pending or processing status). This balance is NOT considered part of the | String | Currency |
| The total balance for the given currency. The service updates this figure when it completes a deposit or creates a withdrawal. It results from the computation | String | Currency |
The following response object exemplifies the JSON object returned, showing only a few of its elements:
{
"success": true,
"payload": {
"balances": [{
"currency": "mxn",
"total": "300.00",
"locked": "25.1234",
"available": "274.8766",
"pending_deposit": "0.00000000",
"pending_withdrawal": "200.00000000"
}, {
"currency": "btc",
"total": "100.12345678",
"locked": "25.00000000",
"available": "75.12345678",
"pending_deposit": "10.00000000",
"pending_withdrawal": "0.00000000"
}, {
"currency": "eth",
"total": "50.1234",
"locked": "40.1234",
"available": "10.0000",
"pending_deposit": "0.00000000",
"pending_withdrawal": "0.00000000"
}]
}
}
Updated 6 days ago