Hi, I have a question regarding transaction fees for orders with Braintree as a payment gateway. Using GraphQL API I found transaction fees for Shopify Payments under ‘transactions {fees}’ and for PayPal under ‘transactions {receiptJson}’. Where can I find fees for Braintree transactions?
Braintree (and other third-party processors) would be treated differently the Shopify Payments and Paypal, as Shopify does not directly expose their fees. What you could do is query the Order object and then filtering transactions by the payment gateway used, to get all orders processed with Braintree.
Once you have the transaction IDs from Shopify, you can use them to query Braintree’s API for detailed transaction information, including fees.
The Braintree API should have endpoints for transaction details, where you can pass the transaction ID you obtained from Shopify’s API.
Hope this helps,
Thanks Liam!