It shall be unlawful for any person to refuse to pay the legal fare of any vehicle having a valid driver's permit under this article after having hired the same, and it shall be unlawful for any person to hire any taxicab with the intent to defraud the person from whom it is hired of the value of such service.