stripe 20.0.0 → 20.1.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1503 -11
- package/OPENAPI_VERSION +1 -1
- package/README.md +1 -0
- package/VERSION +1 -1
- package/cjs/Error.js +115 -1
- package/cjs/apiVersion.js +2 -3
- package/cjs/resources/AccountNotices.js +21 -0
- package/cjs/resources/Billing/Analytics/MeterUsage.js +12 -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/FxQuotes.js +15 -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/Mandates.js +5 -0
- package/cjs/resources/Margins.js +22 -0
- package/cjs/resources/Orders.js +24 -0
- package/cjs/resources/PaymentIntents.js +8 -0
- package/cjs/resources/Privacy/RedactionJobs.js +42 -0
- package/cjs/resources/Quotes.js +32 -0
- package/cjs/resources/SubscriptionSchedules.js +4 -0
- package/cjs/resources/Subscriptions.js +4 -0
- package/cjs/resources/Tax/Forms.js +20 -0
- package/cjs/resources/Terminal/ReaderCollectedData.js +12 -0
- package/cjs/resources/V2/Billing/BillSettings/Versions.js +17 -0
- package/cjs/resources/V2/Billing/BillSettings.js +27 -0
- package/cjs/resources/V2/Billing/Cadences.js +23 -0
- package/cjs/resources/V2/Billing/CollectionSettings/Versions.js +17 -0
- package/cjs/resources/V2/Billing/CollectionSettings.js +30 -0
- package/cjs/resources/V2/Billing/Profiles.js +19 -0
- package/cjs/resources/V2/Core/AccountLinks.js +9 -0
- package/cjs/resources/V2/Core/AccountTokens.js +13 -0
- package/cjs/resources/V2/Core/Accounts/PersonTokens.js +16 -0
- package/cjs/resources/V2/Core/Accounts/Persons.js +29 -0
- package/cjs/resources/V2/Core/Accounts.js +27 -0
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.js +33 -0
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.js +37 -0
- package/cjs/resources/V2/MoneyManagement/Adjustments.js +17 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +29 -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 +16 -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 +100 -8
- package/cjs/stripe.core.js +1 -1
- package/esm/Error.js +100 -0
- package/esm/apiVersion.js +1 -2
- package/esm/resources/AccountNotices.js +18 -0
- package/esm/resources/Billing/Analytics/MeterUsage.js +9 -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/FxQuotes.js +12 -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/Mandates.js +5 -0
- package/esm/resources/Margins.js +19 -0
- package/esm/resources/Orders.js +21 -0
- package/esm/resources/PaymentIntents.js +8 -0
- package/esm/resources/Privacy/RedactionJobs.js +39 -0
- package/esm/resources/Quotes.js +32 -0
- package/esm/resources/SubscriptionSchedules.js +4 -0
- package/esm/resources/Subscriptions.js +4 -0
- package/esm/resources/Tax/Forms.js +17 -0
- package/esm/resources/Terminal/ReaderCollectedData.js +9 -0
- package/esm/resources/V2/Billing/BillSettings/Versions.js +14 -0
- package/esm/resources/V2/Billing/BillSettings.js +24 -0
- package/esm/resources/V2/Billing/Cadences.js +20 -0
- package/esm/resources/V2/Billing/CollectionSettings/Versions.js +14 -0
- package/esm/resources/V2/Billing/CollectionSettings.js +27 -0
- package/esm/resources/V2/Billing/Profiles.js +16 -0
- package/esm/resources/V2/Core/AccountLinks.js +6 -0
- package/esm/resources/V2/Core/AccountTokens.js +10 -0
- package/esm/resources/V2/Core/Accounts/PersonTokens.js +13 -0
- package/esm/resources/V2/Core/Accounts/Persons.js +26 -0
- package/esm/resources/V2/Core/Accounts.js +24 -0
- package/esm/resources/V2/Core/Vault/GbBankAccounts.js +30 -0
- package/esm/resources/V2/Core/Vault/UsBankAccounts.js +34 -0
- package/esm/resources/V2/MoneyManagement/Adjustments.js +14 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +26 -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 +13 -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 +87 -0
- 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 +264 -0
- package/types/Accounts.d.ts +232 -1
- package/types/AccountsResource.d.ts +586 -0
- package/types/BankAccounts.d.ts +2 -0
- package/types/Billing/AlertTriggereds.d.ts +1 -1
- package/types/Billing/Analytics/MeterUsage.d.ts +31 -0
- package/types/Billing/Analytics/MeterUsageResource.d.ts +689 -0
- package/types/Billing/Analytics/MeterUsageRows.d.ts +51 -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 +13 -3
- 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 +176 -0
- package/types/ChargesResource.d.ts +3855 -75
- package/types/Checkout/Sessions.d.ts +369 -2
- package/types/Checkout/SessionsResource.d.ts +632 -2
- package/types/ConfirmationTokens.d.ts +125 -0
- package/types/Coupons.d.ts +35 -0
- package/types/CouponsResource.d.ts +23 -0
- package/types/CreditNoteLineItems.d.ts +17 -0
- package/types/CreditNotes.d.ts +5 -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 +46 -0
- package/types/CustomerSessionsResource.d.ts +47 -1
- package/types/Customers.d.ts +2 -0
- package/types/CustomersResource.d.ts +8 -0
- package/types/Discounts.d.ts +10 -0
- package/types/Disputes.d.ts +40 -0
- package/types/DisputesResource.d.ts +11 -0
- package/types/Errors.d.ts +85 -0
- package/types/EventTypes.d.ts +630 -0
- package/types/Events.d.ts +96 -0
- package/types/ExternalAccountsResource.d.ts +304 -0
- package/types/FinancialConnections/AccountInferredBalances.d.ts +38 -0
- package/types/FinancialConnections/Accounts.d.ts +36 -1
- package/types/FinancialConnections/AccountsResource.d.ts +40 -3
- package/types/FinancialConnections/Institutions.d.ts +98 -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/FxQuotes.d.ts +155 -0
- package/types/FxQuotesResource.d.ts +130 -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/Invoices.d.ts +203 -4
- package/types/InvoicesResource.d.ts +1620 -2
- 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/Mandates.d.ts +135 -1
- package/types/MandatesResource.d.ts +31 -0
- package/types/Margins.d.ts +56 -0
- package/types/MarginsResource.d.ts +114 -0
- package/types/Orders.d.ts +1163 -0
- package/types/OrdersResource.d.ts +5505 -0
- package/types/PaymentAttemptRecords.d.ts +141 -0
- package/types/PaymentIntents.d.ts +752 -3
- package/types/PaymentIntentsResource.d.ts +19244 -6298
- package/types/PaymentLinks.d.ts +6 -0
- package/types/PaymentLinksResource.d.ts +12 -0
- package/types/PaymentMethodConfigurations.d.ts +216 -0
- package/types/PaymentMethodConfigurationsResource.d.ts +300 -0
- package/types/PaymentMethods.d.ts +130 -0
- package/types/PaymentMethodsResource.d.ts +179 -2
- package/types/PaymentRecords.d.ts +141 -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/RedactionJobValidationErrors.d.ts +60 -0
- package/types/Privacy/RedactionJobs.d.ts +111 -0
- package/types/Privacy/RedactionJobsResource.d.ts +230 -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 +1771 -0
- package/types/QuotePreviewSubscriptionSchedules.d.ts +908 -0
- package/types/Quotes.d.ts +594 -1
- package/types/QuotesResource.d.ts +2588 -243
- package/types/Refunds.d.ts +14 -0
- package/types/SetupAttempts.d.ts +51 -1
- package/types/SetupIntents.d.ts +218 -2
- package/types/SetupIntentsResource.d.ts +954 -4
- package/types/Sources.d.ts +29 -0
- package/types/SubscriptionItems.d.ts +26 -0
- package/types/SubscriptionItemsResource.d.ts +109 -0
- package/types/SubscriptionSchedules.d.ts +205 -0
- package/types/SubscriptionSchedulesResource.d.ts +1233 -5
- package/types/Subscriptions.d.ts +262 -1
- package/types/SubscriptionsResource.d.ts +745 -8
- package/types/Tax/Forms.d.ts +220 -0
- package/types/Tax/FormsResource.d.ts +107 -0
- package/types/TaxIds.d.ts +10 -0
- package/types/TaxIdsResource.d.ts +10 -0
- package/types/Terminal/Configurations.d.ts +9 -0
- package/types/Terminal/ConfigurationsResource.d.ts +28 -0
- package/types/Terminal/ReaderCollectedData.d.ts +51 -0
- package/types/Terminal/ReaderCollectedDataResource.d.ts +29 -0
- package/types/Terminal/Readers.d.ts +20 -0
- package/types/TestHelpers/ConfirmationTokensResource.d.ts +126 -0
- package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +26 -0
- package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +26 -0
- package/types/Transfers.d.ts +5 -0
- package/types/TransfersResource.d.ts +5 -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/Billing/BillSettingVersions.d.ts +97 -0
- package/types/V2/Billing/BillSettings/VersionsResource.d.ts +58 -0
- package/types/V2/Billing/BillSettings.d.ts +120 -0
- package/types/V2/Billing/BillSettingsResource.d.ts +241 -0
- package/types/V2/Billing/Cadences.d.ts +690 -0
- package/types/V2/Billing/CadencesResource.d.ts +487 -0
- package/types/V2/Billing/CollectionSettingVersions.d.ts +318 -0
- package/types/V2/Billing/CollectionSettings/VersionsResource.d.ts +62 -0
- package/types/V2/Billing/CollectionSettings.d.ts +341 -0
- package/types/V2/Billing/CollectionSettingsResource.d.ts +683 -0
- package/types/V2/Billing/Profiles.d.ts +70 -0
- package/types/V2/Billing/ProfilesResource.d.ts +150 -0
- package/types/V2/Core/AccountLinks.d.ts +168 -0
- package/types/V2/Core/AccountLinksResource.d.ts +152 -0
- package/types/V2/Core/AccountPersonTokens.d.ts +44 -0
- package/types/V2/Core/AccountPersons.d.ts +616 -0
- package/types/V2/Core/AccountTokens.d.ts +44 -0
- package/types/V2/Core/AccountTokensResource.d.ts +1042 -0
- package/types/V2/Core/Accounts/PersonTokensResource.d.ts +509 -0
- package/types/V2/Core/Accounts/PersonsResource.d.ts +1165 -0
- package/types/V2/Core/Accounts.d.ts +6513 -0
- package/types/V2/Core/AccountsResource.d.ts +5322 -0
- package/types/V2/Core/EventTypes.d.ts +1541 -9
- package/types/V2/Core/Events.d.ts +9 -0
- package/types/V2/Core/Vault/GbBankAccounts.d.ts +160 -0
- package/types/V2/Core/Vault/GbBankAccountsResource.d.ts +194 -0
- package/types/V2/Core/Vault/UsBankAccounts.d.ts +116 -0
- package/types/V2/Core/Vault/UsBankAccountsResource.d.ts +198 -0
- package/types/V2/FinancialAddressCreditSimulations.d.ts +27 -0
- package/types/V2/FinancialAddressGeneratedMicrodeposits.d.ts +32 -0
- package/types/V2/MoneyManagement/Adjustments.d.ts +110 -0
- package/types/V2/MoneyManagement/AdjustmentsResource.d.ts +83 -0
- package/types/V2/MoneyManagement/FinancialAccounts.d.ts +148 -0
- package/types/V2/MoneyManagement/FinancialAccountsResource.d.ts +172 -0
- package/types/V2/MoneyManagement/FinancialAddresses.d.ts +175 -0
- package/types/V2/MoneyManagement/FinancialAddressesResource.d.ts +109 -0
- package/types/V2/MoneyManagement/InboundTransfers.d.ts +212 -0
- package/types/V2/MoneyManagement/InboundTransfersResource.d.ts +144 -0
- package/types/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +170 -0
- package/types/V2/MoneyManagement/OutboundPaymentQuotesResource.d.ts +115 -0
- package/types/V2/MoneyManagement/OutboundPayments.d.ts +278 -0
- package/types/V2/MoneyManagement/OutboundPaymentsResource.d.ts +242 -0
- package/types/V2/MoneyManagement/OutboundSetupIntents.d.ts +97 -0
- package/types/V2/MoneyManagement/OutboundSetupIntentsResource.d.ts +296 -0
- package/types/V2/MoneyManagement/OutboundTransfers.d.ts +251 -0
- package/types/V2/MoneyManagement/OutboundTransfersResource.d.ts +208 -0
- package/types/V2/MoneyManagement/PayoutMethods.d.ts +160 -0
- package/types/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +93 -0
- package/types/V2/MoneyManagement/PayoutMethodsBankAccountSpecResource.d.ts +41 -0
- package/types/V2/MoneyManagement/PayoutMethodsResource.d.ts +113 -0
- package/types/V2/MoneyManagement/ReceivedCredits.d.ts +302 -0
- package/types/V2/MoneyManagement/ReceivedCreditsResource.d.ts +78 -0
- package/types/V2/MoneyManagement/ReceivedDebits.d.ts +176 -0
- package/types/V2/MoneyManagement/ReceivedDebitsResource.d.ts +48 -0
- package/types/V2/MoneyManagement/TransactionEntries.d.ts +162 -0
- package/types/V2/MoneyManagement/TransactionEntriesResource.d.ts +82 -0
- package/types/V2/MoneyManagement/Transactions.d.ts +177 -0
- package/types/V2/MoneyManagement/TransactionsResource.d.ts +83 -0
- package/types/V2/TestHelpers/FinancialAddressesResource.d.ts +68 -0
- package/types/WebhookEndpointsResource.d.ts +76 -0
- package/types/apiVersion.d.ts +1 -2
- package/types/index.d.ts +147 -0
- package/types/lib.d.ts +10 -0
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
|
*/
|
|
@@ -160,6 +162,11 @@ declare module 'stripe' {
|
|
|
160
162
|
*/
|
|
161
163
|
product_description?: string | null;
|
|
162
164
|
|
|
165
|
+
/**
|
|
166
|
+
* A link to the business's publicly available terms related to the Specified Commercial Transaction Act. Only used for accounts in Japan.
|
|
167
|
+
*/
|
|
168
|
+
specified_commercial_transactions_act_url?: string | null;
|
|
169
|
+
|
|
163
170
|
/**
|
|
164
171
|
* A publicly available mailing address for sending support issues to.
|
|
165
172
|
*/
|
|
@@ -261,6 +268,11 @@ declare module 'stripe' {
|
|
|
261
268
|
*/
|
|
262
269
|
au_becs_debit_payments?: Capabilities.AuBecsDebitPayments;
|
|
263
270
|
|
|
271
|
+
/**
|
|
272
|
+
* The status of the automatic_indirect_tax capability of the account.
|
|
273
|
+
*/
|
|
274
|
+
automatic_indirect_tax?: Capabilities.AutomaticIndirectTax;
|
|
275
|
+
|
|
264
276
|
/**
|
|
265
277
|
* The status of the Bacs Direct Debits payments capability of the account, or whether the account can directly process Bacs Direct Debits charges.
|
|
266
278
|
*/
|
|
@@ -336,11 +348,26 @@ declare module 'stripe' {
|
|
|
336
348
|
*/
|
|
337
349
|
giropay_payments?: Capabilities.GiropayPayments;
|
|
338
350
|
|
|
351
|
+
/**
|
|
352
|
+
* The status of the Gopay capability of the account, or whether the account can directly process Gopay payments.
|
|
353
|
+
*/
|
|
354
|
+
gopay_payments?: Capabilities.GopayPayments;
|
|
355
|
+
|
|
339
356
|
/**
|
|
340
357
|
* The status of the GrabPay payments capability of the account, or whether the account can directly process GrabPay charges.
|
|
341
358
|
*/
|
|
342
359
|
grabpay_payments?: Capabilities.GrabpayPayments;
|
|
343
360
|
|
|
361
|
+
/**
|
|
362
|
+
* The status of the Indonesia Bank Transfer payments capability of the account, or whether the account can directly process Indonesia Bank Transfer charges.
|
|
363
|
+
*/
|
|
364
|
+
id_bank_transfer_payments?: Capabilities.IdBankTransferPayments;
|
|
365
|
+
|
|
366
|
+
/**
|
|
367
|
+
* The status of Bank BCA onboarding of the account.
|
|
368
|
+
*/
|
|
369
|
+
id_bank_transfer_payments_bca?: Capabilities.IdBankTransferPaymentsBca;
|
|
370
|
+
|
|
344
371
|
/**
|
|
345
372
|
* The status of the iDEAL payments capability of the account, or whether the account can directly process iDEAL charges.
|
|
346
373
|
*/
|
|
@@ -446,6 +473,21 @@ declare module 'stripe' {
|
|
|
446
473
|
*/
|
|
447
474
|
paynow_payments?: Capabilities.PaynowPayments;
|
|
448
475
|
|
|
476
|
+
/**
|
|
477
|
+
* The status of the PayPal payments capability of the account, or whether the account can directly process PayPal charges.
|
|
478
|
+
*/
|
|
479
|
+
paypal_payments?: Capabilities.PaypalPayments;
|
|
480
|
+
|
|
481
|
+
/**
|
|
482
|
+
* The status of the Paypay capability of the account, or whether the account can directly process Paypay payments.
|
|
483
|
+
*/
|
|
484
|
+
paypay_payments?: Capabilities.PaypayPayments;
|
|
485
|
+
|
|
486
|
+
/**
|
|
487
|
+
* The status of the PayTo capability of the account, or whether the account can directly process PayTo charges.
|
|
488
|
+
*/
|
|
489
|
+
payto_payments?: Capabilities.PaytoPayments;
|
|
490
|
+
|
|
449
491
|
/**
|
|
450
492
|
* The status of the pix payments capability of the account, or whether the account can directly process pix charges.
|
|
451
493
|
*/
|
|
@@ -456,6 +498,16 @@ declare module 'stripe' {
|
|
|
456
498
|
*/
|
|
457
499
|
promptpay_payments?: Capabilities.PromptpayPayments;
|
|
458
500
|
|
|
501
|
+
/**
|
|
502
|
+
* The status of the Qris capability of the account, or whether the account can directly process Qris payments.
|
|
503
|
+
*/
|
|
504
|
+
qris_payments?: Capabilities.QrisPayments;
|
|
505
|
+
|
|
506
|
+
/**
|
|
507
|
+
* The status of the Rechnung capability of the account, or whether the account can directly process Rechnung payments.
|
|
508
|
+
*/
|
|
509
|
+
rechnung_payments?: Capabilities.RechnungPayments;
|
|
510
|
+
|
|
459
511
|
/**
|
|
460
512
|
* The status of the RevolutPay capability of the account, or whether the account can directly process RevolutPay payments.
|
|
461
513
|
*/
|
|
@@ -481,11 +533,21 @@ declare module 'stripe' {
|
|
|
481
533
|
*/
|
|
482
534
|
sepa_debit_payments?: Capabilities.SepaDebitPayments;
|
|
483
535
|
|
|
536
|
+
/**
|
|
537
|
+
* The status of the ShopeePay capability of the account, or whether the account can directly process ShopeePay payments.
|
|
538
|
+
*/
|
|
539
|
+
shopeepay_payments?: Capabilities.ShopeepayPayments;
|
|
540
|
+
|
|
484
541
|
/**
|
|
485
542
|
* The status of the Sofort payments capability of the account, or whether the account can directly process Sofort charges.
|
|
486
543
|
*/
|
|
487
544
|
sofort_payments?: Capabilities.SofortPayments;
|
|
488
545
|
|
|
546
|
+
/**
|
|
547
|
+
* The status of the stripe_balance payments capability of the account, or whether the account can directly process stripe_balance charges.
|
|
548
|
+
*/
|
|
549
|
+
stripe_balance_payments?: Capabilities.StripeBalancePayments;
|
|
550
|
+
|
|
489
551
|
/**
|
|
490
552
|
* The status of the Swish capability of the account, or whether the account can directly process Swish payments.
|
|
491
553
|
*/
|
|
@@ -511,6 +573,21 @@ declare module 'stripe' {
|
|
|
511
573
|
*/
|
|
512
574
|
treasury?: Capabilities.Treasury;
|
|
513
575
|
|
|
576
|
+
/**
|
|
577
|
+
* The status of the treasury_evolve capability of the account.
|
|
578
|
+
*/
|
|
579
|
+
treasury_evolve?: Capabilities.TreasuryEvolve;
|
|
580
|
+
|
|
581
|
+
/**
|
|
582
|
+
* The status of the treasury_fifth_third capability of the account.
|
|
583
|
+
*/
|
|
584
|
+
treasury_fifth_third?: Capabilities.TreasuryFifthThird;
|
|
585
|
+
|
|
586
|
+
/**
|
|
587
|
+
* The status of the treasury_goldman_sachs capability of the account.
|
|
588
|
+
*/
|
|
589
|
+
treasury_goldman_sachs?: Capabilities.TreasuryGoldmanSachs;
|
|
590
|
+
|
|
514
591
|
/**
|
|
515
592
|
* The status of the TWINT capability of the account, or whether the account can directly process TWINT charges.
|
|
516
593
|
*/
|
|
@@ -545,6 +622,8 @@ declare module 'stripe' {
|
|
|
545
622
|
|
|
546
623
|
type AuBecsDebitPayments = 'active' | 'inactive' | 'pending';
|
|
547
624
|
|
|
625
|
+
type AutomaticIndirectTax = 'active' | 'inactive' | 'pending';
|
|
626
|
+
|
|
548
627
|
type BacsDebitPayments = 'active' | 'inactive' | 'pending';
|
|
549
628
|
|
|
550
629
|
type BancontactPayments = 'active' | 'inactive' | 'pending';
|
|
@@ -575,8 +654,14 @@ declare module 'stripe' {
|
|
|
575
654
|
|
|
576
655
|
type GiropayPayments = 'active' | 'inactive' | 'pending';
|
|
577
656
|
|
|
657
|
+
type GopayPayments = 'active' | 'inactive' | 'pending';
|
|
658
|
+
|
|
578
659
|
type GrabpayPayments = 'active' | 'inactive' | 'pending';
|
|
579
660
|
|
|
661
|
+
type IdBankTransferPayments = 'active' | 'inactive' | 'pending';
|
|
662
|
+
|
|
663
|
+
type IdBankTransferPaymentsBca = 'active' | 'inactive' | 'pending';
|
|
664
|
+
|
|
580
665
|
type IdealPayments = 'active' | 'inactive' | 'pending';
|
|
581
666
|
|
|
582
667
|
type IndiaInternationalPayments = 'active' | 'inactive' | 'pending';
|
|
@@ -619,10 +704,20 @@ declare module 'stripe' {
|
|
|
619
704
|
|
|
620
705
|
type PaynowPayments = 'active' | 'inactive' | 'pending';
|
|
621
706
|
|
|
707
|
+
type PaypalPayments = 'active' | 'inactive' | 'pending';
|
|
708
|
+
|
|
709
|
+
type PaypayPayments = 'active' | 'inactive' | 'pending';
|
|
710
|
+
|
|
711
|
+
type PaytoPayments = 'active' | 'inactive' | 'pending';
|
|
712
|
+
|
|
622
713
|
type PixPayments = 'active' | 'inactive' | 'pending';
|
|
623
714
|
|
|
624
715
|
type PromptpayPayments = 'active' | 'inactive' | 'pending';
|
|
625
716
|
|
|
717
|
+
type QrisPayments = 'active' | 'inactive' | 'pending';
|
|
718
|
+
|
|
719
|
+
type RechnungPayments = 'active' | 'inactive' | 'pending';
|
|
720
|
+
|
|
626
721
|
type RevolutPayPayments = 'active' | 'inactive' | 'pending';
|
|
627
722
|
|
|
628
723
|
type SamsungPayPayments = 'active' | 'inactive' | 'pending';
|
|
@@ -633,8 +728,12 @@ declare module 'stripe' {
|
|
|
633
728
|
|
|
634
729
|
type SepaDebitPayments = 'active' | 'inactive' | 'pending';
|
|
635
730
|
|
|
731
|
+
type ShopeepayPayments = 'active' | 'inactive' | 'pending';
|
|
732
|
+
|
|
636
733
|
type SofortPayments = 'active' | 'inactive' | 'pending';
|
|
637
734
|
|
|
735
|
+
type StripeBalancePayments = 'active' | 'inactive' | 'pending';
|
|
736
|
+
|
|
638
737
|
type SwishPayments = 'active' | 'inactive' | 'pending';
|
|
639
738
|
|
|
640
739
|
type TaxReportingUs1099K = 'active' | 'inactive' | 'pending';
|
|
@@ -645,6 +744,12 @@ declare module 'stripe' {
|
|
|
645
744
|
|
|
646
745
|
type Treasury = 'active' | 'inactive' | 'pending';
|
|
647
746
|
|
|
747
|
+
type TreasuryEvolve = 'active' | 'inactive' | 'pending';
|
|
748
|
+
|
|
749
|
+
type TreasuryFifthThird = 'active' | 'inactive' | 'pending';
|
|
750
|
+
|
|
751
|
+
type TreasuryGoldmanSachs = 'active' | 'inactive' | 'pending';
|
|
752
|
+
|
|
648
753
|
type TwintPayments = 'active' | 'inactive' | 'pending';
|
|
649
754
|
|
|
650
755
|
type UsBankAccountAchPayments = 'active' | 'inactive' | 'pending';
|
|
@@ -962,6 +1067,10 @@ declare module 'stripe' {
|
|
|
962
1067
|
}
|
|
963
1068
|
|
|
964
1069
|
interface Controller {
|
|
1070
|
+
application?: Controller.Application;
|
|
1071
|
+
|
|
1072
|
+
dashboard?: Controller.Dashboard;
|
|
1073
|
+
|
|
965
1074
|
fees?: Controller.Fees;
|
|
966
1075
|
|
|
967
1076
|
/**
|
|
@@ -985,6 +1094,34 @@ declare module 'stripe' {
|
|
|
985
1094
|
}
|
|
986
1095
|
|
|
987
1096
|
namespace Controller {
|
|
1097
|
+
interface Application {
|
|
1098
|
+
/**
|
|
1099
|
+
* `true` if the Connect application is responsible for negative balances and should manage credit and fraud risk on the account.
|
|
1100
|
+
*/
|
|
1101
|
+
loss_liable: boolean;
|
|
1102
|
+
|
|
1103
|
+
/**
|
|
1104
|
+
* `true` if the Connect application is responsible for onboarding the account.
|
|
1105
|
+
*/
|
|
1106
|
+
onboarding_owner: boolean;
|
|
1107
|
+
|
|
1108
|
+
/**
|
|
1109
|
+
* `true` if the Connect application is responsible for paying Stripe fees on pricing-control eligible products.
|
|
1110
|
+
*/
|
|
1111
|
+
pricing_controls: boolean;
|
|
1112
|
+
}
|
|
1113
|
+
|
|
1114
|
+
interface Dashboard {
|
|
1115
|
+
/**
|
|
1116
|
+
* Whether this account has access to the full Stripe dashboard (`full`), to the Express dashboard (`express`), or to no dashboard (`none`).
|
|
1117
|
+
*/
|
|
1118
|
+
type: Dashboard.Type;
|
|
1119
|
+
}
|
|
1120
|
+
|
|
1121
|
+
namespace Dashboard {
|
|
1122
|
+
type Type = 'express' | 'full' | 'none';
|
|
1123
|
+
}
|
|
1124
|
+
|
|
988
1125
|
interface Fees {
|
|
989
1126
|
/**
|
|
990
1127
|
* 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).
|
|
@@ -997,7 +1134,8 @@ declare module 'stripe' {
|
|
|
997
1134
|
| 'account'
|
|
998
1135
|
| 'application'
|
|
999
1136
|
| 'application_custom'
|
|
1000
|
-
| 'application_express'
|
|
1137
|
+
| 'application_express'
|
|
1138
|
+
| 'application_unified_accounts_beta';
|
|
1001
1139
|
}
|
|
1002
1140
|
|
|
1003
1141
|
interface Losses {
|
|
@@ -1162,6 +1300,7 @@ declare module 'stripe' {
|
|
|
1162
1300
|
| 'invalid_url_website_other'
|
|
1163
1301
|
| 'invalid_value_other'
|
|
1164
1302
|
| 'unsupported_business_type'
|
|
1303
|
+
| 'verification_data_not_found'
|
|
1165
1304
|
| 'verification_directors_mismatch'
|
|
1166
1305
|
| 'verification_document_address_mismatch'
|
|
1167
1306
|
| 'verification_document_address_missing'
|
|
@@ -1360,6 +1499,7 @@ declare module 'stripe' {
|
|
|
1360
1499
|
| 'invalid_url_website_other'
|
|
1361
1500
|
| 'invalid_value_other'
|
|
1362
1501
|
| 'unsupported_business_type'
|
|
1502
|
+
| 'verification_data_not_found'
|
|
1363
1503
|
| 'verification_directors_mismatch'
|
|
1364
1504
|
| 'verification_document_address_mismatch'
|
|
1365
1505
|
| 'verification_document_address_missing'
|
|
@@ -1416,11 +1556,52 @@ declare module 'stripe' {
|
|
|
1416
1556
|
}
|
|
1417
1557
|
}
|
|
1418
1558
|
|
|
1559
|
+
interface RiskControls {
|
|
1560
|
+
charges: RiskControls.Charges;
|
|
1561
|
+
|
|
1562
|
+
payouts: RiskControls.Payouts;
|
|
1563
|
+
|
|
1564
|
+
/**
|
|
1565
|
+
* Represents the rejected reason of the account. Empty if account is not rejected, or rejected by Stripe. Please see [this page for more details](https://stripe.com/docs/connect/)
|
|
1566
|
+
*/
|
|
1567
|
+
rejected_reason?: RiskControls.RejectedReason | null;
|
|
1568
|
+
}
|
|
1569
|
+
|
|
1570
|
+
namespace RiskControls {
|
|
1571
|
+
interface Charges {
|
|
1572
|
+
/**
|
|
1573
|
+
* Whether a pause of the risk control has been requested.
|
|
1574
|
+
*/
|
|
1575
|
+
pause_requested: boolean;
|
|
1576
|
+
}
|
|
1577
|
+
|
|
1578
|
+
interface Payouts {
|
|
1579
|
+
/**
|
|
1580
|
+
* Whether a pause of the risk control has been requested.
|
|
1581
|
+
*/
|
|
1582
|
+
pause_requested: boolean;
|
|
1583
|
+
}
|
|
1584
|
+
|
|
1585
|
+
type RejectedReason =
|
|
1586
|
+
| 'credit'
|
|
1587
|
+
| 'fraud'
|
|
1588
|
+
| 'fraud_no_intent_to_fulfill'
|
|
1589
|
+
| 'fraud_other'
|
|
1590
|
+
| 'fraud_payment_method_casher'
|
|
1591
|
+
| 'fraud_payment_method_tester'
|
|
1592
|
+
| 'other'
|
|
1593
|
+
| 'terms_of_service';
|
|
1594
|
+
}
|
|
1595
|
+
|
|
1419
1596
|
interface Settings {
|
|
1420
1597
|
bacs_debit_payments?: Settings.BacsDebitPayments;
|
|
1421
1598
|
|
|
1599
|
+
bank_bca_onboarding?: Settings.BankBcaOnboarding;
|
|
1600
|
+
|
|
1422
1601
|
branding: Settings.Branding;
|
|
1423
1602
|
|
|
1603
|
+
capital?: Settings.Capital;
|
|
1604
|
+
|
|
1424
1605
|
card_issuing?: Settings.CardIssuing;
|
|
1425
1606
|
|
|
1426
1607
|
card_payments: Settings.CardPayments;
|
|
@@ -1433,8 +1614,12 @@ declare module 'stripe' {
|
|
|
1433
1614
|
|
|
1434
1615
|
payouts?: Settings.Payouts;
|
|
1435
1616
|
|
|
1617
|
+
paypay_payments?: Settings.PaypayPayments;
|
|
1618
|
+
|
|
1436
1619
|
sepa_debit_payments?: Settings.SepaDebitPayments;
|
|
1437
1620
|
|
|
1621
|
+
tax_forms?: Settings.TaxForms;
|
|
1622
|
+
|
|
1438
1623
|
treasury?: Settings.Treasury;
|
|
1439
1624
|
}
|
|
1440
1625
|
|
|
@@ -1451,6 +1636,18 @@ declare module 'stripe' {
|
|
|
1451
1636
|
service_user_number: string | null;
|
|
1452
1637
|
}
|
|
1453
1638
|
|
|
1639
|
+
interface BankBcaOnboarding {
|
|
1640
|
+
/**
|
|
1641
|
+
* Bank BCA business account holder name.
|
|
1642
|
+
*/
|
|
1643
|
+
account_holder_name?: string;
|
|
1644
|
+
|
|
1645
|
+
/**
|
|
1646
|
+
* Bank BCA business account number.
|
|
1647
|
+
*/
|
|
1648
|
+
business_account_number?: string;
|
|
1649
|
+
}
|
|
1650
|
+
|
|
1454
1651
|
interface Branding {
|
|
1455
1652
|
/**
|
|
1456
1653
|
* (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.
|
|
@@ -1473,6 +1670,22 @@ declare module 'stripe' {
|
|
|
1473
1670
|
secondary_color: string | null;
|
|
1474
1671
|
}
|
|
1475
1672
|
|
|
1673
|
+
interface Capital {
|
|
1674
|
+
/**
|
|
1675
|
+
* Per-currency mapping of user-selected destination accounts used to pay out loans.
|
|
1676
|
+
*/
|
|
1677
|
+
payout_destination?: {
|
|
1678
|
+
[key: string]: string;
|
|
1679
|
+
};
|
|
1680
|
+
|
|
1681
|
+
/**
|
|
1682
|
+
* Per-currency mapping of all destination accounts eligible to receive loan payouts.
|
|
1683
|
+
*/
|
|
1684
|
+
payout_destination_selector?: {
|
|
1685
|
+
[key: string]: Array<string>;
|
|
1686
|
+
};
|
|
1687
|
+
}
|
|
1688
|
+
|
|
1476
1689
|
interface CardIssuing {
|
|
1477
1690
|
tos_acceptance?: CardIssuing.TosAcceptance;
|
|
1478
1691
|
}
|
|
@@ -1641,6 +1854,17 @@ declare module 'stripe' {
|
|
|
1641
1854
|
}
|
|
1642
1855
|
}
|
|
1643
1856
|
|
|
1857
|
+
interface PaypayPayments {
|
|
1858
|
+
/**
|
|
1859
|
+
* Whether your business sells digital content or not.
|
|
1860
|
+
*/
|
|
1861
|
+
goods_type?: PaypayPayments.GoodsType;
|
|
1862
|
+
}
|
|
1863
|
+
|
|
1864
|
+
namespace PaypayPayments {
|
|
1865
|
+
type GoodsType = 'digital_content' | 'other';
|
|
1866
|
+
}
|
|
1867
|
+
|
|
1644
1868
|
interface SepaDebitPayments {
|
|
1645
1869
|
/**
|
|
1646
1870
|
* SEPA creditor identifier that identifies the company making the payment.
|
|
@@ -1648,6 +1872,13 @@ declare module 'stripe' {
|
|
|
1648
1872
|
creditor_id?: string;
|
|
1649
1873
|
}
|
|
1650
1874
|
|
|
1875
|
+
interface TaxForms {
|
|
1876
|
+
/**
|
|
1877
|
+
* Whether the account opted out of receiving their tax forms by postal delivery.
|
|
1878
|
+
*/
|
|
1879
|
+
consented_to_paperless_delivery: boolean;
|
|
1880
|
+
}
|
|
1881
|
+
|
|
1651
1882
|
interface Treasury {
|
|
1652
1883
|
tos_acceptance?: Treasury.TosAcceptance;
|
|
1653
1884
|
}
|