stripe 23.1.0 → 23.2.0-beta.1
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 +1914 -4850
- package/README.md +42 -58
- package/VERSION +1 -1
- package/cjs/Error.d.ts +6 -0
- package/cjs/Error.js +17 -1
- package/cjs/Error.js.map +1 -1
- package/cjs/StripeEventNotificationHandler.js +54 -0
- package/cjs/StripeEventNotificationHandler.js.map +1 -1
- package/cjs/Types.d.ts +4 -2
- package/cjs/Types.js.map +1 -1
- package/cjs/apiVersion.d.ts +2 -2
- package/cjs/apiVersion.js +2 -2
- package/cjs/apiVersion.js.map +1 -1
- package/cjs/resources/AccountLinks.d.ts +1 -1
- package/cjs/resources/AccountNotices.d.ts +140 -0
- package/cjs/resources/AccountNotices.js +29 -0
- package/cjs/resources/AccountNotices.js.map +1 -0
- package/cjs/resources/AccountSessions.d.ts +226 -0
- package/cjs/resources/AccountSessions.js.map +1 -1
- package/cjs/resources/Accounts.d.ts +625 -3
- package/cjs/resources/Accounts.js +14 -0
- package/cjs/resources/Accounts.js.map +1 -1
- package/cjs/resources/Balance.d.ts +67 -0
- package/cjs/resources/BalanceSettings.d.ts +18 -0
- package/cjs/resources/BankAccounts.d.ts +2 -2
- package/cjs/resources/Billing/AlertTriggereds.d.ts +2 -1
- package/cjs/resources/Billing/Analytics/MeterUsage.d.ts +85 -0
- package/cjs/resources/Billing/Analytics/MeterUsage.js +15 -0
- package/cjs/resources/Billing/Analytics/MeterUsage.js.map +1 -0
- package/cjs/resources/Billing/Analytics/MeterUsageRows.d.ts +32 -0
- package/cjs/resources/Billing/Analytics/MeterUsageRows.js +4 -0
- package/cjs/resources/Billing/Analytics/MeterUsageRows.js.map +1 -0
- package/cjs/resources/Billing/Analytics/index.d.ts +15 -0
- package/cjs/resources/Billing/Analytics/index.js +13 -0
- package/cjs/resources/Billing/Analytics/index.js.map +1 -0
- package/cjs/resources/Billing/index.d.ts +3 -0
- package/cjs/resources/Billing/index.js +2 -0
- package/cjs/resources/Billing/index.js.map +1 -1
- package/cjs/resources/Capabilities.d.ts +2 -2
- package/cjs/resources/Capital/FinancingOffers.d.ts +194 -0
- package/cjs/resources/Capital/FinancingOffers.js +30 -0
- package/cjs/resources/Capital/FinancingOffers.js.map +1 -0
- package/cjs/resources/Capital/FinancingSummary.d.ts +102 -0
- package/cjs/resources/Capital/FinancingSummary.js +15 -0
- package/cjs/resources/Capital/FinancingSummary.js.map +1 -0
- package/cjs/resources/Capital/FinancingTransactions.d.ts +141 -0
- package/cjs/resources/Capital/FinancingTransactions.js +24 -0
- package/cjs/resources/Capital/FinancingTransactions.js.map +1 -0
- package/cjs/resources/Capital/index.d.ts +25 -0
- package/cjs/resources/Capital/index.js +17 -0
- package/cjs/resources/Capital/index.js.map +1 -0
- package/cjs/resources/Cards.d.ts +17 -0
- package/cjs/resources/Charges.d.ts +3077 -70
- package/cjs/resources/Checkout/Sessions.d.ts +351 -4
- package/cjs/resources/ConfirmationTokens.d.ts +67 -1
- package/cjs/resources/Coupons.d.ts +53 -0
- package/cjs/resources/Coupons.js +13 -0
- package/cjs/resources/Coupons.js.map +1 -1
- package/cjs/resources/CreditNoteLineItems.d.ts +15 -1
- package/cjs/resources/CreditNotes.d.ts +1 -1
- package/cjs/resources/CustomerSessions.d.ts +68 -0
- package/cjs/resources/Customers.d.ts +20 -1
- package/cjs/resources/Customers.js +14 -0
- package/cjs/resources/Customers.js.map +1 -1
- package/cjs/resources/Disputes.d.ts +14 -0
- package/cjs/resources/Events.d.ts +614 -3
- package/cjs/resources/ExternalAccounts.d.ts +212 -1
- package/cjs/resources/ExternalAccounts.js +44 -0
- package/cjs/resources/ExternalAccounts.js.map +1 -1
- package/cjs/resources/FinancialConnections/AccountInferredBalances.d.ts +24 -0
- package/cjs/resources/FinancialConnections/AccountInferredBalances.js +4 -0
- package/cjs/resources/FinancialConnections/AccountInferredBalances.js.map +1 -0
- package/cjs/resources/FinancialConnections/Accounts.d.ts +69 -4
- package/cjs/resources/FinancialConnections/Accounts.js +8 -0
- package/cjs/resources/FinancialConnections/Accounts.js.map +1 -1
- package/cjs/resources/FinancialConnections/Authorizations.d.ts +46 -1
- package/cjs/resources/FinancialConnections/Authorizations.js +11 -0
- package/cjs/resources/FinancialConnections/Authorizations.js.map +1 -1
- package/cjs/resources/FinancialConnections/Institutions.d.ts +99 -0
- package/cjs/resources/FinancialConnections/Institutions.js +23 -0
- package/cjs/resources/FinancialConnections/Institutions.js.map +1 -0
- package/cjs/resources/FinancialConnections/Sessions.d.ts +124 -9
- package/cjs/resources/FinancialConnections/index.d.ts +21 -9
- package/cjs/resources/FinancialConnections/index.js +4 -0
- package/cjs/resources/FinancialConnections/index.js.map +1 -1
- package/cjs/resources/FxQuotes.d.ts +216 -0
- package/cjs/resources/FxQuotes.js +29 -0
- package/cjs/resources/FxQuotes.js.map +1 -0
- package/cjs/resources/InvoiceItems.d.ts +85 -0
- package/cjs/resources/InvoiceItems.js.map +1 -1
- package/cjs/resources/InvoiceLineItems.d.ts +40 -2
- package/cjs/resources/Invoices.d.ts +1257 -10
- package/cjs/resources/Invoices.js +41 -0
- package/cjs/resources/Invoices.js.map +1 -1
- package/cjs/resources/Issuing/Authorizations.d.ts +13 -0
- package/cjs/resources/Issuing/Cardholders.d.ts +19 -1
- package/cjs/resources/Issuing/Cards.d.ts +13 -0
- package/cjs/resources/Issuing/CreditUnderwritingRecords.d.ts +638 -0
- package/cjs/resources/Issuing/CreditUnderwritingRecords.js +47 -0
- package/cjs/resources/Issuing/CreditUnderwritingRecords.js.map +1 -0
- package/cjs/resources/Issuing/DisputeSettlementDetails.d.ts +93 -0
- package/cjs/resources/Issuing/DisputeSettlementDetails.js +23 -0
- package/cjs/resources/Issuing/DisputeSettlementDetails.js.map +1 -0
- package/cjs/resources/Issuing/Disputes.d.ts +13 -0
- package/cjs/resources/Issuing/FraudLiabilityDebits.d.ts +68 -0
- package/cjs/resources/Issuing/FraudLiabilityDebits.js +23 -0
- package/cjs/resources/Issuing/FraudLiabilityDebits.js.map +1 -0
- package/cjs/resources/Issuing/Settlements.d.ts +83 -0
- package/cjs/resources/Issuing/Settlements.js +4 -0
- package/cjs/resources/Issuing/Settlements.js.map +1 -0
- package/cjs/resources/Issuing/Transactions.d.ts +22 -0
- package/cjs/resources/Issuing/Transactions.js.map +1 -1
- package/cjs/resources/Issuing/index.d.ts +47 -22
- package/cjs/resources/Issuing/index.js +6 -0
- package/cjs/resources/Issuing/index.js.map +1 -1
- package/cjs/resources/LineItems.d.ts +29 -2
- package/cjs/resources/Mandates.d.ts +36 -2
- package/cjs/resources/Mandates.js +8 -0
- package/cjs/resources/Mandates.js.map +1 -1
- package/cjs/resources/Margins.d.ts +115 -0
- package/cjs/resources/Margins.js +35 -0
- package/cjs/resources/Margins.js.map +1 -0
- package/cjs/resources/Orders.d.ts +4696 -0
- package/cjs/resources/Orders.js +457 -0
- package/cjs/resources/Orders.js.map +1 -0
- package/cjs/resources/PaymentAttemptRecords.d.ts +82 -0
- package/cjs/resources/PaymentIntents.d.ts +13832 -2816
- package/cjs/resources/PaymentIntents.js +27 -0
- package/cjs/resources/PaymentIntents.js.map +1 -1
- package/cjs/resources/PaymentLinks.d.ts +3 -3
- package/cjs/resources/PaymentMethodConfigurations.d.ts +350 -0
- package/cjs/resources/PaymentMethods.d.ts +181 -3
- package/cjs/resources/PaymentMethods.js.map +1 -1
- package/cjs/resources/PaymentPlans.d.ts +427 -0
- package/cjs/resources/PaymentPlans.js +35 -0
- package/cjs/resources/PaymentPlans.js.map +1 -0
- package/cjs/resources/PaymentRecords.d.ts +82 -0
- package/cjs/resources/Persons.d.ts +2 -2
- package/cjs/resources/Prices.d.ts +36 -0
- package/cjs/resources/Privacy/RedactionJobValidationErrors.d.ts +36 -0
- package/cjs/resources/Privacy/RedactionJobValidationErrors.js +4 -0
- package/cjs/resources/Privacy/RedactionJobValidationErrors.js.map +1 -0
- package/cjs/resources/Privacy/RedactionJobs.d.ts +227 -0
- package/cjs/resources/Privacy/RedactionJobs.js +73 -0
- package/cjs/resources/Privacy/RedactionJobs.js.map +1 -0
- package/cjs/resources/Privacy/index.d.ts +22 -0
- package/cjs/resources/Privacy/index.js +13 -0
- package/cjs/resources/Privacy/index.js.map +1 -0
- package/cjs/resources/ProductCatalog/TrialOffers.d.ts +2 -2
- package/cjs/resources/PromotionCodes.d.ts +12 -0
- package/cjs/resources/PromotionCodes.js +27 -0
- package/cjs/resources/PromotionCodes.js.map +1 -1
- package/cjs/resources/QuoteLines.d.ts +507 -0
- package/cjs/resources/QuoteLines.js +4 -0
- package/cjs/resources/QuoteLines.js.map +1 -0
- package/cjs/resources/QuotePreviewInvoices.d.ts +1170 -0
- package/cjs/resources/QuotePreviewInvoices.js +4 -0
- package/cjs/resources/QuotePreviewInvoices.js.map +1 -0
- package/cjs/resources/QuotePreviewSubscriptionSchedules.d.ts +924 -0
- package/cjs/resources/QuotePreviewSubscriptionSchedules.js +4 -0
- package/cjs/resources/QuotePreviewSubscriptionSchedules.js.map +1 -0
- package/cjs/resources/Quotes.d.ts +2266 -57
- package/cjs/resources/Quotes.js +1184 -16
- package/cjs/resources/Quotes.js.map +1 -1
- package/cjs/resources/Radar/BillingEvaluations.d.ts +374 -0
- package/cjs/resources/Radar/BillingEvaluations.js +15 -0
- package/cjs/resources/Radar/BillingEvaluations.js.map +1 -0
- package/cjs/resources/Radar/PaymentEvaluations.d.ts +1 -1
- package/cjs/resources/Radar/ValueListItems.d.ts +31 -1
- package/cjs/resources/Radar/index.d.ts +21 -16
- package/cjs/resources/Radar/index.js +2 -0
- package/cjs/resources/Radar/index.js.map +1 -1
- package/cjs/resources/Refunds.d.ts +11 -0
- package/cjs/resources/Reserve/Holds.d.ts +53 -1
- package/cjs/resources/Reserve/Holds.js +19 -0
- package/cjs/resources/Reserve/Holds.js.map +1 -1
- package/cjs/resources/Reserve/Plans.d.ts +41 -1
- package/cjs/resources/Reserve/Plans.js +19 -0
- package/cjs/resources/Reserve/Plans.js.map +1 -1
- package/cjs/resources/Reserve/Releases.d.ts +41 -1
- package/cjs/resources/Reserve/Releases.js +19 -0
- package/cjs/resources/Reserve/Releases.js.map +1 -1
- package/cjs/resources/Reserve/index.d.ts +18 -6
- package/cjs/resources/Reserve/index.js +9 -0
- package/cjs/resources/Reserve/index.js.map +1 -1
- package/cjs/resources/SetupAttempts.d.ts +26 -1
- package/cjs/resources/SetupIntents.d.ts +394 -11
- package/cjs/resources/SharedPayment/GrantedTokens.d.ts +418 -0
- package/cjs/resources/SharedPayment/GrantedTokens.js +15 -0
- package/cjs/resources/SharedPayment/GrantedTokens.js.map +1 -0
- package/cjs/resources/SharedPayment/IssuedTokens.d.ts +330 -0
- package/cjs/resources/SharedPayment/IssuedTokens.js +27 -0
- package/cjs/resources/SharedPayment/IssuedTokens.js.map +1 -0
- package/cjs/resources/SharedPayment/index.d.ts +19 -0
- package/cjs/resources/SharedPayment/index.js +15 -0
- package/cjs/resources/SharedPayment/index.js.map +1 -0
- package/cjs/resources/Sources.d.ts +29 -1
- package/cjs/resources/SubscriptionItems.d.ts +114 -0
- package/cjs/resources/SubscriptionSchedules.d.ts +1157 -5
- package/cjs/resources/SubscriptionSchedules.js +6 -0
- package/cjs/resources/SubscriptionSchedules.js.map +1 -1
- package/cjs/resources/Subscriptions.d.ts +388 -6
- package/cjs/resources/Subscriptions.js +42 -0
- package/cjs/resources/Subscriptions.js.map +1 -1
- package/cjs/resources/Tax/Forms.d.ts +228 -0
- package/cjs/resources/Tax/Forms.js +32 -0
- package/cjs/resources/Tax/Forms.js.map +1 -0
- package/cjs/resources/Tax/Registrations.d.ts +25 -2
- package/cjs/resources/Tax/index.d.ts +24 -17
- package/cjs/resources/Tax/index.js +2 -0
- package/cjs/resources/Tax/index.js.map +1 -1
- package/cjs/resources/Terminal/ReaderCollectedData.d.ts +50 -0
- package/cjs/resources/Terminal/ReaderCollectedData.js +15 -0
- package/cjs/resources/Terminal/ReaderCollectedData.js.map +1 -0
- package/cjs/resources/Terminal/Readers.d.ts +17 -1
- package/cjs/resources/Terminal/index.d.ts +5 -0
- package/cjs/resources/Terminal/index.js +2 -0
- package/cjs/resources/Terminal/index.js.map +1 -1
- package/cjs/resources/TestHelpers/ConfirmationTokens.d.ts +95 -1
- package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +68 -0
- package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js +21 -0
- package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js.map +1 -0
- package/cjs/resources/TestHelpers/SharedPayment/index.d.ts +8 -0
- package/cjs/resources/TestHelpers/SharedPayment/index.js +13 -0
- package/cjs/resources/TestHelpers/SharedPayment/index.js.map +1 -0
- package/cjs/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +22 -0
- package/cjs/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +22 -0
- package/cjs/resources/TestHelpers/index.d.ts +3 -0
- package/cjs/resources/TestHelpers/index.js +6 -4
- package/cjs/resources/TestHelpers/index.js.map +1 -1
- package/cjs/resources/Tokens.d.ts +15 -0
- package/cjs/resources/Transfers.d.ts +8 -0
- package/cjs/resources/Treasury/FinancialAccountFeatures.d.ts +5 -0
- package/cjs/resources/Treasury/FinancialAccounts.d.ts +34 -1
- package/cjs/resources/Treasury/OutboundPayments.d.ts +26 -0
- package/cjs/resources/Treasury/OutboundTransfers.d.ts +44 -0
- package/cjs/resources/Treasury/ReceivedCredits.d.ts +22 -0
- package/cjs/resources/Treasury/ReceivedDebits.d.ts +26 -0
- package/cjs/resources/V2/Billing/BillSettingVersions.d.ts +72 -0
- package/cjs/resources/V2/Billing/BillSettingVersions.js +4 -0
- package/cjs/resources/V2/Billing/BillSettingVersions.js.map +1 -0
- package/cjs/resources/V2/Billing/BillSettings/Versions.d.ts +33 -0
- package/cjs/resources/V2/Billing/BillSettings/Versions.js +23 -0
- package/cjs/resources/V2/Billing/BillSettings/Versions.js.map +1 -0
- package/cjs/resources/V2/Billing/BillSettings.d.ts +281 -0
- package/cjs/resources/V2/Billing/BillSettings.js +41 -0
- package/cjs/resources/V2/Billing/BillSettings.js.map +1 -0
- package/cjs/resources/V2/Billing/Cadences.d.ts +958 -0
- package/cjs/resources/V2/Billing/Cadences.js +198 -0
- package/cjs/resources/V2/Billing/Cadences.js.map +1 -0
- package/cjs/resources/V2/Billing/CollectionSettingVersions.d.ts +238 -0
- package/cjs/resources/V2/Billing/CollectionSettingVersions.js +4 -0
- package/cjs/resources/V2/Billing/CollectionSettingVersions.js.map +1 -0
- package/cjs/resources/V2/Billing/CollectionSettings/Versions.d.ts +33 -0
- package/cjs/resources/V2/Billing/CollectionSettings/Versions.js +70 -0
- package/cjs/resources/V2/Billing/CollectionSettings/Versions.js.map +1 -0
- package/cjs/resources/V2/Billing/CollectionSettings.d.ts +779 -0
- package/cjs/resources/V2/Billing/CollectionSettings.js +166 -0
- package/cjs/resources/V2/Billing/CollectionSettings.js.map +1 -0
- package/cjs/resources/V2/Billing/Profiles.d.ts +162 -0
- package/cjs/resources/V2/Billing/Profiles.js +35 -0
- package/cjs/resources/V2/Billing/Profiles.js.map +1 -0
- package/cjs/resources/V2/Billing/index.d.ts +45 -6
- package/cjs/resources/V2/Billing/index.js +8 -0
- package/cjs/resources/V2/Billing/index.js.map +1 -1
- package/cjs/resources/V2/Core/AccountTokens.d.ts +28 -1
- package/cjs/resources/V2/Core/Accounts.d.ts +1465 -71
- package/cjs/resources/V2/Core/ApprovalRequests.d.ts +378 -0
- package/cjs/resources/V2/Core/ApprovalRequests.js +39 -0
- package/cjs/resources/V2/Core/ApprovalRequests.js.map +1 -0
- package/cjs/resources/V2/Core/BatchJobs.d.ts +392 -0
- package/cjs/resources/V2/Core/BatchJobs.js +252 -0
- package/cjs/resources/V2/Core/BatchJobs.js.map +1 -0
- package/cjs/resources/V2/Core/Events.d.ts +1009 -5
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.d.ts +117 -0
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.js.map +1 -1
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.d.ts +27 -0
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.js.map +1 -1
- package/cjs/resources/V2/Core/index.d.ts +24 -9
- package/cjs/resources/V2/Core/index.js +4 -0
- package/cjs/resources/V2/Core/index.js.map +1 -1
- package/cjs/resources/V2/Data/QueryRuns.d.ts +299 -0
- package/cjs/resources/V2/Data/QueryRuns.js +51 -0
- package/cjs/resources/V2/Data/QueryRuns.js.map +1 -0
- package/cjs/resources/V2/Data/ReportRuns.d.ts +303 -0
- package/cjs/resources/V2/Data/ReportRuns.js +53 -0
- package/cjs/resources/V2/Data/ReportRuns.js.map +1 -0
- package/cjs/resources/V2/Data/Reporting/QueryRuns.d.ts +152 -0
- package/cjs/resources/V2/Data/Reporting/QueryRuns.js +46 -0
- package/cjs/resources/V2/Data/Reporting/QueryRuns.js.map +1 -0
- package/cjs/resources/V2/Data/Reporting/index.d.ts +13 -0
- package/cjs/resources/V2/Data/Reporting/index.js +13 -0
- package/cjs/resources/V2/Data/Reporting/index.js.map +1 -0
- package/cjs/resources/V2/Data/Reports.d.ts +140 -0
- package/cjs/resources/V2/Data/Reports.js +25 -0
- package/cjs/resources/V2/Data/Reports.js.map +1 -0
- package/cjs/resources/V2/Data/Schemas.d.ts +161 -0
- package/cjs/resources/V2/Data/Schemas.js +23 -0
- package/cjs/resources/V2/Data/Schemas.js.map +1 -0
- package/cjs/resources/V2/Data/index.d.ts +34 -0
- package/cjs/resources/V2/Data/index.js +21 -0
- package/cjs/resources/V2/Data/index.js.map +1 -0
- package/cjs/resources/V2/EventMisc.d.ts +0 -0
- package/cjs/resources/V2/EventMisc.js +2 -0
- package/cjs/resources/V2/EventMisc.js.map +1 -0
- package/cjs/resources/V2/Extend/WorkflowRuns.d.ts +163 -0
- package/cjs/resources/V2/Extend/WorkflowRuns.js +23 -0
- package/cjs/resources/V2/Extend/WorkflowRuns.js.map +1 -0
- package/cjs/resources/V2/Extend/Workflows.d.ts +120 -0
- package/cjs/resources/V2/Extend/Workflows.js +30 -0
- package/cjs/resources/V2/Extend/Workflows.js.map +1 -0
- package/cjs/resources/V2/Extend/index.d.ts +20 -0
- package/cjs/resources/V2/Extend/index.js +15 -0
- package/cjs/resources/V2/Extend/index.js.map +1 -0
- package/cjs/resources/V2/Iam/ActivityLogs.d.ts +377 -0
- package/cjs/resources/V2/Iam/ActivityLogs.js +23 -0
- package/cjs/resources/V2/Iam/ActivityLogs.js.map +1 -0
- package/cjs/resources/V2/Iam/index.d.ts +13 -0
- package/cjs/resources/V2/Iam/index.js +13 -0
- package/cjs/resources/V2/Iam/index.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/Adjustments.d.ts +6 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.d.ts +102 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +15 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js.map +1 -1
- package/cjs/resources/V2/MoneyManagement/FinancialAddressGeneratedMicrodeposits.d.ts +19 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAddressGeneratedMicrodeposits.js +4 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAddressGeneratedMicrodeposits.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/InboundTransfers.d.ts +4 -0
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +356 -0
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +23 -0
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/OutboundPayments.d.ts +79 -1
- package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +96 -2
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.d.ts +418 -0
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js +40 -0
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/PayoutIntents.d.ts +2 -2
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.d.ts +66 -1
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.js +9 -0
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.js.map +1 -1
- package/cjs/resources/V2/MoneyManagement/ReceivedCredits.d.ts +6 -2
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.d.ts +163 -0
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js +23 -0
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/RecipientVerifications.d.ts +5 -1
- package/cjs/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.d.ts +15 -1
- package/cjs/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.js +7 -0
- package/cjs/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.js.map +1 -1
- package/cjs/resources/V2/MoneyManagement/index.d.ts +63 -37
- package/cjs/resources/V2/MoneyManagement/index.js +6 -0
- package/cjs/resources/V2/MoneyManagement/index.js.map +1 -1
- package/cjs/resources/V2/Network/BusinessProfiles.d.ts +92 -0
- package/cjs/resources/V2/Network/BusinessProfiles.js +21 -0
- package/cjs/resources/V2/Network/BusinessProfiles.js.map +1 -0
- package/cjs/resources/V2/Network/index.d.ts +13 -0
- package/cjs/resources/V2/Network/index.js +13 -0
- package/cjs/resources/V2/Network/index.js.map +1 -0
- package/cjs/resources/V2/OrchestratedCommerce/Agreements.d.ts +143 -0
- package/cjs/resources/V2/OrchestratedCommerce/Agreements.js +41 -0
- package/cjs/resources/V2/OrchestratedCommerce/Agreements.js.map +1 -0
- package/cjs/resources/V2/OrchestratedCommerce/index.d.ts +16 -0
- package/cjs/resources/V2/OrchestratedCommerce/index.js +13 -0
- package/cjs/resources/V2/OrchestratedCommerce/index.js.map +1 -0
- package/cjs/resources/V2/Signals/AccountActivities.d.ts +432 -0
- package/cjs/resources/V2/Signals/AccountActivities.js +27 -0
- package/cjs/resources/V2/Signals/AccountActivities.js.map +1 -0
- package/cjs/resources/V2/Signals/AccountEvaluations.d.ts +405 -0
- package/cjs/resources/V2/Signals/AccountEvaluations.js +59 -0
- package/cjs/resources/V2/Signals/AccountEvaluations.js.map +1 -0
- package/cjs/resources/V2/Signals/AccountSignals.d.ts +196 -0
- package/cjs/resources/V2/Signals/AccountSignals.js +66 -0
- package/cjs/resources/V2/Signals/AccountSignals.js.map +1 -0
- package/cjs/resources/V2/Signals/index.d.ts +26 -0
- package/cjs/resources/V2/Signals/index.js +17 -0
- package/cjs/resources/V2/Signals/index.js.map +1 -0
- package/cjs/resources/V2/index.d.ts +18 -0
- package/cjs/resources/V2/index.js +16 -4
- package/cjs/resources/V2/index.js.map +1 -1
- package/cjs/resources/WebhookEndpoints.d.ts +2 -2
- package/cjs/resources.d.ts +10 -0
- package/cjs/resources.js +126 -8
- package/cjs/resources.js.map +1 -1
- package/cjs/stripe.cjs.node.d.ts +6674 -138
- package/cjs/stripe.cjs.node.js.map +1 -1
- package/cjs/stripe.core.d.ts +60 -26
- package/cjs/stripe.core.js +55 -36
- package/cjs/stripe.core.js.map +1 -1
- package/esm/Error.d.ts +6 -0
- package/esm/Error.js +14 -0
- package/esm/Error.js.map +1 -1
- package/esm/StripeEventNotificationHandler.js +54 -0
- package/esm/StripeEventNotificationHandler.js.map +1 -1
- package/esm/Types.d.ts +4 -2
- package/esm/Types.js.map +1 -1
- package/esm/apiVersion.d.ts +2 -2
- package/esm/apiVersion.js +2 -2
- package/esm/apiVersion.js.map +1 -1
- package/esm/resources/AccountLinks.d.ts +1 -1
- package/esm/resources/AccountNotices.d.ts +140 -0
- package/esm/resources/AccountNotices.js +25 -0
- package/esm/resources/AccountNotices.js.map +1 -0
- package/esm/resources/AccountSessions.d.ts +226 -0
- package/esm/resources/AccountSessions.js.map +1 -1
- package/esm/resources/Accounts.d.ts +625 -3
- package/esm/resources/Accounts.js +14 -0
- package/esm/resources/Accounts.js.map +1 -1
- package/esm/resources/Balance.d.ts +67 -0
- package/esm/resources/BalanceSettings.d.ts +18 -0
- package/esm/resources/BankAccounts.d.ts +2 -2
- package/esm/resources/Billing/AlertTriggereds.d.ts +2 -1
- package/esm/resources/Billing/Analytics/MeterUsage.d.ts +85 -0
- package/esm/resources/Billing/Analytics/MeterUsage.js +11 -0
- package/esm/resources/Billing/Analytics/MeterUsage.js.map +1 -0
- package/esm/resources/Billing/Analytics/MeterUsageRows.d.ts +32 -0
- package/esm/resources/Billing/Analytics/MeterUsageRows.js +3 -0
- package/esm/resources/Billing/Analytics/MeterUsageRows.js.map +1 -0
- package/esm/resources/Billing/Analytics/index.d.ts +15 -0
- package/esm/resources/Billing/Analytics/index.js +9 -0
- package/esm/resources/Billing/Analytics/index.js.map +1 -0
- package/esm/resources/Billing/index.d.ts +3 -0
- package/esm/resources/Billing/index.js +2 -0
- package/esm/resources/Billing/index.js.map +1 -1
- package/esm/resources/Capabilities.d.ts +2 -2
- package/esm/resources/Capital/FinancingOffers.d.ts +194 -0
- package/esm/resources/Capital/FinancingOffers.js +26 -0
- package/esm/resources/Capital/FinancingOffers.js.map +1 -0
- package/esm/resources/Capital/FinancingSummary.d.ts +102 -0
- package/esm/resources/Capital/FinancingSummary.js +11 -0
- package/esm/resources/Capital/FinancingSummary.js.map +1 -0
- package/esm/resources/Capital/FinancingTransactions.d.ts +141 -0
- package/esm/resources/Capital/FinancingTransactions.js +20 -0
- package/esm/resources/Capital/FinancingTransactions.js.map +1 -0
- package/esm/resources/Capital/index.d.ts +25 -0
- package/esm/resources/Capital/index.js +13 -0
- package/esm/resources/Capital/index.js.map +1 -0
- package/esm/resources/Cards.d.ts +17 -0
- package/esm/resources/Charges.d.ts +3077 -70
- package/esm/resources/Checkout/Sessions.d.ts +351 -4
- package/esm/resources/ConfirmationTokens.d.ts +67 -1
- package/esm/resources/Coupons.d.ts +53 -0
- package/esm/resources/Coupons.js +13 -0
- package/esm/resources/Coupons.js.map +1 -1
- package/esm/resources/CreditNoteLineItems.d.ts +15 -1
- package/esm/resources/CreditNotes.d.ts +1 -1
- package/esm/resources/CustomerSessions.d.ts +68 -0
- package/esm/resources/Customers.d.ts +20 -1
- package/esm/resources/Customers.js +14 -0
- package/esm/resources/Customers.js.map +1 -1
- package/esm/resources/Disputes.d.ts +14 -0
- package/esm/resources/Events.d.ts +614 -3
- package/esm/resources/ExternalAccounts.d.ts +212 -1
- package/esm/resources/ExternalAccounts.js +42 -1
- package/esm/resources/ExternalAccounts.js.map +1 -1
- package/esm/resources/FinancialConnections/AccountInferredBalances.d.ts +24 -0
- package/esm/resources/FinancialConnections/AccountInferredBalances.js +3 -0
- package/esm/resources/FinancialConnections/AccountInferredBalances.js.map +1 -0
- package/esm/resources/FinancialConnections/Accounts.d.ts +69 -4
- package/esm/resources/FinancialConnections/Accounts.js +8 -0
- package/esm/resources/FinancialConnections/Accounts.js.map +1 -1
- package/esm/resources/FinancialConnections/Authorizations.d.ts +46 -1
- package/esm/resources/FinancialConnections/Authorizations.js +9 -1
- package/esm/resources/FinancialConnections/Authorizations.js.map +1 -1
- package/esm/resources/FinancialConnections/Institutions.d.ts +99 -0
- package/esm/resources/FinancialConnections/Institutions.js +19 -0
- package/esm/resources/FinancialConnections/Institutions.js.map +1 -0
- package/esm/resources/FinancialConnections/Sessions.d.ts +124 -9
- package/esm/resources/FinancialConnections/index.d.ts +21 -9
- package/esm/resources/FinancialConnections/index.js +4 -0
- package/esm/resources/FinancialConnections/index.js.map +1 -1
- package/esm/resources/FxQuotes.d.ts +216 -0
- package/esm/resources/FxQuotes.js +25 -0
- package/esm/resources/FxQuotes.js.map +1 -0
- package/esm/resources/InvoiceItems.d.ts +85 -0
- package/esm/resources/InvoiceItems.js.map +1 -1
- package/esm/resources/InvoiceLineItems.d.ts +40 -2
- package/esm/resources/Invoices.d.ts +1257 -10
- package/esm/resources/Invoices.js +41 -0
- package/esm/resources/Invoices.js.map +1 -1
- package/esm/resources/Issuing/Authorizations.d.ts +13 -0
- package/esm/resources/Issuing/Cardholders.d.ts +19 -1
- package/esm/resources/Issuing/Cards.d.ts +13 -0
- package/esm/resources/Issuing/CreditUnderwritingRecords.d.ts +638 -0
- package/esm/resources/Issuing/CreditUnderwritingRecords.js +43 -0
- package/esm/resources/Issuing/CreditUnderwritingRecords.js.map +1 -0
- package/esm/resources/Issuing/DisputeSettlementDetails.d.ts +93 -0
- package/esm/resources/Issuing/DisputeSettlementDetails.js +19 -0
- package/esm/resources/Issuing/DisputeSettlementDetails.js.map +1 -0
- package/esm/resources/Issuing/Disputes.d.ts +13 -0
- package/esm/resources/Issuing/FraudLiabilityDebits.d.ts +68 -0
- package/esm/resources/Issuing/FraudLiabilityDebits.js +19 -0
- package/esm/resources/Issuing/FraudLiabilityDebits.js.map +1 -0
- package/esm/resources/Issuing/Settlements.d.ts +83 -0
- package/esm/resources/Issuing/Settlements.js +3 -0
- package/esm/resources/Issuing/Settlements.js.map +1 -0
- package/esm/resources/Issuing/Transactions.d.ts +22 -0
- package/esm/resources/Issuing/Transactions.js.map +1 -1
- package/esm/resources/Issuing/index.d.ts +47 -22
- package/esm/resources/Issuing/index.js +6 -0
- package/esm/resources/Issuing/index.js.map +1 -1
- package/esm/resources/LineItems.d.ts +29 -2
- package/esm/resources/Mandates.d.ts +36 -2
- package/esm/resources/Mandates.js +8 -0
- package/esm/resources/Mandates.js.map +1 -1
- package/esm/resources/Margins.d.ts +115 -0
- package/esm/resources/Margins.js +31 -0
- package/esm/resources/Margins.js.map +1 -0
- package/esm/resources/Orders.d.ts +4696 -0
- package/esm/resources/Orders.js +453 -0
- package/esm/resources/Orders.js.map +1 -0
- package/esm/resources/PaymentAttemptRecords.d.ts +82 -0
- package/esm/resources/PaymentIntents.d.ts +13832 -2816
- package/esm/resources/PaymentIntents.js +27 -0
- package/esm/resources/PaymentIntents.js.map +1 -1
- package/esm/resources/PaymentLinks.d.ts +3 -3
- package/esm/resources/PaymentMethodConfigurations.d.ts +350 -0
- package/esm/resources/PaymentMethods.d.ts +181 -3
- package/esm/resources/PaymentMethods.js.map +1 -1
- package/esm/resources/PaymentPlans.d.ts +427 -0
- package/esm/resources/PaymentPlans.js +31 -0
- package/esm/resources/PaymentPlans.js.map +1 -0
- package/esm/resources/PaymentRecords.d.ts +82 -0
- package/esm/resources/Persons.d.ts +2 -2
- package/esm/resources/Prices.d.ts +36 -0
- package/esm/resources/Privacy/RedactionJobValidationErrors.d.ts +36 -0
- package/esm/resources/Privacy/RedactionJobValidationErrors.js +3 -0
- package/esm/resources/Privacy/RedactionJobValidationErrors.js.map +1 -0
- package/esm/resources/Privacy/RedactionJobs.d.ts +227 -0
- package/esm/resources/Privacy/RedactionJobs.js +69 -0
- package/esm/resources/Privacy/RedactionJobs.js.map +1 -0
- package/esm/resources/Privacy/index.d.ts +22 -0
- package/esm/resources/Privacy/index.js +9 -0
- package/esm/resources/Privacy/index.js.map +1 -0
- package/esm/resources/ProductCatalog/TrialOffers.d.ts +2 -2
- package/esm/resources/PromotionCodes.d.ts +12 -0
- package/esm/resources/PromotionCodes.js +27 -0
- package/esm/resources/PromotionCodes.js.map +1 -1
- package/esm/resources/QuoteLines.d.ts +507 -0
- package/esm/resources/QuoteLines.js +3 -0
- package/esm/resources/QuoteLines.js.map +1 -0
- package/esm/resources/QuotePreviewInvoices.d.ts +1170 -0
- package/esm/resources/QuotePreviewInvoices.js +3 -0
- package/esm/resources/QuotePreviewInvoices.js.map +1 -0
- package/esm/resources/QuotePreviewSubscriptionSchedules.d.ts +924 -0
- package/esm/resources/QuotePreviewSubscriptionSchedules.js +3 -0
- package/esm/resources/QuotePreviewSubscriptionSchedules.js.map +1 -0
- package/esm/resources/Quotes.d.ts +2266 -57
- package/esm/resources/Quotes.js +1184 -16
- package/esm/resources/Quotes.js.map +1 -1
- package/esm/resources/Radar/BillingEvaluations.d.ts +374 -0
- package/esm/resources/Radar/BillingEvaluations.js +11 -0
- package/esm/resources/Radar/BillingEvaluations.js.map +1 -0
- package/esm/resources/Radar/PaymentEvaluations.d.ts +1 -1
- package/esm/resources/Radar/ValueListItems.d.ts +31 -1
- package/esm/resources/Radar/index.d.ts +21 -16
- package/esm/resources/Radar/index.js +2 -0
- package/esm/resources/Radar/index.js.map +1 -1
- package/esm/resources/Refunds.d.ts +11 -0
- package/esm/resources/Reserve/Holds.d.ts +53 -1
- package/esm/resources/Reserve/Holds.js +17 -1
- package/esm/resources/Reserve/Holds.js.map +1 -1
- package/esm/resources/Reserve/Plans.d.ts +41 -1
- package/esm/resources/Reserve/Plans.js +17 -1
- package/esm/resources/Reserve/Plans.js.map +1 -1
- package/esm/resources/Reserve/Releases.d.ts +41 -1
- package/esm/resources/Reserve/Releases.js +17 -1
- package/esm/resources/Reserve/Releases.js.map +1 -1
- package/esm/resources/Reserve/index.d.ts +18 -6
- package/esm/resources/Reserve/index.js +9 -0
- package/esm/resources/Reserve/index.js.map +1 -1
- package/esm/resources/SetupAttempts.d.ts +26 -1
- package/esm/resources/SetupIntents.d.ts +394 -11
- package/esm/resources/SharedPayment/GrantedTokens.d.ts +418 -0
- package/esm/resources/SharedPayment/GrantedTokens.js +11 -0
- package/esm/resources/SharedPayment/GrantedTokens.js.map +1 -0
- package/esm/resources/SharedPayment/IssuedTokens.d.ts +330 -0
- package/esm/resources/SharedPayment/IssuedTokens.js +23 -0
- package/esm/resources/SharedPayment/IssuedTokens.js.map +1 -0
- package/esm/resources/SharedPayment/index.d.ts +19 -0
- package/esm/resources/SharedPayment/index.js +11 -0
- package/esm/resources/SharedPayment/index.js.map +1 -0
- package/esm/resources/Sources.d.ts +29 -1
- package/esm/resources/SubscriptionItems.d.ts +114 -0
- package/esm/resources/SubscriptionSchedules.d.ts +1157 -5
- package/esm/resources/SubscriptionSchedules.js +6 -0
- package/esm/resources/SubscriptionSchedules.js.map +1 -1
- package/esm/resources/Subscriptions.d.ts +388 -6
- package/esm/resources/Subscriptions.js +42 -0
- package/esm/resources/Subscriptions.js.map +1 -1
- package/esm/resources/Tax/Forms.d.ts +228 -0
- package/esm/resources/Tax/Forms.js +28 -0
- package/esm/resources/Tax/Forms.js.map +1 -0
- package/esm/resources/Tax/Registrations.d.ts +25 -2
- package/esm/resources/Tax/index.d.ts +24 -17
- package/esm/resources/Tax/index.js +2 -0
- package/esm/resources/Tax/index.js.map +1 -1
- package/esm/resources/Terminal/ReaderCollectedData.d.ts +50 -0
- package/esm/resources/Terminal/ReaderCollectedData.js +11 -0
- package/esm/resources/Terminal/ReaderCollectedData.js.map +1 -0
- package/esm/resources/Terminal/Readers.d.ts +17 -1
- package/esm/resources/Terminal/index.d.ts +5 -0
- package/esm/resources/Terminal/index.js +2 -0
- package/esm/resources/Terminal/index.js.map +1 -1
- package/esm/resources/TestHelpers/ConfirmationTokens.d.ts +95 -1
- package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +68 -0
- package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js +17 -0
- package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js.map +1 -0
- package/esm/resources/TestHelpers/SharedPayment/index.d.ts +8 -0
- package/esm/resources/TestHelpers/SharedPayment/index.js +9 -0
- package/esm/resources/TestHelpers/SharedPayment/index.js.map +1 -0
- package/esm/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +22 -0
- package/esm/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +22 -0
- package/esm/resources/TestHelpers/index.d.ts +3 -0
- package/esm/resources/TestHelpers/index.js +2 -0
- package/esm/resources/TestHelpers/index.js.map +1 -1
- package/esm/resources/Tokens.d.ts +15 -0
- package/esm/resources/Transfers.d.ts +8 -0
- package/esm/resources/Treasury/FinancialAccountFeatures.d.ts +5 -0
- package/esm/resources/Treasury/FinancialAccounts.d.ts +34 -1
- package/esm/resources/Treasury/OutboundPayments.d.ts +26 -0
- package/esm/resources/Treasury/OutboundTransfers.d.ts +44 -0
- package/esm/resources/Treasury/ReceivedCredits.d.ts +22 -0
- package/esm/resources/Treasury/ReceivedDebits.d.ts +26 -0
- package/esm/resources/V2/Billing/BillSettingVersions.d.ts +72 -0
- package/esm/resources/V2/Billing/BillSettingVersions.js +3 -0
- package/esm/resources/V2/Billing/BillSettingVersions.js.map +1 -0
- package/esm/resources/V2/Billing/BillSettings/Versions.d.ts +33 -0
- package/esm/resources/V2/Billing/BillSettings/Versions.js +19 -0
- package/esm/resources/V2/Billing/BillSettings/Versions.js.map +1 -0
- package/esm/resources/V2/Billing/BillSettings.d.ts +281 -0
- package/esm/resources/V2/Billing/BillSettings.js +37 -0
- package/esm/resources/V2/Billing/BillSettings.js.map +1 -0
- package/esm/resources/V2/Billing/Cadences.d.ts +958 -0
- package/esm/resources/V2/Billing/Cadences.js +194 -0
- package/esm/resources/V2/Billing/Cadences.js.map +1 -0
- package/esm/resources/V2/Billing/CollectionSettingVersions.d.ts +238 -0
- package/esm/resources/V2/Billing/CollectionSettingVersions.js +3 -0
- package/esm/resources/V2/Billing/CollectionSettingVersions.js.map +1 -0
- package/esm/resources/V2/Billing/CollectionSettings/Versions.d.ts +33 -0
- package/esm/resources/V2/Billing/CollectionSettings/Versions.js +66 -0
- package/esm/resources/V2/Billing/CollectionSettings/Versions.js.map +1 -0
- package/esm/resources/V2/Billing/CollectionSettings.d.ts +779 -0
- package/esm/resources/V2/Billing/CollectionSettings.js +162 -0
- package/esm/resources/V2/Billing/CollectionSettings.js.map +1 -0
- package/esm/resources/V2/Billing/Profiles.d.ts +162 -0
- package/esm/resources/V2/Billing/Profiles.js +31 -0
- package/esm/resources/V2/Billing/Profiles.js.map +1 -0
- package/esm/resources/V2/Billing/index.d.ts +45 -6
- package/esm/resources/V2/Billing/index.js +8 -0
- package/esm/resources/V2/Billing/index.js.map +1 -1
- package/esm/resources/V2/Core/AccountTokens.d.ts +28 -1
- package/esm/resources/V2/Core/Accounts.d.ts +1465 -71
- package/esm/resources/V2/Core/ApprovalRequests.d.ts +378 -0
- package/esm/resources/V2/Core/ApprovalRequests.js +35 -0
- package/esm/resources/V2/Core/ApprovalRequests.js.map +1 -0
- package/esm/resources/V2/Core/BatchJobs.d.ts +392 -0
- package/esm/resources/V2/Core/BatchJobs.js +248 -0
- package/esm/resources/V2/Core/BatchJobs.js.map +1 -0
- package/esm/resources/V2/Core/Events.d.ts +1009 -5
- package/esm/resources/V2/Core/Vault/GbBankAccounts.d.ts +117 -0
- package/esm/resources/V2/Core/Vault/GbBankAccounts.js.map +1 -1
- package/esm/resources/V2/Core/Vault/UsBankAccounts.d.ts +27 -0
- package/esm/resources/V2/Core/Vault/UsBankAccounts.js.map +1 -1
- package/esm/resources/V2/Core/index.d.ts +24 -9
- package/esm/resources/V2/Core/index.js +4 -0
- package/esm/resources/V2/Core/index.js.map +1 -1
- package/esm/resources/V2/Data/QueryRuns.d.ts +299 -0
- package/esm/resources/V2/Data/QueryRuns.js +47 -0
- package/esm/resources/V2/Data/QueryRuns.js.map +1 -0
- package/esm/resources/V2/Data/ReportRuns.d.ts +303 -0
- package/esm/resources/V2/Data/ReportRuns.js +49 -0
- package/esm/resources/V2/Data/ReportRuns.js.map +1 -0
- package/esm/resources/V2/Data/Reporting/QueryRuns.d.ts +152 -0
- package/esm/resources/V2/Data/Reporting/QueryRuns.js +42 -0
- package/esm/resources/V2/Data/Reporting/QueryRuns.js.map +1 -0
- package/esm/resources/V2/Data/Reporting/index.d.ts +13 -0
- package/esm/resources/V2/Data/Reporting/index.js +9 -0
- package/esm/resources/V2/Data/Reporting/index.js.map +1 -0
- package/esm/resources/V2/Data/Reports.d.ts +140 -0
- package/esm/resources/V2/Data/Reports.js +21 -0
- package/esm/resources/V2/Data/Reports.js.map +1 -0
- package/esm/resources/V2/Data/Schemas.d.ts +161 -0
- package/esm/resources/V2/Data/Schemas.js +19 -0
- package/esm/resources/V2/Data/Schemas.js.map +1 -0
- package/esm/resources/V2/Data/index.d.ts +34 -0
- package/esm/resources/V2/Data/index.js +17 -0
- package/esm/resources/V2/Data/index.js.map +1 -0
- package/esm/resources/V2/EventMisc.d.ts +0 -0
- package/esm/resources/V2/EventMisc.js +2 -0
- package/esm/resources/V2/EventMisc.js.map +1 -0
- package/esm/resources/V2/Extend/WorkflowRuns.d.ts +163 -0
- package/esm/resources/V2/Extend/WorkflowRuns.js +19 -0
- package/esm/resources/V2/Extend/WorkflowRuns.js.map +1 -0
- package/esm/resources/V2/Extend/Workflows.d.ts +120 -0
- package/esm/resources/V2/Extend/Workflows.js +26 -0
- package/esm/resources/V2/Extend/Workflows.js.map +1 -0
- package/esm/resources/V2/Extend/index.d.ts +20 -0
- package/esm/resources/V2/Extend/index.js +11 -0
- package/esm/resources/V2/Extend/index.js.map +1 -0
- package/esm/resources/V2/Iam/ActivityLogs.d.ts +377 -0
- package/esm/resources/V2/Iam/ActivityLogs.js +19 -0
- package/esm/resources/V2/Iam/ActivityLogs.js.map +1 -0
- package/esm/resources/V2/Iam/index.d.ts +13 -0
- package/esm/resources/V2/Iam/index.js +9 -0
- package/esm/resources/V2/Iam/index.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/Adjustments.d.ts +6 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.d.ts +102 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +15 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.js.map +1 -1
- package/esm/resources/V2/MoneyManagement/FinancialAddressGeneratedMicrodeposits.d.ts +19 -0
- package/esm/resources/V2/MoneyManagement/FinancialAddressGeneratedMicrodeposits.js +3 -0
- package/esm/resources/V2/MoneyManagement/FinancialAddressGeneratedMicrodeposits.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/InboundTransfers.d.ts +4 -0
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +356 -0
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +19 -0
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/OutboundPayments.d.ts +79 -1
- package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +96 -2
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.d.ts +418 -0
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.js +36 -0
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/PayoutIntents.d.ts +2 -2
- package/esm/resources/V2/MoneyManagement/PayoutMethods.d.ts +66 -1
- package/esm/resources/V2/MoneyManagement/PayoutMethods.js +9 -0
- package/esm/resources/V2/MoneyManagement/PayoutMethods.js.map +1 -1
- package/esm/resources/V2/MoneyManagement/ReceivedCredits.d.ts +6 -2
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.d.ts +163 -0
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.js +19 -0
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/RecipientVerifications.d.ts +5 -1
- package/esm/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.d.ts +15 -1
- package/esm/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.js +7 -0
- package/esm/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.js.map +1 -1
- package/esm/resources/V2/MoneyManagement/index.d.ts +63 -37
- package/esm/resources/V2/MoneyManagement/index.js +6 -0
- package/esm/resources/V2/MoneyManagement/index.js.map +1 -1
- package/esm/resources/V2/Network/BusinessProfiles.d.ts +92 -0
- package/esm/resources/V2/Network/BusinessProfiles.js +17 -0
- package/esm/resources/V2/Network/BusinessProfiles.js.map +1 -0
- package/esm/resources/V2/Network/index.d.ts +13 -0
- package/esm/resources/V2/Network/index.js +9 -0
- package/esm/resources/V2/Network/index.js.map +1 -0
- package/esm/resources/V2/OrchestratedCommerce/Agreements.d.ts +143 -0
- package/esm/resources/V2/OrchestratedCommerce/Agreements.js +37 -0
- package/esm/resources/V2/OrchestratedCommerce/Agreements.js.map +1 -0
- package/esm/resources/V2/OrchestratedCommerce/index.d.ts +16 -0
- package/esm/resources/V2/OrchestratedCommerce/index.js +9 -0
- package/esm/resources/V2/OrchestratedCommerce/index.js.map +1 -0
- package/esm/resources/V2/Signals/AccountActivities.d.ts +432 -0
- package/esm/resources/V2/Signals/AccountActivities.js +23 -0
- package/esm/resources/V2/Signals/AccountActivities.js.map +1 -0
- package/esm/resources/V2/Signals/AccountEvaluations.d.ts +405 -0
- package/esm/resources/V2/Signals/AccountEvaluations.js +55 -0
- package/esm/resources/V2/Signals/AccountEvaluations.js.map +1 -0
- package/esm/resources/V2/Signals/AccountSignals.d.ts +196 -0
- package/esm/resources/V2/Signals/AccountSignals.js +62 -0
- package/esm/resources/V2/Signals/AccountSignals.js.map +1 -0
- package/esm/resources/V2/Signals/index.d.ts +26 -0
- package/esm/resources/V2/Signals/index.js +13 -0
- package/esm/resources/V2/Signals/index.js.map +1 -0
- package/esm/resources/V2/index.d.ts +18 -0
- package/esm/resources/V2/index.js +12 -0
- package/esm/resources/V2/index.js.map +1 -1
- package/esm/resources/WebhookEndpoints.d.ts +2 -2
- package/esm/resources.d.ts +10 -0
- package/esm/resources.js +112 -0
- package/esm/resources.js.map +1 -1
- package/esm/stripe.core.d.ts +60 -26
- package/esm/stripe.core.js +21 -2
- package/esm/stripe.core.js.map +1 -1
- package/esm/stripe.esm.node.d.ts +60 -26
- package/esm/stripe.esm.node.js +21 -2
- package/esm/stripe.esm.node.js.map +1 -1
- package/package.json +1 -1
|
@@ -69,6 +69,10 @@ export declare class AccountResource extends StripeResource {
|
|
|
69
69
|
* Unreject will only enable charges and/or payouts if there are no other restrictions other than those placed by a previous rejection. If you have separately paused charges and/or payouts outside of rejection, those pauses will remain in place after unrejection.
|
|
70
70
|
*/
|
|
71
71
|
unreject(id: string, params?: AccountUnrejectParams, options?: RequestOptions): Promise<Response<Account>>;
|
|
72
|
+
serializeBatchUpdate(account: string, params?: Record<string, unknown>, options?: {
|
|
73
|
+
apiVersion?: string;
|
|
74
|
+
stripeContext?: string;
|
|
75
|
+
}): string;
|
|
72
76
|
/**
|
|
73
77
|
* Returns a list of capabilities associated with the account. The capabilities are returned sorted by creation date, with the most recent capability appearing first.
|
|
74
78
|
*/
|
|
@@ -209,6 +213,7 @@ export interface Account {
|
|
|
209
213
|
*/
|
|
210
214
|
payouts_enabled: boolean;
|
|
211
215
|
requirements?: Account.Requirements;
|
|
216
|
+
risk_controls?: Account.RiskControls;
|
|
212
217
|
/**
|
|
213
218
|
* Options for customizing how the account functions within Stripe.
|
|
214
219
|
*/
|
|
@@ -315,6 +320,10 @@ export declare namespace Account {
|
|
|
315
320
|
* The status of the BECS Direct Debit (AU) payments capability of the account, or whether the account can directly process BECS Direct Debit (AU) charges.
|
|
316
321
|
*/
|
|
317
322
|
au_becs_debit_payments?: Capabilities.AuBecsDebitPayments;
|
|
323
|
+
/**
|
|
324
|
+
* The status of the automatic_indirect_tax capability of the account.
|
|
325
|
+
*/
|
|
326
|
+
automatic_indirect_tax?: Capabilities.AutomaticIndirectTax;
|
|
318
327
|
/**
|
|
319
328
|
* The status of the Bacs Direct Debits payments capability of the account, or whether the account can directly process Bacs Direct Debits charges.
|
|
320
329
|
*/
|
|
@@ -383,10 +392,22 @@ export declare namespace Account {
|
|
|
383
392
|
* The status of the giropay payments capability of the account, or whether the account can directly process giropay charges.
|
|
384
393
|
*/
|
|
385
394
|
giropay_payments?: Capabilities.GiropayPayments;
|
|
395
|
+
/**
|
|
396
|
+
* The status of the Gopay capability of the account, or whether the account can directly process Gopay payments.
|
|
397
|
+
*/
|
|
398
|
+
gopay_payments?: Capabilities.GopayPayments;
|
|
386
399
|
/**
|
|
387
400
|
* The status of the GrabPay payments capability of the account, or whether the account can directly process GrabPay charges.
|
|
388
401
|
*/
|
|
389
402
|
grabpay_payments?: Capabilities.GrabpayPayments;
|
|
403
|
+
/**
|
|
404
|
+
* The status of the Indonesia Bank Transfer payments capability of the account, or whether the account can directly process Indonesia Bank Transfer charges.
|
|
405
|
+
*/
|
|
406
|
+
id_bank_transfer_payments?: Capabilities.IdBankTransferPayments;
|
|
407
|
+
/**
|
|
408
|
+
* The status of Bank BCA onboarding of the account.
|
|
409
|
+
*/
|
|
410
|
+
id_bank_transfer_payments_bca?: Capabilities.IdBankTransferPaymentsBca;
|
|
390
411
|
/**
|
|
391
412
|
* The status of the iDEAL payments capability of the account, or whether the account can directly process iDEAL charges.
|
|
392
413
|
*/
|
|
@@ -471,6 +492,10 @@ export declare namespace Account {
|
|
|
471
492
|
* The status of the paynow payments capability of the account, or whether the account can directly process paynow charges.
|
|
472
493
|
*/
|
|
473
494
|
paynow_payments?: Capabilities.PaynowPayments;
|
|
495
|
+
/**
|
|
496
|
+
* The status of the PayPal payments capability of the account, or whether the account can directly process PayPal charges.
|
|
497
|
+
*/
|
|
498
|
+
paypal_payments?: Capabilities.PaypalPayments;
|
|
474
499
|
/**
|
|
475
500
|
* The status of the Paypay capability of the account, or whether the account can directly process Paypay payments.
|
|
476
501
|
*/
|
|
@@ -487,6 +512,14 @@ export declare namespace Account {
|
|
|
487
512
|
* The status of the promptpay payments capability of the account, or whether the account can directly process promptpay charges.
|
|
488
513
|
*/
|
|
489
514
|
promptpay_payments?: Capabilities.PromptpayPayments;
|
|
515
|
+
/**
|
|
516
|
+
* The status of the Qris capability of the account, or whether the account can directly process Qris payments.
|
|
517
|
+
*/
|
|
518
|
+
qris_payments?: Capabilities.QrisPayments;
|
|
519
|
+
/**
|
|
520
|
+
* The status of the Rechnung capability of the account, or whether the account can directly process Rechnung payments.
|
|
521
|
+
*/
|
|
522
|
+
rechnung_payments?: Capabilities.RechnungPayments;
|
|
490
523
|
/**
|
|
491
524
|
* The status of the RevolutPay capability of the account, or whether the account can directly process RevolutPay payments.
|
|
492
525
|
*/
|
|
@@ -515,10 +548,18 @@ export declare namespace Account {
|
|
|
515
548
|
* The status of the SeQura capability of the account, or whether the account can directly process SeQura payments.
|
|
516
549
|
*/
|
|
517
550
|
sequra_payments?: Capabilities.SequraPayments;
|
|
551
|
+
/**
|
|
552
|
+
* The status of the ShopeePay capability of the account, or whether the account can directly process ShopeePay payments.
|
|
553
|
+
*/
|
|
554
|
+
shopeepay_payments?: Capabilities.ShopeepayPayments;
|
|
518
555
|
/**
|
|
519
556
|
* The status of the Sofort payments capability of the account, or whether the account can directly process Sofort charges.
|
|
520
557
|
*/
|
|
521
558
|
sofort_payments?: Capabilities.SofortPayments;
|
|
559
|
+
/**
|
|
560
|
+
* The status of the stripe_balance payments capability of the account, or whether the account can directly process stripe_balance charges.
|
|
561
|
+
*/
|
|
562
|
+
stripe_balance_payments?: Capabilities.StripeBalancePayments;
|
|
522
563
|
/**
|
|
523
564
|
* The status of the Sunbit capability of the account, or whether the account can directly process Sunbit payments.
|
|
524
565
|
*/
|
|
@@ -543,6 +584,18 @@ export declare namespace Account {
|
|
|
543
584
|
* The status of the banking capability, or whether the account can have bank accounts.
|
|
544
585
|
*/
|
|
545
586
|
treasury?: Capabilities.Treasury;
|
|
587
|
+
/**
|
|
588
|
+
* The status of the treasury_evolve capability of the account.
|
|
589
|
+
*/
|
|
590
|
+
treasury_evolve?: Capabilities.TreasuryEvolve;
|
|
591
|
+
/**
|
|
592
|
+
* The status of the treasury_fifth_third capability of the account.
|
|
593
|
+
*/
|
|
594
|
+
treasury_fifth_third?: Capabilities.TreasuryFifthThird;
|
|
595
|
+
/**
|
|
596
|
+
* The status of the treasury_goldman_sachs capability of the account.
|
|
597
|
+
*/
|
|
598
|
+
treasury_goldman_sachs?: Capabilities.TreasuryGoldmanSachs;
|
|
546
599
|
/**
|
|
547
600
|
* The status of the TWINT capability of the account, or whether the account can directly process TWINT charges.
|
|
548
601
|
*/
|
|
@@ -656,6 +709,8 @@ export declare namespace Account {
|
|
|
656
709
|
verification?: Company.Verification | null;
|
|
657
710
|
}
|
|
658
711
|
interface Controller {
|
|
712
|
+
application?: Controller.Application;
|
|
713
|
+
dashboard?: Controller.Dashboard;
|
|
659
714
|
fees?: Controller.Fees;
|
|
660
715
|
/**
|
|
661
716
|
* `true` if the Connect application retrieving the resource controls the account and can therefore exercise [platform controls](https://docs.stripe.com/connect/platform-controls-for-standard-accounts). Otherwise, this field is null.
|
|
@@ -746,8 +801,17 @@ export declare namespace Account {
|
|
|
746
801
|
*/
|
|
747
802
|
pending_verification: Array<string> | null;
|
|
748
803
|
}
|
|
804
|
+
interface RiskControls {
|
|
805
|
+
charges: RiskControls.Charges;
|
|
806
|
+
payouts: RiskControls.Payouts;
|
|
807
|
+
/**
|
|
808
|
+
* Represents the rejected reason of the account. Empty if account is not rejected, or rejected by Stripe. Please see [this page for more details](https://docs.stripe.com/connect/)
|
|
809
|
+
*/
|
|
810
|
+
rejected_reason?: RiskControls.RejectedReason | null;
|
|
811
|
+
}
|
|
749
812
|
interface Settings {
|
|
750
813
|
bacs_debit_payments?: Settings.BacsDebitPayments;
|
|
814
|
+
bank_bca_onboarding?: Settings.BankBcaOnboarding;
|
|
751
815
|
branding: Settings.Branding;
|
|
752
816
|
card_issuing?: Settings.CardIssuing;
|
|
753
817
|
card_payments: Settings.CardPayments;
|
|
@@ -757,6 +821,8 @@ export declare namespace Account {
|
|
|
757
821
|
payouts?: Settings.Payouts;
|
|
758
822
|
paypay_payments?: Settings.PaypayPayments;
|
|
759
823
|
sepa_debit_payments?: Settings.SepaDebitPayments;
|
|
824
|
+
smart_disputes?: Settings.SmartDisputes;
|
|
825
|
+
tax_forms?: Settings.TaxForms;
|
|
760
826
|
treasury?: Settings.Treasury;
|
|
761
827
|
}
|
|
762
828
|
interface TosAcceptance {
|
|
@@ -813,6 +879,7 @@ export declare namespace Account {
|
|
|
813
879
|
type AmazonPayPayments = 'active' | 'inactive' | 'pending' | OtherString;
|
|
814
880
|
type AppDistribution = 'active' | 'inactive' | 'pending' | OtherString;
|
|
815
881
|
type AuBecsDebitPayments = 'active' | 'inactive' | 'pending' | OtherString;
|
|
882
|
+
type AutomaticIndirectTax = 'active' | 'inactive' | 'pending' | OtherString;
|
|
816
883
|
type BacsDebitPayments = 'active' | 'inactive' | 'pending' | OtherString;
|
|
817
884
|
type BancontactPayments = 'active' | 'inactive' | 'pending' | OtherString;
|
|
818
885
|
type BankTransferPayments = 'active' | 'inactive' | 'pending' | OtherString;
|
|
@@ -830,7 +897,10 @@ export declare namespace Account {
|
|
|
830
897
|
type FpxPayments = 'active' | 'inactive' | 'pending' | OtherString;
|
|
831
898
|
type GbBankTransferPayments = 'active' | 'inactive' | 'pending' | OtherString;
|
|
832
899
|
type GiropayPayments = 'active' | 'inactive' | 'pending' | OtherString;
|
|
900
|
+
type GopayPayments = 'active' | 'inactive' | 'pending' | OtherString;
|
|
833
901
|
type GrabpayPayments = 'active' | 'inactive' | 'pending' | OtherString;
|
|
902
|
+
type IdBankTransferPayments = 'active' | 'inactive' | 'pending' | OtherString;
|
|
903
|
+
type IdBankTransferPaymentsBca = 'active' | 'inactive' | 'pending' | OtherString;
|
|
834
904
|
type IdealPayments = 'active' | 'inactive' | 'pending' | OtherString;
|
|
835
905
|
type IndiaInternationalPayments = 'active' | 'inactive' | 'pending' | OtherString;
|
|
836
906
|
type JcbPayments = 'active' | 'inactive' | 'pending' | OtherString;
|
|
@@ -852,10 +922,13 @@ export declare namespace Account {
|
|
|
852
922
|
type PayByBankPayments = 'active' | 'inactive' | 'pending' | OtherString;
|
|
853
923
|
type PaycoPayments = 'active' | 'inactive' | 'pending' | OtherString;
|
|
854
924
|
type PaynowPayments = 'active' | 'inactive' | 'pending' | OtherString;
|
|
925
|
+
type PaypalPayments = 'active' | 'inactive' | 'pending' | OtherString;
|
|
855
926
|
type PaypayPayments = 'active' | 'inactive' | 'pending' | OtherString;
|
|
856
927
|
type PaytoPayments = 'active' | 'inactive' | 'pending' | OtherString;
|
|
857
928
|
type PixPayments = 'active' | 'inactive' | 'pending' | OtherString;
|
|
858
929
|
type PromptpayPayments = 'active' | 'inactive' | 'pending' | OtherString;
|
|
930
|
+
type QrisPayments = 'active' | 'inactive' | 'pending' | OtherString;
|
|
931
|
+
type RechnungPayments = 'active' | 'inactive' | 'pending' | OtherString;
|
|
859
932
|
type RevolutPayPayments = 'active' | 'inactive' | 'pending' | OtherString;
|
|
860
933
|
type SamsungPayPayments = 'active' | 'inactive' | 'pending' | OtherString;
|
|
861
934
|
type SatispayPayments = 'active' | 'inactive' | 'pending' | OtherString;
|
|
@@ -863,13 +936,18 @@ export declare namespace Account {
|
|
|
863
936
|
type SepaBankTransferPayments = 'active' | 'inactive' | 'pending' | OtherString;
|
|
864
937
|
type SepaDebitPayments = 'active' | 'inactive' | 'pending' | OtherString;
|
|
865
938
|
type SequraPayments = 'active' | 'inactive' | 'pending' | OtherString;
|
|
939
|
+
type ShopeepayPayments = 'active' | 'inactive' | 'pending' | OtherString;
|
|
866
940
|
type SofortPayments = 'active' | 'inactive' | 'pending' | OtherString;
|
|
941
|
+
type StripeBalancePayments = 'active' | 'inactive' | 'pending' | OtherString;
|
|
867
942
|
type SunbitPayments = 'active' | 'inactive' | 'pending' | OtherString;
|
|
868
943
|
type SwishPayments = 'active' | 'inactive' | 'pending' | OtherString;
|
|
869
944
|
type TaxReportingUs1099K = 'active' | 'inactive' | 'pending' | OtherString;
|
|
870
945
|
type TaxReportingUs1099Misc = 'active' | 'inactive' | 'pending' | OtherString;
|
|
871
946
|
type Transfers = 'active' | 'inactive' | 'pending' | OtherString;
|
|
872
947
|
type Treasury = 'active' | 'inactive' | 'pending' | OtherString;
|
|
948
|
+
type TreasuryEvolve = 'active' | 'inactive' | 'pending' | OtherString;
|
|
949
|
+
type TreasuryFifthThird = 'active' | 'inactive' | 'pending' | OtherString;
|
|
950
|
+
type TreasuryGoldmanSachs = 'active' | 'inactive' | 'pending' | OtherString;
|
|
873
951
|
type TwintPayments = 'active' | 'inactive' | 'pending' | OtherString;
|
|
874
952
|
type UpiPayments = 'active' | 'inactive' | 'pending' | OtherString;
|
|
875
953
|
type UsBankAccountAchPayments = 'active' | 'inactive' | 'pending' | OtherString;
|
|
@@ -1021,6 +1099,26 @@ export declare namespace Account {
|
|
|
1021
1099
|
}
|
|
1022
1100
|
}
|
|
1023
1101
|
namespace Controller {
|
|
1102
|
+
interface Application {
|
|
1103
|
+
/**
|
|
1104
|
+
* `true` if the Connect application is responsible for negative balances and should manage credit and fraud risk on the account.
|
|
1105
|
+
*/
|
|
1106
|
+
loss_liable: boolean;
|
|
1107
|
+
/**
|
|
1108
|
+
* `true` if the Connect application is responsible for onboarding the account.
|
|
1109
|
+
*/
|
|
1110
|
+
onboarding_owner: boolean;
|
|
1111
|
+
/**
|
|
1112
|
+
* `true` if the Connect application is responsible for paying Stripe fees on pricing-control eligible products.
|
|
1113
|
+
*/
|
|
1114
|
+
pricing_controls: boolean;
|
|
1115
|
+
}
|
|
1116
|
+
interface Dashboard {
|
|
1117
|
+
/**
|
|
1118
|
+
* Whether this account has access to the full Stripe dashboard (`full`), to the Express dashboard (`express`), or to no dashboard (`none`).
|
|
1119
|
+
*/
|
|
1120
|
+
type: Dashboard.Type;
|
|
1121
|
+
}
|
|
1024
1122
|
interface Fees {
|
|
1025
1123
|
/**
|
|
1026
1124
|
* A value indicating the responsible payer of a bundle of Stripe fees for pricing-control eligible products on this account. Learn more about [fee behavior on connected accounts](https://docs.stripe.com/connect/direct-charges-fee-payer-behavior).
|
|
@@ -1041,8 +1139,11 @@ export declare namespace Account {
|
|
|
1041
1139
|
type: StripeDashboard.Type;
|
|
1042
1140
|
}
|
|
1043
1141
|
type Type = 'account' | 'application' | OtherString;
|
|
1142
|
+
namespace Dashboard {
|
|
1143
|
+
type Type = 'express' | 'full' | 'none' | OtherString;
|
|
1144
|
+
}
|
|
1044
1145
|
namespace Fees {
|
|
1045
|
-
type Payer = 'account' | 'application' | 'application_custom' | 'application_express' | OtherString;
|
|
1146
|
+
type Payer = 'account' | 'application' | 'application_custom' | 'application_express' | 'application_unified_accounts_beta' | OtherString;
|
|
1046
1147
|
}
|
|
1047
1148
|
namespace Losses {
|
|
1048
1149
|
type Payments = 'application' | 'stripe' | OtherString;
|
|
@@ -1078,7 +1179,7 @@ export declare namespace Account {
|
|
|
1078
1179
|
requirement: string;
|
|
1079
1180
|
}
|
|
1080
1181
|
namespace Error {
|
|
1081
|
-
type Code = 'external_request' | 'information_missing' | 'invalid_address_city_state_postal_code' | 'invalid_address_cmra_address' | 'invalid_address_highway_contract_box' | 'invalid_address_private_mailbox' | 'invalid_address_registered_agent_address' | 'invalid_business_profile_name' | 'invalid_business_profile_name_denylisted' | 'invalid_company_name_denylisted' | 'invalid_dob_age_over_maximum' | 'invalid_dob_age_under_18' | 'invalid_dob_age_under_minimum' | 'invalid_product_description_length' | 'invalid_product_description_url_match' | 'invalid_representative_country' | 'invalid_signator' | 'invalid_statement_descriptor_business_mismatch' | 'invalid_statement_descriptor_denylisted' | 'invalid_statement_descriptor_length' | 'invalid_statement_descriptor_prefix_denylisted' | 'invalid_statement_descriptor_prefix_mismatch' | 'invalid_street_address' | 'invalid_tax_id' | 'invalid_tax_id_format' | 'invalid_tos_acceptance' | 'invalid_url_denylisted' | 'invalid_url_format' | 'invalid_url_length' | 'invalid_url_web_presence_detected' | 'invalid_url_website_business_information_mismatch' | 'invalid_url_website_empty' | 'invalid_url_website_inaccessible' | 'invalid_url_website_inaccessible_geoblocked' | 'invalid_url_website_inaccessible_password_protected' | 'invalid_url_website_incomplete' | 'invalid_url_website_incomplete_cancellation_policy' | 'invalid_url_website_incomplete_customer_service_details' | 'invalid_url_website_incomplete_legal_restrictions' | 'invalid_url_website_incomplete_refund_policy' | 'invalid_url_website_incomplete_return_policy' | 'invalid_url_website_incomplete_terms_and_conditions' | 'invalid_url_website_incomplete_under_construction' | 'invalid_url_website_other' | 'invalid_value_other' | 'unsupported_business_type' | 'verification_directors_mismatch' | 'verification_document_address_mismatch' | 'verification_document_address_missing' | 'verification_document_corrupt' | 'verification_document_country_not_supported' | 'verification_document_directors_mismatch' | 'verification_document_dob_mismatch' | 'verification_document_duplicate_type' | 'verification_document_expired' | 'verification_document_failed_copy' | 'verification_document_failed_greyscale' | 'verification_document_failed_other' | 'verification_document_failed_test_mode' | 'verification_document_fraudulent' | 'verification_document_id_number_mismatch' | 'verification_document_id_number_missing' | 'verification_document_incomplete' | 'verification_document_invalid' | 'verification_document_issue_or_expiry_date_missing' | 'verification_document_manipulated' | 'verification_document_missing_back' | 'verification_document_missing_front' | 'verification_document_name_mismatch' | 'verification_document_name_missing' | 'verification_document_nationality_mismatch' | 'verification_document_not_readable' | 'verification_document_not_signed' | 'verification_document_not_uploaded' | 'verification_document_photo_mismatch' | 'verification_document_too_large' | 'verification_document_type_not_supported' | 'verification_extraneous_directors' | 'verification_failed_address_match' | 'verification_failed_authorizer_authority' | 'verification_failed_business_iec_number' | 'verification_failed_document_match' | 'verification_failed_id_number_match' | 'verification_failed_keyed_identity' | 'verification_failed_keyed_match' | 'verification_failed_name_match' | 'verification_failed_other' | 'verification_failed_representative_authority' | 'verification_failed_residential_address' | 'verification_failed_tax_id_match' | 'verification_failed_tax_id_not_issued' | 'verification_legal_entity_structure_mismatch' | 'verification_missing_directors' | 'verification_missing_executives' | 'verification_missing_owners' | 'verification_rejected_ownership_exemption_reason' | 'verification_requires_additional_memorandum_of_associations' | 'verification_requires_additional_proof_of_registration' | 'verification_supportability';
|
|
1182
|
+
type Code = 'external_request' | 'information_missing' | 'invalid_address_city_state_postal_code' | 'invalid_address_cmra_address' | 'invalid_address_highway_contract_box' | 'invalid_address_private_mailbox' | 'invalid_address_registered_agent_address' | 'invalid_business_profile_name' | 'invalid_business_profile_name_denylisted' | 'invalid_company_name_denylisted' | 'invalid_dob_age_over_maximum' | 'invalid_dob_age_under_18' | 'invalid_dob_age_under_minimum' | 'invalid_product_description_length' | 'invalid_product_description_url_match' | 'invalid_representative_country' | 'invalid_signator' | 'invalid_statement_descriptor_business_mismatch' | 'invalid_statement_descriptor_denylisted' | 'invalid_statement_descriptor_length' | 'invalid_statement_descriptor_prefix_denylisted' | 'invalid_statement_descriptor_prefix_mismatch' | 'invalid_street_address' | 'invalid_tax_id' | 'invalid_tax_id_format' | 'invalid_tos_acceptance' | 'invalid_url_denylisted' | 'invalid_url_format' | 'invalid_url_length' | 'invalid_url_web_presence_detected' | 'invalid_url_website_business_information_mismatch' | 'invalid_url_website_empty' | 'invalid_url_website_inaccessible' | 'invalid_url_website_inaccessible_geoblocked' | 'invalid_url_website_inaccessible_password_protected' | 'invalid_url_website_incomplete' | 'invalid_url_website_incomplete_cancellation_policy' | 'invalid_url_website_incomplete_customer_service_details' | 'invalid_url_website_incomplete_legal_restrictions' | 'invalid_url_website_incomplete_refund_policy' | 'invalid_url_website_incomplete_return_policy' | 'invalid_url_website_incomplete_terms_and_conditions' | 'invalid_url_website_incomplete_under_construction' | 'invalid_url_website_other' | 'invalid_value_other' | 'unsupported_business_type' | 'verification_data_not_found' | 'verification_directors_mismatch' | 'verification_document_address_mismatch' | 'verification_document_address_missing' | 'verification_document_corrupt' | 'verification_document_country_not_supported' | 'verification_document_directors_mismatch' | 'verification_document_dob_mismatch' | 'verification_document_duplicate_type' | 'verification_document_expired' | 'verification_document_failed_copy' | 'verification_document_failed_greyscale' | 'verification_document_failed_other' | 'verification_document_failed_test_mode' | 'verification_document_fraudulent' | 'verification_document_id_number_mismatch' | 'verification_document_id_number_missing' | 'verification_document_incomplete' | 'verification_document_invalid' | 'verification_document_issue_or_expiry_date_missing' | 'verification_document_manipulated' | 'verification_document_missing_back' | 'verification_document_missing_front' | 'verification_document_name_mismatch' | 'verification_document_name_missing' | 'verification_document_nationality_mismatch' | 'verification_document_not_readable' | 'verification_document_not_signed' | 'verification_document_not_uploaded' | 'verification_document_photo_mismatch' | 'verification_document_too_large' | 'verification_document_type_not_supported' | 'verification_extraneous_directors' | 'verification_failed_address_match' | 'verification_failed_authorizer_authority' | 'verification_failed_business_iec_number' | 'verification_failed_document_match' | 'verification_failed_id_number_match' | 'verification_failed_keyed_identity' | 'verification_failed_keyed_match' | 'verification_failed_name_match' | 'verification_failed_other' | 'verification_failed_representative_authority' | 'verification_failed_residential_address' | 'verification_failed_tax_id_match' | 'verification_failed_tax_id_not_issued' | 'verification_legal_entity_structure_mismatch' | 'verification_missing_directors' | 'verification_missing_executives' | 'verification_missing_owners' | 'verification_rejected_ownership_exemption_reason' | 'verification_requires_additional_memorandum_of_associations' | 'verification_requires_additional_proof_of_registration' | 'verification_supportability';
|
|
1082
1183
|
}
|
|
1083
1184
|
}
|
|
1084
1185
|
namespace Requirements {
|
|
@@ -1108,9 +1209,24 @@ export declare namespace Account {
|
|
|
1108
1209
|
requirement: string;
|
|
1109
1210
|
}
|
|
1110
1211
|
namespace Error {
|
|
1111
|
-
type Code = 'external_request' | 'information_missing' | 'invalid_address_city_state_postal_code' | 'invalid_address_cmra_address' | 'invalid_address_highway_contract_box' | 'invalid_address_private_mailbox' | 'invalid_address_registered_agent_address' | 'invalid_business_profile_name' | 'invalid_business_profile_name_denylisted' | 'invalid_company_name_denylisted' | 'invalid_dob_age_over_maximum' | 'invalid_dob_age_under_18' | 'invalid_dob_age_under_minimum' | 'invalid_product_description_length' | 'invalid_product_description_url_match' | 'invalid_representative_country' | 'invalid_signator' | 'invalid_statement_descriptor_business_mismatch' | 'invalid_statement_descriptor_denylisted' | 'invalid_statement_descriptor_length' | 'invalid_statement_descriptor_prefix_denylisted' | 'invalid_statement_descriptor_prefix_mismatch' | 'invalid_street_address' | 'invalid_tax_id' | 'invalid_tax_id_format' | 'invalid_tos_acceptance' | 'invalid_url_denylisted' | 'invalid_url_format' | 'invalid_url_length' | 'invalid_url_web_presence_detected' | 'invalid_url_website_business_information_mismatch' | 'invalid_url_website_empty' | 'invalid_url_website_inaccessible' | 'invalid_url_website_inaccessible_geoblocked' | 'invalid_url_website_inaccessible_password_protected' | 'invalid_url_website_incomplete' | 'invalid_url_website_incomplete_cancellation_policy' | 'invalid_url_website_incomplete_customer_service_details' | 'invalid_url_website_incomplete_legal_restrictions' | 'invalid_url_website_incomplete_refund_policy' | 'invalid_url_website_incomplete_return_policy' | 'invalid_url_website_incomplete_terms_and_conditions' | 'invalid_url_website_incomplete_under_construction' | 'invalid_url_website_other' | 'invalid_value_other' | 'unsupported_business_type' | 'verification_directors_mismatch' | 'verification_document_address_mismatch' | 'verification_document_address_missing' | 'verification_document_corrupt' | 'verification_document_country_not_supported' | 'verification_document_directors_mismatch' | 'verification_document_dob_mismatch' | 'verification_document_duplicate_type' | 'verification_document_expired' | 'verification_document_failed_copy' | 'verification_document_failed_greyscale' | 'verification_document_failed_other' | 'verification_document_failed_test_mode' | 'verification_document_fraudulent' | 'verification_document_id_number_mismatch' | 'verification_document_id_number_missing' | 'verification_document_incomplete' | 'verification_document_invalid' | 'verification_document_issue_or_expiry_date_missing' | 'verification_document_manipulated' | 'verification_document_missing_back' | 'verification_document_missing_front' | 'verification_document_name_mismatch' | 'verification_document_name_missing' | 'verification_document_nationality_mismatch' | 'verification_document_not_readable' | 'verification_document_not_signed' | 'verification_document_not_uploaded' | 'verification_document_photo_mismatch' | 'verification_document_too_large' | 'verification_document_type_not_supported' | 'verification_extraneous_directors' | 'verification_failed_address_match' | 'verification_failed_authorizer_authority' | 'verification_failed_business_iec_number' | 'verification_failed_document_match' | 'verification_failed_id_number_match' | 'verification_failed_keyed_identity' | 'verification_failed_keyed_match' | 'verification_failed_name_match' | 'verification_failed_other' | 'verification_failed_representative_authority' | 'verification_failed_residential_address' | 'verification_failed_tax_id_match' | 'verification_failed_tax_id_not_issued' | 'verification_legal_entity_structure_mismatch' | 'verification_missing_directors' | 'verification_missing_executives' | 'verification_missing_owners' | 'verification_rejected_ownership_exemption_reason' | 'verification_requires_additional_memorandum_of_associations' | 'verification_requires_additional_proof_of_registration' | 'verification_supportability';
|
|
1212
|
+
type Code = 'external_request' | 'information_missing' | 'invalid_address_city_state_postal_code' | 'invalid_address_cmra_address' | 'invalid_address_highway_contract_box' | 'invalid_address_private_mailbox' | 'invalid_address_registered_agent_address' | 'invalid_business_profile_name' | 'invalid_business_profile_name_denylisted' | 'invalid_company_name_denylisted' | 'invalid_dob_age_over_maximum' | 'invalid_dob_age_under_18' | 'invalid_dob_age_under_minimum' | 'invalid_product_description_length' | 'invalid_product_description_url_match' | 'invalid_representative_country' | 'invalid_signator' | 'invalid_statement_descriptor_business_mismatch' | 'invalid_statement_descriptor_denylisted' | 'invalid_statement_descriptor_length' | 'invalid_statement_descriptor_prefix_denylisted' | 'invalid_statement_descriptor_prefix_mismatch' | 'invalid_street_address' | 'invalid_tax_id' | 'invalid_tax_id_format' | 'invalid_tos_acceptance' | 'invalid_url_denylisted' | 'invalid_url_format' | 'invalid_url_length' | 'invalid_url_web_presence_detected' | 'invalid_url_website_business_information_mismatch' | 'invalid_url_website_empty' | 'invalid_url_website_inaccessible' | 'invalid_url_website_inaccessible_geoblocked' | 'invalid_url_website_inaccessible_password_protected' | 'invalid_url_website_incomplete' | 'invalid_url_website_incomplete_cancellation_policy' | 'invalid_url_website_incomplete_customer_service_details' | 'invalid_url_website_incomplete_legal_restrictions' | 'invalid_url_website_incomplete_refund_policy' | 'invalid_url_website_incomplete_return_policy' | 'invalid_url_website_incomplete_terms_and_conditions' | 'invalid_url_website_incomplete_under_construction' | 'invalid_url_website_other' | 'invalid_value_other' | 'unsupported_business_type' | 'verification_data_not_found' | 'verification_directors_mismatch' | 'verification_document_address_mismatch' | 'verification_document_address_missing' | 'verification_document_corrupt' | 'verification_document_country_not_supported' | 'verification_document_directors_mismatch' | 'verification_document_dob_mismatch' | 'verification_document_duplicate_type' | 'verification_document_expired' | 'verification_document_failed_copy' | 'verification_document_failed_greyscale' | 'verification_document_failed_other' | 'verification_document_failed_test_mode' | 'verification_document_fraudulent' | 'verification_document_id_number_mismatch' | 'verification_document_id_number_missing' | 'verification_document_incomplete' | 'verification_document_invalid' | 'verification_document_issue_or_expiry_date_missing' | 'verification_document_manipulated' | 'verification_document_missing_back' | 'verification_document_missing_front' | 'verification_document_name_mismatch' | 'verification_document_name_missing' | 'verification_document_nationality_mismatch' | 'verification_document_not_readable' | 'verification_document_not_signed' | 'verification_document_not_uploaded' | 'verification_document_photo_mismatch' | 'verification_document_too_large' | 'verification_document_type_not_supported' | 'verification_extraneous_directors' | 'verification_failed_address_match' | 'verification_failed_authorizer_authority' | 'verification_failed_business_iec_number' | 'verification_failed_document_match' | 'verification_failed_id_number_match' | 'verification_failed_keyed_identity' | 'verification_failed_keyed_match' | 'verification_failed_name_match' | 'verification_failed_other' | 'verification_failed_representative_authority' | 'verification_failed_residential_address' | 'verification_failed_tax_id_match' | 'verification_failed_tax_id_not_issued' | 'verification_legal_entity_structure_mismatch' | 'verification_missing_directors' | 'verification_missing_executives' | 'verification_missing_owners' | 'verification_rejected_ownership_exemption_reason' | 'verification_requires_additional_memorandum_of_associations' | 'verification_requires_additional_proof_of_registration' | 'verification_supportability';
|
|
1112
1213
|
}
|
|
1113
1214
|
}
|
|
1215
|
+
namespace RiskControls {
|
|
1216
|
+
interface Charges {
|
|
1217
|
+
/**
|
|
1218
|
+
* Whether a pause of the risk control has been requested.
|
|
1219
|
+
*/
|
|
1220
|
+
pause_requested: boolean;
|
|
1221
|
+
}
|
|
1222
|
+
interface Payouts {
|
|
1223
|
+
/**
|
|
1224
|
+
* Whether a pause of the risk control has been requested.
|
|
1225
|
+
*/
|
|
1226
|
+
pause_requested: boolean;
|
|
1227
|
+
}
|
|
1228
|
+
type RejectedReason = 'credit' | 'fraud' | 'fraud_no_intent_to_fulfill' | 'fraud_other' | 'fraud_payment_method_casher' | 'fraud_payment_method_tester' | 'other' | 'terms_of_service' | OtherString;
|
|
1229
|
+
}
|
|
1114
1230
|
namespace Settings {
|
|
1115
1231
|
interface BacsDebitPayments {
|
|
1116
1232
|
/**
|
|
@@ -1122,6 +1238,16 @@ export declare namespace Account {
|
|
|
1122
1238
|
*/
|
|
1123
1239
|
service_user_number: string | null;
|
|
1124
1240
|
}
|
|
1241
|
+
interface BankBcaOnboarding {
|
|
1242
|
+
/**
|
|
1243
|
+
* Bank BCA business account holder name.
|
|
1244
|
+
*/
|
|
1245
|
+
account_holder_name?: string;
|
|
1246
|
+
/**
|
|
1247
|
+
* Bank BCA business account number.
|
|
1248
|
+
*/
|
|
1249
|
+
business_account_number?: string;
|
|
1250
|
+
}
|
|
1125
1251
|
interface Branding {
|
|
1126
1252
|
/**
|
|
1127
1253
|
* (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) An icon for the account. Must be square and at least 128px x 128px.
|
|
@@ -1179,6 +1305,10 @@ export declare namespace Account {
|
|
|
1179
1305
|
hosted_payment_method_save: Invoices.HostedPaymentMethodSave | null;
|
|
1180
1306
|
}
|
|
1181
1307
|
interface Payments {
|
|
1308
|
+
/**
|
|
1309
|
+
* When enabled, the customer of this Account will receive an email receipt when their payment is successful. If this parameter is not set, the default value is `false`.
|
|
1310
|
+
*/
|
|
1311
|
+
email_customers_on_successful_payment?: boolean | null;
|
|
1182
1312
|
/**
|
|
1183
1313
|
* The default text that appears on credit card statements when a charge is made. This field prefixes any dynamic `statement_descriptor` specified on the charge.
|
|
1184
1314
|
*/
|
|
@@ -1228,6 +1358,15 @@ export declare namespace Account {
|
|
|
1228
1358
|
*/
|
|
1229
1359
|
creditor_id?: string;
|
|
1230
1360
|
}
|
|
1361
|
+
interface SmartDisputes {
|
|
1362
|
+
auto_respond: SmartDisputes.AutoRespond;
|
|
1363
|
+
}
|
|
1364
|
+
interface TaxForms {
|
|
1365
|
+
/**
|
|
1366
|
+
* Whether the account opted out of receiving their tax forms by postal delivery.
|
|
1367
|
+
*/
|
|
1368
|
+
consented_to_paperless_delivery: boolean;
|
|
1369
|
+
}
|
|
1231
1370
|
interface Treasury {
|
|
1232
1371
|
tos_acceptance?: Treasury.TosAcceptance;
|
|
1233
1372
|
}
|
|
@@ -1326,6 +1465,22 @@ export declare namespace Account {
|
|
|
1326
1465
|
type Type = 'accessible' | 'in_development' | 'restricted';
|
|
1327
1466
|
}
|
|
1328
1467
|
}
|
|
1468
|
+
namespace SmartDisputes {
|
|
1469
|
+
interface AutoRespond {
|
|
1470
|
+
/**
|
|
1471
|
+
* The preference setting for auto-respond. Can be 'on', 'off', or 'inherit'.
|
|
1472
|
+
*/
|
|
1473
|
+
preference: AutoRespond.Preference;
|
|
1474
|
+
/**
|
|
1475
|
+
* The effective value for auto-respond. Can be 'on' or 'off'.
|
|
1476
|
+
*/
|
|
1477
|
+
value: AutoRespond.Value;
|
|
1478
|
+
}
|
|
1479
|
+
namespace AutoRespond {
|
|
1480
|
+
type Preference = 'inherit' | 'off' | 'on';
|
|
1481
|
+
type Value = 'off' | 'on';
|
|
1482
|
+
}
|
|
1483
|
+
}
|
|
1329
1484
|
namespace Treasury {
|
|
1330
1485
|
interface TosAcceptance {
|
|
1331
1486
|
/**
|
|
@@ -1414,6 +1569,10 @@ export interface AccountCreateParams {
|
|
|
1414
1569
|
* Set of [key-value pairs](https://docs.stripe.com/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`.
|
|
1415
1570
|
*/
|
|
1416
1571
|
metadata?: Emptyable<MetadataParam>;
|
|
1572
|
+
/**
|
|
1573
|
+
* 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).
|
|
1574
|
+
*/
|
|
1575
|
+
risk_controls?: AccountCreateParams.RiskControls;
|
|
1417
1576
|
/**
|
|
1418
1577
|
* Options for customizing how the account functions within Stripe.
|
|
1419
1578
|
*/
|
|
@@ -1512,6 +1671,10 @@ export declare namespace AccountCreateParams {
|
|
|
1512
1671
|
* The au_becs_debit_payments capability.
|
|
1513
1672
|
*/
|
|
1514
1673
|
au_becs_debit_payments?: Capabilities.AuBecsDebitPayments;
|
|
1674
|
+
/**
|
|
1675
|
+
* The automatic_indirect_tax capability.
|
|
1676
|
+
*/
|
|
1677
|
+
automatic_indirect_tax?: Capabilities.AutomaticIndirectTax;
|
|
1515
1678
|
/**
|
|
1516
1679
|
* The bacs_debit_payments capability.
|
|
1517
1680
|
*/
|
|
@@ -1580,10 +1743,22 @@ export declare namespace AccountCreateParams {
|
|
|
1580
1743
|
* The giropay_payments capability.
|
|
1581
1744
|
*/
|
|
1582
1745
|
giropay_payments?: Capabilities.GiropayPayments;
|
|
1746
|
+
/**
|
|
1747
|
+
* The gopay_payments capability.
|
|
1748
|
+
*/
|
|
1749
|
+
gopay_payments?: Capabilities.GopayPayments;
|
|
1583
1750
|
/**
|
|
1584
1751
|
* The grabpay_payments capability.
|
|
1585
1752
|
*/
|
|
1586
1753
|
grabpay_payments?: Capabilities.GrabpayPayments;
|
|
1754
|
+
/**
|
|
1755
|
+
* The id_bank_transfer_payments capability.
|
|
1756
|
+
*/
|
|
1757
|
+
id_bank_transfer_payments?: Capabilities.IdBankTransferPayments;
|
|
1758
|
+
/**
|
|
1759
|
+
* The id_bank_transfer_payments_bca capability.
|
|
1760
|
+
*/
|
|
1761
|
+
id_bank_transfer_payments_bca?: Capabilities.IdBankTransferPaymentsBca;
|
|
1587
1762
|
/**
|
|
1588
1763
|
* The ideal_payments capability.
|
|
1589
1764
|
*/
|
|
@@ -1668,6 +1843,10 @@ export declare namespace AccountCreateParams {
|
|
|
1668
1843
|
* The paynow_payments capability.
|
|
1669
1844
|
*/
|
|
1670
1845
|
paynow_payments?: Capabilities.PaynowPayments;
|
|
1846
|
+
/**
|
|
1847
|
+
* The paypal_payments capability.
|
|
1848
|
+
*/
|
|
1849
|
+
paypal_payments?: Capabilities.PaypalPayments;
|
|
1671
1850
|
/**
|
|
1672
1851
|
* The paypay_payments capability.
|
|
1673
1852
|
*/
|
|
@@ -1684,6 +1863,14 @@ export declare namespace AccountCreateParams {
|
|
|
1684
1863
|
* The promptpay_payments capability.
|
|
1685
1864
|
*/
|
|
1686
1865
|
promptpay_payments?: Capabilities.PromptpayPayments;
|
|
1866
|
+
/**
|
|
1867
|
+
* The qris_payments capability.
|
|
1868
|
+
*/
|
|
1869
|
+
qris_payments?: Capabilities.QrisPayments;
|
|
1870
|
+
/**
|
|
1871
|
+
* The rechnung_payments capability.
|
|
1872
|
+
*/
|
|
1873
|
+
rechnung_payments?: Capabilities.RechnungPayments;
|
|
1687
1874
|
/**
|
|
1688
1875
|
* The revolut_pay_payments capability.
|
|
1689
1876
|
*/
|
|
@@ -1712,10 +1899,18 @@ export declare namespace AccountCreateParams {
|
|
|
1712
1899
|
* The sequra_payments capability.
|
|
1713
1900
|
*/
|
|
1714
1901
|
sequra_payments?: Capabilities.SequraPayments;
|
|
1902
|
+
/**
|
|
1903
|
+
* The shopeepay_payments capability.
|
|
1904
|
+
*/
|
|
1905
|
+
shopeepay_payments?: Capabilities.ShopeepayPayments;
|
|
1715
1906
|
/**
|
|
1716
1907
|
* The sofort_payments capability.
|
|
1717
1908
|
*/
|
|
1718
1909
|
sofort_payments?: Capabilities.SofortPayments;
|
|
1910
|
+
/**
|
|
1911
|
+
* The stripe_balance_payments capability.
|
|
1912
|
+
*/
|
|
1913
|
+
stripe_balance_payments?: Capabilities.StripeBalancePayments;
|
|
1719
1914
|
/**
|
|
1720
1915
|
* The sunbit_payments capability.
|
|
1721
1916
|
*/
|
|
@@ -1740,6 +1935,18 @@ export declare namespace AccountCreateParams {
|
|
|
1740
1935
|
* The treasury capability.
|
|
1741
1936
|
*/
|
|
1742
1937
|
treasury?: Capabilities.Treasury;
|
|
1938
|
+
/**
|
|
1939
|
+
* The treasury_evolve capability.
|
|
1940
|
+
*/
|
|
1941
|
+
treasury_evolve?: Capabilities.TreasuryEvolve;
|
|
1942
|
+
/**
|
|
1943
|
+
* The treasury_fifth_third capability.
|
|
1944
|
+
*/
|
|
1945
|
+
treasury_fifth_third?: Capabilities.TreasuryFifthThird;
|
|
1946
|
+
/**
|
|
1947
|
+
* The treasury_goldman_sachs capability.
|
|
1948
|
+
*/
|
|
1949
|
+
treasury_goldman_sachs?: Capabilities.TreasuryGoldmanSachs;
|
|
1743
1950
|
/**
|
|
1744
1951
|
* The twint_payments capability.
|
|
1745
1952
|
*/
|
|
@@ -1874,6 +2081,14 @@ export declare namespace AccountCreateParams {
|
|
|
1874
2081
|
verification?: Company.Verification;
|
|
1875
2082
|
}
|
|
1876
2083
|
interface Controller {
|
|
2084
|
+
/**
|
|
2085
|
+
* A hash of configuration describing the Connect application that controls the account.
|
|
2086
|
+
*/
|
|
2087
|
+
application?: Controller.Application;
|
|
2088
|
+
/**
|
|
2089
|
+
* Properties of the account's dashboard.
|
|
2090
|
+
*/
|
|
2091
|
+
dashboard?: Controller.Dashboard;
|
|
1877
2092
|
/**
|
|
1878
2093
|
* A hash of configuration for who pays Stripe fees for product usage on this account.
|
|
1879
2094
|
*/
|
|
@@ -2059,15 +2274,33 @@ export declare namespace AccountCreateParams {
|
|
|
2059
2274
|
*/
|
|
2060
2275
|
verification?: Individual.Verification;
|
|
2061
2276
|
}
|
|
2277
|
+
interface RiskControls {
|
|
2278
|
+
/**
|
|
2279
|
+
* Represents the risk control status of charges. Please see [this page for more details](https://docs.stripe.com/connect/pausing-payments-or-payouts-on-connected-accounts).
|
|
2280
|
+
*/
|
|
2281
|
+
charges?: RiskControls.Charges;
|
|
2282
|
+
/**
|
|
2283
|
+
* Represents the risk control status of payouts. Please see [this page for more details](https://docs.stripe.com/connect/pausing-payments-or-payouts-on-connected-accounts).
|
|
2284
|
+
*/
|
|
2285
|
+
payouts?: RiskControls.Payouts;
|
|
2286
|
+
}
|
|
2062
2287
|
interface Settings {
|
|
2063
2288
|
/**
|
|
2064
2289
|
* Settings specific to Bacs Direct Debit.
|
|
2065
2290
|
*/
|
|
2066
2291
|
bacs_debit_payments?: Settings.BacsDebitPayments;
|
|
2292
|
+
/**
|
|
2293
|
+
* Settings specific to bank BCA onboarding for Indonesia bank transfers payments method.
|
|
2294
|
+
*/
|
|
2295
|
+
bank_bca_onboarding?: Settings.BankBcaOnboarding;
|
|
2067
2296
|
/**
|
|
2068
2297
|
* Settings used to apply the account's branding to email receipts, invoices, Checkout, and other products.
|
|
2069
2298
|
*/
|
|
2070
2299
|
branding?: Settings.Branding;
|
|
2300
|
+
/**
|
|
2301
|
+
* Settings specific to the account's use of the Capital product.
|
|
2302
|
+
*/
|
|
2303
|
+
capital?: Settings.Capital;
|
|
2071
2304
|
/**
|
|
2072
2305
|
* Settings specific to the account's use of the Card Issuing product.
|
|
2073
2306
|
*/
|
|
@@ -2096,6 +2329,14 @@ export declare namespace AccountCreateParams {
|
|
|
2096
2329
|
* Settings specific to SEPA Direct Debit payments.
|
|
2097
2330
|
*/
|
|
2098
2331
|
sepa_debit_payments?: Settings.SepaDebitPayments;
|
|
2332
|
+
/**
|
|
2333
|
+
* Settings specific to the account's use of Smart Disputes.
|
|
2334
|
+
*/
|
|
2335
|
+
smart_disputes?: Settings.SmartDisputes;
|
|
2336
|
+
/**
|
|
2337
|
+
* Settings specific to the account's tax forms.
|
|
2338
|
+
*/
|
|
2339
|
+
tax_forms?: Settings.TaxForms;
|
|
2099
2340
|
/**
|
|
2100
2341
|
* Settings specific to the account's Treasury FinancialAccounts.
|
|
2101
2342
|
*/
|
|
@@ -2190,6 +2431,12 @@ export declare namespace AccountCreateParams {
|
|
|
2190
2431
|
*/
|
|
2191
2432
|
requested?: boolean;
|
|
2192
2433
|
}
|
|
2434
|
+
interface AutomaticIndirectTax {
|
|
2435
|
+
/**
|
|
2436
|
+
* 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.
|
|
2437
|
+
*/
|
|
2438
|
+
requested?: boolean;
|
|
2439
|
+
}
|
|
2193
2440
|
interface BacsDebitPayments {
|
|
2194
2441
|
/**
|
|
2195
2442
|
* 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.
|
|
@@ -2292,12 +2539,30 @@ export declare namespace AccountCreateParams {
|
|
|
2292
2539
|
*/
|
|
2293
2540
|
requested?: boolean;
|
|
2294
2541
|
}
|
|
2542
|
+
interface GopayPayments {
|
|
2543
|
+
/**
|
|
2544
|
+
* 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.
|
|
2545
|
+
*/
|
|
2546
|
+
requested?: boolean;
|
|
2547
|
+
}
|
|
2295
2548
|
interface GrabpayPayments {
|
|
2296
2549
|
/**
|
|
2297
2550
|
* 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.
|
|
2298
2551
|
*/
|
|
2299
2552
|
requested?: boolean;
|
|
2300
2553
|
}
|
|
2554
|
+
interface IdBankTransferPayments {
|
|
2555
|
+
/**
|
|
2556
|
+
* 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.
|
|
2557
|
+
*/
|
|
2558
|
+
requested?: boolean;
|
|
2559
|
+
}
|
|
2560
|
+
interface IdBankTransferPaymentsBca {
|
|
2561
|
+
/**
|
|
2562
|
+
* 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.
|
|
2563
|
+
*/
|
|
2564
|
+
requested?: boolean;
|
|
2565
|
+
}
|
|
2301
2566
|
interface IdealPayments {
|
|
2302
2567
|
/**
|
|
2303
2568
|
* 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.
|
|
@@ -2424,6 +2689,12 @@ export declare namespace AccountCreateParams {
|
|
|
2424
2689
|
*/
|
|
2425
2690
|
requested?: boolean;
|
|
2426
2691
|
}
|
|
2692
|
+
interface PaypalPayments {
|
|
2693
|
+
/**
|
|
2694
|
+
* 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.
|
|
2695
|
+
*/
|
|
2696
|
+
requested?: boolean;
|
|
2697
|
+
}
|
|
2427
2698
|
interface PaypayPayments {
|
|
2428
2699
|
/**
|
|
2429
2700
|
* 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.
|
|
@@ -2448,6 +2719,18 @@ export declare namespace AccountCreateParams {
|
|
|
2448
2719
|
*/
|
|
2449
2720
|
requested?: boolean;
|
|
2450
2721
|
}
|
|
2722
|
+
interface QrisPayments {
|
|
2723
|
+
/**
|
|
2724
|
+
* 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.
|
|
2725
|
+
*/
|
|
2726
|
+
requested?: boolean;
|
|
2727
|
+
}
|
|
2728
|
+
interface RechnungPayments {
|
|
2729
|
+
/**
|
|
2730
|
+
* 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.
|
|
2731
|
+
*/
|
|
2732
|
+
requested?: boolean;
|
|
2733
|
+
}
|
|
2451
2734
|
interface RevolutPayPayments {
|
|
2452
2735
|
/**
|
|
2453
2736
|
* 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.
|
|
@@ -2490,12 +2773,24 @@ export declare namespace AccountCreateParams {
|
|
|
2490
2773
|
*/
|
|
2491
2774
|
requested?: boolean;
|
|
2492
2775
|
}
|
|
2776
|
+
interface ShopeepayPayments {
|
|
2777
|
+
/**
|
|
2778
|
+
* 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.
|
|
2779
|
+
*/
|
|
2780
|
+
requested?: boolean;
|
|
2781
|
+
}
|
|
2493
2782
|
interface SofortPayments {
|
|
2494
2783
|
/**
|
|
2495
2784
|
* 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.
|
|
2496
2785
|
*/
|
|
2497
2786
|
requested?: boolean;
|
|
2498
2787
|
}
|
|
2788
|
+
interface StripeBalancePayments {
|
|
2789
|
+
/**
|
|
2790
|
+
* 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.
|
|
2791
|
+
*/
|
|
2792
|
+
requested?: boolean;
|
|
2793
|
+
}
|
|
2499
2794
|
interface SunbitPayments {
|
|
2500
2795
|
/**
|
|
2501
2796
|
* 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.
|
|
@@ -2532,6 +2827,24 @@ export declare namespace AccountCreateParams {
|
|
|
2532
2827
|
*/
|
|
2533
2828
|
requested?: boolean;
|
|
2534
2829
|
}
|
|
2830
|
+
interface TreasuryEvolve {
|
|
2831
|
+
/**
|
|
2832
|
+
* 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.
|
|
2833
|
+
*/
|
|
2834
|
+
requested?: boolean;
|
|
2835
|
+
}
|
|
2836
|
+
interface TreasuryFifthThird {
|
|
2837
|
+
/**
|
|
2838
|
+
* 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.
|
|
2839
|
+
*/
|
|
2840
|
+
requested?: boolean;
|
|
2841
|
+
}
|
|
2842
|
+
interface TreasuryGoldmanSachs {
|
|
2843
|
+
/**
|
|
2844
|
+
* 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.
|
|
2845
|
+
*/
|
|
2846
|
+
requested?: boolean;
|
|
2847
|
+
}
|
|
2535
2848
|
interface TwintPayments {
|
|
2536
2849
|
/**
|
|
2537
2850
|
* 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.
|
|
@@ -2648,6 +2961,26 @@ export declare namespace AccountCreateParams {
|
|
|
2648
2961
|
}
|
|
2649
2962
|
}
|
|
2650
2963
|
namespace Controller {
|
|
2964
|
+
interface Application {
|
|
2965
|
+
/**
|
|
2966
|
+
* Whether the controller is liable for losses on this account. For details, see [Understanding Connect Account Balances](https://docs.stripe.com/connect/account-balances).
|
|
2967
|
+
*/
|
|
2968
|
+
loss_liable: boolean;
|
|
2969
|
+
/**
|
|
2970
|
+
* Whether the controller owns onboarding for this account.
|
|
2971
|
+
*/
|
|
2972
|
+
onboarding_owner?: boolean;
|
|
2973
|
+
/**
|
|
2974
|
+
* Whether the controller has pricing controls for this account.
|
|
2975
|
+
*/
|
|
2976
|
+
pricing_controls?: boolean;
|
|
2977
|
+
}
|
|
2978
|
+
interface Dashboard {
|
|
2979
|
+
/**
|
|
2980
|
+
* 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`.
|
|
2981
|
+
*/
|
|
2982
|
+
type?: Dashboard.Type;
|
|
2983
|
+
}
|
|
2651
2984
|
interface Fees {
|
|
2652
2985
|
/**
|
|
2653
2986
|
* Controls who pays Stripe fees for direct charges and other pricing-control-eligible Stripe products. Setting `controller.losses.payments=application` requires `controller.fees.payer=application`. For destination charges and separate charges and transfers, Stripe bills the platform regardless of this setting. Defaults to `account`. Learn more about [fee behavior on connected accounts](https://docs.stripe.com/connect/direct-charges-fee-payer-behavior), including application fees and pricing considerations.
|
|
@@ -2667,6 +3000,9 @@ export declare namespace AccountCreateParams {
|
|
|
2667
3000
|
*/
|
|
2668
3001
|
type?: StripeDashboard.Type;
|
|
2669
3002
|
}
|
|
3003
|
+
namespace Dashboard {
|
|
3004
|
+
type Type = 'express' | 'full' | 'none' | OtherString;
|
|
3005
|
+
}
|
|
2670
3006
|
namespace Fees {
|
|
2671
3007
|
type Payer = 'account' | 'application' | OtherString;
|
|
2672
3008
|
}
|
|
@@ -2816,6 +3152,22 @@ export declare namespace AccountCreateParams {
|
|
|
2816
3152
|
}
|
|
2817
3153
|
}
|
|
2818
3154
|
}
|
|
3155
|
+
namespace RiskControls {
|
|
3156
|
+
interface Charges {
|
|
3157
|
+
/**
|
|
3158
|
+
* To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
|
|
3159
|
+
* There can be a delay before the risk control is paused or unpaused.
|
|
3160
|
+
*/
|
|
3161
|
+
pause_requested?: boolean;
|
|
3162
|
+
}
|
|
3163
|
+
interface Payouts {
|
|
3164
|
+
/**
|
|
3165
|
+
* To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
|
|
3166
|
+
* There can be a delay before the risk control is paused or unpaused.
|
|
3167
|
+
*/
|
|
3168
|
+
pause_requested?: boolean;
|
|
3169
|
+
}
|
|
3170
|
+
}
|
|
2819
3171
|
namespace Settings {
|
|
2820
3172
|
interface BacsDebitPayments {
|
|
2821
3173
|
/**
|
|
@@ -2823,6 +3175,16 @@ export declare namespace AccountCreateParams {
|
|
|
2823
3175
|
*/
|
|
2824
3176
|
display_name?: string;
|
|
2825
3177
|
}
|
|
3178
|
+
interface BankBcaOnboarding {
|
|
3179
|
+
/**
|
|
3180
|
+
* Bank BCA business account holder name
|
|
3181
|
+
*/
|
|
3182
|
+
account_holder_name?: string;
|
|
3183
|
+
/**
|
|
3184
|
+
* Bank BCA business account number
|
|
3185
|
+
*/
|
|
3186
|
+
business_account_number?: string;
|
|
3187
|
+
}
|
|
2826
3188
|
interface Branding {
|
|
2827
3189
|
/**
|
|
2828
3190
|
* (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) An icon for the account. Must be square and at least 128px x 128px.
|
|
@@ -2841,6 +3203,20 @@ export declare namespace AccountCreateParams {
|
|
|
2841
3203
|
*/
|
|
2842
3204
|
secondary_color?: string;
|
|
2843
3205
|
}
|
|
3206
|
+
interface Capital {
|
|
3207
|
+
/**
|
|
3208
|
+
* Per-currency mapping of user-selected destination accounts used to pay out loans.
|
|
3209
|
+
*/
|
|
3210
|
+
payout_destination?: {
|
|
3211
|
+
[key: string]: string;
|
|
3212
|
+
};
|
|
3213
|
+
/**
|
|
3214
|
+
* Per-currency mapping of all destination accounts eligible to receive Capital financing payouts.
|
|
3215
|
+
*/
|
|
3216
|
+
payout_destination_selector?: {
|
|
3217
|
+
[key: string]: Array<string>;
|
|
3218
|
+
};
|
|
3219
|
+
}
|
|
2844
3220
|
interface CardIssuing {
|
|
2845
3221
|
/**
|
|
2846
3222
|
* Details on the account's acceptance of the [Stripe Issuing Terms and Disclosures](https://docs.stripe.com/issuing/connect/tos_acceptance).
|
|
@@ -2872,6 +3248,10 @@ export declare namespace AccountCreateParams {
|
|
|
2872
3248
|
hosted_payment_method_save?: Invoices.HostedPaymentMethodSave;
|
|
2873
3249
|
}
|
|
2874
3250
|
interface Payments {
|
|
3251
|
+
/**
|
|
3252
|
+
* When you enable this parameter, the customer of this Account receives an email receipt when their payment succeeds. If this parameter isn't set, the default value is `false`.
|
|
3253
|
+
*/
|
|
3254
|
+
email_customers_on_successful_payment?: boolean;
|
|
2875
3255
|
/**
|
|
2876
3256
|
* The default text that appears on statements for non-card charges outside of Japan. For card charges, if you don't set a `statement_descriptor_prefix`, this text is also used as the statement descriptor prefix. In that case, if concatenating the statement descriptor suffix causes the combined statement descriptor to exceed 22 characters, we truncate the `statement_descriptor` text to limit the full descriptor to 22 characters. For more information about statement descriptors and their requirements, see the [account settings documentation](https://docs.stripe.com/get-started/account/statement-descriptors).
|
|
2877
3257
|
*/
|
|
@@ -2919,6 +3299,18 @@ export declare namespace AccountCreateParams {
|
|
|
2919
3299
|
*/
|
|
2920
3300
|
creditor_id?: string;
|
|
2921
3301
|
}
|
|
3302
|
+
interface SmartDisputes {
|
|
3303
|
+
/**
|
|
3304
|
+
* Smart Disputes auto-respond settings for the account.
|
|
3305
|
+
*/
|
|
3306
|
+
auto_respond?: SmartDisputes.AutoRespond;
|
|
3307
|
+
}
|
|
3308
|
+
interface TaxForms {
|
|
3309
|
+
/**
|
|
3310
|
+
* Whether the account opted out of receiving their tax forms by postal delivery.
|
|
3311
|
+
*/
|
|
3312
|
+
consented_to_paperless_delivery?: boolean;
|
|
3313
|
+
}
|
|
2922
3314
|
interface Treasury {
|
|
2923
3315
|
/**
|
|
2924
3316
|
* Details on the account's acceptance of the Stripe Treasury Services Agreement.
|
|
@@ -3031,6 +3423,17 @@ export declare namespace AccountCreateParams {
|
|
|
3031
3423
|
type Type = 'accessible' | 'in_development' | 'restricted';
|
|
3032
3424
|
}
|
|
3033
3425
|
}
|
|
3426
|
+
namespace SmartDisputes {
|
|
3427
|
+
interface AutoRespond {
|
|
3428
|
+
/**
|
|
3429
|
+
* The preference setting for auto-respond. Can be 'on', 'off', or 'inherit'.
|
|
3430
|
+
*/
|
|
3431
|
+
preference?: AutoRespond.Preference;
|
|
3432
|
+
}
|
|
3433
|
+
namespace AutoRespond {
|
|
3434
|
+
type Preference = 'inherit' | 'off' | 'on';
|
|
3435
|
+
}
|
|
3436
|
+
}
|
|
3034
3437
|
namespace Treasury {
|
|
3035
3438
|
interface TosAcceptance {
|
|
3036
3439
|
/**
|
|
@@ -3117,6 +3520,10 @@ export interface AccountUpdateParams {
|
|
|
3117
3520
|
* Set of [key-value pairs](https://docs.stripe.com/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`.
|
|
3118
3521
|
*/
|
|
3119
3522
|
metadata?: Emptyable<MetadataParam>;
|
|
3523
|
+
/**
|
|
3524
|
+
* 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).
|
|
3525
|
+
*/
|
|
3526
|
+
risk_controls?: AccountUpdateParams.RiskControls;
|
|
3120
3527
|
/**
|
|
3121
3528
|
* Options for customizing how the account functions within Stripe.
|
|
3122
3529
|
*/
|
|
@@ -3211,6 +3618,10 @@ export declare namespace AccountUpdateParams {
|
|
|
3211
3618
|
* The au_becs_debit_payments capability.
|
|
3212
3619
|
*/
|
|
3213
3620
|
au_becs_debit_payments?: Capabilities.AuBecsDebitPayments;
|
|
3621
|
+
/**
|
|
3622
|
+
* The automatic_indirect_tax capability.
|
|
3623
|
+
*/
|
|
3624
|
+
automatic_indirect_tax?: Capabilities.AutomaticIndirectTax;
|
|
3214
3625
|
/**
|
|
3215
3626
|
* The bacs_debit_payments capability.
|
|
3216
3627
|
*/
|
|
@@ -3279,10 +3690,22 @@ export declare namespace AccountUpdateParams {
|
|
|
3279
3690
|
* The giropay_payments capability.
|
|
3280
3691
|
*/
|
|
3281
3692
|
giropay_payments?: Capabilities.GiropayPayments;
|
|
3693
|
+
/**
|
|
3694
|
+
* The gopay_payments capability.
|
|
3695
|
+
*/
|
|
3696
|
+
gopay_payments?: Capabilities.GopayPayments;
|
|
3282
3697
|
/**
|
|
3283
3698
|
* The grabpay_payments capability.
|
|
3284
3699
|
*/
|
|
3285
3700
|
grabpay_payments?: Capabilities.GrabpayPayments;
|
|
3701
|
+
/**
|
|
3702
|
+
* The id_bank_transfer_payments capability.
|
|
3703
|
+
*/
|
|
3704
|
+
id_bank_transfer_payments?: Capabilities.IdBankTransferPayments;
|
|
3705
|
+
/**
|
|
3706
|
+
* The id_bank_transfer_payments_bca capability.
|
|
3707
|
+
*/
|
|
3708
|
+
id_bank_transfer_payments_bca?: Capabilities.IdBankTransferPaymentsBca;
|
|
3286
3709
|
/**
|
|
3287
3710
|
* The ideal_payments capability.
|
|
3288
3711
|
*/
|
|
@@ -3367,6 +3790,10 @@ export declare namespace AccountUpdateParams {
|
|
|
3367
3790
|
* The paynow_payments capability.
|
|
3368
3791
|
*/
|
|
3369
3792
|
paynow_payments?: Capabilities.PaynowPayments;
|
|
3793
|
+
/**
|
|
3794
|
+
* The paypal_payments capability.
|
|
3795
|
+
*/
|
|
3796
|
+
paypal_payments?: Capabilities.PaypalPayments;
|
|
3370
3797
|
/**
|
|
3371
3798
|
* The paypay_payments capability.
|
|
3372
3799
|
*/
|
|
@@ -3383,6 +3810,14 @@ export declare namespace AccountUpdateParams {
|
|
|
3383
3810
|
* The promptpay_payments capability.
|
|
3384
3811
|
*/
|
|
3385
3812
|
promptpay_payments?: Capabilities.PromptpayPayments;
|
|
3813
|
+
/**
|
|
3814
|
+
* The qris_payments capability.
|
|
3815
|
+
*/
|
|
3816
|
+
qris_payments?: Capabilities.QrisPayments;
|
|
3817
|
+
/**
|
|
3818
|
+
* The rechnung_payments capability.
|
|
3819
|
+
*/
|
|
3820
|
+
rechnung_payments?: Capabilities.RechnungPayments;
|
|
3386
3821
|
/**
|
|
3387
3822
|
* The revolut_pay_payments capability.
|
|
3388
3823
|
*/
|
|
@@ -3411,10 +3846,18 @@ export declare namespace AccountUpdateParams {
|
|
|
3411
3846
|
* The sequra_payments capability.
|
|
3412
3847
|
*/
|
|
3413
3848
|
sequra_payments?: Capabilities.SequraPayments;
|
|
3849
|
+
/**
|
|
3850
|
+
* The shopeepay_payments capability.
|
|
3851
|
+
*/
|
|
3852
|
+
shopeepay_payments?: Capabilities.ShopeepayPayments;
|
|
3414
3853
|
/**
|
|
3415
3854
|
* The sofort_payments capability.
|
|
3416
3855
|
*/
|
|
3417
3856
|
sofort_payments?: Capabilities.SofortPayments;
|
|
3857
|
+
/**
|
|
3858
|
+
* The stripe_balance_payments capability.
|
|
3859
|
+
*/
|
|
3860
|
+
stripe_balance_payments?: Capabilities.StripeBalancePayments;
|
|
3418
3861
|
/**
|
|
3419
3862
|
* The sunbit_payments capability.
|
|
3420
3863
|
*/
|
|
@@ -3439,6 +3882,18 @@ export declare namespace AccountUpdateParams {
|
|
|
3439
3882
|
* The treasury capability.
|
|
3440
3883
|
*/
|
|
3441
3884
|
treasury?: Capabilities.Treasury;
|
|
3885
|
+
/**
|
|
3886
|
+
* The treasury_evolve capability.
|
|
3887
|
+
*/
|
|
3888
|
+
treasury_evolve?: Capabilities.TreasuryEvolve;
|
|
3889
|
+
/**
|
|
3890
|
+
* The treasury_fifth_third capability.
|
|
3891
|
+
*/
|
|
3892
|
+
treasury_fifth_third?: Capabilities.TreasuryFifthThird;
|
|
3893
|
+
/**
|
|
3894
|
+
* The treasury_goldman_sachs capability.
|
|
3895
|
+
*/
|
|
3896
|
+
treasury_goldman_sachs?: Capabilities.TreasuryGoldmanSachs;
|
|
3442
3897
|
/**
|
|
3443
3898
|
* The twint_payments capability.
|
|
3444
3899
|
*/
|
|
@@ -3763,15 +4218,33 @@ export declare namespace AccountUpdateParams {
|
|
|
3763
4218
|
*/
|
|
3764
4219
|
verification?: Individual.Verification;
|
|
3765
4220
|
}
|
|
4221
|
+
interface RiskControls {
|
|
4222
|
+
/**
|
|
4223
|
+
* Represents the risk control status of charges. Please see [this page for more details](https://docs.stripe.com/connect/pausing-payments-or-payouts-on-connected-accounts).
|
|
4224
|
+
*/
|
|
4225
|
+
charges?: RiskControls.Charges;
|
|
4226
|
+
/**
|
|
4227
|
+
* Represents the risk control status of payouts. Please see [this page for more details](https://docs.stripe.com/connect/pausing-payments-or-payouts-on-connected-accounts).
|
|
4228
|
+
*/
|
|
4229
|
+
payouts?: RiskControls.Payouts;
|
|
4230
|
+
}
|
|
3766
4231
|
interface Settings {
|
|
3767
4232
|
/**
|
|
3768
4233
|
* Settings specific to Bacs Direct Debit payments.
|
|
3769
4234
|
*/
|
|
3770
4235
|
bacs_debit_payments?: Settings.BacsDebitPayments;
|
|
4236
|
+
/**
|
|
4237
|
+
* Settings specific to bank BCA onboarding for Indonesia bank transfers payments method.
|
|
4238
|
+
*/
|
|
4239
|
+
bank_bca_onboarding?: Settings.BankBcaOnboarding;
|
|
3771
4240
|
/**
|
|
3772
4241
|
* Settings used to apply the account's branding to email receipts, invoices, Checkout, and other products.
|
|
3773
4242
|
*/
|
|
3774
4243
|
branding?: Settings.Branding;
|
|
4244
|
+
/**
|
|
4245
|
+
* Settings specific to the account's use of the Capital product.
|
|
4246
|
+
*/
|
|
4247
|
+
capital?: Settings.Capital;
|
|
3775
4248
|
/**
|
|
3776
4249
|
* Settings specific to the account's use of the Card Issuing product.
|
|
3777
4250
|
*/
|
|
@@ -3800,6 +4273,14 @@ export declare namespace AccountUpdateParams {
|
|
|
3800
4273
|
* Settings specific to SEPA Direct Debit payments.
|
|
3801
4274
|
*/
|
|
3802
4275
|
sepa_debit_payments?: Settings.SepaDebitPayments;
|
|
4276
|
+
/**
|
|
4277
|
+
* Settings specific to the account's use of Smart Disputes.
|
|
4278
|
+
*/
|
|
4279
|
+
smart_disputes?: Settings.SmartDisputes;
|
|
4280
|
+
/**
|
|
4281
|
+
* Settings specific to the account's tax forms.
|
|
4282
|
+
*/
|
|
4283
|
+
tax_forms?: Settings.TaxForms;
|
|
3803
4284
|
/**
|
|
3804
4285
|
* Settings specific to the account's Treasury FinancialAccounts.
|
|
3805
4286
|
*/
|
|
@@ -3896,6 +4377,12 @@ export declare namespace AccountUpdateParams {
|
|
|
3896
4377
|
*/
|
|
3897
4378
|
requested?: boolean;
|
|
3898
4379
|
}
|
|
4380
|
+
interface AutomaticIndirectTax {
|
|
4381
|
+
/**
|
|
4382
|
+
* 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.
|
|
4383
|
+
*/
|
|
4384
|
+
requested?: boolean;
|
|
4385
|
+
}
|
|
3899
4386
|
interface BacsDebitPayments {
|
|
3900
4387
|
/**
|
|
3901
4388
|
* 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.
|
|
@@ -3998,12 +4485,30 @@ export declare namespace AccountUpdateParams {
|
|
|
3998
4485
|
*/
|
|
3999
4486
|
requested?: boolean;
|
|
4000
4487
|
}
|
|
4488
|
+
interface GopayPayments {
|
|
4489
|
+
/**
|
|
4490
|
+
* 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.
|
|
4491
|
+
*/
|
|
4492
|
+
requested?: boolean;
|
|
4493
|
+
}
|
|
4001
4494
|
interface GrabpayPayments {
|
|
4002
4495
|
/**
|
|
4003
4496
|
* 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.
|
|
4004
4497
|
*/
|
|
4005
4498
|
requested?: boolean;
|
|
4006
4499
|
}
|
|
4500
|
+
interface IdBankTransferPayments {
|
|
4501
|
+
/**
|
|
4502
|
+
* 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.
|
|
4503
|
+
*/
|
|
4504
|
+
requested?: boolean;
|
|
4505
|
+
}
|
|
4506
|
+
interface IdBankTransferPaymentsBca {
|
|
4507
|
+
/**
|
|
4508
|
+
* 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.
|
|
4509
|
+
*/
|
|
4510
|
+
requested?: boolean;
|
|
4511
|
+
}
|
|
4007
4512
|
interface IdealPayments {
|
|
4008
4513
|
/**
|
|
4009
4514
|
* 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.
|
|
@@ -4130,6 +4635,12 @@ export declare namespace AccountUpdateParams {
|
|
|
4130
4635
|
*/
|
|
4131
4636
|
requested?: boolean;
|
|
4132
4637
|
}
|
|
4638
|
+
interface PaypalPayments {
|
|
4639
|
+
/**
|
|
4640
|
+
* 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.
|
|
4641
|
+
*/
|
|
4642
|
+
requested?: boolean;
|
|
4643
|
+
}
|
|
4133
4644
|
interface PaypayPayments {
|
|
4134
4645
|
/**
|
|
4135
4646
|
* 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.
|
|
@@ -4154,6 +4665,18 @@ export declare namespace AccountUpdateParams {
|
|
|
4154
4665
|
*/
|
|
4155
4666
|
requested?: boolean;
|
|
4156
4667
|
}
|
|
4668
|
+
interface QrisPayments {
|
|
4669
|
+
/**
|
|
4670
|
+
* 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.
|
|
4671
|
+
*/
|
|
4672
|
+
requested?: boolean;
|
|
4673
|
+
}
|
|
4674
|
+
interface RechnungPayments {
|
|
4675
|
+
/**
|
|
4676
|
+
* 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.
|
|
4677
|
+
*/
|
|
4678
|
+
requested?: boolean;
|
|
4679
|
+
}
|
|
4157
4680
|
interface RevolutPayPayments {
|
|
4158
4681
|
/**
|
|
4159
4682
|
* 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.
|
|
@@ -4196,12 +4719,24 @@ export declare namespace AccountUpdateParams {
|
|
|
4196
4719
|
*/
|
|
4197
4720
|
requested?: boolean;
|
|
4198
4721
|
}
|
|
4722
|
+
interface ShopeepayPayments {
|
|
4723
|
+
/**
|
|
4724
|
+
* 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.
|
|
4725
|
+
*/
|
|
4726
|
+
requested?: boolean;
|
|
4727
|
+
}
|
|
4199
4728
|
interface SofortPayments {
|
|
4200
4729
|
/**
|
|
4201
4730
|
* 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.
|
|
4202
4731
|
*/
|
|
4203
4732
|
requested?: boolean;
|
|
4204
4733
|
}
|
|
4734
|
+
interface StripeBalancePayments {
|
|
4735
|
+
/**
|
|
4736
|
+
* 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.
|
|
4737
|
+
*/
|
|
4738
|
+
requested?: boolean;
|
|
4739
|
+
}
|
|
4205
4740
|
interface SunbitPayments {
|
|
4206
4741
|
/**
|
|
4207
4742
|
* 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.
|
|
@@ -4238,6 +4773,24 @@ export declare namespace AccountUpdateParams {
|
|
|
4238
4773
|
*/
|
|
4239
4774
|
requested?: boolean;
|
|
4240
4775
|
}
|
|
4776
|
+
interface TreasuryEvolve {
|
|
4777
|
+
/**
|
|
4778
|
+
* 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.
|
|
4779
|
+
*/
|
|
4780
|
+
requested?: boolean;
|
|
4781
|
+
}
|
|
4782
|
+
interface TreasuryFifthThird {
|
|
4783
|
+
/**
|
|
4784
|
+
* 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.
|
|
4785
|
+
*/
|
|
4786
|
+
requested?: boolean;
|
|
4787
|
+
}
|
|
4788
|
+
interface TreasuryGoldmanSachs {
|
|
4789
|
+
/**
|
|
4790
|
+
* 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.
|
|
4791
|
+
*/
|
|
4792
|
+
requested?: boolean;
|
|
4793
|
+
}
|
|
4241
4794
|
interface TwintPayments {
|
|
4242
4795
|
/**
|
|
4243
4796
|
* 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.
|
|
@@ -4510,6 +5063,22 @@ export declare namespace AccountUpdateParams {
|
|
|
4510
5063
|
}
|
|
4511
5064
|
}
|
|
4512
5065
|
}
|
|
5066
|
+
namespace RiskControls {
|
|
5067
|
+
interface Charges {
|
|
5068
|
+
/**
|
|
5069
|
+
* To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
|
|
5070
|
+
* There can be a delay before the risk control is paused or unpaused.
|
|
5071
|
+
*/
|
|
5072
|
+
pause_requested?: boolean;
|
|
5073
|
+
}
|
|
5074
|
+
interface Payouts {
|
|
5075
|
+
/**
|
|
5076
|
+
* To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
|
|
5077
|
+
* There can be a delay before the risk control is paused or unpaused.
|
|
5078
|
+
*/
|
|
5079
|
+
pause_requested?: boolean;
|
|
5080
|
+
}
|
|
5081
|
+
}
|
|
4513
5082
|
namespace Settings {
|
|
4514
5083
|
interface BacsDebitPayments {
|
|
4515
5084
|
/**
|
|
@@ -4517,6 +5086,16 @@ export declare namespace AccountUpdateParams {
|
|
|
4517
5086
|
*/
|
|
4518
5087
|
display_name?: string;
|
|
4519
5088
|
}
|
|
5089
|
+
interface BankBcaOnboarding {
|
|
5090
|
+
/**
|
|
5091
|
+
* Bank BCA business account holder name
|
|
5092
|
+
*/
|
|
5093
|
+
account_holder_name?: string;
|
|
5094
|
+
/**
|
|
5095
|
+
* Bank BCA business account number
|
|
5096
|
+
*/
|
|
5097
|
+
business_account_number?: string;
|
|
5098
|
+
}
|
|
4520
5099
|
interface Branding {
|
|
4521
5100
|
/**
|
|
4522
5101
|
* (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) An icon for the account. Must be square and at least 128px x 128px.
|
|
@@ -4535,6 +5114,20 @@ export declare namespace AccountUpdateParams {
|
|
|
4535
5114
|
*/
|
|
4536
5115
|
secondary_color?: string;
|
|
4537
5116
|
}
|
|
5117
|
+
interface Capital {
|
|
5118
|
+
/**
|
|
5119
|
+
* Per-currency mapping of user-selected destination accounts used to pay out loans.
|
|
5120
|
+
*/
|
|
5121
|
+
payout_destination?: {
|
|
5122
|
+
[key: string]: string;
|
|
5123
|
+
};
|
|
5124
|
+
/**
|
|
5125
|
+
* Per-currency mapping of all destination accounts eligible to receive Capital financing payouts.
|
|
5126
|
+
*/
|
|
5127
|
+
payout_destination_selector?: {
|
|
5128
|
+
[key: string]: Array<string>;
|
|
5129
|
+
};
|
|
5130
|
+
}
|
|
4538
5131
|
interface CardIssuing {
|
|
4539
5132
|
/**
|
|
4540
5133
|
* Details on the account's acceptance of the [Stripe Issuing Terms and Disclosures](https://docs.stripe.com/issuing/connect/tos_acceptance).
|
|
@@ -4570,6 +5163,10 @@ export declare namespace AccountUpdateParams {
|
|
|
4570
5163
|
hosted_payment_method_save?: Invoices.HostedPaymentMethodSave;
|
|
4571
5164
|
}
|
|
4572
5165
|
interface Payments {
|
|
5166
|
+
/**
|
|
5167
|
+
* When you enable this parameter, the customer of this Account receives an email receipt when their payment succeeds. If this parameter isn't set, the default value is `false`.
|
|
5168
|
+
*/
|
|
5169
|
+
email_customers_on_successful_payment?: boolean;
|
|
4573
5170
|
/**
|
|
4574
5171
|
* The default text that appears on statements for non-card charges outside of Japan. For card charges, if you don't set a `statement_descriptor_prefix`, this text is also used as the statement descriptor prefix. In that case, if concatenating the statement descriptor suffix causes the combined statement descriptor to exceed 22 characters, we truncate the `statement_descriptor` text to limit the full descriptor to 22 characters. For more information about statement descriptors and their requirements, see the [account settings documentation](https://docs.stripe.com/get-started/account/statement-descriptors).
|
|
4575
5172
|
*/
|
|
@@ -4617,6 +5214,18 @@ export declare namespace AccountUpdateParams {
|
|
|
4617
5214
|
*/
|
|
4618
5215
|
creditor_id?: string;
|
|
4619
5216
|
}
|
|
5217
|
+
interface SmartDisputes {
|
|
5218
|
+
/**
|
|
5219
|
+
* Smart Disputes auto-respond settings for the account.
|
|
5220
|
+
*/
|
|
5221
|
+
auto_respond?: SmartDisputes.AutoRespond;
|
|
5222
|
+
}
|
|
5223
|
+
interface TaxForms {
|
|
5224
|
+
/**
|
|
5225
|
+
* Whether the account opted out of receiving their tax forms by postal delivery.
|
|
5226
|
+
*/
|
|
5227
|
+
consented_to_paperless_delivery?: boolean;
|
|
5228
|
+
}
|
|
4620
5229
|
interface Treasury {
|
|
4621
5230
|
/**
|
|
4622
5231
|
* Details on the account's acceptance of the Stripe Treasury Services Agreement.
|
|
@@ -4729,6 +5338,17 @@ export declare namespace AccountUpdateParams {
|
|
|
4729
5338
|
type Type = 'accessible' | 'in_development' | 'restricted';
|
|
4730
5339
|
}
|
|
4731
5340
|
}
|
|
5341
|
+
namespace SmartDisputes {
|
|
5342
|
+
interface AutoRespond {
|
|
5343
|
+
/**
|
|
5344
|
+
* The preference setting for auto-respond. Can be 'on', 'off', or 'inherit'.
|
|
5345
|
+
*/
|
|
5346
|
+
preference?: AutoRespond.Preference;
|
|
5347
|
+
}
|
|
5348
|
+
namespace AutoRespond {
|
|
5349
|
+
type Preference = 'inherit' | 'off' | 'on';
|
|
5350
|
+
}
|
|
5351
|
+
}
|
|
4732
5352
|
namespace Treasury {
|
|
4733
5353
|
interface TosAcceptance {
|
|
4734
5354
|
/**
|
|
@@ -5247,6 +5867,8 @@ export interface AccountRetrievePersonParams {
|
|
|
5247
5867
|
*/
|
|
5248
5868
|
expand?: Array<string>;
|
|
5249
5869
|
}
|
|
5870
|
+
export interface AccountSerializeBatchUpdateParams {
|
|
5871
|
+
}
|
|
5250
5872
|
export interface AccountUnrejectParams {
|
|
5251
5873
|
/**
|
|
5252
5874
|
* Specifies which fields in the response should be expanded.
|