stripe 9.2.0 → 9.5.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.
@@ -18,6 +18,8 @@ declare module 'stripe' {
18
18
 
19
19
  acss_debit?: PaymentMethod.AcssDebit;
20
20
 
21
+ affirm?: PaymentMethod.Affirm;
22
+
21
23
  afterpay_clearpay?: PaymentMethod.AfterpayClearpay;
22
24
 
23
25
  alipay?: PaymentMethod.Alipay;
@@ -64,6 +66,8 @@ declare module 'stripe' {
64
66
 
65
67
  konbini?: PaymentMethod.Konbini;
66
68
 
69
+ link?: PaymentMethod.Link;
70
+
67
71
  /**
68
72
  * Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
69
73
  */
@@ -122,6 +126,8 @@ declare module 'stripe' {
122
126
  transit_number: string | null;
123
127
  }
124
128
 
129
+ interface Affirm {}
130
+
125
131
  interface AfterpayClearpay {}
126
132
 
127
133
  interface Alipay {}
@@ -548,6 +554,18 @@ declare module 'stripe' {
548
554
 
549
555
  interface Konbini {}
550
556
 
557
+ interface Link {
558
+ /**
559
+ * Account owner's email address.
560
+ */
561
+ email: string | null;
562
+
563
+ /**
564
+ * Token used for persistent Link logins.
565
+ */
566
+ persistent_token?: string;
567
+ }
568
+
551
569
  interface Oxxo {}
552
570
 
553
571
  interface P24 {
@@ -643,6 +661,7 @@ declare module 'stripe' {
643
661
 
644
662
  type Type =
645
663
  | 'acss_debit'
664
+ | 'affirm'
646
665
  | 'afterpay_clearpay'
647
666
  | 'alipay'
648
667
  | 'au_becs_debit'
@@ -660,6 +679,7 @@ declare module 'stripe' {
660
679
  | 'interac_present'
661
680
  | 'klarna'
662
681
  | 'konbini'
682
+ | 'link'
663
683
  | 'oxxo'
664
684
  | 'p24'
665
685
  | 'paynow'
@@ -741,6 +761,11 @@ declare module 'stripe' {
741
761
  */
742
762
  acss_debit?: PaymentMethodCreateParams.AcssDebit;
743
763
 
764
+ /**
765
+ * If this is an `affirm` PaymentMethod, this hash contains details about the Affirm payment method.
766
+ */
767
+ affirm?: PaymentMethodCreateParams.Affirm;
768
+
744
769
  /**
745
770
  * If this is an `AfterpayClearpay` PaymentMethod, this hash contains details about the AfterpayClearpay payment method.
746
771
  */
@@ -836,6 +861,11 @@ declare module 'stripe' {
836
861
  */
837
862
  konbini?: PaymentMethodCreateParams.Konbini;
838
863
 
864
+ /**
865
+ * If this is an `Link` PaymentMethod, this hash contains details about the Link payment method.
866
+ */
867
+ link?: PaymentMethodCreateParams.Link;
868
+
839
869
  /**
840
870
  * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
841
871
  */
@@ -905,6 +935,8 @@ declare module 'stripe' {
905
935
  transit_number: string;
906
936
  }
907
937
 
938
+ interface Affirm {}
939
+
908
940
  interface AfterpayClearpay {}
909
941
 
910
942
  interface Alipay {}
@@ -1133,6 +1165,8 @@ declare module 'stripe' {
1133
1165
 
1134
1166
  interface Konbini {}
1135
1167
 
1168
+ interface Link {}
1169
+
1136
1170
  interface Oxxo {}
1137
1171
 
1138
1172
  interface P24 {
@@ -1193,6 +1227,7 @@ declare module 'stripe' {
1193
1227
 
1194
1228
  type Type =
1195
1229
  | 'acss_debit'
1230
+ | 'affirm'
1196
1231
  | 'afterpay_clearpay'
1197
1232
  | 'alipay'
1198
1233
  | 'au_becs_debit'
@@ -1208,6 +1243,7 @@ declare module 'stripe' {
1208
1243
  | 'ideal'
1209
1244
  | 'klarna'
1210
1245
  | 'konbini'
1246
+ | 'link'
1211
1247
  | 'oxxo'
1212
1248
  | 'p24'
1213
1249
  | 'paynow'
@@ -1265,6 +1301,11 @@ declare module 'stripe' {
1265
1301
  */
1266
1302
  acss_debit?: PaymentMethodUpdateParams.AcssDebit;
1267
1303
 
1304
+ /**
1305
+ * This is a legacy parameter that will be removed in the future. It is a hash that does not accept any keys.
1306
+ */
1307
+ affirm?: PaymentMethodUpdateParams.Affirm;
1308
+
1268
1309
  /**
1269
1310
  * This is a legacy parameter that will be removed in the future. It is a hash that does not accept any keys.
1270
1311
  */
@@ -1290,6 +1331,11 @@ declare module 'stripe' {
1290
1331
  */
1291
1332
  expand?: Array<string>;
1292
1333
 
1334
+ /**
1335
+ * If this is an `Link` PaymentMethod, this hash contains details about the Link payment method.
1336
+ */
1337
+ link?: PaymentMethodUpdateParams.Link;
1338
+
1293
1339
  /**
1294
1340
  * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
1295
1341
  */
@@ -1309,6 +1355,8 @@ declare module 'stripe' {
1309
1355
  namespace PaymentMethodUpdateParams {
1310
1356
  interface AcssDebit {}
1311
1357
 
1358
+ interface Affirm {}
1359
+
1312
1360
  interface AuBecsDebit {}
1313
1361
 
1314
1362
  interface BacsDebit {}
@@ -1353,6 +1401,8 @@ declare module 'stripe' {
1353
1401
  exp_year?: number;
1354
1402
  }
1355
1403
 
1404
+ interface Link {}
1405
+
1356
1406
  interface SepaDebit {}
1357
1407
 
1358
1408
  interface UsBankAccount {
@@ -1387,6 +1437,7 @@ declare module 'stripe' {
1387
1437
  namespace PaymentMethodListParams {
1388
1438
  type Type =
1389
1439
  | 'acss_debit'
1440
+ | 'affirm'
1390
1441
  | 'afterpay_clearpay'
1391
1442
  | 'alipay'
1392
1443
  | 'au_becs_debit'
@@ -1403,6 +1454,7 @@ declare module 'stripe' {
1403
1454
  | 'ideal'
1404
1455
  | 'klarna'
1405
1456
  | 'konbini'
1457
+ | 'link'
1406
1458
  | 'oxxo'
1407
1459
  | 'p24'
1408
1460
  | 'paynow'
@@ -82,6 +82,11 @@ declare module 'stripe' {
82
82
  */
83
83
  id_number_provided?: boolean;
84
84
 
85
+ /**
86
+ * Whether the person's `id_number_secondary` was provided.
87
+ */
88
+ id_number_secondary_provided?: boolean;
89
+
85
90
  /**
86
91
  * The person's last name.
87
92
  */
@@ -646,6 +651,11 @@ declare module 'stripe' {
646
651
  */
647
652
  id_number?: string;
648
653
 
654
+ /**
655
+ * The person's secondary ID number, as appropriate for their country, will be used for enhanced verification checks. In Thailand, this would be the laser code found on the back of an ID card. Instead of the number itself, you can also provide a [PII token provided by Stripe.js](https://stripe.com/docs/js/tokens_sources/create_token?type=pii).
656
+ */
657
+ id_number_secondary?: string;
658
+
649
659
  /**
650
660
  * The person's last name.
651
661
  */
@@ -922,6 +932,11 @@ declare module 'stripe' {
922
932
  */
923
933
  id_number?: string;
924
934
 
935
+ /**
936
+ * The person's secondary ID number, as appropriate for their country, will be used for enhanced verification checks. In Thailand, this would be the laser code found on the back of an ID card. Instead of the number itself, you can also provide a [PII token provided by Stripe.js](https://stripe.com/docs/js/tokens_sources/create_token?type=pii).
937
+ */
938
+ id_number_secondary?: string;
939
+
925
940
  /**
926
941
  * The person's last name.
927
942
  */
@@ -87,6 +87,8 @@ declare module 'stripe' {
87
87
 
88
88
  ideal?: PaymentMethodDetails.Ideal;
89
89
 
90
+ link?: PaymentMethodDetails.Link;
91
+
90
92
  sepa_debit?: PaymentMethodDetails.SepaDebit;
91
93
 
92
94
  sofort?: PaymentMethodDetails.Sofort;
@@ -283,6 +285,8 @@ declare module 'stripe' {
283
285
  | 'TRIONL2U';
284
286
  }
285
287
 
288
+ interface Link {}
289
+
286
290
  interface SepaDebit {}
287
291
 
288
292
  interface Sofort {
@@ -300,6 +300,8 @@ declare module 'stripe' {
300
300
 
301
301
  card?: PaymentMethodOptions.Card;
302
302
 
303
+ link?: PaymentMethodOptions.Link;
304
+
303
305
  sepa_debit?: PaymentMethodOptions.SepaDebit;
304
306
 
305
307
  us_bank_account?: PaymentMethodOptions.UsBankAccount;
@@ -435,6 +437,13 @@ declare module 'stripe' {
435
437
  type RequestThreeDSecure = 'any' | 'automatic' | 'challenge_only';
436
438
  }
437
439
 
440
+ interface Link {
441
+ /**
442
+ * Token used for persistent Link logins.
443
+ */
444
+ persistent_token: string | null;
445
+ }
446
+
438
447
  interface SepaDebit {
439
448
  mandate_options?: SepaDebit.MandateOptions;
440
449
  }
@@ -617,6 +626,11 @@ declare module 'stripe' {
617
626
  */
618
627
  acss_debit?: PaymentMethodData.AcssDebit;
619
628
 
629
+ /**
630
+ * If this is an `affirm` PaymentMethod, this hash contains details about the Affirm payment method.
631
+ */
632
+ affirm?: PaymentMethodData.Affirm;
633
+
620
634
  /**
621
635
  * If this is an `AfterpayClearpay` PaymentMethod, this hash contains details about the AfterpayClearpay payment method.
622
636
  */
@@ -697,6 +711,11 @@ declare module 'stripe' {
697
711
  */
698
712
  konbini?: PaymentMethodData.Konbini;
699
713
 
714
+ /**
715
+ * If this is an `Link` PaymentMethod, this hash contains details about the Link payment method.
716
+ */
717
+ link?: PaymentMethodData.Link;
718
+
700
719
  /**
701
720
  * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
702
721
  */
@@ -761,6 +780,8 @@ declare module 'stripe' {
761
780
  transit_number: string;
762
781
  }
763
782
 
783
+ interface Affirm {}
784
+
764
785
  interface AfterpayClearpay {}
765
786
 
766
787
  interface Alipay {}
@@ -963,6 +984,8 @@ declare module 'stripe' {
963
984
 
964
985
  interface Konbini {}
965
986
 
987
+ interface Link {}
988
+
966
989
  interface Oxxo {}
967
990
 
968
991
  interface P24 {
@@ -1023,6 +1046,7 @@ declare module 'stripe' {
1023
1046
 
1024
1047
  type Type =
1025
1048
  | 'acss_debit'
1049
+ | 'affirm'
1026
1050
  | 'afterpay_clearpay'
1027
1051
  | 'alipay'
1028
1052
  | 'au_becs_debit'
@@ -1037,6 +1061,7 @@ declare module 'stripe' {
1037
1061
  | 'ideal'
1038
1062
  | 'klarna'
1039
1063
  | 'konbini'
1064
+ | 'link'
1040
1065
  | 'oxxo'
1041
1066
  | 'p24'
1042
1067
  | 'paynow'
@@ -1092,6 +1117,11 @@ declare module 'stripe' {
1092
1117
  */
1093
1118
  card?: PaymentMethodOptions.Card;
1094
1119
 
1120
+ /**
1121
+ * If this is a `link` PaymentMethod, this sub-hash contains details about the Link payment method options.
1122
+ */
1123
+ link?: PaymentMethodOptions.Link;
1124
+
1095
1125
  /**
1096
1126
  * If this is a `sepa_debit` SetupIntent, this sub-hash contains details about the SEPA Debit payment method options.
1097
1127
  */
@@ -1245,6 +1275,13 @@ declare module 'stripe' {
1245
1275
  type RequestThreeDSecure = 'any' | 'automatic';
1246
1276
  }
1247
1277
 
1278
+ interface Link {
1279
+ /**
1280
+ * Token used for persistent Link logins.
1281
+ */
1282
+ persistent_token?: string;
1283
+ }
1284
+
1248
1285
  interface SepaDebit {
1249
1286
  /**
1250
1287
  * Additional fields for Mandate creation
@@ -1388,6 +1425,11 @@ declare module 'stripe' {
1388
1425
  */
1389
1426
  acss_debit?: PaymentMethodData.AcssDebit;
1390
1427
 
1428
+ /**
1429
+ * If this is an `affirm` PaymentMethod, this hash contains details about the Affirm payment method.
1430
+ */
1431
+ affirm?: PaymentMethodData.Affirm;
1432
+
1391
1433
  /**
1392
1434
  * If this is an `AfterpayClearpay` PaymentMethod, this hash contains details about the AfterpayClearpay payment method.
1393
1435
  */
@@ -1468,6 +1510,11 @@ declare module 'stripe' {
1468
1510
  */
1469
1511
  konbini?: PaymentMethodData.Konbini;
1470
1512
 
1513
+ /**
1514
+ * If this is an `Link` PaymentMethod, this hash contains details about the Link payment method.
1515
+ */
1516
+ link?: PaymentMethodData.Link;
1517
+
1471
1518
  /**
1472
1519
  * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
1473
1520
  */
@@ -1532,6 +1579,8 @@ declare module 'stripe' {
1532
1579
  transit_number: string;
1533
1580
  }
1534
1581
 
1582
+ interface Affirm {}
1583
+
1535
1584
  interface AfterpayClearpay {}
1536
1585
 
1537
1586
  interface Alipay {}
@@ -1734,6 +1783,8 @@ declare module 'stripe' {
1734
1783
 
1735
1784
  interface Konbini {}
1736
1785
 
1786
+ interface Link {}
1787
+
1737
1788
  interface Oxxo {}
1738
1789
 
1739
1790
  interface P24 {
@@ -1794,6 +1845,7 @@ declare module 'stripe' {
1794
1845
 
1795
1846
  type Type =
1796
1847
  | 'acss_debit'
1848
+ | 'affirm'
1797
1849
  | 'afterpay_clearpay'
1798
1850
  | 'alipay'
1799
1851
  | 'au_becs_debit'
@@ -1808,6 +1860,7 @@ declare module 'stripe' {
1808
1860
  | 'ideal'
1809
1861
  | 'klarna'
1810
1862
  | 'konbini'
1863
+ | 'link'
1811
1864
  | 'oxxo'
1812
1865
  | 'p24'
1813
1866
  | 'paynow'
@@ -1863,6 +1916,11 @@ declare module 'stripe' {
1863
1916
  */
1864
1917
  card?: PaymentMethodOptions.Card;
1865
1918
 
1919
+ /**
1920
+ * If this is a `link` PaymentMethod, this sub-hash contains details about the Link payment method options.
1921
+ */
1922
+ link?: PaymentMethodOptions.Link;
1923
+
1866
1924
  /**
1867
1925
  * If this is a `sepa_debit` SetupIntent, this sub-hash contains details about the SEPA Debit payment method options.
1868
1926
  */
@@ -2016,6 +2074,13 @@ declare module 'stripe' {
2016
2074
  type RequestThreeDSecure = 'any' | 'automatic';
2017
2075
  }
2018
2076
 
2077
+ interface Link {
2078
+ /**
2079
+ * Token used for persistent Link logins.
2080
+ */
2081
+ persistent_token?: string;
2082
+ }
2083
+
2019
2084
  interface SepaDebit {
2020
2085
  /**
2021
2086
  * Additional fields for Mandate creation
@@ -2250,6 +2315,11 @@ declare module 'stripe' {
2250
2315
  */
2251
2316
  acss_debit?: PaymentMethodData.AcssDebit;
2252
2317
 
2318
+ /**
2319
+ * If this is an `affirm` PaymentMethod, this hash contains details about the Affirm payment method.
2320
+ */
2321
+ affirm?: PaymentMethodData.Affirm;
2322
+
2253
2323
  /**
2254
2324
  * If this is an `AfterpayClearpay` PaymentMethod, this hash contains details about the AfterpayClearpay payment method.
2255
2325
  */
@@ -2330,6 +2400,11 @@ declare module 'stripe' {
2330
2400
  */
2331
2401
  konbini?: PaymentMethodData.Konbini;
2332
2402
 
2403
+ /**
2404
+ * If this is an `Link` PaymentMethod, this hash contains details about the Link payment method.
2405
+ */
2406
+ link?: PaymentMethodData.Link;
2407
+
2333
2408
  /**
2334
2409
  * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
2335
2410
  */
@@ -2394,6 +2469,8 @@ declare module 'stripe' {
2394
2469
  transit_number: string;
2395
2470
  }
2396
2471
 
2472
+ interface Affirm {}
2473
+
2397
2474
  interface AfterpayClearpay {}
2398
2475
 
2399
2476
  interface Alipay {}
@@ -2596,6 +2673,8 @@ declare module 'stripe' {
2596
2673
 
2597
2674
  interface Konbini {}
2598
2675
 
2676
+ interface Link {}
2677
+
2599
2678
  interface Oxxo {}
2600
2679
 
2601
2680
  interface P24 {
@@ -2656,6 +2735,7 @@ declare module 'stripe' {
2656
2735
 
2657
2736
  type Type =
2658
2737
  | 'acss_debit'
2738
+ | 'affirm'
2659
2739
  | 'afterpay_clearpay'
2660
2740
  | 'alipay'
2661
2741
  | 'au_becs_debit'
@@ -2670,6 +2750,7 @@ declare module 'stripe' {
2670
2750
  | 'ideal'
2671
2751
  | 'klarna'
2672
2752
  | 'konbini'
2753
+ | 'link'
2673
2754
  | 'oxxo'
2674
2755
  | 'p24'
2675
2756
  | 'paynow'
@@ -2725,6 +2806,11 @@ declare module 'stripe' {
2725
2806
  */
2726
2807
  card?: PaymentMethodOptions.Card;
2727
2808
 
2809
+ /**
2810
+ * If this is a `link` PaymentMethod, this sub-hash contains details about the Link payment method options.
2811
+ */
2812
+ link?: PaymentMethodOptions.Link;
2813
+
2728
2814
  /**
2729
2815
  * If this is a `sepa_debit` SetupIntent, this sub-hash contains details about the SEPA Debit payment method options.
2730
2816
  */
@@ -2878,6 +2964,13 @@ declare module 'stripe' {
2878
2964
  type RequestThreeDSecure = 'any' | 'automatic';
2879
2965
  }
2880
2966
 
2967
+ interface Link {
2968
+ /**
2969
+ * Token used for persistent Link logins.
2970
+ */
2971
+ persistent_token?: string;
2972
+ }
2973
+
2881
2974
  interface SepaDebit {
2882
2975
  /**
2883
2976
  * Additional fields for Mandate creation
@@ -595,7 +595,7 @@ declare module 'stripe' {
595
595
  metadata?: Stripe.MetadataParam;
596
596
 
597
597
  /**
598
- * If a subscription schedule will create prorations when transitioning to this phase. Possible values are `create_prorations` or `none`, and the default value is `create_prorations`. See [Prorations](https://stripe.com/docs/billing/subscriptions/prorations).
598
+ * Whether the subscription schedule will create [prorations](https://stripe.com/docs/billing/subscriptions/prorations) when transitioning to this phase. The default value is `create_prorations`.
599
599
  */
600
600
  proration_behavior?: Phase.ProrationBehavior;
601
601
 
@@ -847,7 +847,7 @@ declare module 'stripe' {
847
847
  phases?: Array<SubscriptionScheduleUpdateParams.Phase>;
848
848
 
849
849
  /**
850
- * If the update changes the current phase, indicates if the changes should be prorated. Possible values are `create_prorations` or `none`, and the default value is `create_prorations`.
850
+ * If the update changes the current phase, indicates whether the changes should be prorated. The default value is `create_prorations`.
851
851
  */
852
852
  proration_behavior?: SubscriptionScheduleUpdateParams.ProrationBehavior;
853
853
  }
@@ -1015,7 +1015,7 @@ declare module 'stripe' {
1015
1015
  metadata?: Stripe.MetadataParam;
1016
1016
 
1017
1017
  /**
1018
- * If a subscription schedule will create prorations when transitioning to this phase. Possible values are `create_prorations` or `none`, and the default value is `create_prorations`. See [Prorations](https://stripe.com/docs/billing/subscriptions/prorations).
1018
+ * Whether the subscription schedule will create [prorations](https://stripe.com/docs/billing/subscriptions/prorations) when transitioning to this phase. The default value is `create_prorations`.
1019
1019
  */
1020
1020
  proration_behavior?: Phase.ProrationBehavior;
1021
1021
 
@@ -429,6 +429,7 @@ declare module 'stripe' {
429
429
  | 'grabpay'
430
430
  | 'ideal'
431
431
  | 'konbini'
432
+ | 'link'
432
433
  | 'paynow'
433
434
  | 'sepa_credit_transfer'
434
435
  | 'sepa_debit'
@@ -1046,6 +1047,7 @@ declare module 'stripe' {
1046
1047
  | 'grabpay'
1047
1048
  | 'ideal'
1048
1049
  | 'konbini'
1050
+ | 'link'
1049
1051
  | 'paynow'
1050
1052
  | 'sepa_credit_transfer'
1051
1053
  | 'sepa_debit'
@@ -1668,6 +1670,7 @@ declare module 'stripe' {
1668
1670
  | 'grabpay'
1669
1671
  | 'ideal'
1670
1672
  | 'konbini'
1673
+ | 'link'
1671
1674
  | 'paynow'
1672
1675
  | 'sepa_credit_transfer'
1673
1676
  | 'sepa_debit'
@@ -1107,7 +1107,11 @@ declare module 'stripe' {
1107
1107
  id: string,
1108
1108
  params?: ConfigurationUpdateParams,
1109
1109
  options?: RequestOptions
1110
- ): Promise<Stripe.Response<Stripe.Terminal.Configuration>>;
1110
+ ): Promise<
1111
+ Stripe.Response<
1112
+ Stripe.Terminal.Configuration | Stripe.Terminal.DeletedConfiguration
1113
+ >
1114
+ >;
1111
1115
 
1112
1116
  /**
1113
1117
  * Returns a list of Configuration objects.
@@ -345,6 +345,11 @@ declare module 'stripe' {
345
345
  */
346
346
  id_number?: string;
347
347
 
348
+ /**
349
+ * The government-issued secondary ID number of the individual, as appropriate for the representative's country, will be used for enhanced verification checks. In Thailand, this would be the laser code found on the back of an ID card. Instead of the number itself, you can also provide a [PII token created with Stripe.js](https://stripe.com/docs/js/tokens_sources/create_token?type=pii).
350
+ */
351
+ id_number_secondary?: string;
352
+
348
353
  /**
349
354
  * The individual's last name.
350
355
  */
@@ -602,6 +607,11 @@ declare module 'stripe' {
602
607
  */
603
608
  id_number?: string;
604
609
 
610
+ /**
611
+ * The person's secondary ID number, as appropriate for their country, will be used for enhanced verification checks. In Thailand, this would be the laser code found on the back of an ID card. Instead of the number itself, you can also provide a [PII token provided by Stripe.js](https://stripe.com/docs/js/tokens_sources/create_token?type=pii).
612
+ */
613
+ id_number_secondary?: string;
614
+
605
615
  /**
606
616
  * The person's last name.
607
617
  */
@@ -264,6 +264,11 @@ declare module 'stripe' {
264
264
 
265
265
  namespace FinancialAccountCreateParams {
266
266
  interface Features {
267
+ /**
268
+ * Encodes the FinancialAccount's ability to be used with the Issuing product, including attaching cards to and drawing funds from the FinancialAccount.
269
+ */
270
+ card_issuing?: Features.CardIssuing;
271
+
267
272
  /**
268
273
  * Represents whether this FinancialAccount is eligible for deposit insurance. Various factors determine the insurance amount.
269
274
  */
@@ -296,6 +301,13 @@ declare module 'stripe' {
296
301
  }
297
302
 
298
303
  namespace Features {
304
+ interface CardIssuing {
305
+ /**
306
+ * Whether the FinancialAccount should have the Feature.
307
+ */
308
+ requested: boolean;
309
+ }
310
+
299
311
  interface DepositInsurance {
300
312
  /**
301
313
  * Whether the FinancialAccount should have the Feature.
@@ -449,6 +461,11 @@ declare module 'stripe' {
449
461
 
450
462
  namespace FinancialAccountUpdateParams {
451
463
  interface Features {
464
+ /**
465
+ * Encodes the FinancialAccount's ability to be used with the Issuing product, including attaching cards to and drawing funds from the FinancialAccount.
466
+ */
467
+ card_issuing?: Features.CardIssuing;
468
+
452
469
  /**
453
470
  * Represents whether this FinancialAccount is eligible for deposit insurance. Various factors determine the insurance amount.
454
471
  */
@@ -481,6 +498,13 @@ declare module 'stripe' {
481
498
  }
482
499
 
483
500
  namespace Features {
501
+ interface CardIssuing {
502
+ /**
503
+ * Whether the FinancialAccount should have the Feature.
504
+ */
505
+ requested: boolean;
506
+ }
507
+
484
508
  interface DepositInsurance {
485
509
  /**
486
510
  * Whether the FinancialAccount should have the Feature.
@@ -620,6 +644,11 @@ declare module 'stripe' {
620
644
  }
621
645
 
622
646
  interface FinancialAccountUpdateFeaturesParams {
647
+ /**
648
+ * Encodes the FinancialAccount's ability to be used with the Issuing product, including attaching cards to and drawing funds from the FinancialAccount.
649
+ */
650
+ card_issuing?: FinancialAccountUpdateFeaturesParams.CardIssuing;
651
+
623
652
  /**
624
653
  * Represents whether this FinancialAccount is eligible for deposit insurance. Various factors determine the insurance amount.
625
654
  */
@@ -657,6 +686,13 @@ declare module 'stripe' {
657
686
  }
658
687
 
659
688
  namespace FinancialAccountUpdateFeaturesParams {
689
+ interface CardIssuing {
690
+ /**
691
+ * Whether the FinancialAccount should have the Feature.
692
+ */
693
+ requested: boolean;
694
+ }
695
+
660
696
  interface DepositInsurance {
661
697
  /**
662
698
  * Whether the FinancialAccount should have the Feature.
@@ -13,6 +13,7 @@
13
13
  ///<reference path='./ApplePayDomains.d.ts' />
14
14
  ///<reference path='./ApplicationFees.d.ts' />
15
15
  ///<reference path='./Applications.d.ts' />
16
+ ///<reference path='./Apps/Secrets.d.ts' />
16
17
  ///<reference path='./Balance.d.ts' />
17
18
  ///<reference path='./BalanceTransactions.d.ts' />
18
19
  ///<reference path='./BankAccounts.d.ts' />
@@ -198,6 +199,9 @@ declare module 'stripe' {
198
199
  /**
199
200
  * Namespaced Resources
200
201
  */
202
+ apps: {
203
+ secrets: Stripe.Apps.SecretsResource;
204
+ };
201
205
  billingPortal: {
202
206
  configurations: Stripe.BillingPortal.ConfigurationsResource;
203
207
  sessions: Stripe.BillingPortal.SessionsResource;