Your question is very interesting, hehe. . .
Only when you swipe your card or withdraw cash will you get points. Some cards don't get points. Moreover, some credit card sales expenses are not counted as points (such as buying a house and a car). )
I've never heard of repayment with points. If you see the information written in a bank, it is possible, but if you have heard of it, don't believe it.