Skip to content
Fund Account

Batch Update Fund Account Status

Batch-enable or disable fund channel accounts.

Request parameters

  • Required: ids (fund account ID list), status (target status).
  • Optional: audit_frontend_resource (audit context).
  • See the field definitions for each field's format, allowed values, and business meaning.

Business notes

Each fund account in ids is switched to the enabled or disabled state given by status. Disabled accounts no longer participate in business processing.

Risk warning

This operation changes account enablement and affects related business flows. Confirm the account list and target status before calling.

Returns

On success the batch status change is applied; see the 200 response for the exact payload.

POSThttps://b-api.lbkrs.com/portfolio/funds/batch/channel/account/status

Authorization

AuthorizationstringheaderRequired

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

Permission

fund.channel_account_update

The Broker ACCESS_TOKEN must be granted the permission above, or the call will be rejected.

Request body application/json

idsarray<integer>required

Fund Account IDs. This field is required.

statusintegerrequired

Target Status. This field is required.

Values
1
2
audit_frontend_resourceobject

Audit Context. Provides audit context for this operation.

Responses

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

This is a write operation; on success it returns no business data, and data is always an empty object {}.

No nested fields

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