stripe 19.1.0-beta.1 → 19.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +21 -1433
- package/OPENAPI_VERSION +1 -1
- package/README.md +2 -3
- 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 -13
- 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 +8 -110
- package/cjs/stripe.core.js +9 -8
- 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 -13
- 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 -95
- package/esm/stripe.core.js +9 -8
- package/package.json +1 -1
- package/types/AccountLinksResource.d.ts +1 -5
- package/types/AccountSessions.d.ts +0 -45
- package/types/AccountSessionsResource.d.ts +0 -264
- package/types/Accounts.d.ts +1 -212
- package/types/AccountsResource.d.ts +0 -544
- package/types/Billing/AlertTriggereds.d.ts +1 -1
- package/types/Billing/CreditBalanceSummary.d.ts +0 -5
- package/types/Billing/CreditBalanceSummaryResource.d.ts +3 -8
- package/types/Billing/CreditBalanceTransactionsResource.d.ts +4 -12
- package/types/Billing/CreditGrants.d.ts +0 -5
- package/types/Billing/CreditGrantsResource.d.ts +1 -11
- package/types/BillingPortal/Sessions.d.ts +0 -5
- package/types/BillingPortal/SessionsResource.d.ts +4 -12
- package/types/Cards.d.ts +0 -5
- package/types/CashBalances.d.ts +0 -5
- package/types/Charges.d.ts +0 -171
- package/types/ChargesResource.d.ts +0 -1406
- package/types/Checkout/Sessions.d.ts +2 -369
- package/types/Checkout/SessionsResource.d.ts +2 -634
- package/types/ConfirmationTokens.d.ts +0 -125
- package/types/Coupons.d.ts +0 -33
- package/types/CouponsResource.d.ts +0 -21
- package/types/CreditNoteLineItems.d.ts +0 -17
- package/types/CreditNotes.d.ts +0 -5
- package/types/CreditNotesResource.d.ts +0 -5
- package/types/CustomerBalanceTransactions.d.ts +0 -2
- package/types/CustomerCashBalanceTransactions.d.ts +0 -2
- package/types/CustomerSessions.d.ts +0 -5
- package/types/CustomerSessionsResource.d.ts +1 -6
- package/types/Customers.d.ts +0 -2
- package/types/CustomersResource.d.ts +0 -8
- package/types/Discounts.d.ts +0 -10
- package/types/Disputes.d.ts +0 -40
- package/types/DisputesResource.d.ts +0 -11
- package/types/Errors.d.ts +0 -85
- package/types/EventTypes.d.ts +0 -664
- package/types/Events.d.ts +0 -97
- package/types/FinancialConnections/Accounts.d.ts +1 -36
- package/types/FinancialConnections/AccountsResource.d.ts +3 -40
- package/types/FinancialConnections/Sessions.d.ts +1 -51
- package/types/FinancialConnections/SessionsResource.d.ts +1 -43
- package/types/Identity/VerificationSessions.d.ts +0 -5
- package/types/Identity/VerificationSessionsResource.d.ts +0 -7
- package/types/InvoiceItems.d.ts +0 -10
- package/types/InvoiceItemsResource.d.ts +6 -117
- package/types/InvoiceLineItems.d.ts +1 -45
- package/types/InvoicePayments.d.ts +0 -5
- package/types/InvoicePaymentsResource.d.ts +1 -10
- package/types/Invoices.d.ts +4 -204
- package/types/InvoicesResource.d.ts +22 -1647
- package/types/Issuing/CardholdersResource.d.ts +1 -2
- package/types/Issuing/Transactions.d.ts +0 -5
- package/types/Issuing/TransactionsResource.d.ts +0 -5
- package/types/LineItems.d.ts +0 -49
- package/types/Mandates.d.ts +1 -135
- package/types/MandatesResource.d.ts +0 -31
- package/types/PaymentIntents.d.ts +3 -825
- package/types/PaymentIntentsResource.d.ts +5597 -11436
- package/types/PaymentLinks.d.ts +0 -7
- package/types/PaymentLinksResource.d.ts +0 -14
- package/types/PaymentMethodConfigurations.d.ts +0 -216
- package/types/PaymentMethodConfigurationsResource.d.ts +0 -300
- package/types/PaymentMethods.d.ts +0 -130
- package/types/PaymentMethodsResource.d.ts +2 -167
- package/types/Prices.d.ts +0 -22
- package/types/PricesResource.d.ts +0 -22
- package/types/PromotionCodes.d.ts +0 -5
- package/types/PromotionCodesResource.d.ts +0 -10
- package/types/Quotes.d.ts +1 -594
- package/types/QuotesResource.d.ts +290 -2635
- package/types/Refunds.d.ts +0 -14
- package/types/SetupAttempts.d.ts +1 -51
- package/types/SetupIntents.d.ts +2 -210
- package/types/SetupIntentsResource.d.ts +3 -937
- package/types/Sources.d.ts +0 -29
- package/types/SubscriptionItems.d.ts +0 -26
- package/types/SubscriptionItemsResource.d.ts +0 -109
- package/types/SubscriptionSchedules.d.ts +0 -205
- package/types/SubscriptionSchedulesResource.d.ts +4 -1232
- package/types/Subscriptions.d.ts +1 -263
- package/types/SubscriptionsResource.d.ts +8 -747
- package/types/TaxIds.d.ts +0 -10
- package/types/TaxIdsResource.d.ts +0 -10
- package/types/Terminal/Configurations.d.ts +0 -9
- package/types/Terminal/ConfigurationsResource.d.ts +0 -28
- package/types/Terminal/Readers.d.ts +0 -20
- package/types/TestHelpers/ConfirmationTokensResource.d.ts +0 -126
- package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +0 -26
- package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +0 -26
- package/types/Transfers.d.ts +0 -5
- package/types/TransfersResource.d.ts +0 -5
- package/types/Treasury/FinancialAccountFeatures.d.ts +0 -7
- package/types/Treasury/FinancialAccounts.d.ts +0 -5
- package/types/Treasury/FinancialAccountsResource.d.ts +0 -37
- package/types/Treasury/OutboundTransfers.d.ts +0 -26
- package/types/Treasury/OutboundTransfersResource.d.ts +0 -26
- package/types/Treasury/ReceivedCredits.d.ts +0 -26
- package/types/Treasury/ReceivedDebits.d.ts +0 -31
- package/types/V2/Core/EventTypes.d.ts +10 -1647
- package/types/V2/EventMisc.d.ts +8 -0
- package/types/WebhookEndpointsResource.d.ts +0 -78
- package/types/apiVersion.d.ts +2 -1
- package/types/index.d.ts +0 -160
- package/types/lib.d.ts +0 -10
- package/types/test/typescriptTest.ts +7 -0
- 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/PaymentAttemptRecords.js +0 -17
- package/cjs/resources/PaymentRecords.js +0 -33
- package/cjs/resources/Privacy/RedactionJobs.js +0 -42
- package/cjs/resources/Tax/Associations.js +0 -9
- package/cjs/resources/Tax/Forms.js +0 -20
- package/cjs/resources/Terminal/OnboardingLinks.js +0 -12
- 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/AccountLinks.js +0 -9
- package/cjs/resources/V2/Core/Accounts/Persons.js +0 -29
- package/cjs/resources/V2/Core/Accounts.js +0 -25
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.js +0 -28
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.js +0 -24
- package/cjs/resources/V2/MoneyManagement/Adjustments.js +0 -17
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +0 -25
- 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/Payments/OffSessionPayments.js +0 -29
- 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/PaymentAttemptRecords.js +0 -14
- package/esm/resources/PaymentRecords.js +0 -30
- package/esm/resources/Privacy/RedactionJobs.js +0 -39
- package/esm/resources/Tax/Associations.js +0 -6
- package/esm/resources/Tax/Forms.js +0 -17
- package/esm/resources/Terminal/OnboardingLinks.js +0 -9
- 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/AccountLinks.js +0 -6
- package/esm/resources/V2/Core/Accounts/Persons.js +0 -26
- package/esm/resources/V2/Core/Accounts.js +0 -22
- package/esm/resources/V2/Core/Vault/GbBankAccounts.js +0 -25
- package/esm/resources/V2/Core/Vault/UsBankAccounts.js +0 -21
- package/esm/resources/V2/MoneyManagement/Adjustments.js +0 -14
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +0 -22
- 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/Payments/OffSessionPayments.js +0 -26
- 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 -3139
- package/types/PaymentAttemptRecords.d.ts +0 -2360
- package/types/PaymentAttemptRecordsResource.d.ts +0 -52
- package/types/PaymentIntentAmountDetailsLineItems.d.ts +0 -116
- package/types/PaymentRecords.d.ts +0 -2353
- package/types/PaymentRecordsResource.d.ts +0 -559
- 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 -1770
- package/types/QuotePreviewSubscriptionSchedules.d.ts +0 -908
- package/types/Tax/Associations.d.ts +0 -82
- package/types/Tax/AssociationsResource.d.ts +0 -29
- package/types/Tax/Forms.d.ts +0 -220
- package/types/Tax/FormsResource.d.ts +0 -107
- package/types/Terminal/OnboardingLinks.d.ts +0 -57
- package/types/Terminal/OnboardingLinksResource.d.ts +0 -62
- 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 -686
- package/types/V2/Billing/CadencesResource.d.ts +0 -487
- package/types/V2/Billing/CollectionSettingVersions.d.ts +0 -314
- package/types/V2/Billing/CollectionSettings/VersionsResource.d.ts +0 -62
- package/types/V2/Billing/CollectionSettings.d.ts +0 -337
- package/types/V2/Billing/CollectionSettingsResource.d.ts +0 -675
- package/types/V2/Billing/Profiles.d.ts +0 -70
- package/types/V2/Billing/ProfilesResource.d.ts +0 -150
- package/types/V2/Core/AccountLinks.d.ts +0 -168
- package/types/V2/Core/AccountLinksResource.d.ts +0 -152
- package/types/V2/Core/AccountPersons.d.ts +0 -615
- package/types/V2/Core/Accounts/PersonsResource.d.ts +0 -1153
- package/types/V2/Core/Accounts.d.ts +0 -5919
- package/types/V2/Core/AccountsResource.d.ts +0 -4999
- package/types/V2/Core/Vault/GbBankAccounts.d.ts +0 -160
- package/types/V2/Core/Vault/GbBankAccountsResource.d.ts +0 -172
- package/types/V2/Core/Vault/UsBankAccounts.d.ts +0 -70
- package/types/V2/Core/Vault/UsBankAccountsResource.d.ts +0 -123
- 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 -147
- package/types/V2/MoneyManagement/FinancialAddresses.d.ts +0 -178
- package/types/V2/MoneyManagement/FinancialAddressesResource.d.ts +0 -112
- package/types/V2/MoneyManagement/InboundTransfers.d.ts +0 -206
- 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/Payments/OffSessionPayments.d.ts +0 -326
- package/types/V2/Payments/OffSessionPaymentsResource.d.ts +0 -401
- package/types/V2/TestHelpers/FinancialAddressesResource.d.ts +0 -68
|
@@ -31,41 +31,11 @@ declare module 'stripe' {
|
|
|
31
31
|
*/
|
|
32
32
|
account_onboarding?: Components.AccountOnboarding;
|
|
33
33
|
|
|
34
|
-
/**
|
|
35
|
-
* Configuration for the [app install](https://docs.stripe.com/connect/supported-embedded-components/app-install/) embedded component.
|
|
36
|
-
*/
|
|
37
|
-
app_install?: Components.AppInstall;
|
|
38
|
-
|
|
39
|
-
/**
|
|
40
|
-
* Configuration for the [app viewport](https://docs.stripe.com/connect/supported-embedded-components/app-viewport/) embedded component.
|
|
41
|
-
*/
|
|
42
|
-
app_viewport?: Components.AppViewport;
|
|
43
|
-
|
|
44
34
|
/**
|
|
45
35
|
* Configuration for the [balances](https://docs.stripe.com/connect/supported-embedded-components/balances/) embedded component.
|
|
46
36
|
*/
|
|
47
37
|
balances?: Components.Balances;
|
|
48
38
|
|
|
49
|
-
/**
|
|
50
|
-
* Configuration for the [Capital financing](https://docs.stripe.com/connect/supported-embedded-components/capital-financing/) embedded component.
|
|
51
|
-
*/
|
|
52
|
-
capital_financing?: Components.CapitalFinancing;
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* Configuration for the [Capital financing application](https://docs.stripe.com/connect/supported-embedded-components/capital-financing-application/) embedded component.
|
|
56
|
-
*/
|
|
57
|
-
capital_financing_application?: Components.CapitalFinancingApplication;
|
|
58
|
-
|
|
59
|
-
/**
|
|
60
|
-
* Configuration for the [Capital financing promotion](https://docs.stripe.com/connect/supported-embedded-components/capital-financing-promotion/) embedded component.
|
|
61
|
-
*/
|
|
62
|
-
capital_financing_promotion?: Components.CapitalFinancingPromotion;
|
|
63
|
-
|
|
64
|
-
/**
|
|
65
|
-
* Configuration for the [Capital overview](https://docs.stripe.com/connect/supported-embedded-components/capital-overview/) embedded component.
|
|
66
|
-
*/
|
|
67
|
-
capital_overview?: Components.CapitalOverview;
|
|
68
|
-
|
|
69
39
|
/**
|
|
70
40
|
* Configuration for the [disputes list](https://docs.stripe.com/connect/supported-embedded-components/disputes-list/) embedded component.
|
|
71
41
|
*/
|
|
@@ -76,11 +46,6 @@ declare module 'stripe' {
|
|
|
76
46
|
*/
|
|
77
47
|
documents?: Components.Documents;
|
|
78
48
|
|
|
79
|
-
/**
|
|
80
|
-
* Configuration for the [export tax transactions](https://docs.stripe.com/connect/supported-embedded-components/export-tax-transactions/) embedded component.
|
|
81
|
-
*/
|
|
82
|
-
export_tax_transactions?: Components.ExportTaxTransactions;
|
|
83
|
-
|
|
84
49
|
/**
|
|
85
50
|
* Configuration for the [financial account](https://docs.stripe.com/connect/supported-embedded-components/financial-account/) embedded component.
|
|
86
51
|
*/
|
|
@@ -121,11 +86,6 @@ declare module 'stripe' {
|
|
|
121
86
|
*/
|
|
122
87
|
payment_disputes?: Components.PaymentDisputes;
|
|
123
88
|
|
|
124
|
-
/**
|
|
125
|
-
* Configuration for the [payment method settings](https://docs.stripe.com/connect/supported-embedded-components/payment-method-settings/) embedded component.
|
|
126
|
-
*/
|
|
127
|
-
payment_method_settings?: Components.PaymentMethodSettings;
|
|
128
|
-
|
|
129
89
|
/**
|
|
130
90
|
* Configuration for the [payments](https://docs.stripe.com/connect/supported-embedded-components/payments/) embedded component.
|
|
131
91
|
*/
|
|
@@ -146,21 +106,6 @@ declare module 'stripe' {
|
|
|
146
106
|
*/
|
|
147
107
|
payouts_list?: Components.PayoutsList;
|
|
148
108
|
|
|
149
|
-
/**
|
|
150
|
-
* Configuration for the [product tax code selector](https://docs.stripe.com/connect/supported-embedded-components/product-tax-code-selector/) embedded component.
|
|
151
|
-
*/
|
|
152
|
-
product_tax_code_selector?: Components.ProductTaxCodeSelector;
|
|
153
|
-
|
|
154
|
-
/**
|
|
155
|
-
* Configuration for the [recipients](https://docs.stripe.com/connect/supported-embedded-components/recipients/) embedded component.
|
|
156
|
-
*/
|
|
157
|
-
recipients?: Components.Recipients;
|
|
158
|
-
|
|
159
|
-
/**
|
|
160
|
-
* Configuration for the [reporting chart](https://docs.stripe.com/connect/supported-embedded-components/reporting-chart/) embedded component.
|
|
161
|
-
*/
|
|
162
|
-
reporting_chart?: Components.ReportingChart;
|
|
163
|
-
|
|
164
109
|
/**
|
|
165
110
|
* Configuration for the [tax registrations](https://docs.stripe.com/connect/supported-embedded-components/tax-registrations/) embedded component.
|
|
166
111
|
*/
|
|
@@ -170,11 +115,6 @@ declare module 'stripe' {
|
|
|
170
115
|
* Configuration for the [tax settings](https://docs.stripe.com/connect/supported-embedded-components/tax-settings/) embedded component.
|
|
171
116
|
*/
|
|
172
117
|
tax_settings?: Components.TaxSettings;
|
|
173
|
-
|
|
174
|
-
/**
|
|
175
|
-
* Configuration for the [tax threshold monitoring](https://docs.stripe.com/connect/supported-embedded-components/tax-threshold-monitoring/) embedded component.
|
|
176
|
-
*/
|
|
177
|
-
tax_threshold_monitoring?: Components.TaxThresholdMonitoring;
|
|
178
118
|
}
|
|
179
119
|
|
|
180
120
|
namespace Components {
|
|
@@ -230,48 +170,6 @@ declare module 'stripe' {
|
|
|
230
170
|
}
|
|
231
171
|
}
|
|
232
172
|
|
|
233
|
-
interface AppInstall {
|
|
234
|
-
/**
|
|
235
|
-
* Whether the embedded component is enabled.
|
|
236
|
-
*/
|
|
237
|
-
enabled: boolean;
|
|
238
|
-
|
|
239
|
-
/**
|
|
240
|
-
* The list of features enabled in the embedded component.
|
|
241
|
-
*/
|
|
242
|
-
features?: AppInstall.Features;
|
|
243
|
-
}
|
|
244
|
-
|
|
245
|
-
namespace AppInstall {
|
|
246
|
-
interface Features {
|
|
247
|
-
/**
|
|
248
|
-
* The list of apps allowed to be enabled in the embedded component.
|
|
249
|
-
*/
|
|
250
|
-
allowed_apps?: Stripe.Emptyable<Array<string>>;
|
|
251
|
-
}
|
|
252
|
-
}
|
|
253
|
-
|
|
254
|
-
interface AppViewport {
|
|
255
|
-
/**
|
|
256
|
-
* Whether the embedded component is enabled.
|
|
257
|
-
*/
|
|
258
|
-
enabled: boolean;
|
|
259
|
-
|
|
260
|
-
/**
|
|
261
|
-
* The list of features enabled in the embedded component.
|
|
262
|
-
*/
|
|
263
|
-
features?: AppViewport.Features;
|
|
264
|
-
}
|
|
265
|
-
|
|
266
|
-
namespace AppViewport {
|
|
267
|
-
interface Features {
|
|
268
|
-
/**
|
|
269
|
-
* The list of apps allowed to be enabled in the embedded component.
|
|
270
|
-
*/
|
|
271
|
-
allowed_apps?: Stripe.Emptyable<Array<string>>;
|
|
272
|
-
}
|
|
273
|
-
}
|
|
274
|
-
|
|
275
173
|
interface Balances {
|
|
276
174
|
/**
|
|
277
175
|
* Whether the embedded component is enabled.
|
|
@@ -313,70 +211,6 @@ declare module 'stripe' {
|
|
|
313
211
|
}
|
|
314
212
|
}
|
|
315
213
|
|
|
316
|
-
interface CapitalFinancing {
|
|
317
|
-
/**
|
|
318
|
-
* Whether the embedded component is enabled.
|
|
319
|
-
*/
|
|
320
|
-
enabled: boolean;
|
|
321
|
-
|
|
322
|
-
/**
|
|
323
|
-
* An empty list, because this embedded component has no features.
|
|
324
|
-
*/
|
|
325
|
-
features?: CapitalFinancing.Features;
|
|
326
|
-
}
|
|
327
|
-
|
|
328
|
-
namespace CapitalFinancing {
|
|
329
|
-
interface Features {}
|
|
330
|
-
}
|
|
331
|
-
|
|
332
|
-
interface CapitalFinancingApplication {
|
|
333
|
-
/**
|
|
334
|
-
* Whether the embedded component is enabled.
|
|
335
|
-
*/
|
|
336
|
-
enabled: boolean;
|
|
337
|
-
|
|
338
|
-
/**
|
|
339
|
-
* An empty list, because this embedded component has no features.
|
|
340
|
-
*/
|
|
341
|
-
features?: CapitalFinancingApplication.Features;
|
|
342
|
-
}
|
|
343
|
-
|
|
344
|
-
namespace CapitalFinancingApplication {
|
|
345
|
-
interface Features {}
|
|
346
|
-
}
|
|
347
|
-
|
|
348
|
-
interface CapitalFinancingPromotion {
|
|
349
|
-
/**
|
|
350
|
-
* Whether the embedded component is enabled.
|
|
351
|
-
*/
|
|
352
|
-
enabled: boolean;
|
|
353
|
-
|
|
354
|
-
/**
|
|
355
|
-
* An empty list, because this embedded component has no features.
|
|
356
|
-
*/
|
|
357
|
-
features?: CapitalFinancingPromotion.Features;
|
|
358
|
-
}
|
|
359
|
-
|
|
360
|
-
namespace CapitalFinancingPromotion {
|
|
361
|
-
interface Features {}
|
|
362
|
-
}
|
|
363
|
-
|
|
364
|
-
interface CapitalOverview {
|
|
365
|
-
/**
|
|
366
|
-
* Whether the embedded component is enabled.
|
|
367
|
-
*/
|
|
368
|
-
enabled: boolean;
|
|
369
|
-
|
|
370
|
-
/**
|
|
371
|
-
* An empty list, because this embedded component has no features.
|
|
372
|
-
*/
|
|
373
|
-
features?: CapitalOverview.Features;
|
|
374
|
-
}
|
|
375
|
-
|
|
376
|
-
namespace CapitalOverview {
|
|
377
|
-
interface Features {}
|
|
378
|
-
}
|
|
379
|
-
|
|
380
214
|
interface DisputesList {
|
|
381
215
|
/**
|
|
382
216
|
* Whether the embedded component is enabled.
|
|
@@ -429,22 +263,6 @@ declare module 'stripe' {
|
|
|
429
263
|
interface Features {}
|
|
430
264
|
}
|
|
431
265
|
|
|
432
|
-
interface ExportTaxTransactions {
|
|
433
|
-
/**
|
|
434
|
-
* Whether the embedded component is enabled.
|
|
435
|
-
*/
|
|
436
|
-
enabled: boolean;
|
|
437
|
-
|
|
438
|
-
/**
|
|
439
|
-
* An empty list, because this embedded component has no features.
|
|
440
|
-
*/
|
|
441
|
-
features?: ExportTaxTransactions.Features;
|
|
442
|
-
}
|
|
443
|
-
|
|
444
|
-
namespace ExportTaxTransactions {
|
|
445
|
-
interface Features {}
|
|
446
|
-
}
|
|
447
|
-
|
|
448
266
|
interface FinancialAccount {
|
|
449
267
|
/**
|
|
450
268
|
* Whether the embedded component is enabled.
|
|
@@ -703,22 +521,6 @@ declare module 'stripe' {
|
|
|
703
521
|
}
|
|
704
522
|
}
|
|
705
523
|
|
|
706
|
-
interface PaymentMethodSettings {
|
|
707
|
-
/**
|
|
708
|
-
* Whether the embedded component is enabled.
|
|
709
|
-
*/
|
|
710
|
-
enabled: boolean;
|
|
711
|
-
|
|
712
|
-
/**
|
|
713
|
-
* An empty list, because this embedded component has no features.
|
|
714
|
-
*/
|
|
715
|
-
features?: PaymentMethodSettings.Features;
|
|
716
|
-
}
|
|
717
|
-
|
|
718
|
-
namespace PaymentMethodSettings {
|
|
719
|
-
interface Features {}
|
|
720
|
-
}
|
|
721
|
-
|
|
722
524
|
interface Payments {
|
|
723
525
|
/**
|
|
724
526
|
* Whether the embedded component is enabled.
|
|
@@ -828,56 +630,6 @@ declare module 'stripe' {
|
|
|
828
630
|
interface Features {}
|
|
829
631
|
}
|
|
830
632
|
|
|
831
|
-
interface ProductTaxCodeSelector {
|
|
832
|
-
/**
|
|
833
|
-
* Whether the embedded component is enabled.
|
|
834
|
-
*/
|
|
835
|
-
enabled: boolean;
|
|
836
|
-
|
|
837
|
-
/**
|
|
838
|
-
* An empty list, because this embedded component has no features.
|
|
839
|
-
*/
|
|
840
|
-
features?: ProductTaxCodeSelector.Features;
|
|
841
|
-
}
|
|
842
|
-
|
|
843
|
-
namespace ProductTaxCodeSelector {
|
|
844
|
-
interface Features {}
|
|
845
|
-
}
|
|
846
|
-
|
|
847
|
-
interface Recipients {
|
|
848
|
-
/**
|
|
849
|
-
* Whether the embedded component is enabled.
|
|
850
|
-
*/
|
|
851
|
-
enabled: boolean;
|
|
852
|
-
|
|
853
|
-
features?: Recipients.Features;
|
|
854
|
-
}
|
|
855
|
-
|
|
856
|
-
namespace Recipients {
|
|
857
|
-
interface Features {
|
|
858
|
-
/**
|
|
859
|
-
* Whether to allow sending money.
|
|
860
|
-
*/
|
|
861
|
-
send_money?: boolean;
|
|
862
|
-
}
|
|
863
|
-
}
|
|
864
|
-
|
|
865
|
-
interface ReportingChart {
|
|
866
|
-
/**
|
|
867
|
-
* Whether the embedded component is enabled.
|
|
868
|
-
*/
|
|
869
|
-
enabled: boolean;
|
|
870
|
-
|
|
871
|
-
/**
|
|
872
|
-
* An empty list, because this embedded component has no features.
|
|
873
|
-
*/
|
|
874
|
-
features?: ReportingChart.Features;
|
|
875
|
-
}
|
|
876
|
-
|
|
877
|
-
namespace ReportingChart {
|
|
878
|
-
interface Features {}
|
|
879
|
-
}
|
|
880
|
-
|
|
881
633
|
interface TaxRegistrations {
|
|
882
634
|
/**
|
|
883
635
|
* Whether the embedded component is enabled.
|
|
@@ -909,22 +661,6 @@ declare module 'stripe' {
|
|
|
909
661
|
namespace TaxSettings {
|
|
910
662
|
interface Features {}
|
|
911
663
|
}
|
|
912
|
-
|
|
913
|
-
interface TaxThresholdMonitoring {
|
|
914
|
-
/**
|
|
915
|
-
* Whether the embedded component is enabled.
|
|
916
|
-
*/
|
|
917
|
-
enabled: boolean;
|
|
918
|
-
|
|
919
|
-
/**
|
|
920
|
-
* An empty list, because this embedded component has no features.
|
|
921
|
-
*/
|
|
922
|
-
features?: TaxThresholdMonitoring.Features;
|
|
923
|
-
}
|
|
924
|
-
|
|
925
|
-
namespace TaxThresholdMonitoring {
|
|
926
|
-
interface Features {}
|
|
927
|
-
}
|
|
928
664
|
}
|
|
929
665
|
}
|
|
930
666
|
|
package/types/Accounts.d.ts
CHANGED
|
@@ -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
|
*/
|
|
@@ -263,11 +261,6 @@ declare module 'stripe' {
|
|
|
263
261
|
*/
|
|
264
262
|
au_becs_debit_payments?: Capabilities.AuBecsDebitPayments;
|
|
265
263
|
|
|
266
|
-
/**
|
|
267
|
-
* The status of the automatic_indirect_tax capability of the account.
|
|
268
|
-
*/
|
|
269
|
-
automatic_indirect_tax?: Capabilities.AutomaticIndirectTax;
|
|
270
|
-
|
|
271
264
|
/**
|
|
272
265
|
* The status of the Bacs Direct Debits payments capability of the account, or whether the account can directly process Bacs Direct Debits charges.
|
|
273
266
|
*/
|
|
@@ -343,26 +336,11 @@ declare module 'stripe' {
|
|
|
343
336
|
*/
|
|
344
337
|
giropay_payments?: Capabilities.GiropayPayments;
|
|
345
338
|
|
|
346
|
-
/**
|
|
347
|
-
* The status of the Gopay capability of the account, or whether the account can directly process Gopay payments.
|
|
348
|
-
*/
|
|
349
|
-
gopay_payments?: Capabilities.GopayPayments;
|
|
350
|
-
|
|
351
339
|
/**
|
|
352
340
|
* The status of the GrabPay payments capability of the account, or whether the account can directly process GrabPay charges.
|
|
353
341
|
*/
|
|
354
342
|
grabpay_payments?: Capabilities.GrabpayPayments;
|
|
355
343
|
|
|
356
|
-
/**
|
|
357
|
-
* The status of the Indonesia Bank Transfer payments capability of the account, or whether the account can directly process Indonesia Bank Transfer charges.
|
|
358
|
-
*/
|
|
359
|
-
id_bank_transfer_payments?: Capabilities.IdBankTransferPayments;
|
|
360
|
-
|
|
361
|
-
/**
|
|
362
|
-
* The status of Bank BCA onboarding of the account.
|
|
363
|
-
*/
|
|
364
|
-
id_bank_transfer_payments_bca?: Capabilities.IdBankTransferPaymentsBca;
|
|
365
|
-
|
|
366
344
|
/**
|
|
367
345
|
* The status of the iDEAL payments capability of the account, or whether the account can directly process iDEAL charges.
|
|
368
346
|
*/
|
|
@@ -468,21 +446,6 @@ declare module 'stripe' {
|
|
|
468
446
|
*/
|
|
469
447
|
paynow_payments?: Capabilities.PaynowPayments;
|
|
470
448
|
|
|
471
|
-
/**
|
|
472
|
-
* The status of the PayPal payments capability of the account, or whether the account can directly process PayPal charges.
|
|
473
|
-
*/
|
|
474
|
-
paypal_payments?: Capabilities.PaypalPayments;
|
|
475
|
-
|
|
476
|
-
/**
|
|
477
|
-
* The status of the Paypay capability of the account, or whether the account can directly process Paypay payments.
|
|
478
|
-
*/
|
|
479
|
-
paypay_payments?: Capabilities.PaypayPayments;
|
|
480
|
-
|
|
481
|
-
/**
|
|
482
|
-
* The status of the PayTo capability of the account, or whether the account can directly process PayTo charges.
|
|
483
|
-
*/
|
|
484
|
-
payto_payments?: Capabilities.PaytoPayments;
|
|
485
|
-
|
|
486
449
|
/**
|
|
487
450
|
* The status of the pix payments capability of the account, or whether the account can directly process pix charges.
|
|
488
451
|
*/
|
|
@@ -493,16 +456,6 @@ declare module 'stripe' {
|
|
|
493
456
|
*/
|
|
494
457
|
promptpay_payments?: Capabilities.PromptpayPayments;
|
|
495
458
|
|
|
496
|
-
/**
|
|
497
|
-
* The status of the Qris capability of the account, or whether the account can directly process Qris payments.
|
|
498
|
-
*/
|
|
499
|
-
qris_payments?: Capabilities.QrisPayments;
|
|
500
|
-
|
|
501
|
-
/**
|
|
502
|
-
* The status of the Rechnung capability of the account, or whether the account can directly process Rechnung payments.
|
|
503
|
-
*/
|
|
504
|
-
rechnung_payments?: Capabilities.RechnungPayments;
|
|
505
|
-
|
|
506
459
|
/**
|
|
507
460
|
* The status of the RevolutPay capability of the account, or whether the account can directly process RevolutPay payments.
|
|
508
461
|
*/
|
|
@@ -528,21 +481,11 @@ declare module 'stripe' {
|
|
|
528
481
|
*/
|
|
529
482
|
sepa_debit_payments?: Capabilities.SepaDebitPayments;
|
|
530
483
|
|
|
531
|
-
/**
|
|
532
|
-
* The status of the ShopeePay capability of the account, or whether the account can directly process ShopeePay payments.
|
|
533
|
-
*/
|
|
534
|
-
shopeepay_payments?: Capabilities.ShopeepayPayments;
|
|
535
|
-
|
|
536
484
|
/**
|
|
537
485
|
* The status of the Sofort payments capability of the account, or whether the account can directly process Sofort charges.
|
|
538
486
|
*/
|
|
539
487
|
sofort_payments?: Capabilities.SofortPayments;
|
|
540
488
|
|
|
541
|
-
/**
|
|
542
|
-
* The status of the stripe_balance payments capability of the account, or whether the account can directly process stripe_balance charges.
|
|
543
|
-
*/
|
|
544
|
-
stripe_balance_payments?: Capabilities.StripeBalancePayments;
|
|
545
|
-
|
|
546
489
|
/**
|
|
547
490
|
* The status of the Swish capability of the account, or whether the account can directly process Swish payments.
|
|
548
491
|
*/
|
|
@@ -568,21 +511,6 @@ declare module 'stripe' {
|
|
|
568
511
|
*/
|
|
569
512
|
treasury?: Capabilities.Treasury;
|
|
570
513
|
|
|
571
|
-
/**
|
|
572
|
-
* The status of the treasury_evolve capability of the account.
|
|
573
|
-
*/
|
|
574
|
-
treasury_evolve?: Capabilities.TreasuryEvolve;
|
|
575
|
-
|
|
576
|
-
/**
|
|
577
|
-
* The status of the treasury_fifth_third capability of the account.
|
|
578
|
-
*/
|
|
579
|
-
treasury_fifth_third?: Capabilities.TreasuryFifthThird;
|
|
580
|
-
|
|
581
|
-
/**
|
|
582
|
-
* The status of the treasury_goldman_sachs capability of the account.
|
|
583
|
-
*/
|
|
584
|
-
treasury_goldman_sachs?: Capabilities.TreasuryGoldmanSachs;
|
|
585
|
-
|
|
586
514
|
/**
|
|
587
515
|
* The status of the TWINT capability of the account, or whether the account can directly process TWINT charges.
|
|
588
516
|
*/
|
|
@@ -617,8 +545,6 @@ declare module 'stripe' {
|
|
|
617
545
|
|
|
618
546
|
type AuBecsDebitPayments = 'active' | 'inactive' | 'pending';
|
|
619
547
|
|
|
620
|
-
type AutomaticIndirectTax = 'active' | 'inactive' | 'pending';
|
|
621
|
-
|
|
622
548
|
type BacsDebitPayments = 'active' | 'inactive' | 'pending';
|
|
623
549
|
|
|
624
550
|
type BancontactPayments = 'active' | 'inactive' | 'pending';
|
|
@@ -649,14 +575,8 @@ declare module 'stripe' {
|
|
|
649
575
|
|
|
650
576
|
type GiropayPayments = 'active' | 'inactive' | 'pending';
|
|
651
577
|
|
|
652
|
-
type GopayPayments = 'active' | 'inactive' | 'pending';
|
|
653
|
-
|
|
654
578
|
type GrabpayPayments = 'active' | 'inactive' | 'pending';
|
|
655
579
|
|
|
656
|
-
type IdBankTransferPayments = 'active' | 'inactive' | 'pending';
|
|
657
|
-
|
|
658
|
-
type IdBankTransferPaymentsBca = 'active' | 'inactive' | 'pending';
|
|
659
|
-
|
|
660
580
|
type IdealPayments = 'active' | 'inactive' | 'pending';
|
|
661
581
|
|
|
662
582
|
type IndiaInternationalPayments = 'active' | 'inactive' | 'pending';
|
|
@@ -699,20 +619,10 @@ declare module 'stripe' {
|
|
|
699
619
|
|
|
700
620
|
type PaynowPayments = 'active' | 'inactive' | 'pending';
|
|
701
621
|
|
|
702
|
-
type PaypalPayments = 'active' | 'inactive' | 'pending';
|
|
703
|
-
|
|
704
|
-
type PaypayPayments = 'active' | 'inactive' | 'pending';
|
|
705
|
-
|
|
706
|
-
type PaytoPayments = 'active' | 'inactive' | 'pending';
|
|
707
|
-
|
|
708
622
|
type PixPayments = 'active' | 'inactive' | 'pending';
|
|
709
623
|
|
|
710
624
|
type PromptpayPayments = 'active' | 'inactive' | 'pending';
|
|
711
625
|
|
|
712
|
-
type QrisPayments = 'active' | 'inactive' | 'pending';
|
|
713
|
-
|
|
714
|
-
type RechnungPayments = 'active' | 'inactive' | 'pending';
|
|
715
|
-
|
|
716
626
|
type RevolutPayPayments = 'active' | 'inactive' | 'pending';
|
|
717
627
|
|
|
718
628
|
type SamsungPayPayments = 'active' | 'inactive' | 'pending';
|
|
@@ -723,12 +633,8 @@ declare module 'stripe' {
|
|
|
723
633
|
|
|
724
634
|
type SepaDebitPayments = 'active' | 'inactive' | 'pending';
|
|
725
635
|
|
|
726
|
-
type ShopeepayPayments = 'active' | 'inactive' | 'pending';
|
|
727
|
-
|
|
728
636
|
type SofortPayments = 'active' | 'inactive' | 'pending';
|
|
729
637
|
|
|
730
|
-
type StripeBalancePayments = 'active' | 'inactive' | 'pending';
|
|
731
|
-
|
|
732
638
|
type SwishPayments = 'active' | 'inactive' | 'pending';
|
|
733
639
|
|
|
734
640
|
type TaxReportingUs1099K = 'active' | 'inactive' | 'pending';
|
|
@@ -739,12 +645,6 @@ declare module 'stripe' {
|
|
|
739
645
|
|
|
740
646
|
type Treasury = 'active' | 'inactive' | 'pending';
|
|
741
647
|
|
|
742
|
-
type TreasuryEvolve = 'active' | 'inactive' | 'pending';
|
|
743
|
-
|
|
744
|
-
type TreasuryFifthThird = 'active' | 'inactive' | 'pending';
|
|
745
|
-
|
|
746
|
-
type TreasuryGoldmanSachs = 'active' | 'inactive' | 'pending';
|
|
747
|
-
|
|
748
648
|
type TwintPayments = 'active' | 'inactive' | 'pending';
|
|
749
649
|
|
|
750
650
|
type UsBankAccountAchPayments = 'active' | 'inactive' | 'pending';
|
|
@@ -1040,10 +940,6 @@ declare module 'stripe' {
|
|
|
1040
940
|
}
|
|
1041
941
|
|
|
1042
942
|
interface Controller {
|
|
1043
|
-
application?: Controller.Application;
|
|
1044
|
-
|
|
1045
|
-
dashboard?: Controller.Dashboard;
|
|
1046
|
-
|
|
1047
943
|
fees?: Controller.Fees;
|
|
1048
944
|
|
|
1049
945
|
/**
|
|
@@ -1067,34 +963,6 @@ declare module 'stripe' {
|
|
|
1067
963
|
}
|
|
1068
964
|
|
|
1069
965
|
namespace Controller {
|
|
1070
|
-
interface Application {
|
|
1071
|
-
/**
|
|
1072
|
-
* `true` if the Connect application is responsible for negative balances and should manage credit and fraud risk on the account.
|
|
1073
|
-
*/
|
|
1074
|
-
loss_liable: boolean;
|
|
1075
|
-
|
|
1076
|
-
/**
|
|
1077
|
-
* `true` if the Connect application is responsible for onboarding the account.
|
|
1078
|
-
*/
|
|
1079
|
-
onboarding_owner: boolean;
|
|
1080
|
-
|
|
1081
|
-
/**
|
|
1082
|
-
* `true` if the Connect application is responsible for paying Stripe fees on pricing-control eligible products.
|
|
1083
|
-
*/
|
|
1084
|
-
pricing_controls: boolean;
|
|
1085
|
-
}
|
|
1086
|
-
|
|
1087
|
-
interface Dashboard {
|
|
1088
|
-
/**
|
|
1089
|
-
* Whether this account has access to the full Stripe dashboard (`full`), to the Express dashboard (`express`), or to no dashboard (`none`).
|
|
1090
|
-
*/
|
|
1091
|
-
type: Dashboard.Type;
|
|
1092
|
-
}
|
|
1093
|
-
|
|
1094
|
-
namespace Dashboard {
|
|
1095
|
-
type Type = 'express' | 'full' | 'none';
|
|
1096
|
-
}
|
|
1097
|
-
|
|
1098
966
|
interface Fees {
|
|
1099
967
|
/**
|
|
1100
968
|
* 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).
|
|
@@ -1107,8 +975,7 @@ declare module 'stripe' {
|
|
|
1107
975
|
| 'account'
|
|
1108
976
|
| 'application'
|
|
1109
977
|
| 'application_custom'
|
|
1110
|
-
| 'application_express'
|
|
1111
|
-
| 'application_unified_accounts_beta';
|
|
978
|
+
| 'application_express';
|
|
1112
979
|
}
|
|
1113
980
|
|
|
1114
981
|
interface Losses {
|
|
@@ -1527,52 +1394,11 @@ declare module 'stripe' {
|
|
|
1527
1394
|
}
|
|
1528
1395
|
}
|
|
1529
1396
|
|
|
1530
|
-
interface RiskControls {
|
|
1531
|
-
charges: RiskControls.Charges;
|
|
1532
|
-
|
|
1533
|
-
payouts: RiskControls.Payouts;
|
|
1534
|
-
|
|
1535
|
-
/**
|
|
1536
|
-
* 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/)
|
|
1537
|
-
*/
|
|
1538
|
-
rejected_reason?: RiskControls.RejectedReason | null;
|
|
1539
|
-
}
|
|
1540
|
-
|
|
1541
|
-
namespace RiskControls {
|
|
1542
|
-
interface Charges {
|
|
1543
|
-
/**
|
|
1544
|
-
* Whether a pause of the risk control has been requested.
|
|
1545
|
-
*/
|
|
1546
|
-
pause_requested: boolean;
|
|
1547
|
-
}
|
|
1548
|
-
|
|
1549
|
-
interface Payouts {
|
|
1550
|
-
/**
|
|
1551
|
-
* Whether a pause of the risk control has been requested.
|
|
1552
|
-
*/
|
|
1553
|
-
pause_requested: boolean;
|
|
1554
|
-
}
|
|
1555
|
-
|
|
1556
|
-
type RejectedReason =
|
|
1557
|
-
| 'credit'
|
|
1558
|
-
| 'fraud'
|
|
1559
|
-
| 'fraud_no_intent_to_fulfill'
|
|
1560
|
-
| 'fraud_other'
|
|
1561
|
-
| 'fraud_payment_method_casher'
|
|
1562
|
-
| 'fraud_payment_method_tester'
|
|
1563
|
-
| 'other'
|
|
1564
|
-
| 'terms_of_service';
|
|
1565
|
-
}
|
|
1566
|
-
|
|
1567
1397
|
interface Settings {
|
|
1568
1398
|
bacs_debit_payments?: Settings.BacsDebitPayments;
|
|
1569
1399
|
|
|
1570
|
-
bank_bca_onboarding?: Settings.BankBcaOnboarding;
|
|
1571
|
-
|
|
1572
1400
|
branding: Settings.Branding;
|
|
1573
1401
|
|
|
1574
|
-
capital?: Settings.Capital;
|
|
1575
|
-
|
|
1576
1402
|
card_issuing?: Settings.CardIssuing;
|
|
1577
1403
|
|
|
1578
1404
|
card_payments: Settings.CardPayments;
|
|
@@ -1587,8 +1413,6 @@ declare module 'stripe' {
|
|
|
1587
1413
|
|
|
1588
1414
|
sepa_debit_payments?: Settings.SepaDebitPayments;
|
|
1589
1415
|
|
|
1590
|
-
tax_forms?: Settings.TaxForms;
|
|
1591
|
-
|
|
1592
1416
|
treasury?: Settings.Treasury;
|
|
1593
1417
|
}
|
|
1594
1418
|
|
|
@@ -1605,18 +1429,6 @@ declare module 'stripe' {
|
|
|
1605
1429
|
service_user_number: string | null;
|
|
1606
1430
|
}
|
|
1607
1431
|
|
|
1608
|
-
interface BankBcaOnboarding {
|
|
1609
|
-
/**
|
|
1610
|
-
* Bank BCA business account holder name.
|
|
1611
|
-
*/
|
|
1612
|
-
account_holder_name?: string;
|
|
1613
|
-
|
|
1614
|
-
/**
|
|
1615
|
-
* Bank BCA business account number.
|
|
1616
|
-
*/
|
|
1617
|
-
business_account_number?: string;
|
|
1618
|
-
}
|
|
1619
|
-
|
|
1620
1432
|
interface Branding {
|
|
1621
1433
|
/**
|
|
1622
1434
|
* (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.
|
|
@@ -1639,22 +1451,6 @@ declare module 'stripe' {
|
|
|
1639
1451
|
secondary_color: string | null;
|
|
1640
1452
|
}
|
|
1641
1453
|
|
|
1642
|
-
interface Capital {
|
|
1643
|
-
/**
|
|
1644
|
-
* Per-currency mapping of user-selected destination accounts used to pay out loans.
|
|
1645
|
-
*/
|
|
1646
|
-
payout_destination?: {
|
|
1647
|
-
[key: string]: string;
|
|
1648
|
-
};
|
|
1649
|
-
|
|
1650
|
-
/**
|
|
1651
|
-
* Per-currency mapping of all destination accounts eligible to receive loan payouts.
|
|
1652
|
-
*/
|
|
1653
|
-
payout_destination_selector?: {
|
|
1654
|
-
[key: string]: Array<string>;
|
|
1655
|
-
};
|
|
1656
|
-
}
|
|
1657
|
-
|
|
1658
1454
|
interface CardIssuing {
|
|
1659
1455
|
tos_acceptance?: CardIssuing.TosAcceptance;
|
|
1660
1456
|
}
|
|
@@ -1830,13 +1626,6 @@ declare module 'stripe' {
|
|
|
1830
1626
|
creditor_id?: string;
|
|
1831
1627
|
}
|
|
1832
1628
|
|
|
1833
|
-
interface TaxForms {
|
|
1834
|
-
/**
|
|
1835
|
-
* Whether the account opted out of receiving their tax forms by postal delivery.
|
|
1836
|
-
*/
|
|
1837
|
-
consented_to_paperless_delivery: boolean;
|
|
1838
|
-
}
|
|
1839
|
-
|
|
1840
1629
|
interface Treasury {
|
|
1841
1630
|
tos_acceptance?: Treasury.TosAcceptance;
|
|
1842
1631
|
}
|