You are wise to cover all bases--especially if you're still in the product development stage. Ruling out specific requirements in state or federal law, your research comes down to contract risks--a topic that can only be discussed with your legal counsel. Work with counsel to draft credit agreements that get you as close as possible to what you want to do, and then service the loans according to the credit agreements.
_________________________
...gone fishing.