Skip to content
Account Closure and Dormancy

Query Account Closure Conditions

Checks, when the Client opens the account closure page, whether the target account meets the closure conditions, so that the page can list each item the Client must resolve first. A value of true in any of the following fields means that the corresponding condition is not met; do not let the Client submit the closure in that case:

  • Positions or a cash balance remain (has_assets_remaining)
  • Dividends or corporate actions are still pending (frozen_interest.has_interest_amount, frozen_interest.has_corp_action)
  • Trades or asset changes occurred today (has_assets_changed)
  • Bank cards are still linked (has_bank_card_bound)

After all conditions are met, verify the Client's identity first (for example, with an SMS or email verification code), and then call POST /v1/account/close_account to submit the closure.

GEThttps://api.lbkrs.com/v1/account/close_account_validate

Parameters

x-target-aaidstringheaderRequired

The aaid of the target account. The operation checks the closure conditions for this account.

Responses

HTTP 200The request succeeded. The response body contains the result of the “Query Account Closure Conditions” operation.
Standard response envelopecodemessagedata
dataobjectdata structure
has_assets_remainingboolean

Whether positions or a cash balance remain. If true, the Client must close all positions and clear the balance first

frozen_interestobject

Pending dividends and corporate actions to be settled

Child attributes
has_interest_amountboolean

Whether dividend amounts are still pending settlement. If true, wait until the dividends are credited

has_corp_actionboolean

Whether corporate actions are still pending. If true, wait until they are processed

has_assets_changedboolean

Whether trades or asset changes occurred today. If true, the account cannot be closed today

has_bank_card_boundboolean

Whether bank cards are still linked. If true, the Client must unlink all bank cards first

Whale Docs