The line item wise discount API converts all our discounts amounts with decimals to whole numbers. It is impractical for merchants. Hence wrong discount amounts gets sent to Clover and therefore applied to line items. This is the API we are using - https://docs.clover.com/build/web-app.... Please help. There is no option for us but to send convenience, delivery fees as line items & these can have a discount in the case of our merchants.
We had earlier tried using serviceCharge to send delivery and convenience fee but again serviceCharge didn't accept percentages with decimals and only accepted the whole number part of these charges. That is not practical from a merchant's point of view.