Skip to content
Company Limit Setting

Reset Company Finance Config

Reset the company-level financing-limit configuration, overwriting the maximum financing limit and related warning thresholds for a given margin type.

Request parameters

  • Required: currency, cp_finance_total (maximum financing limit), cp_finance_used_warning (financing-used warning threshold), cp_advance_used_warning (advance-used warning threshold), margin_type (margin type).
  • Optional: audit_frontend_resource (caller-provided audit context).
  • currency comes from the record being edited; margin_type identifies the margin type this configuration applies to.
  • See the individual field descriptions for each field's format, allowed values, and business meaning.

Risk warning

This changes the real company-level financing-limit configuration and directly affects the available financing limit. Verify the currency, margin type, and all amounts before calling.

Result

On success, the company financing-limit configuration is reset; the resulting state and returned data follow the 200 response definition.

POSThttps://b-api.lbkrs.com/risk/v1/company_finance_cfg/reset_apply

Authorization

AuthorizationstringheaderRequired

Send the Broker ACCESS_TOKEN as Authorization: Bearer <token>.

Request body application/json

currencystringrequired

Displayed disabled in the form; taken from the record currently being edited.

cp_finance_totalstringrequired

Converted to a string via toString before submission by the caller InputNumber.

cp_finance_used_warningstringrequired

This field is required.

cp_advance_used_warningstringrequired

This field is required.

margin_typestringrequired

Margin type.

Allowed values: NormalMargin Margin Credit Limit, IntradayMargin Day Trade Credit Limit

Values
NormalMargin
Margin Credit Limit
IntradayMargin
Day Trade Credit Limit
audit_frontend_resourceobject

Records the original record content before submission, used for comparison display in the approval ticket.

Responses

HTTP 200The request was processed successfully. The response data does not contain additional business fields.
Standard response envelopecodemessagedata
dataobjectdata structure
ticket_idstring

Ticket id

HTTP 400Bad request. Check the business error code in code and the error details in message.
Standard response envelopecodemessagedata
dataobjectdata structure

No nested fields

HTTP 401The user is not authenticated, or the login session has expired.
Standard response envelopecodemessagedata
dataobjectdata structure

No nested fields

HTTP 403The current account is not authorized to use this feature. Grant the required permission to the account in User Permission.
Standard response envelopecodemessagedata
dataobjectdata structure

No nested fields

HTTP 408The request timed out. Check the business error code in code and the error details in message.
Standard response envelopecodemessagedata
dataobjectdata structure

No nested fields

Whale Docs