Get Order Details
GET/v1.2/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 is required
Request
Query Parameters
Possible values: [CS
, OPT
, BND
, FND
]
Header Parameters
Responses
- 200
- 401
OK
- application/json
- Schema
- Example (from schema)
- Equity
- Option
- Fund
- Fixed Income
- Spot
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
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
Possible values: Value must match regular expression yyyy/MM/dd-HH:mm:ss
Possible values: Value must match regular expression yyyy/MM/dd-HH:mm:ss
Possible values: Value must match regular expression yyyy/MM/dd-HH:mm:ss
This field comes with fixed income.
only applicable for Trailing stop orders. only support in ASIA region for equity and option orders.
Possible values: [TYPE:%
, TYPE:$
]
only applicable for Trailing stop orders. only support in ASIA region for equity.
only applicable for Trailing stop orders. only support in ASIA region for equity.
only applicable for Trailing stop orders. only support in ASIA region for equity.
{
"status": "string",
"reason": "string",
"rejectCode": 0,
"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,
"rejectReason": "string",
"executionIds": "string",
"lastPrice": 0,
"executionList": [
{
"executionId": "string",
"lastPrice": 0,
"filledQty": 0,
"amount": 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",
"investmentId": "string",
"currency": "string",
"settleCurrency": "string",
"marketCode": "string",
"lastUpdatedDate": "string",
"amount": 0,
"initialNav": 0,
"isPartialRedemption": 0,
"blockedAmount": 0,
"executedNav": 0,
"issueSettleRate": 0,
"netSettle": 0,
"netValue": 0,
"units": 0,
"requestType": 0,
"grossAmount": 0,
"createdDate": "string",
"expiryDate": "string",
"accruedInterest": 0,
"stopPrice": 0,
"trailType ": "TYPE:%",
"trailByValue": 0,
"trailStpEstPrice": 0
}
{
"status": "SUCCESS",
"reason": "getting order details success",
"rejectCode": 0,
"executionList": [
{
"executionId": "1706004374577",
"lastPrice": 10,
"filledQty": 100,
"cumulativeQty": 100,
"commission": 1.01,
"orderStatus": "1",
"updatedDateTime": "2024/01/23-10:06:44"
},
{
"executionId": "1706004374580",
"lastPrice": 10,
"filledQty": 100,
"cumulativeQty": 200,
"commission": 0,
"orderStatus": "1",
"updatedDateTime": "2024/01/23-10:06:59"
},
{
"executionId": "1706004374582",
"lastPrice": 10,
"filledQty": 50,
"cumulativeQty": 250,
"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,
"createdDate": "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,
"executionList": [
{
"executionId": "1712571837940_FO240408-2-000017",
"commission": 5,
"orderStatus": "@",
"updatedDateTime": "2024/04/08-10:23:57",
"amount": 5000
}
],
"orderId": "FO240408-2-000017",
"orderReferenceId": "F5b656d7ab61d",
"exchange": "MFSFUNDS",
"symbol": "LU0048621477",
"accountNumber": "P001133137",
"orderSide": "1",
"commission": 5,
"vat": 0,
"rejectReason": "",
"executionIds": "[1712571837940_FO240408-2-000017]",
"lastPrice": 0,
"orderStatus": "@",
"cumulativeVatAmount": 0,
"currency": "USD",
"settleCurrency": "AED",
"lastUpdatedDate": "2024/04/08-10:23:57",
"createdDate": "2024/04/08-10:23:30",
"investmentId": "FO240408-2-000017",
"amount": 5000,
"isPartialRedemption": 0,
"initialNav": 45.6,
"executedNav": 12,
"blockedAmount": 0,
"issueSettleRate": 18,
"marketCode": "ALLFUNDS",
"netSettle": 90090.72,
"netValue": 5005.04,
"units": 416.67,
"requestType": 0,
"grossAmount": 90090
}
{
"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
}
{
"status": "SUCCESS",
"reason": "getting order details success",
"rejectCode": 0,
"executionList": [
{
"executionId": "1706004374577",
"lastPrice": 10,
"filledQty": 100,
"cumulativeQty": 100,
"commission": 1.01,
"orderStatus": "1",
"updatedDateTime": "2024/01/23-10:06:44"
},
{
"executionId": "1706004374580",
"lastPrice": 10,
"filledQty": 100,
"cumulativeQty": 200,
"commission": 0,
"orderStatus": "1",
"updatedDateTime": "2024/01/23-10:06:59"
},
{
"executionId": "1706004374582",
"lastPrice": 10,
"filledQty": 50,
"cumulativeQty": 250,
"commission": 0,
"orderStatus": "2",
"updatedDateTime": "2024/01/23-10:07:14"
}
],
"orderNumber": "24F232000059",
"externalOrderId": "ext-order-001",
"orderId": "24F232000059",
"originalOrderId": "-1",
"orderReferenceId": "Ec7303cf6bf76",
"exchange": "GTNSPOT",
"symbol": "XAU/USD",
"accountNumber": "P000284400",
"orderSide": "1",
"orderType": "2",
"averagePrice": 10,
"orderQty": 250,
"filledQty": 250,
"orderValue": 2500,
"commission": 1.01,
"vat": 0,
"createdDate": "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"
}
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.2/order",
"rejectCode": "1008"
}
{
"timestamp": "2023-12-28T09:51:50.682Z",
"status": "401",
"error": "Unauthorized",
"message": "Expired Token",
"path": "/api/v1.2/order",
"rejectCode": "1007"
}