A defendant for whom conditions of release are imposed and who after twenty-four hours from the time of the release hearing, continues to be detained as a result of his inability to meet the conditions of release, may, upon application, have the conditions reviewed by the committing magistrate, the court that imposed them, or a circuit court having jurisdiction of the defendant and the offense charged. Unless the conditions of release are amended and the person is thereupon released, the committing magistrate or court shall set forth in writing the reasons for requiring the conditions imposed.
SDCL 23A-43-8