No, you give him $15k
He will then sell the house
You will then buy the house for $35k (that money disappears into the server, no one gets it)
That $35k is the value of the house, when you sell it, you will get that value back
The $15k is just so the player who is selling the house can make some money on it, as Mash said