Generally, it can be brushed.
The ticket window will display a sign indicating that the card can be swiped.
For example, VISA/MASTER/UnionPay/JCB, etc. As long as your bank card has any of these logos on it and the window shows it. Just brush it.
Let me tell you something simple and clear: if you have a credit card from mainland China, you can use any one. That's clear enough.
If your card is from China Merchants Bank, it must have the UnionPay logo, which tells you that it can be used. And when you go to buy tickets, remember to tell the beauty selling the tickets to let her use the UnionPay channel to pay RMB. Otherwise, if you use VISA or MASTER, it will be settled in US dollars, and it will be relatively expensive due to the exchange rate difference.