stripe 15.9.0 → 15.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +5 -0
- 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/Accounts.d.ts +35 -0
- package/types/AccountsResource.d.ts +120 -0
- package/types/Checkout/Sessions.d.ts +2 -2
- package/types/Climate/OrdersResource.d.ts +1 -1
- package/types/Invoices.d.ts +1 -0
- package/types/InvoicesResource.d.ts +2 -0
- package/types/SetupIntentsResource.d.ts +1 -1
- package/types/Subscriptions.d.ts +1 -0
- package/types/SubscriptionsResource.d.ts +2 -0
- package/types/Tax/TransactionsResource.d.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 15.10.0 - 2024-06-06
|
|
4
|
+
* [#2101](https://github.com/stripe/stripe-node/pull/2101) Update generated code
|
|
5
|
+
* Add support for `gb_bank_transfer_payments`, `jp_bank_transfer_payments`, `mx_bank_transfer_payments`, `sepa_bank_transfer_payments`, and `us_bank_transfer_payments` on `Account.capabilities`, `AccountCreateParams.capabilities`, and `AccountUpdateParams.capabilities`
|
|
6
|
+
* Add support for new value `swish` on enums `Invoice.payment_settings.payment_method_types[]`, `InvoiceCreateParams.payment_settings.payment_method_types[]`, `InvoiceUpdateParams.payment_settings.payment_method_types[]`, `Subscription.payment_settings.payment_method_types[]`, `SubscriptionCreateParams.payment_settings.payment_method_types[]`, and `SubscriptionUpdateParams.payment_settings.payment_method_types[]`
|
|
7
|
+
|
|
3
8
|
## 15.9.0 - 2024-05-30
|
|
4
9
|
* [#2095](https://github.com/stripe/stripe-node/pull/2095) Update generated code
|
|
5
10
|
* Add support for new value `verification_requires_additional_proof_of_registration` on enums `Account.future_requirements.errors[].code`, `Account.requirements.errors[].code`, `BankAccount.future_requirements.errors[].code`, and `BankAccount.requirements.errors[].code`
|
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
15.
|
|
1
|
+
15.10.0
|
package/cjs/stripe.core.js
CHANGED
|
@@ -34,7 +34,7 @@ const ALLOWED_CONFIG_PROPERTIES = [
|
|
|
34
34
|
];
|
|
35
35
|
const defaultRequestSenderFactory = (stripe) => new RequestSender_js_1.RequestSender(stripe, StripeResource_js_1.StripeResource.MAX_BUFFERED_REQUEST_METRICS);
|
|
36
36
|
function createStripe(platformFunctions, requestSender = defaultRequestSenderFactory) {
|
|
37
|
-
Stripe.PACKAGE_VERSION = '15.
|
|
37
|
+
Stripe.PACKAGE_VERSION = '15.10.0';
|
|
38
38
|
Stripe.USER_AGENT = Object.assign({ bindings_version: Stripe.PACKAGE_VERSION, lang: 'node', publisher: 'stripe', uname: null, typescript: false }, (0, utils_js_1.determineProcessUserAgentProperties)());
|
|
39
39
|
Stripe.StripeResource = StripeResource_js_1.StripeResource;
|
|
40
40
|
Stripe.resources = resources;
|
package/esm/stripe.core.js
CHANGED
|
@@ -31,7 +31,7 @@ const ALLOWED_CONFIG_PROPERTIES = [
|
|
|
31
31
|
];
|
|
32
32
|
const defaultRequestSenderFactory = (stripe) => new RequestSender(stripe, StripeResource.MAX_BUFFERED_REQUEST_METRICS);
|
|
33
33
|
export function createStripe(platformFunctions, requestSender = defaultRequestSenderFactory) {
|
|
34
|
-
Stripe.PACKAGE_VERSION = '15.
|
|
34
|
+
Stripe.PACKAGE_VERSION = '15.10.0';
|
|
35
35
|
Stripe.USER_AGENT = Object.assign({ bindings_version: Stripe.PACKAGE_VERSION, lang: 'node', publisher: 'stripe', uname: null, typescript: false }, determineProcessUserAgentProperties());
|
|
36
36
|
Stripe.StripeResource = StripeResource;
|
|
37
37
|
Stripe.resources = resources;
|
package/package.json
CHANGED
package/types/Accounts.d.ts
CHANGED
|
@@ -292,6 +292,11 @@ declare module 'stripe' {
|
|
|
292
292
|
*/
|
|
293
293
|
fpx_payments?: Capabilities.FpxPayments;
|
|
294
294
|
|
|
295
|
+
/**
|
|
296
|
+
* The status of the GB customer_balance payments (GBP currency) capability of the account, or whether the account can directly process GB customer_balance charges.
|
|
297
|
+
*/
|
|
298
|
+
gb_bank_transfer_payments?: Capabilities.GbBankTransferPayments;
|
|
299
|
+
|
|
295
300
|
/**
|
|
296
301
|
* The status of the giropay payments capability of the account, or whether the account can directly process giropay charges.
|
|
297
302
|
*/
|
|
@@ -317,6 +322,11 @@ declare module 'stripe' {
|
|
|
317
322
|
*/
|
|
318
323
|
jcb_payments?: Capabilities.JcbPayments;
|
|
319
324
|
|
|
325
|
+
/**
|
|
326
|
+
* The status of the Japanese customer_balance payments (JPY currency) capability of the account, or whether the account can directly process Japanese customer_balance charges.
|
|
327
|
+
*/
|
|
328
|
+
jp_bank_transfer_payments?: Capabilities.JpBankTransferPayments;
|
|
329
|
+
|
|
320
330
|
/**
|
|
321
331
|
* The status of the Klarna payments capability of the account, or whether the account can directly process Klarna charges.
|
|
322
332
|
*/
|
|
@@ -342,6 +352,11 @@ declare module 'stripe' {
|
|
|
342
352
|
*/
|
|
343
353
|
mobilepay_payments?: Capabilities.MobilepayPayments;
|
|
344
354
|
|
|
355
|
+
/**
|
|
356
|
+
* The status of the Mexican customer_balance payments (MXN currency) capability of the account, or whether the account can directly process Mexican customer_balance charges.
|
|
357
|
+
*/
|
|
358
|
+
mx_bank_transfer_payments?: Capabilities.MxBankTransferPayments;
|
|
359
|
+
|
|
345
360
|
/**
|
|
346
361
|
* The status of the OXXO payments capability of the account, or whether the account can directly process OXXO charges.
|
|
347
362
|
*/
|
|
@@ -367,6 +382,11 @@ declare module 'stripe' {
|
|
|
367
382
|
*/
|
|
368
383
|
revolut_pay_payments?: Capabilities.RevolutPayPayments;
|
|
369
384
|
|
|
385
|
+
/**
|
|
386
|
+
* The status of the SEPA customer_balance payments (EUR currency) capability of the account, or whether the account can directly process SEPA customer_balance charges.
|
|
387
|
+
*/
|
|
388
|
+
sepa_bank_transfer_payments?: Capabilities.SepaBankTransferPayments;
|
|
389
|
+
|
|
370
390
|
/**
|
|
371
391
|
* The status of the SEPA Direct Debits payments capability of the account, or whether the account can directly process SEPA Direct Debits charges.
|
|
372
392
|
*/
|
|
@@ -407,6 +427,11 @@ declare module 'stripe' {
|
|
|
407
427
|
*/
|
|
408
428
|
us_bank_account_ach_payments?: Capabilities.UsBankAccountAchPayments;
|
|
409
429
|
|
|
430
|
+
/**
|
|
431
|
+
* The status of the US customer_balance payments (USD currency) capability of the account, or whether the account can directly process US customer_balance charges.
|
|
432
|
+
*/
|
|
433
|
+
us_bank_transfer_payments?: Capabilities.UsBankTransferPayments;
|
|
434
|
+
|
|
410
435
|
/**
|
|
411
436
|
* The status of the Zip capability of the account, or whether the account can directly process Zip charges.
|
|
412
437
|
*/
|
|
@@ -446,6 +471,8 @@ declare module 'stripe' {
|
|
|
446
471
|
|
|
447
472
|
type FpxPayments = 'active' | 'inactive' | 'pending';
|
|
448
473
|
|
|
474
|
+
type GbBankTransferPayments = 'active' | 'inactive' | 'pending';
|
|
475
|
+
|
|
449
476
|
type GiropayPayments = 'active' | 'inactive' | 'pending';
|
|
450
477
|
|
|
451
478
|
type GrabpayPayments = 'active' | 'inactive' | 'pending';
|
|
@@ -456,6 +483,8 @@ declare module 'stripe' {
|
|
|
456
483
|
|
|
457
484
|
type JcbPayments = 'active' | 'inactive' | 'pending';
|
|
458
485
|
|
|
486
|
+
type JpBankTransferPayments = 'active' | 'inactive' | 'pending';
|
|
487
|
+
|
|
459
488
|
type KlarnaPayments = 'active' | 'inactive' | 'pending';
|
|
460
489
|
|
|
461
490
|
type KonbiniPayments = 'active' | 'inactive' | 'pending';
|
|
@@ -466,6 +495,8 @@ declare module 'stripe' {
|
|
|
466
495
|
|
|
467
496
|
type MobilepayPayments = 'active' | 'inactive' | 'pending';
|
|
468
497
|
|
|
498
|
+
type MxBankTransferPayments = 'active' | 'inactive' | 'pending';
|
|
499
|
+
|
|
469
500
|
type OxxoPayments = 'active' | 'inactive' | 'pending';
|
|
470
501
|
|
|
471
502
|
type P24Payments = 'active' | 'inactive' | 'pending';
|
|
@@ -476,6 +507,8 @@ declare module 'stripe' {
|
|
|
476
507
|
|
|
477
508
|
type RevolutPayPayments = 'active' | 'inactive' | 'pending';
|
|
478
509
|
|
|
510
|
+
type SepaBankTransferPayments = 'active' | 'inactive' | 'pending';
|
|
511
|
+
|
|
479
512
|
type SepaDebitPayments = 'active' | 'inactive' | 'pending';
|
|
480
513
|
|
|
481
514
|
type SofortPayments = 'active' | 'inactive' | 'pending';
|
|
@@ -492,6 +525,8 @@ declare module 'stripe' {
|
|
|
492
525
|
|
|
493
526
|
type UsBankAccountAchPayments = 'active' | 'inactive' | 'pending';
|
|
494
527
|
|
|
528
|
+
type UsBankTransferPayments = 'active' | 'inactive' | 'pending';
|
|
529
|
+
|
|
495
530
|
type ZipPayments = 'active' | 'inactive' | 'pending';
|
|
496
531
|
}
|
|
497
532
|
|
|
@@ -274,6 +274,11 @@ declare module 'stripe' {
|
|
|
274
274
|
*/
|
|
275
275
|
fpx_payments?: Capabilities.FpxPayments;
|
|
276
276
|
|
|
277
|
+
/**
|
|
278
|
+
* The gb_bank_transfer_payments capability.
|
|
279
|
+
*/
|
|
280
|
+
gb_bank_transfer_payments?: Capabilities.GbBankTransferPayments;
|
|
281
|
+
|
|
277
282
|
/**
|
|
278
283
|
* The giropay_payments capability.
|
|
279
284
|
*/
|
|
@@ -299,6 +304,11 @@ declare module 'stripe' {
|
|
|
299
304
|
*/
|
|
300
305
|
jcb_payments?: Capabilities.JcbPayments;
|
|
301
306
|
|
|
307
|
+
/**
|
|
308
|
+
* The jp_bank_transfer_payments capability.
|
|
309
|
+
*/
|
|
310
|
+
jp_bank_transfer_payments?: Capabilities.JpBankTransferPayments;
|
|
311
|
+
|
|
302
312
|
/**
|
|
303
313
|
* The klarna_payments capability.
|
|
304
314
|
*/
|
|
@@ -324,6 +334,11 @@ declare module 'stripe' {
|
|
|
324
334
|
*/
|
|
325
335
|
mobilepay_payments?: Capabilities.MobilepayPayments;
|
|
326
336
|
|
|
337
|
+
/**
|
|
338
|
+
* The mx_bank_transfer_payments capability.
|
|
339
|
+
*/
|
|
340
|
+
mx_bank_transfer_payments?: Capabilities.MxBankTransferPayments;
|
|
341
|
+
|
|
327
342
|
/**
|
|
328
343
|
* The oxxo_payments capability.
|
|
329
344
|
*/
|
|
@@ -349,6 +364,11 @@ declare module 'stripe' {
|
|
|
349
364
|
*/
|
|
350
365
|
revolut_pay_payments?: Capabilities.RevolutPayPayments;
|
|
351
366
|
|
|
367
|
+
/**
|
|
368
|
+
* The sepa_bank_transfer_payments capability.
|
|
369
|
+
*/
|
|
370
|
+
sepa_bank_transfer_payments?: Capabilities.SepaBankTransferPayments;
|
|
371
|
+
|
|
352
372
|
/**
|
|
353
373
|
* The sepa_debit_payments capability.
|
|
354
374
|
*/
|
|
@@ -389,6 +409,11 @@ declare module 'stripe' {
|
|
|
389
409
|
*/
|
|
390
410
|
us_bank_account_ach_payments?: Capabilities.UsBankAccountAchPayments;
|
|
391
411
|
|
|
412
|
+
/**
|
|
413
|
+
* The us_bank_transfer_payments capability.
|
|
414
|
+
*/
|
|
415
|
+
us_bank_transfer_payments?: Capabilities.UsBankTransferPayments;
|
|
416
|
+
|
|
392
417
|
/**
|
|
393
418
|
* The zip_payments capability.
|
|
394
419
|
*/
|
|
@@ -508,6 +533,13 @@ declare module 'stripe' {
|
|
|
508
533
|
requested?: boolean;
|
|
509
534
|
}
|
|
510
535
|
|
|
536
|
+
interface GbBankTransferPayments {
|
|
537
|
+
/**
|
|
538
|
+
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
539
|
+
*/
|
|
540
|
+
requested?: boolean;
|
|
541
|
+
}
|
|
542
|
+
|
|
511
543
|
interface GiropayPayments {
|
|
512
544
|
/**
|
|
513
545
|
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
@@ -543,6 +575,13 @@ declare module 'stripe' {
|
|
|
543
575
|
requested?: boolean;
|
|
544
576
|
}
|
|
545
577
|
|
|
578
|
+
interface JpBankTransferPayments {
|
|
579
|
+
/**
|
|
580
|
+
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
581
|
+
*/
|
|
582
|
+
requested?: boolean;
|
|
583
|
+
}
|
|
584
|
+
|
|
546
585
|
interface KlarnaPayments {
|
|
547
586
|
/**
|
|
548
587
|
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
@@ -578,6 +617,13 @@ declare module 'stripe' {
|
|
|
578
617
|
requested?: boolean;
|
|
579
618
|
}
|
|
580
619
|
|
|
620
|
+
interface MxBankTransferPayments {
|
|
621
|
+
/**
|
|
622
|
+
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
623
|
+
*/
|
|
624
|
+
requested?: boolean;
|
|
625
|
+
}
|
|
626
|
+
|
|
581
627
|
interface OxxoPayments {
|
|
582
628
|
/**
|
|
583
629
|
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
@@ -613,6 +659,13 @@ declare module 'stripe' {
|
|
|
613
659
|
requested?: boolean;
|
|
614
660
|
}
|
|
615
661
|
|
|
662
|
+
interface SepaBankTransferPayments {
|
|
663
|
+
/**
|
|
664
|
+
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
665
|
+
*/
|
|
666
|
+
requested?: boolean;
|
|
667
|
+
}
|
|
668
|
+
|
|
616
669
|
interface SepaDebitPayments {
|
|
617
670
|
/**
|
|
618
671
|
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
@@ -669,6 +722,13 @@ declare module 'stripe' {
|
|
|
669
722
|
requested?: boolean;
|
|
670
723
|
}
|
|
671
724
|
|
|
725
|
+
interface UsBankTransferPayments {
|
|
726
|
+
/**
|
|
727
|
+
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
728
|
+
*/
|
|
729
|
+
requested?: boolean;
|
|
730
|
+
}
|
|
731
|
+
|
|
672
732
|
interface ZipPayments {
|
|
673
733
|
/**
|
|
674
734
|
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
@@ -1785,6 +1845,11 @@ declare module 'stripe' {
|
|
|
1785
1845
|
*/
|
|
1786
1846
|
fpx_payments?: Capabilities.FpxPayments;
|
|
1787
1847
|
|
|
1848
|
+
/**
|
|
1849
|
+
* The gb_bank_transfer_payments capability.
|
|
1850
|
+
*/
|
|
1851
|
+
gb_bank_transfer_payments?: Capabilities.GbBankTransferPayments;
|
|
1852
|
+
|
|
1788
1853
|
/**
|
|
1789
1854
|
* The giropay_payments capability.
|
|
1790
1855
|
*/
|
|
@@ -1810,6 +1875,11 @@ declare module 'stripe' {
|
|
|
1810
1875
|
*/
|
|
1811
1876
|
jcb_payments?: Capabilities.JcbPayments;
|
|
1812
1877
|
|
|
1878
|
+
/**
|
|
1879
|
+
* The jp_bank_transfer_payments capability.
|
|
1880
|
+
*/
|
|
1881
|
+
jp_bank_transfer_payments?: Capabilities.JpBankTransferPayments;
|
|
1882
|
+
|
|
1813
1883
|
/**
|
|
1814
1884
|
* The klarna_payments capability.
|
|
1815
1885
|
*/
|
|
@@ -1835,6 +1905,11 @@ declare module 'stripe' {
|
|
|
1835
1905
|
*/
|
|
1836
1906
|
mobilepay_payments?: Capabilities.MobilepayPayments;
|
|
1837
1907
|
|
|
1908
|
+
/**
|
|
1909
|
+
* The mx_bank_transfer_payments capability.
|
|
1910
|
+
*/
|
|
1911
|
+
mx_bank_transfer_payments?: Capabilities.MxBankTransferPayments;
|
|
1912
|
+
|
|
1838
1913
|
/**
|
|
1839
1914
|
* The oxxo_payments capability.
|
|
1840
1915
|
*/
|
|
@@ -1860,6 +1935,11 @@ declare module 'stripe' {
|
|
|
1860
1935
|
*/
|
|
1861
1936
|
revolut_pay_payments?: Capabilities.RevolutPayPayments;
|
|
1862
1937
|
|
|
1938
|
+
/**
|
|
1939
|
+
* The sepa_bank_transfer_payments capability.
|
|
1940
|
+
*/
|
|
1941
|
+
sepa_bank_transfer_payments?: Capabilities.SepaBankTransferPayments;
|
|
1942
|
+
|
|
1863
1943
|
/**
|
|
1864
1944
|
* The sepa_debit_payments capability.
|
|
1865
1945
|
*/
|
|
@@ -1900,6 +1980,11 @@ declare module 'stripe' {
|
|
|
1900
1980
|
*/
|
|
1901
1981
|
us_bank_account_ach_payments?: Capabilities.UsBankAccountAchPayments;
|
|
1902
1982
|
|
|
1983
|
+
/**
|
|
1984
|
+
* The us_bank_transfer_payments capability.
|
|
1985
|
+
*/
|
|
1986
|
+
us_bank_transfer_payments?: Capabilities.UsBankTransferPayments;
|
|
1987
|
+
|
|
1903
1988
|
/**
|
|
1904
1989
|
* The zip_payments capability.
|
|
1905
1990
|
*/
|
|
@@ -2019,6 +2104,13 @@ declare module 'stripe' {
|
|
|
2019
2104
|
requested?: boolean;
|
|
2020
2105
|
}
|
|
2021
2106
|
|
|
2107
|
+
interface GbBankTransferPayments {
|
|
2108
|
+
/**
|
|
2109
|
+
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
2110
|
+
*/
|
|
2111
|
+
requested?: boolean;
|
|
2112
|
+
}
|
|
2113
|
+
|
|
2022
2114
|
interface GiropayPayments {
|
|
2023
2115
|
/**
|
|
2024
2116
|
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
@@ -2054,6 +2146,13 @@ declare module 'stripe' {
|
|
|
2054
2146
|
requested?: boolean;
|
|
2055
2147
|
}
|
|
2056
2148
|
|
|
2149
|
+
interface JpBankTransferPayments {
|
|
2150
|
+
/**
|
|
2151
|
+
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
2152
|
+
*/
|
|
2153
|
+
requested?: boolean;
|
|
2154
|
+
}
|
|
2155
|
+
|
|
2057
2156
|
interface KlarnaPayments {
|
|
2058
2157
|
/**
|
|
2059
2158
|
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
@@ -2089,6 +2188,13 @@ declare module 'stripe' {
|
|
|
2089
2188
|
requested?: boolean;
|
|
2090
2189
|
}
|
|
2091
2190
|
|
|
2191
|
+
interface MxBankTransferPayments {
|
|
2192
|
+
/**
|
|
2193
|
+
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
2194
|
+
*/
|
|
2195
|
+
requested?: boolean;
|
|
2196
|
+
}
|
|
2197
|
+
|
|
2092
2198
|
interface OxxoPayments {
|
|
2093
2199
|
/**
|
|
2094
2200
|
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
@@ -2124,6 +2230,13 @@ declare module 'stripe' {
|
|
|
2124
2230
|
requested?: boolean;
|
|
2125
2231
|
}
|
|
2126
2232
|
|
|
2233
|
+
interface SepaBankTransferPayments {
|
|
2234
|
+
/**
|
|
2235
|
+
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
2236
|
+
*/
|
|
2237
|
+
requested?: boolean;
|
|
2238
|
+
}
|
|
2239
|
+
|
|
2127
2240
|
interface SepaDebitPayments {
|
|
2128
2241
|
/**
|
|
2129
2242
|
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
@@ -2180,6 +2293,13 @@ declare module 'stripe' {
|
|
|
2180
2293
|
requested?: boolean;
|
|
2181
2294
|
}
|
|
2182
2295
|
|
|
2296
|
+
interface UsBankTransferPayments {
|
|
2297
|
+
/**
|
|
2298
|
+
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
2299
|
+
*/
|
|
2300
|
+
requested?: boolean;
|
|
2301
|
+
}
|
|
2302
|
+
|
|
2183
2303
|
interface ZipPayments {
|
|
2184
2304
|
/**
|
|
2185
2305
|
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
@@ -175,7 +175,7 @@ declare module 'stripe' {
|
|
|
175
175
|
mode: Session.Mode;
|
|
176
176
|
|
|
177
177
|
/**
|
|
178
|
-
* The ID of the PaymentIntent for Checkout Sessions in `payment` mode.
|
|
178
|
+
* The ID of the PaymentIntent for Checkout Sessions in `payment` mode. You can't confirm or cancel the PaymentIntent for a Checkout Session. To cancel, [expire the Checkout Session](https://stripe.com/docs/api/checkout/sessions/expire) instead.
|
|
179
179
|
*/
|
|
180
180
|
payment_intent: string | Stripe.PaymentIntent | null;
|
|
181
181
|
|
|
@@ -234,7 +234,7 @@ declare module 'stripe' {
|
|
|
234
234
|
saved_payment_method_options: Session.SavedPaymentMethodOptions | null;
|
|
235
235
|
|
|
236
236
|
/**
|
|
237
|
-
* The ID of the SetupIntent for Checkout Sessions in `setup` mode.
|
|
237
|
+
* The ID of the SetupIntent for Checkout Sessions in `setup` mode. You can't confirm or cancel the SetupIntent for a Checkout Session. To cancel, [expire the Checkout Session](https://stripe.com/docs/api/checkout/sessions/expire) instead.
|
|
238
238
|
*/
|
|
239
239
|
setup_intent: string | Stripe.SetupIntent | null;
|
|
240
240
|
|
|
@@ -139,7 +139,7 @@ declare module 'stripe' {
|
|
|
139
139
|
list(options?: RequestOptions): ApiListPromise<Stripe.Climate.Order>;
|
|
140
140
|
|
|
141
141
|
/**
|
|
142
|
-
* Cancels a Climate order. You can cancel an order within
|
|
142
|
+
* Cancels a Climate order. You can cancel an order within 24 hours of creation. Stripe refunds the
|
|
143
143
|
* reservation amount_subtotal, but not the amount_fees for user-triggered cancellations. Frontier
|
|
144
144
|
* might cancel reservations if suppliers fail to deliver. If Frontier cancels the reservation, Stripe
|
|
145
145
|
* provides 90 days advance notice and refunds the amount_total.
|
package/types/Invoices.d.ts
CHANGED
|
@@ -505,6 +505,7 @@ declare module 'stripe' {
|
|
|
505
505
|
| 'sepa_credit_transfer'
|
|
506
506
|
| 'sepa_debit'
|
|
507
507
|
| 'sofort'
|
|
508
|
+
| 'swish'
|
|
508
509
|
| 'us_bank_account'
|
|
509
510
|
| 'wechat_pay';
|
|
510
511
|
}
|
|
@@ -1181,6 +1182,7 @@ declare module 'stripe' {
|
|
|
1181
1182
|
| 'sepa_credit_transfer'
|
|
1182
1183
|
| 'sepa_debit'
|
|
1183
1184
|
| 'sofort'
|
|
1185
|
+
| 'swish'
|
|
1184
1186
|
| 'us_bank_account'
|
|
1185
1187
|
| 'wechat_pay';
|
|
1186
1188
|
}
|
|
@@ -3481,7 +3481,7 @@ declare module 'stripe' {
|
|
|
3481
3481
|
/**
|
|
3482
3482
|
* You can cancel a SetupIntent object when it's in one of these statuses: requires_payment_method, requires_confirmation, or requires_action.
|
|
3483
3483
|
*
|
|
3484
|
-
* After you cancel it, setup is abandoned and any operations on the SetupIntent fail with an error.
|
|
3484
|
+
* After you cancel it, setup is abandoned and any operations on the SetupIntent fail with an error. You can't cancel the SetupIntent for a Checkout Session. [Expire the Checkout Session](https://stripe.com/docs/api/checkout/sessions/expire) instead.
|
|
3485
3485
|
*/
|
|
3486
3486
|
cancel(
|
|
3487
3487
|
id: string,
|
package/types/Subscriptions.d.ts
CHANGED
|
@@ -775,6 +775,7 @@ declare module 'stripe' {
|
|
|
775
775
|
| 'sepa_credit_transfer'
|
|
776
776
|
| 'sepa_debit'
|
|
777
777
|
| 'sofort'
|
|
778
|
+
| 'swish'
|
|
778
779
|
| 'us_bank_account'
|
|
779
780
|
| 'wechat_pay';
|
|
780
781
|
|
|
@@ -1630,6 +1631,7 @@ declare module 'stripe' {
|
|
|
1630
1631
|
| 'sepa_credit_transfer'
|
|
1631
1632
|
| 'sepa_debit'
|
|
1632
1633
|
| 'sofort'
|
|
1634
|
+
| 'swish'
|
|
1633
1635
|
| 'us_bank_account'
|
|
1634
1636
|
| 'wechat_pay';
|
|
1635
1637
|
|
|
@@ -144,7 +144,7 @@ declare module 'stripe' {
|
|
|
144
144
|
): Promise<Stripe.Response<Stripe.Tax.Transaction>>;
|
|
145
145
|
|
|
146
146
|
/**
|
|
147
|
-
* Creates a Tax Transaction from a calculation.
|
|
147
|
+
* Creates a Tax Transaction from a calculation, if that calculation hasn't expired. Calculations expire after 90 days.
|
|
148
148
|
*/
|
|
149
149
|
createFromCalculation(
|
|
150
150
|
params: TransactionCreateFromCalculationParams,
|