Skip to content
Longport Whale
Bulk Update Limit

Update Batch Reset Credit Item

Submission of the edit form behind the inline "Edit" button on the Bulk Update Limit list. Involves real credit-limit adjustment.

POSThttps://b-api.longbridge.xyz/risk/v1/update_batch_reset_credit_item

Authorization

AuthorizationstringheaderRequired

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

Request body application/json

new_credit_amountnumberrequired

New Credit Amount. The new credit-limit value entered in the edit form (numeric input, min=0).

enable_auto_creditbooleanrequired

Enable Auto Credit. Editable when the new limit is greater than the pre-adjustment limit (before_finance_amount); a true/false radio defaulting to false.

item_idintegerrequired

Item ID. The ID of a batch credit-adjustment detail record (corresponds to the list row's record.id).

audit_frontend_resourceobjectrequired

Audit Frontend Resource. Contains batch_id (the owning batch ID), enable_auto_credit (as the string 'true'/'false'), aaid (client account ID), and new_credit_amount (the new credit limit), for display in the audit log.

Responses

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

No nested fields

Whale Docs