stripe 22.2.0-beta.3 → 22.2.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 +84 -1730
- package/OPENAPI_VERSION +1 -1
- package/README.md +65 -57
- package/VERSION +1 -1
- package/cjs/Error.d.ts +0 -50
- package/cjs/Error.js +1 -125
- package/cjs/Error.js.map +1 -1
- package/cjs/RequestSender.d.ts +1 -0
- package/cjs/RequestSender.js +10 -2
- package/cjs/RequestSender.js.map +1 -1
- package/cjs/Types.d.ts +2 -4
- package/cjs/Types.js.map +1 -1
- package/cjs/apiVersion.d.ts +2 -1
- package/cjs/apiVersion.js +3 -2
- package/cjs/apiVersion.js.map +1 -1
- package/cjs/lib.d.ts +48 -3
- package/cjs/net/FetchHttpClient.js.map +1 -1
- package/cjs/net/HttpClient.js.map +1 -1
- package/cjs/platform/NodePlatformFunctions.d.ts +6 -0
- package/cjs/platform/NodePlatformFunctions.js +17 -0
- package/cjs/platform/NodePlatformFunctions.js.map +1 -1
- package/cjs/platform/PlatformFunctions.d.ts +13 -0
- package/cjs/platform/PlatformFunctions.js +21 -0
- package/cjs/platform/PlatformFunctions.js.map +1 -1
- package/cjs/resources/AccountLinks.d.ts +1 -1
- package/cjs/resources/AccountSessions.d.ts +0 -262
- package/cjs/resources/AccountSessions.js.map +1 -1
- package/cjs/resources/Accounts.d.ts +45 -819
- package/cjs/resources/Accounts.js +0 -15
- package/cjs/resources/Accounts.js.map +1 -1
- package/cjs/resources/Apps/index.d.ts +4 -4
- package/cjs/resources/Balance.d.ts +0 -67
- package/cjs/resources/BalanceSettings.d.ts +86 -0
- package/cjs/resources/BankAccounts.d.ts +2 -2
- package/cjs/resources/Billing/AlertTriggereds.d.ts +1 -2
- package/cjs/resources/Billing/index.d.ts +24 -27
- package/cjs/resources/Billing/index.js +0 -2
- package/cjs/resources/Billing/index.js.map +1 -1
- package/cjs/resources/BillingPortal/index.d.ts +5 -5
- package/cjs/resources/Capabilities.d.ts +2 -2
- package/cjs/resources/Cards.d.ts +0 -4
- package/cjs/resources/Charges.d.ts +92 -3064
- package/cjs/resources/Checkout/Sessions.d.ts +51 -414
- package/cjs/resources/Checkout/index.d.ts +6 -6
- package/cjs/resources/Climate/index.d.ts +9 -9
- package/cjs/resources/ConfirmationTokens.d.ts +7 -67
- package/cjs/resources/Coupons.d.ts +0 -47
- package/cjs/resources/CreditNoteLineItems.d.ts +1 -15
- package/cjs/resources/CreditNotes.d.ts +1 -7
- package/cjs/resources/CreditNotes.js +0 -14
- package/cjs/resources/CreditNotes.js.map +1 -1
- package/cjs/resources/CustomerSessions.d.ts +0 -68
- package/cjs/resources/Customers.d.ts +1 -7
- package/cjs/resources/Customers.js +0 -15
- package/cjs/resources/Customers.js.map +1 -1
- package/cjs/resources/Discounts.d.ts +4 -4
- package/cjs/resources/Disputes.d.ts +0 -29
- package/cjs/resources/Entitlements/index.d.ts +6 -6
- package/cjs/resources/Events.d.ts +2 -547
- 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/FinancialConnections/Accounts.d.ts +4 -74
- package/cjs/resources/FinancialConnections/Accounts.js +0 -8
- package/cjs/resources/FinancialConnections/Accounts.js.map +1 -1
- package/cjs/resources/FinancialConnections/Sessions.d.ts +7 -155
- package/cjs/resources/FinancialConnections/index.d.ts +13 -28
- package/cjs/resources/FinancialConnections/index.js +0 -4
- package/cjs/resources/FinancialConnections/index.js.map +1 -1
- package/cjs/resources/Forwarding/index.d.ts +3 -3
- package/cjs/resources/Identity/index.d.ts +8 -8
- package/cjs/resources/InvoiceItems.d.ts +28 -85
- package/cjs/resources/InvoiceItems.js.map +1 -1
- package/cjs/resources/InvoiceLineItems.d.ts +2 -40
- package/cjs/resources/Invoices.d.ts +26 -1348
- package/cjs/resources/Invoices.js +0 -70
- package/cjs/resources/Invoices.js.map +1 -1
- package/cjs/resources/Issuing/Cardholders.d.ts +1 -2
- package/cjs/resources/Issuing/Disputes.d.ts +1 -1
- package/cjs/resources/Issuing/PersonalizationDesigns.d.ts +1 -1
- package/cjs/resources/Issuing/Transactions.d.ts +0 -9
- package/cjs/resources/Issuing/Transactions.js.map +1 -1
- package/cjs/resources/Issuing/index.d.ts +35 -60
- package/cjs/resources/Issuing/index.js +0 -6
- package/cjs/resources/Issuing/index.js.map +1 -1
- package/cjs/resources/LineItems.d.ts +2 -29
- package/cjs/resources/Mandates.d.ts +4 -33
- package/cjs/resources/Mandates.js +0 -8
- package/cjs/resources/Mandates.js.map +1 -1
- package/cjs/resources/OAuth.d.ts +7 -8
- package/cjs/resources/PaymentAttemptRecords.d.ts +23 -92
- package/cjs/resources/PaymentIntents.d.ts +6510 -17236
- package/cjs/resources/PaymentIntents.js +3 -28
- package/cjs/resources/PaymentIntents.js.map +1 -1
- package/cjs/resources/PaymentLinks.d.ts +88 -20
- package/cjs/resources/PaymentMethodConfigurations.d.ts +93 -299
- package/cjs/resources/PaymentMethods.d.ts +22 -152
- package/cjs/resources/PaymentMethods.js.map +1 -1
- package/cjs/resources/PaymentRecords.d.ts +23 -92
- package/cjs/resources/Payouts.d.ts +1 -1
- package/cjs/resources/Persons.d.ts +2 -2
- package/cjs/resources/Plans.d.ts +0 -16
- package/cjs/resources/Prices.d.ts +0 -52
- package/cjs/resources/Products.d.ts +0 -42
- package/cjs/resources/PromotionCodes.d.ts +0 -12
- package/cjs/resources/PromotionCodes.js +0 -28
- package/cjs/resources/PromotionCodes.js.map +1 -1
- package/cjs/resources/Quotes.d.ts +160 -2369
- package/cjs/resources/Quotes.js +13 -1181
- package/cjs/resources/Quotes.js.map +1 -1
- package/cjs/resources/Radar/PaymentEvaluations.d.ts +2 -2
- package/cjs/resources/Radar/index.d.ts +12 -12
- package/cjs/resources/Refunds.d.ts +3 -11
- package/cjs/resources/Reporting/index.d.ts +5 -5
- package/cjs/resources/Reserve/Holds.d.ts +1 -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 +0 -16
- package/cjs/resources/Reserve/Plans.js +0 -11
- package/cjs/resources/Reserve/Plans.js.map +1 -1
- package/cjs/resources/Reserve/Releases.d.ts +1 -41
- package/cjs/resources/Reserve/Releases.js +0 -19
- package/cjs/resources/Reserve/Releases.js.map +1 -1
- package/cjs/resources/Reserve/index.d.ts +3 -14
- package/cjs/resources/Reserve/index.js +2 -10
- package/cjs/resources/Reserve/index.js.map +1 -1
- package/cjs/resources/SetupAttempts.d.ts +3 -25
- package/cjs/resources/SetupIntents.d.ts +77 -336
- package/cjs/resources/Sigma/index.d.ts +2 -2
- package/cjs/resources/Sources.d.ts +1 -16
- package/cjs/resources/SubscriptionItems.d.ts +4 -165
- package/cjs/resources/SubscriptionSchedules.d.ts +16 -1174
- package/cjs/resources/SubscriptionSchedules.js +0 -48
- package/cjs/resources/SubscriptionSchedules.js.map +1 -1
- package/cjs/resources/Subscriptions.d.ts +32 -490
- package/cjs/resources/Subscriptions.js +2 -31
- package/cjs/resources/Subscriptions.js.map +1 -1
- package/cjs/resources/Tax/CalculationLineItems.d.ts +2 -6
- package/cjs/resources/Tax/Calculations.d.ts +3 -7
- package/cjs/resources/Tax/Registrations.d.ts +2 -138
- package/cjs/resources/Tax/Transactions.d.ts +2 -2
- package/cjs/resources/Tax/index.d.ts +17 -31
- package/cjs/resources/Tax/index.js +0 -4
- package/cjs/resources/Tax/index.js.map +1 -1
- package/cjs/resources/TaxCodes.d.ts +0 -15
- package/cjs/resources/Terminal/Configurations.d.ts +108 -27
- package/cjs/resources/Terminal/Readers.d.ts +143 -19
- package/cjs/resources/Terminal/Readers.js.map +1 -1
- package/cjs/resources/Terminal/index.d.ts +25 -30
- package/cjs/resources/Terminal/index.js +0 -2
- package/cjs/resources/Terminal/index.js.map +1 -1
- package/cjs/resources/TestHelpers/ConfirmationTokens.d.ts +14 -79
- package/cjs/resources/TestHelpers/TestClocks.d.ts +4 -0
- package/cjs/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +0 -22
- package/cjs/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +0 -22
- package/cjs/resources/TestHelpers/index.d.ts +5 -8
- package/cjs/resources/TestHelpers/index.js +4 -6
- package/cjs/resources/TestHelpers/index.js.map +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 +1 -34
- 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 +0 -22
- package/cjs/resources/Treasury/ReceivedDebits.d.ts +0 -26
- package/cjs/resources/Treasury/index.d.ts +33 -33
- 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/Commerce/ProductCatalog/Imports.d.ts +2 -2
- package/cjs/resources/V2/Core/AccountLinks.d.ts +4 -4
- package/cjs/resources/V2/Core/AccountTokens.d.ts +32 -14
- package/cjs/resources/V2/Core/AccountTokens.js +5 -1
- package/cjs/resources/V2/Core/AccountTokens.js.map +1 -1
- package/cjs/resources/V2/Core/Accounts/Persons.d.ts +2 -2
- package/cjs/resources/V2/Core/Accounts.d.ts +233 -1171
- package/cjs/resources/V2/Core/Accounts.js +1 -1
- package/cjs/resources/V2/Core/EventDestinations.d.ts +2 -2
- package/cjs/resources/V2/Core/Events.d.ts +8 -1126
- package/cjs/resources/V2/Core/Events.js +2 -1
- package/cjs/resources/V2/Core/Events.js.map +1 -1
- package/cjs/resources/V2/Core/index.d.ts +19 -29
- package/cjs/resources/V2/Core/index.js +0 -4
- package/cjs/resources/V2/Core/index.js.map +1 -1
- package/cjs/resources/V2/index.d.ts +0 -27
- package/cjs/resources/V2/index.js +0 -14
- package/cjs/resources/V2/index.js.map +1 -1
- package/cjs/resources/WebhookEndpoints.d.ts +3 -3
- package/cjs/resources.d.ts +0 -10
- package/cjs/resources.js +10 -146
- package/cjs/resources.js.map +1 -1
- package/cjs/stripe.core.d.ts +29 -69
- package/cjs/stripe.core.js +44 -61
- package/cjs/stripe.core.js.map +1 -1
- package/cjs/utils.d.ts +0 -2
- package/cjs/utils.js +1 -16
- package/cjs/utils.js.map +1 -1
- package/esm/Error.d.ts +0 -50
- package/esm/Error.js +0 -109
- package/esm/Error.js.map +1 -1
- package/esm/RequestSender.d.ts +1 -0
- package/esm/RequestSender.js +11 -3
- package/esm/RequestSender.js.map +1 -1
- package/esm/Types.d.ts +2 -4
- package/esm/Types.js.map +1 -1
- package/esm/apiVersion.d.ts +2 -1
- package/esm/apiVersion.js +2 -1
- package/esm/apiVersion.js.map +1 -1
- package/esm/lib.d.ts +48 -3
- package/esm/net/FetchHttpClient.js.map +1 -1
- package/esm/net/HttpClient.js.map +1 -1
- package/esm/platform/NodePlatformFunctions.d.ts +6 -0
- package/esm/platform/NodePlatformFunctions.js +17 -0
- package/esm/platform/NodePlatformFunctions.js.map +1 -1
- package/esm/platform/PlatformFunctions.d.ts +13 -0
- package/esm/platform/PlatformFunctions.js +21 -0
- package/esm/platform/PlatformFunctions.js.map +1 -1
- package/esm/resources/AccountLinks.d.ts +1 -1
- package/esm/resources/AccountSessions.d.ts +0 -262
- package/esm/resources/AccountSessions.js.map +1 -1
- package/esm/resources/Accounts.d.ts +45 -819
- package/esm/resources/Accounts.js +0 -15
- package/esm/resources/Accounts.js.map +1 -1
- package/esm/resources/Apps/index.d.ts +4 -4
- package/esm/resources/Balance.d.ts +0 -67
- package/esm/resources/BalanceSettings.d.ts +86 -0
- package/esm/resources/BankAccounts.d.ts +2 -2
- package/esm/resources/Billing/AlertTriggereds.d.ts +1 -2
- package/esm/resources/Billing/index.d.ts +24 -27
- package/esm/resources/Billing/index.js +0 -2
- package/esm/resources/Billing/index.js.map +1 -1
- package/esm/resources/BillingPortal/index.d.ts +5 -5
- package/esm/resources/Capabilities.d.ts +2 -2
- package/esm/resources/Cards.d.ts +0 -4
- package/esm/resources/Charges.d.ts +92 -3064
- package/esm/resources/Checkout/Sessions.d.ts +51 -414
- package/esm/resources/Checkout/index.d.ts +6 -6
- package/esm/resources/Climate/index.d.ts +9 -9
- package/esm/resources/ConfirmationTokens.d.ts +7 -67
- package/esm/resources/Coupons.d.ts +0 -47
- package/esm/resources/CreditNoteLineItems.d.ts +1 -15
- package/esm/resources/CreditNotes.d.ts +1 -7
- package/esm/resources/CreditNotes.js +0 -14
- package/esm/resources/CreditNotes.js.map +1 -1
- package/esm/resources/CustomerSessions.d.ts +0 -68
- package/esm/resources/Customers.d.ts +1 -7
- package/esm/resources/Customers.js +0 -15
- package/esm/resources/Customers.js.map +1 -1
- package/esm/resources/Discounts.d.ts +4 -4
- package/esm/resources/Disputes.d.ts +0 -29
- package/esm/resources/Entitlements/index.d.ts +6 -6
- package/esm/resources/Events.d.ts +2 -547
- 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/FinancialConnections/Accounts.d.ts +4 -74
- package/esm/resources/FinancialConnections/Accounts.js +0 -8
- package/esm/resources/FinancialConnections/Accounts.js.map +1 -1
- package/esm/resources/FinancialConnections/Sessions.d.ts +7 -155
- package/esm/resources/FinancialConnections/index.d.ts +13 -28
- package/esm/resources/FinancialConnections/index.js +0 -4
- package/esm/resources/FinancialConnections/index.js.map +1 -1
- package/esm/resources/Forwarding/index.d.ts +3 -3
- package/esm/resources/Identity/index.d.ts +8 -8
- package/esm/resources/InvoiceItems.d.ts +28 -85
- package/esm/resources/InvoiceItems.js.map +1 -1
- package/esm/resources/InvoiceLineItems.d.ts +2 -40
- package/esm/resources/Invoices.d.ts +26 -1348
- package/esm/resources/Invoices.js +0 -70
- package/esm/resources/Invoices.js.map +1 -1
- package/esm/resources/Issuing/Cardholders.d.ts +1 -2
- package/esm/resources/Issuing/Disputes.d.ts +1 -1
- package/esm/resources/Issuing/PersonalizationDesigns.d.ts +1 -1
- package/esm/resources/Issuing/Transactions.d.ts +0 -9
- package/esm/resources/Issuing/Transactions.js.map +1 -1
- package/esm/resources/Issuing/index.d.ts +35 -60
- package/esm/resources/Issuing/index.js +0 -6
- package/esm/resources/Issuing/index.js.map +1 -1
- package/esm/resources/LineItems.d.ts +2 -29
- package/esm/resources/Mandates.d.ts +4 -33
- package/esm/resources/Mandates.js +0 -8
- package/esm/resources/Mandates.js.map +1 -1
- package/esm/resources/OAuth.d.ts +7 -8
- package/esm/resources/PaymentAttemptRecords.d.ts +23 -92
- package/esm/resources/PaymentIntents.d.ts +6510 -17236
- package/esm/resources/PaymentIntents.js +3 -28
- package/esm/resources/PaymentIntents.js.map +1 -1
- package/esm/resources/PaymentLinks.d.ts +88 -20
- package/esm/resources/PaymentMethodConfigurations.d.ts +93 -299
- package/esm/resources/PaymentMethods.d.ts +22 -152
- package/esm/resources/PaymentMethods.js.map +1 -1
- package/esm/resources/PaymentRecords.d.ts +23 -92
- package/esm/resources/Payouts.d.ts +1 -1
- package/esm/resources/Persons.d.ts +2 -2
- package/esm/resources/Plans.d.ts +0 -16
- package/esm/resources/Prices.d.ts +0 -52
- package/esm/resources/Products.d.ts +0 -42
- package/esm/resources/PromotionCodes.d.ts +0 -12
- package/esm/resources/PromotionCodes.js +0 -28
- package/esm/resources/PromotionCodes.js.map +1 -1
- package/esm/resources/Quotes.d.ts +160 -2369
- package/esm/resources/Quotes.js +13 -1181
- package/esm/resources/Quotes.js.map +1 -1
- package/esm/resources/Radar/PaymentEvaluations.d.ts +2 -2
- package/esm/resources/Radar/index.d.ts +12 -12
- package/esm/resources/Refunds.d.ts +3 -11
- package/esm/resources/Reporting/index.d.ts +5 -5
- package/esm/resources/Reserve/Holds.d.ts +1 -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 +0 -16
- package/esm/resources/Reserve/Plans.js +1 -9
- package/esm/resources/Reserve/Plans.js.map +1 -1
- package/esm/resources/Reserve/Releases.d.ts +1 -41
- package/esm/resources/Reserve/Releases.js +1 -17
- package/esm/resources/Reserve/Releases.js.map +1 -1
- package/esm/resources/Reserve/index.d.ts +3 -14
- package/esm/resources/Reserve/index.js +2 -10
- package/esm/resources/Reserve/index.js.map +1 -1
- package/esm/resources/SetupAttempts.d.ts +3 -25
- package/esm/resources/SetupIntents.d.ts +77 -336
- package/esm/resources/Sigma/index.d.ts +2 -2
- package/esm/resources/Sources.d.ts +1 -16
- package/esm/resources/SubscriptionItems.d.ts +4 -165
- package/esm/resources/SubscriptionSchedules.d.ts +16 -1174
- package/esm/resources/SubscriptionSchedules.js +0 -48
- package/esm/resources/SubscriptionSchedules.js.map +1 -1
- package/esm/resources/Subscriptions.d.ts +32 -490
- package/esm/resources/Subscriptions.js +2 -31
- package/esm/resources/Subscriptions.js.map +1 -1
- package/esm/resources/Tax/CalculationLineItems.d.ts +2 -6
- package/esm/resources/Tax/Calculations.d.ts +3 -7
- package/esm/resources/Tax/Registrations.d.ts +2 -138
- package/esm/resources/Tax/Transactions.d.ts +2 -2
- package/esm/resources/Tax/index.d.ts +17 -31
- package/esm/resources/Tax/index.js +0 -4
- package/esm/resources/Tax/index.js.map +1 -1
- package/esm/resources/TaxCodes.d.ts +0 -15
- package/esm/resources/Terminal/Configurations.d.ts +108 -27
- package/esm/resources/Terminal/Readers.d.ts +143 -19
- package/esm/resources/Terminal/Readers.js.map +1 -1
- package/esm/resources/Terminal/index.d.ts +25 -30
- package/esm/resources/Terminal/index.js +0 -2
- package/esm/resources/Terminal/index.js.map +1 -1
- package/esm/resources/TestHelpers/ConfirmationTokens.d.ts +14 -79
- package/esm/resources/TestHelpers/TestClocks.d.ts +4 -0
- package/esm/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +0 -22
- package/esm/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +0 -22
- package/esm/resources/TestHelpers/index.d.ts +5 -8
- package/esm/resources/TestHelpers/index.js +0 -2
- package/esm/resources/TestHelpers/index.js.map +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 +1 -34
- 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 +0 -22
- package/esm/resources/Treasury/ReceivedDebits.d.ts +0 -26
- package/esm/resources/Treasury/index.d.ts +33 -33
- 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/Commerce/ProductCatalog/Imports.d.ts +2 -2
- package/esm/resources/V2/Core/AccountLinks.d.ts +4 -4
- package/esm/resources/V2/Core/AccountTokens.d.ts +32 -14
- package/esm/resources/V2/Core/AccountTokens.js +5 -1
- package/esm/resources/V2/Core/AccountTokens.js.map +1 -1
- package/esm/resources/V2/Core/Accounts/Persons.d.ts +2 -2
- package/esm/resources/V2/Core/Accounts.d.ts +233 -1171
- package/esm/resources/V2/Core/Accounts.js +1 -1
- package/esm/resources/V2/Core/EventDestinations.d.ts +2 -2
- package/esm/resources/V2/Core/Events.d.ts +8 -1126
- package/esm/resources/V2/Core/Events.js +2 -1
- package/esm/resources/V2/Core/Events.js.map +1 -1
- package/esm/resources/V2/Core/index.d.ts +19 -29
- package/esm/resources/V2/Core/index.js +0 -4
- package/esm/resources/V2/Core/index.js.map +1 -1
- package/esm/resources/V2/index.d.ts +0 -27
- package/esm/resources/V2/index.js +0 -14
- package/esm/resources/V2/index.js.map +1 -1
- package/esm/resources/WebhookEndpoints.d.ts +3 -3
- package/esm/resources.d.ts +0 -10
- package/esm/resources.js +0 -131
- package/esm/resources.js.map +1 -1
- package/esm/stripe.core.d.ts +29 -69
- package/esm/stripe.core.js +15 -32
- package/esm/stripe.core.js.map +1 -1
- package/esm/stripe.esm.node.d.ts +29 -70
- package/esm/stripe.esm.node.js +15 -32
- package/esm/stripe.esm.node.js.map +1 -1
- package/esm/utils.d.ts +0 -2
- package/esm/utils.js +0 -13
- package/esm/utils.js.map +1 -1
- package/package.json +1 -1
- package/cjs/StripeEventNotificationHandler.d.ts +0 -22
- package/cjs/StripeEventNotificationHandler.js +0 -147
- package/cjs/StripeEventNotificationHandler.js.map +0 -1
- 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 -84
- 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 -191
- 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 -98
- 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 -143
- 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/Authorizations.d.ts +0 -87
- package/cjs/resources/FinancialConnections/Authorizations.js +0 -15
- package/cjs/resources/FinancialConnections/Authorizations.js.map +0 -1
- package/cjs/resources/FinancialConnections/Institutions.d.ts +0 -101
- 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 -640
- 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 -95
- 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 -85
- 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 -37
- 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 -229
- 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/ProductCatalog/TrialOffers.d.ts +0 -127
- package/cjs/resources/ProductCatalog/TrialOffers.js +0 -15
- package/cjs/resources/ProductCatalog/TrialOffers.js.map +0 -1
- package/cjs/resources/ProductCatalog/index.d.ts +0 -12
- package/cjs/resources/ProductCatalog/index.js +0 -13
- package/cjs/resources/ProductCatalog/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 -1116
- package/cjs/resources/QuotePreviewInvoices.js +0 -4
- package/cjs/resources/QuotePreviewInvoices.js.map +0 -1
- package/cjs/resources/QuotePreviewSubscriptionSchedules.d.ts +0 -733
- package/cjs/resources/QuotePreviewSubscriptionSchedules.js +0 -4
- package/cjs/resources/QuotePreviewSubscriptionSchedules.js.map +0 -1
- package/cjs/resources/SharedPayment/GrantedTokens.d.ts +0 -1089
- 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 -308
- 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 -230
- package/cjs/resources/Tax/Forms.js +0 -32
- package/cjs/resources/Tax/Forms.js.map +0 -1
- package/cjs/resources/Tax/Locations.d.ts +0 -108
- package/cjs/resources/Tax/Locations.js +0 -33
- package/cjs/resources/Tax/Locations.js.map +0 -1
- package/cjs/resources/Terminal/ReaderCollectedData.d.ts +0 -52
- 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 -75
- 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 -284
- 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 -951
- 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 -240
- 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 -779
- 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 -166
- package/cjs/resources/V2/Billing/Profiles.js +0 -35
- package/cjs/resources/V2/Billing/Profiles.js.map +0 -1
- package/cjs/resources/V2/Core/BatchJobs.d.ts +0 -373
- 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 -285
- 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 -254
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.js +0 -62
- 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 -156
- 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 -166
- 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 -123
- 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 -204
- package/cjs/resources/V2/Iam/ActivityLogs.js +0 -17
- package/cjs/resources/V2/Iam/ActivityLogs.js.map +0 -1
- package/cjs/resources/V2/Iam/index.d.ts +0 -12
- 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 -135
- 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 -244
- 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 -215
- 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 -254
- 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 -212
- 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 -388
- 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 -299
- 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 -330
- 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 -243
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.js +0 -44
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +0 -96
- 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 -292
- 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 -161
- 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 -165
- 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 -196
- 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 -104
- 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 -96
- 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 -147
- 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/TestHelpers/FinancialAddresses.d.ts +0 -44
- 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/StripeEventNotificationHandler.d.ts +0 -22
- package/esm/StripeEventNotificationHandler.js +0 -143
- package/esm/StripeEventNotificationHandler.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 -84
- 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 -191
- 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 -98
- 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 -143
- 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/Authorizations.d.ts +0 -87
- package/esm/resources/FinancialConnections/Authorizations.js +0 -11
- package/esm/resources/FinancialConnections/Authorizations.js.map +0 -1
- package/esm/resources/FinancialConnections/Institutions.d.ts +0 -101
- 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 -640
- 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 -95
- 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 -85
- 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 -37
- 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 -229
- 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/ProductCatalog/TrialOffers.d.ts +0 -127
- package/esm/resources/ProductCatalog/TrialOffers.js +0 -11
- package/esm/resources/ProductCatalog/TrialOffers.js.map +0 -1
- package/esm/resources/ProductCatalog/index.d.ts +0 -12
- package/esm/resources/ProductCatalog/index.js +0 -9
- package/esm/resources/ProductCatalog/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 -1116
- package/esm/resources/QuotePreviewInvoices.js +0 -3
- package/esm/resources/QuotePreviewInvoices.js.map +0 -1
- package/esm/resources/QuotePreviewSubscriptionSchedules.d.ts +0 -733
- package/esm/resources/QuotePreviewSubscriptionSchedules.js +0 -3
- package/esm/resources/QuotePreviewSubscriptionSchedules.js.map +0 -1
- package/esm/resources/SharedPayment/GrantedTokens.d.ts +0 -1089
- 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 -308
- 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 -230
- package/esm/resources/Tax/Forms.js +0 -28
- package/esm/resources/Tax/Forms.js.map +0 -1
- package/esm/resources/Tax/Locations.d.ts +0 -108
- package/esm/resources/Tax/Locations.js +0 -29
- package/esm/resources/Tax/Locations.js.map +0 -1
- package/esm/resources/Terminal/ReaderCollectedData.d.ts +0 -52
- 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 -75
- 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 -284
- 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 -951
- 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 -240
- 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 -779
- 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 -166
- package/esm/resources/V2/Billing/Profiles.js +0 -31
- package/esm/resources/V2/Billing/Profiles.js.map +0 -1
- package/esm/resources/V2/Core/BatchJobs.d.ts +0 -373
- 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 -285
- 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 -254
- package/esm/resources/V2/Core/Vault/UsBankAccounts.js +0 -58
- 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 -156
- 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 -166
- 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 -123
- 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 -204
- package/esm/resources/V2/Iam/ActivityLogs.js +0 -13
- package/esm/resources/V2/Iam/ActivityLogs.js.map +0 -1
- package/esm/resources/V2/Iam/index.d.ts +0 -12
- 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 -135
- 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 -244
- 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 -215
- 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 -254
- 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 -212
- 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 -388
- 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 -299
- 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 -330
- 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 -243
- package/esm/resources/V2/MoneyManagement/PayoutMethods.js +0 -40
- package/esm/resources/V2/MoneyManagement/PayoutMethods.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +0 -96
- 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 -292
- 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 -161
- 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 -165
- 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 -196
- 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 -104
- 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 -96
- 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 -147
- 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/TestHelpers/FinancialAddresses.d.ts +0 -44
- 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
|
@@ -1,285 +0,0 @@
|
|
|
1
|
-
import { StripeResource } from '../../../../StripeResource.js';
|
|
2
|
-
import { RequestOptions, ApiListPromise, Response } from '../../../../lib.js';
|
|
3
|
-
export declare class GbBankAccountResource extends StripeResource {
|
|
4
|
-
/**
|
|
5
|
-
* List objects that can be used as destinations for outbound money movement via OutboundPayment.
|
|
6
|
-
*/
|
|
7
|
-
list(params?: V2.Core.Vault.GbBankAccountListParams, options?: RequestOptions): ApiListPromise<GbBankAccount>;
|
|
8
|
-
/**
|
|
9
|
-
* Create a GB bank account.
|
|
10
|
-
*/
|
|
11
|
-
create(params: V2.Core.Vault.GbBankAccountCreateParams, options?: RequestOptions): Promise<Response<GbBankAccount>>;
|
|
12
|
-
/**
|
|
13
|
-
* Retrieve a GB bank account.
|
|
14
|
-
*/
|
|
15
|
-
retrieve(id: string, params?: V2.Core.Vault.GbBankAccountRetrieveParams, options?: RequestOptions): Promise<Response<GbBankAccount>>;
|
|
16
|
-
/**
|
|
17
|
-
* Confirm that you have received the result of the Confirmation of Payee request, and that you are okay with
|
|
18
|
-
* proceeding to pay out to this bank account despite the account not matching, partially matching, or the service
|
|
19
|
-
* being unavailable. Once you confirm this, you will be able to send OutboundPayments, but this may lead to
|
|
20
|
-
* funds being sent to the wrong account, which we might not be able to recover.
|
|
21
|
-
*/
|
|
22
|
-
acknowledgeConfirmationOfPayee(id: string, params?: V2.Core.Vault.GbBankAccountAcknowledgeConfirmationOfPayeeParams, options?: RequestOptions): Promise<Response<GbBankAccount>>;
|
|
23
|
-
/**
|
|
24
|
-
* Archive a GBBankAccount object. Archived GBBankAccount objects cannot be used as outbound destinations
|
|
25
|
-
* and will not appear in the outbound destination list.
|
|
26
|
-
*/
|
|
27
|
-
archive(id: string, params?: V2.Core.Vault.GbBankAccountArchiveParams, options?: RequestOptions): Promise<Response<GbBankAccount>>;
|
|
28
|
-
/**
|
|
29
|
-
* Initiate Confirmation of Payee (CoP) in order to verify that the owner of a UK bank account matches
|
|
30
|
-
* who you expect. This must be done on all UK bank accounts before sending domestic OutboundPayments. If
|
|
31
|
-
* the result is a partial match or a non match, explicit acknowledgement using AcknowledgeConfirmationOfPayee
|
|
32
|
-
* is required before sending funds.
|
|
33
|
-
*/
|
|
34
|
-
initiateConfirmationOfPayee(id: string, params?: V2.Core.Vault.GbBankAccountInitiateConfirmationOfPayeeParams, options?: RequestOptions): Promise<Response<GbBankAccount>>;
|
|
35
|
-
}
|
|
36
|
-
export interface GbBankAccount {
|
|
37
|
-
/**
|
|
38
|
-
* The ID of the GBBankAccount object.
|
|
39
|
-
*/
|
|
40
|
-
id: string;
|
|
41
|
-
/**
|
|
42
|
-
* String representing the object's type. Objects of the same type share the same value of the object field.
|
|
43
|
-
*/
|
|
44
|
-
object: 'v2.core.vault.gb_bank_account';
|
|
45
|
-
/**
|
|
46
|
-
* The alternative reference for this payout method, if it's a projected payout method.
|
|
47
|
-
*/
|
|
48
|
-
alternative_reference?: V2.Core.Vault.GbBankAccount.AlternativeReference;
|
|
49
|
-
/**
|
|
50
|
-
* Whether this bank account object was archived. Bank account objects can be archived through
|
|
51
|
-
* the /archive API, and they will not be automatically archived by Stripe. Archived bank account objects
|
|
52
|
-
* cannot be used as outbound destinations and will not appear in the outbound destination list.
|
|
53
|
-
*/
|
|
54
|
-
archived: boolean;
|
|
55
|
-
/**
|
|
56
|
-
* Closed Enum. The type of the bank account (checking or savings).
|
|
57
|
-
*/
|
|
58
|
-
bank_account_type: V2.Core.Vault.GbBankAccount.BankAccountType;
|
|
59
|
-
/**
|
|
60
|
-
* The name of the bank.
|
|
61
|
-
*/
|
|
62
|
-
bank_name: string;
|
|
63
|
-
/**
|
|
64
|
-
* Information around the status of Confirmation of Payee matching done on this bank account.
|
|
65
|
-
* Confirmation of Payee is a name matching service that must be done before making OutboundPayments in the UK.
|
|
66
|
-
*/
|
|
67
|
-
confirmation_of_payee: V2.Core.Vault.GbBankAccount.ConfirmationOfPayee;
|
|
68
|
-
/**
|
|
69
|
-
* Creation time.
|
|
70
|
-
*/
|
|
71
|
-
created: string;
|
|
72
|
-
/**
|
|
73
|
-
* The last 4 digits of the account number or IBAN.
|
|
74
|
-
*/
|
|
75
|
-
last4: string;
|
|
76
|
-
/**
|
|
77
|
-
* Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
|
78
|
-
*/
|
|
79
|
-
livemode: boolean;
|
|
80
|
-
/**
|
|
81
|
-
* The Sort Code of the bank account.
|
|
82
|
-
*/
|
|
83
|
-
sort_code?: string;
|
|
84
|
-
/**
|
|
85
|
-
* The list of currencies supported by this bank account.
|
|
86
|
-
*/
|
|
87
|
-
supported_currencies: Array<string>;
|
|
88
|
-
}
|
|
89
|
-
export declare namespace V2 {
|
|
90
|
-
namespace Core {
|
|
91
|
-
namespace Vault {
|
|
92
|
-
namespace GbBankAccount {
|
|
93
|
-
interface AlternativeReference {
|
|
94
|
-
/**
|
|
95
|
-
* The ID of the alternative resource being referenced.
|
|
96
|
-
*/
|
|
97
|
-
id: string;
|
|
98
|
-
/**
|
|
99
|
-
* The type of the alternative reference (e.g., external_account for V1 external accounts).
|
|
100
|
-
*/
|
|
101
|
-
type: AlternativeReference.Type;
|
|
102
|
-
}
|
|
103
|
-
type BankAccountType = 'checking' | 'futsu' | 'savings' | 'toza';
|
|
104
|
-
interface ConfirmationOfPayee {
|
|
105
|
-
/**
|
|
106
|
-
* The result of the Confirmation of Payee check, once the check has been initiated. Closed enum.
|
|
107
|
-
*/
|
|
108
|
-
result: ConfirmationOfPayee.Result;
|
|
109
|
-
/**
|
|
110
|
-
* The current state of Confirmation of Payee on this bank account. Closed enum.
|
|
111
|
-
*/
|
|
112
|
-
status: ConfirmationOfPayee.Status;
|
|
113
|
-
}
|
|
114
|
-
namespace AlternativeReference {
|
|
115
|
-
type Type = 'external_account' | 'payment_method';
|
|
116
|
-
}
|
|
117
|
-
namespace ConfirmationOfPayee {
|
|
118
|
-
interface Result {
|
|
119
|
-
/**
|
|
120
|
-
* When the CoP result was created.
|
|
121
|
-
*/
|
|
122
|
-
created: string;
|
|
123
|
-
/**
|
|
124
|
-
* Whether or not the information of the bank account matches what you have provided. Closed enum.
|
|
125
|
-
*/
|
|
126
|
-
match_result: Result.MatchResult;
|
|
127
|
-
/**
|
|
128
|
-
* The fields that CoP service matched against. Only has value if MATCH or PARTIAL_MATCH, empty otherwise.
|
|
129
|
-
*/
|
|
130
|
-
matched: Result.Matched;
|
|
131
|
-
/**
|
|
132
|
-
* Human-readable message describing the match result.
|
|
133
|
-
*/
|
|
134
|
-
message: string;
|
|
135
|
-
/**
|
|
136
|
-
* The fields that are matched against what the network has on file.
|
|
137
|
-
*/
|
|
138
|
-
provided: Result.Provided;
|
|
139
|
-
}
|
|
140
|
-
type Status = 'awaiting_acknowledgement' | 'confirmed' | 'uninitiated';
|
|
141
|
-
namespace Result {
|
|
142
|
-
type MatchResult = 'match' | 'mismatch' | 'partial_match' | 'unavailable';
|
|
143
|
-
interface Matched {
|
|
144
|
-
/**
|
|
145
|
-
* The business type given by the bank for this account, in case of a MATCH or PARTIAL_MATCH.
|
|
146
|
-
* Closed enum.
|
|
147
|
-
*/
|
|
148
|
-
business_type?: Matched.BusinessType;
|
|
149
|
-
/**
|
|
150
|
-
* The name given by the bank for this account, in case of a MATCH or PARTIAL_MATCH.
|
|
151
|
-
*/
|
|
152
|
-
name?: string;
|
|
153
|
-
}
|
|
154
|
-
interface Provided {
|
|
155
|
-
/**
|
|
156
|
-
* The provided or Legal Entity business type to match against the CoP service. Closed enum.
|
|
157
|
-
*/
|
|
158
|
-
business_type: Provided.BusinessType;
|
|
159
|
-
/**
|
|
160
|
-
* The provided or Legal Entity name to match against the CoP service.
|
|
161
|
-
*/
|
|
162
|
-
name: string;
|
|
163
|
-
}
|
|
164
|
-
namespace Matched {
|
|
165
|
-
type BusinessType = 'business' | 'personal';
|
|
166
|
-
}
|
|
167
|
-
namespace Provided {
|
|
168
|
-
type BusinessType = 'business' | 'personal';
|
|
169
|
-
}
|
|
170
|
-
}
|
|
171
|
-
}
|
|
172
|
-
}
|
|
173
|
-
}
|
|
174
|
-
}
|
|
175
|
-
}
|
|
176
|
-
export declare namespace V2 {
|
|
177
|
-
namespace Core {
|
|
178
|
-
namespace Vault {
|
|
179
|
-
interface GbBankAccountCreateParams {
|
|
180
|
-
/**
|
|
181
|
-
* The currency of the bank account.
|
|
182
|
-
*/
|
|
183
|
-
currency: string;
|
|
184
|
-
/**
|
|
185
|
-
* The Account Number of the bank account.
|
|
186
|
-
*/
|
|
187
|
-
account_number?: string;
|
|
188
|
-
/**
|
|
189
|
-
* Closed Enum. The type of the bank account (checking or savings).
|
|
190
|
-
*/
|
|
191
|
-
bank_account_type?: GbBankAccountCreateParams.BankAccountType;
|
|
192
|
-
/**
|
|
193
|
-
* Whether or not to automatically perform Confirmation of Payee to verify the users information
|
|
194
|
-
* against what was provided by the bank. Doing so is required for all bank accounts not owned
|
|
195
|
-
* by you before making domestic UK OutboundPayments.
|
|
196
|
-
*/
|
|
197
|
-
confirmation_of_payee?: GbBankAccountCreateParams.ConfirmationOfPayee;
|
|
198
|
-
/**
|
|
199
|
-
* The IBAN of the bank account.
|
|
200
|
-
*/
|
|
201
|
-
iban?: string;
|
|
202
|
-
/**
|
|
203
|
-
* The Sort Code of the bank account.
|
|
204
|
-
*/
|
|
205
|
-
sort_code?: string;
|
|
206
|
-
}
|
|
207
|
-
namespace GbBankAccountCreateParams {
|
|
208
|
-
type BankAccountType = 'checking' | 'futsu' | 'savings' | 'toza';
|
|
209
|
-
interface ConfirmationOfPayee {
|
|
210
|
-
/**
|
|
211
|
-
* The business type to be checked against. Legal entity information will be used if unspecified.
|
|
212
|
-
* Closed enum.
|
|
213
|
-
*/
|
|
214
|
-
business_type?: ConfirmationOfPayee.BusinessType;
|
|
215
|
-
/**
|
|
216
|
-
* User specifies whether Confirmation of Payee is automatically initiated when creating the bank account.
|
|
217
|
-
*/
|
|
218
|
-
initiate: boolean;
|
|
219
|
-
/**
|
|
220
|
-
* The name to be checked against. Legal entity information will be used if unspecified.
|
|
221
|
-
*/
|
|
222
|
-
name?: string;
|
|
223
|
-
}
|
|
224
|
-
namespace ConfirmationOfPayee {
|
|
225
|
-
type BusinessType = 'business' | 'personal';
|
|
226
|
-
}
|
|
227
|
-
}
|
|
228
|
-
}
|
|
229
|
-
}
|
|
230
|
-
}
|
|
231
|
-
export declare namespace V2 {
|
|
232
|
-
namespace Core {
|
|
233
|
-
namespace Vault {
|
|
234
|
-
interface GbBankAccountRetrieveParams {
|
|
235
|
-
}
|
|
236
|
-
}
|
|
237
|
-
}
|
|
238
|
-
}
|
|
239
|
-
export declare namespace V2 {
|
|
240
|
-
namespace Core {
|
|
241
|
-
namespace Vault {
|
|
242
|
-
interface GbBankAccountListParams {
|
|
243
|
-
/**
|
|
244
|
-
* Optionally set the maximum number of results per page. Defaults to 10.
|
|
245
|
-
*/
|
|
246
|
-
limit?: number;
|
|
247
|
-
}
|
|
248
|
-
}
|
|
249
|
-
}
|
|
250
|
-
}
|
|
251
|
-
export declare namespace V2 {
|
|
252
|
-
namespace Core {
|
|
253
|
-
namespace Vault {
|
|
254
|
-
interface GbBankAccountAcknowledgeConfirmationOfPayeeParams {
|
|
255
|
-
}
|
|
256
|
-
}
|
|
257
|
-
}
|
|
258
|
-
}
|
|
259
|
-
export declare namespace V2 {
|
|
260
|
-
namespace Core {
|
|
261
|
-
namespace Vault {
|
|
262
|
-
interface GbBankAccountArchiveParams {
|
|
263
|
-
}
|
|
264
|
-
}
|
|
265
|
-
}
|
|
266
|
-
}
|
|
267
|
-
export declare namespace V2 {
|
|
268
|
-
namespace Core {
|
|
269
|
-
namespace Vault {
|
|
270
|
-
interface GbBankAccountInitiateConfirmationOfPayeeParams {
|
|
271
|
-
/**
|
|
272
|
-
* The business type to be checked against. Legal entity information will be used if unspecified.
|
|
273
|
-
*/
|
|
274
|
-
business_type?: GbBankAccountInitiateConfirmationOfPayeeParams.BusinessType;
|
|
275
|
-
/**
|
|
276
|
-
* The name of the user to be checked against. Legal entity information will be used if unspecified.
|
|
277
|
-
*/
|
|
278
|
-
name?: string;
|
|
279
|
-
}
|
|
280
|
-
namespace GbBankAccountInitiateConfirmationOfPayeeParams {
|
|
281
|
-
type BusinessType = 'business' | 'personal';
|
|
282
|
-
}
|
|
283
|
-
}
|
|
284
|
-
}
|
|
285
|
-
}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// File generated from our OpenAPI spec
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.GbBankAccountResource = void 0;
|
|
5
|
-
const StripeResource_js_1 = require("../../../../StripeResource.js");
|
|
6
|
-
class GbBankAccountResource extends StripeResource_js_1.StripeResource {
|
|
7
|
-
/**
|
|
8
|
-
* List objects that can be used as destinations for outbound money movement via OutboundPayment.
|
|
9
|
-
*/
|
|
10
|
-
list(params, options) {
|
|
11
|
-
return this._makeRequest('GET', '/v2/core/vault/gb_bank_accounts', params, options, {
|
|
12
|
-
methodType: 'list',
|
|
13
|
-
});
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* Create a GB bank account.
|
|
17
|
-
*/
|
|
18
|
-
create(params, options) {
|
|
19
|
-
return this._makeRequest('POST', '/v2/core/vault/gb_bank_accounts', params, options);
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* Retrieve a GB bank account.
|
|
23
|
-
*/
|
|
24
|
-
retrieve(id, params, options) {
|
|
25
|
-
return this._makeRequest('GET', `/v2/core/vault/gb_bank_accounts/${id}`, params, options);
|
|
26
|
-
}
|
|
27
|
-
/**
|
|
28
|
-
* Confirm that you have received the result of the Confirmation of Payee request, and that you are okay with
|
|
29
|
-
* proceeding to pay out to this bank account despite the account not matching, partially matching, or the service
|
|
30
|
-
* being unavailable. Once you confirm this, you will be able to send OutboundPayments, but this may lead to
|
|
31
|
-
* funds being sent to the wrong account, which we might not be able to recover.
|
|
32
|
-
*/
|
|
33
|
-
acknowledgeConfirmationOfPayee(id, params, options) {
|
|
34
|
-
return this._makeRequest('POST', `/v2/core/vault/gb_bank_accounts/${id}/acknowledge_confirmation_of_payee`, params, options);
|
|
35
|
-
}
|
|
36
|
-
/**
|
|
37
|
-
* Archive a GBBankAccount object. Archived GBBankAccount objects cannot be used as outbound destinations
|
|
38
|
-
* and will not appear in the outbound destination list.
|
|
39
|
-
*/
|
|
40
|
-
archive(id, params, options) {
|
|
41
|
-
return this._makeRequest('POST', `/v2/core/vault/gb_bank_accounts/${id}/archive`, params, options);
|
|
42
|
-
}
|
|
43
|
-
/**
|
|
44
|
-
* Initiate Confirmation of Payee (CoP) in order to verify that the owner of a UK bank account matches
|
|
45
|
-
* who you expect. This must be done on all UK bank accounts before sending domestic OutboundPayments. If
|
|
46
|
-
* the result is a partial match or a non match, explicit acknowledgement using AcknowledgeConfirmationOfPayee
|
|
47
|
-
* is required before sending funds.
|
|
48
|
-
*/
|
|
49
|
-
initiateConfirmationOfPayee(id, params, options) {
|
|
50
|
-
return this._makeRequest('POST', `/v2/core/vault/gb_bank_accounts/${id}/initiate_confirmation_of_payee`, params, options);
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
exports.GbBankAccountResource = GbBankAccountResource;
|
|
54
|
-
//# sourceMappingURL=GbBankAccounts.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"GbBankAccounts.js","sourceRoot":"","sources":["../../../../../src/resources/V2/Core/Vault/GbBankAccounts.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;AAEvC,qEAA6D;AAG7D,MAAa,qBAAsB,SAAQ,kCAAc;IACvD;;OAEG;IACH,IAAI,CACF,MAA8C,EAC9C,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,KAAK,EACL,iCAAiC,EACjC,MAAM,EACN,OAAO,EACP;YACE,UAAU,EAAE,MAAM;SACnB,CACK,CAAC;IACX,CAAC;IACD;;OAEG;IACH,MAAM,CACJ,MAA+C,EAC/C,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,iCAAiC,EACjC,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,mCAAmC,EAAE,EAAE,EACvC,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;;;;OAKG;IACH,8BAA8B,CAC5B,EAAU,EACV,MAAwE,EACxE,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,mCAAmC,EAAE,oCAAoC,EACzE,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;;OAGG;IACH,OAAO,CACL,EAAU,EACV,MAAiD,EACjD,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,mCAAmC,EAAE,UAAU,EAC/C,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;;;;OAKG;IACH,2BAA2B,CACzB,EAAU,EACV,MAAqE,EACrE,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,mCAAmC,EAAE,iCAAiC,EACtE,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;CACF;AAnGD,sDAmGC"}
|
|
@@ -1,254 +0,0 @@
|
|
|
1
|
-
import { StripeResource } from '../../../../StripeResource.js';
|
|
2
|
-
import { RequestOptions, ApiListPromise, Response } from '../../../../lib.js';
|
|
3
|
-
export declare class UsBankAccountResource extends StripeResource {
|
|
4
|
-
/**
|
|
5
|
-
* List USBankAccount objects. Optionally filter by verification status.
|
|
6
|
-
*/
|
|
7
|
-
list(params?: V2.Core.Vault.UsBankAccountListParams, options?: RequestOptions): ApiListPromise<UsBankAccount>;
|
|
8
|
-
/**
|
|
9
|
-
* Create a USBankAccount object.
|
|
10
|
-
* @throws Stripe.BlockedByStripeError
|
|
11
|
-
* @throws Stripe.InvalidPaymentMethodError
|
|
12
|
-
* @throws Stripe.QuotaExceededError
|
|
13
|
-
*/
|
|
14
|
-
create(params: V2.Core.Vault.UsBankAccountCreateParams, options?: RequestOptions): Promise<Response<UsBankAccount>>;
|
|
15
|
-
/**
|
|
16
|
-
* Retrieve a USBankAccount object.
|
|
17
|
-
*/
|
|
18
|
-
retrieve(id: string, params?: V2.Core.Vault.UsBankAccountRetrieveParams, options?: RequestOptions): Promise<Response<UsBankAccount>>;
|
|
19
|
-
/**
|
|
20
|
-
* Update a USBankAccount object. This is limited to supplying a previously empty routing_number field.
|
|
21
|
-
* @throws Stripe.BlockedByStripeError
|
|
22
|
-
* @throws Stripe.InvalidPaymentMethodError
|
|
23
|
-
* @throws Stripe.QuotaExceededError
|
|
24
|
-
*/
|
|
25
|
-
update(id: string, params?: V2.Core.Vault.UsBankAccountUpdateParams, options?: RequestOptions): Promise<Response<UsBankAccount>>;
|
|
26
|
-
/**
|
|
27
|
-
* Archive a USBankAccount object. USBankAccount objects will not be automatically archived by Stripe.
|
|
28
|
-
* Archived USBankAccount objects cannot be used as outbound destinations
|
|
29
|
-
* and will not appear in the outbound destination list.
|
|
30
|
-
* @throws Stripe.ControlledByDashboardError
|
|
31
|
-
*/
|
|
32
|
-
archive(id: string, params?: V2.Core.Vault.UsBankAccountArchiveParams, options?: RequestOptions): Promise<Response<UsBankAccount>>;
|
|
33
|
-
/**
|
|
34
|
-
* Confirm microdeposits amounts or descriptor code that you have received from the Send Microdeposits request. Once you correctly confirm this, this US Bank Account will be verified and eligible to transfer funds with.
|
|
35
|
-
*/
|
|
36
|
-
confirmMicrodeposits(id: string, params?: V2.Core.Vault.UsBankAccountConfirmMicrodepositsParams, options?: RequestOptions): Promise<Response<UsBankAccount>>;
|
|
37
|
-
/**
|
|
38
|
-
* Send microdeposits in order to verify your US Bank Account so it is eligible to transfer funds. This will start the verification process and you must Confirm Microdeposits to successfully verify your US Bank Account.
|
|
39
|
-
*/
|
|
40
|
-
sendMicrodeposits(id: string, params?: V2.Core.Vault.UsBankAccountSendMicrodepositsParams, options?: RequestOptions): Promise<Response<UsBankAccount>>;
|
|
41
|
-
}
|
|
42
|
-
export interface UsBankAccount {
|
|
43
|
-
/**
|
|
44
|
-
* The ID of the USBankAccount object.
|
|
45
|
-
*/
|
|
46
|
-
id: string;
|
|
47
|
-
/**
|
|
48
|
-
* String representing the object's type. Objects of the same type share the same value of the object field.
|
|
49
|
-
*/
|
|
50
|
-
object: 'v2.core.vault.us_bank_account';
|
|
51
|
-
/**
|
|
52
|
-
* The alternative reference for this payout method, if it's a projected payout method.
|
|
53
|
-
*/
|
|
54
|
-
alternative_reference?: V2.Core.Vault.UsBankAccount.AlternativeReference;
|
|
55
|
-
/**
|
|
56
|
-
* Whether this USBankAccount object was archived.
|
|
57
|
-
*/
|
|
58
|
-
archived: boolean;
|
|
59
|
-
/**
|
|
60
|
-
* Closed Enum. The type of bank account (checking or savings).
|
|
61
|
-
*/
|
|
62
|
-
bank_account_type: V2.Core.Vault.UsBankAccount.BankAccountType;
|
|
63
|
-
/**
|
|
64
|
-
* The name of the bank this bank account belongs to. This field is populated automatically by Stripe based on the routing number.
|
|
65
|
-
*/
|
|
66
|
-
bank_name: string;
|
|
67
|
-
/**
|
|
68
|
-
* Creation time of the object.
|
|
69
|
-
*/
|
|
70
|
-
created: string;
|
|
71
|
-
/**
|
|
72
|
-
* The fedwire routing number of the bank account.
|
|
73
|
-
*/
|
|
74
|
-
fedwire_routing_number?: string;
|
|
75
|
-
/**
|
|
76
|
-
* The ID of the Financial Connections Account used to create the bank account.
|
|
77
|
-
*/
|
|
78
|
-
financial_connections_account?: string;
|
|
79
|
-
/**
|
|
80
|
-
* The last 4 digits of the account number.
|
|
81
|
-
*/
|
|
82
|
-
last4: string;
|
|
83
|
-
/**
|
|
84
|
-
* Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
|
85
|
-
*/
|
|
86
|
-
livemode: boolean;
|
|
87
|
-
/**
|
|
88
|
-
* The ACH routing number of the bank account.
|
|
89
|
-
*/
|
|
90
|
-
routing_number?: string;
|
|
91
|
-
/**
|
|
92
|
-
* The list of currencies supported by this bank account.
|
|
93
|
-
*/
|
|
94
|
-
supported_currencies: Array<string>;
|
|
95
|
-
/**
|
|
96
|
-
* The bank account verification details.
|
|
97
|
-
*/
|
|
98
|
-
verification: V2.Core.Vault.UsBankAccount.Verification;
|
|
99
|
-
}
|
|
100
|
-
export declare namespace V2 {
|
|
101
|
-
namespace Core {
|
|
102
|
-
namespace Vault {
|
|
103
|
-
namespace UsBankAccount {
|
|
104
|
-
interface AlternativeReference {
|
|
105
|
-
/**
|
|
106
|
-
* The ID of the alternative resource being referenced.
|
|
107
|
-
*/
|
|
108
|
-
id: string;
|
|
109
|
-
/**
|
|
110
|
-
* The type of the alternative reference (e.g., external_account for V1 external accounts).
|
|
111
|
-
*/
|
|
112
|
-
type: AlternativeReference.Type;
|
|
113
|
-
}
|
|
114
|
-
type BankAccountType = 'checking' | 'savings';
|
|
115
|
-
interface Verification {
|
|
116
|
-
/**
|
|
117
|
-
* The microdeposit verification details if the status is awaiting verification.
|
|
118
|
-
*/
|
|
119
|
-
microdeposit_verification_details?: Verification.MicrodepositVerificationDetails;
|
|
120
|
-
/**
|
|
121
|
-
* The bank account verification status.
|
|
122
|
-
*/
|
|
123
|
-
status: Verification.Status;
|
|
124
|
-
}
|
|
125
|
-
namespace AlternativeReference {
|
|
126
|
-
type Type = 'external_account' | 'payment_method';
|
|
127
|
-
}
|
|
128
|
-
namespace Verification {
|
|
129
|
-
interface MicrodepositVerificationDetails {
|
|
130
|
-
/**
|
|
131
|
-
* Time when microdeposits will expire and have to be re-sent.
|
|
132
|
-
*/
|
|
133
|
-
expires: string;
|
|
134
|
-
/**
|
|
135
|
-
* Microdeposit type can be amounts or descriptor_type.
|
|
136
|
-
*/
|
|
137
|
-
microdeposit_type: MicrodepositVerificationDetails.MicrodepositType;
|
|
138
|
-
/**
|
|
139
|
-
* Time when microdeposits were sent.
|
|
140
|
-
*/
|
|
141
|
-
sent: string;
|
|
142
|
-
}
|
|
143
|
-
type Status = 'awaiting_verification' | 'unverified' | 'verification_failed' | 'verified';
|
|
144
|
-
namespace MicrodepositVerificationDetails {
|
|
145
|
-
type MicrodepositType = 'amounts' | 'descriptor_code';
|
|
146
|
-
}
|
|
147
|
-
}
|
|
148
|
-
}
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
export declare namespace V2 {
|
|
153
|
-
namespace Core {
|
|
154
|
-
namespace Vault {
|
|
155
|
-
interface UsBankAccountCreateParams {
|
|
156
|
-
/**
|
|
157
|
-
* The account number of the bank account.
|
|
158
|
-
*/
|
|
159
|
-
account_number: string;
|
|
160
|
-
/**
|
|
161
|
-
* The currency of the bank account.
|
|
162
|
-
*/
|
|
163
|
-
currency: string;
|
|
164
|
-
/**
|
|
165
|
-
* Closed Enum. The type of the bank account (checking or savings).
|
|
166
|
-
*/
|
|
167
|
-
bank_account_type?: UsBankAccountCreateParams.BankAccountType;
|
|
168
|
-
/**
|
|
169
|
-
* The fedwire routing number of the bank account. Note that certain banks have the same ACH and wire routing number.
|
|
170
|
-
*/
|
|
171
|
-
fedwire_routing_number?: string;
|
|
172
|
-
/**
|
|
173
|
-
* The ACH routing number of the bank account. Note that certain banks have the same ACH and wire routing number.
|
|
174
|
-
*/
|
|
175
|
-
routing_number?: string;
|
|
176
|
-
}
|
|
177
|
-
namespace UsBankAccountCreateParams {
|
|
178
|
-
type BankAccountType = 'checking' | 'savings';
|
|
179
|
-
}
|
|
180
|
-
}
|
|
181
|
-
}
|
|
182
|
-
}
|
|
183
|
-
export declare namespace V2 {
|
|
184
|
-
namespace Core {
|
|
185
|
-
namespace Vault {
|
|
186
|
-
interface UsBankAccountRetrieveParams {
|
|
187
|
-
}
|
|
188
|
-
}
|
|
189
|
-
}
|
|
190
|
-
}
|
|
191
|
-
export declare namespace V2 {
|
|
192
|
-
namespace Core {
|
|
193
|
-
namespace Vault {
|
|
194
|
-
interface UsBankAccountUpdateParams {
|
|
195
|
-
/**
|
|
196
|
-
* The bank account's Fedwire routing number can be provided for update if it was empty previously.
|
|
197
|
-
*/
|
|
198
|
-
fedwire_routing_number?: string;
|
|
199
|
-
/**
|
|
200
|
-
* The bank account's ACH routing number can be provided for update if it was empty previously.
|
|
201
|
-
*/
|
|
202
|
-
routing_number?: string;
|
|
203
|
-
}
|
|
204
|
-
}
|
|
205
|
-
}
|
|
206
|
-
}
|
|
207
|
-
export declare namespace V2 {
|
|
208
|
-
namespace Core {
|
|
209
|
-
namespace Vault {
|
|
210
|
-
interface UsBankAccountListParams {
|
|
211
|
-
/**
|
|
212
|
-
* Optionally set the maximum number of results per page. Defaults to 10.
|
|
213
|
-
*/
|
|
214
|
-
limit?: number;
|
|
215
|
-
/**
|
|
216
|
-
* Optionally filter by verification status. Mutually exclusive with `unverified`, `verified`, `awaiting_verification`, and `verification_failed`.
|
|
217
|
-
*/
|
|
218
|
-
verification_status?: string;
|
|
219
|
-
}
|
|
220
|
-
}
|
|
221
|
-
}
|
|
222
|
-
}
|
|
223
|
-
export declare namespace V2 {
|
|
224
|
-
namespace Core {
|
|
225
|
-
namespace Vault {
|
|
226
|
-
interface UsBankAccountArchiveParams {
|
|
227
|
-
}
|
|
228
|
-
}
|
|
229
|
-
}
|
|
230
|
-
}
|
|
231
|
-
export declare namespace V2 {
|
|
232
|
-
namespace Core {
|
|
233
|
-
namespace Vault {
|
|
234
|
-
interface UsBankAccountConfirmMicrodepositsParams {
|
|
235
|
-
/**
|
|
236
|
-
* Two amounts received through Send Microdeposits must match the input to Confirm Microdeposits to verify US Bank Account.
|
|
237
|
-
*/
|
|
238
|
-
amounts?: Array<number>;
|
|
239
|
-
/**
|
|
240
|
-
* Descriptor code received through Send Microdeposits must match the input to Confirm Microdeposits to verify US Bank Account.
|
|
241
|
-
*/
|
|
242
|
-
descriptor_code?: string;
|
|
243
|
-
}
|
|
244
|
-
}
|
|
245
|
-
}
|
|
246
|
-
}
|
|
247
|
-
export declare namespace V2 {
|
|
248
|
-
namespace Core {
|
|
249
|
-
namespace Vault {
|
|
250
|
-
interface UsBankAccountSendMicrodepositsParams {
|
|
251
|
-
}
|
|
252
|
-
}
|
|
253
|
-
}
|
|
254
|
-
}
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// File generated from our OpenAPI spec
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.UsBankAccountResource = void 0;
|
|
5
|
-
const StripeResource_js_1 = require("../../../../StripeResource.js");
|
|
6
|
-
class UsBankAccountResource extends StripeResource_js_1.StripeResource {
|
|
7
|
-
/**
|
|
8
|
-
* List USBankAccount objects. Optionally filter by verification status.
|
|
9
|
-
*/
|
|
10
|
-
list(params, options) {
|
|
11
|
-
return this._makeRequest('GET', '/v2/core/vault/us_bank_accounts', params, options, {
|
|
12
|
-
methodType: 'list',
|
|
13
|
-
});
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* Create a USBankAccount object.
|
|
17
|
-
* @throws Stripe.BlockedByStripeError
|
|
18
|
-
* @throws Stripe.InvalidPaymentMethodError
|
|
19
|
-
* @throws Stripe.QuotaExceededError
|
|
20
|
-
*/
|
|
21
|
-
create(params, options) {
|
|
22
|
-
return this._makeRequest('POST', '/v2/core/vault/us_bank_accounts', params, options);
|
|
23
|
-
}
|
|
24
|
-
/**
|
|
25
|
-
* Retrieve a USBankAccount object.
|
|
26
|
-
*/
|
|
27
|
-
retrieve(id, params, options) {
|
|
28
|
-
return this._makeRequest('GET', `/v2/core/vault/us_bank_accounts/${id}`, params, options);
|
|
29
|
-
}
|
|
30
|
-
/**
|
|
31
|
-
* Update a USBankAccount object. This is limited to supplying a previously empty routing_number field.
|
|
32
|
-
* @throws Stripe.BlockedByStripeError
|
|
33
|
-
* @throws Stripe.InvalidPaymentMethodError
|
|
34
|
-
* @throws Stripe.QuotaExceededError
|
|
35
|
-
*/
|
|
36
|
-
update(id, params, options) {
|
|
37
|
-
return this._makeRequest('POST', `/v2/core/vault/us_bank_accounts/${id}`, params, options);
|
|
38
|
-
}
|
|
39
|
-
/**
|
|
40
|
-
* Archive a USBankAccount object. USBankAccount objects will not be automatically archived by Stripe.
|
|
41
|
-
* Archived USBankAccount objects cannot be used as outbound destinations
|
|
42
|
-
* and will not appear in the outbound destination list.
|
|
43
|
-
* @throws Stripe.ControlledByDashboardError
|
|
44
|
-
*/
|
|
45
|
-
archive(id, params, options) {
|
|
46
|
-
return this._makeRequest('POST', `/v2/core/vault/us_bank_accounts/${id}/archive`, params, options);
|
|
47
|
-
}
|
|
48
|
-
/**
|
|
49
|
-
* Confirm microdeposits amounts or descriptor code that you have received from the Send Microdeposits request. Once you correctly confirm this, this US Bank Account will be verified and eligible to transfer funds with.
|
|
50
|
-
*/
|
|
51
|
-
confirmMicrodeposits(id, params, options) {
|
|
52
|
-
return this._makeRequest('POST', `/v2/core/vault/us_bank_accounts/${id}/confirm_microdeposits`, params, options);
|
|
53
|
-
}
|
|
54
|
-
/**
|
|
55
|
-
* Send microdeposits in order to verify your US Bank Account so it is eligible to transfer funds. This will start the verification process and you must Confirm Microdeposits to successfully verify your US Bank Account.
|
|
56
|
-
*/
|
|
57
|
-
sendMicrodeposits(id, params, options) {
|
|
58
|
-
return this._makeRequest('POST', `/v2/core/vault/us_bank_accounts/${id}/send_microdeposits`, params, options);
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
exports.UsBankAccountResource = UsBankAccountResource;
|
|
62
|
-
//# sourceMappingURL=UsBankAccounts.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"UsBankAccounts.js","sourceRoot":"","sources":["../../../../../src/resources/V2/Core/Vault/UsBankAccounts.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;AAEvC,qEAA6D;AAG7D,MAAa,qBAAsB,SAAQ,kCAAc;IACvD;;OAEG;IACH,IAAI,CACF,MAA8C,EAC9C,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,KAAK,EACL,iCAAiC,EACjC,MAAM,EACN,OAAO,EACP;YACE,UAAU,EAAE,MAAM;SACnB,CACK,CAAC;IACX,CAAC;IACD;;;;;OAKG;IACH,MAAM,CACJ,MAA+C,EAC/C,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,iCAAiC,EACjC,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,mCAAmC,EAAE,EAAE,EACvC,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;;;;OAKG;IACH,MAAM,CACJ,EAAU,EACV,MAAgD,EAChD,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,mCAAmC,EAAE,EAAE,EACvC,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;;;;OAKG;IACH,OAAO,CACL,EAAU,EACV,MAAiD,EACjD,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,mCAAmC,EAAE,UAAU,EAC/C,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;OAEG;IACH,oBAAoB,CAClB,EAAU,EACV,MAA8D,EAC9D,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,mCAAmC,EAAE,wBAAwB,EAC7D,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;OAEG;IACH,iBAAiB,CACf,EAAU,EACV,MAA2D,EAC3D,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,mCAAmC,EAAE,qBAAqB,EAC1D,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;CACF;AApHD,sDAoHC"}
|