Example:
You have a order #1001, total amount is $300, payment method is COD, and full paid with a gift card
1. When you refund WITHIN the admin panel (xxx.myshopify.com/admin), the gift card will be refunded
2. When you refund using the API, the gift card won't be refunded, and it will show that the order has refunded using the COD method
Conclusion: There is no way to refund the gift card using API
Real order FYI:
mizzue.myshopify.com
order id: 213054669
order number: #75146
I have issue an API request with "POST /admin/orders/213054669/cancel.json params: amount=304"
I expect the gift card will be refunded but it won't.
Is there anything I made wrong?