stripe 19.3.1 → 19.4.0-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1722 -12
- package/OPENAPI_VERSION +1 -1
- package/README.md +1 -0
- package/VERSION +1 -1
- package/cjs/Error.js +115 -1
- package/cjs/apiVersion.js +2 -3
- package/cjs/resources/AccountNotices.js +21 -0
- package/cjs/resources/Billing/Analytics/MeterUsage.js +12 -0
- package/cjs/resources/Capital/FinancingOffers.js +21 -0
- package/cjs/resources/Capital/FinancingSummary.js +12 -0
- package/cjs/resources/Capital/FinancingTransactions.js +17 -0
- package/cjs/resources/DelegatedCheckout/RequestedSessions.js +28 -0
- package/cjs/resources/ExternalAccounts.js +23 -0
- package/cjs/resources/FinancialConnections/Accounts.js +5 -0
- package/cjs/resources/FinancialConnections/Institutions.js +17 -0
- package/cjs/resources/FxQuotes.js +15 -0
- package/cjs/resources/Identity/BlocklistEntries.js +25 -0
- package/cjs/resources/Issuing/CreditUnderwritingRecords.js +33 -0
- package/cjs/resources/Issuing/DisputeSettlementDetails.js +17 -0
- package/cjs/resources/Issuing/FraudLiabilityDebits.js +17 -0
- package/cjs/resources/Issuing/Programs.js +22 -0
- package/cjs/resources/Mandates.js +5 -0
- package/cjs/resources/Margins.js +22 -0
- package/cjs/resources/Orders.js +24 -0
- package/cjs/resources/PaymentIntents.js +8 -0
- package/cjs/resources/PaymentMethods.js +4 -0
- package/cjs/resources/Privacy/RedactionJobs.js +42 -0
- package/cjs/resources/Quotes.js +32 -0
- package/cjs/resources/SubscriptionSchedules.js +4 -0
- package/cjs/resources/Subscriptions.js +4 -0
- package/cjs/resources/Tax/Associations.js +9 -0
- package/cjs/resources/Tax/Forms.js +20 -0
- package/cjs/resources/Terminal/OnboardingLinks.js +12 -0
- package/cjs/resources/Terminal/ReaderCollectedData.js +12 -0
- package/cjs/resources/TestHelpers/Capital/FinancingOffers.js +16 -0
- package/cjs/resources/V2/Billing/BillSettings/Versions.js +17 -0
- package/cjs/resources/V2/Billing/BillSettings.js +27 -0
- package/cjs/resources/V2/Billing/Cadences.js +23 -0
- package/cjs/resources/V2/Billing/CollectionSettings/Versions.js +17 -0
- package/cjs/resources/V2/Billing/CollectionSettings.js +30 -0
- package/cjs/resources/V2/Billing/CustomPricingUnits.js +25 -0
- package/cjs/resources/V2/Billing/Intents/Actions.js +17 -0
- package/cjs/resources/V2/Billing/Intents.js +36 -0
- package/cjs/resources/V2/Billing/LicenseFeeSubscriptions.js +12 -0
- package/cjs/resources/V2/Billing/LicenseFees/Versions.js +17 -0
- package/cjs/resources/V2/Billing/LicenseFees.js +27 -0
- package/cjs/resources/V2/Billing/LicensedItems.js +25 -0
- package/cjs/resources/V2/Billing/MeteredItems.js +22 -0
- package/cjs/resources/V2/Billing/PricingPlanSubscriptions/Components.js +12 -0
- package/cjs/resources/V2/Billing/PricingPlanSubscriptions.js +26 -0
- package/cjs/resources/V2/Billing/PricingPlans/Components.js +29 -0
- package/cjs/resources/V2/Billing/PricingPlans/Versions.js +17 -0
- package/cjs/resources/V2/Billing/PricingPlans.js +29 -0
- package/cjs/resources/V2/Billing/Profiles.js +19 -0
- package/cjs/resources/V2/Billing/RateCardSubscriptions.js +29 -0
- package/cjs/resources/V2/Billing/RateCards/Rates.js +25 -0
- package/cjs/resources/V2/Billing/RateCards/Versions.js +17 -0
- package/cjs/resources/V2/Billing/RateCards.js +29 -0
- package/cjs/resources/V2/Billing/ServiceActions.js +20 -0
- package/cjs/resources/V2/Core/AccountLinks.js +9 -0
- package/cjs/resources/V2/Core/Accounts/Persons.js +29 -0
- package/cjs/resources/V2/Core/Accounts.js +25 -0
- package/cjs/resources/V2/Core/ClaimableSandboxes.js +16 -0
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.js +33 -0
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.js +37 -0
- package/cjs/resources/V2/MoneyManagement/Adjustments.js +17 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +29 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js +21 -0
- package/cjs/resources/V2/MoneyManagement/InboundTransfers.js +21 -0
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +16 -0
- package/cjs/resources/V2/MoneyManagement/OutboundPayments.js +25 -0
- package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js +29 -0
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js +25 -0
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.js +25 -0
- package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +12 -0
- package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js +17 -0
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js +17 -0
- package/cjs/resources/V2/MoneyManagement/RecipientVerifications.js +20 -0
- package/cjs/resources/V2/MoneyManagement/TransactionEntries.js +17 -0
- package/cjs/resources/V2/MoneyManagement/Transactions.js +17 -0
- package/cjs/resources/V2/Payments/OffSessionPayments.js +29 -0
- package/cjs/resources/V2/Reporting/ReportRuns.js +13 -0
- package/cjs/resources/V2/Reporting/Reports.js +12 -0
- package/cjs/resources/V2/TestHelpers/FinancialAddresses.js +16 -0
- package/cjs/resources/V2/TestHelpers/MoneyManagement.js +12 -0
- package/cjs/resources.js +152 -8
- package/cjs/stripe.core.js +1 -1
- package/esm/Error.js +100 -0
- package/esm/apiVersion.js +1 -2
- package/esm/resources/AccountNotices.js +18 -0
- package/esm/resources/Billing/Analytics/MeterUsage.js +9 -0
- package/esm/resources/Capital/FinancingOffers.js +18 -0
- package/esm/resources/Capital/FinancingSummary.js +9 -0
- package/esm/resources/Capital/FinancingTransactions.js +14 -0
- package/esm/resources/DelegatedCheckout/RequestedSessions.js +25 -0
- package/esm/resources/ExternalAccounts.js +20 -0
- package/esm/resources/FinancialConnections/Accounts.js +5 -0
- package/esm/resources/FinancialConnections/Institutions.js +14 -0
- package/esm/resources/FxQuotes.js +12 -0
- package/esm/resources/Identity/BlocklistEntries.js +22 -0
- package/esm/resources/Issuing/CreditUnderwritingRecords.js +30 -0
- package/esm/resources/Issuing/DisputeSettlementDetails.js +14 -0
- package/esm/resources/Issuing/FraudLiabilityDebits.js +14 -0
- package/esm/resources/Issuing/Programs.js +19 -0
- package/esm/resources/Mandates.js +5 -0
- package/esm/resources/Margins.js +19 -0
- package/esm/resources/Orders.js +21 -0
- package/esm/resources/PaymentIntents.js +8 -0
- package/esm/resources/PaymentMethods.js +4 -0
- package/esm/resources/Privacy/RedactionJobs.js +39 -0
- package/esm/resources/Quotes.js +32 -0
- package/esm/resources/SubscriptionSchedules.js +4 -0
- package/esm/resources/Subscriptions.js +4 -0
- package/esm/resources/Tax/Associations.js +6 -0
- package/esm/resources/Tax/Forms.js +17 -0
- package/esm/resources/Terminal/OnboardingLinks.js +9 -0
- package/esm/resources/Terminal/ReaderCollectedData.js +9 -0
- package/esm/resources/TestHelpers/Capital/FinancingOffers.js +13 -0
- package/esm/resources/V2/Billing/BillSettings/Versions.js +14 -0
- package/esm/resources/V2/Billing/BillSettings.js +24 -0
- package/esm/resources/V2/Billing/Cadences.js +20 -0
- package/esm/resources/V2/Billing/CollectionSettings/Versions.js +14 -0
- package/esm/resources/V2/Billing/CollectionSettings.js +27 -0
- package/esm/resources/V2/Billing/CustomPricingUnits.js +22 -0
- package/esm/resources/V2/Billing/Intents/Actions.js +14 -0
- package/esm/resources/V2/Billing/Intents.js +33 -0
- package/esm/resources/V2/Billing/LicenseFeeSubscriptions.js +9 -0
- package/esm/resources/V2/Billing/LicenseFees/Versions.js +14 -0
- package/esm/resources/V2/Billing/LicenseFees.js +24 -0
- package/esm/resources/V2/Billing/LicensedItems.js +22 -0
- package/esm/resources/V2/Billing/MeteredItems.js +19 -0
- package/esm/resources/V2/Billing/PricingPlanSubscriptions/Components.js +9 -0
- package/esm/resources/V2/Billing/PricingPlanSubscriptions.js +23 -0
- package/esm/resources/V2/Billing/PricingPlans/Components.js +26 -0
- package/esm/resources/V2/Billing/PricingPlans/Versions.js +14 -0
- package/esm/resources/V2/Billing/PricingPlans.js +26 -0
- package/esm/resources/V2/Billing/Profiles.js +16 -0
- package/esm/resources/V2/Billing/RateCardSubscriptions.js +26 -0
- package/esm/resources/V2/Billing/RateCards/Rates.js +22 -0
- package/esm/resources/V2/Billing/RateCards/Versions.js +14 -0
- package/esm/resources/V2/Billing/RateCards.js +26 -0
- package/esm/resources/V2/Billing/ServiceActions.js +17 -0
- package/esm/resources/V2/Core/AccountLinks.js +6 -0
- package/esm/resources/V2/Core/Accounts/Persons.js +26 -0
- package/esm/resources/V2/Core/Accounts.js +22 -0
- package/esm/resources/V2/Core/ClaimableSandboxes.js +13 -0
- package/esm/resources/V2/Core/Vault/GbBankAccounts.js +30 -0
- package/esm/resources/V2/Core/Vault/UsBankAccounts.js +34 -0
- package/esm/resources/V2/MoneyManagement/Adjustments.js +14 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +26 -0
- package/esm/resources/V2/MoneyManagement/FinancialAddresses.js +18 -0
- package/esm/resources/V2/MoneyManagement/InboundTransfers.js +18 -0
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +13 -0
- package/esm/resources/V2/MoneyManagement/OutboundPayments.js +22 -0
- package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js +26 -0
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.js +22 -0
- package/esm/resources/V2/MoneyManagement/PayoutMethods.js +22 -0
- package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +9 -0
- package/esm/resources/V2/MoneyManagement/ReceivedCredits.js +14 -0
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.js +14 -0
- package/esm/resources/V2/MoneyManagement/RecipientVerifications.js +17 -0
- package/esm/resources/V2/MoneyManagement/TransactionEntries.js +14 -0
- package/esm/resources/V2/MoneyManagement/Transactions.js +14 -0
- package/esm/resources/V2/Payments/OffSessionPayments.js +26 -0
- package/esm/resources/V2/Reporting/ReportRuns.js +10 -0
- package/esm/resources/V2/Reporting/Reports.js +9 -0
- package/esm/resources/V2/TestHelpers/FinancialAddresses.js +13 -0
- package/esm/resources/V2/TestHelpers/MoneyManagement.js +9 -0
- package/esm/resources.js +139 -0
- package/esm/stripe.core.js +1 -1
- package/package.json +1 -1
- package/types/AccountLinksResource.d.ts +5 -1
- package/types/AccountNotices.d.ts +113 -0
- package/types/AccountNoticesResource.d.ts +98 -0
- package/types/AccountSessions.d.ts +45 -0
- package/types/AccountSessionsResource.d.ts +264 -0
- package/types/Accounts.d.ts +215 -2
- package/types/AccountsResource.d.ts +634 -2
- package/types/ApplicationFees.d.ts +6 -1
- package/types/Balance.d.ts +82 -0
- package/types/BalanceTransactions.d.ts +2 -1
- package/types/BankAccounts.d.ts +2 -0
- package/types/Billing/AlertTriggereds.d.ts +16 -1
- package/types/Billing/Alerts.d.ts +116 -1
- package/types/Billing/AlertsResource.d.ts +149 -2
- package/types/Billing/Analytics/MeterUsage.d.ts +31 -0
- package/types/Billing/Analytics/MeterUsageResource.d.ts +694 -0
- package/types/Billing/Analytics/MeterUsageRows.d.ts +58 -0
- package/types/Billing/CreditBalanceSummary.d.ts +123 -2
- package/types/Billing/CreditBalanceSummaryResource.d.ts +20 -3
- package/types/Billing/CreditBalanceTransactions.d.ts +118 -2
- package/types/Billing/CreditBalanceTransactionsResource.d.ts +12 -4
- package/types/Billing/CreditGrants.d.ts +76 -1
- package/types/Billing/CreditGrantsResource.d.ts +45 -4
- package/types/Billing/MeterEventSummaries.d.ts +7 -0
- package/types/Billing/Meters.d.ts +5 -0
- package/types/Billing/MetersResource.d.ts +17 -0
- package/types/BillingPortal/Sessions.d.ts +5 -0
- package/types/BillingPortal/SessionsResource.d.ts +12 -4
- package/types/Capabilities.d.ts +2 -0
- package/types/Capital/FinancingOffers.d.ts +188 -0
- package/types/Capital/FinancingOffersResource.d.ts +97 -0
- package/types/Capital/FinancingSummary.d.ts +106 -0
- package/types/Capital/FinancingSummaryResource.d.ts +27 -0
- package/types/Capital/FinancingTransactions.d.ts +135 -0
- package/types/Capital/FinancingTransactionsResource.d.ts +68 -0
- package/types/Cards.d.ts +19 -0
- package/types/CashBalances.d.ts +5 -0
- package/types/Charges.d.ts +190 -0
- package/types/ChargesResource.d.ts +1406 -0
- package/types/Checkout/Sessions.d.ts +427 -2
- package/types/Checkout/SessionsResource.d.ts +682 -2
- package/types/ConfirmationTokens.d.ts +139 -0
- package/types/Coupons.d.ts +35 -0
- package/types/CouponsResource.d.ts +23 -0
- package/types/CreditNoteLineItems.d.ts +17 -0
- package/types/CreditNotes.d.ts +5 -0
- package/types/CreditNotesResource.d.ts +5 -0
- package/types/CustomerBalanceTransactions.d.ts +2 -0
- package/types/CustomerCashBalanceTransactions.d.ts +2 -0
- package/types/CustomerSessions.d.ts +46 -0
- package/types/CustomerSessionsResource.d.ts +48 -2
- package/types/Customers.d.ts +2 -0
- package/types/CustomersResource.d.ts +8 -0
- package/types/DelegatedCheckout/RequestedSessions.d.ts +384 -0
- package/types/DelegatedCheckout/RequestedSessionsResource.d.ts +599 -0
- package/types/Discounts.d.ts +20 -0
- package/types/Disputes.d.ts +40 -0
- package/types/DisputesResource.d.ts +11 -0
- package/types/Errors.d.ts +85 -0
- package/types/EventTypes.d.ts +630 -0
- package/types/Events.d.ts +95 -0
- package/types/ExternalAccountsResource.d.ts +304 -0
- package/types/FinancialConnections/AccountInferredBalances.d.ts +38 -0
- package/types/FinancialConnections/Accounts.d.ts +36 -1
- package/types/FinancialConnections/AccountsResource.d.ts +40 -3
- package/types/FinancialConnections/Institutions.d.ts +98 -0
- package/types/FinancialConnections/InstitutionsResource.d.ts +47 -0
- package/types/FinancialConnections/Sessions.d.ts +51 -1
- package/types/FinancialConnections/SessionsResource.d.ts +43 -1
- package/types/FxQuotes.d.ts +155 -0
- package/types/FxQuotesResource.d.ts +130 -0
- package/types/Identity/BlocklistEntries.d.ts +78 -0
- package/types/Identity/BlocklistEntriesResource.d.ts +146 -0
- package/types/Identity/VerificationReports.d.ts +10 -0
- package/types/Identity/VerificationReportsResource.d.ts +5 -0
- package/types/Identity/VerificationSessions.d.ts +5 -0
- package/types/Identity/VerificationSessionsResource.d.ts +7 -0
- package/types/InvoiceItems.d.ts +127 -2
- package/types/InvoiceItemsResource.d.ts +117 -6
- package/types/InvoiceLineItems.d.ts +171 -3
- package/types/Invoices.d.ts +217 -5
- package/types/InvoicesResource.d.ts +1710 -2
- package/types/Issuing/CardholdersResource.d.ts +2 -1
- package/types/Issuing/CreditUnderwritingRecords.d.ts +451 -0
- package/types/Issuing/CreditUnderwritingRecordsResource.d.ts +1032 -0
- package/types/Issuing/DisputeSettlementDetails.d.ts +85 -0
- package/types/Issuing/DisputeSettlementDetailsResource.d.ts +52 -0
- package/types/Issuing/FraudLiabilityDebits.d.ts +52 -0
- package/types/Issuing/FraudLiabilityDebitsResource.d.ts +52 -0
- package/types/Issuing/Programs.d.ts +42 -0
- package/types/Issuing/ProgramsResource.d.ts +96 -0
- package/types/Issuing/Settlements.d.ts +113 -0
- package/types/Issuing/Transactions.d.ts +5 -0
- package/types/Issuing/TransactionsResource.d.ts +5 -0
- package/types/LineItems.d.ts +49 -0
- package/types/Mandates.d.ts +135 -1
- package/types/MandatesResource.d.ts +31 -0
- package/types/Margins.d.ts +56 -0
- package/types/MarginsResource.d.ts +114 -0
- package/types/Orders.d.ts +1163 -0
- package/types/OrdersResource.d.ts +3139 -0
- package/types/PaymentAttemptRecords.d.ts +141 -0
- package/types/PaymentIntentAmountDetailsLineItems.d.ts +7 -13
- package/types/PaymentIntents.d.ts +807 -27
- package/types/PaymentIntentsResource.d.ts +9828 -5019
- package/types/PaymentLinks.d.ts +6 -0
- package/types/PaymentLinksResource.d.ts +12 -0
- package/types/PaymentMethodBalances.d.ts +63 -0
- package/types/PaymentMethodConfigurations.d.ts +216 -0
- package/types/PaymentMethodConfigurationsResource.d.ts +300 -0
- package/types/PaymentMethods.d.ts +144 -0
- package/types/PaymentMethodsResource.d.ts +187 -2
- package/types/PaymentRecords.d.ts +141 -0
- package/types/Persons.d.ts +30 -0
- package/types/Prices.d.ts +22 -0
- package/types/PricesResource.d.ts +22 -0
- package/types/Privacy/RedactionJobValidationErrors.d.ts +60 -0
- package/types/Privacy/RedactionJobs.d.ts +111 -0
- package/types/Privacy/RedactionJobsResource.d.ts +230 -0
- package/types/PromotionCodes.d.ts +5 -0
- package/types/PromotionCodesResource.d.ts +10 -0
- package/types/QuoteLines.d.ts +634 -0
- package/types/QuotePreviewInvoices.d.ts +1784 -0
- package/types/QuotePreviewSubscriptionSchedules.d.ts +1108 -0
- package/types/Quotes.d.ts +982 -1
- package/types/QuotesResource.d.ts +3226 -293
- package/types/Refunds.d.ts +14 -0
- package/types/SetupAttempts.d.ts +51 -1
- package/types/SetupIntents.d.ts +239 -2
- package/types/SetupIntentsResource.d.ts +1044 -4
- package/types/Sources.d.ts +29 -0
- package/types/SubscriptionItems.d.ts +26 -0
- package/types/SubscriptionItemsResource.d.ts +109 -0
- package/types/SubscriptionSchedules.d.ts +403 -0
- package/types/SubscriptionSchedulesResource.d.ts +1404 -0
- package/types/Subscriptions.d.ts +370 -1
- package/types/SubscriptionsResource.d.ts +757 -8
- package/types/Tax/Associations.d.ts +82 -0
- package/types/Tax/AssociationsResource.d.ts +29 -0
- package/types/Tax/Forms.d.ts +220 -0
- package/types/Tax/FormsResource.d.ts +107 -0
- package/types/TaxIds.d.ts +10 -0
- package/types/TaxIdsResource.d.ts +10 -0
- package/types/Terminal/Configurations.d.ts +9 -0
- package/types/Terminal/ConfigurationsResource.d.ts +46 -18
- package/types/Terminal/OnboardingLinks.d.ts +57 -0
- package/types/Terminal/OnboardingLinksResource.d.ts +62 -0
- package/types/Terminal/ReaderCollectedData.d.ts +51 -0
- package/types/Terminal/ReaderCollectedDataResource.d.ts +29 -0
- package/types/Terminal/Readers.d.ts +20 -0
- package/types/TestHelpers/Capital/FinancingOffersResource.d.ts +130 -0
- package/types/TestHelpers/ConfirmationTokensResource.d.ts +126 -0
- package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +26 -0
- package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +26 -0
- package/types/TokensResource.d.ts +44 -0
- package/types/Transfers.d.ts +9 -0
- package/types/TransfersResource.d.ts +7 -0
- package/types/TransitBalances.d.ts +40 -0
- package/types/Treasury/FinancialAccountFeatures.d.ts +7 -0
- package/types/Treasury/FinancialAccounts.d.ts +5 -0
- package/types/Treasury/FinancialAccountsResource.d.ts +37 -0
- package/types/Treasury/OutboundTransfers.d.ts +26 -0
- package/types/Treasury/OutboundTransfersResource.d.ts +26 -0
- package/types/Treasury/ReceivedCredits.d.ts +26 -0
- package/types/Treasury/ReceivedDebits.d.ts +31 -0
- package/types/V2/Billing/BillSettingVersions.d.ts +97 -0
- package/types/V2/Billing/BillSettings/VersionsResource.d.ts +58 -0
- package/types/V2/Billing/BillSettings.d.ts +120 -0
- package/types/V2/Billing/BillSettingsResource.d.ts +241 -0
- package/types/V2/Billing/Cadences.d.ts +735 -0
- package/types/V2/Billing/CadencesResource.d.ts +516 -0
- package/types/V2/Billing/CollectionSettingVersions.d.ts +318 -0
- package/types/V2/Billing/CollectionSettings/VersionsResource.d.ts +62 -0
- package/types/V2/Billing/CollectionSettings.d.ts +341 -0
- package/types/V2/Billing/CollectionSettingsResource.d.ts +683 -0
- package/types/V2/Billing/CustomPricingUnits.d.ts +56 -0
- package/types/V2/Billing/CustomPricingUnitsResource.d.ts +122 -0
- package/types/V2/Billing/IntentActions.d.ts +459 -0
- package/types/V2/Billing/Intents/ActionsResource.d.ts +58 -0
- package/types/V2/Billing/Intents.d.ts +117 -0
- package/types/V2/Billing/IntentsResource.d.ts +575 -0
- package/types/V2/Billing/LicenseFeeSubscriptions.d.ts +64 -0
- package/types/V2/Billing/LicenseFeeSubscriptionsResource.d.ts +28 -0
- package/types/V2/Billing/LicenseFeeVersions.d.ts +106 -0
- package/types/V2/Billing/LicenseFees/VersionsResource.d.ts +58 -0
- package/types/V2/Billing/LicenseFees.d.ts +164 -0
- package/types/V2/Billing/LicenseFeesResource.d.ts +290 -0
- package/types/V2/Billing/LicensedItems.d.ts +73 -0
- package/types/V2/Billing/LicensedItemsResource.d.ts +157 -0
- package/types/V2/Billing/MeterEvents.d.ts +1 -2
- package/types/V2/Billing/MeteredItems.d.ts +101 -0
- package/types/V2/Billing/MeteredItemsResource.d.ts +189 -0
- package/types/V2/Billing/PricingPlanComponents.d.ts +109 -0
- package/types/V2/Billing/PricingPlanSubscriptionComponents.d.ts +57 -0
- package/types/V2/Billing/PricingPlanSubscriptions/ComponentsResource.d.ts +40 -0
- package/types/V2/Billing/PricingPlanSubscriptions.d.ts +144 -0
- package/types/V2/Billing/PricingPlanSubscriptionsResource.d.ts +120 -0
- package/types/V2/Billing/PricingPlanVersions.d.ts +49 -0
- package/types/V2/Billing/PricingPlans/ComponentsResource.d.ts +197 -0
- package/types/V2/Billing/PricingPlans/VersionsResource.d.ts +58 -0
- package/types/V2/Billing/PricingPlans.d.ts +84 -0
- package/types/V2/Billing/PricingPlansResource.d.ts +151 -0
- package/types/V2/Billing/Profiles.d.ts +70 -0
- package/types/V2/Billing/ProfilesResource.d.ts +150 -0
- package/types/V2/Billing/RateCardRates.d.ts +144 -0
- package/types/V2/Billing/RateCardSubscriptions.d.ts +144 -0
- package/types/V2/Billing/RateCardSubscriptionsResource.d.ts +157 -0
- package/types/V2/Billing/RateCardVersions.d.ts +39 -0
- package/types/V2/Billing/RateCards/RatesResource.d.ts +203 -0
- package/types/V2/Billing/RateCards/VersionsResource.d.ts +58 -0
- package/types/V2/Billing/RateCards.d.ts +98 -0
- package/types/V2/Billing/RateCardsResource.d.ts +162 -0
- package/types/V2/Billing/ServiceActions.d.ts +274 -0
- package/types/V2/Billing/ServiceActionsResource.d.ts +370 -0
- package/types/V2/Core/AccountLinks.d.ts +168 -0
- package/types/V2/Core/AccountLinksResource.d.ts +152 -0
- package/types/V2/Core/AccountPersons.d.ts +615 -0
- package/types/V2/Core/Accounts/PersonsResource.d.ts +1153 -0
- package/types/V2/Core/Accounts.d.ts +7478 -0
- package/types/V2/Core/AccountsResource.d.ts +6723 -0
- package/types/V2/Core/ClaimableSandboxes.d.ts +132 -0
- package/types/V2/Core/ClaimableSandboxesResource.d.ts +74 -0
- package/types/V2/Core/EventTypes.d.ts +8680 -10
- package/types/V2/Core/Events.d.ts +14 -0
- package/types/V2/Core/Vault/GbBankAccounts.d.ts +160 -0
- package/types/V2/Core/Vault/GbBankAccountsResource.d.ts +194 -0
- package/types/V2/Core/Vault/UsBankAccounts.d.ts +116 -0
- package/types/V2/Core/Vault/UsBankAccountsResource.d.ts +198 -0
- package/types/V2/FinancialAddressCreditSimulations.d.ts +27 -0
- package/types/V2/FinancialAddressGeneratedMicrodeposits.d.ts +32 -0
- package/types/V2/MoneyManagement/Adjustments.d.ts +110 -0
- package/types/V2/MoneyManagement/AdjustmentsResource.d.ts +83 -0
- package/types/V2/MoneyManagement/FinancialAccounts.d.ts +148 -0
- package/types/V2/MoneyManagement/FinancialAccountsResource.d.ts +172 -0
- package/types/V2/MoneyManagement/FinancialAddresses.d.ts +178 -0
- package/types/V2/MoneyManagement/FinancialAddressesResource.d.ts +126 -0
- package/types/V2/MoneyManagement/InboundTransfers.d.ts +212 -0
- package/types/V2/MoneyManagement/InboundTransfersResource.d.ts +144 -0
- package/types/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +170 -0
- package/types/V2/MoneyManagement/OutboundPaymentQuotesResource.d.ts +115 -0
- package/types/V2/MoneyManagement/OutboundPayments.d.ts +283 -0
- package/types/V2/MoneyManagement/OutboundPaymentsResource.d.ts +247 -0
- package/types/V2/MoneyManagement/OutboundSetupIntents.d.ts +97 -0
- package/types/V2/MoneyManagement/OutboundSetupIntentsResource.d.ts +330 -0
- package/types/V2/MoneyManagement/OutboundTransfers.d.ts +256 -0
- package/types/V2/MoneyManagement/OutboundTransfersResource.d.ts +213 -0
- package/types/V2/MoneyManagement/PayoutMethods.d.ts +201 -0
- package/types/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +93 -0
- package/types/V2/MoneyManagement/PayoutMethodsBankAccountSpecResource.d.ts +41 -0
- package/types/V2/MoneyManagement/PayoutMethodsResource.d.ts +113 -0
- package/types/V2/MoneyManagement/ReceivedCredits.d.ts +307 -0
- package/types/V2/MoneyManagement/ReceivedCreditsResource.d.ts +78 -0
- package/types/V2/MoneyManagement/ReceivedDebits.d.ts +186 -0
- package/types/V2/MoneyManagement/ReceivedDebitsResource.d.ts +48 -0
- package/types/V2/MoneyManagement/RecipientVerifications.d.ts +112 -0
- package/types/V2/MoneyManagement/RecipientVerificationsResource.d.ts +77 -0
- package/types/V2/MoneyManagement/TransactionEntries.d.ts +162 -0
- package/types/V2/MoneyManagement/TransactionEntriesResource.d.ts +82 -0
- package/types/V2/MoneyManagement/Transactions.d.ts +177 -0
- package/types/V2/MoneyManagement/TransactionsResource.d.ts +83 -0
- package/types/V2/Payments/OffSessionPayments.d.ts +326 -0
- package/types/V2/Payments/OffSessionPaymentsResource.d.ts +401 -0
- package/types/V2/Reporting/ReportRuns.d.ts +154 -0
- package/types/V2/Reporting/ReportRunsResource.d.ts +75 -0
- package/types/V2/Reporting/Reports.d.ts +120 -0
- package/types/V2/Reporting/ReportsResource.d.ts +30 -0
- package/types/V2/TestHelpers/FinancialAddressesResource.d.ts +73 -0
- package/types/V2/TestHelpers/MoneyManagementResource.d.ts +49 -0
- package/types/WebhookEndpointsResource.d.ts +74 -0
- package/types/Webhooks.d.ts +2 -0
- package/types/apiVersion.d.ts +1 -2
- package/types/index.d.ts +233 -0
- package/types/lib.d.ts +10 -0
|
@@ -87,6 +87,11 @@ declare module 'stripe' {
|
|
|
87
87
|
*/
|
|
88
88
|
metadata?: Stripe.Emptyable<Stripe.MetadataParam>;
|
|
89
89
|
|
|
90
|
+
/**
|
|
91
|
+
* 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).
|
|
92
|
+
*/
|
|
93
|
+
risk_controls?: AccountCreateParams.RiskControls;
|
|
94
|
+
|
|
90
95
|
/**
|
|
91
96
|
* Options for customizing how the account functions within Stripe.
|
|
92
97
|
*/
|
|
@@ -243,6 +248,11 @@ declare module 'stripe' {
|
|
|
243
248
|
*/
|
|
244
249
|
au_becs_debit_payments?: Capabilities.AuBecsDebitPayments;
|
|
245
250
|
|
|
251
|
+
/**
|
|
252
|
+
* The automatic_indirect_tax capability.
|
|
253
|
+
*/
|
|
254
|
+
automatic_indirect_tax?: Capabilities.AutomaticIndirectTax;
|
|
255
|
+
|
|
246
256
|
/**
|
|
247
257
|
* The bacs_debit_payments capability.
|
|
248
258
|
*/
|
|
@@ -318,11 +328,26 @@ declare module 'stripe' {
|
|
|
318
328
|
*/
|
|
319
329
|
giropay_payments?: Capabilities.GiropayPayments;
|
|
320
330
|
|
|
331
|
+
/**
|
|
332
|
+
* The gopay_payments capability.
|
|
333
|
+
*/
|
|
334
|
+
gopay_payments?: Capabilities.GopayPayments;
|
|
335
|
+
|
|
321
336
|
/**
|
|
322
337
|
* The grabpay_payments capability.
|
|
323
338
|
*/
|
|
324
339
|
grabpay_payments?: Capabilities.GrabpayPayments;
|
|
325
340
|
|
|
341
|
+
/**
|
|
342
|
+
* The id_bank_transfer_payments capability.
|
|
343
|
+
*/
|
|
344
|
+
id_bank_transfer_payments?: Capabilities.IdBankTransferPayments;
|
|
345
|
+
|
|
346
|
+
/**
|
|
347
|
+
* The id_bank_transfer_payments_bca capability.
|
|
348
|
+
*/
|
|
349
|
+
id_bank_transfer_payments_bca?: Capabilities.IdBankTransferPaymentsBca;
|
|
350
|
+
|
|
326
351
|
/**
|
|
327
352
|
* The ideal_payments capability.
|
|
328
353
|
*/
|
|
@@ -428,6 +453,21 @@ declare module 'stripe' {
|
|
|
428
453
|
*/
|
|
429
454
|
paynow_payments?: Capabilities.PaynowPayments;
|
|
430
455
|
|
|
456
|
+
/**
|
|
457
|
+
* The paypal_payments capability.
|
|
458
|
+
*/
|
|
459
|
+
paypal_payments?: Capabilities.PaypalPayments;
|
|
460
|
+
|
|
461
|
+
/**
|
|
462
|
+
* The paypay_payments capability.
|
|
463
|
+
*/
|
|
464
|
+
paypay_payments?: Capabilities.PaypayPayments;
|
|
465
|
+
|
|
466
|
+
/**
|
|
467
|
+
* The payto_payments capability.
|
|
468
|
+
*/
|
|
469
|
+
payto_payments?: Capabilities.PaytoPayments;
|
|
470
|
+
|
|
431
471
|
/**
|
|
432
472
|
* The pix_payments capability.
|
|
433
473
|
*/
|
|
@@ -438,6 +478,16 @@ declare module 'stripe' {
|
|
|
438
478
|
*/
|
|
439
479
|
promptpay_payments?: Capabilities.PromptpayPayments;
|
|
440
480
|
|
|
481
|
+
/**
|
|
482
|
+
* The qris_payments capability.
|
|
483
|
+
*/
|
|
484
|
+
qris_payments?: Capabilities.QrisPayments;
|
|
485
|
+
|
|
486
|
+
/**
|
|
487
|
+
* The rechnung_payments capability.
|
|
488
|
+
*/
|
|
489
|
+
rechnung_payments?: Capabilities.RechnungPayments;
|
|
490
|
+
|
|
441
491
|
/**
|
|
442
492
|
* The revolut_pay_payments capability.
|
|
443
493
|
*/
|
|
@@ -463,11 +513,21 @@ declare module 'stripe' {
|
|
|
463
513
|
*/
|
|
464
514
|
sepa_debit_payments?: Capabilities.SepaDebitPayments;
|
|
465
515
|
|
|
516
|
+
/**
|
|
517
|
+
* The shopeepay_payments capability.
|
|
518
|
+
*/
|
|
519
|
+
shopeepay_payments?: Capabilities.ShopeepayPayments;
|
|
520
|
+
|
|
466
521
|
/**
|
|
467
522
|
* The sofort_payments capability.
|
|
468
523
|
*/
|
|
469
524
|
sofort_payments?: Capabilities.SofortPayments;
|
|
470
525
|
|
|
526
|
+
/**
|
|
527
|
+
* The stripe_balance_payments capability.
|
|
528
|
+
*/
|
|
529
|
+
stripe_balance_payments?: Capabilities.StripeBalancePayments;
|
|
530
|
+
|
|
471
531
|
/**
|
|
472
532
|
* The swish_payments capability.
|
|
473
533
|
*/
|
|
@@ -493,6 +553,21 @@ declare module 'stripe' {
|
|
|
493
553
|
*/
|
|
494
554
|
treasury?: Capabilities.Treasury;
|
|
495
555
|
|
|
556
|
+
/**
|
|
557
|
+
* The treasury_evolve capability.
|
|
558
|
+
*/
|
|
559
|
+
treasury_evolve?: Capabilities.TreasuryEvolve;
|
|
560
|
+
|
|
561
|
+
/**
|
|
562
|
+
* The treasury_fifth_third capability.
|
|
563
|
+
*/
|
|
564
|
+
treasury_fifth_third?: Capabilities.TreasuryFifthThird;
|
|
565
|
+
|
|
566
|
+
/**
|
|
567
|
+
* The treasury_goldman_sachs capability.
|
|
568
|
+
*/
|
|
569
|
+
treasury_goldman_sachs?: Capabilities.TreasuryGoldmanSachs;
|
|
570
|
+
|
|
496
571
|
/**
|
|
497
572
|
* The twint_payments capability.
|
|
498
573
|
*/
|
|
@@ -557,6 +632,13 @@ declare module 'stripe' {
|
|
|
557
632
|
requested?: boolean;
|
|
558
633
|
}
|
|
559
634
|
|
|
635
|
+
interface AutomaticIndirectTax {
|
|
636
|
+
/**
|
|
637
|
+
* 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.
|
|
638
|
+
*/
|
|
639
|
+
requested?: boolean;
|
|
640
|
+
}
|
|
641
|
+
|
|
560
642
|
interface BacsDebitPayments {
|
|
561
643
|
/**
|
|
562
644
|
* 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.
|
|
@@ -662,6 +744,13 @@ declare module 'stripe' {
|
|
|
662
744
|
requested?: boolean;
|
|
663
745
|
}
|
|
664
746
|
|
|
747
|
+
interface GopayPayments {
|
|
748
|
+
/**
|
|
749
|
+
* 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.
|
|
750
|
+
*/
|
|
751
|
+
requested?: boolean;
|
|
752
|
+
}
|
|
753
|
+
|
|
665
754
|
interface GrabpayPayments {
|
|
666
755
|
/**
|
|
667
756
|
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
@@ -669,6 +758,20 @@ declare module 'stripe' {
|
|
|
669
758
|
requested?: boolean;
|
|
670
759
|
}
|
|
671
760
|
|
|
761
|
+
interface IdBankTransferPayments {
|
|
762
|
+
/**
|
|
763
|
+
* 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.
|
|
764
|
+
*/
|
|
765
|
+
requested?: boolean;
|
|
766
|
+
}
|
|
767
|
+
|
|
768
|
+
interface IdBankTransferPaymentsBca {
|
|
769
|
+
/**
|
|
770
|
+
* 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.
|
|
771
|
+
*/
|
|
772
|
+
requested?: boolean;
|
|
773
|
+
}
|
|
774
|
+
|
|
672
775
|
interface IdealPayments {
|
|
673
776
|
/**
|
|
674
777
|
* 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.
|
|
@@ -816,6 +919,27 @@ declare module 'stripe' {
|
|
|
816
919
|
requested?: boolean;
|
|
817
920
|
}
|
|
818
921
|
|
|
922
|
+
interface PaypalPayments {
|
|
923
|
+
/**
|
|
924
|
+
* 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.
|
|
925
|
+
*/
|
|
926
|
+
requested?: boolean;
|
|
927
|
+
}
|
|
928
|
+
|
|
929
|
+
interface PaypayPayments {
|
|
930
|
+
/**
|
|
931
|
+
* 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.
|
|
932
|
+
*/
|
|
933
|
+
requested?: boolean;
|
|
934
|
+
}
|
|
935
|
+
|
|
936
|
+
interface PaytoPayments {
|
|
937
|
+
/**
|
|
938
|
+
* 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.
|
|
939
|
+
*/
|
|
940
|
+
requested?: boolean;
|
|
941
|
+
}
|
|
942
|
+
|
|
819
943
|
interface PixPayments {
|
|
820
944
|
/**
|
|
821
945
|
* 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.
|
|
@@ -830,6 +954,20 @@ declare module 'stripe' {
|
|
|
830
954
|
requested?: boolean;
|
|
831
955
|
}
|
|
832
956
|
|
|
957
|
+
interface QrisPayments {
|
|
958
|
+
/**
|
|
959
|
+
* 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.
|
|
960
|
+
*/
|
|
961
|
+
requested?: boolean;
|
|
962
|
+
}
|
|
963
|
+
|
|
964
|
+
interface RechnungPayments {
|
|
965
|
+
/**
|
|
966
|
+
* 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.
|
|
967
|
+
*/
|
|
968
|
+
requested?: boolean;
|
|
969
|
+
}
|
|
970
|
+
|
|
833
971
|
interface RevolutPayPayments {
|
|
834
972
|
/**
|
|
835
973
|
* 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.
|
|
@@ -865,6 +1003,13 @@ declare module 'stripe' {
|
|
|
865
1003
|
requested?: boolean;
|
|
866
1004
|
}
|
|
867
1005
|
|
|
1006
|
+
interface ShopeepayPayments {
|
|
1007
|
+
/**
|
|
1008
|
+
* 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.
|
|
1009
|
+
*/
|
|
1010
|
+
requested?: boolean;
|
|
1011
|
+
}
|
|
1012
|
+
|
|
868
1013
|
interface SofortPayments {
|
|
869
1014
|
/**
|
|
870
1015
|
* 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.
|
|
@@ -872,6 +1017,13 @@ declare module 'stripe' {
|
|
|
872
1017
|
requested?: boolean;
|
|
873
1018
|
}
|
|
874
1019
|
|
|
1020
|
+
interface StripeBalancePayments {
|
|
1021
|
+
/**
|
|
1022
|
+
* 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.
|
|
1023
|
+
*/
|
|
1024
|
+
requested?: boolean;
|
|
1025
|
+
}
|
|
1026
|
+
|
|
875
1027
|
interface SwishPayments {
|
|
876
1028
|
/**
|
|
877
1029
|
* 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.
|
|
@@ -907,6 +1059,27 @@ declare module 'stripe' {
|
|
|
907
1059
|
requested?: boolean;
|
|
908
1060
|
}
|
|
909
1061
|
|
|
1062
|
+
interface TreasuryEvolve {
|
|
1063
|
+
/**
|
|
1064
|
+
* 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.
|
|
1065
|
+
*/
|
|
1066
|
+
requested?: boolean;
|
|
1067
|
+
}
|
|
1068
|
+
|
|
1069
|
+
interface TreasuryFifthThird {
|
|
1070
|
+
/**
|
|
1071
|
+
* 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.
|
|
1072
|
+
*/
|
|
1073
|
+
requested?: boolean;
|
|
1074
|
+
}
|
|
1075
|
+
|
|
1076
|
+
interface TreasuryGoldmanSachs {
|
|
1077
|
+
/**
|
|
1078
|
+
* 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.
|
|
1079
|
+
*/
|
|
1080
|
+
requested?: boolean;
|
|
1081
|
+
}
|
|
1082
|
+
|
|
910
1083
|
interface TwintPayments {
|
|
911
1084
|
/**
|
|
912
1085
|
* 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.
|
|
@@ -1176,6 +1349,16 @@ declare module 'stripe' {
|
|
|
1176
1349
|
}
|
|
1177
1350
|
|
|
1178
1351
|
interface Controller {
|
|
1352
|
+
/**
|
|
1353
|
+
* A hash of configuration describing the Connect application that controls the account.
|
|
1354
|
+
*/
|
|
1355
|
+
application?: Controller.Application;
|
|
1356
|
+
|
|
1357
|
+
/**
|
|
1358
|
+
* Properties of the account's dashboard.
|
|
1359
|
+
*/
|
|
1360
|
+
dashboard?: Controller.Dashboard;
|
|
1361
|
+
|
|
1179
1362
|
/**
|
|
1180
1363
|
* A hash of configuration for who pays Stripe fees for product usage on this account.
|
|
1181
1364
|
*/
|
|
@@ -1198,6 +1381,34 @@ declare module 'stripe' {
|
|
|
1198
1381
|
}
|
|
1199
1382
|
|
|
1200
1383
|
namespace Controller {
|
|
1384
|
+
interface Application {
|
|
1385
|
+
/**
|
|
1386
|
+
* Whether the controller is liable for losses on this account. For details, see [Understanding Connect Account Balances](https://stripe.com/docs/connect/account-balances).
|
|
1387
|
+
*/
|
|
1388
|
+
loss_liable: boolean;
|
|
1389
|
+
|
|
1390
|
+
/**
|
|
1391
|
+
* Whether the controller owns onboarding for this account.
|
|
1392
|
+
*/
|
|
1393
|
+
onboarding_owner?: boolean;
|
|
1394
|
+
|
|
1395
|
+
/**
|
|
1396
|
+
* Whether the controller has pricing controls for this account.
|
|
1397
|
+
*/
|
|
1398
|
+
pricing_controls?: boolean;
|
|
1399
|
+
}
|
|
1400
|
+
|
|
1401
|
+
interface Dashboard {
|
|
1402
|
+
/**
|
|
1403
|
+
* 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`.
|
|
1404
|
+
*/
|
|
1405
|
+
type?: Dashboard.Type;
|
|
1406
|
+
}
|
|
1407
|
+
|
|
1408
|
+
namespace Dashboard {
|
|
1409
|
+
type Type = 'express' | 'full' | 'none';
|
|
1410
|
+
}
|
|
1411
|
+
|
|
1201
1412
|
interface Fees {
|
|
1202
1413
|
/**
|
|
1203
1414
|
* 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).
|
|
@@ -1505,6 +1716,16 @@ declare module 'stripe' {
|
|
|
1505
1716
|
* The individual's verification document information.
|
|
1506
1717
|
*/
|
|
1507
1718
|
verification?: Individual.Verification;
|
|
1719
|
+
|
|
1720
|
+
/**
|
|
1721
|
+
* The credit applicant's self-reported yearly income in minor units.
|
|
1722
|
+
*/
|
|
1723
|
+
self_reported_income?: Individual.SelfReportedIncome;
|
|
1724
|
+
|
|
1725
|
+
/**
|
|
1726
|
+
* The credit applicant's self-reported monthly housing payment in minor units.
|
|
1727
|
+
*/
|
|
1728
|
+
self_reported_monthly_housing_payment?: Individual.SelfReportedMonthlyHousingPayment;
|
|
1508
1729
|
}
|
|
1509
1730
|
|
|
1510
1731
|
namespace Individual {
|
|
@@ -1554,6 +1775,18 @@ declare module 'stripe' {
|
|
|
1554
1775
|
title?: string;
|
|
1555
1776
|
}
|
|
1556
1777
|
|
|
1778
|
+
interface SelfReportedIncome {
|
|
1779
|
+
amount: number;
|
|
1780
|
+
|
|
1781
|
+
currency: string;
|
|
1782
|
+
}
|
|
1783
|
+
|
|
1784
|
+
interface SelfReportedMonthlyHousingPayment {
|
|
1785
|
+
amount: number;
|
|
1786
|
+
|
|
1787
|
+
currency: string;
|
|
1788
|
+
}
|
|
1789
|
+
|
|
1557
1790
|
interface Verification {
|
|
1558
1791
|
/**
|
|
1559
1792
|
* A document showing address, either a passport, local ID card, or utility bill from a well-known utility company.
|
|
@@ -1593,17 +1826,57 @@ declare module 'stripe' {
|
|
|
1593
1826
|
}
|
|
1594
1827
|
}
|
|
1595
1828
|
|
|
1829
|
+
interface RiskControls {
|
|
1830
|
+
/**
|
|
1831
|
+
* Represents the risk control status of charges. Please see [this page for more details](https://stripe.com/docs/connect/pausing-payments-or-payouts-on-connected-accounts).
|
|
1832
|
+
*/
|
|
1833
|
+
charges?: RiskControls.Charges;
|
|
1834
|
+
|
|
1835
|
+
/**
|
|
1836
|
+
* Represents the risk control status of payouts. Please see [this page for more details](https://stripe.com/docs/connect/pausing-payments-or-payouts-on-connected-accounts).
|
|
1837
|
+
*/
|
|
1838
|
+
payouts?: RiskControls.Payouts;
|
|
1839
|
+
}
|
|
1840
|
+
|
|
1841
|
+
namespace RiskControls {
|
|
1842
|
+
interface Charges {
|
|
1843
|
+
/**
|
|
1844
|
+
* To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
|
|
1845
|
+
* There can be a delay before the risk control is paused or unpaused.
|
|
1846
|
+
*/
|
|
1847
|
+
pause_requested?: boolean;
|
|
1848
|
+
}
|
|
1849
|
+
|
|
1850
|
+
interface Payouts {
|
|
1851
|
+
/**
|
|
1852
|
+
* To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
|
|
1853
|
+
* There can be a delay before the risk control is paused or unpaused.
|
|
1854
|
+
*/
|
|
1855
|
+
pause_requested?: boolean;
|
|
1856
|
+
}
|
|
1857
|
+
}
|
|
1858
|
+
|
|
1596
1859
|
interface Settings {
|
|
1597
1860
|
/**
|
|
1598
1861
|
* Settings specific to Bacs Direct Debit.
|
|
1599
1862
|
*/
|
|
1600
1863
|
bacs_debit_payments?: Settings.BacsDebitPayments;
|
|
1601
1864
|
|
|
1865
|
+
/**
|
|
1866
|
+
* Settings specific to bank BCA onboarding for Indonesia bank transfers payments method.
|
|
1867
|
+
*/
|
|
1868
|
+
bank_bca_onboarding?: Settings.BankBcaOnboarding;
|
|
1869
|
+
|
|
1602
1870
|
/**
|
|
1603
1871
|
* Settings used to apply the account's branding to email receipts, invoices, Checkout, and other products.
|
|
1604
1872
|
*/
|
|
1605
1873
|
branding?: Settings.Branding;
|
|
1606
1874
|
|
|
1875
|
+
/**
|
|
1876
|
+
* Settings specific to the account's use of the Capital product.
|
|
1877
|
+
*/
|
|
1878
|
+
capital?: Settings.Capital;
|
|
1879
|
+
|
|
1607
1880
|
/**
|
|
1608
1881
|
* Settings specific to the account's use of the Card Issuing product.
|
|
1609
1882
|
*/
|
|
@@ -1629,6 +1902,11 @@ declare module 'stripe' {
|
|
|
1629
1902
|
*/
|
|
1630
1903
|
payouts?: Settings.Payouts;
|
|
1631
1904
|
|
|
1905
|
+
/**
|
|
1906
|
+
* Settings specific to the account's tax forms.
|
|
1907
|
+
*/
|
|
1908
|
+
tax_forms?: Settings.TaxForms;
|
|
1909
|
+
|
|
1632
1910
|
/**
|
|
1633
1911
|
* Settings specific to the account's Treasury FinancialAccounts.
|
|
1634
1912
|
*/
|
|
@@ -1643,6 +1921,18 @@ declare module 'stripe' {
|
|
|
1643
1921
|
display_name?: string;
|
|
1644
1922
|
}
|
|
1645
1923
|
|
|
1924
|
+
interface BankBcaOnboarding {
|
|
1925
|
+
/**
|
|
1926
|
+
* Bank BCA business account holder name
|
|
1927
|
+
*/
|
|
1928
|
+
account_holder_name?: string;
|
|
1929
|
+
|
|
1930
|
+
/**
|
|
1931
|
+
* Bank BCA business account number
|
|
1932
|
+
*/
|
|
1933
|
+
business_account_number?: string;
|
|
1934
|
+
}
|
|
1935
|
+
|
|
1646
1936
|
interface Branding {
|
|
1647
1937
|
/**
|
|
1648
1938
|
* (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.
|
|
@@ -1665,6 +1955,22 @@ declare module 'stripe' {
|
|
|
1665
1955
|
secondary_color?: string;
|
|
1666
1956
|
}
|
|
1667
1957
|
|
|
1958
|
+
interface Capital {
|
|
1959
|
+
/**
|
|
1960
|
+
* Per-currency mapping of user-selected destination accounts used to pay out loans.
|
|
1961
|
+
*/
|
|
1962
|
+
payout_destination?: {
|
|
1963
|
+
[key: string]: string;
|
|
1964
|
+
};
|
|
1965
|
+
|
|
1966
|
+
/**
|
|
1967
|
+
* Per-currency mapping of all destination accounts eligible to receive Capital financing payouts.
|
|
1968
|
+
*/
|
|
1969
|
+
payout_destination_selector?: {
|
|
1970
|
+
[key: string]: Array<string>;
|
|
1971
|
+
};
|
|
1972
|
+
}
|
|
1973
|
+
|
|
1668
1974
|
interface CardIssuing {
|
|
1669
1975
|
/**
|
|
1670
1976
|
* Details on the account's acceptance of the [Stripe Issuing Terms and Disclosures](https://docs.stripe.com/issuing/connect/tos_acceptance).
|
|
@@ -1729,7 +2035,7 @@ declare module 'stripe' {
|
|
|
1729
2035
|
|
|
1730
2036
|
interface Invoices {
|
|
1731
2037
|
/**
|
|
1732
|
-
* Whether
|
|
2038
|
+
* Whether payment methods should be saved when a payment is completed for a one-time invoices on a hosted invoice page.
|
|
1733
2039
|
*/
|
|
1734
2040
|
hosted_payment_method_save?: Invoices.HostedPaymentMethodSave;
|
|
1735
2041
|
}
|
|
@@ -1826,6 +2132,13 @@ declare module 'stripe' {
|
|
|
1826
2132
|
}
|
|
1827
2133
|
}
|
|
1828
2134
|
|
|
2135
|
+
interface TaxForms {
|
|
2136
|
+
/**
|
|
2137
|
+
* Whether the account opted out of receiving their tax forms by postal delivery.
|
|
2138
|
+
*/
|
|
2139
|
+
consented_to_paperless_delivery?: boolean;
|
|
2140
|
+
}
|
|
2141
|
+
|
|
1829
2142
|
interface Treasury {
|
|
1830
2143
|
/**
|
|
1831
2144
|
* Details on the account's acceptance of the Stripe Treasury Services Agreement.
|
|
@@ -1965,6 +2278,11 @@ declare module 'stripe' {
|
|
|
1965
2278
|
*/
|
|
1966
2279
|
metadata?: Stripe.Emptyable<Stripe.MetadataParam>;
|
|
1967
2280
|
|
|
2281
|
+
/**
|
|
2282
|
+
* 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).
|
|
2283
|
+
*/
|
|
2284
|
+
risk_controls?: AccountUpdateParams.RiskControls;
|
|
2285
|
+
|
|
1968
2286
|
/**
|
|
1969
2287
|
* Options for customizing how the account functions within Stripe.
|
|
1970
2288
|
*/
|
|
@@ -2154,6 +2472,11 @@ declare module 'stripe' {
|
|
|
2154
2472
|
*/
|
|
2155
2473
|
au_becs_debit_payments?: Capabilities.AuBecsDebitPayments;
|
|
2156
2474
|
|
|
2475
|
+
/**
|
|
2476
|
+
* The automatic_indirect_tax capability.
|
|
2477
|
+
*/
|
|
2478
|
+
automatic_indirect_tax?: Capabilities.AutomaticIndirectTax;
|
|
2479
|
+
|
|
2157
2480
|
/**
|
|
2158
2481
|
* The bacs_debit_payments capability.
|
|
2159
2482
|
*/
|
|
@@ -2229,11 +2552,26 @@ declare module 'stripe' {
|
|
|
2229
2552
|
*/
|
|
2230
2553
|
giropay_payments?: Capabilities.GiropayPayments;
|
|
2231
2554
|
|
|
2555
|
+
/**
|
|
2556
|
+
* The gopay_payments capability.
|
|
2557
|
+
*/
|
|
2558
|
+
gopay_payments?: Capabilities.GopayPayments;
|
|
2559
|
+
|
|
2232
2560
|
/**
|
|
2233
2561
|
* The grabpay_payments capability.
|
|
2234
2562
|
*/
|
|
2235
2563
|
grabpay_payments?: Capabilities.GrabpayPayments;
|
|
2236
2564
|
|
|
2565
|
+
/**
|
|
2566
|
+
* The id_bank_transfer_payments capability.
|
|
2567
|
+
*/
|
|
2568
|
+
id_bank_transfer_payments?: Capabilities.IdBankTransferPayments;
|
|
2569
|
+
|
|
2570
|
+
/**
|
|
2571
|
+
* The id_bank_transfer_payments_bca capability.
|
|
2572
|
+
*/
|
|
2573
|
+
id_bank_transfer_payments_bca?: Capabilities.IdBankTransferPaymentsBca;
|
|
2574
|
+
|
|
2237
2575
|
/**
|
|
2238
2576
|
* The ideal_payments capability.
|
|
2239
2577
|
*/
|
|
@@ -2339,6 +2677,21 @@ declare module 'stripe' {
|
|
|
2339
2677
|
*/
|
|
2340
2678
|
paynow_payments?: Capabilities.PaynowPayments;
|
|
2341
2679
|
|
|
2680
|
+
/**
|
|
2681
|
+
* The paypal_payments capability.
|
|
2682
|
+
*/
|
|
2683
|
+
paypal_payments?: Capabilities.PaypalPayments;
|
|
2684
|
+
|
|
2685
|
+
/**
|
|
2686
|
+
* The paypay_payments capability.
|
|
2687
|
+
*/
|
|
2688
|
+
paypay_payments?: Capabilities.PaypayPayments;
|
|
2689
|
+
|
|
2690
|
+
/**
|
|
2691
|
+
* The payto_payments capability.
|
|
2692
|
+
*/
|
|
2693
|
+
payto_payments?: Capabilities.PaytoPayments;
|
|
2694
|
+
|
|
2342
2695
|
/**
|
|
2343
2696
|
* The pix_payments capability.
|
|
2344
2697
|
*/
|
|
@@ -2349,6 +2702,16 @@ declare module 'stripe' {
|
|
|
2349
2702
|
*/
|
|
2350
2703
|
promptpay_payments?: Capabilities.PromptpayPayments;
|
|
2351
2704
|
|
|
2705
|
+
/**
|
|
2706
|
+
* The qris_payments capability.
|
|
2707
|
+
*/
|
|
2708
|
+
qris_payments?: Capabilities.QrisPayments;
|
|
2709
|
+
|
|
2710
|
+
/**
|
|
2711
|
+
* The rechnung_payments capability.
|
|
2712
|
+
*/
|
|
2713
|
+
rechnung_payments?: Capabilities.RechnungPayments;
|
|
2714
|
+
|
|
2352
2715
|
/**
|
|
2353
2716
|
* The revolut_pay_payments capability.
|
|
2354
2717
|
*/
|
|
@@ -2374,11 +2737,21 @@ declare module 'stripe' {
|
|
|
2374
2737
|
*/
|
|
2375
2738
|
sepa_debit_payments?: Capabilities.SepaDebitPayments;
|
|
2376
2739
|
|
|
2740
|
+
/**
|
|
2741
|
+
* The shopeepay_payments capability.
|
|
2742
|
+
*/
|
|
2743
|
+
shopeepay_payments?: Capabilities.ShopeepayPayments;
|
|
2744
|
+
|
|
2377
2745
|
/**
|
|
2378
2746
|
* The sofort_payments capability.
|
|
2379
2747
|
*/
|
|
2380
2748
|
sofort_payments?: Capabilities.SofortPayments;
|
|
2381
2749
|
|
|
2750
|
+
/**
|
|
2751
|
+
* The stripe_balance_payments capability.
|
|
2752
|
+
*/
|
|
2753
|
+
stripe_balance_payments?: Capabilities.StripeBalancePayments;
|
|
2754
|
+
|
|
2382
2755
|
/**
|
|
2383
2756
|
* The swish_payments capability.
|
|
2384
2757
|
*/
|
|
@@ -2404,6 +2777,21 @@ declare module 'stripe' {
|
|
|
2404
2777
|
*/
|
|
2405
2778
|
treasury?: Capabilities.Treasury;
|
|
2406
2779
|
|
|
2780
|
+
/**
|
|
2781
|
+
* The treasury_evolve capability.
|
|
2782
|
+
*/
|
|
2783
|
+
treasury_evolve?: Capabilities.TreasuryEvolve;
|
|
2784
|
+
|
|
2785
|
+
/**
|
|
2786
|
+
* The treasury_fifth_third capability.
|
|
2787
|
+
*/
|
|
2788
|
+
treasury_fifth_third?: Capabilities.TreasuryFifthThird;
|
|
2789
|
+
|
|
2790
|
+
/**
|
|
2791
|
+
* The treasury_goldman_sachs capability.
|
|
2792
|
+
*/
|
|
2793
|
+
treasury_goldman_sachs?: Capabilities.TreasuryGoldmanSachs;
|
|
2794
|
+
|
|
2407
2795
|
/**
|
|
2408
2796
|
* The twint_payments capability.
|
|
2409
2797
|
*/
|
|
@@ -2468,6 +2856,13 @@ declare module 'stripe' {
|
|
|
2468
2856
|
requested?: boolean;
|
|
2469
2857
|
}
|
|
2470
2858
|
|
|
2859
|
+
interface AutomaticIndirectTax {
|
|
2860
|
+
/**
|
|
2861
|
+
* 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.
|
|
2862
|
+
*/
|
|
2863
|
+
requested?: boolean;
|
|
2864
|
+
}
|
|
2865
|
+
|
|
2471
2866
|
interface BacsDebitPayments {
|
|
2472
2867
|
/**
|
|
2473
2868
|
* 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.
|
|
@@ -2573,6 +2968,13 @@ declare module 'stripe' {
|
|
|
2573
2968
|
requested?: boolean;
|
|
2574
2969
|
}
|
|
2575
2970
|
|
|
2971
|
+
interface GopayPayments {
|
|
2972
|
+
/**
|
|
2973
|
+
* 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.
|
|
2974
|
+
*/
|
|
2975
|
+
requested?: boolean;
|
|
2976
|
+
}
|
|
2977
|
+
|
|
2576
2978
|
interface GrabpayPayments {
|
|
2577
2979
|
/**
|
|
2578
2980
|
* 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.
|
|
@@ -2580,6 +2982,20 @@ declare module 'stripe' {
|
|
|
2580
2982
|
requested?: boolean;
|
|
2581
2983
|
}
|
|
2582
2984
|
|
|
2985
|
+
interface IdBankTransferPayments {
|
|
2986
|
+
/**
|
|
2987
|
+
* 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.
|
|
2988
|
+
*/
|
|
2989
|
+
requested?: boolean;
|
|
2990
|
+
}
|
|
2991
|
+
|
|
2992
|
+
interface IdBankTransferPaymentsBca {
|
|
2993
|
+
/**
|
|
2994
|
+
* 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.
|
|
2995
|
+
*/
|
|
2996
|
+
requested?: boolean;
|
|
2997
|
+
}
|
|
2998
|
+
|
|
2583
2999
|
interface IdealPayments {
|
|
2584
3000
|
/**
|
|
2585
3001
|
* 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.
|
|
@@ -2727,6 +3143,27 @@ declare module 'stripe' {
|
|
|
2727
3143
|
requested?: boolean;
|
|
2728
3144
|
}
|
|
2729
3145
|
|
|
3146
|
+
interface PaypalPayments {
|
|
3147
|
+
/**
|
|
3148
|
+
* 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.
|
|
3149
|
+
*/
|
|
3150
|
+
requested?: boolean;
|
|
3151
|
+
}
|
|
3152
|
+
|
|
3153
|
+
interface PaypayPayments {
|
|
3154
|
+
/**
|
|
3155
|
+
* 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.
|
|
3156
|
+
*/
|
|
3157
|
+
requested?: boolean;
|
|
3158
|
+
}
|
|
3159
|
+
|
|
3160
|
+
interface PaytoPayments {
|
|
3161
|
+
/**
|
|
3162
|
+
* 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.
|
|
3163
|
+
*/
|
|
3164
|
+
requested?: boolean;
|
|
3165
|
+
}
|
|
3166
|
+
|
|
2730
3167
|
interface PixPayments {
|
|
2731
3168
|
/**
|
|
2732
3169
|
* 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.
|
|
@@ -2741,6 +3178,20 @@ declare module 'stripe' {
|
|
|
2741
3178
|
requested?: boolean;
|
|
2742
3179
|
}
|
|
2743
3180
|
|
|
3181
|
+
interface QrisPayments {
|
|
3182
|
+
/**
|
|
3183
|
+
* 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.
|
|
3184
|
+
*/
|
|
3185
|
+
requested?: boolean;
|
|
3186
|
+
}
|
|
3187
|
+
|
|
3188
|
+
interface RechnungPayments {
|
|
3189
|
+
/**
|
|
3190
|
+
* 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.
|
|
3191
|
+
*/
|
|
3192
|
+
requested?: boolean;
|
|
3193
|
+
}
|
|
3194
|
+
|
|
2744
3195
|
interface RevolutPayPayments {
|
|
2745
3196
|
/**
|
|
2746
3197
|
* 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.
|
|
@@ -2776,6 +3227,13 @@ declare module 'stripe' {
|
|
|
2776
3227
|
requested?: boolean;
|
|
2777
3228
|
}
|
|
2778
3229
|
|
|
3230
|
+
interface ShopeepayPayments {
|
|
3231
|
+
/**
|
|
3232
|
+
* 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.
|
|
3233
|
+
*/
|
|
3234
|
+
requested?: boolean;
|
|
3235
|
+
}
|
|
3236
|
+
|
|
2779
3237
|
interface SofortPayments {
|
|
2780
3238
|
/**
|
|
2781
3239
|
* 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.
|
|
@@ -2783,6 +3241,13 @@ declare module 'stripe' {
|
|
|
2783
3241
|
requested?: boolean;
|
|
2784
3242
|
}
|
|
2785
3243
|
|
|
3244
|
+
interface StripeBalancePayments {
|
|
3245
|
+
/**
|
|
3246
|
+
* 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.
|
|
3247
|
+
*/
|
|
3248
|
+
requested?: boolean;
|
|
3249
|
+
}
|
|
3250
|
+
|
|
2786
3251
|
interface SwishPayments {
|
|
2787
3252
|
/**
|
|
2788
3253
|
* 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.
|
|
@@ -2818,6 +3283,27 @@ declare module 'stripe' {
|
|
|
2818
3283
|
requested?: boolean;
|
|
2819
3284
|
}
|
|
2820
3285
|
|
|
3286
|
+
interface TreasuryEvolve {
|
|
3287
|
+
/**
|
|
3288
|
+
* 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.
|
|
3289
|
+
*/
|
|
3290
|
+
requested?: boolean;
|
|
3291
|
+
}
|
|
3292
|
+
|
|
3293
|
+
interface TreasuryFifthThird {
|
|
3294
|
+
/**
|
|
3295
|
+
* 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.
|
|
3296
|
+
*/
|
|
3297
|
+
requested?: boolean;
|
|
3298
|
+
}
|
|
3299
|
+
|
|
3300
|
+
interface TreasuryGoldmanSachs {
|
|
3301
|
+
/**
|
|
3302
|
+
* 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.
|
|
3303
|
+
*/
|
|
3304
|
+
requested?: boolean;
|
|
3305
|
+
}
|
|
3306
|
+
|
|
2821
3307
|
interface TwintPayments {
|
|
2822
3308
|
/**
|
|
2823
3309
|
* 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.
|
|
@@ -3360,6 +3846,16 @@ declare module 'stripe' {
|
|
|
3360
3846
|
* The individual's verification document information.
|
|
3361
3847
|
*/
|
|
3362
3848
|
verification?: Individual.Verification;
|
|
3849
|
+
|
|
3850
|
+
/**
|
|
3851
|
+
* The credit applicant's self-reported yearly income in minor units.
|
|
3852
|
+
*/
|
|
3853
|
+
self_reported_income?: Individual.SelfReportedIncome;
|
|
3854
|
+
|
|
3855
|
+
/**
|
|
3856
|
+
* The credit applicant's self-reported monthly housing payment in minor units.
|
|
3857
|
+
*/
|
|
3858
|
+
self_reported_monthly_housing_payment?: Individual.SelfReportedMonthlyHousingPayment;
|
|
3363
3859
|
}
|
|
3364
3860
|
|
|
3365
3861
|
namespace Individual {
|
|
@@ -3409,6 +3905,18 @@ declare module 'stripe' {
|
|
|
3409
3905
|
title?: string;
|
|
3410
3906
|
}
|
|
3411
3907
|
|
|
3908
|
+
interface SelfReportedIncome {
|
|
3909
|
+
amount: number;
|
|
3910
|
+
|
|
3911
|
+
currency: string;
|
|
3912
|
+
}
|
|
3913
|
+
|
|
3914
|
+
interface SelfReportedMonthlyHousingPayment {
|
|
3915
|
+
amount: number;
|
|
3916
|
+
|
|
3917
|
+
currency: string;
|
|
3918
|
+
}
|
|
3919
|
+
|
|
3412
3920
|
interface Verification {
|
|
3413
3921
|
/**
|
|
3414
3922
|
* A document showing address, either a passport, local ID card, or utility bill from a well-known utility company.
|
|
@@ -3448,17 +3956,57 @@ declare module 'stripe' {
|
|
|
3448
3956
|
}
|
|
3449
3957
|
}
|
|
3450
3958
|
|
|
3959
|
+
interface RiskControls {
|
|
3960
|
+
/**
|
|
3961
|
+
* Represents the risk control status of charges. Please see [this page for more details](https://stripe.com/docs/connect/pausing-payments-or-payouts-on-connected-accounts).
|
|
3962
|
+
*/
|
|
3963
|
+
charges?: RiskControls.Charges;
|
|
3964
|
+
|
|
3965
|
+
/**
|
|
3966
|
+
* Represents the risk control status of payouts. Please see [this page for more details](https://stripe.com/docs/connect/pausing-payments-or-payouts-on-connected-accounts).
|
|
3967
|
+
*/
|
|
3968
|
+
payouts?: RiskControls.Payouts;
|
|
3969
|
+
}
|
|
3970
|
+
|
|
3971
|
+
namespace RiskControls {
|
|
3972
|
+
interface Charges {
|
|
3973
|
+
/**
|
|
3974
|
+
* To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
|
|
3975
|
+
* There can be a delay before the risk control is paused or unpaused.
|
|
3976
|
+
*/
|
|
3977
|
+
pause_requested?: boolean;
|
|
3978
|
+
}
|
|
3979
|
+
|
|
3980
|
+
interface Payouts {
|
|
3981
|
+
/**
|
|
3982
|
+
* To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
|
|
3983
|
+
* There can be a delay before the risk control is paused or unpaused.
|
|
3984
|
+
*/
|
|
3985
|
+
pause_requested?: boolean;
|
|
3986
|
+
}
|
|
3987
|
+
}
|
|
3988
|
+
|
|
3451
3989
|
interface Settings {
|
|
3452
3990
|
/**
|
|
3453
3991
|
* Settings specific to Bacs Direct Debit payments.
|
|
3454
3992
|
*/
|
|
3455
3993
|
bacs_debit_payments?: Settings.BacsDebitPayments;
|
|
3456
3994
|
|
|
3995
|
+
/**
|
|
3996
|
+
* Settings specific to bank BCA onboarding for Indonesia bank transfers payments method.
|
|
3997
|
+
*/
|
|
3998
|
+
bank_bca_onboarding?: Settings.BankBcaOnboarding;
|
|
3999
|
+
|
|
3457
4000
|
/**
|
|
3458
4001
|
* Settings used to apply the account's branding to email receipts, invoices, Checkout, and other products.
|
|
3459
4002
|
*/
|
|
3460
4003
|
branding?: Settings.Branding;
|
|
3461
4004
|
|
|
4005
|
+
/**
|
|
4006
|
+
* Settings specific to the account's use of the Capital product.
|
|
4007
|
+
*/
|
|
4008
|
+
capital?: Settings.Capital;
|
|
4009
|
+
|
|
3462
4010
|
/**
|
|
3463
4011
|
* Settings specific to the account's use of the Card Issuing product.
|
|
3464
4012
|
*/
|
|
@@ -3484,6 +4032,11 @@ declare module 'stripe' {
|
|
|
3484
4032
|
*/
|
|
3485
4033
|
payouts?: Settings.Payouts;
|
|
3486
4034
|
|
|
4035
|
+
/**
|
|
4036
|
+
* Settings specific to the account's tax forms.
|
|
4037
|
+
*/
|
|
4038
|
+
tax_forms?: Settings.TaxForms;
|
|
4039
|
+
|
|
3487
4040
|
/**
|
|
3488
4041
|
* Settings specific to the account's Treasury FinancialAccounts.
|
|
3489
4042
|
*/
|
|
@@ -3498,6 +4051,18 @@ declare module 'stripe' {
|
|
|
3498
4051
|
display_name?: string;
|
|
3499
4052
|
}
|
|
3500
4053
|
|
|
4054
|
+
interface BankBcaOnboarding {
|
|
4055
|
+
/**
|
|
4056
|
+
* Bank BCA business account holder name
|
|
4057
|
+
*/
|
|
4058
|
+
account_holder_name?: string;
|
|
4059
|
+
|
|
4060
|
+
/**
|
|
4061
|
+
* Bank BCA business account number
|
|
4062
|
+
*/
|
|
4063
|
+
business_account_number?: string;
|
|
4064
|
+
}
|
|
4065
|
+
|
|
3501
4066
|
interface Branding {
|
|
3502
4067
|
/**
|
|
3503
4068
|
* (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.
|
|
@@ -3520,6 +4085,22 @@ declare module 'stripe' {
|
|
|
3520
4085
|
secondary_color?: string;
|
|
3521
4086
|
}
|
|
3522
4087
|
|
|
4088
|
+
interface Capital {
|
|
4089
|
+
/**
|
|
4090
|
+
* Per-currency mapping of user-selected destination accounts used to pay out loans.
|
|
4091
|
+
*/
|
|
4092
|
+
payout_destination?: {
|
|
4093
|
+
[key: string]: string;
|
|
4094
|
+
};
|
|
4095
|
+
|
|
4096
|
+
/**
|
|
4097
|
+
* Per-currency mapping of all destination accounts eligible to receive Capital financing payouts.
|
|
4098
|
+
*/
|
|
4099
|
+
payout_destination_selector?: {
|
|
4100
|
+
[key: string]: Array<string>;
|
|
4101
|
+
};
|
|
4102
|
+
}
|
|
4103
|
+
|
|
3523
4104
|
interface CardIssuing {
|
|
3524
4105
|
/**
|
|
3525
4106
|
* Details on the account's acceptance of the [Stripe Issuing Terms and Disclosures](https://docs.stripe.com/issuing/connect/tos_acceptance).
|
|
@@ -3589,7 +4170,7 @@ declare module 'stripe' {
|
|
|
3589
4170
|
default_account_tax_ids?: Stripe.Emptyable<Array<string>>;
|
|
3590
4171
|
|
|
3591
4172
|
/**
|
|
3592
|
-
* Whether
|
|
4173
|
+
* Whether payment methods should be saved when a payment is completed for a one-time invoices on a hosted invoice page.
|
|
3593
4174
|
*/
|
|
3594
4175
|
hosted_payment_method_save?: Invoices.HostedPaymentMethodSave;
|
|
3595
4176
|
}
|
|
@@ -3686,6 +4267,13 @@ declare module 'stripe' {
|
|
|
3686
4267
|
}
|
|
3687
4268
|
}
|
|
3688
4269
|
|
|
4270
|
+
interface TaxForms {
|
|
4271
|
+
/**
|
|
4272
|
+
* Whether the account opted out of receiving their tax forms by postal delivery.
|
|
4273
|
+
*/
|
|
4274
|
+
consented_to_paperless_delivery?: boolean;
|
|
4275
|
+
}
|
|
4276
|
+
|
|
3689
4277
|
interface Treasury {
|
|
3690
4278
|
/**
|
|
3691
4279
|
* Details on the account's acceptance of the Stripe Treasury Services Agreement.
|
|
@@ -3995,6 +4583,16 @@ declare module 'stripe' {
|
|
|
3995
4583
|
*/
|
|
3996
4584
|
relationship?: AccountCreatePersonParams.Relationship;
|
|
3997
4585
|
|
|
4586
|
+
/**
|
|
4587
|
+
* The credit applicant's self-reported yearly income in minor units.
|
|
4588
|
+
*/
|
|
4589
|
+
self_reported_income?: AccountCreatePersonParams.SelfReportedIncome;
|
|
4590
|
+
|
|
4591
|
+
/**
|
|
4592
|
+
* The credit applicant's self-reported monthly housing payment in minor units.
|
|
4593
|
+
*/
|
|
4594
|
+
self_reported_monthly_housing_payment?: AccountCreatePersonParams.SelfReportedMonthlyHousingPayment;
|
|
4595
|
+
|
|
3998
4596
|
/**
|
|
3999
4597
|
* The last four digits of the person's Social Security number (U.S. only).
|
|
4000
4598
|
*/
|
|
@@ -4139,6 +4737,18 @@ declare module 'stripe' {
|
|
|
4139
4737
|
title?: string;
|
|
4140
4738
|
}
|
|
4141
4739
|
|
|
4740
|
+
interface SelfReportedIncome {
|
|
4741
|
+
amount: number;
|
|
4742
|
+
|
|
4743
|
+
currency: string;
|
|
4744
|
+
}
|
|
4745
|
+
|
|
4746
|
+
interface SelfReportedMonthlyHousingPayment {
|
|
4747
|
+
amount: number;
|
|
4748
|
+
|
|
4749
|
+
currency: string;
|
|
4750
|
+
}
|
|
4751
|
+
|
|
4142
4752
|
interface UsCfpbData {
|
|
4143
4753
|
/**
|
|
4144
4754
|
* The persons ethnicity details
|
|
@@ -4624,6 +5234,16 @@ declare module 'stripe' {
|
|
|
4624
5234
|
*/
|
|
4625
5235
|
relationship?: AccountUpdatePersonParams.Relationship;
|
|
4626
5236
|
|
|
5237
|
+
/**
|
|
5238
|
+
* The credit applicant's self-reported yearly income in minor units.
|
|
5239
|
+
*/
|
|
5240
|
+
self_reported_income?: AccountUpdatePersonParams.SelfReportedIncome;
|
|
5241
|
+
|
|
5242
|
+
/**
|
|
5243
|
+
* The credit applicant's self-reported monthly housing payment in minor units.
|
|
5244
|
+
*/
|
|
5245
|
+
self_reported_monthly_housing_payment?: AccountUpdatePersonParams.SelfReportedMonthlyHousingPayment;
|
|
5246
|
+
|
|
4627
5247
|
/**
|
|
4628
5248
|
* The last four digits of the person's Social Security number (U.S. only).
|
|
4629
5249
|
*/
|
|
@@ -4768,6 +5388,18 @@ declare module 'stripe' {
|
|
|
4768
5388
|
title?: string;
|
|
4769
5389
|
}
|
|
4770
5390
|
|
|
5391
|
+
interface SelfReportedIncome {
|
|
5392
|
+
amount: number;
|
|
5393
|
+
|
|
5394
|
+
currency: string;
|
|
5395
|
+
}
|
|
5396
|
+
|
|
5397
|
+
interface SelfReportedMonthlyHousingPayment {
|
|
5398
|
+
amount: number;
|
|
5399
|
+
|
|
5400
|
+
currency: string;
|
|
5401
|
+
}
|
|
5402
|
+
|
|
4771
5403
|
interface UsCfpbData {
|
|
4772
5404
|
/**
|
|
4773
5405
|
* The persons ethnicity details
|