stripe 17.3.1 → 17.4.0-beta.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 +967 -109
- package/README.md +4 -4
- package/VERSION +1 -1
- package/cjs/resources/AccountNotices.js +21 -0
- package/cjs/resources/Capital/FinancingOffers.js +21 -0
- package/cjs/resources/Capital/FinancingSummary.js +12 -0
- package/cjs/resources/Capital/FinancingTransactions.js +17 -0
- package/cjs/resources/FinancialConnections/Accounts.js +5 -0
- package/cjs/resources/FinancialConnections/Institutions.js +17 -0
- package/cjs/resources/GiftCards/Cards.js +23 -0
- package/cjs/resources/GiftCards/Transactions.js +33 -0
- package/cjs/resources/Invoices.js +17 -0
- package/cjs/resources/Issuing/CreditUnderwritingRecords.js +33 -0
- package/cjs/resources/Issuing/DisputeSettlementDetails.js +17 -0
- package/cjs/resources/Issuing/FraudLiabilityDebits.js +17 -0
- package/cjs/resources/Margins.js +22 -0
- package/cjs/resources/Orders.js +24 -0
- package/cjs/resources/PaymentAttemptRecords.js +17 -0
- package/cjs/resources/PaymentIntents.js +8 -0
- package/cjs/resources/PaymentRecords.js +29 -0
- package/cjs/resources/Quotes.js +32 -0
- package/cjs/resources/SubscriptionSchedules.js +4 -0
- package/cjs/resources/Tax/Associations.js +9 -0
- package/cjs/resources/Tax/Forms.js +20 -0
- package/cjs/resources/Terminal/ReaderCollectedData.js +12 -0
- package/cjs/resources/Terminal/Readers.js +12 -0
- package/cjs/resources.js +68 -14
- package/cjs/stripe.core.js +1 -1
- package/esm/resources/AccountNotices.js +18 -0
- package/esm/resources/Capital/FinancingOffers.js +18 -0
- package/esm/resources/Capital/FinancingSummary.js +9 -0
- package/esm/resources/Capital/FinancingTransactions.js +14 -0
- package/esm/resources/FinancialConnections/Accounts.js +5 -0
- package/esm/resources/FinancialConnections/Institutions.js +14 -0
- package/esm/resources/GiftCards/Cards.js +20 -0
- package/esm/resources/GiftCards/Transactions.js +30 -0
- package/esm/resources/Invoices.js +17 -0
- package/esm/resources/Issuing/CreditUnderwritingRecords.js +30 -0
- package/esm/resources/Issuing/DisputeSettlementDetails.js +14 -0
- package/esm/resources/Issuing/FraudLiabilityDebits.js +14 -0
- package/esm/resources/Margins.js +19 -0
- package/esm/resources/Orders.js +21 -0
- package/esm/resources/PaymentAttemptRecords.js +14 -0
- package/esm/resources/PaymentIntents.js +8 -0
- package/esm/resources/PaymentRecords.js +26 -0
- package/esm/resources/Quotes.js +32 -0
- package/esm/resources/SubscriptionSchedules.js +4 -0
- package/esm/resources/Tax/Associations.js +6 -0
- package/esm/resources/Tax/Forms.js +17 -0
- package/esm/resources/Terminal/ReaderCollectedData.js +9 -0
- package/esm/resources/Terminal/Readers.js +12 -0
- package/esm/resources.js +51 -1
- package/esm/stripe.core.js +1 -1
- package/package.json +1 -1
- package/types/AccountLinksResource.d.ts +5 -1
- package/types/AccountNotices.d.ts +113 -0
- package/types/AccountNoticesResource.d.ts +98 -0
- package/types/AccountSessions.d.ts +50 -5
- package/types/AccountSessionsResource.d.ts +355 -0
- package/types/Accounts.d.ts +221 -5
- package/types/AccountsResource.d.ts +496 -0
- package/types/Billing/CreditBalanceSummaryResource.d.ts +1 -1
- package/types/Billing/CreditGrants.d.ts +5 -6
- package/types/Billing/CreditGrantsResource.d.ts +11 -11
- package/types/Billing/MeterErrorReports.d.ts +106 -0
- package/types/Billing/MeterEventsResource.d.ts +1 -1
- package/types/Capital/FinancingOffers.d.ts +188 -0
- package/types/Capital/FinancingOffersResource.d.ts +97 -0
- package/types/Capital/FinancingSummary.d.ts +106 -0
- package/types/Capital/FinancingSummaryResource.d.ts +27 -0
- package/types/Capital/FinancingTransactions.d.ts +135 -0
- package/types/Capital/FinancingTransactionsResource.d.ts +68 -0
- package/types/Charges.d.ts +121 -5
- package/types/ChargesResource.d.ts +1294 -0
- package/types/Checkout/Sessions.d.ts +360 -5
- package/types/Checkout/SessionsResource.d.ts +444 -9
- package/types/ConfirmationTokens.d.ts +103 -4
- package/types/Coupons.d.ts +1 -1
- package/types/CouponsResource.d.ts +1 -1
- package/types/CreditNotes.d.ts +21 -0
- package/types/CreditNotesResource.d.ts +51 -0
- package/types/CustomersResource.d.ts +11 -2
- package/types/Disputes.d.ts +1 -1
- package/types/EventTypes.d.ts +579 -0
- package/types/Events.d.ts +92 -0
- package/types/FinancialConnections/AccountInferredBalances.d.ts +38 -0
- package/types/FinancialConnections/Accounts.d.ts +29 -1
- package/types/FinancialConnections/AccountsResource.d.ts +35 -3
- package/types/FinancialConnections/Institutions.d.ts +93 -0
- package/types/FinancialConnections/InstitutionsResource.d.ts +47 -0
- package/types/FinancialConnections/Sessions.d.ts +49 -1
- package/types/FinancialConnections/SessionsResource.d.ts +38 -1
- package/types/FundingInstructions.d.ts +28 -0
- package/types/GiftCards/Cards.d.ts +118 -0
- package/types/GiftCards/CardsResource.d.ts +159 -0
- package/types/GiftCards/Transactions.d.ts +129 -0
- package/types/GiftCards/TransactionsResource.d.ts +201 -0
- package/types/Identity/VerificationReports.d.ts +1 -1
- package/types/Identity/VerificationSessions.d.ts +1 -1
- package/types/Identity/VerificationSessionsResource.d.ts +1 -1
- package/types/InvoiceItems.d.ts +5 -0
- package/types/InvoiceItemsResource.d.ts +98 -0
- package/types/InvoiceLineItems.d.ts +28 -1
- package/types/InvoicePayments.d.ts +113 -0
- package/types/Invoices.d.ts +139 -3
- package/types/InvoicesResource.d.ts +5536 -1845
- package/types/Issuing/Authorizations.d.ts +1 -1
- package/types/Issuing/CardholdersResource.d.ts +2 -1
- package/types/Issuing/Cards.d.ts +1 -1
- package/types/Issuing/CreditUnderwritingRecords.d.ts +451 -0
- package/types/Issuing/CreditUnderwritingRecordsResource.d.ts +1032 -0
- package/types/Issuing/DisputeSettlementDetails.d.ts +73 -0
- package/types/Issuing/DisputeSettlementDetailsResource.d.ts +52 -0
- package/types/Issuing/FraudLiabilityDebits.d.ts +52 -0
- package/types/Issuing/FraudLiabilityDebitsResource.d.ts +52 -0
- package/types/Issuing/Settlements.d.ts +103 -0
- package/types/Issuing/Transactions.d.ts +2 -0
- package/types/Issuing/TransactionsResource.d.ts +5 -0
- package/types/LineItems.d.ts +7 -0
- package/types/Mandates.d.ts +77 -0
- package/types/Margins.d.ts +56 -0
- package/types/MarginsResource.d.ts +114 -0
- package/types/Orders.d.ts +1155 -0
- package/types/OrdersResource.d.ts +2913 -0
- package/types/PaymentAttemptRecords.d.ts +242 -0
- package/types/PaymentAttemptRecordsResource.d.ts +47 -0
- package/types/PaymentIntents.d.ts +667 -2
- package/types/PaymentIntentsResource.d.ts +7948 -3704
- package/types/PaymentLinks.d.ts +6 -0
- package/types/PaymentLinksResource.d.ts +21 -2
- package/types/PaymentMethodConfigurations.d.ts +180 -0
- package/types/PaymentMethodConfigurationsResource.d.ts +250 -0
- package/types/PaymentMethods.d.ts +103 -4
- package/types/PaymentMethodsResource.d.ts +133 -0
- package/types/PaymentRecords.d.ts +259 -0
- package/types/PaymentRecordsResource.d.ts +455 -0
- package/types/Prices.d.ts +22 -0
- package/types/PricesResource.d.ts +22 -0
- package/types/Products.d.ts +39 -0
- package/types/ProductsResource.d.ts +36 -0
- package/types/QuoteLines.d.ts +634 -0
- package/types/QuotePreviewInvoices.d.ts +1615 -0
- package/types/QuotePreviewSubscriptionSchedules.d.ts +814 -0
- package/types/Quotes.d.ts +591 -1
- package/types/QuotesResource.d.ts +2526 -194
- package/types/Refunds.d.ts +14 -0
- package/types/SetupAttempts.d.ts +40 -2
- package/types/SetupIntents.d.ts +113 -2
- package/types/SetupIntentsResource.d.ts +652 -7
- package/types/Sources.d.ts +23 -0
- package/types/SubscriptionItems.d.ts +21 -0
- package/types/SubscriptionItemsResource.d.ts +109 -0
- package/types/SubscriptionSchedules.d.ts +200 -0
- package/types/SubscriptionSchedulesResource.d.ts +1234 -16
- package/types/Subscriptions.d.ts +92 -1
- package/types/SubscriptionsResource.d.ts +371 -2
- package/types/Tax/Associations.d.ts +126 -0
- package/types/Tax/AssociationsResource.d.ts +29 -0
- package/types/Tax/CalculationLineItems.d.ts +1 -0
- package/types/Tax/Calculations.d.ts +4 -1
- package/types/Tax/CalculationsResource.d.ts +2 -1
- package/types/Tax/Forms.d.ts +220 -0
- package/types/Tax/FormsResource.d.ts +107 -0
- package/types/Tax/Transactions.d.ts +3 -1
- package/types/TaxIds.d.ts +2 -1
- package/types/TaxIdsResource.d.ts +2 -1
- package/types/TaxRates.d.ts +1 -0
- package/types/TaxRatesResource.d.ts +2 -0
- package/types/Terminal/ReaderCollectedData.d.ts +51 -0
- package/types/Terminal/ReaderCollectedDataResource.d.ts +29 -0
- package/types/Terminal/Readers.d.ts +278 -0
- package/types/Terminal/ReadersResource.d.ts +215 -0
- package/types/TestHelpers/ConfirmationTokensResource.d.ts +104 -0
- package/types/TestHelpers/Issuing/AuthorizationsResource.d.ts +14 -4
- package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +26 -0
- package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +26 -0
- package/types/Treasury/FinancialAccountFeatures.d.ts +7 -0
- package/types/Treasury/FinancialAccounts.d.ts +5 -0
- package/types/Treasury/FinancialAccountsResource.d.ts +37 -0
- package/types/Treasury/InboundTransfers.d.ts +1 -1
- package/types/Treasury/OutboundTransfers.d.ts +26 -0
- package/types/Treasury/OutboundTransfersResource.d.ts +26 -0
- package/types/Treasury/ReceivedCredits.d.ts +26 -0
- package/types/Treasury/ReceivedDebits.d.ts +31 -0
- package/types/WebhookEndpointsResource.d.ts +68 -0
- package/types/index.d.ts +74 -4
- package/cjs/resources/V2/Billing.js +0 -18
- package/cjs/resources/V2/Core.js +0 -14
- package/cjs/resources/V2.js +0 -14
- package/esm/resources/V2/Billing.js +0 -15
- package/esm/resources/V2/Core.js +0 -11
- package/esm/resources/V2.js +0 -11
- package/types/V2/BillingResource.d.ts +0 -14
- package/types/V2/CoreResource.d.ts +0 -12
- package/types/V2Resource.d.ts +0 -10
|
@@ -19,6 +19,10 @@ export const SubscriptionSchedules = StripeResource.extend({
|
|
|
19
19
|
fullPath: '/v1/subscription_schedules',
|
|
20
20
|
methodType: 'list',
|
|
21
21
|
}),
|
|
22
|
+
amend: stripeMethod({
|
|
23
|
+
method: 'POST',
|
|
24
|
+
fullPath: '/v1/subscription_schedules/{schedule}/amend',
|
|
25
|
+
}),
|
|
22
26
|
cancel: stripeMethod({
|
|
23
27
|
method: 'POST',
|
|
24
28
|
fullPath: '/v1/subscription_schedules/{schedule}/cancel',
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec
|
|
2
|
+
import { StripeResource } from '../../StripeResource.js';
|
|
3
|
+
const stripeMethod = StripeResource.method;
|
|
4
|
+
export const Associations = StripeResource.extend({
|
|
5
|
+
find: stripeMethod({ method: 'GET', fullPath: '/v1/tax/associations/find' }),
|
|
6
|
+
});
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec
|
|
2
|
+
import { StripeResource } from '../../StripeResource.js';
|
|
3
|
+
const stripeMethod = StripeResource.method;
|
|
4
|
+
export const Forms = StripeResource.extend({
|
|
5
|
+
retrieve: stripeMethod({ method: 'GET', fullPath: '/v1/tax/forms/{id}' }),
|
|
6
|
+
list: stripeMethod({
|
|
7
|
+
method: 'GET',
|
|
8
|
+
fullPath: '/v1/tax/forms',
|
|
9
|
+
methodType: 'list',
|
|
10
|
+
}),
|
|
11
|
+
pdf: stripeMethod({
|
|
12
|
+
method: 'GET',
|
|
13
|
+
fullPath: '/v1/tax/forms/{id}/pdf',
|
|
14
|
+
host: 'files.stripe.com',
|
|
15
|
+
streaming: true,
|
|
16
|
+
}),
|
|
17
|
+
});
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec
|
|
2
|
+
import { StripeResource } from '../../StripeResource.js';
|
|
3
|
+
const stripeMethod = StripeResource.method;
|
|
4
|
+
export const ReaderCollectedData = StripeResource.extend({
|
|
5
|
+
retrieve: stripeMethod({
|
|
6
|
+
method: 'GET',
|
|
7
|
+
fullPath: '/v1/terminal/reader_collected_data/{reader_collected_data}',
|
|
8
|
+
}),
|
|
9
|
+
});
|
|
@@ -24,6 +24,18 @@ export const Readers = StripeResource.extend({
|
|
|
24
24
|
method: 'POST',
|
|
25
25
|
fullPath: '/v1/terminal/readers/{reader}/cancel_action',
|
|
26
26
|
}),
|
|
27
|
+
collectInputs: stripeMethod({
|
|
28
|
+
method: 'POST',
|
|
29
|
+
fullPath: '/v1/terminal/readers/{reader}/collect_inputs',
|
|
30
|
+
}),
|
|
31
|
+
collectPaymentMethod: stripeMethod({
|
|
32
|
+
method: 'POST',
|
|
33
|
+
fullPath: '/v1/terminal/readers/{reader}/collect_payment_method',
|
|
34
|
+
}),
|
|
35
|
+
confirmPaymentIntent: stripeMethod({
|
|
36
|
+
method: 'POST',
|
|
37
|
+
fullPath: '/v1/terminal/readers/{reader}/confirm_payment_intent',
|
|
38
|
+
}),
|
|
27
39
|
processPaymentIntent: stripeMethod({
|
|
28
40
|
method: 'POST',
|
|
29
41
|
fullPath: '/v1/terminal/readers/{reader}/process_payment_intent',
|
package/esm/resources.js
CHANGED
|
@@ -3,11 +3,13 @@ import { resourceNamespace } from './ResourceNamespace.js';
|
|
|
3
3
|
import { Accounts as FinancialConnectionsAccounts } from './resources/FinancialConnections/Accounts.js';
|
|
4
4
|
import { ActiveEntitlements as EntitlementsActiveEntitlements } from './resources/Entitlements/ActiveEntitlements.js';
|
|
5
5
|
import { Alerts as BillingAlerts } from './resources/Billing/Alerts.js';
|
|
6
|
+
import { Associations as TaxAssociations } from './resources/Tax/Associations.js';
|
|
6
7
|
import { Authorizations as TestHelpersIssuingAuthorizations } from './resources/TestHelpers/Issuing/Authorizations.js';
|
|
7
8
|
import { Authorizations as IssuingAuthorizations } from './resources/Issuing/Authorizations.js';
|
|
8
9
|
import { Calculations as TaxCalculations } from './resources/Tax/Calculations.js';
|
|
9
10
|
import { Cardholders as IssuingCardholders } from './resources/Issuing/Cardholders.js';
|
|
10
11
|
import { Cards as TestHelpersIssuingCards } from './resources/TestHelpers/Issuing/Cards.js';
|
|
12
|
+
import { Cards as GiftCardsCards } from './resources/GiftCards/Cards.js';
|
|
11
13
|
import { Cards as IssuingCards } from './resources/Issuing/Cards.js';
|
|
12
14
|
import { Configurations as BillingPortalConfigurations } from './resources/BillingPortal/Configurations.js';
|
|
13
15
|
import { Configurations as TerminalConfigurations } from './resources/Terminal/Configurations.js';
|
|
@@ -17,17 +19,31 @@ import { CreditBalanceSummary as BillingCreditBalanceSummary } from './resources
|
|
|
17
19
|
import { CreditBalanceTransactions as BillingCreditBalanceTransactions } from './resources/Billing/CreditBalanceTransactions.js';
|
|
18
20
|
import { CreditGrants as BillingCreditGrants } from './resources/Billing/CreditGrants.js';
|
|
19
21
|
import { CreditReversals as TreasuryCreditReversals } from './resources/Treasury/CreditReversals.js';
|
|
22
|
+
import { CreditUnderwritingRecords as IssuingCreditUnderwritingRecords } from './resources/Issuing/CreditUnderwritingRecords.js';
|
|
20
23
|
import { Customers as TestHelpersCustomers } from './resources/TestHelpers/Customers.js';
|
|
21
24
|
import { DebitReversals as TreasuryDebitReversals } from './resources/Treasury/DebitReversals.js';
|
|
25
|
+
import { DisputeSettlementDetails as IssuingDisputeSettlementDetails } from './resources/Issuing/DisputeSettlementDetails.js';
|
|
22
26
|
import { Disputes as IssuingDisputes } from './resources/Issuing/Disputes.js';
|
|
23
27
|
import { EarlyFraudWarnings as RadarEarlyFraudWarnings } from './resources/Radar/EarlyFraudWarnings.js';
|
|
28
|
+
import { EventDestinations as V2CoreEventDestinations } from './resources/V2/Core/EventDestinations.js';
|
|
29
|
+
import { Events as V2CoreEvents } from './resources/V2/Core/Events.js';
|
|
24
30
|
import { Features as EntitlementsFeatures } from './resources/Entitlements/Features.js';
|
|
25
31
|
import { FinancialAccounts as TreasuryFinancialAccounts } from './resources/Treasury/FinancialAccounts.js';
|
|
32
|
+
import { FinancingOffers as CapitalFinancingOffers } from './resources/Capital/FinancingOffers.js';
|
|
33
|
+
import { FinancingSummary as CapitalFinancingSummary } from './resources/Capital/FinancingSummary.js';
|
|
34
|
+
import { FinancingTransactions as CapitalFinancingTransactions } from './resources/Capital/FinancingTransactions.js';
|
|
35
|
+
import { Forms as TaxForms } from './resources/Tax/Forms.js';
|
|
36
|
+
import { FraudLiabilityDebits as IssuingFraudLiabilityDebits } from './resources/Issuing/FraudLiabilityDebits.js';
|
|
26
37
|
import { InboundTransfers as TestHelpersTreasuryInboundTransfers } from './resources/TestHelpers/Treasury/InboundTransfers.js';
|
|
27
38
|
import { InboundTransfers as TreasuryInboundTransfers } from './resources/Treasury/InboundTransfers.js';
|
|
39
|
+
import { Institutions as FinancialConnectionsInstitutions } from './resources/FinancialConnections/Institutions.js';
|
|
28
40
|
import { Locations as TerminalLocations } from './resources/Terminal/Locations.js';
|
|
29
41
|
import { MeterEventAdjustments as BillingMeterEventAdjustments } from './resources/Billing/MeterEventAdjustments.js';
|
|
42
|
+
import { MeterEventAdjustments as V2BillingMeterEventAdjustments } from './resources/V2/Billing/MeterEventAdjustments.js';
|
|
43
|
+
import { MeterEventSession as V2BillingMeterEventSession } from './resources/V2/Billing/MeterEventSession.js';
|
|
44
|
+
import { MeterEventStream as V2BillingMeterEventStream } from './resources/V2/Billing/MeterEventStream.js';
|
|
30
45
|
import { MeterEvents as BillingMeterEvents } from './resources/Billing/MeterEvents.js';
|
|
46
|
+
import { MeterEvents as V2BillingMeterEvents } from './resources/V2/Billing/MeterEvents.js';
|
|
31
47
|
import { Meters as BillingMeters } from './resources/Billing/Meters.js';
|
|
32
48
|
import { Orders as ClimateOrders } from './resources/Climate/Orders.js';
|
|
33
49
|
import { OutboundPayments as TestHelpersTreasuryOutboundPayments } from './resources/TestHelpers/Treasury/OutboundPayments.js';
|
|
@@ -38,6 +54,7 @@ import { PersonalizationDesigns as TestHelpersIssuingPersonalizationDesigns } fr
|
|
|
38
54
|
import { PersonalizationDesigns as IssuingPersonalizationDesigns } from './resources/Issuing/PersonalizationDesigns.js';
|
|
39
55
|
import { PhysicalBundles as IssuingPhysicalBundles } from './resources/Issuing/PhysicalBundles.js';
|
|
40
56
|
import { Products as ClimateProducts } from './resources/Climate/Products.js';
|
|
57
|
+
import { ReaderCollectedData as TerminalReaderCollectedData } from './resources/Terminal/ReaderCollectedData.js';
|
|
41
58
|
import { Readers as TestHelpersTerminalReaders } from './resources/TestHelpers/Terminal/Readers.js';
|
|
42
59
|
import { Readers as TerminalReaders } from './resources/Terminal/Readers.js';
|
|
43
60
|
import { ReceivedCredits as TestHelpersTreasuryReceivedCredits } from './resources/TestHelpers/Treasury/ReceivedCredits.js';
|
|
@@ -61,6 +78,7 @@ import { Tokens as IssuingTokens } from './resources/Issuing/Tokens.js';
|
|
|
61
78
|
import { TransactionEntries as TreasuryTransactionEntries } from './resources/Treasury/TransactionEntries.js';
|
|
62
79
|
import { Transactions as TestHelpersIssuingTransactions } from './resources/TestHelpers/Issuing/Transactions.js';
|
|
63
80
|
import { Transactions as FinancialConnectionsTransactions } from './resources/FinancialConnections/Transactions.js';
|
|
81
|
+
import { Transactions as GiftCardsTransactions } from './resources/GiftCards/Transactions.js';
|
|
64
82
|
import { Transactions as IssuingTransactions } from './resources/Issuing/Transactions.js';
|
|
65
83
|
import { Transactions as TaxTransactions } from './resources/Tax/Transactions.js';
|
|
66
84
|
import { Transactions as TreasuryTransactions } from './resources/Treasury/Transactions.js';
|
|
@@ -70,6 +88,7 @@ import { VerificationReports as IdentityVerificationReports } from './resources/
|
|
|
70
88
|
import { VerificationSessions as IdentityVerificationSessions } from './resources/Identity/VerificationSessions.js';
|
|
71
89
|
export { Accounts as Account } from './resources/Accounts.js';
|
|
72
90
|
export { AccountLinks } from './resources/AccountLinks.js';
|
|
91
|
+
export { AccountNotices } from './resources/AccountNotices.js';
|
|
73
92
|
export { AccountSessions } from './resources/AccountSessions.js';
|
|
74
93
|
export { Accounts } from './resources/Accounts.js';
|
|
75
94
|
export { ApplePayDomains } from './resources/ApplePayDomains.js';
|
|
@@ -93,12 +112,16 @@ export { InvoiceItems } from './resources/InvoiceItems.js';
|
|
|
93
112
|
export { InvoiceRenderingTemplates } from './resources/InvoiceRenderingTemplates.js';
|
|
94
113
|
export { Invoices } from './resources/Invoices.js';
|
|
95
114
|
export { Mandates } from './resources/Mandates.js';
|
|
115
|
+
export { Margins } from './resources/Margins.js';
|
|
96
116
|
export { OAuth } from './resources/OAuth.js';
|
|
117
|
+
export { Orders } from './resources/Orders.js';
|
|
118
|
+
export { PaymentAttemptRecords } from './resources/PaymentAttemptRecords.js';
|
|
97
119
|
export { PaymentIntents } from './resources/PaymentIntents.js';
|
|
98
120
|
export { PaymentLinks } from './resources/PaymentLinks.js';
|
|
99
121
|
export { PaymentMethodConfigurations } from './resources/PaymentMethodConfigurations.js';
|
|
100
122
|
export { PaymentMethodDomains } from './resources/PaymentMethodDomains.js';
|
|
101
123
|
export { PaymentMethods } from './resources/PaymentMethods.js';
|
|
124
|
+
export { PaymentRecords } from './resources/PaymentRecords.js';
|
|
102
125
|
export { Payouts } from './resources/Payouts.js';
|
|
103
126
|
export { Plans } from './resources/Plans.js';
|
|
104
127
|
export { Prices } from './resources/Prices.js';
|
|
@@ -120,7 +143,6 @@ export { TaxRates } from './resources/TaxRates.js';
|
|
|
120
143
|
export { Tokens } from './resources/Tokens.js';
|
|
121
144
|
export { Topups } from './resources/Topups.js';
|
|
122
145
|
export { Transfers } from './resources/Transfers.js';
|
|
123
|
-
export { V2 } from './resources/V2.js';
|
|
124
146
|
export { WebhookEndpoints } from './resources/WebhookEndpoints.js';
|
|
125
147
|
export const Apps = resourceNamespace('apps', { Secrets: AppsSecrets });
|
|
126
148
|
export const Billing = resourceNamespace('billing', {
|
|
@@ -136,6 +158,11 @@ export const BillingPortal = resourceNamespace('billingPortal', {
|
|
|
136
158
|
Configurations: BillingPortalConfigurations,
|
|
137
159
|
Sessions: BillingPortalSessions,
|
|
138
160
|
});
|
|
161
|
+
export const Capital = resourceNamespace('capital', {
|
|
162
|
+
FinancingOffers: CapitalFinancingOffers,
|
|
163
|
+
FinancingSummary: CapitalFinancingSummary,
|
|
164
|
+
FinancingTransactions: CapitalFinancingTransactions,
|
|
165
|
+
});
|
|
139
166
|
export const Checkout = resourceNamespace('checkout', {
|
|
140
167
|
Sessions: CheckoutSessions,
|
|
141
168
|
});
|
|
@@ -150,12 +177,17 @@ export const Entitlements = resourceNamespace('entitlements', {
|
|
|
150
177
|
});
|
|
151
178
|
export const FinancialConnections = resourceNamespace('financialConnections', {
|
|
152
179
|
Accounts: FinancialConnectionsAccounts,
|
|
180
|
+
Institutions: FinancialConnectionsInstitutions,
|
|
153
181
|
Sessions: FinancialConnectionsSessions,
|
|
154
182
|
Transactions: FinancialConnectionsTransactions,
|
|
155
183
|
});
|
|
156
184
|
export const Forwarding = resourceNamespace('forwarding', {
|
|
157
185
|
Requests: ForwardingRequests,
|
|
158
186
|
});
|
|
187
|
+
export const GiftCards = resourceNamespace('giftCards', {
|
|
188
|
+
Cards: GiftCardsCards,
|
|
189
|
+
Transactions: GiftCardsTransactions,
|
|
190
|
+
});
|
|
159
191
|
export const Identity = resourceNamespace('identity', {
|
|
160
192
|
VerificationReports: IdentityVerificationReports,
|
|
161
193
|
VerificationSessions: IdentityVerificationSessions,
|
|
@@ -164,7 +196,10 @@ export const Issuing = resourceNamespace('issuing', {
|
|
|
164
196
|
Authorizations: IssuingAuthorizations,
|
|
165
197
|
Cardholders: IssuingCardholders,
|
|
166
198
|
Cards: IssuingCards,
|
|
199
|
+
CreditUnderwritingRecords: IssuingCreditUnderwritingRecords,
|
|
200
|
+
DisputeSettlementDetails: IssuingDisputeSettlementDetails,
|
|
167
201
|
Disputes: IssuingDisputes,
|
|
202
|
+
FraudLiabilityDebits: IssuingFraudLiabilityDebits,
|
|
168
203
|
PersonalizationDesigns: IssuingPersonalizationDesigns,
|
|
169
204
|
PhysicalBundles: IssuingPhysicalBundles,
|
|
170
205
|
Tokens: IssuingTokens,
|
|
@@ -183,7 +218,9 @@ export const Sigma = resourceNamespace('sigma', {
|
|
|
183
218
|
ScheduledQueryRuns: SigmaScheduledQueryRuns,
|
|
184
219
|
});
|
|
185
220
|
export const Tax = resourceNamespace('tax', {
|
|
221
|
+
Associations: TaxAssociations,
|
|
186
222
|
Calculations: TaxCalculations,
|
|
223
|
+
Forms: TaxForms,
|
|
187
224
|
Registrations: TaxRegistrations,
|
|
188
225
|
Settings: TaxSettings,
|
|
189
226
|
Transactions: TaxTransactions,
|
|
@@ -192,6 +229,7 @@ export const Terminal = resourceNamespace('terminal', {
|
|
|
192
229
|
Configurations: TerminalConfigurations,
|
|
193
230
|
ConnectionTokens: TerminalConnectionTokens,
|
|
194
231
|
Locations: TerminalLocations,
|
|
232
|
+
ReaderCollectedData: TerminalReaderCollectedData,
|
|
195
233
|
Readers: TerminalReaders,
|
|
196
234
|
});
|
|
197
235
|
export const TestHelpers = resourceNamespace('testHelpers', {
|
|
@@ -228,3 +266,15 @@ export const Treasury = resourceNamespace('treasury', {
|
|
|
228
266
|
TransactionEntries: TreasuryTransactionEntries,
|
|
229
267
|
Transactions: TreasuryTransactions,
|
|
230
268
|
});
|
|
269
|
+
export const V2 = resourceNamespace('v2', {
|
|
270
|
+
Billing: resourceNamespace('billing', {
|
|
271
|
+
MeterEventAdjustments: V2BillingMeterEventAdjustments,
|
|
272
|
+
MeterEventSession: V2BillingMeterEventSession,
|
|
273
|
+
MeterEventStream: V2BillingMeterEventStream,
|
|
274
|
+
MeterEvents: V2BillingMeterEvents,
|
|
275
|
+
}),
|
|
276
|
+
Core: resourceNamespace('core', {
|
|
277
|
+
EventDestinations: V2CoreEventDestinations,
|
|
278
|
+
Events: V2CoreEvents,
|
|
279
|
+
}),
|
|
280
|
+
});
|
package/esm/stripe.core.js
CHANGED
|
@@ -33,7 +33,7 @@ const ALLOWED_CONFIG_PROPERTIES = [
|
|
|
33
33
|
];
|
|
34
34
|
const defaultRequestSenderFactory = (stripe) => new RequestSender(stripe, StripeResource.MAX_BUFFERED_REQUEST_METRICS);
|
|
35
35
|
export function createStripe(platformFunctions, requestSender = defaultRequestSenderFactory) {
|
|
36
|
-
Stripe.PACKAGE_VERSION = '17.
|
|
36
|
+
Stripe.PACKAGE_VERSION = '17.4.0-beta.2';
|
|
37
37
|
Stripe.USER_AGENT = Object.assign({ bindings_version: Stripe.PACKAGE_VERSION, lang: 'node', publisher: 'stripe', uname: null, typescript: false }, determineProcessUserAgentProperties());
|
|
38
38
|
Stripe.StripeResource = StripeResource;
|
|
39
39
|
Stripe.resources = resources;
|
package/package.json
CHANGED
|
@@ -60,7 +60,11 @@ declare module 'stripe' {
|
|
|
60
60
|
type FutureRequirements = 'include' | 'omit';
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
-
type Type =
|
|
63
|
+
type Type =
|
|
64
|
+
| 'account_onboarding'
|
|
65
|
+
| 'account_update'
|
|
66
|
+
| 'capital_financing_offer'
|
|
67
|
+
| 'capital_financing_reporting';
|
|
64
68
|
}
|
|
65
69
|
|
|
66
70
|
class AccountLinksResource {
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec
|
|
2
|
+
|
|
3
|
+
declare module 'stripe' {
|
|
4
|
+
namespace Stripe {
|
|
5
|
+
/**
|
|
6
|
+
* A notice to a Connected account. Notice can be sent by Stripe on your behalf or you can opt to send the notices yourself.
|
|
7
|
+
*
|
|
8
|
+
* See the [guide to send notices](https://stripe.com/docs/issuing/compliance-us/issuing-regulated-customer-notices) to your connected accounts.
|
|
9
|
+
*/
|
|
10
|
+
interface AccountNotice {
|
|
11
|
+
/**
|
|
12
|
+
* Unique identifier for the object.
|
|
13
|
+
*/
|
|
14
|
+
id: string;
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* String representing the object's type. Objects of the same type share the same value.
|
|
18
|
+
*/
|
|
19
|
+
object: 'account_notice';
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* Time at which the object was created. Measured in seconds since the Unix epoch.
|
|
23
|
+
*/
|
|
24
|
+
created: number;
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* When present, the deadline for sending the notice to meet the relevant regulations.
|
|
28
|
+
*/
|
|
29
|
+
deadline: number | null;
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* Information about the email when sent.
|
|
33
|
+
*/
|
|
34
|
+
email: AccountNotice.Email | null;
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Information about objects related to the notice.
|
|
38
|
+
*/
|
|
39
|
+
linked_objects: AccountNotice.LinkedObjects | null;
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
|
43
|
+
*/
|
|
44
|
+
livemode: boolean;
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
|
|
48
|
+
*/
|
|
49
|
+
metadata: Stripe.Metadata | null;
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* Reason the notice is being sent. The reason determines what copy the notice must contain. See the [regulated customer notices](https://stripe.com/docs/issuing/compliance-us/issuing-regulated-customer-notices) guide. All reasons might not apply to your integration, and Stripe might add new reasons in the future, so we recommend an internal warning when you receive an unknown reason.
|
|
53
|
+
*/
|
|
54
|
+
reason: AccountNotice.Reason;
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* Date when the notice was sent. When absent, you must send the notice, update the content of the email and date when it was sent.
|
|
58
|
+
*/
|
|
59
|
+
sent_at: number | null;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
namespace AccountNotice {
|
|
63
|
+
interface Email {
|
|
64
|
+
/**
|
|
65
|
+
* Content of the email in plain text. The copy must match exactly the language that Stripe Compliance has approved for use.
|
|
66
|
+
*/
|
|
67
|
+
plain_text: string;
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* Email address of the recipient.
|
|
71
|
+
*/
|
|
72
|
+
recipient: string;
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* Subject of the email.
|
|
76
|
+
*/
|
|
77
|
+
subject: string;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
interface LinkedObjects {
|
|
81
|
+
/**
|
|
82
|
+
* Associated [Capability](https://stripe.com/docs/api/capabilities)
|
|
83
|
+
*/
|
|
84
|
+
capability: string | null;
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* Associated [Credit Underwriting Record](https://stripe.com/docs/api/issuing/credit_underwriting_record)
|
|
88
|
+
*/
|
|
89
|
+
issuing_credit_underwriting_record?: string | null;
|
|
90
|
+
|
|
91
|
+
/**
|
|
92
|
+
* Associated [Issuing Dispute](https://stripe.com/docs/api/issuing/disputes)
|
|
93
|
+
*/
|
|
94
|
+
issuing_dispute: string | null;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
type Reason =
|
|
98
|
+
| 'issuing.account_closed_for_inactivity'
|
|
99
|
+
| 'issuing.account_closed_for_not_providing_business_model_clarification'
|
|
100
|
+
| 'issuing.account_closed_for_not_providing_url_clarification'
|
|
101
|
+
| 'issuing.account_closed_for_not_providing_use_case_clarification'
|
|
102
|
+
| 'issuing.account_closed_for_terms_of_service_violation'
|
|
103
|
+
| 'issuing.application_rejected_for_failure_to_verify'
|
|
104
|
+
| 'issuing.credit_application_rejected'
|
|
105
|
+
| 'issuing.credit_increase_application_rejected'
|
|
106
|
+
| 'issuing.credit_limit_decreased'
|
|
107
|
+
| 'issuing.credit_line_closed'
|
|
108
|
+
| 'issuing.dispute_lost'
|
|
109
|
+
| 'issuing.dispute_submitted'
|
|
110
|
+
| 'issuing.dispute_won';
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
}
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec
|
|
2
|
+
|
|
3
|
+
declare module 'stripe' {
|
|
4
|
+
namespace Stripe {
|
|
5
|
+
interface AccountNoticeRetrieveParams {
|
|
6
|
+
/**
|
|
7
|
+
* Specifies which fields in the response should be expanded.
|
|
8
|
+
*/
|
|
9
|
+
expand?: Array<string>;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
interface AccountNoticeUpdateParams {
|
|
13
|
+
/**
|
|
14
|
+
* Information about the email you sent.
|
|
15
|
+
*/
|
|
16
|
+
email: AccountNoticeUpdateParams.Email;
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* Date when you sent the notice.
|
|
20
|
+
*/
|
|
21
|
+
sent_at: number;
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Specifies which fields in the response should be expanded.
|
|
25
|
+
*/
|
|
26
|
+
expand?: Array<string>;
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
|
30
|
+
*/
|
|
31
|
+
metadata?: Stripe.MetadataParam;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
namespace AccountNoticeUpdateParams {
|
|
35
|
+
interface Email {
|
|
36
|
+
/**
|
|
37
|
+
* Content of the email in plain text. The copy must match exactly the language that Stripe Compliance has approved for use.
|
|
38
|
+
*/
|
|
39
|
+
plain_text: string;
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* Email address of the recipient.
|
|
43
|
+
*/
|
|
44
|
+
recipient: string;
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* Subject of the email.
|
|
48
|
+
*/
|
|
49
|
+
subject: string;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
interface AccountNoticeListParams extends PaginationParams {
|
|
54
|
+
/**
|
|
55
|
+
* Specifies which fields in the response should be expanded.
|
|
56
|
+
*/
|
|
57
|
+
expand?: Array<string>;
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* Set to false to only return unsent AccountNotices.
|
|
61
|
+
*/
|
|
62
|
+
sent?: boolean;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
class AccountNoticesResource {
|
|
66
|
+
/**
|
|
67
|
+
* Retrieves an AccountNotice object.
|
|
68
|
+
*/
|
|
69
|
+
retrieve(
|
|
70
|
+
id: string,
|
|
71
|
+
params?: AccountNoticeRetrieveParams,
|
|
72
|
+
options?: RequestOptions
|
|
73
|
+
): Promise<Stripe.Response<Stripe.AccountNotice>>;
|
|
74
|
+
retrieve(
|
|
75
|
+
id: string,
|
|
76
|
+
options?: RequestOptions
|
|
77
|
+
): Promise<Stripe.Response<Stripe.AccountNotice>>;
|
|
78
|
+
|
|
79
|
+
/**
|
|
80
|
+
* Updates an AccountNotice object.
|
|
81
|
+
*/
|
|
82
|
+
update(
|
|
83
|
+
id: string,
|
|
84
|
+
params: AccountNoticeUpdateParams,
|
|
85
|
+
options?: RequestOptions
|
|
86
|
+
): Promise<Stripe.Response<Stripe.AccountNotice>>;
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* Retrieves a list of AccountNotice objects. The objects are sorted in descending order by creation date, with the most-recently-created object appearing first.
|
|
90
|
+
*/
|
|
91
|
+
list(
|
|
92
|
+
params?: AccountNoticeListParams,
|
|
93
|
+
options?: RequestOptions
|
|
94
|
+
): ApiListPromise<Stripe.AccountNotice>;
|
|
95
|
+
list(options?: RequestOptions): ApiListPromise<Stripe.AccountNotice>;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}
|
|
@@ -52,6 +52,12 @@ declare module 'stripe' {
|
|
|
52
52
|
|
|
53
53
|
balances: Components.Balances;
|
|
54
54
|
|
|
55
|
+
capital_financing?: Components.CapitalFinancing | null;
|
|
56
|
+
|
|
57
|
+
capital_financing_application?: Components.CapitalFinancingApplication | null;
|
|
58
|
+
|
|
59
|
+
capital_financing_promotion?: Components.CapitalFinancingPromotion | null;
|
|
60
|
+
|
|
55
61
|
documents: Components.Documents;
|
|
56
62
|
|
|
57
63
|
notification_banner: Components.NotificationBanner;
|
|
@@ -84,7 +90,7 @@ declare module 'stripe' {
|
|
|
84
90
|
/**
|
|
85
91
|
* Disables Stripe user authentication for this embedded component. This feature can only be false for accounts where you're responsible for collecting updated information when requirements are due or change, like custom accounts. The default value for this feature is `false` when `external_account_collection` is enabled and `true` otherwise.
|
|
86
92
|
*/
|
|
87
|
-
disable_stripe_user_authentication
|
|
93
|
+
disable_stripe_user_authentication: boolean;
|
|
88
94
|
|
|
89
95
|
/**
|
|
90
96
|
* Whether to allow platforms to control bank account collection for their connected accounts. This feature can only be false for accounts where you're responsible for collecting updated information when requirements are due or change, like custom accounts. Otherwise, bank account collection is determined by compliance requirements. The default value for this feature is `true`.
|
|
@@ -107,7 +113,7 @@ declare module 'stripe' {
|
|
|
107
113
|
/**
|
|
108
114
|
* Disables Stripe user authentication for this embedded component. This feature can only be false for accounts where you're responsible for collecting updated information when requirements are due or change, like custom accounts. The default value for this feature is `false` when `external_account_collection` is enabled and `true` otherwise.
|
|
109
115
|
*/
|
|
110
|
-
disable_stripe_user_authentication
|
|
116
|
+
disable_stripe_user_authentication: boolean;
|
|
111
117
|
|
|
112
118
|
/**
|
|
113
119
|
* Whether to allow platforms to control bank account collection for their connected accounts. This feature can only be false for accounts where you're responsible for collecting updated information when requirements are due or change, like custom accounts. Otherwise, bank account collection is determined by compliance requirements. The default value for this feature is `true`.
|
|
@@ -130,7 +136,7 @@ declare module 'stripe' {
|
|
|
130
136
|
/**
|
|
131
137
|
* Disables Stripe user authentication for this embedded component. This feature can only be false for accounts where you're responsible for collecting updated information when requirements are due or change, like custom accounts. The default value for this feature is `false` when `external_account_collection` is enabled and `true` otherwise.
|
|
132
138
|
*/
|
|
133
|
-
disable_stripe_user_authentication
|
|
139
|
+
disable_stripe_user_authentication: boolean;
|
|
134
140
|
|
|
135
141
|
/**
|
|
136
142
|
* Whether to allow payout schedule to be changed. Default `true` when Stripe owns Loss Liability, default `false` otherwise.
|
|
@@ -154,6 +160,45 @@ declare module 'stripe' {
|
|
|
154
160
|
}
|
|
155
161
|
}
|
|
156
162
|
|
|
163
|
+
interface CapitalFinancing {
|
|
164
|
+
/**
|
|
165
|
+
* Whether the embedded component is enabled.
|
|
166
|
+
*/
|
|
167
|
+
enabled: boolean;
|
|
168
|
+
|
|
169
|
+
features: CapitalFinancing.Features;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
namespace CapitalFinancing {
|
|
173
|
+
interface Features {}
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
interface CapitalFinancingApplication {
|
|
177
|
+
/**
|
|
178
|
+
* Whether the embedded component is enabled.
|
|
179
|
+
*/
|
|
180
|
+
enabled: boolean;
|
|
181
|
+
|
|
182
|
+
features: CapitalFinancingApplication.Features;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
namespace CapitalFinancingApplication {
|
|
186
|
+
interface Features {}
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
interface CapitalFinancingPromotion {
|
|
190
|
+
/**
|
|
191
|
+
* Whether the embedded component is enabled.
|
|
192
|
+
*/
|
|
193
|
+
enabled: boolean;
|
|
194
|
+
|
|
195
|
+
features: CapitalFinancingPromotion.Features;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
namespace CapitalFinancingPromotion {
|
|
199
|
+
interface Features {}
|
|
200
|
+
}
|
|
201
|
+
|
|
157
202
|
interface Documents {
|
|
158
203
|
/**
|
|
159
204
|
* Whether the embedded component is enabled.
|
|
@@ -181,7 +226,7 @@ declare module 'stripe' {
|
|
|
181
226
|
/**
|
|
182
227
|
* Disables Stripe user authentication for this embedded component. This feature can only be false for accounts where you're responsible for collecting updated information when requirements are due or change, like custom accounts. The default value for this feature is `false` when `external_account_collection` is enabled and `true` otherwise.
|
|
183
228
|
*/
|
|
184
|
-
disable_stripe_user_authentication
|
|
229
|
+
disable_stripe_user_authentication: boolean;
|
|
185
230
|
|
|
186
231
|
/**
|
|
187
232
|
* Whether to allow platforms to control bank account collection for their connected accounts. This feature can only be false for accounts where you're responsible for collecting updated information when requirements are due or change, like custom accounts. Otherwise, bank account collection is determined by compliance requirements. The default value for this feature is `true`.
|
|
@@ -270,7 +315,7 @@ declare module 'stripe' {
|
|
|
270
315
|
/**
|
|
271
316
|
* Disables Stripe user authentication for this embedded component. This feature can only be false for accounts where you're responsible for collecting updated information when requirements are due or change, like custom accounts. The default value for this feature is `false` when `external_account_collection` is enabled and `true` otherwise.
|
|
272
317
|
*/
|
|
273
|
-
disable_stripe_user_authentication
|
|
318
|
+
disable_stripe_user_authentication: boolean;
|
|
274
319
|
|
|
275
320
|
/**
|
|
276
321
|
* Whether to allow payout schedule to be changed. Default `true` when Stripe owns Loss Liability, default `false` otherwise.
|