contingent fee
noun
a fee paid to a lawyer conducting a suit, especially a suit for damages, in the event that the suit is successful and generally based on a percentage of the sum recovered.
Also called
contingency fee.