Skip to content
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 #829

Merged
merged 1 commit into from
Mar 4, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Codegen for openapi c9e407e
  • Loading branch information
remi-stripe committed Mar 4, 2020
commit 810756affd0f144ded71152a58388945d7e7d507
3 changes: 1 addition & 2 deletions types/2020-03-02/Checkout/Sessions.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -209,8 +209,7 @@ declare module 'stripe' {
cancel_url: string;

/**
* A list of the types of payment methods (e.g. card) this Checkout
* Session is allowed to accept. The only supported values today are `card` and `ideal`.
* A list of the types of payment methods (e.g., card) this Checkout session can accept.
*/
payment_method_types: Array<SessionCreateParams.PaymentMethodType>;

Expand Down
9 changes: 9 additions & 0 deletions types/2020-03-02/Issuing/Authorizations.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,8 @@ declare module 'stripe' {
| 'card_inactive'
| 'cardholder_inactive'
| 'cardholder_verification_required'
| 'incorrect_cvc'
| 'incorrect_expiry'
| 'insufficient_funds'
| 'not_allowed'
| 'suspected_fraud'
Expand Down Expand Up @@ -272,6 +274,11 @@ declare module 'stripe' {
* Whether the cardholder provided a CVC and if it matched Stripe's record.
*/
cvc_check: VerificationData.CvcCheck;

/**
* Whether the cardholder provided an expiry date and if it matched Stripe's record.
*/
expiry_check: VerificationData.ExpiryCheck;
}

namespace VerificationData {
Expand All @@ -282,6 +289,8 @@ declare module 'stripe' {
type Authentication = 'failure' | 'none' | 'success';

type CvcCheck = 'match' | 'mismatch' | 'not_provided';

type ExpiryCheck = 'match' | 'mismatch' | 'not_provided';
}
}

Expand Down
Loading