Refunds aren’t tied to a card number, they’re tied to a transaction ID. If you bought something, lost your card and got a new one with a different number, and then returned the item they would still be able to refund the money right back to your account.