The undertaking must be transmitted by the magistrate to the next district court of the county.
Okla. Stat. tit. 22, § 48