Adds payment behavior control for subscription item deletion
What’s new
You can specify the payment_behavior parameter when you delete a subscription item. Setting payment_ stages the deletion as a pending update when the change would generate an invoice that requires payment, rather than deleting the item immediately.
Impact
This new approach maintains consistency in your subscription management workflow and prevents items from being removed before payment is confirmed. Further, this change aligns subscription item deletion with the existing pending update behavior available when adding and modifying subscription items. Previously, you could only delete subscription items immediately, which could create inconsistencies in how subscription changes are handled across different operations.