would a loan be considered accounts payable
A loan payable differs from accounts payable in that accounts payable do not charge interest (unless payment is late), and are typically based on goods or services acquired. A loan payable charges interest, and is usually based on the earlier receipt of a certain sum of cash from a lender. As an example of a loan payable, a business obtains a loan of $100,000 from a third party lender and records it with a debit to the cash account and a credit to the loan payable account.