#Jasuno
1 messages · Page 1 of 1 (latest)
Can you share a request id? https://support.stripe.com/questions/finding-the-id-for-an-api-request
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
Im not able to make the request because my linter is saying its required
Oh
Then that seems like a problem with your linter
If you actually attempt to make the request what happens? Can you share a request id?
Well i'm using typeScript so its probably a problem with the type file CustomerListPaymentMethodsParams should be change so type is optional
It is optional: https://github.com/stripe/stripe-node/blob/b68ed1ca7c01f83123ae6ffa7d18630a47f50c8b/types/CustomersResource.d.ts#L701
What version of the node library are you using?
"stripe": "^10.16.0"
Ah
Was made optional later: https://github.com/stripe/stripe-node/blob/e7800b3d5e689e23fece91f89f727af24ddf32a4/CHANGELOG.md#1130---2022-12-08
Need at least 11.3.0
Ahh ok ill update then
Thanks
No problem!
Is there a migration doc for breaking changes?
No migration guide; just the changelog. Updates are incremental for the most part, so there's not often a large version drop requiring an extension migration guide
Recommend just reading through to see if your integration relies on any of the pieces changed. Then, thoroughly test your code for breakage after the update
Thanks that works