Properties missing from Transaction GraphQL

Hi.

We have switched from Rest API to GraphQL.

On the Transaction for order the message, payment_details field is missing. We need this to get the payment reference so we can match against the export from our payment gateways.

message, payment_details is included on the Transaction in Rest API, but not in GraphQL.

How can we get this property?

Hey @naveensoundar

Thanks for raising this! Something like the following query would return the receiptJson.

{
  orders(first: 100) {
    edges {
      node {
        transactions {
          receiptJson
        }
      }
    }
  }
}

However, I note that this is currently only available on the GraphQL Admin aPI unstable Endpoint - admin/api/unstable/graphql.json

Message and details like card brand, exp_year, exp_month, cvv_result, last 4 and more) would be returned in the receiptJson object on OrderTransactions on unstable though.