stripe 18.2.0-beta.1 → 18.2.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 +183 -1211
- package/OPENAPI_VERSION +1 -1
- package/README.md +11 -12
- package/VERSION +1 -1
- package/cjs/Error.js +1 -91
- package/cjs/RequestSender.js +3 -3
- package/cjs/StripeResource.js +1 -1
- package/cjs/apiVersion.js +1 -1
- package/cjs/resources/FinancialConnections/Accounts.js +0 -5
- package/cjs/resources/{PaymentAttemptRecords.js → InvoicePayments.js} +4 -4
- package/cjs/resources/PaymentIntents.js +0 -13
- package/cjs/resources/Quotes.js +0 -32
- package/cjs/resources/SubscriptionSchedules.js +0 -4
- package/cjs/resources/Terminal/Readers.js +0 -8
- package/cjs/resources.js +18 -108
- package/cjs/stripe.core.js +1 -1
- package/cjs/utils.js +5 -0
- package/esm/Error.js +0 -79
- package/esm/RequestSender.js +3 -3
- package/esm/StripeResource.js +1 -1
- package/esm/apiVersion.js +1 -1
- package/esm/resources/FinancialConnections/Accounts.js +0 -5
- package/esm/resources/{PaymentAttemptRecords.js → InvoicePayments.js} +3 -3
- package/esm/resources/PaymentIntents.js +0 -13
- package/esm/resources/Quotes.js +0 -32
- package/esm/resources/SubscriptionSchedules.js +0 -4
- package/esm/resources/Terminal/Readers.js +0 -8
- package/esm/resources.js +1 -84
- package/esm/stripe.core.js +1 -1
- package/esm/utils.js +5 -0
- package/package.json +1 -1
- package/types/AccountLinksResource.d.ts +1 -5
- package/types/AccountSessions.d.ts +52 -32
- package/types/AccountSessionsResource.d.ts +23 -246
- package/types/Accounts.d.ts +19 -223
- package/types/AccountsResource.d.ts +61 -581
- package/types/Balance.d.ts +83 -1
- package/types/BalanceResource.d.ts +1 -1
- package/types/BalanceTransactions.d.ts +10 -0
- package/types/BankAccounts.d.ts +3 -3
- package/types/Billing/Alerts.d.ts +1 -1
- package/types/Billing/AlertsResource.d.ts +2 -2
- 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 +1 -6
- package/types/BillingPortal/SessionsResource.d.ts +4 -12
- package/types/Capabilities.d.ts +1 -1
- package/types/Cards.d.ts +2 -7
- package/types/CashBalances.d.ts +0 -5
- package/types/Charges.d.ts +20 -166
- package/types/ChargesResource.d.ts +4 -1318
- package/types/Checkout/Sessions.d.ts +120 -418
- package/types/Checkout/SessionsResource.d.ts +118 -448
- package/types/ConfirmationTokens.d.ts +4 -129
- package/types/CountrySpecs.d.ts +1 -1
- 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 +11 -10
- package/types/CreditNotesResource.d.ts +7 -13
- package/types/CustomerBalanceTransactions.d.ts +0 -2
- package/types/CustomerCashBalanceTransactions.d.ts +0 -2
- package/types/CustomerSessions.d.ts +3 -8
- package/types/CustomerSessionsResource.d.ts +1 -6
- package/types/Customers.d.ts +0 -2
- package/types/CustomersResource.d.ts +7 -15
- package/types/Discounts.d.ts +0 -10
- package/types/Disputes.d.ts +1 -1
- package/types/DisputesResource.d.ts +1 -1
- package/types/Errors.d.ts +2 -69
- package/types/EventTypes.d.ts +17 -698
- package/types/Events.d.ts +4 -99
- package/types/Files.d.ts +1 -1
- package/types/FilesResource.d.ts +1 -1
- package/types/FinancialConnections/Accounts.d.ts +1 -31
- 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/VerificationReports.d.ts +17 -0
- package/types/Identity/VerificationSessions.d.ts +19 -7
- package/types/Identity/VerificationSessionsResource.d.ts +5 -12
- package/types/InvoiceItems.d.ts +1 -11
- package/types/InvoiceItemsResource.d.ts +6 -117
- package/types/InvoiceLineItems.d.ts +2 -46
- package/types/InvoicePayments.d.ts +9 -7
- package/types/InvoicePaymentsResource.d.ts +74 -0
- package/types/Invoices.d.ts +10 -142
- package/types/InvoicesResource.d.ts +66 -1469
- package/types/Issuing/AuthorizationsResource.d.ts +4 -4
- package/types/Issuing/CardholdersResource.d.ts +1 -2
- package/types/Issuing/CardsResource.d.ts +3 -0
- package/types/Issuing/DisputesResource.d.ts +2 -2
- package/types/Issuing/Transactions.d.ts +0 -5
- package/types/Issuing/TransactionsResource.d.ts +0 -5
- package/types/LineItems.d.ts +2 -51
- package/types/Mandates.d.ts +0 -77
- package/types/PaymentIntents.d.ts +145 -856
- package/types/PaymentIntentsResource.d.ts +4307 -8780
- package/types/PaymentLinks.d.ts +0 -6
- package/types/PaymentLinksResource.d.ts +0 -12
- package/types/PaymentMethodConfigurations.d.ts +70 -70
- package/types/PaymentMethodConfigurationsResource.d.ts +164 -164
- package/types/PaymentMethodDomainsResource.d.ts +1 -1
- package/types/PaymentMethods.d.ts +4 -129
- package/types/PaymentMethodsResource.d.ts +10 -175
- package/types/Payouts.d.ts +2 -7
- package/types/PayoutsResource.d.ts +2 -7
- package/types/Persons.d.ts +10 -10
- package/types/PlansResource.d.ts +1 -1
- package/types/Prices.d.ts +0 -22
- package/types/PricesResource.d.ts +2 -24
- package/types/Products.d.ts +0 -39
- package/types/ProductsResource.d.ts +1 -37
- package/types/PromotionCodes.d.ts +0 -5
- package/types/PromotionCodesResource.d.ts +1 -11
- package/types/Quotes.d.ts +7 -609
- package/types/QuotesResource.d.ts +224 -2578
- package/types/Radar/EarlyFraudWarningsResource.d.ts +1 -1
- package/types/Refunds.d.ts +6 -15
- package/types/Reviews.d.ts +1 -1
- package/types/SetupAttempts.d.ts +2 -50
- package/types/SetupIntents.d.ts +4 -122
- package/types/SetupIntentsResource.d.ts +6 -733
- package/types/Sources.d.ts +0 -29
- package/types/SourcesResource.d.ts +1 -1
- package/types/SubscriptionItems.d.ts +8 -17
- package/types/SubscriptionItemsResource.d.ts +28 -109
- package/types/SubscriptionSchedules.d.ts +47 -213
- package/types/SubscriptionSchedulesResource.d.ts +104 -1243
- package/types/Subscriptions.d.ts +16 -102
- package/types/SubscriptionsResource.d.ts +80 -407
- package/types/Tax/CalculationLineItems.d.ts +5 -0
- package/types/Tax/CalculationsResource.d.ts +5 -0
- package/types/Tax/RegistrationsResource.d.ts +1 -1
- package/types/TaxIds.d.ts +0 -10
- package/types/TaxIdsResource.d.ts +0 -10
- package/types/TaxRates.d.ts +2 -2
- package/types/Terminal/LocationsResource.d.ts +1 -1
- package/types/Terminal/Readers.d.ts +7 -89
- package/types/Terminal/ReadersResource.d.ts +6 -82
- 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/Tokens.d.ts +3 -3
- package/types/TokensResource.d.ts +8 -8
- package/types/TransferReversals.d.ts +1 -1
- package/types/Transfers.d.ts +0 -5
- package/types/TransfersResource.d.ts +2 -7
- 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 +2 -28
- package/types/Treasury/ReceivedDebits.d.ts +0 -31
- package/types/V2/EventTypes.d.ts +1 -812
- package/types/WebhookEndpointsResource.d.ts +4 -83
- package/types/index.d.ts +5 -145
- package/types/lib.d.ts +1 -11
- package/types/test/typescriptTest.ts +3 -3
- package/cjs/resources/AccountNotices.js +0 -21
- package/cjs/resources/BalanceSettings.js +0 -10
- 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/GiftCards/Cards.js +0 -23
- package/cjs/resources/GiftCards/Transactions.js +0 -33
- 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/PaymentRecords.js +0 -29
- 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/ReaderCollectedData.js +0 -12
- 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 -17
- 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/BalanceSettings.js +0 -7
- 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/GiftCards/Cards.js +0 -20
- package/esm/resources/GiftCards/Transactions.js +0 -30
- 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/PaymentRecords.js +0 -26
- 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/ReaderCollectedData.js +0 -9
- 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 -14
- 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/BalanceSettings.d.ts +0 -89
- package/types/BalanceSettingsResource.d.ts +0 -108
- package/types/Billing/MeterErrorReports.d.ts +0 -106
- 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 -93
- package/types/FinancialConnections/InstitutionsResource.d.ts +0 -47
- package/types/FxQuotes.d.ts +0 -153
- package/types/FxQuotesResource.d.ts +0 -130
- package/types/GiftCards/Cards.d.ts +0 -118
- package/types/GiftCards/CardsResource.d.ts +0 -159
- package/types/GiftCards/Transactions.d.ts +0 -129
- package/types/GiftCards/TransactionsResource.d.ts +0 -201
- 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 -1199
- package/types/OrdersResource.d.ts +0 -3001
- package/types/PaymentAttemptRecords.d.ts +0 -2112
- package/types/PaymentAttemptRecordsResource.d.ts +0 -47
- package/types/PaymentIntentAmountDetailsLineItems.d.ts +0 -110
- package/types/PaymentRecords.d.ts +0 -2105
- package/types/PaymentRecordsResource.d.ts +0 -455
- package/types/Privacy/RedactionJobValidationErrors.d.ts +0 -30
- package/types/Privacy/RedactionJobs.d.ts +0 -65
- package/types/Privacy/RedactionJobsResource.d.ts +0 -218
- package/types/QuoteLines.d.ts +0 -634
- package/types/QuotePreviewInvoices.d.ts +0 -1697
- package/types/QuotePreviewSubscriptionSchedules.d.ts +0 -785
- package/types/Tax/Associations.d.ts +0 -126
- 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/ReaderCollectedData.d.ts +0 -51
- package/types/Terminal/ReaderCollectedDataResource.d.ts +0 -29
- package/types/V2/Core/AccountLinks.d.ts +0 -106
- package/types/V2/Core/AccountLinksResource.d.ts +0 -90
- package/types/V2/Core/Accounts/PersonsResource.d.ts +0 -3770
- package/types/V2/Core/Accounts.d.ts +0 -8169
- package/types/V2/Core/AccountsResource.d.ts +0 -10203
- package/types/V2/Core/Persons.d.ts +0 -1867
- 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 -546
- package/types/V2/MoneyManagement/FinancialAccountsResource.d.ts +0 -52
- package/types/V2/MoneyManagement/FinancialAddresses.d.ts +0 -314
- package/types/V2/MoneyManagement/FinancialAddressesResource.d.ts +0 -288
- 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 -168
- 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 -207
- package/types/V2/MoneyManagement/PayoutMethods.d.ts +0 -151
- package/types/V2/MoneyManagement/PayoutMethodsBankAccountSpecResource.d.ts +0 -41
- package/types/V2/MoneyManagement/PayoutMethodsBankAccountSpecs.d.ts +0 -87
- package/types/V2/MoneyManagement/PayoutMethodsResource.d.ts +0 -113
- package/types/V2/MoneyManagement/ReceivedCredits.d.ts +0 -285
- package/types/V2/MoneyManagement/ReceivedCreditsResource.d.ts +0 -78
- package/types/V2/MoneyManagement/ReceivedDebits.d.ts +0 -224
- package/types/V2/MoneyManagement/ReceivedDebitsResource.d.ts +0 -48
- package/types/V2/MoneyManagement/TransactionEntries.d.ts +0 -155
- package/types/V2/MoneyManagement/TransactionEntriesResource.d.ts +0 -82
- package/types/V2/MoneyManagement/Transactions.d.ts +0 -170
- package/types/V2/MoneyManagement/TransactionsResource.d.ts +0 -83
- package/types/V2/TestHelpers/FinancialAddressesResource.d.ts +0 -66
|
@@ -14,7 +14,7 @@ declare module 'stripe' {
|
|
|
14
14
|
business_profile?: AccountCreateParams.BusinessProfile;
|
|
15
15
|
|
|
16
16
|
/**
|
|
17
|
-
* The business type. Once you create an [Account Link](https://stripe.com/api/account_links) or [Account Session](https://stripe.com/api/account_sessions), this property can only be updated for accounts where [controller.requirement_collection](https://stripe.com/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts.
|
|
17
|
+
* The business type. Once you create an [Account Link](https://docs.stripe.com/api/account_links) or [Account Session](https://docs.stripe.com/api/account_sessions), this property can only be updated for accounts where [controller.requirement_collection](https://docs.stripe.com/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts.
|
|
18
18
|
*/
|
|
19
19
|
business_type?: AccountCreateParams.BusinessType;
|
|
20
20
|
|
|
@@ -25,13 +25,13 @@ declare module 'stripe' {
|
|
|
25
25
|
* requirements and Stripe has verified them. An account might have some
|
|
26
26
|
* of its requested capabilities be active and some be inactive.
|
|
27
27
|
*
|
|
28
|
-
* Required when [account.controller.stripe_dashboard.type](https://stripe.com/api/accounts/create#create_account-controller-dashboard-type)
|
|
28
|
+
* Required when [account.controller.stripe_dashboard.type](https://docs.stripe.com/api/accounts/create#create_account-controller-dashboard-type)
|
|
29
29
|
* is `none`, which includes Custom accounts.
|
|
30
30
|
*/
|
|
31
31
|
capabilities?: AccountCreateParams.Capabilities;
|
|
32
32
|
|
|
33
33
|
/**
|
|
34
|
-
* Information about the company or business. This field is available for any `business_type`. Once you create an [Account Link](https://stripe.com/api/account_links) or [Account Session](https://stripe.com/api/account_sessions), this property can only be updated for accounts where [controller.requirement_collection](https://stripe.com/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts.
|
|
34
|
+
* Information about the company or business. This field is available for any `business_type`. Once you create an [Account Link](https://docs.stripe.com/api/account_links) or [Account Session](https://docs.stripe.com/api/account_sessions), this property can only be updated for accounts where [controller.requirement_collection](https://docs.stripe.com/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts.
|
|
35
35
|
*/
|
|
36
36
|
company?: AccountCreateParams.Company;
|
|
37
37
|
|
|
@@ -56,7 +56,7 @@ declare module 'stripe' {
|
|
|
56
56
|
documents?: AccountCreateParams.Documents;
|
|
57
57
|
|
|
58
58
|
/**
|
|
59
|
-
* The email address of the account holder. This is only to make the account easier to identify to you. If [controller.requirement_collection](https://stripe.com/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts, Stripe doesn't email the account without your consent.
|
|
59
|
+
* The email address of the account holder. This is only to make the account easier to identify to you. If [controller.requirement_collection](https://docs.stripe.com/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts, Stripe doesn't email the account without your consent.
|
|
60
60
|
*/
|
|
61
61
|
email?: string;
|
|
62
62
|
|
|
@@ -66,9 +66,9 @@ declare module 'stripe' {
|
|
|
66
66
|
expand?: Array<string>;
|
|
67
67
|
|
|
68
68
|
/**
|
|
69
|
-
* A card or bank account to attach to the account for receiving [payouts](https://stripe.com/connect/bank-debit-card-payouts) (you won't be able to use it for top-ups). You can provide either a token, like the ones returned by [Stripe.js](https://stripe.com/js), or a dictionary, as documented in the `external_account` parameter for [bank account](https://stripe.com/api#account_create_bank_account) creation.
|
|
69
|
+
* A card or bank account to attach to the account for receiving [payouts](https://docs.stripe.com/connect/bank-debit-card-payouts) (you won't be able to use it for top-ups). You can provide either a token, like the ones returned by [Stripe.js](https://docs.stripe.com/js), or a dictionary, as documented in the `external_account` parameter for [bank account](https://docs.stripe.com/api#account_create_bank_account) creation.
|
|
70
70
|
*
|
|
71
|
-
* By default, providing an external account sets it as the new default external account for its currency, and deletes the old default if one exists. To add additional external accounts without replacing the existing default for the currency, use the [bank account](https://stripe.com/api#account_create_bank_account) or [card creation](https://stripe.com/api#account_create_card) APIs. After you create an [Account Link](https://stripe.com/api/account_links) or [Account Session](https://stripe.com/api/account_sessions), this property can only be updated for accounts where [controller.requirement_collection](https://stripe.com/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts.
|
|
71
|
+
* By default, providing an external account sets it as the new default external account for its currency, and deletes the old default if one exists. To add additional external accounts without replacing the existing default for the currency, use the [bank account](https://docs.stripe.com/api#account_create_bank_account) or [card creation](https://docs.stripe.com/api#account_create_card) APIs. After you create an [Account Link](https://docs.stripe.com/api/account_links) or [Account Session](https://docs.stripe.com/api/account_sessions), this property can only be updated for accounts where [controller.requirement_collection](https://docs.stripe.com/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts.
|
|
72
72
|
*/
|
|
73
73
|
external_account?: string | AccountCreateParams.ExternalAccount;
|
|
74
74
|
|
|
@@ -78,7 +78,7 @@ declare module 'stripe' {
|
|
|
78
78
|
groups?: AccountCreateParams.Groups;
|
|
79
79
|
|
|
80
80
|
/**
|
|
81
|
-
* Information about the person represented by the account. This field is null unless `business_type` is set to `individual`. Once you create an [Account Link](https://stripe.com/api/account_links) or [Account Session](https://stripe.com/api/account_sessions), this property can only be updated for accounts where [controller.requirement_collection](https://stripe.com/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts.
|
|
81
|
+
* Information about the person represented by the account. This field is null unless `business_type` is set to `individual`. Once you create an [Account Link](https://docs.stripe.com/api/account_links) or [Account Session](https://docs.stripe.com/api/account_sessions), this property can only be updated for accounts where [controller.requirement_collection](https://docs.stripe.com/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts.
|
|
82
82
|
*/
|
|
83
83
|
individual?: AccountCreateParams.Individual;
|
|
84
84
|
|
|
@@ -87,18 +87,13 @@ declare module 'stripe' {
|
|
|
87
87
|
*/
|
|
88
88
|
metadata?: Stripe.Emptyable<Stripe.MetadataParam>;
|
|
89
89
|
|
|
90
|
-
/**
|
|
91
|
-
* A hash to configure risk controls on the account. Please see [this page for more details](https://stripe.com/connect/pausing-payments-or-payouts-on-connected-accounts).
|
|
92
|
-
*/
|
|
93
|
-
risk_controls?: AccountCreateParams.RiskControls;
|
|
94
|
-
|
|
95
90
|
/**
|
|
96
91
|
* Options for customizing how the account functions within Stripe.
|
|
97
92
|
*/
|
|
98
93
|
settings?: AccountCreateParams.Settings;
|
|
99
94
|
|
|
100
95
|
/**
|
|
101
|
-
* Details on the account's acceptance of the [Stripe Services Agreement](https://stripe.com/connect/updating-accounts#tos-acceptance). This property can only be updated for accounts where [controller.requirement_collection](https://stripe.com/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts. This property defaults to a `full` service agreement when empty.
|
|
96
|
+
* Details on the account's acceptance of the [Stripe Services Agreement](https://docs.stripe.com/connect/updating-accounts#tos-acceptance). This property can only be updated for accounts where [controller.requirement_collection](https://docs.stripe.com/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts. This property defaults to a `full` service agreement when empty.
|
|
102
97
|
*/
|
|
103
98
|
tos_acceptance?: AccountCreateParams.TosAcceptance;
|
|
104
99
|
|
|
@@ -121,7 +116,7 @@ declare module 'stripe' {
|
|
|
121
116
|
estimated_worker_count?: number;
|
|
122
117
|
|
|
123
118
|
/**
|
|
124
|
-
* [The merchant category code for the account](https://stripe.com/connect/setting-mcc). MCCs are used to classify businesses based on the goods or services they provide.
|
|
119
|
+
* [The merchant category code for the account](https://docs.stripe.com/connect/setting-mcc). MCCs are used to classify businesses based on the goods or services they provide.
|
|
125
120
|
*/
|
|
126
121
|
mcc?: string;
|
|
127
122
|
|
|
@@ -176,7 +171,7 @@ declare module 'stripe' {
|
|
|
176
171
|
namespace BusinessProfile {
|
|
177
172
|
interface AnnualRevenue {
|
|
178
173
|
/**
|
|
179
|
-
* A non-negative integer representing the amount in the [smallest currency unit](https://stripe.com/currencies#zero-decimal).
|
|
174
|
+
* A non-negative integer representing the amount in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal).
|
|
180
175
|
*/
|
|
181
176
|
amount: number;
|
|
182
177
|
|
|
@@ -200,7 +195,7 @@ declare module 'stripe' {
|
|
|
200
195
|
|
|
201
196
|
interface MonthlyEstimatedRevenue {
|
|
202
197
|
/**
|
|
203
|
-
* A non-negative integer representing how much to charge in the [smallest currency unit](https://stripe.com/currencies#zero-decimal).
|
|
198
|
+
* A non-negative integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal).
|
|
204
199
|
*/
|
|
205
200
|
amount: number;
|
|
206
201
|
|
|
@@ -248,11 +243,6 @@ declare module 'stripe' {
|
|
|
248
243
|
*/
|
|
249
244
|
au_becs_debit_payments?: Capabilities.AuBecsDebitPayments;
|
|
250
245
|
|
|
251
|
-
/**
|
|
252
|
-
* The automatic_indirect_tax capability.
|
|
253
|
-
*/
|
|
254
|
-
automatic_indirect_tax?: Capabilities.AutomaticIndirectTax;
|
|
255
|
-
|
|
256
246
|
/**
|
|
257
247
|
* The bacs_debit_payments capability.
|
|
258
248
|
*/
|
|
@@ -323,26 +313,11 @@ declare module 'stripe' {
|
|
|
323
313
|
*/
|
|
324
314
|
giropay_payments?: Capabilities.GiropayPayments;
|
|
325
315
|
|
|
326
|
-
/**
|
|
327
|
-
* The gopay_payments capability.
|
|
328
|
-
*/
|
|
329
|
-
gopay_payments?: Capabilities.GopayPayments;
|
|
330
|
-
|
|
331
316
|
/**
|
|
332
317
|
* The grabpay_payments capability.
|
|
333
318
|
*/
|
|
334
319
|
grabpay_payments?: Capabilities.GrabpayPayments;
|
|
335
320
|
|
|
336
|
-
/**
|
|
337
|
-
* The id_bank_transfer_payments capability.
|
|
338
|
-
*/
|
|
339
|
-
id_bank_transfer_payments?: Capabilities.IdBankTransferPayments;
|
|
340
|
-
|
|
341
|
-
/**
|
|
342
|
-
* The id_bank_transfer_payments_bca capability.
|
|
343
|
-
*/
|
|
344
|
-
id_bank_transfer_payments_bca?: Capabilities.IdBankTransferPaymentsBca;
|
|
345
|
-
|
|
346
321
|
/**
|
|
347
322
|
* The ideal_payments capability.
|
|
348
323
|
*/
|
|
@@ -393,11 +368,6 @@ declare module 'stripe' {
|
|
|
393
368
|
*/
|
|
394
369
|
link_payments?: Capabilities.LinkPayments;
|
|
395
370
|
|
|
396
|
-
/**
|
|
397
|
-
* The mb_way_payments capability.
|
|
398
|
-
*/
|
|
399
|
-
mb_way_payments?: Capabilities.MbWayPayments;
|
|
400
|
-
|
|
401
371
|
/**
|
|
402
372
|
* The mobilepay_payments capability.
|
|
403
373
|
*/
|
|
@@ -449,30 +419,15 @@ declare module 'stripe' {
|
|
|
449
419
|
paynow_payments?: Capabilities.PaynowPayments;
|
|
450
420
|
|
|
451
421
|
/**
|
|
452
|
-
* The
|
|
422
|
+
* The pix_payments capability.
|
|
453
423
|
*/
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
/**
|
|
457
|
-
* The payto_payments capability.
|
|
458
|
-
*/
|
|
459
|
-
payto_payments?: Capabilities.PaytoPayments;
|
|
424
|
+
pix_payments?: Capabilities.PixPayments;
|
|
460
425
|
|
|
461
426
|
/**
|
|
462
427
|
* The promptpay_payments capability.
|
|
463
428
|
*/
|
|
464
429
|
promptpay_payments?: Capabilities.PromptpayPayments;
|
|
465
430
|
|
|
466
|
-
/**
|
|
467
|
-
* The qris_payments capability.
|
|
468
|
-
*/
|
|
469
|
-
qris_payments?: Capabilities.QrisPayments;
|
|
470
|
-
|
|
471
|
-
/**
|
|
472
|
-
* The rechnung_payments capability.
|
|
473
|
-
*/
|
|
474
|
-
rechnung_payments?: Capabilities.RechnungPayments;
|
|
475
|
-
|
|
476
431
|
/**
|
|
477
432
|
* The revolut_pay_payments capability.
|
|
478
433
|
*/
|
|
@@ -498,21 +453,11 @@ declare module 'stripe' {
|
|
|
498
453
|
*/
|
|
499
454
|
sepa_debit_payments?: Capabilities.SepaDebitPayments;
|
|
500
455
|
|
|
501
|
-
/**
|
|
502
|
-
* The shopeepay_payments capability.
|
|
503
|
-
*/
|
|
504
|
-
shopeepay_payments?: Capabilities.ShopeepayPayments;
|
|
505
|
-
|
|
506
456
|
/**
|
|
507
457
|
* The sofort_payments capability.
|
|
508
458
|
*/
|
|
509
459
|
sofort_payments?: Capabilities.SofortPayments;
|
|
510
460
|
|
|
511
|
-
/**
|
|
512
|
-
* The stripe_balance_payments capability.
|
|
513
|
-
*/
|
|
514
|
-
stripe_balance_payments?: Capabilities.StripeBalancePayments;
|
|
515
|
-
|
|
516
461
|
/**
|
|
517
462
|
* The swish_payments capability.
|
|
518
463
|
*/
|
|
@@ -538,21 +483,6 @@ declare module 'stripe' {
|
|
|
538
483
|
*/
|
|
539
484
|
treasury?: Capabilities.Treasury;
|
|
540
485
|
|
|
541
|
-
/**
|
|
542
|
-
* The treasury_evolve capability.
|
|
543
|
-
*/
|
|
544
|
-
treasury_evolve?: Capabilities.TreasuryEvolve;
|
|
545
|
-
|
|
546
|
-
/**
|
|
547
|
-
* The treasury_fifth_third capability.
|
|
548
|
-
*/
|
|
549
|
-
treasury_fifth_third?: Capabilities.TreasuryFifthThird;
|
|
550
|
-
|
|
551
|
-
/**
|
|
552
|
-
* The treasury_goldman_sachs capability.
|
|
553
|
-
*/
|
|
554
|
-
treasury_goldman_sachs?: Capabilities.TreasuryGoldmanSachs;
|
|
555
|
-
|
|
556
486
|
/**
|
|
557
487
|
* The twint_payments capability.
|
|
558
488
|
*/
|
|
@@ -617,13 +547,6 @@ declare module 'stripe' {
|
|
|
617
547
|
requested?: boolean;
|
|
618
548
|
}
|
|
619
549
|
|
|
620
|
-
interface AutomaticIndirectTax {
|
|
621
|
-
/**
|
|
622
|
-
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
623
|
-
*/
|
|
624
|
-
requested?: boolean;
|
|
625
|
-
}
|
|
626
|
-
|
|
627
550
|
interface BacsDebitPayments {
|
|
628
551
|
/**
|
|
629
552
|
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
@@ -722,13 +645,6 @@ declare module 'stripe' {
|
|
|
722
645
|
requested?: boolean;
|
|
723
646
|
}
|
|
724
647
|
|
|
725
|
-
interface GopayPayments {
|
|
726
|
-
/**
|
|
727
|
-
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
728
|
-
*/
|
|
729
|
-
requested?: boolean;
|
|
730
|
-
}
|
|
731
|
-
|
|
732
648
|
interface GrabpayPayments {
|
|
733
649
|
/**
|
|
734
650
|
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
@@ -736,20 +652,6 @@ declare module 'stripe' {
|
|
|
736
652
|
requested?: boolean;
|
|
737
653
|
}
|
|
738
654
|
|
|
739
|
-
interface IdBankTransferPayments {
|
|
740
|
-
/**
|
|
741
|
-
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
742
|
-
*/
|
|
743
|
-
requested?: boolean;
|
|
744
|
-
}
|
|
745
|
-
|
|
746
|
-
interface IdBankTransferPaymentsBca {
|
|
747
|
-
/**
|
|
748
|
-
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
749
|
-
*/
|
|
750
|
-
requested?: boolean;
|
|
751
|
-
}
|
|
752
|
-
|
|
753
655
|
interface IdealPayments {
|
|
754
656
|
/**
|
|
755
657
|
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
@@ -820,13 +722,6 @@ declare module 'stripe' {
|
|
|
820
722
|
requested?: boolean;
|
|
821
723
|
}
|
|
822
724
|
|
|
823
|
-
interface MbWayPayments {
|
|
824
|
-
/**
|
|
825
|
-
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
826
|
-
*/
|
|
827
|
-
requested?: boolean;
|
|
828
|
-
}
|
|
829
|
-
|
|
830
725
|
interface MobilepayPayments {
|
|
831
726
|
/**
|
|
832
727
|
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
@@ -897,14 +792,7 @@ declare module 'stripe' {
|
|
|
897
792
|
requested?: boolean;
|
|
898
793
|
}
|
|
899
794
|
|
|
900
|
-
interface
|
|
901
|
-
/**
|
|
902
|
-
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
903
|
-
*/
|
|
904
|
-
requested?: boolean;
|
|
905
|
-
}
|
|
906
|
-
|
|
907
|
-
interface PaytoPayments {
|
|
795
|
+
interface PixPayments {
|
|
908
796
|
/**
|
|
909
797
|
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
910
798
|
*/
|
|
@@ -918,20 +806,6 @@ declare module 'stripe' {
|
|
|
918
806
|
requested?: boolean;
|
|
919
807
|
}
|
|
920
808
|
|
|
921
|
-
interface QrisPayments {
|
|
922
|
-
/**
|
|
923
|
-
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
924
|
-
*/
|
|
925
|
-
requested?: boolean;
|
|
926
|
-
}
|
|
927
|
-
|
|
928
|
-
interface RechnungPayments {
|
|
929
|
-
/**
|
|
930
|
-
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
931
|
-
*/
|
|
932
|
-
requested?: boolean;
|
|
933
|
-
}
|
|
934
|
-
|
|
935
809
|
interface RevolutPayPayments {
|
|
936
810
|
/**
|
|
937
811
|
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
@@ -967,13 +841,6 @@ declare module 'stripe' {
|
|
|
967
841
|
requested?: boolean;
|
|
968
842
|
}
|
|
969
843
|
|
|
970
|
-
interface ShopeepayPayments {
|
|
971
|
-
/**
|
|
972
|
-
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
973
|
-
*/
|
|
974
|
-
requested?: boolean;
|
|
975
|
-
}
|
|
976
|
-
|
|
977
844
|
interface SofortPayments {
|
|
978
845
|
/**
|
|
979
846
|
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
@@ -981,13 +848,6 @@ declare module 'stripe' {
|
|
|
981
848
|
requested?: boolean;
|
|
982
849
|
}
|
|
983
850
|
|
|
984
|
-
interface StripeBalancePayments {
|
|
985
|
-
/**
|
|
986
|
-
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
987
|
-
*/
|
|
988
|
-
requested?: boolean;
|
|
989
|
-
}
|
|
990
|
-
|
|
991
851
|
interface SwishPayments {
|
|
992
852
|
/**
|
|
993
853
|
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
@@ -1023,27 +883,6 @@ declare module 'stripe' {
|
|
|
1023
883
|
requested?: boolean;
|
|
1024
884
|
}
|
|
1025
885
|
|
|
1026
|
-
interface TreasuryEvolve {
|
|
1027
|
-
/**
|
|
1028
|
-
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
1029
|
-
*/
|
|
1030
|
-
requested?: boolean;
|
|
1031
|
-
}
|
|
1032
|
-
|
|
1033
|
-
interface TreasuryFifthThird {
|
|
1034
|
-
/**
|
|
1035
|
-
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
1036
|
-
*/
|
|
1037
|
-
requested?: boolean;
|
|
1038
|
-
}
|
|
1039
|
-
|
|
1040
|
-
interface TreasuryGoldmanSachs {
|
|
1041
|
-
/**
|
|
1042
|
-
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
1043
|
-
*/
|
|
1044
|
-
requested?: boolean;
|
|
1045
|
-
}
|
|
1046
|
-
|
|
1047
886
|
interface TwintPayments {
|
|
1048
887
|
/**
|
|
1049
888
|
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
@@ -1090,7 +929,7 @@ declare module 'stripe' {
|
|
|
1090
929
|
address_kanji?: Stripe.JapanAddressParam;
|
|
1091
930
|
|
|
1092
931
|
/**
|
|
1093
|
-
* Whether the company's directors have been provided. Set this Boolean to `true` after creating all the company's directors with [the Persons API](https://stripe.com/api/persons) for accounts with a `relationship.director` requirement. This value is not automatically set to `true` after creating directors, so it needs to be updated to indicate all directors have been provided.
|
|
932
|
+
* Whether the company's directors have been provided. Set this Boolean to `true` after creating all the company's directors with [the Persons API](https://docs.stripe.com/api/persons) for accounts with a `relationship.director` requirement. This value is not automatically set to `true` after creating directors, so it needs to be updated to indicate all directors have been provided.
|
|
1094
933
|
*/
|
|
1095
934
|
directors_provided?: boolean;
|
|
1096
935
|
|
|
@@ -1100,7 +939,7 @@ declare module 'stripe' {
|
|
|
1100
939
|
directorship_declaration?: Company.DirectorshipDeclaration;
|
|
1101
940
|
|
|
1102
941
|
/**
|
|
1103
|
-
* Whether the company's executives have been provided. Set this Boolean to `true` after creating all the company's executives with [the Persons API](https://stripe.com/api/persons) for accounts with a `relationship.executive` requirement.
|
|
942
|
+
* Whether the company's executives have been provided. Set this Boolean to `true` after creating all the company's executives with [the Persons API](https://docs.stripe.com/api/persons) for accounts with a `relationship.executive` requirement.
|
|
1104
943
|
*/
|
|
1105
944
|
executives_provided?: boolean;
|
|
1106
945
|
|
|
@@ -1130,7 +969,7 @@ declare module 'stripe' {
|
|
|
1130
969
|
name_kanji?: string;
|
|
1131
970
|
|
|
1132
971
|
/**
|
|
1133
|
-
* Whether the company's owners have been provided. Set this Boolean to `true` after creating all the company's owners with [the Persons API](https://stripe.com/api/persons) for accounts with a `relationship.owner` requirement.
|
|
972
|
+
* Whether the company's owners have been provided. Set this Boolean to `true` after creating all the company's owners with [the Persons API](https://docs.stripe.com/api/persons) for accounts with a `relationship.owner` requirement.
|
|
1134
973
|
*/
|
|
1135
974
|
owners_provided?: boolean;
|
|
1136
975
|
|
|
@@ -1159,7 +998,7 @@ declare module 'stripe' {
|
|
|
1159
998
|
registration_number?: string;
|
|
1160
999
|
|
|
1161
1000
|
/**
|
|
1162
|
-
* The category identifying the legal structure of the company or legal entity. See [Business structure](https://stripe.com/connect/identity-verification#business-structure) for more details. Pass an empty string to unset this value.
|
|
1001
|
+
* The category identifying the legal structure of the company or legal entity. See [Business structure](https://docs.stripe.com/connect/identity-verification#business-structure) for more details. Pass an empty string to unset this value.
|
|
1163
1002
|
*/
|
|
1164
1003
|
structure?: Stripe.Emptyable<Company.Structure>;
|
|
1165
1004
|
|
|
@@ -1288,16 +1127,6 @@ declare module 'stripe' {
|
|
|
1288
1127
|
}
|
|
1289
1128
|
|
|
1290
1129
|
interface Controller {
|
|
1291
|
-
/**
|
|
1292
|
-
* A hash of configuration describing the Connect application that controls the account.
|
|
1293
|
-
*/
|
|
1294
|
-
application?: Controller.Application;
|
|
1295
|
-
|
|
1296
|
-
/**
|
|
1297
|
-
* Properties of the account's dashboard.
|
|
1298
|
-
*/
|
|
1299
|
-
dashboard?: Controller.Dashboard;
|
|
1300
|
-
|
|
1301
1130
|
/**
|
|
1302
1131
|
* A hash of configuration for who pays Stripe fees for product usage on this account.
|
|
1303
1132
|
*/
|
|
@@ -1320,34 +1149,6 @@ declare module 'stripe' {
|
|
|
1320
1149
|
}
|
|
1321
1150
|
|
|
1322
1151
|
namespace Controller {
|
|
1323
|
-
interface Application {
|
|
1324
|
-
/**
|
|
1325
|
-
* Whether the controller is liable for losses on this account. For details, see [Understanding Connect Account Balances](https://stripe.com/docs/connect/account-balances).
|
|
1326
|
-
*/
|
|
1327
|
-
loss_liable: boolean;
|
|
1328
|
-
|
|
1329
|
-
/**
|
|
1330
|
-
* Whether the controller owns onboarding for this account.
|
|
1331
|
-
*/
|
|
1332
|
-
onboarding_owner?: boolean;
|
|
1333
|
-
|
|
1334
|
-
/**
|
|
1335
|
-
* Whether the controller has pricing controls for this account.
|
|
1336
|
-
*/
|
|
1337
|
-
pricing_controls?: boolean;
|
|
1338
|
-
}
|
|
1339
|
-
|
|
1340
|
-
interface Dashboard {
|
|
1341
|
-
/**
|
|
1342
|
-
* Whether this account should have access to the full Stripe Dashboard (`full`), to the Express Dashboard (`express`), or to no Stripe-hosted dashboard (`none`). Defaults to `full`.
|
|
1343
|
-
*/
|
|
1344
|
-
type?: Dashboard.Type;
|
|
1345
|
-
}
|
|
1346
|
-
|
|
1347
|
-
namespace Dashboard {
|
|
1348
|
-
type Type = 'express' | 'full' | 'none';
|
|
1349
|
-
}
|
|
1350
|
-
|
|
1351
1152
|
interface Fees {
|
|
1352
1153
|
/**
|
|
1353
1154
|
* A value indicating the responsible payer of Stripe fees on this account. Defaults to `account`. Learn more about [fee behavior on connected accounts](https://docs.stripe.com/connect/direct-charges-fee-payer-behavior).
|
|
@@ -1580,12 +1381,12 @@ declare module 'stripe' {
|
|
|
1580
1381
|
gender?: string;
|
|
1581
1382
|
|
|
1582
1383
|
/**
|
|
1583
|
-
* The government-issued ID number of the individual, as appropriate for the representative's country. (Examples are a Social Security Number in the U.S., or a Social Insurance Number in Canada). Instead of the number itself, you can also provide a [PII token created with Stripe.js](https://stripe.com/js/tokens/create_token?type=pii).
|
|
1384
|
+
* The government-issued ID number of the individual, as appropriate for the representative's country. (Examples are a Social Security Number in the U.S., or a Social Insurance Number in Canada). Instead of the number itself, you can also provide a [PII token created with Stripe.js](https://docs.stripe.com/js/tokens/create_token?type=pii).
|
|
1584
1385
|
*/
|
|
1585
1386
|
id_number?: string;
|
|
1586
1387
|
|
|
1587
1388
|
/**
|
|
1588
|
-
* The government-issued secondary ID number of the individual, as appropriate for the representative's country, will be used for enhanced verification checks. In Thailand, this would be the laser code found on the back of an ID card. Instead of the number itself, you can also provide a [PII token created with Stripe.js](https://stripe.com/js/tokens/create_token?type=pii).
|
|
1389
|
+
* The government-issued secondary ID number of the individual, as appropriate for the representative's country, will be used for enhanced verification checks. In Thailand, this would be the laser code found on the back of an ID card. Instead of the number itself, you can also provide a [PII token created with Stripe.js](https://docs.stripe.com/js/tokens/create_token?type=pii).
|
|
1589
1390
|
*/
|
|
1590
1391
|
id_number_secondary?: string;
|
|
1591
1392
|
|
|
@@ -1731,57 +1532,17 @@ declare module 'stripe' {
|
|
|
1731
1532
|
}
|
|
1732
1533
|
}
|
|
1733
1534
|
|
|
1734
|
-
interface RiskControls {
|
|
1735
|
-
/**
|
|
1736
|
-
* Represents the risk control status of charges. Please see [this page for more details](https://stripe.com/docs/connect/pausing-payments-or-payouts-on-connected-accounts).
|
|
1737
|
-
*/
|
|
1738
|
-
charges?: RiskControls.Charges;
|
|
1739
|
-
|
|
1740
|
-
/**
|
|
1741
|
-
* Represents the risk control status of payouts. Please see [this page for more details](https://stripe.com/docs/connect/pausing-payments-or-payouts-on-connected-accounts).
|
|
1742
|
-
*/
|
|
1743
|
-
payouts?: RiskControls.Payouts;
|
|
1744
|
-
}
|
|
1745
|
-
|
|
1746
|
-
namespace RiskControls {
|
|
1747
|
-
interface Charges {
|
|
1748
|
-
/**
|
|
1749
|
-
* To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
|
|
1750
|
-
* There can be a delay before the risk control is paused or unpaused.
|
|
1751
|
-
*/
|
|
1752
|
-
pause_requested?: boolean;
|
|
1753
|
-
}
|
|
1754
|
-
|
|
1755
|
-
interface Payouts {
|
|
1756
|
-
/**
|
|
1757
|
-
* To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
|
|
1758
|
-
* There can be a delay before the risk control is paused or unpaused.
|
|
1759
|
-
*/
|
|
1760
|
-
pause_requested?: boolean;
|
|
1761
|
-
}
|
|
1762
|
-
}
|
|
1763
|
-
|
|
1764
1535
|
interface Settings {
|
|
1765
1536
|
/**
|
|
1766
1537
|
* Settings specific to Bacs Direct Debit.
|
|
1767
1538
|
*/
|
|
1768
1539
|
bacs_debit_payments?: Settings.BacsDebitPayments;
|
|
1769
1540
|
|
|
1770
|
-
/**
|
|
1771
|
-
* Settings specific to bank BCA onboarding for Indonesia bank transfers payments method.
|
|
1772
|
-
*/
|
|
1773
|
-
bank_bca_onboarding?: Settings.BankBcaOnboarding;
|
|
1774
|
-
|
|
1775
1541
|
/**
|
|
1776
1542
|
* Settings used to apply the account's branding to email receipts, invoices, Checkout, and other products.
|
|
1777
1543
|
*/
|
|
1778
1544
|
branding?: Settings.Branding;
|
|
1779
1545
|
|
|
1780
|
-
/**
|
|
1781
|
-
* Settings specific to the account's use of the Capital product.
|
|
1782
|
-
*/
|
|
1783
|
-
capital?: Settings.Capital;
|
|
1784
|
-
|
|
1785
1546
|
/**
|
|
1786
1547
|
* Settings specific to the account's use of the Card Issuing product.
|
|
1787
1548
|
*/
|
|
@@ -1807,11 +1568,6 @@ declare module 'stripe' {
|
|
|
1807
1568
|
*/
|
|
1808
1569
|
payouts?: Settings.Payouts;
|
|
1809
1570
|
|
|
1810
|
-
/**
|
|
1811
|
-
* Settings specific to the account's tax forms.
|
|
1812
|
-
*/
|
|
1813
|
-
tax_forms?: Settings.TaxForms;
|
|
1814
|
-
|
|
1815
1571
|
/**
|
|
1816
1572
|
* Settings specific to the account's Treasury FinancialAccounts.
|
|
1817
1573
|
*/
|
|
@@ -1826,18 +1582,6 @@ declare module 'stripe' {
|
|
|
1826
1582
|
display_name?: string;
|
|
1827
1583
|
}
|
|
1828
1584
|
|
|
1829
|
-
interface BankBcaOnboarding {
|
|
1830
|
-
/**
|
|
1831
|
-
* Bank BCA business account holder name
|
|
1832
|
-
*/
|
|
1833
|
-
account_holder_name?: string;
|
|
1834
|
-
|
|
1835
|
-
/**
|
|
1836
|
-
* Bank BCA business account number
|
|
1837
|
-
*/
|
|
1838
|
-
business_account_number?: string;
|
|
1839
|
-
}
|
|
1840
|
-
|
|
1841
1585
|
interface Branding {
|
|
1842
1586
|
/**
|
|
1843
1587
|
* (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.
|
|
@@ -1860,25 +1604,9 @@ declare module 'stripe' {
|
|
|
1860
1604
|
secondary_color?: string;
|
|
1861
1605
|
}
|
|
1862
1606
|
|
|
1863
|
-
interface Capital {
|
|
1864
|
-
/**
|
|
1865
|
-
* Per-currency mapping of user-selected destination accounts used to pay out loans.
|
|
1866
|
-
*/
|
|
1867
|
-
payout_destination?: {
|
|
1868
|
-
[key: string]: string;
|
|
1869
|
-
};
|
|
1870
|
-
|
|
1871
|
-
/**
|
|
1872
|
-
* Per-currency mapping of all destination accounts eligible to receive Capital financing payouts.
|
|
1873
|
-
*/
|
|
1874
|
-
payout_destination_selector?: {
|
|
1875
|
-
[key: string]: Array<string>;
|
|
1876
|
-
};
|
|
1877
|
-
}
|
|
1878
|
-
|
|
1879
1607
|
interface CardIssuing {
|
|
1880
1608
|
/**
|
|
1881
|
-
* Details on the account's acceptance of the [Stripe Issuing Terms and Disclosures](https://stripe.com/issuing/connect/tos_acceptance).
|
|
1609
|
+
* Details on the account's acceptance of the [Stripe Issuing Terms and Disclosures](https://docs.stripe.com/issuing/connect/tos_acceptance).
|
|
1882
1610
|
*/
|
|
1883
1611
|
tos_acceptance?: CardIssuing.TosAcceptance;
|
|
1884
1612
|
}
|
|
@@ -1968,12 +1696,12 @@ declare module 'stripe' {
|
|
|
1968
1696
|
|
|
1969
1697
|
interface Payouts {
|
|
1970
1698
|
/**
|
|
1971
|
-
* A Boolean indicating whether Stripe should try to reclaim negative balances from an attached bank account. For details, see [Understanding Connect Account Balances](https://stripe.com/connect/account-balances).
|
|
1699
|
+
* A Boolean indicating whether Stripe should try to reclaim negative balances from an attached bank account. For details, see [Understanding Connect Account Balances](https://docs.stripe.com/connect/account-balances).
|
|
1972
1700
|
*/
|
|
1973
1701
|
debit_negative_balances?: boolean;
|
|
1974
1702
|
|
|
1975
1703
|
/**
|
|
1976
|
-
* Details on when funds from charges are available, and when they are paid out to an external account. For details, see our [Setting Bank and Debit Card Payouts](https://stripe.com/connect/bank-transfers#payout-information) documentation.
|
|
1704
|
+
* Details on when funds from charges are available, and when they are paid out to an external account. For details, see our [Setting Bank and Debit Card Payouts](https://docs.stripe.com/connect/bank-transfers#payout-information) documentation.
|
|
1977
1705
|
*/
|
|
1978
1706
|
schedule?: Payouts.Schedule;
|
|
1979
1707
|
|
|
@@ -1986,7 +1714,7 @@ declare module 'stripe' {
|
|
|
1986
1714
|
namespace Payouts {
|
|
1987
1715
|
interface Schedule {
|
|
1988
1716
|
/**
|
|
1989
|
-
* The number of days charge funds are held before being paid out. May also be set to `minimum`, representing the lowest available value for the account country. Default is `minimum`. The `delay_days` parameter remains at the last configured value if `interval` is `manual`. [Learn more about controlling payout delay days](https://stripe.com/connect/manage-payout-schedule).
|
|
1717
|
+
* The number of days charge funds are held before being paid out. May also be set to `minimum`, representing the lowest available value for the account country. Default is `minimum`. The `delay_days` parameter remains at the last configured value if `interval` is `manual`. [Learn more about controlling payout delay days](https://docs.stripe.com/connect/manage-payout-schedule).
|
|
1990
1718
|
*/
|
|
1991
1719
|
delay_days?: 'minimum' | number;
|
|
1992
1720
|
|
|
@@ -2020,13 +1748,6 @@ declare module 'stripe' {
|
|
|
2020
1748
|
}
|
|
2021
1749
|
}
|
|
2022
1750
|
|
|
2023
|
-
interface TaxForms {
|
|
2024
|
-
/**
|
|
2025
|
-
* Whether the account opted out of receiving their tax forms by postal delivery.
|
|
2026
|
-
*/
|
|
2027
|
-
consented_to_paperless_delivery?: boolean;
|
|
2028
|
-
}
|
|
2029
|
-
|
|
2030
1751
|
interface Treasury {
|
|
2031
1752
|
/**
|
|
2032
1753
|
* Details on the account's acceptance of the Stripe Treasury Services Agreement.
|
|
@@ -2098,7 +1819,7 @@ declare module 'stripe' {
|
|
|
2098
1819
|
business_profile?: AccountUpdateParams.BusinessProfile;
|
|
2099
1820
|
|
|
2100
1821
|
/**
|
|
2101
|
-
* The business type. Once you create an [Account Link](https://stripe.com/api/account_links) or [Account Session](https://stripe.com/api/account_sessions), this property can only be updated for accounts where [controller.requirement_collection](https://stripe.com/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts.
|
|
1822
|
+
* The business type. Once you create an [Account Link](https://docs.stripe.com/api/account_links) or [Account Session](https://docs.stripe.com/api/account_sessions), this property can only be updated for accounts where [controller.requirement_collection](https://docs.stripe.com/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts.
|
|
2102
1823
|
*/
|
|
2103
1824
|
business_type?: AccountUpdateParams.BusinessType;
|
|
2104
1825
|
|
|
@@ -2109,13 +1830,13 @@ declare module 'stripe' {
|
|
|
2109
1830
|
* requirements and Stripe has verified them. An account might have some
|
|
2110
1831
|
* of its requested capabilities be active and some be inactive.
|
|
2111
1832
|
*
|
|
2112
|
-
* Required when [account.controller.stripe_dashboard.type](https://stripe.com/api/accounts/create#create_account-controller-dashboard-type)
|
|
1833
|
+
* Required when [account.controller.stripe_dashboard.type](https://docs.stripe.com/api/accounts/create#create_account-controller-dashboard-type)
|
|
2113
1834
|
* is `none`, which includes Custom accounts.
|
|
2114
1835
|
*/
|
|
2115
1836
|
capabilities?: AccountUpdateParams.Capabilities;
|
|
2116
1837
|
|
|
2117
1838
|
/**
|
|
2118
|
-
* Information about the company or business. This field is available for any `business_type`. Once you create an [Account Link](https://stripe.com/api/account_links) or [Account Session](https://stripe.com/api/account_sessions), this property can only be updated for accounts where [controller.requirement_collection](https://stripe.com/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts.
|
|
1839
|
+
* Information about the company or business. This field is available for any `business_type`. Once you create an [Account Link](https://docs.stripe.com/api/account_links) or [Account Session](https://docs.stripe.com/api/account_sessions), this property can only be updated for accounts where [controller.requirement_collection](https://docs.stripe.com/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts.
|
|
2119
1840
|
*/
|
|
2120
1841
|
company?: AccountUpdateParams.Company;
|
|
2121
1842
|
|
|
@@ -2130,7 +1851,7 @@ declare module 'stripe' {
|
|
|
2130
1851
|
documents?: AccountUpdateParams.Documents;
|
|
2131
1852
|
|
|
2132
1853
|
/**
|
|
2133
|
-
* The email address of the account holder. This is only to make the account easier to identify to you. If [controller.requirement_collection](https://stripe.com/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts, Stripe doesn't email the account without your consent.
|
|
1854
|
+
* The email address of the account holder. This is only to make the account easier to identify to you. If [controller.requirement_collection](https://docs.stripe.com/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts, Stripe doesn't email the account without your consent.
|
|
2134
1855
|
*/
|
|
2135
1856
|
email?: string;
|
|
2136
1857
|
|
|
@@ -2140,9 +1861,9 @@ declare module 'stripe' {
|
|
|
2140
1861
|
expand?: Array<string>;
|
|
2141
1862
|
|
|
2142
1863
|
/**
|
|
2143
|
-
* A card or bank account to attach to the account for receiving [payouts](https://stripe.com/connect/bank-debit-card-payouts) (you won't be able to use it for top-ups). You can provide either a token, like the ones returned by [Stripe.js](https://stripe.com/js), or a dictionary, as documented in the `external_account` parameter for [bank account](https://stripe.com/api#account_create_bank_account) creation.
|
|
1864
|
+
* A card or bank account to attach to the account for receiving [payouts](https://docs.stripe.com/connect/bank-debit-card-payouts) (you won't be able to use it for top-ups). You can provide either a token, like the ones returned by [Stripe.js](https://docs.stripe.com/js), or a dictionary, as documented in the `external_account` parameter for [bank account](https://docs.stripe.com/api#account_create_bank_account) creation.
|
|
2144
1865
|
*
|
|
2145
|
-
* By default, providing an external account sets it as the new default external account for its currency, and deletes the old default if one exists. To add additional external accounts without replacing the existing default for the currency, use the [bank account](https://stripe.com/api#account_create_bank_account) or [card creation](https://stripe.com/api#account_create_card) APIs. After you create an [Account Link](https://stripe.com/api/account_links) or [Account Session](https://stripe.com/api/account_sessions), this property can only be updated for accounts where [controller.requirement_collection](https://stripe.com/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts.
|
|
1866
|
+
* By default, providing an external account sets it as the new default external account for its currency, and deletes the old default if one exists. To add additional external accounts without replacing the existing default for the currency, use the [bank account](https://docs.stripe.com/api#account_create_bank_account) or [card creation](https://docs.stripe.com/api#account_create_card) APIs. After you create an [Account Link](https://docs.stripe.com/api/account_links) or [Account Session](https://docs.stripe.com/api/account_sessions), this property can only be updated for accounts where [controller.requirement_collection](https://docs.stripe.com/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts.
|
|
2146
1867
|
*/
|
|
2147
1868
|
external_account?: Stripe.Emptyable<
|
|
2148
1869
|
| string
|
|
@@ -2157,7 +1878,7 @@ declare module 'stripe' {
|
|
|
2157
1878
|
groups?: AccountUpdateParams.Groups;
|
|
2158
1879
|
|
|
2159
1880
|
/**
|
|
2160
|
-
* Information about the person represented by the account. This field is null unless `business_type` is set to `individual`. Once you create an [Account Link](https://stripe.com/api/account_links) or [Account Session](https://stripe.com/api/account_sessions), this property can only be updated for accounts where [controller.requirement_collection](https://stripe.com/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts.
|
|
1881
|
+
* Information about the person represented by the account. This field is null unless `business_type` is set to `individual`. Once you create an [Account Link](https://docs.stripe.com/api/account_links) or [Account Session](https://docs.stripe.com/api/account_sessions), this property can only be updated for accounts where [controller.requirement_collection](https://docs.stripe.com/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts.
|
|
2161
1882
|
*/
|
|
2162
1883
|
individual?: AccountUpdateParams.Individual;
|
|
2163
1884
|
|
|
@@ -2166,18 +1887,13 @@ declare module 'stripe' {
|
|
|
2166
1887
|
*/
|
|
2167
1888
|
metadata?: Stripe.Emptyable<Stripe.MetadataParam>;
|
|
2168
1889
|
|
|
2169
|
-
/**
|
|
2170
|
-
* A hash to configure risk controls on the account. Please see [this page for more details](https://stripe.com/connect/pausing-payments-or-payouts-on-connected-accounts).
|
|
2171
|
-
*/
|
|
2172
|
-
risk_controls?: AccountUpdateParams.RiskControls;
|
|
2173
|
-
|
|
2174
1890
|
/**
|
|
2175
1891
|
* Options for customizing how the account functions within Stripe.
|
|
2176
1892
|
*/
|
|
2177
1893
|
settings?: AccountUpdateParams.Settings;
|
|
2178
1894
|
|
|
2179
1895
|
/**
|
|
2180
|
-
* Details on the account's acceptance of the [Stripe Services Agreement](https://stripe.com/connect/updating-accounts#tos-acceptance). This property can only be updated for accounts where [controller.requirement_collection](https://stripe.com/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts. This property defaults to a `full` service agreement when empty.
|
|
1896
|
+
* Details on the account's acceptance of the [Stripe Services Agreement](https://docs.stripe.com/connect/updating-accounts#tos-acceptance). This property can only be updated for accounts where [controller.requirement_collection](https://docs.stripe.com/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts. This property defaults to a `full` service agreement when empty.
|
|
2181
1897
|
*/
|
|
2182
1898
|
tos_acceptance?: AccountUpdateParams.TosAcceptance;
|
|
2183
1899
|
}
|
|
@@ -2233,7 +1949,7 @@ declare module 'stripe' {
|
|
|
2233
1949
|
estimated_worker_count?: number;
|
|
2234
1950
|
|
|
2235
1951
|
/**
|
|
2236
|
-
* [The merchant category code for the account](https://stripe.com/connect/setting-mcc). MCCs are used to classify businesses based on the goods or services they provide.
|
|
1952
|
+
* [The merchant category code for the account](https://docs.stripe.com/connect/setting-mcc). MCCs are used to classify businesses based on the goods or services they provide.
|
|
2237
1953
|
*/
|
|
2238
1954
|
mcc?: string;
|
|
2239
1955
|
|
|
@@ -2288,7 +2004,7 @@ declare module 'stripe' {
|
|
|
2288
2004
|
namespace BusinessProfile {
|
|
2289
2005
|
interface AnnualRevenue {
|
|
2290
2006
|
/**
|
|
2291
|
-
* A non-negative integer representing the amount in the [smallest currency unit](https://stripe.com/currencies#zero-decimal).
|
|
2007
|
+
* A non-negative integer representing the amount in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal).
|
|
2292
2008
|
*/
|
|
2293
2009
|
amount: number;
|
|
2294
2010
|
|
|
@@ -2312,7 +2028,7 @@ declare module 'stripe' {
|
|
|
2312
2028
|
|
|
2313
2029
|
interface MonthlyEstimatedRevenue {
|
|
2314
2030
|
/**
|
|
2315
|
-
* A non-negative integer representing how much to charge in the [smallest currency unit](https://stripe.com/currencies#zero-decimal).
|
|
2031
|
+
* A non-negative integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal).
|
|
2316
2032
|
*/
|
|
2317
2033
|
amount: number;
|
|
2318
2034
|
|
|
@@ -2360,11 +2076,6 @@ declare module 'stripe' {
|
|
|
2360
2076
|
*/
|
|
2361
2077
|
au_becs_debit_payments?: Capabilities.AuBecsDebitPayments;
|
|
2362
2078
|
|
|
2363
|
-
/**
|
|
2364
|
-
* The automatic_indirect_tax capability.
|
|
2365
|
-
*/
|
|
2366
|
-
automatic_indirect_tax?: Capabilities.AutomaticIndirectTax;
|
|
2367
|
-
|
|
2368
2079
|
/**
|
|
2369
2080
|
* The bacs_debit_payments capability.
|
|
2370
2081
|
*/
|
|
@@ -2435,26 +2146,11 @@ declare module 'stripe' {
|
|
|
2435
2146
|
*/
|
|
2436
2147
|
giropay_payments?: Capabilities.GiropayPayments;
|
|
2437
2148
|
|
|
2438
|
-
/**
|
|
2439
|
-
* The gopay_payments capability.
|
|
2440
|
-
*/
|
|
2441
|
-
gopay_payments?: Capabilities.GopayPayments;
|
|
2442
|
-
|
|
2443
2149
|
/**
|
|
2444
2150
|
* The grabpay_payments capability.
|
|
2445
2151
|
*/
|
|
2446
2152
|
grabpay_payments?: Capabilities.GrabpayPayments;
|
|
2447
2153
|
|
|
2448
|
-
/**
|
|
2449
|
-
* The id_bank_transfer_payments capability.
|
|
2450
|
-
*/
|
|
2451
|
-
id_bank_transfer_payments?: Capabilities.IdBankTransferPayments;
|
|
2452
|
-
|
|
2453
|
-
/**
|
|
2454
|
-
* The id_bank_transfer_payments_bca capability.
|
|
2455
|
-
*/
|
|
2456
|
-
id_bank_transfer_payments_bca?: Capabilities.IdBankTransferPaymentsBca;
|
|
2457
|
-
|
|
2458
2154
|
/**
|
|
2459
2155
|
* The ideal_payments capability.
|
|
2460
2156
|
*/
|
|
@@ -2505,11 +2201,6 @@ declare module 'stripe' {
|
|
|
2505
2201
|
*/
|
|
2506
2202
|
link_payments?: Capabilities.LinkPayments;
|
|
2507
2203
|
|
|
2508
|
-
/**
|
|
2509
|
-
* The mb_way_payments capability.
|
|
2510
|
-
*/
|
|
2511
|
-
mb_way_payments?: Capabilities.MbWayPayments;
|
|
2512
|
-
|
|
2513
2204
|
/**
|
|
2514
2205
|
* The mobilepay_payments capability.
|
|
2515
2206
|
*/
|
|
@@ -2561,30 +2252,15 @@ declare module 'stripe' {
|
|
|
2561
2252
|
paynow_payments?: Capabilities.PaynowPayments;
|
|
2562
2253
|
|
|
2563
2254
|
/**
|
|
2564
|
-
* The
|
|
2565
|
-
*/
|
|
2566
|
-
paypal_payments?: Capabilities.PaypalPayments;
|
|
2567
|
-
|
|
2568
|
-
/**
|
|
2569
|
-
* The payto_payments capability.
|
|
2255
|
+
* The pix_payments capability.
|
|
2570
2256
|
*/
|
|
2571
|
-
|
|
2257
|
+
pix_payments?: Capabilities.PixPayments;
|
|
2572
2258
|
|
|
2573
2259
|
/**
|
|
2574
2260
|
* The promptpay_payments capability.
|
|
2575
2261
|
*/
|
|
2576
2262
|
promptpay_payments?: Capabilities.PromptpayPayments;
|
|
2577
2263
|
|
|
2578
|
-
/**
|
|
2579
|
-
* The qris_payments capability.
|
|
2580
|
-
*/
|
|
2581
|
-
qris_payments?: Capabilities.QrisPayments;
|
|
2582
|
-
|
|
2583
|
-
/**
|
|
2584
|
-
* The rechnung_payments capability.
|
|
2585
|
-
*/
|
|
2586
|
-
rechnung_payments?: Capabilities.RechnungPayments;
|
|
2587
|
-
|
|
2588
2264
|
/**
|
|
2589
2265
|
* The revolut_pay_payments capability.
|
|
2590
2266
|
*/
|
|
@@ -2610,21 +2286,11 @@ declare module 'stripe' {
|
|
|
2610
2286
|
*/
|
|
2611
2287
|
sepa_debit_payments?: Capabilities.SepaDebitPayments;
|
|
2612
2288
|
|
|
2613
|
-
/**
|
|
2614
|
-
* The shopeepay_payments capability.
|
|
2615
|
-
*/
|
|
2616
|
-
shopeepay_payments?: Capabilities.ShopeepayPayments;
|
|
2617
|
-
|
|
2618
2289
|
/**
|
|
2619
2290
|
* The sofort_payments capability.
|
|
2620
2291
|
*/
|
|
2621
2292
|
sofort_payments?: Capabilities.SofortPayments;
|
|
2622
2293
|
|
|
2623
|
-
/**
|
|
2624
|
-
* The stripe_balance_payments capability.
|
|
2625
|
-
*/
|
|
2626
|
-
stripe_balance_payments?: Capabilities.StripeBalancePayments;
|
|
2627
|
-
|
|
2628
2294
|
/**
|
|
2629
2295
|
* The swish_payments capability.
|
|
2630
2296
|
*/
|
|
@@ -2650,21 +2316,6 @@ declare module 'stripe' {
|
|
|
2650
2316
|
*/
|
|
2651
2317
|
treasury?: Capabilities.Treasury;
|
|
2652
2318
|
|
|
2653
|
-
/**
|
|
2654
|
-
* The treasury_evolve capability.
|
|
2655
|
-
*/
|
|
2656
|
-
treasury_evolve?: Capabilities.TreasuryEvolve;
|
|
2657
|
-
|
|
2658
|
-
/**
|
|
2659
|
-
* The treasury_fifth_third capability.
|
|
2660
|
-
*/
|
|
2661
|
-
treasury_fifth_third?: Capabilities.TreasuryFifthThird;
|
|
2662
|
-
|
|
2663
|
-
/**
|
|
2664
|
-
* The treasury_goldman_sachs capability.
|
|
2665
|
-
*/
|
|
2666
|
-
treasury_goldman_sachs?: Capabilities.TreasuryGoldmanSachs;
|
|
2667
|
-
|
|
2668
2319
|
/**
|
|
2669
2320
|
* The twint_payments capability.
|
|
2670
2321
|
*/
|
|
@@ -2729,13 +2380,6 @@ declare module 'stripe' {
|
|
|
2729
2380
|
requested?: boolean;
|
|
2730
2381
|
}
|
|
2731
2382
|
|
|
2732
|
-
interface AutomaticIndirectTax {
|
|
2733
|
-
/**
|
|
2734
|
-
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
2735
|
-
*/
|
|
2736
|
-
requested?: boolean;
|
|
2737
|
-
}
|
|
2738
|
-
|
|
2739
2383
|
interface BacsDebitPayments {
|
|
2740
2384
|
/**
|
|
2741
2385
|
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
@@ -2834,13 +2478,6 @@ declare module 'stripe' {
|
|
|
2834
2478
|
requested?: boolean;
|
|
2835
2479
|
}
|
|
2836
2480
|
|
|
2837
|
-
interface GopayPayments {
|
|
2838
|
-
/**
|
|
2839
|
-
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
2840
|
-
*/
|
|
2841
|
-
requested?: boolean;
|
|
2842
|
-
}
|
|
2843
|
-
|
|
2844
2481
|
interface GrabpayPayments {
|
|
2845
2482
|
/**
|
|
2846
2483
|
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
@@ -2848,20 +2485,6 @@ declare module 'stripe' {
|
|
|
2848
2485
|
requested?: boolean;
|
|
2849
2486
|
}
|
|
2850
2487
|
|
|
2851
|
-
interface IdBankTransferPayments {
|
|
2852
|
-
/**
|
|
2853
|
-
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
2854
|
-
*/
|
|
2855
|
-
requested?: boolean;
|
|
2856
|
-
}
|
|
2857
|
-
|
|
2858
|
-
interface IdBankTransferPaymentsBca {
|
|
2859
|
-
/**
|
|
2860
|
-
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
2861
|
-
*/
|
|
2862
|
-
requested?: boolean;
|
|
2863
|
-
}
|
|
2864
|
-
|
|
2865
2488
|
interface IdealPayments {
|
|
2866
2489
|
/**
|
|
2867
2490
|
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
@@ -2932,13 +2555,6 @@ declare module 'stripe' {
|
|
|
2932
2555
|
requested?: boolean;
|
|
2933
2556
|
}
|
|
2934
2557
|
|
|
2935
|
-
interface MbWayPayments {
|
|
2936
|
-
/**
|
|
2937
|
-
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
2938
|
-
*/
|
|
2939
|
-
requested?: boolean;
|
|
2940
|
-
}
|
|
2941
|
-
|
|
2942
2558
|
interface MobilepayPayments {
|
|
2943
2559
|
/**
|
|
2944
2560
|
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
@@ -3009,14 +2625,7 @@ declare module 'stripe' {
|
|
|
3009
2625
|
requested?: boolean;
|
|
3010
2626
|
}
|
|
3011
2627
|
|
|
3012
|
-
interface
|
|
3013
|
-
/**
|
|
3014
|
-
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
3015
|
-
*/
|
|
3016
|
-
requested?: boolean;
|
|
3017
|
-
}
|
|
3018
|
-
|
|
3019
|
-
interface PaytoPayments {
|
|
2628
|
+
interface PixPayments {
|
|
3020
2629
|
/**
|
|
3021
2630
|
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
3022
2631
|
*/
|
|
@@ -3030,20 +2639,6 @@ declare module 'stripe' {
|
|
|
3030
2639
|
requested?: boolean;
|
|
3031
2640
|
}
|
|
3032
2641
|
|
|
3033
|
-
interface QrisPayments {
|
|
3034
|
-
/**
|
|
3035
|
-
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
3036
|
-
*/
|
|
3037
|
-
requested?: boolean;
|
|
3038
|
-
}
|
|
3039
|
-
|
|
3040
|
-
interface RechnungPayments {
|
|
3041
|
-
/**
|
|
3042
|
-
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
3043
|
-
*/
|
|
3044
|
-
requested?: boolean;
|
|
3045
|
-
}
|
|
3046
|
-
|
|
3047
2642
|
interface RevolutPayPayments {
|
|
3048
2643
|
/**
|
|
3049
2644
|
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
@@ -3079,13 +2674,6 @@ declare module 'stripe' {
|
|
|
3079
2674
|
requested?: boolean;
|
|
3080
2675
|
}
|
|
3081
2676
|
|
|
3082
|
-
interface ShopeepayPayments {
|
|
3083
|
-
/**
|
|
3084
|
-
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
3085
|
-
*/
|
|
3086
|
-
requested?: boolean;
|
|
3087
|
-
}
|
|
3088
|
-
|
|
3089
2677
|
interface SofortPayments {
|
|
3090
2678
|
/**
|
|
3091
2679
|
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
@@ -3093,13 +2681,6 @@ declare module 'stripe' {
|
|
|
3093
2681
|
requested?: boolean;
|
|
3094
2682
|
}
|
|
3095
2683
|
|
|
3096
|
-
interface StripeBalancePayments {
|
|
3097
|
-
/**
|
|
3098
|
-
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
3099
|
-
*/
|
|
3100
|
-
requested?: boolean;
|
|
3101
|
-
}
|
|
3102
|
-
|
|
3103
2684
|
interface SwishPayments {
|
|
3104
2685
|
/**
|
|
3105
2686
|
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
@@ -3135,27 +2716,6 @@ declare module 'stripe' {
|
|
|
3135
2716
|
requested?: boolean;
|
|
3136
2717
|
}
|
|
3137
2718
|
|
|
3138
|
-
interface TreasuryEvolve {
|
|
3139
|
-
/**
|
|
3140
|
-
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
3141
|
-
*/
|
|
3142
|
-
requested?: boolean;
|
|
3143
|
-
}
|
|
3144
|
-
|
|
3145
|
-
interface TreasuryFifthThird {
|
|
3146
|
-
/**
|
|
3147
|
-
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
3148
|
-
*/
|
|
3149
|
-
requested?: boolean;
|
|
3150
|
-
}
|
|
3151
|
-
|
|
3152
|
-
interface TreasuryGoldmanSachs {
|
|
3153
|
-
/**
|
|
3154
|
-
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
3155
|
-
*/
|
|
3156
|
-
requested?: boolean;
|
|
3157
|
-
}
|
|
3158
|
-
|
|
3159
2719
|
interface TwintPayments {
|
|
3160
2720
|
/**
|
|
3161
2721
|
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
@@ -3245,7 +2805,7 @@ declare module 'stripe' {
|
|
|
3245
2805
|
address_kanji?: Stripe.JapanAddressParam;
|
|
3246
2806
|
|
|
3247
2807
|
/**
|
|
3248
|
-
* Whether the company's directors have been provided. Set this Boolean to `true` after creating all the company's directors with [the Persons API](https://stripe.com/api/persons) for accounts with a `relationship.director` requirement. This value is not automatically set to `true` after creating directors, so it needs to be updated to indicate all directors have been provided.
|
|
2808
|
+
* Whether the company's directors have been provided. Set this Boolean to `true` after creating all the company's directors with [the Persons API](https://docs.stripe.com/api/persons) for accounts with a `relationship.director` requirement. This value is not automatically set to `true` after creating directors, so it needs to be updated to indicate all directors have been provided.
|
|
3249
2809
|
*/
|
|
3250
2810
|
directors_provided?: boolean;
|
|
3251
2811
|
|
|
@@ -3255,7 +2815,7 @@ declare module 'stripe' {
|
|
|
3255
2815
|
directorship_declaration?: Company.DirectorshipDeclaration;
|
|
3256
2816
|
|
|
3257
2817
|
/**
|
|
3258
|
-
* Whether the company's executives have been provided. Set this Boolean to `true` after creating all the company's executives with [the Persons API](https://stripe.com/api/persons) for accounts with a `relationship.executive` requirement.
|
|
2818
|
+
* Whether the company's executives have been provided. Set this Boolean to `true` after creating all the company's executives with [the Persons API](https://docs.stripe.com/api/persons) for accounts with a `relationship.executive` requirement.
|
|
3259
2819
|
*/
|
|
3260
2820
|
executives_provided?: boolean;
|
|
3261
2821
|
|
|
@@ -3285,7 +2845,7 @@ declare module 'stripe' {
|
|
|
3285
2845
|
name_kanji?: string;
|
|
3286
2846
|
|
|
3287
2847
|
/**
|
|
3288
|
-
* Whether the company's owners have been provided. Set this Boolean to `true` after creating all the company's owners with [the Persons API](https://stripe.com/api/persons) for accounts with a `relationship.owner` requirement.
|
|
2848
|
+
* Whether the company's owners have been provided. Set this Boolean to `true` after creating all the company's owners with [the Persons API](https://docs.stripe.com/api/persons) for accounts with a `relationship.owner` requirement.
|
|
3289
2849
|
*/
|
|
3290
2850
|
owners_provided?: boolean;
|
|
3291
2851
|
|
|
@@ -3314,7 +2874,7 @@ declare module 'stripe' {
|
|
|
3314
2874
|
registration_number?: string;
|
|
3315
2875
|
|
|
3316
2876
|
/**
|
|
3317
|
-
* The category identifying the legal structure of the company or legal entity. See [Business structure](https://stripe.com/connect/identity-verification#business-structure) for more details. Pass an empty string to unset this value.
|
|
2877
|
+
* The category identifying the legal structure of the company or legal entity. See [Business structure](https://docs.stripe.com/connect/identity-verification#business-structure) for more details. Pass an empty string to unset this value.
|
|
3318
2878
|
*/
|
|
3319
2879
|
structure?: Stripe.Emptyable<Company.Structure>;
|
|
3320
2880
|
|
|
@@ -3601,12 +3161,12 @@ declare module 'stripe' {
|
|
|
3601
3161
|
gender?: string;
|
|
3602
3162
|
|
|
3603
3163
|
/**
|
|
3604
|
-
* The government-issued ID number of the individual, as appropriate for the representative's country. (Examples are a Social Security Number in the U.S., or a Social Insurance Number in Canada). Instead of the number itself, you can also provide a [PII token created with Stripe.js](https://stripe.com/js/tokens/create_token?type=pii).
|
|
3164
|
+
* The government-issued ID number of the individual, as appropriate for the representative's country. (Examples are a Social Security Number in the U.S., or a Social Insurance Number in Canada). Instead of the number itself, you can also provide a [PII token created with Stripe.js](https://docs.stripe.com/js/tokens/create_token?type=pii).
|
|
3605
3165
|
*/
|
|
3606
3166
|
id_number?: string;
|
|
3607
3167
|
|
|
3608
3168
|
/**
|
|
3609
|
-
* The government-issued secondary ID number of the individual, as appropriate for the representative's country, will be used for enhanced verification checks. In Thailand, this would be the laser code found on the back of an ID card. Instead of the number itself, you can also provide a [PII token created with Stripe.js](https://stripe.com/js/tokens/create_token?type=pii).
|
|
3169
|
+
* The government-issued secondary ID number of the individual, as appropriate for the representative's country, will be used for enhanced verification checks. In Thailand, this would be the laser code found on the back of an ID card. Instead of the number itself, you can also provide a [PII token created with Stripe.js](https://docs.stripe.com/js/tokens/create_token?type=pii).
|
|
3610
3170
|
*/
|
|
3611
3171
|
id_number_secondary?: string;
|
|
3612
3172
|
|
|
@@ -3752,57 +3312,17 @@ declare module 'stripe' {
|
|
|
3752
3312
|
}
|
|
3753
3313
|
}
|
|
3754
3314
|
|
|
3755
|
-
interface RiskControls {
|
|
3756
|
-
/**
|
|
3757
|
-
* Represents the risk control status of charges. Please see [this page for more details](https://stripe.com/docs/connect/pausing-payments-or-payouts-on-connected-accounts).
|
|
3758
|
-
*/
|
|
3759
|
-
charges?: RiskControls.Charges;
|
|
3760
|
-
|
|
3761
|
-
/**
|
|
3762
|
-
* Represents the risk control status of payouts. Please see [this page for more details](https://stripe.com/docs/connect/pausing-payments-or-payouts-on-connected-accounts).
|
|
3763
|
-
*/
|
|
3764
|
-
payouts?: RiskControls.Payouts;
|
|
3765
|
-
}
|
|
3766
|
-
|
|
3767
|
-
namespace RiskControls {
|
|
3768
|
-
interface Charges {
|
|
3769
|
-
/**
|
|
3770
|
-
* To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
|
|
3771
|
-
* There can be a delay before the risk control is paused or unpaused.
|
|
3772
|
-
*/
|
|
3773
|
-
pause_requested?: boolean;
|
|
3774
|
-
}
|
|
3775
|
-
|
|
3776
|
-
interface Payouts {
|
|
3777
|
-
/**
|
|
3778
|
-
* To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
|
|
3779
|
-
* There can be a delay before the risk control is paused or unpaused.
|
|
3780
|
-
*/
|
|
3781
|
-
pause_requested?: boolean;
|
|
3782
|
-
}
|
|
3783
|
-
}
|
|
3784
|
-
|
|
3785
3315
|
interface Settings {
|
|
3786
3316
|
/**
|
|
3787
3317
|
* Settings specific to Bacs Direct Debit payments.
|
|
3788
3318
|
*/
|
|
3789
3319
|
bacs_debit_payments?: Settings.BacsDebitPayments;
|
|
3790
3320
|
|
|
3791
|
-
/**
|
|
3792
|
-
* Settings specific to bank BCA onboarding for Indonesia bank transfers payments method.
|
|
3793
|
-
*/
|
|
3794
|
-
bank_bca_onboarding?: Settings.BankBcaOnboarding;
|
|
3795
|
-
|
|
3796
3321
|
/**
|
|
3797
3322
|
* Settings used to apply the account's branding to email receipts, invoices, Checkout, and other products.
|
|
3798
3323
|
*/
|
|
3799
3324
|
branding?: Settings.Branding;
|
|
3800
3325
|
|
|
3801
|
-
/**
|
|
3802
|
-
* Settings specific to the account's use of the Capital product.
|
|
3803
|
-
*/
|
|
3804
|
-
capital?: Settings.Capital;
|
|
3805
|
-
|
|
3806
3326
|
/**
|
|
3807
3327
|
* Settings specific to the account's use of the Card Issuing product.
|
|
3808
3328
|
*/
|
|
@@ -3828,11 +3348,6 @@ declare module 'stripe' {
|
|
|
3828
3348
|
*/
|
|
3829
3349
|
payouts?: Settings.Payouts;
|
|
3830
3350
|
|
|
3831
|
-
/**
|
|
3832
|
-
* Settings specific to the account's tax forms.
|
|
3833
|
-
*/
|
|
3834
|
-
tax_forms?: Settings.TaxForms;
|
|
3835
|
-
|
|
3836
3351
|
/**
|
|
3837
3352
|
* Settings specific to the account's Treasury FinancialAccounts.
|
|
3838
3353
|
*/
|
|
@@ -3847,18 +3362,6 @@ declare module 'stripe' {
|
|
|
3847
3362
|
display_name?: string;
|
|
3848
3363
|
}
|
|
3849
3364
|
|
|
3850
|
-
interface BankBcaOnboarding {
|
|
3851
|
-
/**
|
|
3852
|
-
* Bank BCA business account holder name
|
|
3853
|
-
*/
|
|
3854
|
-
account_holder_name?: string;
|
|
3855
|
-
|
|
3856
|
-
/**
|
|
3857
|
-
* Bank BCA business account number
|
|
3858
|
-
*/
|
|
3859
|
-
business_account_number?: string;
|
|
3860
|
-
}
|
|
3861
|
-
|
|
3862
3365
|
interface Branding {
|
|
3863
3366
|
/**
|
|
3864
3367
|
* (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.
|
|
@@ -3881,25 +3384,9 @@ declare module 'stripe' {
|
|
|
3881
3384
|
secondary_color?: string;
|
|
3882
3385
|
}
|
|
3883
3386
|
|
|
3884
|
-
interface Capital {
|
|
3885
|
-
/**
|
|
3886
|
-
* Per-currency mapping of user-selected destination accounts used to pay out loans.
|
|
3887
|
-
*/
|
|
3888
|
-
payout_destination?: {
|
|
3889
|
-
[key: string]: string;
|
|
3890
|
-
};
|
|
3891
|
-
|
|
3892
|
-
/**
|
|
3893
|
-
* Per-currency mapping of all destination accounts eligible to receive Capital financing payouts.
|
|
3894
|
-
*/
|
|
3895
|
-
payout_destination_selector?: {
|
|
3896
|
-
[key: string]: Array<string>;
|
|
3897
|
-
};
|
|
3898
|
-
}
|
|
3899
|
-
|
|
3900
3387
|
interface CardIssuing {
|
|
3901
3388
|
/**
|
|
3902
|
-
* Details on the account's acceptance of the [Stripe Issuing Terms and Disclosures](https://stripe.com/issuing/connect/tos_acceptance).
|
|
3389
|
+
* Details on the account's acceptance of the [Stripe Issuing Terms and Disclosures](https://docs.stripe.com/issuing/connect/tos_acceptance).
|
|
3903
3390
|
*/
|
|
3904
3391
|
tos_acceptance?: CardIssuing.TosAcceptance;
|
|
3905
3392
|
}
|
|
@@ -3994,12 +3481,12 @@ declare module 'stripe' {
|
|
|
3994
3481
|
|
|
3995
3482
|
interface Payouts {
|
|
3996
3483
|
/**
|
|
3997
|
-
* A Boolean indicating whether Stripe should try to reclaim negative balances from an attached bank account. For details, see [Understanding Connect Account Balances](https://stripe.com/connect/account-balances).
|
|
3484
|
+
* A Boolean indicating whether Stripe should try to reclaim negative balances from an attached bank account. For details, see [Understanding Connect Account Balances](https://docs.stripe.com/connect/account-balances).
|
|
3998
3485
|
*/
|
|
3999
3486
|
debit_negative_balances?: boolean;
|
|
4000
3487
|
|
|
4001
3488
|
/**
|
|
4002
|
-
* Details on when funds from charges are available, and when they are paid out to an external account. For details, see our [Setting Bank and Debit Card Payouts](https://stripe.com/connect/bank-transfers#payout-information) documentation.
|
|
3489
|
+
* Details on when funds from charges are available, and when they are paid out to an external account. For details, see our [Setting Bank and Debit Card Payouts](https://docs.stripe.com/connect/bank-transfers#payout-information) documentation.
|
|
4003
3490
|
*/
|
|
4004
3491
|
schedule?: Payouts.Schedule;
|
|
4005
3492
|
|
|
@@ -4012,7 +3499,7 @@ declare module 'stripe' {
|
|
|
4012
3499
|
namespace Payouts {
|
|
4013
3500
|
interface Schedule {
|
|
4014
3501
|
/**
|
|
4015
|
-
* The number of days charge funds are held before being paid out. May also be set to `minimum`, representing the lowest available value for the account country. Default is `minimum`. The `delay_days` parameter remains at the last configured value if `interval` is `manual`. [Learn more about controlling payout delay days](https://stripe.com/connect/manage-payout-schedule).
|
|
3502
|
+
* The number of days charge funds are held before being paid out. May also be set to `minimum`, representing the lowest available value for the account country. Default is `minimum`. The `delay_days` parameter remains at the last configured value if `interval` is `manual`. [Learn more about controlling payout delay days](https://docs.stripe.com/connect/manage-payout-schedule).
|
|
4016
3503
|
*/
|
|
4017
3504
|
delay_days?: 'minimum' | number;
|
|
4018
3505
|
|
|
@@ -4046,13 +3533,6 @@ declare module 'stripe' {
|
|
|
4046
3533
|
}
|
|
4047
3534
|
}
|
|
4048
3535
|
|
|
4049
|
-
interface TaxForms {
|
|
4050
|
-
/**
|
|
4051
|
-
* Whether the account opted out of receiving their tax forms by postal delivery.
|
|
4052
|
-
*/
|
|
4053
|
-
consented_to_paperless_delivery?: boolean;
|
|
4054
|
-
}
|
|
4055
|
-
|
|
4056
3536
|
interface Treasury {
|
|
4057
3537
|
/**
|
|
4058
3538
|
* Details on the account's acceptance of the Stripe Treasury Services Agreement.
|
|
@@ -5258,10 +4738,10 @@ declare module 'stripe' {
|
|
|
5258
4738
|
|
|
5259
4739
|
class AccountsResource {
|
|
5260
4740
|
/**
|
|
5261
|
-
* With [Connect](https://stripe.com/docs/connect), you can create Stripe accounts for your users.
|
|
4741
|
+
* With [Connect](https://docs.stripe.com/docs/connect), you can create Stripe accounts for your users.
|
|
5262
4742
|
* To do this, you'll first need to [register your platform](https://dashboard.stripe.com/account/applications/settings).
|
|
5263
4743
|
*
|
|
5264
|
-
* If you've already collected information for your connected accounts, you [can prefill that information](https://stripe.com/docs/connect/best-practices#onboarding) when
|
|
4744
|
+
* If you've already collected information for your connected accounts, you [can prefill that information](https://docs.stripe.com/docs/connect/best-practices#onboarding) when
|
|
5265
4745
|
* creating the account. Connect Onboarding won't ask for the prefilled information during account onboarding.
|
|
5266
4746
|
* You can prefill any information on the account.
|
|
5267
4747
|
*/
|
|
@@ -5298,19 +4778,19 @@ declare module 'stripe' {
|
|
|
5298
4778
|
): Promise<Stripe.Response<Stripe.Account>>;
|
|
5299
4779
|
|
|
5300
4780
|
/**
|
|
5301
|
-
* Updates a [connected account](https://stripe.com/connect/accounts) by setting the values of the parameters passed. Any parameters not provided are
|
|
4781
|
+
* Updates a [connected account](https://docs.stripe.com/connect/accounts) by setting the values of the parameters passed. Any parameters not provided are
|
|
5302
4782
|
* left unchanged.
|
|
5303
4783
|
*
|
|
5304
|
-
* For accounts where [controller.requirement_collection](https://stripe.com/api/accounts/object#account_object-controller-requirement_collection)
|
|
4784
|
+
* For accounts where [controller.requirement_collection](https://docs.stripe.com/api/accounts/object#account_object-controller-requirement_collection)
|
|
5305
4785
|
* is application, which includes Custom accounts, you can update any information on the account.
|
|
5306
4786
|
*
|
|
5307
|
-
* For accounts where [controller.requirement_collection](https://stripe.com/api/accounts/object#account_object-controller-requirement_collection)
|
|
4787
|
+
* For accounts where [controller.requirement_collection](https://docs.stripe.com/api/accounts/object#account_object-controller-requirement_collection)
|
|
5308
4788
|
* is stripe, which includes Standard and Express accounts, you can update all information until you create
|
|
5309
|
-
* an [Account Link or <a href="/api/account_sessions">Account Session](https://stripe.com/api/account_links) to start Connect onboarding,
|
|
4789
|
+
* an [Account Link or <a href="/api/account_sessions">Account Session](https://docs.stripe.com/api/account_links) to start Connect onboarding,
|
|
5310
4790
|
* after which some properties can no longer be updated.
|
|
5311
4791
|
*
|
|
5312
4792
|
* To update your own account, use the [Dashboard](https://dashboard.stripe.com/settings/account). Refer to our
|
|
5313
|
-
* [Connect](https://stripe.com/docs/connect/updating-accounts) documentation to learn more about updating accounts.
|
|
4793
|
+
* [Connect](https://docs.stripe.com/docs/connect/updating-accounts) documentation to learn more about updating accounts.
|
|
5314
4794
|
*/
|
|
5315
4795
|
update(
|
|
5316
4796
|
id: string,
|
|
@@ -5319,7 +4799,7 @@ declare module 'stripe' {
|
|
|
5319
4799
|
): Promise<Stripe.Response<Stripe.Account>>;
|
|
5320
4800
|
|
|
5321
4801
|
/**
|
|
5322
|
-
* Returns a list of accounts connected to your platform via [Connect](https://stripe.com/docs/connect). If you're not a platform, the list is empty.
|
|
4802
|
+
* Returns a list of accounts connected to your platform via [Connect](https://docs.stripe.com/docs/connect). If you're not a platform, the list is empty.
|
|
5323
4803
|
*/
|
|
5324
4804
|
list(
|
|
5325
4805
|
params?: AccountListParams,
|
|
@@ -5328,11 +4808,11 @@ declare module 'stripe' {
|
|
|
5328
4808
|
list(options?: RequestOptions): ApiListPromise<Stripe.Account>;
|
|
5329
4809
|
|
|
5330
4810
|
/**
|
|
5331
|
-
* With [Connect](https://stripe.com/connect), you can delete accounts you manage.
|
|
4811
|
+
* With [Connect](https://docs.stripe.com/connect), you can delete accounts you manage.
|
|
5332
4812
|
*
|
|
5333
4813
|
* Test-mode accounts can be deleted at any time.
|
|
5334
4814
|
*
|
|
5335
|
-
* Live-mode accounts where Stripe is responsible for negative account balances cannot be deleted, which includes Standard accounts. Live-mode accounts where your platform is liable for negative account balances, which includes Custom and Express accounts, can be deleted when all [balances](https://stripe.com/api/balance/balance_object) are zero.
|
|
4815
|
+
* Live-mode accounts where Stripe is responsible for negative account balances cannot be deleted, which includes Standard accounts. Live-mode accounts where your platform is liable for negative account balances, which includes Custom and Express accounts, can be deleted when all [balances](https://docs.stripe.com/api/balance/balance_object) are zero.
|
|
5336
4816
|
*
|
|
5337
4817
|
* If you want to delete your own account, use the [account information tab in your account settings](https://dashboard.stripe.com/settings/account) instead.
|
|
5338
4818
|
*/
|
|
@@ -5358,7 +4838,7 @@ declare module 'stripe' {
|
|
|
5358
4838
|
/**
|
|
5359
4839
|
* Creates a login link for a connected account to access the Express Dashboard.
|
|
5360
4840
|
*
|
|
5361
|
-
* You can only create login links for accounts that use the [Express Dashboard](https://stripe.com/connect/express-dashboard) and are connected to your platform.
|
|
4841
|
+
* You can only create login links for accounts that use the [Express Dashboard](https://docs.stripe.com/connect/express-dashboard) and are connected to your platform.
|
|
5362
4842
|
*/
|
|
5363
4843
|
createLoginLink(
|
|
5364
4844
|
id: string,
|
|
@@ -5453,7 +4933,7 @@ declare module 'stripe' {
|
|
|
5453
4933
|
): ApiListPromise<Stripe.Person>;
|
|
5454
4934
|
|
|
5455
4935
|
/**
|
|
5456
|
-
* With [Connect](https://stripe.com/connect), you can reject accounts that you have flagged as suspicious.
|
|
4936
|
+
* With [Connect](https://docs.stripe.com/connect), you can reject accounts that you have flagged as suspicious.
|
|
5457
4937
|
*
|
|
5458
4938
|
* Only accounts where your platform is liable for negative account balances, which includes Custom and Express accounts, can be rejected. Test-mode accounts can be rejected at any time. Live-mode accounts can only be rejected after all balances are zero.
|
|
5459
4939
|
*/
|
|
@@ -5539,7 +5019,7 @@ declare module 'stripe' {
|
|
|
5539
5019
|
* a connected account and optionally sets it as the default for its currency. Other bank account
|
|
5540
5020
|
* details are not editable by design.
|
|
5541
5021
|
*
|
|
5542
|
-
* You can only update bank accounts when [account.controller.requirement_collection is application, which includes <a href="/connect/custom-accounts">Custom accounts](https://stripe.com/api/accounts/object#account_object-controller-requirement_collection).
|
|
5022
|
+
* You can only update bank accounts when [account.controller.requirement_collection is application, which includes <a href="/connect/custom-accounts">Custom accounts](https://docs.stripe.com/api/accounts/object#account_object-controller-requirement_collection).
|
|
5543
5023
|
*
|
|
5544
5024
|
* You can re-enable a disabled bank account by performing an update call without providing any
|
|
5545
5025
|
* arguments or changes.
|