Refund succeed but not processed with endpoint

Can anyone help me with why my refund is not getting processed?

let refundQuery = mutation refundCreate($input: RefundInput!) { refundCreate(input: $input) { order { id } refund { id } userErrors { field message } } };

let refundVariable = {
input: {
orderId: gid://shopify/Order/${id},
note: “Test refund”,
notify: false,
refundLineItems:

[
{
“lineItemId”: “gid://shopify/LineItem/130378****”,
“quantity”: 1
}
]

,
shipping: {
fullRefund: true,
},
transactions:

{
“amount”: “10.95”,
“gateway”: “gift_card”,
“kind”: “REFUND”,
“parentId”: “gid://shopify/OrderTransaction/681179****”,
“orderId”: “gid://shopify/Order/549413****”
},

},
};

try {
const refundResponse = await fetch(`

${process.env.SHOPIFY_STORE_URL}/admin/api/2025-01/orders/${id}/refunds.json`, {

method: “POST”,
headers: {
“Content-Type”: “application/json”,
“X-Shopify-Access-Token”: accessToken,
},
body: JSON.stringify({
query: refundQuery,
variables: refundVariable,
}),
});

let refundData = await refundResponse.json();

return res.json({
status: “true”,
data: refundData,
});
} catch (err) {
console.error(“Error processing refund:”, err);
return res.status(500).json({
status: “false”,
error: err.message,
});
}