BTCUSD loading...

loading... USD

ETHUSD loading...

loading... USD

DASHUSD loading...

loading... USD

LTCUSD loading...

loading... USD

DASHBTC loading...

loading... BTC

ETHBTC loading...

loading... BTC

LTCBTC loading...

loading... BTC

Cancel Order

By sending a POST request to cancel endpoint you can cancel order with specified order Id.

request endpoint: /api/cancel

 

Request parameters

Name Type Description Required
nonce Long repeated number send in the request header Y
orderId Long order ID to cancel

Y

Request example:

{"nonce":10000,  "orderId":100001}

Response - JSON:

Name Type Description
orderId Long cancelled order ID
message String result of the request

 

Message and response HTTP code depends on the result:

Code Message
200 "Cancelled upon request!"
407 "Invalid order Id"
407 "Order does not belong to client: {userId}"

 

Response example:

{"orderId":100001,"message":"Cancelled upon request"}