What does ‘comeuppance’ mean?

( n ) Just reward. I hope Wimplesnatch gets his comeuppance for cheating all those people.