Discussing APIs and development related to customers, discounts, and order management.
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?
Solved! Go to the solution
This is an accepted solution.
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,
Liam | Developer Advocate @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog
This is an accepted solution.
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,
Liam | Developer Advocate @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog
Thanks Liam!