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
package/types/Accounts.d.ts
CHANGED
|
@@ -111,6 +111,8 @@ declare module 'stripe' {
|
|
|
111
111
|
|
|
112
112
|
requirements?: Account.Requirements;
|
|
113
113
|
|
|
114
|
+
risk_controls?: Account.RiskControls;
|
|
115
|
+
|
|
114
116
|
/**
|
|
115
117
|
* Options for customizing how the account functions within Stripe.
|
|
116
118
|
*/
|
|
@@ -141,6 +143,13 @@ declare module 'stripe' {
|
|
|
141
143
|
*/
|
|
142
144
|
mcc: string | null;
|
|
143
145
|
|
|
146
|
+
/**
|
|
147
|
+
* Whether the business is a minority-owned, women-owned, and/or LGBTQI+-owned business.
|
|
148
|
+
*/
|
|
149
|
+
minority_owned_business_designation: Array<
|
|
150
|
+
BusinessProfile.MinorityOwnedBusinessDesignation
|
|
151
|
+
> | null;
|
|
152
|
+
|
|
144
153
|
monthly_estimated_revenue?: BusinessProfile.MonthlyEstimatedRevenue;
|
|
145
154
|
|
|
146
155
|
/**
|
|
@@ -197,6 +206,13 @@ declare module 'stripe' {
|
|
|
197
206
|
fiscal_year_end: string | null;
|
|
198
207
|
}
|
|
199
208
|
|
|
209
|
+
type MinorityOwnedBusinessDesignation =
|
|
210
|
+
| 'lgbtqi_owned_business'
|
|
211
|
+
| 'minority_owned_business'
|
|
212
|
+
| 'none_of_these_apply'
|
|
213
|
+
| 'prefer_not_to_answer'
|
|
214
|
+
| 'women_owned_business';
|
|
215
|
+
|
|
200
216
|
interface MonthlyEstimatedRevenue {
|
|
201
217
|
/**
|
|
202
218
|
* A non-negative integer representing how much to charge in the [smallest currency unit](https://stripe.com/currencies#zero-decimal).
|
|
@@ -247,6 +263,11 @@ declare module 'stripe' {
|
|
|
247
263
|
*/
|
|
248
264
|
au_becs_debit_payments?: Capabilities.AuBecsDebitPayments;
|
|
249
265
|
|
|
266
|
+
/**
|
|
267
|
+
* The status of the automatic_indirect_tax capability of the account.
|
|
268
|
+
*/
|
|
269
|
+
automatic_indirect_tax?: Capabilities.AutomaticIndirectTax;
|
|
270
|
+
|
|
250
271
|
/**
|
|
251
272
|
* The status of the Bacs Direct Debits payments capability of the account, or whether the account can directly process Bacs Direct Debits charges.
|
|
252
273
|
*/
|
|
@@ -317,11 +338,26 @@ declare module 'stripe' {
|
|
|
317
338
|
*/
|
|
318
339
|
giropay_payments?: Capabilities.GiropayPayments;
|
|
319
340
|
|
|
341
|
+
/**
|
|
342
|
+
* The status of the Gopay capability of the account, or whether the account can directly process Gopay payments.
|
|
343
|
+
*/
|
|
344
|
+
gopay_payments?: Capabilities.GopayPayments;
|
|
345
|
+
|
|
320
346
|
/**
|
|
321
347
|
* The status of the GrabPay payments capability of the account, or whether the account can directly process GrabPay charges.
|
|
322
348
|
*/
|
|
323
349
|
grabpay_payments?: Capabilities.GrabpayPayments;
|
|
324
350
|
|
|
351
|
+
/**
|
|
352
|
+
* The status of the Indonesia Bank Transfer payments capability of the account, or whether the account can directly process Indonesia Bank Transfer charges.
|
|
353
|
+
*/
|
|
354
|
+
id_bank_transfer_payments?: Capabilities.IdBankTransferPayments;
|
|
355
|
+
|
|
356
|
+
/**
|
|
357
|
+
* The status of Bank BCA onboarding of the account.
|
|
358
|
+
*/
|
|
359
|
+
id_bank_transfer_payments_bca?: Capabilities.IdBankTransferPaymentsBca;
|
|
360
|
+
|
|
325
361
|
/**
|
|
326
362
|
* The status of the iDEAL payments capability of the account, or whether the account can directly process iDEAL charges.
|
|
327
363
|
*/
|
|
@@ -372,6 +408,11 @@ declare module 'stripe' {
|
|
|
372
408
|
*/
|
|
373
409
|
link_payments?: Capabilities.LinkPayments;
|
|
374
410
|
|
|
411
|
+
/**
|
|
412
|
+
* The status of the MB WAY payments capability of the account, or whether the account can directly process MB WAY charges.
|
|
413
|
+
*/
|
|
414
|
+
mb_way_payments?: Capabilities.MbWayPayments;
|
|
415
|
+
|
|
375
416
|
/**
|
|
376
417
|
* The status of the MobilePay capability of the account, or whether the account can directly process MobilePay charges.
|
|
377
418
|
*/
|
|
@@ -422,11 +463,31 @@ declare module 'stripe' {
|
|
|
422
463
|
*/
|
|
423
464
|
paynow_payments?: Capabilities.PaynowPayments;
|
|
424
465
|
|
|
466
|
+
/**
|
|
467
|
+
* The status of the PayPal payments capability of the account, or whether the account can directly process PayPal charges.
|
|
468
|
+
*/
|
|
469
|
+
paypal_payments?: Capabilities.PaypalPayments;
|
|
470
|
+
|
|
471
|
+
/**
|
|
472
|
+
* The status of the PayTo capability of the account, or whether the account can directly process PayTo charges.
|
|
473
|
+
*/
|
|
474
|
+
payto_payments?: Capabilities.PaytoPayments;
|
|
475
|
+
|
|
425
476
|
/**
|
|
426
477
|
* The status of the promptpay payments capability of the account, or whether the account can directly process promptpay charges.
|
|
427
478
|
*/
|
|
428
479
|
promptpay_payments?: Capabilities.PromptpayPayments;
|
|
429
480
|
|
|
481
|
+
/**
|
|
482
|
+
* The status of the Qris capability of the account, or whether the account can directly process Qris payments.
|
|
483
|
+
*/
|
|
484
|
+
qris_payments?: Capabilities.QrisPayments;
|
|
485
|
+
|
|
486
|
+
/**
|
|
487
|
+
* The status of the Rechnung capability of the account, or whether the account can directly process Rechnung payments.
|
|
488
|
+
*/
|
|
489
|
+
rechnung_payments?: Capabilities.RechnungPayments;
|
|
490
|
+
|
|
430
491
|
/**
|
|
431
492
|
* The status of the RevolutPay capability of the account, or whether the account can directly process RevolutPay payments.
|
|
432
493
|
*/
|
|
@@ -452,11 +513,21 @@ declare module 'stripe' {
|
|
|
452
513
|
*/
|
|
453
514
|
sepa_debit_payments?: Capabilities.SepaDebitPayments;
|
|
454
515
|
|
|
516
|
+
/**
|
|
517
|
+
* The status of the ShopeePay capability of the account, or whether the account can directly process ShopeePay payments.
|
|
518
|
+
*/
|
|
519
|
+
shopeepay_payments?: Capabilities.ShopeepayPayments;
|
|
520
|
+
|
|
455
521
|
/**
|
|
456
522
|
* The status of the Sofort payments capability of the account, or whether the account can directly process Sofort charges.
|
|
457
523
|
*/
|
|
458
524
|
sofort_payments?: Capabilities.SofortPayments;
|
|
459
525
|
|
|
526
|
+
/**
|
|
527
|
+
* The status of the stripe_balance payments capability of the account, or whether the account can directly process stripe_balance charges.
|
|
528
|
+
*/
|
|
529
|
+
stripe_balance_payments?: Capabilities.StripeBalancePayments;
|
|
530
|
+
|
|
460
531
|
/**
|
|
461
532
|
* The status of the Swish capability of the account, or whether the account can directly process Swish payments.
|
|
462
533
|
*/
|
|
@@ -482,6 +553,21 @@ declare module 'stripe' {
|
|
|
482
553
|
*/
|
|
483
554
|
treasury?: Capabilities.Treasury;
|
|
484
555
|
|
|
556
|
+
/**
|
|
557
|
+
* The status of the treasury_evolve capability of the account.
|
|
558
|
+
*/
|
|
559
|
+
treasury_evolve?: Capabilities.TreasuryEvolve;
|
|
560
|
+
|
|
561
|
+
/**
|
|
562
|
+
* The status of the treasury_fifth_third capability of the account.
|
|
563
|
+
*/
|
|
564
|
+
treasury_fifth_third?: Capabilities.TreasuryFifthThird;
|
|
565
|
+
|
|
566
|
+
/**
|
|
567
|
+
* The status of the treasury_goldman_sachs capability of the account.
|
|
568
|
+
*/
|
|
569
|
+
treasury_goldman_sachs?: Capabilities.TreasuryGoldmanSachs;
|
|
570
|
+
|
|
485
571
|
/**
|
|
486
572
|
* The status of the TWINT capability of the account, or whether the account can directly process TWINT charges.
|
|
487
573
|
*/
|
|
@@ -516,6 +602,8 @@ declare module 'stripe' {
|
|
|
516
602
|
|
|
517
603
|
type AuBecsDebitPayments = 'active' | 'inactive' | 'pending';
|
|
518
604
|
|
|
605
|
+
type AutomaticIndirectTax = 'active' | 'inactive' | 'pending';
|
|
606
|
+
|
|
519
607
|
type BacsDebitPayments = 'active' | 'inactive' | 'pending';
|
|
520
608
|
|
|
521
609
|
type BancontactPayments = 'active' | 'inactive' | 'pending';
|
|
@@ -544,8 +632,14 @@ declare module 'stripe' {
|
|
|
544
632
|
|
|
545
633
|
type GiropayPayments = 'active' | 'inactive' | 'pending';
|
|
546
634
|
|
|
635
|
+
type GopayPayments = 'active' | 'inactive' | 'pending';
|
|
636
|
+
|
|
547
637
|
type GrabpayPayments = 'active' | 'inactive' | 'pending';
|
|
548
638
|
|
|
639
|
+
type IdBankTransferPayments = 'active' | 'inactive' | 'pending';
|
|
640
|
+
|
|
641
|
+
type IdBankTransferPaymentsBca = 'active' | 'inactive' | 'pending';
|
|
642
|
+
|
|
549
643
|
type IdealPayments = 'active' | 'inactive' | 'pending';
|
|
550
644
|
|
|
551
645
|
type IndiaInternationalPayments = 'active' | 'inactive' | 'pending';
|
|
@@ -566,6 +660,8 @@ declare module 'stripe' {
|
|
|
566
660
|
|
|
567
661
|
type LinkPayments = 'active' | 'inactive' | 'pending';
|
|
568
662
|
|
|
663
|
+
type MbWayPayments = 'active' | 'inactive' | 'pending';
|
|
664
|
+
|
|
569
665
|
type MobilepayPayments = 'active' | 'inactive' | 'pending';
|
|
570
666
|
|
|
571
667
|
type MultibancoPayments = 'active' | 'inactive' | 'pending';
|
|
@@ -586,8 +682,16 @@ declare module 'stripe' {
|
|
|
586
682
|
|
|
587
683
|
type PaynowPayments = 'active' | 'inactive' | 'pending';
|
|
588
684
|
|
|
685
|
+
type PaypalPayments = 'active' | 'inactive' | 'pending';
|
|
686
|
+
|
|
687
|
+
type PaytoPayments = 'active' | 'inactive' | 'pending';
|
|
688
|
+
|
|
589
689
|
type PromptpayPayments = 'active' | 'inactive' | 'pending';
|
|
590
690
|
|
|
691
|
+
type QrisPayments = 'active' | 'inactive' | 'pending';
|
|
692
|
+
|
|
693
|
+
type RechnungPayments = 'active' | 'inactive' | 'pending';
|
|
694
|
+
|
|
591
695
|
type RevolutPayPayments = 'active' | 'inactive' | 'pending';
|
|
592
696
|
|
|
593
697
|
type SamsungPayPayments = 'active' | 'inactive' | 'pending';
|
|
@@ -598,8 +702,12 @@ declare module 'stripe' {
|
|
|
598
702
|
|
|
599
703
|
type SepaDebitPayments = 'active' | 'inactive' | 'pending';
|
|
600
704
|
|
|
705
|
+
type ShopeepayPayments = 'active' | 'inactive' | 'pending';
|
|
706
|
+
|
|
601
707
|
type SofortPayments = 'active' | 'inactive' | 'pending';
|
|
602
708
|
|
|
709
|
+
type StripeBalancePayments = 'active' | 'inactive' | 'pending';
|
|
710
|
+
|
|
603
711
|
type SwishPayments = 'active' | 'inactive' | 'pending';
|
|
604
712
|
|
|
605
713
|
type TaxReportingUs1099K = 'active' | 'inactive' | 'pending';
|
|
@@ -610,6 +718,12 @@ declare module 'stripe' {
|
|
|
610
718
|
|
|
611
719
|
type Treasury = 'active' | 'inactive' | 'pending';
|
|
612
720
|
|
|
721
|
+
type TreasuryEvolve = 'active' | 'inactive' | 'pending';
|
|
722
|
+
|
|
723
|
+
type TreasuryFifthThird = 'active' | 'inactive' | 'pending';
|
|
724
|
+
|
|
725
|
+
type TreasuryGoldmanSachs = 'active' | 'inactive' | 'pending';
|
|
726
|
+
|
|
613
727
|
type TwintPayments = 'active' | 'inactive' | 'pending';
|
|
614
728
|
|
|
615
729
|
type UsBankAccountAchPayments = 'active' | 'inactive' | 'pending';
|
|
@@ -886,6 +1000,10 @@ declare module 'stripe' {
|
|
|
886
1000
|
}
|
|
887
1001
|
|
|
888
1002
|
interface Controller {
|
|
1003
|
+
application?: Controller.Application;
|
|
1004
|
+
|
|
1005
|
+
dashboard?: Controller.Dashboard;
|
|
1006
|
+
|
|
889
1007
|
fees?: Controller.Fees;
|
|
890
1008
|
|
|
891
1009
|
/**
|
|
@@ -909,6 +1027,34 @@ declare module 'stripe' {
|
|
|
909
1027
|
}
|
|
910
1028
|
|
|
911
1029
|
namespace Controller {
|
|
1030
|
+
interface Application {
|
|
1031
|
+
/**
|
|
1032
|
+
* `true` if the Connect application is responsible for negative balances and should manage credit and fraud risk on the account.
|
|
1033
|
+
*/
|
|
1034
|
+
loss_liable: boolean;
|
|
1035
|
+
|
|
1036
|
+
/**
|
|
1037
|
+
* `true` if the Connect application is responsible for onboarding the account.
|
|
1038
|
+
*/
|
|
1039
|
+
onboarding_owner: boolean;
|
|
1040
|
+
|
|
1041
|
+
/**
|
|
1042
|
+
* `true` if the Connect application is responsible for paying Stripe fees on pricing-control eligible products.
|
|
1043
|
+
*/
|
|
1044
|
+
pricing_controls: boolean;
|
|
1045
|
+
}
|
|
1046
|
+
|
|
1047
|
+
interface Dashboard {
|
|
1048
|
+
/**
|
|
1049
|
+
* Whether this account has access to the full Stripe dashboard (`full`), to the Express dashboard (`express`), or to no dashboard (`none`).
|
|
1050
|
+
*/
|
|
1051
|
+
type: Dashboard.Type;
|
|
1052
|
+
}
|
|
1053
|
+
|
|
1054
|
+
namespace Dashboard {
|
|
1055
|
+
type Type = 'express' | 'full' | 'none';
|
|
1056
|
+
}
|
|
1057
|
+
|
|
912
1058
|
interface Fees {
|
|
913
1059
|
/**
|
|
914
1060
|
* A value indicating the responsible payer of a bundle of Stripe fees for pricing-control eligible products on this account. Learn more about [fee behavior on connected accounts](https://docs.stripe.com/connect/direct-charges-fee-payer-behavior).
|
|
@@ -921,7 +1067,8 @@ declare module 'stripe' {
|
|
|
921
1067
|
| 'account'
|
|
922
1068
|
| 'application'
|
|
923
1069
|
| 'application_custom'
|
|
924
|
-
| 'application_express'
|
|
1070
|
+
| 'application_express'
|
|
1071
|
+
| 'application_unified_accounts_beta';
|
|
925
1072
|
}
|
|
926
1073
|
|
|
927
1074
|
interface Losses {
|
|
@@ -1129,6 +1276,7 @@ declare module 'stripe' {
|
|
|
1129
1276
|
| 'verification_failed_residential_address'
|
|
1130
1277
|
| 'verification_failed_tax_id_match'
|
|
1131
1278
|
| 'verification_failed_tax_id_not_issued'
|
|
1279
|
+
| 'verification_legal_entity_structure_mismatch'
|
|
1132
1280
|
| 'verification_missing_directors'
|
|
1133
1281
|
| 'verification_missing_executives'
|
|
1134
1282
|
| 'verification_missing_owners'
|
|
@@ -1324,6 +1472,7 @@ declare module 'stripe' {
|
|
|
1324
1472
|
| 'verification_failed_residential_address'
|
|
1325
1473
|
| 'verification_failed_tax_id_match'
|
|
1326
1474
|
| 'verification_failed_tax_id_not_issued'
|
|
1475
|
+
| 'verification_legal_entity_structure_mismatch'
|
|
1327
1476
|
| 'verification_missing_directors'
|
|
1328
1477
|
| 'verification_missing_executives'
|
|
1329
1478
|
| 'verification_missing_owners'
|
|
@@ -1334,11 +1483,52 @@ declare module 'stripe' {
|
|
|
1334
1483
|
}
|
|
1335
1484
|
}
|
|
1336
1485
|
|
|
1486
|
+
interface RiskControls {
|
|
1487
|
+
charges: RiskControls.Charges;
|
|
1488
|
+
|
|
1489
|
+
payouts: RiskControls.Payouts;
|
|
1490
|
+
|
|
1491
|
+
/**
|
|
1492
|
+
* Represents the rejected reason of the account. Empty if account is not rejected, or rejected by Stripe. Please see [this page for more details](https://stripe.com/docs/connect/)
|
|
1493
|
+
*/
|
|
1494
|
+
rejected_reason?: RiskControls.RejectedReason | null;
|
|
1495
|
+
}
|
|
1496
|
+
|
|
1497
|
+
namespace RiskControls {
|
|
1498
|
+
interface Charges {
|
|
1499
|
+
/**
|
|
1500
|
+
* Whether a pause of the risk control has been requested.
|
|
1501
|
+
*/
|
|
1502
|
+
pause_requested: boolean;
|
|
1503
|
+
}
|
|
1504
|
+
|
|
1505
|
+
interface Payouts {
|
|
1506
|
+
/**
|
|
1507
|
+
* Whether a pause of the risk control has been requested.
|
|
1508
|
+
*/
|
|
1509
|
+
pause_requested: boolean;
|
|
1510
|
+
}
|
|
1511
|
+
|
|
1512
|
+
type RejectedReason =
|
|
1513
|
+
| 'credit'
|
|
1514
|
+
| 'fraud'
|
|
1515
|
+
| 'fraud_no_intent_to_fulfill'
|
|
1516
|
+
| 'fraud_other'
|
|
1517
|
+
| 'fraud_payment_method_casher'
|
|
1518
|
+
| 'fraud_payment_method_tester'
|
|
1519
|
+
| 'other'
|
|
1520
|
+
| 'terms_of_service';
|
|
1521
|
+
}
|
|
1522
|
+
|
|
1337
1523
|
interface Settings {
|
|
1338
1524
|
bacs_debit_payments?: Settings.BacsDebitPayments;
|
|
1339
1525
|
|
|
1526
|
+
bank_bca_onboarding?: Settings.BankBcaOnboarding;
|
|
1527
|
+
|
|
1340
1528
|
branding: Settings.Branding;
|
|
1341
1529
|
|
|
1530
|
+
capital?: Settings.Capital;
|
|
1531
|
+
|
|
1342
1532
|
card_issuing?: Settings.CardIssuing;
|
|
1343
1533
|
|
|
1344
1534
|
card_payments: Settings.CardPayments;
|
|
@@ -1353,6 +1543,8 @@ declare module 'stripe' {
|
|
|
1353
1543
|
|
|
1354
1544
|
sepa_debit_payments?: Settings.SepaDebitPayments;
|
|
1355
1545
|
|
|
1546
|
+
tax_forms?: Settings.TaxForms;
|
|
1547
|
+
|
|
1356
1548
|
treasury?: Settings.Treasury;
|
|
1357
1549
|
}
|
|
1358
1550
|
|
|
@@ -1369,6 +1561,18 @@ declare module 'stripe' {
|
|
|
1369
1561
|
service_user_number: string | null;
|
|
1370
1562
|
}
|
|
1371
1563
|
|
|
1564
|
+
interface BankBcaOnboarding {
|
|
1565
|
+
/**
|
|
1566
|
+
* Bank BCA business account holder name.
|
|
1567
|
+
*/
|
|
1568
|
+
account_holder_name?: string;
|
|
1569
|
+
|
|
1570
|
+
/**
|
|
1571
|
+
* Bank BCA business account number.
|
|
1572
|
+
*/
|
|
1573
|
+
business_account_number?: string;
|
|
1574
|
+
}
|
|
1575
|
+
|
|
1372
1576
|
interface Branding {
|
|
1373
1577
|
/**
|
|
1374
1578
|
* (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.
|
|
@@ -1391,6 +1595,22 @@ declare module 'stripe' {
|
|
|
1391
1595
|
secondary_color: string | null;
|
|
1392
1596
|
}
|
|
1393
1597
|
|
|
1598
|
+
interface Capital {
|
|
1599
|
+
/**
|
|
1600
|
+
* Per-currency mapping of user-selected destination accounts used to pay out loans.
|
|
1601
|
+
*/
|
|
1602
|
+
payout_destination?: {
|
|
1603
|
+
[key: string]: string;
|
|
1604
|
+
};
|
|
1605
|
+
|
|
1606
|
+
/**
|
|
1607
|
+
* Per-currency mapping of all destination accounts eligible to receive loan payouts.
|
|
1608
|
+
*/
|
|
1609
|
+
payout_destination_selector?: {
|
|
1610
|
+
[key: string]: Array<string>;
|
|
1611
|
+
};
|
|
1612
|
+
}
|
|
1613
|
+
|
|
1394
1614
|
interface CardIssuing {
|
|
1395
1615
|
tos_acceptance?: CardIssuing.TosAcceptance;
|
|
1396
1616
|
}
|
|
@@ -1547,6 +1767,13 @@ declare module 'stripe' {
|
|
|
1547
1767
|
creditor_id?: string;
|
|
1548
1768
|
}
|
|
1549
1769
|
|
|
1770
|
+
interface TaxForms {
|
|
1771
|
+
/**
|
|
1772
|
+
* Whether the account opted out of receiving their tax forms by postal delivery.
|
|
1773
|
+
*/
|
|
1774
|
+
consented_to_paperless_delivery: boolean;
|
|
1775
|
+
}
|
|
1776
|
+
|
|
1550
1777
|
interface Treasury {
|
|
1551
1778
|
tos_acceptance?: Treasury.TosAcceptance;
|
|
1552
1779
|
}
|