Skip to content
Company Bank Account

Edit Company Bank Account

Edit a company bank-account configuration. The request structure matches "Add company bank account", with the account details wrapped in lb_bank_account_info.

Request parameters

  • Required: id (bank account ID), lb_bank_account_info (bank-account request data, same structure as "Add company bank account")
  • Optional: audit_frontend_resource (caller-provided audit-log payload)
  • See each field's definition for its format, value range, default behavior, and business meaning.

Business notes

id identifies the company bank account to edit. The fields inside lb_bank_account_info follow the "Add company bank account" endpoint and are not repeated here.

Risk warning

This operation changes the bank-account information used for company deposits and withdrawals and may affect subsequent deposits, withdrawals, and reconciliation. Confirm the target account and parameters before calling.

Result

On success the company bank account is updated; see the 200 response definition for the returned content.

PUThttps://b-api.lbkrs.com/atm/lb/bankaccount

Authorization

AuthorizationstringheaderRequired

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

Permission

lb_hk_fund.companybank_update

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

Request body application/json

idstringrequired

Bank Account ID associated with this request.

lb_bank_account_infoobjectrequired

The field structure is identical to the request parameters of the "Add Company Bank Account" endpoint and is not expanded again here.

Child attributes
nature_typestring

Account nature.

currencystring

Currency code.

account_namestring

Account name.

regionstring

Region.

bank_idstring

Bank ID.

bank_accountstring

Bank account number.

bank_namestring

Bank name.

bank_regionstring

Bank region.

swift_codestring

Swift code.

bank_addrstring

Bank address.

simple_namestring

Short name.

deposit_typesarray<object>

Deposit types; array elements {name, id}.

Child attributes
namestring

Name

idobject

Method ID (string or number)

withdraw_typesarray<object>

Withdrawal types; array elements {name, id, support_bank}.

Child attributes
namestring

Name

idobject

Method ID (string or number)

support_bankstring

Supported bank

versionnumber

Always pass 1, for compatibility with the legacy interface.

audit_frontend_resourceobject

Taken from the detail data prior to editing; not a business field.

Responses

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

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