Contents

forgetBankAccount#

Remove a known bank account.

Request:

The request must be a ForgetBankAccountRequest object.

Response:

On success, the result is an empty object (EmptyObject).

Side effects:

Removes the bank account from the wallet’s database. A bank-account-change notification is emitted.

Expected errors:

The caller can handle the following errors inline: WALLET_BANK_ACCOUNT_NOT_FOUND.

interface ForgetBankAccountRequest {
  bankAccountId: string;
}