stripe 18.3.0 → 18.4.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 +1279 -48
- package/README.md +1 -0
- package/VERSION +1 -1
- package/cjs/Error.js +91 -1
- package/cjs/apiVersion.js +2 -3
- 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/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/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/Payments/OffSessionPayments.js +25 -0
- package/cjs/resources/V2/TestHelpers/FinancialAddresses.js +16 -0
- package/cjs/resources.js +98 -10
- package/cjs/stripe.core.js +1 -1
- package/esm/Error.js +79 -0
- package/esm/apiVersion.js +1 -2
- 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/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/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/Payments/OffSessionPayments.js +22 -0
- package/esm/resources/V2/TestHelpers/FinancialAddresses.js +13 -0
- package/esm/resources.js +82 -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 +264 -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/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 +1406 -0
- package/types/Checkout/Sessions.d.ts +314 -1
- package/types/Checkout/SessionsResource.d.ts +333 -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 +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 +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/Disputes.d.ts +7 -0
- package/types/Errors.d.ts +69 -2
- package/types/EventTypes.d.ts +664 -0
- package/types/Events.d.ts +97 -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 +153 -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/InvoicePayments.d.ts +5 -0
- package/types/Invoices.d.ts +133 -3
- package/types/InvoicesResource.d.ts +1447 -16
- 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 +1163 -0
- package/types/OrdersResource.d.ts +3139 -0
- package/types/PaymentAttemptRecords.d.ts +2161 -0
- package/types/PaymentAttemptRecordsResource.d.ts +47 -0
- package/types/PaymentIntentAmountDetailsLineItems.d.ts +116 -0
- package/types/PaymentIntents.d.ts +768 -2
- package/types/PaymentIntentsResource.d.ts +8808 -4088
- 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 +2154 -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 +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 +1696 -0
- package/types/QuotePreviewSubscriptionSchedules.d.ts +845 -0
- package/types/Quotes.d.ts +594 -1
- package/types/QuotesResource.d.ts +2577 -232
- package/types/Refunds.d.ts +14 -0
- package/types/SetupAttempts.d.ts +47 -1
- package/types/SetupIntents.d.ts +118 -2
- package/types/SetupIntentsResource.d.ts +730 -3
- package/types/Sources.d.ts +29 -0
- package/types/SubscriptionItems.d.ts +21 -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 +396 -10
- package/types/Tax/Associations.d.ts +82 -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 +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/Core/AccountLinks.d.ts +106 -0
- package/types/V2/Core/AccountLinksResource.d.ts +90 -0
- package/types/V2/Core/Accounts/PersonsResource.d.ts +3780 -0
- package/types/V2/Core/Accounts.d.ts +8248 -0
- package/types/V2/Core/AccountsResource.d.ts +10257 -0
- package/types/V2/Core/Persons.d.ts +1872 -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 +907 -5
- 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 +550 -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 +289 -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 +208 -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 +262 -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 +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/Payments/OffSessionPayments.d.ts +162 -0
- package/types/V2/Payments/OffSessionPaymentsResource.d.ts +159 -0
- package/types/V2/TestHelpers/FinancialAddressesResource.d.ts +66 -0
- package/types/WebhookEndpointsResource.d.ts +78 -0
- package/types/index.d.ts +138 -2
- 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://docs.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
|
*/
|
|
@@ -318,11 +328,26 @@ declare module 'stripe' {
|
|
|
318
328
|
*/
|
|
319
329
|
giropay_payments?: Capabilities.GiropayPayments;
|
|
320
330
|
|
|
331
|
+
/**
|
|
332
|
+
* The gopay_payments capability.
|
|
333
|
+
*/
|
|
334
|
+
gopay_payments?: Capabilities.GopayPayments;
|
|
335
|
+
|
|
321
336
|
/**
|
|
322
337
|
* The grabpay_payments capability.
|
|
323
338
|
*/
|
|
324
339
|
grabpay_payments?: Capabilities.GrabpayPayments;
|
|
325
340
|
|
|
341
|
+
/**
|
|
342
|
+
* The id_bank_transfer_payments capability.
|
|
343
|
+
*/
|
|
344
|
+
id_bank_transfer_payments?: Capabilities.IdBankTransferPayments;
|
|
345
|
+
|
|
346
|
+
/**
|
|
347
|
+
* The id_bank_transfer_payments_bca capability.
|
|
348
|
+
*/
|
|
349
|
+
id_bank_transfer_payments_bca?: Capabilities.IdBankTransferPaymentsBca;
|
|
350
|
+
|
|
326
351
|
/**
|
|
327
352
|
* The ideal_payments capability.
|
|
328
353
|
*/
|
|
@@ -373,6 +398,11 @@ declare module 'stripe' {
|
|
|
373
398
|
*/
|
|
374
399
|
link_payments?: Capabilities.LinkPayments;
|
|
375
400
|
|
|
401
|
+
/**
|
|
402
|
+
* The mb_way_payments capability.
|
|
403
|
+
*/
|
|
404
|
+
mb_way_payments?: Capabilities.MbWayPayments;
|
|
405
|
+
|
|
376
406
|
/**
|
|
377
407
|
* The mobilepay_payments capability.
|
|
378
408
|
*/
|
|
@@ -423,6 +453,16 @@ declare module 'stripe' {
|
|
|
423
453
|
*/
|
|
424
454
|
paynow_payments?: Capabilities.PaynowPayments;
|
|
425
455
|
|
|
456
|
+
/**
|
|
457
|
+
* The paypal_payments capability.
|
|
458
|
+
*/
|
|
459
|
+
paypal_payments?: Capabilities.PaypalPayments;
|
|
460
|
+
|
|
461
|
+
/**
|
|
462
|
+
* The payto_payments capability.
|
|
463
|
+
*/
|
|
464
|
+
payto_payments?: Capabilities.PaytoPayments;
|
|
465
|
+
|
|
426
466
|
/**
|
|
427
467
|
* The pix_payments capability.
|
|
428
468
|
*/
|
|
@@ -433,6 +473,16 @@ declare module 'stripe' {
|
|
|
433
473
|
*/
|
|
434
474
|
promptpay_payments?: Capabilities.PromptpayPayments;
|
|
435
475
|
|
|
476
|
+
/**
|
|
477
|
+
* The qris_payments capability.
|
|
478
|
+
*/
|
|
479
|
+
qris_payments?: Capabilities.QrisPayments;
|
|
480
|
+
|
|
481
|
+
/**
|
|
482
|
+
* The rechnung_payments capability.
|
|
483
|
+
*/
|
|
484
|
+
rechnung_payments?: Capabilities.RechnungPayments;
|
|
485
|
+
|
|
436
486
|
/**
|
|
437
487
|
* The revolut_pay_payments capability.
|
|
438
488
|
*/
|
|
@@ -458,11 +508,21 @@ declare module 'stripe' {
|
|
|
458
508
|
*/
|
|
459
509
|
sepa_debit_payments?: Capabilities.SepaDebitPayments;
|
|
460
510
|
|
|
511
|
+
/**
|
|
512
|
+
* The shopeepay_payments capability.
|
|
513
|
+
*/
|
|
514
|
+
shopeepay_payments?: Capabilities.ShopeepayPayments;
|
|
515
|
+
|
|
461
516
|
/**
|
|
462
517
|
* The sofort_payments capability.
|
|
463
518
|
*/
|
|
464
519
|
sofort_payments?: Capabilities.SofortPayments;
|
|
465
520
|
|
|
521
|
+
/**
|
|
522
|
+
* The stripe_balance_payments capability.
|
|
523
|
+
*/
|
|
524
|
+
stripe_balance_payments?: Capabilities.StripeBalancePayments;
|
|
525
|
+
|
|
466
526
|
/**
|
|
467
527
|
* The swish_payments capability.
|
|
468
528
|
*/
|
|
@@ -488,6 +548,21 @@ declare module 'stripe' {
|
|
|
488
548
|
*/
|
|
489
549
|
treasury?: Capabilities.Treasury;
|
|
490
550
|
|
|
551
|
+
/**
|
|
552
|
+
* The treasury_evolve capability.
|
|
553
|
+
*/
|
|
554
|
+
treasury_evolve?: Capabilities.TreasuryEvolve;
|
|
555
|
+
|
|
556
|
+
/**
|
|
557
|
+
* The treasury_fifth_third capability.
|
|
558
|
+
*/
|
|
559
|
+
treasury_fifth_third?: Capabilities.TreasuryFifthThird;
|
|
560
|
+
|
|
561
|
+
/**
|
|
562
|
+
* The treasury_goldman_sachs capability.
|
|
563
|
+
*/
|
|
564
|
+
treasury_goldman_sachs?: Capabilities.TreasuryGoldmanSachs;
|
|
565
|
+
|
|
491
566
|
/**
|
|
492
567
|
* The twint_payments capability.
|
|
493
568
|
*/
|
|
@@ -552,6 +627,13 @@ declare module 'stripe' {
|
|
|
552
627
|
requested?: boolean;
|
|
553
628
|
}
|
|
554
629
|
|
|
630
|
+
interface AutomaticIndirectTax {
|
|
631
|
+
/**
|
|
632
|
+
* Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
|
|
633
|
+
*/
|
|
634
|
+
requested?: boolean;
|
|
635
|
+
}
|
|
636
|
+
|
|
555
637
|
interface BacsDebitPayments {
|
|
556
638
|
/**
|
|
557
639
|
* 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.
|
|
@@ -657,6 +739,13 @@ declare module 'stripe' {
|
|
|
657
739
|
requested?: boolean;
|
|
658
740
|
}
|
|
659
741
|
|
|
742
|
+
interface GopayPayments {
|
|
743
|
+
/**
|
|
744
|
+
* 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.
|
|
745
|
+
*/
|
|
746
|
+
requested?: boolean;
|
|
747
|
+
}
|
|
748
|
+
|
|
660
749
|
interface GrabpayPayments {
|
|
661
750
|
/**
|
|
662
751
|
* 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.
|
|
@@ -664,6 +753,20 @@ declare module 'stripe' {
|
|
|
664
753
|
requested?: boolean;
|
|
665
754
|
}
|
|
666
755
|
|
|
756
|
+
interface IdBankTransferPayments {
|
|
757
|
+
/**
|
|
758
|
+
* 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.
|
|
759
|
+
*/
|
|
760
|
+
requested?: boolean;
|
|
761
|
+
}
|
|
762
|
+
|
|
763
|
+
interface IdBankTransferPaymentsBca {
|
|
764
|
+
/**
|
|
765
|
+
* 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.
|
|
766
|
+
*/
|
|
767
|
+
requested?: boolean;
|
|
768
|
+
}
|
|
769
|
+
|
|
667
770
|
interface IdealPayments {
|
|
668
771
|
/**
|
|
669
772
|
* 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.
|
|
@@ -734,6 +837,13 @@ declare module 'stripe' {
|
|
|
734
837
|
requested?: boolean;
|
|
735
838
|
}
|
|
736
839
|
|
|
840
|
+
interface MbWayPayments {
|
|
841
|
+
/**
|
|
842
|
+
* 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.
|
|
843
|
+
*/
|
|
844
|
+
requested?: boolean;
|
|
845
|
+
}
|
|
846
|
+
|
|
737
847
|
interface MobilepayPayments {
|
|
738
848
|
/**
|
|
739
849
|
* 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.
|
|
@@ -804,6 +914,20 @@ declare module 'stripe' {
|
|
|
804
914
|
requested?: boolean;
|
|
805
915
|
}
|
|
806
916
|
|
|
917
|
+
interface PaypalPayments {
|
|
918
|
+
/**
|
|
919
|
+
* 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.
|
|
920
|
+
*/
|
|
921
|
+
requested?: boolean;
|
|
922
|
+
}
|
|
923
|
+
|
|
924
|
+
interface PaytoPayments {
|
|
925
|
+
/**
|
|
926
|
+
* 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.
|
|
927
|
+
*/
|
|
928
|
+
requested?: boolean;
|
|
929
|
+
}
|
|
930
|
+
|
|
807
931
|
interface PixPayments {
|
|
808
932
|
/**
|
|
809
933
|
* 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.
|
|
@@ -818,6 +942,20 @@ declare module 'stripe' {
|
|
|
818
942
|
requested?: boolean;
|
|
819
943
|
}
|
|
820
944
|
|
|
945
|
+
interface QrisPayments {
|
|
946
|
+
/**
|
|
947
|
+
* 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.
|
|
948
|
+
*/
|
|
949
|
+
requested?: boolean;
|
|
950
|
+
}
|
|
951
|
+
|
|
952
|
+
interface RechnungPayments {
|
|
953
|
+
/**
|
|
954
|
+
* 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.
|
|
955
|
+
*/
|
|
956
|
+
requested?: boolean;
|
|
957
|
+
}
|
|
958
|
+
|
|
821
959
|
interface RevolutPayPayments {
|
|
822
960
|
/**
|
|
823
961
|
* 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.
|
|
@@ -853,6 +991,13 @@ declare module 'stripe' {
|
|
|
853
991
|
requested?: boolean;
|
|
854
992
|
}
|
|
855
993
|
|
|
994
|
+
interface ShopeepayPayments {
|
|
995
|
+
/**
|
|
996
|
+
* 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.
|
|
997
|
+
*/
|
|
998
|
+
requested?: boolean;
|
|
999
|
+
}
|
|
1000
|
+
|
|
856
1001
|
interface SofortPayments {
|
|
857
1002
|
/**
|
|
858
1003
|
* 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.
|
|
@@ -860,6 +1005,13 @@ declare module 'stripe' {
|
|
|
860
1005
|
requested?: boolean;
|
|
861
1006
|
}
|
|
862
1007
|
|
|
1008
|
+
interface StripeBalancePayments {
|
|
1009
|
+
/**
|
|
1010
|
+
* 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.
|
|
1011
|
+
*/
|
|
1012
|
+
requested?: boolean;
|
|
1013
|
+
}
|
|
1014
|
+
|
|
863
1015
|
interface SwishPayments {
|
|
864
1016
|
/**
|
|
865
1017
|
* 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.
|
|
@@ -895,6 +1047,27 @@ declare module 'stripe' {
|
|
|
895
1047
|
requested?: boolean;
|
|
896
1048
|
}
|
|
897
1049
|
|
|
1050
|
+
interface TreasuryEvolve {
|
|
1051
|
+
/**
|
|
1052
|
+
* 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.
|
|
1053
|
+
*/
|
|
1054
|
+
requested?: boolean;
|
|
1055
|
+
}
|
|
1056
|
+
|
|
1057
|
+
interface TreasuryFifthThird {
|
|
1058
|
+
/**
|
|
1059
|
+
* 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.
|
|
1060
|
+
*/
|
|
1061
|
+
requested?: boolean;
|
|
1062
|
+
}
|
|
1063
|
+
|
|
1064
|
+
interface TreasuryGoldmanSachs {
|
|
1065
|
+
/**
|
|
1066
|
+
* 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.
|
|
1067
|
+
*/
|
|
1068
|
+
requested?: boolean;
|
|
1069
|
+
}
|
|
1070
|
+
|
|
898
1071
|
interface TwintPayments {
|
|
899
1072
|
/**
|
|
900
1073
|
* 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.
|
|
@@ -1142,6 +1315,16 @@ declare module 'stripe' {
|
|
|
1142
1315
|
}
|
|
1143
1316
|
|
|
1144
1317
|
interface Controller {
|
|
1318
|
+
/**
|
|
1319
|
+
* A hash of configuration describing the Connect application that controls the account.
|
|
1320
|
+
*/
|
|
1321
|
+
application?: Controller.Application;
|
|
1322
|
+
|
|
1323
|
+
/**
|
|
1324
|
+
* Properties of the account's dashboard.
|
|
1325
|
+
*/
|
|
1326
|
+
dashboard?: Controller.Dashboard;
|
|
1327
|
+
|
|
1145
1328
|
/**
|
|
1146
1329
|
* A hash of configuration for who pays Stripe fees for product usage on this account.
|
|
1147
1330
|
*/
|
|
@@ -1164,6 +1347,34 @@ declare module 'stripe' {
|
|
|
1164
1347
|
}
|
|
1165
1348
|
|
|
1166
1349
|
namespace Controller {
|
|
1350
|
+
interface Application {
|
|
1351
|
+
/**
|
|
1352
|
+
* Whether the controller is liable for losses on this account. For details, see [Understanding Connect Account Balances](https://stripe.com/docs/connect/account-balances).
|
|
1353
|
+
*/
|
|
1354
|
+
loss_liable: boolean;
|
|
1355
|
+
|
|
1356
|
+
/**
|
|
1357
|
+
* Whether the controller owns onboarding for this account.
|
|
1358
|
+
*/
|
|
1359
|
+
onboarding_owner?: boolean;
|
|
1360
|
+
|
|
1361
|
+
/**
|
|
1362
|
+
* Whether the controller has pricing controls for this account.
|
|
1363
|
+
*/
|
|
1364
|
+
pricing_controls?: boolean;
|
|
1365
|
+
}
|
|
1366
|
+
|
|
1367
|
+
interface Dashboard {
|
|
1368
|
+
/**
|
|
1369
|
+
* 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`.
|
|
1370
|
+
*/
|
|
1371
|
+
type?: Dashboard.Type;
|
|
1372
|
+
}
|
|
1373
|
+
|
|
1374
|
+
namespace Dashboard {
|
|
1375
|
+
type Type = 'express' | 'full' | 'none';
|
|
1376
|
+
}
|
|
1377
|
+
|
|
1167
1378
|
interface Fees {
|
|
1168
1379
|
/**
|
|
1169
1380
|
* 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).
|
|
@@ -1559,17 +1770,57 @@ declare module 'stripe' {
|
|
|
1559
1770
|
}
|
|
1560
1771
|
}
|
|
1561
1772
|
|
|
1773
|
+
interface RiskControls {
|
|
1774
|
+
/**
|
|
1775
|
+
* 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).
|
|
1776
|
+
*/
|
|
1777
|
+
charges?: RiskControls.Charges;
|
|
1778
|
+
|
|
1779
|
+
/**
|
|
1780
|
+
* 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).
|
|
1781
|
+
*/
|
|
1782
|
+
payouts?: RiskControls.Payouts;
|
|
1783
|
+
}
|
|
1784
|
+
|
|
1785
|
+
namespace RiskControls {
|
|
1786
|
+
interface Charges {
|
|
1787
|
+
/**
|
|
1788
|
+
* To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
|
|
1789
|
+
* There can be a delay before the risk control is paused or unpaused.
|
|
1790
|
+
*/
|
|
1791
|
+
pause_requested?: boolean;
|
|
1792
|
+
}
|
|
1793
|
+
|
|
1794
|
+
interface Payouts {
|
|
1795
|
+
/**
|
|
1796
|
+
* To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
|
|
1797
|
+
* There can be a delay before the risk control is paused or unpaused.
|
|
1798
|
+
*/
|
|
1799
|
+
pause_requested?: boolean;
|
|
1800
|
+
}
|
|
1801
|
+
}
|
|
1802
|
+
|
|
1562
1803
|
interface Settings {
|
|
1563
1804
|
/**
|
|
1564
1805
|
* Settings specific to Bacs Direct Debit.
|
|
1565
1806
|
*/
|
|
1566
1807
|
bacs_debit_payments?: Settings.BacsDebitPayments;
|
|
1567
1808
|
|
|
1809
|
+
/**
|
|
1810
|
+
* Settings specific to bank BCA onboarding for Indonesia bank transfers payments method.
|
|
1811
|
+
*/
|
|
1812
|
+
bank_bca_onboarding?: Settings.BankBcaOnboarding;
|
|
1813
|
+
|
|
1568
1814
|
/**
|
|
1569
1815
|
* Settings used to apply the account's branding to email receipts, invoices, Checkout, and other products.
|
|
1570
1816
|
*/
|
|
1571
1817
|
branding?: Settings.Branding;
|
|
1572
1818
|
|
|
1819
|
+
/**
|
|
1820
|
+
* Settings specific to the account's use of the Capital product.
|
|
1821
|
+
*/
|
|
1822
|
+
capital?: Settings.Capital;
|
|
1823
|
+
|
|
1573
1824
|
/**
|
|
1574
1825
|
* Settings specific to the account's use of the Card Issuing product.
|
|
1575
1826
|
*/
|
|
@@ -1595,6 +1846,11 @@ declare module 'stripe' {
|
|
|
1595
1846
|
*/
|
|
1596
1847
|
payouts?: Settings.Payouts;
|
|
1597
1848
|
|
|
1849
|
+
/**
|
|
1850
|
+
* Settings specific to the account's tax forms.
|
|
1851
|
+
*/
|
|
1852
|
+
tax_forms?: Settings.TaxForms;
|
|
1853
|
+
|
|
1598
1854
|
/**
|
|
1599
1855
|
* Settings specific to the account's Treasury FinancialAccounts.
|
|
1600
1856
|
*/
|
|
@@ -1609,6 +1865,18 @@ declare module 'stripe' {
|
|
|
1609
1865
|
display_name?: string;
|
|
1610
1866
|
}
|
|
1611
1867
|
|
|
1868
|
+
interface BankBcaOnboarding {
|
|
1869
|
+
/**
|
|
1870
|
+
* Bank BCA business account holder name
|
|
1871
|
+
*/
|
|
1872
|
+
account_holder_name?: string;
|
|
1873
|
+
|
|
1874
|
+
/**
|
|
1875
|
+
* Bank BCA business account number
|
|
1876
|
+
*/
|
|
1877
|
+
business_account_number?: string;
|
|
1878
|
+
}
|
|
1879
|
+
|
|
1612
1880
|
interface Branding {
|
|
1613
1881
|
/**
|
|
1614
1882
|
* (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.
|
|
@@ -1631,6 +1899,22 @@ declare module 'stripe' {
|
|
|
1631
1899
|
secondary_color?: string;
|
|
1632
1900
|
}
|
|
1633
1901
|
|
|
1902
|
+
interface Capital {
|
|
1903
|
+
/**
|
|
1904
|
+
* Per-currency mapping of user-selected destination accounts used to pay out loans.
|
|
1905
|
+
*/
|
|
1906
|
+
payout_destination?: {
|
|
1907
|
+
[key: string]: string;
|
|
1908
|
+
};
|
|
1909
|
+
|
|
1910
|
+
/**
|
|
1911
|
+
* Per-currency mapping of all destination accounts eligible to receive Capital financing payouts.
|
|
1912
|
+
*/
|
|
1913
|
+
payout_destination_selector?: {
|
|
1914
|
+
[key: string]: Array<string>;
|
|
1915
|
+
};
|
|
1916
|
+
}
|
|
1917
|
+
|
|
1634
1918
|
interface CardIssuing {
|
|
1635
1919
|
/**
|
|
1636
1920
|
* Details on the account's acceptance of the [Stripe Issuing Terms and Disclosures](https://docs.stripe.com/issuing/connect/tos_acceptance).
|
|
@@ -1794,6 +2078,13 @@ declare module 'stripe' {
|
|
|
1794
2078
|
}
|
|
1795
2079
|
}
|
|
1796
2080
|
|
|
2081
|
+
interface TaxForms {
|
|
2082
|
+
/**
|
|
2083
|
+
* Whether the account opted out of receiving their tax forms by postal delivery.
|
|
2084
|
+
*/
|
|
2085
|
+
consented_to_paperless_delivery?: boolean;
|
|
2086
|
+
}
|
|
2087
|
+
|
|
1797
2088
|
interface Treasury {
|
|
1798
2089
|
/**
|
|
1799
2090
|
* Details on the account's acceptance of the Stripe Treasury Services Agreement.
|
|
@@ -1933,6 +2224,11 @@ declare module 'stripe' {
|
|
|
1933
2224
|
*/
|
|
1934
2225
|
metadata?: Stripe.Emptyable<Stripe.MetadataParam>;
|
|
1935
2226
|
|
|
2227
|
+
/**
|
|
2228
|
+
* A hash to configure risk controls on the account. Please see [this page for more details](https://docs.stripe.com/connect/pausing-payments-or-payouts-on-connected-accounts).
|
|
2229
|
+
*/
|
|
2230
|
+
risk_controls?: AccountUpdateParams.RiskControls;
|
|
2231
|
+
|
|
1936
2232
|
/**
|
|
1937
2233
|
* Options for customizing how the account functions within Stripe.
|
|
1938
2234
|
*/
|
|
@@ -2122,6 +2418,11 @@ declare module 'stripe' {
|
|
|
2122
2418
|
*/
|
|
2123
2419
|
au_becs_debit_payments?: Capabilities.AuBecsDebitPayments;
|
|
2124
2420
|
|
|
2421
|
+
/**
|
|
2422
|
+
* The automatic_indirect_tax capability.
|
|
2423
|
+
*/
|
|
2424
|
+
automatic_indirect_tax?: Capabilities.AutomaticIndirectTax;
|
|
2425
|
+
|
|
2125
2426
|
/**
|
|
2126
2427
|
* The bacs_debit_payments capability.
|
|
2127
2428
|
*/
|
|
@@ -2197,11 +2498,26 @@ declare module 'stripe' {
|
|
|
2197
2498
|
*/
|
|
2198
2499
|
giropay_payments?: Capabilities.GiropayPayments;
|
|
2199
2500
|
|
|
2501
|
+
/**
|
|
2502
|
+
* The gopay_payments capability.
|
|
2503
|
+
*/
|
|
2504
|
+
gopay_payments?: Capabilities.GopayPayments;
|
|
2505
|
+
|
|
2200
2506
|
/**
|
|
2201
2507
|
* The grabpay_payments capability.
|
|
2202
2508
|
*/
|
|
2203
2509
|
grabpay_payments?: Capabilities.GrabpayPayments;
|
|
2204
2510
|
|
|
2511
|
+
/**
|
|
2512
|
+
* The id_bank_transfer_payments capability.
|
|
2513
|
+
*/
|
|
2514
|
+
id_bank_transfer_payments?: Capabilities.IdBankTransferPayments;
|
|
2515
|
+
|
|
2516
|
+
/**
|
|
2517
|
+
* The id_bank_transfer_payments_bca capability.
|
|
2518
|
+
*/
|
|
2519
|
+
id_bank_transfer_payments_bca?: Capabilities.IdBankTransferPaymentsBca;
|
|
2520
|
+
|
|
2205
2521
|
/**
|
|
2206
2522
|
* The ideal_payments capability.
|
|
2207
2523
|
*/
|
|
@@ -2252,6 +2568,11 @@ declare module 'stripe' {
|
|
|
2252
2568
|
*/
|
|
2253
2569
|
link_payments?: Capabilities.LinkPayments;
|
|
2254
2570
|
|
|
2571
|
+
/**
|
|
2572
|
+
* The mb_way_payments capability.
|
|
2573
|
+
*/
|
|
2574
|
+
mb_way_payments?: Capabilities.MbWayPayments;
|
|
2575
|
+
|
|
2255
2576
|
/**
|
|
2256
2577
|
* The mobilepay_payments capability.
|
|
2257
2578
|
*/
|
|
@@ -2302,6 +2623,16 @@ declare module 'stripe' {
|
|
|
2302
2623
|
*/
|
|
2303
2624
|
paynow_payments?: Capabilities.PaynowPayments;
|
|
2304
2625
|
|
|
2626
|
+
/**
|
|
2627
|
+
* The paypal_payments capability.
|
|
2628
|
+
*/
|
|
2629
|
+
paypal_payments?: Capabilities.PaypalPayments;
|
|
2630
|
+
|
|
2631
|
+
/**
|
|
2632
|
+
* The payto_payments capability.
|
|
2633
|
+
*/
|
|
2634
|
+
payto_payments?: Capabilities.PaytoPayments;
|
|
2635
|
+
|
|
2305
2636
|
/**
|
|
2306
2637
|
* The pix_payments capability.
|
|
2307
2638
|
*/
|
|
@@ -2312,6 +2643,16 @@ declare module 'stripe' {
|
|
|
2312
2643
|
*/
|
|
2313
2644
|
promptpay_payments?: Capabilities.PromptpayPayments;
|
|
2314
2645
|
|
|
2646
|
+
/**
|
|
2647
|
+
* The qris_payments capability.
|
|
2648
|
+
*/
|
|
2649
|
+
qris_payments?: Capabilities.QrisPayments;
|
|
2650
|
+
|
|
2651
|
+
/**
|
|
2652
|
+
* The rechnung_payments capability.
|
|
2653
|
+
*/
|
|
2654
|
+
rechnung_payments?: Capabilities.RechnungPayments;
|
|
2655
|
+
|
|
2315
2656
|
/**
|
|
2316
2657
|
* The revolut_pay_payments capability.
|
|
2317
2658
|
*/
|
|
@@ -2337,11 +2678,21 @@ declare module 'stripe' {
|
|
|
2337
2678
|
*/
|
|
2338
2679
|
sepa_debit_payments?: Capabilities.SepaDebitPayments;
|
|
2339
2680
|
|
|
2681
|
+
/**
|
|
2682
|
+
* The shopeepay_payments capability.
|
|
2683
|
+
*/
|
|
2684
|
+
shopeepay_payments?: Capabilities.ShopeepayPayments;
|
|
2685
|
+
|
|
2340
2686
|
/**
|
|
2341
2687
|
* The sofort_payments capability.
|
|
2342
2688
|
*/
|
|
2343
2689
|
sofort_payments?: Capabilities.SofortPayments;
|
|
2344
2690
|
|
|
2691
|
+
/**
|
|
2692
|
+
* The stripe_balance_payments capability.
|
|
2693
|
+
*/
|
|
2694
|
+
stripe_balance_payments?: Capabilities.StripeBalancePayments;
|
|
2695
|
+
|
|
2345
2696
|
/**
|
|
2346
2697
|
* The swish_payments capability.
|
|
2347
2698
|
*/
|
|
@@ -2367,6 +2718,21 @@ declare module 'stripe' {
|
|
|
2367
2718
|
*/
|
|
2368
2719
|
treasury?: Capabilities.Treasury;
|
|
2369
2720
|
|
|
2721
|
+
/**
|
|
2722
|
+
* The treasury_evolve capability.
|
|
2723
|
+
*/
|
|
2724
|
+
treasury_evolve?: Capabilities.TreasuryEvolve;
|
|
2725
|
+
|
|
2726
|
+
/**
|
|
2727
|
+
* The treasury_fifth_third capability.
|
|
2728
|
+
*/
|
|
2729
|
+
treasury_fifth_third?: Capabilities.TreasuryFifthThird;
|
|
2730
|
+
|
|
2731
|
+
/**
|
|
2732
|
+
* The treasury_goldman_sachs capability.
|
|
2733
|
+
*/
|
|
2734
|
+
treasury_goldman_sachs?: Capabilities.TreasuryGoldmanSachs;
|
|
2735
|
+
|
|
2370
2736
|
/**
|
|
2371
2737
|
* The twint_payments capability.
|
|
2372
2738
|
*/
|
|
@@ -2431,6 +2797,13 @@ declare module 'stripe' {
|
|
|
2431
2797
|
requested?: boolean;
|
|
2432
2798
|
}
|
|
2433
2799
|
|
|
2800
|
+
interface AutomaticIndirectTax {
|
|
2801
|
+
/**
|
|
2802
|
+
* 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.
|
|
2803
|
+
*/
|
|
2804
|
+
requested?: boolean;
|
|
2805
|
+
}
|
|
2806
|
+
|
|
2434
2807
|
interface BacsDebitPayments {
|
|
2435
2808
|
/**
|
|
2436
2809
|
* 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.
|
|
@@ -2536,6 +2909,13 @@ declare module 'stripe' {
|
|
|
2536
2909
|
requested?: boolean;
|
|
2537
2910
|
}
|
|
2538
2911
|
|
|
2912
|
+
interface GopayPayments {
|
|
2913
|
+
/**
|
|
2914
|
+
* 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.
|
|
2915
|
+
*/
|
|
2916
|
+
requested?: boolean;
|
|
2917
|
+
}
|
|
2918
|
+
|
|
2539
2919
|
interface GrabpayPayments {
|
|
2540
2920
|
/**
|
|
2541
2921
|
* 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.
|
|
@@ -2543,6 +2923,20 @@ declare module 'stripe' {
|
|
|
2543
2923
|
requested?: boolean;
|
|
2544
2924
|
}
|
|
2545
2925
|
|
|
2926
|
+
interface IdBankTransferPayments {
|
|
2927
|
+
/**
|
|
2928
|
+
* 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.
|
|
2929
|
+
*/
|
|
2930
|
+
requested?: boolean;
|
|
2931
|
+
}
|
|
2932
|
+
|
|
2933
|
+
interface IdBankTransferPaymentsBca {
|
|
2934
|
+
/**
|
|
2935
|
+
* 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.
|
|
2936
|
+
*/
|
|
2937
|
+
requested?: boolean;
|
|
2938
|
+
}
|
|
2939
|
+
|
|
2546
2940
|
interface IdealPayments {
|
|
2547
2941
|
/**
|
|
2548
2942
|
* 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.
|
|
@@ -2613,6 +3007,13 @@ declare module 'stripe' {
|
|
|
2613
3007
|
requested?: boolean;
|
|
2614
3008
|
}
|
|
2615
3009
|
|
|
3010
|
+
interface MbWayPayments {
|
|
3011
|
+
/**
|
|
3012
|
+
* 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.
|
|
3013
|
+
*/
|
|
3014
|
+
requested?: boolean;
|
|
3015
|
+
}
|
|
3016
|
+
|
|
2616
3017
|
interface MobilepayPayments {
|
|
2617
3018
|
/**
|
|
2618
3019
|
* 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.
|
|
@@ -2683,6 +3084,20 @@ declare module 'stripe' {
|
|
|
2683
3084
|
requested?: boolean;
|
|
2684
3085
|
}
|
|
2685
3086
|
|
|
3087
|
+
interface PaypalPayments {
|
|
3088
|
+
/**
|
|
3089
|
+
* 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.
|
|
3090
|
+
*/
|
|
3091
|
+
requested?: boolean;
|
|
3092
|
+
}
|
|
3093
|
+
|
|
3094
|
+
interface PaytoPayments {
|
|
3095
|
+
/**
|
|
3096
|
+
* 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.
|
|
3097
|
+
*/
|
|
3098
|
+
requested?: boolean;
|
|
3099
|
+
}
|
|
3100
|
+
|
|
2686
3101
|
interface PixPayments {
|
|
2687
3102
|
/**
|
|
2688
3103
|
* 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.
|
|
@@ -2697,6 +3112,20 @@ declare module 'stripe' {
|
|
|
2697
3112
|
requested?: boolean;
|
|
2698
3113
|
}
|
|
2699
3114
|
|
|
3115
|
+
interface QrisPayments {
|
|
3116
|
+
/**
|
|
3117
|
+
* 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.
|
|
3118
|
+
*/
|
|
3119
|
+
requested?: boolean;
|
|
3120
|
+
}
|
|
3121
|
+
|
|
3122
|
+
interface RechnungPayments {
|
|
3123
|
+
/**
|
|
3124
|
+
* 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.
|
|
3125
|
+
*/
|
|
3126
|
+
requested?: boolean;
|
|
3127
|
+
}
|
|
3128
|
+
|
|
2700
3129
|
interface RevolutPayPayments {
|
|
2701
3130
|
/**
|
|
2702
3131
|
* 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.
|
|
@@ -2732,6 +3161,13 @@ declare module 'stripe' {
|
|
|
2732
3161
|
requested?: boolean;
|
|
2733
3162
|
}
|
|
2734
3163
|
|
|
3164
|
+
interface ShopeepayPayments {
|
|
3165
|
+
/**
|
|
3166
|
+
* 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.
|
|
3167
|
+
*/
|
|
3168
|
+
requested?: boolean;
|
|
3169
|
+
}
|
|
3170
|
+
|
|
2735
3171
|
interface SofortPayments {
|
|
2736
3172
|
/**
|
|
2737
3173
|
* 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.
|
|
@@ -2739,6 +3175,13 @@ declare module 'stripe' {
|
|
|
2739
3175
|
requested?: boolean;
|
|
2740
3176
|
}
|
|
2741
3177
|
|
|
3178
|
+
interface StripeBalancePayments {
|
|
3179
|
+
/**
|
|
3180
|
+
* 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.
|
|
3181
|
+
*/
|
|
3182
|
+
requested?: boolean;
|
|
3183
|
+
}
|
|
3184
|
+
|
|
2742
3185
|
interface SwishPayments {
|
|
2743
3186
|
/**
|
|
2744
3187
|
* 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.
|
|
@@ -2774,6 +3217,27 @@ declare module 'stripe' {
|
|
|
2774
3217
|
requested?: boolean;
|
|
2775
3218
|
}
|
|
2776
3219
|
|
|
3220
|
+
interface TreasuryEvolve {
|
|
3221
|
+
/**
|
|
3222
|
+
* 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.
|
|
3223
|
+
*/
|
|
3224
|
+
requested?: boolean;
|
|
3225
|
+
}
|
|
3226
|
+
|
|
3227
|
+
interface TreasuryFifthThird {
|
|
3228
|
+
/**
|
|
3229
|
+
* 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.
|
|
3230
|
+
*/
|
|
3231
|
+
requested?: boolean;
|
|
3232
|
+
}
|
|
3233
|
+
|
|
3234
|
+
interface TreasuryGoldmanSachs {
|
|
3235
|
+
/**
|
|
3236
|
+
* 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.
|
|
3237
|
+
*/
|
|
3238
|
+
requested?: boolean;
|
|
3239
|
+
}
|
|
3240
|
+
|
|
2777
3241
|
interface TwintPayments {
|
|
2778
3242
|
/**
|
|
2779
3243
|
* 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.
|
|
@@ -3382,17 +3846,57 @@ declare module 'stripe' {
|
|
|
3382
3846
|
}
|
|
3383
3847
|
}
|
|
3384
3848
|
|
|
3849
|
+
interface RiskControls {
|
|
3850
|
+
/**
|
|
3851
|
+
* 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).
|
|
3852
|
+
*/
|
|
3853
|
+
charges?: RiskControls.Charges;
|
|
3854
|
+
|
|
3855
|
+
/**
|
|
3856
|
+
* 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).
|
|
3857
|
+
*/
|
|
3858
|
+
payouts?: RiskControls.Payouts;
|
|
3859
|
+
}
|
|
3860
|
+
|
|
3861
|
+
namespace RiskControls {
|
|
3862
|
+
interface Charges {
|
|
3863
|
+
/**
|
|
3864
|
+
* To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
|
|
3865
|
+
* There can be a delay before the risk control is paused or unpaused.
|
|
3866
|
+
*/
|
|
3867
|
+
pause_requested?: boolean;
|
|
3868
|
+
}
|
|
3869
|
+
|
|
3870
|
+
interface Payouts {
|
|
3871
|
+
/**
|
|
3872
|
+
* To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
|
|
3873
|
+
* There can be a delay before the risk control is paused or unpaused.
|
|
3874
|
+
*/
|
|
3875
|
+
pause_requested?: boolean;
|
|
3876
|
+
}
|
|
3877
|
+
}
|
|
3878
|
+
|
|
3385
3879
|
interface Settings {
|
|
3386
3880
|
/**
|
|
3387
3881
|
* Settings specific to Bacs Direct Debit payments.
|
|
3388
3882
|
*/
|
|
3389
3883
|
bacs_debit_payments?: Settings.BacsDebitPayments;
|
|
3390
3884
|
|
|
3885
|
+
/**
|
|
3886
|
+
* Settings specific to bank BCA onboarding for Indonesia bank transfers payments method.
|
|
3887
|
+
*/
|
|
3888
|
+
bank_bca_onboarding?: Settings.BankBcaOnboarding;
|
|
3889
|
+
|
|
3391
3890
|
/**
|
|
3392
3891
|
* Settings used to apply the account's branding to email receipts, invoices, Checkout, and other products.
|
|
3393
3892
|
*/
|
|
3394
3893
|
branding?: Settings.Branding;
|
|
3395
3894
|
|
|
3895
|
+
/**
|
|
3896
|
+
* Settings specific to the account's use of the Capital product.
|
|
3897
|
+
*/
|
|
3898
|
+
capital?: Settings.Capital;
|
|
3899
|
+
|
|
3396
3900
|
/**
|
|
3397
3901
|
* Settings specific to the account's use of the Card Issuing product.
|
|
3398
3902
|
*/
|
|
@@ -3418,6 +3922,11 @@ declare module 'stripe' {
|
|
|
3418
3922
|
*/
|
|
3419
3923
|
payouts?: Settings.Payouts;
|
|
3420
3924
|
|
|
3925
|
+
/**
|
|
3926
|
+
* Settings specific to the account's tax forms.
|
|
3927
|
+
*/
|
|
3928
|
+
tax_forms?: Settings.TaxForms;
|
|
3929
|
+
|
|
3421
3930
|
/**
|
|
3422
3931
|
* Settings specific to the account's Treasury FinancialAccounts.
|
|
3423
3932
|
*/
|
|
@@ -3432,6 +3941,18 @@ declare module 'stripe' {
|
|
|
3432
3941
|
display_name?: string;
|
|
3433
3942
|
}
|
|
3434
3943
|
|
|
3944
|
+
interface BankBcaOnboarding {
|
|
3945
|
+
/**
|
|
3946
|
+
* Bank BCA business account holder name
|
|
3947
|
+
*/
|
|
3948
|
+
account_holder_name?: string;
|
|
3949
|
+
|
|
3950
|
+
/**
|
|
3951
|
+
* Bank BCA business account number
|
|
3952
|
+
*/
|
|
3953
|
+
business_account_number?: string;
|
|
3954
|
+
}
|
|
3955
|
+
|
|
3435
3956
|
interface Branding {
|
|
3436
3957
|
/**
|
|
3437
3958
|
* (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.
|
|
@@ -3454,6 +3975,22 @@ declare module 'stripe' {
|
|
|
3454
3975
|
secondary_color?: string;
|
|
3455
3976
|
}
|
|
3456
3977
|
|
|
3978
|
+
interface Capital {
|
|
3979
|
+
/**
|
|
3980
|
+
* Per-currency mapping of user-selected destination accounts used to pay out loans.
|
|
3981
|
+
*/
|
|
3982
|
+
payout_destination?: {
|
|
3983
|
+
[key: string]: string;
|
|
3984
|
+
};
|
|
3985
|
+
|
|
3986
|
+
/**
|
|
3987
|
+
* Per-currency mapping of all destination accounts eligible to receive Capital financing payouts.
|
|
3988
|
+
*/
|
|
3989
|
+
payout_destination_selector?: {
|
|
3990
|
+
[key: string]: Array<string>;
|
|
3991
|
+
};
|
|
3992
|
+
}
|
|
3993
|
+
|
|
3457
3994
|
interface CardIssuing {
|
|
3458
3995
|
/**
|
|
3459
3996
|
* Details on the account's acceptance of the [Stripe Issuing Terms and Disclosures](https://docs.stripe.com/issuing/connect/tos_acceptance).
|
|
@@ -3622,6 +4159,13 @@ declare module 'stripe' {
|
|
|
3622
4159
|
}
|
|
3623
4160
|
}
|
|
3624
4161
|
|
|
4162
|
+
interface TaxForms {
|
|
4163
|
+
/**
|
|
4164
|
+
* Whether the account opted out of receiving their tax forms by postal delivery.
|
|
4165
|
+
*/
|
|
4166
|
+
consented_to_paperless_delivery?: boolean;
|
|
4167
|
+
}
|
|
4168
|
+
|
|
3625
4169
|
interface Treasury {
|
|
3626
4170
|
/**
|
|
3627
4171
|
* Details on the account's acceptance of the Stripe Treasury Services Agreement.
|