stripe 18.0.0 → 18.1.0-beta.2
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 +1187 -110
- package/OPENAPI_VERSION +1 -1
- package/README.md +1 -3
- package/VERSION +1 -1
- package/cjs/Error.js +91 -1
- package/cjs/apiVersion.js +1 -1
- package/cjs/resources/AccountNotices.js +21 -0
- package/cjs/resources/BalanceSettings.js +10 -0
- package/cjs/resources/Capital/FinancingOffers.js +21 -0
- package/cjs/resources/Capital/FinancingSummary.js +12 -0
- package/cjs/resources/Capital/FinancingTransactions.js +17 -0
- package/cjs/resources/ExternalAccounts.js +23 -0
- package/cjs/resources/FinancialConnections/Accounts.js +5 -0
- package/cjs/resources/FinancialConnections/Institutions.js +17 -0
- package/cjs/resources/GiftCards/Cards.js +23 -0
- package/cjs/resources/GiftCards/Transactions.js +33 -0
- package/cjs/resources/Invoices.js +17 -0
- package/cjs/resources/Issuing/CreditUnderwritingRecords.js +33 -0
- package/cjs/resources/Issuing/DisputeSettlementDetails.js +17 -0
- package/cjs/resources/Issuing/FraudLiabilityDebits.js +17 -0
- package/cjs/resources/Margins.js +22 -0
- package/cjs/resources/Orders.js +24 -0
- package/cjs/resources/{InvoicePayments.js → PaymentAttemptRecords.js} +4 -4
- package/cjs/resources/PaymentIntents.js +8 -0
- package/cjs/resources/PaymentRecords.js +29 -0
- package/cjs/resources/Privacy/RedactionJobs.js +46 -0
- package/cjs/resources/Quotes.js +32 -0
- package/cjs/resources/SubscriptionSchedules.js +4 -0
- package/cjs/resources/Tax/Associations.js +9 -0
- package/cjs/resources/Tax/Forms.js +20 -0
- package/cjs/resources/Terminal/ReaderCollectedData.js +12 -0
- package/cjs/resources/Terminal/Readers.js +12 -0
- package/cjs/resources/TestHelpers/Terminal/Readers.js +8 -0
- package/cjs/resources/V2/Core/AccountLinks.js +9 -0
- package/cjs/resources/V2/Core/Accounts/Persons.js +29 -0
- package/cjs/resources/V2/Core/Accounts.js +25 -0
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.js +28 -0
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.js +24 -0
- package/cjs/resources/V2/MoneyManagement/Adjustments.js +17 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +17 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js +21 -0
- package/cjs/resources/V2/MoneyManagement/InboundTransfers.js +21 -0
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +12 -0
- package/cjs/resources/V2/MoneyManagement/OutboundPayments.js +25 -0
- package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js +29 -0
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js +25 -0
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.js +25 -0
- package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +12 -0
- package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js +17 -0
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js +17 -0
- package/cjs/resources/V2/MoneyManagement/TransactionEntries.js +17 -0
- package/cjs/resources/V2/MoneyManagement/Transactions.js +17 -0
- package/cjs/resources/V2/TestHelpers/FinancialAddresses.js +16 -0
- package/cjs/resources.js +106 -18
- package/cjs/stripe.core.js +1 -1
- package/esm/Error.js +79 -0
- package/esm/apiVersion.js +1 -1
- package/esm/resources/AccountNotices.js +18 -0
- package/esm/resources/BalanceSettings.js +7 -0
- package/esm/resources/Capital/FinancingOffers.js +18 -0
- package/esm/resources/Capital/FinancingSummary.js +9 -0
- package/esm/resources/Capital/FinancingTransactions.js +14 -0
- package/esm/resources/ExternalAccounts.js +20 -0
- package/esm/resources/FinancialConnections/Accounts.js +5 -0
- package/esm/resources/FinancialConnections/Institutions.js +14 -0
- package/esm/resources/GiftCards/Cards.js +20 -0
- package/esm/resources/GiftCards/Transactions.js +30 -0
- package/esm/resources/Invoices.js +17 -0
- package/esm/resources/Issuing/CreditUnderwritingRecords.js +30 -0
- package/esm/resources/Issuing/DisputeSettlementDetails.js +14 -0
- package/esm/resources/Issuing/FraudLiabilityDebits.js +14 -0
- package/esm/resources/Margins.js +19 -0
- package/esm/resources/Orders.js +21 -0
- package/esm/resources/{InvoicePayments.js → PaymentAttemptRecords.js} +3 -3
- package/esm/resources/PaymentIntents.js +8 -0
- package/esm/resources/PaymentRecords.js +26 -0
- package/esm/resources/Privacy/RedactionJobs.js +43 -0
- package/esm/resources/Quotes.js +32 -0
- package/esm/resources/SubscriptionSchedules.js +4 -0
- package/esm/resources/Tax/Associations.js +6 -0
- package/esm/resources/Tax/Forms.js +17 -0
- package/esm/resources/Terminal/ReaderCollectedData.js +9 -0
- package/esm/resources/Terminal/Readers.js +12 -0
- package/esm/resources/TestHelpers/Terminal/Readers.js +8 -0
- package/esm/resources/V2/Core/AccountLinks.js +6 -0
- package/esm/resources/V2/Core/Accounts/Persons.js +26 -0
- package/esm/resources/V2/Core/Accounts.js +22 -0
- package/esm/resources/V2/Core/Vault/GbBankAccounts.js +25 -0
- package/esm/resources/V2/Core/Vault/UsBankAccounts.js +21 -0
- package/esm/resources/V2/MoneyManagement/Adjustments.js +14 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +14 -0
- package/esm/resources/V2/MoneyManagement/FinancialAddresses.js +18 -0
- package/esm/resources/V2/MoneyManagement/InboundTransfers.js +18 -0
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +9 -0
- package/esm/resources/V2/MoneyManagement/OutboundPayments.js +22 -0
- package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js +26 -0
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.js +22 -0
- package/esm/resources/V2/MoneyManagement/PayoutMethods.js +22 -0
- package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +9 -0
- package/esm/resources/V2/MoneyManagement/ReceivedCredits.js +14 -0
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.js +14 -0
- package/esm/resources/V2/MoneyManagement/TransactionEntries.js +14 -0
- package/esm/resources/V2/MoneyManagement/Transactions.js +14 -0
- package/esm/resources/V2/TestHelpers/FinancialAddresses.js +13 -0
- package/esm/resources.js +83 -1
- package/esm/stripe.core.js +1 -1
- package/package.json +1 -1
- package/types/AccountLinksResource.d.ts +5 -1
- package/types/AccountNotices.d.ts +113 -0
- package/types/AccountNoticesResource.d.ts +98 -0
- package/types/AccountSessions.d.ts +45 -0
- package/types/AccountSessionsResource.d.ts +300 -0
- package/types/Accounts.d.ts +228 -1
- package/types/AccountsResource.d.ts +572 -0
- package/types/BalanceSettings.d.ts +85 -0
- package/types/BalanceSettingsResource.d.ts +108 -0
- package/types/BankAccounts.d.ts +2 -0
- package/types/Billing/CreditBalanceSummary.d.ts +5 -0
- package/types/Billing/CreditBalanceSummaryResource.d.ts +8 -3
- package/types/Billing/CreditBalanceTransactionsResource.d.ts +12 -4
- package/types/Billing/CreditGrants.d.ts +5 -0
- package/types/Billing/CreditGrantsResource.d.ts +11 -1
- package/types/Billing/MeterErrorReports.d.ts +106 -0
- package/types/BillingPortal/Sessions.d.ts +5 -0
- package/types/BillingPortal/SessionsResource.d.ts +12 -4
- package/types/Capabilities.d.ts +2 -0
- package/types/Capital/FinancingOffers.d.ts +188 -0
- package/types/Capital/FinancingOffersResource.d.ts +97 -0
- package/types/Capital/FinancingSummary.d.ts +106 -0
- package/types/Capital/FinancingSummaryResource.d.ts +27 -0
- package/types/Capital/FinancingTransactions.d.ts +135 -0
- package/types/Capital/FinancingTransactionsResource.d.ts +68 -0
- package/types/Cards.d.ts +5 -0
- package/types/CashBalances.d.ts +5 -0
- package/types/Charges.d.ts +166 -0
- package/types/ChargesResource.d.ts +1294 -0
- package/types/Checkout/Sessions.d.ts +335 -4
- package/types/Checkout/SessionsResource.d.ts +270 -2
- package/types/ConfirmationTokens.d.ts +151 -0
- package/types/Coupons.d.ts +1 -1
- package/types/CreditNoteLineItems.d.ts +17 -0
- package/types/CreditNotes.d.ts +9 -0
- package/types/CreditNotesResource.d.ts +5 -0
- package/types/CustomerBalanceTransactions.d.ts +2 -0
- package/types/CustomerCashBalanceTransactions.d.ts +2 -0
- package/types/CustomerSessions.d.ts +5 -0
- package/types/CustomerSessionsResource.d.ts +6 -1
- package/types/Customers.d.ts +2 -0
- package/types/CustomersResource.d.ts +8 -0
- package/types/Discounts.d.ts +10 -0
- package/types/Errors.d.ts +69 -2
- package/types/EventTypes.d.ts +681 -0
- package/types/Events.d.ts +101 -1
- package/types/ExternalAccountsResource.d.ts +304 -0
- package/types/FinancialConnections/AccountInferredBalances.d.ts +38 -0
- package/types/FinancialConnections/Accounts.d.ts +31 -1
- package/types/FinancialConnections/AccountsResource.d.ts +40 -3
- package/types/FinancialConnections/Institutions.d.ts +93 -0
- package/types/FinancialConnections/InstitutionsResource.d.ts +47 -0
- package/types/FinancialConnections/Sessions.d.ts +51 -1
- package/types/FinancialConnections/SessionsResource.d.ts +43 -1
- package/types/GiftCards/Cards.d.ts +118 -0
- package/types/GiftCards/CardsResource.d.ts +159 -0
- package/types/GiftCards/Transactions.d.ts +129 -0
- package/types/GiftCards/TransactionsResource.d.ts +201 -0
- package/types/Identity/VerificationSessions.d.ts +5 -0
- package/types/Identity/VerificationSessionsResource.d.ts +7 -0
- package/types/InvoiceItems.d.ts +10 -0
- package/types/InvoiceItemsResource.d.ts +117 -6
- package/types/InvoiceLineItems.d.ts +45 -1
- package/types/InvoicePayments.d.ts +5 -0
- package/types/Invoices.d.ts +142 -3
- package/types/InvoicesResource.d.ts +1546 -4
- package/types/Issuing/CardholdersResource.d.ts +2 -1
- package/types/Issuing/CreditUnderwritingRecords.d.ts +451 -0
- package/types/Issuing/CreditUnderwritingRecordsResource.d.ts +1032 -0
- package/types/Issuing/DisputeSettlementDetails.d.ts +85 -0
- package/types/Issuing/DisputeSettlementDetailsResource.d.ts +52 -0
- package/types/Issuing/FraudLiabilityDebits.d.ts +52 -0
- package/types/Issuing/FraudLiabilityDebitsResource.d.ts +52 -0
- package/types/Issuing/Settlements.d.ts +113 -0
- package/types/Issuing/Transactions.d.ts +5 -0
- package/types/Issuing/TransactionsResource.d.ts +5 -0
- package/types/LineItems.d.ts +49 -0
- package/types/LoginLinks.d.ts +2 -1
- package/types/Mandates.d.ts +77 -0
- package/types/Margins.d.ts +56 -0
- package/types/MarginsResource.d.ts +114 -0
- package/types/Orders.d.ts +1189 -0
- package/types/OrdersResource.d.ts +2981 -0
- package/types/PaymentAttemptRecords.d.ts +2112 -0
- package/types/PaymentAttemptRecordsResource.d.ts +47 -0
- package/types/PaymentIntents.d.ts +680 -2
- package/types/PaymentIntentsResource.d.ts +8438 -3942
- package/types/PaymentLinks.d.ts +6 -0
- package/types/PaymentLinksResource.d.ts +12 -0
- package/types/PaymentMethodConfigurations.d.ts +180 -0
- package/types/PaymentMethodConfigurationsResource.d.ts +250 -0
- package/types/PaymentMethodDomains.d.ts +28 -0
- package/types/PaymentMethods.d.ts +120 -0
- package/types/PaymentMethodsResource.d.ts +170 -5
- package/types/PaymentRecords.d.ts +2105 -0
- package/types/PaymentRecordsResource.d.ts +455 -0
- package/types/Payouts.d.ts +5 -0
- package/types/PayoutsResource.d.ts +5 -0
- package/types/Persons.d.ts +2 -0
- package/types/Prices.d.ts +22 -0
- package/types/PricesResource.d.ts +22 -0
- package/types/Privacy/RedactionJobRootObjects.d.ts +35 -0
- package/types/Privacy/RedactionJobValidationErrors.d.ts +30 -0
- package/types/Privacy/RedactionJobs.d.ts +43 -0
- package/types/Privacy/RedactionJobsResource.d.ts +240 -0
- package/types/Products.d.ts +39 -0
- package/types/ProductsResource.d.ts +36 -0
- package/types/PromotionCodes.d.ts +5 -0
- package/types/PromotionCodesResource.d.ts +10 -0
- package/types/QuoteLines.d.ts +634 -0
- package/types/QuotePreviewInvoices.d.ts +1686 -0
- package/types/QuotePreviewSubscriptionSchedules.d.ts +778 -0
- package/types/Quotes.d.ts +601 -1
- package/types/QuotesResource.d.ts +2565 -218
- package/types/Refunds.d.ts +14 -0
- package/types/SetupAttempts.d.ts +51 -1
- package/types/SetupIntents.d.ts +122 -2
- package/types/SetupIntentsResource.d.ts +739 -12
- package/types/Sources.d.ts +29 -0
- package/types/SubscriptionItems.d.ts +23 -0
- package/types/SubscriptionItemsResource.d.ts +109 -0
- package/types/SubscriptionSchedules.d.ts +205 -0
- package/types/SubscriptionSchedulesResource.d.ts +1237 -9
- package/types/Subscriptions.d.ts +97 -1
- package/types/SubscriptionsResource.d.ts +390 -8
- package/types/Tax/Associations.d.ts +126 -0
- package/types/Tax/AssociationsResource.d.ts +29 -0
- package/types/Tax/CalculationLineItems.d.ts +1 -1
- package/types/Tax/Forms.d.ts +220 -0
- package/types/Tax/FormsResource.d.ts +107 -0
- package/types/Tax/Registrations.d.ts +9 -0
- package/types/Tax/RegistrationsResource.d.ts +12 -0
- package/types/TaxIds.d.ts +10 -0
- package/types/TaxIdsResource.d.ts +10 -0
- package/types/Terminal/ReaderCollectedData.d.ts +51 -0
- package/types/Terminal/ReaderCollectedDataResource.d.ts +29 -0
- package/types/Terminal/Readers.d.ts +300 -0
- package/types/Terminal/ReadersResource.d.ts +220 -0
- package/types/TestHelpers/ConfirmationTokensResource.d.ts +174 -3
- package/types/TestHelpers/Terminal/ReadersResource.d.ts +53 -0
- package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +26 -0
- package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +26 -0
- package/types/Treasury/FinancialAccountFeatures.d.ts +7 -0
- package/types/Treasury/FinancialAccounts.d.ts +5 -0
- package/types/Treasury/FinancialAccountsResource.d.ts +37 -0
- package/types/Treasury/OutboundTransfers.d.ts +26 -0
- package/types/Treasury/OutboundTransfersResource.d.ts +26 -0
- package/types/Treasury/ReceivedCredits.d.ts +26 -0
- package/types/Treasury/ReceivedDebits.d.ts +31 -0
- package/types/V2/Core/AccountLinks.d.ts +101 -0
- package/types/V2/Core/AccountLinksResource.d.ts +90 -0
- package/types/V2/Core/Accounts/PersonsResource.d.ts +3760 -0
- package/types/V2/Core/Accounts.d.ts +8057 -0
- package/types/V2/Core/AccountsResource.d.ts +10184 -0
- package/types/V2/Core/Persons.d.ts +1857 -0
- package/types/V2/Core/Vault/GbBankAccounts.d.ts +155 -0
- package/types/V2/Core/Vault/GbBankAccountsResource.d.ts +172 -0
- package/types/V2/Core/Vault/UsBankAccounts.d.ts +65 -0
- package/types/V2/Core/Vault/UsBankAccountsResource.d.ts +123 -0
- package/types/V2/EventTypes.d.ts +683 -1
- package/types/V2/FinancialAddressCreditSimulations.d.ts +22 -0
- package/types/V2/FinancialAddressGeneratedMicrodeposits.d.ts +27 -0
- package/types/V2/MoneyManagement/Adjustments.d.ts +105 -0
- package/types/V2/MoneyManagement/AdjustmentsResource.d.ts +83 -0
- package/types/V2/MoneyManagement/FinancialAccounts.d.ts +540 -0
- package/types/V2/MoneyManagement/FinancialAccountsResource.d.ts +52 -0
- package/types/V2/MoneyManagement/FinancialAddresses.d.ts +308 -0
- package/types/V2/MoneyManagement/FinancialAddressesResource.d.ts +287 -0
- package/types/V2/MoneyManagement/InboundTransfers.d.ts +201 -0
- package/types/V2/MoneyManagement/InboundTransfersResource.d.ts +144 -0
- package/types/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +141 -0
- package/types/V2/MoneyManagement/OutboundPaymentQuotesResource.d.ts +93 -0
- package/types/V2/MoneyManagement/OutboundPayments.d.ts +273 -0
- package/types/V2/MoneyManagement/OutboundPaymentsResource.d.ts +242 -0
- package/types/V2/MoneyManagement/OutboundSetupIntents.d.ts +92 -0
- package/types/V2/MoneyManagement/OutboundSetupIntentsResource.d.ts +296 -0
- package/types/V2/MoneyManagement/OutboundTransfers.d.ts +246 -0
- package/types/V2/MoneyManagement/OutboundTransfersResource.d.ts +207 -0
- package/types/V2/MoneyManagement/PayoutMethods.d.ts +146 -0
- package/types/V2/MoneyManagement/PayoutMethodsBankAccountSpecResource.d.ts +41 -0
- package/types/V2/MoneyManagement/PayoutMethodsBankAccountSpecs.d.ts +82 -0
- package/types/V2/MoneyManagement/PayoutMethodsResource.d.ts +113 -0
- package/types/V2/MoneyManagement/ReceivedCredits.d.ts +280 -0
- package/types/V2/MoneyManagement/ReceivedCreditsResource.d.ts +78 -0
- package/types/V2/MoneyManagement/ReceivedDebits.d.ts +219 -0
- package/types/V2/MoneyManagement/ReceivedDebitsResource.d.ts +48 -0
- package/types/V2/MoneyManagement/TransactionEntries.d.ts +151 -0
- package/types/V2/MoneyManagement/TransactionEntriesResource.d.ts +82 -0
- package/types/V2/MoneyManagement/Transactions.d.ts +166 -0
- package/types/V2/MoneyManagement/TransactionsResource.d.ts +83 -0
- package/types/V2/TestHelpers/FinancialAddressesResource.d.ts +66 -0
- package/types/WebhookEndpointsResource.d.ts +82 -2
- package/types/index.d.ts +142 -5
- package/types/lib.d.ts +11 -1
- package/types/test/typescriptTest.ts +3 -3
- package/types/InvoicePaymentsResource.d.ts +0 -74
|
@@ -87,6 +87,11 @@ 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
|
+
|
|
90
95
|
/**
|
|
91
96
|
* Options for customizing how the account functions within Stripe.
|
|
92
97
|
*/
|
|
@@ -120,6 +125,13 @@ declare module 'stripe' {
|
|
|
120
125
|
*/
|
|
121
126
|
mcc?: string;
|
|
122
127
|
|
|
128
|
+
/**
|
|
129
|
+
* Whether the business is a minority-owned, women-owned, and/or LGBTQI+-owned business.
|
|
130
|
+
*/
|
|
131
|
+
minority_owned_business_designation?: Array<
|
|
132
|
+
BusinessProfile.MinorityOwnedBusinessDesignation
|
|
133
|
+
>;
|
|
134
|
+
|
|
123
135
|
/**
|
|
124
136
|
* An estimate of the monthly revenue of the business. Only accepted for accounts in Brazil and India.
|
|
125
137
|
*/
|
|
@@ -179,6 +191,13 @@ declare module 'stripe' {
|
|
|
179
191
|
fiscal_year_end: string;
|
|
180
192
|
}
|
|
181
193
|
|
|
194
|
+
type MinorityOwnedBusinessDesignation =
|
|
195
|
+
| 'lgbtqi_owned_business'
|
|
196
|
+
| 'minority_owned_business'
|
|
197
|
+
| 'none_of_these_apply'
|
|
198
|
+
| 'prefer_not_to_answer'
|
|
199
|
+
| 'women_owned_business';
|
|
200
|
+
|
|
182
201
|
interface MonthlyEstimatedRevenue {
|
|
183
202
|
/**
|
|
184
203
|
* A non-negative integer representing how much to charge in the [smallest currency unit](https://stripe.com/currencies#zero-decimal).
|
|
@@ -229,6 +248,11 @@ declare module 'stripe' {
|
|
|
229
248
|
*/
|
|
230
249
|
au_becs_debit_payments?: Capabilities.AuBecsDebitPayments;
|
|
231
250
|
|
|
251
|
+
/**
|
|
252
|
+
* The automatic_indirect_tax capability.
|
|
253
|
+
*/
|
|
254
|
+
automatic_indirect_tax?: Capabilities.AutomaticIndirectTax;
|
|
255
|
+
|
|
232
256
|
/**
|
|
233
257
|
* The bacs_debit_payments capability.
|
|
234
258
|
*/
|
|
@@ -299,11 +323,26 @@ declare module 'stripe' {
|
|
|
299
323
|
*/
|
|
300
324
|
giropay_payments?: Capabilities.GiropayPayments;
|
|
301
325
|
|
|
326
|
+
/**
|
|
327
|
+
* The gopay_payments capability.
|
|
328
|
+
*/
|
|
329
|
+
gopay_payments?: Capabilities.GopayPayments;
|
|
330
|
+
|
|
302
331
|
/**
|
|
303
332
|
* The grabpay_payments capability.
|
|
304
333
|
*/
|
|
305
334
|
grabpay_payments?: Capabilities.GrabpayPayments;
|
|
306
335
|
|
|
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
|
+
|
|
307
346
|
/**
|
|
308
347
|
* The ideal_payments capability.
|
|
309
348
|
*/
|
|
@@ -354,6 +393,11 @@ declare module 'stripe' {
|
|
|
354
393
|
*/
|
|
355
394
|
link_payments?: Capabilities.LinkPayments;
|
|
356
395
|
|
|
396
|
+
/**
|
|
397
|
+
* The mb_way_payments capability.
|
|
398
|
+
*/
|
|
399
|
+
mb_way_payments?: Capabilities.MbWayPayments;
|
|
400
|
+
|
|
357
401
|
/**
|
|
358
402
|
* The mobilepay_payments capability.
|
|
359
403
|
*/
|
|
@@ -404,11 +448,31 @@ declare module 'stripe' {
|
|
|
404
448
|
*/
|
|
405
449
|
paynow_payments?: Capabilities.PaynowPayments;
|
|
406
450
|
|
|
451
|
+
/**
|
|
452
|
+
* The paypal_payments capability.
|
|
453
|
+
*/
|
|
454
|
+
paypal_payments?: Capabilities.PaypalPayments;
|
|
455
|
+
|
|
456
|
+
/**
|
|
457
|
+
* The payto_payments capability.
|
|
458
|
+
*/
|
|
459
|
+
payto_payments?: Capabilities.PaytoPayments;
|
|
460
|
+
|
|
407
461
|
/**
|
|
408
462
|
* The promptpay_payments capability.
|
|
409
463
|
*/
|
|
410
464
|
promptpay_payments?: Capabilities.PromptpayPayments;
|
|
411
465
|
|
|
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
|
+
|
|
412
476
|
/**
|
|
413
477
|
* The revolut_pay_payments capability.
|
|
414
478
|
*/
|
|
@@ -434,11 +498,21 @@ declare module 'stripe' {
|
|
|
434
498
|
*/
|
|
435
499
|
sepa_debit_payments?: Capabilities.SepaDebitPayments;
|
|
436
500
|
|
|
501
|
+
/**
|
|
502
|
+
* The shopeepay_payments capability.
|
|
503
|
+
*/
|
|
504
|
+
shopeepay_payments?: Capabilities.ShopeepayPayments;
|
|
505
|
+
|
|
437
506
|
/**
|
|
438
507
|
* The sofort_payments capability.
|
|
439
508
|
*/
|
|
440
509
|
sofort_payments?: Capabilities.SofortPayments;
|
|
441
510
|
|
|
511
|
+
/**
|
|
512
|
+
* The stripe_balance_payments capability.
|
|
513
|
+
*/
|
|
514
|
+
stripe_balance_payments?: Capabilities.StripeBalancePayments;
|
|
515
|
+
|
|
442
516
|
/**
|
|
443
517
|
* The swish_payments capability.
|
|
444
518
|
*/
|
|
@@ -464,6 +538,21 @@ declare module 'stripe' {
|
|
|
464
538
|
*/
|
|
465
539
|
treasury?: Capabilities.Treasury;
|
|
466
540
|
|
|
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
|
+
|
|
467
556
|
/**
|
|
468
557
|
* The twint_payments capability.
|
|
469
558
|
*/
|
|
@@ -528,6 +617,13 @@ declare module 'stripe' {
|
|
|
528
617
|
requested?: boolean;
|
|
529
618
|
}
|
|
530
619
|
|
|
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
|
+
|
|
531
627
|
interface BacsDebitPayments {
|
|
532
628
|
/**
|
|
533
629
|
* 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.
|
|
@@ -626,6 +722,13 @@ declare module 'stripe' {
|
|
|
626
722
|
requested?: boolean;
|
|
627
723
|
}
|
|
628
724
|
|
|
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
|
+
|
|
629
732
|
interface GrabpayPayments {
|
|
630
733
|
/**
|
|
631
734
|
* 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.
|
|
@@ -633,6 +736,20 @@ declare module 'stripe' {
|
|
|
633
736
|
requested?: boolean;
|
|
634
737
|
}
|
|
635
738
|
|
|
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
|
+
|
|
636
753
|
interface IdealPayments {
|
|
637
754
|
/**
|
|
638
755
|
* 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.
|
|
@@ -703,6 +820,13 @@ declare module 'stripe' {
|
|
|
703
820
|
requested?: boolean;
|
|
704
821
|
}
|
|
705
822
|
|
|
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
|
+
|
|
706
830
|
interface MobilepayPayments {
|
|
707
831
|
/**
|
|
708
832
|
* 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.
|
|
@@ -773,6 +897,20 @@ declare module 'stripe' {
|
|
|
773
897
|
requested?: boolean;
|
|
774
898
|
}
|
|
775
899
|
|
|
900
|
+
interface PaypalPayments {
|
|
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 {
|
|
908
|
+
/**
|
|
909
|
+
* 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
|
+
*/
|
|
911
|
+
requested?: boolean;
|
|
912
|
+
}
|
|
913
|
+
|
|
776
914
|
interface PromptpayPayments {
|
|
777
915
|
/**
|
|
778
916
|
* 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.
|
|
@@ -780,6 +918,20 @@ declare module 'stripe' {
|
|
|
780
918
|
requested?: boolean;
|
|
781
919
|
}
|
|
782
920
|
|
|
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
|
+
|
|
783
935
|
interface RevolutPayPayments {
|
|
784
936
|
/**
|
|
785
937
|
* 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.
|
|
@@ -815,6 +967,13 @@ declare module 'stripe' {
|
|
|
815
967
|
requested?: boolean;
|
|
816
968
|
}
|
|
817
969
|
|
|
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
|
+
|
|
818
977
|
interface SofortPayments {
|
|
819
978
|
/**
|
|
820
979
|
* 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.
|
|
@@ -822,6 +981,13 @@ declare module 'stripe' {
|
|
|
822
981
|
requested?: boolean;
|
|
823
982
|
}
|
|
824
983
|
|
|
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
|
+
|
|
825
991
|
interface SwishPayments {
|
|
826
992
|
/**
|
|
827
993
|
* 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.
|
|
@@ -857,6 +1023,27 @@ declare module 'stripe' {
|
|
|
857
1023
|
requested?: boolean;
|
|
858
1024
|
}
|
|
859
1025
|
|
|
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
|
+
|
|
860
1047
|
interface TwintPayments {
|
|
861
1048
|
/**
|
|
862
1049
|
* 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.
|
|
@@ -1082,6 +1269,16 @@ declare module 'stripe' {
|
|
|
1082
1269
|
}
|
|
1083
1270
|
|
|
1084
1271
|
interface Controller {
|
|
1272
|
+
/**
|
|
1273
|
+
* A hash of configuration describing the Connect application that controls the account.
|
|
1274
|
+
*/
|
|
1275
|
+
application?: Controller.Application;
|
|
1276
|
+
|
|
1277
|
+
/**
|
|
1278
|
+
* Properties of the account's dashboard.
|
|
1279
|
+
*/
|
|
1280
|
+
dashboard?: Controller.Dashboard;
|
|
1281
|
+
|
|
1085
1282
|
/**
|
|
1086
1283
|
* A hash of configuration for who pays Stripe fees for product usage on this account.
|
|
1087
1284
|
*/
|
|
@@ -1104,6 +1301,34 @@ declare module 'stripe' {
|
|
|
1104
1301
|
}
|
|
1105
1302
|
|
|
1106
1303
|
namespace Controller {
|
|
1304
|
+
interface Application {
|
|
1305
|
+
/**
|
|
1306
|
+
* Whether the controller is liable for losses on this account. For details, see [Understanding Connect Account Balances](https://stripe.com/docs/connect/account-balances).
|
|
1307
|
+
*/
|
|
1308
|
+
loss_liable: boolean;
|
|
1309
|
+
|
|
1310
|
+
/**
|
|
1311
|
+
* Whether the controller owns onboarding for this account.
|
|
1312
|
+
*/
|
|
1313
|
+
onboarding_owner?: boolean;
|
|
1314
|
+
|
|
1315
|
+
/**
|
|
1316
|
+
* Whether the controller has pricing controls for this account.
|
|
1317
|
+
*/
|
|
1318
|
+
pricing_controls?: boolean;
|
|
1319
|
+
}
|
|
1320
|
+
|
|
1321
|
+
interface Dashboard {
|
|
1322
|
+
/**
|
|
1323
|
+
* 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`.
|
|
1324
|
+
*/
|
|
1325
|
+
type?: Dashboard.Type;
|
|
1326
|
+
}
|
|
1327
|
+
|
|
1328
|
+
namespace Dashboard {
|
|
1329
|
+
type Type = 'express' | 'full' | 'none';
|
|
1330
|
+
}
|
|
1331
|
+
|
|
1107
1332
|
interface Fees {
|
|
1108
1333
|
/**
|
|
1109
1334
|
* 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).
|
|
@@ -1487,17 +1712,57 @@ declare module 'stripe' {
|
|
|
1487
1712
|
}
|
|
1488
1713
|
}
|
|
1489
1714
|
|
|
1715
|
+
interface RiskControls {
|
|
1716
|
+
/**
|
|
1717
|
+
* 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).
|
|
1718
|
+
*/
|
|
1719
|
+
charges?: RiskControls.Charges;
|
|
1720
|
+
|
|
1721
|
+
/**
|
|
1722
|
+
* 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).
|
|
1723
|
+
*/
|
|
1724
|
+
payouts?: RiskControls.Payouts;
|
|
1725
|
+
}
|
|
1726
|
+
|
|
1727
|
+
namespace RiskControls {
|
|
1728
|
+
interface Charges {
|
|
1729
|
+
/**
|
|
1730
|
+
* To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
|
|
1731
|
+
* There can be a delay before the risk control is paused or unpaused.
|
|
1732
|
+
*/
|
|
1733
|
+
pause_requested?: boolean;
|
|
1734
|
+
}
|
|
1735
|
+
|
|
1736
|
+
interface Payouts {
|
|
1737
|
+
/**
|
|
1738
|
+
* To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
|
|
1739
|
+
* There can be a delay before the risk control is paused or unpaused.
|
|
1740
|
+
*/
|
|
1741
|
+
pause_requested?: boolean;
|
|
1742
|
+
}
|
|
1743
|
+
}
|
|
1744
|
+
|
|
1490
1745
|
interface Settings {
|
|
1491
1746
|
/**
|
|
1492
1747
|
* Settings specific to Bacs Direct Debit.
|
|
1493
1748
|
*/
|
|
1494
1749
|
bacs_debit_payments?: Settings.BacsDebitPayments;
|
|
1495
1750
|
|
|
1751
|
+
/**
|
|
1752
|
+
* Settings specific to bank BCA onboarding for Indonesia bank transfers payments method.
|
|
1753
|
+
*/
|
|
1754
|
+
bank_bca_onboarding?: Settings.BankBcaOnboarding;
|
|
1755
|
+
|
|
1496
1756
|
/**
|
|
1497
1757
|
* Settings used to apply the account's branding to email receipts, invoices, Checkout, and other products.
|
|
1498
1758
|
*/
|
|
1499
1759
|
branding?: Settings.Branding;
|
|
1500
1760
|
|
|
1761
|
+
/**
|
|
1762
|
+
* Settings specific to the account's use of the Capital product.
|
|
1763
|
+
*/
|
|
1764
|
+
capital?: Settings.Capital;
|
|
1765
|
+
|
|
1501
1766
|
/**
|
|
1502
1767
|
* Settings specific to the account's use of the Card Issuing product.
|
|
1503
1768
|
*/
|
|
@@ -1523,6 +1788,11 @@ declare module 'stripe' {
|
|
|
1523
1788
|
*/
|
|
1524
1789
|
payouts?: Settings.Payouts;
|
|
1525
1790
|
|
|
1791
|
+
/**
|
|
1792
|
+
* Settings specific to the account's tax forms.
|
|
1793
|
+
*/
|
|
1794
|
+
tax_forms?: Settings.TaxForms;
|
|
1795
|
+
|
|
1526
1796
|
/**
|
|
1527
1797
|
* Settings specific to the account's Treasury FinancialAccounts.
|
|
1528
1798
|
*/
|
|
@@ -1537,6 +1807,18 @@ declare module 'stripe' {
|
|
|
1537
1807
|
display_name?: string;
|
|
1538
1808
|
}
|
|
1539
1809
|
|
|
1810
|
+
interface BankBcaOnboarding {
|
|
1811
|
+
/**
|
|
1812
|
+
* Bank BCA business account holder name
|
|
1813
|
+
*/
|
|
1814
|
+
account_holder_name?: string;
|
|
1815
|
+
|
|
1816
|
+
/**
|
|
1817
|
+
* Bank BCA business account number
|
|
1818
|
+
*/
|
|
1819
|
+
business_account_number?: string;
|
|
1820
|
+
}
|
|
1821
|
+
|
|
1540
1822
|
interface Branding {
|
|
1541
1823
|
/**
|
|
1542
1824
|
* (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.
|
|
@@ -1559,6 +1841,22 @@ declare module 'stripe' {
|
|
|
1559
1841
|
secondary_color?: string;
|
|
1560
1842
|
}
|
|
1561
1843
|
|
|
1844
|
+
interface Capital {
|
|
1845
|
+
/**
|
|
1846
|
+
* Per-currency mapping of user-selected destination accounts used to pay out loans.
|
|
1847
|
+
*/
|
|
1848
|
+
payout_destination?: {
|
|
1849
|
+
[key: string]: string;
|
|
1850
|
+
};
|
|
1851
|
+
|
|
1852
|
+
/**
|
|
1853
|
+
* Per-currency mapping of all destination accounts eligible to receive Capital financing payouts.
|
|
1854
|
+
*/
|
|
1855
|
+
payout_destination_selector?: {
|
|
1856
|
+
[key: string]: Array<string>;
|
|
1857
|
+
};
|
|
1858
|
+
}
|
|
1859
|
+
|
|
1562
1860
|
interface CardIssuing {
|
|
1563
1861
|
/**
|
|
1564
1862
|
* Details on the account's acceptance of the [Stripe Issuing Terms and Disclosures](https://stripe.com/issuing/connect/tos_acceptance).
|
|
@@ -1703,6 +2001,13 @@ declare module 'stripe' {
|
|
|
1703
2001
|
}
|
|
1704
2002
|
}
|
|
1705
2003
|
|
|
2004
|
+
interface TaxForms {
|
|
2005
|
+
/**
|
|
2006
|
+
* Whether the account opted out of receiving their tax forms by postal delivery.
|
|
2007
|
+
*/
|
|
2008
|
+
consented_to_paperless_delivery?: boolean;
|
|
2009
|
+
}
|
|
2010
|
+
|
|
1706
2011
|
interface Treasury {
|
|
1707
2012
|
/**
|
|
1708
2013
|
* Details on the account's acceptance of the Stripe Treasury Services Agreement.
|
|
@@ -1842,6 +2147,11 @@ declare module 'stripe' {
|
|
|
1842
2147
|
*/
|
|
1843
2148
|
metadata?: Stripe.Emptyable<Stripe.MetadataParam>;
|
|
1844
2149
|
|
|
2150
|
+
/**
|
|
2151
|
+
* 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).
|
|
2152
|
+
*/
|
|
2153
|
+
risk_controls?: AccountUpdateParams.RiskControls;
|
|
2154
|
+
|
|
1845
2155
|
/**
|
|
1846
2156
|
* Options for customizing how the account functions within Stripe.
|
|
1847
2157
|
*/
|
|
@@ -1908,6 +2218,13 @@ declare module 'stripe' {
|
|
|
1908
2218
|
*/
|
|
1909
2219
|
mcc?: string;
|
|
1910
2220
|
|
|
2221
|
+
/**
|
|
2222
|
+
* Whether the business is a minority-owned, women-owned, and/or LGBTQI+-owned business.
|
|
2223
|
+
*/
|
|
2224
|
+
minority_owned_business_designation?: Array<
|
|
2225
|
+
BusinessProfile.MinorityOwnedBusinessDesignation
|
|
2226
|
+
>;
|
|
2227
|
+
|
|
1911
2228
|
/**
|
|
1912
2229
|
* An estimate of the monthly revenue of the business. Only accepted for accounts in Brazil and India.
|
|
1913
2230
|
*/
|
|
@@ -1967,6 +2284,13 @@ declare module 'stripe' {
|
|
|
1967
2284
|
fiscal_year_end: string;
|
|
1968
2285
|
}
|
|
1969
2286
|
|
|
2287
|
+
type MinorityOwnedBusinessDesignation =
|
|
2288
|
+
| 'lgbtqi_owned_business'
|
|
2289
|
+
| 'minority_owned_business'
|
|
2290
|
+
| 'none_of_these_apply'
|
|
2291
|
+
| 'prefer_not_to_answer'
|
|
2292
|
+
| 'women_owned_business';
|
|
2293
|
+
|
|
1970
2294
|
interface MonthlyEstimatedRevenue {
|
|
1971
2295
|
/**
|
|
1972
2296
|
* A non-negative integer representing how much to charge in the [smallest currency unit](https://stripe.com/currencies#zero-decimal).
|
|
@@ -2017,6 +2341,11 @@ declare module 'stripe' {
|
|
|
2017
2341
|
*/
|
|
2018
2342
|
au_becs_debit_payments?: Capabilities.AuBecsDebitPayments;
|
|
2019
2343
|
|
|
2344
|
+
/**
|
|
2345
|
+
* The automatic_indirect_tax capability.
|
|
2346
|
+
*/
|
|
2347
|
+
automatic_indirect_tax?: Capabilities.AutomaticIndirectTax;
|
|
2348
|
+
|
|
2020
2349
|
/**
|
|
2021
2350
|
* The bacs_debit_payments capability.
|
|
2022
2351
|
*/
|
|
@@ -2087,11 +2416,26 @@ declare module 'stripe' {
|
|
|
2087
2416
|
*/
|
|
2088
2417
|
giropay_payments?: Capabilities.GiropayPayments;
|
|
2089
2418
|
|
|
2419
|
+
/**
|
|
2420
|
+
* The gopay_payments capability.
|
|
2421
|
+
*/
|
|
2422
|
+
gopay_payments?: Capabilities.GopayPayments;
|
|
2423
|
+
|
|
2090
2424
|
/**
|
|
2091
2425
|
* The grabpay_payments capability.
|
|
2092
2426
|
*/
|
|
2093
2427
|
grabpay_payments?: Capabilities.GrabpayPayments;
|
|
2094
2428
|
|
|
2429
|
+
/**
|
|
2430
|
+
* The id_bank_transfer_payments capability.
|
|
2431
|
+
*/
|
|
2432
|
+
id_bank_transfer_payments?: Capabilities.IdBankTransferPayments;
|
|
2433
|
+
|
|
2434
|
+
/**
|
|
2435
|
+
* The id_bank_transfer_payments_bca capability.
|
|
2436
|
+
*/
|
|
2437
|
+
id_bank_transfer_payments_bca?: Capabilities.IdBankTransferPaymentsBca;
|
|
2438
|
+
|
|
2095
2439
|
/**
|
|
2096
2440
|
* The ideal_payments capability.
|
|
2097
2441
|
*/
|
|
@@ -2142,6 +2486,11 @@ declare module 'stripe' {
|
|
|
2142
2486
|
*/
|
|
2143
2487
|
link_payments?: Capabilities.LinkPayments;
|
|
2144
2488
|
|
|
2489
|
+
/**
|
|
2490
|
+
* The mb_way_payments capability.
|
|
2491
|
+
*/
|
|
2492
|
+
mb_way_payments?: Capabilities.MbWayPayments;
|
|
2493
|
+
|
|
2145
2494
|
/**
|
|
2146
2495
|
* The mobilepay_payments capability.
|
|
2147
2496
|
*/
|
|
@@ -2192,11 +2541,31 @@ declare module 'stripe' {
|
|
|
2192
2541
|
*/
|
|
2193
2542
|
paynow_payments?: Capabilities.PaynowPayments;
|
|
2194
2543
|
|
|
2544
|
+
/**
|
|
2545
|
+
* The paypal_payments capability.
|
|
2546
|
+
*/
|
|
2547
|
+
paypal_payments?: Capabilities.PaypalPayments;
|
|
2548
|
+
|
|
2549
|
+
/**
|
|
2550
|
+
* The payto_payments capability.
|
|
2551
|
+
*/
|
|
2552
|
+
payto_payments?: Capabilities.PaytoPayments;
|
|
2553
|
+
|
|
2195
2554
|
/**
|
|
2196
2555
|
* The promptpay_payments capability.
|
|
2197
2556
|
*/
|
|
2198
2557
|
promptpay_payments?: Capabilities.PromptpayPayments;
|
|
2199
2558
|
|
|
2559
|
+
/**
|
|
2560
|
+
* The qris_payments capability.
|
|
2561
|
+
*/
|
|
2562
|
+
qris_payments?: Capabilities.QrisPayments;
|
|
2563
|
+
|
|
2564
|
+
/**
|
|
2565
|
+
* The rechnung_payments capability.
|
|
2566
|
+
*/
|
|
2567
|
+
rechnung_payments?: Capabilities.RechnungPayments;
|
|
2568
|
+
|
|
2200
2569
|
/**
|
|
2201
2570
|
* The revolut_pay_payments capability.
|
|
2202
2571
|
*/
|
|
@@ -2222,11 +2591,21 @@ declare module 'stripe' {
|
|
|
2222
2591
|
*/
|
|
2223
2592
|
sepa_debit_payments?: Capabilities.SepaDebitPayments;
|
|
2224
2593
|
|
|
2594
|
+
/**
|
|
2595
|
+
* The shopeepay_payments capability.
|
|
2596
|
+
*/
|
|
2597
|
+
shopeepay_payments?: Capabilities.ShopeepayPayments;
|
|
2598
|
+
|
|
2225
2599
|
/**
|
|
2226
2600
|
* The sofort_payments capability.
|
|
2227
2601
|
*/
|
|
2228
2602
|
sofort_payments?: Capabilities.SofortPayments;
|
|
2229
2603
|
|
|
2604
|
+
/**
|
|
2605
|
+
* The stripe_balance_payments capability.
|
|
2606
|
+
*/
|
|
2607
|
+
stripe_balance_payments?: Capabilities.StripeBalancePayments;
|
|
2608
|
+
|
|
2230
2609
|
/**
|
|
2231
2610
|
* The swish_payments capability.
|
|
2232
2611
|
*/
|
|
@@ -2252,6 +2631,21 @@ declare module 'stripe' {
|
|
|
2252
2631
|
*/
|
|
2253
2632
|
treasury?: Capabilities.Treasury;
|
|
2254
2633
|
|
|
2634
|
+
/**
|
|
2635
|
+
* The treasury_evolve capability.
|
|
2636
|
+
*/
|
|
2637
|
+
treasury_evolve?: Capabilities.TreasuryEvolve;
|
|
2638
|
+
|
|
2639
|
+
/**
|
|
2640
|
+
* The treasury_fifth_third capability.
|
|
2641
|
+
*/
|
|
2642
|
+
treasury_fifth_third?: Capabilities.TreasuryFifthThird;
|
|
2643
|
+
|
|
2644
|
+
/**
|
|
2645
|
+
* The treasury_goldman_sachs capability.
|
|
2646
|
+
*/
|
|
2647
|
+
treasury_goldman_sachs?: Capabilities.TreasuryGoldmanSachs;
|
|
2648
|
+
|
|
2255
2649
|
/**
|
|
2256
2650
|
* The twint_payments capability.
|
|
2257
2651
|
*/
|
|
@@ -2316,6 +2710,13 @@ declare module 'stripe' {
|
|
|
2316
2710
|
requested?: boolean;
|
|
2317
2711
|
}
|
|
2318
2712
|
|
|
2713
|
+
interface AutomaticIndirectTax {
|
|
2714
|
+
/**
|
|
2715
|
+
* 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.
|
|
2716
|
+
*/
|
|
2717
|
+
requested?: boolean;
|
|
2718
|
+
}
|
|
2719
|
+
|
|
2319
2720
|
interface BacsDebitPayments {
|
|
2320
2721
|
/**
|
|
2321
2722
|
* 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.
|
|
@@ -2414,6 +2815,13 @@ declare module 'stripe' {
|
|
|
2414
2815
|
requested?: boolean;
|
|
2415
2816
|
}
|
|
2416
2817
|
|
|
2818
|
+
interface GopayPayments {
|
|
2819
|
+
/**
|
|
2820
|
+
* 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.
|
|
2821
|
+
*/
|
|
2822
|
+
requested?: boolean;
|
|
2823
|
+
}
|
|
2824
|
+
|
|
2417
2825
|
interface GrabpayPayments {
|
|
2418
2826
|
/**
|
|
2419
2827
|
* 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.
|
|
@@ -2421,6 +2829,20 @@ declare module 'stripe' {
|
|
|
2421
2829
|
requested?: boolean;
|
|
2422
2830
|
}
|
|
2423
2831
|
|
|
2832
|
+
interface IdBankTransferPayments {
|
|
2833
|
+
/**
|
|
2834
|
+
* 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.
|
|
2835
|
+
*/
|
|
2836
|
+
requested?: boolean;
|
|
2837
|
+
}
|
|
2838
|
+
|
|
2839
|
+
interface IdBankTransferPaymentsBca {
|
|
2840
|
+
/**
|
|
2841
|
+
* 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.
|
|
2842
|
+
*/
|
|
2843
|
+
requested?: boolean;
|
|
2844
|
+
}
|
|
2845
|
+
|
|
2424
2846
|
interface IdealPayments {
|
|
2425
2847
|
/**
|
|
2426
2848
|
* 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.
|
|
@@ -2491,6 +2913,13 @@ declare module 'stripe' {
|
|
|
2491
2913
|
requested?: boolean;
|
|
2492
2914
|
}
|
|
2493
2915
|
|
|
2916
|
+
interface MbWayPayments {
|
|
2917
|
+
/**
|
|
2918
|
+
* 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.
|
|
2919
|
+
*/
|
|
2920
|
+
requested?: boolean;
|
|
2921
|
+
}
|
|
2922
|
+
|
|
2494
2923
|
interface MobilepayPayments {
|
|
2495
2924
|
/**
|
|
2496
2925
|
* 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.
|
|
@@ -2561,6 +2990,20 @@ declare module 'stripe' {
|
|
|
2561
2990
|
requested?: boolean;
|
|
2562
2991
|
}
|
|
2563
2992
|
|
|
2993
|
+
interface PaypalPayments {
|
|
2994
|
+
/**
|
|
2995
|
+
* 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.
|
|
2996
|
+
*/
|
|
2997
|
+
requested?: boolean;
|
|
2998
|
+
}
|
|
2999
|
+
|
|
3000
|
+
interface PaytoPayments {
|
|
3001
|
+
/**
|
|
3002
|
+
* 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.
|
|
3003
|
+
*/
|
|
3004
|
+
requested?: boolean;
|
|
3005
|
+
}
|
|
3006
|
+
|
|
2564
3007
|
interface PromptpayPayments {
|
|
2565
3008
|
/**
|
|
2566
3009
|
* 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.
|
|
@@ -2568,6 +3011,20 @@ declare module 'stripe' {
|
|
|
2568
3011
|
requested?: boolean;
|
|
2569
3012
|
}
|
|
2570
3013
|
|
|
3014
|
+
interface QrisPayments {
|
|
3015
|
+
/**
|
|
3016
|
+
* 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.
|
|
3017
|
+
*/
|
|
3018
|
+
requested?: boolean;
|
|
3019
|
+
}
|
|
3020
|
+
|
|
3021
|
+
interface RechnungPayments {
|
|
3022
|
+
/**
|
|
3023
|
+
* 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.
|
|
3024
|
+
*/
|
|
3025
|
+
requested?: boolean;
|
|
3026
|
+
}
|
|
3027
|
+
|
|
2571
3028
|
interface RevolutPayPayments {
|
|
2572
3029
|
/**
|
|
2573
3030
|
* 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.
|
|
@@ -2603,6 +3060,13 @@ declare module 'stripe' {
|
|
|
2603
3060
|
requested?: boolean;
|
|
2604
3061
|
}
|
|
2605
3062
|
|
|
3063
|
+
interface ShopeepayPayments {
|
|
3064
|
+
/**
|
|
3065
|
+
* 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.
|
|
3066
|
+
*/
|
|
3067
|
+
requested?: boolean;
|
|
3068
|
+
}
|
|
3069
|
+
|
|
2606
3070
|
interface SofortPayments {
|
|
2607
3071
|
/**
|
|
2608
3072
|
* 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.
|
|
@@ -2610,6 +3074,13 @@ declare module 'stripe' {
|
|
|
2610
3074
|
requested?: boolean;
|
|
2611
3075
|
}
|
|
2612
3076
|
|
|
3077
|
+
interface StripeBalancePayments {
|
|
3078
|
+
/**
|
|
3079
|
+
* 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.
|
|
3080
|
+
*/
|
|
3081
|
+
requested?: boolean;
|
|
3082
|
+
}
|
|
3083
|
+
|
|
2613
3084
|
interface SwishPayments {
|
|
2614
3085
|
/**
|
|
2615
3086
|
* 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.
|
|
@@ -2645,6 +3116,27 @@ declare module 'stripe' {
|
|
|
2645
3116
|
requested?: boolean;
|
|
2646
3117
|
}
|
|
2647
3118
|
|
|
3119
|
+
interface TreasuryEvolve {
|
|
3120
|
+
/**
|
|
3121
|
+
* 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.
|
|
3122
|
+
*/
|
|
3123
|
+
requested?: boolean;
|
|
3124
|
+
}
|
|
3125
|
+
|
|
3126
|
+
interface TreasuryFifthThird {
|
|
3127
|
+
/**
|
|
3128
|
+
* 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.
|
|
3129
|
+
*/
|
|
3130
|
+
requested?: boolean;
|
|
3131
|
+
}
|
|
3132
|
+
|
|
3133
|
+
interface TreasuryGoldmanSachs {
|
|
3134
|
+
/**
|
|
3135
|
+
* 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.
|
|
3136
|
+
*/
|
|
3137
|
+
requested?: boolean;
|
|
3138
|
+
}
|
|
3139
|
+
|
|
2648
3140
|
interface TwintPayments {
|
|
2649
3141
|
/**
|
|
2650
3142
|
* 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.
|
|
@@ -3222,17 +3714,57 @@ declare module 'stripe' {
|
|
|
3222
3714
|
}
|
|
3223
3715
|
}
|
|
3224
3716
|
|
|
3717
|
+
interface RiskControls {
|
|
3718
|
+
/**
|
|
3719
|
+
* 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).
|
|
3720
|
+
*/
|
|
3721
|
+
charges?: RiskControls.Charges;
|
|
3722
|
+
|
|
3723
|
+
/**
|
|
3724
|
+
* 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).
|
|
3725
|
+
*/
|
|
3726
|
+
payouts?: RiskControls.Payouts;
|
|
3727
|
+
}
|
|
3728
|
+
|
|
3729
|
+
namespace RiskControls {
|
|
3730
|
+
interface Charges {
|
|
3731
|
+
/**
|
|
3732
|
+
* To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
|
|
3733
|
+
* There can be a delay before the risk control is paused or unpaused.
|
|
3734
|
+
*/
|
|
3735
|
+
pause_requested?: boolean;
|
|
3736
|
+
}
|
|
3737
|
+
|
|
3738
|
+
interface Payouts {
|
|
3739
|
+
/**
|
|
3740
|
+
* To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
|
|
3741
|
+
* There can be a delay before the risk control is paused or unpaused.
|
|
3742
|
+
*/
|
|
3743
|
+
pause_requested?: boolean;
|
|
3744
|
+
}
|
|
3745
|
+
}
|
|
3746
|
+
|
|
3225
3747
|
interface Settings {
|
|
3226
3748
|
/**
|
|
3227
3749
|
* Settings specific to Bacs Direct Debit payments.
|
|
3228
3750
|
*/
|
|
3229
3751
|
bacs_debit_payments?: Settings.BacsDebitPayments;
|
|
3230
3752
|
|
|
3753
|
+
/**
|
|
3754
|
+
* Settings specific to bank BCA onboarding for Indonesia bank transfers payments method.
|
|
3755
|
+
*/
|
|
3756
|
+
bank_bca_onboarding?: Settings.BankBcaOnboarding;
|
|
3757
|
+
|
|
3231
3758
|
/**
|
|
3232
3759
|
* Settings used to apply the account's branding to email receipts, invoices, Checkout, and other products.
|
|
3233
3760
|
*/
|
|
3234
3761
|
branding?: Settings.Branding;
|
|
3235
3762
|
|
|
3763
|
+
/**
|
|
3764
|
+
* Settings specific to the account's use of the Capital product.
|
|
3765
|
+
*/
|
|
3766
|
+
capital?: Settings.Capital;
|
|
3767
|
+
|
|
3236
3768
|
/**
|
|
3237
3769
|
* Settings specific to the account's use of the Card Issuing product.
|
|
3238
3770
|
*/
|
|
@@ -3258,6 +3790,11 @@ declare module 'stripe' {
|
|
|
3258
3790
|
*/
|
|
3259
3791
|
payouts?: Settings.Payouts;
|
|
3260
3792
|
|
|
3793
|
+
/**
|
|
3794
|
+
* Settings specific to the account's tax forms.
|
|
3795
|
+
*/
|
|
3796
|
+
tax_forms?: Settings.TaxForms;
|
|
3797
|
+
|
|
3261
3798
|
/**
|
|
3262
3799
|
* Settings specific to the account's Treasury FinancialAccounts.
|
|
3263
3800
|
*/
|
|
@@ -3272,6 +3809,18 @@ declare module 'stripe' {
|
|
|
3272
3809
|
display_name?: string;
|
|
3273
3810
|
}
|
|
3274
3811
|
|
|
3812
|
+
interface BankBcaOnboarding {
|
|
3813
|
+
/**
|
|
3814
|
+
* Bank BCA business account holder name
|
|
3815
|
+
*/
|
|
3816
|
+
account_holder_name?: string;
|
|
3817
|
+
|
|
3818
|
+
/**
|
|
3819
|
+
* Bank BCA business account number
|
|
3820
|
+
*/
|
|
3821
|
+
business_account_number?: string;
|
|
3822
|
+
}
|
|
3823
|
+
|
|
3275
3824
|
interface Branding {
|
|
3276
3825
|
/**
|
|
3277
3826
|
* (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.
|
|
@@ -3294,6 +3843,22 @@ declare module 'stripe' {
|
|
|
3294
3843
|
secondary_color?: string;
|
|
3295
3844
|
}
|
|
3296
3845
|
|
|
3846
|
+
interface Capital {
|
|
3847
|
+
/**
|
|
3848
|
+
* Per-currency mapping of user-selected destination accounts used to pay out loans.
|
|
3849
|
+
*/
|
|
3850
|
+
payout_destination?: {
|
|
3851
|
+
[key: string]: string;
|
|
3852
|
+
};
|
|
3853
|
+
|
|
3854
|
+
/**
|
|
3855
|
+
* Per-currency mapping of all destination accounts eligible to receive Capital financing payouts.
|
|
3856
|
+
*/
|
|
3857
|
+
payout_destination_selector?: {
|
|
3858
|
+
[key: string]: Array<string>;
|
|
3859
|
+
};
|
|
3860
|
+
}
|
|
3861
|
+
|
|
3297
3862
|
interface CardIssuing {
|
|
3298
3863
|
/**
|
|
3299
3864
|
* Details on the account's acceptance of the [Stripe Issuing Terms and Disclosures](https://stripe.com/issuing/connect/tos_acceptance).
|
|
@@ -3443,6 +4008,13 @@ declare module 'stripe' {
|
|
|
3443
4008
|
}
|
|
3444
4009
|
}
|
|
3445
4010
|
|
|
4011
|
+
interface TaxForms {
|
|
4012
|
+
/**
|
|
4013
|
+
* Whether the account opted out of receiving their tax forms by postal delivery.
|
|
4014
|
+
*/
|
|
4015
|
+
consented_to_paperless_delivery?: boolean;
|
|
4016
|
+
}
|
|
4017
|
+
|
|
3446
4018
|
interface Treasury {
|
|
3447
4019
|
/**
|
|
3448
4020
|
* Details on the account's acceptance of the Stripe Treasury Services Agreement.
|