stripe 20.1.0-beta.1 → 20.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +49 -1499
- 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 +3 -3
- 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
|
@@ -4,7 +4,7 @@ declare module 'stripe' {
|
|
|
4
4
|
namespace Stripe {
|
|
5
5
|
interface AccountCreateParams {
|
|
6
6
|
/**
|
|
7
|
-
* An [account token](https://stripe.com
|
|
7
|
+
* An [account token](https://api.stripe.com#create_account_token), used to securely provide details to the account.
|
|
8
8
|
*/
|
|
9
9
|
account_token?: string;
|
|
10
10
|
|
|
@@ -83,15 +83,10 @@ declare module 'stripe' {
|
|
|
83
83
|
individual?: AccountCreateParams.Individual;
|
|
84
84
|
|
|
85
85
|
/**
|
|
86
|
-
* Set of [key-value pairs](https://stripe.com/
|
|
86
|
+
* Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
|
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
|
-
|
|
95
90
|
/**
|
|
96
91
|
* Options for customizing how the account functions within Stripe.
|
|
97
92
|
*/
|
|
@@ -147,11 +142,6 @@ declare module 'stripe' {
|
|
|
147
142
|
*/
|
|
148
143
|
product_description?: string;
|
|
149
144
|
|
|
150
|
-
/**
|
|
151
|
-
* A link to the business's publicly available terms related to the Specified Commercial Transaction Act. Used by the Checkout product and for Japanese payment methods.
|
|
152
|
-
*/
|
|
153
|
-
specified_commercial_transactions_act_url?: Stripe.Emptyable<string>;
|
|
154
|
-
|
|
155
145
|
/**
|
|
156
146
|
* A publicly available mailing address for sending support issues to.
|
|
157
147
|
*/
|
|
@@ -253,11 +243,6 @@ declare module 'stripe' {
|
|
|
253
243
|
*/
|
|
254
244
|
au_becs_debit_payments?: Capabilities.AuBecsDebitPayments;
|
|
255
245
|
|
|
256
|
-
/**
|
|
257
|
-
* The automatic_indirect_tax capability.
|
|
258
|
-
*/
|
|
259
|
-
automatic_indirect_tax?: Capabilities.AutomaticIndirectTax;
|
|
260
|
-
|
|
261
246
|
/**
|
|
262
247
|
* The bacs_debit_payments capability.
|
|
263
248
|
*/
|
|
@@ -333,26 +318,11 @@ declare module 'stripe' {
|
|
|
333
318
|
*/
|
|
334
319
|
giropay_payments?: Capabilities.GiropayPayments;
|
|
335
320
|
|
|
336
|
-
/**
|
|
337
|
-
* The gopay_payments capability.
|
|
338
|
-
*/
|
|
339
|
-
gopay_payments?: Capabilities.GopayPayments;
|
|
340
|
-
|
|
341
321
|
/**
|
|
342
322
|
* The grabpay_payments capability.
|
|
343
323
|
*/
|
|
344
324
|
grabpay_payments?: Capabilities.GrabpayPayments;
|
|
345
325
|
|
|
346
|
-
/**
|
|
347
|
-
* The id_bank_transfer_payments capability.
|
|
348
|
-
*/
|
|
349
|
-
id_bank_transfer_payments?: Capabilities.IdBankTransferPayments;
|
|
350
|
-
|
|
351
|
-
/**
|
|
352
|
-
* The id_bank_transfer_payments_bca capability.
|
|
353
|
-
*/
|
|
354
|
-
id_bank_transfer_payments_bca?: Capabilities.IdBankTransferPaymentsBca;
|
|
355
|
-
|
|
356
326
|
/**
|
|
357
327
|
* The ideal_payments capability.
|
|
358
328
|
*/
|
|
@@ -458,16 +428,6 @@ declare module 'stripe' {
|
|
|
458
428
|
*/
|
|
459
429
|
paynow_payments?: Capabilities.PaynowPayments;
|
|
460
430
|
|
|
461
|
-
/**
|
|
462
|
-
* The paypal_payments capability.
|
|
463
|
-
*/
|
|
464
|
-
paypal_payments?: Capabilities.PaypalPayments;
|
|
465
|
-
|
|
466
|
-
/**
|
|
467
|
-
* The paypay_payments capability.
|
|
468
|
-
*/
|
|
469
|
-
paypay_payments?: Capabilities.PaypayPayments;
|
|
470
|
-
|
|
471
431
|
/**
|
|
472
432
|
* The payto_payments capability.
|
|
473
433
|
*/
|
|
@@ -483,16 +443,6 @@ declare module 'stripe' {
|
|
|
483
443
|
*/
|
|
484
444
|
promptpay_payments?: Capabilities.PromptpayPayments;
|
|
485
445
|
|
|
486
|
-
/**
|
|
487
|
-
* The qris_payments capability.
|
|
488
|
-
*/
|
|
489
|
-
qris_payments?: Capabilities.QrisPayments;
|
|
490
|
-
|
|
491
|
-
/**
|
|
492
|
-
* The rechnung_payments capability.
|
|
493
|
-
*/
|
|
494
|
-
rechnung_payments?: Capabilities.RechnungPayments;
|
|
495
|
-
|
|
496
446
|
/**
|
|
497
447
|
* The revolut_pay_payments capability.
|
|
498
448
|
*/
|
|
@@ -518,21 +468,11 @@ declare module 'stripe' {
|
|
|
518
468
|
*/
|
|
519
469
|
sepa_debit_payments?: Capabilities.SepaDebitPayments;
|
|
520
470
|
|
|
521
|
-
/**
|
|
522
|
-
* The shopeepay_payments capability.
|
|
523
|
-
*/
|
|
524
|
-
shopeepay_payments?: Capabilities.ShopeepayPayments;
|
|
525
|
-
|
|
526
471
|
/**
|
|
527
472
|
* The sofort_payments capability.
|
|
528
473
|
*/
|
|
529
474
|
sofort_payments?: Capabilities.SofortPayments;
|
|
530
475
|
|
|
531
|
-
/**
|
|
532
|
-
* The stripe_balance_payments capability.
|
|
533
|
-
*/
|
|
534
|
-
stripe_balance_payments?: Capabilities.StripeBalancePayments;
|
|
535
|
-
|
|
536
476
|
/**
|
|
537
477
|
* The swish_payments capability.
|
|
538
478
|
*/
|
|
@@ -558,21 +498,6 @@ declare module 'stripe' {
|
|
|
558
498
|
*/
|
|
559
499
|
treasury?: Capabilities.Treasury;
|
|
560
500
|
|
|
561
|
-
/**
|
|
562
|
-
* The treasury_evolve capability.
|
|
563
|
-
*/
|
|
564
|
-
treasury_evolve?: Capabilities.TreasuryEvolve;
|
|
565
|
-
|
|
566
|
-
/**
|
|
567
|
-
* The treasury_fifth_third capability.
|
|
568
|
-
*/
|
|
569
|
-
treasury_fifth_third?: Capabilities.TreasuryFifthThird;
|
|
570
|
-
|
|
571
|
-
/**
|
|
572
|
-
* The treasury_goldman_sachs capability.
|
|
573
|
-
*/
|
|
574
|
-
treasury_goldman_sachs?: Capabilities.TreasuryGoldmanSachs;
|
|
575
|
-
|
|
576
501
|
/**
|
|
577
502
|
* The twint_payments capability.
|
|
578
503
|
*/
|
|
@@ -637,13 +562,6 @@ declare module 'stripe' {
|
|
|
637
562
|
requested?: boolean;
|
|
638
563
|
}
|
|
639
564
|
|
|
640
|
-
interface AutomaticIndirectTax {
|
|
641
|
-
/**
|
|
642
|
-
* 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.
|
|
643
|
-
*/
|
|
644
|
-
requested?: boolean;
|
|
645
|
-
}
|
|
646
|
-
|
|
647
565
|
interface BacsDebitPayments {
|
|
648
566
|
/**
|
|
649
567
|
* 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.
|
|
@@ -749,13 +667,6 @@ declare module 'stripe' {
|
|
|
749
667
|
requested?: boolean;
|
|
750
668
|
}
|
|
751
669
|
|
|
752
|
-
interface GopayPayments {
|
|
753
|
-
/**
|
|
754
|
-
* 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.
|
|
755
|
-
*/
|
|
756
|
-
requested?: boolean;
|
|
757
|
-
}
|
|
758
|
-
|
|
759
670
|
interface GrabpayPayments {
|
|
760
671
|
/**
|
|
761
672
|
* 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.
|
|
@@ -763,20 +674,6 @@ declare module 'stripe' {
|
|
|
763
674
|
requested?: boolean;
|
|
764
675
|
}
|
|
765
676
|
|
|
766
|
-
interface IdBankTransferPayments {
|
|
767
|
-
/**
|
|
768
|
-
* 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.
|
|
769
|
-
*/
|
|
770
|
-
requested?: boolean;
|
|
771
|
-
}
|
|
772
|
-
|
|
773
|
-
interface IdBankTransferPaymentsBca {
|
|
774
|
-
/**
|
|
775
|
-
* 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.
|
|
776
|
-
*/
|
|
777
|
-
requested?: boolean;
|
|
778
|
-
}
|
|
779
|
-
|
|
780
677
|
interface IdealPayments {
|
|
781
678
|
/**
|
|
782
679
|
* 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.
|
|
@@ -924,20 +821,6 @@ declare module 'stripe' {
|
|
|
924
821
|
requested?: boolean;
|
|
925
822
|
}
|
|
926
823
|
|
|
927
|
-
interface PaypalPayments {
|
|
928
|
-
/**
|
|
929
|
-
* 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.
|
|
930
|
-
*/
|
|
931
|
-
requested?: boolean;
|
|
932
|
-
}
|
|
933
|
-
|
|
934
|
-
interface PaypayPayments {
|
|
935
|
-
/**
|
|
936
|
-
* 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.
|
|
937
|
-
*/
|
|
938
|
-
requested?: boolean;
|
|
939
|
-
}
|
|
940
|
-
|
|
941
824
|
interface PaytoPayments {
|
|
942
825
|
/**
|
|
943
826
|
* 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.
|
|
@@ -959,20 +842,6 @@ declare module 'stripe' {
|
|
|
959
842
|
requested?: boolean;
|
|
960
843
|
}
|
|
961
844
|
|
|
962
|
-
interface QrisPayments {
|
|
963
|
-
/**
|
|
964
|
-
* 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.
|
|
965
|
-
*/
|
|
966
|
-
requested?: boolean;
|
|
967
|
-
}
|
|
968
|
-
|
|
969
|
-
interface RechnungPayments {
|
|
970
|
-
/**
|
|
971
|
-
* 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.
|
|
972
|
-
*/
|
|
973
|
-
requested?: boolean;
|
|
974
|
-
}
|
|
975
|
-
|
|
976
845
|
interface RevolutPayPayments {
|
|
977
846
|
/**
|
|
978
847
|
* 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.
|
|
@@ -1008,13 +877,6 @@ declare module 'stripe' {
|
|
|
1008
877
|
requested?: boolean;
|
|
1009
878
|
}
|
|
1010
879
|
|
|
1011
|
-
interface ShopeepayPayments {
|
|
1012
|
-
/**
|
|
1013
|
-
* 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.
|
|
1014
|
-
*/
|
|
1015
|
-
requested?: boolean;
|
|
1016
|
-
}
|
|
1017
|
-
|
|
1018
880
|
interface SofortPayments {
|
|
1019
881
|
/**
|
|
1020
882
|
* 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.
|
|
@@ -1022,13 +884,6 @@ declare module 'stripe' {
|
|
|
1022
884
|
requested?: boolean;
|
|
1023
885
|
}
|
|
1024
886
|
|
|
1025
|
-
interface StripeBalancePayments {
|
|
1026
|
-
/**
|
|
1027
|
-
* 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.
|
|
1028
|
-
*/
|
|
1029
|
-
requested?: boolean;
|
|
1030
|
-
}
|
|
1031
|
-
|
|
1032
887
|
interface SwishPayments {
|
|
1033
888
|
/**
|
|
1034
889
|
* 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.
|
|
@@ -1064,27 +919,6 @@ declare module 'stripe' {
|
|
|
1064
919
|
requested?: boolean;
|
|
1065
920
|
}
|
|
1066
921
|
|
|
1067
|
-
interface TreasuryEvolve {
|
|
1068
|
-
/**
|
|
1069
|
-
* 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.
|
|
1070
|
-
*/
|
|
1071
|
-
requested?: boolean;
|
|
1072
|
-
}
|
|
1073
|
-
|
|
1074
|
-
interface TreasuryFifthThird {
|
|
1075
|
-
/**
|
|
1076
|
-
* 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.
|
|
1077
|
-
*/
|
|
1078
|
-
requested?: boolean;
|
|
1079
|
-
}
|
|
1080
|
-
|
|
1081
|
-
interface TreasuryGoldmanSachs {
|
|
1082
|
-
/**
|
|
1083
|
-
* 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.
|
|
1084
|
-
*/
|
|
1085
|
-
requested?: boolean;
|
|
1086
|
-
}
|
|
1087
|
-
|
|
1088
922
|
interface TwintPayments {
|
|
1089
923
|
/**
|
|
1090
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.
|
|
@@ -1341,12 +1175,12 @@ declare module 'stripe' {
|
|
|
1341
1175
|
namespace Verification {
|
|
1342
1176
|
interface Document {
|
|
1343
1177
|
/**
|
|
1344
|
-
* The back of a document returned by a [file upload](https://stripe.com
|
|
1178
|
+
* The back of a document returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `additional_verification`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
|
|
1345
1179
|
*/
|
|
1346
1180
|
back?: string;
|
|
1347
1181
|
|
|
1348
1182
|
/**
|
|
1349
|
-
* The front of a document returned by a [file upload](https://stripe.com
|
|
1183
|
+
* The front of a document returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `additional_verification`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
|
|
1350
1184
|
*/
|
|
1351
1185
|
front?: string;
|
|
1352
1186
|
}
|
|
@@ -1354,16 +1188,6 @@ declare module 'stripe' {
|
|
|
1354
1188
|
}
|
|
1355
1189
|
|
|
1356
1190
|
interface Controller {
|
|
1357
|
-
/**
|
|
1358
|
-
* A hash of configuration describing the Connect application that controls the account.
|
|
1359
|
-
*/
|
|
1360
|
-
application?: Controller.Application;
|
|
1361
|
-
|
|
1362
|
-
/**
|
|
1363
|
-
* Properties of the account's dashboard.
|
|
1364
|
-
*/
|
|
1365
|
-
dashboard?: Controller.Dashboard;
|
|
1366
|
-
|
|
1367
1191
|
/**
|
|
1368
1192
|
* A hash of configuration for who pays Stripe fees for product usage on this account.
|
|
1369
1193
|
*/
|
|
@@ -1386,34 +1210,6 @@ declare module 'stripe' {
|
|
|
1386
1210
|
}
|
|
1387
1211
|
|
|
1388
1212
|
namespace Controller {
|
|
1389
|
-
interface Application {
|
|
1390
|
-
/**
|
|
1391
|
-
* Whether the controller is liable for losses on this account. For details, see [Understanding Connect Account Balances](https://stripe.com/docs/connect/account-balances).
|
|
1392
|
-
*/
|
|
1393
|
-
loss_liable: boolean;
|
|
1394
|
-
|
|
1395
|
-
/**
|
|
1396
|
-
* Whether the controller owns onboarding for this account.
|
|
1397
|
-
*/
|
|
1398
|
-
onboarding_owner?: boolean;
|
|
1399
|
-
|
|
1400
|
-
/**
|
|
1401
|
-
* Whether the controller has pricing controls for this account.
|
|
1402
|
-
*/
|
|
1403
|
-
pricing_controls?: boolean;
|
|
1404
|
-
}
|
|
1405
|
-
|
|
1406
|
-
interface Dashboard {
|
|
1407
|
-
/**
|
|
1408
|
-
* 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`.
|
|
1409
|
-
*/
|
|
1410
|
-
type?: Dashboard.Type;
|
|
1411
|
-
}
|
|
1412
|
-
|
|
1413
|
-
namespace Dashboard {
|
|
1414
|
-
type Type = 'express' | 'full' | 'none';
|
|
1415
|
-
}
|
|
1416
|
-
|
|
1417
1213
|
interface Fees {
|
|
1418
1214
|
/**
|
|
1419
1215
|
* 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).
|
|
@@ -1500,65 +1296,93 @@ declare module 'stripe' {
|
|
|
1500
1296
|
namespace Documents {
|
|
1501
1297
|
interface BankAccountOwnershipVerification {
|
|
1502
1298
|
/**
|
|
1503
|
-
* One or more document ids returned by a [file upload](https://stripe.com
|
|
1299
|
+
* One or more document ids returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `account_requirement`.
|
|
1504
1300
|
*/
|
|
1505
1301
|
files?: Array<string>;
|
|
1506
1302
|
}
|
|
1507
1303
|
|
|
1508
1304
|
interface CompanyLicense {
|
|
1509
1305
|
/**
|
|
1510
|
-
* One or more document ids returned by a [file upload](https://stripe.com
|
|
1306
|
+
* One or more document ids returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `account_requirement`.
|
|
1511
1307
|
*/
|
|
1512
1308
|
files?: Array<string>;
|
|
1513
1309
|
}
|
|
1514
1310
|
|
|
1515
1311
|
interface CompanyMemorandumOfAssociation {
|
|
1516
1312
|
/**
|
|
1517
|
-
* One or more document ids returned by a [file upload](https://stripe.com
|
|
1313
|
+
* One or more document ids returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `account_requirement`.
|
|
1518
1314
|
*/
|
|
1519
1315
|
files?: Array<string>;
|
|
1520
1316
|
}
|
|
1521
1317
|
|
|
1522
1318
|
interface CompanyMinisterialDecree {
|
|
1523
1319
|
/**
|
|
1524
|
-
* One or more document ids returned by a [file upload](https://stripe.com
|
|
1320
|
+
* One or more document ids returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `account_requirement`.
|
|
1525
1321
|
*/
|
|
1526
1322
|
files?: Array<string>;
|
|
1527
1323
|
}
|
|
1528
1324
|
|
|
1529
1325
|
interface CompanyRegistrationVerification {
|
|
1530
1326
|
/**
|
|
1531
|
-
* One or more document ids returned by a [file upload](https://stripe.com
|
|
1327
|
+
* One or more document ids returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `account_requirement`.
|
|
1532
1328
|
*/
|
|
1533
1329
|
files?: Array<string>;
|
|
1534
1330
|
}
|
|
1535
1331
|
|
|
1536
1332
|
interface CompanyTaxIdVerification {
|
|
1537
1333
|
/**
|
|
1538
|
-
* One or more document ids returned by a [file upload](https://stripe.com
|
|
1334
|
+
* One or more document ids returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `account_requirement`.
|
|
1539
1335
|
*/
|
|
1540
1336
|
files?: Array<string>;
|
|
1541
1337
|
}
|
|
1542
1338
|
|
|
1543
1339
|
interface ProofOfAddress {
|
|
1544
1340
|
/**
|
|
1545
|
-
* One or more document ids returned by a [file upload](https://stripe.com
|
|
1341
|
+
* One or more document ids returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `account_requirement`.
|
|
1546
1342
|
*/
|
|
1547
1343
|
files?: Array<string>;
|
|
1548
1344
|
}
|
|
1549
1345
|
|
|
1550
1346
|
interface ProofOfRegistration {
|
|
1551
1347
|
/**
|
|
1552
|
-
* One or more document ids returned by a [file upload](https://stripe.com
|
|
1348
|
+
* One or more document ids returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `account_requirement`.
|
|
1553
1349
|
*/
|
|
1554
1350
|
files?: Array<string>;
|
|
1351
|
+
|
|
1352
|
+
/**
|
|
1353
|
+
* Information regarding the person signing the document if applicable.
|
|
1354
|
+
*/
|
|
1355
|
+
signer?: ProofOfRegistration.Signer;
|
|
1356
|
+
}
|
|
1357
|
+
|
|
1358
|
+
namespace ProofOfRegistration {
|
|
1359
|
+
interface Signer {
|
|
1360
|
+
/**
|
|
1361
|
+
* The token of the person signing the document, if applicable.
|
|
1362
|
+
*/
|
|
1363
|
+
person?: string;
|
|
1364
|
+
}
|
|
1555
1365
|
}
|
|
1556
1366
|
|
|
1557
1367
|
interface ProofOfUltimateBeneficialOwnership {
|
|
1558
1368
|
/**
|
|
1559
|
-
* One or more document ids returned by a [file upload](https://stripe.com
|
|
1369
|
+
* One or more document ids returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `account_requirement`.
|
|
1560
1370
|
*/
|
|
1561
1371
|
files?: Array<string>;
|
|
1372
|
+
|
|
1373
|
+
/**
|
|
1374
|
+
* Information regarding the person signing the document if applicable.
|
|
1375
|
+
*/
|
|
1376
|
+
signer?: ProofOfUltimateBeneficialOwnership.Signer;
|
|
1377
|
+
}
|
|
1378
|
+
|
|
1379
|
+
namespace ProofOfUltimateBeneficialOwnership {
|
|
1380
|
+
interface Signer {
|
|
1381
|
+
/**
|
|
1382
|
+
* The token of the person signing the document, if applicable.
|
|
1383
|
+
*/
|
|
1384
|
+
person?: string;
|
|
1385
|
+
}
|
|
1562
1386
|
}
|
|
1563
1387
|
}
|
|
1564
1388
|
|
|
@@ -1601,7 +1425,7 @@ declare module 'stripe' {
|
|
|
1601
1425
|
|
|
1602
1426
|
interface Groups {
|
|
1603
1427
|
/**
|
|
1604
|
-
* The group the account is in to determine their payments pricing, and null if the account is on customized pricing. [See the Platform pricing tool documentation](https://stripe.com/
|
|
1428
|
+
* The group the account is in to determine their payments pricing, and null if the account is on customized pricing. [See the Platform pricing tool documentation](https://docs.stripe.com/connect/platform-pricing-tools) for details.
|
|
1605
1429
|
*/
|
|
1606
1430
|
payments_pricing?: Stripe.Emptyable<string>;
|
|
1607
1431
|
}
|
|
@@ -1688,7 +1512,7 @@ declare module 'stripe' {
|
|
|
1688
1512
|
maiden_name?: string;
|
|
1689
1513
|
|
|
1690
1514
|
/**
|
|
1691
|
-
* Set of [key-value pairs](https://stripe.com/
|
|
1515
|
+
* Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
|
1692
1516
|
*/
|
|
1693
1517
|
metadata?: Stripe.Emptyable<Stripe.MetadataParam>;
|
|
1694
1518
|
|
|
@@ -1785,81 +1609,41 @@ declare module 'stripe' {
|
|
|
1785
1609
|
namespace Verification {
|
|
1786
1610
|
interface AdditionalDocument {
|
|
1787
1611
|
/**
|
|
1788
|
-
* The back of an ID returned by a [file upload](https://stripe.com
|
|
1612
|
+
* The back of an ID returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
|
|
1789
1613
|
*/
|
|
1790
1614
|
back?: string;
|
|
1791
1615
|
|
|
1792
1616
|
/**
|
|
1793
|
-
* The front of an ID returned by a [file upload](https://stripe.com
|
|
1617
|
+
* The front of an ID returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
|
|
1794
1618
|
*/
|
|
1795
1619
|
front?: string;
|
|
1796
1620
|
}
|
|
1797
1621
|
|
|
1798
1622
|
interface Document {
|
|
1799
1623
|
/**
|
|
1800
|
-
* The back of an ID returned by a [file upload](https://stripe.com
|
|
1624
|
+
* The back of an ID returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
|
|
1801
1625
|
*/
|
|
1802
1626
|
back?: string;
|
|
1803
1627
|
|
|
1804
1628
|
/**
|
|
1805
|
-
* The front of an ID returned by a [file upload](https://stripe.com
|
|
1629
|
+
* The front of an ID returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
|
|
1806
1630
|
*/
|
|
1807
1631
|
front?: string;
|
|
1808
1632
|
}
|
|
1809
1633
|
}
|
|
1810
1634
|
}
|
|
1811
1635
|
|
|
1812
|
-
interface RiskControls {
|
|
1813
|
-
/**
|
|
1814
|
-
* 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).
|
|
1815
|
-
*/
|
|
1816
|
-
charges?: RiskControls.Charges;
|
|
1817
|
-
|
|
1818
|
-
/**
|
|
1819
|
-
* 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).
|
|
1820
|
-
*/
|
|
1821
|
-
payouts?: RiskControls.Payouts;
|
|
1822
|
-
}
|
|
1823
|
-
|
|
1824
|
-
namespace RiskControls {
|
|
1825
|
-
interface Charges {
|
|
1826
|
-
/**
|
|
1827
|
-
* To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
|
|
1828
|
-
* There can be a delay before the risk control is paused or unpaused.
|
|
1829
|
-
*/
|
|
1830
|
-
pause_requested?: boolean;
|
|
1831
|
-
}
|
|
1832
|
-
|
|
1833
|
-
interface Payouts {
|
|
1834
|
-
/**
|
|
1835
|
-
* To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
|
|
1836
|
-
* There can be a delay before the risk control is paused or unpaused.
|
|
1837
|
-
*/
|
|
1838
|
-
pause_requested?: boolean;
|
|
1839
|
-
}
|
|
1840
|
-
}
|
|
1841
|
-
|
|
1842
1636
|
interface Settings {
|
|
1843
1637
|
/**
|
|
1844
1638
|
* Settings specific to Bacs Direct Debit.
|
|
1845
1639
|
*/
|
|
1846
1640
|
bacs_debit_payments?: Settings.BacsDebitPayments;
|
|
1847
1641
|
|
|
1848
|
-
/**
|
|
1849
|
-
* Settings specific to bank BCA onboarding for Indonesia bank transfers payments method.
|
|
1850
|
-
*/
|
|
1851
|
-
bank_bca_onboarding?: Settings.BankBcaOnboarding;
|
|
1852
|
-
|
|
1853
1642
|
/**
|
|
1854
1643
|
* Settings used to apply the account's branding to email receipts, invoices, Checkout, and other products.
|
|
1855
1644
|
*/
|
|
1856
1645
|
branding?: Settings.Branding;
|
|
1857
1646
|
|
|
1858
|
-
/**
|
|
1859
|
-
* Settings specific to the account's use of the Capital product.
|
|
1860
|
-
*/
|
|
1861
|
-
capital?: Settings.Capital;
|
|
1862
|
-
|
|
1863
1647
|
/**
|
|
1864
1648
|
* Settings specific to the account's use of the Card Issuing product.
|
|
1865
1649
|
*/
|
|
@@ -1885,16 +1669,6 @@ declare module 'stripe' {
|
|
|
1885
1669
|
*/
|
|
1886
1670
|
payouts?: Settings.Payouts;
|
|
1887
1671
|
|
|
1888
|
-
/**
|
|
1889
|
-
* Settings specific to the PayPay payments method.
|
|
1890
|
-
*/
|
|
1891
|
-
paypay_payments?: Settings.PaypayPayments;
|
|
1892
|
-
|
|
1893
|
-
/**
|
|
1894
|
-
* Settings specific to the account's tax forms.
|
|
1895
|
-
*/
|
|
1896
|
-
tax_forms?: Settings.TaxForms;
|
|
1897
|
-
|
|
1898
1672
|
/**
|
|
1899
1673
|
* Settings specific to the account's Treasury FinancialAccounts.
|
|
1900
1674
|
*/
|
|
@@ -1909,18 +1683,6 @@ declare module 'stripe' {
|
|
|
1909
1683
|
display_name?: string;
|
|
1910
1684
|
}
|
|
1911
1685
|
|
|
1912
|
-
interface BankBcaOnboarding {
|
|
1913
|
-
/**
|
|
1914
|
-
* Bank BCA business account holder name
|
|
1915
|
-
*/
|
|
1916
|
-
account_holder_name?: string;
|
|
1917
|
-
|
|
1918
|
-
/**
|
|
1919
|
-
* Bank BCA business account number
|
|
1920
|
-
*/
|
|
1921
|
-
business_account_number?: string;
|
|
1922
|
-
}
|
|
1923
|
-
|
|
1924
1686
|
interface Branding {
|
|
1925
1687
|
/**
|
|
1926
1688
|
* (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.
|
|
@@ -1943,22 +1705,6 @@ declare module 'stripe' {
|
|
|
1943
1705
|
secondary_color?: string;
|
|
1944
1706
|
}
|
|
1945
1707
|
|
|
1946
|
-
interface Capital {
|
|
1947
|
-
/**
|
|
1948
|
-
* Per-currency mapping of user-selected destination accounts used to pay out loans.
|
|
1949
|
-
*/
|
|
1950
|
-
payout_destination?: {
|
|
1951
|
-
[key: string]: string;
|
|
1952
|
-
};
|
|
1953
|
-
|
|
1954
|
-
/**
|
|
1955
|
-
* Per-currency mapping of all destination accounts eligible to receive Capital financing payouts.
|
|
1956
|
-
*/
|
|
1957
|
-
payout_destination_selector?: {
|
|
1958
|
-
[key: string]: Array<string>;
|
|
1959
|
-
};
|
|
1960
|
-
}
|
|
1961
|
-
|
|
1962
1708
|
interface CardIssuing {
|
|
1963
1709
|
/**
|
|
1964
1710
|
* Details on the account's acceptance of the [Stripe Issuing Terms and Disclosures](https://docs.stripe.com/issuing/connect/tos_acceptance).
|
|
@@ -2120,24 +1866,6 @@ declare module 'stripe' {
|
|
|
2120
1866
|
}
|
|
2121
1867
|
}
|
|
2122
1868
|
|
|
2123
|
-
interface PaypayPayments {
|
|
2124
|
-
/**
|
|
2125
|
-
* Whether your business sells digital content or not.
|
|
2126
|
-
*/
|
|
2127
|
-
goods_type?: PaypayPayments.GoodsType;
|
|
2128
|
-
}
|
|
2129
|
-
|
|
2130
|
-
namespace PaypayPayments {
|
|
2131
|
-
type GoodsType = 'digital_content' | 'other';
|
|
2132
|
-
}
|
|
2133
|
-
|
|
2134
|
-
interface TaxForms {
|
|
2135
|
-
/**
|
|
2136
|
-
* Whether the account opted out of receiving their tax forms by postal delivery.
|
|
2137
|
-
*/
|
|
2138
|
-
consented_to_paperless_delivery?: boolean;
|
|
2139
|
-
}
|
|
2140
|
-
|
|
2141
1869
|
interface Treasury {
|
|
2142
1870
|
/**
|
|
2143
1871
|
* Details on the account's acceptance of the Stripe Treasury Services Agreement.
|
|
@@ -2199,7 +1927,7 @@ declare module 'stripe' {
|
|
|
2199
1927
|
|
|
2200
1928
|
interface AccountUpdateParams {
|
|
2201
1929
|
/**
|
|
2202
|
-
* An [account token](https://stripe.com
|
|
1930
|
+
* An [account token](https://api.stripe.com#create_account_token), used to securely provide details to the account.
|
|
2203
1931
|
*/
|
|
2204
1932
|
account_token?: string;
|
|
2205
1933
|
|
|
@@ -2273,15 +2001,10 @@ declare module 'stripe' {
|
|
|
2273
2001
|
individual?: AccountUpdateParams.Individual;
|
|
2274
2002
|
|
|
2275
2003
|
/**
|
|
2276
|
-
* Set of [key-value pairs](https://stripe.com/
|
|
2004
|
+
* Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
|
2277
2005
|
*/
|
|
2278
2006
|
metadata?: Stripe.Emptyable<Stripe.MetadataParam>;
|
|
2279
2007
|
|
|
2280
|
-
/**
|
|
2281
|
-
* 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).
|
|
2282
|
-
*/
|
|
2283
|
-
risk_controls?: AccountUpdateParams.RiskControls;
|
|
2284
|
-
|
|
2285
2008
|
/**
|
|
2286
2009
|
* Options for customizing how the account functions within Stripe.
|
|
2287
2010
|
*/
|
|
@@ -2370,11 +2093,6 @@ declare module 'stripe' {
|
|
|
2370
2093
|
*/
|
|
2371
2094
|
product_description?: string;
|
|
2372
2095
|
|
|
2373
|
-
/**
|
|
2374
|
-
* A link to the business's publicly available terms related to the Specified Commercial Transaction Act. Only used for accounts in Japan.
|
|
2375
|
-
*/
|
|
2376
|
-
specified_commercial_transactions_act_url?: Stripe.Emptyable<string>;
|
|
2377
|
-
|
|
2378
2096
|
/**
|
|
2379
2097
|
* A publicly available mailing address for sending support issues to.
|
|
2380
2098
|
*/
|
|
@@ -2476,11 +2194,6 @@ declare module 'stripe' {
|
|
|
2476
2194
|
*/
|
|
2477
2195
|
au_becs_debit_payments?: Capabilities.AuBecsDebitPayments;
|
|
2478
2196
|
|
|
2479
|
-
/**
|
|
2480
|
-
* The automatic_indirect_tax capability.
|
|
2481
|
-
*/
|
|
2482
|
-
automatic_indirect_tax?: Capabilities.AutomaticIndirectTax;
|
|
2483
|
-
|
|
2484
2197
|
/**
|
|
2485
2198
|
* The bacs_debit_payments capability.
|
|
2486
2199
|
*/
|
|
@@ -2556,26 +2269,11 @@ declare module 'stripe' {
|
|
|
2556
2269
|
*/
|
|
2557
2270
|
giropay_payments?: Capabilities.GiropayPayments;
|
|
2558
2271
|
|
|
2559
|
-
/**
|
|
2560
|
-
* The gopay_payments capability.
|
|
2561
|
-
*/
|
|
2562
|
-
gopay_payments?: Capabilities.GopayPayments;
|
|
2563
|
-
|
|
2564
2272
|
/**
|
|
2565
2273
|
* The grabpay_payments capability.
|
|
2566
2274
|
*/
|
|
2567
2275
|
grabpay_payments?: Capabilities.GrabpayPayments;
|
|
2568
2276
|
|
|
2569
|
-
/**
|
|
2570
|
-
* The id_bank_transfer_payments capability.
|
|
2571
|
-
*/
|
|
2572
|
-
id_bank_transfer_payments?: Capabilities.IdBankTransferPayments;
|
|
2573
|
-
|
|
2574
|
-
/**
|
|
2575
|
-
* The id_bank_transfer_payments_bca capability.
|
|
2576
|
-
*/
|
|
2577
|
-
id_bank_transfer_payments_bca?: Capabilities.IdBankTransferPaymentsBca;
|
|
2578
|
-
|
|
2579
2277
|
/**
|
|
2580
2278
|
* The ideal_payments capability.
|
|
2581
2279
|
*/
|
|
@@ -2681,16 +2379,6 @@ declare module 'stripe' {
|
|
|
2681
2379
|
*/
|
|
2682
2380
|
paynow_payments?: Capabilities.PaynowPayments;
|
|
2683
2381
|
|
|
2684
|
-
/**
|
|
2685
|
-
* The paypal_payments capability.
|
|
2686
|
-
*/
|
|
2687
|
-
paypal_payments?: Capabilities.PaypalPayments;
|
|
2688
|
-
|
|
2689
|
-
/**
|
|
2690
|
-
* The paypay_payments capability.
|
|
2691
|
-
*/
|
|
2692
|
-
paypay_payments?: Capabilities.PaypayPayments;
|
|
2693
|
-
|
|
2694
2382
|
/**
|
|
2695
2383
|
* The payto_payments capability.
|
|
2696
2384
|
*/
|
|
@@ -2706,16 +2394,6 @@ declare module 'stripe' {
|
|
|
2706
2394
|
*/
|
|
2707
2395
|
promptpay_payments?: Capabilities.PromptpayPayments;
|
|
2708
2396
|
|
|
2709
|
-
/**
|
|
2710
|
-
* The qris_payments capability.
|
|
2711
|
-
*/
|
|
2712
|
-
qris_payments?: Capabilities.QrisPayments;
|
|
2713
|
-
|
|
2714
|
-
/**
|
|
2715
|
-
* The rechnung_payments capability.
|
|
2716
|
-
*/
|
|
2717
|
-
rechnung_payments?: Capabilities.RechnungPayments;
|
|
2718
|
-
|
|
2719
2397
|
/**
|
|
2720
2398
|
* The revolut_pay_payments capability.
|
|
2721
2399
|
*/
|
|
@@ -2741,21 +2419,11 @@ declare module 'stripe' {
|
|
|
2741
2419
|
*/
|
|
2742
2420
|
sepa_debit_payments?: Capabilities.SepaDebitPayments;
|
|
2743
2421
|
|
|
2744
|
-
/**
|
|
2745
|
-
* The shopeepay_payments capability.
|
|
2746
|
-
*/
|
|
2747
|
-
shopeepay_payments?: Capabilities.ShopeepayPayments;
|
|
2748
|
-
|
|
2749
2422
|
/**
|
|
2750
2423
|
* The sofort_payments capability.
|
|
2751
2424
|
*/
|
|
2752
2425
|
sofort_payments?: Capabilities.SofortPayments;
|
|
2753
2426
|
|
|
2754
|
-
/**
|
|
2755
|
-
* The stripe_balance_payments capability.
|
|
2756
|
-
*/
|
|
2757
|
-
stripe_balance_payments?: Capabilities.StripeBalancePayments;
|
|
2758
|
-
|
|
2759
2427
|
/**
|
|
2760
2428
|
* The swish_payments capability.
|
|
2761
2429
|
*/
|
|
@@ -2781,21 +2449,6 @@ declare module 'stripe' {
|
|
|
2781
2449
|
*/
|
|
2782
2450
|
treasury?: Capabilities.Treasury;
|
|
2783
2451
|
|
|
2784
|
-
/**
|
|
2785
|
-
* The treasury_evolve capability.
|
|
2786
|
-
*/
|
|
2787
|
-
treasury_evolve?: Capabilities.TreasuryEvolve;
|
|
2788
|
-
|
|
2789
|
-
/**
|
|
2790
|
-
* The treasury_fifth_third capability.
|
|
2791
|
-
*/
|
|
2792
|
-
treasury_fifth_third?: Capabilities.TreasuryFifthThird;
|
|
2793
|
-
|
|
2794
|
-
/**
|
|
2795
|
-
* The treasury_goldman_sachs capability.
|
|
2796
|
-
*/
|
|
2797
|
-
treasury_goldman_sachs?: Capabilities.TreasuryGoldmanSachs;
|
|
2798
|
-
|
|
2799
2452
|
/**
|
|
2800
2453
|
* The twint_payments capability.
|
|
2801
2454
|
*/
|
|
@@ -2860,13 +2513,6 @@ declare module 'stripe' {
|
|
|
2860
2513
|
requested?: boolean;
|
|
2861
2514
|
}
|
|
2862
2515
|
|
|
2863
|
-
interface AutomaticIndirectTax {
|
|
2864
|
-
/**
|
|
2865
|
-
* 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.
|
|
2866
|
-
*/
|
|
2867
|
-
requested?: boolean;
|
|
2868
|
-
}
|
|
2869
|
-
|
|
2870
2516
|
interface BacsDebitPayments {
|
|
2871
2517
|
/**
|
|
2872
2518
|
* 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.
|
|
@@ -2972,13 +2618,6 @@ declare module 'stripe' {
|
|
|
2972
2618
|
requested?: boolean;
|
|
2973
2619
|
}
|
|
2974
2620
|
|
|
2975
|
-
interface GopayPayments {
|
|
2976
|
-
/**
|
|
2977
|
-
* 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.
|
|
2978
|
-
*/
|
|
2979
|
-
requested?: boolean;
|
|
2980
|
-
}
|
|
2981
|
-
|
|
2982
2621
|
interface GrabpayPayments {
|
|
2983
2622
|
/**
|
|
2984
2623
|
* 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.
|
|
@@ -2986,20 +2625,6 @@ declare module 'stripe' {
|
|
|
2986
2625
|
requested?: boolean;
|
|
2987
2626
|
}
|
|
2988
2627
|
|
|
2989
|
-
interface IdBankTransferPayments {
|
|
2990
|
-
/**
|
|
2991
|
-
* 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.
|
|
2992
|
-
*/
|
|
2993
|
-
requested?: boolean;
|
|
2994
|
-
}
|
|
2995
|
-
|
|
2996
|
-
interface IdBankTransferPaymentsBca {
|
|
2997
|
-
/**
|
|
2998
|
-
* 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.
|
|
2999
|
-
*/
|
|
3000
|
-
requested?: boolean;
|
|
3001
|
-
}
|
|
3002
|
-
|
|
3003
2628
|
interface IdealPayments {
|
|
3004
2629
|
/**
|
|
3005
2630
|
* 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.
|
|
@@ -3147,20 +2772,6 @@ declare module 'stripe' {
|
|
|
3147
2772
|
requested?: boolean;
|
|
3148
2773
|
}
|
|
3149
2774
|
|
|
3150
|
-
interface PaypalPayments {
|
|
3151
|
-
/**
|
|
3152
|
-
* 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.
|
|
3153
|
-
*/
|
|
3154
|
-
requested?: boolean;
|
|
3155
|
-
}
|
|
3156
|
-
|
|
3157
|
-
interface PaypayPayments {
|
|
3158
|
-
/**
|
|
3159
|
-
* 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.
|
|
3160
|
-
*/
|
|
3161
|
-
requested?: boolean;
|
|
3162
|
-
}
|
|
3163
|
-
|
|
3164
2775
|
interface PaytoPayments {
|
|
3165
2776
|
/**
|
|
3166
2777
|
* 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.
|
|
@@ -3182,20 +2793,6 @@ declare module 'stripe' {
|
|
|
3182
2793
|
requested?: boolean;
|
|
3183
2794
|
}
|
|
3184
2795
|
|
|
3185
|
-
interface QrisPayments {
|
|
3186
|
-
/**
|
|
3187
|
-
* 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.
|
|
3188
|
-
*/
|
|
3189
|
-
requested?: boolean;
|
|
3190
|
-
}
|
|
3191
|
-
|
|
3192
|
-
interface RechnungPayments {
|
|
3193
|
-
/**
|
|
3194
|
-
* 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.
|
|
3195
|
-
*/
|
|
3196
|
-
requested?: boolean;
|
|
3197
|
-
}
|
|
3198
|
-
|
|
3199
2796
|
interface RevolutPayPayments {
|
|
3200
2797
|
/**
|
|
3201
2798
|
* 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.
|
|
@@ -3231,13 +2828,6 @@ declare module 'stripe' {
|
|
|
3231
2828
|
requested?: boolean;
|
|
3232
2829
|
}
|
|
3233
2830
|
|
|
3234
|
-
interface ShopeepayPayments {
|
|
3235
|
-
/**
|
|
3236
|
-
* 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.
|
|
3237
|
-
*/
|
|
3238
|
-
requested?: boolean;
|
|
3239
|
-
}
|
|
3240
|
-
|
|
3241
2831
|
interface SofortPayments {
|
|
3242
2832
|
/**
|
|
3243
2833
|
* 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.
|
|
@@ -3245,13 +2835,6 @@ declare module 'stripe' {
|
|
|
3245
2835
|
requested?: boolean;
|
|
3246
2836
|
}
|
|
3247
2837
|
|
|
3248
|
-
interface StripeBalancePayments {
|
|
3249
|
-
/**
|
|
3250
|
-
* 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.
|
|
3251
|
-
*/
|
|
3252
|
-
requested?: boolean;
|
|
3253
|
-
}
|
|
3254
|
-
|
|
3255
2838
|
interface SwishPayments {
|
|
3256
2839
|
/**
|
|
3257
2840
|
* 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.
|
|
@@ -3287,27 +2870,6 @@ declare module 'stripe' {
|
|
|
3287
2870
|
requested?: boolean;
|
|
3288
2871
|
}
|
|
3289
2872
|
|
|
3290
|
-
interface TreasuryEvolve {
|
|
3291
|
-
/**
|
|
3292
|
-
* 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.
|
|
3293
|
-
*/
|
|
3294
|
-
requested?: boolean;
|
|
3295
|
-
}
|
|
3296
|
-
|
|
3297
|
-
interface TreasuryFifthThird {
|
|
3298
|
-
/**
|
|
3299
|
-
* 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.
|
|
3300
|
-
*/
|
|
3301
|
-
requested?: boolean;
|
|
3302
|
-
}
|
|
3303
|
-
|
|
3304
|
-
interface TreasuryGoldmanSachs {
|
|
3305
|
-
/**
|
|
3306
|
-
* 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.
|
|
3307
|
-
*/
|
|
3308
|
-
requested?: boolean;
|
|
3309
|
-
}
|
|
3310
|
-
|
|
3311
2873
|
interface TwintPayments {
|
|
3312
2874
|
/**
|
|
3313
2875
|
* 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.
|
|
@@ -3604,12 +3166,12 @@ declare module 'stripe' {
|
|
|
3604
3166
|
namespace Verification {
|
|
3605
3167
|
interface Document {
|
|
3606
3168
|
/**
|
|
3607
|
-
* The back of a document returned by a [file upload](https://stripe.com
|
|
3169
|
+
* The back of a document returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `additional_verification`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
|
|
3608
3170
|
*/
|
|
3609
3171
|
back?: string;
|
|
3610
3172
|
|
|
3611
3173
|
/**
|
|
3612
|
-
* The front of a document returned by a [file upload](https://stripe.com
|
|
3174
|
+
* The front of a document returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `additional_verification`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
|
|
3613
3175
|
*/
|
|
3614
3176
|
front?: string;
|
|
3615
3177
|
}
|
|
@@ -3666,71 +3228,99 @@ declare module 'stripe' {
|
|
|
3666
3228
|
namespace Documents {
|
|
3667
3229
|
interface BankAccountOwnershipVerification {
|
|
3668
3230
|
/**
|
|
3669
|
-
* One or more document ids returned by a [file upload](https://stripe.com
|
|
3231
|
+
* One or more document ids returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `account_requirement`.
|
|
3670
3232
|
*/
|
|
3671
3233
|
files?: Array<string>;
|
|
3672
3234
|
}
|
|
3673
3235
|
|
|
3674
3236
|
interface CompanyLicense {
|
|
3675
3237
|
/**
|
|
3676
|
-
* One or more document ids returned by a [file upload](https://stripe.com
|
|
3238
|
+
* One or more document ids returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `account_requirement`.
|
|
3677
3239
|
*/
|
|
3678
3240
|
files?: Array<string>;
|
|
3679
3241
|
}
|
|
3680
3242
|
|
|
3681
3243
|
interface CompanyMemorandumOfAssociation {
|
|
3682
3244
|
/**
|
|
3683
|
-
* One or more document ids returned by a [file upload](https://stripe.com
|
|
3245
|
+
* One or more document ids returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `account_requirement`.
|
|
3684
3246
|
*/
|
|
3685
3247
|
files?: Array<string>;
|
|
3686
3248
|
}
|
|
3687
3249
|
|
|
3688
3250
|
interface CompanyMinisterialDecree {
|
|
3689
3251
|
/**
|
|
3690
|
-
* One or more document ids returned by a [file upload](https://stripe.com
|
|
3252
|
+
* One or more document ids returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `account_requirement`.
|
|
3691
3253
|
*/
|
|
3692
3254
|
files?: Array<string>;
|
|
3693
3255
|
}
|
|
3694
3256
|
|
|
3695
3257
|
interface CompanyRegistrationVerification {
|
|
3696
3258
|
/**
|
|
3697
|
-
* One or more document ids returned by a [file upload](https://stripe.com
|
|
3259
|
+
* One or more document ids returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `account_requirement`.
|
|
3698
3260
|
*/
|
|
3699
3261
|
files?: Array<string>;
|
|
3700
3262
|
}
|
|
3701
3263
|
|
|
3702
3264
|
interface CompanyTaxIdVerification {
|
|
3703
3265
|
/**
|
|
3704
|
-
* One or more document ids returned by a [file upload](https://stripe.com
|
|
3266
|
+
* One or more document ids returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `account_requirement`.
|
|
3705
3267
|
*/
|
|
3706
3268
|
files?: Array<string>;
|
|
3707
3269
|
}
|
|
3708
3270
|
|
|
3709
3271
|
interface ProofOfAddress {
|
|
3710
3272
|
/**
|
|
3711
|
-
* One or more document ids returned by a [file upload](https://stripe.com
|
|
3273
|
+
* One or more document ids returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `account_requirement`.
|
|
3712
3274
|
*/
|
|
3713
3275
|
files?: Array<string>;
|
|
3714
3276
|
}
|
|
3715
3277
|
|
|
3716
3278
|
interface ProofOfRegistration {
|
|
3717
3279
|
/**
|
|
3718
|
-
* One or more document ids returned by a [file upload](https://stripe.com
|
|
3280
|
+
* One or more document ids returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `account_requirement`.
|
|
3719
3281
|
*/
|
|
3720
3282
|
files?: Array<string>;
|
|
3283
|
+
|
|
3284
|
+
/**
|
|
3285
|
+
* Information regarding the person signing the document if applicable.
|
|
3286
|
+
*/
|
|
3287
|
+
signer?: ProofOfRegistration.Signer;
|
|
3288
|
+
}
|
|
3289
|
+
|
|
3290
|
+
namespace ProofOfRegistration {
|
|
3291
|
+
interface Signer {
|
|
3292
|
+
/**
|
|
3293
|
+
* The token of the person signing the document, if applicable.
|
|
3294
|
+
*/
|
|
3295
|
+
person?: string;
|
|
3296
|
+
}
|
|
3721
3297
|
}
|
|
3722
3298
|
|
|
3723
3299
|
interface ProofOfUltimateBeneficialOwnership {
|
|
3724
3300
|
/**
|
|
3725
|
-
* One or more document ids returned by a [file upload](https://stripe.com
|
|
3301
|
+
* One or more document ids returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `account_requirement`.
|
|
3726
3302
|
*/
|
|
3727
3303
|
files?: Array<string>;
|
|
3304
|
+
|
|
3305
|
+
/**
|
|
3306
|
+
* Information regarding the person signing the document if applicable.
|
|
3307
|
+
*/
|
|
3308
|
+
signer?: ProofOfUltimateBeneficialOwnership.Signer;
|
|
3309
|
+
}
|
|
3310
|
+
|
|
3311
|
+
namespace ProofOfUltimateBeneficialOwnership {
|
|
3312
|
+
interface Signer {
|
|
3313
|
+
/**
|
|
3314
|
+
* The token of the person signing the document, if applicable.
|
|
3315
|
+
*/
|
|
3316
|
+
person?: string;
|
|
3317
|
+
}
|
|
3728
3318
|
}
|
|
3729
3319
|
}
|
|
3730
3320
|
|
|
3731
3321
|
interface Groups {
|
|
3732
3322
|
/**
|
|
3733
|
-
* The group the account is in to determine their payments pricing, and null if the account is on customized pricing. [See the Platform pricing tool documentation](https://stripe.com/
|
|
3323
|
+
* The group the account is in to determine their payments pricing, and null if the account is on customized pricing. [See the Platform pricing tool documentation](https://docs.stripe.com/connect/platform-pricing-tools) for details.
|
|
3734
3324
|
*/
|
|
3735
3325
|
payments_pricing?: Stripe.Emptyable<string>;
|
|
3736
3326
|
}
|
|
@@ -3817,7 +3407,7 @@ declare module 'stripe' {
|
|
|
3817
3407
|
maiden_name?: string;
|
|
3818
3408
|
|
|
3819
3409
|
/**
|
|
3820
|
-
* Set of [key-value pairs](https://stripe.com/
|
|
3410
|
+
* Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
|
3821
3411
|
*/
|
|
3822
3412
|
metadata?: Stripe.Emptyable<Stripe.MetadataParam>;
|
|
3823
3413
|
|
|
@@ -3914,81 +3504,41 @@ declare module 'stripe' {
|
|
|
3914
3504
|
namespace Verification {
|
|
3915
3505
|
interface AdditionalDocument {
|
|
3916
3506
|
/**
|
|
3917
|
-
* The back of an ID returned by a [file upload](https://stripe.com
|
|
3507
|
+
* The back of an ID returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
|
|
3918
3508
|
*/
|
|
3919
3509
|
back?: string;
|
|
3920
3510
|
|
|
3921
3511
|
/**
|
|
3922
|
-
* The front of an ID returned by a [file upload](https://stripe.com
|
|
3512
|
+
* The front of an ID returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
|
|
3923
3513
|
*/
|
|
3924
3514
|
front?: string;
|
|
3925
3515
|
}
|
|
3926
3516
|
|
|
3927
3517
|
interface Document {
|
|
3928
3518
|
/**
|
|
3929
|
-
* The back of an ID returned by a [file upload](https://stripe.com
|
|
3519
|
+
* The back of an ID returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
|
|
3930
3520
|
*/
|
|
3931
3521
|
back?: string;
|
|
3932
3522
|
|
|
3933
3523
|
/**
|
|
3934
|
-
* The front of an ID returned by a [file upload](https://stripe.com
|
|
3524
|
+
* The front of an ID returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
|
|
3935
3525
|
*/
|
|
3936
3526
|
front?: string;
|
|
3937
3527
|
}
|
|
3938
3528
|
}
|
|
3939
3529
|
}
|
|
3940
3530
|
|
|
3941
|
-
interface RiskControls {
|
|
3942
|
-
/**
|
|
3943
|
-
* 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).
|
|
3944
|
-
*/
|
|
3945
|
-
charges?: RiskControls.Charges;
|
|
3946
|
-
|
|
3947
|
-
/**
|
|
3948
|
-
* 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).
|
|
3949
|
-
*/
|
|
3950
|
-
payouts?: RiskControls.Payouts;
|
|
3951
|
-
}
|
|
3952
|
-
|
|
3953
|
-
namespace RiskControls {
|
|
3954
|
-
interface Charges {
|
|
3955
|
-
/**
|
|
3956
|
-
* To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
|
|
3957
|
-
* There can be a delay before the risk control is paused or unpaused.
|
|
3958
|
-
*/
|
|
3959
|
-
pause_requested?: boolean;
|
|
3960
|
-
}
|
|
3961
|
-
|
|
3962
|
-
interface Payouts {
|
|
3963
|
-
/**
|
|
3964
|
-
* To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
|
|
3965
|
-
* There can be a delay before the risk control is paused or unpaused.
|
|
3966
|
-
*/
|
|
3967
|
-
pause_requested?: boolean;
|
|
3968
|
-
}
|
|
3969
|
-
}
|
|
3970
|
-
|
|
3971
3531
|
interface Settings {
|
|
3972
3532
|
/**
|
|
3973
3533
|
* Settings specific to Bacs Direct Debit payments.
|
|
3974
3534
|
*/
|
|
3975
3535
|
bacs_debit_payments?: Settings.BacsDebitPayments;
|
|
3976
3536
|
|
|
3977
|
-
/**
|
|
3978
|
-
* Settings specific to bank BCA onboarding for Indonesia bank transfers payments method.
|
|
3979
|
-
*/
|
|
3980
|
-
bank_bca_onboarding?: Settings.BankBcaOnboarding;
|
|
3981
|
-
|
|
3982
3537
|
/**
|
|
3983
3538
|
* Settings used to apply the account's branding to email receipts, invoices, Checkout, and other products.
|
|
3984
3539
|
*/
|
|
3985
3540
|
branding?: Settings.Branding;
|
|
3986
3541
|
|
|
3987
|
-
/**
|
|
3988
|
-
* Settings specific to the account's use of the Capital product.
|
|
3989
|
-
*/
|
|
3990
|
-
capital?: Settings.Capital;
|
|
3991
|
-
|
|
3992
3542
|
/**
|
|
3993
3543
|
* Settings specific to the account's use of the Card Issuing product.
|
|
3994
3544
|
*/
|
|
@@ -4014,16 +3564,6 @@ declare module 'stripe' {
|
|
|
4014
3564
|
*/
|
|
4015
3565
|
payouts?: Settings.Payouts;
|
|
4016
3566
|
|
|
4017
|
-
/**
|
|
4018
|
-
* Settings specific to the PayPay payments method.
|
|
4019
|
-
*/
|
|
4020
|
-
paypay_payments?: Settings.PaypayPayments;
|
|
4021
|
-
|
|
4022
|
-
/**
|
|
4023
|
-
* Settings specific to the account's tax forms.
|
|
4024
|
-
*/
|
|
4025
|
-
tax_forms?: Settings.TaxForms;
|
|
4026
|
-
|
|
4027
3567
|
/**
|
|
4028
3568
|
* Settings specific to the account's Treasury FinancialAccounts.
|
|
4029
3569
|
*/
|
|
@@ -4038,18 +3578,6 @@ declare module 'stripe' {
|
|
|
4038
3578
|
display_name?: string;
|
|
4039
3579
|
}
|
|
4040
3580
|
|
|
4041
|
-
interface BankBcaOnboarding {
|
|
4042
|
-
/**
|
|
4043
|
-
* Bank BCA business account holder name
|
|
4044
|
-
*/
|
|
4045
|
-
account_holder_name?: string;
|
|
4046
|
-
|
|
4047
|
-
/**
|
|
4048
|
-
* Bank BCA business account number
|
|
4049
|
-
*/
|
|
4050
|
-
business_account_number?: string;
|
|
4051
|
-
}
|
|
4052
|
-
|
|
4053
3581
|
interface Branding {
|
|
4054
3582
|
/**
|
|
4055
3583
|
* (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.
|
|
@@ -4072,22 +3600,6 @@ declare module 'stripe' {
|
|
|
4072
3600
|
secondary_color?: string;
|
|
4073
3601
|
}
|
|
4074
3602
|
|
|
4075
|
-
interface Capital {
|
|
4076
|
-
/**
|
|
4077
|
-
* Per-currency mapping of user-selected destination accounts used to pay out loans.
|
|
4078
|
-
*/
|
|
4079
|
-
payout_destination?: {
|
|
4080
|
-
[key: string]: string;
|
|
4081
|
-
};
|
|
4082
|
-
|
|
4083
|
-
/**
|
|
4084
|
-
* Per-currency mapping of all destination accounts eligible to receive Capital financing payouts.
|
|
4085
|
-
*/
|
|
4086
|
-
payout_destination_selector?: {
|
|
4087
|
-
[key: string]: Array<string>;
|
|
4088
|
-
};
|
|
4089
|
-
}
|
|
4090
|
-
|
|
4091
3603
|
interface CardIssuing {
|
|
4092
3604
|
/**
|
|
4093
3605
|
* Details on the account's acceptance of the [Stripe Issuing Terms and Disclosures](https://docs.stripe.com/issuing/connect/tos_acceptance).
|
|
@@ -4254,24 +3766,6 @@ declare module 'stripe' {
|
|
|
4254
3766
|
}
|
|
4255
3767
|
}
|
|
4256
3768
|
|
|
4257
|
-
interface PaypayPayments {
|
|
4258
|
-
/**
|
|
4259
|
-
* Whether your business sells digital content or not.
|
|
4260
|
-
*/
|
|
4261
|
-
goods_type?: PaypayPayments.GoodsType;
|
|
4262
|
-
}
|
|
4263
|
-
|
|
4264
|
-
namespace PaypayPayments {
|
|
4265
|
-
type GoodsType = 'digital_content' | 'other';
|
|
4266
|
-
}
|
|
4267
|
-
|
|
4268
|
-
interface TaxForms {
|
|
4269
|
-
/**
|
|
4270
|
-
* Whether the account opted out of receiving their tax forms by postal delivery.
|
|
4271
|
-
*/
|
|
4272
|
-
consented_to_paperless_delivery?: boolean;
|
|
4273
|
-
}
|
|
4274
|
-
|
|
4275
3769
|
interface Treasury {
|
|
4276
3770
|
/**
|
|
4277
3771
|
* Details on the account's acceptance of the Stripe Treasury Services Agreement.
|
|
@@ -4338,7 +3832,7 @@ declare module 'stripe' {
|
|
|
4338
3832
|
|
|
4339
3833
|
interface AccountCreateExternalAccountParams {
|
|
4340
3834
|
/**
|
|
4341
|
-
* A token, like the ones returned by [Stripe.js](https://stripe.com/
|
|
3835
|
+
* A token, like the ones returned by [Stripe.js](https://docs.stripe.com/js) or a dictionary containing a user's external account details (with the options shown below). Please refer to full [documentation](https://stripe.com/docs/api/external_accounts) instead.
|
|
4342
3836
|
*/
|
|
4343
3837
|
external_account:
|
|
4344
3838
|
| string
|
|
@@ -4357,7 +3851,7 @@ declare module 'stripe' {
|
|
|
4357
3851
|
expand?: Array<string>;
|
|
4358
3852
|
|
|
4359
3853
|
/**
|
|
4360
|
-
* Set of [key-value pairs](https://stripe.com/
|
|
3854
|
+
* Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
|
4361
3855
|
*/
|
|
4362
3856
|
metadata?: Stripe.MetadataParam;
|
|
4363
3857
|
}
|
|
@@ -4547,7 +4041,7 @@ declare module 'stripe' {
|
|
|
4547
4041
|
maiden_name?: string;
|
|
4548
4042
|
|
|
4549
4043
|
/**
|
|
4550
|
-
* Set of [key-value pairs](https://stripe.com/
|
|
4044
|
+
* Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
|
4551
4045
|
*/
|
|
4552
4046
|
metadata?: Stripe.Emptyable<Stripe.MetadataParam>;
|
|
4553
4047
|
|
|
@@ -4661,21 +4155,21 @@ declare module 'stripe' {
|
|
|
4661
4155
|
namespace Documents {
|
|
4662
4156
|
interface CompanyAuthorization {
|
|
4663
4157
|
/**
|
|
4664
|
-
* One or more document ids returned by a [file upload](https://stripe.com
|
|
4158
|
+
* One or more document ids returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `account_requirement`.
|
|
4665
4159
|
*/
|
|
4666
4160
|
files?: Array<string>;
|
|
4667
4161
|
}
|
|
4668
4162
|
|
|
4669
4163
|
interface Passport {
|
|
4670
4164
|
/**
|
|
4671
|
-
* One or more document ids returned by a [file upload](https://stripe.com
|
|
4165
|
+
* One or more document ids returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `account_requirement`.
|
|
4672
4166
|
*/
|
|
4673
4167
|
files?: Array<string>;
|
|
4674
4168
|
}
|
|
4675
4169
|
|
|
4676
4170
|
interface Visa {
|
|
4677
4171
|
/**
|
|
4678
|
-
* One or more document ids returned by a [file upload](https://stripe.com
|
|
4172
|
+
* One or more document ids returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `account_requirement`.
|
|
4679
4173
|
*/
|
|
4680
4174
|
files?: Array<string>;
|
|
4681
4175
|
}
|
|
@@ -4822,24 +4316,24 @@ declare module 'stripe' {
|
|
|
4822
4316
|
namespace Verification {
|
|
4823
4317
|
interface AdditionalDocument {
|
|
4824
4318
|
/**
|
|
4825
|
-
* The back of an ID returned by a [file upload](https://stripe.com
|
|
4319
|
+
* The back of an ID returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
|
|
4826
4320
|
*/
|
|
4827
4321
|
back?: string;
|
|
4828
4322
|
|
|
4829
4323
|
/**
|
|
4830
|
-
* The front of an ID returned by a [file upload](https://stripe.com
|
|
4324
|
+
* The front of an ID returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
|
|
4831
4325
|
*/
|
|
4832
4326
|
front?: string;
|
|
4833
4327
|
}
|
|
4834
4328
|
|
|
4835
4329
|
interface Document {
|
|
4836
4330
|
/**
|
|
4837
|
-
* The back of an ID returned by a [file upload](https://stripe.com
|
|
4331
|
+
* The back of an ID returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
|
|
4838
4332
|
*/
|
|
4839
4333
|
back?: string;
|
|
4840
4334
|
|
|
4841
4335
|
/**
|
|
4842
|
-
* The front of an ID returned by a [file upload](https://stripe.com
|
|
4336
|
+
* The front of an ID returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
|
|
4843
4337
|
*/
|
|
4844
4338
|
front?: string;
|
|
4845
4339
|
}
|
|
@@ -5047,7 +4541,7 @@ declare module 'stripe' {
|
|
|
5047
4541
|
expand?: Array<string>;
|
|
5048
4542
|
|
|
5049
4543
|
/**
|
|
5050
|
-
* Set of [key-value pairs](https://stripe.com/
|
|
4544
|
+
* Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
|
5051
4545
|
*/
|
|
5052
4546
|
metadata?: Stripe.Emptyable<Stripe.MetadataParam>;
|
|
5053
4547
|
|
|
@@ -5072,7 +4566,7 @@ declare module 'stripe' {
|
|
|
5072
4566
|
namespace Documents {
|
|
5073
4567
|
interface BankAccountOwnershipVerification {
|
|
5074
4568
|
/**
|
|
5075
|
-
* One or more document ids returned by a [file upload](https://stripe.com
|
|
4569
|
+
* One or more document ids returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `account_requirement`.
|
|
5076
4570
|
*/
|
|
5077
4571
|
files?: Array<string>;
|
|
5078
4572
|
}
|
|
@@ -5176,7 +4670,7 @@ declare module 'stripe' {
|
|
|
5176
4670
|
maiden_name?: string;
|
|
5177
4671
|
|
|
5178
4672
|
/**
|
|
5179
|
-
* Set of [key-value pairs](https://stripe.com/
|
|
4673
|
+
* Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
|
5180
4674
|
*/
|
|
5181
4675
|
metadata?: Stripe.Emptyable<Stripe.MetadataParam>;
|
|
5182
4676
|
|
|
@@ -5290,21 +4784,21 @@ declare module 'stripe' {
|
|
|
5290
4784
|
namespace Documents {
|
|
5291
4785
|
interface CompanyAuthorization {
|
|
5292
4786
|
/**
|
|
5293
|
-
* One or more document ids returned by a [file upload](https://stripe.com
|
|
4787
|
+
* One or more document ids returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `account_requirement`.
|
|
5294
4788
|
*/
|
|
5295
4789
|
files?: Array<string>;
|
|
5296
4790
|
}
|
|
5297
4791
|
|
|
5298
4792
|
interface Passport {
|
|
5299
4793
|
/**
|
|
5300
|
-
* One or more document ids returned by a [file upload](https://stripe.com
|
|
4794
|
+
* One or more document ids returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `account_requirement`.
|
|
5301
4795
|
*/
|
|
5302
4796
|
files?: Array<string>;
|
|
5303
4797
|
}
|
|
5304
4798
|
|
|
5305
4799
|
interface Visa {
|
|
5306
4800
|
/**
|
|
5307
|
-
* One or more document ids returned by a [file upload](https://stripe.com
|
|
4801
|
+
* One or more document ids returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `account_requirement`.
|
|
5308
4802
|
*/
|
|
5309
4803
|
files?: Array<string>;
|
|
5310
4804
|
}
|
|
@@ -5451,24 +4945,24 @@ declare module 'stripe' {
|
|
|
5451
4945
|
namespace Verification {
|
|
5452
4946
|
interface AdditionalDocument {
|
|
5453
4947
|
/**
|
|
5454
|
-
* The back of an ID returned by a [file upload](https://stripe.com
|
|
4948
|
+
* The back of an ID returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
|
|
5455
4949
|
*/
|
|
5456
4950
|
back?: string;
|
|
5457
4951
|
|
|
5458
4952
|
/**
|
|
5459
|
-
* The front of an ID returned by a [file upload](https://stripe.com
|
|
4953
|
+
* The front of an ID returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
|
|
5460
4954
|
*/
|
|
5461
4955
|
front?: string;
|
|
5462
4956
|
}
|
|
5463
4957
|
|
|
5464
4958
|
interface Document {
|
|
5465
4959
|
/**
|
|
5466
|
-
* The back of an ID returned by a [file upload](https://stripe.com
|
|
4960
|
+
* The back of an ID returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
|
|
5467
4961
|
*/
|
|
5468
4962
|
back?: string;
|
|
5469
4963
|
|
|
5470
4964
|
/**
|
|
5471
|
-
* The front of an ID returned by a [file upload](https://stripe.com
|
|
4965
|
+
* The front of an ID returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
|
|
5472
4966
|
*/
|
|
5473
4967
|
front?: string;
|
|
5474
4968
|
}
|