Cancel Order
Note:Only supports ETH series
Request
POST https://custody-example-url/custody/v1/api/projects/{b_id}/orders/{order_no}/cancel
Parameters
Field |
Type |
Description |
b_id |
String |
Business line ID |
order_no |
String |
Order ID |
level |
String |
Level Allowed values:LEVEL0, LEVEL1, LEVEL2, LEVEL3, CUSTOM |
gas_priceOptional |
Decimal |
Customize rate,level value must 'CUSTOM' |
Response
Field |
Type |
Description |
code |
Integer |
Response code(0-success) |
message |
String |
Response message |
data |
String |
GasPrice |
successful |
Boolean |
If the request is successful |
Response Example
{
"code": 0,
"message": "",
"data": 25000000000,
"successful": true
}