When you get a replacement credit or debit card, any refund that would have gone to the original card will be routed to the replacement card. It happens automatically. It might cause a slight delay, but it's nothing to worry about. Although it's a different card, it's the same actual account. You will get the money back.