Skip to content
Longport Whale
Company Limit Setting

Reset Company Credit Config

Submission from the "Credit" edit dialog on the Company Limit Setting page, which resets the company-level credit configuration. This involves changes to real company-level credit configuration.

POSThttps://b-api.longbridge.xyz/risk/v1/company_credit_cfg/reset_apply

Authorization

AuthorizationstringheaderRequired

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

Request body application/json

credit_currencystringrequired

Credit Currency. Taken from the credit currency of the record currently being edited; not editable in the dialog.

cp_credit_totalnumberrequired

Company Total Credit Limit

cp_total_financenumberrequired

Company Total Finance Limit

cp_credit_used_warningnumberrequired

Credit Used Warning Threshold

cp_total_finance_used_warningnumberrequired

Finance Used Warning Threshold. At most a 19-digit integer; the frontend performs length validation.

audit_frontend_resourceobject

Audit Frontend Resource. Audit-trail field; records the original record content and $action=edit before submission, used for comparison display in the approval ticket.

Responses

HTTP 200No confirmable field definitions are available for the response yet.
Standard response envelopecodemessagedata
dataobjectdata structure

No nested fields

Whale Docs