He paid the money back to quit scores with his friend.
quit scores
idiomTo settle or balance accounts or differences; to make compensation.
After years of arguments, they finally apologized to each other to quit scores and move forward.
The rivals agreed to a final settlement, hoping that this last exchange would effectively quit scores between their two families once and for all.