Problem
You see inactive bank accounts in the dropdown list when making payments and you want to remove these accounts.
Solution
Go to Settings > Accounting > General Ledger Accounts.
Find the accounts you want to deactivate and click Actions > Deactivate.
Open a bill and make sure the accounts are no longer showing.