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
package/types/Charges.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ declare module 'stripe' {
|
|
|
4
4
|
namespace Stripe {
|
|
5
5
|
/**
|
|
6
6
|
* The `Charge` object represents a single attempt to move money into your Stripe account.
|
|
7
|
-
* PaymentIntent confirmation is the most common way to create Charges, but [Account Debits](https://stripe.com/
|
|
7
|
+
* PaymentIntent confirmation is the most common way to create Charges, but [Account Debits](https://docs.stripe.com/connect/account-debits) may also create Charges.
|
|
8
8
|
* Some legacy payment flows create Charges directly, which is not recommended for new integrations.
|
|
9
9
|
*/
|
|
10
10
|
interface Charge {
|
|
@@ -19,7 +19,7 @@ declare module 'stripe' {
|
|
|
19
19
|
object: 'charge';
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
|
-
* Amount intended to be collected by this payment. A positive integer representing how much to charge in the [smallest currency unit](https://stripe.com/
|
|
22
|
+
* Amount intended to be collected by this payment. A positive integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal) (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The minimum amount is $0.50 US or [equivalent in charge currency](https://docs.stripe.com/currencies#minimum-and-maximum-charge-amounts). The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99).
|
|
23
23
|
*/
|
|
24
24
|
amount: number;
|
|
25
25
|
|
|
@@ -39,12 +39,12 @@ declare module 'stripe' {
|
|
|
39
39
|
application: string | Stripe.Application | null;
|
|
40
40
|
|
|
41
41
|
/**
|
|
42
|
-
* The application fee (if any) for the charge. [See the Connect documentation](https://stripe.com/
|
|
42
|
+
* The application fee (if any) for the charge. [See the Connect documentation](https://docs.stripe.com/connect/direct-charges#collect-fees) for details.
|
|
43
43
|
*/
|
|
44
44
|
application_fee: string | Stripe.ApplicationFee | null;
|
|
45
45
|
|
|
46
46
|
/**
|
|
47
|
-
* The amount of the application fee (if any) requested for the charge. [See the Connect documentation](https://stripe.com/
|
|
47
|
+
* The amount of the application fee (if any) requested for the charge. [See the Connect documentation](https://docs.stripe.com/connect/direct-charges#collect-fees) for details.
|
|
48
48
|
*/
|
|
49
49
|
application_fee_amount: number | null;
|
|
50
50
|
|
|
@@ -101,7 +101,7 @@ declare module 'stripe' {
|
|
|
101
101
|
failure_balance_transaction: string | Stripe.BalanceTransaction | null;
|
|
102
102
|
|
|
103
103
|
/**
|
|
104
|
-
* Error code explaining reason for charge failure if available (see [the errors section](https://stripe.com/
|
|
104
|
+
* Error code explaining reason for charge failure if available (see [the errors section](https://docs.stripe.com/error-codes) for a list of codes).
|
|
105
105
|
*/
|
|
106
106
|
failure_code: string | null;
|
|
107
107
|
|
|
@@ -123,17 +123,17 @@ declare module 'stripe' {
|
|
|
123
123
|
livemode: boolean;
|
|
124
124
|
|
|
125
125
|
/**
|
|
126
|
-
* Set of [key-value pairs](https://stripe.com/
|
|
126
|
+
* 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.
|
|
127
127
|
*/
|
|
128
128
|
metadata: Stripe.Metadata;
|
|
129
129
|
|
|
130
130
|
/**
|
|
131
|
-
* The account (if any) the charge was made on behalf of without triggering an automatic transfer. See the [Connect documentation](https://stripe.com/
|
|
131
|
+
* The account (if any) the charge was made on behalf of without triggering an automatic transfer. See the [Connect documentation](https://docs.stripe.com/connect/separate-charges-and-transfers) for details.
|
|
132
132
|
*/
|
|
133
133
|
on_behalf_of: string | Stripe.Account | null;
|
|
134
134
|
|
|
135
135
|
/**
|
|
136
|
-
* Details about whether the payment was accepted, and why. See [understanding declines](https://stripe.com/
|
|
136
|
+
* Details about whether the payment was accepted, and why. See [understanding declines](https://docs.stripe.com/declines) for details.
|
|
137
137
|
*/
|
|
138
138
|
outcome: Charge.Outcome | null;
|
|
139
139
|
|
|
@@ -160,7 +160,7 @@ declare module 'stripe' {
|
|
|
160
160
|
presentment_details?: Charge.PresentmentDetails;
|
|
161
161
|
|
|
162
162
|
/**
|
|
163
|
-
* Options to configure Radar. See [Radar Session](https://stripe.com/
|
|
163
|
+
* Options to configure Radar. See [Radar Session](https://docs.stripe.com/radar/radar-session) for more information.
|
|
164
164
|
*/
|
|
165
165
|
radar_options?: Charge.RadarOptions;
|
|
166
166
|
|
|
@@ -232,12 +232,12 @@ declare module 'stripe' {
|
|
|
232
232
|
transfer?: string | Stripe.Transfer;
|
|
233
233
|
|
|
234
234
|
/**
|
|
235
|
-
* An optional dictionary including the account to automatically transfer to as part of a destination charge. [See the Connect documentation](https://stripe.com/
|
|
235
|
+
* An optional dictionary including the account to automatically transfer to as part of a destination charge. [See the Connect documentation](https://docs.stripe.com/connect/destination-charges) for details.
|
|
236
236
|
*/
|
|
237
237
|
transfer_data: Charge.TransferData | null;
|
|
238
238
|
|
|
239
239
|
/**
|
|
240
|
-
* A string that identifies this transaction as part of a group. See the [Connect documentation](https://stripe.com/
|
|
240
|
+
* A string that identifies this transaction as part of a group. See the [Connect documentation](https://docs.stripe.com/connect/separate-charges-and-transfers#transfer-options) for details.
|
|
241
241
|
*/
|
|
242
242
|
transfer_group: string | null;
|
|
243
243
|
}
|
|
@@ -314,7 +314,7 @@ declare module 'stripe' {
|
|
|
314
314
|
|
|
315
315
|
interface Outcome {
|
|
316
316
|
/**
|
|
317
|
-
* An enumerated value providing a more detailed explanation on [how to proceed with an error](https://stripe.com/
|
|
317
|
+
* An enumerated value providing a more detailed explanation on [how to proceed with an error](https://docs.stripe.com/declines#retrying-issuer-declines).
|
|
318
318
|
*/
|
|
319
319
|
advice_code: Outcome.AdviceCode | null;
|
|
320
320
|
|
|
@@ -329,12 +329,12 @@ declare module 'stripe' {
|
|
|
329
329
|
network_decline_code: string | null;
|
|
330
330
|
|
|
331
331
|
/**
|
|
332
|
-
* Possible values are `approved_by_network`, `declined_by_network`, `not_sent_to_network`, and `reversed_after_approval`. The value `reversed_after_approval` indicates the payment was [blocked by Stripe](https://stripe.com/
|
|
332
|
+
* Possible values are `approved_by_network`, `declined_by_network`, `not_sent_to_network`, and `reversed_after_approval`. The value `reversed_after_approval` indicates the payment was [blocked by Stripe](https://docs.stripe.com/declines#blocked-payments) after bank authorization, and may temporarily appear as "pending" on a cardholder's statement.
|
|
333
333
|
*/
|
|
334
334
|
network_status: string | null;
|
|
335
335
|
|
|
336
336
|
/**
|
|
337
|
-
* An enumerated value providing a more detailed explanation of the outcome's `type`. Charges blocked by Radar's default block rule have the value `highest_risk_level`. Charges placed in review by Radar's default review rule have the value `elevated_risk_level`. Charges blocked because the payment is unlikely to be authorized have the value `low_probability_of_authorization`. Charges authorized, blocked, or placed in review by custom rules have the value `rule`. See [understanding declines](https://stripe.com/
|
|
337
|
+
* An enumerated value providing a more detailed explanation of the outcome's `type`. Charges blocked by Radar's default block rule have the value `highest_risk_level`. Charges placed in review by Radar's default review rule have the value `elevated_risk_level`. Charges blocked because the payment is unlikely to be authorized have the value `low_probability_of_authorization`. Charges authorized, blocked, or placed in review by custom rules have the value `rule`. See [understanding declines](https://docs.stripe.com/declines) for more details.
|
|
338
338
|
*/
|
|
339
339
|
reason: string | null;
|
|
340
340
|
|
|
@@ -359,7 +359,7 @@ declare module 'stripe' {
|
|
|
359
359
|
seller_message: string | null;
|
|
360
360
|
|
|
361
361
|
/**
|
|
362
|
-
* Possible values are `authorized`, `manual_review`, `issuer_declined`, `blocked`, and `invalid`. See [understanding declines](https://stripe.com/
|
|
362
|
+
* Possible values are `authorized`, `manual_review`, `issuer_declined`, `blocked`, and `invalid`. See [understanding declines](https://docs.stripe.com/declines) and [Radar reviews](https://docs.stripe.com/radar/reviews) for details.
|
|
363
363
|
*/
|
|
364
364
|
type: string;
|
|
365
365
|
}
|
|
@@ -433,12 +433,8 @@ declare module 'stripe' {
|
|
|
433
433
|
|
|
434
434
|
giropay?: PaymentMethodDetails.Giropay;
|
|
435
435
|
|
|
436
|
-
gopay?: PaymentMethodDetails.Gopay;
|
|
437
|
-
|
|
438
436
|
grabpay?: PaymentMethodDetails.Grabpay;
|
|
439
437
|
|
|
440
|
-
id_bank_transfer?: PaymentMethodDetails.IdBankTransfer;
|
|
441
|
-
|
|
442
438
|
ideal?: PaymentMethodDetails.Ideal;
|
|
443
439
|
|
|
444
440
|
interac_present?: PaymentMethodDetails.InteracPresent;
|
|
@@ -475,18 +471,12 @@ declare module 'stripe' {
|
|
|
475
471
|
|
|
476
472
|
paypal?: PaymentMethodDetails.Paypal;
|
|
477
473
|
|
|
478
|
-
paypay?: PaymentMethodDetails.Paypay;
|
|
479
|
-
|
|
480
474
|
payto?: PaymentMethodDetails.Payto;
|
|
481
475
|
|
|
482
476
|
pix?: PaymentMethodDetails.Pix;
|
|
483
477
|
|
|
484
478
|
promptpay?: PaymentMethodDetails.Promptpay;
|
|
485
479
|
|
|
486
|
-
qris?: PaymentMethodDetails.Qris;
|
|
487
|
-
|
|
488
|
-
rechnung?: PaymentMethodDetails.Rechnung;
|
|
489
|
-
|
|
490
480
|
revolut_pay?: PaymentMethodDetails.RevolutPay;
|
|
491
481
|
|
|
492
482
|
samsung_pay?: PaymentMethodDetails.SamsungPay;
|
|
@@ -497,20 +487,16 @@ declare module 'stripe' {
|
|
|
497
487
|
|
|
498
488
|
sepa_debit?: PaymentMethodDetails.SepaDebit;
|
|
499
489
|
|
|
500
|
-
shopeepay?: PaymentMethodDetails.Shopeepay;
|
|
501
|
-
|
|
502
490
|
sofort?: PaymentMethodDetails.Sofort;
|
|
503
491
|
|
|
504
492
|
stripe_account?: PaymentMethodDetails.StripeAccount;
|
|
505
493
|
|
|
506
|
-
stripe_balance?: PaymentMethodDetails.StripeBalance;
|
|
507
|
-
|
|
508
494
|
swish?: PaymentMethodDetails.Swish;
|
|
509
495
|
|
|
510
496
|
twint?: PaymentMethodDetails.Twint;
|
|
511
497
|
|
|
512
498
|
/**
|
|
513
|
-
* The type of transaction-specific details of the payment method used in the payment. See [PaymentMethod.type](https://stripe.com/
|
|
499
|
+
* The type of transaction-specific details of the payment method used in the payment. See [PaymentMethod.type](https://docs.stripe.com/api/payment_methods/object#payment_method_object-type) for the full list of possible types.
|
|
514
500
|
* An additional hash is included on `payment_method_details` with a name matching this value.
|
|
515
501
|
* It contains information specific to the payment method.
|
|
516
502
|
*/
|
|
@@ -590,6 +576,11 @@ declare module 'stripe' {
|
|
|
590
576
|
*/
|
|
591
577
|
bank_name: string | null;
|
|
592
578
|
|
|
579
|
+
/**
|
|
580
|
+
* Estimated date to debit the customer's bank account. A date string in YYYY-MM-DD format.
|
|
581
|
+
*/
|
|
582
|
+
expected_debit_date?: string;
|
|
583
|
+
|
|
593
584
|
/**
|
|
594
585
|
* Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
|
|
595
586
|
*/
|
|
@@ -618,12 +609,12 @@ declare module 'stripe' {
|
|
|
618
609
|
|
|
619
610
|
interface Affirm {
|
|
620
611
|
/**
|
|
621
|
-
* ID of the [location](https://stripe.com/
|
|
612
|
+
* ID of the [location](https://docs.stripe.com/api/terminal/locations) that this transaction's reader is assigned to.
|
|
622
613
|
*/
|
|
623
614
|
location?: string;
|
|
624
615
|
|
|
625
616
|
/**
|
|
626
|
-
* ID of the [reader](https://stripe.com/
|
|
617
|
+
* ID of the [reader](https://docs.stripe.com/api/terminal/readers) this transaction was made on.
|
|
627
618
|
*/
|
|
628
619
|
reader?: string;
|
|
629
620
|
|
|
@@ -706,11 +697,6 @@ declare module 'stripe' {
|
|
|
706
697
|
*/
|
|
707
698
|
brand: string | null;
|
|
708
699
|
|
|
709
|
-
/**
|
|
710
|
-
* The [product code](https://stripe.com/docs/card-product-codes) that identifies the specific program or product associated with a card. (For internal use only and not typically available in standard API requests.)
|
|
711
|
-
*/
|
|
712
|
-
brand_product?: string | null;
|
|
713
|
-
|
|
714
700
|
/**
|
|
715
701
|
* Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.
|
|
716
702
|
*/
|
|
@@ -745,6 +731,11 @@ declare module 'stripe' {
|
|
|
745
731
|
*/
|
|
746
732
|
bsb_number: string | null;
|
|
747
733
|
|
|
734
|
+
/**
|
|
735
|
+
* Estimated date to debit the customer's bank account. A date string in YYYY-MM-DD format.
|
|
736
|
+
*/
|
|
737
|
+
expected_debit_date?: string;
|
|
738
|
+
|
|
748
739
|
/**
|
|
749
740
|
* Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
|
|
750
741
|
*/
|
|
@@ -762,6 +753,11 @@ declare module 'stripe' {
|
|
|
762
753
|
}
|
|
763
754
|
|
|
764
755
|
interface BacsDebit {
|
|
756
|
+
/**
|
|
757
|
+
* Estimated date to debit the customer's bank account. A date string in YYYY-MM-DD format.
|
|
758
|
+
*/
|
|
759
|
+
expected_debit_date?: string;
|
|
760
|
+
|
|
765
761
|
/**
|
|
766
762
|
* Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
|
|
767
763
|
*/
|
|
@@ -858,11 +854,6 @@ declare module 'stripe' {
|
|
|
858
854
|
*/
|
|
859
855
|
amount_authorized: number | null;
|
|
860
856
|
|
|
861
|
-
/**
|
|
862
|
-
* The latest amount intended to be authorized by this charge.
|
|
863
|
-
*/
|
|
864
|
-
amount_requested?: number | null;
|
|
865
|
-
|
|
866
857
|
/**
|
|
867
858
|
* Authorization code on the charge.
|
|
868
859
|
*/
|
|
@@ -888,8 +879,6 @@ declare module 'stripe' {
|
|
|
888
879
|
*/
|
|
889
880
|
country: string | null;
|
|
890
881
|
|
|
891
|
-
decremental_authorization?: Card.DecrementalAuthorization;
|
|
892
|
-
|
|
893
882
|
/**
|
|
894
883
|
* A high-level description of the type of cards issued in this range. (For internal use only and not typically available in standard API requests.)
|
|
895
884
|
*/
|
|
@@ -929,7 +918,7 @@ declare module 'stripe' {
|
|
|
929
918
|
/**
|
|
930
919
|
* Installment details for this payment.
|
|
931
920
|
*
|
|
932
|
-
* For more information, see the [installments integration guide](https://stripe.com/
|
|
921
|
+
* For more information, see the [installments integration guide](https://docs.stripe.com/payments/installments).
|
|
933
922
|
*/
|
|
934
923
|
installments: Card.Installments | null;
|
|
935
924
|
|
|
@@ -972,8 +961,6 @@ declare module 'stripe' {
|
|
|
972
961
|
|
|
973
962
|
overcapture?: Card.Overcapture;
|
|
974
963
|
|
|
975
|
-
partial_authorization?: Card.PartialAuthorization;
|
|
976
|
-
|
|
977
964
|
/**
|
|
978
965
|
* Status of a card based on the card issuer.
|
|
979
966
|
*/
|
|
@@ -1008,17 +995,6 @@ declare module 'stripe' {
|
|
|
1008
995
|
cvc_check: string | null;
|
|
1009
996
|
}
|
|
1010
997
|
|
|
1011
|
-
interface DecrementalAuthorization {
|
|
1012
|
-
/**
|
|
1013
|
-
* Indicates whether or not the decremental authorization feature is supported.
|
|
1014
|
-
*/
|
|
1015
|
-
status: DecrementalAuthorization.Status;
|
|
1016
|
-
}
|
|
1017
|
-
|
|
1018
|
-
namespace DecrementalAuthorization {
|
|
1019
|
-
type Status = 'available' | 'unavailable';
|
|
1020
|
-
}
|
|
1021
|
-
|
|
1022
998
|
interface ExtendedAuthorization {
|
|
1023
999
|
/**
|
|
1024
1000
|
* Indicates whether or not the capture window is extended beyond the standard authorization.
|
|
@@ -1106,21 +1082,6 @@ declare module 'stripe' {
|
|
|
1106
1082
|
type Status = 'available' | 'unavailable';
|
|
1107
1083
|
}
|
|
1108
1084
|
|
|
1109
|
-
interface PartialAuthorization {
|
|
1110
|
-
/**
|
|
1111
|
-
* Indicates whether the transaction requested for partial authorization feature and the authorization outcome.
|
|
1112
|
-
*/
|
|
1113
|
-
status: PartialAuthorization.Status;
|
|
1114
|
-
}
|
|
1115
|
-
|
|
1116
|
-
namespace PartialAuthorization {
|
|
1117
|
-
type Status =
|
|
1118
|
-
| 'declined'
|
|
1119
|
-
| 'fully_authorized'
|
|
1120
|
-
| 'not_requested'
|
|
1121
|
-
| 'partially_authorized';
|
|
1122
|
-
}
|
|
1123
|
-
|
|
1124
1085
|
type RegulatedStatus = 'regulated' | 'unregulated';
|
|
1125
1086
|
|
|
1126
1087
|
interface ThreeDSecure {
|
|
@@ -1363,7 +1324,7 @@ declare module 'stripe' {
|
|
|
1363
1324
|
iin?: string | null;
|
|
1364
1325
|
|
|
1365
1326
|
/**
|
|
1366
|
-
* Whether this [PaymentIntent](https://stripe.com/
|
|
1327
|
+
* Whether this [PaymentIntent](https://docs.stripe.com/api/payment_intents) is eligible for incremental authorizations. Request support using [request_incremental_authorization_support](https://docs.stripe.com/api/payment_intents/create#create_payment_intent-payment_method_options-card_present-request_incremental_authorization_support).
|
|
1367
1328
|
*/
|
|
1368
1329
|
incremental_authorization_supported: boolean;
|
|
1369
1330
|
|
|
@@ -1660,8 +1621,6 @@ declare module 'stripe' {
|
|
|
1660
1621
|
verified_name: string | null;
|
|
1661
1622
|
}
|
|
1662
1623
|
|
|
1663
|
-
interface Gopay {}
|
|
1664
|
-
|
|
1665
1624
|
interface Grabpay {
|
|
1666
1625
|
/**
|
|
1667
1626
|
* Unique transaction id generated by GrabPay
|
|
@@ -1669,40 +1628,9 @@ declare module 'stripe' {
|
|
|
1669
1628
|
transaction_id: string | null;
|
|
1670
1629
|
}
|
|
1671
1630
|
|
|
1672
|
-
interface IdBankTransfer {
|
|
1673
|
-
/**
|
|
1674
|
-
* Account number of the bank account to transfer funds to.
|
|
1675
|
-
*/
|
|
1676
|
-
account_number: string;
|
|
1677
|
-
|
|
1678
|
-
/**
|
|
1679
|
-
* Bank where the account is located.
|
|
1680
|
-
*/
|
|
1681
|
-
bank: IdBankTransfer.Bank;
|
|
1682
|
-
|
|
1683
|
-
/**
|
|
1684
|
-
* Local bank code of the bank.
|
|
1685
|
-
*/
|
|
1686
|
-
bank_code?: string;
|
|
1687
|
-
|
|
1688
|
-
/**
|
|
1689
|
-
* Name of the bank associated with the bank account.
|
|
1690
|
-
*/
|
|
1691
|
-
bank_name?: string;
|
|
1692
|
-
|
|
1693
|
-
/**
|
|
1694
|
-
* Merchant name and billing details name, for the customer to check for the correct merchant when performing the bank transfer.
|
|
1695
|
-
*/
|
|
1696
|
-
display_name?: string;
|
|
1697
|
-
}
|
|
1698
|
-
|
|
1699
|
-
namespace IdBankTransfer {
|
|
1700
|
-
type Bank = 'bca' | 'bni' | 'bri' | 'cimb' | 'permata';
|
|
1701
|
-
}
|
|
1702
|
-
|
|
1703
1631
|
interface Ideal {
|
|
1704
1632
|
/**
|
|
1705
|
-
* The customer's bank. Can be one of `abn_amro`, `asn_bank`, `bunq`, `buut`, `finom`, `handelsbanken`, `ing`, `knab`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`.
|
|
1633
|
+
* The customer's bank. Can be one of `abn_amro`, `asn_bank`, `bunq`, `buut`, `finom`, `handelsbanken`, `ing`, `knab`, `mollie`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`.
|
|
1706
1634
|
*/
|
|
1707
1635
|
bank: Ideal.Bank | null;
|
|
1708
1636
|
|
|
@@ -1748,6 +1676,7 @@ declare module 'stripe' {
|
|
|
1748
1676
|
| 'handelsbanken'
|
|
1749
1677
|
| 'ing'
|
|
1750
1678
|
| 'knab'
|
|
1679
|
+
| 'mollie'
|
|
1751
1680
|
| 'moneyou'
|
|
1752
1681
|
| 'n26'
|
|
1753
1682
|
| 'nn'
|
|
@@ -1770,6 +1699,7 @@ declare module 'stripe' {
|
|
|
1770
1699
|
| 'HANDNL2A'
|
|
1771
1700
|
| 'INGBNL2A'
|
|
1772
1701
|
| 'KNABNL2H'
|
|
1702
|
+
| 'MLLENL2A'
|
|
1773
1703
|
| 'MOYONL21'
|
|
1774
1704
|
| 'NNBANL2G'
|
|
1775
1705
|
| 'NTSBDEB1'
|
|
@@ -2143,6 +2073,11 @@ declare module 'stripe' {
|
|
|
2143
2073
|
*/
|
|
2144
2074
|
branch_code: string;
|
|
2145
2075
|
|
|
2076
|
+
/**
|
|
2077
|
+
* Estimated date to debit the customer's bank account. A date string in YYYY-MM-DD format.
|
|
2078
|
+
*/
|
|
2079
|
+
expected_debit_date?: string;
|
|
2080
|
+
|
|
2146
2081
|
/**
|
|
2147
2082
|
* Last four digits of the bank account number.
|
|
2148
2083
|
*/
|
|
@@ -2226,12 +2161,12 @@ declare module 'stripe' {
|
|
|
2226
2161
|
|
|
2227
2162
|
interface Paynow {
|
|
2228
2163
|
/**
|
|
2229
|
-
* ID of the [location](https://stripe.com/
|
|
2164
|
+
* ID of the [location](https://docs.stripe.com/api/terminal/locations) that this transaction's reader is assigned to.
|
|
2230
2165
|
*/
|
|
2231
2166
|
location?: string;
|
|
2232
2167
|
|
|
2233
2168
|
/**
|
|
2234
|
-
* ID of the [reader](https://stripe.com/
|
|
2169
|
+
* ID of the [reader](https://docs.stripe.com/api/terminal/readers) this transaction was made on.
|
|
2235
2170
|
*/
|
|
2236
2171
|
reader?: string;
|
|
2237
2172
|
|
|
@@ -2269,36 +2204,10 @@ declare module 'stripe' {
|
|
|
2269
2204
|
*/
|
|
2270
2205
|
seller_protection: Paypal.SellerProtection | null;
|
|
2271
2206
|
|
|
2272
|
-
/**
|
|
2273
|
-
* The shipping address for the customer, as supplied by the merchant at the point of payment
|
|
2274
|
-
* execution. This shipping address will not be updated if the merchant updates the shipping
|
|
2275
|
-
* address on the PaymentIntent after the PaymentIntent was successfully confirmed.
|
|
2276
|
-
*/
|
|
2277
|
-
shipping?: Stripe.Address | null;
|
|
2278
|
-
|
|
2279
2207
|
/**
|
|
2280
2208
|
* A unique ID generated by PayPal for this transaction.
|
|
2281
2209
|
*/
|
|
2282
2210
|
transaction_id: string | null;
|
|
2283
|
-
|
|
2284
|
-
/**
|
|
2285
|
-
* The shipping address for the customer, as supplied by the merchant at the point of payment
|
|
2286
|
-
* execution. This shipping address will not be updated if the merchant updates the shipping
|
|
2287
|
-
* address on the PaymentIntent after the PaymentIntent was successfully confirmed.
|
|
2288
|
-
*/
|
|
2289
|
-
verified_address?: Stripe.Address | null;
|
|
2290
|
-
|
|
2291
|
-
/**
|
|
2292
|
-
* Owner's verified email. Values are verified or provided by PayPal directly
|
|
2293
|
-
* (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
|
2294
|
-
*/
|
|
2295
|
-
verified_email?: string | null;
|
|
2296
|
-
|
|
2297
|
-
/**
|
|
2298
|
-
* Owner's verified full name. Values are verified or provided by PayPal directly
|
|
2299
|
-
* (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
|
2300
|
-
*/
|
|
2301
|
-
verified_name?: string | null;
|
|
2302
2211
|
}
|
|
2303
2212
|
|
|
2304
2213
|
namespace Paypal {
|
|
@@ -2321,8 +2230,6 @@ declare module 'stripe' {
|
|
|
2321
2230
|
}
|
|
2322
2231
|
}
|
|
2323
2232
|
|
|
2324
|
-
interface Paypay {}
|
|
2325
|
-
|
|
2326
2233
|
interface Payto {
|
|
2327
2234
|
/**
|
|
2328
2235
|
* Bank-State-Branch number of the bank account.
|
|
@@ -2350,11 +2257,6 @@ declare module 'stripe' {
|
|
|
2350
2257
|
* Unique transaction id generated by BCB
|
|
2351
2258
|
*/
|
|
2352
2259
|
bank_transaction_id?: string | null;
|
|
2353
|
-
|
|
2354
|
-
/**
|
|
2355
|
-
* ID of the multi use Mandate generated by the PaymentIntent
|
|
2356
|
-
*/
|
|
2357
|
-
mandate?: string;
|
|
2358
2260
|
}
|
|
2359
2261
|
|
|
2360
2262
|
interface Promptpay {
|
|
@@ -2364,15 +2266,6 @@ declare module 'stripe' {
|
|
|
2364
2266
|
reference: string | null;
|
|
2365
2267
|
}
|
|
2366
2268
|
|
|
2367
|
-
interface Qris {}
|
|
2368
|
-
|
|
2369
|
-
interface Rechnung {
|
|
2370
|
-
/**
|
|
2371
|
-
* Payment portal URL.
|
|
2372
|
-
*/
|
|
2373
|
-
payment_portal_url: string | null;
|
|
2374
|
-
}
|
|
2375
|
-
|
|
2376
2269
|
interface RevolutPay {
|
|
2377
2270
|
funding?: RevolutPay.Funding;
|
|
2378
2271
|
|
|
@@ -2399,11 +2292,6 @@ declare module 'stripe' {
|
|
|
2399
2292
|
*/
|
|
2400
2293
|
brand: string | null;
|
|
2401
2294
|
|
|
2402
|
-
/**
|
|
2403
|
-
* The [product code](https://stripe.com/docs/card-product-codes) that identifies the specific program or product associated with a card. (For internal use only and not typically available in standard API requests.)
|
|
2404
|
-
*/
|
|
2405
|
-
brand_product?: string | null;
|
|
2406
|
-
|
|
2407
2295
|
/**
|
|
2408
2296
|
* Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.
|
|
2409
2297
|
*/
|
|
@@ -2484,6 +2372,11 @@ declare module 'stripe' {
|
|
|
2484
2372
|
*/
|
|
2485
2373
|
country: string | null;
|
|
2486
2374
|
|
|
2375
|
+
/**
|
|
2376
|
+
* Estimated date to debit the customer's bank account. A date string in YYYY-MM-DD format.
|
|
2377
|
+
*/
|
|
2378
|
+
expected_debit_date?: string;
|
|
2379
|
+
|
|
2487
2380
|
/**
|
|
2488
2381
|
* Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
|
|
2489
2382
|
*/
|
|
@@ -2495,13 +2388,11 @@ declare module 'stripe' {
|
|
|
2495
2388
|
last4: string | null;
|
|
2496
2389
|
|
|
2497
2390
|
/**
|
|
2498
|
-
* Find the ID of the mandate used for this payment under the [payment_method_details.sepa_debit.mandate](https://stripe.com/
|
|
2391
|
+
* Find the ID of the mandate used for this payment under the [payment_method_details.sepa_debit.mandate](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-sepa_debit-mandate) property on the Charge. Use this mandate ID to [retrieve the Mandate](https://docs.stripe.com/api/mandates/retrieve).
|
|
2499
2392
|
*/
|
|
2500
2393
|
mandate: string | null;
|
|
2501
2394
|
}
|
|
2502
2395
|
|
|
2503
|
-
interface Shopeepay {}
|
|
2504
|
-
|
|
2505
2396
|
interface Sofort {
|
|
2506
2397
|
/**
|
|
2507
2398
|
* Bank code of bank associated with the bank account.
|
|
@@ -2564,22 +2455,6 @@ declare module 'stripe' {
|
|
|
2564
2455
|
|
|
2565
2456
|
interface StripeAccount {}
|
|
2566
2457
|
|
|
2567
|
-
interface StripeBalance {
|
|
2568
|
-
/**
|
|
2569
|
-
* The connected account ID whose Stripe balance to use as the source of payment
|
|
2570
|
-
*/
|
|
2571
|
-
account?: string | null;
|
|
2572
|
-
|
|
2573
|
-
/**
|
|
2574
|
-
* The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
|
|
2575
|
-
*/
|
|
2576
|
-
source_type: StripeBalance.SourceType;
|
|
2577
|
-
}
|
|
2578
|
-
|
|
2579
|
-
namespace StripeBalance {
|
|
2580
|
-
type SourceType = 'bank_account' | 'card' | 'fpx';
|
|
2581
|
-
}
|
|
2582
|
-
|
|
2583
2458
|
interface Swish {
|
|
2584
2459
|
/**
|
|
2585
2460
|
* Uniquely identifies the payer's Swish account. You can use this attribute to check whether two Swish transactions were paid for by the same payer
|
|
@@ -2615,6 +2490,11 @@ declare module 'stripe' {
|
|
|
2615
2490
|
*/
|
|
2616
2491
|
bank_name: string | null;
|
|
2617
2492
|
|
|
2493
|
+
/**
|
|
2494
|
+
* Estimated date to debit the customer's bank account. A date string in YYYY-MM-DD format.
|
|
2495
|
+
*/
|
|
2496
|
+
expected_debit_date?: string;
|
|
2497
|
+
|
|
2618
2498
|
/**
|
|
2619
2499
|
* Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
|
|
2620
2500
|
*/
|
|
@@ -2656,12 +2536,12 @@ declare module 'stripe' {
|
|
|
2656
2536
|
fingerprint: string | null;
|
|
2657
2537
|
|
|
2658
2538
|
/**
|
|
2659
|
-
* ID of the [location](https://stripe.com/
|
|
2539
|
+
* ID of the [location](https://docs.stripe.com/api/terminal/locations) that this transaction's reader is assigned to.
|
|
2660
2540
|
*/
|
|
2661
2541
|
location?: string;
|
|
2662
2542
|
|
|
2663
2543
|
/**
|
|
2664
|
-
* ID of the [reader](https://stripe.com/
|
|
2544
|
+
* ID of the [reader](https://docs.stripe.com/api/terminal/readers) this transaction was made on.
|
|
2665
2545
|
*/
|
|
2666
2546
|
reader?: string;
|
|
2667
2547
|
|
|
@@ -2688,7 +2568,7 @@ declare module 'stripe' {
|
|
|
2688
2568
|
|
|
2689
2569
|
interface RadarOptions {
|
|
2690
2570
|
/**
|
|
2691
|
-
* A [Radar Session](https://stripe.com/
|
|
2571
|
+
* A [Radar Session](https://docs.stripe.com/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
|
|
2692
2572
|
*/
|
|
2693
2573
|
session?: string;
|
|
2694
2574
|
}
|