stripe 19.3.0-alpha.1 → 19.3.0-alpha.2
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 +10 -0
- package/OPENAPI_VERSION +1 -1
- package/VERSION +1 -1
- package/cjs/stripe.core.js +1 -1
- package/esm/stripe.core.js +1 -1
- package/package.json +1 -1
- package/types/DelegatedCheckout/RequestedSessions.d.ts +68 -0
- package/types/DelegatedCheckout/RequestedSessionsResource.d.ts +1 -1
- package/types/V2/Core/Accounts.d.ts +194 -0
- package/types/V2/Core/AccountsResource.d.ts +254 -0
- package/types/V2/Core/EventTypes.d.ts +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 19.3.0-alpha.2 - 2025-10-30
|
|
4
|
+
* [#2484](https://github.com/stripe/stripe-node/pull/2484) Update generated code for private-preview
|
|
5
|
+
* Change `DelegatedCheckout.RequestedSessionUpdateParams.line_item_details[].quantity` to be required
|
|
6
|
+
* Add support for `payment_method_preview` on `DelegatedCheckout.RequestedSession`
|
|
7
|
+
* Add support for `order_id` on `DelegatedCheckout.RequestedSession.order_details`
|
|
8
|
+
* Add support for `lead` on `V2.Core.Account.configuration.card_creator.capabilities.commercial`, `V2.Core.Account.identity.attestations.terms_of_service.card_creator.commercial`, `V2.Core.AccountCreateParams.configuration.card_creator.capabilities.commercial`, `V2.Core.AccountCreateParams.identity.attestations.terms_of_service.card_creator.commercial`, `V2.Core.AccountUpdateParams.configuration.card_creator.capabilities.commercial`, and `V2.Core.AccountUpdateParams.identity.attestations.terms_of_service.card_creator.commercial`
|
|
9
|
+
* Add support for `global_account_holder` on `V2.Core.Account.identity.attestations.terms_of_service.card_creator.commercial`, `V2.Core.AccountCreateParams.identity.attestations.terms_of_service.card_creator.commercial`, and `V2.Core.AccountUpdateParams.identity.attestations.terms_of_service.card_creator.commercial`
|
|
10
|
+
* Add support for new value `commercial.lead.prepaid_card` on enum `V2.Core.Account.requirements.entries[].impact.restricts_capabilities[].capability`
|
|
11
|
+
* Add support for new value `commercial.lead.prepaid_card` on enum `EventsV2CoreAccountIncludingConfigurationCardCreatorCapabilityStatusUpdatedEvent.updated_capability`
|
|
12
|
+
|
|
3
13
|
## 19.3.0-alpha.1 - 2025-10-29
|
|
4
14
|
|
|
5
15
|
* [#2476](https://github.com/stripe/stripe-node/pull/2476) Update generated code for private-preview
|
package/OPENAPI_VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
v2106
|
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
19.3.0-alpha.
|
|
1
|
+
19.3.0-alpha.2
|
package/cjs/stripe.core.js
CHANGED
|
@@ -37,7 +37,7 @@ const ALLOWED_CONFIG_PROPERTIES = [
|
|
|
37
37
|
];
|
|
38
38
|
const defaultRequestSenderFactory = (stripe) => new RequestSender_js_1.RequestSender(stripe, StripeResource_js_1.StripeResource.MAX_BUFFERED_REQUEST_METRICS);
|
|
39
39
|
function createStripe(platformFunctions, requestSender = defaultRequestSenderFactory) {
|
|
40
|
-
Stripe.PACKAGE_VERSION = '19.3.0-alpha.
|
|
40
|
+
Stripe.PACKAGE_VERSION = '19.3.0-alpha.2';
|
|
41
41
|
Stripe.API_VERSION = apiVersion_js_1.ApiVersion;
|
|
42
42
|
Stripe.USER_AGENT = Object.assign({ bindings_version: Stripe.PACKAGE_VERSION, lang: 'node', publisher: 'stripe', uname: null, typescript: false }, (0, utils_js_1.determineProcessUserAgentProperties)());
|
|
43
43
|
Stripe.StripeResource = StripeResource_js_1.StripeResource;
|
package/esm/stripe.core.js
CHANGED
|
@@ -34,7 +34,7 @@ const ALLOWED_CONFIG_PROPERTIES = [
|
|
|
34
34
|
];
|
|
35
35
|
const defaultRequestSenderFactory = (stripe) => new RequestSender(stripe, StripeResource.MAX_BUFFERED_REQUEST_METRICS);
|
|
36
36
|
export function createStripe(platformFunctions, requestSender = defaultRequestSenderFactory) {
|
|
37
|
-
Stripe.PACKAGE_VERSION = '19.3.0-alpha.
|
|
37
|
+
Stripe.PACKAGE_VERSION = '19.3.0-alpha.2';
|
|
38
38
|
Stripe.API_VERSION = ApiVersion;
|
|
39
39
|
Stripe.USER_AGENT = Object.assign({ bindings_version: Stripe.PACKAGE_VERSION, lang: 'node', publisher: 'stripe', uname: null, typescript: false }, determineProcessUserAgentProperties());
|
|
40
40
|
Stripe.StripeResource = StripeResource;
|
package/package.json
CHANGED
|
@@ -77,6 +77,11 @@ declare module 'stripe' {
|
|
|
77
77
|
*/
|
|
78
78
|
payment_method: string | null;
|
|
79
79
|
|
|
80
|
+
/**
|
|
81
|
+
* The preview of the payment method to be created when the requested session is confirmed.
|
|
82
|
+
*/
|
|
83
|
+
payment_method_preview: RequestedSession.PaymentMethodPreview | null;
|
|
84
|
+
|
|
80
85
|
seller_details: RequestedSession.SellerDetails;
|
|
81
86
|
|
|
82
87
|
/**
|
|
@@ -264,6 +269,69 @@ declare module 'stripe' {
|
|
|
264
269
|
* The URL to the order status.
|
|
265
270
|
*/
|
|
266
271
|
order_status_url: string | null;
|
|
272
|
+
|
|
273
|
+
/**
|
|
274
|
+
* The seller's order identifier.
|
|
275
|
+
*/
|
|
276
|
+
order_id: string | null;
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
interface PaymentMethodPreview {
|
|
280
|
+
/**
|
|
281
|
+
* The billing details of the payment method.
|
|
282
|
+
*/
|
|
283
|
+
billing_details: PaymentMethodPreview.BillingDetails | null;
|
|
284
|
+
|
|
285
|
+
/**
|
|
286
|
+
* The card details of the payment method.
|
|
287
|
+
*/
|
|
288
|
+
card: PaymentMethodPreview.Card | null;
|
|
289
|
+
|
|
290
|
+
/**
|
|
291
|
+
* The type of the payment method.
|
|
292
|
+
*/
|
|
293
|
+
type: string;
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
namespace PaymentMethodPreview {
|
|
297
|
+
interface BillingDetails {
|
|
298
|
+
/**
|
|
299
|
+
* The billing address.
|
|
300
|
+
*/
|
|
301
|
+
address: Stripe.Address | null;
|
|
302
|
+
|
|
303
|
+
/**
|
|
304
|
+
* The email address for the billing details.
|
|
305
|
+
*/
|
|
306
|
+
email: string | null;
|
|
307
|
+
|
|
308
|
+
/**
|
|
309
|
+
* The name for the billing details.
|
|
310
|
+
*/
|
|
311
|
+
name: string | null;
|
|
312
|
+
|
|
313
|
+
/**
|
|
314
|
+
* The phone number for the billing details.
|
|
315
|
+
*/
|
|
316
|
+
phone: string | null;
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
interface Card {
|
|
320
|
+
/**
|
|
321
|
+
* The expiry month of the card.
|
|
322
|
+
*/
|
|
323
|
+
exp_month: number;
|
|
324
|
+
|
|
325
|
+
/**
|
|
326
|
+
* The expiry year of the card.
|
|
327
|
+
*/
|
|
328
|
+
exp_year: number;
|
|
329
|
+
|
|
330
|
+
/**
|
|
331
|
+
* The last 4 digits of the card number.
|
|
332
|
+
*/
|
|
333
|
+
last4: string;
|
|
334
|
+
}
|
|
267
335
|
}
|
|
268
336
|
|
|
269
337
|
interface SellerDetails {}
|
|
@@ -147,6 +147,11 @@ declare module 'stripe' {
|
|
|
147
147
|
*/
|
|
148
148
|
cross_river_bank?: Commercial.CrossRiverBank;
|
|
149
149
|
|
|
150
|
+
/**
|
|
151
|
+
* Can create commercial issuing cards with Lead as a BIN sponsor.
|
|
152
|
+
*/
|
|
153
|
+
lead?: Commercial.Lead;
|
|
154
|
+
|
|
150
155
|
/**
|
|
151
156
|
* Can create commercial issuing cards with Stripe as a BIN sponsor.
|
|
152
157
|
*/
|
|
@@ -394,6 +399,68 @@ declare module 'stripe' {
|
|
|
394
399
|
}
|
|
395
400
|
}
|
|
396
401
|
|
|
402
|
+
interface Lead {
|
|
403
|
+
/**
|
|
404
|
+
* Can create commercial Global(cross border) issuing prepaid cards with Lead as BIN sponsor.
|
|
405
|
+
*/
|
|
406
|
+
prepaid_card?: Lead.PrepaidCard;
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
namespace Lead {
|
|
410
|
+
interface PrepaidCard {
|
|
411
|
+
/**
|
|
412
|
+
* Whether the Capability has been requested.
|
|
413
|
+
*/
|
|
414
|
+
requested: boolean;
|
|
415
|
+
|
|
416
|
+
/**
|
|
417
|
+
* The status of the Capability.
|
|
418
|
+
*/
|
|
419
|
+
status: PrepaidCard.Status;
|
|
420
|
+
|
|
421
|
+
/**
|
|
422
|
+
* Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
|
|
423
|
+
*/
|
|
424
|
+
status_details: Array<PrepaidCard.StatusDetail>;
|
|
425
|
+
}
|
|
426
|
+
|
|
427
|
+
namespace PrepaidCard {
|
|
428
|
+
type Status =
|
|
429
|
+
| 'active'
|
|
430
|
+
| 'pending'
|
|
431
|
+
| 'restricted'
|
|
432
|
+
| 'unsupported';
|
|
433
|
+
|
|
434
|
+
interface StatusDetail {
|
|
435
|
+
/**
|
|
436
|
+
* Machine-readable code explaining the reason for the Capability to be in its current status.
|
|
437
|
+
*/
|
|
438
|
+
code: StatusDetail.Code;
|
|
439
|
+
|
|
440
|
+
/**
|
|
441
|
+
* Machine-readable code explaining how to make the Capability active.
|
|
442
|
+
*/
|
|
443
|
+
resolution: StatusDetail.Resolution;
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
namespace StatusDetail {
|
|
447
|
+
type Code =
|
|
448
|
+
| 'determining_status'
|
|
449
|
+
| 'requirements_past_due'
|
|
450
|
+
| 'requirements_pending_verification'
|
|
451
|
+
| 'restricted_other'
|
|
452
|
+
| 'unsupported_business'
|
|
453
|
+
| 'unsupported_country'
|
|
454
|
+
| 'unsupported_entity_type';
|
|
455
|
+
|
|
456
|
+
type Resolution =
|
|
457
|
+
| 'contact_stripe'
|
|
458
|
+
| 'no_resolution'
|
|
459
|
+
| 'provide_info';
|
|
460
|
+
}
|
|
461
|
+
}
|
|
462
|
+
}
|
|
463
|
+
|
|
397
464
|
interface Stripe {
|
|
398
465
|
/**
|
|
399
466
|
* Can create commercial issuing charge cards with Stripe as BIN sponsor.
|
|
@@ -5339,6 +5406,16 @@ declare module 'stripe' {
|
|
|
5339
5406
|
* Terms of service acceptances for commercial issuing cards with Cross River Bank as BIN sponsor.
|
|
5340
5407
|
*/
|
|
5341
5408
|
cross_river_bank?: Commercial.CrossRiverBank;
|
|
5409
|
+
|
|
5410
|
+
/**
|
|
5411
|
+
* Terms of service acceptances for Stripe commercial card Global issuing.
|
|
5412
|
+
*/
|
|
5413
|
+
global_account_holder?: Commercial.GlobalAccountHolder;
|
|
5414
|
+
|
|
5415
|
+
/**
|
|
5416
|
+
* Terms of service acceptances for commercial issuing cards with Lead as BIN sponsor.
|
|
5417
|
+
*/
|
|
5418
|
+
lead?: Commercial.Lead;
|
|
5342
5419
|
}
|
|
5343
5420
|
|
|
5344
5421
|
namespace Commercial {
|
|
@@ -5731,6 +5808,122 @@ declare module 'stripe' {
|
|
|
5731
5808
|
}
|
|
5732
5809
|
}
|
|
5733
5810
|
}
|
|
5811
|
+
|
|
5812
|
+
interface GlobalAccountHolder {
|
|
5813
|
+
/**
|
|
5814
|
+
* The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
|
|
5815
|
+
*/
|
|
5816
|
+
date?: string;
|
|
5817
|
+
|
|
5818
|
+
/**
|
|
5819
|
+
* The IP address from which the Account's representative accepted the terms of service.
|
|
5820
|
+
*/
|
|
5821
|
+
ip?: string;
|
|
5822
|
+
|
|
5823
|
+
/**
|
|
5824
|
+
* The URL to the service agreement the Account's representative accepted.
|
|
5825
|
+
*/
|
|
5826
|
+
url?: string;
|
|
5827
|
+
|
|
5828
|
+
/**
|
|
5829
|
+
* The user agent of the browser from which the Account's representative accepted the terms of service.
|
|
5830
|
+
*/
|
|
5831
|
+
user_agent?: string;
|
|
5832
|
+
}
|
|
5833
|
+
|
|
5834
|
+
interface Lead {
|
|
5835
|
+
/**
|
|
5836
|
+
* Terms of service acceptances for commercial issuing Apple Pay cards with Celtic as BIN sponsor.
|
|
5837
|
+
*/
|
|
5838
|
+
apple_pay?: Lead.ApplePay;
|
|
5839
|
+
|
|
5840
|
+
/**
|
|
5841
|
+
* Terms of service acceptances for commercial issuing Global prepaid cards with Lead as BIN sponsor.
|
|
5842
|
+
*/
|
|
5843
|
+
prepaid_card?: Lead.PrepaidCard;
|
|
5844
|
+
}
|
|
5845
|
+
|
|
5846
|
+
namespace Lead {
|
|
5847
|
+
interface ApplePay {
|
|
5848
|
+
/**
|
|
5849
|
+
* The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
|
|
5850
|
+
*/
|
|
5851
|
+
date?: string;
|
|
5852
|
+
|
|
5853
|
+
/**
|
|
5854
|
+
* The IP address from which the Account's representative accepted the terms of service.
|
|
5855
|
+
*/
|
|
5856
|
+
ip?: string;
|
|
5857
|
+
|
|
5858
|
+
/**
|
|
5859
|
+
* The URL to the service agreement the Account's representative accepted.
|
|
5860
|
+
*/
|
|
5861
|
+
url?: string;
|
|
5862
|
+
|
|
5863
|
+
/**
|
|
5864
|
+
* The user agent of the browser from which the Account's representative accepted the terms of service.
|
|
5865
|
+
*/
|
|
5866
|
+
user_agent?: string;
|
|
5867
|
+
}
|
|
5868
|
+
|
|
5869
|
+
interface PrepaidCard {
|
|
5870
|
+
/**
|
|
5871
|
+
* Bank terms of service acceptance for commercial Global issuing prepaid cards with Lead as BIN sponsor.
|
|
5872
|
+
*/
|
|
5873
|
+
bank_terms?: PrepaidCard.BankTerms;
|
|
5874
|
+
|
|
5875
|
+
/**
|
|
5876
|
+
* Platform terms of service acceptance for commercial Global issuing prepaid cards with Lead as BIN sponsor.
|
|
5877
|
+
*/
|
|
5878
|
+
platform?: PrepaidCard.Platform;
|
|
5879
|
+
}
|
|
5880
|
+
|
|
5881
|
+
namespace PrepaidCard {
|
|
5882
|
+
interface BankTerms {
|
|
5883
|
+
/**
|
|
5884
|
+
* The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
|
|
5885
|
+
*/
|
|
5886
|
+
date?: string;
|
|
5887
|
+
|
|
5888
|
+
/**
|
|
5889
|
+
* The IP address from which the Account's representative accepted the terms of service.
|
|
5890
|
+
*/
|
|
5891
|
+
ip?: string;
|
|
5892
|
+
|
|
5893
|
+
/**
|
|
5894
|
+
* The URL to the service agreement the Account's representative accepted.
|
|
5895
|
+
*/
|
|
5896
|
+
url?: string;
|
|
5897
|
+
|
|
5898
|
+
/**
|
|
5899
|
+
* The user agent of the browser from which the Account's representative accepted the terms of service.
|
|
5900
|
+
*/
|
|
5901
|
+
user_agent?: string;
|
|
5902
|
+
}
|
|
5903
|
+
|
|
5904
|
+
interface Platform {
|
|
5905
|
+
/**
|
|
5906
|
+
* The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
|
|
5907
|
+
*/
|
|
5908
|
+
date?: string;
|
|
5909
|
+
|
|
5910
|
+
/**
|
|
5911
|
+
* The IP address from which the Account's representative accepted the terms of service.
|
|
5912
|
+
*/
|
|
5913
|
+
ip?: string;
|
|
5914
|
+
|
|
5915
|
+
/**
|
|
5916
|
+
* The URL to the service agreement the Account's representative accepted.
|
|
5917
|
+
*/
|
|
5918
|
+
url?: string;
|
|
5919
|
+
|
|
5920
|
+
/**
|
|
5921
|
+
* The user agent of the browser from which the Account's representative accepted the terms of service.
|
|
5922
|
+
*/
|
|
5923
|
+
user_agent?: string;
|
|
5924
|
+
}
|
|
5925
|
+
}
|
|
5926
|
+
}
|
|
5734
5927
|
}
|
|
5735
5928
|
}
|
|
5736
5929
|
|
|
@@ -7137,6 +7330,7 @@ declare module 'stripe' {
|
|
|
7137
7330
|
| 'commercial.celtic.spend_card'
|
|
7138
7331
|
| 'commercial.cross_river_bank.charge_card'
|
|
7139
7332
|
| 'commercial.cross_river_bank.spend_card'
|
|
7333
|
+
| 'commercial.lead.prepaid_card'
|
|
7140
7334
|
| 'commercial.stripe.charge_card'
|
|
7141
7335
|
| 'commercial.stripe.prepaid_card'
|
|
7142
7336
|
| 'crypto'
|
|
@@ -102,6 +102,11 @@ declare module 'stripe' {
|
|
|
102
102
|
*/
|
|
103
103
|
cross_river_bank?: Commercial.CrossRiverBank;
|
|
104
104
|
|
|
105
|
+
/**
|
|
106
|
+
* Can create commercial issuing cards with Stripe as BIN sponsor.
|
|
107
|
+
*/
|
|
108
|
+
lead?: Commercial.Lead;
|
|
109
|
+
|
|
105
110
|
/**
|
|
106
111
|
* Can create commercial issuing cards with Stripe as BIN sponsor.
|
|
107
112
|
*/
|
|
@@ -165,6 +170,22 @@ declare module 'stripe' {
|
|
|
165
170
|
}
|
|
166
171
|
}
|
|
167
172
|
|
|
173
|
+
interface Lead {
|
|
174
|
+
/**
|
|
175
|
+
* Can create commercial issuing prepaid cards with Lead as BIN sponsor.
|
|
176
|
+
*/
|
|
177
|
+
prepaid_card?: Lead.PrepaidCard;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
namespace Lead {
|
|
181
|
+
interface PrepaidCard {
|
|
182
|
+
/**
|
|
183
|
+
* To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
184
|
+
*/
|
|
185
|
+
requested: boolean;
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
|
|
168
189
|
interface Stripe {
|
|
169
190
|
/**
|
|
170
191
|
* Can create commercial issuing charge cards with Stripe as BIN sponsor.
|
|
@@ -1820,6 +1841,16 @@ declare module 'stripe' {
|
|
|
1820
1841
|
* Terms of service acceptances for commercial issuing cards with Cross River Bank as BIN sponsor.
|
|
1821
1842
|
*/
|
|
1822
1843
|
cross_river_bank?: Commercial.CrossRiverBank;
|
|
1844
|
+
|
|
1845
|
+
/**
|
|
1846
|
+
* Terms of service acceptances for Stripe commercial card Global issuing.
|
|
1847
|
+
*/
|
|
1848
|
+
global_account_holder?: Commercial.GlobalAccountHolder;
|
|
1849
|
+
|
|
1850
|
+
/**
|
|
1851
|
+
* Terms of service acceptances for commercial issuing cards with Lead as BIN sponsor.
|
|
1852
|
+
*/
|
|
1853
|
+
lead?: Commercial.Lead;
|
|
1823
1854
|
}
|
|
1824
1855
|
|
|
1825
1856
|
namespace Commercial {
|
|
@@ -2147,6 +2178,102 @@ declare module 'stripe' {
|
|
|
2147
2178
|
}
|
|
2148
2179
|
}
|
|
2149
2180
|
}
|
|
2181
|
+
|
|
2182
|
+
interface GlobalAccountHolder {
|
|
2183
|
+
/**
|
|
2184
|
+
* The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
|
|
2185
|
+
*/
|
|
2186
|
+
date: string;
|
|
2187
|
+
|
|
2188
|
+
/**
|
|
2189
|
+
* The IP address from which the Account's representative accepted the terms of service.
|
|
2190
|
+
*/
|
|
2191
|
+
ip: string;
|
|
2192
|
+
|
|
2193
|
+
/**
|
|
2194
|
+
* The user agent of the browser from which the Account's representative accepted the terms of service.
|
|
2195
|
+
*/
|
|
2196
|
+
user_agent?: string;
|
|
2197
|
+
}
|
|
2198
|
+
|
|
2199
|
+
interface Lead {
|
|
2200
|
+
/**
|
|
2201
|
+
* Terms of service acceptances for commercial issuing Apple Pay cards with Lead as BIN sponsor.
|
|
2202
|
+
*/
|
|
2203
|
+
apple_pay?: Lead.ApplePay;
|
|
2204
|
+
|
|
2205
|
+
/**
|
|
2206
|
+
* Terms of service acceptances for commercial issuing prepaid cards with Lead as BIN sponsor.
|
|
2207
|
+
*/
|
|
2208
|
+
prepaid_card?: Lead.PrepaidCard;
|
|
2209
|
+
}
|
|
2210
|
+
|
|
2211
|
+
namespace Lead {
|
|
2212
|
+
interface ApplePay {
|
|
2213
|
+
/**
|
|
2214
|
+
* The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
|
|
2215
|
+
*/
|
|
2216
|
+
date: string;
|
|
2217
|
+
|
|
2218
|
+
/**
|
|
2219
|
+
* The IP address from which the Account's representative accepted the terms of service.
|
|
2220
|
+
*/
|
|
2221
|
+
ip: string;
|
|
2222
|
+
|
|
2223
|
+
/**
|
|
2224
|
+
* The user agent of the browser from which the Account's representative accepted the terms of service.
|
|
2225
|
+
*/
|
|
2226
|
+
user_agent?: string;
|
|
2227
|
+
}
|
|
2228
|
+
|
|
2229
|
+
interface PrepaidCard {
|
|
2230
|
+
/**
|
|
2231
|
+
* Bank terms of service acceptance for commercial issuing prepaid cards with Lead as BIN sponsor.
|
|
2232
|
+
*/
|
|
2233
|
+
bank_terms?: PrepaidCard.BankTerms;
|
|
2234
|
+
|
|
2235
|
+
/**
|
|
2236
|
+
* Platform terms of service acceptance for commercial issuing prepaid cards with Lead as BIN sponsor.
|
|
2237
|
+
*/
|
|
2238
|
+
platform?: PrepaidCard.Platform;
|
|
2239
|
+
}
|
|
2240
|
+
|
|
2241
|
+
namespace PrepaidCard {
|
|
2242
|
+
interface BankTerms {
|
|
2243
|
+
/**
|
|
2244
|
+
* The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
|
|
2245
|
+
*/
|
|
2246
|
+
date: string;
|
|
2247
|
+
|
|
2248
|
+
/**
|
|
2249
|
+
* The IP address from which the Account's representative accepted the terms of service.
|
|
2250
|
+
*/
|
|
2251
|
+
ip: string;
|
|
2252
|
+
|
|
2253
|
+
/**
|
|
2254
|
+
* The user agent of the browser from which the Account's representative accepted the terms of service.
|
|
2255
|
+
*/
|
|
2256
|
+
user_agent?: string;
|
|
2257
|
+
}
|
|
2258
|
+
|
|
2259
|
+
interface Platform {
|
|
2260
|
+
/**
|
|
2261
|
+
* The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
|
|
2262
|
+
*/
|
|
2263
|
+
date: string;
|
|
2264
|
+
|
|
2265
|
+
/**
|
|
2266
|
+
* The IP address from which the Account's representative accepted the terms of service.
|
|
2267
|
+
*/
|
|
2268
|
+
ip: string;
|
|
2269
|
+
|
|
2270
|
+
/**
|
|
2271
|
+
* The user agent of the browser from which the Account's representative accepted the terms of service.
|
|
2272
|
+
*/
|
|
2273
|
+
user_agent?: string;
|
|
2274
|
+
}
|
|
2275
|
+
}
|
|
2276
|
+
}
|
|
2150
2277
|
}
|
|
2151
2278
|
}
|
|
2152
2279
|
|
|
@@ -3408,6 +3535,11 @@ declare module 'stripe' {
|
|
|
3408
3535
|
*/
|
|
3409
3536
|
cross_river_bank?: Commercial.CrossRiverBank;
|
|
3410
3537
|
|
|
3538
|
+
/**
|
|
3539
|
+
* Can create commercial issuing cards with Lead as BIN sponsor.
|
|
3540
|
+
*/
|
|
3541
|
+
lead?: Commercial.Lead;
|
|
3542
|
+
|
|
3411
3543
|
/**
|
|
3412
3544
|
* Can create commercial issuing cards with Stripe as BIN sponsor.
|
|
3413
3545
|
*/
|
|
@@ -3471,6 +3603,22 @@ declare module 'stripe' {
|
|
|
3471
3603
|
}
|
|
3472
3604
|
}
|
|
3473
3605
|
|
|
3606
|
+
interface Lead {
|
|
3607
|
+
/**
|
|
3608
|
+
* Can create commercial issuing prepaid cards with Lead as BIN sponsor.
|
|
3609
|
+
*/
|
|
3610
|
+
prepaid_card?: Lead.PrepaidCard;
|
|
3611
|
+
}
|
|
3612
|
+
|
|
3613
|
+
namespace Lead {
|
|
3614
|
+
interface PrepaidCard {
|
|
3615
|
+
/**
|
|
3616
|
+
* To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
3617
|
+
*/
|
|
3618
|
+
requested?: boolean;
|
|
3619
|
+
}
|
|
3620
|
+
}
|
|
3621
|
+
|
|
3474
3622
|
interface Stripe {
|
|
3475
3623
|
/**
|
|
3476
3624
|
* Can create commercial issuing charge cards with Stripe as BIN sponsor.
|
|
@@ -5124,6 +5272,16 @@ declare module 'stripe' {
|
|
|
5124
5272
|
* Terms of service acceptances for commercial issuing cards with Cross River Bank as BIN sponsor.
|
|
5125
5273
|
*/
|
|
5126
5274
|
cross_river_bank?: Commercial.CrossRiverBank;
|
|
5275
|
+
|
|
5276
|
+
/**
|
|
5277
|
+
* Terms of service acceptances for Stripe commercial card Global issuing.
|
|
5278
|
+
*/
|
|
5279
|
+
global_account_holder?: Commercial.GlobalAccountHolder;
|
|
5280
|
+
|
|
5281
|
+
/**
|
|
5282
|
+
* Terms of service acceptances for commercial issuing cards with Lead as BIN sponsor.
|
|
5283
|
+
*/
|
|
5284
|
+
lead?: Commercial.Lead;
|
|
5127
5285
|
}
|
|
5128
5286
|
|
|
5129
5287
|
namespace Commercial {
|
|
@@ -5451,6 +5609,102 @@ declare module 'stripe' {
|
|
|
5451
5609
|
}
|
|
5452
5610
|
}
|
|
5453
5611
|
}
|
|
5612
|
+
|
|
5613
|
+
interface GlobalAccountHolder {
|
|
5614
|
+
/**
|
|
5615
|
+
* The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
|
|
5616
|
+
*/
|
|
5617
|
+
date?: string;
|
|
5618
|
+
|
|
5619
|
+
/**
|
|
5620
|
+
* The IP address from which the Account's representative accepted the terms of service.
|
|
5621
|
+
*/
|
|
5622
|
+
ip?: string;
|
|
5623
|
+
|
|
5624
|
+
/**
|
|
5625
|
+
* The user agent of the browser from which the Account's representative accepted the terms of service.
|
|
5626
|
+
*/
|
|
5627
|
+
user_agent?: string;
|
|
5628
|
+
}
|
|
5629
|
+
|
|
5630
|
+
interface Lead {
|
|
5631
|
+
/**
|
|
5632
|
+
* Terms of service acceptances for commercial issuing Apple Pay cards with Lead as BIN sponsor.
|
|
5633
|
+
*/
|
|
5634
|
+
apple_pay?: Lead.ApplePay;
|
|
5635
|
+
|
|
5636
|
+
/**
|
|
5637
|
+
* Terms of service acceptances for commercial issuing prepaid cards with Lead as BIN sponsor.
|
|
5638
|
+
*/
|
|
5639
|
+
prepaid_card?: Lead.PrepaidCard;
|
|
5640
|
+
}
|
|
5641
|
+
|
|
5642
|
+
namespace Lead {
|
|
5643
|
+
interface ApplePay {
|
|
5644
|
+
/**
|
|
5645
|
+
* The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
|
|
5646
|
+
*/
|
|
5647
|
+
date?: string;
|
|
5648
|
+
|
|
5649
|
+
/**
|
|
5650
|
+
* The IP address from which the Account's representative accepted the terms of service.
|
|
5651
|
+
*/
|
|
5652
|
+
ip?: string;
|
|
5653
|
+
|
|
5654
|
+
/**
|
|
5655
|
+
* The user agent of the browser from which the Account's representative accepted the terms of service.
|
|
5656
|
+
*/
|
|
5657
|
+
user_agent?: string;
|
|
5658
|
+
}
|
|
5659
|
+
|
|
5660
|
+
interface PrepaidCard {
|
|
5661
|
+
/**
|
|
5662
|
+
* Bank terms of service acceptance for commercial issuing prepaid cards with Lead as BIN sponsor.
|
|
5663
|
+
*/
|
|
5664
|
+
bank_terms?: PrepaidCard.BankTerms;
|
|
5665
|
+
|
|
5666
|
+
/**
|
|
5667
|
+
* Platform terms of service acceptance for commercial issuing prepaid cards with Lead as BIN sponsor.
|
|
5668
|
+
*/
|
|
5669
|
+
platform?: PrepaidCard.Platform;
|
|
5670
|
+
}
|
|
5671
|
+
|
|
5672
|
+
namespace PrepaidCard {
|
|
5673
|
+
interface BankTerms {
|
|
5674
|
+
/**
|
|
5675
|
+
* The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
|
|
5676
|
+
*/
|
|
5677
|
+
date?: string;
|
|
5678
|
+
|
|
5679
|
+
/**
|
|
5680
|
+
* The IP address from which the Account's representative accepted the terms of service.
|
|
5681
|
+
*/
|
|
5682
|
+
ip?: string;
|
|
5683
|
+
|
|
5684
|
+
/**
|
|
5685
|
+
* The user agent of the browser from which the Account's representative accepted the terms of service.
|
|
5686
|
+
*/
|
|
5687
|
+
user_agent?: string;
|
|
5688
|
+
}
|
|
5689
|
+
|
|
5690
|
+
interface Platform {
|
|
5691
|
+
/**
|
|
5692
|
+
* The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
|
|
5693
|
+
*/
|
|
5694
|
+
date?: string;
|
|
5695
|
+
|
|
5696
|
+
/**
|
|
5697
|
+
* The IP address from which the Account's representative accepted the terms of service.
|
|
5698
|
+
*/
|
|
5699
|
+
ip?: string;
|
|
5700
|
+
|
|
5701
|
+
/**
|
|
5702
|
+
* The user agent of the browser from which the Account's representative accepted the terms of service.
|
|
5703
|
+
*/
|
|
5704
|
+
user_agent?: string;
|
|
5705
|
+
}
|
|
5706
|
+
}
|
|
5707
|
+
}
|
|
5454
5708
|
}
|
|
5455
5709
|
}
|
|
5456
5710
|
|
|
@@ -5658,6 +5658,7 @@ declare module 'stripe' {
|
|
|
5658
5658
|
| 'commercial.celtic.spend_card'
|
|
5659
5659
|
| 'commercial.cross_river_bank.charge_card'
|
|
5660
5660
|
| 'commercial.cross_river_bank.spend_card'
|
|
5661
|
+
| 'commercial.lead.prepaid_card'
|
|
5661
5662
|
| 'commercial.stripe.charge_card'
|
|
5662
5663
|
| 'commercial.stripe.prepaid_card';
|
|
5663
5664
|
}
|