Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

deepu07's avatar
Level 11

How to delete price of product in Stripe by using api call

Hi Mates, I have a product with a price. I would like to delete the price and product by calling an API. I didn't find any resource on how to delete a price from the product. any help that would be great. Thanks!

0 likes
4 replies
shanebarron's avatar

I'm having the same issue. Have you found a resolution? I'm still looking around, and if I find an answer first, I'll let you know.

deepu07's avatar
Level 11

@shanebarron yeah so you can't delete the price which is attached any active user/subscription. but you can archive it if you want.

shanebarron's avatar

Sorry for the late reply. I didn't know you replied. Thanks for the help. It worked for me.

igaster's avatar

As suggested here you can only set a price to inactive through Stripe API (although you are still able to delete it through the dashboard). It seems that Stripe favours soft-deleting for their new APIs.

Please or to participate in this conversation.