> Nexum was a debt bondage contract in the early Roman Republic. Within the Roman legal system, it was a form of mancipatio. Though the terms of the contract would vary, essentially a free man pledged himself as a bond slave (nexus) as surety for a loan. He might also hand over his son as collateral. Although the bondsman might be subjected to humiliation and abuse, as a legal citizen he was supposed to be exempt from corporal punishment. Nexum was abolished by the Lex Poetelia Papiria in 326 BC, in part to prevent abuses to the physical integrity of citizens who had fallen into debt bondage.[26]
https://en.m.wikipedia.org/wiki/Debt_bondage