In the novel, Katniss never explicitly discovers who directly killed Prim. She later infers that President Snow bore ultimate responsibility for the bombing, though Coin orchestrated the specific attack.
The ambiguity haunts Katniss, contributing to her decision to execute Coin instead of Snow.