stripe 18.1.0 → 18.2.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 +1220 -140
- package/README.md +1 -0
- 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/FxQuotes.js +15 -0
- package/cjs/resources/GiftCards/Cards.js +23 -0
- package/cjs/resources/GiftCards/Transactions.js +33 -0
- package/cjs/resources/Invoices.js +4 -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 +13 -0
- package/cjs/resources/PaymentRecords.js +29 -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/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 +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 +108 -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/FxQuotes.js +12 -0
- package/esm/resources/GiftCards/Cards.js +20 -0
- package/esm/resources/GiftCards/Transactions.js +30 -0
- package/esm/resources/Invoices.js +4 -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 +13 -0
- package/esm/resources/PaymentRecords.js +26 -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/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 +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 +84 -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 +212 -1
- package/types/AccountsResource.d.ts +544 -0
- package/types/BalanceSettings.d.ts +89 -0
- package/types/BalanceSettingsResource.d.ts +108 -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/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 +1314 -0
- package/types/Checkout/Sessions.d.ts +315 -2
- package/types/Checkout/SessionsResource.d.ts +340 -1
- package/types/ConfirmationTokens.d.ts +125 -0
- package/types/Coupons.d.ts +33 -0
- package/types/CouponsResource.d.ts +21 -0
- 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 +698 -0
- package/types/Events.d.ts +99 -0
- 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/FxQuotes.d.ts +153 -0
- package/types/FxQuotesResource.d.ts +130 -0
- 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 +136 -3
- package/types/InvoicesResource.d.ts +1483 -3
- 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 +77 -0
- package/types/Margins.d.ts +56 -0
- package/types/MarginsResource.d.ts +114 -0
- package/types/Orders.d.ts +1199 -0
- package/types/OrdersResource.d.ts +3001 -0
- package/types/PaymentAttemptRecords.d.ts +2112 -0
- package/types/PaymentAttemptRecordsResource.d.ts +47 -0
- package/types/PaymentIntentAmountDetailsLineItems.d.ts +110 -0
- package/types/PaymentIntents.d.ts +728 -2
- package/types/PaymentIntentsResource.d.ts +8618 -4094
- 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/PaymentMethods.d.ts +125 -0
- package/types/PaymentMethodsResource.d.ts +167 -2
- 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/Prices.d.ts +22 -0
- package/types/PricesResource.d.ts +22 -0
- package/types/Privacy/RedactionJobValidationErrors.d.ts +30 -0
- package/types/Privacy/RedactionJobs.d.ts +65 -0
- package/types/Privacy/RedactionJobsResource.d.ts +218 -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 +1697 -0
- package/types/QuotePreviewSubscriptionSchedules.d.ts +785 -0
- package/types/Quotes.d.ts +603 -1
- package/types/QuotesResource.d.ts +2572 -218
- package/types/Refunds.d.ts +14 -0
- package/types/SetupAttempts.d.ts +50 -1
- package/types/SetupIntents.d.ts +121 -2
- package/types/SetupIntentsResource.d.ts +730 -3
- 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 +212 -0
- package/types/SubscriptionSchedulesResource.d.ts +1240 -5
- package/types/Subscriptions.d.ts +104 -1
- package/types/SubscriptionsResource.d.ts +397 -8
- package/types/Tax/Associations.d.ts +126 -0
- package/types/Tax/AssociationsResource.d.ts +29 -0
- 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/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 +126 -0
- 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/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/Core/AccountLinks.d.ts +106 -0
- package/types/V2/Core/AccountLinksResource.d.ts +90 -0
- package/types/V2/Core/Accounts/PersonsResource.d.ts +3770 -0
- package/types/V2/Core/Accounts.d.ts +8169 -0
- package/types/V2/Core/AccountsResource.d.ts +10203 -0
- package/types/V2/Core/Persons.d.ts +1867 -0
- package/types/V2/Core/Vault/GbBankAccounts.d.ts +160 -0
- package/types/V2/Core/Vault/GbBankAccountsResource.d.ts +172 -0
- package/types/V2/Core/Vault/UsBankAccounts.d.ts +70 -0
- package/types/V2/Core/Vault/UsBankAccountsResource.d.ts +123 -0
- package/types/V2/EventTypes.d.ts +812 -1
- 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 +546 -0
- package/types/V2/MoneyManagement/FinancialAccountsResource.d.ts +52 -0
- package/types/V2/MoneyManagement/FinancialAddresses.d.ts +314 -0
- package/types/V2/MoneyManagement/FinancialAddressesResource.d.ts +288 -0
- package/types/V2/MoneyManagement/InboundTransfers.d.ts +206 -0
- package/types/V2/MoneyManagement/InboundTransfersResource.d.ts +144 -0
- package/types/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +168 -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 +207 -0
- package/types/V2/MoneyManagement/PayoutMethods.d.ts +151 -0
- package/types/V2/MoneyManagement/PayoutMethodsBankAccountSpecResource.d.ts +41 -0
- package/types/V2/MoneyManagement/PayoutMethodsBankAccountSpecs.d.ts +87 -0
- package/types/V2/MoneyManagement/PayoutMethodsResource.d.ts +113 -0
- package/types/V2/MoneyManagement/ReceivedCredits.d.ts +285 -0
- package/types/V2/MoneyManagement/ReceivedCreditsResource.d.ts +78 -0
- package/types/V2/MoneyManagement/ReceivedDebits.d.ts +224 -0
- package/types/V2/MoneyManagement/ReceivedDebitsResource.d.ts +48 -0
- package/types/V2/MoneyManagement/TransactionEntries.d.ts +155 -0
- package/types/V2/MoneyManagement/TransactionEntriesResource.d.ts +82 -0
- package/types/V2/MoneyManagement/Transactions.d.ts +170 -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 -0
- package/types/index.d.ts +145 -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
|
*/
|
|
@@ -243,6 +248,11 @@ declare module 'stripe' {
|
|
|
243
248
|
*/
|
|
244
249
|
au_becs_debit_payments?: Capabilities.AuBecsDebitPayments;
|
|
245
250
|
|
|
251
|
+
/**
|
|
252
|
+
* The automatic_indirect_tax capability.
|
|
253
|
+
*/
|
|
254
|
+
automatic_indirect_tax?: Capabilities.AutomaticIndirectTax;
|
|
255
|
+
|
|
246
256
|
/**
|
|
247
257
|
* The bacs_debit_payments capability.
|
|
248
258
|
*/
|
|
@@ -313,11 +323,26 @@ declare module 'stripe' {
|
|
|
313
323
|
*/
|
|
314
324
|
giropay_payments?: Capabilities.GiropayPayments;
|
|
315
325
|
|
|
326
|
+
/**
|
|
327
|
+
* The gopay_payments capability.
|
|
328
|
+
*/
|
|
329
|
+
gopay_payments?: Capabilities.GopayPayments;
|
|
330
|
+
|
|
316
331
|
/**
|
|
317
332
|
* The grabpay_payments capability.
|
|
318
333
|
*/
|
|
319
334
|
grabpay_payments?: Capabilities.GrabpayPayments;
|
|
320
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
|
+
|
|
321
346
|
/**
|
|
322
347
|
* The ideal_payments capability.
|
|
323
348
|
*/
|
|
@@ -368,6 +393,11 @@ declare module 'stripe' {
|
|
|
368
393
|
*/
|
|
369
394
|
link_payments?: Capabilities.LinkPayments;
|
|
370
395
|
|
|
396
|
+
/**
|
|
397
|
+
* The mb_way_payments capability.
|
|
398
|
+
*/
|
|
399
|
+
mb_way_payments?: Capabilities.MbWayPayments;
|
|
400
|
+
|
|
371
401
|
/**
|
|
372
402
|
* The mobilepay_payments capability.
|
|
373
403
|
*/
|
|
@@ -418,11 +448,31 @@ declare module 'stripe' {
|
|
|
418
448
|
*/
|
|
419
449
|
paynow_payments?: Capabilities.PaynowPayments;
|
|
420
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
|
+
|
|
421
461
|
/**
|
|
422
462
|
* The promptpay_payments capability.
|
|
423
463
|
*/
|
|
424
464
|
promptpay_payments?: Capabilities.PromptpayPayments;
|
|
425
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
|
+
|
|
426
476
|
/**
|
|
427
477
|
* The revolut_pay_payments capability.
|
|
428
478
|
*/
|
|
@@ -448,11 +498,21 @@ declare module 'stripe' {
|
|
|
448
498
|
*/
|
|
449
499
|
sepa_debit_payments?: Capabilities.SepaDebitPayments;
|
|
450
500
|
|
|
501
|
+
/**
|
|
502
|
+
* The shopeepay_payments capability.
|
|
503
|
+
*/
|
|
504
|
+
shopeepay_payments?: Capabilities.ShopeepayPayments;
|
|
505
|
+
|
|
451
506
|
/**
|
|
452
507
|
* The sofort_payments capability.
|
|
453
508
|
*/
|
|
454
509
|
sofort_payments?: Capabilities.SofortPayments;
|
|
455
510
|
|
|
511
|
+
/**
|
|
512
|
+
* The stripe_balance_payments capability.
|
|
513
|
+
*/
|
|
514
|
+
stripe_balance_payments?: Capabilities.StripeBalancePayments;
|
|
515
|
+
|
|
456
516
|
/**
|
|
457
517
|
* The swish_payments capability.
|
|
458
518
|
*/
|
|
@@ -478,6 +538,21 @@ declare module 'stripe' {
|
|
|
478
538
|
*/
|
|
479
539
|
treasury?: Capabilities.Treasury;
|
|
480
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
|
+
|
|
481
556
|
/**
|
|
482
557
|
* The twint_payments capability.
|
|
483
558
|
*/
|
|
@@ -542,6 +617,13 @@ declare module 'stripe' {
|
|
|
542
617
|
requested?: boolean;
|
|
543
618
|
}
|
|
544
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
|
+
|
|
545
627
|
interface BacsDebitPayments {
|
|
546
628
|
/**
|
|
547
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.
|
|
@@ -640,6 +722,13 @@ declare module 'stripe' {
|
|
|
640
722
|
requested?: boolean;
|
|
641
723
|
}
|
|
642
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
|
+
|
|
643
732
|
interface GrabpayPayments {
|
|
644
733
|
/**
|
|
645
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.
|
|
@@ -647,6 +736,20 @@ declare module 'stripe' {
|
|
|
647
736
|
requested?: boolean;
|
|
648
737
|
}
|
|
649
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
|
+
|
|
650
753
|
interface IdealPayments {
|
|
651
754
|
/**
|
|
652
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.
|
|
@@ -717,6 +820,13 @@ declare module 'stripe' {
|
|
|
717
820
|
requested?: boolean;
|
|
718
821
|
}
|
|
719
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
|
+
|
|
720
830
|
interface MobilepayPayments {
|
|
721
831
|
/**
|
|
722
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.
|
|
@@ -787,6 +897,20 @@ declare module 'stripe' {
|
|
|
787
897
|
requested?: boolean;
|
|
788
898
|
}
|
|
789
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
|
+
|
|
790
914
|
interface PromptpayPayments {
|
|
791
915
|
/**
|
|
792
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.
|
|
@@ -794,6 +918,20 @@ declare module 'stripe' {
|
|
|
794
918
|
requested?: boolean;
|
|
795
919
|
}
|
|
796
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
|
+
|
|
797
935
|
interface RevolutPayPayments {
|
|
798
936
|
/**
|
|
799
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.
|
|
@@ -829,6 +967,13 @@ declare module 'stripe' {
|
|
|
829
967
|
requested?: boolean;
|
|
830
968
|
}
|
|
831
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
|
+
|
|
832
977
|
interface SofortPayments {
|
|
833
978
|
/**
|
|
834
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.
|
|
@@ -836,6 +981,13 @@ declare module 'stripe' {
|
|
|
836
981
|
requested?: boolean;
|
|
837
982
|
}
|
|
838
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
|
+
|
|
839
991
|
interface SwishPayments {
|
|
840
992
|
/**
|
|
841
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.
|
|
@@ -871,6 +1023,27 @@ declare module 'stripe' {
|
|
|
871
1023
|
requested?: boolean;
|
|
872
1024
|
}
|
|
873
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
|
+
|
|
874
1047
|
interface TwintPayments {
|
|
875
1048
|
/**
|
|
876
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.
|
|
@@ -1115,6 +1288,16 @@ declare module 'stripe' {
|
|
|
1115
1288
|
}
|
|
1116
1289
|
|
|
1117
1290
|
interface Controller {
|
|
1291
|
+
/**
|
|
1292
|
+
* A hash of configuration describing the Connect application that controls the account.
|
|
1293
|
+
*/
|
|
1294
|
+
application?: Controller.Application;
|
|
1295
|
+
|
|
1296
|
+
/**
|
|
1297
|
+
* Properties of the account's dashboard.
|
|
1298
|
+
*/
|
|
1299
|
+
dashboard?: Controller.Dashboard;
|
|
1300
|
+
|
|
1118
1301
|
/**
|
|
1119
1302
|
* A hash of configuration for who pays Stripe fees for product usage on this account.
|
|
1120
1303
|
*/
|
|
@@ -1137,6 +1320,34 @@ declare module 'stripe' {
|
|
|
1137
1320
|
}
|
|
1138
1321
|
|
|
1139
1322
|
namespace Controller {
|
|
1323
|
+
interface Application {
|
|
1324
|
+
/**
|
|
1325
|
+
* Whether the controller is liable for losses on this account. For details, see [Understanding Connect Account Balances](https://stripe.com/docs/connect/account-balances).
|
|
1326
|
+
*/
|
|
1327
|
+
loss_liable: boolean;
|
|
1328
|
+
|
|
1329
|
+
/**
|
|
1330
|
+
* Whether the controller owns onboarding for this account.
|
|
1331
|
+
*/
|
|
1332
|
+
onboarding_owner?: boolean;
|
|
1333
|
+
|
|
1334
|
+
/**
|
|
1335
|
+
* Whether the controller has pricing controls for this account.
|
|
1336
|
+
*/
|
|
1337
|
+
pricing_controls?: boolean;
|
|
1338
|
+
}
|
|
1339
|
+
|
|
1340
|
+
interface Dashboard {
|
|
1341
|
+
/**
|
|
1342
|
+
* Whether this account should have access to the full Stripe Dashboard (`full`), to the Express Dashboard (`express`), or to no Stripe-hosted dashboard (`none`). Defaults to `full`.
|
|
1343
|
+
*/
|
|
1344
|
+
type?: Dashboard.Type;
|
|
1345
|
+
}
|
|
1346
|
+
|
|
1347
|
+
namespace Dashboard {
|
|
1348
|
+
type Type = 'express' | 'full' | 'none';
|
|
1349
|
+
}
|
|
1350
|
+
|
|
1140
1351
|
interface Fees {
|
|
1141
1352
|
/**
|
|
1142
1353
|
* 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).
|
|
@@ -1520,17 +1731,57 @@ declare module 'stripe' {
|
|
|
1520
1731
|
}
|
|
1521
1732
|
}
|
|
1522
1733
|
|
|
1734
|
+
interface RiskControls {
|
|
1735
|
+
/**
|
|
1736
|
+
* Represents the risk control status of charges. Please see [this page for more details](https://stripe.com/docs/connect/pausing-payments-or-payouts-on-connected-accounts).
|
|
1737
|
+
*/
|
|
1738
|
+
charges?: RiskControls.Charges;
|
|
1739
|
+
|
|
1740
|
+
/**
|
|
1741
|
+
* Represents the risk control status of payouts. Please see [this page for more details](https://stripe.com/docs/connect/pausing-payments-or-payouts-on-connected-accounts).
|
|
1742
|
+
*/
|
|
1743
|
+
payouts?: RiskControls.Payouts;
|
|
1744
|
+
}
|
|
1745
|
+
|
|
1746
|
+
namespace RiskControls {
|
|
1747
|
+
interface Charges {
|
|
1748
|
+
/**
|
|
1749
|
+
* To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
|
|
1750
|
+
* There can be a delay before the risk control is paused or unpaused.
|
|
1751
|
+
*/
|
|
1752
|
+
pause_requested?: boolean;
|
|
1753
|
+
}
|
|
1754
|
+
|
|
1755
|
+
interface Payouts {
|
|
1756
|
+
/**
|
|
1757
|
+
* To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
|
|
1758
|
+
* There can be a delay before the risk control is paused or unpaused.
|
|
1759
|
+
*/
|
|
1760
|
+
pause_requested?: boolean;
|
|
1761
|
+
}
|
|
1762
|
+
}
|
|
1763
|
+
|
|
1523
1764
|
interface Settings {
|
|
1524
1765
|
/**
|
|
1525
1766
|
* Settings specific to Bacs Direct Debit.
|
|
1526
1767
|
*/
|
|
1527
1768
|
bacs_debit_payments?: Settings.BacsDebitPayments;
|
|
1528
1769
|
|
|
1770
|
+
/**
|
|
1771
|
+
* Settings specific to bank BCA onboarding for Indonesia bank transfers payments method.
|
|
1772
|
+
*/
|
|
1773
|
+
bank_bca_onboarding?: Settings.BankBcaOnboarding;
|
|
1774
|
+
|
|
1529
1775
|
/**
|
|
1530
1776
|
* Settings used to apply the account's branding to email receipts, invoices, Checkout, and other products.
|
|
1531
1777
|
*/
|
|
1532
1778
|
branding?: Settings.Branding;
|
|
1533
1779
|
|
|
1780
|
+
/**
|
|
1781
|
+
* Settings specific to the account's use of the Capital product.
|
|
1782
|
+
*/
|
|
1783
|
+
capital?: Settings.Capital;
|
|
1784
|
+
|
|
1534
1785
|
/**
|
|
1535
1786
|
* Settings specific to the account's use of the Card Issuing product.
|
|
1536
1787
|
*/
|
|
@@ -1556,6 +1807,11 @@ declare module 'stripe' {
|
|
|
1556
1807
|
*/
|
|
1557
1808
|
payouts?: Settings.Payouts;
|
|
1558
1809
|
|
|
1810
|
+
/**
|
|
1811
|
+
* Settings specific to the account's tax forms.
|
|
1812
|
+
*/
|
|
1813
|
+
tax_forms?: Settings.TaxForms;
|
|
1814
|
+
|
|
1559
1815
|
/**
|
|
1560
1816
|
* Settings specific to the account's Treasury FinancialAccounts.
|
|
1561
1817
|
*/
|
|
@@ -1570,6 +1826,18 @@ declare module 'stripe' {
|
|
|
1570
1826
|
display_name?: string;
|
|
1571
1827
|
}
|
|
1572
1828
|
|
|
1829
|
+
interface BankBcaOnboarding {
|
|
1830
|
+
/**
|
|
1831
|
+
* Bank BCA business account holder name
|
|
1832
|
+
*/
|
|
1833
|
+
account_holder_name?: string;
|
|
1834
|
+
|
|
1835
|
+
/**
|
|
1836
|
+
* Bank BCA business account number
|
|
1837
|
+
*/
|
|
1838
|
+
business_account_number?: string;
|
|
1839
|
+
}
|
|
1840
|
+
|
|
1573
1841
|
interface Branding {
|
|
1574
1842
|
/**
|
|
1575
1843
|
* (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.
|
|
@@ -1592,6 +1860,22 @@ declare module 'stripe' {
|
|
|
1592
1860
|
secondary_color?: string;
|
|
1593
1861
|
}
|
|
1594
1862
|
|
|
1863
|
+
interface Capital {
|
|
1864
|
+
/**
|
|
1865
|
+
* Per-currency mapping of user-selected destination accounts used to pay out loans.
|
|
1866
|
+
*/
|
|
1867
|
+
payout_destination?: {
|
|
1868
|
+
[key: string]: string;
|
|
1869
|
+
};
|
|
1870
|
+
|
|
1871
|
+
/**
|
|
1872
|
+
* Per-currency mapping of all destination accounts eligible to receive Capital financing payouts.
|
|
1873
|
+
*/
|
|
1874
|
+
payout_destination_selector?: {
|
|
1875
|
+
[key: string]: Array<string>;
|
|
1876
|
+
};
|
|
1877
|
+
}
|
|
1878
|
+
|
|
1595
1879
|
interface CardIssuing {
|
|
1596
1880
|
/**
|
|
1597
1881
|
* Details on the account's acceptance of the [Stripe Issuing Terms and Disclosures](https://stripe.com/issuing/connect/tos_acceptance).
|
|
@@ -1736,6 +2020,13 @@ declare module 'stripe' {
|
|
|
1736
2020
|
}
|
|
1737
2021
|
}
|
|
1738
2022
|
|
|
2023
|
+
interface TaxForms {
|
|
2024
|
+
/**
|
|
2025
|
+
* Whether the account opted out of receiving their tax forms by postal delivery.
|
|
2026
|
+
*/
|
|
2027
|
+
consented_to_paperless_delivery?: boolean;
|
|
2028
|
+
}
|
|
2029
|
+
|
|
1739
2030
|
interface Treasury {
|
|
1740
2031
|
/**
|
|
1741
2032
|
* Details on the account's acceptance of the Stripe Treasury Services Agreement.
|
|
@@ -1875,6 +2166,11 @@ declare module 'stripe' {
|
|
|
1875
2166
|
*/
|
|
1876
2167
|
metadata?: Stripe.Emptyable<Stripe.MetadataParam>;
|
|
1877
2168
|
|
|
2169
|
+
/**
|
|
2170
|
+
* A hash to configure risk controls on the account. Please see [this page for more details](https://stripe.com/connect/pausing-payments-or-payouts-on-connected-accounts).
|
|
2171
|
+
*/
|
|
2172
|
+
risk_controls?: AccountUpdateParams.RiskControls;
|
|
2173
|
+
|
|
1878
2174
|
/**
|
|
1879
2175
|
* Options for customizing how the account functions within Stripe.
|
|
1880
2176
|
*/
|
|
@@ -2064,6 +2360,11 @@ declare module 'stripe' {
|
|
|
2064
2360
|
*/
|
|
2065
2361
|
au_becs_debit_payments?: Capabilities.AuBecsDebitPayments;
|
|
2066
2362
|
|
|
2363
|
+
/**
|
|
2364
|
+
* The automatic_indirect_tax capability.
|
|
2365
|
+
*/
|
|
2366
|
+
automatic_indirect_tax?: Capabilities.AutomaticIndirectTax;
|
|
2367
|
+
|
|
2067
2368
|
/**
|
|
2068
2369
|
* The bacs_debit_payments capability.
|
|
2069
2370
|
*/
|
|
@@ -2134,11 +2435,26 @@ declare module 'stripe' {
|
|
|
2134
2435
|
*/
|
|
2135
2436
|
giropay_payments?: Capabilities.GiropayPayments;
|
|
2136
2437
|
|
|
2438
|
+
/**
|
|
2439
|
+
* The gopay_payments capability.
|
|
2440
|
+
*/
|
|
2441
|
+
gopay_payments?: Capabilities.GopayPayments;
|
|
2442
|
+
|
|
2137
2443
|
/**
|
|
2138
2444
|
* The grabpay_payments capability.
|
|
2139
2445
|
*/
|
|
2140
2446
|
grabpay_payments?: Capabilities.GrabpayPayments;
|
|
2141
2447
|
|
|
2448
|
+
/**
|
|
2449
|
+
* The id_bank_transfer_payments capability.
|
|
2450
|
+
*/
|
|
2451
|
+
id_bank_transfer_payments?: Capabilities.IdBankTransferPayments;
|
|
2452
|
+
|
|
2453
|
+
/**
|
|
2454
|
+
* The id_bank_transfer_payments_bca capability.
|
|
2455
|
+
*/
|
|
2456
|
+
id_bank_transfer_payments_bca?: Capabilities.IdBankTransferPaymentsBca;
|
|
2457
|
+
|
|
2142
2458
|
/**
|
|
2143
2459
|
* The ideal_payments capability.
|
|
2144
2460
|
*/
|
|
@@ -2189,6 +2505,11 @@ declare module 'stripe' {
|
|
|
2189
2505
|
*/
|
|
2190
2506
|
link_payments?: Capabilities.LinkPayments;
|
|
2191
2507
|
|
|
2508
|
+
/**
|
|
2509
|
+
* The mb_way_payments capability.
|
|
2510
|
+
*/
|
|
2511
|
+
mb_way_payments?: Capabilities.MbWayPayments;
|
|
2512
|
+
|
|
2192
2513
|
/**
|
|
2193
2514
|
* The mobilepay_payments capability.
|
|
2194
2515
|
*/
|
|
@@ -2239,11 +2560,31 @@ declare module 'stripe' {
|
|
|
2239
2560
|
*/
|
|
2240
2561
|
paynow_payments?: Capabilities.PaynowPayments;
|
|
2241
2562
|
|
|
2563
|
+
/**
|
|
2564
|
+
* The paypal_payments capability.
|
|
2565
|
+
*/
|
|
2566
|
+
paypal_payments?: Capabilities.PaypalPayments;
|
|
2567
|
+
|
|
2568
|
+
/**
|
|
2569
|
+
* The payto_payments capability.
|
|
2570
|
+
*/
|
|
2571
|
+
payto_payments?: Capabilities.PaytoPayments;
|
|
2572
|
+
|
|
2242
2573
|
/**
|
|
2243
2574
|
* The promptpay_payments capability.
|
|
2244
2575
|
*/
|
|
2245
2576
|
promptpay_payments?: Capabilities.PromptpayPayments;
|
|
2246
2577
|
|
|
2578
|
+
/**
|
|
2579
|
+
* The qris_payments capability.
|
|
2580
|
+
*/
|
|
2581
|
+
qris_payments?: Capabilities.QrisPayments;
|
|
2582
|
+
|
|
2583
|
+
/**
|
|
2584
|
+
* The rechnung_payments capability.
|
|
2585
|
+
*/
|
|
2586
|
+
rechnung_payments?: Capabilities.RechnungPayments;
|
|
2587
|
+
|
|
2247
2588
|
/**
|
|
2248
2589
|
* The revolut_pay_payments capability.
|
|
2249
2590
|
*/
|
|
@@ -2269,11 +2610,21 @@ declare module 'stripe' {
|
|
|
2269
2610
|
*/
|
|
2270
2611
|
sepa_debit_payments?: Capabilities.SepaDebitPayments;
|
|
2271
2612
|
|
|
2613
|
+
/**
|
|
2614
|
+
* The shopeepay_payments capability.
|
|
2615
|
+
*/
|
|
2616
|
+
shopeepay_payments?: Capabilities.ShopeepayPayments;
|
|
2617
|
+
|
|
2272
2618
|
/**
|
|
2273
2619
|
* The sofort_payments capability.
|
|
2274
2620
|
*/
|
|
2275
2621
|
sofort_payments?: Capabilities.SofortPayments;
|
|
2276
2622
|
|
|
2623
|
+
/**
|
|
2624
|
+
* The stripe_balance_payments capability.
|
|
2625
|
+
*/
|
|
2626
|
+
stripe_balance_payments?: Capabilities.StripeBalancePayments;
|
|
2627
|
+
|
|
2277
2628
|
/**
|
|
2278
2629
|
* The swish_payments capability.
|
|
2279
2630
|
*/
|
|
@@ -2299,6 +2650,21 @@ declare module 'stripe' {
|
|
|
2299
2650
|
*/
|
|
2300
2651
|
treasury?: Capabilities.Treasury;
|
|
2301
2652
|
|
|
2653
|
+
/**
|
|
2654
|
+
* The treasury_evolve capability.
|
|
2655
|
+
*/
|
|
2656
|
+
treasury_evolve?: Capabilities.TreasuryEvolve;
|
|
2657
|
+
|
|
2658
|
+
/**
|
|
2659
|
+
* The treasury_fifth_third capability.
|
|
2660
|
+
*/
|
|
2661
|
+
treasury_fifth_third?: Capabilities.TreasuryFifthThird;
|
|
2662
|
+
|
|
2663
|
+
/**
|
|
2664
|
+
* The treasury_goldman_sachs capability.
|
|
2665
|
+
*/
|
|
2666
|
+
treasury_goldman_sachs?: Capabilities.TreasuryGoldmanSachs;
|
|
2667
|
+
|
|
2302
2668
|
/**
|
|
2303
2669
|
* The twint_payments capability.
|
|
2304
2670
|
*/
|
|
@@ -2363,6 +2729,13 @@ declare module 'stripe' {
|
|
|
2363
2729
|
requested?: boolean;
|
|
2364
2730
|
}
|
|
2365
2731
|
|
|
2732
|
+
interface AutomaticIndirectTax {
|
|
2733
|
+
/**
|
|
2734
|
+
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
2735
|
+
*/
|
|
2736
|
+
requested?: boolean;
|
|
2737
|
+
}
|
|
2738
|
+
|
|
2366
2739
|
interface BacsDebitPayments {
|
|
2367
2740
|
/**
|
|
2368
2741
|
* 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.
|
|
@@ -2461,6 +2834,13 @@ declare module 'stripe' {
|
|
|
2461
2834
|
requested?: boolean;
|
|
2462
2835
|
}
|
|
2463
2836
|
|
|
2837
|
+
interface GopayPayments {
|
|
2838
|
+
/**
|
|
2839
|
+
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
2840
|
+
*/
|
|
2841
|
+
requested?: boolean;
|
|
2842
|
+
}
|
|
2843
|
+
|
|
2464
2844
|
interface GrabpayPayments {
|
|
2465
2845
|
/**
|
|
2466
2846
|
* 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.
|
|
@@ -2468,6 +2848,20 @@ declare module 'stripe' {
|
|
|
2468
2848
|
requested?: boolean;
|
|
2469
2849
|
}
|
|
2470
2850
|
|
|
2851
|
+
interface IdBankTransferPayments {
|
|
2852
|
+
/**
|
|
2853
|
+
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
2854
|
+
*/
|
|
2855
|
+
requested?: boolean;
|
|
2856
|
+
}
|
|
2857
|
+
|
|
2858
|
+
interface IdBankTransferPaymentsBca {
|
|
2859
|
+
/**
|
|
2860
|
+
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
2861
|
+
*/
|
|
2862
|
+
requested?: boolean;
|
|
2863
|
+
}
|
|
2864
|
+
|
|
2471
2865
|
interface IdealPayments {
|
|
2472
2866
|
/**
|
|
2473
2867
|
* 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.
|
|
@@ -2538,6 +2932,13 @@ declare module 'stripe' {
|
|
|
2538
2932
|
requested?: boolean;
|
|
2539
2933
|
}
|
|
2540
2934
|
|
|
2935
|
+
interface MbWayPayments {
|
|
2936
|
+
/**
|
|
2937
|
+
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
2938
|
+
*/
|
|
2939
|
+
requested?: boolean;
|
|
2940
|
+
}
|
|
2941
|
+
|
|
2541
2942
|
interface MobilepayPayments {
|
|
2542
2943
|
/**
|
|
2543
2944
|
* 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.
|
|
@@ -2608,6 +3009,20 @@ declare module 'stripe' {
|
|
|
2608
3009
|
requested?: boolean;
|
|
2609
3010
|
}
|
|
2610
3011
|
|
|
3012
|
+
interface PaypalPayments {
|
|
3013
|
+
/**
|
|
3014
|
+
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
3015
|
+
*/
|
|
3016
|
+
requested?: boolean;
|
|
3017
|
+
}
|
|
3018
|
+
|
|
3019
|
+
interface PaytoPayments {
|
|
3020
|
+
/**
|
|
3021
|
+
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
3022
|
+
*/
|
|
3023
|
+
requested?: boolean;
|
|
3024
|
+
}
|
|
3025
|
+
|
|
2611
3026
|
interface PromptpayPayments {
|
|
2612
3027
|
/**
|
|
2613
3028
|
* 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.
|
|
@@ -2615,6 +3030,20 @@ declare module 'stripe' {
|
|
|
2615
3030
|
requested?: boolean;
|
|
2616
3031
|
}
|
|
2617
3032
|
|
|
3033
|
+
interface QrisPayments {
|
|
3034
|
+
/**
|
|
3035
|
+
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
3036
|
+
*/
|
|
3037
|
+
requested?: boolean;
|
|
3038
|
+
}
|
|
3039
|
+
|
|
3040
|
+
interface RechnungPayments {
|
|
3041
|
+
/**
|
|
3042
|
+
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
3043
|
+
*/
|
|
3044
|
+
requested?: boolean;
|
|
3045
|
+
}
|
|
3046
|
+
|
|
2618
3047
|
interface RevolutPayPayments {
|
|
2619
3048
|
/**
|
|
2620
3049
|
* 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.
|
|
@@ -2650,6 +3079,13 @@ declare module 'stripe' {
|
|
|
2650
3079
|
requested?: boolean;
|
|
2651
3080
|
}
|
|
2652
3081
|
|
|
3082
|
+
interface ShopeepayPayments {
|
|
3083
|
+
/**
|
|
3084
|
+
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
3085
|
+
*/
|
|
3086
|
+
requested?: boolean;
|
|
3087
|
+
}
|
|
3088
|
+
|
|
2653
3089
|
interface SofortPayments {
|
|
2654
3090
|
/**
|
|
2655
3091
|
* 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.
|
|
@@ -2657,6 +3093,13 @@ declare module 'stripe' {
|
|
|
2657
3093
|
requested?: boolean;
|
|
2658
3094
|
}
|
|
2659
3095
|
|
|
3096
|
+
interface StripeBalancePayments {
|
|
3097
|
+
/**
|
|
3098
|
+
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
3099
|
+
*/
|
|
3100
|
+
requested?: boolean;
|
|
3101
|
+
}
|
|
3102
|
+
|
|
2660
3103
|
interface SwishPayments {
|
|
2661
3104
|
/**
|
|
2662
3105
|
* 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.
|
|
@@ -2692,6 +3135,27 @@ declare module 'stripe' {
|
|
|
2692
3135
|
requested?: boolean;
|
|
2693
3136
|
}
|
|
2694
3137
|
|
|
3138
|
+
interface TreasuryEvolve {
|
|
3139
|
+
/**
|
|
3140
|
+
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
3141
|
+
*/
|
|
3142
|
+
requested?: boolean;
|
|
3143
|
+
}
|
|
3144
|
+
|
|
3145
|
+
interface TreasuryFifthThird {
|
|
3146
|
+
/**
|
|
3147
|
+
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
3148
|
+
*/
|
|
3149
|
+
requested?: boolean;
|
|
3150
|
+
}
|
|
3151
|
+
|
|
3152
|
+
interface TreasuryGoldmanSachs {
|
|
3153
|
+
/**
|
|
3154
|
+
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
3155
|
+
*/
|
|
3156
|
+
requested?: boolean;
|
|
3157
|
+
}
|
|
3158
|
+
|
|
2695
3159
|
interface TwintPayments {
|
|
2696
3160
|
/**
|
|
2697
3161
|
* 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.
|
|
@@ -3288,17 +3752,57 @@ declare module 'stripe' {
|
|
|
3288
3752
|
}
|
|
3289
3753
|
}
|
|
3290
3754
|
|
|
3755
|
+
interface RiskControls {
|
|
3756
|
+
/**
|
|
3757
|
+
* Represents the risk control status of charges. Please see [this page for more details](https://stripe.com/docs/connect/pausing-payments-or-payouts-on-connected-accounts).
|
|
3758
|
+
*/
|
|
3759
|
+
charges?: RiskControls.Charges;
|
|
3760
|
+
|
|
3761
|
+
/**
|
|
3762
|
+
* Represents the risk control status of payouts. Please see [this page for more details](https://stripe.com/docs/connect/pausing-payments-or-payouts-on-connected-accounts).
|
|
3763
|
+
*/
|
|
3764
|
+
payouts?: RiskControls.Payouts;
|
|
3765
|
+
}
|
|
3766
|
+
|
|
3767
|
+
namespace RiskControls {
|
|
3768
|
+
interface Charges {
|
|
3769
|
+
/**
|
|
3770
|
+
* To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
|
|
3771
|
+
* There can be a delay before the risk control is paused or unpaused.
|
|
3772
|
+
*/
|
|
3773
|
+
pause_requested?: boolean;
|
|
3774
|
+
}
|
|
3775
|
+
|
|
3776
|
+
interface Payouts {
|
|
3777
|
+
/**
|
|
3778
|
+
* To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
|
|
3779
|
+
* There can be a delay before the risk control is paused or unpaused.
|
|
3780
|
+
*/
|
|
3781
|
+
pause_requested?: boolean;
|
|
3782
|
+
}
|
|
3783
|
+
}
|
|
3784
|
+
|
|
3291
3785
|
interface Settings {
|
|
3292
3786
|
/**
|
|
3293
3787
|
* Settings specific to Bacs Direct Debit payments.
|
|
3294
3788
|
*/
|
|
3295
3789
|
bacs_debit_payments?: Settings.BacsDebitPayments;
|
|
3296
3790
|
|
|
3791
|
+
/**
|
|
3792
|
+
* Settings specific to bank BCA onboarding for Indonesia bank transfers payments method.
|
|
3793
|
+
*/
|
|
3794
|
+
bank_bca_onboarding?: Settings.BankBcaOnboarding;
|
|
3795
|
+
|
|
3297
3796
|
/**
|
|
3298
3797
|
* Settings used to apply the account's branding to email receipts, invoices, Checkout, and other products.
|
|
3299
3798
|
*/
|
|
3300
3799
|
branding?: Settings.Branding;
|
|
3301
3800
|
|
|
3801
|
+
/**
|
|
3802
|
+
* Settings specific to the account's use of the Capital product.
|
|
3803
|
+
*/
|
|
3804
|
+
capital?: Settings.Capital;
|
|
3805
|
+
|
|
3302
3806
|
/**
|
|
3303
3807
|
* Settings specific to the account's use of the Card Issuing product.
|
|
3304
3808
|
*/
|
|
@@ -3324,6 +3828,11 @@ declare module 'stripe' {
|
|
|
3324
3828
|
*/
|
|
3325
3829
|
payouts?: Settings.Payouts;
|
|
3326
3830
|
|
|
3831
|
+
/**
|
|
3832
|
+
* Settings specific to the account's tax forms.
|
|
3833
|
+
*/
|
|
3834
|
+
tax_forms?: Settings.TaxForms;
|
|
3835
|
+
|
|
3327
3836
|
/**
|
|
3328
3837
|
* Settings specific to the account's Treasury FinancialAccounts.
|
|
3329
3838
|
*/
|
|
@@ -3338,6 +3847,18 @@ declare module 'stripe' {
|
|
|
3338
3847
|
display_name?: string;
|
|
3339
3848
|
}
|
|
3340
3849
|
|
|
3850
|
+
interface BankBcaOnboarding {
|
|
3851
|
+
/**
|
|
3852
|
+
* Bank BCA business account holder name
|
|
3853
|
+
*/
|
|
3854
|
+
account_holder_name?: string;
|
|
3855
|
+
|
|
3856
|
+
/**
|
|
3857
|
+
* Bank BCA business account number
|
|
3858
|
+
*/
|
|
3859
|
+
business_account_number?: string;
|
|
3860
|
+
}
|
|
3861
|
+
|
|
3341
3862
|
interface Branding {
|
|
3342
3863
|
/**
|
|
3343
3864
|
* (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.
|
|
@@ -3360,6 +3881,22 @@ declare module 'stripe' {
|
|
|
3360
3881
|
secondary_color?: string;
|
|
3361
3882
|
}
|
|
3362
3883
|
|
|
3884
|
+
interface Capital {
|
|
3885
|
+
/**
|
|
3886
|
+
* Per-currency mapping of user-selected destination accounts used to pay out loans.
|
|
3887
|
+
*/
|
|
3888
|
+
payout_destination?: {
|
|
3889
|
+
[key: string]: string;
|
|
3890
|
+
};
|
|
3891
|
+
|
|
3892
|
+
/**
|
|
3893
|
+
* Per-currency mapping of all destination accounts eligible to receive Capital financing payouts.
|
|
3894
|
+
*/
|
|
3895
|
+
payout_destination_selector?: {
|
|
3896
|
+
[key: string]: Array<string>;
|
|
3897
|
+
};
|
|
3898
|
+
}
|
|
3899
|
+
|
|
3363
3900
|
interface CardIssuing {
|
|
3364
3901
|
/**
|
|
3365
3902
|
* Details on the account's acceptance of the [Stripe Issuing Terms and Disclosures](https://stripe.com/issuing/connect/tos_acceptance).
|
|
@@ -3509,6 +4046,13 @@ declare module 'stripe' {
|
|
|
3509
4046
|
}
|
|
3510
4047
|
}
|
|
3511
4048
|
|
|
4049
|
+
interface TaxForms {
|
|
4050
|
+
/**
|
|
4051
|
+
* Whether the account opted out of receiving their tax forms by postal delivery.
|
|
4052
|
+
*/
|
|
4053
|
+
consented_to_paperless_delivery?: boolean;
|
|
4054
|
+
}
|
|
4055
|
+
|
|
3512
4056
|
interface Treasury {
|
|
3513
4057
|
/**
|
|
3514
4058
|
* Details on the account's acceptance of the Stripe Treasury Services Agreement.
|