Get Order Details
GET/v1.1.1/order
This is used to get the details of an individual order. This will give all the details about the order as well as the list of executions that took place on that order.
orderId or orderReferenceId or (externalOrderId and securityType) is required.
Request
Query Parameters
Responses
- 200
- 401
OK
- application/json
- Schema
- Example (from schema)
- Equity
- Option
- Fixed Income
Schema
- Array [
- ]
Find error codes here
Fintech order id
only present in the response of the original buy/sell orders and is not included in responses for modified orders. Supports only equity type.
Security account number
Possible values: [1
, 2
]
1 (Buy) | 2 (Sell)
Possible values: [1
, 2
]
1 (Market order) | 2 (Limit order)
Find list of status here
Possible values: Value must match regular expression yyyy/MM/dd-HH:mm:ss
executionList object[]
Possible values: Value must match regular expression yyyy/MM/dd-HH:mm:ss
filled quantity
filled order value
filled net value (order value + commission + vat + order fees + etc.)
filled order commission
filled order net settle (net value * issue settle rate)
issue settle rate ; exchnage currency to cash account currency rate
This is only for Fixed Income orders.
Possible values: Value must match regular expression yyyy/MM/dd-HH:mm:ss
This is only for fixed income orders.
This field comes with fixed income
{
"status": "string",
"reason": "string",
"rejectCode": 0,
"orderNumber": "string",
"externalOrderId": "string",
"orderId": "string",
"originalOrderId": "string",
"exchange": "string",
"symbol": "string",
"accountNumber": "string",
"orderSide": "1",
"orderType": "1",
"orderStatus": "string",
"averagePrice": 0,
"orderQty": 0,
"orderValue": 0,
"commission": 0,
"vat": 0,
"date": "string",
"rejectReason": "string",
"executionIds": "string",
"lastPrice": 0,
"executionList": [
{
"executionId": "string",
"lastPrice": 0,
"filledQty": 0,
"cumulativeQty": 0,
"commission": 0,
"orderStatus": "string",
"updatedDateTime": "string"
}
],
"cumulativeQty": 0,
"cumulativeOrderValue": 0,
"cumulativeOrderNetValue": 0,
"cumulativeCommission": 0,
"cumulativeOrderNetSettle": 0,
"cumulativeVatAmount": 0,
"cumulativeStampDutyAmount": 0,
"tif": 0,
"orderReferenceId": "string",
"currency": "string",
"settleCurrency": "string",
"lastUpdatedDate": "string",
"accruedInterest": 0
}
{
"status": "SUCCESS",
"reason": "getting order details success",
"rejectCode": 0,
"executionList": [
{
"executionId": "1706004374577",
"lastPrice": 10,
"filledQty": 100,
"commission": 1.01,
"orderStatus": "1",
"updatedDateTime": "2024/01/23-10:06:44"
},
{
"executionId": "1706004374580",
"lastPrice": 10,
"filledQty": 100,
"commission": 0,
"orderStatus": "1",
"updatedDateTime": "2024/01/23-10:06:59"
},
{
"executionId": "1706004374582",
"lastPrice": 10,
"filledQty": 50,
"commission": 0,
"orderStatus": "2",
"updatedDateTime": "2024/01/23-10:07:14"
}
],
"orderNumber": "24F232000059",
"externalOrderId": "ext-order-001",
"orderId": "24F232000059",
"originalOrderId": "-1",
"orderReferenceId": "Ec7303cf6bf76",
"exchange": "NSDQ",
"symbol": "AAPL",
"accountNumber": "P000284400",
"orderSide": "1",
"orderType": "2",
"averagePrice": 10,
"orderQty": 250,
"filledQty": 250,
"orderValue": 2500,
"commission": 1.01,
"vat": 0,
"date": "2024/01/23-10:06:13",
"executionIds": "[1706004374577, 1706004374580, 1706004374582]",
"lastPrice": 10,
"orderStatus": "2",
"cumulativeQty": 250,
"cumulativeOrderValue": 2500,
"cumulativeOrderNetValue": 2876.01,
"cumulativeCommission": 1.01,
"cumulativeOrderNetSettle": 2876.01,
"cumulativeVatAmount": 0,
"cumulativeStampDutyAmount": 0,
"tif": 0,
"currency": "USD",
"settleCurrency": "USD",
"lastUpdatedDate": "2024/01/23-10:07:14"
}
{
"status": "SUCCESS",
"reason": "getting order details success",
"rejectCode": 0,
"executionList": [
{
"executionId": "1706004374577",
"lastPrice": 10,
"filledQty": 100,
"commission": 1.01,
"orderStatus": "1",
"updatedDateTime": "2024/01/23-10:06:44"
},
{
"executionId": "1706004374580",
"lastPrice": 10,
"filledQty": 100,
"commission": 0,
"orderStatus": "1",
"updatedDateTime": "2024/01/23-10:06:59"
},
{
"executionId": "1706004374582",
"lastPrice": 10,
"filledQty": 50,
"commission": 0,
"orderStatus": "2",
"updatedDateTime": "2024/01/23-10:07:14"
}
],
"orderNumber": "O24G06200001",
"externalOrderId": "ext-order-002",
"orderId": "O24G06200001",
"originalOrderId": "-1",
"orderReferenceId": "O327b61c48ec1",
"exchange": "OPRA",
"symbol": "AAPL\\24D19\\105.0",
"accountNumber": "P000284400",
"orderSide": "1",
"orderType": "2",
"averagePrice": 10,
"orderQty": 250,
"filledQty": 250,
"orderValue": 2500,
"commission": 1.01,
"vat": 0,
"date": "2024/01/23-10:06:13",
"executionIds": "[1706004374577, 1706004374580, 1706004374582]",
"lastPrice": 10,
"orderStatus": "2",
"cumulativeQty": 250,
"cumulativeOrderValue": 2500,
"cumulativeOrderNetValue": 2876.01,
"cumulativeCommission": 1.01,
"cumulativeOrderNetSettle": 2876.01,
"cumulativeVatAmount": 0,
"cumulativeStampDutyAmount": 0,
"tif": 0,
"currency": "USD",
"settleCurrency": "USD",
"lastUpdatedDate": "2024/01/23-10:07:14"
}
{
"status": "SUCCESS",
"reason": "getting order details success",
"rejectCode": 0,
"orderNumber": "CB240614-1-00001",
"orderId": "CB240614-1-00001",
"orderReferenceId": "CB53ce90d21624",
"exchange": "GTNFI",
"symbol": "ABNANV 1 04/16/25",
"accountNumber": "P000254798",
"orderSide": "1",
"orderType": "1",
"orderQty": 3,
"amount": 3000,
"commission": 146.8515,
"date": "2024/06/14-10:30:22",
"lastUpdatedDate": "2024/06/14-10:30:22",
"orderStatus": "A",
"currency": "EUR",
"securityType": "BND",
"price": 97.901,
"tif": 0,
"accruedInterest": 0,
"cumulativeQty": 0,
"cumulativeOrderValue": 0,
"cumulativeCommission": 0
}
Unauthorized
- application/json
- Schema
- Example (from schema)
- Invalid Token
- Expired Token
Schema
{
"timestamp": "string",
"status": "string",
"error": "string",
"message": "string",
"path": "string",
"rejectCode": "string"
}
{
"timestamp": "2023-12-28T09:51:50.682Z",
"status": "401",
"error": "Unauthorized",
"message": "Invalid Token",
"path": "/api/v1.1.1/order",
"rejectCode": "1008"
}
{
"timestamp": "2023-12-28T09:51:50.682Z",
"status": "401",
"error": "Unauthorized",
"message": "Expired Token",
"path": "/api/v1.1.1/order",
"rejectCode": "1007"
}