stripe 16.3.0-beta.1 → 16.4.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 +136 -761
- package/README.md +0 -33
- package/VERSION +1 -1
- package/cjs/RequestSender.js +5 -66
- package/cjs/ResourceNamespace.js +3 -0
- package/cjs/StripeResource.js +1 -1
- package/cjs/Webhooks.js +29 -17
- package/cjs/apiVersion.js +1 -2
- package/cjs/multipart.js +4 -1
- package/cjs/resources/FinancialConnections/Accounts.js +0 -5
- package/cjs/resources/Invoices.js +0 -13
- package/cjs/resources/OAuth.js +1 -1
- package/cjs/resources/PaymentIntents.js +0 -4
- package/cjs/resources/Quotes.js +0 -32
- package/cjs/resources/SubscriptionSchedules.js +0 -4
- package/cjs/resources/Terminal/Readers.js +0 -12
- package/cjs/resources.js +10 -38
- package/cjs/stripe.core.js +13 -10
- package/cjs/utils.js +3 -30
- package/esm/RequestSender.js +6 -67
- package/esm/ResourceNamespace.js +3 -0
- package/esm/StripeResource.js +2 -2
- package/esm/Webhooks.js +29 -17
- package/esm/apiVersion.js +0 -1
- package/esm/multipart.js +5 -2
- package/esm/resources/FinancialConnections/Accounts.js +0 -5
- package/esm/resources/Invoices.js +0 -13
- package/esm/resources/OAuth.js +2 -2
- package/esm/resources/PaymentIntents.js +0 -4
- package/esm/resources/Quotes.js +0 -32
- package/esm/resources/SubscriptionSchedules.js +0 -4
- package/esm/resources/Terminal/Readers.js +0 -12
- package/esm/resources.js +0 -24
- package/esm/stripe.core.js +13 -10
- package/esm/utils.js +1 -27
- package/package.json +1 -1
- package/types/AccountLinksResource.d.ts +1 -5
- package/types/AccountSessions.d.ts +0 -15
- package/types/AccountSessionsResource.d.ts +0 -205
- package/types/Accounts.d.ts +1 -88
- package/types/AccountsResource.d.ts +0 -204
- package/types/BillingPortal/Sessions.d.ts +1 -1
- package/types/Charges.d.ts +0 -67
- package/types/ChargesResource.d.ts +0 -1294
- package/types/Checkout/Sessions.d.ts +1 -28
- package/types/Checkout/SessionsResource.d.ts +1 -15
- package/types/ConfirmationTokens.d.ts +6 -63
- package/types/Coupons.d.ts +1 -1
- package/types/CouponsResource.d.ts +1 -1
- package/types/CreditNotes.d.ts +0 -21
- package/types/CreditNotesResource.d.ts +0 -51
- package/types/CustomerSessions.d.ts +1 -1
- package/types/CustomersResource.d.ts +0 -2
- package/types/Disputes.d.ts +0 -167
- package/types/DisputesResource.d.ts +3 -120
- package/types/EventTypes.d.ts +17 -426
- package/types/Events.d.ts +1 -83
- package/types/EventsResource.d.ts +1 -1
- package/types/FinancialConnections/Accounts.d.ts +1 -29
- package/types/FinancialConnections/AccountsResource.d.ts +3 -35
- package/types/FinancialConnections/Sessions.d.ts +1 -49
- package/types/FinancialConnections/SessionsResource.d.ts +1 -38
- package/types/Identity/VerificationReports.d.ts +1 -1
- package/types/InvoiceItems.d.ts +0 -5
- package/types/InvoiceItemsResource.d.ts +0 -98
- package/types/InvoiceLineItems.d.ts +0 -22
- package/types/Invoices.d.ts +2 -121
- package/types/InvoicesResource.d.ts +1784 -5359
- package/types/Issuing/CardholdersResource.d.ts +1 -2
- package/types/LineItems.d.ts +0 -7
- package/types/Mandates.d.ts +0 -77
- package/types/PaymentIntents.d.ts +1 -474
- package/types/PaymentIntentsResource.d.ts +3377 -6725
- package/types/PaymentMethodDomains.d.ts +1 -1
- package/types/PaymentMethods.d.ts +0 -62
- package/types/PaymentMethodsResource.d.ts +0 -110
- package/types/Plans.d.ts +1 -1
- package/types/Prices.d.ts +1 -23
- package/types/PricesResource.d.ts +0 -22
- package/types/Products.d.ts +0 -39
- package/types/ProductsResource.d.ts +0 -36
- package/types/Quotes.d.ts +1 -578
- package/types/QuotesResource.d.ts +266 -3175
- package/types/SetupAttempts.d.ts +0 -14
- package/types/SetupIntents.d.ts +1 -115
- package/types/SetupIntentsResource.d.ts +3 -498
- package/types/Sources.d.ts +0 -23
- package/types/SubscriptionItems.d.ts +0 -21
- package/types/SubscriptionItemsResource.d.ts +0 -109
- package/types/SubscriptionSchedules.d.ts +0 -164
- package/types/SubscriptionSchedulesResource.d.ts +13 -1231
- package/types/Subscriptions.d.ts +3 -47
- package/types/SubscriptionsResource.d.ts +9 -352
- package/types/Terminal/Readers.d.ts +2 -279
- package/types/Terminal/ReadersResource.d.ts +1 -208
- package/types/TestHelpers/ConfirmationTokensResource.d.ts +0 -55
- package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +0 -26
- package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +0 -26
- package/types/Treasury/OutboundTransfers.d.ts +0 -26
- package/types/Treasury/OutboundTransfersResource.d.ts +0 -26
- package/types/Treasury/ReceivedCredits.d.ts +0 -26
- package/types/Treasury/ReceivedDebits.d.ts +0 -31
- package/types/WebhookEndpointsResource.d.ts +2 -50
- package/types/index.d.ts +0 -64
- package/types/lib.d.ts +0 -12
- package/cjs/resources/AccountNotices.js +0 -21
- package/cjs/resources/Capital/FinancingOffers.js +0 -21
- package/cjs/resources/Capital/FinancingSummary.js +0 -12
- package/cjs/resources/Capital/FinancingTransactions.js +0 -17
- package/cjs/resources/FinancialConnections/Institutions.js +0 -17
- package/cjs/resources/GiftCards/Cards.js +0 -23
- package/cjs/resources/GiftCards/Transactions.js +0 -33
- package/cjs/resources/Issuing/CreditUnderwritingRecords.js +0 -33
- package/cjs/resources/Margins.js +0 -22
- package/cjs/resources/Orders.js +0 -24
- package/cjs/resources/QuotePhases.js +0 -22
- package/cjs/resources/Tax/Forms.js +0 -20
- package/esm/resources/AccountNotices.js +0 -18
- package/esm/resources/Capital/FinancingOffers.js +0 -18
- package/esm/resources/Capital/FinancingSummary.js +0 -9
- package/esm/resources/Capital/FinancingTransactions.js +0 -14
- package/esm/resources/FinancialConnections/Institutions.js +0 -14
- package/esm/resources/GiftCards/Cards.js +0 -20
- package/esm/resources/GiftCards/Transactions.js +0 -30
- package/esm/resources/Issuing/CreditUnderwritingRecords.js +0 -30
- package/esm/resources/Margins.js +0 -19
- package/esm/resources/Orders.js +0 -21
- package/esm/resources/QuotePhases.js +0 -19
- package/esm/resources/Tax/Forms.js +0 -17
- package/types/AccountNotices.d.ts +0 -110
- package/types/AccountNoticesResource.d.ts +0 -98
- package/types/Capital/FinancingOffers.d.ts +0 -188
- package/types/Capital/FinancingOffersResource.d.ts +0 -97
- package/types/Capital/FinancingSummary.d.ts +0 -106
- package/types/Capital/FinancingSummaryResource.d.ts +0 -27
- package/types/Capital/FinancingTransactions.d.ts +0 -135
- package/types/Capital/FinancingTransactionsResource.d.ts +0 -68
- package/types/FinancialConnections/AccountInferredBalances.d.ts +0 -38
- package/types/FinancialConnections/Institutions.d.ts +0 -93
- package/types/FinancialConnections/InstitutionsResource.d.ts +0 -47
- package/types/GiftCards/Cards.d.ts +0 -118
- package/types/GiftCards/CardsResource.d.ts +0 -159
- package/types/GiftCards/Transactions.d.ts +0 -129
- package/types/GiftCards/TransactionsResource.d.ts +0 -201
- package/types/InvoicePayments.d.ts +0 -91
- package/types/Issuing/CreditUnderwritingRecords.d.ts +0 -446
- package/types/Issuing/CreditUnderwritingRecordsResource.d.ts +0 -1017
- package/types/Margins.d.ts +0 -56
- package/types/MarginsResource.d.ts +0 -114
- package/types/Orders.d.ts +0 -1057
- package/types/OrdersResource.d.ts +0 -2711
- package/types/QuoteLines.d.ts +0 -634
- package/types/QuotePhases.d.ts +0 -198
- package/types/QuotePhasesResource.d.ts +0 -67
- package/types/QuotePreviewInvoices.d.ts +0 -1535
- package/types/QuotePreviewSubscriptionSchedules.d.ts +0 -778
- package/types/Tax/Forms.d.ts +0 -133
- package/types/Tax/FormsResource.d.ts +0 -90
|
@@ -82,11 +82,6 @@ declare module 'stripe' {
|
|
|
82
82
|
*/
|
|
83
83
|
metadata?: Stripe.Emptyable<Stripe.MetadataParam>;
|
|
84
84
|
|
|
85
|
-
/**
|
|
86
|
-
* A hash to configure risk controls on the account. Please see [this page for more details](https://docs.stripe.com/connect/pausing-payments-or-payouts-on-connected-accounts).
|
|
87
|
-
*/
|
|
88
|
-
risk_controls?: AccountCreateParams.RiskControls;
|
|
89
|
-
|
|
90
85
|
/**
|
|
91
86
|
* Options for customizing how the account functions within Stripe.
|
|
92
87
|
*/
|
|
@@ -364,26 +359,11 @@ declare module 'stripe' {
|
|
|
364
359
|
*/
|
|
365
360
|
paynow_payments?: Capabilities.PaynowPayments;
|
|
366
361
|
|
|
367
|
-
/**
|
|
368
|
-
* The paypal_payments capability.
|
|
369
|
-
*/
|
|
370
|
-
paypal_payments?: Capabilities.PaypalPayments;
|
|
371
|
-
|
|
372
|
-
/**
|
|
373
|
-
* The payto_payments capability.
|
|
374
|
-
*/
|
|
375
|
-
payto_payments?: Capabilities.PaytoPayments;
|
|
376
|
-
|
|
377
362
|
/**
|
|
378
363
|
* The promptpay_payments capability.
|
|
379
364
|
*/
|
|
380
365
|
promptpay_payments?: Capabilities.PromptpayPayments;
|
|
381
366
|
|
|
382
|
-
/**
|
|
383
|
-
* The rechnung_payments capability.
|
|
384
|
-
*/
|
|
385
|
-
rechnung_payments?: Capabilities.RechnungPayments;
|
|
386
|
-
|
|
387
367
|
/**
|
|
388
368
|
* The revolut_pay_payments capability.
|
|
389
369
|
*/
|
|
@@ -682,20 +662,6 @@ declare module 'stripe' {
|
|
|
682
662
|
requested?: boolean;
|
|
683
663
|
}
|
|
684
664
|
|
|
685
|
-
interface PaypalPayments {
|
|
686
|
-
/**
|
|
687
|
-
* 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.
|
|
688
|
-
*/
|
|
689
|
-
requested?: boolean;
|
|
690
|
-
}
|
|
691
|
-
|
|
692
|
-
interface PaytoPayments {
|
|
693
|
-
/**
|
|
694
|
-
* 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.
|
|
695
|
-
*/
|
|
696
|
-
requested?: boolean;
|
|
697
|
-
}
|
|
698
|
-
|
|
699
665
|
interface PromptpayPayments {
|
|
700
666
|
/**
|
|
701
667
|
* 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.
|
|
@@ -703,13 +669,6 @@ declare module 'stripe' {
|
|
|
703
669
|
requested?: boolean;
|
|
704
670
|
}
|
|
705
671
|
|
|
706
|
-
interface RechnungPayments {
|
|
707
|
-
/**
|
|
708
|
-
* 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.
|
|
709
|
-
*/
|
|
710
|
-
requested?: boolean;
|
|
711
|
-
}
|
|
712
|
-
|
|
713
672
|
interface RevolutPayPayments {
|
|
714
673
|
/**
|
|
715
674
|
* 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.
|
|
@@ -965,16 +924,6 @@ declare module 'stripe' {
|
|
|
965
924
|
}
|
|
966
925
|
|
|
967
926
|
interface Controller {
|
|
968
|
-
/**
|
|
969
|
-
* A hash of configuration describing the Connect application that controls the account.
|
|
970
|
-
*/
|
|
971
|
-
application?: Controller.Application;
|
|
972
|
-
|
|
973
|
-
/**
|
|
974
|
-
* Properties of the account's dashboard.
|
|
975
|
-
*/
|
|
976
|
-
dashboard?: Controller.Dashboard;
|
|
977
|
-
|
|
978
927
|
/**
|
|
979
928
|
* A hash of configuration for who pays Stripe fees for product usage on this account.
|
|
980
929
|
*/
|
|
@@ -997,34 +946,6 @@ declare module 'stripe' {
|
|
|
997
946
|
}
|
|
998
947
|
|
|
999
948
|
namespace Controller {
|
|
1000
|
-
interface Application {
|
|
1001
|
-
/**
|
|
1002
|
-
* Whether the controller is liable for losses on this account. For details, see [Understanding Connect Account Balances](https://stripe.com/docs/connect/account-balances).
|
|
1003
|
-
*/
|
|
1004
|
-
loss_liable: boolean;
|
|
1005
|
-
|
|
1006
|
-
/**
|
|
1007
|
-
* Whether the controller owns onboarding for this account.
|
|
1008
|
-
*/
|
|
1009
|
-
onboarding_owner?: boolean;
|
|
1010
|
-
|
|
1011
|
-
/**
|
|
1012
|
-
* Whether the controller has pricing controls for this account.
|
|
1013
|
-
*/
|
|
1014
|
-
pricing_controls?: boolean;
|
|
1015
|
-
}
|
|
1016
|
-
|
|
1017
|
-
interface Dashboard {
|
|
1018
|
-
/**
|
|
1019
|
-
* Whether this account should have access to the full Stripe Dashboard (`full`), to the Express Dashboard (`express`), or to no Stripe-hosted dashboard (`none`). Defaults to `full`.
|
|
1020
|
-
*/
|
|
1021
|
-
type?: Dashboard.Type;
|
|
1022
|
-
}
|
|
1023
|
-
|
|
1024
|
-
namespace Dashboard {
|
|
1025
|
-
type Type = 'express' | 'full' | 'none';
|
|
1026
|
-
}
|
|
1027
|
-
|
|
1028
949
|
interface Fees {
|
|
1029
950
|
/**
|
|
1030
951
|
* A value indicating the responsible payer of Stripe fees on this account. Defaults to `account`. Learn more about [fee behavior on connected accounts](https://docs.stripe.com/connect/direct-charges-fee-payer-behavior).
|
|
@@ -1389,36 +1310,6 @@ declare module 'stripe' {
|
|
|
1389
1310
|
}
|
|
1390
1311
|
}
|
|
1391
1312
|
|
|
1392
|
-
interface RiskControls {
|
|
1393
|
-
/**
|
|
1394
|
-
* Represents the risk control status of charges. Please see [this page for more details](https://stripe.com/docs/connect/pausing-payments-or-payouts-on-connected-accounts).
|
|
1395
|
-
*/
|
|
1396
|
-
charges?: RiskControls.Charges;
|
|
1397
|
-
|
|
1398
|
-
/**
|
|
1399
|
-
* Represents the risk control status of payouts. Please see [this page for more details](https://stripe.com/docs/connect/pausing-payments-or-payouts-on-connected-accounts).
|
|
1400
|
-
*/
|
|
1401
|
-
payouts?: RiskControls.Payouts;
|
|
1402
|
-
}
|
|
1403
|
-
|
|
1404
|
-
namespace RiskControls {
|
|
1405
|
-
interface Charges {
|
|
1406
|
-
/**
|
|
1407
|
-
* To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
|
|
1408
|
-
* There can be a delay before the risk control is paused or unpaused.
|
|
1409
|
-
*/
|
|
1410
|
-
pause_requested?: boolean;
|
|
1411
|
-
}
|
|
1412
|
-
|
|
1413
|
-
interface Payouts {
|
|
1414
|
-
/**
|
|
1415
|
-
* To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
|
|
1416
|
-
* There can be a delay before the risk control is paused or unpaused.
|
|
1417
|
-
*/
|
|
1418
|
-
pause_requested?: boolean;
|
|
1419
|
-
}
|
|
1420
|
-
}
|
|
1421
|
-
|
|
1422
1313
|
interface Settings {
|
|
1423
1314
|
/**
|
|
1424
1315
|
* Settings specific to Bacs Direct Debit.
|
|
@@ -1450,11 +1341,6 @@ declare module 'stripe' {
|
|
|
1450
1341
|
*/
|
|
1451
1342
|
payouts?: Settings.Payouts;
|
|
1452
1343
|
|
|
1453
|
-
/**
|
|
1454
|
-
* Settings specific to the account's tax forms.
|
|
1455
|
-
*/
|
|
1456
|
-
tax_forms?: Settings.TaxForms;
|
|
1457
|
-
|
|
1458
1344
|
/**
|
|
1459
1345
|
* Settings specific to the account's Treasury FinancialAccounts.
|
|
1460
1346
|
*/
|
|
@@ -1624,13 +1510,6 @@ declare module 'stripe' {
|
|
|
1624
1510
|
}
|
|
1625
1511
|
}
|
|
1626
1512
|
|
|
1627
|
-
interface TaxForms {
|
|
1628
|
-
/**
|
|
1629
|
-
* Whether the account opted out of receiving their tax forms by postal delivery.
|
|
1630
|
-
*/
|
|
1631
|
-
consented_to_paperless_delivery?: boolean;
|
|
1632
|
-
}
|
|
1633
|
-
|
|
1634
1513
|
interface Treasury {
|
|
1635
1514
|
/**
|
|
1636
1515
|
* Details on the account's acceptance of the Stripe Treasury Services Agreement.
|
|
@@ -1765,11 +1644,6 @@ declare module 'stripe' {
|
|
|
1765
1644
|
*/
|
|
1766
1645
|
metadata?: Stripe.Emptyable<Stripe.MetadataParam>;
|
|
1767
1646
|
|
|
1768
|
-
/**
|
|
1769
|
-
* A hash to configure risk controls on the account. Please see [this page for more details](https://docs.stripe.com/connect/pausing-payments-or-payouts-on-connected-accounts).
|
|
1770
|
-
*/
|
|
1771
|
-
risk_controls?: AccountUpdateParams.RiskControls;
|
|
1772
|
-
|
|
1773
1647
|
/**
|
|
1774
1648
|
* Options for customizing how the account functions within Stripe.
|
|
1775
1649
|
*/
|
|
@@ -2080,26 +1954,11 @@ declare module 'stripe' {
|
|
|
2080
1954
|
*/
|
|
2081
1955
|
paynow_payments?: Capabilities.PaynowPayments;
|
|
2082
1956
|
|
|
2083
|
-
/**
|
|
2084
|
-
* The paypal_payments capability.
|
|
2085
|
-
*/
|
|
2086
|
-
paypal_payments?: Capabilities.PaypalPayments;
|
|
2087
|
-
|
|
2088
|
-
/**
|
|
2089
|
-
* The payto_payments capability.
|
|
2090
|
-
*/
|
|
2091
|
-
payto_payments?: Capabilities.PaytoPayments;
|
|
2092
|
-
|
|
2093
1957
|
/**
|
|
2094
1958
|
* The promptpay_payments capability.
|
|
2095
1959
|
*/
|
|
2096
1960
|
promptpay_payments?: Capabilities.PromptpayPayments;
|
|
2097
1961
|
|
|
2098
|
-
/**
|
|
2099
|
-
* The rechnung_payments capability.
|
|
2100
|
-
*/
|
|
2101
|
-
rechnung_payments?: Capabilities.RechnungPayments;
|
|
2102
|
-
|
|
2103
1962
|
/**
|
|
2104
1963
|
* The revolut_pay_payments capability.
|
|
2105
1964
|
*/
|
|
@@ -2398,20 +2257,6 @@ declare module 'stripe' {
|
|
|
2398
2257
|
requested?: boolean;
|
|
2399
2258
|
}
|
|
2400
2259
|
|
|
2401
|
-
interface PaypalPayments {
|
|
2402
|
-
/**
|
|
2403
|
-
* 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.
|
|
2404
|
-
*/
|
|
2405
|
-
requested?: boolean;
|
|
2406
|
-
}
|
|
2407
|
-
|
|
2408
|
-
interface PaytoPayments {
|
|
2409
|
-
/**
|
|
2410
|
-
* 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.
|
|
2411
|
-
*/
|
|
2412
|
-
requested?: boolean;
|
|
2413
|
-
}
|
|
2414
|
-
|
|
2415
2260
|
interface PromptpayPayments {
|
|
2416
2261
|
/**
|
|
2417
2262
|
* 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.
|
|
@@ -2419,13 +2264,6 @@ declare module 'stripe' {
|
|
|
2419
2264
|
requested?: boolean;
|
|
2420
2265
|
}
|
|
2421
2266
|
|
|
2422
|
-
interface RechnungPayments {
|
|
2423
|
-
/**
|
|
2424
|
-
* 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.
|
|
2425
|
-
*/
|
|
2426
|
-
requested?: boolean;
|
|
2427
|
-
}
|
|
2428
|
-
|
|
2429
2267
|
interface RevolutPayPayments {
|
|
2430
2268
|
/**
|
|
2431
2269
|
* 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.
|
|
@@ -3014,36 +2852,6 @@ declare module 'stripe' {
|
|
|
3014
2852
|
}
|
|
3015
2853
|
}
|
|
3016
2854
|
|
|
3017
|
-
interface RiskControls {
|
|
3018
|
-
/**
|
|
3019
|
-
* Represents the risk control status of charges. Please see [this page for more details](https://stripe.com/docs/connect/pausing-payments-or-payouts-on-connected-accounts).
|
|
3020
|
-
*/
|
|
3021
|
-
charges?: RiskControls.Charges;
|
|
3022
|
-
|
|
3023
|
-
/**
|
|
3024
|
-
* Represents the risk control status of payouts. Please see [this page for more details](https://stripe.com/docs/connect/pausing-payments-or-payouts-on-connected-accounts).
|
|
3025
|
-
*/
|
|
3026
|
-
payouts?: RiskControls.Payouts;
|
|
3027
|
-
}
|
|
3028
|
-
|
|
3029
|
-
namespace RiskControls {
|
|
3030
|
-
interface Charges {
|
|
3031
|
-
/**
|
|
3032
|
-
* To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
|
|
3033
|
-
* There can be a delay before the risk control is paused or unpaused.
|
|
3034
|
-
*/
|
|
3035
|
-
pause_requested?: boolean;
|
|
3036
|
-
}
|
|
3037
|
-
|
|
3038
|
-
interface Payouts {
|
|
3039
|
-
/**
|
|
3040
|
-
* To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
|
|
3041
|
-
* There can be a delay before the risk control is paused or unpaused.
|
|
3042
|
-
*/
|
|
3043
|
-
pause_requested?: boolean;
|
|
3044
|
-
}
|
|
3045
|
-
}
|
|
3046
|
-
|
|
3047
2855
|
interface Settings {
|
|
3048
2856
|
/**
|
|
3049
2857
|
* Settings specific to Bacs Direct Debit payments.
|
|
@@ -3080,11 +2888,6 @@ declare module 'stripe' {
|
|
|
3080
2888
|
*/
|
|
3081
2889
|
payouts?: Settings.Payouts;
|
|
3082
2890
|
|
|
3083
|
-
/**
|
|
3084
|
-
* Settings specific to the account's tax forms.
|
|
3085
|
-
*/
|
|
3086
|
-
tax_forms?: Settings.TaxForms;
|
|
3087
|
-
|
|
3088
2891
|
/**
|
|
3089
2892
|
* Settings specific to the account's Treasury FinancialAccounts.
|
|
3090
2893
|
*/
|
|
@@ -3261,13 +3064,6 @@ declare module 'stripe' {
|
|
|
3261
3064
|
}
|
|
3262
3065
|
}
|
|
3263
3066
|
|
|
3264
|
-
interface TaxForms {
|
|
3265
|
-
/**
|
|
3266
|
-
* Whether the account opted out of receiving their tax forms by postal delivery.
|
|
3267
|
-
*/
|
|
3268
|
-
consented_to_paperless_delivery?: boolean;
|
|
3269
|
-
}
|
|
3270
|
-
|
|
3271
3067
|
interface Treasury {
|
|
3272
3068
|
/**
|
|
3273
3069
|
* Details on the account's acceptance of the Stripe Treasury Services Agreement.
|
|
@@ -17,7 +17,7 @@ declare module 'stripe' {
|
|
|
17
17
|
* Create sessions on-demand when customers intend to manage their subscriptions
|
|
18
18
|
* and billing details.
|
|
19
19
|
*
|
|
20
|
-
*
|
|
20
|
+
* Related guide: [Customer management](https://stripe.com/customer-management)
|
|
21
21
|
*/
|
|
22
22
|
interface Session {
|
|
23
23
|
/**
|
package/types/Charges.d.ts
CHANGED
|
@@ -428,14 +428,10 @@ declare module 'stripe' {
|
|
|
428
428
|
|
|
429
429
|
paypal?: PaymentMethodDetails.Paypal;
|
|
430
430
|
|
|
431
|
-
payto?: PaymentMethodDetails.Payto;
|
|
432
|
-
|
|
433
431
|
pix?: PaymentMethodDetails.Pix;
|
|
434
432
|
|
|
435
433
|
promptpay?: PaymentMethodDetails.Promptpay;
|
|
436
434
|
|
|
437
|
-
rechnung?: PaymentMethodDetails.Rechnung;
|
|
438
|
-
|
|
439
435
|
revolut_pay?: PaymentMethodDetails.RevolutPay;
|
|
440
436
|
|
|
441
437
|
sepa_credit_transfer?: PaymentMethodDetails.SepaCreditTransfer;
|
|
@@ -717,8 +713,6 @@ declare module 'stripe' {
|
|
|
717
713
|
*/
|
|
718
714
|
country: string | null;
|
|
719
715
|
|
|
720
|
-
decremental_authorization?: Card.DecrementalAuthorization;
|
|
721
|
-
|
|
722
716
|
/**
|
|
723
717
|
* A high-level description of the type of cards issued in this range. (For internal use only and not typically available in standard API requests.)
|
|
724
718
|
*/
|
|
@@ -825,17 +819,6 @@ declare module 'stripe' {
|
|
|
825
819
|
cvc_check: string | null;
|
|
826
820
|
}
|
|
827
821
|
|
|
828
|
-
interface DecrementalAuthorization {
|
|
829
|
-
/**
|
|
830
|
-
* Indicates whether or not the decremental authorization feature is supported.
|
|
831
|
-
*/
|
|
832
|
-
status: DecrementalAuthorization.Status;
|
|
833
|
-
}
|
|
834
|
-
|
|
835
|
-
namespace DecrementalAuthorization {
|
|
836
|
-
type Status = 'available' | 'unavailable';
|
|
837
|
-
}
|
|
838
|
-
|
|
839
822
|
interface ExtendedAuthorization {
|
|
840
823
|
/**
|
|
841
824
|
* Indicates whether or not the capture window is extended beyond the standard authorization.
|
|
@@ -1799,36 +1782,10 @@ declare module 'stripe' {
|
|
|
1799
1782
|
*/
|
|
1800
1783
|
seller_protection: Paypal.SellerProtection | null;
|
|
1801
1784
|
|
|
1802
|
-
/**
|
|
1803
|
-
* The shipping address for the customer, as supplied by the merchant at the point of payment
|
|
1804
|
-
* execution. This shipping address will not be updated if the merchant updates the shipping
|
|
1805
|
-
* address on the PaymentIntent after the PaymentIntent was successfully confirmed.
|
|
1806
|
-
*/
|
|
1807
|
-
shipping?: Stripe.Address | null;
|
|
1808
|
-
|
|
1809
1785
|
/**
|
|
1810
1786
|
* A unique ID generated by PayPal for this transaction.
|
|
1811
1787
|
*/
|
|
1812
1788
|
transaction_id: string | null;
|
|
1813
|
-
|
|
1814
|
-
/**
|
|
1815
|
-
* The shipping address for the customer, as supplied by the merchant at the point of payment
|
|
1816
|
-
* execution. This shipping address will not be updated if the merchant updates the shipping
|
|
1817
|
-
* address on the PaymentIntent after the PaymentIntent was successfully confirmed.
|
|
1818
|
-
*/
|
|
1819
|
-
verified_address?: Stripe.Address | null;
|
|
1820
|
-
|
|
1821
|
-
/**
|
|
1822
|
-
* Owner's verified email. Values are verified or provided by PayPal directly
|
|
1823
|
-
* (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
|
1824
|
-
*/
|
|
1825
|
-
verified_email?: string | null;
|
|
1826
|
-
|
|
1827
|
-
/**
|
|
1828
|
-
* Owner's verified full name. Values are verified or provided by PayPal directly
|
|
1829
|
-
* (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
|
1830
|
-
*/
|
|
1831
|
-
verified_name?: string | null;
|
|
1832
1789
|
}
|
|
1833
1790
|
|
|
1834
1791
|
namespace Paypal {
|
|
@@ -1851,28 +1808,6 @@ declare module 'stripe' {
|
|
|
1851
1808
|
}
|
|
1852
1809
|
}
|
|
1853
1810
|
|
|
1854
|
-
interface Payto {
|
|
1855
|
-
/**
|
|
1856
|
-
* Bank-State-Branch number of the bank account.
|
|
1857
|
-
*/
|
|
1858
|
-
bsb_number: string | null;
|
|
1859
|
-
|
|
1860
|
-
/**
|
|
1861
|
-
* Last four digits of the bank account number.
|
|
1862
|
-
*/
|
|
1863
|
-
last4: string | null;
|
|
1864
|
-
|
|
1865
|
-
/**
|
|
1866
|
-
* ID of the mandate used to make this payment.
|
|
1867
|
-
*/
|
|
1868
|
-
mandate?: string;
|
|
1869
|
-
|
|
1870
|
-
/**
|
|
1871
|
-
* The PayID alias for the bank account.
|
|
1872
|
-
*/
|
|
1873
|
-
pay_id: string | null;
|
|
1874
|
-
}
|
|
1875
|
-
|
|
1876
1811
|
interface Pix {
|
|
1877
1812
|
/**
|
|
1878
1813
|
* Unique transaction id generated by BCB
|
|
@@ -1887,8 +1822,6 @@ declare module 'stripe' {
|
|
|
1887
1822
|
reference: string | null;
|
|
1888
1823
|
}
|
|
1889
1824
|
|
|
1890
|
-
interface Rechnung {}
|
|
1891
|
-
|
|
1892
1825
|
interface RevolutPay {}
|
|
1893
1826
|
|
|
1894
1827
|
interface SepaCreditTransfer {
|