Have your say in Community Polls: What was/is your greatest motivation to start your own business?
Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Summing transactions for a payout

Summing transactions for a payout

Benchy
Shopify Partner
1 0 0

Hi, I'm using the Shopify Payments API to pull transactions. I am pulling payouts and then the transactions associated with those payouts. As a method of validation, for each payout, I sum all the associated transactions and subtract the fees (adjustment fees, charge fees, refund fees, reserved funds fees, and retried payout fees) associated with the payout. Generally, this works out to $0, but in some cases, it's off by a small amount that I can't account for.

 

Is my assumption that this should always sum to $0 correct, or am I missing some detail?

 

Thanks

Reply 1 (1)

Liam
Community Manager
3108 344 889

Hi there,

 

It's possible these discrepancies could be due to currency conversion fees or rounding errors?

If you are unable to identify the discrepancy, I would recommend reaching out to Shopify support. They should be able to access more detailed information about your specific account and help you figure out what's going on.

 

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