stripe 22.7.0-beta.1 → 23.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1566 -3386
- package/OPENAPI_VERSION +1 -1
- package/README.md +73 -43
- package/VERSION +1 -1
- package/cjs/Error.d.ts +1 -51
- package/cjs/Error.js +2 -125
- package/cjs/Error.js.map +1 -1
- package/cjs/RequestSender.js +35 -13
- package/cjs/RequestSender.js.map +1 -1
- package/cjs/StripeEventNotificationHandler.js +217 -80
- package/cjs/StripeEventNotificationHandler.js.map +1 -1
- package/cjs/StripeResource.js +7 -7
- package/cjs/StripeResource.js.map +1 -1
- package/cjs/Types.d.ts +3 -5
- package/cjs/Types.js.map +1 -1
- package/cjs/Webhooks.js +14 -17
- package/cjs/Webhooks.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/lib.d.ts +0 -21
- package/cjs/multipart.js +18 -11
- package/cjs/multipart.js.map +1 -1
- package/cjs/net/NodeHttpClient.d.ts +4 -1
- package/cjs/net/NodeHttpClient.js +13 -42
- package/cjs/net/NodeHttpClient.js.map +1 -1
- package/cjs/platform/ExtensibilityPlatformFunctions.d.ts +1 -1
- package/cjs/platform/ExtensibilityPlatformFunctions.js +1 -1
- package/cjs/platform/NodePlatformFunctions.d.ts +0 -2
- package/cjs/platform/NodePlatformFunctions.js +0 -8
- package/cjs/platform/NodePlatformFunctions.js.map +1 -1
- package/cjs/platform/PlatformFunctions.d.ts +3 -1
- package/cjs/platform/PlatformFunctions.js +7 -6
- package/cjs/platform/PlatformFunctions.js.map +1 -1
- package/cjs/resources/AccountLinks.d.ts +1 -1
- package/cjs/resources/AccountSessions.d.ts +1 -245
- package/cjs/resources/AccountSessions.js +1 -1
- package/cjs/resources/AccountSessions.js.map +1 -1
- package/cjs/resources/Accounts.d.ts +94 -655
- package/cjs/resources/Accounts.js +0 -14
- package/cjs/resources/Accounts.js.map +1 -1
- package/cjs/resources/Apps/Installs.d.ts +204 -0
- package/cjs/resources/Apps/Installs.js +41 -0
- package/cjs/resources/Apps/Installs.js.map +1 -0
- package/cjs/resources/Apps/index.d.ts +14 -5
- package/cjs/resources/Apps/index.js +2 -0
- package/cjs/resources/Apps/index.js.map +1 -1
- package/cjs/resources/Balance.d.ts +1 -68
- package/cjs/resources/BalanceTransactions.d.ts +3 -3
- package/cjs/resources/BankAccounts.d.ts +2 -2
- package/cjs/resources/Billing/AlertTriggereds.d.ts +1 -2
- package/cjs/resources/Billing/FeedbackOptions.d.ts +8 -2
- package/cjs/resources/Billing/FeedbackOptions.js +2 -2
- package/cjs/resources/Billing/index.d.ts +0 -3
- package/cjs/resources/Billing/index.js +0 -2
- package/cjs/resources/Billing/index.js.map +1 -1
- package/cjs/resources/Capabilities.d.ts +2 -2
- package/cjs/resources/Cards.d.ts +0 -17
- package/cjs/resources/Charges.d.ts +84 -3083
- package/cjs/resources/Charges.js +2 -8
- package/cjs/resources/Charges.js.map +1 -1
- package/cjs/resources/Checkout/Sessions.d.ts +66 -384
- package/cjs/resources/ConfirmationTokens.d.ts +3 -63
- package/cjs/resources/Coupons.d.ts +0 -53
- package/cjs/resources/Coupons.js +0 -13
- package/cjs/resources/Coupons.js.map +1 -1
- package/cjs/resources/CreditNoteLineItems.d.ts +1 -15
- package/cjs/resources/CreditNotes.d.ts +1 -1
- package/cjs/resources/CustomerSessions.d.ts +0 -68
- package/cjs/resources/Customers.d.ts +4 -23
- package/cjs/resources/Customers.js +0 -14
- package/cjs/resources/Customers.js.map +1 -1
- package/cjs/resources/Discounts.d.ts +9 -2
- package/cjs/resources/Disputes.d.ts +0 -29
- package/cjs/resources/Events.d.ts +49 -554
- package/cjs/resources/ExternalAccounts.d.ts +1 -212
- package/cjs/resources/ExternalAccounts.js +0 -44
- package/cjs/resources/ExternalAccounts.js.map +1 -1
- package/cjs/resources/Files.d.ts +2 -2
- package/cjs/resources/FinancialConnections/Accounts.d.ts +6 -71
- package/cjs/resources/FinancialConnections/Accounts.js +1 -9
- package/cjs/resources/FinancialConnections/Accounts.js.map +1 -1
- package/cjs/resources/FinancialConnections/Authorizations.d.ts +1 -46
- package/cjs/resources/FinancialConnections/Authorizations.js +0 -11
- package/cjs/resources/FinancialConnections/Authorizations.js.map +1 -1
- package/cjs/resources/FinancialConnections/Sessions.d.ts +11 -130
- package/cjs/resources/FinancialConnections/index.d.ts +9 -21
- package/cjs/resources/FinancialConnections/index.js +0 -4
- package/cjs/resources/FinancialConnections/index.js.map +1 -1
- package/cjs/resources/InvoiceItems.d.ts +16 -84
- package/cjs/resources/InvoiceItems.js.map +1 -1
- package/cjs/resources/InvoiceLineItems.d.ts +2 -40
- package/cjs/resources/InvoicePayments.d.ts +1 -1
- package/cjs/resources/Invoices.d.ts +161 -1275
- package/cjs/resources/Invoices.js +2 -42
- package/cjs/resources/Invoices.js.map +1 -1
- package/cjs/resources/Issuing/Authorizations.d.ts +0 -13
- package/cjs/resources/Issuing/Cardholders.d.ts +7 -25
- package/cjs/resources/Issuing/Cards.d.ts +0 -13
- package/cjs/resources/Issuing/Disputes.d.ts +0 -13
- package/cjs/resources/Issuing/Tokens.d.ts +3 -3
- package/cjs/resources/Issuing/Transactions.d.ts +0 -22
- package/cjs/resources/Issuing/Transactions.js.map +1 -1
- package/cjs/resources/Issuing/index.d.ts +22 -47
- package/cjs/resources/Issuing/index.js +0 -6
- package/cjs/resources/Issuing/index.js.map +1 -1
- package/cjs/resources/LineItems.d.ts +3 -30
- package/cjs/resources/Mandates.d.ts +25 -33
- package/cjs/resources/Mandates.js +0 -8
- package/cjs/resources/Mandates.js.map +1 -1
- package/cjs/resources/PaymentAttemptRecords.d.ts +30 -82
- package/cjs/resources/PaymentIntentAmountDetailsLineItems.d.ts +2 -2
- package/cjs/resources/PaymentIntents.d.ts +7153 -17732
- package/cjs/resources/PaymentIntents.js +1 -28
- package/cjs/resources/PaymentIntents.js.map +1 -1
- package/cjs/resources/PaymentLinks.d.ts +13 -13
- package/cjs/resources/PaymentMethodConfigurations.d.ts +14 -224
- package/cjs/resources/PaymentMethods.d.ts +10 -171
- package/cjs/resources/PaymentMethods.js.map +1 -1
- package/cjs/resources/PaymentRecords.d.ts +54 -86
- package/cjs/resources/Payouts.d.ts +1 -1
- package/cjs/resources/Persons.d.ts +6 -6
- package/cjs/resources/Plans.d.ts +1 -1
- package/cjs/resources/Prices.d.ts +0 -36
- package/cjs/resources/ProductCatalog/TrialOffers.d.ts +37 -8
- package/cjs/resources/ProductCatalog/TrialOffers.js +6 -0
- package/cjs/resources/ProductCatalog/TrialOffers.js.map +1 -1
- package/cjs/resources/ProductCatalog/index.d.ts +1 -0
- package/cjs/resources/Products.d.ts +3 -3
- package/cjs/resources/PromotionCodes.d.ts +0 -12
- package/cjs/resources/PromotionCodes.js +0 -27
- package/cjs/resources/PromotionCodes.js.map +1 -1
- package/cjs/resources/Quotes.d.ts +153 -2362
- package/cjs/resources/Quotes.js +13 -1181
- package/cjs/resources/Quotes.js.map +1 -1
- package/cjs/resources/Radar/PaymentEvaluations.d.ts +50 -8
- package/cjs/resources/Radar/ValueListItems.d.ts +1 -31
- package/cjs/resources/Refunds.d.ts +0 -11
- package/cjs/resources/Reserve/Holds.d.ts +6 -53
- package/cjs/resources/Reserve/Holds.js +0 -19
- package/cjs/resources/Reserve/Holds.js.map +1 -1
- package/cjs/resources/Reserve/Plans.d.ts +10 -18
- package/cjs/resources/Reserve/Plans.js +0 -11
- package/cjs/resources/Reserve/Plans.js.map +1 -1
- package/cjs/resources/Reserve/Releases.d.ts +7 -42
- package/cjs/resources/Reserve/Releases.js +0 -19
- package/cjs/resources/Reserve/Releases.js.map +1 -1
- package/cjs/resources/Reserve/index.d.ts +6 -17
- package/cjs/resources/Reserve/index.js +0 -9
- package/cjs/resources/Reserve/index.js.map +1 -1
- package/cjs/resources/SetupAttempts.d.ts +12 -30
- package/cjs/resources/SetupIntents.d.ts +116 -330
- package/cjs/resources/Sigma/ScheduledQueryRuns.d.ts +1 -1
- package/cjs/resources/Sigma/ScheduledQueryRuns.js +1 -1
- package/cjs/resources/Sources.d.ts +1 -29
- package/cjs/resources/SubscriptionItems.d.ts +6 -120
- package/cjs/resources/SubscriptionSchedules.d.ts +443 -1149
- package/cjs/resources/SubscriptionSchedules.js +0 -6
- package/cjs/resources/SubscriptionSchedules.js.map +1 -1
- package/cjs/resources/Subscriptions.d.ts +136 -409
- package/cjs/resources/Subscriptions.js +0 -42
- package/cjs/resources/Subscriptions.js.map +1 -1
- package/cjs/resources/Tax/CalculationLineItems.d.ts +2 -2
- package/cjs/resources/Tax/Calculations.d.ts +2 -2
- package/cjs/resources/Tax/Locations.d.ts +3 -3
- package/cjs/resources/Tax/Locations.js +2 -2
- package/cjs/resources/Tax/Registrations.d.ts +10 -625
- package/cjs/resources/Tax/Settings.d.ts +2 -2
- package/cjs/resources/Tax/Settings.js +1 -1
- package/cjs/resources/Tax/Transactions.d.ts +1 -1
- package/cjs/resources/Tax/index.d.ts +17 -24
- package/cjs/resources/Tax/index.js +0 -2
- package/cjs/resources/Tax/index.js.map +1 -1
- package/cjs/resources/TaxCodes.d.ts +3 -3
- package/cjs/resources/TaxRates.d.ts +3 -3
- package/cjs/resources/Terminal/Configurations.d.ts +4 -31
- package/cjs/resources/Terminal/Readers.d.ts +6 -22
- package/cjs/resources/Terminal/index.d.ts +0 -5
- package/cjs/resources/Terminal/index.js +0 -2
- package/cjs/resources/Terminal/index.js.map +1 -1
- package/cjs/resources/TestHelpers/ConfirmationTokens.d.ts +6 -71
- package/cjs/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +1 -23
- package/cjs/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +0 -22
- package/cjs/resources/TestHelpers/index.d.ts +0 -3
- package/cjs/resources/TestHelpers/index.js +4 -6
- package/cjs/resources/TestHelpers/index.js.map +1 -1
- package/cjs/resources/ThreeDSecure/Authentications.d.ts +860 -0
- package/cjs/resources/ThreeDSecure/Authentications.js +44 -0
- package/cjs/resources/ThreeDSecure/Authentications.js.map +1 -0
- package/cjs/resources/ThreeDSecure/index.d.ts +16 -0
- package/cjs/resources/ThreeDSecure/index.js +13 -0
- package/cjs/resources/ThreeDSecure/index.js.map +1 -0
- package/cjs/resources/Tokens.d.ts +13 -28
- package/cjs/resources/Topups.d.ts +1 -1
- package/cjs/resources/Transfers.d.ts +0 -8
- package/cjs/resources/Treasury/FinancialAccountFeatures.d.ts +0 -5
- package/cjs/resources/Treasury/FinancialAccounts.d.ts +2 -35
- package/cjs/resources/Treasury/InboundTransfers.d.ts +1 -1
- package/cjs/resources/Treasury/OutboundPayments.d.ts +0 -8
- package/cjs/resources/Treasury/OutboundTransfers.d.ts +0 -44
- package/cjs/resources/Treasury/ReceivedCredits.d.ts +7 -29
- package/cjs/resources/Treasury/ReceivedDebits.d.ts +5 -31
- package/cjs/resources/Treasury/TransactionEntries.d.ts +7 -7
- package/cjs/resources/Treasury/Transactions.d.ts +7 -7
- package/cjs/resources/V2/Billing/MeterEventAdjustments.d.ts +4 -2
- package/cjs/resources/V2/Billing/index.d.ts +6 -45
- package/cjs/resources/V2/Billing/index.js +0 -8
- package/cjs/resources/V2/Billing/index.js.map +1 -1
- package/cjs/resources/V2/Core/AccountLinks.d.ts +4 -22
- package/cjs/resources/V2/Core/AccountPersons.d.ts +16 -5
- package/cjs/resources/V2/Core/AccountTokens.d.ts +241 -32
- package/cjs/resources/V2/Core/AccountTokens.js.map +1 -1
- package/cjs/resources/V2/Core/Accounts/PersonTokens.d.ts +112 -9
- package/cjs/resources/V2/Core/Accounts/Persons.d.ts +128 -14
- package/cjs/resources/V2/Core/Accounts/Persons.js.map +1 -1
- package/cjs/resources/V2/Core/Accounts.d.ts +767 -1719
- package/cjs/resources/V2/Core/Accounts.js.map +1 -1
- package/cjs/resources/V2/Core/EventDestinations.d.ts +61 -54
- package/cjs/resources/V2/Core/Events.d.ts +2871 -1063
- package/cjs/resources/V2/Core/index.d.ts +9 -27
- package/cjs/resources/V2/Core/index.js +0 -6
- package/cjs/resources/V2/Core/index.js.map +1 -1
- package/cjs/resources/V2/index.d.ts +0 -30
- package/cjs/resources/V2/index.js +0 -16
- package/cjs/resources/V2/index.js.map +1 -1
- package/cjs/resources/WebhookEndpoints.d.ts +4 -4
- package/cjs/resources.d.ts +1 -9
- package/cjs/resources.js +17 -149
- package/cjs/resources.js.map +1 -1
- package/cjs/shared.d.ts +5 -2
- package/cjs/stripe.cjs.node.d.ts +1173 -6585
- package/cjs/stripe.cjs.node.js.map +1 -1
- package/cjs/stripe.core.d.ts +34 -118
- package/cjs/stripe.core.js +73 -70
- package/cjs/stripe.core.js.map +1 -1
- package/cjs/utils.d.ts +18 -0
- package/cjs/utils.js +27 -1
- package/cjs/utils.js.map +1 -1
- package/esm/Error.d.ts +1 -51
- package/esm/Error.js +1 -109
- package/esm/Error.js.map +1 -1
- package/esm/RequestSender.js +36 -14
- package/esm/RequestSender.js.map +1 -1
- package/esm/StripeEventNotificationHandler.js +217 -80
- package/esm/StripeEventNotificationHandler.js.map +1 -1
- package/esm/StripeResource.js +7 -7
- package/esm/StripeResource.js.map +1 -1
- package/esm/Types.d.ts +3 -5
- package/esm/Types.js.map +1 -1
- package/esm/Webhooks.js +14 -17
- package/esm/Webhooks.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/lib.d.ts +0 -21
- package/esm/multipart.js +18 -11
- package/esm/multipart.js.map +1 -1
- package/esm/net/NodeHttpClient.d.ts +4 -1
- package/esm/net/NodeHttpClient.js +13 -42
- package/esm/net/NodeHttpClient.js.map +1 -1
- package/esm/platform/ExtensibilityPlatformFunctions.d.ts +1 -1
- package/esm/platform/ExtensibilityPlatformFunctions.js +1 -1
- package/esm/platform/NodePlatformFunctions.d.ts +0 -2
- package/esm/platform/NodePlatformFunctions.js +0 -8
- package/esm/platform/NodePlatformFunctions.js.map +1 -1
- package/esm/platform/PlatformFunctions.d.ts +3 -1
- package/esm/platform/PlatformFunctions.js +7 -6
- package/esm/platform/PlatformFunctions.js.map +1 -1
- package/esm/resources/AccountLinks.d.ts +1 -1
- package/esm/resources/AccountSessions.d.ts +1 -245
- package/esm/resources/AccountSessions.js +1 -1
- package/esm/resources/AccountSessions.js.map +1 -1
- package/esm/resources/Accounts.d.ts +94 -655
- package/esm/resources/Accounts.js +0 -14
- package/esm/resources/Accounts.js.map +1 -1
- package/esm/resources/Apps/Installs.d.ts +204 -0
- package/esm/resources/Apps/Installs.js +37 -0
- package/esm/resources/Apps/Installs.js.map +1 -0
- package/esm/resources/Apps/index.d.ts +14 -5
- package/esm/resources/Apps/index.js +2 -0
- package/esm/resources/Apps/index.js.map +1 -1
- package/esm/resources/Balance.d.ts +1 -68
- package/esm/resources/BalanceTransactions.d.ts +3 -3
- package/esm/resources/BankAccounts.d.ts +2 -2
- package/esm/resources/Billing/AlertTriggereds.d.ts +1 -2
- package/esm/resources/Billing/FeedbackOptions.d.ts +8 -2
- package/esm/resources/Billing/FeedbackOptions.js +2 -2
- package/esm/resources/Billing/index.d.ts +0 -3
- package/esm/resources/Billing/index.js +0 -2
- package/esm/resources/Billing/index.js.map +1 -1
- package/esm/resources/Capabilities.d.ts +2 -2
- package/esm/resources/Cards.d.ts +0 -17
- package/esm/resources/Charges.d.ts +84 -3083
- package/esm/resources/Charges.js +2 -8
- package/esm/resources/Charges.js.map +1 -1
- package/esm/resources/Checkout/Sessions.d.ts +66 -384
- package/esm/resources/ConfirmationTokens.d.ts +3 -63
- package/esm/resources/Coupons.d.ts +0 -53
- package/esm/resources/Coupons.js +0 -13
- package/esm/resources/Coupons.js.map +1 -1
- package/esm/resources/CreditNoteLineItems.d.ts +1 -15
- package/esm/resources/CreditNotes.d.ts +1 -1
- package/esm/resources/CustomerSessions.d.ts +0 -68
- package/esm/resources/Customers.d.ts +4 -23
- package/esm/resources/Customers.js +0 -14
- package/esm/resources/Customers.js.map +1 -1
- package/esm/resources/Discounts.d.ts +9 -2
- package/esm/resources/Disputes.d.ts +0 -29
- package/esm/resources/Events.d.ts +49 -554
- package/esm/resources/ExternalAccounts.d.ts +1 -212
- package/esm/resources/ExternalAccounts.js +1 -42
- package/esm/resources/ExternalAccounts.js.map +1 -1
- package/esm/resources/Files.d.ts +2 -2
- package/esm/resources/FinancialConnections/Accounts.d.ts +6 -71
- package/esm/resources/FinancialConnections/Accounts.js +1 -9
- package/esm/resources/FinancialConnections/Accounts.js.map +1 -1
- package/esm/resources/FinancialConnections/Authorizations.d.ts +1 -46
- package/esm/resources/FinancialConnections/Authorizations.js +1 -9
- package/esm/resources/FinancialConnections/Authorizations.js.map +1 -1
- package/esm/resources/FinancialConnections/Sessions.d.ts +11 -130
- package/esm/resources/FinancialConnections/index.d.ts +9 -21
- package/esm/resources/FinancialConnections/index.js +0 -4
- package/esm/resources/FinancialConnections/index.js.map +1 -1
- package/esm/resources/InvoiceItems.d.ts +16 -84
- package/esm/resources/InvoiceItems.js.map +1 -1
- package/esm/resources/InvoiceLineItems.d.ts +2 -40
- package/esm/resources/InvoicePayments.d.ts +1 -1
- package/esm/resources/Invoices.d.ts +161 -1275
- package/esm/resources/Invoices.js +2 -42
- package/esm/resources/Invoices.js.map +1 -1
- package/esm/resources/Issuing/Authorizations.d.ts +0 -13
- package/esm/resources/Issuing/Cardholders.d.ts +7 -25
- package/esm/resources/Issuing/Cards.d.ts +0 -13
- package/esm/resources/Issuing/Disputes.d.ts +0 -13
- package/esm/resources/Issuing/Tokens.d.ts +3 -3
- package/esm/resources/Issuing/Transactions.d.ts +0 -22
- package/esm/resources/Issuing/Transactions.js.map +1 -1
- package/esm/resources/Issuing/index.d.ts +22 -47
- package/esm/resources/Issuing/index.js +0 -6
- package/esm/resources/Issuing/index.js.map +1 -1
- package/esm/resources/LineItems.d.ts +3 -30
- package/esm/resources/Mandates.d.ts +25 -33
- package/esm/resources/Mandates.js +0 -8
- package/esm/resources/Mandates.js.map +1 -1
- package/esm/resources/PaymentAttemptRecords.d.ts +30 -82
- package/esm/resources/PaymentIntentAmountDetailsLineItems.d.ts +2 -2
- package/esm/resources/PaymentIntents.d.ts +7153 -17732
- package/esm/resources/PaymentIntents.js +1 -28
- package/esm/resources/PaymentIntents.js.map +1 -1
- package/esm/resources/PaymentLinks.d.ts +13 -13
- package/esm/resources/PaymentMethodConfigurations.d.ts +14 -224
- package/esm/resources/PaymentMethods.d.ts +10 -171
- package/esm/resources/PaymentMethods.js.map +1 -1
- package/esm/resources/PaymentRecords.d.ts +54 -86
- package/esm/resources/Payouts.d.ts +1 -1
- package/esm/resources/Persons.d.ts +6 -6
- package/esm/resources/Plans.d.ts +1 -1
- package/esm/resources/Prices.d.ts +0 -36
- package/esm/resources/ProductCatalog/TrialOffers.d.ts +37 -8
- package/esm/resources/ProductCatalog/TrialOffers.js +6 -0
- package/esm/resources/ProductCatalog/TrialOffers.js.map +1 -1
- package/esm/resources/ProductCatalog/index.d.ts +1 -0
- package/esm/resources/Products.d.ts +3 -3
- package/esm/resources/PromotionCodes.d.ts +0 -12
- package/esm/resources/PromotionCodes.js +0 -27
- package/esm/resources/PromotionCodes.js.map +1 -1
- package/esm/resources/Quotes.d.ts +153 -2362
- package/esm/resources/Quotes.js +13 -1181
- package/esm/resources/Quotes.js.map +1 -1
- package/esm/resources/Radar/PaymentEvaluations.d.ts +50 -8
- package/esm/resources/Radar/ValueListItems.d.ts +1 -31
- package/esm/resources/Refunds.d.ts +0 -11
- package/esm/resources/Reserve/Holds.d.ts +6 -53
- package/esm/resources/Reserve/Holds.js +1 -17
- package/esm/resources/Reserve/Holds.js.map +1 -1
- package/esm/resources/Reserve/Plans.d.ts +10 -18
- package/esm/resources/Reserve/Plans.js +1 -9
- package/esm/resources/Reserve/Plans.js.map +1 -1
- package/esm/resources/Reserve/Releases.d.ts +7 -42
- package/esm/resources/Reserve/Releases.js +1 -17
- package/esm/resources/Reserve/Releases.js.map +1 -1
- package/esm/resources/Reserve/index.d.ts +6 -17
- package/esm/resources/Reserve/index.js +0 -9
- package/esm/resources/Reserve/index.js.map +1 -1
- package/esm/resources/SetupAttempts.d.ts +12 -30
- package/esm/resources/SetupIntents.d.ts +116 -330
- package/esm/resources/Sigma/ScheduledQueryRuns.d.ts +1 -1
- package/esm/resources/Sigma/ScheduledQueryRuns.js +1 -1
- package/esm/resources/Sources.d.ts +1 -29
- package/esm/resources/SubscriptionItems.d.ts +6 -120
- package/esm/resources/SubscriptionSchedules.d.ts +443 -1149
- package/esm/resources/SubscriptionSchedules.js +0 -6
- package/esm/resources/SubscriptionSchedules.js.map +1 -1
- package/esm/resources/Subscriptions.d.ts +136 -409
- package/esm/resources/Subscriptions.js +0 -42
- package/esm/resources/Subscriptions.js.map +1 -1
- package/esm/resources/Tax/CalculationLineItems.d.ts +2 -2
- package/esm/resources/Tax/Calculations.d.ts +2 -2
- package/esm/resources/Tax/Locations.d.ts +3 -3
- package/esm/resources/Tax/Locations.js +2 -2
- package/esm/resources/Tax/Registrations.d.ts +10 -625
- package/esm/resources/Tax/Settings.d.ts +2 -2
- package/esm/resources/Tax/Settings.js +1 -1
- package/esm/resources/Tax/Transactions.d.ts +1 -1
- package/esm/resources/Tax/index.d.ts +17 -24
- package/esm/resources/Tax/index.js +0 -2
- package/esm/resources/Tax/index.js.map +1 -1
- package/esm/resources/TaxCodes.d.ts +3 -3
- package/esm/resources/TaxRates.d.ts +3 -3
- package/esm/resources/Terminal/Configurations.d.ts +4 -31
- package/esm/resources/Terminal/Readers.d.ts +6 -22
- package/esm/resources/Terminal/index.d.ts +0 -5
- package/esm/resources/Terminal/index.js +0 -2
- package/esm/resources/Terminal/index.js.map +1 -1
- package/esm/resources/TestHelpers/ConfirmationTokens.d.ts +6 -71
- package/esm/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +1 -23
- package/esm/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +0 -22
- package/esm/resources/TestHelpers/index.d.ts +0 -3
- package/esm/resources/TestHelpers/index.js +0 -2
- package/esm/resources/TestHelpers/index.js.map +1 -1
- package/esm/resources/ThreeDSecure/Authentications.d.ts +860 -0
- package/esm/resources/ThreeDSecure/Authentications.js +40 -0
- package/esm/resources/ThreeDSecure/Authentications.js.map +1 -0
- package/esm/resources/ThreeDSecure/index.d.ts +16 -0
- package/esm/resources/ThreeDSecure/index.js +9 -0
- package/esm/resources/ThreeDSecure/index.js.map +1 -0
- package/esm/resources/Tokens.d.ts +13 -28
- package/esm/resources/Topups.d.ts +1 -1
- package/esm/resources/Transfers.d.ts +0 -8
- package/esm/resources/Treasury/FinancialAccountFeatures.d.ts +0 -5
- package/esm/resources/Treasury/FinancialAccounts.d.ts +2 -35
- package/esm/resources/Treasury/InboundTransfers.d.ts +1 -1
- package/esm/resources/Treasury/OutboundPayments.d.ts +0 -8
- package/esm/resources/Treasury/OutboundTransfers.d.ts +0 -44
- package/esm/resources/Treasury/ReceivedCredits.d.ts +7 -29
- package/esm/resources/Treasury/ReceivedDebits.d.ts +5 -31
- package/esm/resources/Treasury/TransactionEntries.d.ts +7 -7
- package/esm/resources/Treasury/Transactions.d.ts +7 -7
- package/esm/resources/V2/Billing/MeterEventAdjustments.d.ts +4 -2
- package/esm/resources/V2/Billing/index.d.ts +6 -45
- package/esm/resources/V2/Billing/index.js +0 -8
- package/esm/resources/V2/Billing/index.js.map +1 -1
- package/esm/resources/V2/Core/AccountLinks.d.ts +4 -22
- package/esm/resources/V2/Core/AccountPersons.d.ts +16 -5
- package/esm/resources/V2/Core/AccountTokens.d.ts +241 -32
- package/esm/resources/V2/Core/AccountTokens.js.map +1 -1
- package/esm/resources/V2/Core/Accounts/PersonTokens.d.ts +112 -9
- package/esm/resources/V2/Core/Accounts/Persons.d.ts +128 -14
- package/esm/resources/V2/Core/Accounts/Persons.js.map +1 -1
- package/esm/resources/V2/Core/Accounts.d.ts +767 -1719
- package/esm/resources/V2/Core/Accounts.js.map +1 -1
- package/esm/resources/V2/Core/EventDestinations.d.ts +61 -54
- package/esm/resources/V2/Core/Events.d.ts +2871 -1063
- package/esm/resources/V2/Core/index.d.ts +9 -27
- package/esm/resources/V2/Core/index.js +0 -6
- package/esm/resources/V2/Core/index.js.map +1 -1
- package/esm/resources/V2/index.d.ts +0 -30
- package/esm/resources/V2/index.js +0 -16
- package/esm/resources/V2/index.js.map +1 -1
- package/esm/resources/WebhookEndpoints.d.ts +4 -4
- package/esm/resources.d.ts +1 -9
- package/esm/resources.js +9 -136
- package/esm/resources.js.map +1 -1
- package/esm/shared.d.ts +5 -2
- package/esm/stripe.core.d.ts +34 -118
- package/esm/stripe.core.js +41 -38
- package/esm/stripe.core.js.map +1 -1
- package/esm/stripe.esm.node.d.ts +34 -116
- package/esm/stripe.esm.node.js +42 -37
- package/esm/stripe.esm.node.js.map +1 -1
- package/esm/utils.d.ts +18 -0
- package/esm/utils.js +25 -0
- package/esm/utils.js.map +1 -1
- package/package.json +4 -4
- package/cjs/resources/AccountNotices.d.ts +0 -140
- package/cjs/resources/AccountNotices.js +0 -29
- package/cjs/resources/AccountNotices.js.map +0 -1
- package/cjs/resources/Billing/Analytics/MeterUsage.d.ts +0 -85
- package/cjs/resources/Billing/Analytics/MeterUsage.js +0 -15
- package/cjs/resources/Billing/Analytics/MeterUsage.js.map +0 -1
- package/cjs/resources/Billing/Analytics/MeterUsageRows.d.ts +0 -32
- package/cjs/resources/Billing/Analytics/MeterUsageRows.js +0 -4
- package/cjs/resources/Billing/Analytics/MeterUsageRows.js.map +0 -1
- package/cjs/resources/Billing/Analytics/index.d.ts +0 -15
- package/cjs/resources/Billing/Analytics/index.js +0 -13
- package/cjs/resources/Billing/Analytics/index.js.map +0 -1
- package/cjs/resources/Capital/FinancingOffers.d.ts +0 -194
- package/cjs/resources/Capital/FinancingOffers.js +0 -30
- package/cjs/resources/Capital/FinancingOffers.js.map +0 -1
- package/cjs/resources/Capital/FinancingSummary.d.ts +0 -102
- package/cjs/resources/Capital/FinancingSummary.js +0 -15
- package/cjs/resources/Capital/FinancingSummary.js.map +0 -1
- package/cjs/resources/Capital/FinancingTransactions.d.ts +0 -141
- package/cjs/resources/Capital/FinancingTransactions.js +0 -24
- package/cjs/resources/Capital/FinancingTransactions.js.map +0 -1
- package/cjs/resources/Capital/index.d.ts +0 -25
- package/cjs/resources/Capital/index.js +0 -17
- package/cjs/resources/Capital/index.js.map +0 -1
- package/cjs/resources/FinancialConnections/AccountInferredBalances.d.ts +0 -24
- package/cjs/resources/FinancialConnections/AccountInferredBalances.js +0 -4
- package/cjs/resources/FinancialConnections/AccountInferredBalances.js.map +0 -1
- package/cjs/resources/FinancialConnections/Institutions.d.ts +0 -99
- package/cjs/resources/FinancialConnections/Institutions.js +0 -23
- package/cjs/resources/FinancialConnections/Institutions.js.map +0 -1
- package/cjs/resources/FxQuotes.d.ts +0 -212
- package/cjs/resources/FxQuotes.js +0 -29
- package/cjs/resources/FxQuotes.js.map +0 -1
- package/cjs/resources/Issuing/CreditUnderwritingRecords.d.ts +0 -638
- package/cjs/resources/Issuing/CreditUnderwritingRecords.js +0 -47
- package/cjs/resources/Issuing/CreditUnderwritingRecords.js.map +0 -1
- package/cjs/resources/Issuing/DisputeSettlementDetails.d.ts +0 -93
- package/cjs/resources/Issuing/DisputeSettlementDetails.js +0 -23
- package/cjs/resources/Issuing/DisputeSettlementDetails.js.map +0 -1
- package/cjs/resources/Issuing/FraudLiabilityDebits.d.ts +0 -68
- package/cjs/resources/Issuing/FraudLiabilityDebits.js +0 -23
- package/cjs/resources/Issuing/FraudLiabilityDebits.js.map +0 -1
- package/cjs/resources/Issuing/Settlements.d.ts +0 -83
- package/cjs/resources/Issuing/Settlements.js +0 -4
- package/cjs/resources/Issuing/Settlements.js.map +0 -1
- package/cjs/resources/Margins.d.ts +0 -115
- package/cjs/resources/Margins.js +0 -35
- package/cjs/resources/Margins.js.map +0 -1
- package/cjs/resources/Orders.d.ts +0 -4693
- package/cjs/resources/Orders.js +0 -457
- package/cjs/resources/Orders.js.map +0 -1
- package/cjs/resources/Privacy/RedactionJobValidationErrors.d.ts +0 -36
- package/cjs/resources/Privacy/RedactionJobValidationErrors.js +0 -4
- package/cjs/resources/Privacy/RedactionJobValidationErrors.js.map +0 -1
- package/cjs/resources/Privacy/RedactionJobs.d.ts +0 -227
- package/cjs/resources/Privacy/RedactionJobs.js +0 -73
- package/cjs/resources/Privacy/RedactionJobs.js.map +0 -1
- package/cjs/resources/Privacy/index.d.ts +0 -22
- package/cjs/resources/Privacy/index.js +0 -13
- package/cjs/resources/Privacy/index.js.map +0 -1
- package/cjs/resources/QuoteLines.d.ts +0 -507
- package/cjs/resources/QuoteLines.js +0 -4
- package/cjs/resources/QuoteLines.js.map +0 -1
- package/cjs/resources/QuotePreviewInvoices.d.ts +0 -1126
- package/cjs/resources/QuotePreviewInvoices.js +0 -4
- package/cjs/resources/QuotePreviewInvoices.js.map +0 -1
- package/cjs/resources/QuotePreviewSubscriptionSchedules.d.ts +0 -786
- package/cjs/resources/QuotePreviewSubscriptionSchedules.js +0 -4
- package/cjs/resources/QuotePreviewSubscriptionSchedules.js.map +0 -1
- package/cjs/resources/SharedPayment/GrantedTokens.d.ts +0 -418
- package/cjs/resources/SharedPayment/GrantedTokens.js +0 -15
- package/cjs/resources/SharedPayment/GrantedTokens.js.map +0 -1
- package/cjs/resources/SharedPayment/IssuedTokens.d.ts +0 -330
- package/cjs/resources/SharedPayment/IssuedTokens.js +0 -27
- package/cjs/resources/SharedPayment/IssuedTokens.js.map +0 -1
- package/cjs/resources/SharedPayment/index.d.ts +0 -19
- package/cjs/resources/SharedPayment/index.js +0 -15
- package/cjs/resources/SharedPayment/index.js.map +0 -1
- package/cjs/resources/Tax/Forms.d.ts +0 -228
- package/cjs/resources/Tax/Forms.js +0 -32
- package/cjs/resources/Tax/Forms.js.map +0 -1
- package/cjs/resources/Terminal/ReaderCollectedData.d.ts +0 -50
- package/cjs/resources/Terminal/ReaderCollectedData.js +0 -15
- package/cjs/resources/Terminal/ReaderCollectedData.js.map +0 -1
- package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +0 -68
- package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js +0 -21
- package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js.map +0 -1
- package/cjs/resources/TestHelpers/SharedPayment/index.d.ts +0 -8
- package/cjs/resources/TestHelpers/SharedPayment/index.js +0 -13
- package/cjs/resources/TestHelpers/SharedPayment/index.js.map +0 -1
- package/cjs/resources/V2/Billing/BillSettingVersions.d.ts +0 -72
- package/cjs/resources/V2/Billing/BillSettingVersions.js +0 -4
- package/cjs/resources/V2/Billing/BillSettingVersions.js.map +0 -1
- package/cjs/resources/V2/Billing/BillSettings/Versions.d.ts +0 -33
- package/cjs/resources/V2/Billing/BillSettings/Versions.js +0 -23
- package/cjs/resources/V2/Billing/BillSettings/Versions.js.map +0 -1
- package/cjs/resources/V2/Billing/BillSettings.d.ts +0 -281
- package/cjs/resources/V2/Billing/BillSettings.js +0 -41
- package/cjs/resources/V2/Billing/BillSettings.js.map +0 -1
- package/cjs/resources/V2/Billing/Cadences.d.ts +0 -947
- package/cjs/resources/V2/Billing/Cadences.js +0 -198
- package/cjs/resources/V2/Billing/Cadences.js.map +0 -1
- package/cjs/resources/V2/Billing/CollectionSettingVersions.d.ts +0 -237
- package/cjs/resources/V2/Billing/CollectionSettingVersions.js +0 -4
- package/cjs/resources/V2/Billing/CollectionSettingVersions.js.map +0 -1
- package/cjs/resources/V2/Billing/CollectionSettings/Versions.d.ts +0 -33
- package/cjs/resources/V2/Billing/CollectionSettings/Versions.js +0 -70
- package/cjs/resources/V2/Billing/CollectionSettings/Versions.js.map +0 -1
- package/cjs/resources/V2/Billing/CollectionSettings.d.ts +0 -776
- package/cjs/resources/V2/Billing/CollectionSettings.js +0 -166
- package/cjs/resources/V2/Billing/CollectionSettings.js.map +0 -1
- package/cjs/resources/V2/Billing/Profiles.d.ts +0 -162
- package/cjs/resources/V2/Billing/Profiles.js +0 -35
- package/cjs/resources/V2/Billing/Profiles.js.map +0 -1
- package/cjs/resources/V2/Core/ApprovalRequests.d.ts +0 -378
- package/cjs/resources/V2/Core/ApprovalRequests.js +0 -39
- package/cjs/resources/V2/Core/ApprovalRequests.js.map +0 -1
- package/cjs/resources/V2/Core/BatchJobs.d.ts +0 -360
- package/cjs/resources/V2/Core/BatchJobs.js +0 -225
- package/cjs/resources/V2/Core/BatchJobs.js.map +0 -1
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.d.ts +0 -284
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.js +0 -54
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.js.map +0 -1
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.d.ts +0 -256
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.js +0 -65
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.js.map +0 -1
- package/cjs/resources/V2/Core/Vault/index.d.ts +0 -28
- package/cjs/resources/V2/Core/Vault/index.js +0 -15
- package/cjs/resources/V2/Core/Vault/index.js.map +0 -1
- package/cjs/resources/V2/Data/Reporting/QueryRuns.d.ts +0 -151
- package/cjs/resources/V2/Data/Reporting/QueryRuns.js +0 -46
- package/cjs/resources/V2/Data/Reporting/QueryRuns.js.map +0 -1
- package/cjs/resources/V2/Data/Reporting/index.d.ts +0 -13
- package/cjs/resources/V2/Data/Reporting/index.js +0 -13
- package/cjs/resources/V2/Data/Reporting/index.js.map +0 -1
- package/cjs/resources/V2/Data/index.d.ts +0 -10
- package/cjs/resources/V2/Data/index.js +0 -13
- package/cjs/resources/V2/Data/index.js.map +0 -1
- package/cjs/resources/V2/EventMisc.d.ts +0 -0
- package/cjs/resources/V2/EventMisc.js +0 -2
- package/cjs/resources/V2/EventMisc.js.map +0 -1
- package/cjs/resources/V2/Extend/WorkflowRuns.d.ts +0 -163
- package/cjs/resources/V2/Extend/WorkflowRuns.js +0 -23
- package/cjs/resources/V2/Extend/WorkflowRuns.js.map +0 -1
- package/cjs/resources/V2/Extend/Workflows.d.ts +0 -120
- package/cjs/resources/V2/Extend/Workflows.js +0 -30
- package/cjs/resources/V2/Extend/Workflows.js.map +0 -1
- package/cjs/resources/V2/Extend/index.d.ts +0 -20
- package/cjs/resources/V2/Extend/index.js +0 -15
- package/cjs/resources/V2/Extend/index.js.map +0 -1
- package/cjs/resources/V2/FinancialAddressCreditSimulations.d.ts +0 -14
- package/cjs/resources/V2/FinancialAddressCreditSimulations.js +0 -4
- package/cjs/resources/V2/FinancialAddressCreditSimulations.js.map +0 -1
- package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.d.ts +0 -19
- package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.js +0 -4
- package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.js.map +0 -1
- package/cjs/resources/V2/Iam/ActivityLogs.d.ts +0 -218
- package/cjs/resources/V2/Iam/ActivityLogs.js +0 -23
- package/cjs/resources/V2/Iam/ActivityLogs.js.map +0 -1
- package/cjs/resources/V2/Iam/index.d.ts +0 -13
- package/cjs/resources/V2/Iam/index.js +0 -13
- package/cjs/resources/V2/Iam/index.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/Adjustments.d.ts +0 -131
- package/cjs/resources/V2/MoneyManagement/Adjustments.js +0 -23
- package/cjs/resources/V2/MoneyManagement/Adjustments.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.d.ts +0 -240
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +0 -44
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/FinancialAddresses.d.ts +0 -211
- package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js +0 -31
- package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/InboundTransfers.d.ts +0 -251
- package/cjs/resources/V2/MoneyManagement/InboundTransfers.js +0 -30
- package/cjs/resources/V2/MoneyManagement/InboundTransfers.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +0 -209
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -22
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/OutboundPayments.d.ts +0 -394
- package/cjs/resources/V2/MoneyManagement/OutboundPayments.js +0 -41
- package/cjs/resources/V2/MoneyManagement/OutboundPayments.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +0 -297
- package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -49
- package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.d.ts +0 -336
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js +0 -39
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.d.ts +0 -255
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.js +0 -53
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +0 -92
- package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +0 -17
- package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/ReceivedCredits.d.ts +0 -296
- package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js +0 -23
- package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.d.ts +0 -159
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js +0 -23
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/TransactionEntries.d.ts +0 -162
- package/cjs/resources/V2/MoneyManagement/TransactionEntries.js +0 -23
- package/cjs/resources/V2/MoneyManagement/TransactionEntries.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/Transactions.d.ts +0 -193
- package/cjs/resources/V2/MoneyManagement/Transactions.js +0 -23
- package/cjs/resources/V2/MoneyManagement/Transactions.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/index.d.ts +0 -105
- package/cjs/resources/V2/MoneyManagement/index.js +0 -39
- package/cjs/resources/V2/MoneyManagement/index.js.map +0 -1
- package/cjs/resources/V2/Network/BusinessProfiles.d.ts +0 -92
- package/cjs/resources/V2/Network/BusinessProfiles.js +0 -21
- package/cjs/resources/V2/Network/BusinessProfiles.js.map +0 -1
- package/cjs/resources/V2/Network/index.d.ts +0 -13
- package/cjs/resources/V2/Network/index.js +0 -13
- package/cjs/resources/V2/Network/index.js.map +0 -1
- package/cjs/resources/V2/OrchestratedCommerce/Agreements.d.ts +0 -143
- package/cjs/resources/V2/OrchestratedCommerce/Agreements.js +0 -41
- package/cjs/resources/V2/OrchestratedCommerce/Agreements.js.map +0 -1
- package/cjs/resources/V2/OrchestratedCommerce/index.d.ts +0 -16
- package/cjs/resources/V2/OrchestratedCommerce/index.js +0 -13
- package/cjs/resources/V2/OrchestratedCommerce/index.js.map +0 -1
- package/cjs/resources/V2/Signals/AccountActivity.d.ts +0 -388
- package/cjs/resources/V2/Signals/AccountActivity.js +0 -27
- package/cjs/resources/V2/Signals/AccountActivity.js.map +0 -1
- package/cjs/resources/V2/Signals/AccountEvaluations.d.ts +0 -335
- package/cjs/resources/V2/Signals/AccountEvaluations.js +0 -59
- package/cjs/resources/V2/Signals/AccountEvaluations.js.map +0 -1
- package/cjs/resources/V2/Signals/AccountSignals.d.ts +0 -130
- package/cjs/resources/V2/Signals/AccountSignals.js +0 -58
- package/cjs/resources/V2/Signals/AccountSignals.js.map +0 -1
- package/cjs/resources/V2/Signals/index.d.ts +0 -26
- package/cjs/resources/V2/Signals/index.js +0 -17
- package/cjs/resources/V2/Signals/index.js.map +0 -1
- package/cjs/resources/V2/TestHelpers/FinancialAddresses.d.ts +0 -45
- package/cjs/resources/V2/TestHelpers/FinancialAddresses.js +0 -23
- package/cjs/resources/V2/TestHelpers/FinancialAddresses.js.map +0 -1
- package/cjs/resources/V2/TestHelpers/index.d.ts +0 -8
- package/cjs/resources/V2/TestHelpers/index.js +0 -13
- package/cjs/resources/V2/TestHelpers/index.js.map +0 -1
- package/esm/resources/AccountNotices.d.ts +0 -140
- package/esm/resources/AccountNotices.js +0 -25
- package/esm/resources/AccountNotices.js.map +0 -1
- package/esm/resources/Billing/Analytics/MeterUsage.d.ts +0 -85
- package/esm/resources/Billing/Analytics/MeterUsage.js +0 -11
- package/esm/resources/Billing/Analytics/MeterUsage.js.map +0 -1
- package/esm/resources/Billing/Analytics/MeterUsageRows.d.ts +0 -32
- package/esm/resources/Billing/Analytics/MeterUsageRows.js +0 -3
- package/esm/resources/Billing/Analytics/MeterUsageRows.js.map +0 -1
- package/esm/resources/Billing/Analytics/index.d.ts +0 -15
- package/esm/resources/Billing/Analytics/index.js +0 -9
- package/esm/resources/Billing/Analytics/index.js.map +0 -1
- package/esm/resources/Capital/FinancingOffers.d.ts +0 -194
- package/esm/resources/Capital/FinancingOffers.js +0 -26
- package/esm/resources/Capital/FinancingOffers.js.map +0 -1
- package/esm/resources/Capital/FinancingSummary.d.ts +0 -102
- package/esm/resources/Capital/FinancingSummary.js +0 -11
- package/esm/resources/Capital/FinancingSummary.js.map +0 -1
- package/esm/resources/Capital/FinancingTransactions.d.ts +0 -141
- package/esm/resources/Capital/FinancingTransactions.js +0 -20
- package/esm/resources/Capital/FinancingTransactions.js.map +0 -1
- package/esm/resources/Capital/index.d.ts +0 -25
- package/esm/resources/Capital/index.js +0 -13
- package/esm/resources/Capital/index.js.map +0 -1
- package/esm/resources/FinancialConnections/AccountInferredBalances.d.ts +0 -24
- package/esm/resources/FinancialConnections/AccountInferredBalances.js +0 -3
- package/esm/resources/FinancialConnections/AccountInferredBalances.js.map +0 -1
- package/esm/resources/FinancialConnections/Institutions.d.ts +0 -99
- package/esm/resources/FinancialConnections/Institutions.js +0 -19
- package/esm/resources/FinancialConnections/Institutions.js.map +0 -1
- package/esm/resources/FxQuotes.d.ts +0 -212
- package/esm/resources/FxQuotes.js +0 -25
- package/esm/resources/FxQuotes.js.map +0 -1
- package/esm/resources/Issuing/CreditUnderwritingRecords.d.ts +0 -638
- package/esm/resources/Issuing/CreditUnderwritingRecords.js +0 -43
- package/esm/resources/Issuing/CreditUnderwritingRecords.js.map +0 -1
- package/esm/resources/Issuing/DisputeSettlementDetails.d.ts +0 -93
- package/esm/resources/Issuing/DisputeSettlementDetails.js +0 -19
- package/esm/resources/Issuing/DisputeSettlementDetails.js.map +0 -1
- package/esm/resources/Issuing/FraudLiabilityDebits.d.ts +0 -68
- package/esm/resources/Issuing/FraudLiabilityDebits.js +0 -19
- package/esm/resources/Issuing/FraudLiabilityDebits.js.map +0 -1
- package/esm/resources/Issuing/Settlements.d.ts +0 -83
- package/esm/resources/Issuing/Settlements.js +0 -3
- package/esm/resources/Issuing/Settlements.js.map +0 -1
- package/esm/resources/Margins.d.ts +0 -115
- package/esm/resources/Margins.js +0 -31
- package/esm/resources/Margins.js.map +0 -1
- package/esm/resources/Orders.d.ts +0 -4693
- package/esm/resources/Orders.js +0 -453
- package/esm/resources/Orders.js.map +0 -1
- package/esm/resources/Privacy/RedactionJobValidationErrors.d.ts +0 -36
- package/esm/resources/Privacy/RedactionJobValidationErrors.js +0 -3
- package/esm/resources/Privacy/RedactionJobValidationErrors.js.map +0 -1
- package/esm/resources/Privacy/RedactionJobs.d.ts +0 -227
- package/esm/resources/Privacy/RedactionJobs.js +0 -69
- package/esm/resources/Privacy/RedactionJobs.js.map +0 -1
- package/esm/resources/Privacy/index.d.ts +0 -22
- package/esm/resources/Privacy/index.js +0 -9
- package/esm/resources/Privacy/index.js.map +0 -1
- package/esm/resources/QuoteLines.d.ts +0 -507
- package/esm/resources/QuoteLines.js +0 -3
- package/esm/resources/QuoteLines.js.map +0 -1
- package/esm/resources/QuotePreviewInvoices.d.ts +0 -1126
- package/esm/resources/QuotePreviewInvoices.js +0 -3
- package/esm/resources/QuotePreviewInvoices.js.map +0 -1
- package/esm/resources/QuotePreviewSubscriptionSchedules.d.ts +0 -786
- package/esm/resources/QuotePreviewSubscriptionSchedules.js +0 -3
- package/esm/resources/QuotePreviewSubscriptionSchedules.js.map +0 -1
- package/esm/resources/SharedPayment/GrantedTokens.d.ts +0 -418
- package/esm/resources/SharedPayment/GrantedTokens.js +0 -11
- package/esm/resources/SharedPayment/GrantedTokens.js.map +0 -1
- package/esm/resources/SharedPayment/IssuedTokens.d.ts +0 -330
- package/esm/resources/SharedPayment/IssuedTokens.js +0 -23
- package/esm/resources/SharedPayment/IssuedTokens.js.map +0 -1
- package/esm/resources/SharedPayment/index.d.ts +0 -19
- package/esm/resources/SharedPayment/index.js +0 -11
- package/esm/resources/SharedPayment/index.js.map +0 -1
- package/esm/resources/Tax/Forms.d.ts +0 -228
- package/esm/resources/Tax/Forms.js +0 -28
- package/esm/resources/Tax/Forms.js.map +0 -1
- package/esm/resources/Terminal/ReaderCollectedData.d.ts +0 -50
- package/esm/resources/Terminal/ReaderCollectedData.js +0 -11
- package/esm/resources/Terminal/ReaderCollectedData.js.map +0 -1
- package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +0 -68
- package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js +0 -17
- package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js.map +0 -1
- package/esm/resources/TestHelpers/SharedPayment/index.d.ts +0 -8
- package/esm/resources/TestHelpers/SharedPayment/index.js +0 -9
- package/esm/resources/TestHelpers/SharedPayment/index.js.map +0 -1
- package/esm/resources/V2/Billing/BillSettingVersions.d.ts +0 -72
- package/esm/resources/V2/Billing/BillSettingVersions.js +0 -3
- package/esm/resources/V2/Billing/BillSettingVersions.js.map +0 -1
- package/esm/resources/V2/Billing/BillSettings/Versions.d.ts +0 -33
- package/esm/resources/V2/Billing/BillSettings/Versions.js +0 -19
- package/esm/resources/V2/Billing/BillSettings/Versions.js.map +0 -1
- package/esm/resources/V2/Billing/BillSettings.d.ts +0 -281
- package/esm/resources/V2/Billing/BillSettings.js +0 -37
- package/esm/resources/V2/Billing/BillSettings.js.map +0 -1
- package/esm/resources/V2/Billing/Cadences.d.ts +0 -947
- package/esm/resources/V2/Billing/Cadences.js +0 -194
- package/esm/resources/V2/Billing/Cadences.js.map +0 -1
- package/esm/resources/V2/Billing/CollectionSettingVersions.d.ts +0 -237
- package/esm/resources/V2/Billing/CollectionSettingVersions.js +0 -3
- package/esm/resources/V2/Billing/CollectionSettingVersions.js.map +0 -1
- package/esm/resources/V2/Billing/CollectionSettings/Versions.d.ts +0 -33
- package/esm/resources/V2/Billing/CollectionSettings/Versions.js +0 -66
- package/esm/resources/V2/Billing/CollectionSettings/Versions.js.map +0 -1
- package/esm/resources/V2/Billing/CollectionSettings.d.ts +0 -776
- package/esm/resources/V2/Billing/CollectionSettings.js +0 -162
- package/esm/resources/V2/Billing/CollectionSettings.js.map +0 -1
- package/esm/resources/V2/Billing/Profiles.d.ts +0 -162
- package/esm/resources/V2/Billing/Profiles.js +0 -31
- package/esm/resources/V2/Billing/Profiles.js.map +0 -1
- package/esm/resources/V2/Core/ApprovalRequests.d.ts +0 -378
- package/esm/resources/V2/Core/ApprovalRequests.js +0 -35
- package/esm/resources/V2/Core/ApprovalRequests.js.map +0 -1
- package/esm/resources/V2/Core/BatchJobs.d.ts +0 -360
- package/esm/resources/V2/Core/BatchJobs.js +0 -221
- package/esm/resources/V2/Core/BatchJobs.js.map +0 -1
- package/esm/resources/V2/Core/Vault/GbBankAccounts.d.ts +0 -284
- package/esm/resources/V2/Core/Vault/GbBankAccounts.js +0 -50
- package/esm/resources/V2/Core/Vault/GbBankAccounts.js.map +0 -1
- package/esm/resources/V2/Core/Vault/UsBankAccounts.d.ts +0 -256
- package/esm/resources/V2/Core/Vault/UsBankAccounts.js +0 -61
- package/esm/resources/V2/Core/Vault/UsBankAccounts.js.map +0 -1
- package/esm/resources/V2/Core/Vault/index.d.ts +0 -28
- package/esm/resources/V2/Core/Vault/index.js +0 -11
- package/esm/resources/V2/Core/Vault/index.js.map +0 -1
- package/esm/resources/V2/Data/Reporting/QueryRuns.d.ts +0 -151
- package/esm/resources/V2/Data/Reporting/QueryRuns.js +0 -42
- package/esm/resources/V2/Data/Reporting/QueryRuns.js.map +0 -1
- package/esm/resources/V2/Data/Reporting/index.d.ts +0 -13
- package/esm/resources/V2/Data/Reporting/index.js +0 -9
- package/esm/resources/V2/Data/Reporting/index.js.map +0 -1
- package/esm/resources/V2/Data/index.d.ts +0 -10
- package/esm/resources/V2/Data/index.js +0 -9
- package/esm/resources/V2/Data/index.js.map +0 -1
- package/esm/resources/V2/EventMisc.d.ts +0 -0
- package/esm/resources/V2/EventMisc.js +0 -2
- package/esm/resources/V2/EventMisc.js.map +0 -1
- package/esm/resources/V2/Extend/WorkflowRuns.d.ts +0 -163
- package/esm/resources/V2/Extend/WorkflowRuns.js +0 -19
- package/esm/resources/V2/Extend/WorkflowRuns.js.map +0 -1
- package/esm/resources/V2/Extend/Workflows.d.ts +0 -120
- package/esm/resources/V2/Extend/Workflows.js +0 -26
- package/esm/resources/V2/Extend/Workflows.js.map +0 -1
- package/esm/resources/V2/Extend/index.d.ts +0 -20
- package/esm/resources/V2/Extend/index.js +0 -11
- package/esm/resources/V2/Extend/index.js.map +0 -1
- package/esm/resources/V2/FinancialAddressCreditSimulations.d.ts +0 -14
- package/esm/resources/V2/FinancialAddressCreditSimulations.js +0 -3
- package/esm/resources/V2/FinancialAddressCreditSimulations.js.map +0 -1
- package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.d.ts +0 -19
- package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.js +0 -3
- package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.js.map +0 -1
- package/esm/resources/V2/Iam/ActivityLogs.d.ts +0 -218
- package/esm/resources/V2/Iam/ActivityLogs.js +0 -19
- package/esm/resources/V2/Iam/ActivityLogs.js.map +0 -1
- package/esm/resources/V2/Iam/index.d.ts +0 -13
- package/esm/resources/V2/Iam/index.js +0 -9
- package/esm/resources/V2/Iam/index.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/Adjustments.d.ts +0 -131
- package/esm/resources/V2/MoneyManagement/Adjustments.js +0 -19
- package/esm/resources/V2/MoneyManagement/Adjustments.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.d.ts +0 -240
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +0 -40
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/FinancialAddresses.d.ts +0 -211
- package/esm/resources/V2/MoneyManagement/FinancialAddresses.js +0 -27
- package/esm/resources/V2/MoneyManagement/FinancialAddresses.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/InboundTransfers.d.ts +0 -251
- package/esm/resources/V2/MoneyManagement/InboundTransfers.js +0 -26
- package/esm/resources/V2/MoneyManagement/InboundTransfers.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +0 -209
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -18
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/OutboundPayments.d.ts +0 -394
- package/esm/resources/V2/MoneyManagement/OutboundPayments.js +0 -37
- package/esm/resources/V2/MoneyManagement/OutboundPayments.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +0 -297
- package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -45
- package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.d.ts +0 -336
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.js +0 -35
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/PayoutMethods.d.ts +0 -255
- package/esm/resources/V2/MoneyManagement/PayoutMethods.js +0 -49
- package/esm/resources/V2/MoneyManagement/PayoutMethods.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +0 -92
- package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +0 -13
- package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/ReceivedCredits.d.ts +0 -296
- package/esm/resources/V2/MoneyManagement/ReceivedCredits.js +0 -19
- package/esm/resources/V2/MoneyManagement/ReceivedCredits.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.d.ts +0 -159
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.js +0 -19
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/TransactionEntries.d.ts +0 -162
- package/esm/resources/V2/MoneyManagement/TransactionEntries.js +0 -19
- package/esm/resources/V2/MoneyManagement/TransactionEntries.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/Transactions.d.ts +0 -193
- package/esm/resources/V2/MoneyManagement/Transactions.js +0 -19
- package/esm/resources/V2/MoneyManagement/Transactions.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/index.d.ts +0 -105
- package/esm/resources/V2/MoneyManagement/index.js +0 -35
- package/esm/resources/V2/MoneyManagement/index.js.map +0 -1
- package/esm/resources/V2/Network/BusinessProfiles.d.ts +0 -92
- package/esm/resources/V2/Network/BusinessProfiles.js +0 -17
- package/esm/resources/V2/Network/BusinessProfiles.js.map +0 -1
- package/esm/resources/V2/Network/index.d.ts +0 -13
- package/esm/resources/V2/Network/index.js +0 -9
- package/esm/resources/V2/Network/index.js.map +0 -1
- package/esm/resources/V2/OrchestratedCommerce/Agreements.d.ts +0 -143
- package/esm/resources/V2/OrchestratedCommerce/Agreements.js +0 -37
- package/esm/resources/V2/OrchestratedCommerce/Agreements.js.map +0 -1
- package/esm/resources/V2/OrchestratedCommerce/index.d.ts +0 -16
- package/esm/resources/V2/OrchestratedCommerce/index.js +0 -9
- package/esm/resources/V2/OrchestratedCommerce/index.js.map +0 -1
- package/esm/resources/V2/Signals/AccountActivity.d.ts +0 -388
- package/esm/resources/V2/Signals/AccountActivity.js +0 -23
- package/esm/resources/V2/Signals/AccountActivity.js.map +0 -1
- package/esm/resources/V2/Signals/AccountEvaluations.d.ts +0 -335
- package/esm/resources/V2/Signals/AccountEvaluations.js +0 -55
- package/esm/resources/V2/Signals/AccountEvaluations.js.map +0 -1
- package/esm/resources/V2/Signals/AccountSignals.d.ts +0 -130
- package/esm/resources/V2/Signals/AccountSignals.js +0 -54
- package/esm/resources/V2/Signals/AccountSignals.js.map +0 -1
- package/esm/resources/V2/Signals/index.d.ts +0 -26
- package/esm/resources/V2/Signals/index.js +0 -13
- package/esm/resources/V2/Signals/index.js.map +0 -1
- package/esm/resources/V2/TestHelpers/FinancialAddresses.d.ts +0 -45
- package/esm/resources/V2/TestHelpers/FinancialAddresses.js +0 -19
- package/esm/resources/V2/TestHelpers/FinancialAddresses.js.map +0 -1
- package/esm/resources/V2/TestHelpers/index.d.ts +0 -8
- package/esm/resources/V2/TestHelpers/index.js +0 -9
- package/esm/resources/V2/TestHelpers/index.js.map +0 -1
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.AuthenticationResource = void 0;
|
|
5
|
+
const StripeResource_js_1 = require("../../StripeResource.js");
|
|
6
|
+
class AuthenticationResource extends StripeResource_js_1.StripeResource {
|
|
7
|
+
/**
|
|
8
|
+
* Returns a list of 3D Secure Authentications.
|
|
9
|
+
*/
|
|
10
|
+
list(params, options) {
|
|
11
|
+
return this._makeRequest('GET', '/v1/three_d_secure/authentications', params, options, {
|
|
12
|
+
methodType: 'list',
|
|
13
|
+
});
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* This endpoint creates a 3DS Authentication. Refer to the [Create a 3DS Authentication object section of the Standalone 3DS guide](https://docs.stripe.com/payments/3d-secure/standalone-3d-secure#create-a-3ds-authentication-object) for more information.
|
|
17
|
+
*
|
|
18
|
+
* You can pass the submit parameter to automatically submit the 3DS Authentication object when you create it. Refer to the [Submit at creation section of the Standalone 3DS guide](https://docs.stripe.com/payments/3d-secure/standalone-3d-secure#submit-at-creation) for more information.
|
|
19
|
+
*/
|
|
20
|
+
create(params, options) {
|
|
21
|
+
return this._makeRequest('POST', '/v1/three_d_secure/authentications', params, options);
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* This endpoint retrieves a 3DS Authentication.
|
|
25
|
+
*/
|
|
26
|
+
retrieve(id, params, options) {
|
|
27
|
+
return this._makeRequest('GET', `/v1/three_d_secure/authentications/${encodeURIComponent(id)}`, params, options);
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* This endpoint cancels a 3DS Authentication. You can cancel a 3DS Authentication object when it's in a non-final status:
|
|
31
|
+
* requires_submission or requires_challenge.
|
|
32
|
+
*/
|
|
33
|
+
cancel(id, params, options) {
|
|
34
|
+
return this._makeRequest('POST', `/v1/three_d_secure/authentications/${encodeURIComponent(id)}/cancel`, params, options);
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* This endpoint submits a 3DS Authentication. You can submit a 3DS Authentication object when it has status requires_submission. Refer to the [Submit the 3DS Authentication object section of the Standalone 3DS guide](https://docs.stripe.com/payments/3d-secure/standalone-3d-secure#submit-the-3ds-authentication-object) for more information.
|
|
38
|
+
*/
|
|
39
|
+
submit(id, params, options) {
|
|
40
|
+
return this._makeRequest('POST', `/v1/three_d_secure/authentications/${encodeURIComponent(id)}/submit`, params, options);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
exports.AuthenticationResource = AuthenticationResource;
|
|
44
|
+
//# sourceMappingURL=Authentications.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Authentications.js","sourceRoot":"","sources":["../../../src/resources/ThreeDSecure/Authentications.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;AAEvC,+DAAuD;AAavD,MAAa,sBAAuB,SAAQ,kCAAc;IACxD;;OAEG;IACH,IAAI,CACF,MAA8C,EAC9C,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,KAAK,EACL,oCAAoC,EACpC,MAAM,EACN,OAAO,EACP;YACE,UAAU,EAAE,MAAM;SACnB,CACK,CAAC;IACX,CAAC;IACD;;;;OAIG;IACH,MAAM,CACJ,MAA+C,EAC/C,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,oCAAoC,EACpC,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;OAEG;IACH,QAAQ,CACN,EAAU,EACV,MAAkD,EAClD,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,KAAK,EACL,sCAAsC,kBAAkB,CAAC,EAAE,CAAC,EAAE,EAC9D,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;;OAGG;IACH,MAAM,CACJ,EAAU,EACV,MAAgD,EAChD,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,sCAAsC,kBAAkB,CAAC,EAAE,CAAC,SAAS,EACrE,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;OAEG;IACH,MAAM,CACJ,EAAU,EACV,MAAgD,EAChD,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,sCAAsC,kBAAkB,CAAC,EAAE,CAAC,SAAS,EACrE,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;CACF;AAhFD,wDAgFC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Stripe } from '../../stripe.core.js';
|
|
2
|
+
import { ThreeDSecure as ThreeDSecureNamespace0, Authentication, AuthenticationResource } from './Authentications.js';
|
|
3
|
+
export { Authentication } from './Authentications.js';
|
|
4
|
+
export declare class ThreeDSecure {
|
|
5
|
+
private readonly stripe;
|
|
6
|
+
authentications: AuthenticationResource;
|
|
7
|
+
constructor(stripe: Stripe);
|
|
8
|
+
}
|
|
9
|
+
export declare namespace ThreeDSecure {
|
|
10
|
+
export import AuthenticationListParams = ThreeDSecureNamespace0.AuthenticationListParams;
|
|
11
|
+
export import AuthenticationCreateParams = ThreeDSecureNamespace0.AuthenticationCreateParams;
|
|
12
|
+
export import AuthenticationRetrieveParams = ThreeDSecureNamespace0.AuthenticationRetrieveParams;
|
|
13
|
+
export import AuthenticationCancelParams = ThreeDSecureNamespace0.AuthenticationCancelParams;
|
|
14
|
+
export import AuthenticationSubmitParams = ThreeDSecureNamespace0.AuthenticationSubmitParams;
|
|
15
|
+
export { Authentication, AuthenticationResource };
|
|
16
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.ThreeDSecure = void 0;
|
|
5
|
+
const Authentications_js_1 = require("./Authentications.js");
|
|
6
|
+
class ThreeDSecure {
|
|
7
|
+
constructor(stripe) {
|
|
8
|
+
this.stripe = stripe;
|
|
9
|
+
this.authentications = new Authentications_js_1.AuthenticationResource(stripe);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
exports.ThreeDSecure = ThreeDSecure;
|
|
13
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/ThreeDSecure/index.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;AAGvC,6DAI8B;AAI9B,MAAa,YAAY;IAGvB,YAA6B,MAAc;QAAd,WAAM,GAAN,MAAM,CAAQ;QACzC,IAAI,CAAC,eAAe,GAAG,IAAI,2CAAsB,CAAC,MAAM,CAAC,CAAC;IAC5D,CAAC;CACF;AAND,oCAMC"}
|
|
@@ -53,10 +53,6 @@ export interface Token {
|
|
|
53
53
|
* If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`.
|
|
54
54
|
*/
|
|
55
55
|
livemode: boolean;
|
|
56
|
-
/**
|
|
57
|
-
* Redaction status of this token. If not null, this token is associated to a redaction job.
|
|
58
|
-
*/
|
|
59
|
-
redaction?: Token.Redaction | null;
|
|
60
56
|
/**
|
|
61
57
|
* Type of the token: `account`, `bank_account`, `card`, or `pii`.
|
|
62
58
|
*/
|
|
@@ -66,17 +62,6 @@ export interface Token {
|
|
|
66
62
|
*/
|
|
67
63
|
used: boolean;
|
|
68
64
|
}
|
|
69
|
-
export declare namespace Token {
|
|
70
|
-
interface Redaction {
|
|
71
|
-
/**
|
|
72
|
-
* Indicates whether this object and its related objects have been redacted or not.
|
|
73
|
-
*/
|
|
74
|
-
status: Redaction.Status;
|
|
75
|
-
}
|
|
76
|
-
namespace Redaction {
|
|
77
|
-
type Status = 'processing' | 'redacted' | 'validated' | OtherString;
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
65
|
export interface TokenCreateParams {
|
|
81
66
|
/**
|
|
82
67
|
* Information for the account this token represents.
|
|
@@ -618,11 +603,11 @@ export declare namespace TokenCreateParams {
|
|
|
618
603
|
namespace Verification {
|
|
619
604
|
interface Document {
|
|
620
605
|
/**
|
|
621
|
-
* The back of a document returned by a [file upload](https://
|
|
606
|
+
* The back of a document returned by a [file upload](https://docs.stripe.com/api#create_file) with a `purpose` value of `additional_verification`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
|
|
622
607
|
*/
|
|
623
608
|
back?: string;
|
|
624
609
|
/**
|
|
625
|
-
* The front of a document returned by a [file upload](https://
|
|
610
|
+
* The front of a document returned by a [file upload](https://docs.stripe.com/api#create_file) with a `purpose` value of `additional_verification`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
|
|
626
611
|
*/
|
|
627
612
|
front?: string;
|
|
628
613
|
}
|
|
@@ -679,21 +664,21 @@ export declare namespace TokenCreateParams {
|
|
|
679
664
|
namespace Verification {
|
|
680
665
|
interface AdditionalDocument {
|
|
681
666
|
/**
|
|
682
|
-
* The back of an ID returned by a [file upload](https://
|
|
667
|
+
* The back of an ID returned by a [file upload](https://docs.stripe.com/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
|
|
683
668
|
*/
|
|
684
669
|
back?: string;
|
|
685
670
|
/**
|
|
686
|
-
* The front of an ID returned by a [file upload](https://
|
|
671
|
+
* The front of an ID returned by a [file upload](https://docs.stripe.com/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
|
|
687
672
|
*/
|
|
688
673
|
front?: string;
|
|
689
674
|
}
|
|
690
675
|
interface Document {
|
|
691
676
|
/**
|
|
692
|
-
* The back of an ID returned by a [file upload](https://
|
|
677
|
+
* The back of an ID returned by a [file upload](https://docs.stripe.com/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
|
|
693
678
|
*/
|
|
694
679
|
back?: string;
|
|
695
680
|
/**
|
|
696
|
-
* The front of an ID returned by a [file upload](https://
|
|
681
|
+
* The front of an ID returned by a [file upload](https://docs.stripe.com/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
|
|
697
682
|
*/
|
|
698
683
|
front?: string;
|
|
699
684
|
}
|
|
@@ -828,19 +813,19 @@ export declare namespace TokenCreateParams {
|
|
|
828
813
|
namespace Documents {
|
|
829
814
|
interface CompanyAuthorization {
|
|
830
815
|
/**
|
|
831
|
-
* One or more document ids returned by a [file upload](https://
|
|
816
|
+
* One or more document ids returned by a [file upload](https://docs.stripe.com/api#create_file) with a `purpose` value of `account_requirement`.
|
|
832
817
|
*/
|
|
833
818
|
files?: Array<string>;
|
|
834
819
|
}
|
|
835
820
|
interface Passport {
|
|
836
821
|
/**
|
|
837
|
-
* One or more document ids returned by a [file upload](https://
|
|
822
|
+
* One or more document ids returned by a [file upload](https://docs.stripe.com/api#create_file) with a `purpose` value of `account_requirement`.
|
|
838
823
|
*/
|
|
839
824
|
files?: Array<string>;
|
|
840
825
|
}
|
|
841
826
|
interface Visa {
|
|
842
827
|
/**
|
|
843
|
-
* One or more document ids returned by a [file upload](https://
|
|
828
|
+
* One or more document ids returned by a [file upload](https://docs.stripe.com/api#create_file) with a `purpose` value of `account_requirement`.
|
|
844
829
|
*/
|
|
845
830
|
files?: Array<string>;
|
|
846
831
|
}
|
|
@@ -876,21 +861,21 @@ export declare namespace TokenCreateParams {
|
|
|
876
861
|
namespace Verification {
|
|
877
862
|
interface AdditionalDocument {
|
|
878
863
|
/**
|
|
879
|
-
* The back of an ID returned by a [file upload](https://
|
|
864
|
+
* The back of an ID returned by a [file upload](https://docs.stripe.com/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
|
|
880
865
|
*/
|
|
881
866
|
back?: string;
|
|
882
867
|
/**
|
|
883
|
-
* The front of an ID returned by a [file upload](https://
|
|
868
|
+
* The front of an ID returned by a [file upload](https://docs.stripe.com/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
|
|
884
869
|
*/
|
|
885
870
|
front?: string;
|
|
886
871
|
}
|
|
887
872
|
interface Document {
|
|
888
873
|
/**
|
|
889
|
-
* The back of an ID returned by a [file upload](https://
|
|
874
|
+
* The back of an ID returned by a [file upload](https://docs.stripe.com/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
|
|
890
875
|
*/
|
|
891
876
|
back?: string;
|
|
892
877
|
/**
|
|
893
|
-
* The front of an ID returned by a [file upload](https://
|
|
878
|
+
* The front of an ID returned by a [file upload](https://docs.stripe.com/api#create_file) with a `purpose` value of `identity_document`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
|
|
894
879
|
*/
|
|
895
880
|
front?: string;
|
|
896
881
|
}
|
|
@@ -152,7 +152,7 @@ export interface TopupCreateParams {
|
|
|
152
152
|
*/
|
|
153
153
|
payment_method_options?: TopupCreateParams.PaymentMethodOptions;
|
|
154
154
|
/**
|
|
155
|
-
* The ID of a source to transfer funds from. For most users, this should be left unspecified which will use the bank account that was set up in the dashboard for the specified currency.
|
|
155
|
+
* The ID of a source to transfer funds from. For most users, this should be left unspecified which will use the bank account that was set up in the dashboard for the specified currency. While testing, this can be a test bank token (see [Testing Top-ups](https://docs.stripe.com/connect/testing#testing-top-ups)).
|
|
156
156
|
*/
|
|
157
157
|
source?: string;
|
|
158
158
|
/**
|
|
@@ -88,10 +88,6 @@ export interface Transfer {
|
|
|
88
88
|
* If the destination is a Stripe account, this will be the ID of the payment that the destination account received for the transfer.
|
|
89
89
|
*/
|
|
90
90
|
destination_payment?: string | Charge;
|
|
91
|
-
/**
|
|
92
|
-
* The FX Quote used for the transfer.
|
|
93
|
-
*/
|
|
94
|
-
fx_quote?: string;
|
|
95
91
|
/**
|
|
96
92
|
* If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`.
|
|
97
93
|
*/
|
|
@@ -142,10 +138,6 @@ export interface TransferCreateParams {
|
|
|
142
138
|
* Specifies which fields in the response should be expanded.
|
|
143
139
|
*/
|
|
144
140
|
expand?: Array<string>;
|
|
145
|
-
/**
|
|
146
|
-
* The FX rate in the quote is validated and used to convert the transfer amount to the destination currency.
|
|
147
|
-
*/
|
|
148
|
-
fx_quote?: string;
|
|
149
141
|
/**
|
|
150
142
|
* Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
|
151
143
|
*/
|
|
@@ -154,10 +154,6 @@ export declare namespace FinancialAccountFeatures {
|
|
|
154
154
|
}
|
|
155
155
|
namespace FinancialAddresses {
|
|
156
156
|
interface Aba {
|
|
157
|
-
/**
|
|
158
|
-
* Requested bank partner for this Financial Account
|
|
159
|
-
*/
|
|
160
|
-
bank?: Aba.Bank;
|
|
161
157
|
/**
|
|
162
158
|
* Whether the FinancialAccount should have the Feature.
|
|
163
159
|
*/
|
|
@@ -172,7 +168,6 @@ export declare namespace FinancialAccountFeatures {
|
|
|
172
168
|
status_details: Array<Aba.StatusDetail>;
|
|
173
169
|
}
|
|
174
170
|
namespace Aba {
|
|
175
|
-
type Bank = 'evolve' | 'fifth_third' | 'goldman_sachs' | OtherString;
|
|
176
171
|
type Status = 'active' | 'pending' | 'restricted' | OtherString;
|
|
177
172
|
interface StatusDetail {
|
|
178
173
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { StripeResource } from '../../StripeResource.js';
|
|
2
2
|
import { FinancialAccountFeatures } from './FinancialAccountFeatures.js';
|
|
3
|
-
import {
|
|
3
|
+
import { MetadataParam, Emptyable, OtherString, PaginationParams, RangeQueryParam, Metadata } from '../../shared.js';
|
|
4
4
|
import { RequestOptions, ApiListPromise, Response } from '../../lib.js';
|
|
5
5
|
export declare class FinancialAccountResource extends StripeResource {
|
|
6
6
|
/**
|
|
@@ -57,10 +57,6 @@ export interface FinancialAccount {
|
|
|
57
57
|
* Time at which the object was created. Measured in seconds since the Unix epoch.
|
|
58
58
|
*/
|
|
59
59
|
created: number;
|
|
60
|
-
/**
|
|
61
|
-
* The display name for the FinancialAccount. Use this field to customize the names of the FinancialAccounts for your connected accounts. Unlike the `nickname` field, `display_name` is not internal metadata and will be exposed to connected accounts.
|
|
62
|
-
*/
|
|
63
|
-
display_name?: string | null;
|
|
64
60
|
/**
|
|
65
61
|
* Encodes whether a FinancialAccount has access to a particular Feature, with a `status` enum and associated `status_details`.
|
|
66
62
|
* Stripe or the platform can control Features via the requested field.
|
|
@@ -183,7 +179,7 @@ export declare namespace FinancialAccount {
|
|
|
183
179
|
*/
|
|
184
180
|
routing_number: string;
|
|
185
181
|
}
|
|
186
|
-
type SupportedNetwork = 'ach' | 'us_domestic_wire' | OtherString;
|
|
182
|
+
type SupportedNetwork = 'ach' | 'rtp' | 'us_domestic_wire' | OtherString;
|
|
187
183
|
}
|
|
188
184
|
namespace PlatformRestrictions {
|
|
189
185
|
type InboundFlows = 'restricted' | 'unrestricted' | OtherString;
|
|
@@ -207,10 +203,6 @@ export declare namespace Treasury {
|
|
|
207
203
|
* The currencies the FinancialAccount can hold a balance in.
|
|
208
204
|
*/
|
|
209
205
|
supported_currencies: Array<string>;
|
|
210
|
-
/**
|
|
211
|
-
* The display name for the FinancialAccount. Use this field to customize the names of the FinancialAccounts for your connected accounts. Unlike the `nickname` field, `display_name` is not internal metadata and will be exposed to connected accounts.
|
|
212
|
-
*/
|
|
213
|
-
display_name?: Emptyable<string>;
|
|
214
206
|
/**
|
|
215
207
|
* Specifies which fields in the response should be expanded.
|
|
216
208
|
*/
|
|
@@ -326,18 +318,11 @@ export declare namespace Treasury {
|
|
|
326
318
|
}
|
|
327
319
|
namespace FinancialAddresses {
|
|
328
320
|
interface Aba {
|
|
329
|
-
/**
|
|
330
|
-
* Requested bank partner
|
|
331
|
-
*/
|
|
332
|
-
bank?: Aba.Bank;
|
|
333
321
|
/**
|
|
334
322
|
* Whether the FinancialAccount should have the Feature.
|
|
335
323
|
*/
|
|
336
324
|
requested: boolean;
|
|
337
325
|
}
|
|
338
|
-
namespace Aba {
|
|
339
|
-
type Bank = 'evolve' | 'fifth_third' | 'goldman_sachs' | OtherString;
|
|
340
|
-
}
|
|
341
326
|
}
|
|
342
327
|
namespace InboundTransfers {
|
|
343
328
|
interface Ach {
|
|
@@ -392,10 +377,6 @@ export declare namespace Treasury {
|
|
|
392
377
|
}
|
|
393
378
|
export declare namespace Treasury {
|
|
394
379
|
interface FinancialAccountUpdateParams {
|
|
395
|
-
/**
|
|
396
|
-
* The display name for the FinancialAccount. Use this field to customize the names of the FinancialAccounts for your connected accounts. Unlike the `nickname` field, `display_name` is not internal metadata and will be exposed to connected accounts.
|
|
397
|
-
*/
|
|
398
|
-
display_name?: Emptyable<string>;
|
|
399
380
|
/**
|
|
400
381
|
* Specifies which fields in the response should be expanded.
|
|
401
382
|
*/
|
|
@@ -529,18 +510,11 @@ export declare namespace Treasury {
|
|
|
529
510
|
}
|
|
530
511
|
namespace FinancialAddresses {
|
|
531
512
|
interface Aba {
|
|
532
|
-
/**
|
|
533
|
-
* Requested bank partner
|
|
534
|
-
*/
|
|
535
|
-
bank?: Aba.Bank;
|
|
536
513
|
/**
|
|
537
514
|
* Whether the FinancialAccount should have the Feature.
|
|
538
515
|
*/
|
|
539
516
|
requested: boolean;
|
|
540
517
|
}
|
|
541
|
-
namespace Aba {
|
|
542
|
-
type Bank = 'evolve' | 'fifth_third' | 'goldman_sachs' | OtherString;
|
|
543
|
-
}
|
|
544
518
|
}
|
|
545
519
|
namespace InboundTransfers {
|
|
546
520
|
interface Ach {
|
|
@@ -734,18 +708,11 @@ export declare namespace Treasury {
|
|
|
734
708
|
}
|
|
735
709
|
namespace FinancialAddresses {
|
|
736
710
|
interface Aba {
|
|
737
|
-
/**
|
|
738
|
-
* Requested bank partner
|
|
739
|
-
*/
|
|
740
|
-
bank?: Aba.Bank;
|
|
741
711
|
/**
|
|
742
712
|
* Whether the FinancialAccount should have the Feature.
|
|
743
713
|
*/
|
|
744
714
|
requested: boolean;
|
|
745
715
|
}
|
|
746
|
-
namespace Aba {
|
|
747
|
-
type Bank = 'evolve' | 'fifth_third' | 'goldman_sachs' | OtherString;
|
|
748
|
-
}
|
|
749
716
|
}
|
|
750
717
|
namespace InboundTransfers {
|
|
751
718
|
interface Ach {
|
|
@@ -51,7 +51,7 @@ export interface InboundTransfer {
|
|
|
51
51
|
*/
|
|
52
52
|
description: string | null;
|
|
53
53
|
/**
|
|
54
|
-
* Details about this InboundTransfer's failure.
|
|
54
|
+
* Details about this InboundTransfer's failure. Will be set when `status=failed` or `returned=true`.
|
|
55
55
|
*/
|
|
56
56
|
failure_details: InboundTransfer.FailureDetails | null;
|
|
57
57
|
/**
|
|
@@ -86,10 +86,6 @@ export interface OutboundPayment {
|
|
|
86
86
|
* Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
|
|
87
87
|
*/
|
|
88
88
|
metadata: Metadata;
|
|
89
|
-
/**
|
|
90
|
-
* The purpose of the OutboundPayment, if applicable.
|
|
91
|
-
*/
|
|
92
|
-
purpose?: 'payroll' | null;
|
|
93
89
|
/**
|
|
94
90
|
* Details about a returned OutboundPayment. Only set when the status is `returned`.
|
|
95
91
|
*/
|
|
@@ -305,10 +301,6 @@ export declare namespace Treasury {
|
|
|
305
301
|
* Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
|
306
302
|
*/
|
|
307
303
|
metadata?: MetadataParam;
|
|
308
|
-
/**
|
|
309
|
-
* The purpose of the OutboundPayment, if applicable. This list is not exhaustive, do not specify this parameter if your purpose does not match any that are provided.
|
|
310
|
-
*/
|
|
311
|
-
purpose?: 'payroll';
|
|
312
304
|
/**
|
|
313
305
|
* The description that appears on the receiving end for this OutboundPayment (for example, bank statement for external bank transfer). Maximum 10 characters for `ach` payments, 140 characters for `us_domestic_wire` payments, or 500 characters for `stripe` network transfers. Can only include -#.$&*, spaces, and alphanumeric characters. The default value is "payment".
|
|
314
306
|
*/
|
|
@@ -75,10 +75,6 @@ export interface OutboundTransfer {
|
|
|
75
75
|
* Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
|
|
76
76
|
*/
|
|
77
77
|
metadata: Metadata;
|
|
78
|
-
/**
|
|
79
|
-
* Details about the network used for the OutboundTransfer.
|
|
80
|
-
*/
|
|
81
|
-
network_details?: OutboundTransfer.NetworkDetails | null;
|
|
82
78
|
/**
|
|
83
79
|
* Details about a returned OutboundTransfer. Only set when the status is `returned`.
|
|
84
80
|
*/
|
|
@@ -111,16 +107,6 @@ export declare namespace OutboundTransfer {
|
|
|
111
107
|
type: DestinationPaymentMethodDetails.Type;
|
|
112
108
|
us_bank_account?: DestinationPaymentMethodDetails.UsBankAccount;
|
|
113
109
|
}
|
|
114
|
-
interface NetworkDetails {
|
|
115
|
-
/**
|
|
116
|
-
* Details about an ACH transaction.
|
|
117
|
-
*/
|
|
118
|
-
ach?: NetworkDetails.Ach | null;
|
|
119
|
-
/**
|
|
120
|
-
* The type of flow that originated the OutboundTransfer.
|
|
121
|
-
*/
|
|
122
|
-
type: 'ach';
|
|
123
|
-
}
|
|
124
110
|
interface ReturnedDetails {
|
|
125
111
|
/**
|
|
126
112
|
* Reason for the return.
|
|
@@ -221,14 +207,6 @@ export declare namespace OutboundTransfer {
|
|
|
221
207
|
type Network = 'ach' | 'us_domestic_wire' | OtherString;
|
|
222
208
|
}
|
|
223
209
|
}
|
|
224
|
-
namespace NetworkDetails {
|
|
225
|
-
interface Ach {
|
|
226
|
-
/**
|
|
227
|
-
* ACH Addenda record
|
|
228
|
-
*/
|
|
229
|
-
addenda: string | null;
|
|
230
|
-
}
|
|
231
|
-
}
|
|
232
210
|
namespace ReturnedDetails {
|
|
233
211
|
type Code = 'account_closed' | 'account_frozen' | 'bank_account_restricted' | 'bank_ownership_changed' | 'declined' | 'incorrect_account_holder_name' | 'invalid_account_number' | 'invalid_currency' | 'no_account' | 'other' | OtherString;
|
|
234
212
|
}
|
|
@@ -294,10 +272,6 @@ export declare namespace Treasury {
|
|
|
294
272
|
* Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
|
295
273
|
*/
|
|
296
274
|
metadata?: MetadataParam;
|
|
297
|
-
/**
|
|
298
|
-
* Details about the network used for the OutboundTransfer.
|
|
299
|
-
*/
|
|
300
|
-
network_details?: OutboundTransferCreateParams.NetworkDetails;
|
|
301
275
|
/**
|
|
302
276
|
* Statement descriptor to be shown on the receiving end of an OutboundTransfer. Maximum 10 characters for `ach` transfers or 140 characters for `us_domestic_wire` transfers. The default value is "transfer". Can only include -#.$&*, spaces, and alphanumeric characters.
|
|
303
277
|
*/
|
|
@@ -320,16 +294,6 @@ export declare namespace Treasury {
|
|
|
320
294
|
*/
|
|
321
295
|
us_bank_account?: Emptyable<DestinationPaymentMethodOptions.UsBankAccount>;
|
|
322
296
|
}
|
|
323
|
-
interface NetworkDetails {
|
|
324
|
-
/**
|
|
325
|
-
* Optional fields for `ach`.
|
|
326
|
-
*/
|
|
327
|
-
ach?: NetworkDetails.Ach;
|
|
328
|
-
/**
|
|
329
|
-
* The type of flow that originated the OutboundTransfer.
|
|
330
|
-
*/
|
|
331
|
-
type: 'ach';
|
|
332
|
-
}
|
|
333
297
|
namespace DestinationPaymentMethodOptions {
|
|
334
298
|
interface UsBankAccount {
|
|
335
299
|
/**
|
|
@@ -341,14 +305,6 @@ export declare namespace Treasury {
|
|
|
341
305
|
type Network = 'ach' | 'us_domestic_wire' | OtherString;
|
|
342
306
|
}
|
|
343
307
|
}
|
|
344
|
-
namespace NetworkDetails {
|
|
345
|
-
interface Ach {
|
|
346
|
-
/**
|
|
347
|
-
* Addenda record data associated with this OutboundTransfer.
|
|
348
|
-
*/
|
|
349
|
-
addenda?: string;
|
|
350
|
-
}
|
|
351
|
-
}
|
|
352
308
|
}
|
|
353
309
|
}
|
|
354
310
|
export declare namespace Treasury {
|
|
@@ -63,10 +63,6 @@ export interface ReceivedCredit {
|
|
|
63
63
|
* The rails used to send the funds.
|
|
64
64
|
*/
|
|
65
65
|
network: ReceivedCredit.Network;
|
|
66
|
-
/**
|
|
67
|
-
* Details specific to the money movement rails.
|
|
68
|
-
*/
|
|
69
|
-
network_details?: ReceivedCredit.NetworkDetails | null;
|
|
70
66
|
/**
|
|
71
67
|
* Details describing when a ReceivedCredit may be reversed.
|
|
72
68
|
*/
|
|
@@ -90,7 +86,7 @@ export declare namespace ReceivedCredit {
|
|
|
90
86
|
billing_details: InitiatingPaymentMethodDetails.BillingDetails;
|
|
91
87
|
financial_account?: InitiatingPaymentMethodDetails.FinancialAccount;
|
|
92
88
|
/**
|
|
93
|
-
* Set when `type` is `issuing_card`. This is an [Issuing Card](https://
|
|
89
|
+
* Set when `type` is `issuing_card`. This is an [Issuing Card](https://docs.stripe.com/api#issuing_cards) ID.
|
|
94
90
|
*/
|
|
95
91
|
issuing_card?: string;
|
|
96
92
|
/**
|
|
@@ -105,11 +101,11 @@ export declare namespace ReceivedCredit {
|
|
|
105
101
|
*/
|
|
106
102
|
credit_reversal: string | null;
|
|
107
103
|
/**
|
|
108
|
-
* Set if the ReceivedCredit was created due to an [Issuing Authorization](https://
|
|
104
|
+
* Set if the ReceivedCredit was created due to an [Issuing Authorization](https://docs.stripe.com/api#issuing_authorizations) object.
|
|
109
105
|
*/
|
|
110
106
|
issuing_authorization: string | null;
|
|
111
107
|
/**
|
|
112
|
-
* Set if the ReceivedCredit is also viewable as an [Issuing transaction](https://
|
|
108
|
+
* Set if the ReceivedCredit is also viewable as an [Issuing transaction](https://docs.stripe.com/api#issuing_transactions) object.
|
|
113
109
|
*/
|
|
114
110
|
issuing_transaction: string | null;
|
|
115
111
|
/**
|
|
@@ -125,17 +121,7 @@ export declare namespace ReceivedCredit {
|
|
|
125
121
|
*/
|
|
126
122
|
source_flow_type: string | null;
|
|
127
123
|
}
|
|
128
|
-
type Network = 'ach' | 'card' | 'stripe' | 'us_domestic_wire' | OtherString;
|
|
129
|
-
interface NetworkDetails {
|
|
130
|
-
/**
|
|
131
|
-
* Details about an ACH transaction.
|
|
132
|
-
*/
|
|
133
|
-
ach?: NetworkDetails.Ach | null;
|
|
134
|
-
/**
|
|
135
|
-
* The type of flow that originated the ReceivedCredit.
|
|
136
|
-
*/
|
|
137
|
-
type: 'ach';
|
|
138
|
-
}
|
|
124
|
+
type Network = 'ach' | 'card' | 'rtp' | 'stripe' | 'us_domestic_wire' | OtherString;
|
|
139
125
|
interface ReversalDetails {
|
|
140
126
|
/**
|
|
141
127
|
* Time before which a ReceivedCredit can be reversed.
|
|
@@ -188,11 +174,11 @@ export declare namespace ReceivedCredit {
|
|
|
188
174
|
namespace LinkedFlows {
|
|
189
175
|
interface SourceFlowDetails {
|
|
190
176
|
/**
|
|
191
|
-
* You can reverse some [ReceivedCredits](https://
|
|
177
|
+
* You can reverse some [ReceivedCredits](https://docs.stripe.com/api#received_credits) depending on their network and source flow. Reversing a ReceivedCredit leads to the creation of a new object known as a CreditReversal.
|
|
192
178
|
*/
|
|
193
179
|
credit_reversal?: CreditReversal;
|
|
194
180
|
/**
|
|
195
|
-
* Use [OutboundPayments](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/out-of/outbound-payments) to send funds to another party's external bank account or [FinancialAccount](https://
|
|
181
|
+
* Use [OutboundPayments](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/out-of/outbound-payments) to send funds to another party's external bank account or [FinancialAccount](https://docs.stripe.com/api#financial_accounts). To send money to an account belonging to the same user, use an [OutboundTransfer](https://docs.stripe.com/api#outbound_transfers).
|
|
196
182
|
*
|
|
197
183
|
* Simulate OutboundPayment state changes with the `/v1/test_helpers/treasury/outbound_payments` endpoints. These methods can only be called on test mode objects.
|
|
198
184
|
*
|
|
@@ -200,7 +186,7 @@ export declare namespace ReceivedCredit {
|
|
|
200
186
|
*/
|
|
201
187
|
outbound_payment?: OutboundPayment;
|
|
202
188
|
/**
|
|
203
|
-
* Use [OutboundTransfers](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/out-of/outbound-transfers) to transfer funds from a [FinancialAccount](https://
|
|
189
|
+
* Use [OutboundTransfers](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/out-of/outbound-transfers) to transfer funds from a [FinancialAccount](https://docs.stripe.com/api#financial_accounts) to a PaymentMethod belonging to the same entity. To send funds to a different party, use [OutboundPayments](https://docs.stripe.com/api#outbound_payments) instead. You can send funds over ACH rails or through a domestic wire transfer to a user's own external bank account.
|
|
204
190
|
*
|
|
205
191
|
* Simulate OutboundTransfer state changes with the `/v1/test_helpers/treasury/outbound_transfers` endpoints. These methods can only be called on test mode objects.
|
|
206
192
|
*
|
|
@@ -227,14 +213,6 @@ export declare namespace ReceivedCredit {
|
|
|
227
213
|
type Type = 'credit_reversal' | 'other' | 'outbound_payment' | 'outbound_transfer' | 'payout' | OtherString;
|
|
228
214
|
}
|
|
229
215
|
}
|
|
230
|
-
namespace NetworkDetails {
|
|
231
|
-
interface Ach {
|
|
232
|
-
/**
|
|
233
|
-
* ACH Addenda record
|
|
234
|
-
*/
|
|
235
|
-
addenda: string | null;
|
|
236
|
-
}
|
|
237
|
-
}
|
|
238
216
|
namespace ReversalDetails {
|
|
239
217
|
type RestrictedReason = 'already_reversed' | 'deadline_passed' | 'network_restricted' | 'other' | 'source_flow_restricted' | OtherString;
|
|
240
218
|
}
|
|
@@ -59,10 +59,6 @@ export interface ReceivedDebit {
|
|
|
59
59
|
* The network used for the ReceivedDebit.
|
|
60
60
|
*/
|
|
61
61
|
network: ReceivedDebit.Network;
|
|
62
|
-
/**
|
|
63
|
-
* Details specific to the money movement rails.
|
|
64
|
-
*/
|
|
65
|
-
network_details?: ReceivedDebit.NetworkDetails | null;
|
|
66
62
|
/**
|
|
67
63
|
* Details describing when a ReceivedDebit might be reversed.
|
|
68
64
|
*/
|
|
@@ -86,7 +82,7 @@ export declare namespace ReceivedDebit {
|
|
|
86
82
|
billing_details: InitiatingPaymentMethodDetails.BillingDetails;
|
|
87
83
|
financial_account?: InitiatingPaymentMethodDetails.FinancialAccount;
|
|
88
84
|
/**
|
|
89
|
-
* Set when `type` is `issuing_card`. This is an [Issuing Card](https://
|
|
85
|
+
* Set when `type` is `issuing_card`. This is an [Issuing Card](https://docs.stripe.com/api#issuing_cards) ID.
|
|
90
86
|
*/
|
|
91
87
|
issuing_card?: string;
|
|
92
88
|
/**
|
|
@@ -105,37 +101,23 @@ export declare namespace ReceivedDebit {
|
|
|
105
101
|
*/
|
|
106
102
|
inbound_transfer: string | null;
|
|
107
103
|
/**
|
|
108
|
-
* Set if the ReceivedDebit was created due to an [Issuing Authorization](https://
|
|
104
|
+
* Set if the ReceivedDebit was created due to an [Issuing Authorization](https://docs.stripe.com/api#issuing_authorizations) object.
|
|
109
105
|
*/
|
|
110
106
|
issuing_authorization: string | null;
|
|
111
107
|
/**
|
|
112
|
-
* Set if the ReceivedDebit is also viewable as an [Issuing Dispute](https://
|
|
108
|
+
* Set if the ReceivedDebit is also viewable as an [Issuing Dispute](https://docs.stripe.com/api#issuing_disputes) object.
|
|
113
109
|
*/
|
|
114
110
|
issuing_transaction: string | null;
|
|
115
111
|
/**
|
|
116
|
-
* Set if the ReceivedDebit was created due to a [Payout](https://
|
|
112
|
+
* Set if the ReceivedDebit was created due to a [Payout](https://docs.stripe.com/api#payouts) object.
|
|
117
113
|
*/
|
|
118
114
|
payout: string | null;
|
|
119
115
|
/**
|
|
120
|
-
*
|
|
121
|
-
*/
|
|
122
|
-
received_credit_capital_withholding?: string | null;
|
|
123
|
-
/**
|
|
124
|
-
* Set if the ReceivedDebit was created due to a [Topup](https://api.stripe.com#topups) object.
|
|
116
|
+
* Set if the ReceivedDebit was created due to a [Topup](https://docs.stripe.com/api#topups) object.
|
|
125
117
|
*/
|
|
126
118
|
topup: string | null;
|
|
127
119
|
}
|
|
128
120
|
type Network = 'ach' | 'card' | 'stripe' | OtherString;
|
|
129
|
-
interface NetworkDetails {
|
|
130
|
-
/**
|
|
131
|
-
* Details about an ACH transaction.
|
|
132
|
-
*/
|
|
133
|
-
ach?: NetworkDetails.Ach | null;
|
|
134
|
-
/**
|
|
135
|
-
* The type of flow that originated the ReceivedDebit.
|
|
136
|
-
*/
|
|
137
|
-
type: 'ach';
|
|
138
|
-
}
|
|
139
121
|
interface ReversalDetails {
|
|
140
122
|
/**
|
|
141
123
|
* Time before which a ReceivedDebit can be reversed.
|
|
@@ -185,14 +167,6 @@ export declare namespace ReceivedDebit {
|
|
|
185
167
|
routing_number: string | null;
|
|
186
168
|
}
|
|
187
169
|
}
|
|
188
|
-
namespace NetworkDetails {
|
|
189
|
-
interface Ach {
|
|
190
|
-
/**
|
|
191
|
-
* ACH Addenda record
|
|
192
|
-
*/
|
|
193
|
-
addenda: string | null;
|
|
194
|
-
}
|
|
195
|
-
}
|
|
196
170
|
namespace ReversalDetails {
|
|
197
171
|
type RestrictedReason = 'already_reversed' | 'deadline_passed' | 'network_restricted' | 'other' | 'source_flow_restricted' | OtherString;
|
|
198
172
|
}
|