Skip to content
Company Limit Setting

Reset Company Trading Limit Config

Reset the company-level trading-limit configuration, overwriting the company total trading limit and related warning thresholds.

Request parameters

  • Required: credit_currency (credit currency), cp_total_trading_limit (company total trading limit), cp_total_trading_limit_reviewed_warning (reviewed-limit warning threshold), cp_total_trading_limit_used_warning (used-limit warning threshold).
  • Optional: audit_frontend_resource (caller-provided audit context).
  • See the individual field descriptions for each field's format, allowed values, and business meaning.

Risk warning

This changes the real company-level trading-limit configuration and directly affects the available trading limit. Verify the currency and all limits before calling.

Result

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

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

Authorization

AuthorizationstringheaderRequired

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

Request body application/json

credit_currencystringrequired

Taken from the credit_currency of the record currently being edited.

cp_total_trading_limitnumberrequired

This field is required.

cp_total_trading_limit_reviewed_warningnumberrequired

This field is required.

cp_total_trading_limit_used_warningnumberrequired

This field is required.

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