diff --git a/types/2020-08-27/Charges.d.ts b/types/2020-08-27/Charges.d.ts
index af730deae3..bb2fa18d45 100644
--- a/types/2020-08-27/Charges.d.ts
+++ b/types/2020-08-27/Charges.d.ts
@@ -230,7 +230,7 @@ declare module 'stripe' {
/**
* The status of the payment is either `succeeded`, `pending`, or `failed`.
*/
- status: string;
+ status: Charge.Status;
/**
* ID of the transfer to the `destination` account (only applicable if the charge was created using the `destination` parameter).
@@ -1641,6 +1641,8 @@ declare module 'stripe' {
tracking_number?: string | null;
}
+ type Status = 'failed' | 'pending' | 'succeeded';
+
interface TransferData {
/**
* The amount transferred to the destination account, if specified. By default, the entire charge amount is transferred to the destination account.
diff --git a/types/2020-08-27/PaymentIntents.d.ts b/types/2020-08-27/PaymentIntents.d.ts
index 103d438907..3d2007023f 100644
--- a/types/2020-08-27/PaymentIntents.d.ts
+++ b/types/2020-08-27/PaymentIntents.d.ts
@@ -462,6 +462,16 @@ declare module 'stripe' {
* The base64 image data for a pre-generated QR code
*/
image_data_url: string;
+
+ /**
+ * The image_url_png string used to render QR code, can be used as
+ */
+ image_url_png: string;
+
+ /**
+ * The image_url_svg string used to render QR code, can be used as
+ */
+ image_url_svg: string;
}
interface WechatPayRedirectToAndroidApp {
@@ -518,6 +528,8 @@ declare module 'stripe' {
au_becs_debit?: PaymentMethodOptions.AuBecsDebit;
+ bacs_debit?: PaymentMethodOptions.BacsDebit;
+
bancontact?: PaymentMethodOptions.Bancontact;
boleto?: PaymentMethodOptions.Boleto;
@@ -526,6 +538,8 @@ declare module 'stripe' {
card_present?: PaymentMethodOptions.CardPresent;
+ eps?: PaymentMethodOptions.Eps;
+
fpx?: PaymentMethodOptions.Fpx;
giropay?: PaymentMethodOptions.Giropay;
@@ -603,6 +617,8 @@ declare module 'stripe' {
interface AuBecsDebit {}
+ interface BacsDebit {}
+
interface Bancontact {
/**
* Preferred language of the Bancontact authorization page that the customer is redirected to.
@@ -724,6 +740,8 @@ declare module 'stripe' {
interface CardPresent {}
+ interface Eps {}
+
interface Fpx {}
interface Giropay {}
@@ -1506,6 +1524,11 @@ declare module 'stripe' {
*/
au_becs_debit?: Stripe.Emptyable;
+ /**
+ * If this is a `bacs_debit` PaymentMethod, this sub-hash contains details about the BACS Debit payment method options.
+ */
+ bacs_debit?: Stripe.Emptyable;
+
/**
* If this is a `bancontact` PaymentMethod, this sub-hash contains details about the Bancontact payment method options.
*/
@@ -1526,6 +1549,11 @@ declare module 'stripe' {
*/
card_present?: Stripe.Emptyable;
+ /**
+ * If this is a `eps` PaymentMethod, this sub-hash contains details about the EPS payment method options.
+ */
+ eps?: Stripe.Emptyable;
+
/**
* If this is a `fpx` PaymentMethod, this sub-hash contains details about the FPX payment method options.
*/
@@ -1641,6 +1669,8 @@ declare module 'stripe' {
interface AuBecsDebit {}
+ interface BacsDebit {}
+
interface Bancontact {
/**
* Preferred language of the Bancontact authorization page that the customer is redirected to.
@@ -1756,6 +1786,8 @@ declare module 'stripe' {
interface CardPresent {}
+ interface Eps {}
+
interface Fpx {}
interface Giropay {}
@@ -2471,6 +2503,11 @@ declare module 'stripe' {
*/
au_becs_debit?: Stripe.Emptyable;
+ /**
+ * If this is a `bacs_debit` PaymentMethod, this sub-hash contains details about the BACS Debit payment method options.
+ */
+ bacs_debit?: Stripe.Emptyable;
+
/**
* If this is a `bancontact` PaymentMethod, this sub-hash contains details about the Bancontact payment method options.
*/
@@ -2491,6 +2528,11 @@ declare module 'stripe' {
*/
card_present?: Stripe.Emptyable;
+ /**
+ * If this is a `eps` PaymentMethod, this sub-hash contains details about the EPS payment method options.
+ */
+ eps?: Stripe.Emptyable;
+
/**
* If this is a `fpx` PaymentMethod, this sub-hash contains details about the FPX payment method options.
*/
@@ -2606,6 +2648,8 @@ declare module 'stripe' {
interface AuBecsDebit {}
+ interface BacsDebit {}
+
interface Bancontact {
/**
* Preferred language of the Bancontact authorization page that the customer is redirected to.
@@ -2721,6 +2765,8 @@ declare module 'stripe' {
interface CardPresent {}
+ interface Eps {}
+
interface Fpx {}
interface Giropay {}
@@ -3550,6 +3596,11 @@ declare module 'stripe' {
*/
au_becs_debit?: Stripe.Emptyable;
+ /**
+ * If this is a `bacs_debit` PaymentMethod, this sub-hash contains details about the BACS Debit payment method options.
+ */
+ bacs_debit?: Stripe.Emptyable;
+
/**
* If this is a `bancontact` PaymentMethod, this sub-hash contains details about the Bancontact payment method options.
*/
@@ -3570,6 +3621,11 @@ declare module 'stripe' {
*/
card_present?: Stripe.Emptyable;
+ /**
+ * If this is a `eps` PaymentMethod, this sub-hash contains details about the EPS payment method options.
+ */
+ eps?: Stripe.Emptyable;
+
/**
* If this is a `fpx` PaymentMethod, this sub-hash contains details about the FPX payment method options.
*/
@@ -3685,6 +3741,8 @@ declare module 'stripe' {
interface AuBecsDebit {}
+ interface BacsDebit {}
+
interface Bancontact {
/**
* Preferred language of the Bancontact authorization page that the customer is redirected to.
@@ -3800,6 +3858,8 @@ declare module 'stripe' {
interface CardPresent {}
+ interface Eps {}
+
interface Fpx {}
interface Giropay {}