If your order is marked as refunded and a reward discount was used, the points used for this discount will be returned to your account. If you receive points for your purchase and then return the products for a refund, your points will be reversed once the refund is processed, so those points will not stay in your account.