The circuit court or the judge thereof in vacation is hereby authorized and empowered to allow all necessary and proper expenses to any person or persons acting under a requisition of the Governor, or acting without a requisition in cases where the person to be returned has waived extradition in writing, who may travel out of this state for the purpose of identifying or assisting in any proper and necessary manner in the return to this state of a person charged with felony.
Such expenses may be allowed only upon a petition to said court or judge filed by the district attorney, setting out the necessity for the expenditure, an estimate of the probable amount to be spent, the name of the person charged with felony, the crime with which such person is charged, and the place to which the proposed trip will be made. If, upon the hearing of said petition, the circuit court or judge is satisfied of the necessity of the expenditure, an order authorizing the same may be entered to that effect; and thereafter, upon sworn itemized statement of such expenses, the court or judge shall, if such expenses are reasonable and proper, enter an order allowing the same, which order, upon presentation to the board of supervisors of the county in which such person is charged with felony, shall be allowed by said board.