-
Notifications
You must be signed in to change notification settings - Fork 751
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
Multiple API changes #899
Multiple API changes #899
Conversation
@@ -14,6 +14,8 @@ declare module 'stripe' { | |||
*/ | |||
object: 'source_mandate_notification'; | |||
|
|||
acss_debit?: SourceMandateNotification.AcssDebit; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is in the spec for legacy reason even though it shouldn't be and fixing it is "too hard" so let's just ignore this part
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
one open question, the rest lgtm
@@ -667,7 +667,7 @@ declare module 'stripe' { | |||
/** | |||
* The ID of the product that this price will belong to. | |||
*/ | |||
product: string; | |||
product?: string; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this true? I'm seeing it as required still here: https://site-admin.stripe.com/docs/api/checkout/sessions/create#create_checkout_session-line_items-price_data-product
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah optional in the spec is finicky and it's really annoying but it's because they are preparing some beta where this is optional because you can pass product_data
instead
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Multiple API changes:
ae_trn
,cl_tin
andsa_vat
astype
onTaxId
result
andresult_reason
insidepayment_method_details[card][three_d_secure]
onCharge
Codegen for openapi cd33b40
r? @cjavilla-stripe
cc @stripe/api-libraries