Kan. Stat. Ann. § 19-1909
The cost of keeping a defendant imprisoned by civil process shall be taxed as costs in the action at the rate of one dollar and fifty cents ($1.50) per day.
G.S. 1868, ch. 53, § 9; R.S. 1923, 19-1909; L. 1963, ch. 173, § 1; June 30.