If you paid your order in full with Gift Card, then the refunded money will go back to the Gift Card. If only part of your order was paid by Gift Card, then the refund will be redistributed to the Gift Card first, up to the initial amount, and only then to other payment options you used.