Skip to main content
Package price model is another simply yet powerful price model to apply. If you want to apply a fee amount on a range of units. You also have the ability to offer free units. The package price model allow setting feeAmount and a packageQuantity. The packageQuantity is a quantity supporting decimals. The package price model will always round up the packageQuantity.

Fee amount

By setting the fee amount, any quantity which is not 0, will result in application of the feeAmount amount. Example: settings feeAmount to 1500 USD with packageQuantity to 100 A quantity of 305 would apply the following price:
from 1 to 100 (perUnit) = 1500 USD
from 100 to 200 (perUnit) = 1500 USD
from 200 to 300 (perUnit) = 1500 USD
from 300 to 400 (perUnit) = 1500 USD
totals: 6000 USD
Hint: When creating a price, a request body may be as follows:
...
"priceModel": "package",
"pricing": {
    "usd": {
        "feeAmount": 1500,
        "packageQuantity" : 100.0000
    }
}
...
Only one tier per currency is supported for package pricing.