Order Margin
to get the margin required and available margin info while placing an order
Header Parameters
Request Body
application/x-www-form-urlencoded
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/api/oms/margin" \ -H "Authorization: Bearer <api Key>:<access token>" \ -H "Content-Type: application/x-www-form-urlencoded" \ -d 'symId=EQT_RELIANCE_EQ_NSE&qty=1&side=buy&type=limit&product=delivery'{
"s": "ok",
"d": {
"availableMargin": 45230.75,
"requiredMargin": 12500,
"shortfall": 0,
"holdQty": 0,
"edisAuthRequired": false
}
}{
"s": "error",
"msg": "Input validation failed. Kindly check your input contains required fields for the request"
}{
"s": "error",
"msg": "Unauthorized"
}{
"s": "error",
"msg": "Too many requests"
}{
"s": "error",
"msg": "Internal server error"
}