It’s actually a biblical concept. Restitution, times two or four or so depending on the nature of the offense.
Correct but usually you get a local bet din (court of two or three Jewish men gathered to judge a matter) to hear the matter and render a just verdict.