Get A Deposit Or Withdraw Detail
Query a single charge record
(Authentication type:KEYED, See Interface Permission)
Request Format
GET https://api-cloud.bitmart.com/account/v1/deposit-withdraw/detail
Request Limit
Request Parameter
Field | Type | Required? | Description |
---|---|---|---|
id | string | Yes | withdraw_id or deposit_id |
Instruction
Request example
curl https://api-cloud.bitmart.com/account/v1/deposit-withdraw/detail?id=1679952
Response Data
Field | Type | Description |
---|---|---|
withdraw_id | string | withdraw id |
deposit_id | string | deposit id |
operation_type | string | type |
deposit =deposit |
||
withdraw =withdraw |
||
currency | string | Token symbol, e.g., 'BTC' |
apply_time | long | The request timestamp is accurate to milliseconds(UTC-0) |
arrival_amount | string | Actual amount received |
fee | string | fee |
status | int | status |
0 -Create |
||
1 -Submitted, waiting for withdrawal |
||
2 -Processing |
||
3 -Success |
||
4 -Cancel |
||
5 -Fail |
||
address | string | address |
address_memo | string | address tag |
tx_id | string | Hash record |
Instruction
The deposit id has a value when
operation_type
= 'deposit'. The withdraw id has a value whenoperation_type
= 'withdraw'.Tx_id is an empty string before it is chained.
Example of returned data format
{
"message":"OK",
"code":1000,
"trace":"f7f74924-14da-42a6-b7f2-d3799dd9a612",
"data":{
"record":{
"withdraw_id":"1679952",
"deposit_id":"",
"operation_type":"withdraw",
"currency":"BMX",
"apply_time":1588867374000,
"arrival_amount":"59.000000000000",
"fee":"1.000000000000",
"status":0,
"address":"0xe57b69a8776b37860407965B73cdFFBDFe668Bb5",
"address_memo":"",
"tx_id":""
}
}
}