Skip to content

Type issues #2176

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
stevez86 opened this issue Sep 14, 2024 · 3 comments
Closed

Type issues #2176

stevez86 opened this issue Sep 14, 2024 · 3 comments

Comments

@stevez86
Copy link

Is your feature request related to a problem? Please describe.

Some minor issues we identified from the latest API 2024-06-20

I'm not getting these fields in my request and they're not typed as optional

Describe the solution you'd like

improved types

Describe alternatives you've considered

manually extending Stripe types

Additional context

No response

@ramya-stripe
Copy link
Contributor

Thanks for reporting @stevez86

https://docs.stripe.com/api/products/object#product_object-attributes is not appearing as a valid link for me. I don't see any attributes on the Product object. Can you share a screen shot of how that section of the docs as it appears to you?

As for the account.settings.payments.statement_descriptor_prefix and other 2 properties, when I dig into the code, I see them on account.settings.card_payments` instead. Will look into why the docs are saying otherwise and get back to you soon

@mbroshi-stripe
Copy link
Contributor

@stevez86 This is an old issue, but I wanted to follow up. It appears those fields no longer exist in our API. Does this resolve your issue?

@xavdid-stripe
Copy link
Member

Closing out, but feel free to re-open w/ more info if it's still an issue!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants