User deposit data
GET
/ver1/accounts/:account_id/deposit_dataReturns the data of deposit for a specific account using its ID.
This endpoint works for the following exchanges: Binance Spot, Binance US, OKX Spot.
Example Request
GET
/ver1/accounts/76543210/deposit_data?currency=BTC&network=BTCResponse Parameters
Example Responses
- 200 OK
- 400 Bad Request
- 422 Unprocessable Entity
{
"address": "1J6jZDFSeGfwfwJpS4SLqhVo7eo2DgkT9Q",
"address_tag": "",
"available_balance": "0.00031872",
"in_orders": "0.0",
"total_balance": "0.00031872"
}
{
"error": "record_invalid",
"error_description": "Invalid parameters",
"error_attributes": {
"currency": [
"is missing"
],
"network": [
"is missing"
]
}
}
{
"error_description": "{\"code\"=>-9000, \"msg\"=>\"Deposits for this network are currently closed\"}",
"error": "unknown_market_api_error"
}