stripe 22.3.0 → 22.4.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1798 -54
- package/README.md +42 -58
- package/VERSION +1 -1
- package/cjs/Error.d.ts +50 -0
- package/cjs/Error.js +125 -1
- package/cjs/Error.js.map +1 -1
- package/cjs/StripeEventNotificationHandler.d.ts +19 -0
- package/cjs/StripeEventNotificationHandler.js +150 -0
- package/cjs/StripeEventNotificationHandler.js.map +1 -0
- package/cjs/Types.d.ts +4 -2
- package/cjs/Types.js.map +1 -1
- package/cjs/apiVersion.d.ts +1 -2
- package/cjs/apiVersion.js +2 -3
- 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 +262 -0
- package/cjs/resources/AccountSessions.js.map +1 -1
- package/cjs/resources/Accounts.d.ts +827 -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/BankAccounts.d.ts +2 -2
- package/cjs/resources/Billing/AlertTriggereds.d.ts +2 -1
- package/cjs/resources/Billing/Analytics/MeterUsage.d.ts +84 -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 +101 -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 +403 -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 +29 -0
- package/cjs/resources/Events.d.ts +547 -2
- 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 +99 -0
- package/cjs/resources/FinancialConnections/Authorizations.js +15 -0
- package/cjs/resources/FinancialConnections/Authorizations.js.map +1 -0
- 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 +156 -7
- package/cjs/resources/FinancialConnections/Sessions.js.map +1 -1
- package/cjs/resources/FinancialConnections/index.d.ts +21 -6
- package/cjs/resources/FinancialConnections/index.js +4 -0
- package/cjs/resources/FinancialConnections/index.js.map +1 -1
- package/cjs/resources/FxQuotes.d.ts +212 -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 +1388 -15
- 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 +15 -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 +33 -1
- 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 +4693 -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 +13283 -2352
- package/cjs/resources/PaymentIntents.js +27 -0
- package/cjs/resources/PaymentIntents.js.map +1 -1
- package/cjs/resources/PaymentLinks.d.ts +19 -3
- package/cjs/resources/PaymentMethodConfigurations.d.ts +350 -0
- package/cjs/resources/PaymentMethods.d.ts +164 -3
- package/cjs/resources/PaymentMethods.js.map +1 -1
- package/cjs/resources/PaymentRecords.d.ts +82 -0
- package/cjs/resources/Persons.d.ts +2 -2
- package/cjs/resources/Plans.d.ts +16 -0
- package/cjs/resources/Prices.d.ts +52 -0
- package/cjs/resources/Privacy/RedactionJobValidationErrors.d.ts +35 -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 +125 -0
- package/cjs/resources/ProductCatalog/TrialOffers.js +15 -0
- package/cjs/resources/ProductCatalog/TrialOffers.js.map +1 -0
- package/cjs/resources/ProductCatalog/index.d.ts +12 -0
- package/cjs/resources/ProductCatalog/index.js +13 -0
- package/cjs/resources/ProductCatalog/index.js.map +1 -0
- package/cjs/resources/Products.d.ts +42 -0
- 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 +1120 -0
- package/cjs/resources/QuotePreviewInvoices.js +4 -0
- package/cjs/resources/QuotePreviewInvoices.js.map +1 -0
- package/cjs/resources/QuotePreviewSubscriptionSchedules.d.ts +738 -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/PaymentEvaluations.d.ts +1 -1
- package/cjs/resources/Radar/ValueListItems.d.ts +30 -0
- 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 +16 -0
- package/cjs/resources/Reserve/Plans.js +11 -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 +17 -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 +343 -11
- package/cjs/resources/SharedPayment/GrantedTokens.d.ts +1105 -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 +306 -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 +143 -0
- package/cjs/resources/SubscriptionSchedules.d.ts +1152 -0
- package/cjs/resources/SubscriptionSchedules.js +6 -0
- package/cjs/resources/SubscriptionSchedules.js.map +1 -1
- package/cjs/resources/Subscriptions.d.ts +571 -6
- package/cjs/resources/Subscriptions.js +145 -0
- package/cjs/resources/Subscriptions.js.map +1 -1
- package/cjs/resources/Tax/CalculationLineItems.d.ts +6 -2
- package/cjs/resources/Tax/Calculations.d.ts +7 -3
- 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/Locations.d.ts +108 -0
- package/cjs/resources/Tax/Locations.js +33 -0
- package/cjs/resources/Tax/Locations.js.map +1 -0
- package/cjs/resources/Tax/Registrations.d.ts +138 -2
- package/cjs/resources/Tax/Transactions.d.ts +2 -2
- package/cjs/resources/Tax/index.d.ts +27 -13
- package/cjs/resources/Tax/index.js +4 -0
- package/cjs/resources/Tax/index.js.map +1 -1
- package/cjs/resources/TaxCodes.d.ts +15 -0
- package/cjs/resources/Terminal/Configurations.d.ts +27 -0
- 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 +78 -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 +8 -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 +71 -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 +280 -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 +947 -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 +236 -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 +775 -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/AccountLinks.d.ts +4 -4
- package/cjs/resources/V2/Core/AccountTokens.d.ts +10 -0
- package/cjs/resources/V2/Core/Accounts.d.ts +1565 -75
- package/cjs/resources/V2/Core/BatchJobs.d.ts +360 -0
- package/cjs/resources/V2/Core/BatchJobs.js +225 -0
- package/cjs/resources/V2/Core/BatchJobs.js.map +1 -0
- package/cjs/resources/V2/Core/Events.d.ts +1151 -4
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.d.ts +279 -0
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.js +54 -0
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.js.map +1 -0
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.d.ts +249 -0
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.js +63 -0
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.js.map +1 -0
- package/cjs/resources/V2/Core/Vault/index.d.ts +28 -0
- package/cjs/resources/V2/Core/Vault/index.js +15 -0
- package/cjs/resources/V2/Core/Vault/index.js.map +1 -0
- package/cjs/resources/V2/Core/index.d.ts +19 -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/Reporting/QueryRuns.d.ts +150 -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/index.d.ts +10 -0
- package/cjs/resources/V2/Data/index.js +13 -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 +162 -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 +119 -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/FinancialAddressCreditSimulations.d.ts +14 -0
- package/cjs/resources/V2/FinancialAddressCreditSimulations.js +4 -0
- package/cjs/resources/V2/FinancialAddressCreditSimulations.js.map +1 -0
- package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.d.ts +19 -0
- package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.js +4 -0
- package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.js.map +1 -0
- package/cjs/resources/V2/Iam/ActivityLogs.d.ts +210 -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 +131 -0
- package/cjs/resources/V2/MoneyManagement/Adjustments.js +23 -0
- package/cjs/resources/V2/MoneyManagement/Adjustments.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.d.ts +240 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +44 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAddresses.d.ts +211 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js +31 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/InboundTransfers.d.ts +250 -0
- package/cjs/resources/V2/MoneyManagement/InboundTransfers.js +30 -0
- package/cjs/resources/V2/MoneyManagement/InboundTransfers.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +208 -0
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +22 -0
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/OutboundPayments.d.ts +394 -0
- package/cjs/resources/V2/MoneyManagement/OutboundPayments.js +41 -0
- package/cjs/resources/V2/MoneyManagement/OutboundPayments.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +296 -0
- package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js +49 -0
- package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.d.ts +336 -0
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js +39 -0
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.d.ts +239 -0
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.js +44 -0
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +92 -0
- package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +17 -0
- package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/ReceivedCredits.d.ts +295 -0
- package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js +23 -0
- package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.d.ts +157 -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/TransactionEntries.d.ts +161 -0
- package/cjs/resources/V2/MoneyManagement/TransactionEntries.js +23 -0
- package/cjs/resources/V2/MoneyManagement/TransactionEntries.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/Transactions.d.ts +192 -0
- package/cjs/resources/V2/MoneyManagement/Transactions.js +23 -0
- package/cjs/resources/V2/MoneyManagement/Transactions.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/index.d.ts +104 -0
- package/cjs/resources/V2/MoneyManagement/index.js +39 -0
- package/cjs/resources/V2/MoneyManagement/index.js.map +1 -0
- 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/TestHelpers/FinancialAddresses.d.ts +44 -0
- package/cjs/resources/V2/TestHelpers/FinancialAddresses.js +23 -0
- package/cjs/resources/V2/TestHelpers/FinancialAddresses.js.map +1 -0
- package/cjs/resources/V2/TestHelpers/index.d.ts +8 -0
- package/cjs/resources/V2/TestHelpers/index.js +13 -0
- package/cjs/resources/V2/TestHelpers/index.js.map +1 -0
- package/cjs/resources/V2/index.d.ts +27 -0
- package/cjs/resources/V2/index.js +14 -0
- 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 +146 -10
- package/cjs/resources.js.map +1 -1
- package/cjs/stripe.cjs.node.d.ts +6536 -109
- package/cjs/stripe.cjs.node.js.map +1 -1
- package/cjs/stripe.core.d.ts +91 -26
- package/cjs/stripe.core.js +55 -32
- package/cjs/stripe.core.js.map +1 -1
- package/esm/Error.d.ts +50 -0
- package/esm/Error.js +109 -0
- package/esm/Error.js.map +1 -1
- package/esm/StripeEventNotificationHandler.d.ts +19 -0
- package/esm/StripeEventNotificationHandler.js +146 -0
- package/esm/StripeEventNotificationHandler.js.map +1 -0
- package/esm/Types.d.ts +4 -2
- package/esm/Types.js.map +1 -1
- package/esm/apiVersion.d.ts +1 -2
- package/esm/apiVersion.js +1 -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 +262 -0
- package/esm/resources/AccountSessions.js.map +1 -1
- package/esm/resources/Accounts.d.ts +827 -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/BankAccounts.d.ts +2 -2
- package/esm/resources/Billing/AlertTriggereds.d.ts +2 -1
- package/esm/resources/Billing/Analytics/MeterUsage.d.ts +84 -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 +101 -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 +403 -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 +29 -0
- package/esm/resources/Events.d.ts +547 -2
- 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 +99 -0
- package/esm/resources/FinancialConnections/Authorizations.js +11 -0
- package/esm/resources/FinancialConnections/Authorizations.js.map +1 -0
- 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 +156 -7
- package/esm/resources/FinancialConnections/Sessions.js.map +1 -1
- package/esm/resources/FinancialConnections/index.d.ts +21 -6
- package/esm/resources/FinancialConnections/index.js +4 -0
- package/esm/resources/FinancialConnections/index.js.map +1 -1
- package/esm/resources/FxQuotes.d.ts +212 -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 +1388 -15
- 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 +15 -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 +33 -1
- 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 +4693 -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 +13283 -2352
- package/esm/resources/PaymentIntents.js +27 -0
- package/esm/resources/PaymentIntents.js.map +1 -1
- package/esm/resources/PaymentLinks.d.ts +19 -3
- package/esm/resources/PaymentMethodConfigurations.d.ts +350 -0
- package/esm/resources/PaymentMethods.d.ts +164 -3
- package/esm/resources/PaymentMethods.js.map +1 -1
- package/esm/resources/PaymentRecords.d.ts +82 -0
- package/esm/resources/Persons.d.ts +2 -2
- package/esm/resources/Plans.d.ts +16 -0
- package/esm/resources/Prices.d.ts +52 -0
- package/esm/resources/Privacy/RedactionJobValidationErrors.d.ts +35 -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 +125 -0
- package/esm/resources/ProductCatalog/TrialOffers.js +11 -0
- package/esm/resources/ProductCatalog/TrialOffers.js.map +1 -0
- package/esm/resources/ProductCatalog/index.d.ts +12 -0
- package/esm/resources/ProductCatalog/index.js +9 -0
- package/esm/resources/ProductCatalog/index.js.map +1 -0
- package/esm/resources/Products.d.ts +42 -0
- 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 +1120 -0
- package/esm/resources/QuotePreviewInvoices.js +3 -0
- package/esm/resources/QuotePreviewInvoices.js.map +1 -0
- package/esm/resources/QuotePreviewSubscriptionSchedules.d.ts +738 -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/PaymentEvaluations.d.ts +1 -1
- package/esm/resources/Radar/ValueListItems.d.ts +30 -0
- 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 +16 -0
- package/esm/resources/Reserve/Plans.js +9 -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 +17 -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 +343 -11
- package/esm/resources/SharedPayment/GrantedTokens.d.ts +1105 -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 +306 -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 +143 -0
- package/esm/resources/SubscriptionSchedules.d.ts +1152 -0
- package/esm/resources/SubscriptionSchedules.js +6 -0
- package/esm/resources/SubscriptionSchedules.js.map +1 -1
- package/esm/resources/Subscriptions.d.ts +571 -6
- package/esm/resources/Subscriptions.js +145 -0
- package/esm/resources/Subscriptions.js.map +1 -1
- package/esm/resources/Tax/CalculationLineItems.d.ts +6 -2
- package/esm/resources/Tax/Calculations.d.ts +7 -3
- 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/Locations.d.ts +108 -0
- package/esm/resources/Tax/Locations.js +29 -0
- package/esm/resources/Tax/Locations.js.map +1 -0
- package/esm/resources/Tax/Registrations.d.ts +138 -2
- package/esm/resources/Tax/Transactions.d.ts +2 -2
- package/esm/resources/Tax/index.d.ts +27 -13
- package/esm/resources/Tax/index.js +4 -0
- package/esm/resources/Tax/index.js.map +1 -1
- package/esm/resources/TaxCodes.d.ts +15 -0
- package/esm/resources/Terminal/Configurations.d.ts +27 -0
- 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 +78 -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 +8 -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 +71 -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 +280 -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 +947 -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 +236 -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 +775 -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/AccountLinks.d.ts +4 -4
- package/esm/resources/V2/Core/AccountTokens.d.ts +10 -0
- package/esm/resources/V2/Core/Accounts.d.ts +1565 -75
- package/esm/resources/V2/Core/BatchJobs.d.ts +360 -0
- package/esm/resources/V2/Core/BatchJobs.js +221 -0
- package/esm/resources/V2/Core/BatchJobs.js.map +1 -0
- package/esm/resources/V2/Core/Events.d.ts +1151 -4
- package/esm/resources/V2/Core/Vault/GbBankAccounts.d.ts +279 -0
- package/esm/resources/V2/Core/Vault/GbBankAccounts.js +50 -0
- package/esm/resources/V2/Core/Vault/GbBankAccounts.js.map +1 -0
- package/esm/resources/V2/Core/Vault/UsBankAccounts.d.ts +249 -0
- package/esm/resources/V2/Core/Vault/UsBankAccounts.js +59 -0
- package/esm/resources/V2/Core/Vault/UsBankAccounts.js.map +1 -0
- package/esm/resources/V2/Core/Vault/index.d.ts +28 -0
- package/esm/resources/V2/Core/Vault/index.js +11 -0
- package/esm/resources/V2/Core/Vault/index.js.map +1 -0
- package/esm/resources/V2/Core/index.d.ts +19 -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/Reporting/QueryRuns.d.ts +150 -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/index.d.ts +10 -0
- package/esm/resources/V2/Data/index.js +9 -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 +162 -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 +119 -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/FinancialAddressCreditSimulations.d.ts +14 -0
- package/esm/resources/V2/FinancialAddressCreditSimulations.js +3 -0
- package/esm/resources/V2/FinancialAddressCreditSimulations.js.map +1 -0
- package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.d.ts +19 -0
- package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.js +3 -0
- package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.js.map +1 -0
- package/esm/resources/V2/Iam/ActivityLogs.d.ts +210 -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 +131 -0
- package/esm/resources/V2/MoneyManagement/Adjustments.js +19 -0
- package/esm/resources/V2/MoneyManagement/Adjustments.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.d.ts +240 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +40 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/FinancialAddresses.d.ts +211 -0
- package/esm/resources/V2/MoneyManagement/FinancialAddresses.js +27 -0
- package/esm/resources/V2/MoneyManagement/FinancialAddresses.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/InboundTransfers.d.ts +250 -0
- package/esm/resources/V2/MoneyManagement/InboundTransfers.js +26 -0
- package/esm/resources/V2/MoneyManagement/InboundTransfers.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +208 -0
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +18 -0
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/OutboundPayments.d.ts +394 -0
- package/esm/resources/V2/MoneyManagement/OutboundPayments.js +37 -0
- package/esm/resources/V2/MoneyManagement/OutboundPayments.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +296 -0
- package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js +45 -0
- package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.d.ts +336 -0
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.js +35 -0
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/PayoutMethods.d.ts +239 -0
- package/esm/resources/V2/MoneyManagement/PayoutMethods.js +40 -0
- package/esm/resources/V2/MoneyManagement/PayoutMethods.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +92 -0
- package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +13 -0
- package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/ReceivedCredits.d.ts +295 -0
- package/esm/resources/V2/MoneyManagement/ReceivedCredits.js +19 -0
- package/esm/resources/V2/MoneyManagement/ReceivedCredits.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.d.ts +157 -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/TransactionEntries.d.ts +161 -0
- package/esm/resources/V2/MoneyManagement/TransactionEntries.js +19 -0
- package/esm/resources/V2/MoneyManagement/TransactionEntries.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/Transactions.d.ts +192 -0
- package/esm/resources/V2/MoneyManagement/Transactions.js +19 -0
- package/esm/resources/V2/MoneyManagement/Transactions.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/index.d.ts +104 -0
- package/esm/resources/V2/MoneyManagement/index.js +35 -0
- package/esm/resources/V2/MoneyManagement/index.js.map +1 -0
- 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/TestHelpers/FinancialAddresses.d.ts +44 -0
- package/esm/resources/V2/TestHelpers/FinancialAddresses.js +19 -0
- package/esm/resources/V2/TestHelpers/FinancialAddresses.js.map +1 -0
- package/esm/resources/V2/TestHelpers/index.d.ts +8 -0
- package/esm/resources/V2/TestHelpers/index.js +9 -0
- package/esm/resources/V2/TestHelpers/index.js.map +1 -0
- package/esm/resources/V2/index.d.ts +27 -0
- package/esm/resources/V2/index.js +14 -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 +131 -0
- package/esm/resources.js.map +1 -1
- package/esm/stripe.core.d.ts +91 -26
- package/esm/stripe.core.js +25 -2
- package/esm/stripe.core.js.map +1 -1
- package/esm/stripe.esm.node.d.ts +93 -27
- package/esm/stripe.esm.node.js +25 -2
- package/esm/stripe.esm.node.js.map +1 -1
- package/package.json +1 -1
|
@@ -169,6 +169,10 @@ export interface SetupIntent {
|
|
|
169
169
|
* 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).
|
|
170
170
|
*/
|
|
171
171
|
payment_method_types: Array<string>;
|
|
172
|
+
/**
|
|
173
|
+
* Redaction status of this SetupIntent. If the SetupIntent isn't redacted, this field is null.
|
|
174
|
+
*/
|
|
175
|
+
redaction?: SetupIntent.Redaction | null;
|
|
172
176
|
/**
|
|
173
177
|
* ID of the single_use Mandate generated by the SetupIntent.
|
|
174
178
|
*/
|
|
@@ -198,7 +202,7 @@ export declare namespace SetupIntent {
|
|
|
198
202
|
enabled: boolean | null;
|
|
199
203
|
}
|
|
200
204
|
type CancellationReason = 'abandoned' | 'duplicate' | 'requested_by_customer';
|
|
201
|
-
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' | 'payto' | 'pix' | 'promptpay' | 'revolut_pay' | 'samsung_pay' | 'satispay' | 'scalapay' | 'sepa_debit' | 'sofort' | 'sunbit' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay' | 'zip';
|
|
205
|
+
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' | 'shopeepay' | 'sofort' | 'stripe_balance' | 'sunbit' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay' | 'zip';
|
|
202
206
|
type FlowDirection = 'inbound' | 'outbound';
|
|
203
207
|
interface LastSetupError {
|
|
204
208
|
/**
|
|
@@ -345,12 +349,18 @@ export declare namespace SetupIntent {
|
|
|
345
349
|
upi?: PaymentMethodOptions.Upi;
|
|
346
350
|
us_bank_account?: PaymentMethodOptions.UsBankAccount;
|
|
347
351
|
}
|
|
352
|
+
interface Redaction {
|
|
353
|
+
/**
|
|
354
|
+
* Indicates whether this object and its related objects have been redacted or not.
|
|
355
|
+
*/
|
|
356
|
+
status: Redaction.Status;
|
|
357
|
+
}
|
|
348
358
|
type Status = 'canceled' | 'processing' | 'requires_action' | 'requires_confirmation' | 'requires_payment_method' | 'succeeded';
|
|
349
359
|
namespace AutomaticPaymentMethods {
|
|
350
360
|
type AllowRedirects = 'always' | 'never';
|
|
351
361
|
}
|
|
352
362
|
namespace LastSetupError {
|
|
353
|
-
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_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' | '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' | 'email_invalid' | 'expired_card' | '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_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_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_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_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_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' | 'state_unsupported' | 'status_transition_invalid' | 'storer_capability_missing' | 'storer_capability_not_active' | 'stripe_tax_inactive' | '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' | 'tls_version_unsupported' | 'token_already_used' | 'token_card_network_invalid' | 'token_in_use' | 'transfer_source_balance_parameters_mismatch' | 'transfers_not_allowed' | 'url_invalid';
|
|
363
|
+
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_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' | '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' | 'email_invalid' | 'expired_card' | '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_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_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_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_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_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' | 'state_unsupported' | 'status_transition_invalid' | 'storer_capability_missing' | 'storer_capability_not_active' | 'stripe_tax_inactive' | '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' | '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';
|
|
354
364
|
type Type = 'api_error' | 'card_error' | 'idempotency_error' | 'invalid_request_error';
|
|
355
365
|
}
|
|
356
366
|
namespace NextAction {
|
|
@@ -516,6 +526,14 @@ export declare namespace SetupIntent {
|
|
|
516
526
|
* The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
|
|
517
527
|
*/
|
|
518
528
|
billing_agreement_id: string | null;
|
|
529
|
+
/**
|
|
530
|
+
* 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).
|
|
531
|
+
*/
|
|
532
|
+
currency?: string | null;
|
|
533
|
+
/**
|
|
534
|
+
* 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.
|
|
535
|
+
*/
|
|
536
|
+
subsellers?: Array<string>;
|
|
519
537
|
}
|
|
520
538
|
interface Payto {
|
|
521
539
|
mandate_options?: Payto.MandateOptions;
|
|
@@ -738,6 +756,7 @@ export declare namespace SetupIntent {
|
|
|
738
756
|
namespace UsBankAccount {
|
|
739
757
|
interface FinancialConnections {
|
|
740
758
|
filters?: FinancialConnections.Filters;
|
|
759
|
+
manual_entry?: FinancialConnections.ManualEntry;
|
|
741
760
|
/**
|
|
742
761
|
* The list of permissions to request. The `payment_method` permission must be included.
|
|
743
762
|
*/
|
|
@@ -764,15 +783,31 @@ export declare namespace SetupIntent {
|
|
|
764
783
|
* The account subcategories to use to filter for possible accounts to link. Valid subcategories are `checking` and `savings`.
|
|
765
784
|
*/
|
|
766
785
|
account_subcategories?: Array<Filters.AccountSubcategory>;
|
|
786
|
+
/**
|
|
787
|
+
* The institution to use to filter for possible accounts to link.
|
|
788
|
+
*/
|
|
789
|
+
institution?: string;
|
|
790
|
+
}
|
|
791
|
+
interface ManualEntry {
|
|
792
|
+
/**
|
|
793
|
+
* Settings for configuring manual entry of account details.
|
|
794
|
+
*/
|
|
795
|
+
mode?: ManualEntry.Mode;
|
|
767
796
|
}
|
|
768
797
|
type Permission = 'balances' | 'ownership' | 'payment_method' | 'transactions';
|
|
769
|
-
type Prefetch = 'balances' | 'ownership' | 'transactions';
|
|
798
|
+
type Prefetch = 'balances' | 'inferred_balances' | 'ownership' | 'transactions';
|
|
770
799
|
namespace Filters {
|
|
771
800
|
type AccountSubcategory = 'checking' | 'savings';
|
|
772
801
|
}
|
|
802
|
+
namespace ManualEntry {
|
|
803
|
+
type Mode = 'automatic' | 'custom';
|
|
804
|
+
}
|
|
773
805
|
}
|
|
774
806
|
}
|
|
775
807
|
}
|
|
808
|
+
namespace Redaction {
|
|
809
|
+
type Status = 'processing' | 'redacted' | 'validated';
|
|
810
|
+
}
|
|
776
811
|
}
|
|
777
812
|
export interface SetupIntentCreateParams {
|
|
778
813
|
/**
|
|
@@ -890,7 +925,7 @@ export declare namespace SetupIntentCreateParams {
|
|
|
890
925
|
*/
|
|
891
926
|
enabled: boolean;
|
|
892
927
|
}
|
|
893
|
-
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' | 'payto' | 'pix' | 'promptpay' | 'revolut_pay' | 'samsung_pay' | 'satispay' | 'scalapay' | 'sepa_debit' | 'sofort' | 'sunbit' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay' | 'zip';
|
|
928
|
+
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' | 'shopeepay' | 'sofort' | 'stripe_balance' | 'sunbit' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay' | 'zip';
|
|
894
929
|
type FlowDirection = 'inbound' | 'outbound';
|
|
895
930
|
interface MandateData {
|
|
896
931
|
/**
|
|
@@ -983,10 +1018,18 @@ export declare namespace SetupIntentCreateParams {
|
|
|
983
1018
|
* If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
|
|
984
1019
|
*/
|
|
985
1020
|
giropay?: PaymentMethodData.Giropay;
|
|
1021
|
+
/**
|
|
1022
|
+
* If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
|
|
1023
|
+
*/
|
|
1024
|
+
gopay?: PaymentMethodData.Gopay;
|
|
986
1025
|
/**
|
|
987
1026
|
* If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
|
|
988
1027
|
*/
|
|
989
1028
|
grabpay?: PaymentMethodData.Grabpay;
|
|
1029
|
+
/**
|
|
1030
|
+
* If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
|
|
1031
|
+
*/
|
|
1032
|
+
id_bank_transfer?: PaymentMethodData.IdBankTransfer;
|
|
990
1033
|
/**
|
|
991
1034
|
* If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
|
|
992
1035
|
*/
|
|
@@ -1063,6 +1106,10 @@ export declare namespace SetupIntentCreateParams {
|
|
|
1063
1106
|
* If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
|
|
1064
1107
|
*/
|
|
1065
1108
|
paypal?: PaymentMethodData.Paypal;
|
|
1109
|
+
/**
|
|
1110
|
+
* If this is a `paypay` PaymentMethod, this hash contains details about the PayPay payment method.
|
|
1111
|
+
*/
|
|
1112
|
+
paypay?: PaymentMethodData.Paypay;
|
|
1066
1113
|
/**
|
|
1067
1114
|
* If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
|
|
1068
1115
|
*/
|
|
@@ -1075,10 +1122,18 @@ export declare namespace SetupIntentCreateParams {
|
|
|
1075
1122
|
* If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
|
|
1076
1123
|
*/
|
|
1077
1124
|
promptpay?: PaymentMethodData.Promptpay;
|
|
1125
|
+
/**
|
|
1126
|
+
* If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
|
|
1127
|
+
*/
|
|
1128
|
+
qris?: PaymentMethodData.Qris;
|
|
1078
1129
|
/**
|
|
1079
1130
|
* Options to configure Radar. See [Radar Session](https://docs.stripe.com/radar/radar-session) for more information.
|
|
1080
1131
|
*/
|
|
1081
1132
|
radar_options?: PaymentMethodData.RadarOptions;
|
|
1133
|
+
/**
|
|
1134
|
+
* If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
|
|
1135
|
+
*/
|
|
1136
|
+
rechnung?: PaymentMethodData.Rechnung;
|
|
1082
1137
|
/**
|
|
1083
1138
|
* If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
|
|
1084
1139
|
*/
|
|
@@ -1099,10 +1154,22 @@ export declare namespace SetupIntentCreateParams {
|
|
|
1099
1154
|
* If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
|
|
1100
1155
|
*/
|
|
1101
1156
|
sepa_debit?: PaymentMethodData.SepaDebit;
|
|
1157
|
+
/**
|
|
1158
|
+
* ID of the SharedPaymentGrantedToken used to confirm this PaymentIntent.
|
|
1159
|
+
*/
|
|
1160
|
+
shared_payment_granted_token?: string;
|
|
1161
|
+
/**
|
|
1162
|
+
* If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
|
|
1163
|
+
*/
|
|
1164
|
+
shopeepay?: PaymentMethodData.Shopeepay;
|
|
1102
1165
|
/**
|
|
1103
1166
|
* If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
|
|
1104
1167
|
*/
|
|
1105
1168
|
sofort?: PaymentMethodData.Sofort;
|
|
1169
|
+
/**
|
|
1170
|
+
* This hash contains details about the Stripe balance payment method.
|
|
1171
|
+
*/
|
|
1172
|
+
stripe_balance?: PaymentMethodData.StripeBalance;
|
|
1106
1173
|
/**
|
|
1107
1174
|
* If this is a `sunbit` PaymentMethod, this hash contains details about the Sunbit payment method.
|
|
1108
1175
|
*/
|
|
@@ -1349,8 +1416,16 @@ export declare namespace SetupIntentCreateParams {
|
|
|
1349
1416
|
}
|
|
1350
1417
|
interface Giropay {
|
|
1351
1418
|
}
|
|
1419
|
+
interface Gopay {
|
|
1420
|
+
}
|
|
1352
1421
|
interface Grabpay {
|
|
1353
1422
|
}
|
|
1423
|
+
interface IdBankTransfer {
|
|
1424
|
+
/**
|
|
1425
|
+
* Bank where the account is held.
|
|
1426
|
+
*/
|
|
1427
|
+
bank?: IdBankTransfer.Bank;
|
|
1428
|
+
}
|
|
1354
1429
|
interface Ideal {
|
|
1355
1430
|
/**
|
|
1356
1431
|
* The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
|
@@ -1424,6 +1499,8 @@ export declare namespace SetupIntentCreateParams {
|
|
|
1424
1499
|
}
|
|
1425
1500
|
interface Paypal {
|
|
1426
1501
|
}
|
|
1502
|
+
interface Paypay {
|
|
1503
|
+
}
|
|
1427
1504
|
interface Payto {
|
|
1428
1505
|
/**
|
|
1429
1506
|
* The account number for the bank account.
|
|
@@ -1442,12 +1519,20 @@ export declare namespace SetupIntentCreateParams {
|
|
|
1442
1519
|
}
|
|
1443
1520
|
interface Promptpay {
|
|
1444
1521
|
}
|
|
1522
|
+
interface Qris {
|
|
1523
|
+
}
|
|
1445
1524
|
interface RadarOptions {
|
|
1446
1525
|
/**
|
|
1447
1526
|
* 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.
|
|
1448
1527
|
*/
|
|
1449
1528
|
session?: string;
|
|
1450
1529
|
}
|
|
1530
|
+
interface Rechnung {
|
|
1531
|
+
/**
|
|
1532
|
+
* Customer's date of birth
|
|
1533
|
+
*/
|
|
1534
|
+
dob: Rechnung.Dob;
|
|
1535
|
+
}
|
|
1451
1536
|
interface RevolutPay {
|
|
1452
1537
|
}
|
|
1453
1538
|
interface SamsungPay {
|
|
@@ -1462,19 +1547,27 @@ export declare namespace SetupIntentCreateParams {
|
|
|
1462
1547
|
*/
|
|
1463
1548
|
iban: string;
|
|
1464
1549
|
}
|
|
1550
|
+
interface Shopeepay {
|
|
1551
|
+
}
|
|
1465
1552
|
interface Sofort {
|
|
1466
1553
|
/**
|
|
1467
1554
|
* Two-letter ISO code representing the country the bank account is located in.
|
|
1468
1555
|
*/
|
|
1469
1556
|
country: Sofort.Country;
|
|
1470
1557
|
}
|
|
1558
|
+
interface StripeBalance {
|
|
1559
|
+
/**
|
|
1560
|
+
* The connected account ID whose Stripe balance to use as the source of payment
|
|
1561
|
+
*/
|
|
1562
|
+
account?: string;
|
|
1563
|
+
}
|
|
1471
1564
|
interface Sunbit {
|
|
1472
1565
|
}
|
|
1473
1566
|
interface Swish {
|
|
1474
1567
|
}
|
|
1475
1568
|
interface Twint {
|
|
1476
1569
|
}
|
|
1477
|
-
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' | 'payto' | 'pix' | 'promptpay' | 'revolut_pay' | 'samsung_pay' | 'satispay' | 'scalapay' | 'sepa_debit' | 'sofort' | 'sunbit' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay' | 'zip';
|
|
1570
|
+
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' | 'shopeepay' | 'sofort' | 'stripe_balance' | 'sunbit' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay' | 'zip';
|
|
1478
1571
|
interface Upi {
|
|
1479
1572
|
/**
|
|
1480
1573
|
* Configuration options for setting up an eMandate
|
|
@@ -1514,6 +1607,9 @@ export declare namespace SetupIntentCreateParams {
|
|
|
1514
1607
|
type AccountHolderType = 'company' | 'individual';
|
|
1515
1608
|
type Bank = 'affin_bank' | 'agrobank' | 'alliance_bank' | 'ambank' | 'bank_islam' | 'bank_muamalat' | 'bank_of_china' | 'bank_rakyat' | 'bsn' | 'cimb' | 'deutsche_bank' | 'hong_leong_bank' | 'hsbc' | 'kfh' | 'maybank2e' | 'maybank2u' | 'ocbc' | 'pb_enterprise' | 'public_bank' | 'rhb' | 'standard_chartered' | 'uob';
|
|
1516
1609
|
}
|
|
1610
|
+
namespace IdBankTransfer {
|
|
1611
|
+
type Bank = 'bca' | 'bni' | 'bri' | 'cimb' | 'permata';
|
|
1612
|
+
}
|
|
1517
1613
|
namespace Ideal {
|
|
1518
1614
|
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';
|
|
1519
1615
|
}
|
|
@@ -1539,6 +1635,22 @@ export declare namespace SetupIntentCreateParams {
|
|
|
1539
1635
|
namespace P24 {
|
|
1540
1636
|
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';
|
|
1541
1637
|
}
|
|
1638
|
+
namespace Rechnung {
|
|
1639
|
+
interface Dob {
|
|
1640
|
+
/**
|
|
1641
|
+
* The day of birth, between 1 and 31.
|
|
1642
|
+
*/
|
|
1643
|
+
day: number;
|
|
1644
|
+
/**
|
|
1645
|
+
* The month of birth, between 1 and 12.
|
|
1646
|
+
*/
|
|
1647
|
+
month: number;
|
|
1648
|
+
/**
|
|
1649
|
+
* The four-digit year of birth.
|
|
1650
|
+
*/
|
|
1651
|
+
year: number;
|
|
1652
|
+
}
|
|
1653
|
+
}
|
|
1542
1654
|
namespace Sofort {
|
|
1543
1655
|
type Country = 'AT' | 'BE' | 'DE' | 'ES' | 'IT' | 'NL';
|
|
1544
1656
|
}
|
|
@@ -1652,6 +1764,11 @@ export declare namespace SetupIntentCreateParams {
|
|
|
1652
1764
|
* The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
|
|
1653
1765
|
*/
|
|
1654
1766
|
billing_agreement_id?: string;
|
|
1767
|
+
currency?: string;
|
|
1768
|
+
/**
|
|
1769
|
+
* 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.
|
|
1770
|
+
*/
|
|
1771
|
+
subsellers?: Array<string>;
|
|
1655
1772
|
}
|
|
1656
1773
|
interface Payto {
|
|
1657
1774
|
/**
|
|
@@ -2040,6 +2157,10 @@ export declare namespace SetupIntentCreateParams {
|
|
|
2040
2157
|
* Provide filters for the linked accounts that the customer can select for the payment method.
|
|
2041
2158
|
*/
|
|
2042
2159
|
filters?: FinancialConnections.Filters;
|
|
2160
|
+
/**
|
|
2161
|
+
* Customize manual entry behavior
|
|
2162
|
+
*/
|
|
2163
|
+
manual_entry?: FinancialConnections.ManualEntry;
|
|
2043
2164
|
/**
|
|
2044
2165
|
* 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`.
|
|
2045
2166
|
*/
|
|
@@ -2072,12 +2193,25 @@ export declare namespace SetupIntentCreateParams {
|
|
|
2072
2193
|
* The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
|
|
2073
2194
|
*/
|
|
2074
2195
|
account_subcategories?: Array<Filters.AccountSubcategory>;
|
|
2196
|
+
/**
|
|
2197
|
+
* ID of the institution to use to filter for selectable accounts.
|
|
2198
|
+
*/
|
|
2199
|
+
institution?: string;
|
|
2200
|
+
}
|
|
2201
|
+
interface ManualEntry {
|
|
2202
|
+
/**
|
|
2203
|
+
* Settings for configuring manual entry of account details.
|
|
2204
|
+
*/
|
|
2205
|
+
mode: ManualEntry.Mode;
|
|
2075
2206
|
}
|
|
2076
2207
|
type Permission = 'balances' | 'ownership' | 'payment_method' | 'transactions';
|
|
2077
|
-
type Prefetch = 'balances' | 'ownership' | 'transactions';
|
|
2208
|
+
type Prefetch = 'balances' | 'inferred_balances' | 'ownership' | 'transactions';
|
|
2078
2209
|
namespace Filters {
|
|
2079
2210
|
type AccountSubcategory = 'checking' | 'savings';
|
|
2080
2211
|
}
|
|
2212
|
+
namespace ManualEntry {
|
|
2213
|
+
type Mode = 'automatic' | 'custom';
|
|
2214
|
+
}
|
|
2081
2215
|
}
|
|
2082
2216
|
namespace Networks {
|
|
2083
2217
|
type Requested = 'ach' | 'us_domestic_wire';
|
|
@@ -2159,7 +2293,7 @@ export interface SetupIntentUpdateParams {
|
|
|
2159
2293
|
payment_method_types?: Array<string>;
|
|
2160
2294
|
}
|
|
2161
2295
|
export declare namespace SetupIntentUpdateParams {
|
|
2162
|
-
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' | 'payto' | 'pix' | 'promptpay' | 'revolut_pay' | 'samsung_pay' | 'satispay' | 'scalapay' | 'sepa_debit' | 'sofort' | 'sunbit' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay' | 'zip';
|
|
2296
|
+
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' | 'shopeepay' | 'sofort' | 'stripe_balance' | 'sunbit' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay' | 'zip';
|
|
2163
2297
|
type FlowDirection = 'inbound' | 'outbound';
|
|
2164
2298
|
interface PaymentMethodData {
|
|
2165
2299
|
/**
|
|
@@ -2246,10 +2380,18 @@ export declare namespace SetupIntentUpdateParams {
|
|
|
2246
2380
|
* If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
|
|
2247
2381
|
*/
|
|
2248
2382
|
giropay?: PaymentMethodData.Giropay;
|
|
2383
|
+
/**
|
|
2384
|
+
* If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
|
|
2385
|
+
*/
|
|
2386
|
+
gopay?: PaymentMethodData.Gopay;
|
|
2249
2387
|
/**
|
|
2250
2388
|
* If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
|
|
2251
2389
|
*/
|
|
2252
2390
|
grabpay?: PaymentMethodData.Grabpay;
|
|
2391
|
+
/**
|
|
2392
|
+
* If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
|
|
2393
|
+
*/
|
|
2394
|
+
id_bank_transfer?: PaymentMethodData.IdBankTransfer;
|
|
2253
2395
|
/**
|
|
2254
2396
|
* If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
|
|
2255
2397
|
*/
|
|
@@ -2326,6 +2468,10 @@ export declare namespace SetupIntentUpdateParams {
|
|
|
2326
2468
|
* If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
|
|
2327
2469
|
*/
|
|
2328
2470
|
paypal?: PaymentMethodData.Paypal;
|
|
2471
|
+
/**
|
|
2472
|
+
* If this is a `paypay` PaymentMethod, this hash contains details about the PayPay payment method.
|
|
2473
|
+
*/
|
|
2474
|
+
paypay?: PaymentMethodData.Paypay;
|
|
2329
2475
|
/**
|
|
2330
2476
|
* If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
|
|
2331
2477
|
*/
|
|
@@ -2338,10 +2484,18 @@ export declare namespace SetupIntentUpdateParams {
|
|
|
2338
2484
|
* If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
|
|
2339
2485
|
*/
|
|
2340
2486
|
promptpay?: PaymentMethodData.Promptpay;
|
|
2487
|
+
/**
|
|
2488
|
+
* If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
|
|
2489
|
+
*/
|
|
2490
|
+
qris?: PaymentMethodData.Qris;
|
|
2341
2491
|
/**
|
|
2342
2492
|
* Options to configure Radar. See [Radar Session](https://docs.stripe.com/radar/radar-session) for more information.
|
|
2343
2493
|
*/
|
|
2344
2494
|
radar_options?: PaymentMethodData.RadarOptions;
|
|
2495
|
+
/**
|
|
2496
|
+
* If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
|
|
2497
|
+
*/
|
|
2498
|
+
rechnung?: PaymentMethodData.Rechnung;
|
|
2345
2499
|
/**
|
|
2346
2500
|
* If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
|
|
2347
2501
|
*/
|
|
@@ -2362,10 +2516,22 @@ export declare namespace SetupIntentUpdateParams {
|
|
|
2362
2516
|
* If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
|
|
2363
2517
|
*/
|
|
2364
2518
|
sepa_debit?: PaymentMethodData.SepaDebit;
|
|
2519
|
+
/**
|
|
2520
|
+
* ID of the SharedPaymentGrantedToken used to confirm this PaymentIntent.
|
|
2521
|
+
*/
|
|
2522
|
+
shared_payment_granted_token?: string;
|
|
2523
|
+
/**
|
|
2524
|
+
* If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
|
|
2525
|
+
*/
|
|
2526
|
+
shopeepay?: PaymentMethodData.Shopeepay;
|
|
2365
2527
|
/**
|
|
2366
2528
|
* If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
|
|
2367
2529
|
*/
|
|
2368
2530
|
sofort?: PaymentMethodData.Sofort;
|
|
2531
|
+
/**
|
|
2532
|
+
* This hash contains details about the Stripe balance payment method.
|
|
2533
|
+
*/
|
|
2534
|
+
stripe_balance?: PaymentMethodData.StripeBalance;
|
|
2369
2535
|
/**
|
|
2370
2536
|
* If this is a `sunbit` PaymentMethod, this hash contains details about the Sunbit payment method.
|
|
2371
2537
|
*/
|
|
@@ -2563,8 +2729,16 @@ export declare namespace SetupIntentUpdateParams {
|
|
|
2563
2729
|
}
|
|
2564
2730
|
interface Giropay {
|
|
2565
2731
|
}
|
|
2732
|
+
interface Gopay {
|
|
2733
|
+
}
|
|
2566
2734
|
interface Grabpay {
|
|
2567
2735
|
}
|
|
2736
|
+
interface IdBankTransfer {
|
|
2737
|
+
/**
|
|
2738
|
+
* Bank where the account is held.
|
|
2739
|
+
*/
|
|
2740
|
+
bank?: IdBankTransfer.Bank;
|
|
2741
|
+
}
|
|
2568
2742
|
interface Ideal {
|
|
2569
2743
|
/**
|
|
2570
2744
|
* The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
|
@@ -2638,6 +2812,8 @@ export declare namespace SetupIntentUpdateParams {
|
|
|
2638
2812
|
}
|
|
2639
2813
|
interface Paypal {
|
|
2640
2814
|
}
|
|
2815
|
+
interface Paypay {
|
|
2816
|
+
}
|
|
2641
2817
|
interface Payto {
|
|
2642
2818
|
/**
|
|
2643
2819
|
* The account number for the bank account.
|
|
@@ -2656,12 +2832,20 @@ export declare namespace SetupIntentUpdateParams {
|
|
|
2656
2832
|
}
|
|
2657
2833
|
interface Promptpay {
|
|
2658
2834
|
}
|
|
2835
|
+
interface Qris {
|
|
2836
|
+
}
|
|
2659
2837
|
interface RadarOptions {
|
|
2660
2838
|
/**
|
|
2661
2839
|
* 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.
|
|
2662
2840
|
*/
|
|
2663
2841
|
session?: string;
|
|
2664
2842
|
}
|
|
2843
|
+
interface Rechnung {
|
|
2844
|
+
/**
|
|
2845
|
+
* Customer's date of birth
|
|
2846
|
+
*/
|
|
2847
|
+
dob: Rechnung.Dob;
|
|
2848
|
+
}
|
|
2665
2849
|
interface RevolutPay {
|
|
2666
2850
|
}
|
|
2667
2851
|
interface SamsungPay {
|
|
@@ -2676,19 +2860,27 @@ export declare namespace SetupIntentUpdateParams {
|
|
|
2676
2860
|
*/
|
|
2677
2861
|
iban: string;
|
|
2678
2862
|
}
|
|
2863
|
+
interface Shopeepay {
|
|
2864
|
+
}
|
|
2679
2865
|
interface Sofort {
|
|
2680
2866
|
/**
|
|
2681
2867
|
* Two-letter ISO code representing the country the bank account is located in.
|
|
2682
2868
|
*/
|
|
2683
2869
|
country: Sofort.Country;
|
|
2684
2870
|
}
|
|
2871
|
+
interface StripeBalance {
|
|
2872
|
+
/**
|
|
2873
|
+
* The connected account ID whose Stripe balance to use as the source of payment
|
|
2874
|
+
*/
|
|
2875
|
+
account?: string;
|
|
2876
|
+
}
|
|
2685
2877
|
interface Sunbit {
|
|
2686
2878
|
}
|
|
2687
2879
|
interface Swish {
|
|
2688
2880
|
}
|
|
2689
2881
|
interface Twint {
|
|
2690
2882
|
}
|
|
2691
|
-
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' | 'payto' | 'pix' | 'promptpay' | 'revolut_pay' | 'samsung_pay' | 'satispay' | 'scalapay' | 'sepa_debit' | 'sofort' | 'sunbit' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay' | 'zip';
|
|
2883
|
+
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' | 'shopeepay' | 'sofort' | 'stripe_balance' | 'sunbit' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay' | 'zip';
|
|
2692
2884
|
interface Upi {
|
|
2693
2885
|
/**
|
|
2694
2886
|
* Configuration options for setting up an eMandate
|
|
@@ -2728,6 +2920,9 @@ export declare namespace SetupIntentUpdateParams {
|
|
|
2728
2920
|
type AccountHolderType = 'company' | 'individual';
|
|
2729
2921
|
type Bank = 'affin_bank' | 'agrobank' | 'alliance_bank' | 'ambank' | 'bank_islam' | 'bank_muamalat' | 'bank_of_china' | 'bank_rakyat' | 'bsn' | 'cimb' | 'deutsche_bank' | 'hong_leong_bank' | 'hsbc' | 'kfh' | 'maybank2e' | 'maybank2u' | 'ocbc' | 'pb_enterprise' | 'public_bank' | 'rhb' | 'standard_chartered' | 'uob';
|
|
2730
2922
|
}
|
|
2923
|
+
namespace IdBankTransfer {
|
|
2924
|
+
type Bank = 'bca' | 'bni' | 'bri' | 'cimb' | 'permata';
|
|
2925
|
+
}
|
|
2731
2926
|
namespace Ideal {
|
|
2732
2927
|
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';
|
|
2733
2928
|
}
|
|
@@ -2753,6 +2948,22 @@ export declare namespace SetupIntentUpdateParams {
|
|
|
2753
2948
|
namespace P24 {
|
|
2754
2949
|
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';
|
|
2755
2950
|
}
|
|
2951
|
+
namespace Rechnung {
|
|
2952
|
+
interface Dob {
|
|
2953
|
+
/**
|
|
2954
|
+
* The day of birth, between 1 and 31.
|
|
2955
|
+
*/
|
|
2956
|
+
day: number;
|
|
2957
|
+
/**
|
|
2958
|
+
* The month of birth, between 1 and 12.
|
|
2959
|
+
*/
|
|
2960
|
+
month: number;
|
|
2961
|
+
/**
|
|
2962
|
+
* The four-digit year of birth.
|
|
2963
|
+
*/
|
|
2964
|
+
year: number;
|
|
2965
|
+
}
|
|
2966
|
+
}
|
|
2756
2967
|
namespace Sofort {
|
|
2757
2968
|
type Country = 'AT' | 'BE' | 'DE' | 'ES' | 'IT' | 'NL';
|
|
2758
2969
|
}
|
|
@@ -2866,6 +3077,11 @@ export declare namespace SetupIntentUpdateParams {
|
|
|
2866
3077
|
* The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
|
|
2867
3078
|
*/
|
|
2868
3079
|
billing_agreement_id?: string;
|
|
3080
|
+
currency?: string;
|
|
3081
|
+
/**
|
|
3082
|
+
* 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.
|
|
3083
|
+
*/
|
|
3084
|
+
subsellers?: Array<string>;
|
|
2869
3085
|
}
|
|
2870
3086
|
interface Payto {
|
|
2871
3087
|
/**
|
|
@@ -3254,6 +3470,10 @@ export declare namespace SetupIntentUpdateParams {
|
|
|
3254
3470
|
* Provide filters for the linked accounts that the customer can select for the payment method.
|
|
3255
3471
|
*/
|
|
3256
3472
|
filters?: FinancialConnections.Filters;
|
|
3473
|
+
/**
|
|
3474
|
+
* Customize manual entry behavior
|
|
3475
|
+
*/
|
|
3476
|
+
manual_entry?: FinancialConnections.ManualEntry;
|
|
3257
3477
|
/**
|
|
3258
3478
|
* 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`.
|
|
3259
3479
|
*/
|
|
@@ -3286,12 +3506,25 @@ export declare namespace SetupIntentUpdateParams {
|
|
|
3286
3506
|
* The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
|
|
3287
3507
|
*/
|
|
3288
3508
|
account_subcategories?: Array<Filters.AccountSubcategory>;
|
|
3509
|
+
/**
|
|
3510
|
+
* ID of the institution to use to filter for selectable accounts.
|
|
3511
|
+
*/
|
|
3512
|
+
institution?: string;
|
|
3513
|
+
}
|
|
3514
|
+
interface ManualEntry {
|
|
3515
|
+
/**
|
|
3516
|
+
* Settings for configuring manual entry of account details.
|
|
3517
|
+
*/
|
|
3518
|
+
mode: ManualEntry.Mode;
|
|
3289
3519
|
}
|
|
3290
3520
|
type Permission = 'balances' | 'ownership' | 'payment_method' | 'transactions';
|
|
3291
|
-
type Prefetch = 'balances' | 'ownership' | 'transactions';
|
|
3521
|
+
type Prefetch = 'balances' | 'inferred_balances' | 'ownership' | 'transactions';
|
|
3292
3522
|
namespace Filters {
|
|
3293
3523
|
type AccountSubcategory = 'checking' | 'savings';
|
|
3294
3524
|
}
|
|
3525
|
+
namespace ManualEntry {
|
|
3526
|
+
type Mode = 'automatic' | 'custom';
|
|
3527
|
+
}
|
|
3295
3528
|
}
|
|
3296
3529
|
namespace Networks {
|
|
3297
3530
|
type Requested = 'ach' | 'us_domestic_wire';
|
|
@@ -3468,10 +3701,18 @@ export declare namespace SetupIntentConfirmParams {
|
|
|
3468
3701
|
* If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
|
|
3469
3702
|
*/
|
|
3470
3703
|
giropay?: PaymentMethodData.Giropay;
|
|
3704
|
+
/**
|
|
3705
|
+
* If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
|
|
3706
|
+
*/
|
|
3707
|
+
gopay?: PaymentMethodData.Gopay;
|
|
3471
3708
|
/**
|
|
3472
3709
|
* If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
|
|
3473
3710
|
*/
|
|
3474
3711
|
grabpay?: PaymentMethodData.Grabpay;
|
|
3712
|
+
/**
|
|
3713
|
+
* If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
|
|
3714
|
+
*/
|
|
3715
|
+
id_bank_transfer?: PaymentMethodData.IdBankTransfer;
|
|
3475
3716
|
/**
|
|
3476
3717
|
* If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
|
|
3477
3718
|
*/
|
|
@@ -3548,6 +3789,10 @@ export declare namespace SetupIntentConfirmParams {
|
|
|
3548
3789
|
* If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
|
|
3549
3790
|
*/
|
|
3550
3791
|
paypal?: PaymentMethodData.Paypal;
|
|
3792
|
+
/**
|
|
3793
|
+
* If this is a `paypay` PaymentMethod, this hash contains details about the PayPay payment method.
|
|
3794
|
+
*/
|
|
3795
|
+
paypay?: PaymentMethodData.Paypay;
|
|
3551
3796
|
/**
|
|
3552
3797
|
* If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
|
|
3553
3798
|
*/
|
|
@@ -3560,10 +3805,18 @@ export declare namespace SetupIntentConfirmParams {
|
|
|
3560
3805
|
* If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
|
|
3561
3806
|
*/
|
|
3562
3807
|
promptpay?: PaymentMethodData.Promptpay;
|
|
3808
|
+
/**
|
|
3809
|
+
* If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
|
|
3810
|
+
*/
|
|
3811
|
+
qris?: PaymentMethodData.Qris;
|
|
3563
3812
|
/**
|
|
3564
3813
|
* Options to configure Radar. See [Radar Session](https://docs.stripe.com/radar/radar-session) for more information.
|
|
3565
3814
|
*/
|
|
3566
3815
|
radar_options?: PaymentMethodData.RadarOptions;
|
|
3816
|
+
/**
|
|
3817
|
+
* If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
|
|
3818
|
+
*/
|
|
3819
|
+
rechnung?: PaymentMethodData.Rechnung;
|
|
3567
3820
|
/**
|
|
3568
3821
|
* If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
|
|
3569
3822
|
*/
|
|
@@ -3584,10 +3837,22 @@ export declare namespace SetupIntentConfirmParams {
|
|
|
3584
3837
|
* If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
|
|
3585
3838
|
*/
|
|
3586
3839
|
sepa_debit?: PaymentMethodData.SepaDebit;
|
|
3840
|
+
/**
|
|
3841
|
+
* ID of the SharedPaymentGrantedToken used to confirm this PaymentIntent.
|
|
3842
|
+
*/
|
|
3843
|
+
shared_payment_granted_token?: string;
|
|
3844
|
+
/**
|
|
3845
|
+
* If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
|
|
3846
|
+
*/
|
|
3847
|
+
shopeepay?: PaymentMethodData.Shopeepay;
|
|
3587
3848
|
/**
|
|
3588
3849
|
* If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
|
|
3589
3850
|
*/
|
|
3590
3851
|
sofort?: PaymentMethodData.Sofort;
|
|
3852
|
+
/**
|
|
3853
|
+
* This hash contains details about the Stripe balance payment method.
|
|
3854
|
+
*/
|
|
3855
|
+
stripe_balance?: PaymentMethodData.StripeBalance;
|
|
3591
3856
|
/**
|
|
3592
3857
|
* If this is a `sunbit` PaymentMethod, this hash contains details about the Sunbit payment method.
|
|
3593
3858
|
*/
|
|
@@ -3820,8 +4085,16 @@ export declare namespace SetupIntentConfirmParams {
|
|
|
3820
4085
|
}
|
|
3821
4086
|
interface Giropay {
|
|
3822
4087
|
}
|
|
4088
|
+
interface Gopay {
|
|
4089
|
+
}
|
|
3823
4090
|
interface Grabpay {
|
|
3824
4091
|
}
|
|
4092
|
+
interface IdBankTransfer {
|
|
4093
|
+
/**
|
|
4094
|
+
* Bank where the account is held.
|
|
4095
|
+
*/
|
|
4096
|
+
bank?: IdBankTransfer.Bank;
|
|
4097
|
+
}
|
|
3825
4098
|
interface Ideal {
|
|
3826
4099
|
/**
|
|
3827
4100
|
* The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
|
@@ -3895,6 +4168,8 @@ export declare namespace SetupIntentConfirmParams {
|
|
|
3895
4168
|
}
|
|
3896
4169
|
interface Paypal {
|
|
3897
4170
|
}
|
|
4171
|
+
interface Paypay {
|
|
4172
|
+
}
|
|
3898
4173
|
interface Payto {
|
|
3899
4174
|
/**
|
|
3900
4175
|
* The account number for the bank account.
|
|
@@ -3913,12 +4188,20 @@ export declare namespace SetupIntentConfirmParams {
|
|
|
3913
4188
|
}
|
|
3914
4189
|
interface Promptpay {
|
|
3915
4190
|
}
|
|
4191
|
+
interface Qris {
|
|
4192
|
+
}
|
|
3916
4193
|
interface RadarOptions {
|
|
3917
4194
|
/**
|
|
3918
4195
|
* 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.
|
|
3919
4196
|
*/
|
|
3920
4197
|
session?: string;
|
|
3921
4198
|
}
|
|
4199
|
+
interface Rechnung {
|
|
4200
|
+
/**
|
|
4201
|
+
* Customer's date of birth
|
|
4202
|
+
*/
|
|
4203
|
+
dob: Rechnung.Dob;
|
|
4204
|
+
}
|
|
3922
4205
|
interface RevolutPay {
|
|
3923
4206
|
}
|
|
3924
4207
|
interface SamsungPay {
|
|
@@ -3933,19 +4216,27 @@ export declare namespace SetupIntentConfirmParams {
|
|
|
3933
4216
|
*/
|
|
3934
4217
|
iban: string;
|
|
3935
4218
|
}
|
|
4219
|
+
interface Shopeepay {
|
|
4220
|
+
}
|
|
3936
4221
|
interface Sofort {
|
|
3937
4222
|
/**
|
|
3938
4223
|
* Two-letter ISO code representing the country the bank account is located in.
|
|
3939
4224
|
*/
|
|
3940
4225
|
country: Sofort.Country;
|
|
3941
4226
|
}
|
|
4227
|
+
interface StripeBalance {
|
|
4228
|
+
/**
|
|
4229
|
+
* The connected account ID whose Stripe balance to use as the source of payment
|
|
4230
|
+
*/
|
|
4231
|
+
account?: string;
|
|
4232
|
+
}
|
|
3942
4233
|
interface Sunbit {
|
|
3943
4234
|
}
|
|
3944
4235
|
interface Swish {
|
|
3945
4236
|
}
|
|
3946
4237
|
interface Twint {
|
|
3947
4238
|
}
|
|
3948
|
-
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' | 'payto' | 'pix' | 'promptpay' | 'revolut_pay' | 'samsung_pay' | 'satispay' | 'scalapay' | 'sepa_debit' | 'sofort' | 'sunbit' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay' | 'zip';
|
|
4239
|
+
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' | 'shopeepay' | 'sofort' | 'stripe_balance' | 'sunbit' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay' | 'zip';
|
|
3949
4240
|
interface Upi {
|
|
3950
4241
|
/**
|
|
3951
4242
|
* Configuration options for setting up an eMandate
|
|
@@ -3985,6 +4276,9 @@ export declare namespace SetupIntentConfirmParams {
|
|
|
3985
4276
|
type AccountHolderType = 'company' | 'individual';
|
|
3986
4277
|
type Bank = 'affin_bank' | 'agrobank' | 'alliance_bank' | 'ambank' | 'bank_islam' | 'bank_muamalat' | 'bank_of_china' | 'bank_rakyat' | 'bsn' | 'cimb' | 'deutsche_bank' | 'hong_leong_bank' | 'hsbc' | 'kfh' | 'maybank2e' | 'maybank2u' | 'ocbc' | 'pb_enterprise' | 'public_bank' | 'rhb' | 'standard_chartered' | 'uob';
|
|
3987
4278
|
}
|
|
4279
|
+
namespace IdBankTransfer {
|
|
4280
|
+
type Bank = 'bca' | 'bni' | 'bri' | 'cimb' | 'permata';
|
|
4281
|
+
}
|
|
3988
4282
|
namespace Ideal {
|
|
3989
4283
|
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';
|
|
3990
4284
|
}
|
|
@@ -4010,6 +4304,22 @@ export declare namespace SetupIntentConfirmParams {
|
|
|
4010
4304
|
namespace P24 {
|
|
4011
4305
|
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';
|
|
4012
4306
|
}
|
|
4307
|
+
namespace Rechnung {
|
|
4308
|
+
interface Dob {
|
|
4309
|
+
/**
|
|
4310
|
+
* The day of birth, between 1 and 31.
|
|
4311
|
+
*/
|
|
4312
|
+
day: number;
|
|
4313
|
+
/**
|
|
4314
|
+
* The month of birth, between 1 and 12.
|
|
4315
|
+
*/
|
|
4316
|
+
month: number;
|
|
4317
|
+
/**
|
|
4318
|
+
* The four-digit year of birth.
|
|
4319
|
+
*/
|
|
4320
|
+
year: number;
|
|
4321
|
+
}
|
|
4322
|
+
}
|
|
4013
4323
|
namespace Sofort {
|
|
4014
4324
|
type Country = 'AT' | 'BE' | 'DE' | 'ES' | 'IT' | 'NL';
|
|
4015
4325
|
}
|
|
@@ -4123,6 +4433,11 @@ export declare namespace SetupIntentConfirmParams {
|
|
|
4123
4433
|
* The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
|
|
4124
4434
|
*/
|
|
4125
4435
|
billing_agreement_id?: string;
|
|
4436
|
+
currency?: string;
|
|
4437
|
+
/**
|
|
4438
|
+
* 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.
|
|
4439
|
+
*/
|
|
4440
|
+
subsellers?: Array<string>;
|
|
4126
4441
|
}
|
|
4127
4442
|
interface Payto {
|
|
4128
4443
|
/**
|
|
@@ -4511,6 +4826,10 @@ export declare namespace SetupIntentConfirmParams {
|
|
|
4511
4826
|
* Provide filters for the linked accounts that the customer can select for the payment method.
|
|
4512
4827
|
*/
|
|
4513
4828
|
filters?: FinancialConnections.Filters;
|
|
4829
|
+
/**
|
|
4830
|
+
* Customize manual entry behavior
|
|
4831
|
+
*/
|
|
4832
|
+
manual_entry?: FinancialConnections.ManualEntry;
|
|
4514
4833
|
/**
|
|
4515
4834
|
* 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`.
|
|
4516
4835
|
*/
|
|
@@ -4543,12 +4862,25 @@ export declare namespace SetupIntentConfirmParams {
|
|
|
4543
4862
|
* The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
|
|
4544
4863
|
*/
|
|
4545
4864
|
account_subcategories?: Array<Filters.AccountSubcategory>;
|
|
4865
|
+
/**
|
|
4866
|
+
* ID of the institution to use to filter for selectable accounts.
|
|
4867
|
+
*/
|
|
4868
|
+
institution?: string;
|
|
4869
|
+
}
|
|
4870
|
+
interface ManualEntry {
|
|
4871
|
+
/**
|
|
4872
|
+
* Settings for configuring manual entry of account details.
|
|
4873
|
+
*/
|
|
4874
|
+
mode: ManualEntry.Mode;
|
|
4546
4875
|
}
|
|
4547
4876
|
type Permission = 'balances' | 'ownership' | 'payment_method' | 'transactions';
|
|
4548
|
-
type Prefetch = 'balances' | 'ownership' | 'transactions';
|
|
4877
|
+
type Prefetch = 'balances' | 'inferred_balances' | 'ownership' | 'transactions';
|
|
4549
4878
|
namespace Filters {
|
|
4550
4879
|
type AccountSubcategory = 'checking' | 'savings';
|
|
4551
4880
|
}
|
|
4881
|
+
namespace ManualEntry {
|
|
4882
|
+
type Mode = 'automatic' | 'custom';
|
|
4883
|
+
}
|
|
4552
4884
|
}
|
|
4553
4885
|
namespace Networks {
|
|
4554
4886
|
type Requested = 'ach' | 'us_domestic_wire';
|