For AI agents and LLMs: a structured documentation index is available at /llms.txt. Every page has a Markdown sibling — append .md to any URL. To search these docs, send a GET request to https://paddle-docs-retrieval.kapa-paddle.workers.dev/?q=<question> with a URL-encoded question. No authentication needed.

Skip to content
Paddle Docs home

Allowance rollovers differ for one usage balance unit

Prices on one transaction that grant the same usage balance unit must have the same `grant.rollover`.

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.

Example response
{
"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 different grant.rollover values. On the subscription this transaction creates, each usage balance unit has one rollover. Rollovers match only when one converts exactly into the other, so 1 year and 12 months match but 4 weeks and 1 month don't.

Troubleshooting

  • Set the same grant.rollover on 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 month rather than 4 weeks.
  • If an add-on's credit should last a different time, give it its own usage balance unit.

Was this page helpful?