Selecting this price model allow you to define a fixed fee price, a per-seat price or combine both.
The fee price model allow setting feeAmount, unitAmount or both.
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 15000 USD
| quantity | calculation | result |
|---|
| 10 | 1 x 15000 | 15000 USD |
| 0 | 0 x 15000 | 0 USD |
| 90 | 1 x 15000 | 15000 USD |
| -40 | -1 x 15000 | -15000 USD |
Hint: When creating a price, a request body may be as follows:
...
"priceModel": "fee",
"pricing": {
"usd": {
"unitAmount": 0,
"feeAmount": 15000
}
}
...
Unit amount
By setting the unit amount, quantity will resulting in application of unitAmount x quantity.
Example: setting unitAmount to 4500 USD
| quantity | calculation | result |
|---|
| 10 | 10 x 4500 | 45000 USD |
| 0 | 0 x 4500 | 0 USD |
| 90 | 90 x 4500 | 405000 USD |
| -40 | -40 x 4500 | -180000 USD |
Hint: When creating a price, a request body may be as follows:
...
"priceModel": "fee",
"pricing": {
"usd": {
"unitAmount": 4500,
"feeAmount": 0
}
}
...
Both fee and unit
By setting both parameters, quantity will result in a combined price.
Example: setting unitAmount to 4500 USD and feeAmount to 10000 USD
| quantity | calculation | result |
|---|
| 10 | (10 x 4500) + 10000 | 45000 USD |
| 0 | (0 x 4500) + 0 | 0 USD |
Hint: When creating a price, a request body may be as follows:
...
"priceModel": "fee",
"pricing": {
"usd": {
"unitAmount": 4500,
"feeAmount": 10000
}
}
...
It’s important to note, that a combination will still only produce one (1) invoice line.