i used my credit card to pay for a work and expected the company i work for to pay me back.
but the company i work for prefer that i get refund on my card and they will pay upwork directly (instead of paying me) with their card.
how that is possible to fix?
You can connect your company card as a billing method and use your company method to pay.
Regarding the current payment, you can request a refund on your contract or communicate with your freelancer so that they can issue a refund from their end. Thank you.