Okla. Stat. tit. 12, § 12-935
Deposit insufficient - Apportionment to claimants
Whenever the amount of money deposited as security for costs in
any such action or proceeding, or whenever the amount collected
therein shall be insufficient, at the termination of the action or
proceeding, to pay all the costs in such action or proceeding, then
the amount so deposited or collected shall be apportioned ratably
among the different officers and persons entitled thereto in the
same proportion that the amount due each officer or person bears to
the whole amount so deposited or collected.