stripe 15.10.0 → 15.11.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.
Files changed (36) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/VERSION +1 -1
  3. package/cjs/stripe.core.js +1 -1
  4. package/esm/stripe.core.js +1 -1
  5. package/package.json +1 -1
  6. package/types/Accounts.d.ts +14 -0
  7. package/types/AccountsResource.d.ts +48 -0
  8. package/types/BankAccounts.d.ts +1 -2
  9. package/types/Charges.d.ts +4 -0
  10. package/types/Checkout/Sessions.d.ts +15 -1
  11. package/types/Checkout/SessionsResource.d.ts +19 -1
  12. package/types/ConfirmationTokens.d.ts +10 -0
  13. package/types/CustomersResource.d.ts +6 -2
  14. package/types/Invoices.d.ts +2 -1
  15. package/types/InvoicesResource.d.ts +8 -5
  16. package/types/PaymentIntents.d.ts +50 -0
  17. package/types/PaymentIntentsResource.d.ts +156 -0
  18. package/types/PaymentMethodConfigurations.d.ts +36 -0
  19. package/types/PaymentMethodConfigurationsResource.d.ts +50 -0
  20. package/types/PaymentMethods.d.ts +10 -0
  21. package/types/PaymentMethodsResource.d.ts +18 -0
  22. package/types/Refunds.d.ts +14 -0
  23. package/types/SetupIntentsResource.d.ts +48 -0
  24. package/types/ShippingRates.d.ts +1 -1
  25. package/types/ShippingRatesResource.d.ts +1 -1
  26. package/types/Subscriptions.d.ts +31 -0
  27. package/types/SubscriptionsResource.d.ts +2 -2
  28. package/types/Tax/Calculations.d.ts +2 -1
  29. package/types/Tax/CalculationsResource.d.ts +2 -1
  30. package/types/Tax/Transactions.d.ts +2 -1
  31. package/types/TaxIds.d.ts +2 -1
  32. package/types/TaxIdsResource.d.ts +2 -1
  33. package/types/Terminal/LocationsResource.d.ts +1 -1
  34. package/types/TestHelpers/ConfirmationTokensResource.d.ts +16 -0
  35. package/types/Tokens.d.ts +1 -2
  36. package/types/TransfersResource.d.ts +1 -1
@@ -309,6 +309,11 @@ declare module 'stripe' {
309
309
  */
310
310
  mobilepay?: PaymentMethodData.Mobilepay;
311
311
 
312
+ /**
313
+ * If this is a `multibanco` PaymentMethod, this hash contains details about the Multibanco payment method.
314
+ */
315
+ multibanco?: PaymentMethodData.Multibanco;
316
+
312
317
  /**
313
318
  * If this is an `oxxo` PaymentMethod, this hash contains details about the OXXO payment method.
314
319
  */
@@ -364,6 +369,11 @@ declare module 'stripe' {
364
369
  */
365
370
  swish?: PaymentMethodData.Swish;
366
371
 
372
+ /**
373
+ * If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.
374
+ */
375
+ twint?: PaymentMethodData.Twint;
376
+
367
377
  /**
368
378
  * The type of the PaymentMethod. An additional hash is included on the PaymentMethod with a name matching this value. It contains additional information specific to the PaymentMethod type.
369
379
  */
@@ -618,6 +628,8 @@ declare module 'stripe' {
618
628
 
619
629
  interface Mobilepay {}
620
630
 
631
+ interface Multibanco {}
632
+
621
633
  interface Oxxo {}
622
634
 
623
635
  interface P24 {
@@ -694,6 +706,8 @@ declare module 'stripe' {
694
706
 
695
707
  interface Swish {}
696
708
 
709
+ interface Twint {}
710
+
697
711
  type Type =
698
712
  | 'acss_debit'
699
713
  | 'affirm'
@@ -716,6 +730,7 @@ declare module 'stripe' {
716
730
  | 'konbini'
717
731
  | 'link'
718
732
  | 'mobilepay'
733
+ | 'multibanco'
719
734
  | 'oxxo'
720
735
  | 'p24'
721
736
  | 'paynow'
@@ -726,6 +741,7 @@ declare module 'stripe' {
726
741
  | 'sepa_debit'
727
742
  | 'sofort'
728
743
  | 'swish'
744
+ | 'twint'
729
745
  | 'us_bank_account'
730
746
  | 'wechat_pay'
731
747
  | 'zip';
@@ -1387,6 +1403,11 @@ declare module 'stripe' {
1387
1403
  */
1388
1404
  mobilepay?: PaymentMethodData.Mobilepay;
1389
1405
 
1406
+ /**
1407
+ * If this is a `multibanco` PaymentMethod, this hash contains details about the Multibanco payment method.
1408
+ */
1409
+ multibanco?: PaymentMethodData.Multibanco;
1410
+
1390
1411
  /**
1391
1412
  * If this is an `oxxo` PaymentMethod, this hash contains details about the OXXO payment method.
1392
1413
  */
@@ -1442,6 +1463,11 @@ declare module 'stripe' {
1442
1463
  */
1443
1464
  swish?: PaymentMethodData.Swish;
1444
1465
 
1466
+ /**
1467
+ * If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.
1468
+ */
1469
+ twint?: PaymentMethodData.Twint;
1470
+
1445
1471
  /**
1446
1472
  * The type of the PaymentMethod. An additional hash is included on the PaymentMethod with a name matching this value. It contains additional information specific to the PaymentMethod type.
1447
1473
  */
@@ -1696,6 +1722,8 @@ declare module 'stripe' {
1696
1722
 
1697
1723
  interface Mobilepay {}
1698
1724
 
1725
+ interface Multibanco {}
1726
+
1699
1727
  interface Oxxo {}
1700
1728
 
1701
1729
  interface P24 {
@@ -1772,6 +1800,8 @@ declare module 'stripe' {
1772
1800
 
1773
1801
  interface Swish {}
1774
1802
 
1803
+ interface Twint {}
1804
+
1775
1805
  type Type =
1776
1806
  | 'acss_debit'
1777
1807
  | 'affirm'
@@ -1794,6 +1824,7 @@ declare module 'stripe' {
1794
1824
  | 'konbini'
1795
1825
  | 'link'
1796
1826
  | 'mobilepay'
1827
+ | 'multibanco'
1797
1828
  | 'oxxo'
1798
1829
  | 'p24'
1799
1830
  | 'paynow'
@@ -1804,6 +1835,7 @@ declare module 'stripe' {
1804
1835
  | 'sepa_debit'
1805
1836
  | 'sofort'
1806
1837
  | 'swish'
1838
+ | 'twint'
1807
1839
  | 'us_bank_account'
1808
1840
  | 'wechat_pay'
1809
1841
  | 'zip';
@@ -2552,6 +2584,11 @@ declare module 'stripe' {
2552
2584
  */
2553
2585
  mobilepay?: PaymentMethodData.Mobilepay;
2554
2586
 
2587
+ /**
2588
+ * If this is a `multibanco` PaymentMethod, this hash contains details about the Multibanco payment method.
2589
+ */
2590
+ multibanco?: PaymentMethodData.Multibanco;
2591
+
2555
2592
  /**
2556
2593
  * If this is an `oxxo` PaymentMethod, this hash contains details about the OXXO payment method.
2557
2594
  */
@@ -2607,6 +2644,11 @@ declare module 'stripe' {
2607
2644
  */
2608
2645
  swish?: PaymentMethodData.Swish;
2609
2646
 
2647
+ /**
2648
+ * If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.
2649
+ */
2650
+ twint?: PaymentMethodData.Twint;
2651
+
2610
2652
  /**
2611
2653
  * The type of the PaymentMethod. An additional hash is included on the PaymentMethod with a name matching this value. It contains additional information specific to the PaymentMethod type.
2612
2654
  */
@@ -2861,6 +2903,8 @@ declare module 'stripe' {
2861
2903
 
2862
2904
  interface Mobilepay {}
2863
2905
 
2906
+ interface Multibanco {}
2907
+
2864
2908
  interface Oxxo {}
2865
2909
 
2866
2910
  interface P24 {
@@ -2937,6 +2981,8 @@ declare module 'stripe' {
2937
2981
 
2938
2982
  interface Swish {}
2939
2983
 
2984
+ interface Twint {}
2985
+
2940
2986
  type Type =
2941
2987
  | 'acss_debit'
2942
2988
  | 'affirm'
@@ -2959,6 +3005,7 @@ declare module 'stripe' {
2959
3005
  | 'konbini'
2960
3006
  | 'link'
2961
3007
  | 'mobilepay'
3008
+ | 'multibanco'
2962
3009
  | 'oxxo'
2963
3010
  | 'p24'
2964
3011
  | 'paynow'
@@ -2969,6 +3016,7 @@ declare module 'stripe' {
2969
3016
  | 'sepa_debit'
2970
3017
  | 'sofort'
2971
3018
  | 'swish'
3019
+ | 'twint'
2972
3020
  | 'us_bank_account'
2973
3021
  | 'wechat_pay'
2974
3022
  | 'zip';
@@ -60,7 +60,7 @@ declare module 'stripe' {
60
60
  tax_code: string | Stripe.TaxCode | null;
61
61
 
62
62
  /**
63
- * The type of calculation to use on the shipping rate. Can only be `fixed_amount` for now.
63
+ * The type of calculation to use on the shipping rate.
64
64
  */
65
65
  type: 'fixed_amount';
66
66
  }
@@ -39,7 +39,7 @@ declare module 'stripe' {
39
39
  tax_code?: string;
40
40
 
41
41
  /**
42
- * The type of calculation to use on the shipping rate. Can only be `fixed_amount` for now.
42
+ * The type of calculation to use on the shipping rate.
43
43
  */
44
44
  type?: 'fixed_amount';
45
45
  }
@@ -139,6 +139,8 @@ declare module 'stripe' {
139
139
  */
140
140
  ended_at: number | null;
141
141
 
142
+ invoice_settings: Subscription.InvoiceSettings;
143
+
142
144
  /**
143
145
  * List of subscription items, each with an attached price.
144
146
  */
@@ -351,6 +353,35 @@ declare module 'stripe' {
351
353
 
352
354
  type CollectionMethod = 'charge_automatically' | 'send_invoice';
353
355
 
356
+ interface InvoiceSettings {
357
+ /**
358
+ * The account tax IDs associated with the subscription. Will be set on invoices generated by the subscription.
359
+ */
360
+ account_tax_ids: Array<
361
+ string | Stripe.TaxId | Stripe.DeletedTaxId
362
+ > | null;
363
+
364
+ issuer: InvoiceSettings.Issuer;
365
+ }
366
+
367
+ namespace InvoiceSettings {
368
+ interface Issuer {
369
+ /**
370
+ * The connected account being referenced when `type` is `account`.
371
+ */
372
+ account?: string | Stripe.Account;
373
+
374
+ /**
375
+ * Type of the account referenced.
376
+ */
377
+ type: Issuer.Type;
378
+ }
379
+
380
+ namespace Issuer {
381
+ type Type = 'account' | 'self';
382
+ }
383
+ }
384
+
354
385
  interface PauseCollection {
355
386
  /**
356
387
  * The payment collection behavior for this subscription while paused. One of `keep_as_draft`, `mark_uncollectible`, or `void`.
@@ -1775,12 +1775,12 @@ declare module 'stripe' {
1775
1775
  expand?: Array<string>;
1776
1776
 
1777
1777
  /**
1778
- * Will generate a final invoice that invoices for any un-invoiced metered usage and new/pending proration invoice items.
1778
+ * Will generate a final invoice that invoices for any un-invoiced metered usage and new/pending proration invoice items. Defaults to `true`.
1779
1779
  */
1780
1780
  invoice_now?: boolean;
1781
1781
 
1782
1782
  /**
1783
- * Will generate a proration invoice item that credits remaining unused time until the subscription period end.
1783
+ * Will generate a proration invoice item that credits remaining unused time until the subscription period end. Defaults to `false`.
1784
1784
  */
1785
1785
  prorate?: boolean;
1786
1786
  }
@@ -120,7 +120,7 @@ declare module 'stripe' {
120
120
 
121
121
  interface TaxId {
122
122
  /**
123
- * The type of the tax ID, one of `ad_nrt`, `ar_cuit`, `eu_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `cn_tin`, `co_nit`, `cr_tin`, `do_rcn`, `ec_ruc`, `eu_oss_vat`, `pe_ruc`, `ro_tin`, `rs_pib`, `sv_nit`, `uy_ruc`, `ve_rif`, `vn_tin`, `gb_vat`, `nz_gst`, `au_abn`, `au_arn`, `in_gst`, `no_vat`, `no_voec`, `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`, `jp_trn`, `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`, `bg_uic`, `hu_tin`, `si_tin`, `ke_pin`, `tr_tin`, `eg_tin`, `ph_tin`, `bh_vat`, `kz_bin`, `ng_tin`, `om_vat`, or `unknown`
123
+ * The type of the tax ID, one of `ad_nrt`, `ar_cuit`, `eu_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `cn_tin`, `co_nit`, `cr_tin`, `do_rcn`, `ec_ruc`, `eu_oss_vat`, `pe_ruc`, `ro_tin`, `rs_pib`, `sv_nit`, `uy_ruc`, `ve_rif`, `vn_tin`, `gb_vat`, `nz_gst`, `au_abn`, `au_arn`, `in_gst`, `no_vat`, `no_voec`, `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`, `jp_trn`, `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`, `bg_uic`, `hu_tin`, `si_tin`, `ke_pin`, `tr_tin`, `eg_tin`, `ph_tin`, `bh_vat`, `kz_bin`, `ng_tin`, `om_vat`, `de_stn`, or `unknown`
124
124
  */
125
125
  type: TaxId.Type;
126
126
 
@@ -153,6 +153,7 @@ declare module 'stripe' {
153
153
  | 'cn_tin'
154
154
  | 'co_nit'
155
155
  | 'cr_tin'
156
+ | 'de_stn'
156
157
  | 'do_rcn'
157
158
  | 'ec_ruc'
158
159
  | 'eg_tin'
@@ -115,7 +115,7 @@ declare module 'stripe' {
115
115
 
116
116
  interface TaxId {
117
117
  /**
118
- * Type of the tax ID, one of `ad_nrt`, `ae_trn`, `ar_cuit`, `au_abn`, `au_arn`, `bg_uic`, `bh_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `ch_vat`, `cl_tin`, `cn_tin`, `co_nit`, `cr_tin`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `hk_br`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kr_brn`, `kz_bin`, `li_uid`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sv_nit`, `th_vat`, `tr_tin`, `tw_vat`, `ua_vat`, `us_ein`, `uy_ruc`, `ve_rif`, `vn_tin`, or `za_vat`
118
+ * Type of the tax ID, one of `ad_nrt`, `ae_trn`, `ar_cuit`, `au_abn`, `au_arn`, `bg_uic`, `bh_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `ch_vat`, `cl_tin`, `cn_tin`, `co_nit`, `cr_tin`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `hk_br`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kr_brn`, `kz_bin`, `li_uid`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sv_nit`, `th_vat`, `tr_tin`, `tw_vat`, `ua_vat`, `us_ein`, `uy_ruc`, `ve_rif`, `vn_tin`, or `za_vat`
119
119
  */
120
120
  type: TaxId.Type;
121
121
 
@@ -148,6 +148,7 @@ declare module 'stripe' {
148
148
  | 'cn_tin'
149
149
  | 'co_nit'
150
150
  | 'cr_tin'
151
+ | 'de_stn'
151
152
  | 'do_rcn'
152
153
  | 'ec_ruc'
153
154
  | 'eg_tin'
@@ -120,7 +120,7 @@ declare module 'stripe' {
120
120
 
121
121
  interface TaxId {
122
122
  /**
123
- * The type of the tax ID, one of `ad_nrt`, `ar_cuit`, `eu_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `cn_tin`, `co_nit`, `cr_tin`, `do_rcn`, `ec_ruc`, `eu_oss_vat`, `pe_ruc`, `ro_tin`, `rs_pib`, `sv_nit`, `uy_ruc`, `ve_rif`, `vn_tin`, `gb_vat`, `nz_gst`, `au_abn`, `au_arn`, `in_gst`, `no_vat`, `no_voec`, `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`, `jp_trn`, `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`, `bg_uic`, `hu_tin`, `si_tin`, `ke_pin`, `tr_tin`, `eg_tin`, `ph_tin`, `bh_vat`, `kz_bin`, `ng_tin`, `om_vat`, or `unknown`
123
+ * The type of the tax ID, one of `ad_nrt`, `ar_cuit`, `eu_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `cn_tin`, `co_nit`, `cr_tin`, `do_rcn`, `ec_ruc`, `eu_oss_vat`, `pe_ruc`, `ro_tin`, `rs_pib`, `sv_nit`, `uy_ruc`, `ve_rif`, `vn_tin`, `gb_vat`, `nz_gst`, `au_abn`, `au_arn`, `in_gst`, `no_vat`, `no_voec`, `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`, `jp_trn`, `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`, `bg_uic`, `hu_tin`, `si_tin`, `ke_pin`, `tr_tin`, `eg_tin`, `ph_tin`, `bh_vat`, `kz_bin`, `ng_tin`, `om_vat`, `de_stn`, or `unknown`
124
124
  */
125
125
  type: TaxId.Type;
126
126
 
@@ -153,6 +153,7 @@ declare module 'stripe' {
153
153
  | 'cn_tin'
154
154
  | 'co_nit'
155
155
  | 'cr_tin'
156
+ | 'de_stn'
156
157
  | 'do_rcn'
157
158
  | 'ec_ruc'
158
159
  | 'eg_tin'
package/types/TaxIds.d.ts CHANGED
@@ -70,7 +70,7 @@ declare module 'stripe' {
70
70
  owner: TaxId.Owner | null;
71
71
 
72
72
  /**
73
- * Type of the tax ID, one of `ad_nrt`, `ae_trn`, `ar_cuit`, `au_abn`, `au_arn`, `bg_uic`, `bh_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `ch_vat`, `cl_tin`, `cn_tin`, `co_nit`, `cr_tin`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `hk_br`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kr_brn`, `kz_bin`, `li_uid`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sv_nit`, `th_vat`, `tr_tin`, `tw_vat`, `ua_vat`, `us_ein`, `uy_ruc`, `ve_rif`, `vn_tin`, or `za_vat`. Note that some legacy tax IDs have type `unknown`
73
+ * Type of the tax ID, one of `ad_nrt`, `ae_trn`, `ar_cuit`, `au_abn`, `au_arn`, `bg_uic`, `bh_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `ch_vat`, `cl_tin`, `cn_tin`, `co_nit`, `cr_tin`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `hk_br`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kr_brn`, `kz_bin`, `li_uid`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sv_nit`, `th_vat`, `tr_tin`, `tw_vat`, `ua_vat`, `us_ein`, `uy_ruc`, `ve_rif`, `vn_tin`, or `za_vat`. Note that some legacy tax IDs have type `unknown`
74
74
  */
75
75
  type: TaxId.Type;
76
76
 
@@ -134,6 +134,7 @@ declare module 'stripe' {
134
134
  | 'cn_tin'
135
135
  | 'co_nit'
136
136
  | 'cr_tin'
137
+ | 'de_stn'
137
138
  | 'do_rcn'
138
139
  | 'ec_ruc'
139
140
  | 'eg_tin'
@@ -4,7 +4,7 @@ declare module 'stripe' {
4
4
  namespace Stripe {
5
5
  interface TaxIdCreateParams {
6
6
  /**
7
- * Type of the tax ID, one of `ad_nrt`, `ae_trn`, `ar_cuit`, `au_abn`, `au_arn`, `bg_uic`, `bh_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `ch_vat`, `cl_tin`, `cn_tin`, `co_nit`, `cr_tin`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `hk_br`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kr_brn`, `kz_bin`, `li_uid`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sv_nit`, `th_vat`, `tr_tin`, `tw_vat`, `ua_vat`, `us_ein`, `uy_ruc`, `ve_rif`, `vn_tin`, or `za_vat`
7
+ * Type of the tax ID, one of `ad_nrt`, `ae_trn`, `ar_cuit`, `au_abn`, `au_arn`, `bg_uic`, `bh_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `ch_vat`, `cl_tin`, `cn_tin`, `co_nit`, `cr_tin`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `hk_br`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kr_brn`, `kz_bin`, `li_uid`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sv_nit`, `th_vat`, `tr_tin`, `tw_vat`, `ua_vat`, `us_ein`, `uy_ruc`, `ve_rif`, `vn_tin`, or `za_vat`
8
8
  */
9
9
  type: TaxIdCreateParams.Type;
10
10
 
@@ -68,6 +68,7 @@ declare module 'stripe' {
68
68
  | 'cn_tin'
69
69
  | 'co_nit'
70
70
  | 'cr_tin'
71
+ | 'de_stn'
71
72
  | 'do_rcn'
72
73
  | 'ec_ruc'
73
74
  | 'eg_tin'
@@ -73,7 +73,7 @@ declare module 'stripe' {
73
73
 
74
74
  interface LocationUpdateParams {
75
75
  /**
76
- * The full address of the location.
76
+ * The full address of the location. If you're updating the `address` field, avoid changing the `country`. If you need to modify the `country` field, create a new `Location` object and re-register any existing readers to that location.
77
77
  */
78
78
  address?: Stripe.AddressParam;
79
79
 
@@ -164,6 +164,11 @@ declare module 'stripe' {
164
164
  */
165
165
  mobilepay?: PaymentMethodData.Mobilepay;
166
166
 
167
+ /**
168
+ * If this is a `multibanco` PaymentMethod, this hash contains details about the Multibanco payment method.
169
+ */
170
+ multibanco?: PaymentMethodData.Multibanco;
171
+
167
172
  /**
168
173
  * If this is an `oxxo` PaymentMethod, this hash contains details about the OXXO payment method.
169
174
  */
@@ -219,6 +224,11 @@ declare module 'stripe' {
219
224
  */
220
225
  swish?: PaymentMethodData.Swish;
221
226
 
227
+ /**
228
+ * If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.
229
+ */
230
+ twint?: PaymentMethodData.Twint;
231
+
222
232
  /**
223
233
  * The type of the PaymentMethod. An additional hash is included on the PaymentMethod with a name matching this value. It contains additional information specific to the PaymentMethod type.
224
234
  */
@@ -473,6 +483,8 @@ declare module 'stripe' {
473
483
 
474
484
  interface Mobilepay {}
475
485
 
486
+ interface Multibanco {}
487
+
476
488
  interface Oxxo {}
477
489
 
478
490
  interface P24 {
@@ -549,6 +561,8 @@ declare module 'stripe' {
549
561
 
550
562
  interface Swish {}
551
563
 
564
+ interface Twint {}
565
+
552
566
  type Type =
553
567
  | 'acss_debit'
554
568
  | 'affirm'
@@ -571,6 +585,7 @@ declare module 'stripe' {
571
585
  | 'konbini'
572
586
  | 'link'
573
587
  | 'mobilepay'
588
+ | 'multibanco'
574
589
  | 'oxxo'
575
590
  | 'p24'
576
591
  | 'paynow'
@@ -581,6 +596,7 @@ declare module 'stripe' {
581
596
  | 'sepa_debit'
582
597
  | 'sofort'
583
598
  | 'swish'
599
+ | 'twint'
584
600
  | 'us_bank_account'
585
601
  | 'wechat_pay'
586
602
  | 'zip';
package/types/Tokens.d.ts CHANGED
@@ -39,8 +39,7 @@ declare module 'stripe' {
39
39
  * These bank accounts are payment methods on `Customer` objects.
40
40
  *
41
41
  * On the other hand [External Accounts](https://stripe.com/api#external_accounts) are transfer
42
- * destinations on `Account` objects for accounts where [controller.requirement_collection](https://stripe.com/api/accounts/object#account_object-controller-requirement_collection)
43
- * is `application`, which includes [Custom accounts](https://stripe.com/connect/custom-accounts).
42
+ * destinations on `Account` objects for connected accounts.
44
43
  * They can be bank accounts or debit cards as well, and are documented in the links above.
45
44
  *
46
45
  * Related guide: [Bank debits and transfers](https://stripe.com/payments/bank-debits-transfers)
@@ -106,7 +106,7 @@ declare module 'stripe' {
106
106
  amount?: number;
107
107
 
108
108
  /**
109
- * An arbitrary string which you can attach to a reversal object. It is displayed alongside the reversal in the Dashboard. This will be unset if you POST an empty value.
109
+ * An arbitrary string which you can attach to a reversal object. This will be unset if you POST an empty value.
110
110
  */
111
111
  description?: string;
112
112