https://b-api.lbkrs.com/risk/v1/trade_credit/modifyProduction: https://b-api.lbkrs.com · Test: https://b-api.longbridge.xyz
Authorization
Send the Broker ACCESS_TOKEN as Authorization: Bearer <token>.
Permission
Request body application/json
Account AAID. The customer fund account selected via the request field member_query_aaid component; disabled and unchangeable when editing.
Trade Credit Type. A radio group whose value comes from options.trade_credit_type_ref; commonly 0 = single-currency trading limit, 1 = multi-currency trading limit.
0 · Single-Currency Trading Limit1 · Multi-Currency Trading Limit
Trade Credit Map. Currency-to-limit key-value pairs, e.g. {"HKD":"100000"}; when trade_credit_type=0 it contains only a single currency, and when =1 it may contain multiple currencies.
Expired At. A Unix timestamp (seconds); after a date is chosen in the date picker, the hour/minute/second are taken from the current time at submission.
Remark. A textarea, up to 100 characters.
Action. 0=Create (add), 1=Edit (edit); computed automatically by the client based on whether an item record is passed in.
0 · add1 · edit
Audit Context. A non-core business field carrying before and value (after) data plus $action/$behavior, used for display in risk-control approval tickets.
Responses
HTTP 200The request was processed successfully. The response data does not contain additional business fields.codemessagedatadataobjectdata structureTicket id
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