Just launched
We're actively working on new content and improvements to our documentation. We'd love to hear your thoughts, launch quick survey
Paddle Billing

Duplicate `price_id` fields sent in the items list

You're attempting to create a one-time charge for one or more of the same items in the same request.

Error Messageduplicate `price_id`s are not valid when creating a one-time charge for a subscription
Error Codesubscription_charge_duplicate_price_ids
Status Code400

Common causes

  • Prices must be unique in a one-time charge request. You sent the same price_id more than once in the items array.


  • Combine duplicate price_id items into a single item in the array, then retry your request.