transform_quantity.round: "up" setting, they round up to 5:
5 packs × $5 = $25
To round down, set transform_quantity.round to "down" in the API request. The 4.5 packs then round down to 4:
4 packs × $5 = $20
In the dashboard, set the Price per package and the Units per package on the charge.
If you configured this Package charge to round down through the API, saving an edit in the dashboard resets rounding to up, even if you only change the price. To keep rounding down, update the charge through the API and include both divide_by and round: "down" in transform_quantity.
It is best for businesses that sell usage in fixed blocks, such as messages, credits or API calls, rather than per unit.


