online payment by credit card is also considered as swiping, but it is different from consumption in physical stores. The main difference is that online consumption has no points.
if the cardholder wants to avoid the annual fee through online payment, most banks will count it as the number of purchases.
however, the regulations of different banks are different, with some exceptions.
please consult your local credit card bank for details.