Join usage-based billing early access (beta)
Usage-based billing is in early access (beta). Read how it works, then apply to join. We'll reach out if you meet the program requirements.
{ "error": { "type": "request_error", "code": "transaction_price_different_allowance_grant_rollover", "detail": "prices on this transaction grant usage balance unit ubu_01kw8ta2j8x5t7q4v9m1kd6phz with different grant.rollover values", "documentation_url": "https://developer.paddle.com/errors/transactions/transaction_price_different_allowance_grant_rollover" }, "meta": { "request_id": "00000000-0000-0000-0000-000000000000" }}Details
- Status code
- 400
- Error code
transaction_price_different_allowance_grant_rollover- Error message
- prices on this transaction grant usage balance unit %s with different grant.rollover values
Common causes
- Two or more items on the transaction have prices with an allowance for the same
usage_balance_unit_id, and those allowances have differentgrant.rollovervalues. On the subscription this transaction creates, each usage balance unit has one rollover. Rollovers match only when one converts exactly into the other, so1 yearand12 monthsmatch but4 weeksand1 monthdon't.
Troubleshooting
- Set the same
grant.rolloveron every allowance for that usage balance unit across the prices on the transaction, then try your request again. - If you meant the same length, use the same unit on every price, for example
1 monthrather than4 weeks. - If an add-on's credit should last a different time, give it its own usage balance unit.