An attorney and counselor at law has power to receive money claimed by his client in an action or proceeding during the pendency thereof or afterwards unless he has been previously discharged by his client, and upon payment thereof, and not otherwise to discharge the claim or acknowledge satisfaction of the judgment.
SDCL 16-18-20