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
package/types/Accounts.d.ts
CHANGED
|
@@ -100,7 +100,7 @@ declare module 'stripe' {
|
|
|
100
100
|
individual?: Stripe.Person;
|
|
101
101
|
|
|
102
102
|
/**
|
|
103
|
-
* Set of [key-value pairs](https://stripe.com/
|
|
103
|
+
* 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.
|
|
104
104
|
*/
|
|
105
105
|
metadata?: Stripe.Metadata;
|
|
106
106
|
|
|
@@ -111,8 +111,6 @@ declare module 'stripe' {
|
|
|
111
111
|
|
|
112
112
|
requirements?: Account.Requirements;
|
|
113
113
|
|
|
114
|
-
risk_controls?: Account.RiskControls;
|
|
115
|
-
|
|
116
114
|
/**
|
|
117
115
|
* Options for customizing how the account functions within Stripe.
|
|
118
116
|
*/
|
|
@@ -162,11 +160,6 @@ declare module 'stripe' {
|
|
|
162
160
|
*/
|
|
163
161
|
product_description?: string | null;
|
|
164
162
|
|
|
165
|
-
/**
|
|
166
|
-
* A link to the business's publicly available terms related to the Specified Commercial Transaction Act. Only used for accounts in Japan.
|
|
167
|
-
*/
|
|
168
|
-
specified_commercial_transactions_act_url?: string | null;
|
|
169
|
-
|
|
170
163
|
/**
|
|
171
164
|
* A publicly available mailing address for sending support issues to.
|
|
172
165
|
*/
|
|
@@ -268,11 +261,6 @@ declare module 'stripe' {
|
|
|
268
261
|
*/
|
|
269
262
|
au_becs_debit_payments?: Capabilities.AuBecsDebitPayments;
|
|
270
263
|
|
|
271
|
-
/**
|
|
272
|
-
* The status of the automatic_indirect_tax capability of the account.
|
|
273
|
-
*/
|
|
274
|
-
automatic_indirect_tax?: Capabilities.AutomaticIndirectTax;
|
|
275
|
-
|
|
276
264
|
/**
|
|
277
265
|
* The status of the Bacs Direct Debits payments capability of the account, or whether the account can directly process Bacs Direct Debits charges.
|
|
278
266
|
*/
|
|
@@ -348,26 +336,11 @@ declare module 'stripe' {
|
|
|
348
336
|
*/
|
|
349
337
|
giropay_payments?: Capabilities.GiropayPayments;
|
|
350
338
|
|
|
351
|
-
/**
|
|
352
|
-
* The status of the Gopay capability of the account, or whether the account can directly process Gopay payments.
|
|
353
|
-
*/
|
|
354
|
-
gopay_payments?: Capabilities.GopayPayments;
|
|
355
|
-
|
|
356
339
|
/**
|
|
357
340
|
* The status of the GrabPay payments capability of the account, or whether the account can directly process GrabPay charges.
|
|
358
341
|
*/
|
|
359
342
|
grabpay_payments?: Capabilities.GrabpayPayments;
|
|
360
343
|
|
|
361
|
-
/**
|
|
362
|
-
* The status of the Indonesia Bank Transfer payments capability of the account, or whether the account can directly process Indonesia Bank Transfer charges.
|
|
363
|
-
*/
|
|
364
|
-
id_bank_transfer_payments?: Capabilities.IdBankTransferPayments;
|
|
365
|
-
|
|
366
|
-
/**
|
|
367
|
-
* The status of Bank BCA onboarding of the account.
|
|
368
|
-
*/
|
|
369
|
-
id_bank_transfer_payments_bca?: Capabilities.IdBankTransferPaymentsBca;
|
|
370
|
-
|
|
371
344
|
/**
|
|
372
345
|
* The status of the iDEAL payments capability of the account, or whether the account can directly process iDEAL charges.
|
|
373
346
|
*/
|
|
@@ -473,16 +446,6 @@ declare module 'stripe' {
|
|
|
473
446
|
*/
|
|
474
447
|
paynow_payments?: Capabilities.PaynowPayments;
|
|
475
448
|
|
|
476
|
-
/**
|
|
477
|
-
* The status of the PayPal payments capability of the account, or whether the account can directly process PayPal charges.
|
|
478
|
-
*/
|
|
479
|
-
paypal_payments?: Capabilities.PaypalPayments;
|
|
480
|
-
|
|
481
|
-
/**
|
|
482
|
-
* The status of the Paypay capability of the account, or whether the account can directly process Paypay payments.
|
|
483
|
-
*/
|
|
484
|
-
paypay_payments?: Capabilities.PaypayPayments;
|
|
485
|
-
|
|
486
449
|
/**
|
|
487
450
|
* The status of the PayTo capability of the account, or whether the account can directly process PayTo charges.
|
|
488
451
|
*/
|
|
@@ -498,16 +461,6 @@ declare module 'stripe' {
|
|
|
498
461
|
*/
|
|
499
462
|
promptpay_payments?: Capabilities.PromptpayPayments;
|
|
500
463
|
|
|
501
|
-
/**
|
|
502
|
-
* The status of the Qris capability of the account, or whether the account can directly process Qris payments.
|
|
503
|
-
*/
|
|
504
|
-
qris_payments?: Capabilities.QrisPayments;
|
|
505
|
-
|
|
506
|
-
/**
|
|
507
|
-
* The status of the Rechnung capability of the account, or whether the account can directly process Rechnung payments.
|
|
508
|
-
*/
|
|
509
|
-
rechnung_payments?: Capabilities.RechnungPayments;
|
|
510
|
-
|
|
511
464
|
/**
|
|
512
465
|
* The status of the RevolutPay capability of the account, or whether the account can directly process RevolutPay payments.
|
|
513
466
|
*/
|
|
@@ -533,21 +486,11 @@ declare module 'stripe' {
|
|
|
533
486
|
*/
|
|
534
487
|
sepa_debit_payments?: Capabilities.SepaDebitPayments;
|
|
535
488
|
|
|
536
|
-
/**
|
|
537
|
-
* The status of the ShopeePay capability of the account, or whether the account can directly process ShopeePay payments.
|
|
538
|
-
*/
|
|
539
|
-
shopeepay_payments?: Capabilities.ShopeepayPayments;
|
|
540
|
-
|
|
541
489
|
/**
|
|
542
490
|
* The status of the Sofort payments capability of the account, or whether the account can directly process Sofort charges.
|
|
543
491
|
*/
|
|
544
492
|
sofort_payments?: Capabilities.SofortPayments;
|
|
545
493
|
|
|
546
|
-
/**
|
|
547
|
-
* The status of the stripe_balance payments capability of the account, or whether the account can directly process stripe_balance charges.
|
|
548
|
-
*/
|
|
549
|
-
stripe_balance_payments?: Capabilities.StripeBalancePayments;
|
|
550
|
-
|
|
551
494
|
/**
|
|
552
495
|
* The status of the Swish capability of the account, or whether the account can directly process Swish payments.
|
|
553
496
|
*/
|
|
@@ -573,21 +516,6 @@ declare module 'stripe' {
|
|
|
573
516
|
*/
|
|
574
517
|
treasury?: Capabilities.Treasury;
|
|
575
518
|
|
|
576
|
-
/**
|
|
577
|
-
* The status of the treasury_evolve capability of the account.
|
|
578
|
-
*/
|
|
579
|
-
treasury_evolve?: Capabilities.TreasuryEvolve;
|
|
580
|
-
|
|
581
|
-
/**
|
|
582
|
-
* The status of the treasury_fifth_third capability of the account.
|
|
583
|
-
*/
|
|
584
|
-
treasury_fifth_third?: Capabilities.TreasuryFifthThird;
|
|
585
|
-
|
|
586
|
-
/**
|
|
587
|
-
* The status of the treasury_goldman_sachs capability of the account.
|
|
588
|
-
*/
|
|
589
|
-
treasury_goldman_sachs?: Capabilities.TreasuryGoldmanSachs;
|
|
590
|
-
|
|
591
519
|
/**
|
|
592
520
|
* The status of the TWINT capability of the account, or whether the account can directly process TWINT charges.
|
|
593
521
|
*/
|
|
@@ -622,8 +550,6 @@ declare module 'stripe' {
|
|
|
622
550
|
|
|
623
551
|
type AuBecsDebitPayments = 'active' | 'inactive' | 'pending';
|
|
624
552
|
|
|
625
|
-
type AutomaticIndirectTax = 'active' | 'inactive' | 'pending';
|
|
626
|
-
|
|
627
553
|
type BacsDebitPayments = 'active' | 'inactive' | 'pending';
|
|
628
554
|
|
|
629
555
|
type BancontactPayments = 'active' | 'inactive' | 'pending';
|
|
@@ -654,14 +580,8 @@ declare module 'stripe' {
|
|
|
654
580
|
|
|
655
581
|
type GiropayPayments = 'active' | 'inactive' | 'pending';
|
|
656
582
|
|
|
657
|
-
type GopayPayments = 'active' | 'inactive' | 'pending';
|
|
658
|
-
|
|
659
583
|
type GrabpayPayments = 'active' | 'inactive' | 'pending';
|
|
660
584
|
|
|
661
|
-
type IdBankTransferPayments = 'active' | 'inactive' | 'pending';
|
|
662
|
-
|
|
663
|
-
type IdBankTransferPaymentsBca = 'active' | 'inactive' | 'pending';
|
|
664
|
-
|
|
665
585
|
type IdealPayments = 'active' | 'inactive' | 'pending';
|
|
666
586
|
|
|
667
587
|
type IndiaInternationalPayments = 'active' | 'inactive' | 'pending';
|
|
@@ -704,20 +624,12 @@ declare module 'stripe' {
|
|
|
704
624
|
|
|
705
625
|
type PaynowPayments = 'active' | 'inactive' | 'pending';
|
|
706
626
|
|
|
707
|
-
type PaypalPayments = 'active' | 'inactive' | 'pending';
|
|
708
|
-
|
|
709
|
-
type PaypayPayments = 'active' | 'inactive' | 'pending';
|
|
710
|
-
|
|
711
627
|
type PaytoPayments = 'active' | 'inactive' | 'pending';
|
|
712
628
|
|
|
713
629
|
type PixPayments = 'active' | 'inactive' | 'pending';
|
|
714
630
|
|
|
715
631
|
type PromptpayPayments = 'active' | 'inactive' | 'pending';
|
|
716
632
|
|
|
717
|
-
type QrisPayments = 'active' | 'inactive' | 'pending';
|
|
718
|
-
|
|
719
|
-
type RechnungPayments = 'active' | 'inactive' | 'pending';
|
|
720
|
-
|
|
721
633
|
type RevolutPayPayments = 'active' | 'inactive' | 'pending';
|
|
722
634
|
|
|
723
635
|
type SamsungPayPayments = 'active' | 'inactive' | 'pending';
|
|
@@ -728,12 +640,8 @@ declare module 'stripe' {
|
|
|
728
640
|
|
|
729
641
|
type SepaDebitPayments = 'active' | 'inactive' | 'pending';
|
|
730
642
|
|
|
731
|
-
type ShopeepayPayments = 'active' | 'inactive' | 'pending';
|
|
732
|
-
|
|
733
643
|
type SofortPayments = 'active' | 'inactive' | 'pending';
|
|
734
644
|
|
|
735
|
-
type StripeBalancePayments = 'active' | 'inactive' | 'pending';
|
|
736
|
-
|
|
737
645
|
type SwishPayments = 'active' | 'inactive' | 'pending';
|
|
738
646
|
|
|
739
647
|
type TaxReportingUs1099K = 'active' | 'inactive' | 'pending';
|
|
@@ -744,12 +652,6 @@ declare module 'stripe' {
|
|
|
744
652
|
|
|
745
653
|
type Treasury = 'active' | 'inactive' | 'pending';
|
|
746
654
|
|
|
747
|
-
type TreasuryEvolve = 'active' | 'inactive' | 'pending';
|
|
748
|
-
|
|
749
|
-
type TreasuryFifthThird = 'active' | 'inactive' | 'pending';
|
|
750
|
-
|
|
751
|
-
type TreasuryGoldmanSachs = 'active' | 'inactive' | 'pending';
|
|
752
|
-
|
|
753
655
|
type TwintPayments = 'active' | 'inactive' | 'pending';
|
|
754
656
|
|
|
755
657
|
type UsBankAccountAchPayments = 'active' | 'inactive' | 'pending';
|
|
@@ -773,7 +675,7 @@ declare module 'stripe' {
|
|
|
773
675
|
address_kanji?: Company.AddressKanji | null;
|
|
774
676
|
|
|
775
677
|
/**
|
|
776
|
-
* Whether the company's directors have been provided. This Boolean will be `true` if you've manually indicated that all directors are provided via [the `directors_provided` parameter](https://stripe.com/
|
|
678
|
+
* Whether the company's directors have been provided. This Boolean will be `true` if you've manually indicated that all directors are provided via [the `directors_provided` parameter](https://docs.stripe.com/api/accounts/update#update_account-company-directors_provided).
|
|
777
679
|
*/
|
|
778
680
|
directors_provided?: boolean;
|
|
779
681
|
|
|
@@ -783,7 +685,7 @@ declare module 'stripe' {
|
|
|
783
685
|
directorship_declaration?: Company.DirectorshipDeclaration | null;
|
|
784
686
|
|
|
785
687
|
/**
|
|
786
|
-
* Whether the company's executives have been provided. This Boolean will be `true` if you've manually indicated that all executives are provided via [the `executives_provided` parameter](https://stripe.com/
|
|
688
|
+
* Whether the company's executives have been provided. This Boolean will be `true` if you've manually indicated that all executives are provided via [the `executives_provided` parameter](https://docs.stripe.com/api/accounts/update#update_account-company-executives_provided), or if Stripe determined that sufficient executives were provided.
|
|
787
689
|
*/
|
|
788
690
|
executives_provided?: boolean;
|
|
789
691
|
|
|
@@ -813,7 +715,7 @@ declare module 'stripe' {
|
|
|
813
715
|
name_kanji?: string | null;
|
|
814
716
|
|
|
815
717
|
/**
|
|
816
|
-
* Whether the company's owners have been provided. This Boolean will be `true` if you've manually indicated that all owners are provided via [the `owners_provided` parameter](https://stripe.com/
|
|
718
|
+
* Whether the company's owners have been provided. This Boolean will be `true` if you've manually indicated that all owners are provided via [the `owners_provided` parameter](https://docs.stripe.com/api/accounts/update#update_account-company-owners_provided), or if Stripe determined that sufficient owners were provided. Stripe determines ownership requirements using both the number of owners provided and their total percent ownership (calculated by adding the `percent_ownership` of each owner together).
|
|
817
719
|
*/
|
|
818
720
|
owners_provided?: boolean;
|
|
819
721
|
|
|
@@ -840,7 +742,7 @@ declare module 'stripe' {
|
|
|
840
742
|
representative_declaration?: Company.RepresentativeDeclaration | null;
|
|
841
743
|
|
|
842
744
|
/**
|
|
843
|
-
* The category identifying the legal structure of the company or legal entity. Also available for accounts where [controller.requirement_collection](https://docs.stripe.com/api/accounts/object#account_object-controller-requirement_collection) is `stripe`. See [Business structure](https://stripe.com/
|
|
745
|
+
* The category identifying the legal structure of the company or legal entity. Also available for accounts where [controller.requirement_collection](https://docs.stripe.com/api/accounts/object#account_object-controller-requirement_collection) is `stripe`. See [Business structure](https://docs.stripe.com/connect/identity-verification#business-structure) for more details.
|
|
844
746
|
*/
|
|
845
747
|
structure?: Company.Structure;
|
|
846
748
|
|
|
@@ -1044,7 +946,7 @@ declare module 'stripe' {
|
|
|
1044
946
|
namespace Verification {
|
|
1045
947
|
interface Document {
|
|
1046
948
|
/**
|
|
1047
|
-
* The back of a document returned by a [file upload](https://stripe.com
|
|
949
|
+
* The back of a document returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `additional_verification`. Note that `additional_verification` files are [not downloadable](https://docs.stripe.com/file-upload#uploading-a-file).
|
|
1048
950
|
*/
|
|
1049
951
|
back: string | Stripe.File | null;
|
|
1050
952
|
|
|
@@ -1059,7 +961,7 @@ declare module 'stripe' {
|
|
|
1059
961
|
details_code: string | null;
|
|
1060
962
|
|
|
1061
963
|
/**
|
|
1062
|
-
* The front of a document returned by a [file upload](https://stripe.com
|
|
964
|
+
* The front of a document returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `additional_verification`. Note that `additional_verification` files are [not downloadable](https://docs.stripe.com/file-upload#uploading-a-file).
|
|
1063
965
|
*/
|
|
1064
966
|
front: string | Stripe.File | null;
|
|
1065
967
|
}
|
|
@@ -1067,14 +969,10 @@ declare module 'stripe' {
|
|
|
1067
969
|
}
|
|
1068
970
|
|
|
1069
971
|
interface Controller {
|
|
1070
|
-
application?: Controller.Application;
|
|
1071
|
-
|
|
1072
|
-
dashboard?: Controller.Dashboard;
|
|
1073
|
-
|
|
1074
972
|
fees?: Controller.Fees;
|
|
1075
973
|
|
|
1076
974
|
/**
|
|
1077
|
-
* `true` if the Connect application retrieving the resource controls the account and can therefore exercise [platform controls](https://stripe.com/
|
|
975
|
+
* `true` if the Connect application retrieving the resource controls the account and can therefore exercise [platform controls](https://docs.stripe.com/connect/platform-controls-for-standard-accounts). Otherwise, this field is null.
|
|
1078
976
|
*/
|
|
1079
977
|
is_controller?: boolean;
|
|
1080
978
|
|
|
@@ -1094,34 +992,6 @@ declare module 'stripe' {
|
|
|
1094
992
|
}
|
|
1095
993
|
|
|
1096
994
|
namespace Controller {
|
|
1097
|
-
interface Application {
|
|
1098
|
-
/**
|
|
1099
|
-
* `true` if the Connect application is responsible for negative balances and should manage credit and fraud risk on the account.
|
|
1100
|
-
*/
|
|
1101
|
-
loss_liable: boolean;
|
|
1102
|
-
|
|
1103
|
-
/**
|
|
1104
|
-
* `true` if the Connect application is responsible for onboarding the account.
|
|
1105
|
-
*/
|
|
1106
|
-
onboarding_owner: boolean;
|
|
1107
|
-
|
|
1108
|
-
/**
|
|
1109
|
-
* `true` if the Connect application is responsible for paying Stripe fees on pricing-control eligible products.
|
|
1110
|
-
*/
|
|
1111
|
-
pricing_controls: boolean;
|
|
1112
|
-
}
|
|
1113
|
-
|
|
1114
|
-
interface Dashboard {
|
|
1115
|
-
/**
|
|
1116
|
-
* Whether this account has access to the full Stripe dashboard (`full`), to the Express dashboard (`express`), or to no dashboard (`none`).
|
|
1117
|
-
*/
|
|
1118
|
-
type: Dashboard.Type;
|
|
1119
|
-
}
|
|
1120
|
-
|
|
1121
|
-
namespace Dashboard {
|
|
1122
|
-
type Type = 'express' | 'full' | 'none';
|
|
1123
|
-
}
|
|
1124
|
-
|
|
1125
995
|
interface Fees {
|
|
1126
996
|
/**
|
|
1127
997
|
* A value indicating the responsible payer of a bundle of Stripe fees for pricing-control eligible products on this account. Learn more about [fee behavior on connected accounts](https://docs.stripe.com/connect/direct-charges-fee-payer-behavior).
|
|
@@ -1134,8 +1004,7 @@ declare module 'stripe' {
|
|
|
1134
1004
|
| 'account'
|
|
1135
1005
|
| 'application'
|
|
1136
1006
|
| 'application_custom'
|
|
1137
|
-
| 'application_express'
|
|
1138
|
-
| 'application_unified_accounts_beta';
|
|
1007
|
+
| 'application_express';
|
|
1139
1008
|
}
|
|
1140
1009
|
|
|
1141
1010
|
interface Losses {
|
|
@@ -1167,7 +1036,7 @@ declare module 'stripe' {
|
|
|
1167
1036
|
|
|
1168
1037
|
interface FutureRequirements {
|
|
1169
1038
|
/**
|
|
1170
|
-
* Fields that are due and can be
|
|
1039
|
+
* Fields that are due and can be resolved by providing the corresponding alternative fields instead. Many alternatives can list the same `original_fields_due`, and any of these alternatives can serve as a pathway for attempting to resolve the fields again. Re-providing `original_fields_due` also serves as a pathway for attempting to resolve the fields again.
|
|
1171
1040
|
*/
|
|
1172
1041
|
alternatives: Array<FutureRequirements.Alternative> | null;
|
|
1173
1042
|
|
|
@@ -1177,7 +1046,7 @@ declare module 'stripe' {
|
|
|
1177
1046
|
current_deadline: number | null;
|
|
1178
1047
|
|
|
1179
1048
|
/**
|
|
1180
|
-
* Fields that need to be
|
|
1049
|
+
* Fields that need to be resolved to keep the account enabled. If not resolved by `future_requirements[current_deadline]`, these fields will transition to the main `requirements` hash.
|
|
1181
1050
|
*/
|
|
1182
1051
|
currently_due: Array<string> | null;
|
|
1183
1052
|
|
|
@@ -1187,7 +1056,7 @@ declare module 'stripe' {
|
|
|
1187
1056
|
disabled_reason: FutureRequirements.DisabledReason | null;
|
|
1188
1057
|
|
|
1189
1058
|
/**
|
|
1190
|
-
*
|
|
1059
|
+
* Details about validation and verification failures for `due` requirements that must be resolved.
|
|
1191
1060
|
*/
|
|
1192
1061
|
errors: Array<FutureRequirements.Error> | null;
|
|
1193
1062
|
|
|
@@ -1197,12 +1066,12 @@ declare module 'stripe' {
|
|
|
1197
1066
|
eventually_due: Array<string> | null;
|
|
1198
1067
|
|
|
1199
1068
|
/**
|
|
1200
|
-
* Fields that
|
|
1069
|
+
* Fields that haven't been resolved by `requirements.current_deadline`. These fields need to be resolved to enable the capability on the account. `future_requirements.past_due` is a subset of `requirements.past_due`.
|
|
1201
1070
|
*/
|
|
1202
1071
|
past_due: Array<string> | null;
|
|
1203
1072
|
|
|
1204
1073
|
/**
|
|
1205
|
-
* Fields that might become required depending on the results of
|
|
1074
|
+
* Fields that are being reviewed, or might become required depending on the results of a review. If the review fails, these fields can move to `eventually_due`, `currently_due`, `past_due` or `alternatives`. Fields might appear in `eventually_due`, `currently_due`, `past_due` or `alternatives` and in `pending_verification` if one verification fails but another is still pending.
|
|
1206
1075
|
*/
|
|
1207
1076
|
pending_verification: Array<string> | null;
|
|
1208
1077
|
}
|
|
@@ -1210,12 +1079,12 @@ declare module 'stripe' {
|
|
|
1210
1079
|
namespace FutureRequirements {
|
|
1211
1080
|
interface Alternative {
|
|
1212
1081
|
/**
|
|
1213
|
-
* Fields that can be provided to
|
|
1082
|
+
* Fields that can be provided to resolve all fields in `original_fields_due`.
|
|
1214
1083
|
*/
|
|
1215
1084
|
alternative_fields_due: Array<string>;
|
|
1216
1085
|
|
|
1217
1086
|
/**
|
|
1218
|
-
* Fields that are due and can be
|
|
1087
|
+
* Fields that are due and can be resolved by providing all fields in `alternative_fields_due`.
|
|
1219
1088
|
*/
|
|
1220
1089
|
original_fields_due: Array<string>;
|
|
1221
1090
|
}
|
|
@@ -1300,7 +1169,6 @@ declare module 'stripe' {
|
|
|
1300
1169
|
| 'invalid_url_website_other'
|
|
1301
1170
|
| 'invalid_value_other'
|
|
1302
1171
|
| 'unsupported_business_type'
|
|
1303
|
-
| 'verification_data_not_found'
|
|
1304
1172
|
| 'verification_directors_mismatch'
|
|
1305
1173
|
| 'verification_document_address_mismatch'
|
|
1306
1174
|
| 'verification_document_address_missing'
|
|
@@ -1359,14 +1227,14 @@ declare module 'stripe' {
|
|
|
1359
1227
|
|
|
1360
1228
|
interface Groups {
|
|
1361
1229
|
/**
|
|
1362
|
-
* 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/
|
|
1230
|
+
* 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.
|
|
1363
1231
|
*/
|
|
1364
1232
|
payments_pricing: string | null;
|
|
1365
1233
|
}
|
|
1366
1234
|
|
|
1367
1235
|
interface Requirements {
|
|
1368
1236
|
/**
|
|
1369
|
-
* Fields that are due and can be
|
|
1237
|
+
* Fields that are due and can be resolved by providing the corresponding alternative fields instead. Many alternatives can list the same `original_fields_due`, and any of these alternatives can serve as a pathway for attempting to resolve the fields again. Re-providing `original_fields_due` also serves as a pathway for attempting to resolve the fields again.
|
|
1370
1238
|
*/
|
|
1371
1239
|
alternatives: Array<Requirements.Alternative> | null;
|
|
1372
1240
|
|
|
@@ -1376,17 +1244,17 @@ declare module 'stripe' {
|
|
|
1376
1244
|
current_deadline: number | null;
|
|
1377
1245
|
|
|
1378
1246
|
/**
|
|
1379
|
-
* Fields that need to be
|
|
1247
|
+
* Fields that need to be resolved to keep the account enabled. If not resolved by `current_deadline`, these fields will appear in `past_due` as well, and the account is disabled.
|
|
1380
1248
|
*/
|
|
1381
1249
|
currently_due: Array<string> | null;
|
|
1382
1250
|
|
|
1383
1251
|
/**
|
|
1384
|
-
* If the account is disabled, this enum describes why. [Learn more about handling verification issues](https://stripe.com/
|
|
1252
|
+
* If the account is disabled, this enum describes why. [Learn more about handling verification issues](https://docs.stripe.com/connect/handling-api-verification).
|
|
1385
1253
|
*/
|
|
1386
1254
|
disabled_reason: Requirements.DisabledReason | null;
|
|
1387
1255
|
|
|
1388
1256
|
/**
|
|
1389
|
-
*
|
|
1257
|
+
* Details about validation and verification failures for `due` requirements that must be resolved.
|
|
1390
1258
|
*/
|
|
1391
1259
|
errors: Array<Requirements.Error> | null;
|
|
1392
1260
|
|
|
@@ -1396,12 +1264,12 @@ declare module 'stripe' {
|
|
|
1396
1264
|
eventually_due: Array<string> | null;
|
|
1397
1265
|
|
|
1398
1266
|
/**
|
|
1399
|
-
* Fields that
|
|
1267
|
+
* Fields that haven't been resolved by `current_deadline`. These fields need to be resolved to enable the account.
|
|
1400
1268
|
*/
|
|
1401
1269
|
past_due: Array<string> | null;
|
|
1402
1270
|
|
|
1403
1271
|
/**
|
|
1404
|
-
* Fields that might become required depending on the results of
|
|
1272
|
+
* Fields that are being reviewed, or might become required depending on the results of a review. If the review fails, these fields can move to `eventually_due`, `currently_due`, `past_due` or `alternatives`. Fields might appear in `eventually_due`, `currently_due`, `past_due` or `alternatives` and in `pending_verification` if one verification fails but another is still pending.
|
|
1405
1273
|
*/
|
|
1406
1274
|
pending_verification: Array<string> | null;
|
|
1407
1275
|
}
|
|
@@ -1409,12 +1277,12 @@ declare module 'stripe' {
|
|
|
1409
1277
|
namespace Requirements {
|
|
1410
1278
|
interface Alternative {
|
|
1411
1279
|
/**
|
|
1412
|
-
* Fields that can be provided to
|
|
1280
|
+
* Fields that can be provided to resolve all fields in `original_fields_due`.
|
|
1413
1281
|
*/
|
|
1414
1282
|
alternative_fields_due: Array<string>;
|
|
1415
1283
|
|
|
1416
1284
|
/**
|
|
1417
|
-
* Fields that are due and can be
|
|
1285
|
+
* Fields that are due and can be resolved by providing all fields in `alternative_fields_due`.
|
|
1418
1286
|
*/
|
|
1419
1287
|
original_fields_due: Array<string>;
|
|
1420
1288
|
}
|
|
@@ -1499,7 +1367,6 @@ declare module 'stripe' {
|
|
|
1499
1367
|
| 'invalid_url_website_other'
|
|
1500
1368
|
| 'invalid_value_other'
|
|
1501
1369
|
| 'unsupported_business_type'
|
|
1502
|
-
| 'verification_data_not_found'
|
|
1503
1370
|
| 'verification_directors_mismatch'
|
|
1504
1371
|
| 'verification_document_address_mismatch'
|
|
1505
1372
|
| 'verification_document_address_missing'
|
|
@@ -1556,52 +1423,11 @@ declare module 'stripe' {
|
|
|
1556
1423
|
}
|
|
1557
1424
|
}
|
|
1558
1425
|
|
|
1559
|
-
interface RiskControls {
|
|
1560
|
-
charges: RiskControls.Charges;
|
|
1561
|
-
|
|
1562
|
-
payouts: RiskControls.Payouts;
|
|
1563
|
-
|
|
1564
|
-
/**
|
|
1565
|
-
* Represents the rejected reason of the account. Empty if account is not rejected, or rejected by Stripe. Please see [this page for more details](https://stripe.com/docs/connect/)
|
|
1566
|
-
*/
|
|
1567
|
-
rejected_reason?: RiskControls.RejectedReason | null;
|
|
1568
|
-
}
|
|
1569
|
-
|
|
1570
|
-
namespace RiskControls {
|
|
1571
|
-
interface Charges {
|
|
1572
|
-
/**
|
|
1573
|
-
* Whether a pause of the risk control has been requested.
|
|
1574
|
-
*/
|
|
1575
|
-
pause_requested: boolean;
|
|
1576
|
-
}
|
|
1577
|
-
|
|
1578
|
-
interface Payouts {
|
|
1579
|
-
/**
|
|
1580
|
-
* Whether a pause of the risk control has been requested.
|
|
1581
|
-
*/
|
|
1582
|
-
pause_requested: boolean;
|
|
1583
|
-
}
|
|
1584
|
-
|
|
1585
|
-
type RejectedReason =
|
|
1586
|
-
| 'credit'
|
|
1587
|
-
| 'fraud'
|
|
1588
|
-
| 'fraud_no_intent_to_fulfill'
|
|
1589
|
-
| 'fraud_other'
|
|
1590
|
-
| 'fraud_payment_method_casher'
|
|
1591
|
-
| 'fraud_payment_method_tester'
|
|
1592
|
-
| 'other'
|
|
1593
|
-
| 'terms_of_service';
|
|
1594
|
-
}
|
|
1595
|
-
|
|
1596
1426
|
interface Settings {
|
|
1597
1427
|
bacs_debit_payments?: Settings.BacsDebitPayments;
|
|
1598
1428
|
|
|
1599
|
-
bank_bca_onboarding?: Settings.BankBcaOnboarding;
|
|
1600
|
-
|
|
1601
1429
|
branding: Settings.Branding;
|
|
1602
1430
|
|
|
1603
|
-
capital?: Settings.Capital;
|
|
1604
|
-
|
|
1605
1431
|
card_issuing?: Settings.CardIssuing;
|
|
1606
1432
|
|
|
1607
1433
|
card_payments: Settings.CardPayments;
|
|
@@ -1614,12 +1440,8 @@ declare module 'stripe' {
|
|
|
1614
1440
|
|
|
1615
1441
|
payouts?: Settings.Payouts;
|
|
1616
1442
|
|
|
1617
|
-
paypay_payments?: Settings.PaypayPayments;
|
|
1618
|
-
|
|
1619
1443
|
sepa_debit_payments?: Settings.SepaDebitPayments;
|
|
1620
1444
|
|
|
1621
|
-
tax_forms?: Settings.TaxForms;
|
|
1622
|
-
|
|
1623
1445
|
treasury?: Settings.Treasury;
|
|
1624
1446
|
}
|
|
1625
1447
|
|
|
@@ -1636,18 +1458,6 @@ declare module 'stripe' {
|
|
|
1636
1458
|
service_user_number: string | null;
|
|
1637
1459
|
}
|
|
1638
1460
|
|
|
1639
|
-
interface BankBcaOnboarding {
|
|
1640
|
-
/**
|
|
1641
|
-
* Bank BCA business account holder name.
|
|
1642
|
-
*/
|
|
1643
|
-
account_holder_name?: string;
|
|
1644
|
-
|
|
1645
|
-
/**
|
|
1646
|
-
* Bank BCA business account number.
|
|
1647
|
-
*/
|
|
1648
|
-
business_account_number?: string;
|
|
1649
|
-
}
|
|
1650
|
-
|
|
1651
1461
|
interface Branding {
|
|
1652
1462
|
/**
|
|
1653
1463
|
* (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.
|
|
@@ -1670,22 +1480,6 @@ declare module 'stripe' {
|
|
|
1670
1480
|
secondary_color: string | null;
|
|
1671
1481
|
}
|
|
1672
1482
|
|
|
1673
|
-
interface Capital {
|
|
1674
|
-
/**
|
|
1675
|
-
* Per-currency mapping of user-selected destination accounts used to pay out loans.
|
|
1676
|
-
*/
|
|
1677
|
-
payout_destination?: {
|
|
1678
|
-
[key: string]: string;
|
|
1679
|
-
};
|
|
1680
|
-
|
|
1681
|
-
/**
|
|
1682
|
-
* Per-currency mapping of all destination accounts eligible to receive loan payouts.
|
|
1683
|
-
*/
|
|
1684
|
-
payout_destination_selector?: {
|
|
1685
|
-
[key: string]: Array<string>;
|
|
1686
|
-
};
|
|
1687
|
-
}
|
|
1688
|
-
|
|
1689
1483
|
interface CardIssuing {
|
|
1690
1484
|
tos_acceptance?: CardIssuing.TosAcceptance;
|
|
1691
1485
|
}
|
|
@@ -1854,17 +1648,6 @@ declare module 'stripe' {
|
|
|
1854
1648
|
}
|
|
1855
1649
|
}
|
|
1856
1650
|
|
|
1857
|
-
interface PaypayPayments {
|
|
1858
|
-
/**
|
|
1859
|
-
* Whether your business sells digital content or not.
|
|
1860
|
-
*/
|
|
1861
|
-
goods_type?: PaypayPayments.GoodsType;
|
|
1862
|
-
}
|
|
1863
|
-
|
|
1864
|
-
namespace PaypayPayments {
|
|
1865
|
-
type GoodsType = 'digital_content' | 'other';
|
|
1866
|
-
}
|
|
1867
|
-
|
|
1868
1651
|
interface SepaDebitPayments {
|
|
1869
1652
|
/**
|
|
1870
1653
|
* SEPA creditor identifier that identifies the company making the payment.
|
|
@@ -1872,13 +1655,6 @@ declare module 'stripe' {
|
|
|
1872
1655
|
creditor_id?: string;
|
|
1873
1656
|
}
|
|
1874
1657
|
|
|
1875
|
-
interface TaxForms {
|
|
1876
|
-
/**
|
|
1877
|
-
* Whether the account opted out of receiving their tax forms by postal delivery.
|
|
1878
|
-
*/
|
|
1879
|
-
consented_to_paperless_delivery: boolean;
|
|
1880
|
-
}
|
|
1881
|
-
|
|
1882
1658
|
interface Treasury {
|
|
1883
1659
|
tos_acceptance?: Treasury.TosAcceptance;
|
|
1884
1660
|
}
|