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
Shopify Staff
2731 302 783

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