stripe 23.1.0 → 23.2.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1914 -4850
- package/README.md +42 -58
- package/VERSION +1 -1
- package/cjs/Error.d.ts +6 -0
- package/cjs/Error.js +17 -1
- package/cjs/Error.js.map +1 -1
- package/cjs/StripeEventNotificationHandler.js +54 -0
- package/cjs/StripeEventNotificationHandler.js.map +1 -1
- package/cjs/Types.d.ts +4 -2
- package/cjs/Types.js.map +1 -1
- package/cjs/apiVersion.d.ts +2 -2
- package/cjs/apiVersion.js +2 -2
- package/cjs/apiVersion.js.map +1 -1
- package/cjs/resources/AccountLinks.d.ts +1 -1
- package/cjs/resources/AccountNotices.d.ts +140 -0
- package/cjs/resources/AccountNotices.js +29 -0
- package/cjs/resources/AccountNotices.js.map +1 -0
- package/cjs/resources/AccountSessions.d.ts +226 -0
- package/cjs/resources/AccountSessions.js.map +1 -1
- package/cjs/resources/Accounts.d.ts +625 -3
- package/cjs/resources/Accounts.js +14 -0
- package/cjs/resources/Accounts.js.map +1 -1
- package/cjs/resources/Balance.d.ts +67 -0
- package/cjs/resources/BalanceSettings.d.ts +18 -0
- package/cjs/resources/BankAccounts.d.ts +2 -2
- package/cjs/resources/Billing/AlertTriggereds.d.ts +2 -1
- package/cjs/resources/Billing/Analytics/MeterUsage.d.ts +85 -0
- package/cjs/resources/Billing/Analytics/MeterUsage.js +15 -0
- package/cjs/resources/Billing/Analytics/MeterUsage.js.map +1 -0
- package/cjs/resources/Billing/Analytics/MeterUsageRows.d.ts +32 -0
- package/cjs/resources/Billing/Analytics/MeterUsageRows.js +4 -0
- package/cjs/resources/Billing/Analytics/MeterUsageRows.js.map +1 -0
- package/cjs/resources/Billing/Analytics/index.d.ts +15 -0
- package/cjs/resources/Billing/Analytics/index.js +13 -0
- package/cjs/resources/Billing/Analytics/index.js.map +1 -0
- package/cjs/resources/Billing/index.d.ts +3 -0
- package/cjs/resources/Billing/index.js +2 -0
- package/cjs/resources/Billing/index.js.map +1 -1
- package/cjs/resources/Capabilities.d.ts +2 -2
- package/cjs/resources/Capital/FinancingOffers.d.ts +194 -0
- package/cjs/resources/Capital/FinancingOffers.js +30 -0
- package/cjs/resources/Capital/FinancingOffers.js.map +1 -0
- package/cjs/resources/Capital/FinancingSummary.d.ts +102 -0
- package/cjs/resources/Capital/FinancingSummary.js +15 -0
- package/cjs/resources/Capital/FinancingSummary.js.map +1 -0
- package/cjs/resources/Capital/FinancingTransactions.d.ts +141 -0
- package/cjs/resources/Capital/FinancingTransactions.js +24 -0
- package/cjs/resources/Capital/FinancingTransactions.js.map +1 -0
- package/cjs/resources/Capital/index.d.ts +25 -0
- package/cjs/resources/Capital/index.js +17 -0
- package/cjs/resources/Capital/index.js.map +1 -0
- package/cjs/resources/Cards.d.ts +17 -0
- package/cjs/resources/Charges.d.ts +3077 -70
- package/cjs/resources/Checkout/Sessions.d.ts +351 -4
- package/cjs/resources/ConfirmationTokens.d.ts +67 -1
- package/cjs/resources/Coupons.d.ts +53 -0
- package/cjs/resources/Coupons.js +13 -0
- package/cjs/resources/Coupons.js.map +1 -1
- package/cjs/resources/CreditNoteLineItems.d.ts +15 -1
- package/cjs/resources/CreditNotes.d.ts +1 -1
- package/cjs/resources/CustomerSessions.d.ts +68 -0
- package/cjs/resources/Customers.d.ts +20 -1
- package/cjs/resources/Customers.js +14 -0
- package/cjs/resources/Customers.js.map +1 -1
- package/cjs/resources/Disputes.d.ts +14 -0
- package/cjs/resources/Events.d.ts +614 -3
- package/cjs/resources/ExternalAccounts.d.ts +212 -1
- package/cjs/resources/ExternalAccounts.js +44 -0
- package/cjs/resources/ExternalAccounts.js.map +1 -1
- package/cjs/resources/FinancialConnections/AccountInferredBalances.d.ts +24 -0
- package/cjs/resources/FinancialConnections/AccountInferredBalances.js +4 -0
- package/cjs/resources/FinancialConnections/AccountInferredBalances.js.map +1 -0
- package/cjs/resources/FinancialConnections/Accounts.d.ts +69 -4
- package/cjs/resources/FinancialConnections/Accounts.js +8 -0
- package/cjs/resources/FinancialConnections/Accounts.js.map +1 -1
- package/cjs/resources/FinancialConnections/Authorizations.d.ts +46 -1
- package/cjs/resources/FinancialConnections/Authorizations.js +11 -0
- package/cjs/resources/FinancialConnections/Authorizations.js.map +1 -1
- package/cjs/resources/FinancialConnections/Institutions.d.ts +99 -0
- package/cjs/resources/FinancialConnections/Institutions.js +23 -0
- package/cjs/resources/FinancialConnections/Institutions.js.map +1 -0
- package/cjs/resources/FinancialConnections/Sessions.d.ts +124 -9
- package/cjs/resources/FinancialConnections/index.d.ts +21 -9
- package/cjs/resources/FinancialConnections/index.js +4 -0
- package/cjs/resources/FinancialConnections/index.js.map +1 -1
- package/cjs/resources/FxQuotes.d.ts +216 -0
- package/cjs/resources/FxQuotes.js +29 -0
- package/cjs/resources/FxQuotes.js.map +1 -0
- package/cjs/resources/InvoiceItems.d.ts +85 -0
- package/cjs/resources/InvoiceItems.js.map +1 -1
- package/cjs/resources/InvoiceLineItems.d.ts +40 -2
- package/cjs/resources/Invoices.d.ts +1257 -10
- package/cjs/resources/Invoices.js +41 -0
- package/cjs/resources/Invoices.js.map +1 -1
- package/cjs/resources/Issuing/Authorizations.d.ts +13 -0
- package/cjs/resources/Issuing/Cardholders.d.ts +19 -1
- package/cjs/resources/Issuing/Cards.d.ts +13 -0
- package/cjs/resources/Issuing/CreditUnderwritingRecords.d.ts +638 -0
- package/cjs/resources/Issuing/CreditUnderwritingRecords.js +47 -0
- package/cjs/resources/Issuing/CreditUnderwritingRecords.js.map +1 -0
- package/cjs/resources/Issuing/DisputeSettlementDetails.d.ts +93 -0
- package/cjs/resources/Issuing/DisputeSettlementDetails.js +23 -0
- package/cjs/resources/Issuing/DisputeSettlementDetails.js.map +1 -0
- package/cjs/resources/Issuing/Disputes.d.ts +13 -0
- package/cjs/resources/Issuing/FraudLiabilityDebits.d.ts +68 -0
- package/cjs/resources/Issuing/FraudLiabilityDebits.js +23 -0
- package/cjs/resources/Issuing/FraudLiabilityDebits.js.map +1 -0
- package/cjs/resources/Issuing/Settlements.d.ts +83 -0
- package/cjs/resources/Issuing/Settlements.js +4 -0
- package/cjs/resources/Issuing/Settlements.js.map +1 -0
- package/cjs/resources/Issuing/Transactions.d.ts +22 -0
- package/cjs/resources/Issuing/Transactions.js.map +1 -1
- package/cjs/resources/Issuing/index.d.ts +47 -22
- package/cjs/resources/Issuing/index.js +6 -0
- package/cjs/resources/Issuing/index.js.map +1 -1
- package/cjs/resources/LineItems.d.ts +29 -2
- package/cjs/resources/Mandates.d.ts +36 -2
- package/cjs/resources/Mandates.js +8 -0
- package/cjs/resources/Mandates.js.map +1 -1
- package/cjs/resources/Margins.d.ts +115 -0
- package/cjs/resources/Margins.js +35 -0
- package/cjs/resources/Margins.js.map +1 -0
- package/cjs/resources/Orders.d.ts +4696 -0
- package/cjs/resources/Orders.js +457 -0
- package/cjs/resources/Orders.js.map +1 -0
- package/cjs/resources/PaymentAttemptRecords.d.ts +82 -0
- package/cjs/resources/PaymentIntents.d.ts +13832 -2816
- package/cjs/resources/PaymentIntents.js +27 -0
- package/cjs/resources/PaymentIntents.js.map +1 -1
- package/cjs/resources/PaymentLinks.d.ts +3 -3
- package/cjs/resources/PaymentMethodConfigurations.d.ts +350 -0
- package/cjs/resources/PaymentMethods.d.ts +181 -3
- package/cjs/resources/PaymentMethods.js.map +1 -1
- package/cjs/resources/PaymentPlans.d.ts +427 -0
- package/cjs/resources/PaymentPlans.js +35 -0
- package/cjs/resources/PaymentPlans.js.map +1 -0
- package/cjs/resources/PaymentRecords.d.ts +82 -0
- package/cjs/resources/Persons.d.ts +2 -2
- package/cjs/resources/Prices.d.ts +36 -0
- package/cjs/resources/Privacy/RedactionJobValidationErrors.d.ts +36 -0
- package/cjs/resources/Privacy/RedactionJobValidationErrors.js +4 -0
- package/cjs/resources/Privacy/RedactionJobValidationErrors.js.map +1 -0
- package/cjs/resources/Privacy/RedactionJobs.d.ts +227 -0
- package/cjs/resources/Privacy/RedactionJobs.js +73 -0
- package/cjs/resources/Privacy/RedactionJobs.js.map +1 -0
- package/cjs/resources/Privacy/index.d.ts +22 -0
- package/cjs/resources/Privacy/index.js +13 -0
- package/cjs/resources/Privacy/index.js.map +1 -0
- package/cjs/resources/ProductCatalog/TrialOffers.d.ts +2 -2
- package/cjs/resources/PromotionCodes.d.ts +12 -0
- package/cjs/resources/PromotionCodes.js +27 -0
- package/cjs/resources/PromotionCodes.js.map +1 -1
- package/cjs/resources/QuoteLines.d.ts +507 -0
- package/cjs/resources/QuoteLines.js +4 -0
- package/cjs/resources/QuoteLines.js.map +1 -0
- package/cjs/resources/QuotePreviewInvoices.d.ts +1170 -0
- package/cjs/resources/QuotePreviewInvoices.js +4 -0
- package/cjs/resources/QuotePreviewInvoices.js.map +1 -0
- package/cjs/resources/QuotePreviewSubscriptionSchedules.d.ts +924 -0
- package/cjs/resources/QuotePreviewSubscriptionSchedules.js +4 -0
- package/cjs/resources/QuotePreviewSubscriptionSchedules.js.map +1 -0
- package/cjs/resources/Quotes.d.ts +2266 -57
- package/cjs/resources/Quotes.js +1184 -16
- package/cjs/resources/Quotes.js.map +1 -1
- package/cjs/resources/Radar/BillingEvaluations.d.ts +374 -0
- package/cjs/resources/Radar/BillingEvaluations.js +15 -0
- package/cjs/resources/Radar/BillingEvaluations.js.map +1 -0
- package/cjs/resources/Radar/PaymentEvaluations.d.ts +1 -1
- package/cjs/resources/Radar/ValueListItems.d.ts +31 -1
- package/cjs/resources/Radar/index.d.ts +21 -16
- package/cjs/resources/Radar/index.js +2 -0
- package/cjs/resources/Radar/index.js.map +1 -1
- package/cjs/resources/Refunds.d.ts +11 -0
- package/cjs/resources/Reserve/Holds.d.ts +53 -1
- package/cjs/resources/Reserve/Holds.js +19 -0
- package/cjs/resources/Reserve/Holds.js.map +1 -1
- package/cjs/resources/Reserve/Plans.d.ts +41 -1
- package/cjs/resources/Reserve/Plans.js +19 -0
- package/cjs/resources/Reserve/Plans.js.map +1 -1
- package/cjs/resources/Reserve/Releases.d.ts +41 -1
- package/cjs/resources/Reserve/Releases.js +19 -0
- package/cjs/resources/Reserve/Releases.js.map +1 -1
- package/cjs/resources/Reserve/index.d.ts +18 -6
- package/cjs/resources/Reserve/index.js +9 -0
- package/cjs/resources/Reserve/index.js.map +1 -1
- package/cjs/resources/SetupAttempts.d.ts +26 -1
- package/cjs/resources/SetupIntents.d.ts +394 -11
- package/cjs/resources/SharedPayment/GrantedTokens.d.ts +418 -0
- package/cjs/resources/SharedPayment/GrantedTokens.js +15 -0
- package/cjs/resources/SharedPayment/GrantedTokens.js.map +1 -0
- package/cjs/resources/SharedPayment/IssuedTokens.d.ts +330 -0
- package/cjs/resources/SharedPayment/IssuedTokens.js +27 -0
- package/cjs/resources/SharedPayment/IssuedTokens.js.map +1 -0
- package/cjs/resources/SharedPayment/index.d.ts +19 -0
- package/cjs/resources/SharedPayment/index.js +15 -0
- package/cjs/resources/SharedPayment/index.js.map +1 -0
- package/cjs/resources/Sources.d.ts +29 -1
- package/cjs/resources/SubscriptionItems.d.ts +114 -0
- package/cjs/resources/SubscriptionSchedules.d.ts +1157 -5
- package/cjs/resources/SubscriptionSchedules.js +6 -0
- package/cjs/resources/SubscriptionSchedules.js.map +1 -1
- package/cjs/resources/Subscriptions.d.ts +388 -6
- package/cjs/resources/Subscriptions.js +42 -0
- package/cjs/resources/Subscriptions.js.map +1 -1
- package/cjs/resources/Tax/Forms.d.ts +228 -0
- package/cjs/resources/Tax/Forms.js +32 -0
- package/cjs/resources/Tax/Forms.js.map +1 -0
- package/cjs/resources/Tax/Registrations.d.ts +25 -2
- package/cjs/resources/Tax/index.d.ts +24 -17
- package/cjs/resources/Tax/index.js +2 -0
- package/cjs/resources/Tax/index.js.map +1 -1
- package/cjs/resources/Terminal/ReaderCollectedData.d.ts +50 -0
- package/cjs/resources/Terminal/ReaderCollectedData.js +15 -0
- package/cjs/resources/Terminal/ReaderCollectedData.js.map +1 -0
- package/cjs/resources/Terminal/Readers.d.ts +17 -1
- package/cjs/resources/Terminal/index.d.ts +5 -0
- package/cjs/resources/Terminal/index.js +2 -0
- package/cjs/resources/Terminal/index.js.map +1 -1
- package/cjs/resources/TestHelpers/ConfirmationTokens.d.ts +95 -1
- package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +68 -0
- package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js +21 -0
- package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js.map +1 -0
- package/cjs/resources/TestHelpers/SharedPayment/index.d.ts +8 -0
- package/cjs/resources/TestHelpers/SharedPayment/index.js +13 -0
- package/cjs/resources/TestHelpers/SharedPayment/index.js.map +1 -0
- package/cjs/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +22 -0
- package/cjs/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +22 -0
- package/cjs/resources/TestHelpers/index.d.ts +3 -0
- package/cjs/resources/TestHelpers/index.js +6 -4
- package/cjs/resources/TestHelpers/index.js.map +1 -1
- package/cjs/resources/Tokens.d.ts +15 -0
- package/cjs/resources/Transfers.d.ts +8 -0
- package/cjs/resources/Treasury/FinancialAccountFeatures.d.ts +5 -0
- package/cjs/resources/Treasury/FinancialAccounts.d.ts +34 -1
- package/cjs/resources/Treasury/OutboundPayments.d.ts +26 -0
- package/cjs/resources/Treasury/OutboundTransfers.d.ts +44 -0
- package/cjs/resources/Treasury/ReceivedCredits.d.ts +22 -0
- package/cjs/resources/Treasury/ReceivedDebits.d.ts +26 -0
- package/cjs/resources/V2/Billing/BillSettingVersions.d.ts +72 -0
- package/cjs/resources/V2/Billing/BillSettingVersions.js +4 -0
- package/cjs/resources/V2/Billing/BillSettingVersions.js.map +1 -0
- package/cjs/resources/V2/Billing/BillSettings/Versions.d.ts +33 -0
- package/cjs/resources/V2/Billing/BillSettings/Versions.js +23 -0
- package/cjs/resources/V2/Billing/BillSettings/Versions.js.map +1 -0
- package/cjs/resources/V2/Billing/BillSettings.d.ts +281 -0
- package/cjs/resources/V2/Billing/BillSettings.js +41 -0
- package/cjs/resources/V2/Billing/BillSettings.js.map +1 -0
- package/cjs/resources/V2/Billing/Cadences.d.ts +958 -0
- package/cjs/resources/V2/Billing/Cadences.js +198 -0
- package/cjs/resources/V2/Billing/Cadences.js.map +1 -0
- package/cjs/resources/V2/Billing/CollectionSettingVersions.d.ts +238 -0
- package/cjs/resources/V2/Billing/CollectionSettingVersions.js +4 -0
- package/cjs/resources/V2/Billing/CollectionSettingVersions.js.map +1 -0
- package/cjs/resources/V2/Billing/CollectionSettings/Versions.d.ts +33 -0
- package/cjs/resources/V2/Billing/CollectionSettings/Versions.js +70 -0
- package/cjs/resources/V2/Billing/CollectionSettings/Versions.js.map +1 -0
- package/cjs/resources/V2/Billing/CollectionSettings.d.ts +779 -0
- package/cjs/resources/V2/Billing/CollectionSettings.js +166 -0
- package/cjs/resources/V2/Billing/CollectionSettings.js.map +1 -0
- package/cjs/resources/V2/Billing/Profiles.d.ts +162 -0
- package/cjs/resources/V2/Billing/Profiles.js +35 -0
- package/cjs/resources/V2/Billing/Profiles.js.map +1 -0
- package/cjs/resources/V2/Billing/index.d.ts +45 -6
- package/cjs/resources/V2/Billing/index.js +8 -0
- package/cjs/resources/V2/Billing/index.js.map +1 -1
- package/cjs/resources/V2/Core/AccountTokens.d.ts +28 -1
- package/cjs/resources/V2/Core/Accounts.d.ts +1465 -71
- package/cjs/resources/V2/Core/ApprovalRequests.d.ts +378 -0
- package/cjs/resources/V2/Core/ApprovalRequests.js +39 -0
- package/cjs/resources/V2/Core/ApprovalRequests.js.map +1 -0
- package/cjs/resources/V2/Core/BatchJobs.d.ts +392 -0
- package/cjs/resources/V2/Core/BatchJobs.js +252 -0
- package/cjs/resources/V2/Core/BatchJobs.js.map +1 -0
- package/cjs/resources/V2/Core/Events.d.ts +1009 -5
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.d.ts +117 -0
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.js.map +1 -1
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.d.ts +27 -0
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.js.map +1 -1
- package/cjs/resources/V2/Core/index.d.ts +24 -9
- package/cjs/resources/V2/Core/index.js +4 -0
- package/cjs/resources/V2/Core/index.js.map +1 -1
- package/cjs/resources/V2/Data/QueryRuns.d.ts +299 -0
- package/cjs/resources/V2/Data/QueryRuns.js +51 -0
- package/cjs/resources/V2/Data/QueryRuns.js.map +1 -0
- package/cjs/resources/V2/Data/ReportRuns.d.ts +303 -0
- package/cjs/resources/V2/Data/ReportRuns.js +53 -0
- package/cjs/resources/V2/Data/ReportRuns.js.map +1 -0
- package/cjs/resources/V2/Data/Reporting/QueryRuns.d.ts +152 -0
- package/cjs/resources/V2/Data/Reporting/QueryRuns.js +46 -0
- package/cjs/resources/V2/Data/Reporting/QueryRuns.js.map +1 -0
- package/cjs/resources/V2/Data/Reporting/index.d.ts +13 -0
- package/cjs/resources/V2/Data/Reporting/index.js +13 -0
- package/cjs/resources/V2/Data/Reporting/index.js.map +1 -0
- package/cjs/resources/V2/Data/Reports.d.ts +140 -0
- package/cjs/resources/V2/Data/Reports.js +25 -0
- package/cjs/resources/V2/Data/Reports.js.map +1 -0
- package/cjs/resources/V2/Data/Schemas.d.ts +161 -0
- package/cjs/resources/V2/Data/Schemas.js +23 -0
- package/cjs/resources/V2/Data/Schemas.js.map +1 -0
- package/cjs/resources/V2/Data/index.d.ts +34 -0
- package/cjs/resources/V2/Data/index.js +21 -0
- package/cjs/resources/V2/Data/index.js.map +1 -0
- package/cjs/resources/V2/EventMisc.d.ts +0 -0
- package/cjs/resources/V2/EventMisc.js +2 -0
- package/cjs/resources/V2/EventMisc.js.map +1 -0
- package/cjs/resources/V2/Extend/WorkflowRuns.d.ts +163 -0
- package/cjs/resources/V2/Extend/WorkflowRuns.js +23 -0
- package/cjs/resources/V2/Extend/WorkflowRuns.js.map +1 -0
- package/cjs/resources/V2/Extend/Workflows.d.ts +120 -0
- package/cjs/resources/V2/Extend/Workflows.js +30 -0
- package/cjs/resources/V2/Extend/Workflows.js.map +1 -0
- package/cjs/resources/V2/Extend/index.d.ts +20 -0
- package/cjs/resources/V2/Extend/index.js +15 -0
- package/cjs/resources/V2/Extend/index.js.map +1 -0
- package/cjs/resources/V2/Iam/ActivityLogs.d.ts +377 -0
- package/cjs/resources/V2/Iam/ActivityLogs.js +23 -0
- package/cjs/resources/V2/Iam/ActivityLogs.js.map +1 -0
- package/cjs/resources/V2/Iam/index.d.ts +13 -0
- package/cjs/resources/V2/Iam/index.js +13 -0
- package/cjs/resources/V2/Iam/index.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/Adjustments.d.ts +6 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.d.ts +102 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +15 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js.map +1 -1
- package/cjs/resources/V2/MoneyManagement/FinancialAddressGeneratedMicrodeposits.d.ts +19 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAddressGeneratedMicrodeposits.js +4 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAddressGeneratedMicrodeposits.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/InboundTransfers.d.ts +4 -0
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +356 -0
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +23 -0
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/OutboundPayments.d.ts +79 -1
- package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +96 -2
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.d.ts +418 -0
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js +40 -0
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/PayoutIntents.d.ts +2 -2
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.d.ts +66 -1
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.js +9 -0
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.js.map +1 -1
- package/cjs/resources/V2/MoneyManagement/ReceivedCredits.d.ts +6 -2
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.d.ts +163 -0
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js +23 -0
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/RecipientVerifications.d.ts +5 -1
- package/cjs/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.d.ts +15 -1
- package/cjs/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.js +7 -0
- package/cjs/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.js.map +1 -1
- package/cjs/resources/V2/MoneyManagement/index.d.ts +63 -37
- package/cjs/resources/V2/MoneyManagement/index.js +6 -0
- package/cjs/resources/V2/MoneyManagement/index.js.map +1 -1
- package/cjs/resources/V2/Network/BusinessProfiles.d.ts +92 -0
- package/cjs/resources/V2/Network/BusinessProfiles.js +21 -0
- package/cjs/resources/V2/Network/BusinessProfiles.js.map +1 -0
- package/cjs/resources/V2/Network/index.d.ts +13 -0
- package/cjs/resources/V2/Network/index.js +13 -0
- package/cjs/resources/V2/Network/index.js.map +1 -0
- package/cjs/resources/V2/OrchestratedCommerce/Agreements.d.ts +143 -0
- package/cjs/resources/V2/OrchestratedCommerce/Agreements.js +41 -0
- package/cjs/resources/V2/OrchestratedCommerce/Agreements.js.map +1 -0
- package/cjs/resources/V2/OrchestratedCommerce/index.d.ts +16 -0
- package/cjs/resources/V2/OrchestratedCommerce/index.js +13 -0
- package/cjs/resources/V2/OrchestratedCommerce/index.js.map +1 -0
- package/cjs/resources/V2/Signals/AccountActivities.d.ts +432 -0
- package/cjs/resources/V2/Signals/AccountActivities.js +27 -0
- package/cjs/resources/V2/Signals/AccountActivities.js.map +1 -0
- package/cjs/resources/V2/Signals/AccountEvaluations.d.ts +405 -0
- package/cjs/resources/V2/Signals/AccountEvaluations.js +59 -0
- package/cjs/resources/V2/Signals/AccountEvaluations.js.map +1 -0
- package/cjs/resources/V2/Signals/AccountSignals.d.ts +196 -0
- package/cjs/resources/V2/Signals/AccountSignals.js +66 -0
- package/cjs/resources/V2/Signals/AccountSignals.js.map +1 -0
- package/cjs/resources/V2/Signals/index.d.ts +26 -0
- package/cjs/resources/V2/Signals/index.js +17 -0
- package/cjs/resources/V2/Signals/index.js.map +1 -0
- package/cjs/resources/V2/index.d.ts +18 -0
- package/cjs/resources/V2/index.js +16 -4
- package/cjs/resources/V2/index.js.map +1 -1
- package/cjs/resources/WebhookEndpoints.d.ts +2 -2
- package/cjs/resources.d.ts +10 -0
- package/cjs/resources.js +126 -8
- package/cjs/resources.js.map +1 -1
- package/cjs/stripe.cjs.node.d.ts +6674 -138
- package/cjs/stripe.cjs.node.js.map +1 -1
- package/cjs/stripe.core.d.ts +60 -26
- package/cjs/stripe.core.js +55 -36
- package/cjs/stripe.core.js.map +1 -1
- package/esm/Error.d.ts +6 -0
- package/esm/Error.js +14 -0
- package/esm/Error.js.map +1 -1
- package/esm/StripeEventNotificationHandler.js +54 -0
- package/esm/StripeEventNotificationHandler.js.map +1 -1
- package/esm/Types.d.ts +4 -2
- package/esm/Types.js.map +1 -1
- package/esm/apiVersion.d.ts +2 -2
- package/esm/apiVersion.js +2 -2
- package/esm/apiVersion.js.map +1 -1
- package/esm/resources/AccountLinks.d.ts +1 -1
- package/esm/resources/AccountNotices.d.ts +140 -0
- package/esm/resources/AccountNotices.js +25 -0
- package/esm/resources/AccountNotices.js.map +1 -0
- package/esm/resources/AccountSessions.d.ts +226 -0
- package/esm/resources/AccountSessions.js.map +1 -1
- package/esm/resources/Accounts.d.ts +625 -3
- package/esm/resources/Accounts.js +14 -0
- package/esm/resources/Accounts.js.map +1 -1
- package/esm/resources/Balance.d.ts +67 -0
- package/esm/resources/BalanceSettings.d.ts +18 -0
- package/esm/resources/BankAccounts.d.ts +2 -2
- package/esm/resources/Billing/AlertTriggereds.d.ts +2 -1
- package/esm/resources/Billing/Analytics/MeterUsage.d.ts +85 -0
- package/esm/resources/Billing/Analytics/MeterUsage.js +11 -0
- package/esm/resources/Billing/Analytics/MeterUsage.js.map +1 -0
- package/esm/resources/Billing/Analytics/MeterUsageRows.d.ts +32 -0
- package/esm/resources/Billing/Analytics/MeterUsageRows.js +3 -0
- package/esm/resources/Billing/Analytics/MeterUsageRows.js.map +1 -0
- package/esm/resources/Billing/Analytics/index.d.ts +15 -0
- package/esm/resources/Billing/Analytics/index.js +9 -0
- package/esm/resources/Billing/Analytics/index.js.map +1 -0
- package/esm/resources/Billing/index.d.ts +3 -0
- package/esm/resources/Billing/index.js +2 -0
- package/esm/resources/Billing/index.js.map +1 -1
- package/esm/resources/Capabilities.d.ts +2 -2
- package/esm/resources/Capital/FinancingOffers.d.ts +194 -0
- package/esm/resources/Capital/FinancingOffers.js +26 -0
- package/esm/resources/Capital/FinancingOffers.js.map +1 -0
- package/esm/resources/Capital/FinancingSummary.d.ts +102 -0
- package/esm/resources/Capital/FinancingSummary.js +11 -0
- package/esm/resources/Capital/FinancingSummary.js.map +1 -0
- package/esm/resources/Capital/FinancingTransactions.d.ts +141 -0
- package/esm/resources/Capital/FinancingTransactions.js +20 -0
- package/esm/resources/Capital/FinancingTransactions.js.map +1 -0
- package/esm/resources/Capital/index.d.ts +25 -0
- package/esm/resources/Capital/index.js +13 -0
- package/esm/resources/Capital/index.js.map +1 -0
- package/esm/resources/Cards.d.ts +17 -0
- package/esm/resources/Charges.d.ts +3077 -70
- package/esm/resources/Checkout/Sessions.d.ts +351 -4
- package/esm/resources/ConfirmationTokens.d.ts +67 -1
- package/esm/resources/Coupons.d.ts +53 -0
- package/esm/resources/Coupons.js +13 -0
- package/esm/resources/Coupons.js.map +1 -1
- package/esm/resources/CreditNoteLineItems.d.ts +15 -1
- package/esm/resources/CreditNotes.d.ts +1 -1
- package/esm/resources/CustomerSessions.d.ts +68 -0
- package/esm/resources/Customers.d.ts +20 -1
- package/esm/resources/Customers.js +14 -0
- package/esm/resources/Customers.js.map +1 -1
- package/esm/resources/Disputes.d.ts +14 -0
- package/esm/resources/Events.d.ts +614 -3
- package/esm/resources/ExternalAccounts.d.ts +212 -1
- package/esm/resources/ExternalAccounts.js +42 -1
- package/esm/resources/ExternalAccounts.js.map +1 -1
- package/esm/resources/FinancialConnections/AccountInferredBalances.d.ts +24 -0
- package/esm/resources/FinancialConnections/AccountInferredBalances.js +3 -0
- package/esm/resources/FinancialConnections/AccountInferredBalances.js.map +1 -0
- package/esm/resources/FinancialConnections/Accounts.d.ts +69 -4
- package/esm/resources/FinancialConnections/Accounts.js +8 -0
- package/esm/resources/FinancialConnections/Accounts.js.map +1 -1
- package/esm/resources/FinancialConnections/Authorizations.d.ts +46 -1
- package/esm/resources/FinancialConnections/Authorizations.js +9 -1
- package/esm/resources/FinancialConnections/Authorizations.js.map +1 -1
- package/esm/resources/FinancialConnections/Institutions.d.ts +99 -0
- package/esm/resources/FinancialConnections/Institutions.js +19 -0
- package/esm/resources/FinancialConnections/Institutions.js.map +1 -0
- package/esm/resources/FinancialConnections/Sessions.d.ts +124 -9
- package/esm/resources/FinancialConnections/index.d.ts +21 -9
- package/esm/resources/FinancialConnections/index.js +4 -0
- package/esm/resources/FinancialConnections/index.js.map +1 -1
- package/esm/resources/FxQuotes.d.ts +216 -0
- package/esm/resources/FxQuotes.js +25 -0
- package/esm/resources/FxQuotes.js.map +1 -0
- package/esm/resources/InvoiceItems.d.ts +85 -0
- package/esm/resources/InvoiceItems.js.map +1 -1
- package/esm/resources/InvoiceLineItems.d.ts +40 -2
- package/esm/resources/Invoices.d.ts +1257 -10
- package/esm/resources/Invoices.js +41 -0
- package/esm/resources/Invoices.js.map +1 -1
- package/esm/resources/Issuing/Authorizations.d.ts +13 -0
- package/esm/resources/Issuing/Cardholders.d.ts +19 -1
- package/esm/resources/Issuing/Cards.d.ts +13 -0
- package/esm/resources/Issuing/CreditUnderwritingRecords.d.ts +638 -0
- package/esm/resources/Issuing/CreditUnderwritingRecords.js +43 -0
- package/esm/resources/Issuing/CreditUnderwritingRecords.js.map +1 -0
- package/esm/resources/Issuing/DisputeSettlementDetails.d.ts +93 -0
- package/esm/resources/Issuing/DisputeSettlementDetails.js +19 -0
- package/esm/resources/Issuing/DisputeSettlementDetails.js.map +1 -0
- package/esm/resources/Issuing/Disputes.d.ts +13 -0
- package/esm/resources/Issuing/FraudLiabilityDebits.d.ts +68 -0
- package/esm/resources/Issuing/FraudLiabilityDebits.js +19 -0
- package/esm/resources/Issuing/FraudLiabilityDebits.js.map +1 -0
- package/esm/resources/Issuing/Settlements.d.ts +83 -0
- package/esm/resources/Issuing/Settlements.js +3 -0
- package/esm/resources/Issuing/Settlements.js.map +1 -0
- package/esm/resources/Issuing/Transactions.d.ts +22 -0
- package/esm/resources/Issuing/Transactions.js.map +1 -1
- package/esm/resources/Issuing/index.d.ts +47 -22
- package/esm/resources/Issuing/index.js +6 -0
- package/esm/resources/Issuing/index.js.map +1 -1
- package/esm/resources/LineItems.d.ts +29 -2
- package/esm/resources/Mandates.d.ts +36 -2
- package/esm/resources/Mandates.js +8 -0
- package/esm/resources/Mandates.js.map +1 -1
- package/esm/resources/Margins.d.ts +115 -0
- package/esm/resources/Margins.js +31 -0
- package/esm/resources/Margins.js.map +1 -0
- package/esm/resources/Orders.d.ts +4696 -0
- package/esm/resources/Orders.js +453 -0
- package/esm/resources/Orders.js.map +1 -0
- package/esm/resources/PaymentAttemptRecords.d.ts +82 -0
- package/esm/resources/PaymentIntents.d.ts +13832 -2816
- package/esm/resources/PaymentIntents.js +27 -0
- package/esm/resources/PaymentIntents.js.map +1 -1
- package/esm/resources/PaymentLinks.d.ts +3 -3
- package/esm/resources/PaymentMethodConfigurations.d.ts +350 -0
- package/esm/resources/PaymentMethods.d.ts +181 -3
- package/esm/resources/PaymentMethods.js.map +1 -1
- package/esm/resources/PaymentPlans.d.ts +427 -0
- package/esm/resources/PaymentPlans.js +31 -0
- package/esm/resources/PaymentPlans.js.map +1 -0
- package/esm/resources/PaymentRecords.d.ts +82 -0
- package/esm/resources/Persons.d.ts +2 -2
- package/esm/resources/Prices.d.ts +36 -0
- package/esm/resources/Privacy/RedactionJobValidationErrors.d.ts +36 -0
- package/esm/resources/Privacy/RedactionJobValidationErrors.js +3 -0
- package/esm/resources/Privacy/RedactionJobValidationErrors.js.map +1 -0
- package/esm/resources/Privacy/RedactionJobs.d.ts +227 -0
- package/esm/resources/Privacy/RedactionJobs.js +69 -0
- package/esm/resources/Privacy/RedactionJobs.js.map +1 -0
- package/esm/resources/Privacy/index.d.ts +22 -0
- package/esm/resources/Privacy/index.js +9 -0
- package/esm/resources/Privacy/index.js.map +1 -0
- package/esm/resources/ProductCatalog/TrialOffers.d.ts +2 -2
- package/esm/resources/PromotionCodes.d.ts +12 -0
- package/esm/resources/PromotionCodes.js +27 -0
- package/esm/resources/PromotionCodes.js.map +1 -1
- package/esm/resources/QuoteLines.d.ts +507 -0
- package/esm/resources/QuoteLines.js +3 -0
- package/esm/resources/QuoteLines.js.map +1 -0
- package/esm/resources/QuotePreviewInvoices.d.ts +1170 -0
- package/esm/resources/QuotePreviewInvoices.js +3 -0
- package/esm/resources/QuotePreviewInvoices.js.map +1 -0
- package/esm/resources/QuotePreviewSubscriptionSchedules.d.ts +924 -0
- package/esm/resources/QuotePreviewSubscriptionSchedules.js +3 -0
- package/esm/resources/QuotePreviewSubscriptionSchedules.js.map +1 -0
- package/esm/resources/Quotes.d.ts +2266 -57
- package/esm/resources/Quotes.js +1184 -16
- package/esm/resources/Quotes.js.map +1 -1
- package/esm/resources/Radar/BillingEvaluations.d.ts +374 -0
- package/esm/resources/Radar/BillingEvaluations.js +11 -0
- package/esm/resources/Radar/BillingEvaluations.js.map +1 -0
- package/esm/resources/Radar/PaymentEvaluations.d.ts +1 -1
- package/esm/resources/Radar/ValueListItems.d.ts +31 -1
- package/esm/resources/Radar/index.d.ts +21 -16
- package/esm/resources/Radar/index.js +2 -0
- package/esm/resources/Radar/index.js.map +1 -1
- package/esm/resources/Refunds.d.ts +11 -0
- package/esm/resources/Reserve/Holds.d.ts +53 -1
- package/esm/resources/Reserve/Holds.js +17 -1
- package/esm/resources/Reserve/Holds.js.map +1 -1
- package/esm/resources/Reserve/Plans.d.ts +41 -1
- package/esm/resources/Reserve/Plans.js +17 -1
- package/esm/resources/Reserve/Plans.js.map +1 -1
- package/esm/resources/Reserve/Releases.d.ts +41 -1
- package/esm/resources/Reserve/Releases.js +17 -1
- package/esm/resources/Reserve/Releases.js.map +1 -1
- package/esm/resources/Reserve/index.d.ts +18 -6
- package/esm/resources/Reserve/index.js +9 -0
- package/esm/resources/Reserve/index.js.map +1 -1
- package/esm/resources/SetupAttempts.d.ts +26 -1
- package/esm/resources/SetupIntents.d.ts +394 -11
- package/esm/resources/SharedPayment/GrantedTokens.d.ts +418 -0
- package/esm/resources/SharedPayment/GrantedTokens.js +11 -0
- package/esm/resources/SharedPayment/GrantedTokens.js.map +1 -0
- package/esm/resources/SharedPayment/IssuedTokens.d.ts +330 -0
- package/esm/resources/SharedPayment/IssuedTokens.js +23 -0
- package/esm/resources/SharedPayment/IssuedTokens.js.map +1 -0
- package/esm/resources/SharedPayment/index.d.ts +19 -0
- package/esm/resources/SharedPayment/index.js +11 -0
- package/esm/resources/SharedPayment/index.js.map +1 -0
- package/esm/resources/Sources.d.ts +29 -1
- package/esm/resources/SubscriptionItems.d.ts +114 -0
- package/esm/resources/SubscriptionSchedules.d.ts +1157 -5
- package/esm/resources/SubscriptionSchedules.js +6 -0
- package/esm/resources/SubscriptionSchedules.js.map +1 -1
- package/esm/resources/Subscriptions.d.ts +388 -6
- package/esm/resources/Subscriptions.js +42 -0
- package/esm/resources/Subscriptions.js.map +1 -1
- package/esm/resources/Tax/Forms.d.ts +228 -0
- package/esm/resources/Tax/Forms.js +28 -0
- package/esm/resources/Tax/Forms.js.map +1 -0
- package/esm/resources/Tax/Registrations.d.ts +25 -2
- package/esm/resources/Tax/index.d.ts +24 -17
- package/esm/resources/Tax/index.js +2 -0
- package/esm/resources/Tax/index.js.map +1 -1
- package/esm/resources/Terminal/ReaderCollectedData.d.ts +50 -0
- package/esm/resources/Terminal/ReaderCollectedData.js +11 -0
- package/esm/resources/Terminal/ReaderCollectedData.js.map +1 -0
- package/esm/resources/Terminal/Readers.d.ts +17 -1
- package/esm/resources/Terminal/index.d.ts +5 -0
- package/esm/resources/Terminal/index.js +2 -0
- package/esm/resources/Terminal/index.js.map +1 -1
- package/esm/resources/TestHelpers/ConfirmationTokens.d.ts +95 -1
- package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +68 -0
- package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js +17 -0
- package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js.map +1 -0
- package/esm/resources/TestHelpers/SharedPayment/index.d.ts +8 -0
- package/esm/resources/TestHelpers/SharedPayment/index.js +9 -0
- package/esm/resources/TestHelpers/SharedPayment/index.js.map +1 -0
- package/esm/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +22 -0
- package/esm/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +22 -0
- package/esm/resources/TestHelpers/index.d.ts +3 -0
- package/esm/resources/TestHelpers/index.js +2 -0
- package/esm/resources/TestHelpers/index.js.map +1 -1
- package/esm/resources/Tokens.d.ts +15 -0
- package/esm/resources/Transfers.d.ts +8 -0
- package/esm/resources/Treasury/FinancialAccountFeatures.d.ts +5 -0
- package/esm/resources/Treasury/FinancialAccounts.d.ts +34 -1
- package/esm/resources/Treasury/OutboundPayments.d.ts +26 -0
- package/esm/resources/Treasury/OutboundTransfers.d.ts +44 -0
- package/esm/resources/Treasury/ReceivedCredits.d.ts +22 -0
- package/esm/resources/Treasury/ReceivedDebits.d.ts +26 -0
- package/esm/resources/V2/Billing/BillSettingVersions.d.ts +72 -0
- package/esm/resources/V2/Billing/BillSettingVersions.js +3 -0
- package/esm/resources/V2/Billing/BillSettingVersions.js.map +1 -0
- package/esm/resources/V2/Billing/BillSettings/Versions.d.ts +33 -0
- package/esm/resources/V2/Billing/BillSettings/Versions.js +19 -0
- package/esm/resources/V2/Billing/BillSettings/Versions.js.map +1 -0
- package/esm/resources/V2/Billing/BillSettings.d.ts +281 -0
- package/esm/resources/V2/Billing/BillSettings.js +37 -0
- package/esm/resources/V2/Billing/BillSettings.js.map +1 -0
- package/esm/resources/V2/Billing/Cadences.d.ts +958 -0
- package/esm/resources/V2/Billing/Cadences.js +194 -0
- package/esm/resources/V2/Billing/Cadences.js.map +1 -0
- package/esm/resources/V2/Billing/CollectionSettingVersions.d.ts +238 -0
- package/esm/resources/V2/Billing/CollectionSettingVersions.js +3 -0
- package/esm/resources/V2/Billing/CollectionSettingVersions.js.map +1 -0
- package/esm/resources/V2/Billing/CollectionSettings/Versions.d.ts +33 -0
- package/esm/resources/V2/Billing/CollectionSettings/Versions.js +66 -0
- package/esm/resources/V2/Billing/CollectionSettings/Versions.js.map +1 -0
- package/esm/resources/V2/Billing/CollectionSettings.d.ts +779 -0
- package/esm/resources/V2/Billing/CollectionSettings.js +162 -0
- package/esm/resources/V2/Billing/CollectionSettings.js.map +1 -0
- package/esm/resources/V2/Billing/Profiles.d.ts +162 -0
- package/esm/resources/V2/Billing/Profiles.js +31 -0
- package/esm/resources/V2/Billing/Profiles.js.map +1 -0
- package/esm/resources/V2/Billing/index.d.ts +45 -6
- package/esm/resources/V2/Billing/index.js +8 -0
- package/esm/resources/V2/Billing/index.js.map +1 -1
- package/esm/resources/V2/Core/AccountTokens.d.ts +28 -1
- package/esm/resources/V2/Core/Accounts.d.ts +1465 -71
- package/esm/resources/V2/Core/ApprovalRequests.d.ts +378 -0
- package/esm/resources/V2/Core/ApprovalRequests.js +35 -0
- package/esm/resources/V2/Core/ApprovalRequests.js.map +1 -0
- package/esm/resources/V2/Core/BatchJobs.d.ts +392 -0
- package/esm/resources/V2/Core/BatchJobs.js +248 -0
- package/esm/resources/V2/Core/BatchJobs.js.map +1 -0
- package/esm/resources/V2/Core/Events.d.ts +1009 -5
- package/esm/resources/V2/Core/Vault/GbBankAccounts.d.ts +117 -0
- package/esm/resources/V2/Core/Vault/GbBankAccounts.js.map +1 -1
- package/esm/resources/V2/Core/Vault/UsBankAccounts.d.ts +27 -0
- package/esm/resources/V2/Core/Vault/UsBankAccounts.js.map +1 -1
- package/esm/resources/V2/Core/index.d.ts +24 -9
- package/esm/resources/V2/Core/index.js +4 -0
- package/esm/resources/V2/Core/index.js.map +1 -1
- package/esm/resources/V2/Data/QueryRuns.d.ts +299 -0
- package/esm/resources/V2/Data/QueryRuns.js +47 -0
- package/esm/resources/V2/Data/QueryRuns.js.map +1 -0
- package/esm/resources/V2/Data/ReportRuns.d.ts +303 -0
- package/esm/resources/V2/Data/ReportRuns.js +49 -0
- package/esm/resources/V2/Data/ReportRuns.js.map +1 -0
- package/esm/resources/V2/Data/Reporting/QueryRuns.d.ts +152 -0
- package/esm/resources/V2/Data/Reporting/QueryRuns.js +42 -0
- package/esm/resources/V2/Data/Reporting/QueryRuns.js.map +1 -0
- package/esm/resources/V2/Data/Reporting/index.d.ts +13 -0
- package/esm/resources/V2/Data/Reporting/index.js +9 -0
- package/esm/resources/V2/Data/Reporting/index.js.map +1 -0
- package/esm/resources/V2/Data/Reports.d.ts +140 -0
- package/esm/resources/V2/Data/Reports.js +21 -0
- package/esm/resources/V2/Data/Reports.js.map +1 -0
- package/esm/resources/V2/Data/Schemas.d.ts +161 -0
- package/esm/resources/V2/Data/Schemas.js +19 -0
- package/esm/resources/V2/Data/Schemas.js.map +1 -0
- package/esm/resources/V2/Data/index.d.ts +34 -0
- package/esm/resources/V2/Data/index.js +17 -0
- package/esm/resources/V2/Data/index.js.map +1 -0
- package/esm/resources/V2/EventMisc.d.ts +0 -0
- package/esm/resources/V2/EventMisc.js +2 -0
- package/esm/resources/V2/EventMisc.js.map +1 -0
- package/esm/resources/V2/Extend/WorkflowRuns.d.ts +163 -0
- package/esm/resources/V2/Extend/WorkflowRuns.js +19 -0
- package/esm/resources/V2/Extend/WorkflowRuns.js.map +1 -0
- package/esm/resources/V2/Extend/Workflows.d.ts +120 -0
- package/esm/resources/V2/Extend/Workflows.js +26 -0
- package/esm/resources/V2/Extend/Workflows.js.map +1 -0
- package/esm/resources/V2/Extend/index.d.ts +20 -0
- package/esm/resources/V2/Extend/index.js +11 -0
- package/esm/resources/V2/Extend/index.js.map +1 -0
- package/esm/resources/V2/Iam/ActivityLogs.d.ts +377 -0
- package/esm/resources/V2/Iam/ActivityLogs.js +19 -0
- package/esm/resources/V2/Iam/ActivityLogs.js.map +1 -0
- package/esm/resources/V2/Iam/index.d.ts +13 -0
- package/esm/resources/V2/Iam/index.js +9 -0
- package/esm/resources/V2/Iam/index.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/Adjustments.d.ts +6 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.d.ts +102 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +15 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.js.map +1 -1
- package/esm/resources/V2/MoneyManagement/FinancialAddressGeneratedMicrodeposits.d.ts +19 -0
- package/esm/resources/V2/MoneyManagement/FinancialAddressGeneratedMicrodeposits.js +3 -0
- package/esm/resources/V2/MoneyManagement/FinancialAddressGeneratedMicrodeposits.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/InboundTransfers.d.ts +4 -0
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +356 -0
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +19 -0
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/OutboundPayments.d.ts +79 -1
- package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +96 -2
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.d.ts +418 -0
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.js +36 -0
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/PayoutIntents.d.ts +2 -2
- package/esm/resources/V2/MoneyManagement/PayoutMethods.d.ts +66 -1
- package/esm/resources/V2/MoneyManagement/PayoutMethods.js +9 -0
- package/esm/resources/V2/MoneyManagement/PayoutMethods.js.map +1 -1
- package/esm/resources/V2/MoneyManagement/ReceivedCredits.d.ts +6 -2
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.d.ts +163 -0
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.js +19 -0
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/RecipientVerifications.d.ts +5 -1
- package/esm/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.d.ts +15 -1
- package/esm/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.js +7 -0
- package/esm/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.js.map +1 -1
- package/esm/resources/V2/MoneyManagement/index.d.ts +63 -37
- package/esm/resources/V2/MoneyManagement/index.js +6 -0
- package/esm/resources/V2/MoneyManagement/index.js.map +1 -1
- package/esm/resources/V2/Network/BusinessProfiles.d.ts +92 -0
- package/esm/resources/V2/Network/BusinessProfiles.js +17 -0
- package/esm/resources/V2/Network/BusinessProfiles.js.map +1 -0
- package/esm/resources/V2/Network/index.d.ts +13 -0
- package/esm/resources/V2/Network/index.js +9 -0
- package/esm/resources/V2/Network/index.js.map +1 -0
- package/esm/resources/V2/OrchestratedCommerce/Agreements.d.ts +143 -0
- package/esm/resources/V2/OrchestratedCommerce/Agreements.js +37 -0
- package/esm/resources/V2/OrchestratedCommerce/Agreements.js.map +1 -0
- package/esm/resources/V2/OrchestratedCommerce/index.d.ts +16 -0
- package/esm/resources/V2/OrchestratedCommerce/index.js +9 -0
- package/esm/resources/V2/OrchestratedCommerce/index.js.map +1 -0
- package/esm/resources/V2/Signals/AccountActivities.d.ts +432 -0
- package/esm/resources/V2/Signals/AccountActivities.js +23 -0
- package/esm/resources/V2/Signals/AccountActivities.js.map +1 -0
- package/esm/resources/V2/Signals/AccountEvaluations.d.ts +405 -0
- package/esm/resources/V2/Signals/AccountEvaluations.js +55 -0
- package/esm/resources/V2/Signals/AccountEvaluations.js.map +1 -0
- package/esm/resources/V2/Signals/AccountSignals.d.ts +196 -0
- package/esm/resources/V2/Signals/AccountSignals.js +62 -0
- package/esm/resources/V2/Signals/AccountSignals.js.map +1 -0
- package/esm/resources/V2/Signals/index.d.ts +26 -0
- package/esm/resources/V2/Signals/index.js +13 -0
- package/esm/resources/V2/Signals/index.js.map +1 -0
- package/esm/resources/V2/index.d.ts +18 -0
- package/esm/resources/V2/index.js +12 -0
- package/esm/resources/V2/index.js.map +1 -1
- package/esm/resources/WebhookEndpoints.d.ts +2 -2
- package/esm/resources.d.ts +10 -0
- package/esm/resources.js +112 -0
- package/esm/resources.js.map +1 -1
- package/esm/stripe.core.d.ts +60 -26
- package/esm/stripe.core.js +21 -2
- package/esm/stripe.core.js.map +1 -1
- package/esm/stripe.esm.node.d.ts +60 -26
- package/esm/stripe.esm.node.js +21 -2
- package/esm/stripe.esm.node.js.map +1 -1
- package/package.json +1 -1
|
@@ -7,6 +7,12 @@ export declare class FinancialAccountResource extends StripeResource {
|
|
|
7
7
|
* Returns a list of FinancialAccounts in your account that match the provided filters.
|
|
8
8
|
*/
|
|
9
9
|
list(params?: V2.MoneyManagement.FinancialAccountListParams, options?: RequestOptions): V2ListPromise<FinancialAccount>;
|
|
10
|
+
/**
|
|
11
|
+
* Creates a new FinancialAccount.
|
|
12
|
+
* @throws Stripe.AlreadyExistsError
|
|
13
|
+
* @throws Stripe.FeatureNotEnabledError
|
|
14
|
+
*/
|
|
15
|
+
create(params: V2.MoneyManagement.FinancialAccountCreateParams, options?: RequestOptions): Promise<Response<FinancialAccount>>;
|
|
10
16
|
/**
|
|
11
17
|
* Retrieves the details of an existing FinancialAccount.
|
|
12
18
|
*/
|
|
@@ -15,6 +21,11 @@ export declare class FinancialAccountResource extends StripeResource {
|
|
|
15
21
|
* Updates an existing FinancialAccount using the provided parameters.
|
|
16
22
|
*/
|
|
17
23
|
update(id: string, params?: V2.MoneyManagement.FinancialAccountUpdateParams, options?: RequestOptions): Promise<Response<FinancialAccount>>;
|
|
24
|
+
/**
|
|
25
|
+
* Closes a FinancialAccount. You must provide forwarding settings if it has a non-zero balance.
|
|
26
|
+
* @throws Stripe.NonZeroBalanceError
|
|
27
|
+
*/
|
|
28
|
+
close(id: string, params?: V2.MoneyManagement.FinancialAccountCloseParams, options?: RequestOptions): Promise<Response<FinancialAccount>>;
|
|
18
29
|
}
|
|
19
30
|
export interface FinancialAccount {
|
|
20
31
|
/**
|
|
@@ -60,6 +71,10 @@ export interface FinancialAccount {
|
|
|
60
71
|
* Closed Enum. An enum representing the status of the FinancialAccount. This indicates whether or not the FinancialAccount can be used for any money movement flows.
|
|
61
72
|
*/
|
|
62
73
|
status: FinancialAccount.Status;
|
|
74
|
+
/**
|
|
75
|
+
* Additional details related to the status of the FinancialAccount.
|
|
76
|
+
*/
|
|
77
|
+
status_details?: FinancialAccount.StatusDetails;
|
|
63
78
|
/**
|
|
64
79
|
* If the FinancialAccount's `type` is `storage`, this hash contains details specific to that type.
|
|
65
80
|
*/
|
|
@@ -99,6 +114,12 @@ export declare namespace FinancialAccount {
|
|
|
99
114
|
type: string;
|
|
100
115
|
}
|
|
101
116
|
type Status = 'closed' | 'open' | 'pending';
|
|
117
|
+
interface StatusDetails {
|
|
118
|
+
/**
|
|
119
|
+
* Details about the FinancialAccount's closure. Only populated when `status` is `closed`.
|
|
120
|
+
*/
|
|
121
|
+
closed?: StatusDetails.Closed;
|
|
122
|
+
}
|
|
102
123
|
interface Storage {
|
|
103
124
|
/**
|
|
104
125
|
* Array of eligibility objects, segmented by bank name and deposit insurance scheme.
|
|
@@ -110,6 +131,32 @@ export declare namespace FinancialAccount {
|
|
|
110
131
|
holds_currencies: Array<string>;
|
|
111
132
|
}
|
|
112
133
|
type Type = 'other' | 'storage';
|
|
134
|
+
namespace StatusDetails {
|
|
135
|
+
interface Closed {
|
|
136
|
+
/**
|
|
137
|
+
* When configured, the forwarding settings for the closed FinancialAccount.
|
|
138
|
+
*/
|
|
139
|
+
forwarding_settings?: Closed.ForwardingSettings;
|
|
140
|
+
/**
|
|
141
|
+
* Closed Enum. The reason the FinancialAccount was closed.
|
|
142
|
+
*/
|
|
143
|
+
reason: Closed.Reason;
|
|
144
|
+
}
|
|
145
|
+
namespace Closed {
|
|
146
|
+
interface ForwardingSettings {
|
|
147
|
+
/**
|
|
148
|
+
* ID of the FinancialAccount that supplies funds to cover negative balances
|
|
149
|
+
* during or after this FinancialAccount's closure.
|
|
150
|
+
*/
|
|
151
|
+
payment_method?: string;
|
|
152
|
+
/**
|
|
153
|
+
* ID of the FinancialAccount that receives funds forwarded from this FinancialAccount when it closes.
|
|
154
|
+
*/
|
|
155
|
+
payout_method?: string;
|
|
156
|
+
}
|
|
157
|
+
type Reason = 'account_closed' | 'closed_by_platform' | 'other';
|
|
158
|
+
}
|
|
159
|
+
}
|
|
113
160
|
namespace Storage {
|
|
114
161
|
interface DepositInsuranceEligibility {
|
|
115
162
|
/**
|
|
@@ -131,6 +178,37 @@ export declare namespace FinancialAccount {
|
|
|
131
178
|
}
|
|
132
179
|
}
|
|
133
180
|
}
|
|
181
|
+
export declare namespace V2 {
|
|
182
|
+
namespace MoneyManagement {
|
|
183
|
+
interface FinancialAccountCreateParams {
|
|
184
|
+
/**
|
|
185
|
+
* The type of FinancialAccount to create.
|
|
186
|
+
*/
|
|
187
|
+
type: 'storage';
|
|
188
|
+
/**
|
|
189
|
+
* A descriptive name for the FinancialAccount, up to 50 characters long. This name will be used in the Stripe Dashboard and embedded components.
|
|
190
|
+
*/
|
|
191
|
+
display_name?: string;
|
|
192
|
+
/**
|
|
193
|
+
* Metadata associated with the FinancialAccount.
|
|
194
|
+
*/
|
|
195
|
+
metadata?: MetadataParam;
|
|
196
|
+
/**
|
|
197
|
+
* Parameters specific to creating `storage` type FinancialAccounts.
|
|
198
|
+
*/
|
|
199
|
+
storage?: FinancialAccountCreateParams.Storage;
|
|
200
|
+
}
|
|
201
|
+
namespace FinancialAccountCreateParams {
|
|
202
|
+
interface Storage {
|
|
203
|
+
/**
|
|
204
|
+
* The currencies that the storage FinancialAccount can hold a balance in. Three-letter ISO currency code, in lowercase.
|
|
205
|
+
* Must be a subset of the currencies requested in `configuration.storer.features.holds_currencies` of the v2/accounts API.
|
|
206
|
+
*/
|
|
207
|
+
holds_currencies: Array<string>;
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
}
|
|
134
212
|
export declare namespace V2 {
|
|
135
213
|
namespace MoneyManagement {
|
|
136
214
|
interface FinancialAccountRetrieveParams {
|
|
@@ -178,3 +256,27 @@ export declare namespace V2 {
|
|
|
178
256
|
}
|
|
179
257
|
}
|
|
180
258
|
}
|
|
259
|
+
export declare namespace V2 {
|
|
260
|
+
namespace MoneyManagement {
|
|
261
|
+
interface FinancialAccountCloseParams {
|
|
262
|
+
/**
|
|
263
|
+
* Settings that specify where to send positive balances and how to cover negative balances.
|
|
264
|
+
* You must provide these settings if the FinancialAccount has a non-zero balance.
|
|
265
|
+
*/
|
|
266
|
+
forwarding_settings?: FinancialAccountCloseParams.ForwardingSettings;
|
|
267
|
+
}
|
|
268
|
+
namespace FinancialAccountCloseParams {
|
|
269
|
+
interface ForwardingSettings {
|
|
270
|
+
/**
|
|
271
|
+
* ID of the FinancialAccount that supplies funds to cover negative balances
|
|
272
|
+
* during or after this FinancialAccount's closure.
|
|
273
|
+
*/
|
|
274
|
+
payment_method?: string;
|
|
275
|
+
/**
|
|
276
|
+
* ID of the FinancialAccount that receives funds forwarded from this FinancialAccount when it closes.
|
|
277
|
+
*/
|
|
278
|
+
payout_method?: string;
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
}
|
|
@@ -9,6 +9,14 @@ export class FinancialAccountResource extends StripeResource {
|
|
|
9
9
|
methodType: 'list',
|
|
10
10
|
});
|
|
11
11
|
}
|
|
12
|
+
/**
|
|
13
|
+
* Creates a new FinancialAccount.
|
|
14
|
+
* @throws Stripe.AlreadyExistsError
|
|
15
|
+
* @throws Stripe.FeatureNotEnabledError
|
|
16
|
+
*/
|
|
17
|
+
create(params, options) {
|
|
18
|
+
return this._makeRequest('POST', '/v2/money_management/financial_accounts', params, options);
|
|
19
|
+
}
|
|
12
20
|
/**
|
|
13
21
|
* Retrieves the details of an existing FinancialAccount.
|
|
14
22
|
*/
|
|
@@ -21,5 +29,12 @@ export class FinancialAccountResource extends StripeResource {
|
|
|
21
29
|
update(id, params, options) {
|
|
22
30
|
return this._makeRequest('POST', `/v2/money_management/financial_accounts/${encodeURIComponent(id)}`, params, options);
|
|
23
31
|
}
|
|
32
|
+
/**
|
|
33
|
+
* Closes a FinancialAccount. You must provide forwarding settings if it has a non-zero balance.
|
|
34
|
+
* @throws Stripe.NonZeroBalanceError
|
|
35
|
+
*/
|
|
36
|
+
close(id, params, options) {
|
|
37
|
+
return this._makeRequest('POST', `/v2/money_management/financial_accounts/${encodeURIComponent(id)}/close`, params, options);
|
|
38
|
+
}
|
|
24
39
|
}
|
|
25
40
|
//# sourceMappingURL=FinancialAccounts.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FinancialAccounts.js","sourceRoot":"","sources":["../../../../src/resources/V2/MoneyManagement/FinancialAccounts.ts"],"names":[],"mappings":"AAAA,uCAAuC;AAEvC,OAAO,EAAC,cAAc,EAAC,MAAM,4BAA4B,CAAC;AAK1D,MAAM,OAAO,wBAAyB,SAAQ,cAAc;IAC1D;;OAEG;IACH,IAAI,CACF,MAAsD,EACtD,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,KAAK,EACL,yCAAyC,EACzC,MAAM,EACN,OAAO,EACP;YACE,UAAU,EAAE,MAAM;SACnB,CACK,CAAC;IACX,CAAC;IACD;;OAEG;IACH,QAAQ,CACN,EAAU,EACV,MAA0D,EAC1D,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,KAAK,EACL,2CAA2C,kBAAkB,CAAC,EAAE,CAAC,EAAE,EACnE,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;OAEG;IACH,MAAM,CACJ,EAAU,EACV,MAAwD,EACxD,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,2CAA2C,kBAAkB,CAAC,EAAE,CAAC,EAAE,EACnE,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;CACF"}
|
|
1
|
+
{"version":3,"file":"FinancialAccounts.js","sourceRoot":"","sources":["../../../../src/resources/V2/MoneyManagement/FinancialAccounts.ts"],"names":[],"mappings":"AAAA,uCAAuC;AAEvC,OAAO,EAAC,cAAc,EAAC,MAAM,4BAA4B,CAAC;AAK1D,MAAM,OAAO,wBAAyB,SAAQ,cAAc;IAC1D;;OAEG;IACH,IAAI,CACF,MAAsD,EACtD,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,KAAK,EACL,yCAAyC,EACzC,MAAM,EACN,OAAO,EACP;YACE,UAAU,EAAE,MAAM;SACnB,CACK,CAAC;IACX,CAAC;IACD;;;;OAIG;IACH,MAAM,CACJ,MAAuD,EACvD,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,yCAAyC,EACzC,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;OAEG;IACH,QAAQ,CACN,EAAU,EACV,MAA0D,EAC1D,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,KAAK,EACL,2CAA2C,kBAAkB,CAAC,EAAE,CAAC,EAAE,EACnE,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;OAEG;IACH,MAAM,CACJ,EAAU,EACV,MAAwD,EACxD,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,2CAA2C,kBAAkB,CAAC,EAAE,CAAC,EAAE,EACnE,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;;OAGG;IACH,KAAK,CACH,EAAU,EACV,MAAuD,EACvD,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,2CAA2C,kBAAkB,CAAC,EAAE,CAAC,QAAQ,EACzE,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;CACF"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { V2Amount } from './../V2Amounts.js';
|
|
2
|
+
export interface FinancialAddressGeneratedMicrodeposits {
|
|
3
|
+
/**
|
|
4
|
+
* String representing the object's type. Objects of the same type share the same value of the object field.
|
|
5
|
+
*/
|
|
6
|
+
object: 'v2.money_management.financial_address_generated_microdeposits';
|
|
7
|
+
/**
|
|
8
|
+
* The amounts of the microdeposits that were generated.
|
|
9
|
+
*/
|
|
10
|
+
amounts: Array<V2Amount>;
|
|
11
|
+
/**
|
|
12
|
+
* Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
|
13
|
+
*/
|
|
14
|
+
livemode: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* Closed Enum. The status of the request.
|
|
17
|
+
*/
|
|
18
|
+
status: 'accepted';
|
|
19
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FinancialAddressGeneratedMicrodeposits.js","sourceRoot":"","sources":["../../../../src/resources/V2/MoneyManagement/FinancialAddressGeneratedMicrodeposits.ts"],"names":[],"mappings":"AAAA,uCAAuC"}
|
|
@@ -46,6 +46,10 @@ export interface InboundTransfer {
|
|
|
46
46
|
* Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
|
47
47
|
*/
|
|
48
48
|
livemode: boolean;
|
|
49
|
+
/**
|
|
50
|
+
* A hosted transaction receipt URL that is provided when money movement is considered regulated under Stripe's money transmission licenses.
|
|
51
|
+
*/
|
|
52
|
+
receipt_url?: string;
|
|
49
53
|
/**
|
|
50
54
|
* A nested object containing information about the destination of the InboundTransfer.
|
|
51
55
|
*/
|
|
@@ -0,0 +1,356 @@
|
|
|
1
|
+
import { StripeResource } from '../../../StripeResource.js';
|
|
2
|
+
import { V2Amount } from './../V2Amounts.js';
|
|
3
|
+
import { OtherString } from '../../../shared.js';
|
|
4
|
+
import { RequestOptions, Response } from '../../../lib.js';
|
|
5
|
+
export declare class OutboundPaymentQuoteResource extends StripeResource {
|
|
6
|
+
/**
|
|
7
|
+
* Creates an OutboundPaymentQuote usable in an OutboundPayment.
|
|
8
|
+
* @throws Stripe.CapabilityNotEnabledError
|
|
9
|
+
* @throws Stripe.FeatureNotEnabledError
|
|
10
|
+
*/
|
|
11
|
+
create(params: V2.MoneyManagement.OutboundPaymentQuoteCreateParams, options?: RequestOptions): Promise<Response<OutboundPaymentQuote>>;
|
|
12
|
+
/**
|
|
13
|
+
* Retrieves the details of an existing OutboundPaymentQuote by passing the unique OutboundPaymentQuote ID.
|
|
14
|
+
*/
|
|
15
|
+
retrieve(id: string, params?: V2.MoneyManagement.OutboundPaymentQuoteRetrieveParams, options?: RequestOptions): Promise<Response<OutboundPaymentQuote>>;
|
|
16
|
+
}
|
|
17
|
+
export interface OutboundPaymentQuote {
|
|
18
|
+
/**
|
|
19
|
+
* Unique identifier for the OutboundPaymentQuote.
|
|
20
|
+
*/
|
|
21
|
+
id: string;
|
|
22
|
+
/**
|
|
23
|
+
* String representing the object's type. Objects of the same type share the same value of the object field.
|
|
24
|
+
*/
|
|
25
|
+
object: 'v2.money_management.outbound_payment_quote';
|
|
26
|
+
/**
|
|
27
|
+
* The "presentment amount" for the OutboundPaymentQuote.
|
|
28
|
+
*/
|
|
29
|
+
amount: V2Amount;
|
|
30
|
+
/**
|
|
31
|
+
* Time at which the OutboundPaymentQuote was created.
|
|
32
|
+
* Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
|
|
33
|
+
*/
|
|
34
|
+
created: string;
|
|
35
|
+
/**
|
|
36
|
+
* Delivery options to be used to send the OutboundPayment.
|
|
37
|
+
*/
|
|
38
|
+
delivery_options?: OutboundPaymentQuote.DeliveryOptions;
|
|
39
|
+
/**
|
|
40
|
+
* The estimated fees for the OutboundPaymentQuote.
|
|
41
|
+
*/
|
|
42
|
+
estimated_fees: Array<OutboundPaymentQuote.EstimatedFee>;
|
|
43
|
+
/**
|
|
44
|
+
* Details about the sender of an OutboundPaymentQuote.
|
|
45
|
+
*/
|
|
46
|
+
from: OutboundPaymentQuote.From;
|
|
47
|
+
/**
|
|
48
|
+
* The underlying FXQuote details for the OutboundPaymentQuote.
|
|
49
|
+
*/
|
|
50
|
+
fx_quote: OutboundPaymentQuote.FxQuote;
|
|
51
|
+
/**
|
|
52
|
+
* Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
|
53
|
+
*/
|
|
54
|
+
livemode: boolean;
|
|
55
|
+
/**
|
|
56
|
+
* Details about the recipient of an OutboundPaymentQuote.
|
|
57
|
+
*/
|
|
58
|
+
to: OutboundPaymentQuote.To;
|
|
59
|
+
}
|
|
60
|
+
export declare namespace OutboundPaymentQuote {
|
|
61
|
+
interface DeliveryOptions {
|
|
62
|
+
/**
|
|
63
|
+
* Open Enum. Method for bank account.
|
|
64
|
+
*/
|
|
65
|
+
bank_account?: DeliveryOptions.BankAccount;
|
|
66
|
+
}
|
|
67
|
+
interface EstimatedFee {
|
|
68
|
+
/**
|
|
69
|
+
* The fee amount for corresponding fee type.
|
|
70
|
+
*/
|
|
71
|
+
amount: V2Amount;
|
|
72
|
+
/**
|
|
73
|
+
* Details about the network and options associated with this fee. Present when type is network_fee.
|
|
74
|
+
*/
|
|
75
|
+
network_fee_details?: EstimatedFee.NetworkFeeDetails;
|
|
76
|
+
/**
|
|
77
|
+
* Tax charged for this fee, if applicable. Value expressed as a decimal string in major units.
|
|
78
|
+
*/
|
|
79
|
+
tax_amount?: EstimatedFee.TaxAmount;
|
|
80
|
+
/**
|
|
81
|
+
* The fee type.
|
|
82
|
+
*/
|
|
83
|
+
type: EstimatedFee.Type;
|
|
84
|
+
}
|
|
85
|
+
interface From {
|
|
86
|
+
/**
|
|
87
|
+
* The monetary amount debited from the sender, only set on responses.
|
|
88
|
+
*/
|
|
89
|
+
debited: V2Amount;
|
|
90
|
+
/**
|
|
91
|
+
* The FinancialAccount that funds were pulled from.
|
|
92
|
+
*/
|
|
93
|
+
financial_account: string;
|
|
94
|
+
}
|
|
95
|
+
interface FxQuote {
|
|
96
|
+
/**
|
|
97
|
+
* The duration the exchange rate lock remains valid from creation time. Allowed value is five_minutes or none.
|
|
98
|
+
*/
|
|
99
|
+
lock_duration: FxQuote.LockDuration;
|
|
100
|
+
/**
|
|
101
|
+
* Time at which the rate lock will expire, measured in seconds since the Unix epoch. Null when rate locking is not supported.
|
|
102
|
+
*/
|
|
103
|
+
lock_expires_at?: string;
|
|
104
|
+
/**
|
|
105
|
+
* Lock status of the quote. Transitions from active to expired once past the lock_expires_at timestamp. Value can be active, expired or none.
|
|
106
|
+
*/
|
|
107
|
+
lock_status: FxQuote.LockStatus;
|
|
108
|
+
/**
|
|
109
|
+
* Key pair: from currency Value: exchange rate going from_currency -> to_currency.
|
|
110
|
+
*/
|
|
111
|
+
rates: {
|
|
112
|
+
[key: string]: FxQuote.Rates;
|
|
113
|
+
};
|
|
114
|
+
/**
|
|
115
|
+
* The currency that the transaction is exchanging to.
|
|
116
|
+
*/
|
|
117
|
+
to_currency: string;
|
|
118
|
+
}
|
|
119
|
+
interface To {
|
|
120
|
+
/**
|
|
121
|
+
* The monetary amount being credited to the destination.
|
|
122
|
+
*/
|
|
123
|
+
credited: V2Amount;
|
|
124
|
+
/**
|
|
125
|
+
* The payout method which the OutboundPayment uses to send payout.
|
|
126
|
+
*/
|
|
127
|
+
payout_method: string;
|
|
128
|
+
/**
|
|
129
|
+
* Payout method options for the OutboundPaymentQuote.
|
|
130
|
+
*/
|
|
131
|
+
payout_method_options?: To.PayoutMethodOptions;
|
|
132
|
+
/**
|
|
133
|
+
* To which account the OutboundPayment is sent.
|
|
134
|
+
*/
|
|
135
|
+
recipient: string;
|
|
136
|
+
}
|
|
137
|
+
namespace DeliveryOptions {
|
|
138
|
+
type BankAccount = 'automatic' | 'local' | 'wire' | OtherString;
|
|
139
|
+
}
|
|
140
|
+
namespace EstimatedFee {
|
|
141
|
+
interface NetworkFeeDetails {
|
|
142
|
+
/**
|
|
143
|
+
* The network associated with the fee.
|
|
144
|
+
*/
|
|
145
|
+
network: NetworkFeeDetails.Network;
|
|
146
|
+
/**
|
|
147
|
+
* Per-network options that affect the fee.
|
|
148
|
+
*/
|
|
149
|
+
network_options: NetworkFeeDetails.NetworkOptions;
|
|
150
|
+
}
|
|
151
|
+
interface TaxAmount {
|
|
152
|
+
/**
|
|
153
|
+
* Currency code.
|
|
154
|
+
*/
|
|
155
|
+
currency: string;
|
|
156
|
+
/**
|
|
157
|
+
* Tax amount value represented as a decimal string in major units.
|
|
158
|
+
*/
|
|
159
|
+
value_decimal: string;
|
|
160
|
+
}
|
|
161
|
+
type Type = 'cross_border_payout_fee' | 'foreign_exchange_fee' | 'instant_payout_fee' | 'network_fee' | 'next_day_payout_fee' | 'standard_payout_fee' | 'wire_payout_fee' | OtherString;
|
|
162
|
+
namespace NetworkFeeDetails {
|
|
163
|
+
type Network = 'ach' | 'fedwire' | 'fps' | 'local' | 'rtp' | 'sepa' | 'swift' | OtherString;
|
|
164
|
+
interface NetworkOptions {
|
|
165
|
+
/**
|
|
166
|
+
* ACH-specific network fee options.
|
|
167
|
+
*/
|
|
168
|
+
ach?: NetworkOptions.Ach;
|
|
169
|
+
}
|
|
170
|
+
namespace NetworkOptions {
|
|
171
|
+
interface Ach {
|
|
172
|
+
/**
|
|
173
|
+
* Open Enum. ACH submission timing.
|
|
174
|
+
*/
|
|
175
|
+
submission?: Ach.Submission;
|
|
176
|
+
}
|
|
177
|
+
namespace Ach {
|
|
178
|
+
type Submission = 'next_day' | 'same_day' | OtherString;
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
namespace FxQuote {
|
|
184
|
+
type LockDuration = 'five_minutes' | 'none' | OtherString;
|
|
185
|
+
type LockStatus = 'active' | 'expired' | 'none' | OtherString;
|
|
186
|
+
interface Rates {
|
|
187
|
+
/**
|
|
188
|
+
* The exchange rate going from_currency -> to_currency.
|
|
189
|
+
*/
|
|
190
|
+
exchange_rate: string;
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
namespace To {
|
|
194
|
+
interface PayoutMethodOptions {
|
|
195
|
+
/**
|
|
196
|
+
* Options for bank account payout methods.
|
|
197
|
+
*/
|
|
198
|
+
bank_account?: PayoutMethodOptions.BankAccount;
|
|
199
|
+
}
|
|
200
|
+
namespace PayoutMethodOptions {
|
|
201
|
+
interface BankAccount {
|
|
202
|
+
/**
|
|
203
|
+
* Per-network configuration options.
|
|
204
|
+
*/
|
|
205
|
+
preferred_network_options?: BankAccount.PreferredNetworkOptions;
|
|
206
|
+
/**
|
|
207
|
+
* The preferred networks to use for this OutboundPayment.
|
|
208
|
+
*/
|
|
209
|
+
preferred_networks?: Array<BankAccount.PreferredNetwork>;
|
|
210
|
+
}
|
|
211
|
+
namespace BankAccount {
|
|
212
|
+
interface PreferredNetworkOptions {
|
|
213
|
+
/**
|
|
214
|
+
* ACH-specific network options.
|
|
215
|
+
*/
|
|
216
|
+
ach?: PreferredNetworkOptions.Ach;
|
|
217
|
+
}
|
|
218
|
+
type PreferredNetwork = 'ach' | 'fedwire' | 'fps' | 'rtp' | 'sepa' | 'swift' | OtherString;
|
|
219
|
+
namespace PreferredNetworkOptions {
|
|
220
|
+
interface Ach {
|
|
221
|
+
/**
|
|
222
|
+
* Open Enum. ACH submission timing.
|
|
223
|
+
*/
|
|
224
|
+
submission?: Ach.Submission;
|
|
225
|
+
/**
|
|
226
|
+
* The transaction purpose for this ACH payment.
|
|
227
|
+
*/
|
|
228
|
+
transaction_purpose?: Ach.TransactionPurpose;
|
|
229
|
+
}
|
|
230
|
+
namespace Ach {
|
|
231
|
+
type Submission = 'next_day' | 'same_day' | OtherString;
|
|
232
|
+
type TransactionPurpose = 'payroll' | OtherString;
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
export declare namespace V2 {
|
|
240
|
+
namespace MoneyManagement {
|
|
241
|
+
interface OutboundPaymentQuoteCreateParams {
|
|
242
|
+
/**
|
|
243
|
+
* The "presentment amount" to be sent to the recipient.
|
|
244
|
+
*/
|
|
245
|
+
amount: V2Amount;
|
|
246
|
+
/**
|
|
247
|
+
* Request details about the sender of an OutboundPaymentQuote.
|
|
248
|
+
*/
|
|
249
|
+
from: OutboundPaymentQuoteCreateParams.From;
|
|
250
|
+
/**
|
|
251
|
+
* Request details about the recipient of an OutboundPaymentQuote.
|
|
252
|
+
*/
|
|
253
|
+
to: OutboundPaymentQuoteCreateParams.To;
|
|
254
|
+
/**
|
|
255
|
+
* Method to be used to send the OutboundPayment.
|
|
256
|
+
*/
|
|
257
|
+
delivery_options?: OutboundPaymentQuoteCreateParams.DeliveryOptions;
|
|
258
|
+
}
|
|
259
|
+
namespace OutboundPaymentQuoteCreateParams {
|
|
260
|
+
interface From {
|
|
261
|
+
/**
|
|
262
|
+
* Describes the FinancialAccount's currency drawn from.
|
|
263
|
+
*/
|
|
264
|
+
currency: string;
|
|
265
|
+
/**
|
|
266
|
+
* The FinancialAccount that funds were pulled from.
|
|
267
|
+
*/
|
|
268
|
+
financial_account: string;
|
|
269
|
+
}
|
|
270
|
+
interface To {
|
|
271
|
+
/**
|
|
272
|
+
* Describes the currency to send to the recipient.
|
|
273
|
+
* If included, this currency must match a currency supported by the destination.
|
|
274
|
+
* Can be omitted in the following cases:
|
|
275
|
+
* - destination only supports one currency
|
|
276
|
+
* - destination supports multiple currencies and one of the currencies matches the FA currency
|
|
277
|
+
* - destination supports multiple currencies and one of the currencies matches the presentment currency
|
|
278
|
+
* Note - when both FA currency and presentment currency are supported, we pick the FA currency to minimize FX.
|
|
279
|
+
*/
|
|
280
|
+
currency?: string;
|
|
281
|
+
/**
|
|
282
|
+
* The payout method which the OutboundPayment uses to send payout.
|
|
283
|
+
*/
|
|
284
|
+
payout_method?: string;
|
|
285
|
+
/**
|
|
286
|
+
* Payout method options for the OutboundPaymentQuote.
|
|
287
|
+
*/
|
|
288
|
+
payout_method_options?: To.PayoutMethodOptions;
|
|
289
|
+
/**
|
|
290
|
+
* To which account the OutboundPayment is sent.
|
|
291
|
+
*/
|
|
292
|
+
recipient: string;
|
|
293
|
+
}
|
|
294
|
+
interface DeliveryOptions {
|
|
295
|
+
/**
|
|
296
|
+
* Open Enum. Method for bank account.
|
|
297
|
+
*/
|
|
298
|
+
bank_account?: DeliveryOptions.BankAccount;
|
|
299
|
+
}
|
|
300
|
+
namespace DeliveryOptions {
|
|
301
|
+
type BankAccount = 'automatic' | 'local' | 'wire' | OtherString;
|
|
302
|
+
}
|
|
303
|
+
namespace To {
|
|
304
|
+
interface PayoutMethodOptions {
|
|
305
|
+
/**
|
|
306
|
+
* Options for bank account payout methods.
|
|
307
|
+
*/
|
|
308
|
+
bank_account?: PayoutMethodOptions.BankAccount;
|
|
309
|
+
}
|
|
310
|
+
namespace PayoutMethodOptions {
|
|
311
|
+
interface BankAccount {
|
|
312
|
+
/**
|
|
313
|
+
* Per-network configuration options.
|
|
314
|
+
*/
|
|
315
|
+
preferred_network_options?: BankAccount.PreferredNetworkOptions;
|
|
316
|
+
/**
|
|
317
|
+
* The preferred networks to use for this OutboundPayment.
|
|
318
|
+
*/
|
|
319
|
+
preferred_networks?: Array<BankAccount.PreferredNetwork>;
|
|
320
|
+
}
|
|
321
|
+
namespace BankAccount {
|
|
322
|
+
interface PreferredNetworkOptions {
|
|
323
|
+
/**
|
|
324
|
+
* ACH-specific network options.
|
|
325
|
+
*/
|
|
326
|
+
ach?: PreferredNetworkOptions.Ach;
|
|
327
|
+
}
|
|
328
|
+
type PreferredNetwork = 'ach' | 'fedwire' | 'fps' | 'rtp' | 'sepa' | 'swift' | OtherString;
|
|
329
|
+
namespace PreferredNetworkOptions {
|
|
330
|
+
interface Ach {
|
|
331
|
+
/**
|
|
332
|
+
* Open Enum. ACH submission timing.
|
|
333
|
+
*/
|
|
334
|
+
submission?: Ach.Submission;
|
|
335
|
+
/**
|
|
336
|
+
* The transaction purpose for this ACH payment.
|
|
337
|
+
*/
|
|
338
|
+
transaction_purpose?: Ach.TransactionPurpose;
|
|
339
|
+
}
|
|
340
|
+
namespace Ach {
|
|
341
|
+
type Submission = 'next_day' | 'same_day' | OtherString;
|
|
342
|
+
type TransactionPurpose = 'payroll' | OtherString;
|
|
343
|
+
}
|
|
344
|
+
}
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
}
|
|
348
|
+
}
|
|
349
|
+
}
|
|
350
|
+
}
|
|
351
|
+
export declare namespace V2 {
|
|
352
|
+
namespace MoneyManagement {
|
|
353
|
+
interface OutboundPaymentQuoteRetrieveParams {
|
|
354
|
+
}
|
|
355
|
+
}
|
|
356
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec
|
|
2
|
+
import { StripeResource } from '../../../StripeResource.js';
|
|
3
|
+
export class OutboundPaymentQuoteResource extends StripeResource {
|
|
4
|
+
/**
|
|
5
|
+
* Creates an OutboundPaymentQuote usable in an OutboundPayment.
|
|
6
|
+
* @throws Stripe.CapabilityNotEnabledError
|
|
7
|
+
* @throws Stripe.FeatureNotEnabledError
|
|
8
|
+
*/
|
|
9
|
+
create(params, options) {
|
|
10
|
+
return this._makeRequest('POST', '/v2/money_management/outbound_payment_quotes', params, options);
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Retrieves the details of an existing OutboundPaymentQuote by passing the unique OutboundPaymentQuote ID.
|
|
14
|
+
*/
|
|
15
|
+
retrieve(id, params, options) {
|
|
16
|
+
return this._makeRequest('GET', `/v2/money_management/outbound_payment_quotes/${encodeURIComponent(id)}`, params, options);
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=OutboundPaymentQuotes.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OutboundPaymentQuotes.js","sourceRoot":"","sources":["../../../../src/resources/V2/MoneyManagement/OutboundPaymentQuotes.ts"],"names":[],"mappings":"AAAA,uCAAuC;AAEvC,OAAO,EAAC,cAAc,EAAC,MAAM,4BAA4B,CAAC;AAK1D,MAAM,OAAO,4BAA6B,SAAQ,cAAc;IAC9D;;;;OAIG;IACH,MAAM,CACJ,MAA2D,EAC3D,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,8CAA8C,EAC9C,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;OAEG;IACH,QAAQ,CACN,EAAU,EACV,MAA8D,EAC9D,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,KAAK,EACL,gDAAgD,kBAAkB,CAAC,EAAE,CAAC,EAAE,EACxE,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;CACF"}
|