§ 39.14 BAIL; TEMPORARY BONDS.
   (A)   Whenever a resident of the city is arrested for a violation of any ordinance by a police officer of the city, the officer shall immediately release the person if he or she acknowledges receipt of a citation by signing it, unless it reasonably appears to the officer that the person may cause injury to himself, herself or others, or damage to property, if released, or if it reasonably appears that the person will not appear in response to the citation. If the person fails to appear in response to the citation, a warrant shall be issued for his or her arrest and his or her appearance in Court shall be compelled.
   (B)   Whenever a resident of the city is arrested by a police officer of the city for the violation of any ordinance, and is not released by being permitted to sign a citation as provided hereinabove, the resident shall be admitted to bail either before or after arraignment or released on his or her own recognizance.
   (C)   Whenever a non-resident of the city is arrested by a police officer of the city for a violation other than a traffic violation, the defendant shall be eligible to be admitted to bail either before or after arraignment.
   (D)   The city may require any person who is arrested by a police officer of the city for a traffic violation to comply with statutory procedures for state traffic violations, with respect to the release of the arrested person. The following methods of posting bail shall apply:
      (1)   Posting cash bail, in exchange for a receipt therefore, issued by the arresting officer;
      (2)   Depositing with the arresting officer a “guaranteed arrest bond certificate”; or
      (3)   Depositing with the arresting officer a valid motor vehicle operator’s license, in exchange for a receipt therefor, issued by the arresting officer, which shall be recognized as an operator’s license and shall authorize the person’s operation of a motor vehicle to the date of his or her hearing. The date shall not exceed 20 days from the date of arrest.
   (E)   The amount and any conditions of bail granted under this section shall be determined by the Municipal Judge, who shall prescribe rules for the receipt of bail and for release by personal recognizance. In the event of arrests at night, other emergencies, or when the Municipal Judge is not available, the Chief of Police or his or her designated representative shall be authorized by the Municipal Judge, under conditions as shall be prescribed by the Judge, to accept a temporary cash bond in a sufficient amount to secure the appearance of the accused, but in no event shall the cash bond be more than the allowable maximum fine for each offense charged. The Chief of Police or his or her designated representative is authorized, subject to the conditions as shall be prescribed by the Municipal Judge, to release a resident of the city on his or her own recognizance.
(11 O.S. § 27-117) (2002 Code, § 39.14)