The recognizance of any prosecutor or witness, in a case of misdemeanor, shall not be for less than one hundred dollars and, in case of a capital felony, shall not be for less than five hundred dollars though in all cases the magistrate shall cause it to be in such amount as the circumstances may seem to require.