Partial payment with Cash and Card in Webhook Data

Hey Shopify Community

I am making an economy report using the data received from the Orders Webhook. However a problem arises when a customer pays in card and cash, as i can´t derive from the data received by the webhook what amount is received by cash and what amount is received on card.

I need to be able to distinguish amount received in each individual transaction.

Does anyone have any solutions to this?

You should use the transactions web hooks to determine the different payment amounts on an order.