POST Cancel Order

Cancel a specific order by the order ID. Please note that order IDs in NT8 are impermanent.

Cancel order by ID

POST /v1/api/accounts/{account}/orders/{orderId}/cancel

Headers

NameValue

Content-Type

application/json

Authorization

Bearer <token>

Query Parameters

NameTypeRequiredDescription

account

string

Required

Name of account in NT8

orderId

string

Required

ID of the order in NT8

Code Examples (coming soon)

// Some code

Response

{
    "orderId": "f50c90f429ef45bab79b83ddc2b66241",
    "success": true
}

Last updated