Stripe adds payment behavior control for subscription item deletion
API Enhancement for Subscription Item Deletion
Stripe has added a new payment_behavior parameter to the subscription item deletion endpoint, giving developers greater control over how payment is handled when removing items from subscriptions.
What Changed
New Parameter: The payment_behavior parameter now accepts subscription item deletions in API version 2026-02-25.clover. When set to pending_if_incomplete, the API stages the deletion as a pending update if the change would generate an invoice requiring payment, rather than immediately removing the item.
Key Benefits
- Consistency: Aligns subscription item deletion with existing
payment_behavioroptions for creating and modifying subscription items - Payment Safety: Prevents items from being removed before payment is confirmed, avoiding invoice inconsistencies
- Workflow Control: Maintains predictable subscription management across all operations
Upgrade Path
To use this feature, developers must:
- View their current API version in Stripe Workbench
- Upgrade relevant SDKs (Ruby, Python, PHP, Java, Node.js, Go, .NET)
- Update webhook endpoint API versions
- Test integrations thoroughly in sandbox before production upgrade
- Finalize the upgrade in Workbench (with 72-hour rollback window available)
SDKs across all major languages have been updated to support the new parameter.