-
Notifications
You must be signed in to change notification settings - Fork 755
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 #1053
Multiple API changes #1053
Conversation
* A single-use `cvc_update` Token that represents a card CVC value. When provided, the CVC value will be verified during the card payment attempt. This parameter can only be provided during confirmation. | ||
*/ | ||
cvc_token?: 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.
This is what's really new
@@ -205,12 +205,12 @@ declare module 'stripe' { | |||
/** | |||
* Inventory type. Possible values are `finite`, `bucket` (not quantified), and `infinite`. | |||
*/ | |||
type?: Inventory.Type; | |||
type: Inventory.Type; |
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 new as it's now required in the types (the API always required it but it didn't reflect properly)
/** | ||
* The updated CVC value this token will represent. | ||
*/ | ||
cvc_update?: TokenCreateParams.CvcUpdate; |
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 new
* The CVC value, in string form. | ||
*/ | ||
cvc: 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.
This is new
Multiple API changes:
Stripe.Emptyable
as a typepayment_method_options[card][cvc_token]
onPaymentIntent
cvc_update[cvc]
onToken
creationCodegen for openapi e215279
r? @richardm-stripe
cc @stripe/api-libraries