My question involves criminal law for the state of:

I think I already know the answer - I bailed out my ex (who knows how much this may or may not bite me in the ass later) and had to go up to county court to pay it. The lady there did the paperwork and I swear she said as long as he comes to his next appearance in two weeks, I'll get all but a percentage back which is for bond costs. But everything I've read says it's not returned until the case is completed (and yes if he makes all appearances which he will). I went in with the assumption it was when the case finishes but I swear she said x amount on the date of his next appearance. Wondering if anyone has paid bail or had experience with it.