Open honteng opened 1 month ago
According to this documentation
https://docs.stripe.com/api/setup_intents/object#setup_intent_object-next_action-verify_with_microdeposits-hosted_verification_url
SetupIntent.NextAction type should have verify_with_microdeposits but the latest type definition of NextAction doesn't have the entity
https://github.com/stripe/stripe-js/blob/21c35045fbd9c8412e8660ee14b656cd273cef61/types/api/setup-intents.d.ts#L133
It would be great to fix the type definition.
No response
Hey thanks for reporting this -- I've raised internally to address. In the interim please use ts-ignore to access the necessary properties.
ts-ignore
Hey @brendanm-stripe I would like to work on this issue.
What happened?
According to this documentation
https://docs.stripe.com/api/setup_intents/object#setup_intent_object-next_action-verify_with_microdeposits-hosted_verification_url
SetupIntent.NextAction type should have verify_with_microdeposits but the latest type definition of NextAction doesn't have the entity
https://github.com/stripe/stripe-js/blob/21c35045fbd9c8412e8660ee14b656cd273cef61/types/api/setup-intents.d.ts#L133
It would be great to fix the type definition.
Environment
No response
Reproduction
No response