in return for the acquisition of these vast and valuable lands , the united states agreed to not only the basic price of $ 20,000,000 , but to additionally pay off about $ 3,500,000 in debts that mexico owed to some u.s. citizens .