In order to have a “purchase-money obligation,” you must have an obligation of the owner that is incurred as all or part of the price of the collateral. It is your burden to prove that the value you gave the owner/debtor was used to acquire the equipment. (9-103)
Your example was not a clean neat fit, but is probably OK.