stripe 22.2.0 → 22.3.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 +1753 -76
- package/README.md +57 -65
- package/VERSION +1 -1
- package/cjs/Error.d.ts +50 -0
- package/cjs/Error.js +125 -1
- package/cjs/Error.js.map +1 -1
- package/cjs/RequestSender.d.ts +0 -1
- package/cjs/RequestSender.js +0 -8
- package/cjs/RequestSender.js.map +1 -1
- package/cjs/StripeEventNotificationHandler.d.ts +19 -0
- package/cjs/StripeEventNotificationHandler.js +148 -0
- package/cjs/StripeEventNotificationHandler.js.map +1 -0
- package/cjs/Types.d.ts +4 -2
- package/cjs/Types.js.map +1 -1
- package/cjs/apiVersion.d.ts +1 -2
- package/cjs/apiVersion.js +2 -3
- 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 +262 -0
- package/cjs/resources/AccountSessions.js.map +1 -1
- package/cjs/resources/Accounts.d.ts +827 -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/BankAccounts.d.ts +2 -2
- package/cjs/resources/Billing/AlertTriggereds.d.ts +2 -1
- package/cjs/resources/Billing/Analytics/MeterUsage.d.ts +84 -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 +191 -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 +98 -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 +143 -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 +4 -0
- package/cjs/resources/Charges.d.ts +3064 -70
- package/cjs/resources/Checkout/Sessions.d.ts +390 -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 +7 -1
- package/cjs/resources/Customers.js +14 -0
- package/cjs/resources/Customers.js.map +1 -1
- package/cjs/resources/Disputes.d.ts +29 -0
- package/cjs/resources/Events.d.ts +547 -2
- 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 +74 -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 +87 -0
- package/cjs/resources/FinancialConnections/Authorizations.js +15 -0
- package/cjs/resources/FinancialConnections/Authorizations.js.map +1 -0
- package/cjs/resources/FinancialConnections/Institutions.d.ts +101 -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 +155 -7
- package/cjs/resources/FinancialConnections/index.d.ts +21 -6
- package/cjs/resources/FinancialConnections/index.js +4 -0
- package/cjs/resources/FinancialConnections/index.js.map +1 -1
- package/cjs/resources/FxQuotes.d.ts +212 -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 +1337 -19
- package/cjs/resources/Invoices.js +41 -0
- package/cjs/resources/Invoices.js.map +1 -1
- package/cjs/resources/Issuing/Cardholders.d.ts +2 -1
- package/cjs/resources/Issuing/CreditUnderwritingRecords.d.ts +640 -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 +95 -0
- package/cjs/resources/Issuing/DisputeSettlementDetails.js +23 -0
- package/cjs/resources/Issuing/DisputeSettlementDetails.js.map +1 -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 +85 -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 +9 -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 +33 -1
- 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 +4693 -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 +13239 -2321
- package/cjs/resources/PaymentIntents.js +27 -0
- package/cjs/resources/PaymentIntents.js.map +1 -1
- package/cjs/resources/PaymentLinks.d.ts +19 -3
- package/cjs/resources/PaymentMethodConfigurations.d.ts +350 -0
- package/cjs/resources/PaymentMethods.d.ts +151 -3
- package/cjs/resources/PaymentMethods.js.map +1 -1
- package/cjs/resources/PaymentRecords.d.ts +82 -0
- package/cjs/resources/Persons.d.ts +2 -2
- package/cjs/resources/Plans.d.ts +16 -0
- package/cjs/resources/Prices.d.ts +52 -0
- package/cjs/resources/Privacy/RedactionJobValidationErrors.d.ts +37 -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 +229 -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 +127 -0
- package/cjs/resources/ProductCatalog/TrialOffers.js +15 -0
- package/cjs/resources/ProductCatalog/TrialOffers.js.map +1 -0
- package/cjs/resources/ProductCatalog/index.d.ts +12 -0
- package/cjs/resources/ProductCatalog/index.js +13 -0
- package/cjs/resources/ProductCatalog/index.js.map +1 -0
- package/cjs/resources/Products.d.ts +42 -0
- 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 +1120 -0
- package/cjs/resources/QuotePreviewInvoices.js +4 -0
- package/cjs/resources/QuotePreviewInvoices.js.map +1 -0
- package/cjs/resources/QuotePreviewSubscriptionSchedules.d.ts +737 -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/PaymentEvaluations.d.ts +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 +16 -0
- package/cjs/resources/Reserve/Plans.js +11 -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 +14 -3
- package/cjs/resources/Reserve/index.js +10 -2
- package/cjs/resources/Reserve/index.js.map +1 -1
- package/cjs/resources/SetupAttempts.d.ts +26 -1
- package/cjs/resources/SetupIntents.d.ts +330 -11
- package/cjs/resources/SharedPayment/GrantedTokens.d.ts +1095 -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 +308 -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 +16 -1
- package/cjs/resources/SubscriptionItems.d.ts +143 -0
- package/cjs/resources/SubscriptionSchedules.d.ts +1152 -0
- package/cjs/resources/SubscriptionSchedules.js +6 -0
- package/cjs/resources/SubscriptionSchedules.js.map +1 -1
- package/cjs/resources/Subscriptions.d.ts +571 -6
- package/cjs/resources/Subscriptions.js +145 -0
- package/cjs/resources/Subscriptions.js.map +1 -1
- package/cjs/resources/Tax/CalculationLineItems.d.ts +6 -2
- package/cjs/resources/Tax/Calculations.d.ts +7 -3
- package/cjs/resources/Tax/Forms.d.ts +230 -0
- package/cjs/resources/Tax/Forms.js +32 -0
- package/cjs/resources/Tax/Forms.js.map +1 -0
- package/cjs/resources/Tax/Locations.d.ts +108 -0
- package/cjs/resources/Tax/Locations.js +33 -0
- package/cjs/resources/Tax/Locations.js.map +1 -0
- package/cjs/resources/Tax/Registrations.d.ts +138 -2
- package/cjs/resources/Tax/Transactions.d.ts +2 -2
- package/cjs/resources/Tax/index.d.ts +27 -13
- package/cjs/resources/Tax/index.js +4 -0
- package/cjs/resources/Tax/index.js.map +1 -1
- package/cjs/resources/TaxCodes.d.ts +15 -0
- package/cjs/resources/Terminal/Configurations.d.ts +27 -0
- package/cjs/resources/Terminal/ReaderCollectedData.d.ts +52 -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 +78 -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/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 +8 -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 +75 -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 +284 -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 +951 -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 +240 -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 +166 -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/AccountLinks.d.ts +4 -4
- package/cjs/resources/V2/Core/AccountTokens.d.ts +10 -0
- package/cjs/resources/V2/Core/Accounts.d.ts +1177 -167
- package/cjs/resources/V2/Core/BatchJobs.d.ts +373 -0
- package/cjs/resources/V2/Core/BatchJobs.js +225 -0
- package/cjs/resources/V2/Core/BatchJobs.js.map +1 -0
- package/cjs/resources/V2/Core/Events.d.ts +1123 -4
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.d.ts +285 -0
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.js +54 -0
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.js.map +1 -0
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.d.ts +254 -0
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.js +62 -0
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.js.map +1 -0
- package/cjs/resources/V2/Core/Vault/index.d.ts +28 -0
- package/cjs/resources/V2/Core/Vault/index.js +15 -0
- package/cjs/resources/V2/Core/Vault/index.js.map +1 -0
- package/cjs/resources/V2/Core/index.d.ts +19 -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/Reporting/QueryRuns.d.ts +156 -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/index.d.ts +10 -0
- package/cjs/resources/V2/Data/index.js +13 -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 +166 -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 +123 -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/FinancialAddressCreditSimulations.d.ts +14 -0
- package/cjs/resources/V2/FinancialAddressCreditSimulations.js +4 -0
- package/cjs/resources/V2/FinancialAddressCreditSimulations.js.map +1 -0
- package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.d.ts +19 -0
- package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.js +4 -0
- package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.js.map +1 -0
- package/cjs/resources/V2/Iam/ActivityLogs.d.ts +214 -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 +135 -0
- package/cjs/resources/V2/MoneyManagement/Adjustments.js +23 -0
- package/cjs/resources/V2/MoneyManagement/Adjustments.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.d.ts +244 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +44 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAddresses.d.ts +215 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js +31 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/InboundTransfers.d.ts +254 -0
- package/cjs/resources/V2/MoneyManagement/InboundTransfers.js +30 -0
- package/cjs/resources/V2/MoneyManagement/InboundTransfers.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +212 -0
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +22 -0
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/OutboundPayments.d.ts +388 -0
- package/cjs/resources/V2/MoneyManagement/OutboundPayments.js +41 -0
- package/cjs/resources/V2/MoneyManagement/OutboundPayments.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +300 -0
- package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js +49 -0
- package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.d.ts +330 -0
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js +39 -0
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.d.ts +243 -0
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.js +44 -0
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +96 -0
- package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +17 -0
- package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/ReceivedCredits.d.ts +295 -0
- package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js +23 -0
- package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.d.ts +161 -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/TransactionEntries.d.ts +165 -0
- package/cjs/resources/V2/MoneyManagement/TransactionEntries.js +23 -0
- package/cjs/resources/V2/MoneyManagement/TransactionEntries.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/Transactions.d.ts +196 -0
- package/cjs/resources/V2/MoneyManagement/Transactions.js +23 -0
- package/cjs/resources/V2/MoneyManagement/Transactions.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/index.d.ts +104 -0
- package/cjs/resources/V2/MoneyManagement/index.js +39 -0
- package/cjs/resources/V2/MoneyManagement/index.js.map +1 -0
- package/cjs/resources/V2/Network/BusinessProfiles.d.ts +96 -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 +147 -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/TestHelpers/FinancialAddresses.d.ts +44 -0
- package/cjs/resources/V2/TestHelpers/FinancialAddresses.js +23 -0
- package/cjs/resources/V2/TestHelpers/FinancialAddresses.js.map +1 -0
- package/cjs/resources/V2/TestHelpers/index.d.ts +8 -0
- package/cjs/resources/V2/TestHelpers/index.js +13 -0
- package/cjs/resources/V2/TestHelpers/index.js.map +1 -0
- package/cjs/resources/V2/index.d.ts +27 -0
- package/cjs/resources/V2/index.js +14 -0
- 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 +146 -10
- package/cjs/resources.js.map +1 -1
- package/cjs/stripe.core.d.ts +61 -24
- package/cjs/stripe.core.js +55 -31
- package/cjs/stripe.core.js.map +1 -1
- package/esm/Error.d.ts +50 -0
- package/esm/Error.js +109 -0
- package/esm/Error.js.map +1 -1
- package/esm/RequestSender.d.ts +0 -1
- package/esm/RequestSender.js +0 -8
- package/esm/RequestSender.js.map +1 -1
- package/esm/StripeEventNotificationHandler.d.ts +19 -0
- package/esm/StripeEventNotificationHandler.js +144 -0
- package/esm/StripeEventNotificationHandler.js.map +1 -0
- package/esm/Types.d.ts +4 -2
- package/esm/Types.js.map +1 -1
- package/esm/apiVersion.d.ts +1 -2
- package/esm/apiVersion.js +1 -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 +262 -0
- package/esm/resources/AccountSessions.js.map +1 -1
- package/esm/resources/Accounts.d.ts +827 -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/BankAccounts.d.ts +2 -2
- package/esm/resources/Billing/AlertTriggereds.d.ts +2 -1
- package/esm/resources/Billing/Analytics/MeterUsage.d.ts +84 -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 +191 -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 +98 -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 +143 -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 +4 -0
- package/esm/resources/Charges.d.ts +3064 -70
- package/esm/resources/Checkout/Sessions.d.ts +390 -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 +7 -1
- package/esm/resources/Customers.js +14 -0
- package/esm/resources/Customers.js.map +1 -1
- package/esm/resources/Disputes.d.ts +29 -0
- package/esm/resources/Events.d.ts +547 -2
- 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 +74 -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 +87 -0
- package/esm/resources/FinancialConnections/Authorizations.js +11 -0
- package/esm/resources/FinancialConnections/Authorizations.js.map +1 -0
- package/esm/resources/FinancialConnections/Institutions.d.ts +101 -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 +155 -7
- package/esm/resources/FinancialConnections/index.d.ts +21 -6
- package/esm/resources/FinancialConnections/index.js +4 -0
- package/esm/resources/FinancialConnections/index.js.map +1 -1
- package/esm/resources/FxQuotes.d.ts +212 -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 +1337 -19
- package/esm/resources/Invoices.js +41 -0
- package/esm/resources/Invoices.js.map +1 -1
- package/esm/resources/Issuing/Cardholders.d.ts +2 -1
- package/esm/resources/Issuing/CreditUnderwritingRecords.d.ts +640 -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 +95 -0
- package/esm/resources/Issuing/DisputeSettlementDetails.js +19 -0
- package/esm/resources/Issuing/DisputeSettlementDetails.js.map +1 -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 +85 -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 +9 -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 +33 -1
- 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 +4693 -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 +13239 -2321
- package/esm/resources/PaymentIntents.js +27 -0
- package/esm/resources/PaymentIntents.js.map +1 -1
- package/esm/resources/PaymentLinks.d.ts +19 -3
- package/esm/resources/PaymentMethodConfigurations.d.ts +350 -0
- package/esm/resources/PaymentMethods.d.ts +151 -3
- package/esm/resources/PaymentMethods.js.map +1 -1
- package/esm/resources/PaymentRecords.d.ts +82 -0
- package/esm/resources/Persons.d.ts +2 -2
- package/esm/resources/Plans.d.ts +16 -0
- package/esm/resources/Prices.d.ts +52 -0
- package/esm/resources/Privacy/RedactionJobValidationErrors.d.ts +37 -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 +229 -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 +127 -0
- package/esm/resources/ProductCatalog/TrialOffers.js +11 -0
- package/esm/resources/ProductCatalog/TrialOffers.js.map +1 -0
- package/esm/resources/ProductCatalog/index.d.ts +12 -0
- package/esm/resources/ProductCatalog/index.js +9 -0
- package/esm/resources/ProductCatalog/index.js.map +1 -0
- package/esm/resources/Products.d.ts +42 -0
- 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 +1120 -0
- package/esm/resources/QuotePreviewInvoices.js +3 -0
- package/esm/resources/QuotePreviewInvoices.js.map +1 -0
- package/esm/resources/QuotePreviewSubscriptionSchedules.d.ts +737 -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/PaymentEvaluations.d.ts +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 +16 -0
- package/esm/resources/Reserve/Plans.js +9 -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 +14 -3
- package/esm/resources/Reserve/index.js +10 -2
- package/esm/resources/Reserve/index.js.map +1 -1
- package/esm/resources/SetupAttempts.d.ts +26 -1
- package/esm/resources/SetupIntents.d.ts +330 -11
- package/esm/resources/SharedPayment/GrantedTokens.d.ts +1095 -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 +308 -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 +16 -1
- package/esm/resources/SubscriptionItems.d.ts +143 -0
- package/esm/resources/SubscriptionSchedules.d.ts +1152 -0
- package/esm/resources/SubscriptionSchedules.js +6 -0
- package/esm/resources/SubscriptionSchedules.js.map +1 -1
- package/esm/resources/Subscriptions.d.ts +571 -6
- package/esm/resources/Subscriptions.js +145 -0
- package/esm/resources/Subscriptions.js.map +1 -1
- package/esm/resources/Tax/CalculationLineItems.d.ts +6 -2
- package/esm/resources/Tax/Calculations.d.ts +7 -3
- package/esm/resources/Tax/Forms.d.ts +230 -0
- package/esm/resources/Tax/Forms.js +28 -0
- package/esm/resources/Tax/Forms.js.map +1 -0
- package/esm/resources/Tax/Locations.d.ts +108 -0
- package/esm/resources/Tax/Locations.js +29 -0
- package/esm/resources/Tax/Locations.js.map +1 -0
- package/esm/resources/Tax/Registrations.d.ts +138 -2
- package/esm/resources/Tax/Transactions.d.ts +2 -2
- package/esm/resources/Tax/index.d.ts +27 -13
- package/esm/resources/Tax/index.js +4 -0
- package/esm/resources/Tax/index.js.map +1 -1
- package/esm/resources/TaxCodes.d.ts +15 -0
- package/esm/resources/Terminal/Configurations.d.ts +27 -0
- package/esm/resources/Terminal/ReaderCollectedData.d.ts +52 -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 +78 -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/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 +8 -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 +75 -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 +284 -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 +951 -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 +240 -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 +166 -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/AccountLinks.d.ts +4 -4
- package/esm/resources/V2/Core/AccountTokens.d.ts +10 -0
- package/esm/resources/V2/Core/Accounts.d.ts +1177 -167
- package/esm/resources/V2/Core/BatchJobs.d.ts +373 -0
- package/esm/resources/V2/Core/BatchJobs.js +221 -0
- package/esm/resources/V2/Core/BatchJobs.js.map +1 -0
- package/esm/resources/V2/Core/Events.d.ts +1123 -4
- package/esm/resources/V2/Core/Vault/GbBankAccounts.d.ts +285 -0
- package/esm/resources/V2/Core/Vault/GbBankAccounts.js +50 -0
- package/esm/resources/V2/Core/Vault/GbBankAccounts.js.map +1 -0
- package/esm/resources/V2/Core/Vault/UsBankAccounts.d.ts +254 -0
- package/esm/resources/V2/Core/Vault/UsBankAccounts.js +58 -0
- package/esm/resources/V2/Core/Vault/UsBankAccounts.js.map +1 -0
- package/esm/resources/V2/Core/Vault/index.d.ts +28 -0
- package/esm/resources/V2/Core/Vault/index.js +11 -0
- package/esm/resources/V2/Core/Vault/index.js.map +1 -0
- package/esm/resources/V2/Core/index.d.ts +19 -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/Reporting/QueryRuns.d.ts +156 -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/index.d.ts +10 -0
- package/esm/resources/V2/Data/index.js +9 -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 +166 -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 +123 -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/FinancialAddressCreditSimulations.d.ts +14 -0
- package/esm/resources/V2/FinancialAddressCreditSimulations.js +3 -0
- package/esm/resources/V2/FinancialAddressCreditSimulations.js.map +1 -0
- package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.d.ts +19 -0
- package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.js +3 -0
- package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.js.map +1 -0
- package/esm/resources/V2/Iam/ActivityLogs.d.ts +214 -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 +135 -0
- package/esm/resources/V2/MoneyManagement/Adjustments.js +19 -0
- package/esm/resources/V2/MoneyManagement/Adjustments.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.d.ts +244 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +40 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/FinancialAddresses.d.ts +215 -0
- package/esm/resources/V2/MoneyManagement/FinancialAddresses.js +27 -0
- package/esm/resources/V2/MoneyManagement/FinancialAddresses.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/InboundTransfers.d.ts +254 -0
- package/esm/resources/V2/MoneyManagement/InboundTransfers.js +26 -0
- package/esm/resources/V2/MoneyManagement/InboundTransfers.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +212 -0
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +18 -0
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/OutboundPayments.d.ts +388 -0
- package/esm/resources/V2/MoneyManagement/OutboundPayments.js +37 -0
- package/esm/resources/V2/MoneyManagement/OutboundPayments.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +300 -0
- package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js +45 -0
- package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.d.ts +330 -0
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.js +35 -0
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/PayoutMethods.d.ts +243 -0
- package/esm/resources/V2/MoneyManagement/PayoutMethods.js +40 -0
- package/esm/resources/V2/MoneyManagement/PayoutMethods.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +96 -0
- package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +13 -0
- package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/ReceivedCredits.d.ts +295 -0
- package/esm/resources/V2/MoneyManagement/ReceivedCredits.js +19 -0
- package/esm/resources/V2/MoneyManagement/ReceivedCredits.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.d.ts +161 -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/TransactionEntries.d.ts +165 -0
- package/esm/resources/V2/MoneyManagement/TransactionEntries.js +19 -0
- package/esm/resources/V2/MoneyManagement/TransactionEntries.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/Transactions.d.ts +196 -0
- package/esm/resources/V2/MoneyManagement/Transactions.js +19 -0
- package/esm/resources/V2/MoneyManagement/Transactions.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/index.d.ts +104 -0
- package/esm/resources/V2/MoneyManagement/index.js +35 -0
- package/esm/resources/V2/MoneyManagement/index.js.map +1 -0
- package/esm/resources/V2/Network/BusinessProfiles.d.ts +96 -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 +147 -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/TestHelpers/FinancialAddresses.d.ts +44 -0
- package/esm/resources/V2/TestHelpers/FinancialAddresses.js +19 -0
- package/esm/resources/V2/TestHelpers/FinancialAddresses.js.map +1 -0
- package/esm/resources/V2/TestHelpers/index.d.ts +8 -0
- package/esm/resources/V2/TestHelpers/index.js +9 -0
- package/esm/resources/V2/TestHelpers/index.js.map +1 -0
- package/esm/resources/V2/index.d.ts +27 -0
- package/esm/resources/V2/index.js +14 -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 +131 -0
- package/esm/resources.js.map +1 -1
- package/esm/stripe.core.d.ts +61 -24
- package/esm/stripe.core.js +25 -1
- package/esm/stripe.core.js.map +1 -1
- package/esm/stripe.esm.node.d.ts +62 -24
- package/esm/stripe.esm.node.js +25 -1
- package/esm/stripe.esm.node.js.map +1 -1
- package/package.json +1 -1
|
@@ -61,6 +61,10 @@ export declare class AccountResource extends StripeResource {
|
|
|
61
61
|
* Only accounts where your platform is liable for negative account balances, which includes Custom and Express accounts, can be rejected. Test-mode accounts can be rejected at any time. Live-mode accounts can only be rejected after all balances are zero.
|
|
62
62
|
*/
|
|
63
63
|
reject(id: string, params: AccountRejectParams, options?: RequestOptions): Promise<Response<Account>>;
|
|
64
|
+
serializeBatchUpdate(account: string, params?: Record<string, unknown>, options?: {
|
|
65
|
+
apiVersion?: string;
|
|
66
|
+
stripeContext?: string;
|
|
67
|
+
}): string;
|
|
64
68
|
/**
|
|
65
69
|
* Returns a list of capabilities associated with the account. The capabilities are returned sorted by creation date, with the most recent capability appearing first.
|
|
66
70
|
*/
|
|
@@ -201,6 +205,7 @@ export interface Account {
|
|
|
201
205
|
*/
|
|
202
206
|
payouts_enabled: boolean;
|
|
203
207
|
requirements?: Account.Requirements;
|
|
208
|
+
risk_controls?: Account.RiskControls;
|
|
204
209
|
/**
|
|
205
210
|
* Options for customizing how the account functions within Stripe.
|
|
206
211
|
*/
|
|
@@ -252,6 +257,10 @@ export declare namespace Account {
|
|
|
252
257
|
* Internal-only description of the product sold or service provided by the business. It's used by Stripe for risk and underwriting purposes.
|
|
253
258
|
*/
|
|
254
259
|
product_description?: string | null;
|
|
260
|
+
/**
|
|
261
|
+
* A link to the business's publicly available terms related to the Specified Commercial Transaction Act. Only used for accounts in Japan.
|
|
262
|
+
*/
|
|
263
|
+
specified_commercial_transactions_act_url?: string | null;
|
|
255
264
|
/**
|
|
256
265
|
* A publicly available mailing address for sending support issues to.
|
|
257
266
|
*/
|
|
@@ -303,6 +312,10 @@ export declare namespace Account {
|
|
|
303
312
|
* 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.
|
|
304
313
|
*/
|
|
305
314
|
au_becs_debit_payments?: Capabilities.AuBecsDebitPayments;
|
|
315
|
+
/**
|
|
316
|
+
* The status of the automatic_indirect_tax capability of the account.
|
|
317
|
+
*/
|
|
318
|
+
automatic_indirect_tax?: Capabilities.AutomaticIndirectTax;
|
|
306
319
|
/**
|
|
307
320
|
* The status of the Bacs Direct Debits payments capability of the account, or whether the account can directly process Bacs Direct Debits charges.
|
|
308
321
|
*/
|
|
@@ -367,10 +380,22 @@ export declare namespace Account {
|
|
|
367
380
|
* The status of the giropay payments capability of the account, or whether the account can directly process giropay charges.
|
|
368
381
|
*/
|
|
369
382
|
giropay_payments?: Capabilities.GiropayPayments;
|
|
383
|
+
/**
|
|
384
|
+
* The status of the Gopay capability of the account, or whether the account can directly process Gopay payments.
|
|
385
|
+
*/
|
|
386
|
+
gopay_payments?: Capabilities.GopayPayments;
|
|
370
387
|
/**
|
|
371
388
|
* The status of the GrabPay payments capability of the account, or whether the account can directly process GrabPay charges.
|
|
372
389
|
*/
|
|
373
390
|
grabpay_payments?: Capabilities.GrabpayPayments;
|
|
391
|
+
/**
|
|
392
|
+
* The status of the Indonesia Bank Transfer payments capability of the account, or whether the account can directly process Indonesia Bank Transfer charges.
|
|
393
|
+
*/
|
|
394
|
+
id_bank_transfer_payments?: Capabilities.IdBankTransferPayments;
|
|
395
|
+
/**
|
|
396
|
+
* The status of Bank BCA onboarding of the account.
|
|
397
|
+
*/
|
|
398
|
+
id_bank_transfer_payments_bca?: Capabilities.IdBankTransferPaymentsBca;
|
|
374
399
|
/**
|
|
375
400
|
* The status of the iDEAL payments capability of the account, or whether the account can directly process iDEAL charges.
|
|
376
401
|
*/
|
|
@@ -455,6 +480,14 @@ export declare namespace Account {
|
|
|
455
480
|
* The status of the paynow payments capability of the account, or whether the account can directly process paynow charges.
|
|
456
481
|
*/
|
|
457
482
|
paynow_payments?: Capabilities.PaynowPayments;
|
|
483
|
+
/**
|
|
484
|
+
* The status of the PayPal payments capability of the account, or whether the account can directly process PayPal charges.
|
|
485
|
+
*/
|
|
486
|
+
paypal_payments?: Capabilities.PaypalPayments;
|
|
487
|
+
/**
|
|
488
|
+
* The status of the Paypay capability of the account, or whether the account can directly process Paypay payments.
|
|
489
|
+
*/
|
|
490
|
+
paypay_payments?: Capabilities.PaypayPayments;
|
|
458
491
|
/**
|
|
459
492
|
* The status of the PayTo capability of the account, or whether the account can directly process PayTo charges.
|
|
460
493
|
*/
|
|
@@ -467,6 +500,14 @@ export declare namespace Account {
|
|
|
467
500
|
* The status of the promptpay payments capability of the account, or whether the account can directly process promptpay charges.
|
|
468
501
|
*/
|
|
469
502
|
promptpay_payments?: Capabilities.PromptpayPayments;
|
|
503
|
+
/**
|
|
504
|
+
* The status of the Qris capability of the account, or whether the account can directly process Qris payments.
|
|
505
|
+
*/
|
|
506
|
+
qris_payments?: Capabilities.QrisPayments;
|
|
507
|
+
/**
|
|
508
|
+
* The status of the Rechnung capability of the account, or whether the account can directly process Rechnung payments.
|
|
509
|
+
*/
|
|
510
|
+
rechnung_payments?: Capabilities.RechnungPayments;
|
|
470
511
|
/**
|
|
471
512
|
* The status of the RevolutPay capability of the account, or whether the account can directly process RevolutPay payments.
|
|
472
513
|
*/
|
|
@@ -491,10 +532,18 @@ export declare namespace Account {
|
|
|
491
532
|
* The status of the SEPA Direct Debits payments capability of the account, or whether the account can directly process SEPA Direct Debits charges.
|
|
492
533
|
*/
|
|
493
534
|
sepa_debit_payments?: Capabilities.SepaDebitPayments;
|
|
535
|
+
/**
|
|
536
|
+
* The status of the ShopeePay capability of the account, or whether the account can directly process ShopeePay payments.
|
|
537
|
+
*/
|
|
538
|
+
shopeepay_payments?: Capabilities.ShopeepayPayments;
|
|
494
539
|
/**
|
|
495
540
|
* The status of the Sofort payments capability of the account, or whether the account can directly process Sofort charges.
|
|
496
541
|
*/
|
|
497
542
|
sofort_payments?: Capabilities.SofortPayments;
|
|
543
|
+
/**
|
|
544
|
+
* The status of the stripe_balance payments capability of the account, or whether the account can directly process stripe_balance charges.
|
|
545
|
+
*/
|
|
546
|
+
stripe_balance_payments?: Capabilities.StripeBalancePayments;
|
|
498
547
|
/**
|
|
499
548
|
* The status of the Sunbit capability of the account, or whether the account can directly process Sunbit payments.
|
|
500
549
|
*/
|
|
@@ -519,6 +568,18 @@ export declare namespace Account {
|
|
|
519
568
|
* The status of the banking capability, or whether the account can have bank accounts.
|
|
520
569
|
*/
|
|
521
570
|
treasury?: Capabilities.Treasury;
|
|
571
|
+
/**
|
|
572
|
+
* The status of the treasury_evolve capability of the account.
|
|
573
|
+
*/
|
|
574
|
+
treasury_evolve?: Capabilities.TreasuryEvolve;
|
|
575
|
+
/**
|
|
576
|
+
* The status of the treasury_fifth_third capability of the account.
|
|
577
|
+
*/
|
|
578
|
+
treasury_fifth_third?: Capabilities.TreasuryFifthThird;
|
|
579
|
+
/**
|
|
580
|
+
* The status of the treasury_goldman_sachs capability of the account.
|
|
581
|
+
*/
|
|
582
|
+
treasury_goldman_sachs?: Capabilities.TreasuryGoldmanSachs;
|
|
522
583
|
/**
|
|
523
584
|
* The status of the TWINT capability of the account, or whether the account can directly process TWINT charges.
|
|
524
585
|
*/
|
|
@@ -625,6 +686,8 @@ export declare namespace Account {
|
|
|
625
686
|
verification?: Company.Verification | null;
|
|
626
687
|
}
|
|
627
688
|
interface Controller {
|
|
689
|
+
application?: Controller.Application;
|
|
690
|
+
dashboard?: Controller.Dashboard;
|
|
628
691
|
fees?: Controller.Fees;
|
|
629
692
|
/**
|
|
630
693
|
* `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.
|
|
@@ -715,8 +778,17 @@ export declare namespace Account {
|
|
|
715
778
|
*/
|
|
716
779
|
pending_verification: Array<string> | null;
|
|
717
780
|
}
|
|
781
|
+
interface RiskControls {
|
|
782
|
+
charges: RiskControls.Charges;
|
|
783
|
+
payouts: RiskControls.Payouts;
|
|
784
|
+
/**
|
|
785
|
+
* 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/)
|
|
786
|
+
*/
|
|
787
|
+
rejected_reason?: RiskControls.RejectedReason | null;
|
|
788
|
+
}
|
|
718
789
|
interface Settings {
|
|
719
790
|
bacs_debit_payments?: Settings.BacsDebitPayments;
|
|
791
|
+
bank_bca_onboarding?: Settings.BankBcaOnboarding;
|
|
720
792
|
branding: Settings.Branding;
|
|
721
793
|
card_issuing?: Settings.CardIssuing;
|
|
722
794
|
card_payments: Settings.CardPayments;
|
|
@@ -724,7 +796,10 @@ export declare namespace Account {
|
|
|
724
796
|
invoices?: Settings.Invoices;
|
|
725
797
|
payments: Settings.Payments;
|
|
726
798
|
payouts?: Settings.Payouts;
|
|
799
|
+
paypay_payments?: Settings.PaypayPayments;
|
|
727
800
|
sepa_debit_payments?: Settings.SepaDebitPayments;
|
|
801
|
+
smart_disputes?: Settings.SmartDisputes;
|
|
802
|
+
tax_forms?: Settings.TaxForms;
|
|
728
803
|
treasury?: Settings.Treasury;
|
|
729
804
|
}
|
|
730
805
|
interface TosAcceptance {
|
|
@@ -781,6 +856,7 @@ export declare namespace Account {
|
|
|
781
856
|
type AmazonPayPayments = 'active' | 'inactive' | 'pending';
|
|
782
857
|
type AppDistribution = 'active' | 'inactive' | 'pending';
|
|
783
858
|
type AuBecsDebitPayments = 'active' | 'inactive' | 'pending';
|
|
859
|
+
type AutomaticIndirectTax = 'active' | 'inactive' | 'pending';
|
|
784
860
|
type BacsDebitPayments = 'active' | 'inactive' | 'pending';
|
|
785
861
|
type BancontactPayments = 'active' | 'inactive' | 'pending';
|
|
786
862
|
type BankTransferPayments = 'active' | 'inactive' | 'pending';
|
|
@@ -797,7 +873,10 @@ export declare namespace Account {
|
|
|
797
873
|
type FpxPayments = 'active' | 'inactive' | 'pending';
|
|
798
874
|
type GbBankTransferPayments = 'active' | 'inactive' | 'pending';
|
|
799
875
|
type GiropayPayments = 'active' | 'inactive' | 'pending';
|
|
876
|
+
type GopayPayments = 'active' | 'inactive' | 'pending';
|
|
800
877
|
type GrabpayPayments = 'active' | 'inactive' | 'pending';
|
|
878
|
+
type IdBankTransferPayments = 'active' | 'inactive' | 'pending';
|
|
879
|
+
type IdBankTransferPaymentsBca = 'active' | 'inactive' | 'pending';
|
|
801
880
|
type IdealPayments = 'active' | 'inactive' | 'pending';
|
|
802
881
|
type IndiaInternationalPayments = 'active' | 'inactive' | 'pending';
|
|
803
882
|
type JcbPayments = 'active' | 'inactive' | 'pending';
|
|
@@ -819,22 +898,31 @@ export declare namespace Account {
|
|
|
819
898
|
type PayByBankPayments = 'active' | 'inactive' | 'pending';
|
|
820
899
|
type PaycoPayments = 'active' | 'inactive' | 'pending';
|
|
821
900
|
type PaynowPayments = 'active' | 'inactive' | 'pending';
|
|
901
|
+
type PaypalPayments = 'active' | 'inactive' | 'pending';
|
|
902
|
+
type PaypayPayments = 'active' | 'inactive' | 'pending';
|
|
822
903
|
type PaytoPayments = 'active' | 'inactive' | 'pending';
|
|
823
904
|
type PixPayments = 'active' | 'inactive' | 'pending';
|
|
824
905
|
type PromptpayPayments = 'active' | 'inactive' | 'pending';
|
|
906
|
+
type QrisPayments = 'active' | 'inactive' | 'pending';
|
|
907
|
+
type RechnungPayments = 'active' | 'inactive' | 'pending';
|
|
825
908
|
type RevolutPayPayments = 'active' | 'inactive' | 'pending';
|
|
826
909
|
type SamsungPayPayments = 'active' | 'inactive' | 'pending';
|
|
827
910
|
type SatispayPayments = 'active' | 'inactive' | 'pending';
|
|
828
911
|
type ScalapayPayments = 'active' | 'inactive' | 'pending';
|
|
829
912
|
type SepaBankTransferPayments = 'active' | 'inactive' | 'pending';
|
|
830
913
|
type SepaDebitPayments = 'active' | 'inactive' | 'pending';
|
|
914
|
+
type ShopeepayPayments = 'active' | 'inactive' | 'pending';
|
|
831
915
|
type SofortPayments = 'active' | 'inactive' | 'pending';
|
|
916
|
+
type StripeBalancePayments = 'active' | 'inactive' | 'pending';
|
|
832
917
|
type SunbitPayments = 'active' | 'inactive' | 'pending';
|
|
833
918
|
type SwishPayments = 'active' | 'inactive' | 'pending';
|
|
834
919
|
type TaxReportingUs1099K = 'active' | 'inactive' | 'pending';
|
|
835
920
|
type TaxReportingUs1099Misc = 'active' | 'inactive' | 'pending';
|
|
836
921
|
type Transfers = 'active' | 'inactive' | 'pending';
|
|
837
922
|
type Treasury = 'active' | 'inactive' | 'pending';
|
|
923
|
+
type TreasuryEvolve = 'active' | 'inactive' | 'pending';
|
|
924
|
+
type TreasuryFifthThird = 'active' | 'inactive' | 'pending';
|
|
925
|
+
type TreasuryGoldmanSachs = 'active' | 'inactive' | 'pending';
|
|
838
926
|
type TwintPayments = 'active' | 'inactive' | 'pending';
|
|
839
927
|
type UpiPayments = 'active' | 'inactive' | 'pending';
|
|
840
928
|
type UsBankAccountAchPayments = 'active' | 'inactive' | 'pending';
|
|
@@ -985,6 +1073,26 @@ export declare namespace Account {
|
|
|
985
1073
|
}
|
|
986
1074
|
}
|
|
987
1075
|
namespace Controller {
|
|
1076
|
+
interface Application {
|
|
1077
|
+
/**
|
|
1078
|
+
* `true` if the Connect application is responsible for negative balances and should manage credit and fraud risk on the account.
|
|
1079
|
+
*/
|
|
1080
|
+
loss_liable: boolean;
|
|
1081
|
+
/**
|
|
1082
|
+
* `true` if the Connect application is responsible for onboarding the account.
|
|
1083
|
+
*/
|
|
1084
|
+
onboarding_owner: boolean;
|
|
1085
|
+
/**
|
|
1086
|
+
* `true` if the Connect application is responsible for paying Stripe fees on pricing-control eligible products.
|
|
1087
|
+
*/
|
|
1088
|
+
pricing_controls: boolean;
|
|
1089
|
+
}
|
|
1090
|
+
interface Dashboard {
|
|
1091
|
+
/**
|
|
1092
|
+
* Whether this account has access to the full Stripe dashboard (`full`), to the Express dashboard (`express`), or to no dashboard (`none`).
|
|
1093
|
+
*/
|
|
1094
|
+
type: Dashboard.Type;
|
|
1095
|
+
}
|
|
988
1096
|
interface Fees {
|
|
989
1097
|
/**
|
|
990
1098
|
* 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).
|
|
@@ -1005,8 +1113,11 @@ export declare namespace Account {
|
|
|
1005
1113
|
type: StripeDashboard.Type;
|
|
1006
1114
|
}
|
|
1007
1115
|
type Type = 'account' | 'application';
|
|
1116
|
+
namespace Dashboard {
|
|
1117
|
+
type Type = 'express' | 'full' | 'none';
|
|
1118
|
+
}
|
|
1008
1119
|
namespace Fees {
|
|
1009
|
-
type Payer = 'account' | 'application' | 'application_custom' | 'application_express';
|
|
1120
|
+
type Payer = 'account' | 'application' | 'application_custom' | 'application_express' | 'application_unified_accounts_beta';
|
|
1010
1121
|
}
|
|
1011
1122
|
namespace Losses {
|
|
1012
1123
|
type Payments = 'application' | 'stripe';
|
|
@@ -1042,7 +1153,7 @@ export declare namespace Account {
|
|
|
1042
1153
|
requirement: string;
|
|
1043
1154
|
}
|
|
1044
1155
|
namespace Error {
|
|
1045
|
-
type Code = 'external_request' | 'information_missing' | 'invalid_address_city_state_postal_code' | 'invalid_address_highway_contract_box' | 'invalid_address_private_mailbox' | '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';
|
|
1156
|
+
type Code = 'external_request' | 'information_missing' | 'invalid_address_city_state_postal_code' | 'invalid_address_highway_contract_box' | 'invalid_address_private_mailbox' | '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';
|
|
1046
1157
|
}
|
|
1047
1158
|
}
|
|
1048
1159
|
namespace Requirements {
|
|
@@ -1072,9 +1183,24 @@ export declare namespace Account {
|
|
|
1072
1183
|
requirement: string;
|
|
1073
1184
|
}
|
|
1074
1185
|
namespace Error {
|
|
1075
|
-
type Code = 'external_request' | 'information_missing' | 'invalid_address_city_state_postal_code' | 'invalid_address_highway_contract_box' | 'invalid_address_private_mailbox' | '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';
|
|
1186
|
+
type Code = 'external_request' | 'information_missing' | 'invalid_address_city_state_postal_code' | 'invalid_address_highway_contract_box' | 'invalid_address_private_mailbox' | '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';
|
|
1076
1187
|
}
|
|
1077
1188
|
}
|
|
1189
|
+
namespace RiskControls {
|
|
1190
|
+
interface Charges {
|
|
1191
|
+
/**
|
|
1192
|
+
* Whether a pause of the risk control has been requested.
|
|
1193
|
+
*/
|
|
1194
|
+
pause_requested: boolean;
|
|
1195
|
+
}
|
|
1196
|
+
interface Payouts {
|
|
1197
|
+
/**
|
|
1198
|
+
* Whether a pause of the risk control has been requested.
|
|
1199
|
+
*/
|
|
1200
|
+
pause_requested: boolean;
|
|
1201
|
+
}
|
|
1202
|
+
type RejectedReason = 'credit' | 'fraud' | 'fraud_no_intent_to_fulfill' | 'fraud_other' | 'fraud_payment_method_casher' | 'fraud_payment_method_tester' | 'other' | 'terms_of_service';
|
|
1203
|
+
}
|
|
1078
1204
|
namespace Settings {
|
|
1079
1205
|
interface BacsDebitPayments {
|
|
1080
1206
|
/**
|
|
@@ -1086,6 +1212,16 @@ export declare namespace Account {
|
|
|
1086
1212
|
*/
|
|
1087
1213
|
service_user_number: string | null;
|
|
1088
1214
|
}
|
|
1215
|
+
interface BankBcaOnboarding {
|
|
1216
|
+
/**
|
|
1217
|
+
* Bank BCA business account holder name.
|
|
1218
|
+
*/
|
|
1219
|
+
account_holder_name?: string;
|
|
1220
|
+
/**
|
|
1221
|
+
* Bank BCA business account number.
|
|
1222
|
+
*/
|
|
1223
|
+
business_account_number?: string;
|
|
1224
|
+
}
|
|
1089
1225
|
interface Branding {
|
|
1090
1226
|
/**
|
|
1091
1227
|
* (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.
|
|
@@ -1143,6 +1279,10 @@ export declare namespace Account {
|
|
|
1143
1279
|
hosted_payment_method_save: Invoices.HostedPaymentMethodSave | null;
|
|
1144
1280
|
}
|
|
1145
1281
|
interface Payments {
|
|
1282
|
+
/**
|
|
1283
|
+
* 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`.
|
|
1284
|
+
*/
|
|
1285
|
+
email_customers_on_successful_payment?: boolean | null;
|
|
1146
1286
|
/**
|
|
1147
1287
|
* 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.
|
|
1148
1288
|
*/
|
|
@@ -1175,12 +1315,32 @@ export declare namespace Account {
|
|
|
1175
1315
|
*/
|
|
1176
1316
|
statement_descriptor: string | null;
|
|
1177
1317
|
}
|
|
1318
|
+
interface PaypayPayments {
|
|
1319
|
+
/**
|
|
1320
|
+
* Additional files that are required to support the onboarding process of your business.
|
|
1321
|
+
*/
|
|
1322
|
+
additional_files?: Array<string>;
|
|
1323
|
+
/**
|
|
1324
|
+
* The type of goods your business sells. Use `digital_content` if you sell digital content. Use `other` for all other types of goods or services.
|
|
1325
|
+
*/
|
|
1326
|
+
goods_type?: PaypayPayments.GoodsType;
|
|
1327
|
+
site?: PaypayPayments.Site;
|
|
1328
|
+
}
|
|
1178
1329
|
interface SepaDebitPayments {
|
|
1179
1330
|
/**
|
|
1180
1331
|
* SEPA creditor identifier that identifies the company making the payment.
|
|
1181
1332
|
*/
|
|
1182
1333
|
creditor_id?: string;
|
|
1183
1334
|
}
|
|
1335
|
+
interface SmartDisputes {
|
|
1336
|
+
auto_respond: SmartDisputes.AutoRespond;
|
|
1337
|
+
}
|
|
1338
|
+
interface TaxForms {
|
|
1339
|
+
/**
|
|
1340
|
+
* Whether the account opted out of receiving their tax forms by postal delivery.
|
|
1341
|
+
*/
|
|
1342
|
+
consented_to_paperless_delivery: boolean;
|
|
1343
|
+
}
|
|
1184
1344
|
interface Treasury {
|
|
1185
1345
|
tos_acceptance?: Treasury.TosAcceptance;
|
|
1186
1346
|
}
|
|
@@ -1246,6 +1406,55 @@ export declare namespace Account {
|
|
|
1246
1406
|
type WeeklyPayoutDay = 'friday' | 'monday' | 'thursday' | 'tuesday' | 'wednesday';
|
|
1247
1407
|
}
|
|
1248
1408
|
}
|
|
1409
|
+
namespace PaypayPayments {
|
|
1410
|
+
type GoodsType = 'digital_content' | 'other';
|
|
1411
|
+
interface Site {
|
|
1412
|
+
accessible?: Site.Accessible;
|
|
1413
|
+
in_development?: Site.InDevelopment;
|
|
1414
|
+
restricted?: Site.Restricted;
|
|
1415
|
+
/**
|
|
1416
|
+
* The status of your business's website.
|
|
1417
|
+
*/
|
|
1418
|
+
type?: Site.Type;
|
|
1419
|
+
}
|
|
1420
|
+
namespace Site {
|
|
1421
|
+
interface Accessible {
|
|
1422
|
+
}
|
|
1423
|
+
interface InDevelopment {
|
|
1424
|
+
/**
|
|
1425
|
+
* Field to indicate that the website password has been provided.
|
|
1426
|
+
*/
|
|
1427
|
+
password_provided?: boolean;
|
|
1428
|
+
/**
|
|
1429
|
+
* The username needed to access your business's website.
|
|
1430
|
+
*/
|
|
1431
|
+
username: string | null;
|
|
1432
|
+
}
|
|
1433
|
+
interface Restricted {
|
|
1434
|
+
/**
|
|
1435
|
+
* File explaining the payment flow for your business.
|
|
1436
|
+
*/
|
|
1437
|
+
payment_flow_file: string | null;
|
|
1438
|
+
}
|
|
1439
|
+
type Type = 'accessible' | 'in_development' | 'restricted';
|
|
1440
|
+
}
|
|
1441
|
+
}
|
|
1442
|
+
namespace SmartDisputes {
|
|
1443
|
+
interface AutoRespond {
|
|
1444
|
+
/**
|
|
1445
|
+
* The preference setting for auto-respond. Can be 'on', 'off', or 'inherit'.
|
|
1446
|
+
*/
|
|
1447
|
+
preference: AutoRespond.Preference;
|
|
1448
|
+
/**
|
|
1449
|
+
* The effective value for auto-respond. Can be 'on' or 'off'.
|
|
1450
|
+
*/
|
|
1451
|
+
value: AutoRespond.Value;
|
|
1452
|
+
}
|
|
1453
|
+
namespace AutoRespond {
|
|
1454
|
+
type Preference = 'inherit' | 'off' | 'on';
|
|
1455
|
+
type Value = 'off' | 'on';
|
|
1456
|
+
}
|
|
1457
|
+
}
|
|
1249
1458
|
namespace Treasury {
|
|
1250
1459
|
interface TosAcceptance {
|
|
1251
1460
|
/**
|
|
@@ -1334,6 +1543,10 @@ export interface AccountCreateParams {
|
|
|
1334
1543
|
* 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`.
|
|
1335
1544
|
*/
|
|
1336
1545
|
metadata?: Emptyable<MetadataParam>;
|
|
1546
|
+
/**
|
|
1547
|
+
* 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).
|
|
1548
|
+
*/
|
|
1549
|
+
risk_controls?: AccountCreateParams.RiskControls;
|
|
1337
1550
|
/**
|
|
1338
1551
|
* Options for customizing how the account functions within Stripe.
|
|
1339
1552
|
*/
|
|
@@ -1377,6 +1590,10 @@ export declare namespace AccountCreateParams {
|
|
|
1377
1590
|
* Internal-only description of the product sold by, or service provided by, the business. Used by Stripe for risk and underwriting purposes.
|
|
1378
1591
|
*/
|
|
1379
1592
|
product_description?: string;
|
|
1593
|
+
/**
|
|
1594
|
+
* A link to the business's publicly available terms related to the Specified Commercial Transaction Act. Used by the Checkout product and for Japanese payment methods.
|
|
1595
|
+
*/
|
|
1596
|
+
specified_commercial_transactions_act_url?: Emptyable<string>;
|
|
1380
1597
|
/**
|
|
1381
1598
|
* A publicly available mailing address for sending support issues to.
|
|
1382
1599
|
*/
|
|
@@ -1428,6 +1645,10 @@ export declare namespace AccountCreateParams {
|
|
|
1428
1645
|
* The au_becs_debit_payments capability.
|
|
1429
1646
|
*/
|
|
1430
1647
|
au_becs_debit_payments?: Capabilities.AuBecsDebitPayments;
|
|
1648
|
+
/**
|
|
1649
|
+
* The automatic_indirect_tax capability.
|
|
1650
|
+
*/
|
|
1651
|
+
automatic_indirect_tax?: Capabilities.AutomaticIndirectTax;
|
|
1431
1652
|
/**
|
|
1432
1653
|
* The bacs_debit_payments capability.
|
|
1433
1654
|
*/
|
|
@@ -1492,10 +1713,22 @@ export declare namespace AccountCreateParams {
|
|
|
1492
1713
|
* The giropay_payments capability.
|
|
1493
1714
|
*/
|
|
1494
1715
|
giropay_payments?: Capabilities.GiropayPayments;
|
|
1716
|
+
/**
|
|
1717
|
+
* The gopay_payments capability.
|
|
1718
|
+
*/
|
|
1719
|
+
gopay_payments?: Capabilities.GopayPayments;
|
|
1495
1720
|
/**
|
|
1496
1721
|
* The grabpay_payments capability.
|
|
1497
1722
|
*/
|
|
1498
1723
|
grabpay_payments?: Capabilities.GrabpayPayments;
|
|
1724
|
+
/**
|
|
1725
|
+
* The id_bank_transfer_payments capability.
|
|
1726
|
+
*/
|
|
1727
|
+
id_bank_transfer_payments?: Capabilities.IdBankTransferPayments;
|
|
1728
|
+
/**
|
|
1729
|
+
* The id_bank_transfer_payments_bca capability.
|
|
1730
|
+
*/
|
|
1731
|
+
id_bank_transfer_payments_bca?: Capabilities.IdBankTransferPaymentsBca;
|
|
1499
1732
|
/**
|
|
1500
1733
|
* The ideal_payments capability.
|
|
1501
1734
|
*/
|
|
@@ -1580,6 +1813,14 @@ export declare namespace AccountCreateParams {
|
|
|
1580
1813
|
* The paynow_payments capability.
|
|
1581
1814
|
*/
|
|
1582
1815
|
paynow_payments?: Capabilities.PaynowPayments;
|
|
1816
|
+
/**
|
|
1817
|
+
* The paypal_payments capability.
|
|
1818
|
+
*/
|
|
1819
|
+
paypal_payments?: Capabilities.PaypalPayments;
|
|
1820
|
+
/**
|
|
1821
|
+
* The paypay_payments capability.
|
|
1822
|
+
*/
|
|
1823
|
+
paypay_payments?: Capabilities.PaypayPayments;
|
|
1583
1824
|
/**
|
|
1584
1825
|
* The payto_payments capability.
|
|
1585
1826
|
*/
|
|
@@ -1592,6 +1833,14 @@ export declare namespace AccountCreateParams {
|
|
|
1592
1833
|
* The promptpay_payments capability.
|
|
1593
1834
|
*/
|
|
1594
1835
|
promptpay_payments?: Capabilities.PromptpayPayments;
|
|
1836
|
+
/**
|
|
1837
|
+
* The qris_payments capability.
|
|
1838
|
+
*/
|
|
1839
|
+
qris_payments?: Capabilities.QrisPayments;
|
|
1840
|
+
/**
|
|
1841
|
+
* The rechnung_payments capability.
|
|
1842
|
+
*/
|
|
1843
|
+
rechnung_payments?: Capabilities.RechnungPayments;
|
|
1595
1844
|
/**
|
|
1596
1845
|
* The revolut_pay_payments capability.
|
|
1597
1846
|
*/
|
|
@@ -1616,10 +1865,18 @@ export declare namespace AccountCreateParams {
|
|
|
1616
1865
|
* The sepa_debit_payments capability.
|
|
1617
1866
|
*/
|
|
1618
1867
|
sepa_debit_payments?: Capabilities.SepaDebitPayments;
|
|
1868
|
+
/**
|
|
1869
|
+
* The shopeepay_payments capability.
|
|
1870
|
+
*/
|
|
1871
|
+
shopeepay_payments?: Capabilities.ShopeepayPayments;
|
|
1619
1872
|
/**
|
|
1620
1873
|
* The sofort_payments capability.
|
|
1621
1874
|
*/
|
|
1622
1875
|
sofort_payments?: Capabilities.SofortPayments;
|
|
1876
|
+
/**
|
|
1877
|
+
* The stripe_balance_payments capability.
|
|
1878
|
+
*/
|
|
1879
|
+
stripe_balance_payments?: Capabilities.StripeBalancePayments;
|
|
1623
1880
|
/**
|
|
1624
1881
|
* The sunbit_payments capability.
|
|
1625
1882
|
*/
|
|
@@ -1644,6 +1901,18 @@ export declare namespace AccountCreateParams {
|
|
|
1644
1901
|
* The treasury capability.
|
|
1645
1902
|
*/
|
|
1646
1903
|
treasury?: Capabilities.Treasury;
|
|
1904
|
+
/**
|
|
1905
|
+
* The treasury_evolve capability.
|
|
1906
|
+
*/
|
|
1907
|
+
treasury_evolve?: Capabilities.TreasuryEvolve;
|
|
1908
|
+
/**
|
|
1909
|
+
* The treasury_fifth_third capability.
|
|
1910
|
+
*/
|
|
1911
|
+
treasury_fifth_third?: Capabilities.TreasuryFifthThird;
|
|
1912
|
+
/**
|
|
1913
|
+
* The treasury_goldman_sachs capability.
|
|
1914
|
+
*/
|
|
1915
|
+
treasury_goldman_sachs?: Capabilities.TreasuryGoldmanSachs;
|
|
1647
1916
|
/**
|
|
1648
1917
|
* The twint_payments capability.
|
|
1649
1918
|
*/
|
|
@@ -1760,6 +2029,14 @@ export declare namespace AccountCreateParams {
|
|
|
1760
2029
|
verification?: Company.Verification;
|
|
1761
2030
|
}
|
|
1762
2031
|
interface Controller {
|
|
2032
|
+
/**
|
|
2033
|
+
* A hash of configuration describing the Connect application that controls the account.
|
|
2034
|
+
*/
|
|
2035
|
+
application?: Controller.Application;
|
|
2036
|
+
/**
|
|
2037
|
+
* Properties of the account's dashboard.
|
|
2038
|
+
*/
|
|
2039
|
+
dashboard?: Controller.Dashboard;
|
|
1763
2040
|
/**
|
|
1764
2041
|
* A hash of configuration for who pays Stripe fees for product usage on this account.
|
|
1765
2042
|
*/
|
|
@@ -1945,15 +2222,33 @@ export declare namespace AccountCreateParams {
|
|
|
1945
2222
|
*/
|
|
1946
2223
|
verification?: Individual.Verification;
|
|
1947
2224
|
}
|
|
2225
|
+
interface RiskControls {
|
|
2226
|
+
/**
|
|
2227
|
+
* 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).
|
|
2228
|
+
*/
|
|
2229
|
+
charges?: RiskControls.Charges;
|
|
2230
|
+
/**
|
|
2231
|
+
* 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).
|
|
2232
|
+
*/
|
|
2233
|
+
payouts?: RiskControls.Payouts;
|
|
2234
|
+
}
|
|
1948
2235
|
interface Settings {
|
|
1949
2236
|
/**
|
|
1950
2237
|
* Settings specific to Bacs Direct Debit.
|
|
1951
2238
|
*/
|
|
1952
2239
|
bacs_debit_payments?: Settings.BacsDebitPayments;
|
|
2240
|
+
/**
|
|
2241
|
+
* Settings specific to bank BCA onboarding for Indonesia bank transfers payments method.
|
|
2242
|
+
*/
|
|
2243
|
+
bank_bca_onboarding?: Settings.BankBcaOnboarding;
|
|
1953
2244
|
/**
|
|
1954
2245
|
* Settings used to apply the account's branding to email receipts, invoices, Checkout, and other products.
|
|
1955
2246
|
*/
|
|
1956
2247
|
branding?: Settings.Branding;
|
|
2248
|
+
/**
|
|
2249
|
+
* Settings specific to the account's use of the Capital product.
|
|
2250
|
+
*/
|
|
2251
|
+
capital?: Settings.Capital;
|
|
1957
2252
|
/**
|
|
1958
2253
|
* Settings specific to the account's use of the Card Issuing product.
|
|
1959
2254
|
*/
|
|
@@ -1974,6 +2269,18 @@ export declare namespace AccountCreateParams {
|
|
|
1974
2269
|
* Settings specific to the account's payouts.
|
|
1975
2270
|
*/
|
|
1976
2271
|
payouts?: Settings.Payouts;
|
|
2272
|
+
/**
|
|
2273
|
+
* Settings specific to the PayPay payments method.
|
|
2274
|
+
*/
|
|
2275
|
+
paypay_payments?: Settings.PaypayPayments;
|
|
2276
|
+
/**
|
|
2277
|
+
* Settings specific to the account's use of Smart Disputes.
|
|
2278
|
+
*/
|
|
2279
|
+
smart_disputes?: Settings.SmartDisputes;
|
|
2280
|
+
/**
|
|
2281
|
+
* Settings specific to the account's tax forms.
|
|
2282
|
+
*/
|
|
2283
|
+
tax_forms?: Settings.TaxForms;
|
|
1977
2284
|
/**
|
|
1978
2285
|
* Settings specific to the account's Treasury FinancialAccounts.
|
|
1979
2286
|
*/
|
|
@@ -2068,6 +2375,12 @@ export declare namespace AccountCreateParams {
|
|
|
2068
2375
|
*/
|
|
2069
2376
|
requested?: boolean;
|
|
2070
2377
|
}
|
|
2378
|
+
interface AutomaticIndirectTax {
|
|
2379
|
+
/**
|
|
2380
|
+
* 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.
|
|
2381
|
+
*/
|
|
2382
|
+
requested?: boolean;
|
|
2383
|
+
}
|
|
2071
2384
|
interface BacsDebitPayments {
|
|
2072
2385
|
/**
|
|
2073
2386
|
* 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.
|
|
@@ -2164,12 +2477,30 @@ export declare namespace AccountCreateParams {
|
|
|
2164
2477
|
*/
|
|
2165
2478
|
requested?: boolean;
|
|
2166
2479
|
}
|
|
2480
|
+
interface GopayPayments {
|
|
2481
|
+
/**
|
|
2482
|
+
* 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.
|
|
2483
|
+
*/
|
|
2484
|
+
requested?: boolean;
|
|
2485
|
+
}
|
|
2167
2486
|
interface GrabpayPayments {
|
|
2168
2487
|
/**
|
|
2169
2488
|
* 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.
|
|
2170
2489
|
*/
|
|
2171
2490
|
requested?: boolean;
|
|
2172
2491
|
}
|
|
2492
|
+
interface IdBankTransferPayments {
|
|
2493
|
+
/**
|
|
2494
|
+
* 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.
|
|
2495
|
+
*/
|
|
2496
|
+
requested?: boolean;
|
|
2497
|
+
}
|
|
2498
|
+
interface IdBankTransferPaymentsBca {
|
|
2499
|
+
/**
|
|
2500
|
+
* 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.
|
|
2501
|
+
*/
|
|
2502
|
+
requested?: boolean;
|
|
2503
|
+
}
|
|
2173
2504
|
interface IdealPayments {
|
|
2174
2505
|
/**
|
|
2175
2506
|
* 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.
|
|
@@ -2296,6 +2627,18 @@ export declare namespace AccountCreateParams {
|
|
|
2296
2627
|
*/
|
|
2297
2628
|
requested?: boolean;
|
|
2298
2629
|
}
|
|
2630
|
+
interface PaypalPayments {
|
|
2631
|
+
/**
|
|
2632
|
+
* 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.
|
|
2633
|
+
*/
|
|
2634
|
+
requested?: boolean;
|
|
2635
|
+
}
|
|
2636
|
+
interface PaypayPayments {
|
|
2637
|
+
/**
|
|
2638
|
+
* 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.
|
|
2639
|
+
*/
|
|
2640
|
+
requested?: boolean;
|
|
2641
|
+
}
|
|
2299
2642
|
interface PaytoPayments {
|
|
2300
2643
|
/**
|
|
2301
2644
|
* 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.
|
|
@@ -2314,6 +2657,18 @@ export declare namespace AccountCreateParams {
|
|
|
2314
2657
|
*/
|
|
2315
2658
|
requested?: boolean;
|
|
2316
2659
|
}
|
|
2660
|
+
interface QrisPayments {
|
|
2661
|
+
/**
|
|
2662
|
+
* 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.
|
|
2663
|
+
*/
|
|
2664
|
+
requested?: boolean;
|
|
2665
|
+
}
|
|
2666
|
+
interface RechnungPayments {
|
|
2667
|
+
/**
|
|
2668
|
+
* 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.
|
|
2669
|
+
*/
|
|
2670
|
+
requested?: boolean;
|
|
2671
|
+
}
|
|
2317
2672
|
interface RevolutPayPayments {
|
|
2318
2673
|
/**
|
|
2319
2674
|
* 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.
|
|
@@ -2350,12 +2705,24 @@ export declare namespace AccountCreateParams {
|
|
|
2350
2705
|
*/
|
|
2351
2706
|
requested?: boolean;
|
|
2352
2707
|
}
|
|
2708
|
+
interface ShopeepayPayments {
|
|
2709
|
+
/**
|
|
2710
|
+
* 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.
|
|
2711
|
+
*/
|
|
2712
|
+
requested?: boolean;
|
|
2713
|
+
}
|
|
2353
2714
|
interface SofortPayments {
|
|
2354
2715
|
/**
|
|
2355
2716
|
* 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.
|
|
2356
2717
|
*/
|
|
2357
2718
|
requested?: boolean;
|
|
2358
2719
|
}
|
|
2720
|
+
interface StripeBalancePayments {
|
|
2721
|
+
/**
|
|
2722
|
+
* 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.
|
|
2723
|
+
*/
|
|
2724
|
+
requested?: boolean;
|
|
2725
|
+
}
|
|
2359
2726
|
interface SunbitPayments {
|
|
2360
2727
|
/**
|
|
2361
2728
|
* 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.
|
|
@@ -2392,6 +2759,24 @@ export declare namespace AccountCreateParams {
|
|
|
2392
2759
|
*/
|
|
2393
2760
|
requested?: boolean;
|
|
2394
2761
|
}
|
|
2762
|
+
interface TreasuryEvolve {
|
|
2763
|
+
/**
|
|
2764
|
+
* 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.
|
|
2765
|
+
*/
|
|
2766
|
+
requested?: boolean;
|
|
2767
|
+
}
|
|
2768
|
+
interface TreasuryFifthThird {
|
|
2769
|
+
/**
|
|
2770
|
+
* 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.
|
|
2771
|
+
*/
|
|
2772
|
+
requested?: boolean;
|
|
2773
|
+
}
|
|
2774
|
+
interface TreasuryGoldmanSachs {
|
|
2775
|
+
/**
|
|
2776
|
+
* 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.
|
|
2777
|
+
*/
|
|
2778
|
+
requested?: boolean;
|
|
2779
|
+
}
|
|
2395
2780
|
interface TwintPayments {
|
|
2396
2781
|
/**
|
|
2397
2782
|
* 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.
|
|
@@ -2502,6 +2887,26 @@ export declare namespace AccountCreateParams {
|
|
|
2502
2887
|
}
|
|
2503
2888
|
}
|
|
2504
2889
|
namespace Controller {
|
|
2890
|
+
interface Application {
|
|
2891
|
+
/**
|
|
2892
|
+
* Whether the controller is liable for losses on this account. For details, see [Understanding Connect Account Balances](https://docs.stripe.com/connect/account-balances).
|
|
2893
|
+
*/
|
|
2894
|
+
loss_liable: boolean;
|
|
2895
|
+
/**
|
|
2896
|
+
* Whether the controller owns onboarding for this account.
|
|
2897
|
+
*/
|
|
2898
|
+
onboarding_owner?: boolean;
|
|
2899
|
+
/**
|
|
2900
|
+
* Whether the controller has pricing controls for this account.
|
|
2901
|
+
*/
|
|
2902
|
+
pricing_controls?: boolean;
|
|
2903
|
+
}
|
|
2904
|
+
interface Dashboard {
|
|
2905
|
+
/**
|
|
2906
|
+
* 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`.
|
|
2907
|
+
*/
|
|
2908
|
+
type?: Dashboard.Type;
|
|
2909
|
+
}
|
|
2505
2910
|
interface Fees {
|
|
2506
2911
|
/**
|
|
2507
2912
|
* A value indicating the responsible payer of Stripe fees on this account. Defaults to `account`. Learn more about [fee behavior on connected accounts](https://docs.stripe.com/connect/direct-charges-fee-payer-behavior).
|
|
@@ -2521,6 +2926,9 @@ export declare namespace AccountCreateParams {
|
|
|
2521
2926
|
*/
|
|
2522
2927
|
type?: StripeDashboard.Type;
|
|
2523
2928
|
}
|
|
2929
|
+
namespace Dashboard {
|
|
2930
|
+
type Type = 'express' | 'full' | 'none';
|
|
2931
|
+
}
|
|
2524
2932
|
namespace Fees {
|
|
2525
2933
|
type Payer = 'account' | 'application';
|
|
2526
2934
|
}
|
|
@@ -2682,6 +3090,22 @@ export declare namespace AccountCreateParams {
|
|
|
2682
3090
|
}
|
|
2683
3091
|
}
|
|
2684
3092
|
}
|
|
3093
|
+
namespace RiskControls {
|
|
3094
|
+
interface Charges {
|
|
3095
|
+
/**
|
|
3096
|
+
* To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
|
|
3097
|
+
* There can be a delay before the risk control is paused or unpaused.
|
|
3098
|
+
*/
|
|
3099
|
+
pause_requested?: boolean;
|
|
3100
|
+
}
|
|
3101
|
+
interface Payouts {
|
|
3102
|
+
/**
|
|
3103
|
+
* To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
|
|
3104
|
+
* There can be a delay before the risk control is paused or unpaused.
|
|
3105
|
+
*/
|
|
3106
|
+
pause_requested?: boolean;
|
|
3107
|
+
}
|
|
3108
|
+
}
|
|
2685
3109
|
namespace Settings {
|
|
2686
3110
|
interface BacsDebitPayments {
|
|
2687
3111
|
/**
|
|
@@ -2689,6 +3113,16 @@ export declare namespace AccountCreateParams {
|
|
|
2689
3113
|
*/
|
|
2690
3114
|
display_name?: string;
|
|
2691
3115
|
}
|
|
3116
|
+
interface BankBcaOnboarding {
|
|
3117
|
+
/**
|
|
3118
|
+
* Bank BCA business account holder name
|
|
3119
|
+
*/
|
|
3120
|
+
account_holder_name?: string;
|
|
3121
|
+
/**
|
|
3122
|
+
* Bank BCA business account number
|
|
3123
|
+
*/
|
|
3124
|
+
business_account_number?: string;
|
|
3125
|
+
}
|
|
2692
3126
|
interface Branding {
|
|
2693
3127
|
/**
|
|
2694
3128
|
* (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.
|
|
@@ -2707,6 +3141,20 @@ export declare namespace AccountCreateParams {
|
|
|
2707
3141
|
*/
|
|
2708
3142
|
secondary_color?: string;
|
|
2709
3143
|
}
|
|
3144
|
+
interface Capital {
|
|
3145
|
+
/**
|
|
3146
|
+
* Per-currency mapping of user-selected destination accounts used to pay out loans.
|
|
3147
|
+
*/
|
|
3148
|
+
payout_destination?: {
|
|
3149
|
+
[key: string]: string;
|
|
3150
|
+
};
|
|
3151
|
+
/**
|
|
3152
|
+
* Per-currency mapping of all destination accounts eligible to receive Capital financing payouts.
|
|
3153
|
+
*/
|
|
3154
|
+
payout_destination_selector?: {
|
|
3155
|
+
[key: string]: Array<string>;
|
|
3156
|
+
};
|
|
3157
|
+
}
|
|
2710
3158
|
interface CardIssuing {
|
|
2711
3159
|
/**
|
|
2712
3160
|
* Details on the account's acceptance of the [Stripe Issuing Terms and Disclosures](https://docs.stripe.com/issuing/connect/tos_acceptance).
|
|
@@ -2738,6 +3186,10 @@ export declare namespace AccountCreateParams {
|
|
|
2738
3186
|
hosted_payment_method_save?: Invoices.HostedPaymentMethodSave;
|
|
2739
3187
|
}
|
|
2740
3188
|
interface Payments {
|
|
3189
|
+
/**
|
|
3190
|
+
* 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`.
|
|
3191
|
+
*/
|
|
3192
|
+
email_customers_on_successful_payment?: boolean;
|
|
2741
3193
|
/**
|
|
2742
3194
|
* 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).
|
|
2743
3195
|
*/
|
|
@@ -2765,6 +3217,32 @@ export declare namespace AccountCreateParams {
|
|
|
2765
3217
|
*/
|
|
2766
3218
|
statement_descriptor?: string;
|
|
2767
3219
|
}
|
|
3220
|
+
interface PaypayPayments {
|
|
3221
|
+
/**
|
|
3222
|
+
* Additional files that are required to support the onboarding process of your business.
|
|
3223
|
+
*/
|
|
3224
|
+
additional_files?: Array<string>;
|
|
3225
|
+
/**
|
|
3226
|
+
* The type of goods your business sells. Use `digital_content` if you sell digital content. Use `other` for all other types of goods or services.
|
|
3227
|
+
*/
|
|
3228
|
+
goods_type?: PaypayPayments.GoodsType;
|
|
3229
|
+
/**
|
|
3230
|
+
* Details regarding your business's website.
|
|
3231
|
+
*/
|
|
3232
|
+
site?: PaypayPayments.Site;
|
|
3233
|
+
}
|
|
3234
|
+
interface SmartDisputes {
|
|
3235
|
+
/**
|
|
3236
|
+
* Smart Disputes auto-respond settings for the account.
|
|
3237
|
+
*/
|
|
3238
|
+
auto_respond?: SmartDisputes.AutoRespond;
|
|
3239
|
+
}
|
|
3240
|
+
interface TaxForms {
|
|
3241
|
+
/**
|
|
3242
|
+
* Whether the account opted out of receiving their tax forms by postal delivery.
|
|
3243
|
+
*/
|
|
3244
|
+
consented_to_paperless_delivery?: boolean;
|
|
3245
|
+
}
|
|
2768
3246
|
interface Treasury {
|
|
2769
3247
|
/**
|
|
2770
3248
|
* Details on the account's acceptance of the Stripe Treasury Services Agreement.
|
|
@@ -2835,6 +3313,59 @@ export declare namespace AccountCreateParams {
|
|
|
2835
3313
|
type WeeklyPayoutDay = 'friday' | 'monday' | 'thursday' | 'tuesday' | 'wednesday';
|
|
2836
3314
|
}
|
|
2837
3315
|
}
|
|
3316
|
+
namespace PaypayPayments {
|
|
3317
|
+
type GoodsType = 'digital_content' | 'other';
|
|
3318
|
+
interface Site {
|
|
3319
|
+
/**
|
|
3320
|
+
* Additional information about your business's website.
|
|
3321
|
+
*/
|
|
3322
|
+
accessible?: Site.Accessible;
|
|
3323
|
+
/**
|
|
3324
|
+
* Additional information about your business's website.
|
|
3325
|
+
*/
|
|
3326
|
+
in_development?: Site.InDevelopment;
|
|
3327
|
+
/**
|
|
3328
|
+
* Additional information about your business's website.
|
|
3329
|
+
*/
|
|
3330
|
+
restricted?: Site.Restricted;
|
|
3331
|
+
/**
|
|
3332
|
+
* The status of your business's website.
|
|
3333
|
+
*/
|
|
3334
|
+
type?: Site.Type;
|
|
3335
|
+
}
|
|
3336
|
+
namespace Site {
|
|
3337
|
+
interface Accessible {
|
|
3338
|
+
}
|
|
3339
|
+
interface InDevelopment {
|
|
3340
|
+
/**
|
|
3341
|
+
* The password needed to access your business's website.
|
|
3342
|
+
*/
|
|
3343
|
+
password: string;
|
|
3344
|
+
/**
|
|
3345
|
+
* The username needed to access your business's website.
|
|
3346
|
+
*/
|
|
3347
|
+
username?: string;
|
|
3348
|
+
}
|
|
3349
|
+
interface Restricted {
|
|
3350
|
+
/**
|
|
3351
|
+
* The file explaining the payment flow for your business.
|
|
3352
|
+
*/
|
|
3353
|
+
payment_flow_file?: string;
|
|
3354
|
+
}
|
|
3355
|
+
type Type = 'accessible' | 'in_development' | 'restricted';
|
|
3356
|
+
}
|
|
3357
|
+
}
|
|
3358
|
+
namespace SmartDisputes {
|
|
3359
|
+
interface AutoRespond {
|
|
3360
|
+
/**
|
|
3361
|
+
* The preference setting for auto-respond. Can be 'on', 'off', or 'inherit'.
|
|
3362
|
+
*/
|
|
3363
|
+
preference?: AutoRespond.Preference;
|
|
3364
|
+
}
|
|
3365
|
+
namespace AutoRespond {
|
|
3366
|
+
type Preference = 'inherit' | 'off' | 'on';
|
|
3367
|
+
}
|
|
3368
|
+
}
|
|
2838
3369
|
namespace Treasury {
|
|
2839
3370
|
interface TosAcceptance {
|
|
2840
3371
|
/**
|
|
@@ -2921,6 +3452,10 @@ export interface AccountUpdateParams {
|
|
|
2921
3452
|
* 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`.
|
|
2922
3453
|
*/
|
|
2923
3454
|
metadata?: Emptyable<MetadataParam>;
|
|
3455
|
+
/**
|
|
3456
|
+
* 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).
|
|
3457
|
+
*/
|
|
3458
|
+
risk_controls?: AccountUpdateParams.RiskControls;
|
|
2924
3459
|
/**
|
|
2925
3460
|
* Options for customizing how the account functions within Stripe.
|
|
2926
3461
|
*/
|
|
@@ -2960,6 +3495,10 @@ export declare namespace AccountUpdateParams {
|
|
|
2960
3495
|
* Internal-only description of the product sold by, or service provided by, the business. Used by Stripe for risk and underwriting purposes.
|
|
2961
3496
|
*/
|
|
2962
3497
|
product_description?: string;
|
|
3498
|
+
/**
|
|
3499
|
+
* A link to the business's publicly available terms related to the Specified Commercial Transaction Act. Only used for accounts in Japan.
|
|
3500
|
+
*/
|
|
3501
|
+
specified_commercial_transactions_act_url?: Emptyable<string>;
|
|
2963
3502
|
/**
|
|
2964
3503
|
* A publicly available mailing address for sending support issues to.
|
|
2965
3504
|
*/
|
|
@@ -3011,6 +3550,10 @@ export declare namespace AccountUpdateParams {
|
|
|
3011
3550
|
* The au_becs_debit_payments capability.
|
|
3012
3551
|
*/
|
|
3013
3552
|
au_becs_debit_payments?: Capabilities.AuBecsDebitPayments;
|
|
3553
|
+
/**
|
|
3554
|
+
* The automatic_indirect_tax capability.
|
|
3555
|
+
*/
|
|
3556
|
+
automatic_indirect_tax?: Capabilities.AutomaticIndirectTax;
|
|
3014
3557
|
/**
|
|
3015
3558
|
* The bacs_debit_payments capability.
|
|
3016
3559
|
*/
|
|
@@ -3075,10 +3618,22 @@ export declare namespace AccountUpdateParams {
|
|
|
3075
3618
|
* The giropay_payments capability.
|
|
3076
3619
|
*/
|
|
3077
3620
|
giropay_payments?: Capabilities.GiropayPayments;
|
|
3621
|
+
/**
|
|
3622
|
+
* The gopay_payments capability.
|
|
3623
|
+
*/
|
|
3624
|
+
gopay_payments?: Capabilities.GopayPayments;
|
|
3078
3625
|
/**
|
|
3079
3626
|
* The grabpay_payments capability.
|
|
3080
3627
|
*/
|
|
3081
3628
|
grabpay_payments?: Capabilities.GrabpayPayments;
|
|
3629
|
+
/**
|
|
3630
|
+
* The id_bank_transfer_payments capability.
|
|
3631
|
+
*/
|
|
3632
|
+
id_bank_transfer_payments?: Capabilities.IdBankTransferPayments;
|
|
3633
|
+
/**
|
|
3634
|
+
* The id_bank_transfer_payments_bca capability.
|
|
3635
|
+
*/
|
|
3636
|
+
id_bank_transfer_payments_bca?: Capabilities.IdBankTransferPaymentsBca;
|
|
3082
3637
|
/**
|
|
3083
3638
|
* The ideal_payments capability.
|
|
3084
3639
|
*/
|
|
@@ -3163,6 +3718,14 @@ export declare namespace AccountUpdateParams {
|
|
|
3163
3718
|
* The paynow_payments capability.
|
|
3164
3719
|
*/
|
|
3165
3720
|
paynow_payments?: Capabilities.PaynowPayments;
|
|
3721
|
+
/**
|
|
3722
|
+
* The paypal_payments capability.
|
|
3723
|
+
*/
|
|
3724
|
+
paypal_payments?: Capabilities.PaypalPayments;
|
|
3725
|
+
/**
|
|
3726
|
+
* The paypay_payments capability.
|
|
3727
|
+
*/
|
|
3728
|
+
paypay_payments?: Capabilities.PaypayPayments;
|
|
3166
3729
|
/**
|
|
3167
3730
|
* The payto_payments capability.
|
|
3168
3731
|
*/
|
|
@@ -3175,6 +3738,14 @@ export declare namespace AccountUpdateParams {
|
|
|
3175
3738
|
* The promptpay_payments capability.
|
|
3176
3739
|
*/
|
|
3177
3740
|
promptpay_payments?: Capabilities.PromptpayPayments;
|
|
3741
|
+
/**
|
|
3742
|
+
* The qris_payments capability.
|
|
3743
|
+
*/
|
|
3744
|
+
qris_payments?: Capabilities.QrisPayments;
|
|
3745
|
+
/**
|
|
3746
|
+
* The rechnung_payments capability.
|
|
3747
|
+
*/
|
|
3748
|
+
rechnung_payments?: Capabilities.RechnungPayments;
|
|
3178
3749
|
/**
|
|
3179
3750
|
* The revolut_pay_payments capability.
|
|
3180
3751
|
*/
|
|
@@ -3199,10 +3770,18 @@ export declare namespace AccountUpdateParams {
|
|
|
3199
3770
|
* The sepa_debit_payments capability.
|
|
3200
3771
|
*/
|
|
3201
3772
|
sepa_debit_payments?: Capabilities.SepaDebitPayments;
|
|
3773
|
+
/**
|
|
3774
|
+
* The shopeepay_payments capability.
|
|
3775
|
+
*/
|
|
3776
|
+
shopeepay_payments?: Capabilities.ShopeepayPayments;
|
|
3202
3777
|
/**
|
|
3203
3778
|
* The sofort_payments capability.
|
|
3204
3779
|
*/
|
|
3205
3780
|
sofort_payments?: Capabilities.SofortPayments;
|
|
3781
|
+
/**
|
|
3782
|
+
* The stripe_balance_payments capability.
|
|
3783
|
+
*/
|
|
3784
|
+
stripe_balance_payments?: Capabilities.StripeBalancePayments;
|
|
3206
3785
|
/**
|
|
3207
3786
|
* The sunbit_payments capability.
|
|
3208
3787
|
*/
|
|
@@ -3227,6 +3806,18 @@ export declare namespace AccountUpdateParams {
|
|
|
3227
3806
|
* The treasury capability.
|
|
3228
3807
|
*/
|
|
3229
3808
|
treasury?: Capabilities.Treasury;
|
|
3809
|
+
/**
|
|
3810
|
+
* The treasury_evolve capability.
|
|
3811
|
+
*/
|
|
3812
|
+
treasury_evolve?: Capabilities.TreasuryEvolve;
|
|
3813
|
+
/**
|
|
3814
|
+
* The treasury_fifth_third capability.
|
|
3815
|
+
*/
|
|
3816
|
+
treasury_fifth_third?: Capabilities.TreasuryFifthThird;
|
|
3817
|
+
/**
|
|
3818
|
+
* The treasury_goldman_sachs capability.
|
|
3819
|
+
*/
|
|
3820
|
+
treasury_goldman_sachs?: Capabilities.TreasuryGoldmanSachs;
|
|
3230
3821
|
/**
|
|
3231
3822
|
* The twint_payments capability.
|
|
3232
3823
|
*/
|
|
@@ -3529,15 +4120,33 @@ export declare namespace AccountUpdateParams {
|
|
|
3529
4120
|
*/
|
|
3530
4121
|
verification?: Individual.Verification;
|
|
3531
4122
|
}
|
|
4123
|
+
interface RiskControls {
|
|
4124
|
+
/**
|
|
4125
|
+
* 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).
|
|
4126
|
+
*/
|
|
4127
|
+
charges?: RiskControls.Charges;
|
|
4128
|
+
/**
|
|
4129
|
+
* 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).
|
|
4130
|
+
*/
|
|
4131
|
+
payouts?: RiskControls.Payouts;
|
|
4132
|
+
}
|
|
3532
4133
|
interface Settings {
|
|
3533
4134
|
/**
|
|
3534
4135
|
* Settings specific to Bacs Direct Debit payments.
|
|
3535
4136
|
*/
|
|
3536
4137
|
bacs_debit_payments?: Settings.BacsDebitPayments;
|
|
4138
|
+
/**
|
|
4139
|
+
* Settings specific to bank BCA onboarding for Indonesia bank transfers payments method.
|
|
4140
|
+
*/
|
|
4141
|
+
bank_bca_onboarding?: Settings.BankBcaOnboarding;
|
|
3537
4142
|
/**
|
|
3538
4143
|
* Settings used to apply the account's branding to email receipts, invoices, Checkout, and other products.
|
|
3539
4144
|
*/
|
|
3540
4145
|
branding?: Settings.Branding;
|
|
4146
|
+
/**
|
|
4147
|
+
* Settings specific to the account's use of the Capital product.
|
|
4148
|
+
*/
|
|
4149
|
+
capital?: Settings.Capital;
|
|
3541
4150
|
/**
|
|
3542
4151
|
* Settings specific to the account's use of the Card Issuing product.
|
|
3543
4152
|
*/
|
|
@@ -3558,6 +4167,18 @@ export declare namespace AccountUpdateParams {
|
|
|
3558
4167
|
* Settings specific to the account's payouts.
|
|
3559
4168
|
*/
|
|
3560
4169
|
payouts?: Settings.Payouts;
|
|
4170
|
+
/**
|
|
4171
|
+
* Settings specific to the PayPay payments method.
|
|
4172
|
+
*/
|
|
4173
|
+
paypay_payments?: Settings.PaypayPayments;
|
|
4174
|
+
/**
|
|
4175
|
+
* Settings specific to the account's use of Smart Disputes.
|
|
4176
|
+
*/
|
|
4177
|
+
smart_disputes?: Settings.SmartDisputes;
|
|
4178
|
+
/**
|
|
4179
|
+
* Settings specific to the account's tax forms.
|
|
4180
|
+
*/
|
|
4181
|
+
tax_forms?: Settings.TaxForms;
|
|
3561
4182
|
/**
|
|
3562
4183
|
* Settings specific to the account's Treasury FinancialAccounts.
|
|
3563
4184
|
*/
|
|
@@ -3654,6 +4275,12 @@ export declare namespace AccountUpdateParams {
|
|
|
3654
4275
|
*/
|
|
3655
4276
|
requested?: boolean;
|
|
3656
4277
|
}
|
|
4278
|
+
interface AutomaticIndirectTax {
|
|
4279
|
+
/**
|
|
4280
|
+
* 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.
|
|
4281
|
+
*/
|
|
4282
|
+
requested?: boolean;
|
|
4283
|
+
}
|
|
3657
4284
|
interface BacsDebitPayments {
|
|
3658
4285
|
/**
|
|
3659
4286
|
* 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.
|
|
@@ -3750,12 +4377,30 @@ export declare namespace AccountUpdateParams {
|
|
|
3750
4377
|
*/
|
|
3751
4378
|
requested?: boolean;
|
|
3752
4379
|
}
|
|
4380
|
+
interface GopayPayments {
|
|
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
|
+
}
|
|
3753
4386
|
interface GrabpayPayments {
|
|
3754
4387
|
/**
|
|
3755
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.
|
|
3756
4389
|
*/
|
|
3757
4390
|
requested?: boolean;
|
|
3758
4391
|
}
|
|
4392
|
+
interface IdBankTransferPayments {
|
|
4393
|
+
/**
|
|
4394
|
+
* 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.
|
|
4395
|
+
*/
|
|
4396
|
+
requested?: boolean;
|
|
4397
|
+
}
|
|
4398
|
+
interface IdBankTransferPaymentsBca {
|
|
4399
|
+
/**
|
|
4400
|
+
* 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.
|
|
4401
|
+
*/
|
|
4402
|
+
requested?: boolean;
|
|
4403
|
+
}
|
|
3759
4404
|
interface IdealPayments {
|
|
3760
4405
|
/**
|
|
3761
4406
|
* 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.
|
|
@@ -3882,6 +4527,18 @@ export declare namespace AccountUpdateParams {
|
|
|
3882
4527
|
*/
|
|
3883
4528
|
requested?: boolean;
|
|
3884
4529
|
}
|
|
4530
|
+
interface PaypalPayments {
|
|
4531
|
+
/**
|
|
4532
|
+
* 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.
|
|
4533
|
+
*/
|
|
4534
|
+
requested?: boolean;
|
|
4535
|
+
}
|
|
4536
|
+
interface PaypayPayments {
|
|
4537
|
+
/**
|
|
4538
|
+
* 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.
|
|
4539
|
+
*/
|
|
4540
|
+
requested?: boolean;
|
|
4541
|
+
}
|
|
3885
4542
|
interface PaytoPayments {
|
|
3886
4543
|
/**
|
|
3887
4544
|
* 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.
|
|
@@ -3900,6 +4557,18 @@ export declare namespace AccountUpdateParams {
|
|
|
3900
4557
|
*/
|
|
3901
4558
|
requested?: boolean;
|
|
3902
4559
|
}
|
|
4560
|
+
interface QrisPayments {
|
|
4561
|
+
/**
|
|
4562
|
+
* 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.
|
|
4563
|
+
*/
|
|
4564
|
+
requested?: boolean;
|
|
4565
|
+
}
|
|
4566
|
+
interface RechnungPayments {
|
|
4567
|
+
/**
|
|
4568
|
+
* 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.
|
|
4569
|
+
*/
|
|
4570
|
+
requested?: boolean;
|
|
4571
|
+
}
|
|
3903
4572
|
interface RevolutPayPayments {
|
|
3904
4573
|
/**
|
|
3905
4574
|
* 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.
|
|
@@ -3936,12 +4605,24 @@ export declare namespace AccountUpdateParams {
|
|
|
3936
4605
|
*/
|
|
3937
4606
|
requested?: boolean;
|
|
3938
4607
|
}
|
|
4608
|
+
interface ShopeepayPayments {
|
|
4609
|
+
/**
|
|
4610
|
+
* 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.
|
|
4611
|
+
*/
|
|
4612
|
+
requested?: boolean;
|
|
4613
|
+
}
|
|
3939
4614
|
interface SofortPayments {
|
|
3940
4615
|
/**
|
|
3941
4616
|
* 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.
|
|
3942
4617
|
*/
|
|
3943
4618
|
requested?: boolean;
|
|
3944
4619
|
}
|
|
4620
|
+
interface StripeBalancePayments {
|
|
4621
|
+
/**
|
|
4622
|
+
* 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.
|
|
4623
|
+
*/
|
|
4624
|
+
requested?: boolean;
|
|
4625
|
+
}
|
|
3945
4626
|
interface SunbitPayments {
|
|
3946
4627
|
/**
|
|
3947
4628
|
* 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.
|
|
@@ -3978,6 +4659,24 @@ export declare namespace AccountUpdateParams {
|
|
|
3978
4659
|
*/
|
|
3979
4660
|
requested?: boolean;
|
|
3980
4661
|
}
|
|
4662
|
+
interface TreasuryEvolve {
|
|
4663
|
+
/**
|
|
4664
|
+
* 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.
|
|
4665
|
+
*/
|
|
4666
|
+
requested?: boolean;
|
|
4667
|
+
}
|
|
4668
|
+
interface TreasuryFifthThird {
|
|
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 TreasuryGoldmanSachs {
|
|
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
|
+
}
|
|
3981
4680
|
interface TwintPayments {
|
|
3982
4681
|
/**
|
|
3983
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.
|
|
@@ -4238,6 +4937,22 @@ export declare namespace AccountUpdateParams {
|
|
|
4238
4937
|
}
|
|
4239
4938
|
}
|
|
4240
4939
|
}
|
|
4940
|
+
namespace RiskControls {
|
|
4941
|
+
interface Charges {
|
|
4942
|
+
/**
|
|
4943
|
+
* To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
|
|
4944
|
+
* There can be a delay before the risk control is paused or unpaused.
|
|
4945
|
+
*/
|
|
4946
|
+
pause_requested?: boolean;
|
|
4947
|
+
}
|
|
4948
|
+
interface Payouts {
|
|
4949
|
+
/**
|
|
4950
|
+
* To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
|
|
4951
|
+
* There can be a delay before the risk control is paused or unpaused.
|
|
4952
|
+
*/
|
|
4953
|
+
pause_requested?: boolean;
|
|
4954
|
+
}
|
|
4955
|
+
}
|
|
4241
4956
|
namespace Settings {
|
|
4242
4957
|
interface BacsDebitPayments {
|
|
4243
4958
|
/**
|
|
@@ -4245,6 +4960,16 @@ export declare namespace AccountUpdateParams {
|
|
|
4245
4960
|
*/
|
|
4246
4961
|
display_name?: string;
|
|
4247
4962
|
}
|
|
4963
|
+
interface BankBcaOnboarding {
|
|
4964
|
+
/**
|
|
4965
|
+
* Bank BCA business account holder name
|
|
4966
|
+
*/
|
|
4967
|
+
account_holder_name?: string;
|
|
4968
|
+
/**
|
|
4969
|
+
* Bank BCA business account number
|
|
4970
|
+
*/
|
|
4971
|
+
business_account_number?: string;
|
|
4972
|
+
}
|
|
4248
4973
|
interface Branding {
|
|
4249
4974
|
/**
|
|
4250
4975
|
* (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.
|
|
@@ -4263,6 +4988,20 @@ export declare namespace AccountUpdateParams {
|
|
|
4263
4988
|
*/
|
|
4264
4989
|
secondary_color?: string;
|
|
4265
4990
|
}
|
|
4991
|
+
interface Capital {
|
|
4992
|
+
/**
|
|
4993
|
+
* Per-currency mapping of user-selected destination accounts used to pay out loans.
|
|
4994
|
+
*/
|
|
4995
|
+
payout_destination?: {
|
|
4996
|
+
[key: string]: string;
|
|
4997
|
+
};
|
|
4998
|
+
/**
|
|
4999
|
+
* Per-currency mapping of all destination accounts eligible to receive Capital financing payouts.
|
|
5000
|
+
*/
|
|
5001
|
+
payout_destination_selector?: {
|
|
5002
|
+
[key: string]: Array<string>;
|
|
5003
|
+
};
|
|
5004
|
+
}
|
|
4266
5005
|
interface CardIssuing {
|
|
4267
5006
|
/**
|
|
4268
5007
|
* Details on the account's acceptance of the [Stripe Issuing Terms and Disclosures](https://docs.stripe.com/issuing/connect/tos_acceptance).
|
|
@@ -4298,6 +5037,10 @@ export declare namespace AccountUpdateParams {
|
|
|
4298
5037
|
hosted_payment_method_save?: Invoices.HostedPaymentMethodSave;
|
|
4299
5038
|
}
|
|
4300
5039
|
interface Payments {
|
|
5040
|
+
/**
|
|
5041
|
+
* 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`.
|
|
5042
|
+
*/
|
|
5043
|
+
email_customers_on_successful_payment?: boolean;
|
|
4301
5044
|
/**
|
|
4302
5045
|
* 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).
|
|
4303
5046
|
*/
|
|
@@ -4325,6 +5068,32 @@ export declare namespace AccountUpdateParams {
|
|
|
4325
5068
|
*/
|
|
4326
5069
|
statement_descriptor?: string;
|
|
4327
5070
|
}
|
|
5071
|
+
interface PaypayPayments {
|
|
5072
|
+
/**
|
|
5073
|
+
* Additional files that are required to support the onboarding process of your business.
|
|
5074
|
+
*/
|
|
5075
|
+
additional_files?: Array<string>;
|
|
5076
|
+
/**
|
|
5077
|
+
* The type of goods your business sells. Use `digital_content` if you sell digital content. Use `other` for all other types of goods or services.
|
|
5078
|
+
*/
|
|
5079
|
+
goods_type?: PaypayPayments.GoodsType;
|
|
5080
|
+
/**
|
|
5081
|
+
* Details regarding your business's website.
|
|
5082
|
+
*/
|
|
5083
|
+
site?: PaypayPayments.Site;
|
|
5084
|
+
}
|
|
5085
|
+
interface SmartDisputes {
|
|
5086
|
+
/**
|
|
5087
|
+
* Smart Disputes auto-respond settings for the account.
|
|
5088
|
+
*/
|
|
5089
|
+
auto_respond?: SmartDisputes.AutoRespond;
|
|
5090
|
+
}
|
|
5091
|
+
interface TaxForms {
|
|
5092
|
+
/**
|
|
5093
|
+
* Whether the account opted out of receiving their tax forms by postal delivery.
|
|
5094
|
+
*/
|
|
5095
|
+
consented_to_paperless_delivery?: boolean;
|
|
5096
|
+
}
|
|
4328
5097
|
interface Treasury {
|
|
4329
5098
|
/**
|
|
4330
5099
|
* Details on the account's acceptance of the Stripe Treasury Services Agreement.
|
|
@@ -4395,6 +5164,59 @@ export declare namespace AccountUpdateParams {
|
|
|
4395
5164
|
type WeeklyPayoutDay = 'friday' | 'monday' | 'thursday' | 'tuesday' | 'wednesday';
|
|
4396
5165
|
}
|
|
4397
5166
|
}
|
|
5167
|
+
namespace PaypayPayments {
|
|
5168
|
+
type GoodsType = 'digital_content' | 'other';
|
|
5169
|
+
interface Site {
|
|
5170
|
+
/**
|
|
5171
|
+
* Additional information about your business's website.
|
|
5172
|
+
*/
|
|
5173
|
+
accessible?: Site.Accessible;
|
|
5174
|
+
/**
|
|
5175
|
+
* Additional information about your business's website.
|
|
5176
|
+
*/
|
|
5177
|
+
in_development?: Site.InDevelopment;
|
|
5178
|
+
/**
|
|
5179
|
+
* Additional information about your business's website.
|
|
5180
|
+
*/
|
|
5181
|
+
restricted?: Site.Restricted;
|
|
5182
|
+
/**
|
|
5183
|
+
* The status of your business's website.
|
|
5184
|
+
*/
|
|
5185
|
+
type?: Site.Type;
|
|
5186
|
+
}
|
|
5187
|
+
namespace Site {
|
|
5188
|
+
interface Accessible {
|
|
5189
|
+
}
|
|
5190
|
+
interface InDevelopment {
|
|
5191
|
+
/**
|
|
5192
|
+
* The password needed to access your business's website.
|
|
5193
|
+
*/
|
|
5194
|
+
password: string;
|
|
5195
|
+
/**
|
|
5196
|
+
* The username needed to access your business's website.
|
|
5197
|
+
*/
|
|
5198
|
+
username?: string;
|
|
5199
|
+
}
|
|
5200
|
+
interface Restricted {
|
|
5201
|
+
/**
|
|
5202
|
+
* The file explaining the payment flow for your business.
|
|
5203
|
+
*/
|
|
5204
|
+
payment_flow_file?: string;
|
|
5205
|
+
}
|
|
5206
|
+
type Type = 'accessible' | 'in_development' | 'restricted';
|
|
5207
|
+
}
|
|
5208
|
+
}
|
|
5209
|
+
namespace SmartDisputes {
|
|
5210
|
+
interface AutoRespond {
|
|
5211
|
+
/**
|
|
5212
|
+
* The preference setting for auto-respond. Can be 'on', 'off', or 'inherit'.
|
|
5213
|
+
*/
|
|
5214
|
+
preference?: AutoRespond.Preference;
|
|
5215
|
+
}
|
|
5216
|
+
namespace AutoRespond {
|
|
5217
|
+
type Preference = 'inherit' | 'off' | 'on';
|
|
5218
|
+
}
|
|
5219
|
+
}
|
|
4398
5220
|
namespace Treasury {
|
|
4399
5221
|
interface TosAcceptance {
|
|
4400
5222
|
/**
|
|
@@ -4899,6 +5721,8 @@ export interface AccountRetrievePersonParams {
|
|
|
4899
5721
|
*/
|
|
4900
5722
|
expand?: Array<string>;
|
|
4901
5723
|
}
|
|
5724
|
+
export interface AccountSerializeBatchUpdateParams {
|
|
5725
|
+
}
|
|
4902
5726
|
export interface AccountUpdateCapabilityParams {
|
|
4903
5727
|
/**
|
|
4904
5728
|
* Specifies which fields in the response should be expanded.
|