Credit cards earn points as long as they are normally consumed at POS machines.
If it is through online consumption or virtual payment, there will be no points.
Different banks have slightly different rules for generating points. Most of the points generated are used to exchange small items. Some banks can offset consumer spending, or they can exchange points for things from cooperative units, such as coffee at Starbucks. According to the number of points and the requirements of the bank, the things that can be exchanged and the places of consumption are different. Specifically, the use of points for eating Qatar Airways is different.