2688. A hypothec granted to secure payment of a sum of money is valid even if, when it is granted, the debtor has not received the prestation in consideration of which he has undertaken the obligation or has received only part of it.
This rule is applicable in particular to lines of credit and the issue of bonds or other titles of indebtedness.