Closed jlengstorf closed 4 months ago
Hey @jlengstorf! The top-level plan
and quantity
properties on Subscription have been deprecated for many years. We recommend using items.data[0][price]
instead. See my long explanation on a past issue here: https://github.com/stripe/stripe-node/issues/1794
Describe the bug
The
Stripe.Subscription
type does not match the data returned fromstripe.subscriptions.retrieve()
.To Reproduce
Expected behavior
The
plan
data is present, so the type should reflect that.Code snippets
No response
OS
macOS
Node version
Node v22.1.0
Library version
stripe-node@^16.2.0
API version
n/a
Additional context
No response