Credit card refund can offset the repayment. If the refund is made before the sunrise of the bill, the refund funds will naturally directly offset the amount previously consumed. If all of them are offset, the customer will not need to repay.