The storyFrom repay + -ment, also equivalent to re- + payment.Etymology from Wiktionary, CC BY-SA 4.0.