stripe 20.1.0-beta.1 → 20.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +47 -1500
- package/OPENAPI_VERSION +1 -1
- package/README.md +0 -1
- package/VERSION +1 -1
- package/cjs/Error.js +1 -115
- package/cjs/apiVersion.js +3 -2
- package/cjs/resources/FinancialConnections/Accounts.js +0 -5
- package/cjs/resources/Mandates.js +0 -5
- package/cjs/resources/PaymentIntents.js +0 -8
- package/cjs/resources/Quotes.js +0 -32
- package/cjs/resources/SubscriptionSchedules.js +0 -4
- package/cjs/resources/Subscriptions.js +0 -4
- package/cjs/resources.js +2 -88
- package/cjs/stripe.core.js +1 -1
- package/esm/Error.js +0 -100
- package/esm/apiVersion.js +2 -1
- package/esm/resources/FinancialConnections/Accounts.js +0 -5
- package/esm/resources/Mandates.js +0 -5
- package/esm/resources/PaymentIntents.js +0 -8
- package/esm/resources/Quotes.js +0 -32
- package/esm/resources/SubscriptionSchedules.js +0 -4
- package/esm/resources/Subscriptions.js +0 -4
- package/esm/resources.js +0 -81
- package/esm/stripe.core.js +1 -1
- package/package.json +1 -1
- package/types/AccountLinks.d.ts +1 -1
- package/types/AccountLinksResource.d.ts +1 -5
- package/types/AccountSessions.d.ts +2 -47
- package/types/AccountSessionsResource.d.ts +0 -264
- package/types/Accounts.d.ts +25 -249
- package/types/AccountsResource.d.ts +114 -620
- package/types/ApplicationFeesResource.d.ts +2 -2
- package/types/Apps/Secrets.d.ts +1 -1
- package/types/Balance.d.ts +2 -2
- package/types/BalanceSettings.d.ts +1 -1
- package/types/BalanceTransactions.d.ts +1 -1
- package/types/BankAccounts.d.ts +10 -12
- package/types/Billing/AlertTriggereds.d.ts +1 -1
- package/types/Billing/Alerts.d.ts +1 -1
- package/types/Billing/CreditBalanceSummary.d.ts +1 -1
- package/types/Billing/CreditBalanceSummaryResource.d.ts +2 -2
- package/types/Billing/CreditBalanceTransactionsResource.d.ts +2 -2
- package/types/Billing/CreditGrants.d.ts +3 -3
- package/types/Billing/CreditGrantsResource.d.ts +3 -3
- package/types/Billing/MeterEvents.d.ts +1 -1
- package/types/Billing/MeterEventsResource.d.ts +1 -1
- package/types/BillingPortal/Configurations.d.ts +10 -3
- package/types/BillingPortal/ConfigurationsResource.d.ts +20 -6
- package/types/BillingPortal/Sessions.d.ts +7 -7
- package/types/BillingPortal/SessionsResource.d.ts +7 -7
- package/types/Capabilities.d.ts +16 -18
- package/types/Cards.d.ts +2 -7
- package/types/CashBalances.d.ts +3 -3
- package/types/Charges.d.ts +59 -179
- package/types/ChargesResource.d.ts +88 -3868
- package/types/Checkout/Sessions.d.ts +20 -297
- package/types/Checkout/SessionsResource.d.ts +59 -417
- package/types/Climate/Orders.d.ts +1 -1
- package/types/Climate/OrdersResource.d.ts +2 -2
- package/types/ConfirmationTokens.d.ts +8 -109
- package/types/Coupons.d.ts +3 -38
- package/types/CouponsResource.d.ts +2 -25
- package/types/CreditNoteLineItems.d.ts +3 -17
- package/types/CreditNotes.d.ts +8 -5
- package/types/CreditNotesResource.d.ts +5 -5
- package/types/CustomerBalanceTransactions.d.ts +9 -6
- package/types/CustomerCashBalanceTransactions.d.ts +13 -10
- package/types/CustomerSessions.d.ts +1 -42
- package/types/CustomerSessionsResource.d.ts +0 -41
- package/types/Customers.d.ts +8 -5
- package/types/CustomersResource.d.ts +21 -23
- package/types/Discounts.d.ts +6 -6
- package/types/Disputes.d.ts +3 -43
- package/types/DisputesResource.d.ts +1 -12
- package/types/Entitlements/ActiveEntitlements.d.ts +1 -1
- package/types/Errors.d.ts +0 -85
- package/types/EventTypes.d.ts +0 -630
- package/types/Events.d.ts +1 -97
- package/types/ExchangeRates.d.ts +2 -2
- package/types/FeeRefunds.d.ts +2 -2
- package/types/FileLinks.d.ts +1 -1
- package/types/FileLinksResource.d.ts +2 -2
- package/types/Files.d.ts +4 -4
- package/types/FilesResource.d.ts +3 -3
- package/types/FinancialConnections/Accounts.d.ts +4 -37
- package/types/FinancialConnections/AccountsResource.d.ts +6 -38
- package/types/FinancialConnections/Sessions.d.ts +3 -51
- package/types/FinancialConnections/SessionsResource.d.ts +4 -41
- package/types/Forwarding/Requests.d.ts +1 -1
- package/types/Forwarding/RequestsResource.d.ts +1 -1
- package/types/FundingInstructions.d.ts +2 -2
- package/types/Identity/VerificationReports.d.ts +8 -8
- package/types/Identity/VerificationSessions.d.ts +11 -11
- package/types/Identity/VerificationSessionsResource.d.ts +18 -12
- package/types/InvoiceItems.d.ts +8 -13
- package/types/InvoiceItemsResource.d.ts +16 -114
- package/types/InvoiceLineItems.d.ts +10 -46
- package/types/InvoicePayments.d.ts +1 -1
- package/types/InvoiceRenderingTemplates.d.ts +1 -1
- package/types/Invoices.d.ts +60 -204
- package/types/InvoicesResource.d.ts +132 -1651
- package/types/Issuing/Authorizations.d.ts +20 -20
- package/types/Issuing/AuthorizationsResource.d.ts +4 -4
- package/types/Issuing/Cardholders.d.ts +13 -13
- package/types/Issuing/CardholdersResource.d.ts +21 -22
- package/types/Issuing/Cards.d.ts +10 -10
- package/types/Issuing/CardsResource.d.ts +13 -13
- package/types/Issuing/Disputes.d.ts +7 -7
- package/types/Issuing/DisputesResource.d.ts +5 -5
- package/types/Issuing/PersonalizationDesigns.d.ts +1 -1
- package/types/Issuing/PersonalizationDesignsResource.d.ts +2 -2
- package/types/Issuing/Tokens.d.ts +1 -1
- package/types/Issuing/Transactions.d.ts +12 -17
- package/types/Issuing/TransactionsResource.d.ts +1 -6
- package/types/LineItems.d.ts +4 -48
- package/types/LoginLinks.d.ts +1 -1
- package/types/Mandates.d.ts +1 -69
- package/types/MandatesResource.d.ts +0 -31
- package/types/PaymentAttemptRecords.d.ts +119 -135
- package/types/PaymentIntentAmountDetailsLineItems.d.ts +3 -3
- package/types/PaymentIntents.d.ts +48 -705
- package/types/PaymentIntentsResource.d.ts +6867 -19451
- package/types/PaymentLinks.d.ts +7 -12
- package/types/PaymentLinksResource.d.ts +28 -38
- package/types/PaymentMethodConfigurations.d.ts +4 -184
- package/types/PaymentMethodConfigurationsResource.d.ts +76 -326
- package/types/PaymentMethodDomains.d.ts +1 -1
- package/types/PaymentMethods.d.ts +10 -116
- package/types/PaymentMethodsResource.d.ts +7 -116
- package/types/PaymentRecords.d.ts +126 -135
- package/types/PaymentRecordsResource.d.ts +7 -7
- package/types/Payouts.d.ts +7 -7
- package/types/PayoutsResource.d.ts +3 -3
- package/types/Persons.d.ts +21 -23
- package/types/Plans.d.ts +5 -5
- package/types/PlansResource.d.ts +6 -6
- package/types/Prices.d.ts +6 -28
- package/types/PricesResource.d.ts +10 -32
- package/types/Products.d.ts +10 -10
- package/types/ProductsResource.d.ts +14 -14
- package/types/PromotionCodes.d.ts +5 -5
- package/types/PromotionCodesResource.d.ts +5 -5
- package/types/Quotes.d.ts +14 -602
- package/types/QuotesResource.d.ts +298 -2628
- package/types/Radar/EarlyFraudWarnings.d.ts +1 -1
- package/types/Radar/ValueListItems.d.ts +1 -1
- package/types/Radar/ValueLists.d.ts +2 -2
- package/types/Radar/ValueListsResource.d.ts +2 -2
- package/types/Refunds.d.ts +3 -17
- package/types/RefundsResource.d.ts +3 -3
- package/types/Reporting/ReportRuns.d.ts +3 -3
- package/types/Reporting/ReportRunsResource.d.ts +2 -2
- package/types/Reporting/ReportTypes.d.ts +3 -3
- package/types/Reviews.d.ts +1 -1
- package/types/SetupAttempts.d.ts +22 -60
- package/types/SetupIntents.d.ts +22 -157
- package/types/SetupIntentsResource.d.ts +50 -673
- package/types/ShippingRates.d.ts +3 -3
- package/types/ShippingRatesResource.d.ts +3 -3
- package/types/Sigma/ScheduledQueryRuns.d.ts +1 -1
- package/types/SourceMandateNotifications.d.ts +3 -3
- package/types/Sources.d.ts +5 -34
- package/types/SourcesResource.d.ts +2 -2
- package/types/SubscriptionItems.d.ts +7 -33
- package/types/SubscriptionItemsResource.d.ts +22 -131
- package/types/SubscriptionSchedules.d.ts +9 -209
- package/types/SubscriptionSchedulesResource.d.ts +39 -1257
- package/types/Subscriptions.d.ts +41 -251
- package/types/SubscriptionsResource.d.ts +94 -734
- package/types/Tax/Associations.d.ts +3 -3
- package/types/Tax/AssociationsResource.d.ts +1 -1
- package/types/Tax/CalculationLineItems.d.ts +7 -7
- package/types/Tax/Calculations.d.ts +12 -12
- package/types/Tax/CalculationsResource.d.ts +7 -7
- package/types/Tax/Registrations.d.ts +3 -3
- package/types/Tax/Settings.d.ts +1 -1
- package/types/Tax/SettingsResource.d.ts +1 -1
- package/types/Tax/TransactionLineItems.d.ts +5 -5
- package/types/Tax/Transactions.d.ts +9 -9
- package/types/Tax/TransactionsResource.d.ts +10 -10
- package/types/TaxIds.d.ts +6 -6
- package/types/TaxIdsResource.d.ts +4 -4
- package/types/TaxRates.d.ts +1 -1
- package/types/TaxRatesResource.d.ts +2 -2
- package/types/Terminal/Configurations.d.ts +0 -9
- package/types/Terminal/ConfigurationsResource.d.ts +0 -28
- package/types/Terminal/ConnectionTokens.d.ts +1 -1
- package/types/Terminal/Locations.d.ts +2 -2
- package/types/Terminal/LocationsResource.d.ts +3 -3
- package/types/Terminal/Readers.d.ts +10 -30
- package/types/Terminal/ReadersResource.d.ts +7 -7
- package/types/TestHelpers/ConfirmationTokensResource.d.ts +5 -107
- package/types/TestHelpers/CustomersResource.d.ts +2 -2
- package/types/TestHelpers/Issuing/AuthorizationsResource.d.ts +10 -10
- package/types/TestHelpers/Issuing/TransactionsResource.d.ts +5 -5
- package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +1 -27
- package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +1 -27
- package/types/Tokens.d.ts +4 -4
- package/types/TokensResource.d.ts +17 -17
- package/types/Topups.d.ts +3 -3
- package/types/TopupsResource.d.ts +3 -3
- package/types/TransferReversals.d.ts +4 -4
- package/types/Transfers.d.ts +5 -10
- package/types/TransfersResource.d.ts +6 -11
- package/types/Treasury/CreditReversals.d.ts +3 -3
- package/types/Treasury/CreditReversalsResource.d.ts +1 -1
- package/types/Treasury/DebitReversals.d.ts +3 -3
- package/types/Treasury/DebitReversalsResource.d.ts +1 -1
- package/types/Treasury/FinancialAccountFeatures.d.ts +0 -7
- package/types/Treasury/FinancialAccounts.d.ts +1 -6
- package/types/Treasury/FinancialAccountsResource.d.ts +2 -39
- package/types/Treasury/InboundTransfers.d.ts +4 -4
- package/types/Treasury/InboundTransfersResource.d.ts +2 -2
- package/types/Treasury/OutboundPayments.d.ts +5 -5
- package/types/Treasury/OutboundPaymentsResource.d.ts +4 -4
- package/types/Treasury/OutboundTransfers.d.ts +4 -30
- package/types/Treasury/OutboundTransfersResource.d.ts +3 -29
- package/types/Treasury/ReceivedCredits.d.ts +9 -35
- package/types/Treasury/ReceivedDebits.d.ts +6 -37
- package/types/Treasury/TransactionEntries.d.ts +11 -11
- package/types/Treasury/Transactions.d.ts +11 -11
- package/types/V2/Core/AccountLinks.d.ts +13 -21
- package/types/V2/Core/AccountLinksResource.d.ts +8 -16
- package/types/V2/Core/AccountPersons.d.ts +55 -10
- package/types/V2/Core/AccountTokensResource.d.ts +129 -24
- package/types/V2/Core/Accounts/PersonTokensResource.d.ts +48 -3
- package/types/V2/Core/Accounts/PersonsResource.d.ts +101 -11
- package/types/V2/Core/Accounts.d.ts +256 -1349
- package/types/V2/Core/AccountsResource.d.ts +282 -567
- package/types/V2/Core/EventTypes.d.ts +10 -1542
- package/types/WebhookEndpoints.d.ts +1 -1
- package/types/WebhookEndpointsResource.d.ts +5 -79
- package/types/apiVersion.d.ts +2 -1
- package/types/index.d.ts +0 -134
- package/types/lib.d.ts +0 -10
- package/cjs/resources/AccountNotices.js +0 -21
- package/cjs/resources/Billing/Analytics/MeterUsage.js +0 -12
- package/cjs/resources/Capital/FinancingOffers.js +0 -21
- package/cjs/resources/Capital/FinancingSummary.js +0 -12
- package/cjs/resources/Capital/FinancingTransactions.js +0 -17
- package/cjs/resources/ExternalAccounts.js +0 -23
- package/cjs/resources/FinancialConnections/Institutions.js +0 -17
- package/cjs/resources/FxQuotes.js +0 -15
- package/cjs/resources/Issuing/CreditUnderwritingRecords.js +0 -33
- package/cjs/resources/Issuing/DisputeSettlementDetails.js +0 -17
- package/cjs/resources/Issuing/FraudLiabilityDebits.js +0 -17
- package/cjs/resources/Margins.js +0 -22
- package/cjs/resources/Orders.js +0 -24
- package/cjs/resources/Privacy/RedactionJobs.js +0 -42
- package/cjs/resources/Tax/Forms.js +0 -20
- package/cjs/resources/Terminal/ReaderCollectedData.js +0 -12
- package/cjs/resources/V2/Billing/BillSettings/Versions.js +0 -17
- package/cjs/resources/V2/Billing/BillSettings.js +0 -27
- package/cjs/resources/V2/Billing/Cadences.js +0 -23
- package/cjs/resources/V2/Billing/CollectionSettings/Versions.js +0 -17
- package/cjs/resources/V2/Billing/CollectionSettings.js +0 -30
- package/cjs/resources/V2/Billing/Profiles.js +0 -19
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.js +0 -33
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.js +0 -37
- package/cjs/resources/V2/MoneyManagement/Adjustments.js +0 -17
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +0 -29
- package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js +0 -21
- package/cjs/resources/V2/MoneyManagement/InboundTransfers.js +0 -21
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -16
- package/cjs/resources/V2/MoneyManagement/OutboundPayments.js +0 -25
- package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -29
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js +0 -25
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.js +0 -25
- package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +0 -12
- package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js +0 -17
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js +0 -17
- package/cjs/resources/V2/MoneyManagement/TransactionEntries.js +0 -17
- package/cjs/resources/V2/MoneyManagement/Transactions.js +0 -17
- package/cjs/resources/V2/TestHelpers/FinancialAddresses.js +0 -16
- package/esm/resources/AccountNotices.js +0 -18
- package/esm/resources/Billing/Analytics/MeterUsage.js +0 -9
- package/esm/resources/Capital/FinancingOffers.js +0 -18
- package/esm/resources/Capital/FinancingSummary.js +0 -9
- package/esm/resources/Capital/FinancingTransactions.js +0 -14
- package/esm/resources/ExternalAccounts.js +0 -20
- package/esm/resources/FinancialConnections/Institutions.js +0 -14
- package/esm/resources/FxQuotes.js +0 -12
- package/esm/resources/Issuing/CreditUnderwritingRecords.js +0 -30
- package/esm/resources/Issuing/DisputeSettlementDetails.js +0 -14
- package/esm/resources/Issuing/FraudLiabilityDebits.js +0 -14
- package/esm/resources/Margins.js +0 -19
- package/esm/resources/Orders.js +0 -21
- package/esm/resources/Privacy/RedactionJobs.js +0 -39
- package/esm/resources/Tax/Forms.js +0 -17
- package/esm/resources/Terminal/ReaderCollectedData.js +0 -9
- package/esm/resources/V2/Billing/BillSettings/Versions.js +0 -14
- package/esm/resources/V2/Billing/BillSettings.js +0 -24
- package/esm/resources/V2/Billing/Cadences.js +0 -20
- package/esm/resources/V2/Billing/CollectionSettings/Versions.js +0 -14
- package/esm/resources/V2/Billing/CollectionSettings.js +0 -27
- package/esm/resources/V2/Billing/Profiles.js +0 -16
- package/esm/resources/V2/Core/Vault/GbBankAccounts.js +0 -30
- package/esm/resources/V2/Core/Vault/UsBankAccounts.js +0 -34
- package/esm/resources/V2/MoneyManagement/Adjustments.js +0 -14
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +0 -26
- package/esm/resources/V2/MoneyManagement/FinancialAddresses.js +0 -18
- package/esm/resources/V2/MoneyManagement/InboundTransfers.js +0 -18
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -13
- package/esm/resources/V2/MoneyManagement/OutboundPayments.js +0 -22
- package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -26
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.js +0 -22
- package/esm/resources/V2/MoneyManagement/PayoutMethods.js +0 -22
- package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +0 -9
- package/esm/resources/V2/MoneyManagement/ReceivedCredits.js +0 -14
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.js +0 -14
- package/esm/resources/V2/MoneyManagement/TransactionEntries.js +0 -14
- package/esm/resources/V2/MoneyManagement/Transactions.js +0 -14
- package/esm/resources/V2/TestHelpers/FinancialAddresses.js +0 -13
- package/types/AccountNotices.d.ts +0 -113
- package/types/AccountNoticesResource.d.ts +0 -98
- package/types/Billing/Analytics/MeterUsage.d.ts +0 -31
- package/types/Billing/Analytics/MeterUsageResource.d.ts +0 -689
- package/types/Billing/Analytics/MeterUsageRows.d.ts +0 -51
- package/types/Capital/FinancingOffers.d.ts +0 -188
- package/types/Capital/FinancingOffersResource.d.ts +0 -97
- package/types/Capital/FinancingSummary.d.ts +0 -106
- package/types/Capital/FinancingSummaryResource.d.ts +0 -27
- package/types/Capital/FinancingTransactions.d.ts +0 -135
- package/types/Capital/FinancingTransactionsResource.d.ts +0 -68
- package/types/ExternalAccountsResource.d.ts +0 -304
- package/types/FinancialConnections/AccountInferredBalances.d.ts +0 -38
- package/types/FinancialConnections/Institutions.d.ts +0 -98
- package/types/FinancialConnections/InstitutionsResource.d.ts +0 -47
- package/types/FxQuotes.d.ts +0 -155
- package/types/FxQuotesResource.d.ts +0 -130
- package/types/Issuing/CreditUnderwritingRecords.d.ts +0 -451
- package/types/Issuing/CreditUnderwritingRecordsResource.d.ts +0 -1032
- package/types/Issuing/DisputeSettlementDetails.d.ts +0 -85
- package/types/Issuing/DisputeSettlementDetailsResource.d.ts +0 -52
- package/types/Issuing/FraudLiabilityDebits.d.ts +0 -52
- package/types/Issuing/FraudLiabilityDebitsResource.d.ts +0 -52
- package/types/Issuing/Settlements.d.ts +0 -113
- package/types/Margins.d.ts +0 -56
- package/types/MarginsResource.d.ts +0 -114
- package/types/Orders.d.ts +0 -1163
- package/types/OrdersResource.d.ts +0 -5505
- package/types/Privacy/RedactionJobValidationErrors.d.ts +0 -60
- package/types/Privacy/RedactionJobs.d.ts +0 -111
- package/types/Privacy/RedactionJobsResource.d.ts +0 -230
- package/types/QuoteLines.d.ts +0 -634
- package/types/QuotePreviewInvoices.d.ts +0 -1771
- package/types/QuotePreviewSubscriptionSchedules.d.ts +0 -908
- package/types/Tax/Forms.d.ts +0 -220
- package/types/Tax/FormsResource.d.ts +0 -107
- package/types/Terminal/ReaderCollectedData.d.ts +0 -51
- package/types/Terminal/ReaderCollectedDataResource.d.ts +0 -29
- package/types/V2/Billing/BillSettingVersions.d.ts +0 -97
- package/types/V2/Billing/BillSettings/VersionsResource.d.ts +0 -58
- package/types/V2/Billing/BillSettings.d.ts +0 -120
- package/types/V2/Billing/BillSettingsResource.d.ts +0 -241
- package/types/V2/Billing/Cadences.d.ts +0 -690
- package/types/V2/Billing/CadencesResource.d.ts +0 -487
- package/types/V2/Billing/CollectionSettingVersions.d.ts +0 -318
- package/types/V2/Billing/CollectionSettings/VersionsResource.d.ts +0 -62
- package/types/V2/Billing/CollectionSettings.d.ts +0 -341
- package/types/V2/Billing/CollectionSettingsResource.d.ts +0 -683
- package/types/V2/Billing/Profiles.d.ts +0 -70
- package/types/V2/Billing/ProfilesResource.d.ts +0 -150
- package/types/V2/Core/Vault/GbBankAccounts.d.ts +0 -160
- package/types/V2/Core/Vault/GbBankAccountsResource.d.ts +0 -194
- package/types/V2/Core/Vault/UsBankAccounts.d.ts +0 -116
- package/types/V2/Core/Vault/UsBankAccountsResource.d.ts +0 -198
- package/types/V2/FinancialAddressCreditSimulations.d.ts +0 -27
- package/types/V2/FinancialAddressGeneratedMicrodeposits.d.ts +0 -32
- package/types/V2/MoneyManagement/Adjustments.d.ts +0 -110
- package/types/V2/MoneyManagement/AdjustmentsResource.d.ts +0 -83
- package/types/V2/MoneyManagement/FinancialAccounts.d.ts +0 -148
- package/types/V2/MoneyManagement/FinancialAccountsResource.d.ts +0 -172
- package/types/V2/MoneyManagement/FinancialAddresses.d.ts +0 -175
- package/types/V2/MoneyManagement/FinancialAddressesResource.d.ts +0 -109
- package/types/V2/MoneyManagement/InboundTransfers.d.ts +0 -212
- package/types/V2/MoneyManagement/InboundTransfersResource.d.ts +0 -144
- package/types/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +0 -170
- package/types/V2/MoneyManagement/OutboundPaymentQuotesResource.d.ts +0 -115
- package/types/V2/MoneyManagement/OutboundPayments.d.ts +0 -278
- package/types/V2/MoneyManagement/OutboundPaymentsResource.d.ts +0 -242
- package/types/V2/MoneyManagement/OutboundSetupIntents.d.ts +0 -97
- package/types/V2/MoneyManagement/OutboundSetupIntentsResource.d.ts +0 -296
- package/types/V2/MoneyManagement/OutboundTransfers.d.ts +0 -251
- package/types/V2/MoneyManagement/OutboundTransfersResource.d.ts +0 -208
- package/types/V2/MoneyManagement/PayoutMethods.d.ts +0 -160
- package/types/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +0 -93
- package/types/V2/MoneyManagement/PayoutMethodsBankAccountSpecResource.d.ts +0 -41
- package/types/V2/MoneyManagement/PayoutMethodsResource.d.ts +0 -113
- package/types/V2/MoneyManagement/ReceivedCredits.d.ts +0 -302
- package/types/V2/MoneyManagement/ReceivedCreditsResource.d.ts +0 -78
- package/types/V2/MoneyManagement/ReceivedDebits.d.ts +0 -176
- package/types/V2/MoneyManagement/ReceivedDebitsResource.d.ts +0 -48
- package/types/V2/MoneyManagement/TransactionEntries.d.ts +0 -162
- package/types/V2/MoneyManagement/TransactionEntriesResource.d.ts +0 -82
- package/types/V2/MoneyManagement/Transactions.d.ts +0 -177
- package/types/V2/MoneyManagement/TransactionsResource.d.ts +0 -83
- package/types/V2/TestHelpers/FinancialAddressesResource.d.ts +0 -68
|
@@ -59,19 +59,14 @@ declare module 'stripe' {
|
|
|
59
59
|
customer?: Configuration.Customer;
|
|
60
60
|
|
|
61
61
|
/**
|
|
62
|
-
*
|
|
62
|
+
* Enables the Account to act as a connected account and collect payments facilitated by a Connect platform. You must onboard your platform to Connect before you can add this configuration to your connected accounts. Utilize this configuration when the Account will be the Merchant of Record, like with Direct charges or Destination Charges with on_behalf_of set.
|
|
63
63
|
*/
|
|
64
64
|
merchant?: Configuration.Merchant;
|
|
65
65
|
|
|
66
66
|
/**
|
|
67
|
-
* The Recipient Configuration allows the Account to receive funds.
|
|
67
|
+
* The Recipient Configuration allows the Account to receive funds. Utilize this configuration if the Account will not be the Merchant of Record, like with Separate Charges & Transfers, or Destination Charges without on_behalf_of set.
|
|
68
68
|
*/
|
|
69
69
|
recipient?: Configuration.Recipient;
|
|
70
|
-
|
|
71
|
-
/**
|
|
72
|
-
* The Storer Configuration allows the Account to store and move funds using stored-value FinancialAccounts.
|
|
73
|
-
*/
|
|
74
|
-
storer?: Configuration.Storer;
|
|
75
70
|
}
|
|
76
71
|
|
|
77
72
|
namespace Configuration {
|
|
@@ -113,26 +108,15 @@ declare module 'stripe' {
|
|
|
113
108
|
* A recent IP address of the customer used for tax reporting and tax location inference.
|
|
114
109
|
*/
|
|
115
110
|
ip_address?: string;
|
|
116
|
-
|
|
117
|
-
/**
|
|
118
|
-
* The data source used to identify the customer's tax location - defaults to `identity_address`. Will only be used for automatic tax calculation on the customer's Invoices and Subscriptions. This behavior is now deprecated for new users.
|
|
119
|
-
*/
|
|
120
|
-
location_source?: AutomaticIndirectTax.LocationSource;
|
|
121
111
|
}
|
|
122
112
|
|
|
123
113
|
namespace AutomaticIndirectTax {
|
|
124
114
|
type Exempt = 'exempt' | 'none' | 'reverse';
|
|
125
|
-
|
|
126
|
-
type LocationSource =
|
|
127
|
-
| 'identity_address'
|
|
128
|
-
| 'ip_address'
|
|
129
|
-
| 'payment_method'
|
|
130
|
-
| 'shipping_address';
|
|
131
115
|
}
|
|
132
116
|
|
|
133
117
|
interface Billing {
|
|
134
118
|
/**
|
|
135
|
-
* Default settings
|
|
119
|
+
* Default invoice settings for the customer account.
|
|
136
120
|
*/
|
|
137
121
|
invoice?: Billing.Invoice;
|
|
138
122
|
}
|
|
@@ -145,22 +129,22 @@ declare module 'stripe' {
|
|
|
145
129
|
custom_fields?: Array<Invoice.CustomField>;
|
|
146
130
|
|
|
147
131
|
/**
|
|
148
|
-
* Default footer
|
|
132
|
+
* Default invoice footer.
|
|
149
133
|
*/
|
|
150
134
|
footer?: string;
|
|
151
135
|
|
|
152
136
|
/**
|
|
153
|
-
*
|
|
137
|
+
* Sequence number to use on the customer account's next invoice. Defaults to 1.
|
|
154
138
|
*/
|
|
155
139
|
next_sequence?: number;
|
|
156
140
|
|
|
157
141
|
/**
|
|
158
|
-
*
|
|
142
|
+
* Prefix used to generate unique invoice numbers. Must be 3-12 uppercase letters or numbers.
|
|
159
143
|
*/
|
|
160
144
|
prefix?: string;
|
|
161
145
|
|
|
162
146
|
/**
|
|
163
|
-
* Default
|
|
147
|
+
* Default invoice PDF rendering options.
|
|
164
148
|
*/
|
|
165
149
|
rendering?: Invoice.Rendering;
|
|
166
150
|
}
|
|
@@ -180,7 +164,7 @@ declare module 'stripe' {
|
|
|
180
164
|
|
|
181
165
|
interface Rendering {
|
|
182
166
|
/**
|
|
183
|
-
*
|
|
167
|
+
* Indicates whether displayed line item prices and amounts on invoice PDFs include inclusive tax amounts. Must be either `include_inclusive_tax` or `exclude_tax`.
|
|
184
168
|
*/
|
|
185
169
|
amount_tax_display?: Rendering.AmountTaxDisplay;
|
|
186
170
|
|
|
@@ -259,7 +243,7 @@ declare module 'stripe' {
|
|
|
259
243
|
konbini_payments?: Merchant.KonbiniPayments;
|
|
260
244
|
|
|
261
245
|
/**
|
|
262
|
-
* The
|
|
246
|
+
* The Merchant Category Code (MCC) for the Merchant Configuration. MCCs classify businesses based on the goods or services they provide.
|
|
263
247
|
*/
|
|
264
248
|
mcc?: string;
|
|
265
249
|
|
|
@@ -282,7 +266,7 @@ declare module 'stripe' {
|
|
|
282
266
|
namespace Merchant {
|
|
283
267
|
interface BacsDebitPayments {
|
|
284
268
|
/**
|
|
285
|
-
* Display name for Bacs
|
|
269
|
+
* Display name for Bacs Direct Debit payments.
|
|
286
270
|
*/
|
|
287
271
|
display_name?: string;
|
|
288
272
|
}
|
|
@@ -1007,7 +991,7 @@ declare module 'stripe' {
|
|
|
1007
991
|
state?: string;
|
|
1008
992
|
|
|
1009
993
|
/**
|
|
1010
|
-
* Town or
|
|
994
|
+
* Town or district.
|
|
1011
995
|
*/
|
|
1012
996
|
town?: string;
|
|
1013
997
|
}
|
|
@@ -1023,16 +1007,6 @@ declare module 'stripe' {
|
|
|
1023
1007
|
|
|
1024
1008
|
namespace Recipient {
|
|
1025
1009
|
interface Capabilities {
|
|
1026
|
-
/**
|
|
1027
|
-
* Capabilities that enable OutboundPayments to a bank account linked to this Account.
|
|
1028
|
-
*/
|
|
1029
|
-
bank_accounts?: Capabilities.BankAccounts;
|
|
1030
|
-
|
|
1031
|
-
/**
|
|
1032
|
-
* Capabilities that enable OutboundPayments to a card linked to this Account.
|
|
1033
|
-
*/
|
|
1034
|
-
cards?: Capabilities.Cards;
|
|
1035
|
-
|
|
1036
1010
|
/**
|
|
1037
1011
|
* Capabilities that enable the recipient to manage their Stripe Balance (/v1/balance).
|
|
1038
1012
|
*/
|
|
@@ -1040,44 +1014,9 @@ declare module 'stripe' {
|
|
|
1040
1014
|
}
|
|
1041
1015
|
|
|
1042
1016
|
namespace Capabilities {
|
|
1043
|
-
interface BankAccounts {
|
|
1044
|
-
/**
|
|
1045
|
-
* Enables this Account to receive OutboundPayments to linked bank accounts over local networks.
|
|
1046
|
-
*/
|
|
1047
|
-
local?: BankAccounts.Local;
|
|
1048
|
-
|
|
1049
|
-
/**
|
|
1050
|
-
* Enables this Account to receive OutboundPayments to linked bank accounts over wire.
|
|
1051
|
-
*/
|
|
1052
|
-
wire?: BankAccounts.Wire;
|
|
1053
|
-
}
|
|
1054
|
-
|
|
1055
|
-
namespace BankAccounts {
|
|
1056
|
-
interface Local {
|
|
1057
|
-
/**
|
|
1058
|
-
* To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1059
|
-
*/
|
|
1060
|
-
requested: boolean;
|
|
1061
|
-
}
|
|
1062
|
-
|
|
1063
|
-
interface Wire {
|
|
1064
|
-
/**
|
|
1065
|
-
* To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1066
|
-
*/
|
|
1067
|
-
requested: boolean;
|
|
1068
|
-
}
|
|
1069
|
-
}
|
|
1070
|
-
|
|
1071
|
-
interface Cards {
|
|
1072
|
-
/**
|
|
1073
|
-
* To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1074
|
-
*/
|
|
1075
|
-
requested: boolean;
|
|
1076
|
-
}
|
|
1077
|
-
|
|
1078
1017
|
interface StripeBalance {
|
|
1079
1018
|
/**
|
|
1080
|
-
*
|
|
1019
|
+
* Enables this Account to receive /v1/transfers into their Stripe Balance (/v1/balance).
|
|
1081
1020
|
*/
|
|
1082
1021
|
stripe_transfers?: StripeBalance.StripeTransfers;
|
|
1083
1022
|
}
|
|
@@ -1092,184 +1031,6 @@ declare module 'stripe' {
|
|
|
1092
1031
|
}
|
|
1093
1032
|
}
|
|
1094
1033
|
}
|
|
1095
|
-
|
|
1096
|
-
interface Storer {
|
|
1097
|
-
/**
|
|
1098
|
-
* Capabilities to request on the Storer Configuration.
|
|
1099
|
-
*/
|
|
1100
|
-
capabilities?: Storer.Capabilities;
|
|
1101
|
-
}
|
|
1102
|
-
|
|
1103
|
-
namespace Storer {
|
|
1104
|
-
interface Capabilities {
|
|
1105
|
-
/**
|
|
1106
|
-
* Can provision a financial address to credit/debit a FinancialAccount.
|
|
1107
|
-
*/
|
|
1108
|
-
financial_addresses?: Capabilities.FinancialAddresses;
|
|
1109
|
-
|
|
1110
|
-
/**
|
|
1111
|
-
* Can hold storage-type funds on Stripe.
|
|
1112
|
-
*/
|
|
1113
|
-
holds_currencies?: Capabilities.HoldsCurrencies;
|
|
1114
|
-
|
|
1115
|
-
/**
|
|
1116
|
-
* Can pull funds from an external source, owned by yourself, to a FinancialAccount.
|
|
1117
|
-
*/
|
|
1118
|
-
inbound_transfers?: Capabilities.InboundTransfers;
|
|
1119
|
-
|
|
1120
|
-
/**
|
|
1121
|
-
* Can send funds from a FinancialAccount to a destination owned by someone else.
|
|
1122
|
-
*/
|
|
1123
|
-
outbound_payments?: Capabilities.OutboundPayments;
|
|
1124
|
-
|
|
1125
|
-
/**
|
|
1126
|
-
* Can send funds from a FinancialAccount to a destination owned by yourself.
|
|
1127
|
-
*/
|
|
1128
|
-
outbound_transfers?: Capabilities.OutboundTransfers;
|
|
1129
|
-
}
|
|
1130
|
-
|
|
1131
|
-
namespace Capabilities {
|
|
1132
|
-
interface FinancialAddresses {
|
|
1133
|
-
/**
|
|
1134
|
-
* Can provision a bank-account-like financial address (VBAN) to credit/debit a FinancialAccount.
|
|
1135
|
-
*/
|
|
1136
|
-
bank_accounts?: FinancialAddresses.BankAccounts;
|
|
1137
|
-
}
|
|
1138
|
-
|
|
1139
|
-
namespace FinancialAddresses {
|
|
1140
|
-
interface BankAccounts {
|
|
1141
|
-
/**
|
|
1142
|
-
* To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1143
|
-
*/
|
|
1144
|
-
requested: boolean;
|
|
1145
|
-
}
|
|
1146
|
-
}
|
|
1147
|
-
|
|
1148
|
-
interface HoldsCurrencies {
|
|
1149
|
-
/**
|
|
1150
|
-
* Can hold storage-type funds on Stripe in EUR.
|
|
1151
|
-
*/
|
|
1152
|
-
eur?: HoldsCurrencies.Eur;
|
|
1153
|
-
|
|
1154
|
-
/**
|
|
1155
|
-
* Can hold storage-type funds on Stripe in GBP.
|
|
1156
|
-
*/
|
|
1157
|
-
gbp?: HoldsCurrencies.Gbp;
|
|
1158
|
-
|
|
1159
|
-
/**
|
|
1160
|
-
* Can hold storage-type funds on Stripe in USD.
|
|
1161
|
-
*/
|
|
1162
|
-
usd?: HoldsCurrencies.Usd;
|
|
1163
|
-
}
|
|
1164
|
-
|
|
1165
|
-
namespace HoldsCurrencies {
|
|
1166
|
-
interface Eur {
|
|
1167
|
-
/**
|
|
1168
|
-
* To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1169
|
-
*/
|
|
1170
|
-
requested: boolean;
|
|
1171
|
-
}
|
|
1172
|
-
|
|
1173
|
-
interface Gbp {
|
|
1174
|
-
/**
|
|
1175
|
-
* To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1176
|
-
*/
|
|
1177
|
-
requested: boolean;
|
|
1178
|
-
}
|
|
1179
|
-
|
|
1180
|
-
interface Usd {
|
|
1181
|
-
/**
|
|
1182
|
-
* To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1183
|
-
*/
|
|
1184
|
-
requested: boolean;
|
|
1185
|
-
}
|
|
1186
|
-
}
|
|
1187
|
-
|
|
1188
|
-
interface InboundTransfers {
|
|
1189
|
-
/**
|
|
1190
|
-
* Can pull funds from an external bank account owned by yourself to a FinancialAccount.
|
|
1191
|
-
*/
|
|
1192
|
-
bank_accounts?: InboundTransfers.BankAccounts;
|
|
1193
|
-
}
|
|
1194
|
-
|
|
1195
|
-
namespace InboundTransfers {
|
|
1196
|
-
interface BankAccounts {
|
|
1197
|
-
/**
|
|
1198
|
-
* To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1199
|
-
*/
|
|
1200
|
-
requested: boolean;
|
|
1201
|
-
}
|
|
1202
|
-
}
|
|
1203
|
-
|
|
1204
|
-
interface OutboundPayments {
|
|
1205
|
-
/**
|
|
1206
|
-
* Can send funds from a FinancialAccount to a bank account owned by someone else.
|
|
1207
|
-
*/
|
|
1208
|
-
bank_accounts?: OutboundPayments.BankAccounts;
|
|
1209
|
-
|
|
1210
|
-
/**
|
|
1211
|
-
* Can send funds from a FinancialAccount to a debit card owned by someone else.
|
|
1212
|
-
*/
|
|
1213
|
-
cards?: OutboundPayments.Cards;
|
|
1214
|
-
|
|
1215
|
-
/**
|
|
1216
|
-
* Can send funds from a FinancialAccount to another FinancialAccount owned by someone else.
|
|
1217
|
-
*/
|
|
1218
|
-
financial_accounts?: OutboundPayments.FinancialAccounts;
|
|
1219
|
-
}
|
|
1220
|
-
|
|
1221
|
-
namespace OutboundPayments {
|
|
1222
|
-
interface BankAccounts {
|
|
1223
|
-
/**
|
|
1224
|
-
* To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1225
|
-
*/
|
|
1226
|
-
requested: boolean;
|
|
1227
|
-
}
|
|
1228
|
-
|
|
1229
|
-
interface Cards {
|
|
1230
|
-
/**
|
|
1231
|
-
* To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1232
|
-
*/
|
|
1233
|
-
requested: boolean;
|
|
1234
|
-
}
|
|
1235
|
-
|
|
1236
|
-
interface FinancialAccounts {
|
|
1237
|
-
/**
|
|
1238
|
-
* To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1239
|
-
*/
|
|
1240
|
-
requested: boolean;
|
|
1241
|
-
}
|
|
1242
|
-
}
|
|
1243
|
-
|
|
1244
|
-
interface OutboundTransfers {
|
|
1245
|
-
/**
|
|
1246
|
-
* Can send funds from a FinancialAccount to a bank account owned by yourself.
|
|
1247
|
-
*/
|
|
1248
|
-
bank_accounts?: OutboundTransfers.BankAccounts;
|
|
1249
|
-
|
|
1250
|
-
/**
|
|
1251
|
-
* Can send funds from a FinancialAccount to another FinancialAccount owned by yourself.
|
|
1252
|
-
*/
|
|
1253
|
-
financial_accounts?: OutboundTransfers.FinancialAccounts;
|
|
1254
|
-
}
|
|
1255
|
-
|
|
1256
|
-
namespace OutboundTransfers {
|
|
1257
|
-
interface BankAccounts {
|
|
1258
|
-
/**
|
|
1259
|
-
* To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1260
|
-
*/
|
|
1261
|
-
requested: boolean;
|
|
1262
|
-
}
|
|
1263
|
-
|
|
1264
|
-
interface FinancialAccounts {
|
|
1265
|
-
/**
|
|
1266
|
-
* To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
1267
|
-
*/
|
|
1268
|
-
requested: boolean;
|
|
1269
|
-
}
|
|
1270
|
-
}
|
|
1271
|
-
}
|
|
1272
|
-
}
|
|
1273
1034
|
}
|
|
1274
1035
|
|
|
1275
1036
|
type Dashboard = 'express' | 'full' | 'none';
|
|
@@ -1563,11 +1324,6 @@ declare module 'stripe' {
|
|
|
1563
1324
|
* Details on the Account's acceptance of the [Stripe Services Agreement](https://docs.stripe.com/connect/updating-accounts#tos-acceptance).
|
|
1564
1325
|
*/
|
|
1565
1326
|
account?: TermsOfService.Account;
|
|
1566
|
-
|
|
1567
|
-
/**
|
|
1568
|
-
* Details on the Account's acceptance of Treasury-specific terms of service.
|
|
1569
|
-
*/
|
|
1570
|
-
storer?: TermsOfService.Storer;
|
|
1571
1327
|
}
|
|
1572
1328
|
|
|
1573
1329
|
namespace TermsOfService {
|
|
@@ -1587,23 +1343,6 @@ declare module 'stripe' {
|
|
|
1587
1343
|
*/
|
|
1588
1344
|
user_agent?: string;
|
|
1589
1345
|
}
|
|
1590
|
-
|
|
1591
|
-
interface Storer {
|
|
1592
|
-
/**
|
|
1593
|
-
* The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
|
|
1594
|
-
*/
|
|
1595
|
-
date: string;
|
|
1596
|
-
|
|
1597
|
-
/**
|
|
1598
|
-
* The IP address from which the Account's representative accepted the terms of service.
|
|
1599
|
-
*/
|
|
1600
|
-
ip: string;
|
|
1601
|
-
|
|
1602
|
-
/**
|
|
1603
|
-
* The user agent of the browser from which the Account's representative accepted the terms of service.
|
|
1604
|
-
*/
|
|
1605
|
-
user_agent?: string;
|
|
1606
|
-
}
|
|
1607
1346
|
}
|
|
1608
1347
|
}
|
|
1609
1348
|
|
|
@@ -1624,7 +1363,7 @@ declare module 'stripe' {
|
|
|
1624
1363
|
documents?: BusinessDetails.Documents;
|
|
1625
1364
|
|
|
1626
1365
|
/**
|
|
1627
|
-
*
|
|
1366
|
+
* Estimated maximum number of workers currently engaged by the business (including employees, contractors, and vendors).
|
|
1628
1367
|
*/
|
|
1629
1368
|
estimated_worker_count?: number;
|
|
1630
1369
|
|
|
@@ -1697,7 +1436,7 @@ declare module 'stripe' {
|
|
|
1697
1436
|
state?: string;
|
|
1698
1437
|
|
|
1699
1438
|
/**
|
|
1700
|
-
* Town or
|
|
1439
|
+
* Town or district.
|
|
1701
1440
|
*/
|
|
1702
1441
|
town?: string;
|
|
1703
1442
|
}
|
|
@@ -1706,7 +1445,7 @@ declare module 'stripe' {
|
|
|
1706
1445
|
/**
|
|
1707
1446
|
* A non-negative integer representing the amount in the smallest currency unit.
|
|
1708
1447
|
*/
|
|
1709
|
-
amount?: Amount;
|
|
1448
|
+
amount?: AnnualRevenue.Amount;
|
|
1710
1449
|
|
|
1711
1450
|
/**
|
|
1712
1451
|
* The close-out date of the preceding fiscal year in ISO 8601 format. E.g. 2023-12-31 for the 31st of December, 2023.
|
|
@@ -1714,6 +1453,20 @@ declare module 'stripe' {
|
|
|
1714
1453
|
fiscal_year_end?: string;
|
|
1715
1454
|
}
|
|
1716
1455
|
|
|
1456
|
+
namespace AnnualRevenue {
|
|
1457
|
+
interface Amount {
|
|
1458
|
+
/**
|
|
1459
|
+
* A non-negative integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units).
|
|
1460
|
+
*/
|
|
1461
|
+
value?: number;
|
|
1462
|
+
|
|
1463
|
+
/**
|
|
1464
|
+
* Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
|
|
1465
|
+
*/
|
|
1466
|
+
currency?: string;
|
|
1467
|
+
}
|
|
1468
|
+
}
|
|
1469
|
+
|
|
1717
1470
|
interface Documents {
|
|
1718
1471
|
/**
|
|
1719
1472
|
* One or more documents that support the bank account ownership verification requirement. Must be a document associated with the account's primary active bank account that displays the last 4 digits of the account number, either a statement or a check.
|
|
@@ -1926,70 +1679,111 @@ declare module 'stripe' {
|
|
|
1926
1679
|
| 'ao_nif'
|
|
1927
1680
|
| 'ar_cuit'
|
|
1928
1681
|
| 'at_fn'
|
|
1682
|
+
| 'at_stn'
|
|
1683
|
+
| 'at_vat'
|
|
1929
1684
|
| 'au_abn'
|
|
1930
1685
|
| 'au_acn'
|
|
1931
1686
|
| 'au_in'
|
|
1932
1687
|
| 'az_tin'
|
|
1933
1688
|
| 'bd_etin'
|
|
1934
1689
|
| 'be_cbe'
|
|
1690
|
+
| 'be_vat'
|
|
1935
1691
|
| 'bg_uic'
|
|
1692
|
+
| 'bg_vat'
|
|
1936
1693
|
| 'br_cnpj'
|
|
1937
1694
|
| 'ca_cn'
|
|
1938
1695
|
| 'ca_crarr'
|
|
1696
|
+
| 'ca_gst_hst'
|
|
1939
1697
|
| 'ca_neq'
|
|
1940
1698
|
| 'ca_rid'
|
|
1941
1699
|
| 'ch_chid'
|
|
1942
1700
|
| 'ch_uid'
|
|
1943
1701
|
| 'cr_cpj'
|
|
1944
1702
|
| 'cr_nite'
|
|
1703
|
+
| 'cy_he'
|
|
1945
1704
|
| 'cy_tic'
|
|
1705
|
+
| 'cy_vat'
|
|
1946
1706
|
| 'cz_ico'
|
|
1707
|
+
| 'cz_vat'
|
|
1947
1708
|
| 'de_hrn'
|
|
1709
|
+
| 'de_stn'
|
|
1948
1710
|
| 'de_vat'
|
|
1949
1711
|
| 'dk_cvr'
|
|
1712
|
+
| 'dk_vat'
|
|
1950
1713
|
| 'do_rcn'
|
|
1951
1714
|
| 'ee_rk'
|
|
1715
|
+
| 'ee_vat'
|
|
1952
1716
|
| 'es_cif'
|
|
1717
|
+
| 'es_vat'
|
|
1718
|
+
| 'fi_vat'
|
|
1953
1719
|
| 'fi_yt'
|
|
1720
|
+
| 'fr_rna'
|
|
1954
1721
|
| 'fr_siren'
|
|
1955
1722
|
| 'fr_vat'
|
|
1956
1723
|
| 'gb_crn'
|
|
1957
1724
|
| 'gi_crn'
|
|
1725
|
+
| 'gr_afm'
|
|
1958
1726
|
| 'gr_gemi'
|
|
1727
|
+
| 'gr_vat'
|
|
1959
1728
|
| 'gt_nit'
|
|
1960
1729
|
| 'hk_br'
|
|
1961
1730
|
| 'hk_cr'
|
|
1962
|
-
| '
|
|
1731
|
+
| 'hr_mbs'
|
|
1732
|
+
| 'hr_oib'
|
|
1733
|
+
| 'hr_vat'
|
|
1963
1734
|
| 'hu_cjs'
|
|
1735
|
+
| 'hu_tin'
|
|
1736
|
+
| 'hu_vat'
|
|
1964
1737
|
| 'ie_crn'
|
|
1738
|
+
| 'ie_trn'
|
|
1739
|
+
| 'ie_vat'
|
|
1965
1740
|
| 'it_rea'
|
|
1966
1741
|
| 'it_vat'
|
|
1967
1742
|
| 'jp_cn'
|
|
1968
1743
|
| 'kz_bin'
|
|
1969
1744
|
| 'li_uid'
|
|
1970
1745
|
| 'lt_ccrn'
|
|
1746
|
+
| 'lt_vat'
|
|
1747
|
+
| 'lu_nif'
|
|
1971
1748
|
| 'lu_rcs'
|
|
1749
|
+
| 'lu_vat'
|
|
1972
1750
|
| 'lv_urn'
|
|
1751
|
+
| 'lv_vat'
|
|
1973
1752
|
| 'mt_crn'
|
|
1753
|
+
| 'mt_tin'
|
|
1754
|
+
| 'mt_vat'
|
|
1974
1755
|
| 'mx_rfc'
|
|
1975
1756
|
| 'my_brn'
|
|
1976
1757
|
| 'my_coid'
|
|
1758
|
+
| 'my_itn'
|
|
1977
1759
|
| 'my_sst'
|
|
1978
1760
|
| 'mz_nuit'
|
|
1979
1761
|
| 'nl_kvk'
|
|
1762
|
+
| 'nl_rsin'
|
|
1763
|
+
| 'nl_vat'
|
|
1980
1764
|
| 'no_orgnr'
|
|
1981
1765
|
| 'nz_bn'
|
|
1766
|
+
| 'nz_ird'
|
|
1982
1767
|
| 'pe_ruc'
|
|
1983
1768
|
| 'pk_ntn'
|
|
1769
|
+
| 'pl_nip'
|
|
1984
1770
|
| 'pl_regon'
|
|
1771
|
+
| 'pl_vat'
|
|
1985
1772
|
| 'pt_vat'
|
|
1986
1773
|
| 'ro_cui'
|
|
1774
|
+
| 'ro_orc'
|
|
1775
|
+
| 'ro_vat'
|
|
1987
1776
|
| 'sa_crn'
|
|
1988
1777
|
| 'sa_tin'
|
|
1989
1778
|
| 'se_orgnr'
|
|
1779
|
+
| 'se_vat'
|
|
1990
1780
|
| 'sg_uen'
|
|
1991
1781
|
| 'si_msp'
|
|
1782
|
+
| 'si_tin'
|
|
1783
|
+
| 'si_vat'
|
|
1784
|
+
| 'sk_dic'
|
|
1992
1785
|
| 'sk_ico'
|
|
1786
|
+
| 'sk_vat'
|
|
1993
1787
|
| 'th_crn'
|
|
1994
1788
|
| 'th_prn'
|
|
1995
1789
|
| 'th_tin'
|
|
@@ -2000,7 +1794,21 @@ declare module 'stripe' {
|
|
|
2000
1794
|
/**
|
|
2001
1795
|
* A non-negative integer representing the amount in the smallest currency unit.
|
|
2002
1796
|
*/
|
|
2003
|
-
amount?: Amount;
|
|
1797
|
+
amount?: MonthlyEstimatedRevenue.Amount;
|
|
1798
|
+
}
|
|
1799
|
+
|
|
1800
|
+
namespace MonthlyEstimatedRevenue {
|
|
1801
|
+
interface Amount {
|
|
1802
|
+
/**
|
|
1803
|
+
* A non-negative integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units).
|
|
1804
|
+
*/
|
|
1805
|
+
value?: number;
|
|
1806
|
+
|
|
1807
|
+
/**
|
|
1808
|
+
* Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
|
|
1809
|
+
*/
|
|
1810
|
+
currency?: string;
|
|
1811
|
+
}
|
|
2004
1812
|
}
|
|
2005
1813
|
|
|
2006
1814
|
interface ScriptAddresses {
|
|
@@ -2048,7 +1856,7 @@ declare module 'stripe' {
|
|
|
2048
1856
|
state?: string;
|
|
2049
1857
|
|
|
2050
1858
|
/**
|
|
2051
|
-
* Town or
|
|
1859
|
+
* Town or district.
|
|
2052
1860
|
*/
|
|
2053
1861
|
town?: string;
|
|
2054
1862
|
}
|
|
@@ -2085,7 +1893,7 @@ declare module 'stripe' {
|
|
|
2085
1893
|
state?: string;
|
|
2086
1894
|
|
|
2087
1895
|
/**
|
|
2088
|
-
* Town or
|
|
1896
|
+
* Town or district.
|
|
2089
1897
|
*/
|
|
2090
1898
|
town?: string;
|
|
2091
1899
|
}
|
|
@@ -2280,7 +2088,7 @@ declare module 'stripe' {
|
|
|
2280
2088
|
state?: string;
|
|
2281
2089
|
|
|
2282
2090
|
/**
|
|
2283
|
-
* Town or
|
|
2091
|
+
* Town or district.
|
|
2284
2092
|
*/
|
|
2285
2093
|
town?: string;
|
|
2286
2094
|
}
|
|
@@ -2343,7 +2151,7 @@ declare module 'stripe' {
|
|
|
2343
2151
|
state?: string;
|
|
2344
2152
|
|
|
2345
2153
|
/**
|
|
2346
|
-
* Town or
|
|
2154
|
+
* Town or district.
|
|
2347
2155
|
*/
|
|
2348
2156
|
town?: string;
|
|
2349
2157
|
}
|
|
@@ -2498,36 +2306,81 @@ declare module 'stripe' {
|
|
|
2498
2306
|
type Type =
|
|
2499
2307
|
| 'ae_eid'
|
|
2500
2308
|
| 'ao_nif'
|
|
2309
|
+
| 'ar_cuil'
|
|
2501
2310
|
| 'ar_dni'
|
|
2311
|
+
| 'at_stn'
|
|
2502
2312
|
| 'az_tin'
|
|
2503
2313
|
| 'bd_brc'
|
|
2504
2314
|
| 'bd_etin'
|
|
2505
2315
|
| 'bd_nid'
|
|
2316
|
+
| 'be_nrn'
|
|
2317
|
+
| 'bg_ucn'
|
|
2318
|
+
| 'bn_nric'
|
|
2506
2319
|
| 'br_cpf'
|
|
2320
|
+
| 'ca_sin'
|
|
2321
|
+
| 'ch_oasi'
|
|
2322
|
+
| 'cl_rut'
|
|
2323
|
+
| 'cn_pp'
|
|
2324
|
+
| 'co_nuip'
|
|
2325
|
+
| 'cr_ci'
|
|
2507
2326
|
| 'cr_cpf'
|
|
2508
2327
|
| 'cr_dimex'
|
|
2509
2328
|
| 'cr_nite'
|
|
2329
|
+
| 'cy_tic'
|
|
2330
|
+
| 'cz_rc'
|
|
2510
2331
|
| 'de_stn'
|
|
2332
|
+
| 'dk_cpr'
|
|
2333
|
+
| 'do_cie'
|
|
2511
2334
|
| 'do_rcn'
|
|
2335
|
+
| 'ec_ci'
|
|
2336
|
+
| 'ee_ik'
|
|
2337
|
+
| 'es_nif'
|
|
2338
|
+
| 'fi_hetu'
|
|
2339
|
+
| 'fr_nir'
|
|
2340
|
+
| 'gb_nino'
|
|
2341
|
+
| 'gr_afm'
|
|
2512
2342
|
| 'gt_nit'
|
|
2513
2343
|
| 'hk_id'
|
|
2344
|
+
| 'hr_oib'
|
|
2345
|
+
| 'hu_ad'
|
|
2346
|
+
| 'id_nik'
|
|
2347
|
+
| 'ie_ppsn'
|
|
2348
|
+
| 'is_kt'
|
|
2349
|
+
| 'it_cf'
|
|
2350
|
+
| 'jp_inc'
|
|
2351
|
+
| 'ke_pin'
|
|
2514
2352
|
| 'kz_iin'
|
|
2353
|
+
| 'li_peid'
|
|
2354
|
+
| 'lt_ak'
|
|
2355
|
+
| 'lu_nif'
|
|
2356
|
+
| 'lv_pk'
|
|
2515
2357
|
| 'mx_rfc'
|
|
2516
2358
|
| 'my_nric'
|
|
2517
2359
|
| 'mz_nuit'
|
|
2360
|
+
| 'ng_nin'
|
|
2518
2361
|
| 'nl_bsn'
|
|
2362
|
+
| 'no_nin'
|
|
2363
|
+
| 'nz_ird'
|
|
2519
2364
|
| 'pe_dni'
|
|
2520
2365
|
| 'pk_cnic'
|
|
2521
2366
|
| 'pk_snic'
|
|
2367
|
+
| 'pl_pesel'
|
|
2368
|
+
| 'pt_nif'
|
|
2369
|
+
| 'ro_cnp'
|
|
2522
2370
|
| 'sa_tin'
|
|
2371
|
+
| 'se_pin'
|
|
2523
2372
|
| 'sg_fin'
|
|
2524
2373
|
| 'sg_nric'
|
|
2374
|
+
| 'sk_dic'
|
|
2525
2375
|
| 'th_lc'
|
|
2526
2376
|
| 'th_pin'
|
|
2377
|
+
| 'tr_tin'
|
|
2527
2378
|
| 'us_itin'
|
|
2528
2379
|
| 'us_itin_last_4'
|
|
2529
2380
|
| 'us_ssn'
|
|
2530
|
-
| 'us_ssn_last_4'
|
|
2381
|
+
| 'us_ssn_last_4'
|
|
2382
|
+
| 'uy_dni'
|
|
2383
|
+
| 'za_id';
|
|
2531
2384
|
}
|
|
2532
2385
|
|
|
2533
2386
|
type LegalGender = 'female' | 'male';
|
|
@@ -2606,7 +2459,7 @@ declare module 'stripe' {
|
|
|
2606
2459
|
state?: string;
|
|
2607
2460
|
|
|
2608
2461
|
/**
|
|
2609
|
-
* Town or
|
|
2462
|
+
* Town or district.
|
|
2610
2463
|
*/
|
|
2611
2464
|
town?: string;
|
|
2612
2465
|
}
|
|
@@ -2643,7 +2496,7 @@ declare module 'stripe' {
|
|
|
2643
2496
|
state?: string;
|
|
2644
2497
|
|
|
2645
2498
|
/**
|
|
2646
|
-
* Town or
|
|
2499
|
+
* Town or district.
|
|
2647
2500
|
*/
|
|
2648
2501
|
town?: string;
|
|
2649
2502
|
}
|
|
@@ -2693,7 +2546,6 @@ declare module 'stripe' {
|
|
|
2693
2546
|
| 'configuration.customer'
|
|
2694
2547
|
| 'configuration.merchant'
|
|
2695
2548
|
| 'configuration.recipient'
|
|
2696
|
-
| 'configuration.storer'
|
|
2697
2549
|
| 'defaults'
|
|
2698
2550
|
| 'future_requirements'
|
|
2699
2551
|
| 'identity'
|
|
@@ -2714,7 +2566,6 @@ declare module 'stripe' {
|
|
|
2714
2566
|
| 'configuration.customer'
|
|
2715
2567
|
| 'configuration.merchant'
|
|
2716
2568
|
| 'configuration.recipient'
|
|
2717
|
-
| 'configuration.storer'
|
|
2718
2569
|
| 'defaults'
|
|
2719
2570
|
| 'future_requirements'
|
|
2720
2571
|
| 'identity'
|
|
@@ -2778,19 +2629,14 @@ declare module 'stripe' {
|
|
|
2778
2629
|
customer?: Configuration.Customer;
|
|
2779
2630
|
|
|
2780
2631
|
/**
|
|
2781
|
-
*
|
|
2632
|
+
* Enables the Account to act as a connected account and collect payments facilitated by a Connect platform. You must onboard your platform to Connect before you can add this configuration to your connected accounts. Utilize this configuration when the Account will be the Merchant of Record, like with Direct charges or Destination Charges with on_behalf_of set.
|
|
2782
2633
|
*/
|
|
2783
2634
|
merchant?: Configuration.Merchant;
|
|
2784
2635
|
|
|
2785
2636
|
/**
|
|
2786
|
-
* The Recipient Configuration allows the Account to receive funds.
|
|
2637
|
+
* The Recipient Configuration allows the Account to receive funds. Utilize this configuration if the Account will not be the Merchant of Record, like with Separate Charges & Transfers, or Destination Charges without on_behalf_of set.
|
|
2787
2638
|
*/
|
|
2788
2639
|
recipient?: Configuration.Recipient;
|
|
2789
|
-
|
|
2790
|
-
/**
|
|
2791
|
-
* The Storer Configuration allows the Account to store and move funds using stored-value FinancialAccounts.
|
|
2792
|
-
*/
|
|
2793
|
-
storer?: Configuration.Storer;
|
|
2794
2640
|
}
|
|
2795
2641
|
|
|
2796
2642
|
namespace Configuration {
|
|
@@ -2829,7 +2675,7 @@ declare module 'stripe' {
|
|
|
2829
2675
|
namespace Customer {
|
|
2830
2676
|
interface AutomaticIndirectTax {
|
|
2831
2677
|
/**
|
|
2832
|
-
*
|
|
2678
|
+
* The customer account's tax exemption status: `none`, `exempt`, or `reverse`. When `reverse`, invoice and receipt PDFs include "Reverse charge".
|
|
2833
2679
|
*/
|
|
2834
2680
|
exempt?: AutomaticIndirectTax.Exempt;
|
|
2835
2681
|
|
|
@@ -2839,12 +2685,7 @@ declare module 'stripe' {
|
|
|
2839
2685
|
ip_address?: string;
|
|
2840
2686
|
|
|
2841
2687
|
/**
|
|
2842
|
-
*
|
|
2843
|
-
*/
|
|
2844
|
-
location_source?: AutomaticIndirectTax.LocationSource;
|
|
2845
|
-
|
|
2846
|
-
/**
|
|
2847
|
-
* A per-request flag that indicates when Stripe should validate the customer tax location - defaults to 'auto'.
|
|
2688
|
+
* A per-request flag that indicates when Stripe should validate the customer tax location - defaults to `auto`.
|
|
2848
2689
|
*/
|
|
2849
2690
|
validate_location?: AutomaticIndirectTax.ValidateLocation;
|
|
2850
2691
|
}
|
|
@@ -2852,23 +2693,17 @@ declare module 'stripe' {
|
|
|
2852
2693
|
namespace AutomaticIndirectTax {
|
|
2853
2694
|
type Exempt = 'exempt' | 'none' | 'reverse';
|
|
2854
2695
|
|
|
2855
|
-
type LocationSource =
|
|
2856
|
-
| 'identity_address'
|
|
2857
|
-
| 'ip_address'
|
|
2858
|
-
| 'payment_method'
|
|
2859
|
-
| 'shipping_address';
|
|
2860
|
-
|
|
2861
2696
|
type ValidateLocation = 'auto' | 'deferred' | 'immediately';
|
|
2862
2697
|
}
|
|
2863
2698
|
|
|
2864
2699
|
interface Billing {
|
|
2865
2700
|
/**
|
|
2866
|
-
* ID of a
|
|
2701
|
+
* ID of a PaymentMethod attached to the customer account to use as the default for invoices and subscriptions.
|
|
2867
2702
|
*/
|
|
2868
2703
|
default_payment_method?: string;
|
|
2869
2704
|
|
|
2870
2705
|
/**
|
|
2871
|
-
* Default settings
|
|
2706
|
+
* Default invoice settings for the customer account.
|
|
2872
2707
|
*/
|
|
2873
2708
|
invoice?: Billing.Invoice;
|
|
2874
2709
|
}
|
|
@@ -2881,22 +2716,22 @@ declare module 'stripe' {
|
|
|
2881
2716
|
custom_fields?: Array<Invoice.CustomField>;
|
|
2882
2717
|
|
|
2883
2718
|
/**
|
|
2884
|
-
* Default footer
|
|
2719
|
+
* Default invoice footer.
|
|
2885
2720
|
*/
|
|
2886
2721
|
footer?: string;
|
|
2887
2722
|
|
|
2888
2723
|
/**
|
|
2889
|
-
*
|
|
2724
|
+
* Sequence number to use on the customer account's next invoice. Defaults to 1.
|
|
2890
2725
|
*/
|
|
2891
2726
|
next_sequence?: number;
|
|
2892
2727
|
|
|
2893
2728
|
/**
|
|
2894
|
-
*
|
|
2729
|
+
* Prefix used to generate unique invoice numbers. Must be 3-12 uppercase letters or numbers.
|
|
2895
2730
|
*/
|
|
2896
2731
|
prefix?: string;
|
|
2897
2732
|
|
|
2898
2733
|
/**
|
|
2899
|
-
* Default
|
|
2734
|
+
* Default invoice PDF rendering options.
|
|
2900
2735
|
*/
|
|
2901
2736
|
rendering?: Invoice.Rendering;
|
|
2902
2737
|
}
|
|
@@ -2916,7 +2751,7 @@ declare module 'stripe' {
|
|
|
2916
2751
|
|
|
2917
2752
|
interface Rendering {
|
|
2918
2753
|
/**
|
|
2919
|
-
*
|
|
2754
|
+
* Indicates whether displayed line item prices and amounts on invoice PDFs include inclusive tax amounts. Must be either `include_inclusive_tax` or `exclude_tax`.
|
|
2920
2755
|
*/
|
|
2921
2756
|
amount_tax_display?: Rendering.AmountTaxDisplay;
|
|
2922
2757
|
|
|
@@ -2975,7 +2810,7 @@ declare module 'stripe' {
|
|
|
2975
2810
|
applied?: boolean;
|
|
2976
2811
|
|
|
2977
2812
|
/**
|
|
2978
|
-
* Settings
|
|
2813
|
+
* Settings for Bacs Direct Debit payments.
|
|
2979
2814
|
*/
|
|
2980
2815
|
bacs_debit_payments?: Merchant.BacsDebitPayments;
|
|
2981
2816
|
|
|
@@ -3000,7 +2835,7 @@ declare module 'stripe' {
|
|
|
3000
2835
|
konbini_payments?: Merchant.KonbiniPayments;
|
|
3001
2836
|
|
|
3002
2837
|
/**
|
|
3003
|
-
* The
|
|
2838
|
+
* The Merchant Category Code (MCC) for the merchant. MCCs classify businesses based on the goods or services they provide.
|
|
3004
2839
|
*/
|
|
3005
2840
|
mcc?: string;
|
|
3006
2841
|
|
|
@@ -3010,7 +2845,7 @@ declare module 'stripe' {
|
|
|
3010
2845
|
script_statement_descriptor?: Merchant.ScriptStatementDescriptor;
|
|
3011
2846
|
|
|
3012
2847
|
/**
|
|
3013
|
-
*
|
|
2848
|
+
* Settings for the default [statement descriptor](https://docs.stripe.com/connect/statement-descriptors) text.
|
|
3014
2849
|
*/
|
|
3015
2850
|
statement_descriptor?: Merchant.StatementDescriptor;
|
|
3016
2851
|
|
|
@@ -3023,7 +2858,7 @@ declare module 'stripe' {
|
|
|
3023
2858
|
namespace Merchant {
|
|
3024
2859
|
interface BacsDebitPayments {
|
|
3025
2860
|
/**
|
|
3026
|
-
* Display name for Bacs
|
|
2861
|
+
* Display name for Bacs Direct Debit payments.
|
|
3027
2862
|
*/
|
|
3028
2863
|
display_name?: string;
|
|
3029
2864
|
}
|
|
@@ -3726,25 +3561,10 @@ declare module 'stripe' {
|
|
|
3726
3561
|
* Capabilities to request on the Recipient Configuration.
|
|
3727
3562
|
*/
|
|
3728
3563
|
capabilities?: Recipient.Capabilities;
|
|
3729
|
-
|
|
3730
|
-
/**
|
|
3731
|
-
* The payout method id to be used as a default outbound destination. This will allow the PayoutMethod to be omitted on OutboundPayments made through API or sending payouts via dashboard. Can also be explicitly set to `null` to clear the existing default outbound destination. For further details about creating an Outbound Destination, see [Collect recipient's payment details](https://docs.stripe.com/global-payouts-private-preview/quickstart?dashboard-or-api=api#collect-bank-account-details).
|
|
3732
|
-
*/
|
|
3733
|
-
default_outbound_destination?: string;
|
|
3734
3564
|
}
|
|
3735
3565
|
|
|
3736
3566
|
namespace Recipient {
|
|
3737
3567
|
interface Capabilities {
|
|
3738
|
-
/**
|
|
3739
|
-
* Capabilities that enable OutboundPayments to a bank account linked to this Account.
|
|
3740
|
-
*/
|
|
3741
|
-
bank_accounts?: Capabilities.BankAccounts;
|
|
3742
|
-
|
|
3743
|
-
/**
|
|
3744
|
-
* Capability that enable OutboundPayments to a debit card linked to this Account.
|
|
3745
|
-
*/
|
|
3746
|
-
cards?: Capabilities.Cards;
|
|
3747
|
-
|
|
3748
3568
|
/**
|
|
3749
3569
|
* Capabilities that enable the recipient to manage their Stripe Balance (/v1/balance).
|
|
3750
3570
|
*/
|
|
@@ -3752,44 +3572,9 @@ declare module 'stripe' {
|
|
|
3752
3572
|
}
|
|
3753
3573
|
|
|
3754
3574
|
namespace Capabilities {
|
|
3755
|
-
interface BankAccounts {
|
|
3756
|
-
/**
|
|
3757
|
-
* Enables this Account to receive OutboundPayments to linked bank accounts over local networks.
|
|
3758
|
-
*/
|
|
3759
|
-
local?: BankAccounts.Local;
|
|
3760
|
-
|
|
3761
|
-
/**
|
|
3762
|
-
* Enables this Account to receive OutboundPayments to linked bank accounts over wire.
|
|
3763
|
-
*/
|
|
3764
|
-
wire?: BankAccounts.Wire;
|
|
3765
|
-
}
|
|
3766
|
-
|
|
3767
|
-
namespace BankAccounts {
|
|
3768
|
-
interface Local {
|
|
3769
|
-
/**
|
|
3770
|
-
* To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
3771
|
-
*/
|
|
3772
|
-
requested?: boolean;
|
|
3773
|
-
}
|
|
3774
|
-
|
|
3775
|
-
interface Wire {
|
|
3776
|
-
/**
|
|
3777
|
-
* To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
3778
|
-
*/
|
|
3779
|
-
requested?: boolean;
|
|
3780
|
-
}
|
|
3781
|
-
}
|
|
3782
|
-
|
|
3783
|
-
interface Cards {
|
|
3784
|
-
/**
|
|
3785
|
-
* To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
3786
|
-
*/
|
|
3787
|
-
requested?: boolean;
|
|
3788
|
-
}
|
|
3789
|
-
|
|
3790
3575
|
interface StripeBalance {
|
|
3791
3576
|
/**
|
|
3792
|
-
*
|
|
3577
|
+
* Enables this Account to receive /v1/transfers into their Stripe Balance (/v1/balance).
|
|
3793
3578
|
*/
|
|
3794
3579
|
stripe_transfers?: StripeBalance.StripeTransfers;
|
|
3795
3580
|
}
|
|
@@ -3804,189 +3589,6 @@ declare module 'stripe' {
|
|
|
3804
3589
|
}
|
|
3805
3590
|
}
|
|
3806
3591
|
}
|
|
3807
|
-
|
|
3808
|
-
interface Storer {
|
|
3809
|
-
/**
|
|
3810
|
-
* Represents the state of the configuration, and can be updated to deactivate or re-apply a configuration.
|
|
3811
|
-
*/
|
|
3812
|
-
applied?: boolean;
|
|
3813
|
-
|
|
3814
|
-
/**
|
|
3815
|
-
* Capabilities to request on the Storer Configuration.
|
|
3816
|
-
*/
|
|
3817
|
-
capabilities?: Storer.Capabilities;
|
|
3818
|
-
}
|
|
3819
|
-
|
|
3820
|
-
namespace Storer {
|
|
3821
|
-
interface Capabilities {
|
|
3822
|
-
/**
|
|
3823
|
-
* Can provision a financial address to credit/debit a FinancialAccount.
|
|
3824
|
-
*/
|
|
3825
|
-
financial_addresses?: Capabilities.FinancialAddresses;
|
|
3826
|
-
|
|
3827
|
-
/**
|
|
3828
|
-
* Can hold storage-type funds on Stripe.
|
|
3829
|
-
*/
|
|
3830
|
-
holds_currencies?: Capabilities.HoldsCurrencies;
|
|
3831
|
-
|
|
3832
|
-
/**
|
|
3833
|
-
* Can pull funds from an external source, owned by yourself, to a FinancialAccount.
|
|
3834
|
-
*/
|
|
3835
|
-
inbound_transfers?: Capabilities.InboundTransfers;
|
|
3836
|
-
|
|
3837
|
-
/**
|
|
3838
|
-
* Can send funds from a FinancialAccount to a destination owned by someone else.
|
|
3839
|
-
*/
|
|
3840
|
-
outbound_payments?: Capabilities.OutboundPayments;
|
|
3841
|
-
|
|
3842
|
-
/**
|
|
3843
|
-
* Can send funds from a FinancialAccount to a destination owned by yourself.
|
|
3844
|
-
*/
|
|
3845
|
-
outbound_transfers?: Capabilities.OutboundTransfers;
|
|
3846
|
-
}
|
|
3847
|
-
|
|
3848
|
-
namespace Capabilities {
|
|
3849
|
-
interface FinancialAddresses {
|
|
3850
|
-
/**
|
|
3851
|
-
* Can provision a bank-account-like financial address (VBAN) to credit/debit a FinancialAccount.
|
|
3852
|
-
*/
|
|
3853
|
-
bank_accounts?: FinancialAddresses.BankAccounts;
|
|
3854
|
-
}
|
|
3855
|
-
|
|
3856
|
-
namespace FinancialAddresses {
|
|
3857
|
-
interface BankAccounts {
|
|
3858
|
-
/**
|
|
3859
|
-
* To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
3860
|
-
*/
|
|
3861
|
-
requested?: boolean;
|
|
3862
|
-
}
|
|
3863
|
-
}
|
|
3864
|
-
|
|
3865
|
-
interface HoldsCurrencies {
|
|
3866
|
-
/**
|
|
3867
|
-
* Can hold storage-type funds on Stripe in EUR.
|
|
3868
|
-
*/
|
|
3869
|
-
eur?: HoldsCurrencies.Eur;
|
|
3870
|
-
|
|
3871
|
-
/**
|
|
3872
|
-
* Can hold storage-type funds on Stripe in GBP.
|
|
3873
|
-
*/
|
|
3874
|
-
gbp?: HoldsCurrencies.Gbp;
|
|
3875
|
-
|
|
3876
|
-
/**
|
|
3877
|
-
* Can hold storage-type funds on Stripe in USD.
|
|
3878
|
-
*/
|
|
3879
|
-
usd?: HoldsCurrencies.Usd;
|
|
3880
|
-
}
|
|
3881
|
-
|
|
3882
|
-
namespace HoldsCurrencies {
|
|
3883
|
-
interface Eur {
|
|
3884
|
-
/**
|
|
3885
|
-
* To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
3886
|
-
*/
|
|
3887
|
-
requested?: boolean;
|
|
3888
|
-
}
|
|
3889
|
-
|
|
3890
|
-
interface Gbp {
|
|
3891
|
-
/**
|
|
3892
|
-
* To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
3893
|
-
*/
|
|
3894
|
-
requested?: boolean;
|
|
3895
|
-
}
|
|
3896
|
-
|
|
3897
|
-
interface Usd {
|
|
3898
|
-
/**
|
|
3899
|
-
* To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
3900
|
-
*/
|
|
3901
|
-
requested?: boolean;
|
|
3902
|
-
}
|
|
3903
|
-
}
|
|
3904
|
-
|
|
3905
|
-
interface InboundTransfers {
|
|
3906
|
-
/**
|
|
3907
|
-
* Can pull funds from an external bank account owned by yourself to a FinancialAccount.
|
|
3908
|
-
*/
|
|
3909
|
-
bank_accounts?: InboundTransfers.BankAccounts;
|
|
3910
|
-
}
|
|
3911
|
-
|
|
3912
|
-
namespace InboundTransfers {
|
|
3913
|
-
interface BankAccounts {
|
|
3914
|
-
/**
|
|
3915
|
-
* To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
3916
|
-
*/
|
|
3917
|
-
requested?: boolean;
|
|
3918
|
-
}
|
|
3919
|
-
}
|
|
3920
|
-
|
|
3921
|
-
interface OutboundPayments {
|
|
3922
|
-
/**
|
|
3923
|
-
* Can send funds from a FinancialAccount to a bank account owned by someone else.
|
|
3924
|
-
*/
|
|
3925
|
-
bank_accounts?: OutboundPayments.BankAccounts;
|
|
3926
|
-
|
|
3927
|
-
/**
|
|
3928
|
-
* Can send funds from a FinancialAccount to a debit card owned by someone else.
|
|
3929
|
-
*/
|
|
3930
|
-
cards?: OutboundPayments.Cards;
|
|
3931
|
-
|
|
3932
|
-
/**
|
|
3933
|
-
* Can send funds from a FinancialAccount to another FinancialAccount owned by someone else.
|
|
3934
|
-
*/
|
|
3935
|
-
financial_accounts?: OutboundPayments.FinancialAccounts;
|
|
3936
|
-
}
|
|
3937
|
-
|
|
3938
|
-
namespace OutboundPayments {
|
|
3939
|
-
interface BankAccounts {
|
|
3940
|
-
/**
|
|
3941
|
-
* To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
3942
|
-
*/
|
|
3943
|
-
requested?: boolean;
|
|
3944
|
-
}
|
|
3945
|
-
|
|
3946
|
-
interface Cards {
|
|
3947
|
-
/**
|
|
3948
|
-
* To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
3949
|
-
*/
|
|
3950
|
-
requested?: boolean;
|
|
3951
|
-
}
|
|
3952
|
-
|
|
3953
|
-
interface FinancialAccounts {
|
|
3954
|
-
/**
|
|
3955
|
-
* To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
3956
|
-
*/
|
|
3957
|
-
requested?: boolean;
|
|
3958
|
-
}
|
|
3959
|
-
}
|
|
3960
|
-
|
|
3961
|
-
interface OutboundTransfers {
|
|
3962
|
-
/**
|
|
3963
|
-
* Can send funds from a FinancialAccount to a bank account owned by yourself.
|
|
3964
|
-
*/
|
|
3965
|
-
bank_accounts?: OutboundTransfers.BankAccounts;
|
|
3966
|
-
|
|
3967
|
-
/**
|
|
3968
|
-
* Can send funds from a FinancialAccount to another FinancialAccount owned by yourself.
|
|
3969
|
-
*/
|
|
3970
|
-
financial_accounts?: OutboundTransfers.FinancialAccounts;
|
|
3971
|
-
}
|
|
3972
|
-
|
|
3973
|
-
namespace OutboundTransfers {
|
|
3974
|
-
interface BankAccounts {
|
|
3975
|
-
/**
|
|
3976
|
-
* To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
3977
|
-
*/
|
|
3978
|
-
requested?: boolean;
|
|
3979
|
-
}
|
|
3980
|
-
|
|
3981
|
-
interface FinancialAccounts {
|
|
3982
|
-
/**
|
|
3983
|
-
* To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
|
|
3984
|
-
*/
|
|
3985
|
-
requested?: boolean;
|
|
3986
|
-
}
|
|
3987
|
-
}
|
|
3988
|
-
}
|
|
3989
|
-
}
|
|
3990
3592
|
}
|
|
3991
3593
|
|
|
3992
3594
|
type Dashboard = 'express' | 'full' | 'none';
|
|
@@ -4363,7 +3965,7 @@ declare module 'stripe' {
|
|
|
4363
3965
|
documents?: BusinessDetails.Documents;
|
|
4364
3966
|
|
|
4365
3967
|
/**
|
|
4366
|
-
*
|
|
3968
|
+
* Estimated maximum number of workers currently engaged by the business (including employees, contractors, and vendors).
|
|
4367
3969
|
*/
|
|
4368
3970
|
estimated_worker_count?: number;
|
|
4369
3971
|
|
|
@@ -4408,7 +4010,7 @@ declare module 'stripe' {
|
|
|
4408
4010
|
/**
|
|
4409
4011
|
* A non-negative integer representing the amount in the smallest currency unit.
|
|
4410
4012
|
*/
|
|
4411
|
-
amount?: Amount;
|
|
4013
|
+
amount?: AnnualRevenue.Amount;
|
|
4412
4014
|
|
|
4413
4015
|
/**
|
|
4414
4016
|
* The close-out date of the preceding fiscal year in ISO 8601 format. E.g. 2023-12-31 for the 31st of December, 2023.
|
|
@@ -4416,6 +4018,20 @@ declare module 'stripe' {
|
|
|
4416
4018
|
fiscal_year_end?: string;
|
|
4417
4019
|
}
|
|
4418
4020
|
|
|
4021
|
+
namespace AnnualRevenue {
|
|
4022
|
+
interface Amount {
|
|
4023
|
+
/**
|
|
4024
|
+
* A non-negative integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units).
|
|
4025
|
+
*/
|
|
4026
|
+
value?: number;
|
|
4027
|
+
|
|
4028
|
+
/**
|
|
4029
|
+
* Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
|
|
4030
|
+
*/
|
|
4031
|
+
currency?: string;
|
|
4032
|
+
}
|
|
4033
|
+
}
|
|
4034
|
+
|
|
4419
4035
|
interface Documents {
|
|
4420
4036
|
/**
|
|
4421
4037
|
* One or more documents that support the bank account ownership verification requirement. Must be a document associated with the account's primary active bank account that displays the last 4 digits of the account number, either a statement or a check.
|
|
@@ -4628,70 +4244,111 @@ declare module 'stripe' {
|
|
|
4628
4244
|
| 'ao_nif'
|
|
4629
4245
|
| 'ar_cuit'
|
|
4630
4246
|
| 'at_fn'
|
|
4247
|
+
| 'at_stn'
|
|
4248
|
+
| 'at_vat'
|
|
4631
4249
|
| 'au_abn'
|
|
4632
4250
|
| 'au_acn'
|
|
4633
4251
|
| 'au_in'
|
|
4634
4252
|
| 'az_tin'
|
|
4635
4253
|
| 'bd_etin'
|
|
4636
4254
|
| 'be_cbe'
|
|
4255
|
+
| 'be_vat'
|
|
4637
4256
|
| 'bg_uic'
|
|
4257
|
+
| 'bg_vat'
|
|
4638
4258
|
| 'br_cnpj'
|
|
4639
4259
|
| 'ca_cn'
|
|
4640
4260
|
| 'ca_crarr'
|
|
4261
|
+
| 'ca_gst_hst'
|
|
4641
4262
|
| 'ca_neq'
|
|
4642
4263
|
| 'ca_rid'
|
|
4643
4264
|
| 'ch_chid'
|
|
4644
4265
|
| 'ch_uid'
|
|
4645
4266
|
| 'cr_cpj'
|
|
4646
4267
|
| 'cr_nite'
|
|
4268
|
+
| 'cy_he'
|
|
4647
4269
|
| 'cy_tic'
|
|
4270
|
+
| 'cy_vat'
|
|
4648
4271
|
| 'cz_ico'
|
|
4272
|
+
| 'cz_vat'
|
|
4649
4273
|
| 'de_hrn'
|
|
4274
|
+
| 'de_stn'
|
|
4650
4275
|
| 'de_vat'
|
|
4651
4276
|
| 'dk_cvr'
|
|
4277
|
+
| 'dk_vat'
|
|
4652
4278
|
| 'do_rcn'
|
|
4653
4279
|
| 'ee_rk'
|
|
4280
|
+
| 'ee_vat'
|
|
4654
4281
|
| 'es_cif'
|
|
4282
|
+
| 'es_vat'
|
|
4283
|
+
| 'fi_vat'
|
|
4655
4284
|
| 'fi_yt'
|
|
4285
|
+
| 'fr_rna'
|
|
4656
4286
|
| 'fr_siren'
|
|
4657
4287
|
| 'fr_vat'
|
|
4658
4288
|
| 'gb_crn'
|
|
4659
4289
|
| 'gi_crn'
|
|
4290
|
+
| 'gr_afm'
|
|
4660
4291
|
| 'gr_gemi'
|
|
4292
|
+
| 'gr_vat'
|
|
4661
4293
|
| 'gt_nit'
|
|
4662
4294
|
| 'hk_br'
|
|
4663
4295
|
| 'hk_cr'
|
|
4664
|
-
| '
|
|
4296
|
+
| 'hr_mbs'
|
|
4297
|
+
| 'hr_oib'
|
|
4298
|
+
| 'hr_vat'
|
|
4665
4299
|
| 'hu_cjs'
|
|
4300
|
+
| 'hu_tin'
|
|
4301
|
+
| 'hu_vat'
|
|
4666
4302
|
| 'ie_crn'
|
|
4303
|
+
| 'ie_trn'
|
|
4304
|
+
| 'ie_vat'
|
|
4667
4305
|
| 'it_rea'
|
|
4668
4306
|
| 'it_vat'
|
|
4669
4307
|
| 'jp_cn'
|
|
4670
4308
|
| 'kz_bin'
|
|
4671
4309
|
| 'li_uid'
|
|
4672
4310
|
| 'lt_ccrn'
|
|
4311
|
+
| 'lt_vat'
|
|
4312
|
+
| 'lu_nif'
|
|
4673
4313
|
| 'lu_rcs'
|
|
4314
|
+
| 'lu_vat'
|
|
4674
4315
|
| 'lv_urn'
|
|
4316
|
+
| 'lv_vat'
|
|
4675
4317
|
| 'mt_crn'
|
|
4318
|
+
| 'mt_tin'
|
|
4319
|
+
| 'mt_vat'
|
|
4676
4320
|
| 'mx_rfc'
|
|
4677
4321
|
| 'my_brn'
|
|
4678
4322
|
| 'my_coid'
|
|
4323
|
+
| 'my_itn'
|
|
4679
4324
|
| 'my_sst'
|
|
4680
4325
|
| 'mz_nuit'
|
|
4681
4326
|
| 'nl_kvk'
|
|
4327
|
+
| 'nl_rsin'
|
|
4328
|
+
| 'nl_vat'
|
|
4682
4329
|
| 'no_orgnr'
|
|
4683
4330
|
| 'nz_bn'
|
|
4331
|
+
| 'nz_ird'
|
|
4684
4332
|
| 'pe_ruc'
|
|
4685
4333
|
| 'pk_ntn'
|
|
4334
|
+
| 'pl_nip'
|
|
4686
4335
|
| 'pl_regon'
|
|
4336
|
+
| 'pl_vat'
|
|
4687
4337
|
| 'pt_vat'
|
|
4688
4338
|
| 'ro_cui'
|
|
4339
|
+
| 'ro_orc'
|
|
4340
|
+
| 'ro_vat'
|
|
4689
4341
|
| 'sa_crn'
|
|
4690
4342
|
| 'sa_tin'
|
|
4691
4343
|
| 'se_orgnr'
|
|
4344
|
+
| 'se_vat'
|
|
4692
4345
|
| 'sg_uen'
|
|
4693
4346
|
| 'si_msp'
|
|
4347
|
+
| 'si_tin'
|
|
4348
|
+
| 'si_vat'
|
|
4349
|
+
| 'sk_dic'
|
|
4694
4350
|
| 'sk_ico'
|
|
4351
|
+
| 'sk_vat'
|
|
4695
4352
|
| 'th_crn'
|
|
4696
4353
|
| 'th_prn'
|
|
4697
4354
|
| 'th_tin'
|
|
@@ -4702,7 +4359,21 @@ declare module 'stripe' {
|
|
|
4702
4359
|
/**
|
|
4703
4360
|
* A non-negative integer representing the amount in the smallest currency unit.
|
|
4704
4361
|
*/
|
|
4705
|
-
amount?: Amount;
|
|
4362
|
+
amount?: MonthlyEstimatedRevenue.Amount;
|
|
4363
|
+
}
|
|
4364
|
+
|
|
4365
|
+
namespace MonthlyEstimatedRevenue {
|
|
4366
|
+
interface Amount {
|
|
4367
|
+
/**
|
|
4368
|
+
* A non-negative integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units).
|
|
4369
|
+
*/
|
|
4370
|
+
value?: number;
|
|
4371
|
+
|
|
4372
|
+
/**
|
|
4373
|
+
* Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
|
|
4374
|
+
*/
|
|
4375
|
+
currency?: string;
|
|
4376
|
+
}
|
|
4706
4377
|
}
|
|
4707
4378
|
|
|
4708
4379
|
interface ScriptAddresses {
|
|
@@ -4906,7 +4577,7 @@ declare module 'stripe' {
|
|
|
4906
4577
|
state?: string;
|
|
4907
4578
|
|
|
4908
4579
|
/**
|
|
4909
|
-
* Town or
|
|
4580
|
+
* Town or district.
|
|
4910
4581
|
*/
|
|
4911
4582
|
town?: string;
|
|
4912
4583
|
}
|
|
@@ -5087,36 +4758,81 @@ declare module 'stripe' {
|
|
|
5087
4758
|
type Type =
|
|
5088
4759
|
| 'ae_eid'
|
|
5089
4760
|
| 'ao_nif'
|
|
4761
|
+
| 'ar_cuil'
|
|
5090
4762
|
| 'ar_dni'
|
|
4763
|
+
| 'at_stn'
|
|
5091
4764
|
| 'az_tin'
|
|
5092
4765
|
| 'bd_brc'
|
|
5093
4766
|
| 'bd_etin'
|
|
5094
4767
|
| 'bd_nid'
|
|
4768
|
+
| 'be_nrn'
|
|
4769
|
+
| 'bg_ucn'
|
|
4770
|
+
| 'bn_nric'
|
|
5095
4771
|
| 'br_cpf'
|
|
4772
|
+
| 'ca_sin'
|
|
4773
|
+
| 'ch_oasi'
|
|
4774
|
+
| 'cl_rut'
|
|
4775
|
+
| 'cn_pp'
|
|
4776
|
+
| 'co_nuip'
|
|
4777
|
+
| 'cr_ci'
|
|
5096
4778
|
| 'cr_cpf'
|
|
5097
4779
|
| 'cr_dimex'
|
|
5098
4780
|
| 'cr_nite'
|
|
4781
|
+
| 'cy_tic'
|
|
4782
|
+
| 'cz_rc'
|
|
5099
4783
|
| 'de_stn'
|
|
4784
|
+
| 'dk_cpr'
|
|
4785
|
+
| 'do_cie'
|
|
5100
4786
|
| 'do_rcn'
|
|
4787
|
+
| 'ec_ci'
|
|
4788
|
+
| 'ee_ik'
|
|
4789
|
+
| 'es_nif'
|
|
4790
|
+
| 'fi_hetu'
|
|
4791
|
+
| 'fr_nir'
|
|
4792
|
+
| 'gb_nino'
|
|
4793
|
+
| 'gr_afm'
|
|
5101
4794
|
| 'gt_nit'
|
|
5102
4795
|
| 'hk_id'
|
|
4796
|
+
| 'hr_oib'
|
|
4797
|
+
| 'hu_ad'
|
|
4798
|
+
| 'id_nik'
|
|
4799
|
+
| 'ie_ppsn'
|
|
4800
|
+
| 'is_kt'
|
|
4801
|
+
| 'it_cf'
|
|
4802
|
+
| 'jp_inc'
|
|
4803
|
+
| 'ke_pin'
|
|
5103
4804
|
| 'kz_iin'
|
|
4805
|
+
| 'li_peid'
|
|
4806
|
+
| 'lt_ak'
|
|
4807
|
+
| 'lu_nif'
|
|
4808
|
+
| 'lv_pk'
|
|
5104
4809
|
| 'mx_rfc'
|
|
5105
4810
|
| 'my_nric'
|
|
5106
4811
|
| 'mz_nuit'
|
|
4812
|
+
| 'ng_nin'
|
|
5107
4813
|
| 'nl_bsn'
|
|
4814
|
+
| 'no_nin'
|
|
4815
|
+
| 'nz_ird'
|
|
5108
4816
|
| 'pe_dni'
|
|
5109
4817
|
| 'pk_cnic'
|
|
5110
4818
|
| 'pk_snic'
|
|
4819
|
+
| 'pl_pesel'
|
|
4820
|
+
| 'pt_nif'
|
|
4821
|
+
| 'ro_cnp'
|
|
5111
4822
|
| 'sa_tin'
|
|
4823
|
+
| 'se_pin'
|
|
5112
4824
|
| 'sg_fin'
|
|
5113
4825
|
| 'sg_nric'
|
|
4826
|
+
| 'sk_dic'
|
|
5114
4827
|
| 'th_lc'
|
|
5115
4828
|
| 'th_pin'
|
|
4829
|
+
| 'tr_tin'
|
|
5116
4830
|
| 'us_itin'
|
|
5117
4831
|
| 'us_itin_last_4'
|
|
5118
4832
|
| 'us_ssn'
|
|
5119
|
-
| 'us_ssn_last_4'
|
|
4833
|
+
| 'us_ssn_last_4'
|
|
4834
|
+
| 'uy_dni'
|
|
4835
|
+
| 'za_id';
|
|
5120
4836
|
}
|
|
5121
4837
|
|
|
5122
4838
|
type LegalGender = 'female' | 'male';
|
|
@@ -5206,7 +4922,6 @@ declare module 'stripe' {
|
|
|
5206
4922
|
| 'configuration.customer'
|
|
5207
4923
|
| 'configuration.merchant'
|
|
5208
4924
|
| 'configuration.recipient'
|
|
5209
|
-
| 'configuration.storer'
|
|
5210
4925
|
| 'defaults'
|
|
5211
4926
|
| 'future_requirements'
|
|
5212
4927
|
| 'identity'
|
|
@@ -5219,7 +4934,9 @@ declare module 'stripe' {
|
|
|
5219
4934
|
/**
|
|
5220
4935
|
* Filter only accounts that have all of the configurations specified. If omitted, returns all accounts regardless of which configurations they have.
|
|
5221
4936
|
*/
|
|
5222
|
-
applied_configurations?: Array<
|
|
4937
|
+
applied_configurations?: Array<
|
|
4938
|
+
AccountListParams.AppliedConfiguration
|
|
4939
|
+
>;
|
|
5223
4940
|
|
|
5224
4941
|
/**
|
|
5225
4942
|
* Filter by whether the account is closed. If omitted, returns only Accounts that are not closed.
|
|
@@ -5231,6 +4948,10 @@ declare module 'stripe' {
|
|
|
5231
4948
|
*/
|
|
5232
4949
|
limit?: number;
|
|
5233
4950
|
}
|
|
4951
|
+
|
|
4952
|
+
namespace AccountListParams {
|
|
4953
|
+
type AppliedConfiguration = 'customer' | 'merchant' | 'recipient';
|
|
4954
|
+
}
|
|
5234
4955
|
}
|
|
5235
4956
|
|
|
5236
4957
|
namespace Core {
|
|
@@ -5244,11 +4965,7 @@ declare module 'stripe' {
|
|
|
5244
4965
|
}
|
|
5245
4966
|
|
|
5246
4967
|
namespace AccountCloseParams {
|
|
5247
|
-
type AppliedConfiguration =
|
|
5248
|
-
| 'customer'
|
|
5249
|
-
| 'merchant'
|
|
5250
|
-
| 'recipient'
|
|
5251
|
-
| 'storer';
|
|
4968
|
+
type AppliedConfiguration = 'customer' | 'merchant' | 'recipient';
|
|
5252
4969
|
}
|
|
5253
4970
|
}
|
|
5254
4971
|
|
|
@@ -5270,7 +4987,6 @@ declare module 'stripe' {
|
|
|
5270
4987
|
|
|
5271
4988
|
/**
|
|
5272
4989
|
* Retrieves the details of an Account.
|
|
5273
|
-
* @throws Stripe.RateLimitError
|
|
5274
4990
|
*/
|
|
5275
4991
|
retrieve(
|
|
5276
4992
|
id: string,
|
|
@@ -5284,7 +5000,6 @@ declare module 'stripe' {
|
|
|
5284
5000
|
|
|
5285
5001
|
/**
|
|
5286
5002
|
* Updates the details of an Account.
|
|
5287
|
-
* @throws Stripe.RateLimitError
|
|
5288
5003
|
*/
|
|
5289
5004
|
update(
|
|
5290
5005
|
id: string,
|