GET ORDER MARGIN INFO
This API retrieves margin requirements for one or more order legs for authorized end users through a middleware-based integration.
It can be used to calculate approximate margin, available margin, brokerage, and margin shortfall before placing or modifying an order.
🔑 Header Parameters
| Fields | Type | Required | Description | Example |
|---|---|---|---|---|
| Authorization | string | Yes | Bearer token for authentication | access_token |
| x-api-key | string | Yes | API key provided | x-api-key |
📦 Request Body Schema
| Fields | Type | Required | Description | Example/Enum |
|---|---|---|---|---|
| NoOfLegs | integer | Yes | Number of order legs | 2 |
| Mode | string | Yes | Margin calculation mode | N |
| FETraceId | string | No | Client request identifier returned in response | MARGIN12345 |
| LegDetails | array(object) | Yes | Margin calculation request details | See below table |