Square things up with (someone)

To pay someone what one owes him or her.

I squared things up with my friend and gave him the money that I owed him.