I need to merge the duplicate accounts in QuickBooks Online.
First, decide which account you want to keep and which account you like to merge.
Make sure their Account Types and Detail Types are the same as the one you like to remain in the Chart of Accounts. This condition is required to be able to merge accounts. Please refer to this article for more information.