GraphQL Mutation Issue: Problem with the refundCreate request

I use the refundCreate mutation and get the following error:
Currency Currency must match parent transaction CHF.

My problem is that the RefundInput > transaction does not allow me to define a currency, so I feel lost on how to solve this issue. Can someone help me here?

Documentation on “RefundInput!”:

Response Error:

"data": {
        "refundCreate": {
            "userErrors": [
                {
                    "field": null,
                    "message": "Currency Currency must match parent transaction CHF"
                }
            ],
            "refund": null
        }
    }, ...

GraphQL: 2025-01

Transaction:

{
    "orderId": "gid://shopify/Order/xxx",
    "gateway": "paypal",
    "kind": "REFUND",
    "amount": "73.0",
    "parentId": "gid://shopify/OrderTransaction/xxx"
}

I double checked it, it is the right parentId (with CHF as currency presentmentMoney and EUR shopMoney).

Hi Jonas,

Just to confirm - you’re selecting CHF as the currency here:


On the same mutation are you also including and using CHF for :

presentmentMoney {
          amount
          currencyCode
        }

If you could post the mutation with any sensitive info removed, that would be helpful too.