Validate Order by ID

Validate an existing order by providing its ID

Overview

This GET endpoint enables to you to validate an existing order by providing its ID as well as the ID of the trading account from which the order was placed.

Returns the validation results for the order.

GET baseURL/v{apiVersion}/accounts/{accountID}/verified/orders/{orderID}

Path Parameters

Name
Type
Description

apiVersion*

String

The version of the API. Unless necessary, leave it at 1.0.

accountID*

String

The ID of the trading account from which the order was placed.

orderID*

String

The ID of the order that is to be validated.

Headers

Name
Type
Description

Authorization*

String

This is the authorization token from the very first token request. The value of this header must have the following format: Bearer BQ898r9fefi (Bearer + 1 space + the token).

{
  "Model": {
    "OrderId": 1153288,
    "IsSuccessful": true,
    "Commission": 11,
    "Commissions": {
      "Per Trade Commission": 6,
      "Per Contract Commission": 5
    },
    "Cost": 2,
    "NetCost": 13,
    "TotalCost": 13,
    "Quotes": [
      {
        "Ask": 10,
        "Bid": 10,
        "Last": 10,
        "Volume": 0,
        "OpenInterest": 0,
        "Symbol": "MLXAU",
        "SecurityId": 30708874,
        "Timestamp": "2021-07-09T09:45:02.221093Z"
      }
    ],
    "MarginChange": 2
  },
  "Errors": [],
  "IsSucceed": true
}

Last updated