people would deposit their money with him ; he would give them a receipt for the gold in the form of a note promising to pay them back on demand , but instead of saving the money for them , he would spend it , eventually using money from one person to pay another .