stripe 18.1.0-beta.2 → 18.1.0-beta.3
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 +23 -0
- package/OPENAPI_VERSION +1 -1
- package/VERSION +1 -1
- package/cjs/resources/FxQuotes.js +15 -0
- package/cjs/resources/Invoices.js +0 -13
- package/cjs/resources/PaymentIntents.js +5 -0
- package/cjs/resources.js +4 -2
- package/cjs/stripe.core.js +1 -1
- package/esm/resources/FxQuotes.js +12 -0
- package/esm/resources/Invoices.js +0 -13
- package/esm/resources/PaymentIntents.js +5 -0
- package/esm/resources.js +1 -0
- package/esm/stripe.core.js +1 -1
- package/package.json +1 -1
- package/types/Accounts.d.ts +19 -0
- package/types/AccountsResource.d.ts +212 -0
- package/types/BalanceSettings.d.ts +5 -1
- package/types/Capital/FinancingOffers.d.ts +4 -4
- package/types/Capital/FinancingSummary.d.ts +6 -6
- package/types/Charges.d.ts +5 -0
- package/types/ChargesResource.d.ts +20 -0
- package/types/Checkout/SessionsResource.d.ts +93 -4
- package/types/ConfirmationTokens.d.ts +5 -0
- package/types/Coupons.d.ts +33 -0
- package/types/CouponsResource.d.ts +21 -0
- package/types/EventTypes.d.ts +17 -0
- package/types/Events.d.ts +1 -0
- package/types/FxQuotes.d.ts +153 -0
- package/types/FxQuotesResource.d.ts +130 -0
- package/types/Invoices.d.ts +1 -0
- package/types/InvoicesResource.d.ts +2 -76
- package/types/PaymentIntentAmountDetailsLineItems.d.ts +110 -0
- package/types/PaymentIntents.d.ts +53 -0
- package/types/PaymentIntentsResource.d.ts +91 -0
- package/types/PaymentMethodConfigurations.d.ts +36 -0
- package/types/PaymentMethodConfigurationsResource.d.ts +50 -0
- package/types/PaymentMethods.d.ts +5 -0
- package/types/PaymentMethodsResource.d.ts +10 -0
- package/types/Persons.d.ts +88 -1
- package/types/QuotePreviewInvoices.d.ts +1 -0
- package/types/Refunds.d.ts +10 -0
- package/types/SetupIntentsResource.d.ts +15 -0
- package/types/Subscriptions.d.ts +1 -0
- package/types/SubscriptionsResource.d.ts +2 -0
- package/types/Tax/Registrations.d.ts +72 -0
- package/types/Tax/RegistrationsResource.d.ts +96 -0
- package/types/TestHelpers/ConfirmationTokensResource.d.ts +5 -0
- package/types/TokensResource.d.ts +106 -0
- package/types/Transfers.d.ts +5 -0
- package/types/TransfersResource.d.ts +5 -0
- package/types/Treasury/OutboundPaymentsResource.d.ts +5 -0
- package/types/WebhookEndpointsResource.d.ts +2 -0
- package/types/index.d.ts +4 -0
package/types/Persons.d.ts
CHANGED
|
@@ -170,6 +170,11 @@ declare module 'stripe' {
|
|
|
170
170
|
*/
|
|
171
171
|
ssn_last_4_provided?: boolean;
|
|
172
172
|
|
|
173
|
+
/**
|
|
174
|
+
* Demographic data related to the person.
|
|
175
|
+
*/
|
|
176
|
+
us_cfpb_data?: Person.UsCfpbData | null;
|
|
177
|
+
|
|
173
178
|
verification?: Person.Verification;
|
|
174
179
|
}
|
|
175
180
|
|
|
@@ -659,6 +664,88 @@ declare module 'stripe' {
|
|
|
659
664
|
}
|
|
660
665
|
}
|
|
661
666
|
|
|
667
|
+
interface UsCfpbData {
|
|
668
|
+
/**
|
|
669
|
+
* The persons ethnicity details
|
|
670
|
+
*/
|
|
671
|
+
ethnicity_details: UsCfpbData.EthnicityDetails | null;
|
|
672
|
+
|
|
673
|
+
/**
|
|
674
|
+
* The persons race details
|
|
675
|
+
*/
|
|
676
|
+
race_details: UsCfpbData.RaceDetails | null;
|
|
677
|
+
|
|
678
|
+
/**
|
|
679
|
+
* The persons self-identified gender
|
|
680
|
+
*/
|
|
681
|
+
self_identified_gender: string | null;
|
|
682
|
+
}
|
|
683
|
+
|
|
684
|
+
namespace UsCfpbData {
|
|
685
|
+
interface EthnicityDetails {
|
|
686
|
+
/**
|
|
687
|
+
* The persons ethnicity
|
|
688
|
+
*/
|
|
689
|
+
ethnicity: Array<EthnicityDetails.Ethnicity> | null;
|
|
690
|
+
|
|
691
|
+
/**
|
|
692
|
+
* Please specify your origin, when other is selected.
|
|
693
|
+
*/
|
|
694
|
+
ethnicity_other: string | null;
|
|
695
|
+
}
|
|
696
|
+
|
|
697
|
+
namespace EthnicityDetails {
|
|
698
|
+
type Ethnicity =
|
|
699
|
+
| 'cuban'
|
|
700
|
+
| 'hispanic_or_latino'
|
|
701
|
+
| 'mexican'
|
|
702
|
+
| 'not_hispanic_or_latino'
|
|
703
|
+
| 'other_hispanic_or_latino'
|
|
704
|
+
| 'prefer_not_to_answer'
|
|
705
|
+
| 'puerto_rican';
|
|
706
|
+
}
|
|
707
|
+
|
|
708
|
+
interface RaceDetails {
|
|
709
|
+
/**
|
|
710
|
+
* The persons race.
|
|
711
|
+
*/
|
|
712
|
+
race: Array<RaceDetails.Race> | null;
|
|
713
|
+
|
|
714
|
+
/**
|
|
715
|
+
* Please specify your race, when other is selected.
|
|
716
|
+
*/
|
|
717
|
+
race_other: string | null;
|
|
718
|
+
}
|
|
719
|
+
|
|
720
|
+
namespace RaceDetails {
|
|
721
|
+
type Race =
|
|
722
|
+
| 'african_american'
|
|
723
|
+
| 'american_indian_or_alaska_native'
|
|
724
|
+
| 'asian'
|
|
725
|
+
| 'asian_indian'
|
|
726
|
+
| 'black_or_african_american'
|
|
727
|
+
| 'chinese'
|
|
728
|
+
| 'ethiopian'
|
|
729
|
+
| 'filipino'
|
|
730
|
+
| 'guamanian_or_chamorro'
|
|
731
|
+
| 'haitian'
|
|
732
|
+
| 'jamaican'
|
|
733
|
+
| 'japanese'
|
|
734
|
+
| 'korean'
|
|
735
|
+
| 'native_hawaiian'
|
|
736
|
+
| 'native_hawaiian_or_other_pacific_islander'
|
|
737
|
+
| 'nigerian'
|
|
738
|
+
| 'other_asian'
|
|
739
|
+
| 'other_black_or_african_american'
|
|
740
|
+
| 'other_pacific_islander'
|
|
741
|
+
| 'prefer_not_to_answer'
|
|
742
|
+
| 'samoan'
|
|
743
|
+
| 'somali'
|
|
744
|
+
| 'vietnamese'
|
|
745
|
+
| 'white';
|
|
746
|
+
}
|
|
747
|
+
}
|
|
748
|
+
|
|
662
749
|
interface Verification {
|
|
663
750
|
/**
|
|
664
751
|
* A document showing address, either a passport, local ID card, or utility bill from a well-known utility company.
|
|
@@ -678,7 +765,7 @@ declare module 'stripe' {
|
|
|
678
765
|
document?: Verification.Document;
|
|
679
766
|
|
|
680
767
|
/**
|
|
681
|
-
* The state of verification for the person. Possible values are `unverified`, `pending`, or `verified`.
|
|
768
|
+
* The state of verification for the person. Possible values are `unverified`, `pending`, or `verified`. Please refer [guide](https://stripe.com/docs/connect/handling-api-verification) to handle verification updates.
|
|
682
769
|
*/
|
|
683
770
|
status: string;
|
|
684
771
|
}
|
package/types/Refunds.d.ts
CHANGED
|
@@ -79,6 +79,11 @@ declare module 'stripe' {
|
|
|
79
79
|
*/
|
|
80
80
|
payment_intent: string | Stripe.PaymentIntent | null;
|
|
81
81
|
|
|
82
|
+
/**
|
|
83
|
+
* Provides the reason for why the refund is pending. Possible values are: `processing`, `insufficient_funds`, or `charge_pending`.
|
|
84
|
+
*/
|
|
85
|
+
pending_reason?: Refund.PendingReason;
|
|
86
|
+
|
|
82
87
|
presentment_details?: Refund.PresentmentDetails;
|
|
83
88
|
|
|
84
89
|
/**
|
|
@@ -437,6 +442,11 @@ declare module 'stripe' {
|
|
|
437
442
|
}
|
|
438
443
|
}
|
|
439
444
|
|
|
445
|
+
type PendingReason =
|
|
446
|
+
| 'charge_pending'
|
|
447
|
+
| 'insufficient_funds'
|
|
448
|
+
| 'processing';
|
|
449
|
+
|
|
440
450
|
interface PresentmentDetails {
|
|
441
451
|
/**
|
|
442
452
|
* Amount intended to be collected by this payment, denominated in presentment_currency.
|
|
@@ -572,6 +572,11 @@ declare module 'stripe' {
|
|
|
572
572
|
* Billing phone number (including extension).
|
|
573
573
|
*/
|
|
574
574
|
phone?: Stripe.Emptyable<string>;
|
|
575
|
+
|
|
576
|
+
/**
|
|
577
|
+
* Taxpayer identification number. Used only for transactions between LATAM buyers and non-LATAM sellers.
|
|
578
|
+
*/
|
|
579
|
+
tax_id?: string;
|
|
575
580
|
}
|
|
576
581
|
|
|
577
582
|
interface Blik {}
|
|
@@ -2069,6 +2074,11 @@ declare module 'stripe' {
|
|
|
2069
2074
|
* Billing phone number (including extension).
|
|
2070
2075
|
*/
|
|
2071
2076
|
phone?: Stripe.Emptyable<string>;
|
|
2077
|
+
|
|
2078
|
+
/**
|
|
2079
|
+
* Taxpayer identification number. Used only for transactions between LATAM buyers and non-LATAM sellers.
|
|
2080
|
+
*/
|
|
2081
|
+
tax_id?: string;
|
|
2072
2082
|
}
|
|
2073
2083
|
|
|
2074
2084
|
interface Blik {}
|
|
@@ -3613,6 +3623,11 @@ declare module 'stripe' {
|
|
|
3613
3623
|
* Billing phone number (including extension).
|
|
3614
3624
|
*/
|
|
3615
3625
|
phone?: Stripe.Emptyable<string>;
|
|
3626
|
+
|
|
3627
|
+
/**
|
|
3628
|
+
* Taxpayer identification number. Used only for transactions between LATAM buyers and non-LATAM sellers.
|
|
3629
|
+
*/
|
|
3630
|
+
tax_id?: string;
|
|
3616
3631
|
}
|
|
3617
3632
|
|
|
3618
3633
|
interface Blik {}
|
package/types/Subscriptions.d.ts
CHANGED
|
@@ -910,6 +910,7 @@ declare module 'stripe' {
|
|
|
910
910
|
| 'ach_credit_transfer'
|
|
911
911
|
| 'ach_debit'
|
|
912
912
|
| 'acss_debit'
|
|
913
|
+
| 'affirm'
|
|
913
914
|
| 'amazon_pay'
|
|
914
915
|
| 'au_becs_debit'
|
|
915
916
|
| 'bacs_debit'
|
|
@@ -1925,6 +1926,7 @@ declare module 'stripe' {
|
|
|
1925
1926
|
| 'ach_credit_transfer'
|
|
1926
1927
|
| 'ach_debit'
|
|
1927
1928
|
| 'acss_debit'
|
|
1929
|
+
| 'affirm'
|
|
1928
1930
|
| 'amazon_pay'
|
|
1929
1931
|
| 'au_becs_debit'
|
|
1930
1932
|
| 'bacs_debit'
|
|
@@ -68,16 +68,24 @@ declare module 'stripe' {
|
|
|
68
68
|
|
|
69
69
|
au?: CountryOptions.Au;
|
|
70
70
|
|
|
71
|
+
aw?: CountryOptions.Aw;
|
|
72
|
+
|
|
73
|
+
az?: CountryOptions.Az;
|
|
74
|
+
|
|
71
75
|
ba?: CountryOptions.Ba;
|
|
72
76
|
|
|
73
77
|
bb?: CountryOptions.Bb;
|
|
74
78
|
|
|
79
|
+
bd?: CountryOptions.Bd;
|
|
80
|
+
|
|
75
81
|
be?: CountryOptions.Be;
|
|
76
82
|
|
|
77
83
|
bg?: CountryOptions.Bg;
|
|
78
84
|
|
|
79
85
|
bh?: CountryOptions.Bh;
|
|
80
86
|
|
|
87
|
+
bj?: CountryOptions.Bj;
|
|
88
|
+
|
|
81
89
|
bs?: CountryOptions.Bs;
|
|
82
90
|
|
|
83
91
|
by?: CountryOptions.By;
|
|
@@ -110,6 +118,8 @@ declare module 'stripe' {
|
|
|
110
118
|
|
|
111
119
|
es?: CountryOptions.Es;
|
|
112
120
|
|
|
121
|
+
et?: CountryOptions.Et;
|
|
122
|
+
|
|
113
123
|
fi?: CountryOptions.Fi;
|
|
114
124
|
|
|
115
125
|
fr?: CountryOptions.Fr;
|
|
@@ -140,12 +150,16 @@ declare module 'stripe' {
|
|
|
140
150
|
|
|
141
151
|
ke?: CountryOptions.Ke;
|
|
142
152
|
|
|
153
|
+
kg?: CountryOptions.Kg;
|
|
154
|
+
|
|
143
155
|
kh?: CountryOptions.Kh;
|
|
144
156
|
|
|
145
157
|
kr?: CountryOptions.Kr;
|
|
146
158
|
|
|
147
159
|
kz?: CountryOptions.Kz;
|
|
148
160
|
|
|
161
|
+
la?: CountryOptions.La;
|
|
162
|
+
|
|
149
163
|
lt?: CountryOptions.Lt;
|
|
150
164
|
|
|
151
165
|
lu?: CountryOptions.Lu;
|
|
@@ -182,6 +196,8 @@ declare module 'stripe' {
|
|
|
182
196
|
|
|
183
197
|
pe?: CountryOptions.Pe;
|
|
184
198
|
|
|
199
|
+
ph?: CountryOptions.Ph;
|
|
200
|
+
|
|
185
201
|
pl?: CountryOptions.Pl;
|
|
186
202
|
|
|
187
203
|
pt?: CountryOptions.Pt;
|
|
@@ -291,6 +307,20 @@ declare module 'stripe' {
|
|
|
291
307
|
type: 'standard';
|
|
292
308
|
}
|
|
293
309
|
|
|
310
|
+
interface Aw {
|
|
311
|
+
/**
|
|
312
|
+
* Type of registration in `country`.
|
|
313
|
+
*/
|
|
314
|
+
type: 'standard';
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
interface Az {
|
|
318
|
+
/**
|
|
319
|
+
* Type of registration in `country`.
|
|
320
|
+
*/
|
|
321
|
+
type: 'simplified';
|
|
322
|
+
}
|
|
323
|
+
|
|
294
324
|
interface Ba {
|
|
295
325
|
/**
|
|
296
326
|
* Type of registration in `country`.
|
|
@@ -305,6 +335,13 @@ declare module 'stripe' {
|
|
|
305
335
|
type: 'standard';
|
|
306
336
|
}
|
|
307
337
|
|
|
338
|
+
interface Bd {
|
|
339
|
+
/**
|
|
340
|
+
* Type of registration in `country`.
|
|
341
|
+
*/
|
|
342
|
+
type: 'standard';
|
|
343
|
+
}
|
|
344
|
+
|
|
308
345
|
interface Be {
|
|
309
346
|
standard?: Be.Standard;
|
|
310
347
|
|
|
@@ -360,6 +397,13 @@ declare module 'stripe' {
|
|
|
360
397
|
type: 'standard';
|
|
361
398
|
}
|
|
362
399
|
|
|
400
|
+
interface Bj {
|
|
401
|
+
/**
|
|
402
|
+
* Type of registration in `country`.
|
|
403
|
+
*/
|
|
404
|
+
type: 'simplified';
|
|
405
|
+
}
|
|
406
|
+
|
|
363
407
|
interface Bs {
|
|
364
408
|
/**
|
|
365
409
|
* Type of registration in `country`.
|
|
@@ -587,6 +631,13 @@ declare module 'stripe' {
|
|
|
587
631
|
type Type = 'ioss' | 'oss_non_union' | 'oss_union' | 'standard';
|
|
588
632
|
}
|
|
589
633
|
|
|
634
|
+
interface Et {
|
|
635
|
+
/**
|
|
636
|
+
* Type of registration in `country`.
|
|
637
|
+
*/
|
|
638
|
+
type: 'standard';
|
|
639
|
+
}
|
|
640
|
+
|
|
590
641
|
interface Fi {
|
|
591
642
|
standard?: Fi.Standard;
|
|
592
643
|
|
|
@@ -811,6 +862,13 @@ declare module 'stripe' {
|
|
|
811
862
|
type: 'simplified';
|
|
812
863
|
}
|
|
813
864
|
|
|
865
|
+
interface Kg {
|
|
866
|
+
/**
|
|
867
|
+
* Type of registration in `country`.
|
|
868
|
+
*/
|
|
869
|
+
type: 'simplified';
|
|
870
|
+
}
|
|
871
|
+
|
|
814
872
|
interface Kh {
|
|
815
873
|
/**
|
|
816
874
|
* Type of registration in `country`.
|
|
@@ -832,6 +890,13 @@ declare module 'stripe' {
|
|
|
832
890
|
type: 'simplified';
|
|
833
891
|
}
|
|
834
892
|
|
|
893
|
+
interface La {
|
|
894
|
+
/**
|
|
895
|
+
* Type of registration in `country`.
|
|
896
|
+
*/
|
|
897
|
+
type: 'simplified';
|
|
898
|
+
}
|
|
899
|
+
|
|
835
900
|
interface Lt {
|
|
836
901
|
standard?: Lt.Standard;
|
|
837
902
|
|
|
@@ -1043,6 +1108,13 @@ declare module 'stripe' {
|
|
|
1043
1108
|
type: 'simplified';
|
|
1044
1109
|
}
|
|
1045
1110
|
|
|
1111
|
+
interface Ph {
|
|
1112
|
+
/**
|
|
1113
|
+
* Type of registration in `country`.
|
|
1114
|
+
*/
|
|
1115
|
+
type: 'simplified';
|
|
1116
|
+
}
|
|
1117
|
+
|
|
1046
1118
|
interface Pl {
|
|
1047
1119
|
standard?: Pl.Standard;
|
|
1048
1120
|
|
|
@@ -62,6 +62,16 @@ declare module 'stripe' {
|
|
|
62
62
|
*/
|
|
63
63
|
au?: CountryOptions.Au;
|
|
64
64
|
|
|
65
|
+
/**
|
|
66
|
+
* Options for the registration in AW.
|
|
67
|
+
*/
|
|
68
|
+
aw?: CountryOptions.Aw;
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* Options for the registration in AZ.
|
|
72
|
+
*/
|
|
73
|
+
az?: CountryOptions.Az;
|
|
74
|
+
|
|
65
75
|
/**
|
|
66
76
|
* Options for the registration in BA.
|
|
67
77
|
*/
|
|
@@ -72,6 +82,11 @@ declare module 'stripe' {
|
|
|
72
82
|
*/
|
|
73
83
|
bb?: CountryOptions.Bb;
|
|
74
84
|
|
|
85
|
+
/**
|
|
86
|
+
* Options for the registration in BD.
|
|
87
|
+
*/
|
|
88
|
+
bd?: CountryOptions.Bd;
|
|
89
|
+
|
|
75
90
|
/**
|
|
76
91
|
* Options for the registration in BE.
|
|
77
92
|
*/
|
|
@@ -87,6 +102,11 @@ declare module 'stripe' {
|
|
|
87
102
|
*/
|
|
88
103
|
bh?: CountryOptions.Bh;
|
|
89
104
|
|
|
105
|
+
/**
|
|
106
|
+
* Options for the registration in BJ.
|
|
107
|
+
*/
|
|
108
|
+
bj?: CountryOptions.Bj;
|
|
109
|
+
|
|
90
110
|
/**
|
|
91
111
|
* Options for the registration in BS.
|
|
92
112
|
*/
|
|
@@ -167,6 +187,11 @@ declare module 'stripe' {
|
|
|
167
187
|
*/
|
|
168
188
|
es?: CountryOptions.Es;
|
|
169
189
|
|
|
190
|
+
/**
|
|
191
|
+
* Options for the registration in ET.
|
|
192
|
+
*/
|
|
193
|
+
et?: CountryOptions.Et;
|
|
194
|
+
|
|
170
195
|
/**
|
|
171
196
|
* Options for the registration in FI.
|
|
172
197
|
*/
|
|
@@ -242,6 +267,11 @@ declare module 'stripe' {
|
|
|
242
267
|
*/
|
|
243
268
|
ke?: CountryOptions.Ke;
|
|
244
269
|
|
|
270
|
+
/**
|
|
271
|
+
* Options for the registration in KG.
|
|
272
|
+
*/
|
|
273
|
+
kg?: CountryOptions.Kg;
|
|
274
|
+
|
|
245
275
|
/**
|
|
246
276
|
* Options for the registration in KH.
|
|
247
277
|
*/
|
|
@@ -257,6 +287,11 @@ declare module 'stripe' {
|
|
|
257
287
|
*/
|
|
258
288
|
kz?: CountryOptions.Kz;
|
|
259
289
|
|
|
290
|
+
/**
|
|
291
|
+
* Options for the registration in LA.
|
|
292
|
+
*/
|
|
293
|
+
la?: CountryOptions.La;
|
|
294
|
+
|
|
260
295
|
/**
|
|
261
296
|
* Options for the registration in LT.
|
|
262
297
|
*/
|
|
@@ -347,6 +382,11 @@ declare module 'stripe' {
|
|
|
347
382
|
*/
|
|
348
383
|
pe?: CountryOptions.Pe;
|
|
349
384
|
|
|
385
|
+
/**
|
|
386
|
+
* Options for the registration in PH.
|
|
387
|
+
*/
|
|
388
|
+
ph?: CountryOptions.Ph;
|
|
389
|
+
|
|
350
390
|
/**
|
|
351
391
|
* Options for the registration in PL.
|
|
352
392
|
*/
|
|
@@ -531,6 +571,20 @@ declare module 'stripe' {
|
|
|
531
571
|
type: 'standard';
|
|
532
572
|
}
|
|
533
573
|
|
|
574
|
+
interface Aw {
|
|
575
|
+
/**
|
|
576
|
+
* Type of registration to be created in `country`.
|
|
577
|
+
*/
|
|
578
|
+
type: 'standard';
|
|
579
|
+
}
|
|
580
|
+
|
|
581
|
+
interface Az {
|
|
582
|
+
/**
|
|
583
|
+
* Type of registration to be created in `country`.
|
|
584
|
+
*/
|
|
585
|
+
type: 'simplified';
|
|
586
|
+
}
|
|
587
|
+
|
|
534
588
|
interface Ba {
|
|
535
589
|
/**
|
|
536
590
|
* Type of registration to be created in `country`.
|
|
@@ -545,6 +599,13 @@ declare module 'stripe' {
|
|
|
545
599
|
type: 'standard';
|
|
546
600
|
}
|
|
547
601
|
|
|
602
|
+
interface Bd {
|
|
603
|
+
/**
|
|
604
|
+
* Type of registration to be created in `country`.
|
|
605
|
+
*/
|
|
606
|
+
type: 'standard';
|
|
607
|
+
}
|
|
608
|
+
|
|
548
609
|
interface Be {
|
|
549
610
|
/**
|
|
550
611
|
* Options for the standard registration.
|
|
@@ -606,6 +667,13 @@ declare module 'stripe' {
|
|
|
606
667
|
type: 'standard';
|
|
607
668
|
}
|
|
608
669
|
|
|
670
|
+
interface Bj {
|
|
671
|
+
/**
|
|
672
|
+
* Type of registration to be created in `country`.
|
|
673
|
+
*/
|
|
674
|
+
type: 'simplified';
|
|
675
|
+
}
|
|
676
|
+
|
|
609
677
|
interface Bs {
|
|
610
678
|
/**
|
|
611
679
|
* Type of registration to be created in `country`.
|
|
@@ -854,6 +922,13 @@ declare module 'stripe' {
|
|
|
854
922
|
type Type = 'ioss' | 'oss_non_union' | 'oss_union' | 'standard';
|
|
855
923
|
}
|
|
856
924
|
|
|
925
|
+
interface Et {
|
|
926
|
+
/**
|
|
927
|
+
* Type of registration to be created in `country`.
|
|
928
|
+
*/
|
|
929
|
+
type: 'standard';
|
|
930
|
+
}
|
|
931
|
+
|
|
857
932
|
interface Fi {
|
|
858
933
|
/**
|
|
859
934
|
* Options for the standard registration.
|
|
@@ -1099,6 +1174,13 @@ declare module 'stripe' {
|
|
|
1099
1174
|
type: 'simplified';
|
|
1100
1175
|
}
|
|
1101
1176
|
|
|
1177
|
+
interface Kg {
|
|
1178
|
+
/**
|
|
1179
|
+
* Type of registration to be created in `country`.
|
|
1180
|
+
*/
|
|
1181
|
+
type: 'simplified';
|
|
1182
|
+
}
|
|
1183
|
+
|
|
1102
1184
|
interface Kh {
|
|
1103
1185
|
/**
|
|
1104
1186
|
* Type of registration to be created in `country`.
|
|
@@ -1120,6 +1202,13 @@ declare module 'stripe' {
|
|
|
1120
1202
|
type: 'simplified';
|
|
1121
1203
|
}
|
|
1122
1204
|
|
|
1205
|
+
interface La {
|
|
1206
|
+
/**
|
|
1207
|
+
* Type of registration to be created in `country`.
|
|
1208
|
+
*/
|
|
1209
|
+
type: 'simplified';
|
|
1210
|
+
}
|
|
1211
|
+
|
|
1123
1212
|
interface Lt {
|
|
1124
1213
|
/**
|
|
1125
1214
|
* Options for the standard registration.
|
|
@@ -1346,6 +1435,13 @@ declare module 'stripe' {
|
|
|
1346
1435
|
type: 'simplified';
|
|
1347
1436
|
}
|
|
1348
1437
|
|
|
1438
|
+
interface Ph {
|
|
1439
|
+
/**
|
|
1440
|
+
* Type of registration to be created in `country`.
|
|
1441
|
+
*/
|
|
1442
|
+
type: 'simplified';
|
|
1443
|
+
}
|
|
1444
|
+
|
|
1349
1445
|
interface Pl {
|
|
1350
1446
|
/**
|
|
1351
1447
|
* Options for the standard registration.
|
|
@@ -420,6 +420,11 @@ declare module 'stripe' {
|
|
|
420
420
|
* Billing phone number (including extension).
|
|
421
421
|
*/
|
|
422
422
|
phone?: Stripe.Emptyable<string>;
|
|
423
|
+
|
|
424
|
+
/**
|
|
425
|
+
* Taxpayer identification number. Used only for transactions between LATAM buyers and non-LATAM sellers.
|
|
426
|
+
*/
|
|
427
|
+
tax_id?: string;
|
|
423
428
|
}
|
|
424
429
|
|
|
425
430
|
interface Blik {}
|
|
@@ -157,6 +157,8 @@ declare module 'stripe' {
|
|
|
157
157
|
*/
|
|
158
158
|
phone?: string;
|
|
159
159
|
|
|
160
|
+
registration_date?: Stripe.Emptyable<Company.RegistrationDate>;
|
|
161
|
+
|
|
160
162
|
/**
|
|
161
163
|
* The identification number given to a company when it is registered or incorporated, if distinct from the identification number used for filing taxes. (Examples are the CIN for companies and LLP IN for partnerships in India, and the Company Registration Number in Hong Kong).
|
|
162
164
|
*/
|
|
@@ -227,6 +229,23 @@ declare module 'stripe' {
|
|
|
227
229
|
| 'qualified_entity_exceeds_ownership_threshold'
|
|
228
230
|
| 'qualifies_as_financial_institution';
|
|
229
231
|
|
|
232
|
+
interface RegistrationDate {
|
|
233
|
+
/**
|
|
234
|
+
* The day of registration, between 1 and 31.
|
|
235
|
+
*/
|
|
236
|
+
day: number;
|
|
237
|
+
|
|
238
|
+
/**
|
|
239
|
+
* The month of registration, between 1 and 12.
|
|
240
|
+
*/
|
|
241
|
+
month: number;
|
|
242
|
+
|
|
243
|
+
/**
|
|
244
|
+
* The four-digit year of registration.
|
|
245
|
+
*/
|
|
246
|
+
year: number;
|
|
247
|
+
}
|
|
248
|
+
|
|
230
249
|
type Structure =
|
|
231
250
|
| 'free_zone_establishment'
|
|
232
251
|
| 'free_zone_llc'
|
|
@@ -739,6 +758,11 @@ declare module 'stripe' {
|
|
|
739
758
|
*/
|
|
740
759
|
ssn_last_4?: string;
|
|
741
760
|
|
|
761
|
+
/**
|
|
762
|
+
* Demographic data related to the person.
|
|
763
|
+
*/
|
|
764
|
+
us_cfpb_data?: Person.UsCfpbData;
|
|
765
|
+
|
|
742
766
|
/**
|
|
743
767
|
* The person's verification status.
|
|
744
768
|
*/
|
|
@@ -873,6 +897,88 @@ declare module 'stripe' {
|
|
|
873
897
|
title?: string;
|
|
874
898
|
}
|
|
875
899
|
|
|
900
|
+
interface UsCfpbData {
|
|
901
|
+
/**
|
|
902
|
+
* The persons ethnicity details
|
|
903
|
+
*/
|
|
904
|
+
ethnicity_details?: UsCfpbData.EthnicityDetails;
|
|
905
|
+
|
|
906
|
+
/**
|
|
907
|
+
* The persons race details
|
|
908
|
+
*/
|
|
909
|
+
race_details?: UsCfpbData.RaceDetails;
|
|
910
|
+
|
|
911
|
+
/**
|
|
912
|
+
* The persons self-identified gender
|
|
913
|
+
*/
|
|
914
|
+
self_identified_gender?: string;
|
|
915
|
+
}
|
|
916
|
+
|
|
917
|
+
namespace UsCfpbData {
|
|
918
|
+
interface EthnicityDetails {
|
|
919
|
+
/**
|
|
920
|
+
* The persons ethnicity
|
|
921
|
+
*/
|
|
922
|
+
ethnicity?: Array<EthnicityDetails.Ethnicity>;
|
|
923
|
+
|
|
924
|
+
/**
|
|
925
|
+
* Please specify your origin, when other is selected.
|
|
926
|
+
*/
|
|
927
|
+
ethnicity_other?: string;
|
|
928
|
+
}
|
|
929
|
+
|
|
930
|
+
namespace EthnicityDetails {
|
|
931
|
+
type Ethnicity =
|
|
932
|
+
| 'cuban'
|
|
933
|
+
| 'hispanic_or_latino'
|
|
934
|
+
| 'mexican'
|
|
935
|
+
| 'not_hispanic_or_latino'
|
|
936
|
+
| 'other_hispanic_or_latino'
|
|
937
|
+
| 'prefer_not_to_answer'
|
|
938
|
+
| 'puerto_rican';
|
|
939
|
+
}
|
|
940
|
+
|
|
941
|
+
interface RaceDetails {
|
|
942
|
+
/**
|
|
943
|
+
* The persons race.
|
|
944
|
+
*/
|
|
945
|
+
race?: Array<RaceDetails.Race>;
|
|
946
|
+
|
|
947
|
+
/**
|
|
948
|
+
* Please specify your race, when other is selected.
|
|
949
|
+
*/
|
|
950
|
+
race_other?: string;
|
|
951
|
+
}
|
|
952
|
+
|
|
953
|
+
namespace RaceDetails {
|
|
954
|
+
type Race =
|
|
955
|
+
| 'african_american'
|
|
956
|
+
| 'american_indian_or_alaska_native'
|
|
957
|
+
| 'asian'
|
|
958
|
+
| 'asian_indian'
|
|
959
|
+
| 'black_or_african_american'
|
|
960
|
+
| 'chinese'
|
|
961
|
+
| 'ethiopian'
|
|
962
|
+
| 'filipino'
|
|
963
|
+
| 'guamanian_or_chamorro'
|
|
964
|
+
| 'haitian'
|
|
965
|
+
| 'jamaican'
|
|
966
|
+
| 'japanese'
|
|
967
|
+
| 'korean'
|
|
968
|
+
| 'native_hawaiian'
|
|
969
|
+
| 'native_hawaiian_or_other_pacific_islander'
|
|
970
|
+
| 'nigerian'
|
|
971
|
+
| 'other_asian'
|
|
972
|
+
| 'other_black_or_african_american'
|
|
973
|
+
| 'other_pacific_islander'
|
|
974
|
+
| 'prefer_not_to_answer'
|
|
975
|
+
| 'samoan'
|
|
976
|
+
| 'somali'
|
|
977
|
+
| 'vietnamese'
|
|
978
|
+
| 'white';
|
|
979
|
+
}
|
|
980
|
+
}
|
|
981
|
+
|
|
876
982
|
interface Verification {
|
|
877
983
|
/**
|
|
878
984
|
* A document showing address, either a passport, local ID card, or utility bill from a well-known utility company.
|