Literally, “to put one's soul in one's palm”.
שָׂם נַפְשׁוֹ בְּכַפּוֹ • (sám nafshó b'khapó) (pa'al construction)
The verb is conjugated like שָׂם, and נַפְשׁוֹ, כַפּוֹ are inflected according to the agent (subject).