contingency fee

noun

1.
a fee that is payable only if the outcome is successful (as for an attorney's services)