Paid from HSA received refund

I paid $2339 from my Optum HSA account to doctor during my wife’s pregnancy back in July 2023 and that account is not active anymore.

I received a refund check of $1495 on March 21st 2024 with my wife’s name on it. I have Cigna HSA now and I am the primary account holder.

 

Issues here:

-Optum HSA account is not active.

-Check is on my wife’s name

-Cigna HSA is active and if I put the funds as contribution that it will come as contributed fund but this is actually a refund from 2023.

 

Can you please guide me how can I put that money back in my HSA?