https://b-api.longbridge.xyz/risk/v1/credit_amount_summary/query_v2Authorization
Send the Broker ACCESS_TOKEN as Authorization: Bearer <token>.
Responses
HTTP 200The request was processed successfully. data contains the company's financing/trading limit summary.codemessagedatadataobjectdata structureCompany financing/trading limit summary. All cp_total_* aggregate amounts are denominated in the credit_currency currency. Amount fields are integer or decimal strings.
Credit currency, such as HKD or USD. All cp_total_* aggregate amounts are denominated in this currency.
Company total financing limit (in the credit currency).
Total approved financing limit at the account level (in the credit currency).
Company financing limit used (in the credit currency).
Alert threshold for the company's approved financing limit (in the credit currency).
Company remaining available financing limit (in the credit currency).
Company total trading limit (in the credit currency).
Currently approved trading limit (in the credit currency).
Alert threshold for the approved trading limit (in the credit currency).
Trading limit used (in the credit currency).
Alert threshold for the trading limit used (in the credit currency).
Per-currency financing information. Each key is a currency code (such as HKD or USD); the value is that currency's financing summary object.
Per-currency limit breakdown under normal margin. Each key is a currency code; the value is that currency's detail object.
Per-currency limit breakdown under intraday margin. The structure is identical to normal_margin_list.
HTTP 400Bad request. Check the business error code in code and the error details in message.codemessagedatadataobjectdata structureNo nested fields
HTTP 401The user is not authenticated, or the login session has expired.codemessagedatadataobjectdata structureNo nested fields
HTTP 403The current account is not authorized to use this feature. Grant the required permission to the account in User Permission.codemessagedatadataobjectdata structureNo nested fields
HTTP 408The request timed out. Check the business error code in code and the error details in message.codemessagedatadataobjectdata structureNo nested fields