stripe 20.1.0-beta.1 → 20.1.1
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 +49 -1499
- 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 +3 -3
- 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
|
@@ -90,7 +90,7 @@ declare module 'stripe' {
|
|
|
90
90
|
livemode: boolean;
|
|
91
91
|
|
|
92
92
|
/**
|
|
93
|
-
* Set of [key-value pairs](https://stripe.com/
|
|
93
|
+
* 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.
|
|
94
94
|
*/
|
|
95
95
|
metadata: Stripe.Metadata;
|
|
96
96
|
|
|
@@ -104,6 +104,11 @@ declare module 'stripe' {
|
|
|
104
104
|
*/
|
|
105
105
|
processor_details: PaymentRecord.ProcessorDetails;
|
|
106
106
|
|
|
107
|
+
/**
|
|
108
|
+
* Indicates who reported the payment.
|
|
109
|
+
*/
|
|
110
|
+
reported_by: PaymentRecord.ReportedBy;
|
|
111
|
+
|
|
107
112
|
/**
|
|
108
113
|
* Shipping information for this payment.
|
|
109
114
|
*/
|
|
@@ -118,7 +123,7 @@ declare module 'stripe' {
|
|
|
118
123
|
currency: string;
|
|
119
124
|
|
|
120
125
|
/**
|
|
121
|
-
* A positive integer representing the amount in the currency's [minor unit](https://stripe.com/
|
|
126
|
+
* A positive integer representing the amount in the currency's [minor unit](https://docs.stripe.com/currencies#zero-decimal). For example, `100` can represent 1 USD or 100 JPY.
|
|
122
127
|
*/
|
|
123
128
|
value: number;
|
|
124
129
|
}
|
|
@@ -130,7 +135,7 @@ declare module 'stripe' {
|
|
|
130
135
|
currency: string;
|
|
131
136
|
|
|
132
137
|
/**
|
|
133
|
-
* A positive integer representing the amount in the currency's [minor unit](https://stripe.com/
|
|
138
|
+
* A positive integer representing the amount in the currency's [minor unit](https://docs.stripe.com/currencies#zero-decimal). For example, `100` can represent 1 USD or 100 JPY.
|
|
134
139
|
*/
|
|
135
140
|
value: number;
|
|
136
141
|
}
|
|
@@ -142,7 +147,7 @@ declare module 'stripe' {
|
|
|
142
147
|
currency: string;
|
|
143
148
|
|
|
144
149
|
/**
|
|
145
|
-
* A positive integer representing the amount in the currency's [minor unit](https://stripe.com/
|
|
150
|
+
* A positive integer representing the amount in the currency's [minor unit](https://docs.stripe.com/currencies#zero-decimal). For example, `100` can represent 1 USD or 100 JPY.
|
|
146
151
|
*/
|
|
147
152
|
value: number;
|
|
148
153
|
}
|
|
@@ -154,7 +159,7 @@ declare module 'stripe' {
|
|
|
154
159
|
currency: string;
|
|
155
160
|
|
|
156
161
|
/**
|
|
157
|
-
* A positive integer representing the amount in the currency's [minor unit](https://stripe.com/
|
|
162
|
+
* A positive integer representing the amount in the currency's [minor unit](https://docs.stripe.com/currencies#zero-decimal). For example, `100` can represent 1 USD or 100 JPY.
|
|
158
163
|
*/
|
|
159
164
|
value: number;
|
|
160
165
|
}
|
|
@@ -166,7 +171,7 @@ declare module 'stripe' {
|
|
|
166
171
|
currency: string;
|
|
167
172
|
|
|
168
173
|
/**
|
|
169
|
-
* A positive integer representing the amount in the currency's [minor unit](https://stripe.com/
|
|
174
|
+
* A positive integer representing the amount in the currency's [minor unit](https://docs.stripe.com/currencies#zero-decimal). For example, `100` can represent 1 USD or 100 JPY.
|
|
170
175
|
*/
|
|
171
176
|
value: number;
|
|
172
177
|
}
|
|
@@ -178,7 +183,7 @@ declare module 'stripe' {
|
|
|
178
183
|
currency: string;
|
|
179
184
|
|
|
180
185
|
/**
|
|
181
|
-
* A positive integer representing the amount in the currency's [minor unit](https://stripe.com/
|
|
186
|
+
* A positive integer representing the amount in the currency's [minor unit](https://docs.stripe.com/currencies#zero-decimal). For example, `100` can represent 1 USD or 100 JPY.
|
|
182
187
|
*/
|
|
183
188
|
value: number;
|
|
184
189
|
}
|
|
@@ -190,7 +195,7 @@ declare module 'stripe' {
|
|
|
190
195
|
currency: string;
|
|
191
196
|
|
|
192
197
|
/**
|
|
193
|
-
* A positive integer representing the amount in the currency's [minor unit](https://stripe.com/
|
|
198
|
+
* A positive integer representing the amount in the currency's [minor unit](https://docs.stripe.com/currencies#zero-decimal). For example, `100` can represent 1 USD or 100 JPY.
|
|
194
199
|
*/
|
|
195
200
|
value: number;
|
|
196
201
|
}
|
|
@@ -279,12 +284,8 @@ declare module 'stripe' {
|
|
|
279
284
|
|
|
280
285
|
giropay?: PaymentMethodDetails.Giropay;
|
|
281
286
|
|
|
282
|
-
gopay?: PaymentMethodDetails.Gopay;
|
|
283
|
-
|
|
284
287
|
grabpay?: PaymentMethodDetails.Grabpay;
|
|
285
288
|
|
|
286
|
-
id_bank_transfer?: PaymentMethodDetails.IdBankTransfer;
|
|
287
|
-
|
|
288
289
|
ideal?: PaymentMethodDetails.Ideal;
|
|
289
290
|
|
|
290
291
|
interac_present?: PaymentMethodDetails.InteracPresent;
|
|
@@ -326,18 +327,12 @@ declare module 'stripe' {
|
|
|
326
327
|
|
|
327
328
|
paypal?: PaymentMethodDetails.Paypal;
|
|
328
329
|
|
|
329
|
-
paypay?: PaymentMethodDetails.Paypay;
|
|
330
|
-
|
|
331
330
|
payto?: PaymentMethodDetails.Payto;
|
|
332
331
|
|
|
333
332
|
pix?: PaymentMethodDetails.Pix;
|
|
334
333
|
|
|
335
334
|
promptpay?: PaymentMethodDetails.Promptpay;
|
|
336
335
|
|
|
337
|
-
qris?: PaymentMethodDetails.Qris;
|
|
338
|
-
|
|
339
|
-
rechnung?: PaymentMethodDetails.Rechnung;
|
|
340
|
-
|
|
341
336
|
revolut_pay?: PaymentMethodDetails.RevolutPay;
|
|
342
337
|
|
|
343
338
|
samsung_pay?: PaymentMethodDetails.SamsungPay;
|
|
@@ -348,20 +343,16 @@ declare module 'stripe' {
|
|
|
348
343
|
|
|
349
344
|
sepa_debit?: PaymentMethodDetails.SepaDebit;
|
|
350
345
|
|
|
351
|
-
shopeepay?: PaymentMethodDetails.Shopeepay;
|
|
352
|
-
|
|
353
346
|
sofort?: PaymentMethodDetails.Sofort;
|
|
354
347
|
|
|
355
348
|
stripe_account?: PaymentMethodDetails.StripeAccount;
|
|
356
349
|
|
|
357
|
-
stripe_balance?: PaymentMethodDetails.StripeBalance;
|
|
358
|
-
|
|
359
350
|
swish?: PaymentMethodDetails.Swish;
|
|
360
351
|
|
|
361
352
|
twint?: PaymentMethodDetails.Twint;
|
|
362
353
|
|
|
363
354
|
/**
|
|
364
|
-
* The type of transaction-specific details of the payment method used in the payment. See [PaymentMethod.type](https://stripe.com/
|
|
355
|
+
* 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.
|
|
365
356
|
* An additional hash is included on `payment_method_details` with a name matching this value.
|
|
366
357
|
* It contains information specific to the payment method.
|
|
367
358
|
*/
|
|
@@ -441,6 +432,11 @@ declare module 'stripe' {
|
|
|
441
432
|
*/
|
|
442
433
|
bank_name: string | null;
|
|
443
434
|
|
|
435
|
+
/**
|
|
436
|
+
* Estimated date to debit the customer's bank account. A date string in YYYY-MM-DD format.
|
|
437
|
+
*/
|
|
438
|
+
expected_debit_date?: string;
|
|
439
|
+
|
|
444
440
|
/**
|
|
445
441
|
* Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
|
|
446
442
|
*/
|
|
@@ -469,12 +465,12 @@ declare module 'stripe' {
|
|
|
469
465
|
|
|
470
466
|
interface Affirm {
|
|
471
467
|
/**
|
|
472
|
-
* ID of the [location](https://stripe.com/
|
|
468
|
+
* ID of the [location](https://docs.stripe.com/api/terminal/locations) that this transaction's reader is assigned to.
|
|
473
469
|
*/
|
|
474
470
|
location?: string;
|
|
475
471
|
|
|
476
472
|
/**
|
|
477
|
-
* ID of the [reader](https://stripe.com/
|
|
473
|
+
* ID of the [reader](https://docs.stripe.com/api/terminal/readers) this transaction was made on.
|
|
478
474
|
*/
|
|
479
475
|
reader?: string;
|
|
480
476
|
|
|
@@ -557,11 +553,6 @@ declare module 'stripe' {
|
|
|
557
553
|
*/
|
|
558
554
|
brand: string | null;
|
|
559
555
|
|
|
560
|
-
/**
|
|
561
|
-
* 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.)
|
|
562
|
-
*/
|
|
563
|
-
brand_product?: string | null;
|
|
564
|
-
|
|
565
556
|
/**
|
|
566
557
|
* 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.
|
|
567
558
|
*/
|
|
@@ -596,6 +587,11 @@ declare module 'stripe' {
|
|
|
596
587
|
*/
|
|
597
588
|
bsb_number: string | null;
|
|
598
589
|
|
|
590
|
+
/**
|
|
591
|
+
* Estimated date to debit the customer's bank account. A date string in YYYY-MM-DD format.
|
|
592
|
+
*/
|
|
593
|
+
expected_debit_date?: string;
|
|
594
|
+
|
|
599
595
|
/**
|
|
600
596
|
* Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
|
|
601
597
|
*/
|
|
@@ -613,6 +609,11 @@ declare module 'stripe' {
|
|
|
613
609
|
}
|
|
614
610
|
|
|
615
611
|
interface BacsDebit {
|
|
612
|
+
/**
|
|
613
|
+
* Estimated date to debit the customer's bank account. A date string in YYYY-MM-DD format.
|
|
614
|
+
*/
|
|
615
|
+
expected_debit_date?: string;
|
|
616
|
+
|
|
616
617
|
/**
|
|
617
618
|
* Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
|
|
618
619
|
*/
|
|
@@ -726,6 +727,11 @@ declare module 'stripe' {
|
|
|
726
727
|
}
|
|
727
728
|
|
|
728
729
|
interface Card {
|
|
730
|
+
/**
|
|
731
|
+
* The authorization code of the payment.
|
|
732
|
+
*/
|
|
733
|
+
authorization_code: string | null;
|
|
734
|
+
|
|
729
735
|
/**
|
|
730
736
|
* Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`.
|
|
731
737
|
*/
|
|
@@ -746,6 +752,11 @@ declare module 'stripe' {
|
|
|
746
752
|
*/
|
|
747
753
|
country: string | null;
|
|
748
754
|
|
|
755
|
+
/**
|
|
756
|
+
* A high-level description of the type of cards issued in this range.
|
|
757
|
+
*/
|
|
758
|
+
description: string | null;
|
|
759
|
+
|
|
749
760
|
/**
|
|
750
761
|
* Two-digit number representing the card's expiration month.
|
|
751
762
|
*/
|
|
@@ -768,6 +779,21 @@ declare module 'stripe' {
|
|
|
768
779
|
*/
|
|
769
780
|
funding: Card.Funding;
|
|
770
781
|
|
|
782
|
+
/**
|
|
783
|
+
* Issuer identification number of the card.
|
|
784
|
+
*/
|
|
785
|
+
iin: string | null;
|
|
786
|
+
|
|
787
|
+
/**
|
|
788
|
+
* Installment details for this payment.
|
|
789
|
+
*/
|
|
790
|
+
installments: Card.Installments | null;
|
|
791
|
+
|
|
792
|
+
/**
|
|
793
|
+
* The name of the card's issuing bank.
|
|
794
|
+
*/
|
|
795
|
+
issuer: string | null;
|
|
796
|
+
|
|
771
797
|
/**
|
|
772
798
|
* The last four digits of the card.
|
|
773
799
|
*/
|
|
@@ -783,6 +809,16 @@ declare module 'stripe' {
|
|
|
783
809
|
*/
|
|
784
810
|
network: Card.Network | null;
|
|
785
811
|
|
|
812
|
+
/**
|
|
813
|
+
* Advice code from the card network for the failed payment.
|
|
814
|
+
*/
|
|
815
|
+
network_advice_code: string | null;
|
|
816
|
+
|
|
817
|
+
/**
|
|
818
|
+
* Decline code from the card network for the failed payment.
|
|
819
|
+
*/
|
|
820
|
+
network_decline_code: string | null;
|
|
821
|
+
|
|
786
822
|
/**
|
|
787
823
|
* If this card has network token credentials, this contains the details of the network token credentials.
|
|
788
824
|
*/
|
|
@@ -793,6 +829,11 @@ declare module 'stripe' {
|
|
|
793
829
|
*/
|
|
794
830
|
network_transaction_id: string | null;
|
|
795
831
|
|
|
832
|
+
/**
|
|
833
|
+
* The transaction type that was passed for an off-session, Merchant-Initiated transaction, one of `recurring` or `unscheduled`.
|
|
834
|
+
*/
|
|
835
|
+
stored_credential_usage: Card.StoredCredentialUsage | null;
|
|
836
|
+
|
|
796
837
|
/**
|
|
797
838
|
* Populated if this transaction used 3D Secure authentication.
|
|
798
839
|
*/
|
|
@@ -845,6 +886,33 @@ declare module 'stripe' {
|
|
|
845
886
|
|
|
846
887
|
type Funding = 'credit' | 'debit' | 'prepaid' | 'unknown';
|
|
847
888
|
|
|
889
|
+
interface Installments {
|
|
890
|
+
plan: Installments.Plan | null;
|
|
891
|
+
}
|
|
892
|
+
|
|
893
|
+
namespace Installments {
|
|
894
|
+
interface Plan {
|
|
895
|
+
/**
|
|
896
|
+
* For `fixed_count` installment plans, this is the number of installment payments your customer will make to their credit card.
|
|
897
|
+
*/
|
|
898
|
+
count: number | null;
|
|
899
|
+
|
|
900
|
+
/**
|
|
901
|
+
* For `fixed_count` installment plans, this is the interval between installment payments your customer will make to their credit card. One of `month`.
|
|
902
|
+
*/
|
|
903
|
+
interval: 'month' | null;
|
|
904
|
+
|
|
905
|
+
/**
|
|
906
|
+
* Type of installment plan, one of `fixed_count`, `revolving`, or `bonus`.
|
|
907
|
+
*/
|
|
908
|
+
type: Plan.Type;
|
|
909
|
+
}
|
|
910
|
+
|
|
911
|
+
namespace Plan {
|
|
912
|
+
type Type = 'bonus' | 'fixed_count' | 'revolving';
|
|
913
|
+
}
|
|
914
|
+
}
|
|
915
|
+
|
|
848
916
|
type Network =
|
|
849
917
|
| 'amex'
|
|
850
918
|
| 'cartes_bancaires'
|
|
@@ -866,6 +934,8 @@ declare module 'stripe' {
|
|
|
866
934
|
used: boolean;
|
|
867
935
|
}
|
|
868
936
|
|
|
937
|
+
type StoredCredentialUsage = 'recurring' | 'unscheduled';
|
|
938
|
+
|
|
869
939
|
interface ThreeDSecure {
|
|
870
940
|
authentication_flow: ThreeDSecure.AuthenticationFlow | null;
|
|
871
941
|
|
|
@@ -1001,7 +1071,7 @@ declare module 'stripe' {
|
|
|
1001
1071
|
iin?: string | null;
|
|
1002
1072
|
|
|
1003
1073
|
/**
|
|
1004
|
-
* Whether this [PaymentIntent](https://stripe.com/
|
|
1074
|
+
* 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).
|
|
1005
1075
|
*/
|
|
1006
1076
|
incremental_authorization_supported: boolean;
|
|
1007
1077
|
|
|
@@ -1310,8 +1380,6 @@ declare module 'stripe' {
|
|
|
1310
1380
|
verified_name: string | null;
|
|
1311
1381
|
}
|
|
1312
1382
|
|
|
1313
|
-
interface Gopay {}
|
|
1314
|
-
|
|
1315
1383
|
interface Grabpay {
|
|
1316
1384
|
/**
|
|
1317
1385
|
* Unique transaction id generated by GrabPay
|
|
@@ -1319,40 +1387,9 @@ declare module 'stripe' {
|
|
|
1319
1387
|
transaction_id: string | null;
|
|
1320
1388
|
}
|
|
1321
1389
|
|
|
1322
|
-
interface IdBankTransfer {
|
|
1323
|
-
/**
|
|
1324
|
-
* Account number of the bank account to transfer funds to.
|
|
1325
|
-
*/
|
|
1326
|
-
account_number: string;
|
|
1327
|
-
|
|
1328
|
-
/**
|
|
1329
|
-
* Bank where the account is located.
|
|
1330
|
-
*/
|
|
1331
|
-
bank: IdBankTransfer.Bank;
|
|
1332
|
-
|
|
1333
|
-
/**
|
|
1334
|
-
* Local bank code of the bank.
|
|
1335
|
-
*/
|
|
1336
|
-
bank_code?: string;
|
|
1337
|
-
|
|
1338
|
-
/**
|
|
1339
|
-
* Name of the bank associated with the bank account.
|
|
1340
|
-
*/
|
|
1341
|
-
bank_name?: string;
|
|
1342
|
-
|
|
1343
|
-
/**
|
|
1344
|
-
* Merchant name and billing details name, for the customer to check for the correct merchant when performing the bank transfer.
|
|
1345
|
-
*/
|
|
1346
|
-
display_name?: string;
|
|
1347
|
-
}
|
|
1348
|
-
|
|
1349
|
-
namespace IdBankTransfer {
|
|
1350
|
-
type Bank = 'bca' | 'bni' | 'bri' | 'cimb' | 'permata';
|
|
1351
|
-
}
|
|
1352
|
-
|
|
1353
1390
|
interface Ideal {
|
|
1354
1391
|
/**
|
|
1355
|
-
* 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`.
|
|
1392
|
+
* 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`.
|
|
1356
1393
|
*/
|
|
1357
1394
|
bank: Ideal.Bank | null;
|
|
1358
1395
|
|
|
@@ -1398,6 +1435,7 @@ declare module 'stripe' {
|
|
|
1398
1435
|
| 'handelsbanken'
|
|
1399
1436
|
| 'ing'
|
|
1400
1437
|
| 'knab'
|
|
1438
|
+
| 'mollie'
|
|
1401
1439
|
| 'moneyou'
|
|
1402
1440
|
| 'n26'
|
|
1403
1441
|
| 'nn'
|
|
@@ -1420,6 +1458,7 @@ declare module 'stripe' {
|
|
|
1420
1458
|
| 'HANDNL2A'
|
|
1421
1459
|
| 'INGBNL2A'
|
|
1422
1460
|
| 'KNABNL2H'
|
|
1461
|
+
| 'MLLENL2A'
|
|
1423
1462
|
| 'MOYONL21'
|
|
1424
1463
|
| 'NNBANL2G'
|
|
1425
1464
|
| 'NTSBDEB1'
|
|
@@ -1793,6 +1832,11 @@ declare module 'stripe' {
|
|
|
1793
1832
|
*/
|
|
1794
1833
|
branch_code: string;
|
|
1795
1834
|
|
|
1835
|
+
/**
|
|
1836
|
+
* Estimated date to debit the customer's bank account. A date string in YYYY-MM-DD format.
|
|
1837
|
+
*/
|
|
1838
|
+
expected_debit_date?: string;
|
|
1839
|
+
|
|
1796
1840
|
/**
|
|
1797
1841
|
* Last four digits of the bank account number.
|
|
1798
1842
|
*/
|
|
@@ -1876,12 +1920,12 @@ declare module 'stripe' {
|
|
|
1876
1920
|
|
|
1877
1921
|
interface Paynow {
|
|
1878
1922
|
/**
|
|
1879
|
-
* ID of the [location](https://stripe.com/
|
|
1923
|
+
* ID of the [location](https://docs.stripe.com/api/terminal/locations) that this transaction's reader is assigned to.
|
|
1880
1924
|
*/
|
|
1881
1925
|
location?: string;
|
|
1882
1926
|
|
|
1883
1927
|
/**
|
|
1884
|
-
* ID of the [reader](https://stripe.com/
|
|
1928
|
+
* ID of the [reader](https://docs.stripe.com/api/terminal/readers) this transaction was made on.
|
|
1885
1929
|
*/
|
|
1886
1930
|
reader?: string;
|
|
1887
1931
|
|
|
@@ -1919,36 +1963,10 @@ declare module 'stripe' {
|
|
|
1919
1963
|
*/
|
|
1920
1964
|
seller_protection: Paypal.SellerProtection | null;
|
|
1921
1965
|
|
|
1922
|
-
/**
|
|
1923
|
-
* The shipping address for the customer, as supplied by the merchant at the point of payment
|
|
1924
|
-
* execution. This shipping address will not be updated if the merchant updates the shipping
|
|
1925
|
-
* address on the PaymentIntent after the PaymentIntent was successfully confirmed.
|
|
1926
|
-
*/
|
|
1927
|
-
shipping?: Stripe.Address | null;
|
|
1928
|
-
|
|
1929
1966
|
/**
|
|
1930
1967
|
* A unique ID generated by PayPal for this transaction.
|
|
1931
1968
|
*/
|
|
1932
1969
|
transaction_id: string | null;
|
|
1933
|
-
|
|
1934
|
-
/**
|
|
1935
|
-
* The shipping address for the customer, as supplied by the merchant at the point of payment
|
|
1936
|
-
* execution. This shipping address will not be updated if the merchant updates the shipping
|
|
1937
|
-
* address on the PaymentIntent after the PaymentIntent was successfully confirmed.
|
|
1938
|
-
*/
|
|
1939
|
-
verified_address?: Stripe.Address | null;
|
|
1940
|
-
|
|
1941
|
-
/**
|
|
1942
|
-
* Owner's verified email. Values are verified or provided by PayPal directly
|
|
1943
|
-
* (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
|
1944
|
-
*/
|
|
1945
|
-
verified_email?: string | null;
|
|
1946
|
-
|
|
1947
|
-
/**
|
|
1948
|
-
* Owner's verified full name. Values are verified or provided by PayPal directly
|
|
1949
|
-
* (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
|
1950
|
-
*/
|
|
1951
|
-
verified_name?: string | null;
|
|
1952
1970
|
}
|
|
1953
1971
|
|
|
1954
1972
|
namespace Paypal {
|
|
@@ -1971,8 +1989,6 @@ declare module 'stripe' {
|
|
|
1971
1989
|
}
|
|
1972
1990
|
}
|
|
1973
1991
|
|
|
1974
|
-
interface Paypay {}
|
|
1975
|
-
|
|
1976
1992
|
interface Payto {
|
|
1977
1993
|
/**
|
|
1978
1994
|
* Bank-State-Branch number of the bank account.
|
|
@@ -2000,11 +2016,6 @@ declare module 'stripe' {
|
|
|
2000
2016
|
* Unique transaction id generated by BCB
|
|
2001
2017
|
*/
|
|
2002
2018
|
bank_transaction_id?: string | null;
|
|
2003
|
-
|
|
2004
|
-
/**
|
|
2005
|
-
* ID of the multi use Mandate generated by the PaymentIntent
|
|
2006
|
-
*/
|
|
2007
|
-
mandate?: string;
|
|
2008
2019
|
}
|
|
2009
2020
|
|
|
2010
2021
|
interface Promptpay {
|
|
@@ -2014,15 +2025,6 @@ declare module 'stripe' {
|
|
|
2014
2025
|
reference: string | null;
|
|
2015
2026
|
}
|
|
2016
2027
|
|
|
2017
|
-
interface Qris {}
|
|
2018
|
-
|
|
2019
|
-
interface Rechnung {
|
|
2020
|
-
/**
|
|
2021
|
-
* Payment portal URL.
|
|
2022
|
-
*/
|
|
2023
|
-
payment_portal_url: string | null;
|
|
2024
|
-
}
|
|
2025
|
-
|
|
2026
2028
|
interface RevolutPay {
|
|
2027
2029
|
funding?: RevolutPay.Funding;
|
|
2028
2030
|
|
|
@@ -2049,11 +2051,6 @@ declare module 'stripe' {
|
|
|
2049
2051
|
*/
|
|
2050
2052
|
brand: string | null;
|
|
2051
2053
|
|
|
2052
|
-
/**
|
|
2053
|
-
* 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.)
|
|
2054
|
-
*/
|
|
2055
|
-
brand_product?: string | null;
|
|
2056
|
-
|
|
2057
2054
|
/**
|
|
2058
2055
|
* 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.
|
|
2059
2056
|
*/
|
|
@@ -2134,6 +2131,11 @@ declare module 'stripe' {
|
|
|
2134
2131
|
*/
|
|
2135
2132
|
country: string | null;
|
|
2136
2133
|
|
|
2134
|
+
/**
|
|
2135
|
+
* Estimated date to debit the customer's bank account. A date string in YYYY-MM-DD format.
|
|
2136
|
+
*/
|
|
2137
|
+
expected_debit_date?: string;
|
|
2138
|
+
|
|
2137
2139
|
/**
|
|
2138
2140
|
* Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
|
|
2139
2141
|
*/
|
|
@@ -2145,13 +2147,11 @@ declare module 'stripe' {
|
|
|
2145
2147
|
last4: string | null;
|
|
2146
2148
|
|
|
2147
2149
|
/**
|
|
2148
|
-
* Find the ID of the mandate used for this payment under the [payment_method_details.sepa_debit.mandate](https://stripe.com/
|
|
2150
|
+
* 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).
|
|
2149
2151
|
*/
|
|
2150
2152
|
mandate: string | null;
|
|
2151
2153
|
}
|
|
2152
2154
|
|
|
2153
|
-
interface Shopeepay {}
|
|
2154
|
-
|
|
2155
2155
|
interface Sofort {
|
|
2156
2156
|
/**
|
|
2157
2157
|
* Bank code of bank associated with the bank account.
|
|
@@ -2214,22 +2214,6 @@ declare module 'stripe' {
|
|
|
2214
2214
|
|
|
2215
2215
|
interface StripeAccount {}
|
|
2216
2216
|
|
|
2217
|
-
interface StripeBalance {
|
|
2218
|
-
/**
|
|
2219
|
-
* The connected account ID whose Stripe balance to use as the source of payment
|
|
2220
|
-
*/
|
|
2221
|
-
account?: string | null;
|
|
2222
|
-
|
|
2223
|
-
/**
|
|
2224
|
-
* The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
|
|
2225
|
-
*/
|
|
2226
|
-
source_type: StripeBalance.SourceType;
|
|
2227
|
-
}
|
|
2228
|
-
|
|
2229
|
-
namespace StripeBalance {
|
|
2230
|
-
type SourceType = 'bank_account' | 'card' | 'fpx';
|
|
2231
|
-
}
|
|
2232
|
-
|
|
2233
2217
|
interface Swish {
|
|
2234
2218
|
/**
|
|
2235
2219
|
* 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
|
|
@@ -2265,6 +2249,11 @@ declare module 'stripe' {
|
|
|
2265
2249
|
*/
|
|
2266
2250
|
bank_name: string | null;
|
|
2267
2251
|
|
|
2252
|
+
/**
|
|
2253
|
+
* Estimated date to debit the customer's bank account. A date string in YYYY-MM-DD format.
|
|
2254
|
+
*/
|
|
2255
|
+
expected_debit_date?: string | null;
|
|
2256
|
+
|
|
2268
2257
|
/**
|
|
2269
2258
|
* Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
|
|
2270
2259
|
*/
|
|
@@ -2306,12 +2295,12 @@ declare module 'stripe' {
|
|
|
2306
2295
|
fingerprint: string | null;
|
|
2307
2296
|
|
|
2308
2297
|
/**
|
|
2309
|
-
* ID of the [location](https://stripe.com/
|
|
2298
|
+
* ID of the [location](https://docs.stripe.com/api/terminal/locations) that this transaction's reader is assigned to.
|
|
2310
2299
|
*/
|
|
2311
2300
|
location?: string;
|
|
2312
2301
|
|
|
2313
2302
|
/**
|
|
2314
|
-
* ID of the [reader](https://stripe.com/
|
|
2303
|
+
* ID of the [reader](https://docs.stripe.com/api/terminal/readers) this transaction was made on.
|
|
2315
2304
|
*/
|
|
2316
2305
|
reader?: string;
|
|
2317
2306
|
|
|
@@ -2347,6 +2336,8 @@ declare module 'stripe' {
|
|
|
2347
2336
|
}
|
|
2348
2337
|
}
|
|
2349
2338
|
|
|
2339
|
+
type ReportedBy = 'self' | 'stripe';
|
|
2340
|
+
|
|
2350
2341
|
interface ShippingDetails {
|
|
2351
2342
|
/**
|
|
2352
2343
|
* A representation of a physical address.
|
|
@@ -56,7 +56,7 @@ declare module 'stripe' {
|
|
|
56
56
|
guaranteed?: PaymentRecordReportPaymentParams.Guaranteed;
|
|
57
57
|
|
|
58
58
|
/**
|
|
59
|
-
* Set of [key-value pairs](https://stripe.com/
|
|
59
|
+
* 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`.
|
|
60
60
|
*/
|
|
61
61
|
metadata?: Stripe.Emptyable<Stripe.MetadataParam>;
|
|
62
62
|
|
|
@@ -84,7 +84,7 @@ declare module 'stripe' {
|
|
|
84
84
|
currency: string;
|
|
85
85
|
|
|
86
86
|
/**
|
|
87
|
-
* A positive integer representing the amount in the currency's [minor unit](https://stripe.com/
|
|
87
|
+
* A positive integer representing the amount in the currency's [minor unit](https://docs.stripe.com/currencies#zero-decimal). For example, `100` can represent 1 USD or 100 JPY.
|
|
88
88
|
*/
|
|
89
89
|
value: number;
|
|
90
90
|
}
|
|
@@ -253,7 +253,7 @@ declare module 'stripe' {
|
|
|
253
253
|
guaranteed?: PaymentRecordReportPaymentAttemptParams.Guaranteed;
|
|
254
254
|
|
|
255
255
|
/**
|
|
256
|
-
* Set of [key-value pairs](https://stripe.com/
|
|
256
|
+
* 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`.
|
|
257
257
|
*/
|
|
258
258
|
metadata?: Stripe.Emptyable<Stripe.MetadataParam>;
|
|
259
259
|
|
|
@@ -425,7 +425,7 @@ declare module 'stripe' {
|
|
|
425
425
|
expand?: Array<string>;
|
|
426
426
|
|
|
427
427
|
/**
|
|
428
|
-
* Set of [key-value pairs](https://stripe.com/
|
|
428
|
+
* 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`.
|
|
429
429
|
*/
|
|
430
430
|
metadata?: Stripe.Emptyable<Stripe.MetadataParam>;
|
|
431
431
|
|
|
@@ -495,7 +495,7 @@ declare module 'stripe' {
|
|
|
495
495
|
refunded: PaymentRecordReportRefundParams.Refunded;
|
|
496
496
|
|
|
497
497
|
/**
|
|
498
|
-
* A positive integer in the [smallest currency unit](https://stripe.com/
|
|
498
|
+
* A positive integer in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal) representing how much of this payment to refund. Can refund only up to the remaining, unrefunded amount of the payment.
|
|
499
499
|
*/
|
|
500
500
|
amount?: PaymentRecordReportRefundParams.Amount;
|
|
501
501
|
|
|
@@ -510,7 +510,7 @@ declare module 'stripe' {
|
|
|
510
510
|
initiated_at?: number;
|
|
511
511
|
|
|
512
512
|
/**
|
|
513
|
-
* Set of [key-value pairs](https://stripe.com/
|
|
513
|
+
* 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`.
|
|
514
514
|
*/
|
|
515
515
|
metadata?: Stripe.Emptyable<Stripe.MetadataParam>;
|
|
516
516
|
}
|
|
@@ -523,7 +523,7 @@ declare module 'stripe' {
|
|
|
523
523
|
currency: string;
|
|
524
524
|
|
|
525
525
|
/**
|
|
526
|
-
* A positive integer representing the amount in the currency's [minor unit](https://stripe.com/
|
|
526
|
+
* A positive integer representing the amount in the currency's [minor unit](https://docs.stripe.com/currencies#zero-decimal). For example, `100` can represent 1 USD or 100 JPY.
|
|
527
527
|
*/
|
|
528
528
|
value: number;
|
|
529
529
|
}
|