If you return a order for a refund, the points you earned will automatically be removed. If you returns the order partially, points will be removed partially as well.