https://b-api.longbridge.xyz/v1/dawn/check_available_quantityAuthorization
Send the Broker ACCESS_TOKEN as Authorization: Bearer <token>.
Request body application/json
Security Type. Options: CASH = Cash; STOCK = Stock; FUND = Fund
CASHSTOCKFUND
A/C No
Counter ID
Direction. Always sends DEBIT (deduction) in the freeze scenario.. Options: DEBIT = Debit; CREDIT = Credit
DEBITCREDIT
Biz Type. Fixed to ASSET in the freeze scenario.
Account Types. Only STOCK freezes pass [SETTLEMENT, BUSINESS].
Position Side. Required only for STOCK freezes; taken from position_side_list_query.
Responses
HTTP 200Returns business fields.codemessagedatadataobjectdata structureAvailable Quantity. Used by the front end as a placeholder hint; not a strictly validated form field.
Alert Message. When non-empty, the front end displays it as a validation-prompt message (e.g. a warning that the available quantity is exceeded).
Is Allowed. When false, the front end marks the validation state as error (validateStatus=error), preventing the user from submitting.