Of cause it is wrong. It would be more wrong when you process the credit when you are not even the Merchant's Account owner.
Do you know where the money is transfering to when passenger pays you the fare by a credit card? If it goes to the cab company's account, it would be like you cash your pay-check from a "currency exchange".