stripe 18.6.0-beta.1 → 19.0.0
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 +107 -1364
- package/OPENAPI_VERSION +1 -1
- package/README.md +22 -7
- package/VERSION +1 -1
- package/cjs/Error.js +1 -107
- package/cjs/RequestSender.js +15 -6
- package/cjs/StripeContext.js +56 -0
- package/cjs/apiVersion.js +3 -2
- package/cjs/net/FetchHttpClient.js +1 -1
- package/cjs/resources/FinancialConnections/Accounts.js +0 -5
- package/cjs/resources/Mandates.js +0 -5
- package/cjs/resources/PaymentIntents.js +0 -13
- package/cjs/resources/Quotes.js +0 -32
- package/cjs/resources/SubscriptionSchedules.js +0 -4
- package/cjs/resources/V2/Core/Events.js +1 -1
- package/cjs/resources.js +8 -100
- package/cjs/stripe.core.js +24 -3
- package/esm/Error.js +0 -93
- package/esm/RequestSender.js +15 -6
- package/esm/StripeContext.js +52 -0
- package/esm/apiVersion.js +2 -1
- package/esm/net/FetchHttpClient.js +1 -1
- package/esm/resources/FinancialConnections/Accounts.js +0 -5
- package/esm/resources/Mandates.js +0 -5
- package/esm/resources/PaymentIntents.js +0 -13
- package/esm/resources/Quotes.js +0 -32
- package/esm/resources/SubscriptionSchedules.js +0 -4
- package/esm/resources/V2/Core/Events.js +1 -1
- package/esm/resources.js +0 -85
- package/esm/stripe.core.js +24 -3
- package/package.json +4 -4
- package/types/AccountLinksResource.d.ts +1 -5
- package/types/AccountSessions.d.ts +0 -75
- package/types/AccountSessionsResource.d.ts +0 -306
- package/types/Accounts.d.ts +5 -207
- package/types/AccountsResource.d.ts +4 -528
- package/types/BalanceSettings.d.ts +12 -6
- package/types/BalanceSettingsResource.d.ts +15 -10
- package/types/BankAccounts.d.ts +4 -0
- package/types/Billing/AlertTriggereds.d.ts +1 -1
- package/types/Billing/AlertsResource.d.ts +1 -1
- package/types/Billing/CreditBalanceSummary.d.ts +0 -5
- package/types/Billing/CreditBalanceSummaryResource.d.ts +3 -8
- package/types/Billing/CreditBalanceTransactionsResource.d.ts +4 -12
- package/types/Billing/CreditGrants.d.ts +0 -5
- package/types/Billing/CreditGrantsResource.d.ts +1 -11
- package/types/BillingPortal/Configurations.d.ts +7 -0
- package/types/BillingPortal/ConfigurationsResource.d.ts +14 -0
- package/types/BillingPortal/Sessions.d.ts +0 -5
- package/types/BillingPortal/SessionsResource.d.ts +4 -12
- package/types/Capabilities.d.ts +4 -0
- package/types/Cards.d.ts +1 -6
- package/types/CashBalances.d.ts +0 -5
- package/types/Charges.d.ts +1 -169
- package/types/ChargesResource.d.ts +0 -1406
- package/types/Checkout/Sessions.d.ts +204 -360
- package/types/Checkout/SessionsResource.d.ts +346 -521
- package/types/ConfirmationTokens.d.ts +0 -120
- package/types/Coupons.d.ts +0 -33
- package/types/CouponsResource.d.ts +0 -21
- package/types/CreditNoteLineItems.d.ts +0 -17
- package/types/CreditNotes.d.ts +0 -5
- package/types/CreditNotesResource.d.ts +0 -5
- package/types/CustomerBalanceTransactions.d.ts +0 -2
- package/types/CustomerCashBalanceTransactions.d.ts +0 -2
- package/types/CustomerSessions.d.ts +0 -5
- package/types/CustomerSessionsResource.d.ts +1 -6
- package/types/Customers.d.ts +10 -2
- package/types/CustomersResource.d.ts +20 -7
- package/types/Discounts.d.ts +32 -24
- package/types/Disputes.d.ts +6 -29
- package/types/Errors.d.ts +0 -79
- package/types/EventTypes.d.ts +0 -664
- package/types/Events.d.ts +0 -97
- package/types/ExchangeRates.d.ts +2 -0
- package/types/ExchangeRatesResource.d.ts +6 -0
- package/types/FinancialConnections/Accounts.d.ts +1 -36
- package/types/FinancialConnections/AccountsResource.d.ts +3 -40
- package/types/FinancialConnections/Sessions.d.ts +1 -51
- package/types/FinancialConnections/SessionsResource.d.ts +1 -43
- package/types/Identity/VerificationSessions.d.ts +0 -5
- package/types/Identity/VerificationSessionsResource.d.ts +0 -7
- package/types/InvoiceItems.d.ts +27 -9
- package/types/InvoiceItemsResource.d.ts +6 -117
- package/types/InvoiceLineItems.d.ts +1 -45
- package/types/InvoicePayments.d.ts +0 -5
- package/types/InvoicePaymentsResource.d.ts +1 -10
- package/types/Invoices.d.ts +6 -172
- package/types/InvoicesResource.d.ts +54 -1523
- package/types/Issuing/CardholdersResource.d.ts +5 -6
- package/types/Issuing/Cards.d.ts +5 -0
- package/types/Issuing/CardsResource.d.ts +4 -4
- package/types/Issuing/Transactions.d.ts +0 -5
- package/types/Issuing/TransactionsResource.d.ts +0 -5
- package/types/LineItems.d.ts +0 -49
- package/types/Mandates.d.ts +1 -135
- package/types/MandatesResource.d.ts +0 -31
- package/types/PaymentIntents.d.ts +5 -820
- package/types/PaymentIntentsResource.d.ts +5643 -11279
- package/types/PaymentLinks.d.ts +0 -6
- package/types/PaymentLinksResource.d.ts +5 -12
- package/types/PaymentMethodConfigurations.d.ts +0 -180
- package/types/PaymentMethodConfigurationsResource.d.ts +28 -228
- package/types/PaymentMethods.d.ts +0 -125
- package/types/PaymentMethodsResource.d.ts +2 -172
- package/types/Persons.d.ts +4 -0
- package/types/Prices.d.ts +0 -22
- package/types/PricesResource.d.ts +0 -22
- package/types/PromotionCodes.d.ts +16 -14
- package/types/PromotionCodesResource.d.ts +15 -13
- package/types/Quotes.d.ts +9 -589
- package/types/QuotesResource.d.ts +290 -2619
- package/types/Refunds.d.ts +0 -14
- package/types/Reviews.d.ts +2 -0
- package/types/SetupAttempts.d.ts +3 -51
- package/types/SetupIntents.d.ts +4 -210
- package/types/SetupIntentsResource.d.ts +3 -913
- package/types/Sources.d.ts +1 -30
- package/types/SubscriptionItems.d.ts +0 -21
- package/types/SubscriptionItemsResource.d.ts +0 -109
- package/types/SubscriptionSchedules.d.ts +16 -205
- package/types/SubscriptionSchedulesResource.d.ts +21 -1243
- package/types/Subscriptions.d.ts +17 -135
- package/types/SubscriptionsResource.d.ts +49 -476
- package/types/Tax/CalculationsResource.d.ts +5 -5
- package/types/Tax/Settings.d.ts +7 -0
- package/types/TaxIds.d.ts +0 -10
- package/types/TaxIdsResource.d.ts +0 -10
- package/types/Terminal/Configurations.d.ts +9 -9
- package/types/Terminal/ConfigurationsResource.d.ts +26 -28
- package/types/Terminal/Locations.d.ts +95 -0
- package/types/Terminal/LocationsResource.d.ts +59 -6
- package/types/Terminal/Readers.d.ts +0 -20
- package/types/TestHelpers/ConfirmationTokensResource.d.ts +0 -118
- package/types/TestHelpers/Issuing/AuthorizationsResource.d.ts +79 -0
- package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +0 -26
- package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +0 -26
- package/types/Transfers.d.ts +0 -5
- package/types/TransfersResource.d.ts +0 -5
- package/types/Treasury/FinancialAccountFeatures.d.ts +0 -7
- package/types/Treasury/FinancialAccounts.d.ts +0 -5
- package/types/Treasury/FinancialAccountsResource.d.ts +0 -37
- package/types/Treasury/OutboundTransfers.d.ts +0 -26
- package/types/Treasury/OutboundTransfersResource.d.ts +0 -26
- package/types/Treasury/ReceivedCredits.d.ts +0 -26
- package/types/Treasury/ReceivedDebits.d.ts +0 -31
- package/types/V2/Billing/MeterEventStreamResource.d.ts +1 -1
- package/types/V2/Core/EventDestinations.d.ts +166 -0
- package/types/V2/Core/EventDestinationsResource.d.ts +14 -14
- package/types/V2/Core/EventTypes.d.ts +256 -0
- package/types/V2/Core/Events.d.ts +77 -0
- package/types/V2/Core/EventsResource.d.ts +4 -4
- package/types/V2/DeletedObject.d.ts +22 -0
- package/types/V2/EventMisc.d.ts +72 -0
- package/types/WebhookEndpointsResource.d.ts +2 -79
- package/types/apiVersion.d.ts +4 -0
- package/types/index.d.ts +8 -150
- package/types/lib.d.ts +7 -15
- package/types/test/typescriptTest.ts +48 -3
- package/cjs/resources/AccountNotices.js +0 -21
- package/cjs/resources/Billing/MeterUsage.js +0 -12
- package/cjs/resources/Capital/FinancingOffers.js +0 -21
- package/cjs/resources/Capital/FinancingSummary.js +0 -12
- package/cjs/resources/Capital/FinancingTransactions.js +0 -17
- package/cjs/resources/ExternalAccounts.js +0 -23
- package/cjs/resources/FinancialConnections/Institutions.js +0 -17
- package/cjs/resources/FxQuotes.js +0 -15
- package/cjs/resources/Issuing/CreditUnderwritingRecords.js +0 -33
- package/cjs/resources/Issuing/DisputeSettlementDetails.js +0 -17
- package/cjs/resources/Issuing/FraudLiabilityDebits.js +0 -17
- package/cjs/resources/Margins.js +0 -22
- package/cjs/resources/Orders.js +0 -24
- package/cjs/resources/PaymentAttemptRecords.js +0 -17
- package/cjs/resources/PaymentRecords.js +0 -29
- package/cjs/resources/Privacy/RedactionJobs.js +0 -42
- package/cjs/resources/Tax/Associations.js +0 -9
- package/cjs/resources/Tax/Forms.js +0 -20
- package/cjs/resources/Terminal/OnboardingLinks.js +0 -12
- package/cjs/resources/Terminal/ReaderCollectedData.js +0 -12
- package/cjs/resources/V2/Core/AccountLinks.js +0 -9
- package/cjs/resources/V2/Core/Accounts/Persons.js +0 -29
- package/cjs/resources/V2/Core/Accounts.js +0 -25
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.js +0 -28
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.js +0 -24
- package/cjs/resources/V2/MoneyManagement/Adjustments.js +0 -17
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +0 -25
- package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js +0 -21
- package/cjs/resources/V2/MoneyManagement/InboundTransfers.js +0 -21
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -16
- package/cjs/resources/V2/MoneyManagement/OutboundPayments.js +0 -25
- package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -29
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js +0 -25
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.js +0 -25
- package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +0 -12
- package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js +0 -17
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js +0 -17
- package/cjs/resources/V2/MoneyManagement/TransactionEntries.js +0 -17
- package/cjs/resources/V2/MoneyManagement/Transactions.js +0 -17
- package/cjs/resources/V2/Payments/OffSessionPayments.js +0 -25
- package/cjs/resources/V2/TestHelpers/FinancialAddresses.js +0 -16
- package/esm/resources/AccountNotices.js +0 -18
- package/esm/resources/Billing/MeterUsage.js +0 -9
- package/esm/resources/Capital/FinancingOffers.js +0 -18
- package/esm/resources/Capital/FinancingSummary.js +0 -9
- package/esm/resources/Capital/FinancingTransactions.js +0 -14
- package/esm/resources/ExternalAccounts.js +0 -20
- package/esm/resources/FinancialConnections/Institutions.js +0 -14
- package/esm/resources/FxQuotes.js +0 -12
- package/esm/resources/Issuing/CreditUnderwritingRecords.js +0 -30
- package/esm/resources/Issuing/DisputeSettlementDetails.js +0 -14
- package/esm/resources/Issuing/FraudLiabilityDebits.js +0 -14
- package/esm/resources/Margins.js +0 -19
- package/esm/resources/Orders.js +0 -21
- package/esm/resources/PaymentAttemptRecords.js +0 -14
- package/esm/resources/PaymentRecords.js +0 -26
- package/esm/resources/Privacy/RedactionJobs.js +0 -39
- package/esm/resources/Tax/Associations.js +0 -6
- package/esm/resources/Tax/Forms.js +0 -17
- package/esm/resources/Terminal/OnboardingLinks.js +0 -9
- package/esm/resources/Terminal/ReaderCollectedData.js +0 -9
- package/esm/resources/V2/Core/AccountLinks.js +0 -6
- package/esm/resources/V2/Core/Accounts/Persons.js +0 -26
- package/esm/resources/V2/Core/Accounts.js +0 -22
- package/esm/resources/V2/Core/Vault/GbBankAccounts.js +0 -25
- package/esm/resources/V2/Core/Vault/UsBankAccounts.js +0 -21
- package/esm/resources/V2/MoneyManagement/Adjustments.js +0 -14
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +0 -22
- package/esm/resources/V2/MoneyManagement/FinancialAddresses.js +0 -18
- package/esm/resources/V2/MoneyManagement/InboundTransfers.js +0 -18
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -13
- package/esm/resources/V2/MoneyManagement/OutboundPayments.js +0 -22
- package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -26
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.js +0 -22
- package/esm/resources/V2/MoneyManagement/PayoutMethods.js +0 -22
- package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +0 -9
- package/esm/resources/V2/MoneyManagement/ReceivedCredits.js +0 -14
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.js +0 -14
- package/esm/resources/V2/MoneyManagement/TransactionEntries.js +0 -14
- package/esm/resources/V2/MoneyManagement/Transactions.js +0 -14
- package/esm/resources/V2/Payments/OffSessionPayments.js +0 -22
- package/esm/resources/V2/TestHelpers/FinancialAddresses.js +0 -13
- package/types/AccountNotices.d.ts +0 -113
- package/types/AccountNoticesResource.d.ts +0 -98
- package/types/Billing/MeterUsage.d.ts +0 -32
- package/types/Billing/MeterUsageResource.d.ts +0 -685
- package/types/Billing/MeterUsageRows.d.ts +0 -49
- package/types/Capital/FinancingOffers.d.ts +0 -188
- package/types/Capital/FinancingOffersResource.d.ts +0 -97
- package/types/Capital/FinancingSummary.d.ts +0 -106
- package/types/Capital/FinancingSummaryResource.d.ts +0 -27
- package/types/Capital/FinancingTransactions.d.ts +0 -135
- package/types/Capital/FinancingTransactionsResource.d.ts +0 -68
- package/types/ExternalAccountsResource.d.ts +0 -304
- package/types/FinancialConnections/AccountInferredBalances.d.ts +0 -38
- package/types/FinancialConnections/Institutions.d.ts +0 -98
- package/types/FinancialConnections/InstitutionsResource.d.ts +0 -47
- package/types/FxQuotes.d.ts +0 -155
- package/types/FxQuotesResource.d.ts +0 -130
- package/types/Issuing/CreditUnderwritingRecords.d.ts +0 -451
- package/types/Issuing/CreditUnderwritingRecordsResource.d.ts +0 -1032
- package/types/Issuing/DisputeSettlementDetails.d.ts +0 -85
- package/types/Issuing/DisputeSettlementDetailsResource.d.ts +0 -52
- package/types/Issuing/FraudLiabilityDebits.d.ts +0 -52
- package/types/Issuing/FraudLiabilityDebitsResource.d.ts +0 -52
- package/types/Issuing/Settlements.d.ts +0 -113
- package/types/Margins.d.ts +0 -56
- package/types/MarginsResource.d.ts +0 -114
- package/types/Orders.d.ts +0 -1163
- package/types/OrdersResource.d.ts +0 -3139
- package/types/PaymentAttemptRecords.d.ts +0 -2321
- package/types/PaymentAttemptRecordsResource.d.ts +0 -52
- package/types/PaymentIntentAmountDetailsLineItems.d.ts +0 -116
- package/types/PaymentRecords.d.ts +0 -2314
- package/types/PaymentRecordsResource.d.ts +0 -476
- package/types/Privacy/RedactionJobValidationErrors.d.ts +0 -60
- package/types/Privacy/RedactionJobs.d.ts +0 -111
- package/types/Privacy/RedactionJobsResource.d.ts +0 -230
- package/types/QuoteLines.d.ts +0 -634
- package/types/QuotePreviewInvoices.d.ts +0 -1736
- package/types/QuotePreviewSubscriptionSchedules.d.ts +0 -892
- package/types/Tax/Associations.d.ts +0 -82
- package/types/Tax/AssociationsResource.d.ts +0 -29
- package/types/Tax/Forms.d.ts +0 -220
- package/types/Tax/FormsResource.d.ts +0 -107
- package/types/Terminal/OnboardingLinks.d.ts +0 -57
- package/types/Terminal/OnboardingLinksResource.d.ts +0 -62
- package/types/Terminal/ReaderCollectedData.d.ts +0 -51
- package/types/Terminal/ReaderCollectedDataResource.d.ts +0 -29
- package/types/ThinEvent.d.ts +0 -36
- package/types/V2/Core/AccountLinks.d.ts +0 -168
- package/types/V2/Core/AccountLinksResource.d.ts +0 -152
- package/types/V2/Core/Accounts/PersonsResource.d.ts +0 -3812
- package/types/V2/Core/Accounts.d.ts +0 -8862
- package/types/V2/Core/AccountsResource.d.ts +0 -10704
- package/types/V2/Core/Persons.d.ts +0 -1888
- package/types/V2/Core/Vault/GbBankAccounts.d.ts +0 -160
- package/types/V2/Core/Vault/GbBankAccountsResource.d.ts +0 -172
- package/types/V2/Core/Vault/UsBankAccounts.d.ts +0 -70
- package/types/V2/Core/Vault/UsBankAccountsResource.d.ts +0 -123
- package/types/V2/EventDestinations.d.ts +0 -164
- package/types/V2/EventTypes.d.ts +0 -1188
- package/types/V2/Events.d.ts +0 -75
- package/types/V2/FinancialAddressCreditSimulations.d.ts +0 -27
- package/types/V2/FinancialAddressGeneratedMicrodeposits.d.ts +0 -32
- package/types/V2/MoneyManagement/Adjustments.d.ts +0 -110
- package/types/V2/MoneyManagement/AdjustmentsResource.d.ts +0 -83
- package/types/V2/MoneyManagement/FinancialAccounts.d.ts +0 -585
- package/types/V2/MoneyManagement/FinancialAccountsResource.d.ts +0 -331
- package/types/V2/MoneyManagement/FinancialAddresses.d.ts +0 -314
- package/types/V2/MoneyManagement/FinancialAddressesResource.d.ts +0 -289
- package/types/V2/MoneyManagement/InboundTransfers.d.ts +0 -206
- package/types/V2/MoneyManagement/InboundTransfersResource.d.ts +0 -144
- package/types/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +0 -168
- package/types/V2/MoneyManagement/OutboundPaymentQuotesResource.d.ts +0 -115
- package/types/V2/MoneyManagement/OutboundPayments.d.ts +0 -278
- package/types/V2/MoneyManagement/OutboundPaymentsResource.d.ts +0 -242
- package/types/V2/MoneyManagement/OutboundSetupIntents.d.ts +0 -97
- package/types/V2/MoneyManagement/OutboundSetupIntentsResource.d.ts +0 -296
- package/types/V2/MoneyManagement/OutboundTransfers.d.ts +0 -251
- package/types/V2/MoneyManagement/OutboundTransfersResource.d.ts +0 -208
- package/types/V2/MoneyManagement/PayoutMethods.d.ts +0 -160
- package/types/V2/MoneyManagement/PayoutMethodsBankAccountSpecResource.d.ts +0 -41
- package/types/V2/MoneyManagement/PayoutMethodsBankAccountSpecs.d.ts +0 -87
- package/types/V2/MoneyManagement/PayoutMethodsResource.d.ts +0 -113
- package/types/V2/MoneyManagement/ReceivedCredits.d.ts +0 -262
- package/types/V2/MoneyManagement/ReceivedCreditsResource.d.ts +0 -78
- package/types/V2/MoneyManagement/ReceivedDebits.d.ts +0 -176
- package/types/V2/MoneyManagement/ReceivedDebitsResource.d.ts +0 -48
- package/types/V2/MoneyManagement/TransactionEntries.d.ts +0 -162
- package/types/V2/MoneyManagement/TransactionEntriesResource.d.ts +0 -82
- package/types/V2/MoneyManagement/Transactions.d.ts +0 -177
- package/types/V2/MoneyManagement/TransactionsResource.d.ts +0 -83
- package/types/V2/Payments/OffSessionPayments.d.ts +0 -179
- package/types/V2/Payments/OffSessionPaymentsResource.d.ts +0 -174
- package/types/V2/TestHelpers/FinancialAddressesResource.d.ts +0 -68
|
@@ -87,11 +87,6 @@ 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
|
-
|
|
95
90
|
/**
|
|
96
91
|
* Options for customizing how the account functions within Stripe.
|
|
97
92
|
*/
|
|
@@ -248,11 +243,6 @@ declare module 'stripe' {
|
|
|
248
243
|
*/
|
|
249
244
|
au_becs_debit_payments?: Capabilities.AuBecsDebitPayments;
|
|
250
245
|
|
|
251
|
-
/**
|
|
252
|
-
* The automatic_indirect_tax capability.
|
|
253
|
-
*/
|
|
254
|
-
automatic_indirect_tax?: Capabilities.AutomaticIndirectTax;
|
|
255
|
-
|
|
256
246
|
/**
|
|
257
247
|
* The bacs_debit_payments capability.
|
|
258
248
|
*/
|
|
@@ -328,26 +318,11 @@ declare module 'stripe' {
|
|
|
328
318
|
*/
|
|
329
319
|
giropay_payments?: Capabilities.GiropayPayments;
|
|
330
320
|
|
|
331
|
-
/**
|
|
332
|
-
* The gopay_payments capability.
|
|
333
|
-
*/
|
|
334
|
-
gopay_payments?: Capabilities.GopayPayments;
|
|
335
|
-
|
|
336
321
|
/**
|
|
337
322
|
* The grabpay_payments capability.
|
|
338
323
|
*/
|
|
339
324
|
grabpay_payments?: Capabilities.GrabpayPayments;
|
|
340
325
|
|
|
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
|
-
|
|
351
326
|
/**
|
|
352
327
|
* The ideal_payments capability.
|
|
353
328
|
*/
|
|
@@ -453,16 +428,6 @@ declare module 'stripe' {
|
|
|
453
428
|
*/
|
|
454
429
|
paynow_payments?: Capabilities.PaynowPayments;
|
|
455
430
|
|
|
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
|
-
|
|
466
431
|
/**
|
|
467
432
|
* The pix_payments capability.
|
|
468
433
|
*/
|
|
@@ -473,16 +438,6 @@ declare module 'stripe' {
|
|
|
473
438
|
*/
|
|
474
439
|
promptpay_payments?: Capabilities.PromptpayPayments;
|
|
475
440
|
|
|
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
|
-
|
|
486
441
|
/**
|
|
487
442
|
* The revolut_pay_payments capability.
|
|
488
443
|
*/
|
|
@@ -508,21 +463,11 @@ declare module 'stripe' {
|
|
|
508
463
|
*/
|
|
509
464
|
sepa_debit_payments?: Capabilities.SepaDebitPayments;
|
|
510
465
|
|
|
511
|
-
/**
|
|
512
|
-
* The shopeepay_payments capability.
|
|
513
|
-
*/
|
|
514
|
-
shopeepay_payments?: Capabilities.ShopeepayPayments;
|
|
515
|
-
|
|
516
466
|
/**
|
|
517
467
|
* The sofort_payments capability.
|
|
518
468
|
*/
|
|
519
469
|
sofort_payments?: Capabilities.SofortPayments;
|
|
520
470
|
|
|
521
|
-
/**
|
|
522
|
-
* The stripe_balance_payments capability.
|
|
523
|
-
*/
|
|
524
|
-
stripe_balance_payments?: Capabilities.StripeBalancePayments;
|
|
525
|
-
|
|
526
471
|
/**
|
|
527
472
|
* The swish_payments capability.
|
|
528
473
|
*/
|
|
@@ -548,21 +493,6 @@ declare module 'stripe' {
|
|
|
548
493
|
*/
|
|
549
494
|
treasury?: Capabilities.Treasury;
|
|
550
495
|
|
|
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
|
-
|
|
566
496
|
/**
|
|
567
497
|
* The twint_payments capability.
|
|
568
498
|
*/
|
|
@@ -627,13 +557,6 @@ declare module 'stripe' {
|
|
|
627
557
|
requested?: boolean;
|
|
628
558
|
}
|
|
629
559
|
|
|
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
|
-
|
|
637
560
|
interface BacsDebitPayments {
|
|
638
561
|
/**
|
|
639
562
|
* 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.
|
|
@@ -739,13 +662,6 @@ declare module 'stripe' {
|
|
|
739
662
|
requested?: boolean;
|
|
740
663
|
}
|
|
741
664
|
|
|
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
|
-
|
|
749
665
|
interface GrabpayPayments {
|
|
750
666
|
/**
|
|
751
667
|
* 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.
|
|
@@ -753,20 +669,6 @@ declare module 'stripe' {
|
|
|
753
669
|
requested?: boolean;
|
|
754
670
|
}
|
|
755
671
|
|
|
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
|
-
|
|
770
672
|
interface IdealPayments {
|
|
771
673
|
/**
|
|
772
674
|
* 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.
|
|
@@ -914,20 +816,6 @@ declare module 'stripe' {
|
|
|
914
816
|
requested?: boolean;
|
|
915
817
|
}
|
|
916
818
|
|
|
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
|
-
|
|
931
819
|
interface PixPayments {
|
|
932
820
|
/**
|
|
933
821
|
* 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.
|
|
@@ -942,20 +830,6 @@ declare module 'stripe' {
|
|
|
942
830
|
requested?: boolean;
|
|
943
831
|
}
|
|
944
832
|
|
|
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
|
-
|
|
959
833
|
interface RevolutPayPayments {
|
|
960
834
|
/**
|
|
961
835
|
* 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.
|
|
@@ -991,13 +865,6 @@ declare module 'stripe' {
|
|
|
991
865
|
requested?: boolean;
|
|
992
866
|
}
|
|
993
867
|
|
|
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
|
-
|
|
1001
868
|
interface SofortPayments {
|
|
1002
869
|
/**
|
|
1003
870
|
* 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.
|
|
@@ -1005,13 +872,6 @@ declare module 'stripe' {
|
|
|
1005
872
|
requested?: boolean;
|
|
1006
873
|
}
|
|
1007
874
|
|
|
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
|
-
|
|
1015
875
|
interface SwishPayments {
|
|
1016
876
|
/**
|
|
1017
877
|
* 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.
|
|
@@ -1047,27 +907,6 @@ declare module 'stripe' {
|
|
|
1047
907
|
requested?: boolean;
|
|
1048
908
|
}
|
|
1049
909
|
|
|
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
|
-
|
|
1071
910
|
interface TwintPayments {
|
|
1072
911
|
/**
|
|
1073
912
|
* 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.
|
|
@@ -1315,16 +1154,6 @@ declare module 'stripe' {
|
|
|
1315
1154
|
}
|
|
1316
1155
|
|
|
1317
1156
|
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
|
-
|
|
1328
1157
|
/**
|
|
1329
1158
|
* A hash of configuration for who pays Stripe fees for product usage on this account.
|
|
1330
1159
|
*/
|
|
@@ -1347,34 +1176,6 @@ declare module 'stripe' {
|
|
|
1347
1176
|
}
|
|
1348
1177
|
|
|
1349
1178
|
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
|
-
|
|
1378
1179
|
interface Fees {
|
|
1379
1180
|
/**
|
|
1380
1181
|
* 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).
|
|
@@ -1770,57 +1571,17 @@ declare module 'stripe' {
|
|
|
1770
1571
|
}
|
|
1771
1572
|
}
|
|
1772
1573
|
|
|
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
|
-
|
|
1803
1574
|
interface Settings {
|
|
1804
1575
|
/**
|
|
1805
1576
|
* Settings specific to Bacs Direct Debit.
|
|
1806
1577
|
*/
|
|
1807
1578
|
bacs_debit_payments?: Settings.BacsDebitPayments;
|
|
1808
1579
|
|
|
1809
|
-
/**
|
|
1810
|
-
* Settings specific to bank BCA onboarding for Indonesia bank transfers payments method.
|
|
1811
|
-
*/
|
|
1812
|
-
bank_bca_onboarding?: Settings.BankBcaOnboarding;
|
|
1813
|
-
|
|
1814
1580
|
/**
|
|
1815
1581
|
* Settings used to apply the account's branding to email receipts, invoices, Checkout, and other products.
|
|
1816
1582
|
*/
|
|
1817
1583
|
branding?: Settings.Branding;
|
|
1818
1584
|
|
|
1819
|
-
/**
|
|
1820
|
-
* Settings specific to the account's use of the Capital product.
|
|
1821
|
-
*/
|
|
1822
|
-
capital?: Settings.Capital;
|
|
1823
|
-
|
|
1824
1585
|
/**
|
|
1825
1586
|
* Settings specific to the account's use of the Card Issuing product.
|
|
1826
1587
|
*/
|
|
@@ -1846,11 +1607,6 @@ declare module 'stripe' {
|
|
|
1846
1607
|
*/
|
|
1847
1608
|
payouts?: Settings.Payouts;
|
|
1848
1609
|
|
|
1849
|
-
/**
|
|
1850
|
-
* Settings specific to the account's tax forms.
|
|
1851
|
-
*/
|
|
1852
|
-
tax_forms?: Settings.TaxForms;
|
|
1853
|
-
|
|
1854
1610
|
/**
|
|
1855
1611
|
* Settings specific to the account's Treasury FinancialAccounts.
|
|
1856
1612
|
*/
|
|
@@ -1865,18 +1621,6 @@ declare module 'stripe' {
|
|
|
1865
1621
|
display_name?: string;
|
|
1866
1622
|
}
|
|
1867
1623
|
|
|
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
|
-
|
|
1880
1624
|
interface Branding {
|
|
1881
1625
|
/**
|
|
1882
1626
|
* (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.
|
|
@@ -1899,22 +1643,6 @@ declare module 'stripe' {
|
|
|
1899
1643
|
secondary_color?: string;
|
|
1900
1644
|
}
|
|
1901
1645
|
|
|
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
|
-
|
|
1918
1646
|
interface CardIssuing {
|
|
1919
1647
|
/**
|
|
1920
1648
|
* Details on the account's acceptance of the [Stripe Issuing Terms and Disclosures](https://docs.stripe.com/issuing/connect/tos_acceptance).
|
|
@@ -2045,12 +1773,12 @@ declare module 'stripe' {
|
|
|
2045
1773
|
monthly_payout_days?: Array<number>;
|
|
2046
1774
|
|
|
2047
1775
|
/**
|
|
2048
|
-
* The day of the week when available funds are paid out, specified as `monday`, `tuesday`, etc.
|
|
1776
|
+
* The day of the week when available funds are paid out, specified as `monday`, `tuesday`, etc. Required and applicable only if `interval` is `weekly`.
|
|
2049
1777
|
*/
|
|
2050
1778
|
weekly_anchor?: Schedule.WeeklyAnchor;
|
|
2051
1779
|
|
|
2052
1780
|
/**
|
|
2053
|
-
* The days of the week when available funds are paid out, specified as an array, e.g., [`monday`, `tuesday`].
|
|
1781
|
+
* The days of the week when available funds are paid out, specified as an array, e.g., [`monday`, `tuesday`]. Required and applicable only if `interval` is `weekly`.
|
|
2054
1782
|
*/
|
|
2055
1783
|
weekly_payout_days?: Array<Schedule.WeeklyPayoutDay>;
|
|
2056
1784
|
}
|
|
@@ -2070,21 +1798,12 @@ declare module 'stripe' {
|
|
|
2070
1798
|
type WeeklyPayoutDay =
|
|
2071
1799
|
| 'friday'
|
|
2072
1800
|
| 'monday'
|
|
2073
|
-
| 'saturday'
|
|
2074
|
-
| 'sunday'
|
|
2075
1801
|
| 'thursday'
|
|
2076
1802
|
| 'tuesday'
|
|
2077
1803
|
| 'wednesday';
|
|
2078
1804
|
}
|
|
2079
1805
|
}
|
|
2080
1806
|
|
|
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
|
-
|
|
2088
1807
|
interface Treasury {
|
|
2089
1808
|
/**
|
|
2090
1809
|
* Details on the account's acceptance of the Stripe Treasury Services Agreement.
|
|
@@ -2224,11 +1943,6 @@ declare module 'stripe' {
|
|
|
2224
1943
|
*/
|
|
2225
1944
|
metadata?: Stripe.Emptyable<Stripe.MetadataParam>;
|
|
2226
1945
|
|
|
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
|
-
|
|
2232
1946
|
/**
|
|
2233
1947
|
* Options for customizing how the account functions within Stripe.
|
|
2234
1948
|
*/
|
|
@@ -2418,11 +2132,6 @@ declare module 'stripe' {
|
|
|
2418
2132
|
*/
|
|
2419
2133
|
au_becs_debit_payments?: Capabilities.AuBecsDebitPayments;
|
|
2420
2134
|
|
|
2421
|
-
/**
|
|
2422
|
-
* The automatic_indirect_tax capability.
|
|
2423
|
-
*/
|
|
2424
|
-
automatic_indirect_tax?: Capabilities.AutomaticIndirectTax;
|
|
2425
|
-
|
|
2426
2135
|
/**
|
|
2427
2136
|
* The bacs_debit_payments capability.
|
|
2428
2137
|
*/
|
|
@@ -2498,26 +2207,11 @@ declare module 'stripe' {
|
|
|
2498
2207
|
*/
|
|
2499
2208
|
giropay_payments?: Capabilities.GiropayPayments;
|
|
2500
2209
|
|
|
2501
|
-
/**
|
|
2502
|
-
* The gopay_payments capability.
|
|
2503
|
-
*/
|
|
2504
|
-
gopay_payments?: Capabilities.GopayPayments;
|
|
2505
|
-
|
|
2506
2210
|
/**
|
|
2507
2211
|
* The grabpay_payments capability.
|
|
2508
2212
|
*/
|
|
2509
2213
|
grabpay_payments?: Capabilities.GrabpayPayments;
|
|
2510
2214
|
|
|
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
|
-
|
|
2521
2215
|
/**
|
|
2522
2216
|
* The ideal_payments capability.
|
|
2523
2217
|
*/
|
|
@@ -2623,16 +2317,6 @@ declare module 'stripe' {
|
|
|
2623
2317
|
*/
|
|
2624
2318
|
paynow_payments?: Capabilities.PaynowPayments;
|
|
2625
2319
|
|
|
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
|
-
|
|
2636
2320
|
/**
|
|
2637
2321
|
* The pix_payments capability.
|
|
2638
2322
|
*/
|
|
@@ -2643,16 +2327,6 @@ declare module 'stripe' {
|
|
|
2643
2327
|
*/
|
|
2644
2328
|
promptpay_payments?: Capabilities.PromptpayPayments;
|
|
2645
2329
|
|
|
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
|
-
|
|
2656
2330
|
/**
|
|
2657
2331
|
* The revolut_pay_payments capability.
|
|
2658
2332
|
*/
|
|
@@ -2678,21 +2352,11 @@ declare module 'stripe' {
|
|
|
2678
2352
|
*/
|
|
2679
2353
|
sepa_debit_payments?: Capabilities.SepaDebitPayments;
|
|
2680
2354
|
|
|
2681
|
-
/**
|
|
2682
|
-
* The shopeepay_payments capability.
|
|
2683
|
-
*/
|
|
2684
|
-
shopeepay_payments?: Capabilities.ShopeepayPayments;
|
|
2685
|
-
|
|
2686
2355
|
/**
|
|
2687
2356
|
* The sofort_payments capability.
|
|
2688
2357
|
*/
|
|
2689
2358
|
sofort_payments?: Capabilities.SofortPayments;
|
|
2690
2359
|
|
|
2691
|
-
/**
|
|
2692
|
-
* The stripe_balance_payments capability.
|
|
2693
|
-
*/
|
|
2694
|
-
stripe_balance_payments?: Capabilities.StripeBalancePayments;
|
|
2695
|
-
|
|
2696
2360
|
/**
|
|
2697
2361
|
* The swish_payments capability.
|
|
2698
2362
|
*/
|
|
@@ -2718,21 +2382,6 @@ declare module 'stripe' {
|
|
|
2718
2382
|
*/
|
|
2719
2383
|
treasury?: Capabilities.Treasury;
|
|
2720
2384
|
|
|
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
|
-
|
|
2736
2385
|
/**
|
|
2737
2386
|
* The twint_payments capability.
|
|
2738
2387
|
*/
|
|
@@ -2797,13 +2446,6 @@ declare module 'stripe' {
|
|
|
2797
2446
|
requested?: boolean;
|
|
2798
2447
|
}
|
|
2799
2448
|
|
|
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
|
-
|
|
2807
2449
|
interface BacsDebitPayments {
|
|
2808
2450
|
/**
|
|
2809
2451
|
* 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.
|
|
@@ -2909,13 +2551,6 @@ declare module 'stripe' {
|
|
|
2909
2551
|
requested?: boolean;
|
|
2910
2552
|
}
|
|
2911
2553
|
|
|
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
|
-
|
|
2919
2554
|
interface GrabpayPayments {
|
|
2920
2555
|
/**
|
|
2921
2556
|
* 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.
|
|
@@ -2923,20 +2558,6 @@ declare module 'stripe' {
|
|
|
2923
2558
|
requested?: boolean;
|
|
2924
2559
|
}
|
|
2925
2560
|
|
|
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
|
-
|
|
2940
2561
|
interface IdealPayments {
|
|
2941
2562
|
/**
|
|
2942
2563
|
* 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.
|
|
@@ -3084,20 +2705,6 @@ declare module 'stripe' {
|
|
|
3084
2705
|
requested?: boolean;
|
|
3085
2706
|
}
|
|
3086
2707
|
|
|
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
|
-
|
|
3101
2708
|
interface PixPayments {
|
|
3102
2709
|
/**
|
|
3103
2710
|
* 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.
|
|
@@ -3112,20 +2719,6 @@ declare module 'stripe' {
|
|
|
3112
2719
|
requested?: boolean;
|
|
3113
2720
|
}
|
|
3114
2721
|
|
|
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
|
-
|
|
3129
2722
|
interface RevolutPayPayments {
|
|
3130
2723
|
/**
|
|
3131
2724
|
* 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.
|
|
@@ -3161,13 +2754,6 @@ declare module 'stripe' {
|
|
|
3161
2754
|
requested?: boolean;
|
|
3162
2755
|
}
|
|
3163
2756
|
|
|
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
|
-
|
|
3171
2757
|
interface SofortPayments {
|
|
3172
2758
|
/**
|
|
3173
2759
|
* 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.
|
|
@@ -3175,13 +2761,6 @@ declare module 'stripe' {
|
|
|
3175
2761
|
requested?: boolean;
|
|
3176
2762
|
}
|
|
3177
2763
|
|
|
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
|
-
|
|
3185
2764
|
interface SwishPayments {
|
|
3186
2765
|
/**
|
|
3187
2766
|
* 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.
|
|
@@ -3217,27 +2796,6 @@ declare module 'stripe' {
|
|
|
3217
2796
|
requested?: boolean;
|
|
3218
2797
|
}
|
|
3219
2798
|
|
|
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
|
-
|
|
3241
2799
|
interface TwintPayments {
|
|
3242
2800
|
/**
|
|
3243
2801
|
* 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.
|
|
@@ -3846,57 +3404,17 @@ declare module 'stripe' {
|
|
|
3846
3404
|
}
|
|
3847
3405
|
}
|
|
3848
3406
|
|
|
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
|
-
|
|
3879
3407
|
interface Settings {
|
|
3880
3408
|
/**
|
|
3881
3409
|
* Settings specific to Bacs Direct Debit payments.
|
|
3882
3410
|
*/
|
|
3883
3411
|
bacs_debit_payments?: Settings.BacsDebitPayments;
|
|
3884
3412
|
|
|
3885
|
-
/**
|
|
3886
|
-
* Settings specific to bank BCA onboarding for Indonesia bank transfers payments method.
|
|
3887
|
-
*/
|
|
3888
|
-
bank_bca_onboarding?: Settings.BankBcaOnboarding;
|
|
3889
|
-
|
|
3890
3413
|
/**
|
|
3891
3414
|
* Settings used to apply the account's branding to email receipts, invoices, Checkout, and other products.
|
|
3892
3415
|
*/
|
|
3893
3416
|
branding?: Settings.Branding;
|
|
3894
3417
|
|
|
3895
|
-
/**
|
|
3896
|
-
* Settings specific to the account's use of the Capital product.
|
|
3897
|
-
*/
|
|
3898
|
-
capital?: Settings.Capital;
|
|
3899
|
-
|
|
3900
3418
|
/**
|
|
3901
3419
|
* Settings specific to the account's use of the Card Issuing product.
|
|
3902
3420
|
*/
|
|
@@ -3922,11 +3440,6 @@ declare module 'stripe' {
|
|
|
3922
3440
|
*/
|
|
3923
3441
|
payouts?: Settings.Payouts;
|
|
3924
3442
|
|
|
3925
|
-
/**
|
|
3926
|
-
* Settings specific to the account's tax forms.
|
|
3927
|
-
*/
|
|
3928
|
-
tax_forms?: Settings.TaxForms;
|
|
3929
|
-
|
|
3930
3443
|
/**
|
|
3931
3444
|
* Settings specific to the account's Treasury FinancialAccounts.
|
|
3932
3445
|
*/
|
|
@@ -3941,18 +3454,6 @@ declare module 'stripe' {
|
|
|
3941
3454
|
display_name?: string;
|
|
3942
3455
|
}
|
|
3943
3456
|
|
|
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
|
-
|
|
3956
3457
|
interface Branding {
|
|
3957
3458
|
/**
|
|
3958
3459
|
* (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.
|
|
@@ -3975,22 +3476,6 @@ declare module 'stripe' {
|
|
|
3975
3476
|
secondary_color?: string;
|
|
3976
3477
|
}
|
|
3977
3478
|
|
|
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
|
-
|
|
3994
3479
|
interface CardIssuing {
|
|
3995
3480
|
/**
|
|
3996
3481
|
* Details on the account's acceptance of the [Stripe Issuing Terms and Disclosures](https://docs.stripe.com/issuing/connect/tos_acceptance).
|
|
@@ -4126,12 +3611,12 @@ declare module 'stripe' {
|
|
|
4126
3611
|
monthly_payout_days?: Array<number>;
|
|
4127
3612
|
|
|
4128
3613
|
/**
|
|
4129
|
-
* The day of the week when available funds are paid out, specified as `monday`, `tuesday`, etc.
|
|
3614
|
+
* The day of the week when available funds are paid out, specified as `monday`, `tuesday`, etc. Required and applicable only if `interval` is `weekly`.
|
|
4130
3615
|
*/
|
|
4131
3616
|
weekly_anchor?: Schedule.WeeklyAnchor;
|
|
4132
3617
|
|
|
4133
3618
|
/**
|
|
4134
|
-
* The days of the week when available funds are paid out, specified as an array, e.g., [`monday`, `tuesday`].
|
|
3619
|
+
* The days of the week when available funds are paid out, specified as an array, e.g., [`monday`, `tuesday`]. Required and applicable only if `interval` is `weekly`.
|
|
4135
3620
|
*/
|
|
4136
3621
|
weekly_payout_days?: Array<Schedule.WeeklyPayoutDay>;
|
|
4137
3622
|
}
|
|
@@ -4151,21 +3636,12 @@ declare module 'stripe' {
|
|
|
4151
3636
|
type WeeklyPayoutDay =
|
|
4152
3637
|
| 'friday'
|
|
4153
3638
|
| 'monday'
|
|
4154
|
-
| 'saturday'
|
|
4155
|
-
| 'sunday'
|
|
4156
3639
|
| 'thursday'
|
|
4157
3640
|
| 'tuesday'
|
|
4158
3641
|
| 'wednesday';
|
|
4159
3642
|
}
|
|
4160
3643
|
}
|
|
4161
3644
|
|
|
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
|
-
|
|
4169
3645
|
interface Treasury {
|
|
4170
3646
|
/**
|
|
4171
3647
|
* Details on the account's acceptance of the Stripe Treasury Services Agreement.
|