stripe 20.1.0-beta.1 → 20.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 +47 -1500
- package/OPENAPI_VERSION +1 -1
- package/README.md +0 -1
- package/VERSION +1 -1
- package/cjs/Error.js +1 -115
- package/cjs/apiVersion.js +3 -2
- package/cjs/resources/FinancialConnections/Accounts.js +0 -5
- package/cjs/resources/Mandates.js +0 -5
- package/cjs/resources/PaymentIntents.js +0 -8
- package/cjs/resources/Quotes.js +0 -32
- package/cjs/resources/SubscriptionSchedules.js +0 -4
- package/cjs/resources/Subscriptions.js +0 -4
- package/cjs/resources.js +2 -88
- package/cjs/stripe.core.js +1 -1
- package/esm/Error.js +0 -100
- package/esm/apiVersion.js +2 -1
- package/esm/resources/FinancialConnections/Accounts.js +0 -5
- package/esm/resources/Mandates.js +0 -5
- package/esm/resources/PaymentIntents.js +0 -8
- package/esm/resources/Quotes.js +0 -32
- package/esm/resources/SubscriptionSchedules.js +0 -4
- package/esm/resources/Subscriptions.js +0 -4
- package/esm/resources.js +0 -81
- package/esm/stripe.core.js +1 -1
- package/package.json +1 -1
- package/types/AccountLinks.d.ts +1 -1
- package/types/AccountLinksResource.d.ts +1 -5
- package/types/AccountSessions.d.ts +2 -47
- package/types/AccountSessionsResource.d.ts +0 -264
- package/types/Accounts.d.ts +25 -249
- package/types/AccountsResource.d.ts +114 -620
- package/types/ApplicationFeesResource.d.ts +2 -2
- package/types/Apps/Secrets.d.ts +1 -1
- package/types/Balance.d.ts +2 -2
- package/types/BalanceSettings.d.ts +1 -1
- package/types/BalanceTransactions.d.ts +1 -1
- package/types/BankAccounts.d.ts +10 -12
- package/types/Billing/AlertTriggereds.d.ts +1 -1
- package/types/Billing/Alerts.d.ts +1 -1
- package/types/Billing/CreditBalanceSummary.d.ts +1 -1
- package/types/Billing/CreditBalanceSummaryResource.d.ts +2 -2
- package/types/Billing/CreditBalanceTransactionsResource.d.ts +2 -2
- package/types/Billing/CreditGrants.d.ts +3 -3
- package/types/Billing/CreditGrantsResource.d.ts +3 -3
- package/types/Billing/MeterEvents.d.ts +1 -1
- package/types/Billing/MeterEventsResource.d.ts +1 -1
- package/types/BillingPortal/Configurations.d.ts +10 -3
- package/types/BillingPortal/ConfigurationsResource.d.ts +20 -6
- package/types/BillingPortal/Sessions.d.ts +7 -7
- package/types/BillingPortal/SessionsResource.d.ts +7 -7
- package/types/Capabilities.d.ts +16 -18
- package/types/Cards.d.ts +2 -7
- package/types/CashBalances.d.ts +3 -3
- package/types/Charges.d.ts +59 -179
- package/types/ChargesResource.d.ts +88 -3868
- package/types/Checkout/Sessions.d.ts +20 -297
- package/types/Checkout/SessionsResource.d.ts +59 -417
- package/types/Climate/Orders.d.ts +1 -1
- package/types/Climate/OrdersResource.d.ts +2 -2
- package/types/ConfirmationTokens.d.ts +8 -109
- package/types/Coupons.d.ts +3 -38
- package/types/CouponsResource.d.ts +2 -25
- package/types/CreditNoteLineItems.d.ts +3 -17
- package/types/CreditNotes.d.ts +8 -5
- package/types/CreditNotesResource.d.ts +5 -5
- package/types/CustomerBalanceTransactions.d.ts +9 -6
- package/types/CustomerCashBalanceTransactions.d.ts +13 -10
- package/types/CustomerSessions.d.ts +1 -42
- package/types/CustomerSessionsResource.d.ts +0 -41
- package/types/Customers.d.ts +8 -5
- package/types/CustomersResource.d.ts +21 -23
- package/types/Discounts.d.ts +6 -6
- package/types/Disputes.d.ts +3 -43
- package/types/DisputesResource.d.ts +1 -12
- package/types/Entitlements/ActiveEntitlements.d.ts +1 -1
- package/types/Errors.d.ts +0 -85
- package/types/EventTypes.d.ts +0 -630
- package/types/Events.d.ts +1 -97
- package/types/ExchangeRates.d.ts +2 -2
- package/types/FeeRefunds.d.ts +2 -2
- package/types/FileLinks.d.ts +1 -1
- package/types/FileLinksResource.d.ts +2 -2
- package/types/Files.d.ts +4 -4
- package/types/FilesResource.d.ts +3 -3
- package/types/FinancialConnections/Accounts.d.ts +4 -37
- package/types/FinancialConnections/AccountsResource.d.ts +6 -38
- package/types/FinancialConnections/Sessions.d.ts +3 -51
- package/types/FinancialConnections/SessionsResource.d.ts +4 -41
- package/types/Forwarding/Requests.d.ts +1 -1
- package/types/Forwarding/RequestsResource.d.ts +1 -1
- package/types/FundingInstructions.d.ts +2 -2
- package/types/Identity/VerificationReports.d.ts +8 -8
- package/types/Identity/VerificationSessions.d.ts +11 -11
- package/types/Identity/VerificationSessionsResource.d.ts +18 -12
- package/types/InvoiceItems.d.ts +8 -13
- package/types/InvoiceItemsResource.d.ts +16 -114
- package/types/InvoiceLineItems.d.ts +10 -46
- package/types/InvoicePayments.d.ts +1 -1
- package/types/InvoiceRenderingTemplates.d.ts +1 -1
- package/types/Invoices.d.ts +60 -204
- package/types/InvoicesResource.d.ts +132 -1651
- package/types/Issuing/Authorizations.d.ts +20 -20
- package/types/Issuing/AuthorizationsResource.d.ts +4 -4
- package/types/Issuing/Cardholders.d.ts +13 -13
- package/types/Issuing/CardholdersResource.d.ts +21 -22
- package/types/Issuing/Cards.d.ts +10 -10
- package/types/Issuing/CardsResource.d.ts +13 -13
- package/types/Issuing/Disputes.d.ts +7 -7
- package/types/Issuing/DisputesResource.d.ts +5 -5
- package/types/Issuing/PersonalizationDesigns.d.ts +1 -1
- package/types/Issuing/PersonalizationDesignsResource.d.ts +2 -2
- package/types/Issuing/Tokens.d.ts +1 -1
- package/types/Issuing/Transactions.d.ts +12 -17
- package/types/Issuing/TransactionsResource.d.ts +1 -6
- package/types/LineItems.d.ts +4 -48
- package/types/LoginLinks.d.ts +1 -1
- package/types/Mandates.d.ts +1 -69
- package/types/MandatesResource.d.ts +0 -31
- package/types/PaymentAttemptRecords.d.ts +119 -135
- package/types/PaymentIntentAmountDetailsLineItems.d.ts +3 -3
- package/types/PaymentIntents.d.ts +48 -705
- package/types/PaymentIntentsResource.d.ts +6867 -19451
- package/types/PaymentLinks.d.ts +7 -12
- package/types/PaymentLinksResource.d.ts +28 -38
- package/types/PaymentMethodConfigurations.d.ts +4 -184
- package/types/PaymentMethodConfigurationsResource.d.ts +76 -326
- package/types/PaymentMethodDomains.d.ts +1 -1
- package/types/PaymentMethods.d.ts +10 -116
- package/types/PaymentMethodsResource.d.ts +7 -116
- package/types/PaymentRecords.d.ts +126 -135
- package/types/PaymentRecordsResource.d.ts +7 -7
- package/types/Payouts.d.ts +7 -7
- package/types/PayoutsResource.d.ts +3 -3
- package/types/Persons.d.ts +21 -23
- package/types/Plans.d.ts +5 -5
- package/types/PlansResource.d.ts +6 -6
- package/types/Prices.d.ts +6 -28
- package/types/PricesResource.d.ts +10 -32
- package/types/Products.d.ts +10 -10
- package/types/ProductsResource.d.ts +14 -14
- package/types/PromotionCodes.d.ts +5 -5
- package/types/PromotionCodesResource.d.ts +5 -5
- package/types/Quotes.d.ts +14 -602
- package/types/QuotesResource.d.ts +298 -2628
- package/types/Radar/EarlyFraudWarnings.d.ts +1 -1
- package/types/Radar/ValueListItems.d.ts +1 -1
- package/types/Radar/ValueLists.d.ts +2 -2
- package/types/Radar/ValueListsResource.d.ts +2 -2
- package/types/Refunds.d.ts +3 -17
- package/types/RefundsResource.d.ts +3 -3
- package/types/Reporting/ReportRuns.d.ts +3 -3
- package/types/Reporting/ReportRunsResource.d.ts +2 -2
- package/types/Reporting/ReportTypes.d.ts +3 -3
- package/types/Reviews.d.ts +1 -1
- package/types/SetupAttempts.d.ts +22 -60
- package/types/SetupIntents.d.ts +22 -157
- package/types/SetupIntentsResource.d.ts +50 -673
- package/types/ShippingRates.d.ts +3 -3
- package/types/ShippingRatesResource.d.ts +3 -3
- package/types/Sigma/ScheduledQueryRuns.d.ts +1 -1
- package/types/SourceMandateNotifications.d.ts +3 -3
- package/types/Sources.d.ts +5 -34
- package/types/SourcesResource.d.ts +2 -2
- package/types/SubscriptionItems.d.ts +7 -33
- package/types/SubscriptionItemsResource.d.ts +22 -131
- package/types/SubscriptionSchedules.d.ts +9 -209
- package/types/SubscriptionSchedulesResource.d.ts +39 -1257
- package/types/Subscriptions.d.ts +41 -251
- package/types/SubscriptionsResource.d.ts +94 -734
- package/types/Tax/Associations.d.ts +3 -3
- package/types/Tax/AssociationsResource.d.ts +1 -1
- package/types/Tax/CalculationLineItems.d.ts +7 -7
- package/types/Tax/Calculations.d.ts +12 -12
- package/types/Tax/CalculationsResource.d.ts +7 -7
- package/types/Tax/Registrations.d.ts +3 -3
- package/types/Tax/Settings.d.ts +1 -1
- package/types/Tax/SettingsResource.d.ts +1 -1
- package/types/Tax/TransactionLineItems.d.ts +5 -5
- package/types/Tax/Transactions.d.ts +9 -9
- package/types/Tax/TransactionsResource.d.ts +10 -10
- package/types/TaxIds.d.ts +6 -6
- package/types/TaxIdsResource.d.ts +4 -4
- package/types/TaxRates.d.ts +1 -1
- package/types/TaxRatesResource.d.ts +2 -2
- package/types/Terminal/Configurations.d.ts +0 -9
- package/types/Terminal/ConfigurationsResource.d.ts +0 -28
- package/types/Terminal/ConnectionTokens.d.ts +1 -1
- package/types/Terminal/Locations.d.ts +2 -2
- package/types/Terminal/LocationsResource.d.ts +3 -3
- package/types/Terminal/Readers.d.ts +10 -30
- package/types/Terminal/ReadersResource.d.ts +7 -7
- package/types/TestHelpers/ConfirmationTokensResource.d.ts +5 -107
- package/types/TestHelpers/CustomersResource.d.ts +2 -2
- package/types/TestHelpers/Issuing/AuthorizationsResource.d.ts +10 -10
- package/types/TestHelpers/Issuing/TransactionsResource.d.ts +5 -5
- package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +1 -27
- package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +1 -27
- package/types/Tokens.d.ts +4 -4
- package/types/TokensResource.d.ts +17 -17
- package/types/Topups.d.ts +3 -3
- package/types/TopupsResource.d.ts +3 -3
- package/types/TransferReversals.d.ts +4 -4
- package/types/Transfers.d.ts +5 -10
- package/types/TransfersResource.d.ts +6 -11
- package/types/Treasury/CreditReversals.d.ts +3 -3
- package/types/Treasury/CreditReversalsResource.d.ts +1 -1
- package/types/Treasury/DebitReversals.d.ts +3 -3
- package/types/Treasury/DebitReversalsResource.d.ts +1 -1
- package/types/Treasury/FinancialAccountFeatures.d.ts +0 -7
- package/types/Treasury/FinancialAccounts.d.ts +1 -6
- package/types/Treasury/FinancialAccountsResource.d.ts +2 -39
- package/types/Treasury/InboundTransfers.d.ts +4 -4
- package/types/Treasury/InboundTransfersResource.d.ts +2 -2
- package/types/Treasury/OutboundPayments.d.ts +5 -5
- package/types/Treasury/OutboundPaymentsResource.d.ts +4 -4
- package/types/Treasury/OutboundTransfers.d.ts +4 -30
- package/types/Treasury/OutboundTransfersResource.d.ts +3 -29
- package/types/Treasury/ReceivedCredits.d.ts +9 -35
- package/types/Treasury/ReceivedDebits.d.ts +6 -37
- package/types/Treasury/TransactionEntries.d.ts +11 -11
- package/types/Treasury/Transactions.d.ts +11 -11
- package/types/V2/Core/AccountLinks.d.ts +13 -21
- package/types/V2/Core/AccountLinksResource.d.ts +8 -16
- package/types/V2/Core/AccountPersons.d.ts +55 -10
- package/types/V2/Core/AccountTokensResource.d.ts +129 -24
- package/types/V2/Core/Accounts/PersonTokensResource.d.ts +48 -3
- package/types/V2/Core/Accounts/PersonsResource.d.ts +101 -11
- package/types/V2/Core/Accounts.d.ts +256 -1349
- package/types/V2/Core/AccountsResource.d.ts +282 -567
- package/types/V2/Core/EventTypes.d.ts +10 -1542
- package/types/WebhookEndpoints.d.ts +1 -1
- package/types/WebhookEndpointsResource.d.ts +5 -79
- package/types/apiVersion.d.ts +2 -1
- package/types/index.d.ts +0 -134
- package/types/lib.d.ts +0 -10
- package/cjs/resources/AccountNotices.js +0 -21
- package/cjs/resources/Billing/Analytics/MeterUsage.js +0 -12
- package/cjs/resources/Capital/FinancingOffers.js +0 -21
- package/cjs/resources/Capital/FinancingSummary.js +0 -12
- package/cjs/resources/Capital/FinancingTransactions.js +0 -17
- package/cjs/resources/ExternalAccounts.js +0 -23
- package/cjs/resources/FinancialConnections/Institutions.js +0 -17
- package/cjs/resources/FxQuotes.js +0 -15
- package/cjs/resources/Issuing/CreditUnderwritingRecords.js +0 -33
- package/cjs/resources/Issuing/DisputeSettlementDetails.js +0 -17
- package/cjs/resources/Issuing/FraudLiabilityDebits.js +0 -17
- package/cjs/resources/Margins.js +0 -22
- package/cjs/resources/Orders.js +0 -24
- package/cjs/resources/Privacy/RedactionJobs.js +0 -42
- package/cjs/resources/Tax/Forms.js +0 -20
- package/cjs/resources/Terminal/ReaderCollectedData.js +0 -12
- package/cjs/resources/V2/Billing/BillSettings/Versions.js +0 -17
- package/cjs/resources/V2/Billing/BillSettings.js +0 -27
- package/cjs/resources/V2/Billing/Cadences.js +0 -23
- package/cjs/resources/V2/Billing/CollectionSettings/Versions.js +0 -17
- package/cjs/resources/V2/Billing/CollectionSettings.js +0 -30
- package/cjs/resources/V2/Billing/Profiles.js +0 -19
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.js +0 -33
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.js +0 -37
- package/cjs/resources/V2/MoneyManagement/Adjustments.js +0 -17
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +0 -29
- package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js +0 -21
- package/cjs/resources/V2/MoneyManagement/InboundTransfers.js +0 -21
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -16
- package/cjs/resources/V2/MoneyManagement/OutboundPayments.js +0 -25
- package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -29
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js +0 -25
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.js +0 -25
- package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +0 -12
- package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js +0 -17
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js +0 -17
- package/cjs/resources/V2/MoneyManagement/TransactionEntries.js +0 -17
- package/cjs/resources/V2/MoneyManagement/Transactions.js +0 -17
- package/cjs/resources/V2/TestHelpers/FinancialAddresses.js +0 -16
- package/esm/resources/AccountNotices.js +0 -18
- package/esm/resources/Billing/Analytics/MeterUsage.js +0 -9
- package/esm/resources/Capital/FinancingOffers.js +0 -18
- package/esm/resources/Capital/FinancingSummary.js +0 -9
- package/esm/resources/Capital/FinancingTransactions.js +0 -14
- package/esm/resources/ExternalAccounts.js +0 -20
- package/esm/resources/FinancialConnections/Institutions.js +0 -14
- package/esm/resources/FxQuotes.js +0 -12
- package/esm/resources/Issuing/CreditUnderwritingRecords.js +0 -30
- package/esm/resources/Issuing/DisputeSettlementDetails.js +0 -14
- package/esm/resources/Issuing/FraudLiabilityDebits.js +0 -14
- package/esm/resources/Margins.js +0 -19
- package/esm/resources/Orders.js +0 -21
- package/esm/resources/Privacy/RedactionJobs.js +0 -39
- package/esm/resources/Tax/Forms.js +0 -17
- package/esm/resources/Terminal/ReaderCollectedData.js +0 -9
- package/esm/resources/V2/Billing/BillSettings/Versions.js +0 -14
- package/esm/resources/V2/Billing/BillSettings.js +0 -24
- package/esm/resources/V2/Billing/Cadences.js +0 -20
- package/esm/resources/V2/Billing/CollectionSettings/Versions.js +0 -14
- package/esm/resources/V2/Billing/CollectionSettings.js +0 -27
- package/esm/resources/V2/Billing/Profiles.js +0 -16
- package/esm/resources/V2/Core/Vault/GbBankAccounts.js +0 -30
- package/esm/resources/V2/Core/Vault/UsBankAccounts.js +0 -34
- package/esm/resources/V2/MoneyManagement/Adjustments.js +0 -14
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +0 -26
- package/esm/resources/V2/MoneyManagement/FinancialAddresses.js +0 -18
- package/esm/resources/V2/MoneyManagement/InboundTransfers.js +0 -18
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -13
- package/esm/resources/V2/MoneyManagement/OutboundPayments.js +0 -22
- package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -26
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.js +0 -22
- package/esm/resources/V2/MoneyManagement/PayoutMethods.js +0 -22
- package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +0 -9
- package/esm/resources/V2/MoneyManagement/ReceivedCredits.js +0 -14
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.js +0 -14
- package/esm/resources/V2/MoneyManagement/TransactionEntries.js +0 -14
- package/esm/resources/V2/MoneyManagement/Transactions.js +0 -14
- package/esm/resources/V2/TestHelpers/FinancialAddresses.js +0 -13
- package/types/AccountNotices.d.ts +0 -113
- package/types/AccountNoticesResource.d.ts +0 -98
- package/types/Billing/Analytics/MeterUsage.d.ts +0 -31
- package/types/Billing/Analytics/MeterUsageResource.d.ts +0 -689
- package/types/Billing/Analytics/MeterUsageRows.d.ts +0 -51
- package/types/Capital/FinancingOffers.d.ts +0 -188
- package/types/Capital/FinancingOffersResource.d.ts +0 -97
- package/types/Capital/FinancingSummary.d.ts +0 -106
- package/types/Capital/FinancingSummaryResource.d.ts +0 -27
- package/types/Capital/FinancingTransactions.d.ts +0 -135
- package/types/Capital/FinancingTransactionsResource.d.ts +0 -68
- package/types/ExternalAccountsResource.d.ts +0 -304
- package/types/FinancialConnections/AccountInferredBalances.d.ts +0 -38
- package/types/FinancialConnections/Institutions.d.ts +0 -98
- package/types/FinancialConnections/InstitutionsResource.d.ts +0 -47
- package/types/FxQuotes.d.ts +0 -155
- package/types/FxQuotesResource.d.ts +0 -130
- package/types/Issuing/CreditUnderwritingRecords.d.ts +0 -451
- package/types/Issuing/CreditUnderwritingRecordsResource.d.ts +0 -1032
- package/types/Issuing/DisputeSettlementDetails.d.ts +0 -85
- package/types/Issuing/DisputeSettlementDetailsResource.d.ts +0 -52
- package/types/Issuing/FraudLiabilityDebits.d.ts +0 -52
- package/types/Issuing/FraudLiabilityDebitsResource.d.ts +0 -52
- package/types/Issuing/Settlements.d.ts +0 -113
- package/types/Margins.d.ts +0 -56
- package/types/MarginsResource.d.ts +0 -114
- package/types/Orders.d.ts +0 -1163
- package/types/OrdersResource.d.ts +0 -5505
- package/types/Privacy/RedactionJobValidationErrors.d.ts +0 -60
- package/types/Privacy/RedactionJobs.d.ts +0 -111
- package/types/Privacy/RedactionJobsResource.d.ts +0 -230
- package/types/QuoteLines.d.ts +0 -634
- package/types/QuotePreviewInvoices.d.ts +0 -1771
- package/types/QuotePreviewSubscriptionSchedules.d.ts +0 -908
- package/types/Tax/Forms.d.ts +0 -220
- package/types/Tax/FormsResource.d.ts +0 -107
- package/types/Terminal/ReaderCollectedData.d.ts +0 -51
- package/types/Terminal/ReaderCollectedDataResource.d.ts +0 -29
- package/types/V2/Billing/BillSettingVersions.d.ts +0 -97
- package/types/V2/Billing/BillSettings/VersionsResource.d.ts +0 -58
- package/types/V2/Billing/BillSettings.d.ts +0 -120
- package/types/V2/Billing/BillSettingsResource.d.ts +0 -241
- package/types/V2/Billing/Cadences.d.ts +0 -690
- package/types/V2/Billing/CadencesResource.d.ts +0 -487
- package/types/V2/Billing/CollectionSettingVersions.d.ts +0 -318
- package/types/V2/Billing/CollectionSettings/VersionsResource.d.ts +0 -62
- package/types/V2/Billing/CollectionSettings.d.ts +0 -341
- package/types/V2/Billing/CollectionSettingsResource.d.ts +0 -683
- package/types/V2/Billing/Profiles.d.ts +0 -70
- package/types/V2/Billing/ProfilesResource.d.ts +0 -150
- package/types/V2/Core/Vault/GbBankAccounts.d.ts +0 -160
- package/types/V2/Core/Vault/GbBankAccountsResource.d.ts +0 -194
- package/types/V2/Core/Vault/UsBankAccounts.d.ts +0 -116
- package/types/V2/Core/Vault/UsBankAccountsResource.d.ts +0 -198
- package/types/V2/FinancialAddressCreditSimulations.d.ts +0 -27
- package/types/V2/FinancialAddressGeneratedMicrodeposits.d.ts +0 -32
- package/types/V2/MoneyManagement/Adjustments.d.ts +0 -110
- package/types/V2/MoneyManagement/AdjustmentsResource.d.ts +0 -83
- package/types/V2/MoneyManagement/FinancialAccounts.d.ts +0 -148
- package/types/V2/MoneyManagement/FinancialAccountsResource.d.ts +0 -172
- package/types/V2/MoneyManagement/FinancialAddresses.d.ts +0 -175
- package/types/V2/MoneyManagement/FinancialAddressesResource.d.ts +0 -109
- package/types/V2/MoneyManagement/InboundTransfers.d.ts +0 -212
- package/types/V2/MoneyManagement/InboundTransfersResource.d.ts +0 -144
- package/types/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +0 -170
- package/types/V2/MoneyManagement/OutboundPaymentQuotesResource.d.ts +0 -115
- package/types/V2/MoneyManagement/OutboundPayments.d.ts +0 -278
- package/types/V2/MoneyManagement/OutboundPaymentsResource.d.ts +0 -242
- package/types/V2/MoneyManagement/OutboundSetupIntents.d.ts +0 -97
- package/types/V2/MoneyManagement/OutboundSetupIntentsResource.d.ts +0 -296
- package/types/V2/MoneyManagement/OutboundTransfers.d.ts +0 -251
- package/types/V2/MoneyManagement/OutboundTransfersResource.d.ts +0 -208
- package/types/V2/MoneyManagement/PayoutMethods.d.ts +0 -160
- package/types/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +0 -93
- package/types/V2/MoneyManagement/PayoutMethodsBankAccountSpecResource.d.ts +0 -41
- package/types/V2/MoneyManagement/PayoutMethodsResource.d.ts +0 -113
- package/types/V2/MoneyManagement/ReceivedCredits.d.ts +0 -302
- package/types/V2/MoneyManagement/ReceivedCreditsResource.d.ts +0 -78
- package/types/V2/MoneyManagement/ReceivedDebits.d.ts +0 -176
- package/types/V2/MoneyManagement/ReceivedDebitsResource.d.ts +0 -48
- package/types/V2/MoneyManagement/TransactionEntries.d.ts +0 -162
- package/types/V2/MoneyManagement/TransactionEntriesResource.d.ts +0 -82
- package/types/V2/MoneyManagement/Transactions.d.ts +0 -177
- package/types/V2/MoneyManagement/TransactionsResource.d.ts +0 -83
- package/types/V2/TestHelpers/FinancialAddressesResource.d.ts +0 -68
|
@@ -9,11 +9,6 @@ declare module 'stripe' {
|
|
|
9
9
|
*/
|
|
10
10
|
supported_currencies: Array<string>;
|
|
11
11
|
|
|
12
|
-
/**
|
|
13
|
-
* The display name for the FinancialAccount. Use this field to customize the names of the FinancialAccounts for your connected accounts. Unlike the `nickname` field, `display_name` is not internal metadata and will be exposed to connected accounts.
|
|
14
|
-
*/
|
|
15
|
-
display_name?: Stripe.Emptyable<string>;
|
|
16
|
-
|
|
17
12
|
/**
|
|
18
13
|
* Specifies which fields in the response should be expanded.
|
|
19
14
|
*/
|
|
@@ -25,7 +20,7 @@ declare module 'stripe' {
|
|
|
25
20
|
features?: FinancialAccountCreateParams.Features;
|
|
26
21
|
|
|
27
22
|
/**
|
|
28
|
-
* Set of [key-value pairs](https://stripe.com/
|
|
23
|
+
* Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
|
29
24
|
*/
|
|
30
25
|
metadata?: Stripe.MetadataParam;
|
|
31
26
|
|
|
@@ -102,20 +97,11 @@ declare module 'stripe' {
|
|
|
102
97
|
|
|
103
98
|
namespace FinancialAddresses {
|
|
104
99
|
interface Aba {
|
|
105
|
-
/**
|
|
106
|
-
* Requested bank partner
|
|
107
|
-
*/
|
|
108
|
-
bank?: Aba.Bank;
|
|
109
|
-
|
|
110
100
|
/**
|
|
111
101
|
* Whether the FinancialAccount should have the Feature.
|
|
112
102
|
*/
|
|
113
103
|
requested: boolean;
|
|
114
104
|
}
|
|
115
|
-
|
|
116
|
-
namespace Aba {
|
|
117
|
-
type Bank = 'evolve' | 'fifth_third' | 'goldman_sachs';
|
|
118
|
-
}
|
|
119
105
|
}
|
|
120
106
|
|
|
121
107
|
interface InboundTransfers {
|
|
@@ -225,11 +211,6 @@ declare module 'stripe' {
|
|
|
225
211
|
}
|
|
226
212
|
|
|
227
213
|
interface FinancialAccountUpdateParams {
|
|
228
|
-
/**
|
|
229
|
-
* The display name for the FinancialAccount. Use this field to customize the names of the FinancialAccounts for your connected accounts. Unlike the `nickname` field, `display_name` is not internal metadata and will be exposed to connected accounts.
|
|
230
|
-
*/
|
|
231
|
-
display_name?: Stripe.Emptyable<string>;
|
|
232
|
-
|
|
233
214
|
/**
|
|
234
215
|
* Specifies which fields in the response should be expanded.
|
|
235
216
|
*/
|
|
@@ -246,7 +227,7 @@ declare module 'stripe' {
|
|
|
246
227
|
forwarding_settings?: FinancialAccountUpdateParams.ForwardingSettings;
|
|
247
228
|
|
|
248
229
|
/**
|
|
249
|
-
* Set of [key-value pairs](https://stripe.com/
|
|
230
|
+
* Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
|
250
231
|
*/
|
|
251
232
|
metadata?: Stripe.MetadataParam;
|
|
252
233
|
|
|
@@ -323,20 +304,11 @@ declare module 'stripe' {
|
|
|
323
304
|
|
|
324
305
|
namespace FinancialAddresses {
|
|
325
306
|
interface Aba {
|
|
326
|
-
/**
|
|
327
|
-
* Requested bank partner
|
|
328
|
-
*/
|
|
329
|
-
bank?: Aba.Bank;
|
|
330
|
-
|
|
331
307
|
/**
|
|
332
308
|
* Whether the FinancialAccount should have the Feature.
|
|
333
309
|
*/
|
|
334
310
|
requested: boolean;
|
|
335
311
|
}
|
|
336
|
-
|
|
337
|
-
namespace Aba {
|
|
338
|
-
type Bank = 'evolve' | 'fifth_third' | 'goldman_sachs';
|
|
339
|
-
}
|
|
340
312
|
}
|
|
341
313
|
|
|
342
314
|
interface InboundTransfers {
|
|
@@ -588,20 +560,11 @@ declare module 'stripe' {
|
|
|
588
560
|
|
|
589
561
|
namespace FinancialAddresses {
|
|
590
562
|
interface Aba {
|
|
591
|
-
/**
|
|
592
|
-
* Requested bank partner
|
|
593
|
-
*/
|
|
594
|
-
bank?: Aba.Bank;
|
|
595
|
-
|
|
596
563
|
/**
|
|
597
564
|
* Whether the FinancialAccount should have the Feature.
|
|
598
565
|
*/
|
|
599
566
|
requested: boolean;
|
|
600
567
|
}
|
|
601
|
-
|
|
602
|
-
namespace Aba {
|
|
603
|
-
type Bank = 'evolve' | 'fifth_third' | 'goldman_sachs';
|
|
604
|
-
}
|
|
605
568
|
}
|
|
606
569
|
|
|
607
570
|
interface InboundTransfers {
|
|
@@ -4,7 +4,7 @@ declare module 'stripe' {
|
|
|
4
4
|
namespace Stripe {
|
|
5
5
|
namespace Treasury {
|
|
6
6
|
/**
|
|
7
|
-
* Use [InboundTransfers](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/into/inbound-transfers) to add funds to your [FinancialAccount](https://stripe.com
|
|
7
|
+
* Use [InboundTransfers](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/into/inbound-transfers) to add funds to your [FinancialAccount](https://api.stripe.com#financial_accounts) via a PaymentMethod that is owned by you. The funds will be transferred via an ACH debit.
|
|
8
8
|
*
|
|
9
9
|
* Related guide: [Moving money with Treasury using InboundTransfer objects](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/into/inbound-transfers)
|
|
10
10
|
*/
|
|
@@ -55,7 +55,7 @@ declare module 'stripe' {
|
|
|
55
55
|
financial_account: string;
|
|
56
56
|
|
|
57
57
|
/**
|
|
58
|
-
* A [hosted transaction receipt](https://stripe.com/
|
|
58
|
+
* A [hosted transaction receipt](https://docs.stripe.com/treasury/moving-money/regulatory-receipts) URL that is provided when money movement is considered regulated under Stripe's money transmission licenses.
|
|
59
59
|
*/
|
|
60
60
|
hosted_regulatory_receipt_url: string | null;
|
|
61
61
|
|
|
@@ -67,7 +67,7 @@ declare module 'stripe' {
|
|
|
67
67
|
livemode: boolean;
|
|
68
68
|
|
|
69
69
|
/**
|
|
70
|
-
* Set of [key-value pairs](https://stripe.com/
|
|
70
|
+
* Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
|
|
71
71
|
*/
|
|
72
72
|
metadata: Stripe.Metadata;
|
|
73
73
|
|
|
@@ -194,7 +194,7 @@ declare module 'stripe' {
|
|
|
194
194
|
mandate?: string | Stripe.Mandate;
|
|
195
195
|
|
|
196
196
|
/**
|
|
197
|
-
* The network rails used. See the [docs](https://stripe.com/
|
|
197
|
+
* The network rails used. See the [docs](https://docs.stripe.com/treasury/money-movement/timelines) to learn more about money movement timelines for each network type.
|
|
198
198
|
*/
|
|
199
199
|
network: 'ach';
|
|
200
200
|
|
|
@@ -35,12 +35,12 @@ declare module 'stripe' {
|
|
|
35
35
|
expand?: Array<string>;
|
|
36
36
|
|
|
37
37
|
/**
|
|
38
|
-
* Set of [key-value pairs](https://stripe.com/
|
|
38
|
+
* Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
|
39
39
|
*/
|
|
40
40
|
metadata?: Stripe.MetadataParam;
|
|
41
41
|
|
|
42
42
|
/**
|
|
43
|
-
* The complete description that appears on your customers' statements. Maximum 10 characters.
|
|
43
|
+
* The complete description that appears on your customers' statements. Maximum 10 characters. Can only include -#.$&*, spaces, and alphanumeric characters.
|
|
44
44
|
*/
|
|
45
45
|
statement_descriptor?: string;
|
|
46
46
|
}
|
|
@@ -4,7 +4,7 @@ declare module 'stripe' {
|
|
|
4
4
|
namespace Stripe {
|
|
5
5
|
namespace Treasury {
|
|
6
6
|
/**
|
|
7
|
-
* Use [OutboundPayments](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/out-of/outbound-payments) to send funds to another party's external bank account or [FinancialAccount](https://stripe.com
|
|
7
|
+
* Use [OutboundPayments](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/out-of/outbound-payments) to send funds to another party's external bank account or [FinancialAccount](https://api.stripe.com#financial_accounts). To send money to an account belonging to the same user, use an [OutboundTransfer](https://api.stripe.com#outbound_transfers).
|
|
8
8
|
*
|
|
9
9
|
* Simulate OutboundPayment state changes with the `/v1/test_helpers/treasury/outbound_payments` endpoints. These methods can only be called on test mode objects.
|
|
10
10
|
*
|
|
@@ -42,7 +42,7 @@ declare module 'stripe' {
|
|
|
42
42
|
currency: string;
|
|
43
43
|
|
|
44
44
|
/**
|
|
45
|
-
* ID of the [customer](https://stripe.com/
|
|
45
|
+
* ID of the [customer](https://docs.stripe.com/api/customers) to whom an OutboundPayment is sent.
|
|
46
46
|
*/
|
|
47
47
|
customer: string | null;
|
|
48
48
|
|
|
@@ -77,7 +77,7 @@ declare module 'stripe' {
|
|
|
77
77
|
financial_account: string;
|
|
78
78
|
|
|
79
79
|
/**
|
|
80
|
-
* A [hosted transaction receipt](https://stripe.com/
|
|
80
|
+
* A [hosted transaction receipt](https://docs.stripe.com/treasury/moving-money/regulatory-receipts) URL that is provided when money movement is considered regulated under Stripe's money transmission licenses.
|
|
81
81
|
*/
|
|
82
82
|
hosted_regulatory_receipt_url: string | null;
|
|
83
83
|
|
|
@@ -87,7 +87,7 @@ declare module 'stripe' {
|
|
|
87
87
|
livemode: boolean;
|
|
88
88
|
|
|
89
89
|
/**
|
|
90
|
-
* Set of [key-value pairs](https://stripe.com/
|
|
90
|
+
* Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
|
|
91
91
|
*/
|
|
92
92
|
metadata: Stripe.Metadata;
|
|
93
93
|
|
|
@@ -194,7 +194,7 @@ declare module 'stripe' {
|
|
|
194
194
|
mandate?: string | Stripe.Mandate;
|
|
195
195
|
|
|
196
196
|
/**
|
|
197
|
-
* The network rails used. See the [docs](https://stripe.com/
|
|
197
|
+
* The network rails used. See the [docs](https://docs.stripe.com/treasury/money-movement/timelines) to learn more about money movement timelines for each network type.
|
|
198
198
|
*/
|
|
199
199
|
network: UsBankAccount.Network;
|
|
200
200
|
|
|
@@ -55,12 +55,12 @@ declare module 'stripe' {
|
|
|
55
55
|
expand?: Array<string>;
|
|
56
56
|
|
|
57
57
|
/**
|
|
58
|
-
* Set of [key-value pairs](https://stripe.com/
|
|
58
|
+
* Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
|
59
59
|
*/
|
|
60
60
|
metadata?: Stripe.MetadataParam;
|
|
61
61
|
|
|
62
62
|
/**
|
|
63
|
-
* The description that appears on the receiving end for this OutboundPayment (for example, bank statement for external bank transfer). Maximum 10 characters for `ach` payments, 140 characters for `us_domestic_wire` payments, or 500 characters for `stripe` network transfers. The default value is "payment".
|
|
63
|
+
* The description that appears on the receiving end for this OutboundPayment (for example, bank statement for external bank transfer). Maximum 10 characters for `ach` payments, 140 characters for `us_domestic_wire` payments, or 500 characters for `stripe` network transfers. Can only include -#.$&*, spaces, and alphanumeric characters. The default value is "payment".
|
|
64
64
|
*/
|
|
65
65
|
statement_descriptor?: string;
|
|
66
66
|
}
|
|
@@ -78,7 +78,7 @@ declare module 'stripe' {
|
|
|
78
78
|
financial_account?: string;
|
|
79
79
|
|
|
80
80
|
/**
|
|
81
|
-
* Set of [key-value pairs](https://stripe.com/
|
|
81
|
+
* Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
|
82
82
|
*/
|
|
83
83
|
metadata?: Stripe.MetadataParam;
|
|
84
84
|
|
|
@@ -164,7 +164,7 @@ declare module 'stripe' {
|
|
|
164
164
|
namespace DestinationPaymentMethodOptions {
|
|
165
165
|
interface UsBankAccount {
|
|
166
166
|
/**
|
|
167
|
-
* Specifies the network rails to be used. If not set, will default to the PaymentMethod's preferred network. See the [docs](https://stripe.com/
|
|
167
|
+
* Specifies the network rails to be used. If not set, will default to the PaymentMethod's preferred network. See the [docs](https://docs.stripe.com/treasury/money-movement/timelines) to learn more about money movement timelines for each network type.
|
|
168
168
|
*/
|
|
169
169
|
network?: UsBankAccount.Network;
|
|
170
170
|
}
|
|
@@ -4,7 +4,7 @@ declare module 'stripe' {
|
|
|
4
4
|
namespace Stripe {
|
|
5
5
|
namespace Treasury {
|
|
6
6
|
/**
|
|
7
|
-
* Use [OutboundTransfers](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/out-of/outbound-transfers) to transfer funds from a [FinancialAccount](https://stripe.com
|
|
7
|
+
* Use [OutboundTransfers](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/out-of/outbound-transfers) to transfer funds from a [FinancialAccount](https://api.stripe.com#financial_accounts) to a PaymentMethod belonging to the same entity. To send funds to a different party, use [OutboundPayments](https://api.stripe.com#outbound_payments) instead. You can send funds over ACH rails or through a domestic wire transfer to a user's own external bank account.
|
|
8
8
|
*
|
|
9
9
|
* Simulate OutboundTransfer state changes with the `/v1/test_helpers/treasury/outbound_transfers` endpoints. These methods can only be called on test mode objects.
|
|
10
10
|
*
|
|
@@ -64,7 +64,7 @@ declare module 'stripe' {
|
|
|
64
64
|
financial_account: string;
|
|
65
65
|
|
|
66
66
|
/**
|
|
67
|
-
* A [hosted transaction receipt](https://stripe.com/
|
|
67
|
+
* A [hosted transaction receipt](https://docs.stripe.com/treasury/moving-money/regulatory-receipts) URL that is provided when money movement is considered regulated under Stripe's money transmission licenses.
|
|
68
68
|
*/
|
|
69
69
|
hosted_regulatory_receipt_url: string | null;
|
|
70
70
|
|
|
@@ -74,15 +74,10 @@ declare module 'stripe' {
|
|
|
74
74
|
livemode: boolean;
|
|
75
75
|
|
|
76
76
|
/**
|
|
77
|
-
* Set of [key-value pairs](https://stripe.com/
|
|
77
|
+
* Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
|
|
78
78
|
*/
|
|
79
79
|
metadata: Stripe.Metadata;
|
|
80
80
|
|
|
81
|
-
/**
|
|
82
|
-
* Details about the network used for the OutboundTransfer.
|
|
83
|
-
*/
|
|
84
|
-
network_details?: OutboundTransfer.NetworkDetails | null;
|
|
85
|
-
|
|
86
81
|
/**
|
|
87
82
|
* Details about a returned OutboundTransfer. Only set when the status is `returned`.
|
|
88
83
|
*/
|
|
@@ -186,7 +181,7 @@ declare module 'stripe' {
|
|
|
186
181
|
mandate?: string | Stripe.Mandate;
|
|
187
182
|
|
|
188
183
|
/**
|
|
189
|
-
* The network rails used. See the [docs](https://stripe.com/
|
|
184
|
+
* The network rails used. See the [docs](https://docs.stripe.com/treasury/money-movement/timelines) to learn more about money movement timelines for each network type.
|
|
190
185
|
*/
|
|
191
186
|
network: UsBankAccount.Network;
|
|
192
187
|
|
|
@@ -205,27 +200,6 @@ declare module 'stripe' {
|
|
|
205
200
|
}
|
|
206
201
|
}
|
|
207
202
|
|
|
208
|
-
interface NetworkDetails {
|
|
209
|
-
/**
|
|
210
|
-
* Details about an ACH transaction.
|
|
211
|
-
*/
|
|
212
|
-
ach?: NetworkDetails.Ach | null;
|
|
213
|
-
|
|
214
|
-
/**
|
|
215
|
-
* The type of flow that originated the OutboundTransfer.
|
|
216
|
-
*/
|
|
217
|
-
type: 'ach';
|
|
218
|
-
}
|
|
219
|
-
|
|
220
|
-
namespace NetworkDetails {
|
|
221
|
-
interface Ach {
|
|
222
|
-
/**
|
|
223
|
-
* ACH Addenda record
|
|
224
|
-
*/
|
|
225
|
-
addenda: string | null;
|
|
226
|
-
}
|
|
227
|
-
}
|
|
228
|
-
|
|
229
203
|
interface ReturnedDetails {
|
|
230
204
|
/**
|
|
231
205
|
* Reason for the return.
|
|
@@ -45,17 +45,12 @@ declare module 'stripe' {
|
|
|
45
45
|
expand?: Array<string>;
|
|
46
46
|
|
|
47
47
|
/**
|
|
48
|
-
* Set of [key-value pairs](https://stripe.com/
|
|
48
|
+
* Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
|
49
49
|
*/
|
|
50
50
|
metadata?: Stripe.MetadataParam;
|
|
51
51
|
|
|
52
52
|
/**
|
|
53
|
-
*
|
|
54
|
-
*/
|
|
55
|
-
network_details?: OutboundTransferCreateParams.NetworkDetails;
|
|
56
|
-
|
|
57
|
-
/**
|
|
58
|
-
* Statement descriptor to be shown on the receiving end of an OutboundTransfer. Maximum 10 characters for `ach` transfers or 140 characters for `us_domestic_wire` transfers. The default value is "transfer".
|
|
53
|
+
* Statement descriptor to be shown on the receiving end of an OutboundTransfer. Maximum 10 characters for `ach` transfers or 140 characters for `us_domestic_wire` transfers. The default value is "transfer". Can only include -#.$&*, spaces, and alphanumeric characters.
|
|
59
54
|
*/
|
|
60
55
|
statement_descriptor?: string;
|
|
61
56
|
}
|
|
@@ -85,7 +80,7 @@ declare module 'stripe' {
|
|
|
85
80
|
namespace DestinationPaymentMethodOptions {
|
|
86
81
|
interface UsBankAccount {
|
|
87
82
|
/**
|
|
88
|
-
* Specifies the network rails to be used. If not set, will default to the PaymentMethod's preferred network. See the [docs](https://stripe.com/
|
|
83
|
+
* Specifies the network rails to be used. If not set, will default to the PaymentMethod's preferred network. See the [docs](https://docs.stripe.com/treasury/money-movement/timelines) to learn more about money movement timelines for each network type.
|
|
89
84
|
*/
|
|
90
85
|
network?: UsBankAccount.Network;
|
|
91
86
|
}
|
|
@@ -94,27 +89,6 @@ declare module 'stripe' {
|
|
|
94
89
|
type Network = 'ach' | 'us_domestic_wire';
|
|
95
90
|
}
|
|
96
91
|
}
|
|
97
|
-
|
|
98
|
-
interface NetworkDetails {
|
|
99
|
-
/**
|
|
100
|
-
* Optional fields for `ach`.
|
|
101
|
-
*/
|
|
102
|
-
ach?: NetworkDetails.Ach;
|
|
103
|
-
|
|
104
|
-
/**
|
|
105
|
-
* The type of flow that originated the OutboundTransfer.
|
|
106
|
-
*/
|
|
107
|
-
type: 'ach';
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
namespace NetworkDetails {
|
|
111
|
-
interface Ach {
|
|
112
|
-
/**
|
|
113
|
-
* Addenda record data associated with this OutboundTransfer.
|
|
114
|
-
*/
|
|
115
|
-
addenda?: string;
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
92
|
}
|
|
119
93
|
|
|
120
94
|
interface OutboundTransferRetrieveParams {
|
|
@@ -4,7 +4,7 @@ declare module 'stripe' {
|
|
|
4
4
|
namespace Stripe {
|
|
5
5
|
namespace Treasury {
|
|
6
6
|
/**
|
|
7
|
-
* ReceivedCredits represent funds sent to a [FinancialAccount](https://stripe.com
|
|
7
|
+
* ReceivedCredits represent funds sent to a [FinancialAccount](https://api.stripe.com#financial_accounts) (for example, via ACH or wire). These money movements are not initiated from the FinancialAccount.
|
|
8
8
|
*/
|
|
9
9
|
interface ReceivedCredit {
|
|
10
10
|
/**
|
|
@@ -48,7 +48,7 @@ declare module 'stripe' {
|
|
|
48
48
|
financial_account: string | null;
|
|
49
49
|
|
|
50
50
|
/**
|
|
51
|
-
* A [hosted transaction receipt](https://stripe.com/
|
|
51
|
+
* A [hosted transaction receipt](https://docs.stripe.com/treasury/moving-money/regulatory-receipts) URL that is provided when money movement is considered regulated under Stripe's money transmission licenses.
|
|
52
52
|
*/
|
|
53
53
|
hosted_regulatory_receipt_url: string | null;
|
|
54
54
|
|
|
@@ -66,11 +66,6 @@ declare module 'stripe' {
|
|
|
66
66
|
*/
|
|
67
67
|
network: ReceivedCredit.Network;
|
|
68
68
|
|
|
69
|
-
/**
|
|
70
|
-
* Details specific to the money movement rails.
|
|
71
|
-
*/
|
|
72
|
-
network_details?: ReceivedCredit.NetworkDetails | null;
|
|
73
|
-
|
|
74
69
|
/**
|
|
75
70
|
* Details describing when a ReceivedCredit may be reversed.
|
|
76
71
|
*/
|
|
@@ -105,7 +100,7 @@ declare module 'stripe' {
|
|
|
105
100
|
financial_account?: InitiatingPaymentMethodDetails.FinancialAccount;
|
|
106
101
|
|
|
107
102
|
/**
|
|
108
|
-
* Set when `type` is `issuing_card`. This is an [Issuing Card](https://stripe.com
|
|
103
|
+
* Set when `type` is `issuing_card`. This is an [Issuing Card](https://api.stripe.com#issuing_cards) ID.
|
|
109
104
|
*/
|
|
110
105
|
issuing_card?: string;
|
|
111
106
|
|
|
@@ -176,12 +171,12 @@ declare module 'stripe' {
|
|
|
176
171
|
credit_reversal: string | null;
|
|
177
172
|
|
|
178
173
|
/**
|
|
179
|
-
* Set if the ReceivedCredit was created due to an [Issuing Authorization](https://stripe.com
|
|
174
|
+
* Set if the ReceivedCredit was created due to an [Issuing Authorization](https://api.stripe.com#issuing_authorizations) object.
|
|
180
175
|
*/
|
|
181
176
|
issuing_authorization: string | null;
|
|
182
177
|
|
|
183
178
|
/**
|
|
184
|
-
* Set if the ReceivedCredit is also viewable as an [Issuing transaction](https://stripe.com
|
|
179
|
+
* Set if the ReceivedCredit is also viewable as an [Issuing transaction](https://api.stripe.com#issuing_transactions) object.
|
|
185
180
|
*/
|
|
186
181
|
issuing_transaction: string | null;
|
|
187
182
|
|
|
@@ -204,12 +199,12 @@ declare module 'stripe' {
|
|
|
204
199
|
namespace LinkedFlows {
|
|
205
200
|
interface SourceFlowDetails {
|
|
206
201
|
/**
|
|
207
|
-
* You can reverse some [ReceivedCredits](https://stripe.com
|
|
202
|
+
* You can reverse some [ReceivedCredits](https://api.stripe.com#received_credits) depending on their network and source flow. Reversing a ReceivedCredit leads to the creation of a new object known as a CreditReversal.
|
|
208
203
|
*/
|
|
209
204
|
credit_reversal?: Stripe.Treasury.CreditReversal;
|
|
210
205
|
|
|
211
206
|
/**
|
|
212
|
-
* Use [OutboundPayments](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/out-of/outbound-payments) to send funds to another party's external bank account or [FinancialAccount](https://stripe.com
|
|
207
|
+
* Use [OutboundPayments](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/out-of/outbound-payments) to send funds to another party's external bank account or [FinancialAccount](https://api.stripe.com#financial_accounts). To send money to an account belonging to the same user, use an [OutboundTransfer](https://api.stripe.com#outbound_transfers).
|
|
213
208
|
*
|
|
214
209
|
* Simulate OutboundPayment state changes with the `/v1/test_helpers/treasury/outbound_payments` endpoints. These methods can only be called on test mode objects.
|
|
215
210
|
*
|
|
@@ -218,7 +213,7 @@ declare module 'stripe' {
|
|
|
218
213
|
outbound_payment?: Stripe.Treasury.OutboundPayment;
|
|
219
214
|
|
|
220
215
|
/**
|
|
221
|
-
* Use [OutboundTransfers](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/out-of/outbound-transfers) to transfer funds from a [FinancialAccount](https://stripe.com
|
|
216
|
+
* Use [OutboundTransfers](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/out-of/outbound-transfers) to transfer funds from a [FinancialAccount](https://api.stripe.com#financial_accounts) to a PaymentMethod belonging to the same entity. To send funds to a different party, use [OutboundPayments](https://api.stripe.com#outbound_payments) instead. You can send funds over ACH rails or through a domestic wire transfer to a user's own external bank account.
|
|
222
217
|
*
|
|
223
218
|
* Simulate OutboundTransfer state changes with the `/v1/test_helpers/treasury/outbound_transfers` endpoints. These methods can only be called on test mode objects.
|
|
224
219
|
*
|
|
@@ -234,7 +229,7 @@ declare module 'stripe' {
|
|
|
234
229
|
* schedules](https://docs.stripe.com/docs/connect/manage-payout-schedule), depending on your country and
|
|
235
230
|
* industry.
|
|
236
231
|
*
|
|
237
|
-
* Related guide: [Receiving payouts](https://stripe.com/
|
|
232
|
+
* Related guide: [Receiving payouts](https://docs.stripe.com/payouts)
|
|
238
233
|
*/
|
|
239
234
|
payout?: Stripe.Payout;
|
|
240
235
|
|
|
@@ -256,27 +251,6 @@ declare module 'stripe' {
|
|
|
256
251
|
|
|
257
252
|
type Network = 'ach' | 'card' | 'stripe' | 'us_domestic_wire';
|
|
258
253
|
|
|
259
|
-
interface NetworkDetails {
|
|
260
|
-
/**
|
|
261
|
-
* Details about an ACH transaction.
|
|
262
|
-
*/
|
|
263
|
-
ach?: NetworkDetails.Ach | null;
|
|
264
|
-
|
|
265
|
-
/**
|
|
266
|
-
* The type of flow that originated the ReceivedCredit.
|
|
267
|
-
*/
|
|
268
|
-
type: 'ach';
|
|
269
|
-
}
|
|
270
|
-
|
|
271
|
-
namespace NetworkDetails {
|
|
272
|
-
interface Ach {
|
|
273
|
-
/**
|
|
274
|
-
* ACH Addenda record
|
|
275
|
-
*/
|
|
276
|
-
addenda: string | null;
|
|
277
|
-
}
|
|
278
|
-
}
|
|
279
|
-
|
|
280
254
|
interface ReversalDetails {
|
|
281
255
|
/**
|
|
282
256
|
* Time before which a ReceivedCredit can be reversed.
|
|
@@ -4,7 +4,7 @@ declare module 'stripe' {
|
|
|
4
4
|
namespace Stripe {
|
|
5
5
|
namespace Treasury {
|
|
6
6
|
/**
|
|
7
|
-
* ReceivedDebits represent funds pulled from a [FinancialAccount](https://stripe.com
|
|
7
|
+
* ReceivedDebits represent funds pulled from a [FinancialAccount](https://api.stripe.com#financial_accounts). These are not initiated from the FinancialAccount.
|
|
8
8
|
*/
|
|
9
9
|
interface ReceivedDebit {
|
|
10
10
|
/**
|
|
@@ -48,7 +48,7 @@ declare module 'stripe' {
|
|
|
48
48
|
financial_account: string | null;
|
|
49
49
|
|
|
50
50
|
/**
|
|
51
|
-
* A [hosted transaction receipt](https://stripe.com/
|
|
51
|
+
* A [hosted transaction receipt](https://docs.stripe.com/treasury/moving-money/regulatory-receipts) URL that is provided when money movement is considered regulated under Stripe's money transmission licenses.
|
|
52
52
|
*/
|
|
53
53
|
hosted_regulatory_receipt_url: string | null;
|
|
54
54
|
|
|
@@ -66,11 +66,6 @@ declare module 'stripe' {
|
|
|
66
66
|
*/
|
|
67
67
|
network: ReceivedDebit.Network;
|
|
68
68
|
|
|
69
|
-
/**
|
|
70
|
-
* Details specific to the money movement rails.
|
|
71
|
-
*/
|
|
72
|
-
network_details?: ReceivedDebit.NetworkDetails | null;
|
|
73
|
-
|
|
74
69
|
/**
|
|
75
70
|
* Details describing when a ReceivedDebit might be reversed.
|
|
76
71
|
*/
|
|
@@ -106,7 +101,7 @@ declare module 'stripe' {
|
|
|
106
101
|
financial_account?: InitiatingPaymentMethodDetails.FinancialAccount;
|
|
107
102
|
|
|
108
103
|
/**
|
|
109
|
-
* Set when `type` is `issuing_card`. This is an [Issuing Card](https://stripe.com
|
|
104
|
+
* Set when `type` is `issuing_card`. This is an [Issuing Card](https://api.stripe.com#issuing_cards) ID.
|
|
110
105
|
*/
|
|
111
106
|
issuing_card?: string;
|
|
112
107
|
|
|
@@ -182,49 +177,23 @@ declare module 'stripe' {
|
|
|
182
177
|
inbound_transfer: string | null;
|
|
183
178
|
|
|
184
179
|
/**
|
|
185
|
-
* Set if the ReceivedDebit was created due to an [Issuing Authorization](https://stripe.com
|
|
180
|
+
* Set if the ReceivedDebit was created due to an [Issuing Authorization](https://api.stripe.com#issuing_authorizations) object.
|
|
186
181
|
*/
|
|
187
182
|
issuing_authorization: string | null;
|
|
188
183
|
|
|
189
184
|
/**
|
|
190
|
-
* Set if the ReceivedDebit is also viewable as an [Issuing Dispute](https://stripe.com
|
|
185
|
+
* Set if the ReceivedDebit is also viewable as an [Issuing Dispute](https://api.stripe.com#issuing_disputes) object.
|
|
191
186
|
*/
|
|
192
187
|
issuing_transaction: string | null;
|
|
193
188
|
|
|
194
189
|
/**
|
|
195
|
-
* Set if the ReceivedDebit was created due to a [Payout](https://stripe.com
|
|
190
|
+
* Set if the ReceivedDebit was created due to a [Payout](https://api.stripe.com#payouts) object.
|
|
196
191
|
*/
|
|
197
192
|
payout: string | null;
|
|
198
|
-
|
|
199
|
-
/**
|
|
200
|
-
* The ReceivedCredit that Capital withheld from
|
|
201
|
-
*/
|
|
202
|
-
received_credit_capital_withholding?: string | null;
|
|
203
193
|
}
|
|
204
194
|
|
|
205
195
|
type Network = 'ach' | 'card' | 'stripe';
|
|
206
196
|
|
|
207
|
-
interface NetworkDetails {
|
|
208
|
-
/**
|
|
209
|
-
* Details about an ACH transaction.
|
|
210
|
-
*/
|
|
211
|
-
ach?: NetworkDetails.Ach | null;
|
|
212
|
-
|
|
213
|
-
/**
|
|
214
|
-
* The type of flow that originated the ReceivedDebit.
|
|
215
|
-
*/
|
|
216
|
-
type: 'ach';
|
|
217
|
-
}
|
|
218
|
-
|
|
219
|
-
namespace NetworkDetails {
|
|
220
|
-
interface Ach {
|
|
221
|
-
/**
|
|
222
|
-
* ACH Addenda record
|
|
223
|
-
*/
|
|
224
|
-
addenda: string | null;
|
|
225
|
-
}
|
|
226
|
-
}
|
|
227
|
-
|
|
228
197
|
interface ReversalDetails {
|
|
229
198
|
/**
|
|
230
199
|
* Time before which a ReceivedDebit can be reversed.
|
|
@@ -4,7 +4,7 @@ declare module 'stripe' {
|
|
|
4
4
|
namespace Stripe {
|
|
5
5
|
namespace Treasury {
|
|
6
6
|
/**
|
|
7
|
-
* TransactionEntries represent individual units of money movements within a single [Transaction](https://stripe.com
|
|
7
|
+
* TransactionEntries represent individual units of money movements within a single [Transaction](https://api.stripe.com#transactions).
|
|
8
8
|
*/
|
|
9
9
|
interface TransactionEntry {
|
|
10
10
|
/**
|
|
@@ -93,33 +93,33 @@ declare module 'stripe' {
|
|
|
93
93
|
|
|
94
94
|
interface FlowDetails {
|
|
95
95
|
/**
|
|
96
|
-
* You can reverse some [ReceivedCredits](https://stripe.com
|
|
96
|
+
* You can reverse some [ReceivedCredits](https://api.stripe.com#received_credits) depending on their network and source flow. Reversing a ReceivedCredit leads to the creation of a new object known as a CreditReversal.
|
|
97
97
|
*/
|
|
98
98
|
credit_reversal?: Stripe.Treasury.CreditReversal;
|
|
99
99
|
|
|
100
100
|
/**
|
|
101
|
-
* You can reverse some [ReceivedDebits](https://stripe.com
|
|
101
|
+
* You can reverse some [ReceivedDebits](https://api.stripe.com#received_debits) depending on their network and source flow. Reversing a ReceivedDebit leads to the creation of a new object known as a DebitReversal.
|
|
102
102
|
*/
|
|
103
103
|
debit_reversal?: Stripe.Treasury.DebitReversal;
|
|
104
104
|
|
|
105
105
|
/**
|
|
106
|
-
* Use [InboundTransfers](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/into/inbound-transfers) to add funds to your [FinancialAccount](https://stripe.com
|
|
106
|
+
* Use [InboundTransfers](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/into/inbound-transfers) to add funds to your [FinancialAccount](https://api.stripe.com#financial_accounts) via a PaymentMethod that is owned by you. The funds will be transferred via an ACH debit.
|
|
107
107
|
*
|
|
108
108
|
* Related guide: [Moving money with Treasury using InboundTransfer objects](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/into/inbound-transfers)
|
|
109
109
|
*/
|
|
110
110
|
inbound_transfer?: Stripe.Treasury.InboundTransfer;
|
|
111
111
|
|
|
112
112
|
/**
|
|
113
|
-
* When an [issued card](https://stripe.com/
|
|
114
|
-
* object is created. [Authorizations](https://stripe.com/
|
|
113
|
+
* When an [issued card](https://docs.stripe.com/issuing) is used to make a purchase, an Issuing `Authorization`
|
|
114
|
+
* object is created. [Authorizations](https://docs.stripe.com/issuing/purchases/authorizations) must be approved for the
|
|
115
115
|
* purchase to be completed successfully.
|
|
116
116
|
*
|
|
117
|
-
* Related guide: [Issued card authorizations](https://stripe.com/
|
|
117
|
+
* Related guide: [Issued card authorizations](https://docs.stripe.com/issuing/purchases/authorizations)
|
|
118
118
|
*/
|
|
119
119
|
issuing_authorization?: Stripe.Issuing.Authorization;
|
|
120
120
|
|
|
121
121
|
/**
|
|
122
|
-
* Use [OutboundPayments](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/out-of/outbound-payments) to send funds to another party's external bank account or [FinancialAccount](https://stripe.com
|
|
122
|
+
* Use [OutboundPayments](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/out-of/outbound-payments) to send funds to another party's external bank account or [FinancialAccount](https://api.stripe.com#financial_accounts). To send money to an account belonging to the same user, use an [OutboundTransfer](https://api.stripe.com#outbound_transfers).
|
|
123
123
|
*
|
|
124
124
|
* Simulate OutboundPayment state changes with the `/v1/test_helpers/treasury/outbound_payments` endpoints. These methods can only be called on test mode objects.
|
|
125
125
|
*
|
|
@@ -128,7 +128,7 @@ declare module 'stripe' {
|
|
|
128
128
|
outbound_payment?: Stripe.Treasury.OutboundPayment;
|
|
129
129
|
|
|
130
130
|
/**
|
|
131
|
-
* Use [OutboundTransfers](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/out-of/outbound-transfers) to transfer funds from a [FinancialAccount](https://stripe.com
|
|
131
|
+
* Use [OutboundTransfers](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/out-of/outbound-transfers) to transfer funds from a [FinancialAccount](https://api.stripe.com#financial_accounts) to a PaymentMethod belonging to the same entity. To send funds to a different party, use [OutboundPayments](https://api.stripe.com#outbound_payments) instead. You can send funds over ACH rails or through a domestic wire transfer to a user's own external bank account.
|
|
132
132
|
*
|
|
133
133
|
* Simulate OutboundTransfer state changes with the `/v1/test_helpers/treasury/outbound_transfers` endpoints. These methods can only be called on test mode objects.
|
|
134
134
|
*
|
|
@@ -137,12 +137,12 @@ declare module 'stripe' {
|
|
|
137
137
|
outbound_transfer?: Stripe.Treasury.OutboundTransfer;
|
|
138
138
|
|
|
139
139
|
/**
|
|
140
|
-
* ReceivedCredits represent funds sent to a [FinancialAccount](https://stripe.com
|
|
140
|
+
* ReceivedCredits represent funds sent to a [FinancialAccount](https://api.stripe.com#financial_accounts) (for example, via ACH or wire). These money movements are not initiated from the FinancialAccount.
|
|
141
141
|
*/
|
|
142
142
|
received_credit?: Stripe.Treasury.ReceivedCredit;
|
|
143
143
|
|
|
144
144
|
/**
|
|
145
|
-
* ReceivedDebits represent funds pulled from a [FinancialAccount](https://stripe.com
|
|
145
|
+
* ReceivedDebits represent funds pulled from a [FinancialAccount](https://api.stripe.com#financial_accounts). These are not initiated from the FinancialAccount.
|
|
146
146
|
*/
|
|
147
147
|
received_debit?: Stripe.Treasury.ReceivedDebit;
|
|
148
148
|
|