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

Can't send both a price ID and a price object

A line item includes both a price ID and an inline price object, but only one is allowed.

Example response
{
"error": {
"type": "request_error",
"code": "transaction_both_price_id_and_object_found",
"detail": "Transaction line items cannot have both Price ID and Price object present",
"documentation_url": "https://developer.paddle.com/errors/transactions/transaction_both_price_id_and_object_found"
},
"meta": {
"request_id": "00000000-0000-0000-0000-000000000000"
}
}

Details

Status code
400
Error code
transaction_both_price_id_and_object_found
Error message
Transaction line items cannot have both Price ID and Price object present

Common causes

  • A line item has both a price_id and an inline price object. A line item can reference an existing price or define a new one, but not both.

Troubleshooting

  • For each line item, send either a price_id or a price object, not both.

Was this page helpful?