Skip to content

Latest commit

 

History

History
29 lines (14 loc) · 2.34 KB

File metadata and controls

29 lines (14 loc) · 2.34 KB
description
Cancel order using order hash or client-side ID.

Cancel Order

EndPoint

DELETE api/v3/order

Header

FieldDescriptionExampleTypeRequired
X-API-KEYApiKey"HlkcGxbqBeaF76j4rvPaOasyfPwnkQ6B6DQ6THZWbvrAGxzEdulXQvOKLrRWZLnN"Y
X-API-SIGEDDSA Signature, it's the request signing"0xeb14773e8a07d19bc4fe56e36d041dcb0026bf21e05c7652f7e92160deaf5ea9c4fe56e34773e86d041dcbeb1a07d19b002652f7e92160deaf5e6bf21e05c7a9002652f7e92160deaf5e6bf21e05c7a9eb14773e8a07d19bc4fe56e36d041dcb"

Request

Query ParamDescriptionExample
accountIdaccount ID
orderHash(Optional) The order hash of submit order response"0x05a97490e92ded027f65c4bebf3bad63813f4ce8c7255335894566b2eee90206"
clientOrderId(Optional) The clieetOrderId of submit order"202003180000 00001010"

Response

FieldDescriptionExampleTypeRequired
hashThe hash identifier set by the user at the time of submission, can use this hash to get the order info"0x05a97490e92ded027f65c4bebf3bad63813f4ce8c7255335894566b2eee90206"stringY
clientOrderIdThe clientOrderId of the submitted order
statusOrder status of submit order response Allowable : ['processing', 'processed', 'cancelling', 'cancelled', 'expired', 'failed']"processing"stringY
isIdempotentIdempotent of submit transfer response, submit same transfer again idempotent will be true"false"booleanY