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
|
@@ -9,11 +9,11 @@ declare module 'stripe' {
|
|
|
9
9
|
* see the history of payment attempts for a particular session.
|
|
10
10
|
*
|
|
11
11
|
* A PaymentIntent transitions through
|
|
12
|
-
* [multiple statuses](https://stripe.com/
|
|
12
|
+
* [multiple statuses](https://docs.stripe.com/payments/paymentintents/lifecycle)
|
|
13
13
|
* throughout its lifetime as it interfaces with Stripe.js to perform
|
|
14
14
|
* authentication flows and ultimately creates at most one successful charge.
|
|
15
15
|
*
|
|
16
|
-
* Related guide: [Payment Intents API](https://stripe.com/
|
|
16
|
+
* Related guide: [Payment Intents API](https://docs.stripe.com/payments/payment-intents)
|
|
17
17
|
*/
|
|
18
18
|
interface PaymentIntent {
|
|
19
19
|
/**
|
|
@@ -27,7 +27,7 @@ declare module 'stripe' {
|
|
|
27
27
|
object: 'payment_intent';
|
|
28
28
|
|
|
29
29
|
/**
|
|
30
|
-
* Amount intended to be collected by this PaymentIntent. A positive integer representing how much to charge in the [smallest currency unit](https://stripe.com/
|
|
30
|
+
* Amount intended to be collected by this PaymentIntent. 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).
|
|
31
31
|
*/
|
|
32
32
|
amount: number;
|
|
33
33
|
|
|
@@ -49,7 +49,7 @@ declare module 'stripe' {
|
|
|
49
49
|
application: string | Stripe.Application | null;
|
|
50
50
|
|
|
51
51
|
/**
|
|
52
|
-
* The amount of the application fee (if any) that will be requested to be applied to the payment and transferred to the application owner's Stripe account. The amount of the application fee collected will be capped at the total amount captured. For more information, see the PaymentIntents [use case for connected accounts](https://stripe.com/
|
|
52
|
+
* The amount of the application fee (if any) that will be requested to be applied to the payment and transferred to the application owner's Stripe account. The amount of the application fee collected will be capped at the total amount captured. For more information, see the PaymentIntents [use case for connected accounts](https://docs.stripe.com/payments/connected-accounts).
|
|
53
53
|
*/
|
|
54
54
|
application_fee_amount: number | null;
|
|
55
55
|
|
|
@@ -78,7 +78,7 @@ declare module 'stripe' {
|
|
|
78
78
|
*
|
|
79
79
|
* The client secret can be used to complete a payment from your frontend. It should not be stored, logged, or exposed to anyone other than the customer. Make sure that you have TLS enabled on any page that includes the client secret.
|
|
80
80
|
*
|
|
81
|
-
* Refer to our docs to [accept a payment](https://stripe.com/
|
|
81
|
+
* Refer to our docs to [accept a payment](https://docs.stripe.com/payments/accept-a-payment?ui=elements) and learn about how `client_secret` should be handled.
|
|
82
82
|
*/
|
|
83
83
|
client_secret: string | null;
|
|
84
84
|
|
|
@@ -102,18 +102,18 @@ declare module 'stripe' {
|
|
|
102
102
|
*
|
|
103
103
|
* Payment methods attached to other Customers cannot be used with this PaymentIntent.
|
|
104
104
|
*
|
|
105
|
-
* If [setup_future_usage](https://stripe.com
|
|
105
|
+
* If [setup_future_usage](https://api.stripe.com#payment_intent_object-setup_future_usage) is set and this PaymentIntent's payment method is not `card_present`, then the payment method attaches to the Customer after the PaymentIntent has been confirmed and any required actions from the user are complete. If the payment method is `card_present` and isn't a digital wallet, then a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card is created and attached to the Customer instead.
|
|
106
106
|
*/
|
|
107
107
|
customer: string | Stripe.Customer | Stripe.DeletedCustomer | null;
|
|
108
108
|
|
|
109
109
|
/**
|
|
110
|
-
* ID of the Account this PaymentIntent belongs to, if one exists.
|
|
110
|
+
* ID of the Account representing the customer that this PaymentIntent belongs to, if one exists.
|
|
111
111
|
*
|
|
112
112
|
* Payment methods attached to other Accounts cannot be used with this PaymentIntent.
|
|
113
113
|
*
|
|
114
|
-
* If [setup_future_usage](https://stripe.com
|
|
114
|
+
* If [setup_future_usage](https://api.stripe.com#payment_intent_object-setup_future_usage) is set and this PaymentIntent's payment method is not `card_present`, then the payment method attaches to the Account after the PaymentIntent has been confirmed and any required actions from the user are complete. If the payment method is `card_present` and isn't a digital wallet, then a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card is created and attached to the Account instead.
|
|
115
115
|
*/
|
|
116
|
-
customer_account
|
|
116
|
+
customer_account: string | null;
|
|
117
117
|
|
|
118
118
|
/**
|
|
119
119
|
* An arbitrary string attached to the object. Often useful for displaying to users.
|
|
@@ -127,11 +127,6 @@ declare module 'stripe' {
|
|
|
127
127
|
PaymentIntent.ExcludedPaymentMethodType
|
|
128
128
|
> | null;
|
|
129
129
|
|
|
130
|
-
/**
|
|
131
|
-
* The FX Quote used for the PaymentIntent.
|
|
132
|
-
*/
|
|
133
|
-
fx_quote?: string | null;
|
|
134
|
-
|
|
135
130
|
hooks?: PaymentIntent.Hooks;
|
|
136
131
|
|
|
137
132
|
/**
|
|
@@ -140,7 +135,7 @@ declare module 'stripe' {
|
|
|
140
135
|
last_payment_error: PaymentIntent.LastPaymentError | null;
|
|
141
136
|
|
|
142
137
|
/**
|
|
143
|
-
* ID of the latest [Charge object](https://stripe.com/
|
|
138
|
+
* ID of the latest [Charge object](https://docs.stripe.com/api/charges) created by this PaymentIntent. This property is `null` until PaymentIntent confirmation is attempted.
|
|
144
139
|
*/
|
|
145
140
|
latest_charge: string | Stripe.Charge | null;
|
|
146
141
|
|
|
@@ -150,7 +145,7 @@ declare module 'stripe' {
|
|
|
150
145
|
livemode: boolean;
|
|
151
146
|
|
|
152
147
|
/**
|
|
153
|
-
* Set of [key-value pairs](https://stripe.com/
|
|
148
|
+
* 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. Learn more about [storing information in metadata](https://docs.stripe.com/payments/payment-intents/creating-payment-intents#storing-information-in-metadata).
|
|
154
149
|
*/
|
|
155
150
|
metadata: Stripe.Metadata;
|
|
156
151
|
|
|
@@ -160,7 +155,8 @@ declare module 'stripe' {
|
|
|
160
155
|
next_action: PaymentIntent.NextAction | null;
|
|
161
156
|
|
|
162
157
|
/**
|
|
163
|
-
*
|
|
158
|
+
* You can specify the settlement merchant as the
|
|
159
|
+
* connected account using the `on_behalf_of` attribute on the charge. See the PaymentIntents [use case for connected accounts](https://docs.stripe.com/payments/connected-accounts) for details.
|
|
164
160
|
*/
|
|
165
161
|
on_behalf_of: string | Stripe.Account | null;
|
|
166
162
|
|
|
@@ -172,7 +168,7 @@ declare module 'stripe' {
|
|
|
172
168
|
payment_method: string | Stripe.PaymentMethod | null;
|
|
173
169
|
|
|
174
170
|
/**
|
|
175
|
-
* Information about the [payment method configuration](https://stripe.com/
|
|
171
|
+
* Information about the [payment method configuration](https://docs.stripe.com/api/payment_method_configurations) used for this PaymentIntent.
|
|
176
172
|
*/
|
|
177
173
|
payment_method_configuration_details: PaymentIntent.PaymentMethodConfigurationDetails | null;
|
|
178
174
|
|
|
@@ -203,11 +199,6 @@ declare module 'stripe' {
|
|
|
203
199
|
*/
|
|
204
200
|
review: string | Stripe.Review | null;
|
|
205
201
|
|
|
206
|
-
/**
|
|
207
|
-
* Indicates whether confirmation for this PaymentIntent using a secret key is `required` or `optional`.
|
|
208
|
-
*/
|
|
209
|
-
secret_key_confirmation?: PaymentIntent.SecretKeyConfirmation;
|
|
210
|
-
|
|
211
202
|
/**
|
|
212
203
|
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
213
204
|
*
|
|
@@ -246,17 +237,17 @@ declare module 'stripe' {
|
|
|
246
237
|
statement_descriptor_suffix: string | null;
|
|
247
238
|
|
|
248
239
|
/**
|
|
249
|
-
* Status of this PaymentIntent, one of `requires_payment_method`, `requires_confirmation`, `requires_action`, `processing`, `requires_capture`, `canceled`, or `succeeded`. Read more about each PaymentIntent [status](https://stripe.com/
|
|
240
|
+
* Status of this PaymentIntent, one of `requires_payment_method`, `requires_confirmation`, `requires_action`, `processing`, `requires_capture`, `canceled`, or `succeeded`. Read more about each PaymentIntent [status](https://docs.stripe.com/payments/intents#intent-statuses).
|
|
250
241
|
*/
|
|
251
242
|
status: PaymentIntent.Status;
|
|
252
243
|
|
|
253
244
|
/**
|
|
254
|
-
* The data that automatically creates a Transfer after the payment finalizes. Learn more about the [use case for connected accounts](https://stripe.com/
|
|
245
|
+
* The data that automatically creates a Transfer after the payment finalizes. Learn more about the [use case for connected accounts](https://docs.stripe.com/payments/connected-accounts).
|
|
255
246
|
*/
|
|
256
|
-
transfer_data
|
|
247
|
+
transfer_data?: PaymentIntent.TransferData | null;
|
|
257
248
|
|
|
258
249
|
/**
|
|
259
|
-
* A string that identifies the resulting payment as part of a group. Learn more about the [use case for connected accounts](https://stripe.com/
|
|
250
|
+
* A string that identifies the resulting payment as part of a group. Learn more about the [use case for connected accounts](https://docs.stripe.com/connect/separate-charges-and-transfers).
|
|
260
251
|
*/
|
|
261
252
|
transfer_group: string | null;
|
|
262
253
|
}
|
|
@@ -264,14 +255,14 @@ declare module 'stripe' {
|
|
|
264
255
|
namespace PaymentIntent {
|
|
265
256
|
interface AmountDetails {
|
|
266
257
|
/**
|
|
267
|
-
* The total discount applied on the transaction represented in the [smallest currency unit](https://stripe.com/
|
|
258
|
+
* The total discount applied on the transaction represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). An integer greater than 0.
|
|
268
259
|
*
|
|
269
260
|
* This field is mutually exclusive with the `amount_details[line_items][#][discount_amount]` field.
|
|
270
261
|
*/
|
|
271
262
|
discount_amount?: number;
|
|
272
263
|
|
|
273
264
|
/**
|
|
274
|
-
* A list of line items, each containing information about a product in the PaymentIntent. There is a maximum of
|
|
265
|
+
* A list of line items, each containing information about a product in the PaymentIntent. There is a maximum of 200 line items.
|
|
275
266
|
*/
|
|
276
267
|
line_items?: ApiList<Stripe.PaymentIntentAmountDetailsLineItem>;
|
|
277
268
|
|
|
@@ -285,7 +276,7 @@ declare module 'stripe' {
|
|
|
285
276
|
namespace AmountDetails {
|
|
286
277
|
interface Shipping {
|
|
287
278
|
/**
|
|
288
|
-
* If a physical good is being shipped, the cost of shipping represented in the [smallest currency unit](https://stripe.com/
|
|
279
|
+
* If a physical good is being shipped, the cost of shipping represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). An integer greater than or equal to 0.
|
|
289
280
|
*/
|
|
290
281
|
amount: number | null;
|
|
291
282
|
|
|
@@ -302,7 +293,7 @@ declare module 'stripe' {
|
|
|
302
293
|
|
|
303
294
|
interface Tax {
|
|
304
295
|
/**
|
|
305
|
-
* The total amount of tax on the transaction represented in the [smallest currency unit](https://stripe.com/
|
|
296
|
+
* The total amount of tax on the transaction represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). Required for L2 rates. An integer greater than or equal to 0.
|
|
306
297
|
*
|
|
307
298
|
* This field is mutually exclusive with the `amount_details[line_items][#][tax][total_tax_amount]` field.
|
|
308
299
|
*/
|
|
@@ -321,7 +312,7 @@ declare module 'stripe' {
|
|
|
321
312
|
/**
|
|
322
313
|
* Controls whether this PaymentIntent will accept redirect-based payment methods.
|
|
323
314
|
*
|
|
324
|
-
* Redirect-based payment methods may require your customer to be redirected to a payment method's app or site for authentication or additional steps. To [confirm](https://stripe.com/
|
|
315
|
+
* Redirect-based payment methods may require your customer to be redirected to a payment method's app or site for authentication or additional steps. To [confirm](https://docs.stripe.com/api/payment_intents/confirm) this PaymentIntent, you may be required to provide a `return_url` to redirect customers back to your site after they authenticate or complete the payment.
|
|
325
316
|
*/
|
|
326
317
|
allow_redirects?: AutomaticPaymentMethods.AllowRedirects;
|
|
327
318
|
|
|
@@ -369,9 +360,7 @@ declare module 'stripe' {
|
|
|
369
360
|
| 'eps'
|
|
370
361
|
| 'fpx'
|
|
371
362
|
| 'giropay'
|
|
372
|
-
| 'gopay'
|
|
373
363
|
| 'grabpay'
|
|
374
|
-
| 'id_bank_transfer'
|
|
375
364
|
| 'ideal'
|
|
376
365
|
| 'kakao_pay'
|
|
377
366
|
| 'klarna'
|
|
@@ -388,19 +377,14 @@ declare module 'stripe' {
|
|
|
388
377
|
| 'payco'
|
|
389
378
|
| 'paynow'
|
|
390
379
|
| 'paypal'
|
|
391
|
-
| 'paypay'
|
|
392
380
|
| 'payto'
|
|
393
381
|
| 'pix'
|
|
394
382
|
| 'promptpay'
|
|
395
|
-
| 'qris'
|
|
396
|
-
| 'rechnung'
|
|
397
383
|
| 'revolut_pay'
|
|
398
384
|
| 'samsung_pay'
|
|
399
385
|
| 'satispay'
|
|
400
386
|
| 'sepa_debit'
|
|
401
|
-
| 'shopeepay'
|
|
402
387
|
| 'sofort'
|
|
403
|
-
| 'stripe_balance'
|
|
404
388
|
| 'swish'
|
|
405
389
|
| 'twint'
|
|
406
390
|
| 'us_bank_account'
|
|
@@ -419,7 +403,7 @@ declare module 'stripe' {
|
|
|
419
403
|
namespace Inputs {
|
|
420
404
|
interface Tax {
|
|
421
405
|
/**
|
|
422
|
-
* The [TaxCalculation](https://stripe.com/
|
|
406
|
+
* The [TaxCalculation](https://docs.stripe.com/api/tax/calculations) id
|
|
423
407
|
*/
|
|
424
408
|
calculation: string;
|
|
425
409
|
}
|
|
@@ -428,7 +412,7 @@ declare module 'stripe' {
|
|
|
428
412
|
|
|
429
413
|
interface LastPaymentError {
|
|
430
414
|
/**
|
|
431
|
-
* For card errors resulting from a card issuer decline, a short string indicating [how to proceed with an error](https://stripe.com/
|
|
415
|
+
* For card errors resulting from a card issuer decline, a short string indicating [how to proceed with an error](https://docs.stripe.com/declines#retrying-issuer-declines) if they provide one.
|
|
432
416
|
*/
|
|
433
417
|
advice_code?: string;
|
|
434
418
|
|
|
@@ -438,17 +422,17 @@ declare module 'stripe' {
|
|
|
438
422
|
charge?: string;
|
|
439
423
|
|
|
440
424
|
/**
|
|
441
|
-
* For some errors that could be handled programmatically, a short string indicating the [error code](https://stripe.com/
|
|
425
|
+
* For some errors that could be handled programmatically, a short string indicating the [error code](https://docs.stripe.com/error-codes) reported.
|
|
442
426
|
*/
|
|
443
427
|
code?: LastPaymentError.Code;
|
|
444
428
|
|
|
445
429
|
/**
|
|
446
|
-
* For card errors resulting from a card issuer decline, a short string indicating the [card issuer's reason for the decline](https://stripe.com/
|
|
430
|
+
* For card errors resulting from a card issuer decline, a short string indicating the [card issuer's reason for the decline](https://docs.stripe.com/declines#issuer-declines) if they provide one.
|
|
447
431
|
*/
|
|
448
432
|
decline_code?: string;
|
|
449
433
|
|
|
450
434
|
/**
|
|
451
|
-
* A URL to more information about the [error code](https://stripe.com/
|
|
435
|
+
* A URL to more information about the [error code](https://docs.stripe.com/error-codes) reported.
|
|
452
436
|
*/
|
|
453
437
|
doc_url?: string;
|
|
454
438
|
|
|
@@ -479,20 +463,20 @@ declare module 'stripe' {
|
|
|
479
463
|
* see the history of payment attempts for a particular session.
|
|
480
464
|
*
|
|
481
465
|
* A PaymentIntent transitions through
|
|
482
|
-
* [multiple statuses](https://stripe.com/
|
|
466
|
+
* [multiple statuses](https://docs.stripe.com/payments/paymentintents/lifecycle)
|
|
483
467
|
* throughout its lifetime as it interfaces with Stripe.js to perform
|
|
484
468
|
* authentication flows and ultimately creates at most one successful charge.
|
|
485
469
|
*
|
|
486
|
-
* Related guide: [Payment Intents API](https://stripe.com/
|
|
470
|
+
* Related guide: [Payment Intents API](https://docs.stripe.com/payments/payment-intents)
|
|
487
471
|
*/
|
|
488
472
|
payment_intent?: Stripe.PaymentIntent;
|
|
489
473
|
|
|
490
474
|
/**
|
|
491
475
|
* PaymentMethod objects represent your customer's payment instruments.
|
|
492
|
-
* You can use them with [PaymentIntents](https://stripe.com/
|
|
476
|
+
* You can use them with [PaymentIntents](https://docs.stripe.com/payments/payment-intents) to collect payments or save them to
|
|
493
477
|
* Customer objects to store instrument details for future payments.
|
|
494
478
|
*
|
|
495
|
-
* Related guides: [Payment Methods](https://stripe.com/
|
|
479
|
+
* Related guides: [Payment Methods](https://docs.stripe.com/payments/payment-methods) and [More Payment Scenarios](https://docs.stripe.com/payments/more-payment-scenarios).
|
|
496
480
|
*/
|
|
497
481
|
payment_method?: Stripe.PaymentMethod;
|
|
498
482
|
|
|
@@ -509,7 +493,7 @@ declare module 'stripe' {
|
|
|
509
493
|
/**
|
|
510
494
|
* A SetupIntent guides you through the process of setting up and saving a customer's payment credentials for future payments.
|
|
511
495
|
* For example, you can use a SetupIntent to set up and save your customer's card without immediately collecting a payment.
|
|
512
|
-
* Later, you can use [PaymentIntents](https://stripe.com
|
|
496
|
+
* Later, you can use [PaymentIntents](https://api.stripe.com#payment_intents) to drive the payment flow.
|
|
513
497
|
*
|
|
514
498
|
* Create a SetupIntent when you're ready to collect your customer's payment credentials.
|
|
515
499
|
* Don't maintain long-lived, unconfirmed SetupIntents because they might not be valid.
|
|
@@ -520,9 +504,9 @@ declare module 'stripe' {
|
|
|
520
504
|
* For example, cardholders in [certain regions](https://stripe.com/guides/strong-customer-authentication) might need to be run through
|
|
521
505
|
* [Strong Customer Authentication](https://docs.stripe.com/strong-customer-authentication) during payment method collection
|
|
522
506
|
* to streamline later [off-session payments](https://docs.stripe.com/payments/setup-intents).
|
|
523
|
-
* If you use the SetupIntent with a [Customer](https://stripe.com
|
|
507
|
+
* If you use the SetupIntent with a [Customer](https://api.stripe.com#setup_intent_object-customer),
|
|
524
508
|
* it automatically attaches the resulting payment method to that Customer after successful setup.
|
|
525
|
-
* We recommend using SetupIntents or [setup_future_usage](https://stripe.com
|
|
509
|
+
* We recommend using SetupIntents or [setup_future_usage](https://api.stripe.com#payment_intent_object-setup_future_usage) on
|
|
526
510
|
* PaymentIntents to save payment methods to prevent saving invalid or unoptimized payment methods.
|
|
527
511
|
*
|
|
528
512
|
* By using SetupIntents, you can reduce friction for your customers, even as regulations change over time.
|
|
@@ -547,6 +531,7 @@ declare module 'stripe' {
|
|
|
547
531
|
| 'account_information_mismatch'
|
|
548
532
|
| 'account_invalid'
|
|
549
533
|
| 'account_number_invalid'
|
|
534
|
+
| 'account_token_required_for_v2_account'
|
|
550
535
|
| 'acss_debit_session_incomplete'
|
|
551
536
|
| 'alipay_upgrade_required'
|
|
552
537
|
| 'amount_too_large'
|
|
@@ -592,7 +577,6 @@ declare module 'stripe' {
|
|
|
592
577
|
| 'financial_connections_account_inactive'
|
|
593
578
|
| 'financial_connections_account_pending_account_numbers'
|
|
594
579
|
| 'financial_connections_account_unavailable_account_numbers'
|
|
595
|
-
| 'financial_connections_institution_unavailable'
|
|
596
580
|
| 'financial_connections_no_successful_transaction_refresh'
|
|
597
581
|
| 'forwarding_api_inactive'
|
|
598
582
|
| 'forwarding_api_invalid_parameter'
|
|
@@ -691,7 +675,6 @@ declare module 'stripe' {
|
|
|
691
675
|
| 'return_intent_already_processed'
|
|
692
676
|
| 'routing_number_invalid'
|
|
693
677
|
| 'secret_key_required'
|
|
694
|
-
| 'sensitive_data_access_expired'
|
|
695
678
|
| 'sepa_unsupported_account'
|
|
696
679
|
| 'setup_attempt_failed'
|
|
697
680
|
| 'setup_intent_authentication_failure'
|
|
@@ -711,7 +694,6 @@ declare module 'stripe' {
|
|
|
711
694
|
| 'taxes_calculation_failed'
|
|
712
695
|
| 'terminal_location_country_unsupported'
|
|
713
696
|
| 'terminal_reader_busy'
|
|
714
|
-
| 'terminal_reader_collected_data_invalid'
|
|
715
697
|
| 'terminal_reader_hardware_fault'
|
|
716
698
|
| 'terminal_reader_invalid_location_for_activation'
|
|
717
699
|
| 'terminal_reader_invalid_location_for_payment'
|
|
@@ -724,9 +706,7 @@ declare module 'stripe' {
|
|
|
724
706
|
| 'token_in_use'
|
|
725
707
|
| 'transfer_source_balance_parameters_mismatch'
|
|
726
708
|
| 'transfers_not_allowed'
|
|
727
|
-
| 'url_invalid'
|
|
728
|
-
| 'v2_account_disconnection_unsupported'
|
|
729
|
-
| 'v2_account_missing_configuration';
|
|
709
|
+
| 'url_invalid';
|
|
730
710
|
|
|
731
711
|
type Type =
|
|
732
712
|
| 'api_error'
|
|
@@ -1493,8 +1473,6 @@ declare module 'stripe' {
|
|
|
1493
1473
|
}
|
|
1494
1474
|
|
|
1495
1475
|
interface PaymentDetails {
|
|
1496
|
-
car_rental?: PaymentDetails.CarRental;
|
|
1497
|
-
|
|
1498
1476
|
/**
|
|
1499
1477
|
* A unique value to identify the customer. This field is available only for card payments.
|
|
1500
1478
|
*
|
|
@@ -1502,8 +1480,6 @@ declare module 'stripe' {
|
|
|
1502
1480
|
*/
|
|
1503
1481
|
customer_reference: string | null;
|
|
1504
1482
|
|
|
1505
|
-
event_details?: PaymentDetails.EventDetails;
|
|
1506
|
-
|
|
1507
1483
|
/**
|
|
1508
1484
|
* A unique value assigned by the business to identify the transaction. Required for L2 and L3 rates.
|
|
1509
1485
|
*
|
|
@@ -1512,322 +1488,6 @@ declare module 'stripe' {
|
|
|
1512
1488
|
* For Cards, this field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks. For Klarna, this field is truncated to 255 characters and is visible to customers when they view the order in the Klarna app.
|
|
1513
1489
|
*/
|
|
1514
1490
|
order_reference: string | null;
|
|
1515
|
-
|
|
1516
|
-
subscription?: PaymentDetails.Subscription;
|
|
1517
|
-
}
|
|
1518
|
-
|
|
1519
|
-
namespace PaymentDetails {
|
|
1520
|
-
interface CarRental {
|
|
1521
|
-
affiliate?: CarRental.Affiliate;
|
|
1522
|
-
|
|
1523
|
-
/**
|
|
1524
|
-
* The booking number associated with the car rental.
|
|
1525
|
-
*/
|
|
1526
|
-
booking_number: string;
|
|
1527
|
-
|
|
1528
|
-
/**
|
|
1529
|
-
* Class code of the car.
|
|
1530
|
-
*/
|
|
1531
|
-
car_class_code?: string;
|
|
1532
|
-
|
|
1533
|
-
/**
|
|
1534
|
-
* Make of the car.
|
|
1535
|
-
*/
|
|
1536
|
-
car_make?: string;
|
|
1537
|
-
|
|
1538
|
-
/**
|
|
1539
|
-
* Model of the car.
|
|
1540
|
-
*/
|
|
1541
|
-
car_model?: string;
|
|
1542
|
-
|
|
1543
|
-
/**
|
|
1544
|
-
* The name of the rental car company.
|
|
1545
|
-
*/
|
|
1546
|
-
company?: string;
|
|
1547
|
-
|
|
1548
|
-
/**
|
|
1549
|
-
* The customer service phone number of the car rental company.
|
|
1550
|
-
*/
|
|
1551
|
-
customer_service_phone_number?: string;
|
|
1552
|
-
|
|
1553
|
-
/**
|
|
1554
|
-
* Number of days the car is being rented.
|
|
1555
|
-
*/
|
|
1556
|
-
days_rented: number;
|
|
1557
|
-
|
|
1558
|
-
delivery?: CarRental.Delivery;
|
|
1559
|
-
|
|
1560
|
-
distance?: CarRental.Distance;
|
|
1561
|
-
|
|
1562
|
-
/**
|
|
1563
|
-
* The details of the drivers associated with the trip.
|
|
1564
|
-
*/
|
|
1565
|
-
drivers?: Array<CarRental.Driver>;
|
|
1566
|
-
|
|
1567
|
-
/**
|
|
1568
|
-
* List of additional charges being billed.
|
|
1569
|
-
*/
|
|
1570
|
-
extra_charges?: Array<CarRental.ExtraCharge>;
|
|
1571
|
-
|
|
1572
|
-
/**
|
|
1573
|
-
* Indicates if the customer did not keep nor cancel their booking.
|
|
1574
|
-
*/
|
|
1575
|
-
no_show?: boolean;
|
|
1576
|
-
|
|
1577
|
-
pickup_address?: Stripe.Address;
|
|
1578
|
-
|
|
1579
|
-
/**
|
|
1580
|
-
* Car pick-up time. Measured in seconds since the Unix epoch.
|
|
1581
|
-
*/
|
|
1582
|
-
pickup_at: number;
|
|
1583
|
-
|
|
1584
|
-
/**
|
|
1585
|
-
* Name of the pickup location.
|
|
1586
|
-
*/
|
|
1587
|
-
pickup_location_name?: string;
|
|
1588
|
-
|
|
1589
|
-
/**
|
|
1590
|
-
* Rental rate.
|
|
1591
|
-
*/
|
|
1592
|
-
rate_amount?: number;
|
|
1593
|
-
|
|
1594
|
-
/**
|
|
1595
|
-
* The frequency at which the rate amount is applied. One of `day`, `week` or `month`
|
|
1596
|
-
*/
|
|
1597
|
-
rate_interval?: CarRental.RateInterval;
|
|
1598
|
-
|
|
1599
|
-
/**
|
|
1600
|
-
* The full name of the person or entity renting the car.
|
|
1601
|
-
*/
|
|
1602
|
-
renter_name?: string;
|
|
1603
|
-
|
|
1604
|
-
return_address?: Stripe.Address;
|
|
1605
|
-
|
|
1606
|
-
/**
|
|
1607
|
-
* Car return time. Measured in seconds since the Unix epoch.
|
|
1608
|
-
*/
|
|
1609
|
-
return_at: number;
|
|
1610
|
-
|
|
1611
|
-
/**
|
|
1612
|
-
* Name of the return location.
|
|
1613
|
-
*/
|
|
1614
|
-
return_location_name?: string;
|
|
1615
|
-
|
|
1616
|
-
/**
|
|
1617
|
-
* Indicates whether the goods or services are tax-exempt or tax is not collected.
|
|
1618
|
-
*/
|
|
1619
|
-
tax_exempt?: boolean;
|
|
1620
|
-
|
|
1621
|
-
/**
|
|
1622
|
-
* The vehicle identification number of the car.
|
|
1623
|
-
*/
|
|
1624
|
-
vehicle_identification_number?: string;
|
|
1625
|
-
}
|
|
1626
|
-
|
|
1627
|
-
namespace CarRental {
|
|
1628
|
-
interface Affiliate {
|
|
1629
|
-
/**
|
|
1630
|
-
* The name of the affiliate that originated the purchase.
|
|
1631
|
-
*/
|
|
1632
|
-
name?: string;
|
|
1633
|
-
}
|
|
1634
|
-
|
|
1635
|
-
interface Delivery {
|
|
1636
|
-
/**
|
|
1637
|
-
* The delivery method for the payment
|
|
1638
|
-
*/
|
|
1639
|
-
mode?: Delivery.Mode;
|
|
1640
|
-
|
|
1641
|
-
recipient?: Delivery.Recipient;
|
|
1642
|
-
}
|
|
1643
|
-
|
|
1644
|
-
namespace Delivery {
|
|
1645
|
-
type Mode = 'email' | 'phone' | 'pickup' | 'post';
|
|
1646
|
-
|
|
1647
|
-
interface Recipient {
|
|
1648
|
-
/**
|
|
1649
|
-
* The email of the recipient the ticket is delivered to.
|
|
1650
|
-
*/
|
|
1651
|
-
email?: string;
|
|
1652
|
-
|
|
1653
|
-
/**
|
|
1654
|
-
* The name of the recipient the ticket is delivered to.
|
|
1655
|
-
*/
|
|
1656
|
-
name?: string;
|
|
1657
|
-
|
|
1658
|
-
/**
|
|
1659
|
-
* The phone number of the recipient the ticket is delivered to.
|
|
1660
|
-
*/
|
|
1661
|
-
phone?: string;
|
|
1662
|
-
}
|
|
1663
|
-
}
|
|
1664
|
-
|
|
1665
|
-
interface Distance {
|
|
1666
|
-
/**
|
|
1667
|
-
* Distance traveled.
|
|
1668
|
-
*/
|
|
1669
|
-
amount?: number;
|
|
1670
|
-
|
|
1671
|
-
/**
|
|
1672
|
-
* Unit of measurement for the distance traveled. One of `miles` or `kilometers`
|
|
1673
|
-
*/
|
|
1674
|
-
unit?: string;
|
|
1675
|
-
}
|
|
1676
|
-
|
|
1677
|
-
interface Driver {
|
|
1678
|
-
/**
|
|
1679
|
-
* Driver's identification number.
|
|
1680
|
-
*/
|
|
1681
|
-
driver_identification_number?: string;
|
|
1682
|
-
|
|
1683
|
-
/**
|
|
1684
|
-
* Driver's tax number.
|
|
1685
|
-
*/
|
|
1686
|
-
driver_tax_number?: string;
|
|
1687
|
-
|
|
1688
|
-
/**
|
|
1689
|
-
* Full name of the driver on the reservation.
|
|
1690
|
-
*/
|
|
1691
|
-
name?: string;
|
|
1692
|
-
}
|
|
1693
|
-
|
|
1694
|
-
type ExtraCharge =
|
|
1695
|
-
| 'extra_mileage'
|
|
1696
|
-
| 'gas'
|
|
1697
|
-
| 'late_return'
|
|
1698
|
-
| 'one_way_service'
|
|
1699
|
-
| 'parking_violation';
|
|
1700
|
-
|
|
1701
|
-
type RateInterval = 'day' | 'month' | 'week';
|
|
1702
|
-
}
|
|
1703
|
-
|
|
1704
|
-
interface EventDetails {
|
|
1705
|
-
/**
|
|
1706
|
-
* Indicates if the tickets are digitally checked when entering the venue.
|
|
1707
|
-
*/
|
|
1708
|
-
access_controlled_venue?: boolean;
|
|
1709
|
-
|
|
1710
|
-
address?: Stripe.Address;
|
|
1711
|
-
|
|
1712
|
-
affiliate?: EventDetails.Affiliate;
|
|
1713
|
-
|
|
1714
|
-
/**
|
|
1715
|
-
* The name of the company
|
|
1716
|
-
*/
|
|
1717
|
-
company?: string;
|
|
1718
|
-
|
|
1719
|
-
delivery?: EventDetails.Delivery;
|
|
1720
|
-
|
|
1721
|
-
/**
|
|
1722
|
-
* Event end time. Measured in seconds since the Unix epoch.
|
|
1723
|
-
*/
|
|
1724
|
-
ends_at?: number;
|
|
1725
|
-
|
|
1726
|
-
/**
|
|
1727
|
-
* Type of the event entertainment (concert, sports event etc)
|
|
1728
|
-
*/
|
|
1729
|
-
genre?: string;
|
|
1730
|
-
|
|
1731
|
-
/**
|
|
1732
|
-
* The name of the event.
|
|
1733
|
-
*/
|
|
1734
|
-
name?: string;
|
|
1735
|
-
|
|
1736
|
-
/**
|
|
1737
|
-
* Event start time. Measured in seconds since the Unix epoch.
|
|
1738
|
-
*/
|
|
1739
|
-
starts_at?: number;
|
|
1740
|
-
}
|
|
1741
|
-
|
|
1742
|
-
namespace EventDetails {
|
|
1743
|
-
interface Affiliate {
|
|
1744
|
-
/**
|
|
1745
|
-
* The name of the affiliate that originated the purchase.
|
|
1746
|
-
*/
|
|
1747
|
-
name?: string;
|
|
1748
|
-
}
|
|
1749
|
-
|
|
1750
|
-
interface Delivery {
|
|
1751
|
-
/**
|
|
1752
|
-
* The delivery method for the payment
|
|
1753
|
-
*/
|
|
1754
|
-
mode?: Delivery.Mode;
|
|
1755
|
-
|
|
1756
|
-
recipient?: Delivery.Recipient;
|
|
1757
|
-
}
|
|
1758
|
-
|
|
1759
|
-
namespace Delivery {
|
|
1760
|
-
type Mode = 'email' | 'phone' | 'pickup' | 'post';
|
|
1761
|
-
|
|
1762
|
-
interface Recipient {
|
|
1763
|
-
/**
|
|
1764
|
-
* The email of the recipient the ticket is delivered to.
|
|
1765
|
-
*/
|
|
1766
|
-
email?: string;
|
|
1767
|
-
|
|
1768
|
-
/**
|
|
1769
|
-
* The name of the recipient the ticket is delivered to.
|
|
1770
|
-
*/
|
|
1771
|
-
name?: string;
|
|
1772
|
-
|
|
1773
|
-
/**
|
|
1774
|
-
* The phone number of the recipient the ticket is delivered to.
|
|
1775
|
-
*/
|
|
1776
|
-
phone?: string;
|
|
1777
|
-
}
|
|
1778
|
-
}
|
|
1779
|
-
}
|
|
1780
|
-
|
|
1781
|
-
interface Subscription {
|
|
1782
|
-
affiliate?: Subscription.Affiliate;
|
|
1783
|
-
|
|
1784
|
-
/**
|
|
1785
|
-
* Info whether the subscription will be auto renewed upon expiry.
|
|
1786
|
-
*/
|
|
1787
|
-
auto_renewal?: boolean;
|
|
1788
|
-
|
|
1789
|
-
billing_interval?: Subscription.BillingInterval;
|
|
1790
|
-
|
|
1791
|
-
/**
|
|
1792
|
-
* Subscription end time. Measured in seconds since the Unix epoch.
|
|
1793
|
-
*/
|
|
1794
|
-
ends_at?: number;
|
|
1795
|
-
|
|
1796
|
-
/**
|
|
1797
|
-
* Name of the product on subscription. e.g. Apple Music Subscription.
|
|
1798
|
-
*/
|
|
1799
|
-
name?: string;
|
|
1800
|
-
|
|
1801
|
-
/**
|
|
1802
|
-
* Subscription start time. Measured in seconds since the Unix epoch.
|
|
1803
|
-
*/
|
|
1804
|
-
starts_at?: number;
|
|
1805
|
-
}
|
|
1806
|
-
|
|
1807
|
-
namespace Subscription {
|
|
1808
|
-
interface Affiliate {
|
|
1809
|
-
/**
|
|
1810
|
-
* The name of the affiliate that originated the purchase.
|
|
1811
|
-
*/
|
|
1812
|
-
name?: string;
|
|
1813
|
-
}
|
|
1814
|
-
|
|
1815
|
-
interface BillingInterval {
|
|
1816
|
-
/**
|
|
1817
|
-
* The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
1818
|
-
*/
|
|
1819
|
-
count?: number;
|
|
1820
|
-
|
|
1821
|
-
/**
|
|
1822
|
-
* Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
1823
|
-
*/
|
|
1824
|
-
interval?: BillingInterval.Interval;
|
|
1825
|
-
}
|
|
1826
|
-
|
|
1827
|
-
namespace BillingInterval {
|
|
1828
|
-
type Interval = 'day' | 'month' | 'week' | 'year';
|
|
1829
|
-
}
|
|
1830
|
-
}
|
|
1831
1491
|
}
|
|
1832
1492
|
|
|
1833
1493
|
interface PaymentMethodConfigurationDetails {
|
|
@@ -1883,12 +1543,8 @@ declare module 'stripe' {
|
|
|
1883
1543
|
|
|
1884
1544
|
giropay?: PaymentMethodOptions.Giropay;
|
|
1885
1545
|
|
|
1886
|
-
gopay?: PaymentMethodOptions.Gopay;
|
|
1887
|
-
|
|
1888
1546
|
grabpay?: PaymentMethodOptions.Grabpay;
|
|
1889
1547
|
|
|
1890
|
-
id_bank_transfer?: PaymentMethodOptions.IdBankTransfer;
|
|
1891
|
-
|
|
1892
1548
|
ideal?: PaymentMethodOptions.Ideal;
|
|
1893
1549
|
|
|
1894
1550
|
interac_present?: PaymentMethodOptions.InteracPresent;
|
|
@@ -1925,18 +1581,12 @@ declare module 'stripe' {
|
|
|
1925
1581
|
|
|
1926
1582
|
paypal?: PaymentMethodOptions.Paypal;
|
|
1927
1583
|
|
|
1928
|
-
paypay?: PaymentMethodOptions.Paypay;
|
|
1929
|
-
|
|
1930
1584
|
payto?: PaymentMethodOptions.Payto;
|
|
1931
1585
|
|
|
1932
1586
|
pix?: PaymentMethodOptions.Pix;
|
|
1933
1587
|
|
|
1934
1588
|
promptpay?: PaymentMethodOptions.Promptpay;
|
|
1935
1589
|
|
|
1936
|
-
qris?: PaymentMethodOptions.Qris;
|
|
1937
|
-
|
|
1938
|
-
rechnung?: PaymentMethodOptions.Rechnung;
|
|
1939
|
-
|
|
1940
1590
|
revolut_pay?: PaymentMethodOptions.RevolutPay;
|
|
1941
1591
|
|
|
1942
1592
|
samsung_pay?: PaymentMethodOptions.SamsungPay;
|
|
@@ -1945,12 +1595,8 @@ declare module 'stripe' {
|
|
|
1945
1595
|
|
|
1946
1596
|
sepa_debit?: PaymentMethodOptions.SepaDebit;
|
|
1947
1597
|
|
|
1948
|
-
shopeepay?: PaymentMethodOptions.Shopeepay;
|
|
1949
|
-
|
|
1950
1598
|
sofort?: PaymentMethodOptions.Sofort;
|
|
1951
1599
|
|
|
1952
|
-
stripe_balance?: PaymentMethodOptions.StripeBalance;
|
|
1953
|
-
|
|
1954
1600
|
swish?: PaymentMethodOptions.Swish;
|
|
1955
1601
|
|
|
1956
1602
|
twint?: PaymentMethodOptions.Twint;
|
|
@@ -2243,7 +1889,7 @@ declare module 'stripe' {
|
|
|
2243
1889
|
/**
|
|
2244
1890
|
* Installment details for this payment.
|
|
2245
1891
|
*
|
|
2246
|
-
* For more information, see the [installments integration guide](https://stripe.com/
|
|
1892
|
+
* For more information, see the [installments integration guide](https://docs.stripe.com/payments/installments).
|
|
2247
1893
|
*/
|
|
2248
1894
|
installments: Card.Installments | null;
|
|
2249
1895
|
|
|
@@ -2258,37 +1904,27 @@ declare module 'stripe' {
|
|
|
2258
1904
|
network: Card.Network | null;
|
|
2259
1905
|
|
|
2260
1906
|
/**
|
|
2261
|
-
* Request ability to [
|
|
2262
|
-
*/
|
|
2263
|
-
request_decremental_authorization?: Card.RequestDecrementalAuthorization;
|
|
2264
|
-
|
|
2265
|
-
/**
|
|
2266
|
-
* Request ability to [capture beyond the standard authorization validity window](https://stripe.com/docs/payments/extended-authorization) for this PaymentIntent.
|
|
1907
|
+
* Request ability to [capture beyond the standard authorization validity window](https://docs.stripe.com/payments/extended-authorization) for this PaymentIntent.
|
|
2267
1908
|
*/
|
|
2268
1909
|
request_extended_authorization?: Card.RequestExtendedAuthorization;
|
|
2269
1910
|
|
|
2270
1911
|
/**
|
|
2271
|
-
* Request ability to [increment the authorization](https://stripe.com/
|
|
1912
|
+
* Request ability to [increment the authorization](https://docs.stripe.com/payments/incremental-authorization) for this PaymentIntent.
|
|
2272
1913
|
*/
|
|
2273
1914
|
request_incremental_authorization?: Card.RequestIncrementalAuthorization;
|
|
2274
1915
|
|
|
2275
1916
|
/**
|
|
2276
|
-
* Request ability to make [multiple captures](https://stripe.com/
|
|
1917
|
+
* Request ability to make [multiple captures](https://docs.stripe.com/payments/multicapture) for this PaymentIntent.
|
|
2277
1918
|
*/
|
|
2278
1919
|
request_multicapture?: Card.RequestMulticapture;
|
|
2279
1920
|
|
|
2280
1921
|
/**
|
|
2281
|
-
* Request ability to [overcapture](https://stripe.com/
|
|
1922
|
+
* Request ability to [overcapture](https://docs.stripe.com/payments/overcapture) for this PaymentIntent.
|
|
2282
1923
|
*/
|
|
2283
1924
|
request_overcapture?: Card.RequestOvercapture;
|
|
2284
1925
|
|
|
2285
1926
|
/**
|
|
2286
|
-
*
|
|
2287
|
-
*/
|
|
2288
|
-
request_partial_authorization?: Card.RequestPartialAuthorization;
|
|
2289
|
-
|
|
2290
|
-
/**
|
|
2291
|
-
* We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and [other requirements](https://stripe.com/docs/strong-customer-authentication). However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. If not provided, this value defaults to `automatic`. Read our guide on [manually requesting 3D Secure](https://stripe.com/docs/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine.
|
|
1927
|
+
* We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and [other requirements](https://docs.stripe.com/strong-customer-authentication). However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. If not provided, this value defaults to `automatic`. Read our guide on [manually requesting 3D Secure](https://docs.stripe.com/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine.
|
|
2292
1928
|
*/
|
|
2293
1929
|
request_three_d_secure: Card.RequestThreeDSecure | null;
|
|
2294
1930
|
|
|
@@ -2317,8 +1953,6 @@ declare module 'stripe' {
|
|
|
2317
1953
|
* Provides information about a card payment that customers see on their statements. Concatenated with the Kanji prefix (shortened Kanji descriptor) or Kanji statement descriptor that's set on the account to form the complete statement descriptor. Maximum 17 characters. On card statements, the *concatenation* of both prefix and suffix (including separators) will appear truncated to 17 characters.
|
|
2318
1954
|
*/
|
|
2319
1955
|
statement_descriptor_suffix_kanji?: string;
|
|
2320
|
-
|
|
2321
|
-
statement_details?: Card.StatementDetails;
|
|
2322
1956
|
}
|
|
2323
1957
|
|
|
2324
1958
|
namespace Card {
|
|
@@ -2453,8 +2087,6 @@ declare module 'stripe' {
|
|
|
2453
2087
|
| 'unknown'
|
|
2454
2088
|
| 'visa';
|
|
2455
2089
|
|
|
2456
|
-
type RequestDecrementalAuthorization = 'if_available' | 'never';
|
|
2457
|
-
|
|
2458
2090
|
type RequestExtendedAuthorization = 'if_available' | 'never';
|
|
2459
2091
|
|
|
2460
2092
|
type RequestIncrementalAuthorization = 'if_available' | 'never';
|
|
@@ -2463,54 +2095,9 @@ declare module 'stripe' {
|
|
|
2463
2095
|
|
|
2464
2096
|
type RequestOvercapture = 'if_available' | 'never';
|
|
2465
2097
|
|
|
2466
|
-
type RequestPartialAuthorization = 'if_available' | 'never';
|
|
2467
|
-
|
|
2468
2098
|
type RequestThreeDSecure = 'any' | 'automatic' | 'challenge';
|
|
2469
2099
|
|
|
2470
2100
|
type SetupFutureUsage = 'none' | 'off_session' | 'on_session';
|
|
2471
|
-
|
|
2472
|
-
interface StatementDetails {
|
|
2473
|
-
address?: StatementDetails.Address;
|
|
2474
|
-
|
|
2475
|
-
/**
|
|
2476
|
-
* Phone number
|
|
2477
|
-
*/
|
|
2478
|
-
phone?: string;
|
|
2479
|
-
}
|
|
2480
|
-
|
|
2481
|
-
namespace StatementDetails {
|
|
2482
|
-
interface Address {
|
|
2483
|
-
/**
|
|
2484
|
-
* City, district, suburb, town, or village.
|
|
2485
|
-
*/
|
|
2486
|
-
city?: string;
|
|
2487
|
-
|
|
2488
|
-
/**
|
|
2489
|
-
* Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
2490
|
-
*/
|
|
2491
|
-
country?: string;
|
|
2492
|
-
|
|
2493
|
-
/**
|
|
2494
|
-
* Address line 1, such as the street, PO Box, or company name.
|
|
2495
|
-
*/
|
|
2496
|
-
line1?: string;
|
|
2497
|
-
|
|
2498
|
-
/**
|
|
2499
|
-
* Address line 2, such as the apartment, suite, unit, or building.
|
|
2500
|
-
*/
|
|
2501
|
-
line2?: string;
|
|
2502
|
-
|
|
2503
|
-
/**
|
|
2504
|
-
* ZIP or postal code.
|
|
2505
|
-
*/
|
|
2506
|
-
postal_code?: string;
|
|
2507
|
-
|
|
2508
|
-
/**
|
|
2509
|
-
* State, county, province, or region.
|
|
2510
|
-
*/
|
|
2511
|
-
state?: string;
|
|
2512
|
-
}
|
|
2513
|
-
}
|
|
2514
2101
|
}
|
|
2515
2102
|
|
|
2516
2103
|
interface CardPresent {
|
|
@@ -2520,12 +2107,12 @@ declare module 'stripe' {
|
|
|
2520
2107
|
capture_method?: CardPresent.CaptureMethod;
|
|
2521
2108
|
|
|
2522
2109
|
/**
|
|
2523
|
-
* Request ability to capture this payment beyond the standard [authorization validity window](https://stripe.com/
|
|
2110
|
+
* Request ability to capture this payment beyond the standard [authorization validity window](https://docs.stripe.com/terminal/features/extended-authorizations#authorization-validity)
|
|
2524
2111
|
*/
|
|
2525
2112
|
request_extended_authorization: boolean | null;
|
|
2526
2113
|
|
|
2527
2114
|
/**
|
|
2528
|
-
* Request ability to [increment](https://stripe.com/
|
|
2115
|
+
* Request ability to [increment](https://docs.stripe.com/terminal/features/incremental-authorizations) this PaymentIntent if the combination of MCC and card brand is eligible. Check [incremental_authorization_supported](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-incremental_authorization_supported) in the [Confirm](https://docs.stripe.com/api/payment_intents/confirm) response to verify support.
|
|
2529
2116
|
*/
|
|
2530
2117
|
request_incremental_authorization_support: boolean | null;
|
|
2531
2118
|
|
|
@@ -2688,23 +2275,6 @@ declare module 'stripe' {
|
|
|
2688
2275
|
setup_future_usage?: 'none';
|
|
2689
2276
|
}
|
|
2690
2277
|
|
|
2691
|
-
interface Gopay {
|
|
2692
|
-
/**
|
|
2693
|
-
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2694
|
-
*
|
|
2695
|
-
* If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
2696
|
-
*
|
|
2697
|
-
* If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
|
2698
|
-
*
|
|
2699
|
-
* When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication).
|
|
2700
|
-
*/
|
|
2701
|
-
setup_future_usage?: Gopay.SetupFutureUsage;
|
|
2702
|
-
}
|
|
2703
|
-
|
|
2704
|
-
namespace Gopay {
|
|
2705
|
-
type SetupFutureUsage = 'none' | 'off_session';
|
|
2706
|
-
}
|
|
2707
|
-
|
|
2708
2278
|
interface Grabpay {
|
|
2709
2279
|
/**
|
|
2710
2280
|
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
@@ -2718,29 +2288,6 @@ declare module 'stripe' {
|
|
|
2718
2288
|
setup_future_usage?: 'none';
|
|
2719
2289
|
}
|
|
2720
2290
|
|
|
2721
|
-
interface IdBankTransfer {
|
|
2722
|
-
/**
|
|
2723
|
-
* The UNIX timestamp until which the virtual bank account is valid. Permitted range is from now till 2678400 seconds (31 days) from now.
|
|
2724
|
-
*/
|
|
2725
|
-
expires_after?: number | null;
|
|
2726
|
-
|
|
2727
|
-
/**
|
|
2728
|
-
* The UNIX timestamp until which the virtual bank account is valid. Permitted range is from now until 30 days from now. If unset, it defaults to 1 days from now.
|
|
2729
|
-
*/
|
|
2730
|
-
expires_at: number | null;
|
|
2731
|
-
|
|
2732
|
-
/**
|
|
2733
|
-
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2734
|
-
*
|
|
2735
|
-
* If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
2736
|
-
*
|
|
2737
|
-
* If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
|
2738
|
-
*
|
|
2739
|
-
* When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication).
|
|
2740
|
-
*/
|
|
2741
|
-
setup_future_usage?: 'none';
|
|
2742
|
-
}
|
|
2743
|
-
|
|
2744
2291
|
interface Ideal {
|
|
2745
2292
|
/**
|
|
2746
2293
|
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
@@ -3039,11 +2586,6 @@ declare module 'stripe' {
|
|
|
3039
2586
|
*/
|
|
3040
2587
|
capture_method?: 'manual';
|
|
3041
2588
|
|
|
3042
|
-
/**
|
|
3043
|
-
* The line items purchased by the customer.
|
|
3044
|
-
*/
|
|
3045
|
-
line_items?: Array<Paypal.LineItem>;
|
|
3046
|
-
|
|
3047
2589
|
/**
|
|
3048
2590
|
* Preferred locale of the PayPal checkout page that the customer is redirected to.
|
|
3049
2591
|
*/
|
|
@@ -3054,11 +2596,6 @@ declare module 'stripe' {
|
|
|
3054
2596
|
*/
|
|
3055
2597
|
reference: string | null;
|
|
3056
2598
|
|
|
3057
|
-
/**
|
|
3058
|
-
* A reference of the PayPal transaction visible to customer which is mapped to PayPal's invoice ID. This must be a globally unique ID if you have configured in your PayPal settings to block multiple payments per invoice ID.
|
|
3059
|
-
*/
|
|
3060
|
-
reference_id?: string | null;
|
|
3061
|
-
|
|
3062
2599
|
/**
|
|
3063
2600
|
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
3064
2601
|
*
|
|
@@ -3069,78 +2606,12 @@ declare module 'stripe' {
|
|
|
3069
2606
|
* When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication).
|
|
3070
2607
|
*/
|
|
3071
2608
|
setup_future_usage?: Paypal.SetupFutureUsage;
|
|
3072
|
-
|
|
3073
|
-
/**
|
|
3074
|
-
* The Stripe connected account IDs of the sellers on the platform for this transaction (optional). Only allowed when [separate charges and transfers](https://stripe.com/docs/connect/separate-charges-and-transfers) are used.
|
|
3075
|
-
*/
|
|
3076
|
-
subsellers?: Array<string>;
|
|
3077
2609
|
}
|
|
3078
2610
|
|
|
3079
2611
|
namespace Paypal {
|
|
3080
|
-
interface LineItem {
|
|
3081
|
-
/**
|
|
3082
|
-
* Type of the line item.
|
|
3083
|
-
*/
|
|
3084
|
-
category?: LineItem.Category;
|
|
3085
|
-
|
|
3086
|
-
/**
|
|
3087
|
-
* Description of the line item.
|
|
3088
|
-
*/
|
|
3089
|
-
description?: string;
|
|
3090
|
-
|
|
3091
|
-
/**
|
|
3092
|
-
* Descriptive name of the line item.
|
|
3093
|
-
*/
|
|
3094
|
-
name: string;
|
|
3095
|
-
|
|
3096
|
-
/**
|
|
3097
|
-
* Quantity of the line item. Cannot be a negative number.
|
|
3098
|
-
*/
|
|
3099
|
-
quantity: number;
|
|
3100
|
-
|
|
3101
|
-
/**
|
|
3102
|
-
* Client facing stock keeping unit, article number or similar.
|
|
3103
|
-
*/
|
|
3104
|
-
sku?: string;
|
|
3105
|
-
|
|
3106
|
-
/**
|
|
3107
|
-
* The Stripe account ID of the connected account that sells the item. This is only needed when using [Separate Charges and Transfers](https://docs.stripe.com/connect/separate-charges-and-transfers).
|
|
3108
|
-
*/
|
|
3109
|
-
sold_by?: string;
|
|
3110
|
-
|
|
3111
|
-
tax?: LineItem.Tax;
|
|
3112
|
-
|
|
3113
|
-
/**
|
|
3114
|
-
* Price for a single unit of the line item in minor units. Cannot be a negative number.
|
|
3115
|
-
*/
|
|
3116
|
-
unit_amount: number;
|
|
3117
|
-
}
|
|
3118
|
-
|
|
3119
|
-
namespace LineItem {
|
|
3120
|
-
type Category = 'digital_goods' | 'donation' | 'physical_goods';
|
|
3121
|
-
|
|
3122
|
-
interface Tax {
|
|
3123
|
-
/**
|
|
3124
|
-
* The tax for a single unit of the line item in minor units. Cannot be a negative number.
|
|
3125
|
-
*/
|
|
3126
|
-
amount: number;
|
|
3127
|
-
|
|
3128
|
-
/**
|
|
3129
|
-
* The tax behavior for the line item.
|
|
3130
|
-
*/
|
|
3131
|
-
behavior: Tax.Behavior;
|
|
3132
|
-
}
|
|
3133
|
-
|
|
3134
|
-
namespace Tax {
|
|
3135
|
-
type Behavior = 'exclusive' | 'inclusive';
|
|
3136
|
-
}
|
|
3137
|
-
}
|
|
3138
|
-
|
|
3139
2612
|
type SetupFutureUsage = 'none' | 'off_session';
|
|
3140
2613
|
}
|
|
3141
2614
|
|
|
3142
|
-
interface Paypay {}
|
|
3143
|
-
|
|
3144
2615
|
interface Payto {
|
|
3145
2616
|
mandate_options?: Payto.MandateOptions;
|
|
3146
2617
|
|
|
@@ -3235,8 +2706,6 @@ declare module 'stripe' {
|
|
|
3235
2706
|
*/
|
|
3236
2707
|
expires_at: number | null;
|
|
3237
2708
|
|
|
3238
|
-
mandate_options?: Pix.MandateOptions;
|
|
3239
|
-
|
|
3240
2709
|
/**
|
|
3241
2710
|
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
3242
2711
|
*
|
|
@@ -3246,68 +2715,11 @@ declare module 'stripe' {
|
|
|
3246
2715
|
*
|
|
3247
2716
|
* When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication).
|
|
3248
2717
|
*/
|
|
3249
|
-
setup_future_usage?:
|
|
2718
|
+
setup_future_usage?: 'none';
|
|
3250
2719
|
}
|
|
3251
2720
|
|
|
3252
2721
|
namespace Pix {
|
|
3253
2722
|
type AmountIncludesIof = 'always' | 'never';
|
|
3254
|
-
|
|
3255
|
-
interface MandateOptions {
|
|
3256
|
-
/**
|
|
3257
|
-
* Amount to be charged for future payments.
|
|
3258
|
-
*/
|
|
3259
|
-
amount?: number;
|
|
3260
|
-
|
|
3261
|
-
/**
|
|
3262
|
-
* Determines if the amount includes the IOF tax.
|
|
3263
|
-
*/
|
|
3264
|
-
amount_includes_iof?: MandateOptions.AmountIncludesIof;
|
|
3265
|
-
|
|
3266
|
-
/**
|
|
3267
|
-
* Type of amount.
|
|
3268
|
-
*/
|
|
3269
|
-
amount_type?: MandateOptions.AmountType;
|
|
3270
|
-
|
|
3271
|
-
/**
|
|
3272
|
-
* Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase.
|
|
3273
|
-
*/
|
|
3274
|
-
currency?: string;
|
|
3275
|
-
|
|
3276
|
-
/**
|
|
3277
|
-
* Date when the mandate expires and no further payments will be charged, in `YYYY-MM-DD`.
|
|
3278
|
-
*/
|
|
3279
|
-
end_date?: string;
|
|
3280
|
-
|
|
3281
|
-
/**
|
|
3282
|
-
* Schedule at which the future payments will be charged.
|
|
3283
|
-
*/
|
|
3284
|
-
payment_schedule?: MandateOptions.PaymentSchedule;
|
|
3285
|
-
|
|
3286
|
-
/**
|
|
3287
|
-
* Subscription name displayed to buyers in their bank app.
|
|
3288
|
-
*/
|
|
3289
|
-
reference?: string;
|
|
3290
|
-
|
|
3291
|
-
/**
|
|
3292
|
-
* Start date of the mandate, in `YYYY-MM-DD`.
|
|
3293
|
-
*/
|
|
3294
|
-
start_date?: string;
|
|
3295
|
-
}
|
|
3296
|
-
|
|
3297
|
-
namespace MandateOptions {
|
|
3298
|
-
type AmountIncludesIof = 'always' | 'never';
|
|
3299
|
-
|
|
3300
|
-
type AmountType = 'fixed' | 'maximum';
|
|
3301
|
-
|
|
3302
|
-
type PaymentSchedule =
|
|
3303
|
-
| 'halfyearly'
|
|
3304
|
-
| 'monthly'
|
|
3305
|
-
| 'quarterly'
|
|
3306
|
-
| 'weekly'
|
|
3307
|
-
| 'yearly';
|
|
3308
|
-
}
|
|
3309
|
-
|
|
3310
|
-
type SetupFutureUsage = 'none' | 'off_session';
|
|
3311
2723
|
}
|
|
3312
2724
|
|
|
3313
2725
|
interface Promptpay {
|
|
@@ -3323,21 +2735,6 @@ declare module 'stripe' {
|
|
|
3323
2735
|
setup_future_usage?: 'none';
|
|
3324
2736
|
}
|
|
3325
2737
|
|
|
3326
|
-
interface Qris {
|
|
3327
|
-
/**
|
|
3328
|
-
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
3329
|
-
*
|
|
3330
|
-
* If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
3331
|
-
*
|
|
3332
|
-
* If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
|
3333
|
-
*
|
|
3334
|
-
* When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication).
|
|
3335
|
-
*/
|
|
3336
|
-
setup_future_usage?: 'none';
|
|
3337
|
-
}
|
|
3338
|
-
|
|
3339
|
-
interface Rechnung {}
|
|
3340
|
-
|
|
3341
2738
|
interface RevolutPay {
|
|
3342
2739
|
/**
|
|
3343
2740
|
* Controls when the funds will be captured from the customer's account.
|
|
@@ -3405,19 +2802,6 @@ declare module 'stripe' {
|
|
|
3405
2802
|
type SetupFutureUsage = 'none' | 'off_session' | 'on_session';
|
|
3406
2803
|
}
|
|
3407
2804
|
|
|
3408
|
-
interface Shopeepay {
|
|
3409
|
-
/**
|
|
3410
|
-
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
3411
|
-
*
|
|
3412
|
-
* If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
3413
|
-
*
|
|
3414
|
-
* If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
|
3415
|
-
*
|
|
3416
|
-
* When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication).
|
|
3417
|
-
*/
|
|
3418
|
-
setup_future_usage?: 'none';
|
|
3419
|
-
}
|
|
3420
|
-
|
|
3421
2805
|
interface Sofort {
|
|
3422
2806
|
/**
|
|
3423
2807
|
* Preferred language of the SOFORT authorization page that the customer is redirected to.
|
|
@@ -3449,23 +2833,6 @@ declare module 'stripe' {
|
|
|
3449
2833
|
type SetupFutureUsage = 'none' | 'off_session';
|
|
3450
2834
|
}
|
|
3451
2835
|
|
|
3452
|
-
interface StripeBalance {
|
|
3453
|
-
/**
|
|
3454
|
-
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
3455
|
-
*
|
|
3456
|
-
* If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
3457
|
-
*
|
|
3458
|
-
* If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
|
3459
|
-
*
|
|
3460
|
-
* When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication).
|
|
3461
|
-
*/
|
|
3462
|
-
setup_future_usage?: StripeBalance.SetupFutureUsage;
|
|
3463
|
-
}
|
|
3464
|
-
|
|
3465
|
-
namespace StripeBalance {
|
|
3466
|
-
type SetupFutureUsage = 'none' | 'off_session';
|
|
3467
|
-
}
|
|
3468
|
-
|
|
3469
2836
|
interface Swish {
|
|
3470
2837
|
/**
|
|
3471
2838
|
* A reference for this payment to be displayed in the Swish app.
|
|
@@ -3533,8 +2900,6 @@ declare module 'stripe' {
|
|
|
3533
2900
|
interface FinancialConnections {
|
|
3534
2901
|
filters?: FinancialConnections.Filters;
|
|
3535
2902
|
|
|
3536
|
-
manual_entry?: FinancialConnections.ManualEntry;
|
|
3537
|
-
|
|
3538
2903
|
/**
|
|
3539
2904
|
* The list of permissions to request. The `payment_method` permission must be included.
|
|
3540
2905
|
*/
|
|
@@ -3557,39 +2922,19 @@ declare module 'stripe' {
|
|
|
3557
2922
|
* The account subcategories to use to filter for possible accounts to link. Valid subcategories are `checking` and `savings`.
|
|
3558
2923
|
*/
|
|
3559
2924
|
account_subcategories?: Array<Filters.AccountSubcategory>;
|
|
3560
|
-
|
|
3561
|
-
/**
|
|
3562
|
-
* The institution to use to filter for possible accounts to link.
|
|
3563
|
-
*/
|
|
3564
|
-
institution?: string;
|
|
3565
2925
|
}
|
|
3566
2926
|
|
|
3567
2927
|
namespace Filters {
|
|
3568
2928
|
type AccountSubcategory = 'checking' | 'savings';
|
|
3569
2929
|
}
|
|
3570
2930
|
|
|
3571
|
-
interface ManualEntry {
|
|
3572
|
-
/**
|
|
3573
|
-
* Settings for configuring manual entry of account details.
|
|
3574
|
-
*/
|
|
3575
|
-
mode?: ManualEntry.Mode;
|
|
3576
|
-
}
|
|
3577
|
-
|
|
3578
|
-
namespace ManualEntry {
|
|
3579
|
-
type Mode = 'automatic' | 'custom';
|
|
3580
|
-
}
|
|
3581
|
-
|
|
3582
2931
|
type Permission =
|
|
3583
2932
|
| 'balances'
|
|
3584
2933
|
| 'ownership'
|
|
3585
2934
|
| 'payment_method'
|
|
3586
2935
|
| 'transactions';
|
|
3587
2936
|
|
|
3588
|
-
type Prefetch =
|
|
3589
|
-
| 'balances'
|
|
3590
|
-
| 'inferred_balances'
|
|
3591
|
-
| 'ownership'
|
|
3592
|
-
| 'transactions';
|
|
2937
|
+
type Prefetch = 'balances' | 'ownership' | 'transactions';
|
|
3593
2938
|
}
|
|
3594
2939
|
|
|
3595
2940
|
interface MandateOptions {
|
|
@@ -3688,8 +3033,6 @@ declare module 'stripe' {
|
|
|
3688
3033
|
}
|
|
3689
3034
|
}
|
|
3690
3035
|
|
|
3691
|
-
type SecretKeyConfirmation = 'optional' | 'required';
|
|
3692
|
-
|
|
3693
3036
|
type SetupFutureUsage = 'off_session' | 'on_session';
|
|
3694
3037
|
|
|
3695
3038
|
interface Shipping {
|
|
@@ -3728,7 +3071,7 @@ declare module 'stripe' {
|
|
|
3728
3071
|
interface TransferData {
|
|
3729
3072
|
/**
|
|
3730
3073
|
* The amount transferred to the destination account. This transfer will occur automatically after the payment succeeds. If no amount is specified, by default the entire payment amount is transferred to the destination account.
|
|
3731
|
-
* The amount must be less than or equal to the [amount](https://stripe.com/
|
|
3074
|
+
* The amount must be less than or equal to the [amount](https://docs.stripe.com/api/payment_intents/object#payment_intent_object-amount), and must be a positive integer
|
|
3732
3075
|
* representing how much to transfer in the smallest currency unit (e.g., 100 cents to charge $1.00).
|
|
3733
3076
|
*/
|
|
3734
3077
|
amount?: number;
|