You will get your capital and interest back at the end of the loan term, when the borrower has repaid the loan. This enables the borrower to have the cash flow to complete the project.
If the borrower part repays early, you will receive a calculated partial repayment of your original pledge amount.