Visa card is a card issued by an international card organization. Cardholders make purchases through Visa channels, so UnionPay cannot be used with Visa cards.
If there is a UnionPay logo on the face of the Visa card, it means that the card is both a Visa card and a UnionPay card, which means it can be swiped through dual channels, so this card can be swiped with UnionPay.
If the credit card has a UnionPay logo, you can use it. If there is no UnionPay logo, you cannot go through the UnionPay channel. If it is a VISA single currency card or a credit card issued by a foreign country, it cannot be used; if it has the UnionPay logo on it, it will be fine.