this is not a contract, it is his promise to repay you.
https://www.rocketlawyer.com/sem/promissory-note