#jasonkuhrt-subscriptions
1 messages · Page 1 of 1 (latest)
hi there! as far as I know that's not possible and it's just a limitation of how our metered billing works, but I can try to confirm
Confirmation would be great thanks
Hello. Taking over for karllekko here as they have to step out. Unfortunately you can't delete a subscription item on a metered plan without clearing all the associated usage records as well. To make sure the customer is billed up to that point, you could look into creating an invoice item for the amount they've used: https://stripe.com/docs/api/invoiceitems/create.
You could use this endpoint to see usage thus far: https://stripe.com/docs/api/usage_records/subscription_item_summary_list
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
thanks for confirming!