If you have a card that's no longer active and you're expecting a refund to that card, the refund will still be received successfully.
The refund will not be allocated directly back to your closed card. It will be credited to the main account balance, originally linked to your closed card.
The transaction will be recorded in the system and appear as an expense with a negative amount, linked to the closed card.