diff --git a/types/2020-08-27/Charges.d.ts b/types/2020-08-27/Charges.d.ts index 4983971526..276a766c9d 100644 --- a/types/2020-08-27/Charges.d.ts +++ b/types/2020-08-27/Charges.d.ts @@ -1244,6 +1244,11 @@ declare module 'stripe' { */ network: string | null; + /** + * EMV tag 5F2D. Preferred languages specified by the integrated circuit chip. + */ + preferred_locales: Array | null; + /** * How card details were read in this transaction. */ diff --git a/types/2020-08-27/PaymentIntents.d.ts b/types/2020-08-27/PaymentIntents.d.ts index 6b710a4e4c..00cd03de68 100644 --- a/types/2020-08-27/PaymentIntents.d.ts +++ b/types/2020-08-27/PaymentIntents.d.ts @@ -398,6 +398,8 @@ declare module 'stripe' { oxxo?: PaymentMethodOptions.Oxxo; + p24?: PaymentMethodOptions.P24; + sofort?: PaymentMethodOptions.Sofort; } @@ -512,6 +514,8 @@ declare module 'stripe' { expires_after_days: number; } + interface P24 {} + interface Sofort { /** * Preferred language of the SOFORT authorization page that the customer is redirected to. @@ -1115,6 +1119,11 @@ declare module 'stripe' { */ oxxo?: Stripe.Emptyable; + /** + * If this is a `p24` PaymentMethod, this sub-hash contains details about the Przelewy24 payment method options. + */ + p24?: Stripe.Emptyable; + /** * If this is a `sofort` PaymentMethod, this sub-hash contains details about the SOFORT payment method options. */ @@ -1224,6 +1233,8 @@ declare module 'stripe' { expires_after_days?: number; } + interface P24 {} + interface Sofort { /** * Language shown to the payer on redirect. @@ -1739,6 +1750,11 @@ declare module 'stripe' { */ oxxo?: Stripe.Emptyable; + /** + * If this is a `p24` PaymentMethod, this sub-hash contains details about the Przelewy24 payment method options. + */ + p24?: Stripe.Emptyable; + /** * If this is a `sofort` PaymentMethod, this sub-hash contains details about the SOFORT payment method options. */ @@ -1848,6 +1864,8 @@ declare module 'stripe' { expires_after_days?: number; } + interface P24 {} + interface Sofort { /** * Language shown to the payer on redirect. @@ -2477,6 +2495,11 @@ declare module 'stripe' { */ oxxo?: Stripe.Emptyable; + /** + * If this is a `p24` PaymentMethod, this sub-hash contains details about the Przelewy24 payment method options. + */ + p24?: Stripe.Emptyable; + /** * If this is a `sofort` PaymentMethod, this sub-hash contains details about the SOFORT payment method options. */ @@ -2586,6 +2609,8 @@ declare module 'stripe' { expires_after_days?: number; } + interface P24 {} + interface Sofort { /** * Language shown to the payer on redirect.