In the US most likely all taxi's will accept credit card. Some drivers may tell you it's broken and want you to pay by cash or let them collect payment via an app on their phone (which is generally legit but they do it to avoid paying the extra fees the taxi cab system will gouge them for).