Section 277(3) in Bharatiya Nagarik Suraksha Sanhita, 2023
(3)The Magistrate may, before summoning any witness on such application, require that the reasonable expenses of the witness incurred in attending for the purposes of the trial be deposited in Court.[Similar to Section 254 from Old CrPC-Also Refer]