stripe 8.197.0 → 8.201.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,31 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 8.201.0 - 2022-01-28
4
+ * [#1342](https://github.com/stripe/stripe-node/pull/1342) Bump nanoid from 3.1.20 to 3.2.0.
5
+ * [#1335](https://github.com/stripe/stripe-node/pull/1335) Fix StripeResource to successfully import TIMEOUT_ERROR_CODE.
6
+ * [#1339](https://github.com/stripe/stripe-node/pull/1339) Bump node-fetch from 2.6.2 to 2.6.7
7
+
8
+ ## 8.200.0 - 2022-01-25
9
+ * [#1338](https://github.com/stripe/stripe-node/pull/1338) API Updates
10
+ * Change `Checkout.Session.payment_link` to be required
11
+ * Add support for `phone_number_collection` on `PaymentLinkCreateParams` and `PaymentLink`
12
+ * Add support for new values `payment_link.created` and `payment_link.updated` on enums `WebhookEndpointCreateParams.enabled_events[]` and `WebhookEndpointUpdateParams.enabled_events[]`
13
+ * Add support for new value `is_vat` on enums `Checkout.Session.customer_details.tax_ids[].type`, `Invoice.customer_tax_ids[].type`, and `TaxId.type`
14
+ * Add support for new value `is_vat` on enums `CustomerCreateParams.tax_id_data[].type`, `InvoiceUpcomingParams.customer_details.tax_ids[].type`, `InvoiceUpcomingLinesParams.customer_details.tax_ids[].type`, and `TaxIdCreateParams.type`
15
+
16
+ * [#1333](https://github.com/stripe/stripe-node/pull/1333) Customer tax_ids is not included by default
17
+
18
+ ## 8.199.0 - 2022-01-20
19
+ * [#1332](https://github.com/stripe/stripe-node/pull/1332) API Updates
20
+ * Add support for new resource `PaymentLink`
21
+ * Add support for `payment_link` on `Checkout.Session`
22
+
23
+ ## 8.198.0 - 2022-01-19
24
+ * [#1331](https://github.com/stripe/stripe-node/pull/1331) API Updates
25
+ * Change type of `Charge.status` from `string` to `enum('failed'|'pending'|'succeeded')`
26
+ * Add support for `bacs_debit` and `eps` on `PaymentIntentCreateParams.payment_method_options`, `PaymentIntentUpdateParams.payment_method_options`, `PaymentIntentConfirmParams.payment_method_options`, and `PaymentIntent.payment_method_options`
27
+ * Add support for `image_url_png` and `image_url_svg` on `PaymentIntent.next_action.wechat_pay_display_qr_code`
28
+
3
29
  ## 8.197.0 - 2022-01-13
4
30
  * [#1329](https://github.com/stripe/stripe-node/pull/1329) API Updates
5
31
  * Add support for `paid_out_of_band` on `Invoice`
package/VERSION CHANGED
@@ -1 +1 @@
1
- 8.197.0
1
+ 8.201.0
@@ -12,7 +12,7 @@ const {
12
12
  StripeAPIError,
13
13
  } = require('./Error');
14
14
 
15
- const HttpClient = require('./net/HttpClient');
15
+ const {HttpClient} = require('./net/HttpClient');
16
16
 
17
17
  // Provide extension mechanism for Stripe Resource Sub-Classes
18
18
  StripeResource.extend = utils.protoExtend;
@@ -0,0 +1,37 @@
1
+ // File generated from our OpenAPI spec
2
+
3
+ 'use strict';
4
+
5
+ const StripeResource = require('../StripeResource');
6
+ const stripeMethod = StripeResource.method;
7
+
8
+ module.exports = StripeResource.extend({
9
+ path: 'payment_links',
10
+
11
+ create: stripeMethod({
12
+ method: 'POST',
13
+ path: '',
14
+ }),
15
+
16
+ retrieve: stripeMethod({
17
+ method: 'GET',
18
+ path: '/{paymentLink}',
19
+ }),
20
+
21
+ update: stripeMethod({
22
+ method: 'POST',
23
+ path: '/{paymentLink}',
24
+ }),
25
+
26
+ list: stripeMethod({
27
+ method: 'GET',
28
+ path: '',
29
+ methodType: 'list',
30
+ }),
31
+
32
+ listLineItems: stripeMethod({
33
+ method: 'GET',
34
+ path: '/{paymentLink}/line_items',
35
+ methodType: 'list',
36
+ }),
37
+ });
package/lib/resources.js CHANGED
@@ -32,6 +32,7 @@ module.exports = {
32
32
  Orders: require('./resources/Orders'),
33
33
  OrderReturns: require('./resources/OrderReturns'),
34
34
  PaymentIntents: require('./resources/PaymentIntents'),
35
+ PaymentLinks: require('./resources/PaymentLinks'),
35
36
  PaymentMethods: require('./resources/PaymentMethods'),
36
37
  Payouts: require('./resources/Payouts'),
37
38
  Plans: require('./resources/Plans'),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "stripe",
3
- "version": "8.197.0",
3
+ "version": "8.201.0",
4
4
  "description": "Stripe API wrapper",
5
5
  "keywords": [
6
6
  "stripe",
@@ -44,7 +44,8 @@
44
44
  "typescript": "^3.7.2"
45
45
  },
46
46
  "resolutions": {
47
- "ansi-regex": "5.0.1"
47
+ "ansi-regex": "5.0.1",
48
+ "nanoid": "3.2.0"
48
49
  },
49
50
  "dependencies": {
50
51
  "@types/node": ">=8.1.0",
@@ -3210,7 +3210,7 @@ declare module 'stripe' {
3210
3210
  /**
3211
3211
  * With [Connect](https://stripe.com/docs/connect), you can delete accounts you manage.
3212
3212
  *
3213
- * Accounts created using test-mode keys can be deleted at any time. Custom or Express accounts created using live-mode keys can only be deleted once all balances are zero.
3213
+ * Accounts created using test-mode keys can be deleted at any time. Standard accounts created using live-mode keys cannot be deleted. Custom or Express accounts created using live-mode keys can only be deleted once all balances are zero.
3214
3214
  *
3215
3215
  * If you want to delete your own account, use the [account information tab in your account settings](https://dashboard.stripe.com/account) instead.
3216
3216
  */
@@ -230,7 +230,7 @@ declare module 'stripe' {
230
230
  /**
231
231
  * The status of the payment is either `succeeded`, `pending`, or `failed`.
232
232
  */
233
- status: string;
233
+ status: Charge.Status;
234
234
 
235
235
  /**
236
236
  * 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' {
1641
1641
  tracking_number?: string | null;
1642
1642
  }
1643
1643
 
1644
+ type Status = 'failed' | 'pending' | 'succeeded';
1645
+
1644
1646
  interface TransferData {
1645
1647
  /**
1646
1648
  * The amount transferred to the destination account, if specified. By default, the entire charge amount is transferred to the destination account.
@@ -135,6 +135,11 @@ declare module 'stripe' {
135
135
  */
136
136
  payment_intent: string | Stripe.PaymentIntent | null;
137
137
 
138
+ /**
139
+ * The ID of the Payment Link that created this Session.
140
+ */
141
+ payment_link: string | Stripe.PaymentLink | null;
142
+
138
143
  /**
139
144
  * Payment-method-specific configuration for the PaymentIntent or SetupIntent of this CheckoutSession.
140
145
  */
@@ -324,7 +329,7 @@ declare module 'stripe' {
324
329
 
325
330
  interface TaxId {
326
331
  /**
327
- * The type of the tax ID, one of `eu_vat`, `br_cnpj`, `br_cpf`, `gb_vat`, `nz_gst`, `au_abn`, `au_arn`, `in_gst`, `no_vat`, `za_vat`, `ch_vat`, `mx_rfc`, `sg_uen`, `ru_inn`, `ru_kpp`, `ca_bn`, `hk_br`, `es_cif`, `tw_vat`, `th_vat`, `jp_cn`, `jp_rn`, `li_uid`, `my_itn`, `us_ein`, `kr_brn`, `ca_qst`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `my_sst`, `sg_gst`, `ae_trn`, `cl_tin`, `sa_vat`, `id_npwp`, `my_frp`, `il_vat`, `ge_vat`, `ua_vat`, or `unknown`
332
+ * The type of the tax ID, one of `eu_vat`, `br_cnpj`, `br_cpf`, `gb_vat`, `nz_gst`, `au_abn`, `au_arn`, `in_gst`, `no_vat`, `za_vat`, `ch_vat`, `mx_rfc`, `sg_uen`, `ru_inn`, `ru_kpp`, `ca_bn`, `hk_br`, `es_cif`, `tw_vat`, `th_vat`, `jp_cn`, `jp_rn`, `li_uid`, `my_itn`, `us_ein`, `kr_brn`, `ca_qst`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `my_sst`, `sg_gst`, `ae_trn`, `cl_tin`, `sa_vat`, `id_npwp`, `my_frp`, `il_vat`, `ge_vat`, `ua_vat`, `is_vat`, or `unknown`
328
333
  */
329
334
  type: TaxId.Type;
330
335
 
@@ -357,6 +362,7 @@ declare module 'stripe' {
357
362
  | 'id_npwp'
358
363
  | 'il_vat'
359
364
  | 'in_gst'
365
+ | 'is_vat'
360
366
  | 'jp_cn'
361
367
  | 'jp_rn'
362
368
  | 'kr_brn'
@@ -129,7 +129,7 @@ declare module 'stripe' {
129
129
  /**
130
130
  * The customer's tax IDs.
131
131
  */
132
- tax_ids: ApiList<Stripe.TaxId>;
132
+ tax_ids?: ApiList<Stripe.TaxId>;
133
133
  }
134
134
 
135
135
  namespace Customer {
@@ -420,7 +420,7 @@ declare module 'stripe' {
420
420
 
421
421
  interface TaxIdDatum {
422
422
  /**
423
- * Type of the tax ID, one of `ae_trn`, `au_abn`, `au_arn`, `br_cnpj`, `br_cpf`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `ch_vat`, `cl_tin`, `es_cif`, `eu_vat`, `gb_vat`, `ge_vat`, `hk_br`, `id_npwp`, `il_vat`, `in_gst`, `jp_cn`, `jp_rn`, `kr_brn`, `li_uid`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `no_vat`, `nz_gst`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `th_vat`, `tw_vat`, `ua_vat`, `us_ein`, or `za_vat`
423
+ * Type of the tax ID, one of `ae_trn`, `au_abn`, `au_arn`, `br_cnpj`, `br_cpf`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `ch_vat`, `cl_tin`, `es_cif`, `eu_vat`, `gb_vat`, `ge_vat`, `hk_br`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `kr_brn`, `li_uid`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `no_vat`, `nz_gst`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `th_vat`, `tw_vat`, `ua_vat`, `us_ein`, or `za_vat`
424
424
  */
425
425
  type: TaxIdDatum.Type;
426
426
 
@@ -453,6 +453,7 @@ declare module 'stripe' {
453
453
  | 'id_npwp'
454
454
  | 'il_vat'
455
455
  | 'in_gst'
456
+ | 'is_vat'
456
457
  | 'jp_cn'
457
458
  | 'jp_rn'
458
459
  | 'kr_brn'
@@ -347,7 +347,7 @@ declare module 'stripe' {
347
347
 
348
348
  interface TaxId {
349
349
  /**
350
- * Type of the tax ID, one of `ae_trn`, `au_abn`, `au_arn`, `br_cnpj`, `br_cpf`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `ch_vat`, `cl_tin`, `es_cif`, `eu_vat`, `gb_vat`, `ge_vat`, `hk_br`, `id_npwp`, `il_vat`, `in_gst`, `jp_cn`, `jp_rn`, `kr_brn`, `li_uid`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `no_vat`, `nz_gst`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `th_vat`, `tw_vat`, `ua_vat`, `us_ein`, or `za_vat`
350
+ * Type of the tax ID, one of `ae_trn`, `au_abn`, `au_arn`, `br_cnpj`, `br_cpf`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `ch_vat`, `cl_tin`, `es_cif`, `eu_vat`, `gb_vat`, `ge_vat`, `hk_br`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `kr_brn`, `li_uid`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `no_vat`, `nz_gst`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `th_vat`, `tw_vat`, `ua_vat`, `us_ein`, or `za_vat`
351
351
  */
352
352
  type: TaxId.Type;
353
353
 
@@ -380,6 +380,7 @@ declare module 'stripe' {
380
380
  | 'id_npwp'
381
381
  | 'il_vat'
382
382
  | 'in_gst'
383
+ | 'is_vat'
383
384
  | 'jp_cn'
384
385
  | 'jp_rn'
385
386
  | 'kr_brn'
@@ -404,7 +404,7 @@ declare module 'stripe' {
404
404
 
405
405
  interface CustomerTaxId {
406
406
  /**
407
- * The type of the tax ID, one of `eu_vat`, `br_cnpj`, `br_cpf`, `gb_vat`, `nz_gst`, `au_abn`, `au_arn`, `in_gst`, `no_vat`, `za_vat`, `ch_vat`, `mx_rfc`, `sg_uen`, `ru_inn`, `ru_kpp`, `ca_bn`, `hk_br`, `es_cif`, `tw_vat`, `th_vat`, `jp_cn`, `jp_rn`, `li_uid`, `my_itn`, `us_ein`, `kr_brn`, `ca_qst`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `my_sst`, `sg_gst`, `ae_trn`, `cl_tin`, `sa_vat`, `id_npwp`, `my_frp`, `il_vat`, `ge_vat`, `ua_vat`, or `unknown`
407
+ * The type of the tax ID, one of `eu_vat`, `br_cnpj`, `br_cpf`, `gb_vat`, `nz_gst`, `au_abn`, `au_arn`, `in_gst`, `no_vat`, `za_vat`, `ch_vat`, `mx_rfc`, `sg_uen`, `ru_inn`, `ru_kpp`, `ca_bn`, `hk_br`, `es_cif`, `tw_vat`, `th_vat`, `jp_cn`, `jp_rn`, `li_uid`, `my_itn`, `us_ein`, `kr_brn`, `ca_qst`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `my_sst`, `sg_gst`, `ae_trn`, `cl_tin`, `sa_vat`, `id_npwp`, `my_frp`, `il_vat`, `ge_vat`, `ua_vat`, `is_vat`, or `unknown`
408
408
  */
409
409
  type: CustomerTaxId.Type;
410
410
 
@@ -437,6 +437,7 @@ declare module 'stripe' {
437
437
  | 'id_npwp'
438
438
  | 'il_vat'
439
439
  | 'in_gst'
440
+ | 'is_vat'
440
441
  | 'jp_cn'
441
442
  | 'jp_rn'
442
443
  | 'kr_brn'
@@ -1583,7 +1584,7 @@ declare module 'stripe' {
1583
1584
 
1584
1585
  interface TaxId {
1585
1586
  /**
1586
- * Type of the tax ID, one of `ae_trn`, `au_abn`, `au_arn`, `br_cnpj`, `br_cpf`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `ch_vat`, `cl_tin`, `es_cif`, `eu_vat`, `gb_vat`, `ge_vat`, `hk_br`, `id_npwp`, `il_vat`, `in_gst`, `jp_cn`, `jp_rn`, `kr_brn`, `li_uid`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `no_vat`, `nz_gst`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `th_vat`, `tw_vat`, `ua_vat`, `us_ein`, or `za_vat`
1587
+ * Type of the tax ID, one of `ae_trn`, `au_abn`, `au_arn`, `br_cnpj`, `br_cpf`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `ch_vat`, `cl_tin`, `es_cif`, `eu_vat`, `gb_vat`, `ge_vat`, `hk_br`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `kr_brn`, `li_uid`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `no_vat`, `nz_gst`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `th_vat`, `tw_vat`, `ua_vat`, `us_ein`, or `za_vat`
1587
1588
  */
1588
1589
  type: TaxId.Type;
1589
1590
 
@@ -1616,6 +1617,7 @@ declare module 'stripe' {
1616
1617
  | 'id_npwp'
1617
1618
  | 'il_vat'
1618
1619
  | 'in_gst'
1620
+ | 'is_vat'
1619
1621
  | 'jp_cn'
1620
1622
  | 'jp_rn'
1621
1623
  | 'kr_brn'
@@ -462,6 +462,16 @@ declare module 'stripe' {
462
462
  * The base64 image data for a pre-generated QR code
463
463
  */
464
464
  image_data_url: string;
465
+
466
+ /**
467
+ * The image_url_png string used to render QR code
468
+ */
469
+ image_url_png: string;
470
+
471
+ /**
472
+ * The image_url_svg string used to render QR code
473
+ */
474
+ image_url_svg: string;
465
475
  }
466
476
 
467
477
  interface WechatPayRedirectToAndroidApp {
@@ -518,6 +528,8 @@ declare module 'stripe' {
518
528
 
519
529
  au_becs_debit?: PaymentMethodOptions.AuBecsDebit;
520
530
 
531
+ bacs_debit?: PaymentMethodOptions.BacsDebit;
532
+
521
533
  bancontact?: PaymentMethodOptions.Bancontact;
522
534
 
523
535
  boleto?: PaymentMethodOptions.Boleto;
@@ -526,6 +538,8 @@ declare module 'stripe' {
526
538
 
527
539
  card_present?: PaymentMethodOptions.CardPresent;
528
540
 
541
+ eps?: PaymentMethodOptions.Eps;
542
+
529
543
  fpx?: PaymentMethodOptions.Fpx;
530
544
 
531
545
  giropay?: PaymentMethodOptions.Giropay;
@@ -603,6 +617,8 @@ declare module 'stripe' {
603
617
 
604
618
  interface AuBecsDebit {}
605
619
 
620
+ interface BacsDebit {}
621
+
606
622
  interface Bancontact {
607
623
  /**
608
624
  * Preferred language of the Bancontact authorization page that the customer is redirected to.
@@ -724,6 +740,8 @@ declare module 'stripe' {
724
740
 
725
741
  interface CardPresent {}
726
742
 
743
+ interface Eps {}
744
+
727
745
  interface Fpx {}
728
746
 
729
747
  interface Giropay {}
@@ -1506,6 +1524,11 @@ declare module 'stripe' {
1506
1524
  */
1507
1525
  au_becs_debit?: Stripe.Emptyable<PaymentMethodOptions.AuBecsDebit>;
1508
1526
 
1527
+ /**
1528
+ * If this is a `bacs_debit` PaymentMethod, this sub-hash contains details about the BACS Debit payment method options.
1529
+ */
1530
+ bacs_debit?: Stripe.Emptyable<PaymentMethodOptions.BacsDebit>;
1531
+
1509
1532
  /**
1510
1533
  * If this is a `bancontact` PaymentMethod, this sub-hash contains details about the Bancontact payment method options.
1511
1534
  */
@@ -1526,6 +1549,11 @@ declare module 'stripe' {
1526
1549
  */
1527
1550
  card_present?: Stripe.Emptyable<PaymentMethodOptions.CardPresent>;
1528
1551
 
1552
+ /**
1553
+ * If this is a `eps` PaymentMethod, this sub-hash contains details about the EPS payment method options.
1554
+ */
1555
+ eps?: Stripe.Emptyable<PaymentMethodOptions.Eps>;
1556
+
1529
1557
  /**
1530
1558
  * If this is a `fpx` PaymentMethod, this sub-hash contains details about the FPX payment method options.
1531
1559
  */
@@ -1641,6 +1669,8 @@ declare module 'stripe' {
1641
1669
 
1642
1670
  interface AuBecsDebit {}
1643
1671
 
1672
+ interface BacsDebit {}
1673
+
1644
1674
  interface Bancontact {
1645
1675
  /**
1646
1676
  * Preferred language of the Bancontact authorization page that the customer is redirected to.
@@ -1756,6 +1786,8 @@ declare module 'stripe' {
1756
1786
 
1757
1787
  interface CardPresent {}
1758
1788
 
1789
+ interface Eps {}
1790
+
1759
1791
  interface Fpx {}
1760
1792
 
1761
1793
  interface Giropay {}
@@ -2471,6 +2503,11 @@ declare module 'stripe' {
2471
2503
  */
2472
2504
  au_becs_debit?: Stripe.Emptyable<PaymentMethodOptions.AuBecsDebit>;
2473
2505
 
2506
+ /**
2507
+ * If this is a `bacs_debit` PaymentMethod, this sub-hash contains details about the BACS Debit payment method options.
2508
+ */
2509
+ bacs_debit?: Stripe.Emptyable<PaymentMethodOptions.BacsDebit>;
2510
+
2474
2511
  /**
2475
2512
  * If this is a `bancontact` PaymentMethod, this sub-hash contains details about the Bancontact payment method options.
2476
2513
  */
@@ -2491,6 +2528,11 @@ declare module 'stripe' {
2491
2528
  */
2492
2529
  card_present?: Stripe.Emptyable<PaymentMethodOptions.CardPresent>;
2493
2530
 
2531
+ /**
2532
+ * If this is a `eps` PaymentMethod, this sub-hash contains details about the EPS payment method options.
2533
+ */
2534
+ eps?: Stripe.Emptyable<PaymentMethodOptions.Eps>;
2535
+
2494
2536
  /**
2495
2537
  * If this is a `fpx` PaymentMethod, this sub-hash contains details about the FPX payment method options.
2496
2538
  */
@@ -2606,6 +2648,8 @@ declare module 'stripe' {
2606
2648
 
2607
2649
  interface AuBecsDebit {}
2608
2650
 
2651
+ interface BacsDebit {}
2652
+
2609
2653
  interface Bancontact {
2610
2654
  /**
2611
2655
  * Preferred language of the Bancontact authorization page that the customer is redirected to.
@@ -2721,6 +2765,8 @@ declare module 'stripe' {
2721
2765
 
2722
2766
  interface CardPresent {}
2723
2767
 
2768
+ interface Eps {}
2769
+
2724
2770
  interface Fpx {}
2725
2771
 
2726
2772
  interface Giropay {}
@@ -3550,6 +3596,11 @@ declare module 'stripe' {
3550
3596
  */
3551
3597
  au_becs_debit?: Stripe.Emptyable<PaymentMethodOptions.AuBecsDebit>;
3552
3598
 
3599
+ /**
3600
+ * If this is a `bacs_debit` PaymentMethod, this sub-hash contains details about the BACS Debit payment method options.
3601
+ */
3602
+ bacs_debit?: Stripe.Emptyable<PaymentMethodOptions.BacsDebit>;
3603
+
3553
3604
  /**
3554
3605
  * If this is a `bancontact` PaymentMethod, this sub-hash contains details about the Bancontact payment method options.
3555
3606
  */
@@ -3570,6 +3621,11 @@ declare module 'stripe' {
3570
3621
  */
3571
3622
  card_present?: Stripe.Emptyable<PaymentMethodOptions.CardPresent>;
3572
3623
 
3624
+ /**
3625
+ * If this is a `eps` PaymentMethod, this sub-hash contains details about the EPS payment method options.
3626
+ */
3627
+ eps?: Stripe.Emptyable<PaymentMethodOptions.Eps>;
3628
+
3573
3629
  /**
3574
3630
  * If this is a `fpx` PaymentMethod, this sub-hash contains details about the FPX payment method options.
3575
3631
  */
@@ -3685,6 +3741,8 @@ declare module 'stripe' {
3685
3741
 
3686
3742
  interface AuBecsDebit {}
3687
3743
 
3744
+ interface BacsDebit {}
3745
+
3688
3746
  interface Bancontact {
3689
3747
  /**
3690
3748
  * Preferred language of the Bancontact authorization page that the customer is redirected to.
@@ -3800,6 +3858,8 @@ declare module 'stripe' {
3800
3858
 
3801
3859
  interface CardPresent {}
3802
3860
 
3861
+ interface Eps {}
3862
+
3803
3863
  interface Fpx {}
3804
3864
 
3805
3865
  interface Giropay {}