How to retrieve the transaction fee for an order paid using "Shop Pay Installments"

I couldn’t retrieve the “Shop Pay Installments” payment method transaction fee of an order using OrderTransaction - GraphQL Admin.
Please help me.

Can you share the query you were using?

API Endpoint: https://westridge-outdoors.myshopify.com/admin/api/2023-10/graphql.json
Request Payload:

{
    "query": "query { node(id: \"gid://shopify/OrderTransaction/XXXXXXXXXXX\") { id ... on OrderTransaction { fees { type rate rateName } order { id } status paymentDetails { ... on ShopPayInstallmentsPaymentDetails { paymentMethodName } } } } }"
}

Response: You can see empty fee in the response provided below.

{
    "data": {
        "node": {
            "id": "gid://shopify/OrderTransaction/XXXXXXXXXX",
            "fees": [],
            "order": {
                "id": "gid://shopify/Order/XXXXXXXX"
            },
            "status": "SUCCESS",
            "paymentDetails": {
                "paymentMethodName": "shop_pay_installments"
            }
        }
    },
    "extensions": {
        "cost": {
            "requestedQueryCost": 4,
            "actualQueryCost": 4,
            "throttleStatus": {
                "maximumAvailable": 20000.0,
                "currentlyAvailable": 19996,
                "restoreRate": 1000.0
            }
        }
    }
}

@Liam-Shopify I’m getting the same issue. I’m querying the [[transactions]][[fees]] on the Graphql Order object for one specific order that paid with Shop Pay Installments and the transactions array is empty.