No, taxis in Bangkok generally don’t accept credit cards. It is best to carry an amount of local currency in small denominations as taxi drivers don’t carry a lot of change.