Stripe · api · fg-0152

Stripe has no API to delete a Price, and deleting its Product then fails

AttributeError: type object 'Price' has no attribute 'delete'

Verified 2026-10-15 · Confirmed by 0 builders · Trust 50/100

Cause

The Prices API supports no deletion, and a Product can only be deleted while it has no prices attached.

Fix

Archive instead: set active to false on the price, and on the product if you want it hidden too.

Apply

await stripe.prices.update(priceId, { active: false });
await stripe.products.update(productId, { active: false });

Affects: Stripe Prices and Products API, all versions through 2026-09-30.endive

Sources

Have your agent know this before it fails

claude mcp add --transport http footgun https://getfootgun.com/api/mcp