yígòng duōshao qián?
How much in total?
可以刷卡吗?
Can I pay by card?
This is a polite question using 可以 (kěyǐ, 'may/can'), the verb 刷卡 (shuākǎ, 'to swipe a card'), and the question particle 吗 (ma).
可以用信用卡吗?
kěyǐ yòng xìnyòngkǎ ma?
Can I use a credit card? — More specific, explicitly mentions credit card.
可以刷银行卡吗?
kěyǐ shuā yínhángkǎ ma?
Can I swipe a bank card? — Clarifies the type of card (bank card).
请问,可以刷卡吗?
qǐngwèn, kěyǐ shuākǎ ma?
Excuse me, can I pay by card?
可以的,这里接受信用卡。
kěyǐ de, zhè lǐ jiēshòu xìnyòngkǎ.
Yes, we accept credit cards here.
Appropriate
Avoid when
You say "可以刷卡吗?" (kěyǐ shuākǎ ma?).
It is pronounced "kěyǐ shuākǎ ma?" with the third tone on kě, third tone on yǐ, first tone on shuā, third tone on kǎ, and neutral tone on ma.
Use it when you want to ask if you can pay by credit or debit card, especially in shops, restaurants, or hotels.
Tomyo
Remember 可以刷卡吗? and hundreds of other phrases with smart reviews, audio and examples.