From a0120360b44dfb51c415b73996732090dab10108 Mon Sep 17 00:00:00 2001 From: Richard Marmorstein Date: Wed, 5 May 2021 17:15:55 -0400 Subject: [PATCH] Codegen for openapi ce03b00 --- types/2020-08-27/Accounts.d.ts | 4 ++-- types/2020-08-27/Radar/EarlyFraudWarnings.d.ts | 10 ++++++++++ 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/types/2020-08-27/Accounts.d.ts b/types/2020-08-27/Accounts.d.ts index cfec5cea43..7121785a9f 100644 --- a/types/2020-08-27/Accounts.d.ts +++ b/types/2020-08-27/Accounts.d.ts @@ -1767,7 +1767,7 @@ declare module 'stripe' { interface CardIssuing { /** - * Details on the account's acceptance of the [Stripe Issuing Terms and Disclosures](stripe.com/docs/issuing/connect/tos_acceptance). + * Details on the account's acceptance of the [Stripe Issuing Terms and Disclosures](https://stripe.com/docs/issuing/connect/tos_acceptance). */ tos_acceptance?: CardIssuing.TosAcceptance; } @@ -2824,7 +2824,7 @@ declare module 'stripe' { interface CardIssuing { /** - * Details on the account's acceptance of the [Stripe Issuing Terms and Disclosures](stripe.com/docs/issuing/connect/tos_acceptance). + * Details on the account's acceptance of the [Stripe Issuing Terms and Disclosures](https://stripe.com/docs/issuing/connect/tos_acceptance). */ tos_acceptance?: CardIssuing.TosAcceptance; } diff --git a/types/2020-08-27/Radar/EarlyFraudWarnings.d.ts b/types/2020-08-27/Radar/EarlyFraudWarnings.d.ts index 297547caf2..af2c661f3d 100644 --- a/types/2020-08-27/Radar/EarlyFraudWarnings.d.ts +++ b/types/2020-08-27/Radar/EarlyFraudWarnings.d.ts @@ -41,6 +41,11 @@ declare module 'stripe' { * Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode. */ livemode: boolean; + + /** + * ID of the Payment Intent this early fraud warning is for, optionally expanded. + */ + payment_intent?: string | Stripe.PaymentIntent; } interface EarlyFraudWarningRetrieveParams { @@ -60,6 +65,11 @@ declare module 'stripe' { * Specifies which fields in the response should be expanded. */ expand?: Array; + + /** + * Only return early fraud warnings for charges that were created by the PaymentIntent specified by this PaymentIntent ID. + */ + payment_intent?: string; } class EarlyFraudWarningsResource {