stripe 23.1.0-beta.2 → 23.1.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 +4850 -1831
- package/OPENAPI_VERSION +1 -1
- package/README.md +58 -42
- package/VERSION +1 -1
- package/cjs/Error.d.ts +6 -6
- package/cjs/Error.js +17 -17
- package/cjs/Error.js.map +1 -1
- package/cjs/StripeEventNotificationHandler.js +60 -46
- package/cjs/StripeEventNotificationHandler.js.map +1 -1
- package/cjs/Types.d.ts +2 -4
- package/cjs/Types.js.map +1 -1
- package/cjs/apiVersion.d.ts +2 -2
- package/cjs/apiVersion.js +2 -2
- package/cjs/apiVersion.js.map +1 -1
- package/cjs/resources/AccountLinks.d.ts +1 -1
- package/cjs/resources/AccountSessions.d.ts +57 -211
- package/cjs/resources/AccountSessions.js.map +1 -1
- package/cjs/resources/Accounts.d.ts +58 -626
- package/cjs/resources/Accounts.js +0 -14
- package/cjs/resources/Accounts.js.map +1 -1
- package/cjs/resources/Apps/Installs.d.ts +6 -6
- package/cjs/resources/Apps/Installs.js +3 -3
- package/cjs/resources/Balance.d.ts +0 -67
- package/cjs/resources/BankAccounts.d.ts +2 -2
- package/cjs/resources/Billing/AlertTriggereds.d.ts +1 -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/BillingPortal/Configurations.d.ts +120 -0
- package/cjs/resources/BillingPortal/Sessions.d.ts +22 -2
- package/cjs/resources/Capabilities.d.ts +2 -2
- package/cjs/resources/Cards.d.ts +3 -17
- package/cjs/resources/Charges.d.ts +73 -3077
- package/cjs/resources/Checkout/Sessions.d.ts +40 -360
- package/cjs/resources/ConfirmationTokens.d.ts +1 -64
- 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/CustomerCashBalanceTransactions.d.ts +1 -1
- package/cjs/resources/CustomerSessions.d.ts +0 -68
- package/cjs/resources/Customers.d.ts +5 -24
- package/cjs/resources/Customers.js +0 -14
- package/cjs/resources/Customers.js.map +1 -1
- package/cjs/resources/Disputes.d.ts +8 -19
- package/cjs/resources/Events.d.ts +95 -548
- 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 +5 -70
- package/cjs/resources/FinancialConnections/Accounts.js +0 -8
- 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 +9 -124
- 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 +1 -86
- package/cjs/resources/InvoiceItems.js.map +1 -1
- package/cjs/resources/InvoiceLineItems.d.ts +2 -40
- package/cjs/resources/Invoices.d.ts +142 -1230
- package/cjs/resources/Invoices.js +0 -41
- package/cjs/resources/Invoices.js.map +1 -1
- package/cjs/resources/Issuing/Authorizations.d.ts +0 -13
- package/cjs/resources/Issuing/Cardholders.d.ts +1 -19
- package/cjs/resources/Issuing/Cards.d.ts +12 -13
- package/cjs/resources/Issuing/Disputes.d.ts +0 -13
- 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 +2 -29
- package/cjs/resources/Mandates.d.ts +2 -33
- package/cjs/resources/Mandates.js +0 -8
- package/cjs/resources/Mandates.js.map +1 -1
- package/cjs/resources/PaymentAttemptRecords.d.ts +1 -80
- package/cjs/resources/PaymentIntents.d.ts +6191 -17059
- package/cjs/resources/PaymentIntents.js +0 -27
- package/cjs/resources/PaymentIntents.js.map +1 -1
- package/cjs/resources/PaymentLinks.d.ts +81 -3
- package/cjs/resources/PaymentMethodConfigurations.d.ts +0 -280
- package/cjs/resources/PaymentMethods.d.ts +3 -155
- package/cjs/resources/PaymentMethods.js.map +1 -1
- package/cjs/resources/PaymentRecords.d.ts +1 -80
- package/cjs/resources/Payouts.d.ts +1 -1
- package/cjs/resources/Persons.d.ts +2 -2
- package/cjs/resources/Prices.d.ts +0 -36
- package/cjs/resources/ProductCatalog/TrialOffers.d.ts +2 -2
- 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 +150 -2359
- package/cjs/resources/Quotes.js +13 -1181
- package/cjs/resources/Quotes.js.map +1 -1
- package/cjs/resources/Radar/PaymentEvaluations.d.ts +1 -1
- package/cjs/resources/Radar/ValueListItems.d.ts +1 -31
- package/cjs/resources/Radar/index.d.ts +16 -21
- package/cjs/resources/Radar/index.js +0 -2
- package/cjs/resources/Radar/index.js.map +1 -1
- package/cjs/resources/Refunds.d.ts +18 -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 +1 -41
- package/cjs/resources/Reserve/Plans.js +0 -19
- 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 +6 -18
- package/cjs/resources/Reserve/index.js +0 -9
- package/cjs/resources/Reserve/index.js.map +1 -1
- package/cjs/resources/SetupAttempts.d.ts +1 -26
- package/cjs/resources/SetupIntents.d.ts +14 -328
- package/cjs/resources/SourceMandateNotifications.d.ts +1 -3
- package/cjs/resources/Sources.d.ts +1 -29
- package/cjs/resources/SubscriptionItems.d.ts +7 -112
- package/cjs/resources/SubscriptionSchedules.d.ts +7 -1159
- package/cjs/resources/SubscriptionSchedules.js +0 -6
- package/cjs/resources/SubscriptionSchedules.js.map +1 -1
- package/cjs/resources/Subscriptions.d.ts +12 -394
- package/cjs/resources/Subscriptions.js +1 -43
- package/cjs/resources/Subscriptions.js.map +1 -1
- package/cjs/resources/Tax/CalculationLineItems.d.ts +1 -1
- package/cjs/resources/Tax/Calculations.d.ts +6 -6
- package/cjs/resources/Tax/Registrations.d.ts +90 -28
- package/cjs/resources/Tax/Transactions.d.ts +3 -3
- 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/TaxIds.d.ts +4 -4
- package/cjs/resources/TaxRates.d.ts +3 -3
- package/cjs/resources/Terminal/Configurations.d.ts +27 -0
- package/cjs/resources/Terminal/Readers.d.ts +4 -20
- 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 +1 -72
- package/cjs/resources/TestHelpers/Customers.d.ts +1 -1
- package/cjs/resources/TestHelpers/Customers.js +1 -1
- 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 +0 -3
- package/cjs/resources/TestHelpers/index.js +4 -6
- package/cjs/resources/TestHelpers/index.js.map +1 -1
- package/cjs/resources/Tokens.d.ts +6 -15
- 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 -9
- package/cjs/resources/Treasury/OutboundTransfers.d.ts +0 -44
- package/cjs/resources/Treasury/ReceivedCredits.d.ts +6 -22
- package/cjs/resources/Treasury/ReceivedDebits.d.ts +0 -26
- package/cjs/resources/Treasury/TransactionEntries.d.ts +14 -0
- package/cjs/resources/Treasury/Transactions.d.ts +14 -0
- 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/AccountPersons.d.ts +9 -9
- package/cjs/resources/V2/Core/AccountTokens.d.ts +21 -31
- package/cjs/resources/V2/Core/Accounts/PersonTokens.d.ts +9 -9
- package/cjs/resources/V2/Core/Accounts/Persons.d.ts +19 -19
- package/cjs/resources/V2/Core/Accounts.d.ts +440 -1286
- package/cjs/resources/V2/Core/EventDestinations.d.ts +1 -1
- package/cjs/resources/V2/Core/Events.d.ts +872 -923
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.d.ts +6 -146
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.js +4 -15
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.js.map +1 -1
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.d.ts +19 -20
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.js +8 -0
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.js.map +1 -1
- package/cjs/resources/V2/Core/Vault/index.d.ts +2 -2
- package/cjs/resources/V2/Core/index.d.ts +9 -24
- package/cjs/resources/V2/Core/index.js +0 -4
- package/cjs/resources/V2/Core/index.js.map +1 -1
- package/cjs/resources/V2/MoneyManagement/Adjustments.d.ts +13 -12
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.d.ts +25 -141
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +2 -17
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js.map +1 -1
- package/cjs/resources/V2/MoneyManagement/FinancialAddresses.d.ts +15 -37
- package/cjs/resources/V2/MoneyManagement/InboundTransfers.d.ts +9 -13
- package/cjs/resources/V2/MoneyManagement/InboundTransfers.js +1 -1
- package/cjs/resources/V2/MoneyManagement/OutboundPayments.d.ts +156 -93
- package/cjs/resources/V2/MoneyManagement/OutboundPayments.js +2 -1
- package/cjs/resources/V2/MoneyManagement/OutboundPayments.js.map +1 -1
- package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +3 -77
- package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -1
- package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js.map +1 -1
- package/cjs/resources/V2/MoneyManagement/PayoutIntents.d.ts +730 -0
- package/cjs/resources/V2/MoneyManagement/PayoutIntents.js +67 -0
- package/cjs/resources/V2/MoneyManagement/PayoutIntents.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.d.ts +6 -43
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.js +5 -12
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.js.map +1 -1
- package/cjs/resources/V2/MoneyManagement/ReceivedCredits.d.ts +7 -118
- package/cjs/resources/V2/MoneyManagement/RecipientVerifications.d.ts +155 -0
- package/cjs/resources/V2/MoneyManagement/RecipientVerifications.js +27 -0
- package/cjs/resources/V2/MoneyManagement/RecipientVerifications.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.d.ts +1 -15
- package/cjs/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.js +0 -7
- package/cjs/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.js.map +1 -1
- package/cjs/resources/V2/MoneyManagement/TransactionEntries.d.ts +24 -18
- package/cjs/resources/V2/MoneyManagement/Transactions.d.ts +87 -26
- package/cjs/resources/V2/MoneyManagement/Transactions.js +12 -0
- package/cjs/resources/V2/MoneyManagement/Transactions.js.map +1 -1
- package/cjs/resources/V2/MoneyManagement/index.d.ts +43 -48
- package/cjs/resources/V2/MoneyManagement/index.js +4 -6
- package/cjs/resources/V2/MoneyManagement/index.js.map +1 -1
- package/cjs/resources/V2/TestHelpers/MoneyManagement.d.ts +31 -0
- package/cjs/resources/V2/TestHelpers/MoneyManagement.js +15 -0
- package/cjs/resources/V2/TestHelpers/MoneyManagement.js.map +1 -0
- package/cjs/resources/V2/TestHelpers/index.d.ts +8 -0
- package/cjs/resources/V2/TestHelpers/index.js +13 -0
- package/cjs/resources/V2/TestHelpers/index.js.map +1 -0
- package/cjs/resources/V2/index.d.ts +3 -18
- package/cjs/resources/V2/index.js +4 -14
- package/cjs/resources/V2/index.js.map +1 -1
- package/cjs/resources/WebhookEndpoints.d.ts +3 -3
- package/cjs/resources.d.ts +0 -9
- package/cjs/resources.js +15 -115
- package/cjs/resources.js.map +1 -1
- package/cjs/stripe.cjs.node.d.ts +671 -6308
- package/cjs/stripe.cjs.node.js.map +1 -1
- package/cjs/stripe.core.d.ts +28 -57
- package/cjs/stripe.core.js +36 -53
- package/cjs/stripe.core.js.map +1 -1
- package/esm/Error.d.ts +6 -6
- package/esm/Error.js +14 -14
- package/esm/Error.js.map +1 -1
- package/esm/StripeEventNotificationHandler.js +60 -46
- package/esm/StripeEventNotificationHandler.js.map +1 -1
- package/esm/Types.d.ts +2 -4
- package/esm/Types.js.map +1 -1
- package/esm/apiVersion.d.ts +2 -2
- package/esm/apiVersion.js +2 -2
- package/esm/apiVersion.js.map +1 -1
- package/esm/resources/AccountLinks.d.ts +1 -1
- package/esm/resources/AccountSessions.d.ts +57 -211
- package/esm/resources/AccountSessions.js.map +1 -1
- package/esm/resources/Accounts.d.ts +58 -626
- package/esm/resources/Accounts.js +0 -14
- package/esm/resources/Accounts.js.map +1 -1
- package/esm/resources/Apps/Installs.d.ts +6 -6
- package/esm/resources/Apps/Installs.js +3 -3
- package/esm/resources/Balance.d.ts +0 -67
- package/esm/resources/BankAccounts.d.ts +2 -2
- package/esm/resources/Billing/AlertTriggereds.d.ts +1 -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/BillingPortal/Configurations.d.ts +120 -0
- package/esm/resources/BillingPortal/Sessions.d.ts +22 -2
- package/esm/resources/Capabilities.d.ts +2 -2
- package/esm/resources/Cards.d.ts +3 -17
- package/esm/resources/Charges.d.ts +73 -3077
- package/esm/resources/Checkout/Sessions.d.ts +40 -360
- package/esm/resources/ConfirmationTokens.d.ts +1 -64
- 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/CustomerCashBalanceTransactions.d.ts +1 -1
- package/esm/resources/CustomerSessions.d.ts +0 -68
- package/esm/resources/Customers.d.ts +5 -24
- package/esm/resources/Customers.js +0 -14
- package/esm/resources/Customers.js.map +1 -1
- package/esm/resources/Disputes.d.ts +8 -19
- package/esm/resources/Events.d.ts +95 -548
- 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 +5 -70
- package/esm/resources/FinancialConnections/Accounts.js +0 -8
- 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 +9 -124
- 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 +1 -86
- package/esm/resources/InvoiceItems.js.map +1 -1
- package/esm/resources/InvoiceLineItems.d.ts +2 -40
- package/esm/resources/Invoices.d.ts +142 -1230
- package/esm/resources/Invoices.js +0 -41
- package/esm/resources/Invoices.js.map +1 -1
- package/esm/resources/Issuing/Authorizations.d.ts +0 -13
- package/esm/resources/Issuing/Cardholders.d.ts +1 -19
- package/esm/resources/Issuing/Cards.d.ts +12 -13
- package/esm/resources/Issuing/Disputes.d.ts +0 -13
- 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 +2 -29
- package/esm/resources/Mandates.d.ts +2 -33
- package/esm/resources/Mandates.js +0 -8
- package/esm/resources/Mandates.js.map +1 -1
- package/esm/resources/PaymentAttemptRecords.d.ts +1 -80
- package/esm/resources/PaymentIntents.d.ts +6191 -17059
- package/esm/resources/PaymentIntents.js +0 -27
- package/esm/resources/PaymentIntents.js.map +1 -1
- package/esm/resources/PaymentLinks.d.ts +81 -3
- package/esm/resources/PaymentMethodConfigurations.d.ts +0 -280
- package/esm/resources/PaymentMethods.d.ts +3 -155
- package/esm/resources/PaymentMethods.js.map +1 -1
- package/esm/resources/PaymentRecords.d.ts +1 -80
- package/esm/resources/Payouts.d.ts +1 -1
- package/esm/resources/Persons.d.ts +2 -2
- package/esm/resources/Prices.d.ts +0 -36
- package/esm/resources/ProductCatalog/TrialOffers.d.ts +2 -2
- 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 +150 -2359
- package/esm/resources/Quotes.js +13 -1181
- package/esm/resources/Quotes.js.map +1 -1
- package/esm/resources/Radar/PaymentEvaluations.d.ts +1 -1
- package/esm/resources/Radar/ValueListItems.d.ts +1 -31
- package/esm/resources/Radar/index.d.ts +16 -21
- package/esm/resources/Radar/index.js +0 -2
- package/esm/resources/Radar/index.js.map +1 -1
- package/esm/resources/Refunds.d.ts +18 -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 +1 -41
- package/esm/resources/Reserve/Plans.js +1 -17
- 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 +6 -18
- package/esm/resources/Reserve/index.js +0 -9
- package/esm/resources/Reserve/index.js.map +1 -1
- package/esm/resources/SetupAttempts.d.ts +1 -26
- package/esm/resources/SetupIntents.d.ts +14 -328
- package/esm/resources/SourceMandateNotifications.d.ts +1 -3
- package/esm/resources/Sources.d.ts +1 -29
- package/esm/resources/SubscriptionItems.d.ts +7 -112
- package/esm/resources/SubscriptionSchedules.d.ts +7 -1159
- package/esm/resources/SubscriptionSchedules.js +0 -6
- package/esm/resources/SubscriptionSchedules.js.map +1 -1
- package/esm/resources/Subscriptions.d.ts +12 -394
- package/esm/resources/Subscriptions.js +1 -43
- package/esm/resources/Subscriptions.js.map +1 -1
- package/esm/resources/Tax/CalculationLineItems.d.ts +1 -1
- package/esm/resources/Tax/Calculations.d.ts +6 -6
- package/esm/resources/Tax/Registrations.d.ts +90 -28
- package/esm/resources/Tax/Transactions.d.ts +3 -3
- 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/TaxIds.d.ts +4 -4
- package/esm/resources/TaxRates.d.ts +3 -3
- package/esm/resources/Terminal/Configurations.d.ts +27 -0
- package/esm/resources/Terminal/Readers.d.ts +4 -20
- 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 +1 -72
- package/esm/resources/TestHelpers/Customers.d.ts +1 -1
- package/esm/resources/TestHelpers/Customers.js +1 -1
- 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 +0 -3
- package/esm/resources/TestHelpers/index.js +0 -2
- package/esm/resources/TestHelpers/index.js.map +1 -1
- package/esm/resources/Tokens.d.ts +6 -15
- 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 -9
- package/esm/resources/Treasury/OutboundTransfers.d.ts +0 -44
- package/esm/resources/Treasury/ReceivedCredits.d.ts +6 -22
- package/esm/resources/Treasury/ReceivedDebits.d.ts +0 -26
- package/esm/resources/Treasury/TransactionEntries.d.ts +14 -0
- package/esm/resources/Treasury/Transactions.d.ts +14 -0
- 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/AccountPersons.d.ts +9 -9
- package/esm/resources/V2/Core/AccountTokens.d.ts +21 -31
- package/esm/resources/V2/Core/Accounts/PersonTokens.d.ts +9 -9
- package/esm/resources/V2/Core/Accounts/Persons.d.ts +19 -19
- package/esm/resources/V2/Core/Accounts.d.ts +440 -1286
- package/esm/resources/V2/Core/EventDestinations.d.ts +1 -1
- package/esm/resources/V2/Core/Events.d.ts +872 -923
- package/esm/resources/V2/Core/Vault/GbBankAccounts.d.ts +6 -146
- package/esm/resources/V2/Core/Vault/GbBankAccounts.js +4 -15
- package/esm/resources/V2/Core/Vault/GbBankAccounts.js.map +1 -1
- package/esm/resources/V2/Core/Vault/UsBankAccounts.d.ts +19 -20
- package/esm/resources/V2/Core/Vault/UsBankAccounts.js +8 -0
- package/esm/resources/V2/Core/Vault/UsBankAccounts.js.map +1 -1
- package/esm/resources/V2/Core/Vault/index.d.ts +2 -2
- package/esm/resources/V2/Core/index.d.ts +9 -24
- package/esm/resources/V2/Core/index.js +0 -4
- package/esm/resources/V2/Core/index.js.map +1 -1
- package/esm/resources/V2/MoneyManagement/Adjustments.d.ts +13 -12
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.d.ts +25 -141
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +2 -17
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.js.map +1 -1
- package/esm/resources/V2/MoneyManagement/FinancialAddresses.d.ts +15 -37
- package/esm/resources/V2/MoneyManagement/InboundTransfers.d.ts +9 -13
- package/esm/resources/V2/MoneyManagement/InboundTransfers.js +1 -1
- package/esm/resources/V2/MoneyManagement/OutboundPayments.d.ts +156 -93
- package/esm/resources/V2/MoneyManagement/OutboundPayments.js +2 -1
- package/esm/resources/V2/MoneyManagement/OutboundPayments.js.map +1 -1
- package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +3 -77
- package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -1
- package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js.map +1 -1
- package/esm/resources/V2/MoneyManagement/PayoutIntents.d.ts +730 -0
- package/esm/resources/V2/MoneyManagement/PayoutIntents.js +63 -0
- package/esm/resources/V2/MoneyManagement/PayoutIntents.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/PayoutMethods.d.ts +6 -43
- package/esm/resources/V2/MoneyManagement/PayoutMethods.js +5 -12
- package/esm/resources/V2/MoneyManagement/PayoutMethods.js.map +1 -1
- package/esm/resources/V2/MoneyManagement/ReceivedCredits.d.ts +7 -118
- package/esm/resources/V2/MoneyManagement/RecipientVerifications.d.ts +155 -0
- package/esm/resources/V2/MoneyManagement/RecipientVerifications.js +23 -0
- package/esm/resources/V2/MoneyManagement/RecipientVerifications.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.d.ts +1 -15
- package/esm/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.js +0 -7
- package/esm/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.js.map +1 -1
- package/esm/resources/V2/MoneyManagement/TransactionEntries.d.ts +24 -18
- package/esm/resources/V2/MoneyManagement/Transactions.d.ts +87 -26
- package/esm/resources/V2/MoneyManagement/Transactions.js +12 -0
- package/esm/resources/V2/MoneyManagement/Transactions.js.map +1 -1
- package/esm/resources/V2/MoneyManagement/index.d.ts +43 -48
- package/esm/resources/V2/MoneyManagement/index.js +4 -6
- package/esm/resources/V2/MoneyManagement/index.js.map +1 -1
- package/esm/resources/V2/TestHelpers/MoneyManagement.d.ts +31 -0
- package/esm/resources/V2/TestHelpers/MoneyManagement.js +11 -0
- package/esm/resources/V2/TestHelpers/MoneyManagement.js.map +1 -0
- package/esm/resources/V2/TestHelpers/index.d.ts +8 -0
- package/esm/resources/V2/TestHelpers/index.js +9 -0
- package/esm/resources/V2/TestHelpers/index.js.map +1 -0
- package/esm/resources/V2/index.d.ts +3 -18
- package/esm/resources/V2/index.js +2 -12
- package/esm/resources/V2/index.js.map +1 -1
- package/esm/resources/WebhookEndpoints.d.ts +3 -3
- package/esm/resources.d.ts +0 -9
- package/esm/resources.js +7 -102
- package/esm/resources.js.map +1 -1
- package/esm/stripe.core.d.ts +28 -57
- package/esm/stripe.core.js +2 -19
- package/esm/stripe.core.js.map +1 -1
- package/esm/stripe.esm.node.d.ts +28 -57
- package/esm/stripe.esm.node.js +2 -19
- package/esm/stripe.esm.node.js.map +1 -1
- package/package.json +1 -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 -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 -216
- 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 -4696
- 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 -1170
- package/cjs/resources/QuotePreviewInvoices.js +0 -4
- package/cjs/resources/QuotePreviewInvoices.js.map +0 -1
- package/cjs/resources/QuotePreviewSubscriptionSchedules.d.ts +0 -924
- package/cjs/resources/QuotePreviewSubscriptionSchedules.js +0 -4
- package/cjs/resources/QuotePreviewSubscriptionSchedules.js.map +0 -1
- package/cjs/resources/Radar/BillingEvaluations.d.ts +0 -374
- package/cjs/resources/Radar/BillingEvaluations.js +0 -15
- package/cjs/resources/Radar/BillingEvaluations.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 -958
- 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 -238
- 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 -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/Data/Reporting/QueryRuns.d.ts +0 -152
- 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/Iam/ActivityLogs.d.ts +0 -377
- 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/FinancialAddressGeneratedMicrodeposits.d.ts +0 -19
- package/cjs/resources/V2/MoneyManagement/FinancialAddressGeneratedMicrodeposits.js +0 -4
- package/cjs/resources/V2/MoneyManagement/FinancialAddressGeneratedMicrodeposits.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +0 -243
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -22
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.d.ts +0 -339
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js +0 -39
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.d.ts +0 -163
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js +0 -23
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.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/AccountActivities.d.ts +0 -424
- package/cjs/resources/V2/Signals/AccountActivities.js +0 -27
- package/cjs/resources/V2/Signals/AccountActivities.js.map +0 -1
- package/cjs/resources/V2/Signals/AccountEvaluations.d.ts +0 -396
- 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 -196
- package/cjs/resources/V2/Signals/AccountSignals.js +0 -66
- 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/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 -216
- 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 -4696
- 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 -1170
- package/esm/resources/QuotePreviewInvoices.js +0 -3
- package/esm/resources/QuotePreviewInvoices.js.map +0 -1
- package/esm/resources/QuotePreviewSubscriptionSchedules.d.ts +0 -924
- package/esm/resources/QuotePreviewSubscriptionSchedules.js +0 -3
- package/esm/resources/QuotePreviewSubscriptionSchedules.js.map +0 -1
- package/esm/resources/Radar/BillingEvaluations.d.ts +0 -374
- package/esm/resources/Radar/BillingEvaluations.js +0 -11
- package/esm/resources/Radar/BillingEvaluations.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 -958
- 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 -238
- 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 -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/Data/Reporting/QueryRuns.d.ts +0 -152
- 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/Iam/ActivityLogs.d.ts +0 -377
- 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/FinancialAddressGeneratedMicrodeposits.d.ts +0 -19
- package/esm/resources/V2/MoneyManagement/FinancialAddressGeneratedMicrodeposits.js +0 -3
- package/esm/resources/V2/MoneyManagement/FinancialAddressGeneratedMicrodeposits.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +0 -243
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -18
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.d.ts +0 -339
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.js +0 -35
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.d.ts +0 -163
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.js +0 -19
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.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/AccountActivities.d.ts +0 -424
- package/esm/resources/V2/Signals/AccountActivities.js +0 -23
- package/esm/resources/V2/Signals/AccountActivities.js.map +0 -1
- package/esm/resources/V2/Signals/AccountEvaluations.d.ts +0 -396
- 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 -196
- package/esm/resources/V2/Signals/AccountSignals.js +0 -62
- 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
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.PayoutIntentResource = void 0;
|
|
5
|
+
const StripeResource_js_1 = require("../../../StripeResource.js");
|
|
6
|
+
class PayoutIntentResource extends StripeResource_js_1.StripeResource {
|
|
7
|
+
/**
|
|
8
|
+
* Returns a list of PayoutIntents.
|
|
9
|
+
*/
|
|
10
|
+
list(params, options) {
|
|
11
|
+
return this._makeRequest('GET', '/v2/money_management/payout_intents', params, options, {
|
|
12
|
+
methodType: 'list',
|
|
13
|
+
});
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Creates a PayoutIntent.
|
|
17
|
+
* @throws Stripe.CapabilityNotEnabledError
|
|
18
|
+
* @throws Stripe.RecipientNotNotifiableError
|
|
19
|
+
* @throws Stripe.FeatureNotEnabledError
|
|
20
|
+
*/
|
|
21
|
+
create(params, options) {
|
|
22
|
+
return this._makeRequest('POST', '/v2/money_management/payout_intents', params, options);
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Retrieves the details of an existing PayoutIntent by passing the unique PayoutIntent ID.
|
|
26
|
+
*/
|
|
27
|
+
retrieve(id, params, options) {
|
|
28
|
+
return this._makeRequest('GET', `/v2/money_management/payout_intents/${encodeURIComponent(id)}`, params, options);
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Updates an editable PayoutIntent in the `pending` or `requires_action` state.
|
|
32
|
+
* @throws Stripe.CapabilityNotEnabledError
|
|
33
|
+
* @throws Stripe.RecipientNotNotifiableError
|
|
34
|
+
* @throws Stripe.FeatureNotEnabledError
|
|
35
|
+
*/
|
|
36
|
+
update(id, params, options) {
|
|
37
|
+
return this._makeRequest('POST', `/v2/money_management/payout_intents/${encodeURIComponent(id)}`, params, options);
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Cancels a PayoutIntent in the `pending` or `requires_action` state, or a `processing` PayoutIntent with a cancelable OutboundPayment.
|
|
41
|
+
* @throws Stripe.NotCancelableError
|
|
42
|
+
*/
|
|
43
|
+
cancel(id, params, options) {
|
|
44
|
+
return this._makeRequest('POST', `/v2/money_management/payout_intents/${encodeURIComponent(id)}/cancel`, params, options);
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Confirms a PayoutIntent in the `requires_action` state, transitioning it to `pending`.
|
|
48
|
+
* @throws Stripe.FxQuoteNeedsRefreshError
|
|
49
|
+
*/
|
|
50
|
+
confirm(id, params, options) {
|
|
51
|
+
return this._makeRequest('POST', `/v2/money_management/payout_intents/${encodeURIComponent(id)}/confirm`, params, options);
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Refreshes the FX quote for a PayoutIntent.
|
|
55
|
+
*/
|
|
56
|
+
refreshFxQuote(id, params, options) {
|
|
57
|
+
return this._makeRequest('POST', `/v2/money_management/payout_intents/${encodeURIComponent(id)}/refresh_fx_quote`, params, options);
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Refreshes the recipient verification for a PayoutIntent.
|
|
61
|
+
*/
|
|
62
|
+
refreshRecipientVerification(id, params, options) {
|
|
63
|
+
return this._makeRequest('POST', `/v2/money_management/payout_intents/${encodeURIComponent(id)}/refresh_recipient_verification`, params, options);
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
exports.PayoutIntentResource = PayoutIntentResource;
|
|
67
|
+
//# sourceMappingURL=PayoutIntents.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PayoutIntents.js","sourceRoot":"","sources":["../../../../src/resources/V2/MoneyManagement/PayoutIntents.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;AAEvC,kEAA0D;AAK1D,MAAa,oBAAqB,SAAQ,kCAAc;IACtD;;OAEG;IACH,IAAI,CACF,MAAkD,EAClD,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,KAAK,EACL,qCAAqC,EACrC,MAAM,EACN,OAAO,EACP;YACE,UAAU,EAAE,MAAM;SACnB,CACK,CAAC;IACX,CAAC;IACD;;;;;OAKG;IACH,MAAM,CACJ,MAAmD,EACnD,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,qCAAqC,EACrC,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;OAEG;IACH,QAAQ,CACN,EAAU,EACV,MAAsD,EACtD,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,KAAK,EACL,uCAAuC,kBAAkB,CAAC,EAAE,CAAC,EAAE,EAC/D,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;;;;OAKG;IACH,MAAM,CACJ,EAAU,EACV,MAAoD,EACpD,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,uCAAuC,kBAAkB,CAAC,EAAE,CAAC,EAAE,EAC/D,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;;OAGG;IACH,MAAM,CACJ,EAAU,EACV,MAAoD,EACpD,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,uCAAuC,kBAAkB,CAAC,EAAE,CAAC,SAAS,EACtE,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;;OAGG;IACH,OAAO,CACL,EAAU,EACV,MAAqD,EACrD,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,uCAAuC,kBAAkB,CAAC,EAAE,CAAC,UAAU,EACvE,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;OAEG;IACH,cAAc,CACZ,EAAU,EACV,MAA4D,EAC5D,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,uCAAuC,kBAAkB,CACvD,EAAE,CACH,mBAAmB,EACpB,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;OAEG;IACH,4BAA4B,CAC1B,EAAU,EACV,MAA0E,EAC1E,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,uCAAuC,kBAAkB,CACvD,EAAE,CACH,iCAAiC,EAClC,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;CACF;AAtID,oDAsIC"}
|
|
@@ -12,22 +12,17 @@ export declare class PayoutMethodResource extends StripeResource {
|
|
|
12
12
|
*/
|
|
13
13
|
retrieve(id: string, params?: V2.MoneyManagement.PayoutMethodRetrieveParams, options?: RequestOptions): Promise<Response<PayoutMethod>>;
|
|
14
14
|
/**
|
|
15
|
-
* Archive a PayoutMethod
|
|
16
|
-
* and
|
|
15
|
+
* Archive a `PayoutMethod`. Archiving prevents the Payout Method from being used for outbound payments
|
|
16
|
+
* or transfers and omits it from normal list results. To restore list visibility, use the
|
|
17
|
+
* [unarchive endpoint](https://docs.stripe.com/api/v2/money-management/payout-methods/unarchive).
|
|
17
18
|
* @throws Stripe.CannotProceedError
|
|
18
19
|
* @throws Stripe.InvalidPayoutMethodError
|
|
19
20
|
* @throws Stripe.ControlledByAlternateResourceError
|
|
20
21
|
*/
|
|
21
22
|
archive(id: string, params?: V2.MoneyManagement.PayoutMethodArchiveParams, options?: RequestOptions): Promise<Response<PayoutMethod>>;
|
|
22
23
|
/**
|
|
23
|
-
*
|
|
24
|
-
*
|
|
25
|
-
* using [`POST /v2/money_management/outbound_setup_intents`](https://docs.stripe.com/api/v2/money-management/outbound-setup-intents/create).
|
|
26
|
-
* @throws Stripe.CannotProceedError
|
|
27
|
-
*/
|
|
28
|
-
disable(id: string, params?: V2.MoneyManagement.PayoutMethodDisableParams, options?: RequestOptions): Promise<Response<PayoutMethod>>;
|
|
29
|
-
/**
|
|
30
|
-
* Unarchive an PayoutMethod object.
|
|
24
|
+
* Unarchive a `PayoutMethod`. Unarchiving restores the Payout Method to normal list results and clears
|
|
25
|
+
* only its archived state. It doesn't guarantee that the Payout Method can be used.
|
|
31
26
|
* @throws Stripe.InvalidPayoutMethodError
|
|
32
27
|
* @throws Stripe.ControlledByAlternateResourceError
|
|
33
28
|
*/
|
|
@@ -42,20 +37,12 @@ export interface PayoutMethod {
|
|
|
42
37
|
* String representing the object's type. Objects of the same type share the same value of the object field.
|
|
43
38
|
*/
|
|
44
39
|
object: 'v2.money_management.payout_method';
|
|
45
|
-
/**
|
|
46
|
-
* The alternative reference for this payout method, if it's a projected payout method.
|
|
47
|
-
*/
|
|
48
|
-
alternative_reference?: PayoutMethod.AlternativeReference;
|
|
49
40
|
/**
|
|
50
41
|
* Whether the payout method was archived. Payout methods can be archived through the /archive API,
|
|
51
42
|
* and they will not be automatically archived by Stripe. Archived payout methods cannot be used
|
|
52
43
|
* for outbound money movement.
|
|
53
44
|
*/
|
|
54
45
|
archived: boolean;
|
|
55
|
-
/**
|
|
56
|
-
* A set of available payout speeds for this payout method.
|
|
57
|
-
*/
|
|
58
|
-
available_payout_speeds: Array<PayoutMethod.AvailablePayoutSpeed>;
|
|
59
46
|
/**
|
|
60
47
|
* The PayoutMethodBankAccount object details.
|
|
61
48
|
*/
|
|
@@ -91,17 +78,6 @@ export interface PayoutMethod {
|
|
|
91
78
|
usage_status: PayoutMethod.UsageStatus;
|
|
92
79
|
}
|
|
93
80
|
export declare namespace PayoutMethod {
|
|
94
|
-
interface AlternativeReference {
|
|
95
|
-
/**
|
|
96
|
-
* The ID of the alternative resource being referenced.
|
|
97
|
-
*/
|
|
98
|
-
id: string;
|
|
99
|
-
/**
|
|
100
|
-
* The type of the alternative reference (e.g., external_account for V1 external accounts).
|
|
101
|
-
*/
|
|
102
|
-
type: AlternativeReference.Type;
|
|
103
|
-
}
|
|
104
|
-
type AvailablePayoutSpeed = 'instant' | 'standard';
|
|
105
81
|
interface BankAccount {
|
|
106
82
|
/**
|
|
107
83
|
* The type of bank account (checking or savings).
|
|
@@ -119,10 +95,6 @@ export declare namespace PayoutMethod {
|
|
|
119
95
|
* The country code of the bank account.
|
|
120
96
|
*/
|
|
121
97
|
country: string;
|
|
122
|
-
/**
|
|
123
|
-
* List of enabled flows for this bank account (wire or local).
|
|
124
|
-
*/
|
|
125
|
-
enabled_delivery_schemes: Array<string>;
|
|
126
98
|
/**
|
|
127
99
|
* The ID of the Financial Connections Account used to create the bank account.
|
|
128
100
|
*/
|
|
@@ -167,7 +139,7 @@ export declare namespace PayoutMethod {
|
|
|
167
139
|
*/
|
|
168
140
|
supported_currencies: Array<string>;
|
|
169
141
|
}
|
|
170
|
-
type Type = 'bank_account' | 'card' |
|
|
142
|
+
type Type = 'bank_account' | 'card' | OtherString;
|
|
171
143
|
interface UsageStatus {
|
|
172
144
|
/**
|
|
173
145
|
* Payments status - used when sending OutboundPayments (sending funds to recipients).
|
|
@@ -180,9 +152,6 @@ export declare namespace PayoutMethod {
|
|
|
180
152
|
*/
|
|
181
153
|
transfers: UsageStatus.Transfers;
|
|
182
154
|
}
|
|
183
|
-
namespace AlternativeReference {
|
|
184
|
-
type Type = 'external_account' | 'payment_method' | OtherString;
|
|
185
|
-
}
|
|
186
155
|
namespace BankAccount {
|
|
187
156
|
type BankAccountType = 'checking' | 'futsu' | 'savings' | 'toza';
|
|
188
157
|
}
|
|
@@ -233,12 +202,6 @@ export declare namespace V2 {
|
|
|
233
202
|
}
|
|
234
203
|
}
|
|
235
204
|
}
|
|
236
|
-
export declare namespace V2 {
|
|
237
|
-
namespace MoneyManagement {
|
|
238
|
-
interface PayoutMethodDisableParams {
|
|
239
|
-
}
|
|
240
|
-
}
|
|
241
|
-
}
|
|
242
205
|
export declare namespace V2 {
|
|
243
206
|
namespace MoneyManagement {
|
|
244
207
|
interface PayoutMethodUnarchiveParams {
|
|
@@ -20,8 +20,9 @@ class PayoutMethodResource extends StripeResource_js_1.StripeResource {
|
|
|
20
20
|
return this._makeRequest('GET', `/v2/money_management/payout_methods/${encodeURIComponent(id)}`, params, options);
|
|
21
21
|
}
|
|
22
22
|
/**
|
|
23
|
-
* Archive a PayoutMethod
|
|
24
|
-
* and
|
|
23
|
+
* Archive a `PayoutMethod`. Archiving prevents the Payout Method from being used for outbound payments
|
|
24
|
+
* or transfers and omits it from normal list results. To restore list visibility, use the
|
|
25
|
+
* [unarchive endpoint](https://docs.stripe.com/api/v2/money-management/payout-methods/unarchive).
|
|
25
26
|
* @throws Stripe.CannotProceedError
|
|
26
27
|
* @throws Stripe.InvalidPayoutMethodError
|
|
27
28
|
* @throws Stripe.ControlledByAlternateResourceError
|
|
@@ -30,16 +31,8 @@ class PayoutMethodResource extends StripeResource_js_1.StripeResource {
|
|
|
30
31
|
return this._makeRequest('POST', `/v2/money_management/payout_methods/${encodeURIComponent(id)}/archive`, params, options);
|
|
31
32
|
}
|
|
32
33
|
/**
|
|
33
|
-
*
|
|
34
|
-
*
|
|
35
|
-
* using [`POST /v2/money_management/outbound_setup_intents`](https://docs.stripe.com/api/v2/money-management/outbound-setup-intents/create).
|
|
36
|
-
* @throws Stripe.CannotProceedError
|
|
37
|
-
*/
|
|
38
|
-
disable(id, params, options) {
|
|
39
|
-
return this._makeRequest('POST', `/v2/money_management/payout_methods/${encodeURIComponent(id)}/disable`, params, options);
|
|
40
|
-
}
|
|
41
|
-
/**
|
|
42
|
-
* Unarchive an PayoutMethod object.
|
|
34
|
+
* Unarchive a `PayoutMethod`. Unarchiving restores the Payout Method to normal list results and clears
|
|
35
|
+
* only its archived state. It doesn't guarantee that the Payout Method can be used.
|
|
43
36
|
* @throws Stripe.InvalidPayoutMethodError
|
|
44
37
|
* @throws Stripe.ControlledByAlternateResourceError
|
|
45
38
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PayoutMethods.js","sourceRoot":"","sources":["../../../../src/resources/V2/MoneyManagement/PayoutMethods.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;AAEvC,kEAA0D;AAI1D,MAAa,oBAAqB,SAAQ,kCAAc;IACtD;;OAEG;IACH,IAAI,CACF,MAAkD,EAClD,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,KAAK,EACL,qCAAqC,EACrC,MAAM,EACN,OAAO,EACP;YACE,UAAU,EAAE,MAAM;SACnB,CACK,CAAC;IACX,CAAC;IACD;;;OAGG;IACH,QAAQ,CACN,EAAU,EACV,MAAsD,EACtD,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,KAAK,EACL,uCAAuC,kBAAkB,CAAC,EAAE,CAAC,EAAE,EAC/D,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD
|
|
1
|
+
{"version":3,"file":"PayoutMethods.js","sourceRoot":"","sources":["../../../../src/resources/V2/MoneyManagement/PayoutMethods.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;AAEvC,kEAA0D;AAI1D,MAAa,oBAAqB,SAAQ,kCAAc;IACtD;;OAEG;IACH,IAAI,CACF,MAAkD,EAClD,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,KAAK,EACL,qCAAqC,EACrC,MAAM,EACN,OAAO,EACP;YACE,UAAU,EAAE,MAAM;SACnB,CACK,CAAC;IACX,CAAC;IACD;;;OAGG;IACH,QAAQ,CACN,EAAU,EACV,MAAsD,EACtD,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,KAAK,EACL,uCAAuC,kBAAkB,CAAC,EAAE,CAAC,EAAE,EAC/D,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;;;;;;OAOG;IACH,OAAO,CACL,EAAU,EACV,MAAqD,EACrD,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,uCAAuC,kBAAkB,CAAC,EAAE,CAAC,UAAU,EACvE,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;;;;OAKG;IACH,SAAS,CACP,EAAU,EACV,MAAuD,EACvD,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,uCAAuC,kBAAkB,CAAC,EAAE,CAAC,YAAY,EACzE,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;CACF;AAxED,oDAwEC"}
|
|
@@ -22,11 +22,11 @@ export interface ReceivedCredit {
|
|
|
22
22
|
*/
|
|
23
23
|
object: 'v2.money_management.received_credit';
|
|
24
24
|
/**
|
|
25
|
-
* The amount and currency
|
|
25
|
+
* The amount and currency credited to the FinancialAccount.
|
|
26
26
|
*/
|
|
27
27
|
amount: V2Amount;
|
|
28
28
|
/**
|
|
29
|
-
* The amount and currency
|
|
29
|
+
* The amount and currency Stripe received from the external source, before any conversion or fees.
|
|
30
30
|
*/
|
|
31
31
|
amount_received: V2Amount;
|
|
32
32
|
/**
|
|
@@ -54,10 +54,6 @@ export interface ReceivedCredit {
|
|
|
54
54
|
* Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
|
55
55
|
*/
|
|
56
56
|
livemode: boolean;
|
|
57
|
-
/**
|
|
58
|
-
* A hosted transaction receipt URL that is provided when money movement is considered regulated under Stripe's money transmission licenses.
|
|
59
|
-
*/
|
|
60
|
-
receipt_url?: string;
|
|
61
57
|
/**
|
|
62
58
|
* Open Enum. The status of the ReceivedCredit.
|
|
63
59
|
*/
|
|
@@ -108,25 +104,17 @@ export declare namespace ReceivedCredit {
|
|
|
108
104
|
*/
|
|
109
105
|
financial_address: string;
|
|
110
106
|
/**
|
|
111
|
-
*
|
|
107
|
+
* The money transmission network used to send funds for this ReceivedCredit.
|
|
112
108
|
*/
|
|
113
|
-
|
|
109
|
+
network: BankTransfer.Network;
|
|
114
110
|
/**
|
|
115
111
|
* Hash containing the originating bank account details and type for this bank transfer.
|
|
116
112
|
*/
|
|
117
113
|
originating_bank_account: BankTransfer.OriginatingBankAccount;
|
|
118
|
-
/**
|
|
119
|
-
* Deprecated. Use `originating_bank_account.iban` instead.
|
|
120
|
-
*/
|
|
121
|
-
sepa_bank_account?: BankTransfer.SepaBankAccount;
|
|
122
114
|
/**
|
|
123
115
|
* Freeform string set by originator of the external ReceivedCredit.
|
|
124
116
|
*/
|
|
125
117
|
statement_descriptor?: string;
|
|
126
|
-
/**
|
|
127
|
-
* Deprecated. Use `originating_bank_account.aba` instead.
|
|
128
|
-
*/
|
|
129
|
-
us_bank_account?: BankTransfer.UsBankAccount;
|
|
130
118
|
}
|
|
131
119
|
type Status = 'failed' | 'pending' | 'returned' | 'succeeded' | OtherString;
|
|
132
120
|
interface StatusDetails {
|
|
@@ -156,33 +144,12 @@ export declare namespace ReceivedCredit {
|
|
|
156
144
|
*/
|
|
157
145
|
succeeded_at?: string;
|
|
158
146
|
}
|
|
159
|
-
type Type = 'balance_transfer' | 'bank_transfer' |
|
|
147
|
+
type Type = 'balance_transfer' | 'bank_transfer' | OtherString;
|
|
160
148
|
namespace BalanceTransfer {
|
|
161
|
-
type Type = 'outbound_payment' | 'outbound_transfer' | 'payout' | 'transfer' |
|
|
149
|
+
type Type = 'outbound_payment' | 'outbound_transfer' | 'payout' | 'transfer' | OtherString;
|
|
162
150
|
}
|
|
163
151
|
namespace BankTransfer {
|
|
164
|
-
|
|
165
|
-
/**
|
|
166
|
-
* The bank name the transfer was received from.
|
|
167
|
-
*/
|
|
168
|
-
account_holder_name?: string;
|
|
169
|
-
/**
|
|
170
|
-
* The bank name the transfer was received from.
|
|
171
|
-
*/
|
|
172
|
-
bank_name?: string;
|
|
173
|
-
/**
|
|
174
|
-
* The last 4 digits of the account number that originated the transfer.
|
|
175
|
-
*/
|
|
176
|
-
last4?: string;
|
|
177
|
-
/**
|
|
178
|
-
* Open Enum. The money transmission network used to send funds for this ReceivedCredit.
|
|
179
|
-
*/
|
|
180
|
-
network: GbBankAccount.Network;
|
|
181
|
-
/**
|
|
182
|
-
* The sort code of the account that originated the transfer.
|
|
183
|
-
*/
|
|
184
|
-
sort_code?: string;
|
|
185
|
-
}
|
|
152
|
+
type Network = 'ach' | 'chaps' | 'fedwire' | 'fps' | 'rtp' | 'sepa' | 'sepa_instant' | OtherString;
|
|
186
153
|
interface OriginatingBankAccount {
|
|
187
154
|
/**
|
|
188
155
|
* Hash containing the transaction bank details. Present if `type` field value is `aba`.
|
|
@@ -201,57 +168,6 @@ export declare namespace ReceivedCredit {
|
|
|
201
168
|
*/
|
|
202
169
|
type: OriginatingBankAccount.Type;
|
|
203
170
|
}
|
|
204
|
-
interface SepaBankAccount {
|
|
205
|
-
/**
|
|
206
|
-
* The account holder name of the bank account the transfer was received from.
|
|
207
|
-
*/
|
|
208
|
-
account_holder_name?: string;
|
|
209
|
-
/**
|
|
210
|
-
* The bank name the transfer was received from.
|
|
211
|
-
*/
|
|
212
|
-
bank_name?: string;
|
|
213
|
-
/**
|
|
214
|
-
* The BIC of the SEPA account.
|
|
215
|
-
*/
|
|
216
|
-
bic?: string;
|
|
217
|
-
/**
|
|
218
|
-
* The origination country of the bank transfer.
|
|
219
|
-
*/
|
|
220
|
-
country?: string;
|
|
221
|
-
/**
|
|
222
|
-
* The IBAN that originated the transfer.
|
|
223
|
-
*/
|
|
224
|
-
iban?: string;
|
|
225
|
-
/**
|
|
226
|
-
* The money transmission network used to send funds for this ReceivedCredit.
|
|
227
|
-
*/
|
|
228
|
-
network: SepaBankAccount.Network;
|
|
229
|
-
}
|
|
230
|
-
interface UsBankAccount {
|
|
231
|
-
/**
|
|
232
|
-
* The name of the account holder that sent the payment.
|
|
233
|
-
*/
|
|
234
|
-
account_holder_name?: string;
|
|
235
|
-
/**
|
|
236
|
-
* The bank name the transfer was received from.
|
|
237
|
-
*/
|
|
238
|
-
bank_name?: string;
|
|
239
|
-
/**
|
|
240
|
-
* The last 4 digits of the account number that originated the transfer.
|
|
241
|
-
*/
|
|
242
|
-
last4?: string;
|
|
243
|
-
/**
|
|
244
|
-
* Open Enum. The money transmission network used to send funds for this ReceivedCredit.
|
|
245
|
-
*/
|
|
246
|
-
network: UsBankAccount.Network;
|
|
247
|
-
/**
|
|
248
|
-
* The routing number of the account that originated the transfer.
|
|
249
|
-
*/
|
|
250
|
-
routing_number?: string;
|
|
251
|
-
}
|
|
252
|
-
namespace GbBankAccount {
|
|
253
|
-
type Network = 'chaps' | 'fps' | OtherString;
|
|
254
|
-
}
|
|
255
171
|
namespace OriginatingBankAccount {
|
|
256
172
|
interface Aba {
|
|
257
173
|
/**
|
|
@@ -266,10 +182,6 @@ export declare namespace ReceivedCredit {
|
|
|
266
182
|
* The last 4 digits of the account number that originated the transfer.
|
|
267
183
|
*/
|
|
268
184
|
last4?: string;
|
|
269
|
-
/**
|
|
270
|
-
* Open Enum. The money transmission network used to send funds for this ReceivedCredit.
|
|
271
|
-
*/
|
|
272
|
-
network: Aba.Network;
|
|
273
185
|
/**
|
|
274
186
|
* The routing number of the account that originated the transfer.
|
|
275
187
|
*/
|
|
@@ -296,10 +208,6 @@ export declare namespace ReceivedCredit {
|
|
|
296
208
|
* The IBAN that originated the transfer.
|
|
297
209
|
*/
|
|
298
210
|
iban?: string;
|
|
299
|
-
/**
|
|
300
|
-
* Open Enum. The money transmission network used to send funds for this ReceivedCredit.
|
|
301
|
-
*/
|
|
302
|
-
network: Iban.Network;
|
|
303
211
|
}
|
|
304
212
|
interface SortCode {
|
|
305
213
|
/**
|
|
@@ -314,31 +222,12 @@ export declare namespace ReceivedCredit {
|
|
|
314
222
|
* The last 4 digits of the account number that originated the transfer.
|
|
315
223
|
*/
|
|
316
224
|
last4?: string;
|
|
317
|
-
/**
|
|
318
|
-
* Open Enum. The money transmission network used to send funds for this ReceivedCredit.
|
|
319
|
-
*/
|
|
320
|
-
network: SortCode.Network;
|
|
321
225
|
/**
|
|
322
226
|
* The sort code of the account that originated the transfer.
|
|
323
227
|
*/
|
|
324
228
|
sort_code?: string;
|
|
325
229
|
}
|
|
326
230
|
type Type = 'aba' | 'iban' | 'sort_code' | OtherString;
|
|
327
|
-
namespace Aba {
|
|
328
|
-
type Network = 'ach' | 'rtp' | 'us_domestic_wire' | OtherString;
|
|
329
|
-
}
|
|
330
|
-
namespace Iban {
|
|
331
|
-
type Network = 'sepa_credit_transfer' | OtherString;
|
|
332
|
-
}
|
|
333
|
-
namespace SortCode {
|
|
334
|
-
type Network = 'chaps' | 'fps' | OtherString;
|
|
335
|
-
}
|
|
336
|
-
}
|
|
337
|
-
namespace SepaBankAccount {
|
|
338
|
-
type Network = 'sepa_credit_transfer' | OtherString;
|
|
339
|
-
}
|
|
340
|
-
namespace UsBankAccount {
|
|
341
|
-
type Network = 'ach' | 'rtp' | 'us_domestic_wire' | OtherString;
|
|
342
231
|
}
|
|
343
232
|
}
|
|
344
233
|
namespace StatusDetails {
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
import { StripeResource } from '../../../StripeResource.js';
|
|
2
|
+
import { OtherString } from '../../../shared.js';
|
|
3
|
+
import { RequestOptions, Response } from '../../../lib.js';
|
|
4
|
+
export declare class RecipientVerificationResource extends StripeResource {
|
|
5
|
+
/**
|
|
6
|
+
* Creates a RecipientVerification to verify the recipient you intend to send funds to.
|
|
7
|
+
*/
|
|
8
|
+
create(params: V2.MoneyManagement.RecipientVerificationCreateParams, options?: RequestOptions): Promise<Response<RecipientVerification>>;
|
|
9
|
+
/**
|
|
10
|
+
* Retrieves the details of an existing RecipientVerification by passing the unique RecipientVerification ID.
|
|
11
|
+
*/
|
|
12
|
+
retrieve(id: string, params?: V2.MoneyManagement.RecipientVerificationRetrieveParams, options?: RequestOptions): Promise<Response<RecipientVerification>>;
|
|
13
|
+
/**
|
|
14
|
+
* Acknowledges an existing RecipientVerification in the `awaiting_acknowledgement` state.
|
|
15
|
+
*/
|
|
16
|
+
acknowledge(id: string, params?: V2.MoneyManagement.RecipientVerificationAcknowledgeParams, options?: RequestOptions): Promise<Response<RecipientVerification>>;
|
|
17
|
+
}
|
|
18
|
+
export interface RecipientVerification {
|
|
19
|
+
/**
|
|
20
|
+
* The ID of the RecipientVerification.
|
|
21
|
+
*/
|
|
22
|
+
id: string;
|
|
23
|
+
/**
|
|
24
|
+
* String representing the object's type. Objects of the same type share the same value of the object field.
|
|
25
|
+
*/
|
|
26
|
+
object: 'v2.money_management.recipient_verification';
|
|
27
|
+
/**
|
|
28
|
+
* The resource that consumed this verification.
|
|
29
|
+
*/
|
|
30
|
+
consumed_by?: RecipientVerification.ConsumedBy;
|
|
31
|
+
/**
|
|
32
|
+
* Time at which the RecipientVerification was created.
|
|
33
|
+
* Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
|
|
34
|
+
*/
|
|
35
|
+
created: string;
|
|
36
|
+
/**
|
|
37
|
+
* Time at which the RecipientVerification expires, 5 minutes after the creation. Only applicable for Verification of Payee (VoP) verifications.
|
|
38
|
+
* Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
|
|
39
|
+
*/
|
|
40
|
+
expires_at?: string;
|
|
41
|
+
/**
|
|
42
|
+
* Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
|
43
|
+
*/
|
|
44
|
+
livemode: boolean;
|
|
45
|
+
/**
|
|
46
|
+
* Closed Enum. Match level of the RecipientVerification: `match`, `close_match`, `no_match`, `unavailable`.
|
|
47
|
+
*/
|
|
48
|
+
match_result: RecipientVerification.MatchResult;
|
|
49
|
+
/**
|
|
50
|
+
* Details for the match result.
|
|
51
|
+
*/
|
|
52
|
+
match_result_details: RecipientVerification.MatchResultDetails;
|
|
53
|
+
/**
|
|
54
|
+
* ID of the payout method that was verified.
|
|
55
|
+
*/
|
|
56
|
+
payout_method: string;
|
|
57
|
+
/**
|
|
58
|
+
* ID of the recipient account. Omitted for same-entity payouts.
|
|
59
|
+
*/
|
|
60
|
+
recipient?: string;
|
|
61
|
+
/**
|
|
62
|
+
* Current status of the recipient verification.
|
|
63
|
+
*/
|
|
64
|
+
status: RecipientVerification.Status;
|
|
65
|
+
/**
|
|
66
|
+
* Hash containing timestamps of when the object transitioned to a particular status.
|
|
67
|
+
*/
|
|
68
|
+
status_transitions?: RecipientVerification.StatusTransitions;
|
|
69
|
+
/**
|
|
70
|
+
* Open Enum. The type of verification performed: `verification_of_payee`, `confirmation_of_payee`.
|
|
71
|
+
*/
|
|
72
|
+
verification_type: RecipientVerification.VerificationType;
|
|
73
|
+
}
|
|
74
|
+
export declare namespace RecipientVerification {
|
|
75
|
+
interface ConsumedBy {
|
|
76
|
+
/**
|
|
77
|
+
* The ID of the OutboundPayment that consumed the RecipientVerification.
|
|
78
|
+
*/
|
|
79
|
+
outbound_payment?: string;
|
|
80
|
+
/**
|
|
81
|
+
* The type of resource that consumed the RecipientVerification.
|
|
82
|
+
*/
|
|
83
|
+
type: ConsumedBy.Type;
|
|
84
|
+
}
|
|
85
|
+
type MatchResult = 'close_match' | 'match' | 'no_match' | 'unavailable';
|
|
86
|
+
interface MatchResultDetails {
|
|
87
|
+
/**
|
|
88
|
+
* The business type matched by the provider. Only present for Confirmation of Payee (CoP) verifications.
|
|
89
|
+
*/
|
|
90
|
+
matched_business_type?: MatchResultDetails.MatchedBusinessType;
|
|
91
|
+
/**
|
|
92
|
+
* The account name associated with the bank account as provided by the VoP provider, only present if there is a match or close match.
|
|
93
|
+
*/
|
|
94
|
+
matched_name?: string;
|
|
95
|
+
/**
|
|
96
|
+
* A message describing the match result.
|
|
97
|
+
*/
|
|
98
|
+
message: string;
|
|
99
|
+
/**
|
|
100
|
+
* The business type provided by the user. Only present for Confirmation of Payee (CoP) verifications.
|
|
101
|
+
*/
|
|
102
|
+
provided_business_type?: MatchResultDetails.ProvidedBusinessType;
|
|
103
|
+
/**
|
|
104
|
+
* The name associated with the provided recipient.
|
|
105
|
+
*/
|
|
106
|
+
provided_name: string;
|
|
107
|
+
}
|
|
108
|
+
type Status = 'acknowledged' | 'awaiting_acknowledgement' | 'consumed' | 'expired' | 'verified';
|
|
109
|
+
interface StatusTransitions {
|
|
110
|
+
/**
|
|
111
|
+
* Timestamp describing when a RecipientVerification changed status to `acknowledged`.
|
|
112
|
+
* Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
|
|
113
|
+
*/
|
|
114
|
+
acknowledged_at?: string;
|
|
115
|
+
/**
|
|
116
|
+
* Timestamp describing when a RecipientVerification changed status to `consumed`.
|
|
117
|
+
* Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
|
|
118
|
+
*/
|
|
119
|
+
consumed_at?: string;
|
|
120
|
+
}
|
|
121
|
+
type VerificationType = 'confirmation_of_payee' | 'verification_of_payee' | OtherString;
|
|
122
|
+
namespace ConsumedBy {
|
|
123
|
+
type Type = 'outbound_payment' | OtherString;
|
|
124
|
+
}
|
|
125
|
+
namespace MatchResultDetails {
|
|
126
|
+
type MatchedBusinessType = 'business' | 'personal';
|
|
127
|
+
type ProvidedBusinessType = 'business' | 'personal';
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
export declare namespace V2 {
|
|
131
|
+
namespace MoneyManagement {
|
|
132
|
+
interface RecipientVerificationCreateParams {
|
|
133
|
+
/**
|
|
134
|
+
* ID of the payout method.
|
|
135
|
+
*/
|
|
136
|
+
payout_method: string;
|
|
137
|
+
/**
|
|
138
|
+
* ID of the recipient account. Required if the recipient is different from the sender. Omit for payouts to your own account.
|
|
139
|
+
*/
|
|
140
|
+
recipient?: string;
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
export declare namespace V2 {
|
|
145
|
+
namespace MoneyManagement {
|
|
146
|
+
interface RecipientVerificationRetrieveParams {
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
export declare namespace V2 {
|
|
151
|
+
namespace MoneyManagement {
|
|
152
|
+
interface RecipientVerificationAcknowledgeParams {
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.RecipientVerificationResource = void 0;
|
|
5
|
+
const StripeResource_js_1 = require("../../../StripeResource.js");
|
|
6
|
+
class RecipientVerificationResource extends StripeResource_js_1.StripeResource {
|
|
7
|
+
/**
|
|
8
|
+
* Creates a RecipientVerification to verify the recipient you intend to send funds to.
|
|
9
|
+
*/
|
|
10
|
+
create(params, options) {
|
|
11
|
+
return this._makeRequest('POST', '/v2/money_management/recipient_verifications', params, options);
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Retrieves the details of an existing RecipientVerification by passing the unique RecipientVerification ID.
|
|
15
|
+
*/
|
|
16
|
+
retrieve(id, params, options) {
|
|
17
|
+
return this._makeRequest('GET', `/v2/money_management/recipient_verifications/${encodeURIComponent(id)}`, params, options);
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Acknowledges an existing RecipientVerification in the `awaiting_acknowledgement` state.
|
|
21
|
+
*/
|
|
22
|
+
acknowledge(id, params, options) {
|
|
23
|
+
return this._makeRequest('POST', `/v2/money_management/recipient_verifications/${encodeURIComponent(id)}/acknowledge`, params, options);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
exports.RecipientVerificationResource = RecipientVerificationResource;
|
|
27
|
+
//# sourceMappingURL=RecipientVerifications.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RecipientVerifications.js","sourceRoot":"","sources":["../../../../src/resources/V2/MoneyManagement/RecipientVerifications.ts"],"names":[],"mappings":";AAAA,uCAAuC;;;AAEvC,kEAA0D;AAI1D,MAAa,6BAA8B,SAAQ,kCAAc;IAC/D;;OAEG;IACH,MAAM,CACJ,MAA4D,EAC5D,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,8CAA8C,EAC9C,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;OAEG;IACH,QAAQ,CACN,EAAU,EACV,MAA+D,EAC/D,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,KAAK,EACL,gDAAgD,kBAAkB,CAAC,EAAE,CAAC,EAAE,EACxE,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;OAEG;IACH,WAAW,CACT,EAAU,EACV,MAAkE,EAClE,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,gDAAgD,kBAAkB,CAChE,EAAE,CACH,cAAc,EACf,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;CACF;AA/CD,sEA+CC"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { StripeResource } from '../../../../StripeResource.js';
|
|
2
2
|
import { FinancialAddressCreditSimulation } from './../../../V2/MoneyManagement/FinancialAddressCreditSimulations.js';
|
|
3
|
-
import { FinancialAddressGeneratedMicrodeposits } from './../../../V2/MoneyManagement/FinancialAddressGeneratedMicrodeposits.js';
|
|
4
3
|
import { V2Amount } from './../../V2Amounts.js';
|
|
5
4
|
import { OtherString } from '../../../../shared.js';
|
|
6
5
|
import { RequestOptions, Response } from '../../../../lib.js';
|
|
@@ -10,11 +9,6 @@ export declare class FinancialAddressResource extends StripeResource {
|
|
|
10
9
|
* @throws Stripe.FeatureNotEnabledError
|
|
11
10
|
*/
|
|
12
11
|
credit(id: string, params: V2.MoneyManagement.TestHelpers.FinancialAddressCreditParams, options?: RequestOptions): Promise<Response<FinancialAddressCreditSimulation>>;
|
|
13
|
-
/**
|
|
14
|
-
* Generates microdeposits for a FinancialAddress in a Sandbox environment.
|
|
15
|
-
* @throws Stripe.FeatureNotEnabledError
|
|
16
|
-
*/
|
|
17
|
-
generateMicrodeposits(id: string, params?: V2.MoneyManagement.TestHelpers.FinancialAddressGenerateMicrodepositsParams, options?: RequestOptions): Promise<Response<FinancialAddressGeneratedMicrodeposits>>;
|
|
18
12
|
}
|
|
19
13
|
export declare namespace V2 {
|
|
20
14
|
namespace MoneyManagement {
|
|
@@ -34,15 +28,7 @@ export declare namespace V2 {
|
|
|
34
28
|
statement_descriptor?: string;
|
|
35
29
|
}
|
|
36
30
|
namespace FinancialAddressCreditParams {
|
|
37
|
-
type Network = 'ach' | 'chaps' | 'fps' | 'rtp' | '
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
export declare namespace V2 {
|
|
43
|
-
namespace MoneyManagement {
|
|
44
|
-
namespace TestHelpers {
|
|
45
|
-
interface FinancialAddressGenerateMicrodepositsParams {
|
|
31
|
+
type Network = 'ach' | 'chaps' | 'fedwire' | 'fps' | 'rtp' | 'sepa' | OtherString;
|
|
46
32
|
}
|
|
47
33
|
}
|
|
48
34
|
}
|
|
@@ -11,13 +11,6 @@ class FinancialAddressResource extends StripeResource_js_1.StripeResource {
|
|
|
11
11
|
credit(id, params, options) {
|
|
12
12
|
return this._makeRequest('POST', `/v2/money_management/test_helpers/financial_addresses/${encodeURIComponent(id)}/credit`, params, options);
|
|
13
13
|
}
|
|
14
|
-
/**
|
|
15
|
-
* Generates microdeposits for a FinancialAddress in a Sandbox environment.
|
|
16
|
-
* @throws Stripe.FeatureNotEnabledError
|
|
17
|
-
*/
|
|
18
|
-
generateMicrodeposits(id, params, options) {
|
|
19
|
-
return this._makeRequest('POST', `/v2/money_management/test_helpers/financial_addresses/${encodeURIComponent(id)}/generate_microdeposits`, params, options);
|
|
20
|
-
}
|
|
21
14
|
}
|
|
22
15
|
exports.FinancialAddressResource = FinancialAddressResource;
|
|
23
16
|
//# sourceMappingURL=FinancialAddresses.js.map
|