Connect Clawsmith to your coding agent. Ship products like crazy.Unlimited usage during betaGet API Key โ†’
โ† Back to dashboard
clawsmith.com/signal/stripe-price-api-no-delete-test-account-cleanup
โš  IssueWide Opendev_tool_cliLive

Stripe Price objects cannot be deleted via API leaving test accounts permanently cluttered

Stripe's Prices API has no delete method. Developers who run webhook tests, fixture runs, or local development through the Stripe CLI accumulate hundreds or thousands of orphaned test-mode Price and Product objects with no way to remove them programmatically. Stripe's own team confirmed on the GitHub issue that deletion is intentionally not supported and the recommended alternative is archiving (`active: false`). However archived prices still block product deletion (a product with archived prices cannot be deleted), and the Stripe CLI creates new Price/Product objects on every fixture run, making the test dashboard unusable over time. The Stripe App Marketplace has a GUI-based 'Bulk Data Remover' but it requires installing a Stripe App and does not distinguish between CLI-created test garbage and manually-created test fixtures. A standalone dev CLI tool that manages Stripe test account cleanup -- bulk-archiving prices cascade-safe, deactivating products in dependency order, and tracking which objects were created by CI/fixture runs -- has no credible third-party competitor.

Product Idea from this Signal

A CLI tool that bulk-archives and tags Stripe test prices and products to give developers a clean working view of their test account without nuking everything

132 โ–ฒ

Stripe's API marks Price objects as permanent โ€” once used in a transaction they cannot be deleted, only archived. In active development teams, a single sprint of webhook testing, fixture runs, or integration prototyping can accumulate hundreds of orphaned test prices and products. Stripe's only first-party cleanup option is a dashboard button that deletes ALL test data โ€” a destructive all-or-nothing nuke that is often unusable when some test fixtures need to persist. This CLI tool fills the gap: it connects to a Stripe test-mode account, lists every price and product, lets the developer bulk-archive by tag, prefix, date range, or zero-usage status, applies a label (e.g. 'fixture-2024-q2', 'dev-lliu-run-3') for auditability, and then renders a clean filtered view of what remains active โ€” so the developer's working set stays manageable without losing data they care about.

stripedev-toolsclitest-databillingcleanupdeveloper-experience
Competitive51 leadsView Opportunity โ†’

Score Breakdown

GitHub
132

Gap Assessment

Wide OpenNo dedicated solution exists

stripe/stripe-python#658 has 39 reactions and 84 comments (123 total), is OPEN, and Stripe explicitly stated deletion will not be added. stripe/stripe-cli#1092 (still open) confirms developers hit this daily. The Stripe App Marketplace 'Bulk Data Remover' is a GUI app within Stripe's ecosystem -- not a standalone CLI or CI-compatible tool. No third-party dev CLI for Stripe test account management was found.