stripe 23.1.0 → 23.2.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1914 -4850
- package/README.md +42 -58
- package/VERSION +1 -1
- package/cjs/Error.d.ts +6 -0
- package/cjs/Error.js +17 -1
- package/cjs/Error.js.map +1 -1
- package/cjs/StripeEventNotificationHandler.js +54 -0
- package/cjs/StripeEventNotificationHandler.js.map +1 -1
- package/cjs/Types.d.ts +4 -2
- package/cjs/Types.js.map +1 -1
- package/cjs/apiVersion.d.ts +2 -2
- package/cjs/apiVersion.js +2 -2
- package/cjs/apiVersion.js.map +1 -1
- package/cjs/resources/AccountLinks.d.ts +1 -1
- package/cjs/resources/AccountNotices.d.ts +140 -0
- package/cjs/resources/AccountNotices.js +29 -0
- package/cjs/resources/AccountNotices.js.map +1 -0
- package/cjs/resources/AccountSessions.d.ts +226 -0
- package/cjs/resources/AccountSessions.js.map +1 -1
- package/cjs/resources/Accounts.d.ts +625 -3
- package/cjs/resources/Accounts.js +14 -0
- package/cjs/resources/Accounts.js.map +1 -1
- package/cjs/resources/Balance.d.ts +67 -0
- package/cjs/resources/BalanceSettings.d.ts +18 -0
- package/cjs/resources/BankAccounts.d.ts +2 -2
- package/cjs/resources/Billing/AlertTriggereds.d.ts +2 -1
- package/cjs/resources/Billing/Analytics/MeterUsage.d.ts +85 -0
- package/cjs/resources/Billing/Analytics/MeterUsage.js +15 -0
- package/cjs/resources/Billing/Analytics/MeterUsage.js.map +1 -0
- package/cjs/resources/Billing/Analytics/MeterUsageRows.d.ts +32 -0
- package/cjs/resources/Billing/Analytics/MeterUsageRows.js +4 -0
- package/cjs/resources/Billing/Analytics/MeterUsageRows.js.map +1 -0
- package/cjs/resources/Billing/Analytics/index.d.ts +15 -0
- package/cjs/resources/Billing/Analytics/index.js +13 -0
- package/cjs/resources/Billing/Analytics/index.js.map +1 -0
- package/cjs/resources/Billing/index.d.ts +3 -0
- package/cjs/resources/Billing/index.js +2 -0
- package/cjs/resources/Billing/index.js.map +1 -1
- package/cjs/resources/Capabilities.d.ts +2 -2
- package/cjs/resources/Capital/FinancingOffers.d.ts +194 -0
- package/cjs/resources/Capital/FinancingOffers.js +30 -0
- package/cjs/resources/Capital/FinancingOffers.js.map +1 -0
- package/cjs/resources/Capital/FinancingSummary.d.ts +102 -0
- package/cjs/resources/Capital/FinancingSummary.js +15 -0
- package/cjs/resources/Capital/FinancingSummary.js.map +1 -0
- package/cjs/resources/Capital/FinancingTransactions.d.ts +141 -0
- package/cjs/resources/Capital/FinancingTransactions.js +24 -0
- package/cjs/resources/Capital/FinancingTransactions.js.map +1 -0
- package/cjs/resources/Capital/index.d.ts +25 -0
- package/cjs/resources/Capital/index.js +17 -0
- package/cjs/resources/Capital/index.js.map +1 -0
- package/cjs/resources/Cards.d.ts +17 -0
- package/cjs/resources/Charges.d.ts +3077 -70
- package/cjs/resources/Checkout/Sessions.d.ts +351 -4
- package/cjs/resources/ConfirmationTokens.d.ts +67 -1
- package/cjs/resources/Coupons.d.ts +53 -0
- package/cjs/resources/Coupons.js +13 -0
- package/cjs/resources/Coupons.js.map +1 -1
- package/cjs/resources/CreditNoteLineItems.d.ts +15 -1
- package/cjs/resources/CreditNotes.d.ts +1 -1
- package/cjs/resources/CustomerSessions.d.ts +68 -0
- package/cjs/resources/Customers.d.ts +20 -1
- package/cjs/resources/Customers.js +14 -0
- package/cjs/resources/Customers.js.map +1 -1
- package/cjs/resources/Disputes.d.ts +14 -0
- package/cjs/resources/Events.d.ts +614 -3
- package/cjs/resources/ExternalAccounts.d.ts +212 -1
- package/cjs/resources/ExternalAccounts.js +44 -0
- package/cjs/resources/ExternalAccounts.js.map +1 -1
- package/cjs/resources/FinancialConnections/AccountInferredBalances.d.ts +24 -0
- package/cjs/resources/FinancialConnections/AccountInferredBalances.js +4 -0
- package/cjs/resources/FinancialConnections/AccountInferredBalances.js.map +1 -0
- package/cjs/resources/FinancialConnections/Accounts.d.ts +69 -4
- package/cjs/resources/FinancialConnections/Accounts.js +8 -0
- package/cjs/resources/FinancialConnections/Accounts.js.map +1 -1
- package/cjs/resources/FinancialConnections/Authorizations.d.ts +46 -1
- package/cjs/resources/FinancialConnections/Authorizations.js +11 -0
- package/cjs/resources/FinancialConnections/Authorizations.js.map +1 -1
- package/cjs/resources/FinancialConnections/Institutions.d.ts +99 -0
- package/cjs/resources/FinancialConnections/Institutions.js +23 -0
- package/cjs/resources/FinancialConnections/Institutions.js.map +1 -0
- package/cjs/resources/FinancialConnections/Sessions.d.ts +124 -9
- package/cjs/resources/FinancialConnections/index.d.ts +21 -9
- package/cjs/resources/FinancialConnections/index.js +4 -0
- package/cjs/resources/FinancialConnections/index.js.map +1 -1
- package/cjs/resources/FxQuotes.d.ts +216 -0
- package/cjs/resources/FxQuotes.js +29 -0
- package/cjs/resources/FxQuotes.js.map +1 -0
- package/cjs/resources/InvoiceItems.d.ts +85 -0
- package/cjs/resources/InvoiceItems.js.map +1 -1
- package/cjs/resources/InvoiceLineItems.d.ts +40 -2
- package/cjs/resources/Invoices.d.ts +1257 -10
- package/cjs/resources/Invoices.js +41 -0
- package/cjs/resources/Invoices.js.map +1 -1
- package/cjs/resources/Issuing/Authorizations.d.ts +13 -0
- package/cjs/resources/Issuing/Cardholders.d.ts +19 -1
- package/cjs/resources/Issuing/Cards.d.ts +13 -0
- package/cjs/resources/Issuing/CreditUnderwritingRecords.d.ts +638 -0
- package/cjs/resources/Issuing/CreditUnderwritingRecords.js +47 -0
- package/cjs/resources/Issuing/CreditUnderwritingRecords.js.map +1 -0
- package/cjs/resources/Issuing/DisputeSettlementDetails.d.ts +93 -0
- package/cjs/resources/Issuing/DisputeSettlementDetails.js +23 -0
- package/cjs/resources/Issuing/DisputeSettlementDetails.js.map +1 -0
- package/cjs/resources/Issuing/Disputes.d.ts +13 -0
- package/cjs/resources/Issuing/FraudLiabilityDebits.d.ts +68 -0
- package/cjs/resources/Issuing/FraudLiabilityDebits.js +23 -0
- package/cjs/resources/Issuing/FraudLiabilityDebits.js.map +1 -0
- package/cjs/resources/Issuing/Settlements.d.ts +83 -0
- package/cjs/resources/Issuing/Settlements.js +4 -0
- package/cjs/resources/Issuing/Settlements.js.map +1 -0
- package/cjs/resources/Issuing/Transactions.d.ts +22 -0
- package/cjs/resources/Issuing/Transactions.js.map +1 -1
- package/cjs/resources/Issuing/index.d.ts +47 -22
- package/cjs/resources/Issuing/index.js +6 -0
- package/cjs/resources/Issuing/index.js.map +1 -1
- package/cjs/resources/LineItems.d.ts +29 -2
- package/cjs/resources/Mandates.d.ts +36 -2
- package/cjs/resources/Mandates.js +8 -0
- package/cjs/resources/Mandates.js.map +1 -1
- package/cjs/resources/Margins.d.ts +115 -0
- package/cjs/resources/Margins.js +35 -0
- package/cjs/resources/Margins.js.map +1 -0
- package/cjs/resources/Orders.d.ts +4696 -0
- package/cjs/resources/Orders.js +457 -0
- package/cjs/resources/Orders.js.map +1 -0
- package/cjs/resources/PaymentAttemptRecords.d.ts +82 -0
- package/cjs/resources/PaymentIntents.d.ts +13832 -2816
- package/cjs/resources/PaymentIntents.js +27 -0
- package/cjs/resources/PaymentIntents.js.map +1 -1
- package/cjs/resources/PaymentLinks.d.ts +3 -3
- package/cjs/resources/PaymentMethodConfigurations.d.ts +350 -0
- package/cjs/resources/PaymentMethods.d.ts +181 -3
- package/cjs/resources/PaymentMethods.js.map +1 -1
- package/cjs/resources/PaymentPlans.d.ts +427 -0
- package/cjs/resources/PaymentPlans.js +35 -0
- package/cjs/resources/PaymentPlans.js.map +1 -0
- package/cjs/resources/PaymentRecords.d.ts +82 -0
- package/cjs/resources/Persons.d.ts +2 -2
- package/cjs/resources/Prices.d.ts +36 -0
- package/cjs/resources/Privacy/RedactionJobValidationErrors.d.ts +36 -0
- package/cjs/resources/Privacy/RedactionJobValidationErrors.js +4 -0
- package/cjs/resources/Privacy/RedactionJobValidationErrors.js.map +1 -0
- package/cjs/resources/Privacy/RedactionJobs.d.ts +227 -0
- package/cjs/resources/Privacy/RedactionJobs.js +73 -0
- package/cjs/resources/Privacy/RedactionJobs.js.map +1 -0
- package/cjs/resources/Privacy/index.d.ts +22 -0
- package/cjs/resources/Privacy/index.js +13 -0
- package/cjs/resources/Privacy/index.js.map +1 -0
- package/cjs/resources/ProductCatalog/TrialOffers.d.ts +2 -2
- package/cjs/resources/PromotionCodes.d.ts +12 -0
- package/cjs/resources/PromotionCodes.js +27 -0
- package/cjs/resources/PromotionCodes.js.map +1 -1
- package/cjs/resources/QuoteLines.d.ts +507 -0
- package/cjs/resources/QuoteLines.js +4 -0
- package/cjs/resources/QuoteLines.js.map +1 -0
- package/cjs/resources/QuotePreviewInvoices.d.ts +1170 -0
- package/cjs/resources/QuotePreviewInvoices.js +4 -0
- package/cjs/resources/QuotePreviewInvoices.js.map +1 -0
- package/cjs/resources/QuotePreviewSubscriptionSchedules.d.ts +924 -0
- package/cjs/resources/QuotePreviewSubscriptionSchedules.js +4 -0
- package/cjs/resources/QuotePreviewSubscriptionSchedules.js.map +1 -0
- package/cjs/resources/Quotes.d.ts +2266 -57
- package/cjs/resources/Quotes.js +1184 -16
- package/cjs/resources/Quotes.js.map +1 -1
- package/cjs/resources/Radar/BillingEvaluations.d.ts +374 -0
- package/cjs/resources/Radar/BillingEvaluations.js +15 -0
- package/cjs/resources/Radar/BillingEvaluations.js.map +1 -0
- package/cjs/resources/Radar/PaymentEvaluations.d.ts +1 -1
- package/cjs/resources/Radar/ValueListItems.d.ts +31 -1
- package/cjs/resources/Radar/index.d.ts +21 -16
- package/cjs/resources/Radar/index.js +2 -0
- package/cjs/resources/Radar/index.js.map +1 -1
- package/cjs/resources/Refunds.d.ts +11 -0
- package/cjs/resources/Reserve/Holds.d.ts +53 -1
- package/cjs/resources/Reserve/Holds.js +19 -0
- package/cjs/resources/Reserve/Holds.js.map +1 -1
- package/cjs/resources/Reserve/Plans.d.ts +41 -1
- package/cjs/resources/Reserve/Plans.js +19 -0
- package/cjs/resources/Reserve/Plans.js.map +1 -1
- package/cjs/resources/Reserve/Releases.d.ts +41 -1
- package/cjs/resources/Reserve/Releases.js +19 -0
- package/cjs/resources/Reserve/Releases.js.map +1 -1
- package/cjs/resources/Reserve/index.d.ts +18 -6
- package/cjs/resources/Reserve/index.js +9 -0
- package/cjs/resources/Reserve/index.js.map +1 -1
- package/cjs/resources/SetupAttempts.d.ts +26 -1
- package/cjs/resources/SetupIntents.d.ts +394 -11
- package/cjs/resources/SharedPayment/GrantedTokens.d.ts +418 -0
- package/cjs/resources/SharedPayment/GrantedTokens.js +15 -0
- package/cjs/resources/SharedPayment/GrantedTokens.js.map +1 -0
- package/cjs/resources/SharedPayment/IssuedTokens.d.ts +330 -0
- package/cjs/resources/SharedPayment/IssuedTokens.js +27 -0
- package/cjs/resources/SharedPayment/IssuedTokens.js.map +1 -0
- package/cjs/resources/SharedPayment/index.d.ts +19 -0
- package/cjs/resources/SharedPayment/index.js +15 -0
- package/cjs/resources/SharedPayment/index.js.map +1 -0
- package/cjs/resources/Sources.d.ts +29 -1
- package/cjs/resources/SubscriptionItems.d.ts +114 -0
- package/cjs/resources/SubscriptionSchedules.d.ts +1157 -5
- package/cjs/resources/SubscriptionSchedules.js +6 -0
- package/cjs/resources/SubscriptionSchedules.js.map +1 -1
- package/cjs/resources/Subscriptions.d.ts +388 -6
- package/cjs/resources/Subscriptions.js +42 -0
- package/cjs/resources/Subscriptions.js.map +1 -1
- package/cjs/resources/Tax/Forms.d.ts +228 -0
- package/cjs/resources/Tax/Forms.js +32 -0
- package/cjs/resources/Tax/Forms.js.map +1 -0
- package/cjs/resources/Tax/Registrations.d.ts +25 -2
- package/cjs/resources/Tax/index.d.ts +24 -17
- package/cjs/resources/Tax/index.js +2 -0
- package/cjs/resources/Tax/index.js.map +1 -1
- package/cjs/resources/Terminal/ReaderCollectedData.d.ts +50 -0
- package/cjs/resources/Terminal/ReaderCollectedData.js +15 -0
- package/cjs/resources/Terminal/ReaderCollectedData.js.map +1 -0
- package/cjs/resources/Terminal/Readers.d.ts +17 -1
- package/cjs/resources/Terminal/index.d.ts +5 -0
- package/cjs/resources/Terminal/index.js +2 -0
- package/cjs/resources/Terminal/index.js.map +1 -1
- package/cjs/resources/TestHelpers/ConfirmationTokens.d.ts +95 -1
- package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +68 -0
- package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js +21 -0
- package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js.map +1 -0
- package/cjs/resources/TestHelpers/SharedPayment/index.d.ts +8 -0
- package/cjs/resources/TestHelpers/SharedPayment/index.js +13 -0
- package/cjs/resources/TestHelpers/SharedPayment/index.js.map +1 -0
- package/cjs/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +22 -0
- package/cjs/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +22 -0
- package/cjs/resources/TestHelpers/index.d.ts +3 -0
- package/cjs/resources/TestHelpers/index.js +6 -4
- package/cjs/resources/TestHelpers/index.js.map +1 -1
- package/cjs/resources/Tokens.d.ts +15 -0
- package/cjs/resources/Transfers.d.ts +8 -0
- package/cjs/resources/Treasury/FinancialAccountFeatures.d.ts +5 -0
- package/cjs/resources/Treasury/FinancialAccounts.d.ts +34 -1
- package/cjs/resources/Treasury/OutboundPayments.d.ts +26 -0
- package/cjs/resources/Treasury/OutboundTransfers.d.ts +44 -0
- package/cjs/resources/Treasury/ReceivedCredits.d.ts +22 -0
- package/cjs/resources/Treasury/ReceivedDebits.d.ts +26 -0
- package/cjs/resources/V2/Billing/BillSettingVersions.d.ts +72 -0
- package/cjs/resources/V2/Billing/BillSettingVersions.js +4 -0
- package/cjs/resources/V2/Billing/BillSettingVersions.js.map +1 -0
- package/cjs/resources/V2/Billing/BillSettings/Versions.d.ts +33 -0
- package/cjs/resources/V2/Billing/BillSettings/Versions.js +23 -0
- package/cjs/resources/V2/Billing/BillSettings/Versions.js.map +1 -0
- package/cjs/resources/V2/Billing/BillSettings.d.ts +281 -0
- package/cjs/resources/V2/Billing/BillSettings.js +41 -0
- package/cjs/resources/V2/Billing/BillSettings.js.map +1 -0
- package/cjs/resources/V2/Billing/Cadences.d.ts +958 -0
- package/cjs/resources/V2/Billing/Cadences.js +198 -0
- package/cjs/resources/V2/Billing/Cadences.js.map +1 -0
- package/cjs/resources/V2/Billing/CollectionSettingVersions.d.ts +238 -0
- package/cjs/resources/V2/Billing/CollectionSettingVersions.js +4 -0
- package/cjs/resources/V2/Billing/CollectionSettingVersions.js.map +1 -0
- package/cjs/resources/V2/Billing/CollectionSettings/Versions.d.ts +33 -0
- package/cjs/resources/V2/Billing/CollectionSettings/Versions.js +70 -0
- package/cjs/resources/V2/Billing/CollectionSettings/Versions.js.map +1 -0
- package/cjs/resources/V2/Billing/CollectionSettings.d.ts +779 -0
- package/cjs/resources/V2/Billing/CollectionSettings.js +166 -0
- package/cjs/resources/V2/Billing/CollectionSettings.js.map +1 -0
- package/cjs/resources/V2/Billing/Profiles.d.ts +162 -0
- package/cjs/resources/V2/Billing/Profiles.js +35 -0
- package/cjs/resources/V2/Billing/Profiles.js.map +1 -0
- package/cjs/resources/V2/Billing/index.d.ts +45 -6
- package/cjs/resources/V2/Billing/index.js +8 -0
- package/cjs/resources/V2/Billing/index.js.map +1 -1
- package/cjs/resources/V2/Core/AccountTokens.d.ts +28 -1
- package/cjs/resources/V2/Core/Accounts.d.ts +1465 -71
- package/cjs/resources/V2/Core/ApprovalRequests.d.ts +378 -0
- package/cjs/resources/V2/Core/ApprovalRequests.js +39 -0
- package/cjs/resources/V2/Core/ApprovalRequests.js.map +1 -0
- package/cjs/resources/V2/Core/BatchJobs.d.ts +392 -0
- package/cjs/resources/V2/Core/BatchJobs.js +252 -0
- package/cjs/resources/V2/Core/BatchJobs.js.map +1 -0
- package/cjs/resources/V2/Core/Events.d.ts +1009 -5
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.d.ts +117 -0
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.js.map +1 -1
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.d.ts +27 -0
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.js.map +1 -1
- package/cjs/resources/V2/Core/index.d.ts +24 -9
- package/cjs/resources/V2/Core/index.js +4 -0
- package/cjs/resources/V2/Core/index.js.map +1 -1
- package/cjs/resources/V2/Data/QueryRuns.d.ts +299 -0
- package/cjs/resources/V2/Data/QueryRuns.js +51 -0
- package/cjs/resources/V2/Data/QueryRuns.js.map +1 -0
- package/cjs/resources/V2/Data/ReportRuns.d.ts +303 -0
- package/cjs/resources/V2/Data/ReportRuns.js +53 -0
- package/cjs/resources/V2/Data/ReportRuns.js.map +1 -0
- package/cjs/resources/V2/Data/Reporting/QueryRuns.d.ts +152 -0
- package/cjs/resources/V2/Data/Reporting/QueryRuns.js +46 -0
- package/cjs/resources/V2/Data/Reporting/QueryRuns.js.map +1 -0
- package/cjs/resources/V2/Data/Reporting/index.d.ts +13 -0
- package/cjs/resources/V2/Data/Reporting/index.js +13 -0
- package/cjs/resources/V2/Data/Reporting/index.js.map +1 -0
- package/cjs/resources/V2/Data/Reports.d.ts +140 -0
- package/cjs/resources/V2/Data/Reports.js +25 -0
- package/cjs/resources/V2/Data/Reports.js.map +1 -0
- package/cjs/resources/V2/Data/Schemas.d.ts +161 -0
- package/cjs/resources/V2/Data/Schemas.js +23 -0
- package/cjs/resources/V2/Data/Schemas.js.map +1 -0
- package/cjs/resources/V2/Data/index.d.ts +34 -0
- package/cjs/resources/V2/Data/index.js +21 -0
- package/cjs/resources/V2/Data/index.js.map +1 -0
- package/cjs/resources/V2/EventMisc.d.ts +0 -0
- package/cjs/resources/V2/EventMisc.js +2 -0
- package/cjs/resources/V2/EventMisc.js.map +1 -0
- package/cjs/resources/V2/Extend/WorkflowRuns.d.ts +163 -0
- package/cjs/resources/V2/Extend/WorkflowRuns.js +23 -0
- package/cjs/resources/V2/Extend/WorkflowRuns.js.map +1 -0
- package/cjs/resources/V2/Extend/Workflows.d.ts +120 -0
- package/cjs/resources/V2/Extend/Workflows.js +30 -0
- package/cjs/resources/V2/Extend/Workflows.js.map +1 -0
- package/cjs/resources/V2/Extend/index.d.ts +20 -0
- package/cjs/resources/V2/Extend/index.js +15 -0
- package/cjs/resources/V2/Extend/index.js.map +1 -0
- package/cjs/resources/V2/Iam/ActivityLogs.d.ts +377 -0
- package/cjs/resources/V2/Iam/ActivityLogs.js +23 -0
- package/cjs/resources/V2/Iam/ActivityLogs.js.map +1 -0
- package/cjs/resources/V2/Iam/index.d.ts +13 -0
- package/cjs/resources/V2/Iam/index.js +13 -0
- package/cjs/resources/V2/Iam/index.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/Adjustments.d.ts +6 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.d.ts +102 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +15 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js.map +1 -1
- package/cjs/resources/V2/MoneyManagement/FinancialAddressGeneratedMicrodeposits.d.ts +19 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAddressGeneratedMicrodeposits.js +4 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAddressGeneratedMicrodeposits.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/InboundTransfers.d.ts +4 -0
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +356 -0
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +23 -0
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/OutboundPayments.d.ts +79 -1
- package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +96 -2
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.d.ts +418 -0
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js +40 -0
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/PayoutIntents.d.ts +2 -2
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.d.ts +66 -1
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.js +9 -0
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.js.map +1 -1
- package/cjs/resources/V2/MoneyManagement/ReceivedCredits.d.ts +6 -2
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.d.ts +163 -0
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js +23 -0
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/RecipientVerifications.d.ts +5 -1
- package/cjs/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.d.ts +15 -1
- package/cjs/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.js +7 -0
- package/cjs/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.js.map +1 -1
- package/cjs/resources/V2/MoneyManagement/index.d.ts +63 -37
- package/cjs/resources/V2/MoneyManagement/index.js +6 -0
- package/cjs/resources/V2/MoneyManagement/index.js.map +1 -1
- package/cjs/resources/V2/Network/BusinessProfiles.d.ts +92 -0
- package/cjs/resources/V2/Network/BusinessProfiles.js +21 -0
- package/cjs/resources/V2/Network/BusinessProfiles.js.map +1 -0
- package/cjs/resources/V2/Network/index.d.ts +13 -0
- package/cjs/resources/V2/Network/index.js +13 -0
- package/cjs/resources/V2/Network/index.js.map +1 -0
- package/cjs/resources/V2/OrchestratedCommerce/Agreements.d.ts +143 -0
- package/cjs/resources/V2/OrchestratedCommerce/Agreements.js +41 -0
- package/cjs/resources/V2/OrchestratedCommerce/Agreements.js.map +1 -0
- package/cjs/resources/V2/OrchestratedCommerce/index.d.ts +16 -0
- package/cjs/resources/V2/OrchestratedCommerce/index.js +13 -0
- package/cjs/resources/V2/OrchestratedCommerce/index.js.map +1 -0
- package/cjs/resources/V2/Signals/AccountActivities.d.ts +432 -0
- package/cjs/resources/V2/Signals/AccountActivities.js +27 -0
- package/cjs/resources/V2/Signals/AccountActivities.js.map +1 -0
- package/cjs/resources/V2/Signals/AccountEvaluations.d.ts +405 -0
- package/cjs/resources/V2/Signals/AccountEvaluations.js +59 -0
- package/cjs/resources/V2/Signals/AccountEvaluations.js.map +1 -0
- package/cjs/resources/V2/Signals/AccountSignals.d.ts +196 -0
- package/cjs/resources/V2/Signals/AccountSignals.js +66 -0
- package/cjs/resources/V2/Signals/AccountSignals.js.map +1 -0
- package/cjs/resources/V2/Signals/index.d.ts +26 -0
- package/cjs/resources/V2/Signals/index.js +17 -0
- package/cjs/resources/V2/Signals/index.js.map +1 -0
- package/cjs/resources/V2/index.d.ts +18 -0
- package/cjs/resources/V2/index.js +16 -4
- package/cjs/resources/V2/index.js.map +1 -1
- package/cjs/resources/WebhookEndpoints.d.ts +2 -2
- package/cjs/resources.d.ts +10 -0
- package/cjs/resources.js +126 -8
- package/cjs/resources.js.map +1 -1
- package/cjs/stripe.cjs.node.d.ts +6674 -138
- package/cjs/stripe.cjs.node.js.map +1 -1
- package/cjs/stripe.core.d.ts +60 -26
- package/cjs/stripe.core.js +55 -36
- package/cjs/stripe.core.js.map +1 -1
- package/esm/Error.d.ts +6 -0
- package/esm/Error.js +14 -0
- package/esm/Error.js.map +1 -1
- package/esm/StripeEventNotificationHandler.js +54 -0
- package/esm/StripeEventNotificationHandler.js.map +1 -1
- package/esm/Types.d.ts +4 -2
- package/esm/Types.js.map +1 -1
- package/esm/apiVersion.d.ts +2 -2
- package/esm/apiVersion.js +2 -2
- package/esm/apiVersion.js.map +1 -1
- package/esm/resources/AccountLinks.d.ts +1 -1
- package/esm/resources/AccountNotices.d.ts +140 -0
- package/esm/resources/AccountNotices.js +25 -0
- package/esm/resources/AccountNotices.js.map +1 -0
- package/esm/resources/AccountSessions.d.ts +226 -0
- package/esm/resources/AccountSessions.js.map +1 -1
- package/esm/resources/Accounts.d.ts +625 -3
- package/esm/resources/Accounts.js +14 -0
- package/esm/resources/Accounts.js.map +1 -1
- package/esm/resources/Balance.d.ts +67 -0
- package/esm/resources/BalanceSettings.d.ts +18 -0
- package/esm/resources/BankAccounts.d.ts +2 -2
- package/esm/resources/Billing/AlertTriggereds.d.ts +2 -1
- package/esm/resources/Billing/Analytics/MeterUsage.d.ts +85 -0
- package/esm/resources/Billing/Analytics/MeterUsage.js +11 -0
- package/esm/resources/Billing/Analytics/MeterUsage.js.map +1 -0
- package/esm/resources/Billing/Analytics/MeterUsageRows.d.ts +32 -0
- package/esm/resources/Billing/Analytics/MeterUsageRows.js +3 -0
- package/esm/resources/Billing/Analytics/MeterUsageRows.js.map +1 -0
- package/esm/resources/Billing/Analytics/index.d.ts +15 -0
- package/esm/resources/Billing/Analytics/index.js +9 -0
- package/esm/resources/Billing/Analytics/index.js.map +1 -0
- package/esm/resources/Billing/index.d.ts +3 -0
- package/esm/resources/Billing/index.js +2 -0
- package/esm/resources/Billing/index.js.map +1 -1
- package/esm/resources/Capabilities.d.ts +2 -2
- package/esm/resources/Capital/FinancingOffers.d.ts +194 -0
- package/esm/resources/Capital/FinancingOffers.js +26 -0
- package/esm/resources/Capital/FinancingOffers.js.map +1 -0
- package/esm/resources/Capital/FinancingSummary.d.ts +102 -0
- package/esm/resources/Capital/FinancingSummary.js +11 -0
- package/esm/resources/Capital/FinancingSummary.js.map +1 -0
- package/esm/resources/Capital/FinancingTransactions.d.ts +141 -0
- package/esm/resources/Capital/FinancingTransactions.js +20 -0
- package/esm/resources/Capital/FinancingTransactions.js.map +1 -0
- package/esm/resources/Capital/index.d.ts +25 -0
- package/esm/resources/Capital/index.js +13 -0
- package/esm/resources/Capital/index.js.map +1 -0
- package/esm/resources/Cards.d.ts +17 -0
- package/esm/resources/Charges.d.ts +3077 -70
- package/esm/resources/Checkout/Sessions.d.ts +351 -4
- package/esm/resources/ConfirmationTokens.d.ts +67 -1
- package/esm/resources/Coupons.d.ts +53 -0
- package/esm/resources/Coupons.js +13 -0
- package/esm/resources/Coupons.js.map +1 -1
- package/esm/resources/CreditNoteLineItems.d.ts +15 -1
- package/esm/resources/CreditNotes.d.ts +1 -1
- package/esm/resources/CustomerSessions.d.ts +68 -0
- package/esm/resources/Customers.d.ts +20 -1
- package/esm/resources/Customers.js +14 -0
- package/esm/resources/Customers.js.map +1 -1
- package/esm/resources/Disputes.d.ts +14 -0
- package/esm/resources/Events.d.ts +614 -3
- package/esm/resources/ExternalAccounts.d.ts +212 -1
- package/esm/resources/ExternalAccounts.js +42 -1
- package/esm/resources/ExternalAccounts.js.map +1 -1
- package/esm/resources/FinancialConnections/AccountInferredBalances.d.ts +24 -0
- package/esm/resources/FinancialConnections/AccountInferredBalances.js +3 -0
- package/esm/resources/FinancialConnections/AccountInferredBalances.js.map +1 -0
- package/esm/resources/FinancialConnections/Accounts.d.ts +69 -4
- package/esm/resources/FinancialConnections/Accounts.js +8 -0
- package/esm/resources/FinancialConnections/Accounts.js.map +1 -1
- package/esm/resources/FinancialConnections/Authorizations.d.ts +46 -1
- package/esm/resources/FinancialConnections/Authorizations.js +9 -1
- package/esm/resources/FinancialConnections/Authorizations.js.map +1 -1
- package/esm/resources/FinancialConnections/Institutions.d.ts +99 -0
- package/esm/resources/FinancialConnections/Institutions.js +19 -0
- package/esm/resources/FinancialConnections/Institutions.js.map +1 -0
- package/esm/resources/FinancialConnections/Sessions.d.ts +124 -9
- package/esm/resources/FinancialConnections/index.d.ts +21 -9
- package/esm/resources/FinancialConnections/index.js +4 -0
- package/esm/resources/FinancialConnections/index.js.map +1 -1
- package/esm/resources/FxQuotes.d.ts +216 -0
- package/esm/resources/FxQuotes.js +25 -0
- package/esm/resources/FxQuotes.js.map +1 -0
- package/esm/resources/InvoiceItems.d.ts +85 -0
- package/esm/resources/InvoiceItems.js.map +1 -1
- package/esm/resources/InvoiceLineItems.d.ts +40 -2
- package/esm/resources/Invoices.d.ts +1257 -10
- package/esm/resources/Invoices.js +41 -0
- package/esm/resources/Invoices.js.map +1 -1
- package/esm/resources/Issuing/Authorizations.d.ts +13 -0
- package/esm/resources/Issuing/Cardholders.d.ts +19 -1
- package/esm/resources/Issuing/Cards.d.ts +13 -0
- package/esm/resources/Issuing/CreditUnderwritingRecords.d.ts +638 -0
- package/esm/resources/Issuing/CreditUnderwritingRecords.js +43 -0
- package/esm/resources/Issuing/CreditUnderwritingRecords.js.map +1 -0
- package/esm/resources/Issuing/DisputeSettlementDetails.d.ts +93 -0
- package/esm/resources/Issuing/DisputeSettlementDetails.js +19 -0
- package/esm/resources/Issuing/DisputeSettlementDetails.js.map +1 -0
- package/esm/resources/Issuing/Disputes.d.ts +13 -0
- package/esm/resources/Issuing/FraudLiabilityDebits.d.ts +68 -0
- package/esm/resources/Issuing/FraudLiabilityDebits.js +19 -0
- package/esm/resources/Issuing/FraudLiabilityDebits.js.map +1 -0
- package/esm/resources/Issuing/Settlements.d.ts +83 -0
- package/esm/resources/Issuing/Settlements.js +3 -0
- package/esm/resources/Issuing/Settlements.js.map +1 -0
- package/esm/resources/Issuing/Transactions.d.ts +22 -0
- package/esm/resources/Issuing/Transactions.js.map +1 -1
- package/esm/resources/Issuing/index.d.ts +47 -22
- package/esm/resources/Issuing/index.js +6 -0
- package/esm/resources/Issuing/index.js.map +1 -1
- package/esm/resources/LineItems.d.ts +29 -2
- package/esm/resources/Mandates.d.ts +36 -2
- package/esm/resources/Mandates.js +8 -0
- package/esm/resources/Mandates.js.map +1 -1
- package/esm/resources/Margins.d.ts +115 -0
- package/esm/resources/Margins.js +31 -0
- package/esm/resources/Margins.js.map +1 -0
- package/esm/resources/Orders.d.ts +4696 -0
- package/esm/resources/Orders.js +453 -0
- package/esm/resources/Orders.js.map +1 -0
- package/esm/resources/PaymentAttemptRecords.d.ts +82 -0
- package/esm/resources/PaymentIntents.d.ts +13832 -2816
- package/esm/resources/PaymentIntents.js +27 -0
- package/esm/resources/PaymentIntents.js.map +1 -1
- package/esm/resources/PaymentLinks.d.ts +3 -3
- package/esm/resources/PaymentMethodConfigurations.d.ts +350 -0
- package/esm/resources/PaymentMethods.d.ts +181 -3
- package/esm/resources/PaymentMethods.js.map +1 -1
- package/esm/resources/PaymentPlans.d.ts +427 -0
- package/esm/resources/PaymentPlans.js +31 -0
- package/esm/resources/PaymentPlans.js.map +1 -0
- package/esm/resources/PaymentRecords.d.ts +82 -0
- package/esm/resources/Persons.d.ts +2 -2
- package/esm/resources/Prices.d.ts +36 -0
- package/esm/resources/Privacy/RedactionJobValidationErrors.d.ts +36 -0
- package/esm/resources/Privacy/RedactionJobValidationErrors.js +3 -0
- package/esm/resources/Privacy/RedactionJobValidationErrors.js.map +1 -0
- package/esm/resources/Privacy/RedactionJobs.d.ts +227 -0
- package/esm/resources/Privacy/RedactionJobs.js +69 -0
- package/esm/resources/Privacy/RedactionJobs.js.map +1 -0
- package/esm/resources/Privacy/index.d.ts +22 -0
- package/esm/resources/Privacy/index.js +9 -0
- package/esm/resources/Privacy/index.js.map +1 -0
- package/esm/resources/ProductCatalog/TrialOffers.d.ts +2 -2
- package/esm/resources/PromotionCodes.d.ts +12 -0
- package/esm/resources/PromotionCodes.js +27 -0
- package/esm/resources/PromotionCodes.js.map +1 -1
- package/esm/resources/QuoteLines.d.ts +507 -0
- package/esm/resources/QuoteLines.js +3 -0
- package/esm/resources/QuoteLines.js.map +1 -0
- package/esm/resources/QuotePreviewInvoices.d.ts +1170 -0
- package/esm/resources/QuotePreviewInvoices.js +3 -0
- package/esm/resources/QuotePreviewInvoices.js.map +1 -0
- package/esm/resources/QuotePreviewSubscriptionSchedules.d.ts +924 -0
- package/esm/resources/QuotePreviewSubscriptionSchedules.js +3 -0
- package/esm/resources/QuotePreviewSubscriptionSchedules.js.map +1 -0
- package/esm/resources/Quotes.d.ts +2266 -57
- package/esm/resources/Quotes.js +1184 -16
- package/esm/resources/Quotes.js.map +1 -1
- package/esm/resources/Radar/BillingEvaluations.d.ts +374 -0
- package/esm/resources/Radar/BillingEvaluations.js +11 -0
- package/esm/resources/Radar/BillingEvaluations.js.map +1 -0
- package/esm/resources/Radar/PaymentEvaluations.d.ts +1 -1
- package/esm/resources/Radar/ValueListItems.d.ts +31 -1
- package/esm/resources/Radar/index.d.ts +21 -16
- package/esm/resources/Radar/index.js +2 -0
- package/esm/resources/Radar/index.js.map +1 -1
- package/esm/resources/Refunds.d.ts +11 -0
- package/esm/resources/Reserve/Holds.d.ts +53 -1
- package/esm/resources/Reserve/Holds.js +17 -1
- package/esm/resources/Reserve/Holds.js.map +1 -1
- package/esm/resources/Reserve/Plans.d.ts +41 -1
- package/esm/resources/Reserve/Plans.js +17 -1
- package/esm/resources/Reserve/Plans.js.map +1 -1
- package/esm/resources/Reserve/Releases.d.ts +41 -1
- package/esm/resources/Reserve/Releases.js +17 -1
- package/esm/resources/Reserve/Releases.js.map +1 -1
- package/esm/resources/Reserve/index.d.ts +18 -6
- package/esm/resources/Reserve/index.js +9 -0
- package/esm/resources/Reserve/index.js.map +1 -1
- package/esm/resources/SetupAttempts.d.ts +26 -1
- package/esm/resources/SetupIntents.d.ts +394 -11
- package/esm/resources/SharedPayment/GrantedTokens.d.ts +418 -0
- package/esm/resources/SharedPayment/GrantedTokens.js +11 -0
- package/esm/resources/SharedPayment/GrantedTokens.js.map +1 -0
- package/esm/resources/SharedPayment/IssuedTokens.d.ts +330 -0
- package/esm/resources/SharedPayment/IssuedTokens.js +23 -0
- package/esm/resources/SharedPayment/IssuedTokens.js.map +1 -0
- package/esm/resources/SharedPayment/index.d.ts +19 -0
- package/esm/resources/SharedPayment/index.js +11 -0
- package/esm/resources/SharedPayment/index.js.map +1 -0
- package/esm/resources/Sources.d.ts +29 -1
- package/esm/resources/SubscriptionItems.d.ts +114 -0
- package/esm/resources/SubscriptionSchedules.d.ts +1157 -5
- package/esm/resources/SubscriptionSchedules.js +6 -0
- package/esm/resources/SubscriptionSchedules.js.map +1 -1
- package/esm/resources/Subscriptions.d.ts +388 -6
- package/esm/resources/Subscriptions.js +42 -0
- package/esm/resources/Subscriptions.js.map +1 -1
- package/esm/resources/Tax/Forms.d.ts +228 -0
- package/esm/resources/Tax/Forms.js +28 -0
- package/esm/resources/Tax/Forms.js.map +1 -0
- package/esm/resources/Tax/Registrations.d.ts +25 -2
- package/esm/resources/Tax/index.d.ts +24 -17
- package/esm/resources/Tax/index.js +2 -0
- package/esm/resources/Tax/index.js.map +1 -1
- package/esm/resources/Terminal/ReaderCollectedData.d.ts +50 -0
- package/esm/resources/Terminal/ReaderCollectedData.js +11 -0
- package/esm/resources/Terminal/ReaderCollectedData.js.map +1 -0
- package/esm/resources/Terminal/Readers.d.ts +17 -1
- package/esm/resources/Terminal/index.d.ts +5 -0
- package/esm/resources/Terminal/index.js +2 -0
- package/esm/resources/Terminal/index.js.map +1 -1
- package/esm/resources/TestHelpers/ConfirmationTokens.d.ts +95 -1
- package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +68 -0
- package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js +17 -0
- package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js.map +1 -0
- package/esm/resources/TestHelpers/SharedPayment/index.d.ts +8 -0
- package/esm/resources/TestHelpers/SharedPayment/index.js +9 -0
- package/esm/resources/TestHelpers/SharedPayment/index.js.map +1 -0
- package/esm/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +22 -0
- package/esm/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +22 -0
- package/esm/resources/TestHelpers/index.d.ts +3 -0
- package/esm/resources/TestHelpers/index.js +2 -0
- package/esm/resources/TestHelpers/index.js.map +1 -1
- package/esm/resources/Tokens.d.ts +15 -0
- package/esm/resources/Transfers.d.ts +8 -0
- package/esm/resources/Treasury/FinancialAccountFeatures.d.ts +5 -0
- package/esm/resources/Treasury/FinancialAccounts.d.ts +34 -1
- package/esm/resources/Treasury/OutboundPayments.d.ts +26 -0
- package/esm/resources/Treasury/OutboundTransfers.d.ts +44 -0
- package/esm/resources/Treasury/ReceivedCredits.d.ts +22 -0
- package/esm/resources/Treasury/ReceivedDebits.d.ts +26 -0
- package/esm/resources/V2/Billing/BillSettingVersions.d.ts +72 -0
- package/esm/resources/V2/Billing/BillSettingVersions.js +3 -0
- package/esm/resources/V2/Billing/BillSettingVersions.js.map +1 -0
- package/esm/resources/V2/Billing/BillSettings/Versions.d.ts +33 -0
- package/esm/resources/V2/Billing/BillSettings/Versions.js +19 -0
- package/esm/resources/V2/Billing/BillSettings/Versions.js.map +1 -0
- package/esm/resources/V2/Billing/BillSettings.d.ts +281 -0
- package/esm/resources/V2/Billing/BillSettings.js +37 -0
- package/esm/resources/V2/Billing/BillSettings.js.map +1 -0
- package/esm/resources/V2/Billing/Cadences.d.ts +958 -0
- package/esm/resources/V2/Billing/Cadences.js +194 -0
- package/esm/resources/V2/Billing/Cadences.js.map +1 -0
- package/esm/resources/V2/Billing/CollectionSettingVersions.d.ts +238 -0
- package/esm/resources/V2/Billing/CollectionSettingVersions.js +3 -0
- package/esm/resources/V2/Billing/CollectionSettingVersions.js.map +1 -0
- package/esm/resources/V2/Billing/CollectionSettings/Versions.d.ts +33 -0
- package/esm/resources/V2/Billing/CollectionSettings/Versions.js +66 -0
- package/esm/resources/V2/Billing/CollectionSettings/Versions.js.map +1 -0
- package/esm/resources/V2/Billing/CollectionSettings.d.ts +779 -0
- package/esm/resources/V2/Billing/CollectionSettings.js +162 -0
- package/esm/resources/V2/Billing/CollectionSettings.js.map +1 -0
- package/esm/resources/V2/Billing/Profiles.d.ts +162 -0
- package/esm/resources/V2/Billing/Profiles.js +31 -0
- package/esm/resources/V2/Billing/Profiles.js.map +1 -0
- package/esm/resources/V2/Billing/index.d.ts +45 -6
- package/esm/resources/V2/Billing/index.js +8 -0
- package/esm/resources/V2/Billing/index.js.map +1 -1
- package/esm/resources/V2/Core/AccountTokens.d.ts +28 -1
- package/esm/resources/V2/Core/Accounts.d.ts +1465 -71
- package/esm/resources/V2/Core/ApprovalRequests.d.ts +378 -0
- package/esm/resources/V2/Core/ApprovalRequests.js +35 -0
- package/esm/resources/V2/Core/ApprovalRequests.js.map +1 -0
- package/esm/resources/V2/Core/BatchJobs.d.ts +392 -0
- package/esm/resources/V2/Core/BatchJobs.js +248 -0
- package/esm/resources/V2/Core/BatchJobs.js.map +1 -0
- package/esm/resources/V2/Core/Events.d.ts +1009 -5
- package/esm/resources/V2/Core/Vault/GbBankAccounts.d.ts +117 -0
- package/esm/resources/V2/Core/Vault/GbBankAccounts.js.map +1 -1
- package/esm/resources/V2/Core/Vault/UsBankAccounts.d.ts +27 -0
- package/esm/resources/V2/Core/Vault/UsBankAccounts.js.map +1 -1
- package/esm/resources/V2/Core/index.d.ts +24 -9
- package/esm/resources/V2/Core/index.js +4 -0
- package/esm/resources/V2/Core/index.js.map +1 -1
- package/esm/resources/V2/Data/QueryRuns.d.ts +299 -0
- package/esm/resources/V2/Data/QueryRuns.js +47 -0
- package/esm/resources/V2/Data/QueryRuns.js.map +1 -0
- package/esm/resources/V2/Data/ReportRuns.d.ts +303 -0
- package/esm/resources/V2/Data/ReportRuns.js +49 -0
- package/esm/resources/V2/Data/ReportRuns.js.map +1 -0
- package/esm/resources/V2/Data/Reporting/QueryRuns.d.ts +152 -0
- package/esm/resources/V2/Data/Reporting/QueryRuns.js +42 -0
- package/esm/resources/V2/Data/Reporting/QueryRuns.js.map +1 -0
- package/esm/resources/V2/Data/Reporting/index.d.ts +13 -0
- package/esm/resources/V2/Data/Reporting/index.js +9 -0
- package/esm/resources/V2/Data/Reporting/index.js.map +1 -0
- package/esm/resources/V2/Data/Reports.d.ts +140 -0
- package/esm/resources/V2/Data/Reports.js +21 -0
- package/esm/resources/V2/Data/Reports.js.map +1 -0
- package/esm/resources/V2/Data/Schemas.d.ts +161 -0
- package/esm/resources/V2/Data/Schemas.js +19 -0
- package/esm/resources/V2/Data/Schemas.js.map +1 -0
- package/esm/resources/V2/Data/index.d.ts +34 -0
- package/esm/resources/V2/Data/index.js +17 -0
- package/esm/resources/V2/Data/index.js.map +1 -0
- package/esm/resources/V2/EventMisc.d.ts +0 -0
- package/esm/resources/V2/EventMisc.js +2 -0
- package/esm/resources/V2/EventMisc.js.map +1 -0
- package/esm/resources/V2/Extend/WorkflowRuns.d.ts +163 -0
- package/esm/resources/V2/Extend/WorkflowRuns.js +19 -0
- package/esm/resources/V2/Extend/WorkflowRuns.js.map +1 -0
- package/esm/resources/V2/Extend/Workflows.d.ts +120 -0
- package/esm/resources/V2/Extend/Workflows.js +26 -0
- package/esm/resources/V2/Extend/Workflows.js.map +1 -0
- package/esm/resources/V2/Extend/index.d.ts +20 -0
- package/esm/resources/V2/Extend/index.js +11 -0
- package/esm/resources/V2/Extend/index.js.map +1 -0
- package/esm/resources/V2/Iam/ActivityLogs.d.ts +377 -0
- package/esm/resources/V2/Iam/ActivityLogs.js +19 -0
- package/esm/resources/V2/Iam/ActivityLogs.js.map +1 -0
- package/esm/resources/V2/Iam/index.d.ts +13 -0
- package/esm/resources/V2/Iam/index.js +9 -0
- package/esm/resources/V2/Iam/index.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/Adjustments.d.ts +6 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.d.ts +102 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +15 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.js.map +1 -1
- package/esm/resources/V2/MoneyManagement/FinancialAddressGeneratedMicrodeposits.d.ts +19 -0
- package/esm/resources/V2/MoneyManagement/FinancialAddressGeneratedMicrodeposits.js +3 -0
- package/esm/resources/V2/MoneyManagement/FinancialAddressGeneratedMicrodeposits.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/InboundTransfers.d.ts +4 -0
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +356 -0
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +19 -0
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/OutboundPayments.d.ts +79 -1
- package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +96 -2
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.d.ts +418 -0
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.js +36 -0
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/PayoutIntents.d.ts +2 -2
- package/esm/resources/V2/MoneyManagement/PayoutMethods.d.ts +66 -1
- package/esm/resources/V2/MoneyManagement/PayoutMethods.js +9 -0
- package/esm/resources/V2/MoneyManagement/PayoutMethods.js.map +1 -1
- package/esm/resources/V2/MoneyManagement/ReceivedCredits.d.ts +6 -2
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.d.ts +163 -0
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.js +19 -0
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/RecipientVerifications.d.ts +5 -1
- package/esm/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.d.ts +15 -1
- package/esm/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.js +7 -0
- package/esm/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.js.map +1 -1
- package/esm/resources/V2/MoneyManagement/index.d.ts +63 -37
- package/esm/resources/V2/MoneyManagement/index.js +6 -0
- package/esm/resources/V2/MoneyManagement/index.js.map +1 -1
- package/esm/resources/V2/Network/BusinessProfiles.d.ts +92 -0
- package/esm/resources/V2/Network/BusinessProfiles.js +17 -0
- package/esm/resources/V2/Network/BusinessProfiles.js.map +1 -0
- package/esm/resources/V2/Network/index.d.ts +13 -0
- package/esm/resources/V2/Network/index.js +9 -0
- package/esm/resources/V2/Network/index.js.map +1 -0
- package/esm/resources/V2/OrchestratedCommerce/Agreements.d.ts +143 -0
- package/esm/resources/V2/OrchestratedCommerce/Agreements.js +37 -0
- package/esm/resources/V2/OrchestratedCommerce/Agreements.js.map +1 -0
- package/esm/resources/V2/OrchestratedCommerce/index.d.ts +16 -0
- package/esm/resources/V2/OrchestratedCommerce/index.js +9 -0
- package/esm/resources/V2/OrchestratedCommerce/index.js.map +1 -0
- package/esm/resources/V2/Signals/AccountActivities.d.ts +432 -0
- package/esm/resources/V2/Signals/AccountActivities.js +23 -0
- package/esm/resources/V2/Signals/AccountActivities.js.map +1 -0
- package/esm/resources/V2/Signals/AccountEvaluations.d.ts +405 -0
- package/esm/resources/V2/Signals/AccountEvaluations.js +55 -0
- package/esm/resources/V2/Signals/AccountEvaluations.js.map +1 -0
- package/esm/resources/V2/Signals/AccountSignals.d.ts +196 -0
- package/esm/resources/V2/Signals/AccountSignals.js +62 -0
- package/esm/resources/V2/Signals/AccountSignals.js.map +1 -0
- package/esm/resources/V2/Signals/index.d.ts +26 -0
- package/esm/resources/V2/Signals/index.js +13 -0
- package/esm/resources/V2/Signals/index.js.map +1 -0
- package/esm/resources/V2/index.d.ts +18 -0
- package/esm/resources/V2/index.js +12 -0
- package/esm/resources/V2/index.js.map +1 -1
- package/esm/resources/WebhookEndpoints.d.ts +2 -2
- package/esm/resources.d.ts +10 -0
- package/esm/resources.js +112 -0
- package/esm/resources.js.map +1 -1
- package/esm/stripe.core.d.ts +60 -26
- package/esm/stripe.core.js +21 -2
- package/esm/stripe.core.js.map +1 -1
- package/esm/stripe.esm.node.d.ts +60 -26
- package/esm/stripe.esm.node.js +21 -2
- package/esm/stripe.esm.node.js.map +1 -1
- package/package.json +1 -1
|
@@ -173,6 +173,10 @@ export interface SetupIntent {
|
|
|
173
173
|
* The list of payment method types (e.g. card) that this SetupIntent is allowed to set up. A list of valid payment method types can be found [here](https://docs.stripe.com/api/payment_methods/object#payment_method_object-type).
|
|
174
174
|
*/
|
|
175
175
|
payment_method_types: Array<string>;
|
|
176
|
+
/**
|
|
177
|
+
* Redaction status of this SetupIntent. If the SetupIntent isn't redacted, this field is null.
|
|
178
|
+
*/
|
|
179
|
+
redaction?: SetupIntent.Redaction | null;
|
|
176
180
|
/**
|
|
177
181
|
* ID of the single_use Mandate generated by the SetupIntent.
|
|
178
182
|
*/
|
|
@@ -203,7 +207,7 @@ export declare namespace SetupIntent {
|
|
|
203
207
|
enabled: boolean | null;
|
|
204
208
|
}
|
|
205
209
|
type CancellationReason = 'abandoned' | 'duplicate' | 'requested_by_customer' | OtherString;
|
|
206
|
-
type ExcludedPaymentMethodType = 'acss_debit' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boleto' | 'card' | 'cashapp' | 'crypto' | 'customer_balance' | 'eps' | 'fpx' | 'giropay' | 'grabpay' | 'ideal' | 'kakao_pay' | 'klarna' | 'konbini' | 'kr_card' | 'mb_way' | 'mobilepay' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'oxxo' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'paypay' | 'payto' | 'pix' | 'promptpay' | 'revolut_pay' | 'samsung_pay' | 'satispay' | 'scalapay' | 'sepa_debit' | 'sequra' | 'sofort' | 'sunbit' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay' | 'zip' | OtherString;
|
|
210
|
+
type ExcludedPaymentMethodType = 'acss_debit' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boleto' | 'card' | 'cashapp' | 'crypto' | 'customer_balance' | 'eps' | 'fpx' | 'giropay' | 'gopay' | 'grabpay' | 'id_bank_transfer' | 'ideal' | 'kakao_pay' | 'klarna' | 'konbini' | 'kr_card' | 'mb_way' | 'mobilepay' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'oxxo' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'paypay' | 'payto' | 'pix' | 'promptpay' | 'qris' | 'rechnung' | 'revolut_pay' | 'samsung_pay' | 'satispay' | 'scalapay' | 'sepa_debit' | 'sequra' | 'shopeepay' | 'sofort' | 'stripe_balance' | 'sunbit' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay' | 'wero' | 'zip' | OtherString;
|
|
207
211
|
type FlowDirection = 'inbound' | 'outbound' | OtherString;
|
|
208
212
|
interface LastSetupError {
|
|
209
213
|
/**
|
|
@@ -351,12 +355,18 @@ export declare namespace SetupIntent {
|
|
|
351
355
|
upi?: PaymentMethodOptions.Upi;
|
|
352
356
|
us_bank_account?: PaymentMethodOptions.UsBankAccount;
|
|
353
357
|
}
|
|
358
|
+
interface Redaction {
|
|
359
|
+
/**
|
|
360
|
+
* Indicates whether this object and its related objects have been redacted or not.
|
|
361
|
+
*/
|
|
362
|
+
status: Redaction.Status;
|
|
363
|
+
}
|
|
354
364
|
type Status = 'canceled' | 'processing' | 'requires_action' | 'requires_confirmation' | 'requires_payment_method' | 'succeeded' | OtherString;
|
|
355
365
|
namespace AutomaticPaymentMethods {
|
|
356
366
|
type AllowRedirects = 'always' | 'never' | OtherString;
|
|
357
367
|
}
|
|
358
368
|
namespace LastSetupError {
|
|
359
|
-
type Code = 'account_closed' | 'account_country_invalid_address' | 'account_error_country_change_requires_additional_steps' | 'account_information_mismatch' | 'account_invalid' | 'account_number_invalid' | 'account_token_required_for_v2_account' | 'acss_debit_session_incomplete' | 'action_blocked' | 'alipay_upgrade_required' | 'amount_too_large' | 'amount_too_small' | 'anomalous_money_movement_request' | 'api_key_expired' | 'application_fees_not_allowed' | 'approval_required' | 'authentication_failure' | 'authentication_required' | 'balance_insufficient' | 'balance_invalid_parameter' | 'bank_account_bad_routing_numbers' | 'bank_account_declined' | 'bank_account_exists' | 'bank_account_restricted' | 'bank_account_unusable' | 'bank_account_unverified' | 'bank_account_verification_failed' | 'billing_invalid_mandate' | 'bitcoin_upgrade_required' | 'capability_not_active' | 'capture_charge_authorization_expired' | 'capture_unauthorized_payment' | 'card_decline_rate_limit_exceeded' | 'card_declined' | 'cardholder_phone_number_required' | 'charge_already_captured' | 'charge_already_refunded' | 'charge_disputed' | 'charge_exceeds_source_limit' | 'charge_exceeds_transaction_limit' | 'charge_expired_for_capture' | 'charge_invalid_parameter' | 'charge_not_refundable' | 'clearing_code_unsupported' | 'country_code_invalid' | 'country_unsupported' | 'coupon_expired' | 'customer_max_payment_methods' | 'customer_max_subscriptions' | 'customer_session_expired' | 'customer_tax_location_invalid' | 'debit_not_authorized' | 'dispute_evidence_page_limit_exceeded' | 'email_invalid' | 'expired_card' | 'expired_payment_method' | 'failed_tax_calculation' | 'financial_account_balance_does_not_support_currency' | 'financial_account_capability_not_enabled' | 'financial_account_capability_restricted' | 'financial_connections_account_inactive' | 'financial_connections_account_pending_account_numbers' | 'financial_connections_account_unavailable_account_numbers' | 'financial_connections_consent_locale_invalid' | 'financial_connections_consent_locale_unsupported' | 'financial_connections_no_successful_transaction_refresh' | 'forwarding_api_inactive' | 'forwarding_api_invalid_parameter' | 'forwarding_api_retryable_upstream_error' | 'forwarding_api_upstream_connection_error' | 'forwarding_api_upstream_connection_timeout' | 'forwarding_api_upstream_error' | 'idempotency_key_in_use' | 'incorrect_address' | 'incorrect_cvc' | 'incorrect_number' | 'incorrect_postal_code' | 'incorrect_zip' | 'india_recurring_payment_mandate_canceled' | 'instant_payouts_config_disabled' | 'instant_payouts_currency_disabled' | 'instant_payouts_limit_exceeded' | 'instant_payouts_unsupported' | 'insufficient_funds' | 'intent_invalid_state' | 'intent_verification_method_missing' | 'invalid_canceled_subscription_fields' | 'invalid_card_type' | 'invalid_characters' | 'invalid_charge_amount' | 'invalid_cvc' | 'invalid_expiry_month' | 'invalid_expiry_year' | 'invalid_mandate_reference_prefix_format' | 'invalid_number' | 'invalid_source_usage' | 'invalid_tax_location' | 'invoice_no_customer_line_items' | 'invoice_no_payment_method_types' | 'invoice_no_subscription_line_items' | 'invoice_not_editable' | 'invoice_on_behalf_of_not_editable' | 'invoice_payment_intent_requires_action' | 'invoice_upcoming_none' | 'livemode_mismatch' | 'lock_timeout' | 'missing' | 'no_account' | 'not_allowed_on_standard_account' | 'out_of_inventory' | 'ownership_declaration_not_allowed' | 'parameter_invalid_empty' | 'parameter_invalid_integer' | 'parameter_invalid_string_blank' | 'parameter_invalid_string_empty' | 'parameter_missing' | 'parameter_unknown' | 'parameters_exclusive' | 'payment_evaluation_on_api_version_not_supported' | 'payment_intent_action_required' | 'payment_intent_authentication_failure' | 'payment_intent_incompatible_payment_method' | 'payment_intent_invalid_parameter' | 'payment_intent_konbini_rejected_confirmation_number' | 'payment_intent_mandate_invalid' | 'payment_intent_payment_attempt_expired' | 'payment_intent_payment_attempt_failed' | 'payment_intent_rate_limit_exceeded' | 'payment_intent_unexpected_state' | 'payment_method_bank_account_already_verified' | 'payment_method_bank_account_blocked' | 'payment_method_billing_details_address_missing' | 'payment_method_configuration_failures' | 'payment_method_currency_mismatch' | 'payment_method_customer_decline' | 'payment_method_invalid_parameter' | 'payment_method_invalid_parameter_testmode' | 'payment_method_microdeposit_failed' | 'payment_method_microdeposit_processing_error' | 'payment_method_microdeposit_verification_amounts_invalid' | 'payment_method_microdeposit_verification_amounts_mismatch' | 'payment_method_microdeposit_verification_attempts_exceeded' | 'payment_method_microdeposit_verification_descriptor_code_mismatch' | 'payment_method_microdeposit_verification_timeout' | 'payment_method_not_available' | 'payment_method_provider_decline' | 'payment_method_provider_timeout' | 'payment_method_restricted' | 'payment_method_unactivated' | 'payment_method_unexpected_state' | 'payment_method_unsupported_type' | 'payout_reconciliation_not_ready' | 'payouts_limit_exceeded' | 'payouts_not_allowed' | 'platform_account_required' | 'platform_api_key_expired' | 'postal_code_invalid' | 'processing_error' | 'product_inactive' | 'progressive_onboarding_limit_exceeded' | 'rate_limit' | 'refer_to_customer' | 'refund_disputed_payment' | 'request_blocked' | 'resource_already_exists' | 'resource_missing' | 'return_intent_already_processed' | 'routing_number_invalid' | 'secret_key_required' | 'sepa_unsupported_account' | 'service_period_coupon_with_metered_tiered_item_unsupported' | 'setup_attempt_failed' | 'setup_intent_authentication_failure' | 'setup_intent_invalid_parameter' | 'setup_intent_mandate_invalid' | 'setup_intent_mobile_wallet_unsupported' | 'setup_intent_setup_attempt_expired' | 'setup_intent_unexpected_state' | 'shipping_address_invalid' | 'shipping_calculation_failed' | 'siret_invalid' | 'sku_inactive' | 'smart_disputes_not_available' | 'state_unsupported' | 'status_transition_invalid' | 'storer_capability_missing' | 'storer_capability_not_active' | 'stripe_tax_inactive' | 'subscription_update_trial_after_billing_cycle_anchor' | 'tax_id_invalid' | 'tax_id_prohibited' | 'taxes_calculation_failed' | 'terminal_location_country_unsupported' | 'terminal_reader_busy' | 'terminal_reader_hardware_fault' | 'terminal_reader_invalid_location_for_activation' | 'terminal_reader_invalid_location_for_payment' | 'terminal_reader_offline' | 'terminal_reader_timeout' | 'testmode_charges_only' | 'three_d_secure_authentication_not_supported' | 'three_d_secure_authentication_upstream_error' | 'tls_version_unsupported' | 'token_already_used' | 'token_card_network_invalid' | 'token_in_use' | 'transfer_source_balance_parameters_mismatch' | 'transfers_not_allowed' | 'url_invalid' | OtherString;
|
|
369
|
+
type Code = 'account_closed' | 'account_country_invalid_address' | 'account_error_country_change_requires_additional_steps' | 'account_information_mismatch' | 'account_invalid' | 'account_number_invalid' | 'account_token_required_for_v2_account' | 'acss_debit_session_incomplete' | 'action_blocked' | 'alipay_upgrade_required' | 'amount_too_large' | 'amount_too_small' | 'anomalous_money_movement_request' | 'api_key_expired' | 'application_fees_not_allowed' | 'approval_required' | 'authentication_failure' | 'authentication_required' | 'balance_insufficient' | 'balance_invalid_parameter' | 'bank_account_bad_routing_numbers' | 'bank_account_declined' | 'bank_account_exists' | 'bank_account_restricted' | 'bank_account_unusable' | 'bank_account_unverified' | 'bank_account_verification_failed' | 'billing_invalid_mandate' | 'bitcoin_upgrade_required' | 'capability_not_active' | 'capture_charge_authorization_expired' | 'capture_unauthorized_payment' | 'card_decline_rate_limit_exceeded' | 'card_declined' | 'cardholder_phone_number_required' | 'charge_already_captured' | 'charge_already_refunded' | 'charge_disputed' | 'charge_exceeds_source_limit' | 'charge_exceeds_transaction_limit' | 'charge_expired_for_capture' | 'charge_invalid_parameter' | 'charge_not_refundable' | 'clearing_code_unsupported' | 'country_code_invalid' | 'country_unsupported' | 'coupon_expired' | 'customer_max_payment_methods' | 'customer_max_subscriptions' | 'customer_session_expired' | 'customer_tax_location_invalid' | 'debit_not_authorized' | 'dispute_evidence_page_limit_exceeded' | 'email_invalid' | 'expired_card' | 'expired_payment_method' | 'failed_tax_calculation' | 'financial_account_balance_does_not_support_currency' | 'financial_account_capability_not_enabled' | 'financial_account_capability_restricted' | 'financial_connections_account_inactive' | 'financial_connections_account_pending_account_numbers' | 'financial_connections_account_unavailable_account_numbers' | 'financial_connections_consent_locale_invalid' | 'financial_connections_consent_locale_unsupported' | 'financial_connections_institution_unavailable' | 'financial_connections_no_successful_transaction_refresh' | 'forwarding_api_inactive' | 'forwarding_api_invalid_parameter' | 'forwarding_api_retryable_upstream_error' | 'forwarding_api_upstream_connection_error' | 'forwarding_api_upstream_connection_timeout' | 'forwarding_api_upstream_error' | 'idempotency_key_in_use' | 'incorrect_address' | 'incorrect_cvc' | 'incorrect_number' | 'incorrect_postal_code' | 'incorrect_zip' | 'india_recurring_payment_mandate_canceled' | 'instant_payouts_config_disabled' | 'instant_payouts_currency_disabled' | 'instant_payouts_limit_exceeded' | 'instant_payouts_unsupported' | 'insufficient_funds' | 'intent_invalid_state' | 'intent_verification_method_missing' | 'invalid_canceled_subscription_fields' | 'invalid_card_type' | 'invalid_characters' | 'invalid_charge_amount' | 'invalid_cvc' | 'invalid_expiry_month' | 'invalid_expiry_year' | 'invalid_mandate_reference_prefix_format' | 'invalid_number' | 'invalid_source_usage' | 'invalid_tax_location' | 'invoice_no_customer_line_items' | 'invoice_no_payment_method_types' | 'invoice_no_subscription_line_items' | 'invoice_not_editable' | 'invoice_on_behalf_of_not_editable' | 'invoice_payment_intent_requires_action' | 'invoice_upcoming_none' | 'livemode_mismatch' | 'lock_timeout' | 'missing' | 'no_account' | 'not_allowed_on_standard_account' | 'out_of_inventory' | 'ownership_declaration_not_allowed' | 'parameter_invalid_empty' | 'parameter_invalid_integer' | 'parameter_invalid_string_blank' | 'parameter_invalid_string_empty' | 'parameter_missing' | 'parameter_unknown' | 'parameters_exclusive' | 'payment_evaluation_on_api_version_not_supported' | 'payment_intent_action_required' | 'payment_intent_authentication_failure' | 'payment_intent_incompatible_payment_method' | 'payment_intent_invalid_parameter' | 'payment_intent_konbini_rejected_confirmation_number' | 'payment_intent_mandate_invalid' | 'payment_intent_payment_attempt_expired' | 'payment_intent_payment_attempt_failed' | 'payment_intent_rate_limit_exceeded' | 'payment_intent_unexpected_state' | 'payment_method_bank_account_already_verified' | 'payment_method_bank_account_blocked' | 'payment_method_billing_details_address_missing' | 'payment_method_configuration_failures' | 'payment_method_currency_mismatch' | 'payment_method_customer_decline' | 'payment_method_invalid_parameter' | 'payment_method_invalid_parameter_testmode' | 'payment_method_microdeposit_failed' | 'payment_method_microdeposit_processing_error' | 'payment_method_microdeposit_verification_amounts_invalid' | 'payment_method_microdeposit_verification_amounts_mismatch' | 'payment_method_microdeposit_verification_attempts_exceeded' | 'payment_method_microdeposit_verification_descriptor_code_mismatch' | 'payment_method_microdeposit_verification_timeout' | 'payment_method_not_available' | 'payment_method_provider_decline' | 'payment_method_provider_timeout' | 'payment_method_restricted' | 'payment_method_unactivated' | 'payment_method_unexpected_state' | 'payment_method_unsupported_type' | 'payout_reconciliation_not_ready' | 'payouts_limit_exceeded' | 'payouts_not_allowed' | 'platform_account_required' | 'platform_api_key_expired' | 'postal_code_invalid' | 'processing_error' | 'product_inactive' | 'progressive_onboarding_limit_exceeded' | 'rate_limit' | 'refer_to_customer' | 'refund_disputed_payment' | 'request_blocked' | 'resource_already_exists' | 'resource_missing' | 'return_intent_already_processed' | 'routing_number_invalid' | 'secret_key_required' | 'sensitive_data_access_expired' | 'sepa_unsupported_account' | 'service_period_coupon_with_metered_tiered_item_unsupported' | 'setup_attempt_failed' | 'setup_intent_authentication_failure' | 'setup_intent_invalid_parameter' | 'setup_intent_mandate_invalid' | 'setup_intent_mobile_wallet_unsupported' | 'setup_intent_setup_attempt_expired' | 'setup_intent_unexpected_state' | 'shipping_address_invalid' | 'shipping_calculation_failed' | 'siret_invalid' | 'sku_inactive' | 'smart_disputes_not_available' | 'state_unsupported' | 'status_transition_invalid' | 'storer_capability_missing' | 'storer_capability_not_active' | 'stripe_tax_inactive' | 'subscription_update_trial_after_billing_cycle_anchor' | 'tax_id_invalid' | 'tax_id_prohibited' | 'taxes_calculation_failed' | 'terminal_location_country_unsupported' | 'terminal_reader_busy' | 'terminal_reader_collected_data_invalid' | 'terminal_reader_hardware_fault' | 'terminal_reader_invalid_location_for_activation' | 'terminal_reader_invalid_location_for_payment' | 'terminal_reader_offline' | 'terminal_reader_timeout' | 'testmode_charges_only' | 'three_d_secure_authentication_not_supported' | 'three_d_secure_authentication_upstream_error' | 'tls_version_unsupported' | 'token_already_used' | 'token_card_network_invalid' | 'token_in_use' | 'transfer_source_balance_parameters_mismatch' | 'transfers_not_allowed' | 'url_invalid' | 'v2_account_disconnection_unsupported' | 'v2_account_missing_configuration' | OtherString;
|
|
360
370
|
type Type = 'api_error' | 'card_error' | 'idempotency_error' | 'invalid_request_error' | OtherString;
|
|
361
371
|
}
|
|
362
372
|
namespace NextAction {
|
|
@@ -529,6 +539,14 @@ export declare namespace SetupIntent {
|
|
|
529
539
|
* The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
|
|
530
540
|
*/
|
|
531
541
|
billing_agreement_id: string | null;
|
|
542
|
+
/**
|
|
543
|
+
* Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
|
|
544
|
+
*/
|
|
545
|
+
currency?: string | null;
|
|
546
|
+
/**
|
|
547
|
+
* The Stripe connected account IDs of the sellers on the platform for this transaction (optional). Only allowed when [separate charges and transfers](https://stripe.com/docs/connect/separate-charges-and-transfers) are used.
|
|
548
|
+
*/
|
|
549
|
+
subsellers?: Array<string>;
|
|
532
550
|
}
|
|
533
551
|
interface Payto {
|
|
534
552
|
mandate_options?: Payto.MandateOptions;
|
|
@@ -764,6 +782,7 @@ export declare namespace SetupIntent {
|
|
|
764
782
|
namespace UsBankAccount {
|
|
765
783
|
interface FinancialConnections {
|
|
766
784
|
filters?: FinancialConnections.Filters;
|
|
785
|
+
manual_entry?: FinancialConnections.ManualEntry;
|
|
767
786
|
/**
|
|
768
787
|
* The list of permissions to request. The `payment_method` permission must be included.
|
|
769
788
|
*/
|
|
@@ -790,15 +809,31 @@ export declare namespace SetupIntent {
|
|
|
790
809
|
* The account subcategories to use to filter for possible accounts to link. Valid subcategories are `checking` and `savings`.
|
|
791
810
|
*/
|
|
792
811
|
account_subcategories?: Array<Filters.AccountSubcategory>;
|
|
812
|
+
/**
|
|
813
|
+
* The institution to use to filter for possible accounts to link.
|
|
814
|
+
*/
|
|
815
|
+
institution?: string;
|
|
816
|
+
}
|
|
817
|
+
interface ManualEntry {
|
|
818
|
+
/**
|
|
819
|
+
* Settings for configuring manual entry of account details.
|
|
820
|
+
*/
|
|
821
|
+
mode?: ManualEntry.Mode;
|
|
793
822
|
}
|
|
794
823
|
type Permission = 'balances' | 'ownership' | 'payment_method' | 'transactions' | OtherString;
|
|
795
|
-
type Prefetch = 'balances' | 'ownership' | 'transactions' | OtherString;
|
|
824
|
+
type Prefetch = 'balances' | 'inferred_balances' | 'ownership' | 'transactions' | OtherString;
|
|
796
825
|
namespace Filters {
|
|
797
826
|
type AccountSubcategory = 'checking' | 'savings' | OtherString;
|
|
798
827
|
}
|
|
828
|
+
namespace ManualEntry {
|
|
829
|
+
type Mode = 'automatic' | 'custom' | OtherString;
|
|
830
|
+
}
|
|
799
831
|
}
|
|
800
832
|
}
|
|
801
833
|
}
|
|
834
|
+
namespace Redaction {
|
|
835
|
+
type Status = 'processing' | 'redacted' | 'validated' | OtherString;
|
|
836
|
+
}
|
|
802
837
|
}
|
|
803
838
|
export interface SetupIntentCreateParams {
|
|
804
839
|
/**
|
|
@@ -917,7 +952,7 @@ export declare namespace SetupIntentCreateParams {
|
|
|
917
952
|
*/
|
|
918
953
|
enabled: boolean;
|
|
919
954
|
}
|
|
920
|
-
type ExcludedPaymentMethodType = 'acss_debit' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boleto' | 'card' | 'cashapp' | 'crypto' | 'customer_balance' | 'eps' | 'fpx' | 'giropay' | 'grabpay' | 'ideal' | 'kakao_pay' | 'klarna' | 'konbini' | 'kr_card' | 'mb_way' | 'mobilepay' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'oxxo' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'paypay' | 'payto' | 'pix' | 'promptpay' | 'revolut_pay' | 'samsung_pay' | 'satispay' | 'scalapay' | 'sepa_debit' | 'sequra' | 'sofort' | 'sunbit' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay' | 'zip' | OtherString;
|
|
955
|
+
type ExcludedPaymentMethodType = 'acss_debit' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boleto' | 'card' | 'cashapp' | 'crypto' | 'customer_balance' | 'eps' | 'fpx' | 'giropay' | 'gopay' | 'grabpay' | 'id_bank_transfer' | 'ideal' | 'kakao_pay' | 'klarna' | 'konbini' | 'kr_card' | 'mb_way' | 'mobilepay' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'oxxo' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'paypay' | 'payto' | 'pix' | 'promptpay' | 'qris' | 'rechnung' | 'revolut_pay' | 'samsung_pay' | 'satispay' | 'scalapay' | 'sepa_debit' | 'sequra' | 'shopeepay' | 'sofort' | 'stripe_balance' | 'sunbit' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay' | 'wero' | 'zip' | OtherString;
|
|
921
956
|
type FlowDirection = 'inbound' | 'outbound' | OtherString;
|
|
922
957
|
interface MandateData {
|
|
923
958
|
/**
|
|
@@ -1010,10 +1045,18 @@ export declare namespace SetupIntentCreateParams {
|
|
|
1010
1045
|
* If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
|
|
1011
1046
|
*/
|
|
1012
1047
|
giropay?: PaymentMethodData.Giropay;
|
|
1048
|
+
/**
|
|
1049
|
+
* If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
|
|
1050
|
+
*/
|
|
1051
|
+
gopay?: PaymentMethodData.Gopay;
|
|
1013
1052
|
/**
|
|
1014
1053
|
* If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
|
|
1015
1054
|
*/
|
|
1016
1055
|
grabpay?: PaymentMethodData.Grabpay;
|
|
1056
|
+
/**
|
|
1057
|
+
* If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
|
|
1058
|
+
*/
|
|
1059
|
+
id_bank_transfer?: PaymentMethodData.IdBankTransfer;
|
|
1017
1060
|
/**
|
|
1018
1061
|
* If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
|
|
1019
1062
|
*/
|
|
@@ -1106,10 +1149,18 @@ export declare namespace SetupIntentCreateParams {
|
|
|
1106
1149
|
* If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
|
|
1107
1150
|
*/
|
|
1108
1151
|
promptpay?: PaymentMethodData.Promptpay;
|
|
1152
|
+
/**
|
|
1153
|
+
* If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
|
|
1154
|
+
*/
|
|
1155
|
+
qris?: PaymentMethodData.Qris;
|
|
1109
1156
|
/**
|
|
1110
1157
|
* Options to configure Radar. See [Radar Session](https://docs.stripe.com/radar/radar-session) for more information.
|
|
1111
1158
|
*/
|
|
1112
1159
|
radar_options?: PaymentMethodData.RadarOptions;
|
|
1160
|
+
/**
|
|
1161
|
+
* If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
|
|
1162
|
+
*/
|
|
1163
|
+
rechnung?: PaymentMethodData.Rechnung;
|
|
1113
1164
|
/**
|
|
1114
1165
|
* If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
|
|
1115
1166
|
*/
|
|
@@ -1134,10 +1185,22 @@ export declare namespace SetupIntentCreateParams {
|
|
|
1134
1185
|
* If this is a SeQura PaymentMethod, this hash contains details about the SeQura payment method.
|
|
1135
1186
|
*/
|
|
1136
1187
|
sequra?: PaymentMethodData.Sequra;
|
|
1188
|
+
/**
|
|
1189
|
+
* ID of the SharedPaymentGrantedToken used to confirm this PaymentIntent.
|
|
1190
|
+
*/
|
|
1191
|
+
shared_payment_granted_token?: string;
|
|
1192
|
+
/**
|
|
1193
|
+
* If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
|
|
1194
|
+
*/
|
|
1195
|
+
shopeepay?: PaymentMethodData.Shopeepay;
|
|
1137
1196
|
/**
|
|
1138
1197
|
* If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
|
|
1139
1198
|
*/
|
|
1140
1199
|
sofort?: PaymentMethodData.Sofort;
|
|
1200
|
+
/**
|
|
1201
|
+
* This hash contains details about the Stripe balance payment method.
|
|
1202
|
+
*/
|
|
1203
|
+
stripe_balance?: PaymentMethodData.StripeBalance;
|
|
1141
1204
|
/**
|
|
1142
1205
|
* If this is a `sunbit` PaymentMethod, this hash contains details about the Sunbit payment method.
|
|
1143
1206
|
*/
|
|
@@ -1166,6 +1229,10 @@ export declare namespace SetupIntentCreateParams {
|
|
|
1166
1229
|
* If this is an `wechat_pay` PaymentMethod, this hash contains details about the wechat_pay payment method.
|
|
1167
1230
|
*/
|
|
1168
1231
|
wechat_pay?: PaymentMethodData.WechatPay;
|
|
1232
|
+
/**
|
|
1233
|
+
* If this is a Wero PaymentMethod, this hash contains details about the Wero payment method.
|
|
1234
|
+
*/
|
|
1235
|
+
wero?: PaymentMethodData.Wero;
|
|
1169
1236
|
/**
|
|
1170
1237
|
* If this is a `zip` PaymentMethod, this hash contains details about the Zip payment method.
|
|
1171
1238
|
*/
|
|
@@ -1388,8 +1455,16 @@ export declare namespace SetupIntentCreateParams {
|
|
|
1388
1455
|
}
|
|
1389
1456
|
interface Giropay {
|
|
1390
1457
|
}
|
|
1458
|
+
interface Gopay {
|
|
1459
|
+
}
|
|
1391
1460
|
interface Grabpay {
|
|
1392
1461
|
}
|
|
1462
|
+
interface IdBankTransfer {
|
|
1463
|
+
/**
|
|
1464
|
+
* Bank where the account is held.
|
|
1465
|
+
*/
|
|
1466
|
+
bank?: IdBankTransfer.Bank;
|
|
1467
|
+
}
|
|
1393
1468
|
interface Ideal {
|
|
1394
1469
|
/**
|
|
1395
1470
|
* The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
|
@@ -1483,12 +1558,20 @@ export declare namespace SetupIntentCreateParams {
|
|
|
1483
1558
|
}
|
|
1484
1559
|
interface Promptpay {
|
|
1485
1560
|
}
|
|
1561
|
+
interface Qris {
|
|
1562
|
+
}
|
|
1486
1563
|
interface RadarOptions {
|
|
1487
1564
|
/**
|
|
1488
1565
|
* A [Radar Session](https://docs.stripe.com/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
|
|
1489
1566
|
*/
|
|
1490
1567
|
session?: string;
|
|
1491
1568
|
}
|
|
1569
|
+
interface Rechnung {
|
|
1570
|
+
/**
|
|
1571
|
+
* Customer's date of birth
|
|
1572
|
+
*/
|
|
1573
|
+
dob: Rechnung.Dob;
|
|
1574
|
+
}
|
|
1492
1575
|
interface RevolutPay {
|
|
1493
1576
|
}
|
|
1494
1577
|
interface SamsungPay {
|
|
@@ -1505,19 +1588,27 @@ export declare namespace SetupIntentCreateParams {
|
|
|
1505
1588
|
}
|
|
1506
1589
|
interface Sequra {
|
|
1507
1590
|
}
|
|
1591
|
+
interface Shopeepay {
|
|
1592
|
+
}
|
|
1508
1593
|
interface Sofort {
|
|
1509
1594
|
/**
|
|
1510
1595
|
* Two-letter ISO code representing the country the bank account is located in.
|
|
1511
1596
|
*/
|
|
1512
1597
|
country: Sofort.Country;
|
|
1513
1598
|
}
|
|
1599
|
+
interface StripeBalance {
|
|
1600
|
+
/**
|
|
1601
|
+
* The connected account ID whose Stripe balance to use as the source of payment
|
|
1602
|
+
*/
|
|
1603
|
+
account?: string;
|
|
1604
|
+
}
|
|
1514
1605
|
interface Sunbit {
|
|
1515
1606
|
}
|
|
1516
1607
|
interface Swish {
|
|
1517
1608
|
}
|
|
1518
1609
|
interface Twint {
|
|
1519
1610
|
}
|
|
1520
|
-
type Type = 'acss_debit' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boleto' | 'cashapp' | 'crypto' | 'customer_balance' | 'eps' | 'fpx' | 'giropay' | 'grabpay' | 'ideal' | 'kakao_pay' | 'klarna' | 'konbini' | 'kr_card' | 'link' | 'mb_way' | 'mobilepay' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'oxxo' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'paypay' | 'payto' | 'pix' | 'promptpay' | 'revolut_pay' | 'samsung_pay' | 'satispay' | 'scalapay' | 'sepa_debit' | 'sequra' | 'sofort' | 'sunbit' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay' | 'zip' | OtherString;
|
|
1611
|
+
type Type = 'acss_debit' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boleto' | 'cashapp' | 'crypto' | 'customer_balance' | 'eps' | 'fpx' | 'giropay' | 'gopay' | 'grabpay' | 'id_bank_transfer' | 'ideal' | 'kakao_pay' | 'klarna' | 'konbini' | 'kr_card' | 'link' | 'mb_way' | 'mobilepay' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'oxxo' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'paypay' | 'payto' | 'pix' | 'promptpay' | 'qris' | 'rechnung' | 'revolut_pay' | 'samsung_pay' | 'satispay' | 'scalapay' | 'sepa_debit' | 'sequra' | 'shopeepay' | 'sofort' | 'stripe_balance' | 'sunbit' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay' | 'wero' | 'zip' | OtherString;
|
|
1521
1612
|
interface Upi {
|
|
1522
1613
|
/**
|
|
1523
1614
|
* Configuration options for setting up an eMandate
|
|
@@ -1537,6 +1628,10 @@ export declare namespace SetupIntentCreateParams {
|
|
|
1537
1628
|
* Account type: checkings or savings. Defaults to checking if omitted.
|
|
1538
1629
|
*/
|
|
1539
1630
|
account_type?: UsBankAccount.AccountType;
|
|
1631
|
+
/**
|
|
1632
|
+
* An external token used to create a payment method.
|
|
1633
|
+
*/
|
|
1634
|
+
external_token?: UsBankAccount.ExternalToken;
|
|
1540
1635
|
/**
|
|
1541
1636
|
* The ID of a Financial Connections Account to use as a payment method.
|
|
1542
1637
|
*/
|
|
@@ -1548,6 +1643,8 @@ export declare namespace SetupIntentCreateParams {
|
|
|
1548
1643
|
}
|
|
1549
1644
|
interface WechatPay {
|
|
1550
1645
|
}
|
|
1646
|
+
interface Wero {
|
|
1647
|
+
}
|
|
1551
1648
|
interface Zip {
|
|
1552
1649
|
}
|
|
1553
1650
|
namespace Eps {
|
|
@@ -1557,6 +1654,9 @@ export declare namespace SetupIntentCreateParams {
|
|
|
1557
1654
|
type AccountHolderType = 'company' | 'individual' | OtherString;
|
|
1558
1655
|
type Bank = 'affin_bank' | 'agrobank' | 'alliance_bank' | 'ambank' | 'bank_islam' | 'bank_muamalat' | 'bank_of_china' | 'bank_rakyat' | 'bnp_paribas' | 'bsn' | 'cimb' | 'citibank' | 'deutsche_bank' | 'hong_leong_bank' | 'hsbc' | 'kfh' | 'maybank2e' | 'maybank2u' | 'mbsb_bank' | 'ocbc' | 'pb_enterprise' | 'public_bank' | 'rhb' | 'standard_chartered' | 'uob' | OtherString;
|
|
1559
1656
|
}
|
|
1657
|
+
namespace IdBankTransfer {
|
|
1658
|
+
type Bank = 'bca' | 'bni' | 'bri' | 'cimb' | 'mandiri' | 'permata' | OtherString;
|
|
1659
|
+
}
|
|
1560
1660
|
namespace Ideal {
|
|
1561
1661
|
type Bank = 'abn_amro' | 'adyen' | 'asn_bank' | 'bunq' | 'buut' | 'finom' | 'handelsbanken' | 'ing' | 'knab' | 'mollie' | 'moneyou' | 'n26' | 'nn' | 'rabobank' | 'regiobank' | 'revolut' | 'sns_bank' | 'triodos_bank' | 'van_lanschot' | 'yoursafe' | OtherString;
|
|
1562
1662
|
}
|
|
@@ -1582,6 +1682,22 @@ export declare namespace SetupIntentCreateParams {
|
|
|
1582
1682
|
namespace P24 {
|
|
1583
1683
|
type Bank = 'alior_bank' | 'bank_millennium' | 'bank_nowy_bfg_sa' | 'bank_pekao_sa' | 'banki_spbdzielcze' | 'blik' | 'bnp_paribas' | 'boz' | 'citi_handlowy' | 'credit_agricole' | 'envelobank' | 'etransfer_pocztowy24' | 'getin_bank' | 'ideabank' | 'ing' | 'inteligo' | 'mbank_mtransfer' | 'nest_przelew' | 'noble_pay' | 'pbac_z_ipko' | 'plus_bank' | 'santander_przelew24' | 'tmobile_usbugi_bankowe' | 'toyota_bank' | 'velobank' | 'volkswagen_bank' | OtherString;
|
|
1584
1684
|
}
|
|
1685
|
+
namespace Rechnung {
|
|
1686
|
+
interface Dob {
|
|
1687
|
+
/**
|
|
1688
|
+
* The day of birth, between 1 and 31.
|
|
1689
|
+
*/
|
|
1690
|
+
day: number;
|
|
1691
|
+
/**
|
|
1692
|
+
* The month of birth, between 1 and 12.
|
|
1693
|
+
*/
|
|
1694
|
+
month: number;
|
|
1695
|
+
/**
|
|
1696
|
+
* The four-digit year of birth.
|
|
1697
|
+
*/
|
|
1698
|
+
year: number;
|
|
1699
|
+
}
|
|
1700
|
+
}
|
|
1585
1701
|
namespace Sofort {
|
|
1586
1702
|
type Country = 'AT' | 'BE' | 'DE' | 'ES' | 'IT' | 'NL' | OtherString;
|
|
1587
1703
|
}
|
|
@@ -1611,6 +1727,19 @@ export declare namespace SetupIntentCreateParams {
|
|
|
1611
1727
|
namespace UsBankAccount {
|
|
1612
1728
|
type AccountHolderType = 'company' | 'individual' | OtherString;
|
|
1613
1729
|
type AccountType = 'checking' | 'savings' | OtherString;
|
|
1730
|
+
interface ExternalToken {
|
|
1731
|
+
/**
|
|
1732
|
+
* The Plaid processor token to use for this bank account.
|
|
1733
|
+
*/
|
|
1734
|
+
plaid_processor_token?: string;
|
|
1735
|
+
/**
|
|
1736
|
+
* The type of external token.
|
|
1737
|
+
*/
|
|
1738
|
+
type: ExternalToken.Type;
|
|
1739
|
+
}
|
|
1740
|
+
namespace ExternalToken {
|
|
1741
|
+
type Type = 'plaid_processor_token' | OtherString;
|
|
1742
|
+
}
|
|
1614
1743
|
}
|
|
1615
1744
|
}
|
|
1616
1745
|
namespace PaymentMethodOptions {
|
|
@@ -1709,6 +1838,11 @@ export declare namespace SetupIntentCreateParams {
|
|
|
1709
1838
|
* The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
|
|
1710
1839
|
*/
|
|
1711
1840
|
billing_agreement_id?: string;
|
|
1841
|
+
currency?: string;
|
|
1842
|
+
/**
|
|
1843
|
+
* The Stripe connected account IDs of the sellers on the platform for this transaction (optional). Only allowed when [separate charges and transfers](https://stripe.com/docs/connect/separate-charges-and-transfers) are used.
|
|
1844
|
+
*/
|
|
1845
|
+
subsellers?: Array<string>;
|
|
1712
1846
|
}
|
|
1713
1847
|
interface Payto {
|
|
1714
1848
|
/**
|
|
@@ -2106,6 +2240,10 @@ export declare namespace SetupIntentCreateParams {
|
|
|
2106
2240
|
* Provide filters for the linked accounts that the customer can select for the payment method.
|
|
2107
2241
|
*/
|
|
2108
2242
|
filters?: FinancialConnections.Filters;
|
|
2243
|
+
/**
|
|
2244
|
+
* Customize manual entry behavior
|
|
2245
|
+
*/
|
|
2246
|
+
manual_entry?: FinancialConnections.ManualEntry;
|
|
2109
2247
|
/**
|
|
2110
2248
|
* The list of permissions to request. If this parameter is passed, the `payment_method` permission must be included. Valid permissions include: `balances`, `ownership`, `payment_method`, and `transactions`.
|
|
2111
2249
|
*/
|
|
@@ -2138,12 +2276,25 @@ export declare namespace SetupIntentCreateParams {
|
|
|
2138
2276
|
* The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
|
|
2139
2277
|
*/
|
|
2140
2278
|
account_subcategories?: Array<Filters.AccountSubcategory>;
|
|
2279
|
+
/**
|
|
2280
|
+
* ID of the institution to use to filter for selectable accounts.
|
|
2281
|
+
*/
|
|
2282
|
+
institution?: string;
|
|
2283
|
+
}
|
|
2284
|
+
interface ManualEntry {
|
|
2285
|
+
/**
|
|
2286
|
+
* Settings for configuring manual entry of account details.
|
|
2287
|
+
*/
|
|
2288
|
+
mode: ManualEntry.Mode;
|
|
2141
2289
|
}
|
|
2142
2290
|
type Permission = 'balances' | 'ownership' | 'payment_method' | 'transactions' | OtherString;
|
|
2143
|
-
type Prefetch = 'balances' | 'ownership' | 'transactions' | OtherString;
|
|
2291
|
+
type Prefetch = 'balances' | 'inferred_balances' | 'ownership' | 'transactions' | OtherString;
|
|
2144
2292
|
namespace Filters {
|
|
2145
2293
|
type AccountSubcategory = 'checking' | 'savings' | OtherString;
|
|
2146
2294
|
}
|
|
2295
|
+
namespace ManualEntry {
|
|
2296
|
+
type Mode = 'automatic' | 'custom' | OtherString;
|
|
2297
|
+
}
|
|
2147
2298
|
}
|
|
2148
2299
|
namespace Networks {
|
|
2149
2300
|
type Requested = 'ach' | 'us_domestic_wire' | OtherString;
|
|
@@ -2226,7 +2377,7 @@ export interface SetupIntentUpdateParams {
|
|
|
2226
2377
|
}
|
|
2227
2378
|
export declare namespace SetupIntentUpdateParams {
|
|
2228
2379
|
type AllowedPaymentMethodType = 'acss_debit' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boku_promptpay' | 'boleto' | 'capchase_pay' | 'card' | 'card_present' | 'cashapp' | 'check_scan' | 'click_to_pay' | 'crypto' | 'customer_balance' | 'demo_pay' | 'duitnow' | 'dummy_auth_push' | 'dummy_passthrough_card' | 'edenred' | 'eps' | 'fpx' | 'gcash' | 'getbalance' | 'gift_card' | 'giropay' | 'gopay' | 'grabpay' | 'id_bank_transfer' | 'ideal' | 'interac_present' | 'kakao_pay' | 'klarna' | 'knet' | 'konbini' | 'kr_card' | 'kr_market' | 'kriya' | 'link' | 'mb_way' | 'mobilepay' | 'momo' | 'mondu' | 'multibanco' | 'naver_pay' | 'netbanking' | 'ng_bank' | 'ng_bank_transfer' | 'ng_card' | 'ng_market' | 'ng_ussd' | 'ng_wallet' | 'nz_bank_account' | 'octopus' | 'oxxo' | 'p24' | 'paper_check' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'paypay' | 'payto' | 'pix' | 'promptpay' | 'qris' | 'rechnung' | 'revolut_pay' | 'samsung_pay' | 'satispay' | 'scalapay' | 'sepa_debit' | 'sequra' | 'shop_pay' | 'shopeepay' | 'sofort' | 'south_korea_market' | 'stripe_balance' | 'sunbit' | 'swish' | 'tamara' | 'test_pay' | 'touch_n_go' | 'truemoney' | 'twint' | 'upi' | 'us_bank_account' | 'us_cash_voucher' | 'vipps' | 'wechat_pay' | 'wero' | 'zip' | OtherString;
|
|
2229
|
-
type ExcludedPaymentMethodType = 'acss_debit' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boleto' | 'card' | 'cashapp' | 'crypto' | 'customer_balance' | 'eps' | 'fpx' | 'giropay' | 'grabpay' | 'ideal' | 'kakao_pay' | 'klarna' | 'konbini' | 'kr_card' | 'mb_way' | 'mobilepay' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'oxxo' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'paypay' | 'payto' | 'pix' | 'promptpay' | 'revolut_pay' | 'samsung_pay' | 'satispay' | 'scalapay' | 'sepa_debit' | 'sequra' | 'sofort' | 'sunbit' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay' | 'zip' | OtherString;
|
|
2380
|
+
type ExcludedPaymentMethodType = 'acss_debit' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boleto' | 'card' | 'cashapp' | 'crypto' | 'customer_balance' | 'eps' | 'fpx' | 'giropay' | 'gopay' | 'grabpay' | 'id_bank_transfer' | 'ideal' | 'kakao_pay' | 'klarna' | 'konbini' | 'kr_card' | 'mb_way' | 'mobilepay' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'oxxo' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'paypay' | 'payto' | 'pix' | 'promptpay' | 'qris' | 'rechnung' | 'revolut_pay' | 'samsung_pay' | 'satispay' | 'scalapay' | 'sepa_debit' | 'sequra' | 'shopeepay' | 'sofort' | 'stripe_balance' | 'sunbit' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay' | 'wero' | 'zip' | OtherString;
|
|
2230
2381
|
type FlowDirection = 'inbound' | 'outbound' | OtherString;
|
|
2231
2382
|
interface PaymentMethodData {
|
|
2232
2383
|
/**
|
|
@@ -2313,10 +2464,18 @@ export declare namespace SetupIntentUpdateParams {
|
|
|
2313
2464
|
* If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
|
|
2314
2465
|
*/
|
|
2315
2466
|
giropay?: PaymentMethodData.Giropay;
|
|
2467
|
+
/**
|
|
2468
|
+
* If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
|
|
2469
|
+
*/
|
|
2470
|
+
gopay?: PaymentMethodData.Gopay;
|
|
2316
2471
|
/**
|
|
2317
2472
|
* If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
|
|
2318
2473
|
*/
|
|
2319
2474
|
grabpay?: PaymentMethodData.Grabpay;
|
|
2475
|
+
/**
|
|
2476
|
+
* If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
|
|
2477
|
+
*/
|
|
2478
|
+
id_bank_transfer?: PaymentMethodData.IdBankTransfer;
|
|
2320
2479
|
/**
|
|
2321
2480
|
* If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
|
|
2322
2481
|
*/
|
|
@@ -2409,10 +2568,18 @@ export declare namespace SetupIntentUpdateParams {
|
|
|
2409
2568
|
* If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
|
|
2410
2569
|
*/
|
|
2411
2570
|
promptpay?: PaymentMethodData.Promptpay;
|
|
2571
|
+
/**
|
|
2572
|
+
* If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
|
|
2573
|
+
*/
|
|
2574
|
+
qris?: PaymentMethodData.Qris;
|
|
2412
2575
|
/**
|
|
2413
2576
|
* Options to configure Radar. See [Radar Session](https://docs.stripe.com/radar/radar-session) for more information.
|
|
2414
2577
|
*/
|
|
2415
2578
|
radar_options?: PaymentMethodData.RadarOptions;
|
|
2579
|
+
/**
|
|
2580
|
+
* If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
|
|
2581
|
+
*/
|
|
2582
|
+
rechnung?: PaymentMethodData.Rechnung;
|
|
2416
2583
|
/**
|
|
2417
2584
|
* If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
|
|
2418
2585
|
*/
|
|
@@ -2437,10 +2604,22 @@ export declare namespace SetupIntentUpdateParams {
|
|
|
2437
2604
|
* If this is a SeQura PaymentMethod, this hash contains details about the SeQura payment method.
|
|
2438
2605
|
*/
|
|
2439
2606
|
sequra?: PaymentMethodData.Sequra;
|
|
2607
|
+
/**
|
|
2608
|
+
* ID of the SharedPaymentGrantedToken used to confirm this PaymentIntent.
|
|
2609
|
+
*/
|
|
2610
|
+
shared_payment_granted_token?: string;
|
|
2611
|
+
/**
|
|
2612
|
+
* If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
|
|
2613
|
+
*/
|
|
2614
|
+
shopeepay?: PaymentMethodData.Shopeepay;
|
|
2440
2615
|
/**
|
|
2441
2616
|
* If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
|
|
2442
2617
|
*/
|
|
2443
2618
|
sofort?: PaymentMethodData.Sofort;
|
|
2619
|
+
/**
|
|
2620
|
+
* This hash contains details about the Stripe balance payment method.
|
|
2621
|
+
*/
|
|
2622
|
+
stripe_balance?: PaymentMethodData.StripeBalance;
|
|
2444
2623
|
/**
|
|
2445
2624
|
* If this is a `sunbit` PaymentMethod, this hash contains details about the Sunbit payment method.
|
|
2446
2625
|
*/
|
|
@@ -2469,6 +2648,10 @@ export declare namespace SetupIntentUpdateParams {
|
|
|
2469
2648
|
* If this is an `wechat_pay` PaymentMethod, this hash contains details about the wechat_pay payment method.
|
|
2470
2649
|
*/
|
|
2471
2650
|
wechat_pay?: PaymentMethodData.WechatPay;
|
|
2651
|
+
/**
|
|
2652
|
+
* If this is a Wero PaymentMethod, this hash contains details about the Wero payment method.
|
|
2653
|
+
*/
|
|
2654
|
+
wero?: PaymentMethodData.Wero;
|
|
2472
2655
|
/**
|
|
2473
2656
|
* If this is a `zip` PaymentMethod, this hash contains details about the Zip payment method.
|
|
2474
2657
|
*/
|
|
@@ -2642,8 +2825,16 @@ export declare namespace SetupIntentUpdateParams {
|
|
|
2642
2825
|
}
|
|
2643
2826
|
interface Giropay {
|
|
2644
2827
|
}
|
|
2828
|
+
interface Gopay {
|
|
2829
|
+
}
|
|
2645
2830
|
interface Grabpay {
|
|
2646
2831
|
}
|
|
2832
|
+
interface IdBankTransfer {
|
|
2833
|
+
/**
|
|
2834
|
+
* Bank where the account is held.
|
|
2835
|
+
*/
|
|
2836
|
+
bank?: IdBankTransfer.Bank;
|
|
2837
|
+
}
|
|
2647
2838
|
interface Ideal {
|
|
2648
2839
|
/**
|
|
2649
2840
|
* The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
|
@@ -2737,12 +2928,20 @@ export declare namespace SetupIntentUpdateParams {
|
|
|
2737
2928
|
}
|
|
2738
2929
|
interface Promptpay {
|
|
2739
2930
|
}
|
|
2931
|
+
interface Qris {
|
|
2932
|
+
}
|
|
2740
2933
|
interface RadarOptions {
|
|
2741
2934
|
/**
|
|
2742
2935
|
* A [Radar Session](https://docs.stripe.com/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
|
|
2743
2936
|
*/
|
|
2744
2937
|
session?: string;
|
|
2745
2938
|
}
|
|
2939
|
+
interface Rechnung {
|
|
2940
|
+
/**
|
|
2941
|
+
* Customer's date of birth
|
|
2942
|
+
*/
|
|
2943
|
+
dob: Rechnung.Dob;
|
|
2944
|
+
}
|
|
2746
2945
|
interface RevolutPay {
|
|
2747
2946
|
}
|
|
2748
2947
|
interface SamsungPay {
|
|
@@ -2759,19 +2958,27 @@ export declare namespace SetupIntentUpdateParams {
|
|
|
2759
2958
|
}
|
|
2760
2959
|
interface Sequra {
|
|
2761
2960
|
}
|
|
2961
|
+
interface Shopeepay {
|
|
2962
|
+
}
|
|
2762
2963
|
interface Sofort {
|
|
2763
2964
|
/**
|
|
2764
2965
|
* Two-letter ISO code representing the country the bank account is located in.
|
|
2765
2966
|
*/
|
|
2766
2967
|
country: Sofort.Country;
|
|
2767
2968
|
}
|
|
2969
|
+
interface StripeBalance {
|
|
2970
|
+
/**
|
|
2971
|
+
* The connected account ID whose Stripe balance to use as the source of payment
|
|
2972
|
+
*/
|
|
2973
|
+
account?: string;
|
|
2974
|
+
}
|
|
2768
2975
|
interface Sunbit {
|
|
2769
2976
|
}
|
|
2770
2977
|
interface Swish {
|
|
2771
2978
|
}
|
|
2772
2979
|
interface Twint {
|
|
2773
2980
|
}
|
|
2774
|
-
type Type = 'acss_debit' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boleto' | 'cashapp' | 'crypto' | 'customer_balance' | 'eps' | 'fpx' | 'giropay' | 'grabpay' | 'ideal' | 'kakao_pay' | 'klarna' | 'konbini' | 'kr_card' | 'link' | 'mb_way' | 'mobilepay' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'oxxo' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'paypay' | 'payto' | 'pix' | 'promptpay' | 'revolut_pay' | 'samsung_pay' | 'satispay' | 'scalapay' | 'sepa_debit' | 'sequra' | 'sofort' | 'sunbit' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay' | 'zip' | OtherString;
|
|
2981
|
+
type Type = 'acss_debit' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boleto' | 'cashapp' | 'crypto' | 'customer_balance' | 'eps' | 'fpx' | 'giropay' | 'gopay' | 'grabpay' | 'id_bank_transfer' | 'ideal' | 'kakao_pay' | 'klarna' | 'konbini' | 'kr_card' | 'link' | 'mb_way' | 'mobilepay' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'oxxo' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'paypay' | 'payto' | 'pix' | 'promptpay' | 'qris' | 'rechnung' | 'revolut_pay' | 'samsung_pay' | 'satispay' | 'scalapay' | 'sepa_debit' | 'sequra' | 'shopeepay' | 'sofort' | 'stripe_balance' | 'sunbit' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay' | 'wero' | 'zip' | OtherString;
|
|
2775
2982
|
interface Upi {
|
|
2776
2983
|
/**
|
|
2777
2984
|
* Configuration options for setting up an eMandate
|
|
@@ -2791,6 +2998,10 @@ export declare namespace SetupIntentUpdateParams {
|
|
|
2791
2998
|
* Account type: checkings or savings. Defaults to checking if omitted.
|
|
2792
2999
|
*/
|
|
2793
3000
|
account_type?: UsBankAccount.AccountType;
|
|
3001
|
+
/**
|
|
3002
|
+
* An external token used to create a payment method.
|
|
3003
|
+
*/
|
|
3004
|
+
external_token?: UsBankAccount.ExternalToken;
|
|
2794
3005
|
/**
|
|
2795
3006
|
* The ID of a Financial Connections Account to use as a payment method.
|
|
2796
3007
|
*/
|
|
@@ -2802,6 +3013,8 @@ export declare namespace SetupIntentUpdateParams {
|
|
|
2802
3013
|
}
|
|
2803
3014
|
interface WechatPay {
|
|
2804
3015
|
}
|
|
3016
|
+
interface Wero {
|
|
3017
|
+
}
|
|
2805
3018
|
interface Zip {
|
|
2806
3019
|
}
|
|
2807
3020
|
namespace Eps {
|
|
@@ -2811,6 +3024,9 @@ export declare namespace SetupIntentUpdateParams {
|
|
|
2811
3024
|
type AccountHolderType = 'company' | 'individual' | OtherString;
|
|
2812
3025
|
type Bank = 'affin_bank' | 'agrobank' | 'alliance_bank' | 'ambank' | 'bank_islam' | 'bank_muamalat' | 'bank_of_china' | 'bank_rakyat' | 'bnp_paribas' | 'bsn' | 'cimb' | 'citibank' | 'deutsche_bank' | 'hong_leong_bank' | 'hsbc' | 'kfh' | 'maybank2e' | 'maybank2u' | 'mbsb_bank' | 'ocbc' | 'pb_enterprise' | 'public_bank' | 'rhb' | 'standard_chartered' | 'uob' | OtherString;
|
|
2813
3026
|
}
|
|
3027
|
+
namespace IdBankTransfer {
|
|
3028
|
+
type Bank = 'bca' | 'bni' | 'bri' | 'cimb' | 'mandiri' | 'permata' | OtherString;
|
|
3029
|
+
}
|
|
2814
3030
|
namespace Ideal {
|
|
2815
3031
|
type Bank = 'abn_amro' | 'adyen' | 'asn_bank' | 'bunq' | 'buut' | 'finom' | 'handelsbanken' | 'ing' | 'knab' | 'mollie' | 'moneyou' | 'n26' | 'nn' | 'rabobank' | 'regiobank' | 'revolut' | 'sns_bank' | 'triodos_bank' | 'van_lanschot' | 'yoursafe' | OtherString;
|
|
2816
3032
|
}
|
|
@@ -2836,6 +3052,22 @@ export declare namespace SetupIntentUpdateParams {
|
|
|
2836
3052
|
namespace P24 {
|
|
2837
3053
|
type Bank = 'alior_bank' | 'bank_millennium' | 'bank_nowy_bfg_sa' | 'bank_pekao_sa' | 'banki_spbdzielcze' | 'blik' | 'bnp_paribas' | 'boz' | 'citi_handlowy' | 'credit_agricole' | 'envelobank' | 'etransfer_pocztowy24' | 'getin_bank' | 'ideabank' | 'ing' | 'inteligo' | 'mbank_mtransfer' | 'nest_przelew' | 'noble_pay' | 'pbac_z_ipko' | 'plus_bank' | 'santander_przelew24' | 'tmobile_usbugi_bankowe' | 'toyota_bank' | 'velobank' | 'volkswagen_bank' | OtherString;
|
|
2838
3054
|
}
|
|
3055
|
+
namespace Rechnung {
|
|
3056
|
+
interface Dob {
|
|
3057
|
+
/**
|
|
3058
|
+
* The day of birth, between 1 and 31.
|
|
3059
|
+
*/
|
|
3060
|
+
day: number;
|
|
3061
|
+
/**
|
|
3062
|
+
* The month of birth, between 1 and 12.
|
|
3063
|
+
*/
|
|
3064
|
+
month: number;
|
|
3065
|
+
/**
|
|
3066
|
+
* The four-digit year of birth.
|
|
3067
|
+
*/
|
|
3068
|
+
year: number;
|
|
3069
|
+
}
|
|
3070
|
+
}
|
|
2839
3071
|
namespace Sofort {
|
|
2840
3072
|
type Country = 'AT' | 'BE' | 'DE' | 'ES' | 'IT' | 'NL' | OtherString;
|
|
2841
3073
|
}
|
|
@@ -2865,6 +3097,19 @@ export declare namespace SetupIntentUpdateParams {
|
|
|
2865
3097
|
namespace UsBankAccount {
|
|
2866
3098
|
type AccountHolderType = 'company' | 'individual' | OtherString;
|
|
2867
3099
|
type AccountType = 'checking' | 'savings' | OtherString;
|
|
3100
|
+
interface ExternalToken {
|
|
3101
|
+
/**
|
|
3102
|
+
* The Plaid processor token to use for this bank account.
|
|
3103
|
+
*/
|
|
3104
|
+
plaid_processor_token?: string;
|
|
3105
|
+
/**
|
|
3106
|
+
* The type of external token.
|
|
3107
|
+
*/
|
|
3108
|
+
type: ExternalToken.Type;
|
|
3109
|
+
}
|
|
3110
|
+
namespace ExternalToken {
|
|
3111
|
+
type Type = 'plaid_processor_token' | OtherString;
|
|
3112
|
+
}
|
|
2868
3113
|
}
|
|
2869
3114
|
}
|
|
2870
3115
|
namespace PaymentMethodOptions {
|
|
@@ -2963,6 +3208,11 @@ export declare namespace SetupIntentUpdateParams {
|
|
|
2963
3208
|
* The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
|
|
2964
3209
|
*/
|
|
2965
3210
|
billing_agreement_id?: string;
|
|
3211
|
+
currency?: string;
|
|
3212
|
+
/**
|
|
3213
|
+
* The Stripe connected account IDs of the sellers on the platform for this transaction (optional). Only allowed when [separate charges and transfers](https://stripe.com/docs/connect/separate-charges-and-transfers) are used.
|
|
3214
|
+
*/
|
|
3215
|
+
subsellers?: Array<string>;
|
|
2966
3216
|
}
|
|
2967
3217
|
interface Payto {
|
|
2968
3218
|
/**
|
|
@@ -3360,6 +3610,10 @@ export declare namespace SetupIntentUpdateParams {
|
|
|
3360
3610
|
* Provide filters for the linked accounts that the customer can select for the payment method.
|
|
3361
3611
|
*/
|
|
3362
3612
|
filters?: FinancialConnections.Filters;
|
|
3613
|
+
/**
|
|
3614
|
+
* Customize manual entry behavior
|
|
3615
|
+
*/
|
|
3616
|
+
manual_entry?: FinancialConnections.ManualEntry;
|
|
3363
3617
|
/**
|
|
3364
3618
|
* The list of permissions to request. If this parameter is passed, the `payment_method` permission must be included. Valid permissions include: `balances`, `ownership`, `payment_method`, and `transactions`.
|
|
3365
3619
|
*/
|
|
@@ -3392,12 +3646,25 @@ export declare namespace SetupIntentUpdateParams {
|
|
|
3392
3646
|
* The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
|
|
3393
3647
|
*/
|
|
3394
3648
|
account_subcategories?: Array<Filters.AccountSubcategory>;
|
|
3649
|
+
/**
|
|
3650
|
+
* ID of the institution to use to filter for selectable accounts.
|
|
3651
|
+
*/
|
|
3652
|
+
institution?: string;
|
|
3653
|
+
}
|
|
3654
|
+
interface ManualEntry {
|
|
3655
|
+
/**
|
|
3656
|
+
* Settings for configuring manual entry of account details.
|
|
3657
|
+
*/
|
|
3658
|
+
mode: ManualEntry.Mode;
|
|
3395
3659
|
}
|
|
3396
3660
|
type Permission = 'balances' | 'ownership' | 'payment_method' | 'transactions' | OtherString;
|
|
3397
|
-
type Prefetch = 'balances' | 'ownership' | 'transactions' | OtherString;
|
|
3661
|
+
type Prefetch = 'balances' | 'inferred_balances' | 'ownership' | 'transactions' | OtherString;
|
|
3398
3662
|
namespace Filters {
|
|
3399
3663
|
type AccountSubcategory = 'checking' | 'savings' | OtherString;
|
|
3400
3664
|
}
|
|
3665
|
+
namespace ManualEntry {
|
|
3666
|
+
type Mode = 'automatic' | 'custom' | OtherString;
|
|
3667
|
+
}
|
|
3401
3668
|
}
|
|
3402
3669
|
namespace Networks {
|
|
3403
3670
|
type Requested = 'ach' | 'us_domestic_wire' | OtherString;
|
|
@@ -3579,10 +3846,18 @@ export declare namespace SetupIntentConfirmParams {
|
|
|
3579
3846
|
* If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
|
|
3580
3847
|
*/
|
|
3581
3848
|
giropay?: PaymentMethodData.Giropay;
|
|
3849
|
+
/**
|
|
3850
|
+
* If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
|
|
3851
|
+
*/
|
|
3852
|
+
gopay?: PaymentMethodData.Gopay;
|
|
3582
3853
|
/**
|
|
3583
3854
|
* If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
|
|
3584
3855
|
*/
|
|
3585
3856
|
grabpay?: PaymentMethodData.Grabpay;
|
|
3857
|
+
/**
|
|
3858
|
+
* If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
|
|
3859
|
+
*/
|
|
3860
|
+
id_bank_transfer?: PaymentMethodData.IdBankTransfer;
|
|
3586
3861
|
/**
|
|
3587
3862
|
* If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
|
|
3588
3863
|
*/
|
|
@@ -3675,10 +3950,18 @@ export declare namespace SetupIntentConfirmParams {
|
|
|
3675
3950
|
* If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
|
|
3676
3951
|
*/
|
|
3677
3952
|
promptpay?: PaymentMethodData.Promptpay;
|
|
3953
|
+
/**
|
|
3954
|
+
* If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
|
|
3955
|
+
*/
|
|
3956
|
+
qris?: PaymentMethodData.Qris;
|
|
3678
3957
|
/**
|
|
3679
3958
|
* Options to configure Radar. See [Radar Session](https://docs.stripe.com/radar/radar-session) for more information.
|
|
3680
3959
|
*/
|
|
3681
3960
|
radar_options?: PaymentMethodData.RadarOptions;
|
|
3961
|
+
/**
|
|
3962
|
+
* If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
|
|
3963
|
+
*/
|
|
3964
|
+
rechnung?: PaymentMethodData.Rechnung;
|
|
3682
3965
|
/**
|
|
3683
3966
|
* If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
|
|
3684
3967
|
*/
|
|
@@ -3703,10 +3986,22 @@ export declare namespace SetupIntentConfirmParams {
|
|
|
3703
3986
|
* If this is a SeQura PaymentMethod, this hash contains details about the SeQura payment method.
|
|
3704
3987
|
*/
|
|
3705
3988
|
sequra?: PaymentMethodData.Sequra;
|
|
3989
|
+
/**
|
|
3990
|
+
* ID of the SharedPaymentGrantedToken used to confirm this PaymentIntent.
|
|
3991
|
+
*/
|
|
3992
|
+
shared_payment_granted_token?: string;
|
|
3993
|
+
/**
|
|
3994
|
+
* If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
|
|
3995
|
+
*/
|
|
3996
|
+
shopeepay?: PaymentMethodData.Shopeepay;
|
|
3706
3997
|
/**
|
|
3707
3998
|
* If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
|
|
3708
3999
|
*/
|
|
3709
4000
|
sofort?: PaymentMethodData.Sofort;
|
|
4001
|
+
/**
|
|
4002
|
+
* This hash contains details about the Stripe balance payment method.
|
|
4003
|
+
*/
|
|
4004
|
+
stripe_balance?: PaymentMethodData.StripeBalance;
|
|
3710
4005
|
/**
|
|
3711
4006
|
* If this is a `sunbit` PaymentMethod, this hash contains details about the Sunbit payment method.
|
|
3712
4007
|
*/
|
|
@@ -3735,6 +4030,10 @@ export declare namespace SetupIntentConfirmParams {
|
|
|
3735
4030
|
* If this is an `wechat_pay` PaymentMethod, this hash contains details about the wechat_pay payment method.
|
|
3736
4031
|
*/
|
|
3737
4032
|
wechat_pay?: PaymentMethodData.WechatPay;
|
|
4033
|
+
/**
|
|
4034
|
+
* If this is a Wero PaymentMethod, this hash contains details about the Wero payment method.
|
|
4035
|
+
*/
|
|
4036
|
+
wero?: PaymentMethodData.Wero;
|
|
3738
4037
|
/**
|
|
3739
4038
|
* If this is a `zip` PaymentMethod, this hash contains details about the Zip payment method.
|
|
3740
4039
|
*/
|
|
@@ -3943,8 +4242,16 @@ export declare namespace SetupIntentConfirmParams {
|
|
|
3943
4242
|
}
|
|
3944
4243
|
interface Giropay {
|
|
3945
4244
|
}
|
|
4245
|
+
interface Gopay {
|
|
4246
|
+
}
|
|
3946
4247
|
interface Grabpay {
|
|
3947
4248
|
}
|
|
4249
|
+
interface IdBankTransfer {
|
|
4250
|
+
/**
|
|
4251
|
+
* Bank where the account is held.
|
|
4252
|
+
*/
|
|
4253
|
+
bank?: IdBankTransfer.Bank;
|
|
4254
|
+
}
|
|
3948
4255
|
interface Ideal {
|
|
3949
4256
|
/**
|
|
3950
4257
|
* The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
|
@@ -4038,12 +4345,20 @@ export declare namespace SetupIntentConfirmParams {
|
|
|
4038
4345
|
}
|
|
4039
4346
|
interface Promptpay {
|
|
4040
4347
|
}
|
|
4348
|
+
interface Qris {
|
|
4349
|
+
}
|
|
4041
4350
|
interface RadarOptions {
|
|
4042
4351
|
/**
|
|
4043
4352
|
* A [Radar Session](https://docs.stripe.com/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
|
|
4044
4353
|
*/
|
|
4045
4354
|
session?: string;
|
|
4046
4355
|
}
|
|
4356
|
+
interface Rechnung {
|
|
4357
|
+
/**
|
|
4358
|
+
* Customer's date of birth
|
|
4359
|
+
*/
|
|
4360
|
+
dob: Rechnung.Dob;
|
|
4361
|
+
}
|
|
4047
4362
|
interface RevolutPay {
|
|
4048
4363
|
}
|
|
4049
4364
|
interface SamsungPay {
|
|
@@ -4060,19 +4375,27 @@ export declare namespace SetupIntentConfirmParams {
|
|
|
4060
4375
|
}
|
|
4061
4376
|
interface Sequra {
|
|
4062
4377
|
}
|
|
4378
|
+
interface Shopeepay {
|
|
4379
|
+
}
|
|
4063
4380
|
interface Sofort {
|
|
4064
4381
|
/**
|
|
4065
4382
|
* Two-letter ISO code representing the country the bank account is located in.
|
|
4066
4383
|
*/
|
|
4067
4384
|
country: Sofort.Country;
|
|
4068
4385
|
}
|
|
4386
|
+
interface StripeBalance {
|
|
4387
|
+
/**
|
|
4388
|
+
* The connected account ID whose Stripe balance to use as the source of payment
|
|
4389
|
+
*/
|
|
4390
|
+
account?: string;
|
|
4391
|
+
}
|
|
4069
4392
|
interface Sunbit {
|
|
4070
4393
|
}
|
|
4071
4394
|
interface Swish {
|
|
4072
4395
|
}
|
|
4073
4396
|
interface Twint {
|
|
4074
4397
|
}
|
|
4075
|
-
type Type = 'acss_debit' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boleto' | 'cashapp' | 'crypto' | 'customer_balance' | 'eps' | 'fpx' | 'giropay' | 'grabpay' | 'ideal' | 'kakao_pay' | 'klarna' | 'konbini' | 'kr_card' | 'link' | 'mb_way' | 'mobilepay' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'oxxo' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'paypay' | 'payto' | 'pix' | 'promptpay' | 'revolut_pay' | 'samsung_pay' | 'satispay' | 'scalapay' | 'sepa_debit' | 'sequra' | 'sofort' | 'sunbit' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay' | 'zip' | OtherString;
|
|
4398
|
+
type Type = 'acss_debit' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boleto' | 'cashapp' | 'crypto' | 'customer_balance' | 'eps' | 'fpx' | 'giropay' | 'gopay' | 'grabpay' | 'id_bank_transfer' | 'ideal' | 'kakao_pay' | 'klarna' | 'konbini' | 'kr_card' | 'link' | 'mb_way' | 'mobilepay' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'oxxo' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'paypay' | 'payto' | 'pix' | 'promptpay' | 'qris' | 'rechnung' | 'revolut_pay' | 'samsung_pay' | 'satispay' | 'scalapay' | 'sepa_debit' | 'sequra' | 'shopeepay' | 'sofort' | 'stripe_balance' | 'sunbit' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay' | 'wero' | 'zip' | OtherString;
|
|
4076
4399
|
interface Upi {
|
|
4077
4400
|
/**
|
|
4078
4401
|
* Configuration options for setting up an eMandate
|
|
@@ -4092,6 +4415,10 @@ export declare namespace SetupIntentConfirmParams {
|
|
|
4092
4415
|
* Account type: checkings or savings. Defaults to checking if omitted.
|
|
4093
4416
|
*/
|
|
4094
4417
|
account_type?: UsBankAccount.AccountType;
|
|
4418
|
+
/**
|
|
4419
|
+
* An external token used to create a payment method.
|
|
4420
|
+
*/
|
|
4421
|
+
external_token?: UsBankAccount.ExternalToken;
|
|
4095
4422
|
/**
|
|
4096
4423
|
* The ID of a Financial Connections Account to use as a payment method.
|
|
4097
4424
|
*/
|
|
@@ -4103,6 +4430,8 @@ export declare namespace SetupIntentConfirmParams {
|
|
|
4103
4430
|
}
|
|
4104
4431
|
interface WechatPay {
|
|
4105
4432
|
}
|
|
4433
|
+
interface Wero {
|
|
4434
|
+
}
|
|
4106
4435
|
interface Zip {
|
|
4107
4436
|
}
|
|
4108
4437
|
namespace Eps {
|
|
@@ -4112,6 +4441,9 @@ export declare namespace SetupIntentConfirmParams {
|
|
|
4112
4441
|
type AccountHolderType = 'company' | 'individual' | OtherString;
|
|
4113
4442
|
type Bank = 'affin_bank' | 'agrobank' | 'alliance_bank' | 'ambank' | 'bank_islam' | 'bank_muamalat' | 'bank_of_china' | 'bank_rakyat' | 'bnp_paribas' | 'bsn' | 'cimb' | 'citibank' | 'deutsche_bank' | 'hong_leong_bank' | 'hsbc' | 'kfh' | 'maybank2e' | 'maybank2u' | 'mbsb_bank' | 'ocbc' | 'pb_enterprise' | 'public_bank' | 'rhb' | 'standard_chartered' | 'uob' | OtherString;
|
|
4114
4443
|
}
|
|
4444
|
+
namespace IdBankTransfer {
|
|
4445
|
+
type Bank = 'bca' | 'bni' | 'bri' | 'cimb' | 'mandiri' | 'permata' | OtherString;
|
|
4446
|
+
}
|
|
4115
4447
|
namespace Ideal {
|
|
4116
4448
|
type Bank = 'abn_amro' | 'adyen' | 'asn_bank' | 'bunq' | 'buut' | 'finom' | 'handelsbanken' | 'ing' | 'knab' | 'mollie' | 'moneyou' | 'n26' | 'nn' | 'rabobank' | 'regiobank' | 'revolut' | 'sns_bank' | 'triodos_bank' | 'van_lanschot' | 'yoursafe' | OtherString;
|
|
4117
4449
|
}
|
|
@@ -4137,6 +4469,22 @@ export declare namespace SetupIntentConfirmParams {
|
|
|
4137
4469
|
namespace P24 {
|
|
4138
4470
|
type Bank = 'alior_bank' | 'bank_millennium' | 'bank_nowy_bfg_sa' | 'bank_pekao_sa' | 'banki_spbdzielcze' | 'blik' | 'bnp_paribas' | 'boz' | 'citi_handlowy' | 'credit_agricole' | 'envelobank' | 'etransfer_pocztowy24' | 'getin_bank' | 'ideabank' | 'ing' | 'inteligo' | 'mbank_mtransfer' | 'nest_przelew' | 'noble_pay' | 'pbac_z_ipko' | 'plus_bank' | 'santander_przelew24' | 'tmobile_usbugi_bankowe' | 'toyota_bank' | 'velobank' | 'volkswagen_bank' | OtherString;
|
|
4139
4471
|
}
|
|
4472
|
+
namespace Rechnung {
|
|
4473
|
+
interface Dob {
|
|
4474
|
+
/**
|
|
4475
|
+
* The day of birth, between 1 and 31.
|
|
4476
|
+
*/
|
|
4477
|
+
day: number;
|
|
4478
|
+
/**
|
|
4479
|
+
* The month of birth, between 1 and 12.
|
|
4480
|
+
*/
|
|
4481
|
+
month: number;
|
|
4482
|
+
/**
|
|
4483
|
+
* The four-digit year of birth.
|
|
4484
|
+
*/
|
|
4485
|
+
year: number;
|
|
4486
|
+
}
|
|
4487
|
+
}
|
|
4140
4488
|
namespace Sofort {
|
|
4141
4489
|
type Country = 'AT' | 'BE' | 'DE' | 'ES' | 'IT' | 'NL' | OtherString;
|
|
4142
4490
|
}
|
|
@@ -4166,6 +4514,19 @@ export declare namespace SetupIntentConfirmParams {
|
|
|
4166
4514
|
namespace UsBankAccount {
|
|
4167
4515
|
type AccountHolderType = 'company' | 'individual' | OtherString;
|
|
4168
4516
|
type AccountType = 'checking' | 'savings' | OtherString;
|
|
4517
|
+
interface ExternalToken {
|
|
4518
|
+
/**
|
|
4519
|
+
* The Plaid processor token to use for this bank account.
|
|
4520
|
+
*/
|
|
4521
|
+
plaid_processor_token?: string;
|
|
4522
|
+
/**
|
|
4523
|
+
* The type of external token.
|
|
4524
|
+
*/
|
|
4525
|
+
type: ExternalToken.Type;
|
|
4526
|
+
}
|
|
4527
|
+
namespace ExternalToken {
|
|
4528
|
+
type Type = 'plaid_processor_token' | OtherString;
|
|
4529
|
+
}
|
|
4169
4530
|
}
|
|
4170
4531
|
}
|
|
4171
4532
|
namespace PaymentMethodOptions {
|
|
@@ -4264,6 +4625,11 @@ export declare namespace SetupIntentConfirmParams {
|
|
|
4264
4625
|
* The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
|
|
4265
4626
|
*/
|
|
4266
4627
|
billing_agreement_id?: string;
|
|
4628
|
+
currency?: string;
|
|
4629
|
+
/**
|
|
4630
|
+
* The Stripe connected account IDs of the sellers on the platform for this transaction (optional). Only allowed when [separate charges and transfers](https://stripe.com/docs/connect/separate-charges-and-transfers) are used.
|
|
4631
|
+
*/
|
|
4632
|
+
subsellers?: Array<string>;
|
|
4267
4633
|
}
|
|
4268
4634
|
interface Payto {
|
|
4269
4635
|
/**
|
|
@@ -4661,6 +5027,10 @@ export declare namespace SetupIntentConfirmParams {
|
|
|
4661
5027
|
* Provide filters for the linked accounts that the customer can select for the payment method.
|
|
4662
5028
|
*/
|
|
4663
5029
|
filters?: FinancialConnections.Filters;
|
|
5030
|
+
/**
|
|
5031
|
+
* Customize manual entry behavior
|
|
5032
|
+
*/
|
|
5033
|
+
manual_entry?: FinancialConnections.ManualEntry;
|
|
4664
5034
|
/**
|
|
4665
5035
|
* The list of permissions to request. If this parameter is passed, the `payment_method` permission must be included. Valid permissions include: `balances`, `ownership`, `payment_method`, and `transactions`.
|
|
4666
5036
|
*/
|
|
@@ -4693,12 +5063,25 @@ export declare namespace SetupIntentConfirmParams {
|
|
|
4693
5063
|
* The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
|
|
4694
5064
|
*/
|
|
4695
5065
|
account_subcategories?: Array<Filters.AccountSubcategory>;
|
|
5066
|
+
/**
|
|
5067
|
+
* ID of the institution to use to filter for selectable accounts.
|
|
5068
|
+
*/
|
|
5069
|
+
institution?: string;
|
|
5070
|
+
}
|
|
5071
|
+
interface ManualEntry {
|
|
5072
|
+
/**
|
|
5073
|
+
* Settings for configuring manual entry of account details.
|
|
5074
|
+
*/
|
|
5075
|
+
mode: ManualEntry.Mode;
|
|
4696
5076
|
}
|
|
4697
5077
|
type Permission = 'balances' | 'ownership' | 'payment_method' | 'transactions' | OtherString;
|
|
4698
|
-
type Prefetch = 'balances' | 'ownership' | 'transactions' | OtherString;
|
|
5078
|
+
type Prefetch = 'balances' | 'inferred_balances' | 'ownership' | 'transactions' | OtherString;
|
|
4699
5079
|
namespace Filters {
|
|
4700
5080
|
type AccountSubcategory = 'checking' | 'savings' | OtherString;
|
|
4701
5081
|
}
|
|
5082
|
+
namespace ManualEntry {
|
|
5083
|
+
type Mode = 'automatic' | 'custom' | OtherString;
|
|
5084
|
+
}
|
|
4702
5085
|
}
|
|
4703
5086
|
namespace Networks {
|
|
4704
5087
|
type Requested = 'ach' | 'us_domestic_wire' | OtherString;
|