stripe 20.1.0-alpha.4 → 20.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +47 -1920
- 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/PaymentMethods.js +0 -4
- 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 -148
- 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/PaymentMethods.js +0 -4
- 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 -140
- package/esm/stripe.core.js +1 -1
- package/package.json +1 -1
- package/types/AccountLinks.d.ts +1 -1
- package/types/AccountLinksResource.d.ts +1 -5
- package/types/AccountSessions.d.ts +2 -65
- package/types/AccountSessionsResource.d.ts +0 -264
- package/types/Accounts.d.ts +25 -249
- package/types/AccountsResource.d.ts +114 -756
- package/types/ApplicationFees.d.ts +1 -6
- package/types/ApplicationFeesResource.d.ts +2 -2
- package/types/Apps/Secrets.d.ts +1 -1
- package/types/Balance.d.ts +2 -84
- package/types/BalanceSettings.d.ts +1 -1
- package/types/BalanceTransactions.d.ts +2 -3
- package/types/BankAccounts.d.ts +10 -12
- package/types/Billing/AlertTriggereds.d.ts +1 -16
- package/types/Billing/Alerts.d.ts +2 -117
- package/types/Billing/AlertsResource.d.ts +2 -149
- package/types/Billing/CreditBalanceSummary.d.ts +3 -119
- package/types/Billing/CreditBalanceSummaryResource.d.ts +2 -14
- package/types/Billing/CreditBalanceTransactions.d.ts +2 -118
- package/types/Billing/CreditBalanceTransactionsResource.d.ts +2 -2
- package/types/Billing/CreditGrants.d.ts +4 -74
- package/types/Billing/CreditGrantsResource.d.ts +4 -35
- package/types/Billing/MeterEventSummaries.d.ts +0 -7
- package/types/Billing/MeterEvents.d.ts +1 -1
- package/types/Billing/MeterEventsResource.d.ts +1 -1
- package/types/Billing/Meters.d.ts +0 -5
- package/types/Billing/MetersResource.d.ts +0 -17
- 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 -21
- package/types/CashBalances.d.ts +3 -3
- package/types/Charges.d.ts +59 -193
- package/types/ChargesResource.d.ts +88 -3868
- package/types/Checkout/Sessions.d.ts +20 -355
- package/types/Checkout/SessionsResource.d.ts +59 -467
- package/types/Climate/Orders.d.ts +1 -1
- package/types/Climate/OrdersResource.d.ts +2 -2
- package/types/ConfirmationTokens.d.ts +8 -123
- 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 -16
- 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 -18
- package/types/Identity/VerificationReportsResource.d.ts +0 -5
- package/types/Identity/VerificationSessions.d.ts +11 -11
- package/types/Identity/VerificationSessionsResource.d.ts +18 -12
- package/types/InvoiceItems.d.ts +10 -130
- package/types/InvoiceItemsResource.d.ts +16 -114
- package/types/InvoiceLineItems.d.ts +12 -172
- package/types/InvoicePayments.d.ts +1 -1
- package/types/InvoiceRenderingTemplates.d.ts +1 -1
- package/types/Invoices.d.ts +60 -217
- package/types/InvoicesResource.d.ts +141 -1819
- 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 -744
- package/types/PaymentIntentsResource.d.ts +6824 -19519
- 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 -130
- package/types/PaymentMethodsResource.d.ts +7 -136
- 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 -51
- 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 -884
- package/types/QuotesResource.d.ts +302 -3250
- 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 -178
- package/types/SetupIntentsResource.d.ts +50 -763
- 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 -46
- package/types/SubscriptionItemsResource.d.ts +22 -165
- package/types/SubscriptionSchedules.d.ts +9 -333
- package/types/SubscriptionSchedulesResource.d.ts +79 -1535
- package/types/Subscriptions.d.ts +41 -273
- package/types/SubscriptionsResource.d.ts +94 -768
- 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 -85
- 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 -14
- package/types/TransfersResource.d.ts +6 -13
- 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 +99 -267
- 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 +263 -2861
- package/types/V2/Core/AccountsResource.d.ts +594 -2554
- package/types/V2/Core/EventTypes.d.ts +10 -4813
- package/types/V2/Core/Events.d.ts +0 -61
- package/types/V2/Core/EventsResource.d.ts +1 -11
- package/types/WebhookEndpoints.d.ts +1 -1
- package/types/WebhookEndpointsResource.d.ts +5 -79
- package/types/Webhooks.d.ts +0 -2
- package/types/apiVersion.d.ts +2 -1
- package/types/index.d.ts +0 -233
- package/types/lib.d.ts +0 -10
- package/cjs/resources/AccountNotices.js +0 -21
- package/cjs/resources/BalanceTransfers.js +0 -9
- 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/DelegatedCheckout/RequestedSessions.js +0 -28
- 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/Identity/BlocklistEntries.js +0 -25
- 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/Issuing/Programs.js +0 -22
- 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/ProductCatalog/TrialOffers.js +0 -12
- package/cjs/resources/Radar/AccountEvaluations.js +0 -20
- package/cjs/resources/Tax/Forms.js +0 -20
- package/cjs/resources/Terminal/ReaderCollectedData.js +0 -12
- package/cjs/resources/TestHelpers/Capital/FinancingOffers.js +0 -16
- 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/CustomPricingUnits.js +0 -25
- package/cjs/resources/V2/Billing/Intents/Actions.js +0 -17
- package/cjs/resources/V2/Billing/Intents.js +0 -36
- package/cjs/resources/V2/Billing/LicenseFeeSubscriptions.js +0 -12
- package/cjs/resources/V2/Billing/LicenseFees/Versions.js +0 -17
- package/cjs/resources/V2/Billing/LicenseFees.js +0 -27
- package/cjs/resources/V2/Billing/LicensedItems.js +0 -25
- package/cjs/resources/V2/Billing/MeteredItems.js +0 -22
- package/cjs/resources/V2/Billing/PricingPlanSubscriptions/Components.js +0 -12
- package/cjs/resources/V2/Billing/PricingPlanSubscriptions.js +0 -26
- package/cjs/resources/V2/Billing/PricingPlans/Components.js +0 -29
- package/cjs/resources/V2/Billing/PricingPlans/Versions.js +0 -17
- package/cjs/resources/V2/Billing/PricingPlans.js +0 -29
- package/cjs/resources/V2/Billing/Profiles.js +0 -19
- package/cjs/resources/V2/Billing/RateCardSubscriptions.js +0 -29
- package/cjs/resources/V2/Billing/RateCards/Rates.js +0 -25
- package/cjs/resources/V2/Billing/RateCards/Versions.js +0 -17
- package/cjs/resources/V2/Billing/RateCards.js +0 -29
- package/cjs/resources/V2/Billing/ServiceActions.js +0 -20
- package/cjs/resources/V2/Core/ClaimableSandboxes.js +0 -16
- 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/CurrencyConversions.js +0 -21
- 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/RecipientVerifications.js +0 -20
- package/cjs/resources/V2/MoneyManagement/TransactionEntries.js +0 -17
- package/cjs/resources/V2/MoneyManagement/Transactions.js +0 -17
- package/cjs/resources/V2/Payments/OffSessionPayments.js +0 -29
- package/cjs/resources/V2/Reporting/ReportRuns.js +0 -13
- package/cjs/resources/V2/Reporting/Reports.js +0 -12
- package/cjs/resources/V2/TestHelpers/FinancialAddresses.js +0 -16
- package/cjs/resources/V2/TestHelpers/MoneyManagement.js +0 -12
- package/esm/resources/AccountNotices.js +0 -18
- package/esm/resources/BalanceTransfers.js +0 -6
- 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/DelegatedCheckout/RequestedSessions.js +0 -25
- 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/Identity/BlocklistEntries.js +0 -22
- 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/Issuing/Programs.js +0 -19
- 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/ProductCatalog/TrialOffers.js +0 -9
- package/esm/resources/Radar/AccountEvaluations.js +0 -17
- package/esm/resources/Tax/Forms.js +0 -17
- package/esm/resources/Terminal/ReaderCollectedData.js +0 -9
- package/esm/resources/TestHelpers/Capital/FinancingOffers.js +0 -13
- 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/CustomPricingUnits.js +0 -22
- package/esm/resources/V2/Billing/Intents/Actions.js +0 -14
- package/esm/resources/V2/Billing/Intents.js +0 -33
- package/esm/resources/V2/Billing/LicenseFeeSubscriptions.js +0 -9
- package/esm/resources/V2/Billing/LicenseFees/Versions.js +0 -14
- package/esm/resources/V2/Billing/LicenseFees.js +0 -24
- package/esm/resources/V2/Billing/LicensedItems.js +0 -22
- package/esm/resources/V2/Billing/MeteredItems.js +0 -19
- package/esm/resources/V2/Billing/PricingPlanSubscriptions/Components.js +0 -9
- package/esm/resources/V2/Billing/PricingPlanSubscriptions.js +0 -23
- package/esm/resources/V2/Billing/PricingPlans/Components.js +0 -26
- package/esm/resources/V2/Billing/PricingPlans/Versions.js +0 -14
- package/esm/resources/V2/Billing/PricingPlans.js +0 -26
- package/esm/resources/V2/Billing/Profiles.js +0 -16
- package/esm/resources/V2/Billing/RateCardSubscriptions.js +0 -26
- package/esm/resources/V2/Billing/RateCards/Rates.js +0 -22
- package/esm/resources/V2/Billing/RateCards/Versions.js +0 -14
- package/esm/resources/V2/Billing/RateCards.js +0 -26
- package/esm/resources/V2/Billing/ServiceActions.js +0 -17
- package/esm/resources/V2/Core/ClaimableSandboxes.js +0 -13
- 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/CurrencyConversions.js +0 -18
- 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/RecipientVerifications.js +0 -17
- package/esm/resources/V2/MoneyManagement/TransactionEntries.js +0 -14
- package/esm/resources/V2/MoneyManagement/Transactions.js +0 -14
- package/esm/resources/V2/Payments/OffSessionPayments.js +0 -26
- package/esm/resources/V2/Reporting/ReportRuns.js +0 -10
- package/esm/resources/V2/Reporting/Reports.js +0 -9
- package/esm/resources/V2/TestHelpers/FinancialAddresses.js +0 -13
- package/esm/resources/V2/TestHelpers/MoneyManagement.js +0 -9
- package/types/AccountNotices.d.ts +0 -113
- package/types/AccountNoticesResource.d.ts +0 -98
- package/types/BalanceTransfers.d.ts +0 -122
- package/types/BalanceTransfersResource.d.ts +0 -87
- package/types/Billing/Analytics/MeterUsage.d.ts +0 -31
- package/types/Billing/Analytics/MeterUsageResource.d.ts +0 -694
- package/types/Billing/Analytics/MeterUsageRows.d.ts +0 -58
- 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/DelegatedCheckout/RequestedSessions.d.ts +0 -399
- package/types/DelegatedCheckout/RequestedSessionsResource.d.ts +0 -599
- 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/Identity/BlocklistEntries.d.ts +0 -78
- package/types/Identity/BlocklistEntriesResource.d.ts +0 -146
- 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/Programs.d.ts +0 -42
- package/types/Issuing/ProgramsResource.d.ts +0 -96
- 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/PaymentMethodBalances.d.ts +0 -63
- 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/ProductCatalog/TrialOffers.d.ts +0 -77
- package/types/ProductCatalog/TrialOffersResource.d.ts +0 -80
- package/types/QuoteLines.d.ts +0 -651
- package/types/QuotePreviewInvoices.d.ts +0 -1784
- package/types/QuotePreviewSubscriptionSchedules.d.ts +0 -1034
- package/types/Radar/AccountEvaluations.d.ts +0 -88
- package/types/Radar/AccountEvaluationsResource.d.ts +0 -148
- 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/TestHelpers/Capital/FinancingOffersResource.d.ts +0 -130
- package/types/TransitBalances.d.ts +0 -40
- 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 -735
- package/types/V2/Billing/CadencesResource.d.ts +0 -516
- 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/CustomPricingUnits.d.ts +0 -56
- package/types/V2/Billing/CustomPricingUnitsResource.d.ts +0 -122
- package/types/V2/Billing/IntentActions.d.ts +0 -459
- package/types/V2/Billing/Intents/ActionsResource.d.ts +0 -58
- package/types/V2/Billing/Intents.d.ts +0 -117
- package/types/V2/Billing/IntentsResource.d.ts +0 -575
- package/types/V2/Billing/LicenseFeeSubscriptions.d.ts +0 -64
- package/types/V2/Billing/LicenseFeeSubscriptionsResource.d.ts +0 -28
- package/types/V2/Billing/LicenseFeeVersions.d.ts +0 -106
- package/types/V2/Billing/LicenseFees/VersionsResource.d.ts +0 -58
- package/types/V2/Billing/LicenseFees.d.ts +0 -164
- package/types/V2/Billing/LicenseFeesResource.d.ts +0 -290
- package/types/V2/Billing/LicensedItems.d.ts +0 -73
- package/types/V2/Billing/LicensedItemsResource.d.ts +0 -157
- package/types/V2/Billing/MeteredItems.d.ts +0 -101
- package/types/V2/Billing/MeteredItemsResource.d.ts +0 -189
- package/types/V2/Billing/PricingPlanComponents.d.ts +0 -109
- package/types/V2/Billing/PricingPlanSubscriptionComponents.d.ts +0 -57
- package/types/V2/Billing/PricingPlanSubscriptions/ComponentsResource.d.ts +0 -40
- package/types/V2/Billing/PricingPlanSubscriptions.d.ts +0 -144
- package/types/V2/Billing/PricingPlanSubscriptionsResource.d.ts +0 -120
- package/types/V2/Billing/PricingPlanVersions.d.ts +0 -49
- package/types/V2/Billing/PricingPlans/ComponentsResource.d.ts +0 -197
- package/types/V2/Billing/PricingPlans/VersionsResource.d.ts +0 -58
- package/types/V2/Billing/PricingPlans.d.ts +0 -84
- package/types/V2/Billing/PricingPlansResource.d.ts +0 -151
- package/types/V2/Billing/Profiles.d.ts +0 -70
- package/types/V2/Billing/ProfilesResource.d.ts +0 -150
- package/types/V2/Billing/RateCardRates.d.ts +0 -144
- package/types/V2/Billing/RateCardSubscriptions.d.ts +0 -144
- package/types/V2/Billing/RateCardSubscriptionsResource.d.ts +0 -157
- package/types/V2/Billing/RateCardVersions.d.ts +0 -39
- package/types/V2/Billing/RateCards/RatesResource.d.ts +0 -203
- package/types/V2/Billing/RateCards/VersionsResource.d.ts +0 -58
- package/types/V2/Billing/RateCards.d.ts +0 -98
- package/types/V2/Billing/RateCardsResource.d.ts +0 -162
- package/types/V2/Billing/ServiceActions.d.ts +0 -298
- package/types/V2/Billing/ServiceActionsResource.d.ts +0 -394
- package/types/V2/Core/ClaimableSandboxes.d.ts +0 -132
- package/types/V2/Core/ClaimableSandboxesResource.d.ts +0 -74
- 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 -46
- package/types/V2/MoneyManagement/Adjustments.d.ts +0 -122
- package/types/V2/MoneyManagement/AdjustmentsResource.d.ts +0 -83
- package/types/V2/MoneyManagement/CurrencyConversions.d.ts +0 -98
- package/types/V2/MoneyManagement/CurrencyConversionsResource.d.ts +0 -141
- package/types/V2/MoneyManagement/FinancialAccounts.d.ts +0 -186
- package/types/V2/MoneyManagement/FinancialAccountsResource.d.ts +0 -172
- package/types/V2/MoneyManagement/FinancialAddresses.d.ts +0 -178
- package/types/V2/MoneyManagement/FinancialAddressesResource.d.ts +0 -126
- package/types/V2/MoneyManagement/InboundTransfers.d.ts +0 -250
- package/types/V2/MoneyManagement/InboundTransfersResource.d.ts +0 -156
- package/types/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +0 -222
- package/types/V2/MoneyManagement/OutboundPaymentQuotesResource.d.ts +0 -127
- package/types/V2/MoneyManagement/OutboundPayments.d.ts +0 -323
- package/types/V2/MoneyManagement/OutboundPaymentsResource.d.ts +0 -259
- package/types/V2/MoneyManagement/OutboundSetupIntents.d.ts +0 -97
- package/types/V2/MoneyManagement/OutboundSetupIntentsResource.d.ts +0 -330
- package/types/V2/MoneyManagement/OutboundTransfers.d.ts +0 -296
- package/types/V2/MoneyManagement/OutboundTransfersResource.d.ts +0 -225
- package/types/V2/MoneyManagement/PayoutMethods.d.ts +0 -201
- 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 -347
- package/types/V2/MoneyManagement/ReceivedCreditsResource.d.ts +0 -78
- package/types/V2/MoneyManagement/ReceivedDebits.d.ts +0 -248
- package/types/V2/MoneyManagement/ReceivedDebitsResource.d.ts +0 -48
- package/types/V2/MoneyManagement/RecipientVerifications.d.ts +0 -112
- package/types/V2/MoneyManagement/RecipientVerificationsResource.d.ts +0 -77
- package/types/V2/MoneyManagement/TransactionEntries.d.ts +0 -200
- package/types/V2/MoneyManagement/TransactionEntriesResource.d.ts +0 -82
- package/types/V2/MoneyManagement/Transactions.d.ts +0 -227
- package/types/V2/MoneyManagement/TransactionsResource.d.ts +0 -83
- package/types/V2/Payments/OffSessionPayments.d.ts +0 -249
- package/types/V2/Payments/OffSessionPaymentsResource.d.ts +0 -306
- package/types/V2/Reporting/ReportRuns.d.ts +0 -154
- package/types/V2/Reporting/ReportRunsResource.d.ts +0 -75
- package/types/V2/Reporting/Reports.d.ts +0 -120
- package/types/V2/Reporting/ReportsResource.d.ts +0 -30
- package/types/V2/TestHelpers/FinancialAddressesResource.d.ts +0 -85
- package/types/V2/TestHelpers/MoneyManagementResource.d.ts +0 -49
|
@@ -66,12 +66,12 @@ declare module 'stripe' {
|
|
|
66
66
|
flow_directions?: Array<SetupIntentCreateParams.FlowDirection>;
|
|
67
67
|
|
|
68
68
|
/**
|
|
69
|
-
* This hash contains details about the mandate to create. This parameter can only be used with [`confirm=true`](https://stripe.com/
|
|
69
|
+
* This hash contains details about the mandate to create. This parameter can only be used with [`confirm=true`](https://docs.stripe.com/api/setup_intents/create#create_setup_intent-confirm).
|
|
70
70
|
*/
|
|
71
71
|
mandate_data?: Stripe.Emptyable<SetupIntentCreateParams.MandateData>;
|
|
72
72
|
|
|
73
73
|
/**
|
|
74
|
-
* Set of [key-value pairs](https://stripe.com/
|
|
74
|
+
* 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`.
|
|
75
75
|
*/
|
|
76
76
|
metadata?: Stripe.MetadataParam;
|
|
77
77
|
|
|
@@ -86,12 +86,12 @@ declare module 'stripe' {
|
|
|
86
86
|
payment_method?: string;
|
|
87
87
|
|
|
88
88
|
/**
|
|
89
|
-
* The ID of the [payment method configuration](https://stripe.com/
|
|
89
|
+
* The ID of the [payment method configuration](https://docs.stripe.com/api/payment_method_configurations) to use with this SetupIntent.
|
|
90
90
|
*/
|
|
91
91
|
payment_method_configuration?: string;
|
|
92
92
|
|
|
93
93
|
/**
|
|
94
|
-
* When included, this hash creates a PaymentMethod that is set as the [`payment_method`](https://stripe.com/
|
|
94
|
+
* When included, this hash creates a PaymentMethod that is set as the [`payment_method`](https://docs.stripe.com/api/setup_intents/object#setup_intent_object-payment_method)
|
|
95
95
|
* value in the SetupIntent.
|
|
96
96
|
*/
|
|
97
97
|
payment_method_data?: SetupIntentCreateParams.PaymentMethodData;
|
|
@@ -107,15 +107,10 @@ declare module 'stripe' {
|
|
|
107
107
|
payment_method_types?: Array<string>;
|
|
108
108
|
|
|
109
109
|
/**
|
|
110
|
-
* The URL to redirect your customer back to after they authenticate or cancel their payment on the payment method's app or site. To redirect to a mobile application, you can alternatively supply an application URI scheme. This parameter can only be used with [`confirm=true`](https://stripe.com/
|
|
110
|
+
* The URL to redirect your customer back to after they authenticate or cancel their payment on the payment method's app or site. To redirect to a mobile application, you can alternatively supply an application URI scheme. This parameter can only be used with [`confirm=true`](https://docs.stripe.com/api/setup_intents/create#create_setup_intent-confirm).
|
|
111
111
|
*/
|
|
112
112
|
return_url?: string;
|
|
113
113
|
|
|
114
|
-
/**
|
|
115
|
-
* Provides industry-specific information about the SetupIntent.
|
|
116
|
-
*/
|
|
117
|
-
setup_details?: SetupIntentCreateParams.SetupDetails;
|
|
118
|
-
|
|
119
114
|
/**
|
|
120
115
|
* If you populate this hash, this SetupIntent generates a `single_use` mandate after successful completion.
|
|
121
116
|
*
|
|
@@ -139,7 +134,7 @@ declare module 'stripe' {
|
|
|
139
134
|
/**
|
|
140
135
|
* Controls whether this SetupIntent will accept redirect-based payment methods.
|
|
141
136
|
*
|
|
142
|
-
* 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/
|
|
137
|
+
* 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/setup_intents/confirm) this SetupIntent, you may be required to provide a `return_url` to redirect customers back to your site after they authenticate or complete the setup.
|
|
143
138
|
*/
|
|
144
139
|
allow_redirects?: AutomaticPaymentMethods.AllowRedirects;
|
|
145
140
|
|
|
@@ -173,9 +168,7 @@ declare module 'stripe' {
|
|
|
173
168
|
| 'eps'
|
|
174
169
|
| 'fpx'
|
|
175
170
|
| 'giropay'
|
|
176
|
-
| 'gopay'
|
|
177
171
|
| 'grabpay'
|
|
178
|
-
| 'id_bank_transfer'
|
|
179
172
|
| 'ideal'
|
|
180
173
|
| 'kakao_pay'
|
|
181
174
|
| 'klarna'
|
|
@@ -192,19 +185,14 @@ declare module 'stripe' {
|
|
|
192
185
|
| 'payco'
|
|
193
186
|
| 'paynow'
|
|
194
187
|
| 'paypal'
|
|
195
|
-
| 'paypay'
|
|
196
188
|
| 'payto'
|
|
197
189
|
| 'pix'
|
|
198
190
|
| 'promptpay'
|
|
199
|
-
| 'qris'
|
|
200
|
-
| 'rechnung'
|
|
201
191
|
| 'revolut_pay'
|
|
202
192
|
| 'samsung_pay'
|
|
203
193
|
| 'satispay'
|
|
204
194
|
| 'sepa_debit'
|
|
205
|
-
| 'shopeepay'
|
|
206
195
|
| 'sofort'
|
|
207
|
-
| 'stripe_balance'
|
|
208
196
|
| 'swish'
|
|
209
197
|
| 'twint'
|
|
210
198
|
| 'us_bank_account'
|
|
@@ -363,21 +351,11 @@ declare module 'stripe' {
|
|
|
363
351
|
*/
|
|
364
352
|
giropay?: PaymentMethodData.Giropay;
|
|
365
353
|
|
|
366
|
-
/**
|
|
367
|
-
* If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
|
|
368
|
-
*/
|
|
369
|
-
gopay?: PaymentMethodData.Gopay;
|
|
370
|
-
|
|
371
354
|
/**
|
|
372
355
|
* If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
|
|
373
356
|
*/
|
|
374
357
|
grabpay?: PaymentMethodData.Grabpay;
|
|
375
358
|
|
|
376
|
-
/**
|
|
377
|
-
* If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
|
|
378
|
-
*/
|
|
379
|
-
id_bank_transfer?: PaymentMethodData.IdBankTransfer;
|
|
380
|
-
|
|
381
359
|
/**
|
|
382
360
|
* If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
|
|
383
361
|
*/
|
|
@@ -419,7 +397,7 @@ declare module 'stripe' {
|
|
|
419
397
|
mb_way?: PaymentMethodData.MbWay;
|
|
420
398
|
|
|
421
399
|
/**
|
|
422
|
-
* Set of [key-value pairs](https://stripe.com/
|
|
400
|
+
* 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`.
|
|
423
401
|
*/
|
|
424
402
|
metadata?: Stripe.MetadataParam;
|
|
425
403
|
|
|
@@ -473,11 +451,6 @@ declare module 'stripe' {
|
|
|
473
451
|
*/
|
|
474
452
|
paypal?: PaymentMethodData.Paypal;
|
|
475
453
|
|
|
476
|
-
/**
|
|
477
|
-
* If this is a `paypay` PaymentMethod, this hash contains details about the PayPay payment method.
|
|
478
|
-
*/
|
|
479
|
-
paypay?: PaymentMethodData.Paypay;
|
|
480
|
-
|
|
481
454
|
/**
|
|
482
455
|
* If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
|
|
483
456
|
*/
|
|
@@ -494,20 +467,10 @@ declare module 'stripe' {
|
|
|
494
467
|
promptpay?: PaymentMethodData.Promptpay;
|
|
495
468
|
|
|
496
469
|
/**
|
|
497
|
-
*
|
|
498
|
-
*/
|
|
499
|
-
qris?: PaymentMethodData.Qris;
|
|
500
|
-
|
|
501
|
-
/**
|
|
502
|
-
* Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
|
|
470
|
+
* Options to configure Radar. See [Radar Session](https://docs.stripe.com/radar/radar-session) for more information.
|
|
503
471
|
*/
|
|
504
472
|
radar_options?: PaymentMethodData.RadarOptions;
|
|
505
473
|
|
|
506
|
-
/**
|
|
507
|
-
* If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
|
|
508
|
-
*/
|
|
509
|
-
rechnung?: PaymentMethodData.Rechnung;
|
|
510
|
-
|
|
511
474
|
/**
|
|
512
475
|
* If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
|
|
513
476
|
*/
|
|
@@ -528,21 +491,11 @@ declare module 'stripe' {
|
|
|
528
491
|
*/
|
|
529
492
|
sepa_debit?: PaymentMethodData.SepaDebit;
|
|
530
493
|
|
|
531
|
-
/**
|
|
532
|
-
* If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
|
|
533
|
-
*/
|
|
534
|
-
shopeepay?: PaymentMethodData.Shopeepay;
|
|
535
|
-
|
|
536
494
|
/**
|
|
537
495
|
* If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
|
|
538
496
|
*/
|
|
539
497
|
sofort?: PaymentMethodData.Sofort;
|
|
540
498
|
|
|
541
|
-
/**
|
|
542
|
-
* This hash contains details about the Stripe balance payment method.
|
|
543
|
-
*/
|
|
544
|
-
stripe_balance?: PaymentMethodData.StripeBalance;
|
|
545
|
-
|
|
546
499
|
/**
|
|
547
500
|
* If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
|
|
548
501
|
*/
|
|
@@ -755,21 +708,8 @@ declare module 'stripe' {
|
|
|
755
708
|
|
|
756
709
|
interface Giropay {}
|
|
757
710
|
|
|
758
|
-
interface Gopay {}
|
|
759
|
-
|
|
760
711
|
interface Grabpay {}
|
|
761
712
|
|
|
762
|
-
interface IdBankTransfer {
|
|
763
|
-
/**
|
|
764
|
-
* Bank where the account is held.
|
|
765
|
-
*/
|
|
766
|
-
bank?: IdBankTransfer.Bank;
|
|
767
|
-
}
|
|
768
|
-
|
|
769
|
-
namespace IdBankTransfer {
|
|
770
|
-
type Bank = 'bca' | 'bni' | 'bri' | 'cimb' | 'permata';
|
|
771
|
-
}
|
|
772
|
-
|
|
773
713
|
interface Ideal {
|
|
774
714
|
/**
|
|
775
715
|
* The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
|
@@ -787,6 +727,7 @@ declare module 'stripe' {
|
|
|
787
727
|
| 'handelsbanken'
|
|
788
728
|
| 'ing'
|
|
789
729
|
| 'knab'
|
|
730
|
+
| 'mollie'
|
|
790
731
|
| 'moneyou'
|
|
791
732
|
| 'n26'
|
|
792
733
|
| 'nn'
|
|
@@ -928,8 +869,6 @@ declare module 'stripe' {
|
|
|
928
869
|
|
|
929
870
|
interface Paypal {}
|
|
930
871
|
|
|
931
|
-
interface Paypay {}
|
|
932
|
-
|
|
933
872
|
interface Payto {
|
|
934
873
|
/**
|
|
935
874
|
* The account number for the bank account.
|
|
@@ -951,41 +890,13 @@ declare module 'stripe' {
|
|
|
951
890
|
|
|
952
891
|
interface Promptpay {}
|
|
953
892
|
|
|
954
|
-
interface Qris {}
|
|
955
|
-
|
|
956
893
|
interface RadarOptions {
|
|
957
894
|
/**
|
|
958
|
-
* A [Radar Session](https://stripe.com/
|
|
895
|
+
* A [Radar Session](https://docs.stripe.com/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
|
|
959
896
|
*/
|
|
960
897
|
session?: string;
|
|
961
898
|
}
|
|
962
899
|
|
|
963
|
-
interface Rechnung {
|
|
964
|
-
/**
|
|
965
|
-
* Customer's date of birth
|
|
966
|
-
*/
|
|
967
|
-
dob: Rechnung.Dob;
|
|
968
|
-
}
|
|
969
|
-
|
|
970
|
-
namespace Rechnung {
|
|
971
|
-
interface Dob {
|
|
972
|
-
/**
|
|
973
|
-
* The day of birth, between 1 and 31.
|
|
974
|
-
*/
|
|
975
|
-
day: number;
|
|
976
|
-
|
|
977
|
-
/**
|
|
978
|
-
* The month of birth, between 1 and 12.
|
|
979
|
-
*/
|
|
980
|
-
month: number;
|
|
981
|
-
|
|
982
|
-
/**
|
|
983
|
-
* The four-digit year of birth.
|
|
984
|
-
*/
|
|
985
|
-
year: number;
|
|
986
|
-
}
|
|
987
|
-
}
|
|
988
|
-
|
|
989
900
|
interface RevolutPay {}
|
|
990
901
|
|
|
991
902
|
interface SamsungPay {}
|
|
@@ -999,8 +910,6 @@ declare module 'stripe' {
|
|
|
999
910
|
iban: string;
|
|
1000
911
|
}
|
|
1001
912
|
|
|
1002
|
-
interface Shopeepay {}
|
|
1003
|
-
|
|
1004
913
|
interface Sofort {
|
|
1005
914
|
/**
|
|
1006
915
|
* Two-letter ISO code representing the country the bank account is located in.
|
|
@@ -1012,22 +921,6 @@ declare module 'stripe' {
|
|
|
1012
921
|
type Country = 'AT' | 'BE' | 'DE' | 'ES' | 'IT' | 'NL';
|
|
1013
922
|
}
|
|
1014
923
|
|
|
1015
|
-
interface StripeBalance {
|
|
1016
|
-
/**
|
|
1017
|
-
* The connected account ID whose Stripe balance to use as the source of payment
|
|
1018
|
-
*/
|
|
1019
|
-
account?: string;
|
|
1020
|
-
|
|
1021
|
-
/**
|
|
1022
|
-
* The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
|
|
1023
|
-
*/
|
|
1024
|
-
source_type?: StripeBalance.SourceType;
|
|
1025
|
-
}
|
|
1026
|
-
|
|
1027
|
-
namespace StripeBalance {
|
|
1028
|
-
type SourceType = 'bank_account' | 'card' | 'fpx';
|
|
1029
|
-
}
|
|
1030
|
-
|
|
1031
924
|
interface Swish {}
|
|
1032
925
|
|
|
1033
926
|
interface Twint {}
|
|
@@ -1051,9 +944,7 @@ declare module 'stripe' {
|
|
|
1051
944
|
| 'eps'
|
|
1052
945
|
| 'fpx'
|
|
1053
946
|
| 'giropay'
|
|
1054
|
-
| 'gopay'
|
|
1055
947
|
| 'grabpay'
|
|
1056
|
-
| 'id_bank_transfer'
|
|
1057
948
|
| 'ideal'
|
|
1058
949
|
| 'kakao_pay'
|
|
1059
950
|
| 'klarna'
|
|
@@ -1071,19 +962,14 @@ declare module 'stripe' {
|
|
|
1071
962
|
| 'payco'
|
|
1072
963
|
| 'paynow'
|
|
1073
964
|
| 'paypal'
|
|
1074
|
-
| 'paypay'
|
|
1075
965
|
| 'payto'
|
|
1076
966
|
| 'pix'
|
|
1077
967
|
| 'promptpay'
|
|
1078
|
-
| 'qris'
|
|
1079
|
-
| 'rechnung'
|
|
1080
968
|
| 'revolut_pay'
|
|
1081
969
|
| 'samsung_pay'
|
|
1082
970
|
| 'satispay'
|
|
1083
971
|
| 'sepa_debit'
|
|
1084
|
-
| 'shopeepay'
|
|
1085
972
|
| 'sofort'
|
|
1086
|
-
| 'stripe_balance'
|
|
1087
973
|
| 'swish'
|
|
1088
974
|
| 'twint'
|
|
1089
975
|
| 'us_bank_account'
|
|
@@ -1174,11 +1060,6 @@ declare module 'stripe' {
|
|
|
1174
1060
|
*/
|
|
1175
1061
|
payto?: PaymentMethodOptions.Payto;
|
|
1176
1062
|
|
|
1177
|
-
/**
|
|
1178
|
-
* If this is a `pix` SetupIntent, this sub-hash contains details about the Pix payment method options.
|
|
1179
|
-
*/
|
|
1180
|
-
pix?: PaymentMethodOptions.Pix;
|
|
1181
|
-
|
|
1182
1063
|
/**
|
|
1183
1064
|
* If this is a `sepa_debit` SetupIntent, this sub-hash contains details about the SEPA Debit payment method options.
|
|
1184
1065
|
*/
|
|
@@ -1288,7 +1169,7 @@ declare module 'stripe' {
|
|
|
1288
1169
|
network?: Card.Network;
|
|
1289
1170
|
|
|
1290
1171
|
/**
|
|
1291
|
-
* 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/
|
|
1172
|
+
* 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.
|
|
1292
1173
|
*/
|
|
1293
1174
|
request_three_d_secure?: Card.RequestThreeDSecure;
|
|
1294
1175
|
|
|
@@ -1626,13 +1507,6 @@ declare module 'stripe' {
|
|
|
1626
1507
|
* The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
|
|
1627
1508
|
*/
|
|
1628
1509
|
billing_agreement_id?: string;
|
|
1629
|
-
|
|
1630
|
-
currency?: string;
|
|
1631
|
-
|
|
1632
|
-
/**
|
|
1633
|
-
* 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.
|
|
1634
|
-
*/
|
|
1635
|
-
subsellers?: Array<string>;
|
|
1636
1510
|
}
|
|
1637
1511
|
|
|
1638
1512
|
interface Payto {
|
|
@@ -1647,37 +1521,37 @@ declare module 'stripe' {
|
|
|
1647
1521
|
/**
|
|
1648
1522
|
* Amount that will be collected. It is required when `amount_type` is `fixed`.
|
|
1649
1523
|
*/
|
|
1650
|
-
amount?: number
|
|
1524
|
+
amount?: Stripe.Emptyable<number>;
|
|
1651
1525
|
|
|
1652
1526
|
/**
|
|
1653
1527
|
* The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively. Defaults to `maximum`.
|
|
1654
1528
|
*/
|
|
1655
|
-
amount_type?: MandateOptions.AmountType
|
|
1529
|
+
amount_type?: Stripe.Emptyable<MandateOptions.AmountType>;
|
|
1656
1530
|
|
|
1657
1531
|
/**
|
|
1658
1532
|
* Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
|
|
1659
1533
|
*/
|
|
1660
|
-
end_date?: string
|
|
1534
|
+
end_date?: Stripe.Emptyable<string>;
|
|
1661
1535
|
|
|
1662
1536
|
/**
|
|
1663
1537
|
* The periodicity at which payments will be collected. Defaults to `adhoc`.
|
|
1664
1538
|
*/
|
|
1665
|
-
payment_schedule?: MandateOptions.PaymentSchedule
|
|
1539
|
+
payment_schedule?: Stripe.Emptyable<MandateOptions.PaymentSchedule>;
|
|
1666
1540
|
|
|
1667
1541
|
/**
|
|
1668
1542
|
* The number of payments that will be made during a payment period. Defaults to 1 except for when `payment_schedule` is `adhoc`. In that case, it defaults to no limit.
|
|
1669
1543
|
*/
|
|
1670
|
-
payments_per_period?: number
|
|
1544
|
+
payments_per_period?: Stripe.Emptyable<number>;
|
|
1671
1545
|
|
|
1672
1546
|
/**
|
|
1673
1547
|
* The purpose for which payments are made. Has a default value based on your merchant category code.
|
|
1674
1548
|
*/
|
|
1675
|
-
purpose?: MandateOptions.Purpose
|
|
1549
|
+
purpose?: Stripe.Emptyable<MandateOptions.Purpose>;
|
|
1676
1550
|
|
|
1677
1551
|
/**
|
|
1678
1552
|
* Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
|
|
1679
1553
|
*/
|
|
1680
|
-
start_date?: string
|
|
1554
|
+
start_date?: Stripe.Emptyable<string>;
|
|
1681
1555
|
}
|
|
1682
1556
|
|
|
1683
1557
|
namespace MandateOptions {
|
|
@@ -1708,70 +1582,6 @@ declare module 'stripe' {
|
|
|
1708
1582
|
}
|
|
1709
1583
|
}
|
|
1710
1584
|
|
|
1711
|
-
interface Pix {
|
|
1712
|
-
/**
|
|
1713
|
-
* Additional fields for mandate creation.
|
|
1714
|
-
*/
|
|
1715
|
-
mandate_options?: Pix.MandateOptions;
|
|
1716
|
-
}
|
|
1717
|
-
|
|
1718
|
-
namespace Pix {
|
|
1719
|
-
interface MandateOptions {
|
|
1720
|
-
/**
|
|
1721
|
-
* Amount to be charged for future payments. Required when `amount_type=fixed`. If not provided for `amount_type=maximum`, defaults to 40000.
|
|
1722
|
-
*/
|
|
1723
|
-
amount?: number;
|
|
1724
|
-
|
|
1725
|
-
/**
|
|
1726
|
-
* Determines if the amount includes the IOF tax. Defaults to `never`.
|
|
1727
|
-
*/
|
|
1728
|
-
amount_includes_iof?: MandateOptions.AmountIncludesIof;
|
|
1729
|
-
|
|
1730
|
-
/**
|
|
1731
|
-
* Type of amount. Defaults to `maximum`.
|
|
1732
|
-
*/
|
|
1733
|
-
amount_type?: MandateOptions.AmountType;
|
|
1734
|
-
|
|
1735
|
-
/**
|
|
1736
|
-
* Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Only `brl` is supported currently.
|
|
1737
|
-
*/
|
|
1738
|
-
currency?: string;
|
|
1739
|
-
|
|
1740
|
-
/**
|
|
1741
|
-
* Date when the mandate expires and no further payments will be charged, in `YYYY-MM-DD`. If not provided, the mandate will be active until canceled. If provided, end date should be after start date.
|
|
1742
|
-
*/
|
|
1743
|
-
end_date?: string;
|
|
1744
|
-
|
|
1745
|
-
/**
|
|
1746
|
-
* Schedule at which the future payments will be charged. Defaults to `weekly`.
|
|
1747
|
-
*/
|
|
1748
|
-
payment_schedule?: MandateOptions.PaymentSchedule;
|
|
1749
|
-
|
|
1750
|
-
/**
|
|
1751
|
-
* Subscription name displayed to buyers in their bank app. Defaults to the displayable business name.
|
|
1752
|
-
*/
|
|
1753
|
-
reference?: string;
|
|
1754
|
-
|
|
1755
|
-
/**
|
|
1756
|
-
* Start date of the mandate, in `YYYY-MM-DD`. Start date should be at least 3 days in the future. Defaults to 3 days after the current date.
|
|
1757
|
-
*/
|
|
1758
|
-
start_date?: string;
|
|
1759
|
-
}
|
|
1760
|
-
|
|
1761
|
-
namespace MandateOptions {
|
|
1762
|
-
type AmountIncludesIof = 'always' | 'never';
|
|
1763
|
-
|
|
1764
|
-
type AmountType = 'fixed' | 'maximum';
|
|
1765
|
-
|
|
1766
|
-
type PaymentSchedule =
|
|
1767
|
-
| 'halfyearly'
|
|
1768
|
-
| 'monthly'
|
|
1769
|
-
| 'quarterly'
|
|
1770
|
-
| 'weekly'
|
|
1771
|
-
| 'yearly';
|
|
1772
|
-
}
|
|
1773
|
-
}
|
|
1774
|
-
|
|
1775
1585
|
interface SepaDebit {
|
|
1776
1586
|
/**
|
|
1777
1587
|
* Additional fields for Mandate creation
|
|
@@ -1817,11 +1627,6 @@ declare module 'stripe' {
|
|
|
1817
1627
|
*/
|
|
1818
1628
|
filters?: FinancialConnections.Filters;
|
|
1819
1629
|
|
|
1820
|
-
/**
|
|
1821
|
-
* Customize manual entry behavior
|
|
1822
|
-
*/
|
|
1823
|
-
manual_entry?: FinancialConnections.ManualEntry;
|
|
1824
|
-
|
|
1825
1630
|
/**
|
|
1826
1631
|
* The list of permissions to request. If this parameter is passed, the `payment_method` permission must be included. Valid permissions include: `balances`, `ownership`, `payment_method`, and `transactions`.
|
|
1827
1632
|
*/
|
|
@@ -1844,39 +1649,19 @@ declare module 'stripe' {
|
|
|
1844
1649
|
* The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
|
|
1845
1650
|
*/
|
|
1846
1651
|
account_subcategories?: Array<Filters.AccountSubcategory>;
|
|
1847
|
-
|
|
1848
|
-
/**
|
|
1849
|
-
* ID of the institution to use to filter for selectable accounts.
|
|
1850
|
-
*/
|
|
1851
|
-
institution?: string;
|
|
1852
1652
|
}
|
|
1853
1653
|
|
|
1854
1654
|
namespace Filters {
|
|
1855
1655
|
type AccountSubcategory = 'checking' | 'savings';
|
|
1856
1656
|
}
|
|
1857
1657
|
|
|
1858
|
-
interface ManualEntry {
|
|
1859
|
-
/**
|
|
1860
|
-
* Settings for configuring manual entry of account details.
|
|
1861
|
-
*/
|
|
1862
|
-
mode: ManualEntry.Mode;
|
|
1863
|
-
}
|
|
1864
|
-
|
|
1865
|
-
namespace ManualEntry {
|
|
1866
|
-
type Mode = 'automatic' | 'custom';
|
|
1867
|
-
}
|
|
1868
|
-
|
|
1869
1658
|
type Permission =
|
|
1870
1659
|
| 'balances'
|
|
1871
1660
|
| 'ownership'
|
|
1872
1661
|
| 'payment_method'
|
|
1873
1662
|
| 'transactions';
|
|
1874
1663
|
|
|
1875
|
-
type Prefetch =
|
|
1876
|
-
| 'balances'
|
|
1877
|
-
| 'inferred_balances'
|
|
1878
|
-
| 'ownership'
|
|
1879
|
-
| 'transactions';
|
|
1664
|
+
type Prefetch = 'balances' | 'ownership' | 'transactions';
|
|
1880
1665
|
}
|
|
1881
1666
|
|
|
1882
1667
|
interface MandateOptions {
|
|
@@ -1901,34 +1686,9 @@ declare module 'stripe' {
|
|
|
1901
1686
|
}
|
|
1902
1687
|
}
|
|
1903
1688
|
|
|
1904
|
-
interface SetupDetails {
|
|
1905
|
-
/**
|
|
1906
|
-
* Benefit details for this SetupIntent
|
|
1907
|
-
*/
|
|
1908
|
-
benefit?: SetupDetails.Benefit;
|
|
1909
|
-
}
|
|
1910
|
-
|
|
1911
|
-
namespace SetupDetails {
|
|
1912
|
-
interface Benefit {
|
|
1913
|
-
/**
|
|
1914
|
-
* French meal voucher benefit details for this SetupIntent.
|
|
1915
|
-
*/
|
|
1916
|
-
fr_meal_voucher?: Benefit.FrMealVoucher;
|
|
1917
|
-
}
|
|
1918
|
-
|
|
1919
|
-
namespace Benefit {
|
|
1920
|
-
interface FrMealVoucher {
|
|
1921
|
-
/**
|
|
1922
|
-
* The 14-digit SIRET of the meal voucher acceptor.
|
|
1923
|
-
*/
|
|
1924
|
-
siret: string;
|
|
1925
|
-
}
|
|
1926
|
-
}
|
|
1927
|
-
}
|
|
1928
|
-
|
|
1929
1689
|
interface SingleUse {
|
|
1930
1690
|
/**
|
|
1931
|
-
* Amount the customer is granting permission to collect later. A positive integer representing how much to charge in the [smallest currency unit](https://stripe.com/
|
|
1691
|
+
* Amount the customer is granting permission to collect later. 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).
|
|
1932
1692
|
*/
|
|
1933
1693
|
amount: number;
|
|
1934
1694
|
|
|
@@ -2000,7 +1760,7 @@ declare module 'stripe' {
|
|
|
2000
1760
|
flow_directions?: Array<SetupIntentUpdateParams.FlowDirection>;
|
|
2001
1761
|
|
|
2002
1762
|
/**
|
|
2003
|
-
* Set of [key-value pairs](https://stripe.com/
|
|
1763
|
+
* 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`.
|
|
2004
1764
|
*/
|
|
2005
1765
|
metadata?: Stripe.Emptyable<Stripe.MetadataParam>;
|
|
2006
1766
|
|
|
@@ -2010,12 +1770,12 @@ declare module 'stripe' {
|
|
|
2010
1770
|
payment_method?: string;
|
|
2011
1771
|
|
|
2012
1772
|
/**
|
|
2013
|
-
* The ID of the [payment method configuration](https://stripe.com/
|
|
1773
|
+
* The ID of the [payment method configuration](https://docs.stripe.com/api/payment_method_configurations) to use with this SetupIntent.
|
|
2014
1774
|
*/
|
|
2015
1775
|
payment_method_configuration?: string;
|
|
2016
1776
|
|
|
2017
1777
|
/**
|
|
2018
|
-
* When included, this hash creates a PaymentMethod that is set as the [`payment_method`](https://stripe.com/
|
|
1778
|
+
* When included, this hash creates a PaymentMethod that is set as the [`payment_method`](https://docs.stripe.com/api/setup_intents/object#setup_intent_object-payment_method)
|
|
2019
1779
|
* value in the SetupIntent.
|
|
2020
1780
|
*/
|
|
2021
1781
|
payment_method_data?: SetupIntentUpdateParams.PaymentMethodData;
|
|
@@ -2029,11 +1789,6 @@ declare module 'stripe' {
|
|
|
2029
1789
|
* The list of payment method types (for example, card) that this SetupIntent can set up. If you don't provide this, Stripe will dynamically show relevant payment methods from your [payment method settings](https://dashboard.stripe.com/settings/payment_methods). A list of valid payment method types can be found [here](https://docs.stripe.com/api/payment_methods/object#payment_method_object-type).
|
|
2030
1790
|
*/
|
|
2031
1791
|
payment_method_types?: Array<string>;
|
|
2032
|
-
|
|
2033
|
-
/**
|
|
2034
|
-
* Provides industry-specific information about the SetupIntent.
|
|
2035
|
-
*/
|
|
2036
|
-
setup_details?: SetupIntentUpdateParams.SetupDetails;
|
|
2037
1792
|
}
|
|
2038
1793
|
|
|
2039
1794
|
namespace SetupIntentUpdateParams {
|
|
@@ -2057,9 +1812,7 @@ declare module 'stripe' {
|
|
|
2057
1812
|
| 'eps'
|
|
2058
1813
|
| 'fpx'
|
|
2059
1814
|
| 'giropay'
|
|
2060
|
-
| 'gopay'
|
|
2061
1815
|
| 'grabpay'
|
|
2062
|
-
| 'id_bank_transfer'
|
|
2063
1816
|
| 'ideal'
|
|
2064
1817
|
| 'kakao_pay'
|
|
2065
1818
|
| 'klarna'
|
|
@@ -2076,19 +1829,14 @@ declare module 'stripe' {
|
|
|
2076
1829
|
| 'payco'
|
|
2077
1830
|
| 'paynow'
|
|
2078
1831
|
| 'paypal'
|
|
2079
|
-
| 'paypay'
|
|
2080
1832
|
| 'payto'
|
|
2081
1833
|
| 'pix'
|
|
2082
1834
|
| 'promptpay'
|
|
2083
|
-
| 'qris'
|
|
2084
|
-
| 'rechnung'
|
|
2085
1835
|
| 'revolut_pay'
|
|
2086
1836
|
| 'samsung_pay'
|
|
2087
1837
|
| 'satispay'
|
|
2088
1838
|
| 'sepa_debit'
|
|
2089
|
-
| 'shopeepay'
|
|
2090
1839
|
| 'sofort'
|
|
2091
|
-
| 'stripe_balance'
|
|
2092
1840
|
| 'swish'
|
|
2093
1841
|
| 'twint'
|
|
2094
1842
|
| 'us_bank_account'
|
|
@@ -2198,21 +1946,11 @@ declare module 'stripe' {
|
|
|
2198
1946
|
*/
|
|
2199
1947
|
giropay?: PaymentMethodData.Giropay;
|
|
2200
1948
|
|
|
2201
|
-
/**
|
|
2202
|
-
* If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
|
|
2203
|
-
*/
|
|
2204
|
-
gopay?: PaymentMethodData.Gopay;
|
|
2205
|
-
|
|
2206
1949
|
/**
|
|
2207
1950
|
* If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
|
|
2208
1951
|
*/
|
|
2209
1952
|
grabpay?: PaymentMethodData.Grabpay;
|
|
2210
1953
|
|
|
2211
|
-
/**
|
|
2212
|
-
* If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
|
|
2213
|
-
*/
|
|
2214
|
-
id_bank_transfer?: PaymentMethodData.IdBankTransfer;
|
|
2215
|
-
|
|
2216
1954
|
/**
|
|
2217
1955
|
* If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
|
|
2218
1956
|
*/
|
|
@@ -2254,7 +1992,7 @@ declare module 'stripe' {
|
|
|
2254
1992
|
mb_way?: PaymentMethodData.MbWay;
|
|
2255
1993
|
|
|
2256
1994
|
/**
|
|
2257
|
-
* Set of [key-value pairs](https://stripe.com/
|
|
1995
|
+
* 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`.
|
|
2258
1996
|
*/
|
|
2259
1997
|
metadata?: Stripe.MetadataParam;
|
|
2260
1998
|
|
|
@@ -2308,11 +2046,6 @@ declare module 'stripe' {
|
|
|
2308
2046
|
*/
|
|
2309
2047
|
paypal?: PaymentMethodData.Paypal;
|
|
2310
2048
|
|
|
2311
|
-
/**
|
|
2312
|
-
* If this is a `paypay` PaymentMethod, this hash contains details about the PayPay payment method.
|
|
2313
|
-
*/
|
|
2314
|
-
paypay?: PaymentMethodData.Paypay;
|
|
2315
|
-
|
|
2316
2049
|
/**
|
|
2317
2050
|
* If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
|
|
2318
2051
|
*/
|
|
@@ -2329,20 +2062,10 @@ declare module 'stripe' {
|
|
|
2329
2062
|
promptpay?: PaymentMethodData.Promptpay;
|
|
2330
2063
|
|
|
2331
2064
|
/**
|
|
2332
|
-
*
|
|
2333
|
-
*/
|
|
2334
|
-
qris?: PaymentMethodData.Qris;
|
|
2335
|
-
|
|
2336
|
-
/**
|
|
2337
|
-
* Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
|
|
2065
|
+
* Options to configure Radar. See [Radar Session](https://docs.stripe.com/radar/radar-session) for more information.
|
|
2338
2066
|
*/
|
|
2339
2067
|
radar_options?: PaymentMethodData.RadarOptions;
|
|
2340
2068
|
|
|
2341
|
-
/**
|
|
2342
|
-
* If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
|
|
2343
|
-
*/
|
|
2344
|
-
rechnung?: PaymentMethodData.Rechnung;
|
|
2345
|
-
|
|
2346
2069
|
/**
|
|
2347
2070
|
* If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
|
|
2348
2071
|
*/
|
|
@@ -2363,21 +2086,11 @@ declare module 'stripe' {
|
|
|
2363
2086
|
*/
|
|
2364
2087
|
sepa_debit?: PaymentMethodData.SepaDebit;
|
|
2365
2088
|
|
|
2366
|
-
/**
|
|
2367
|
-
* If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
|
|
2368
|
-
*/
|
|
2369
|
-
shopeepay?: PaymentMethodData.Shopeepay;
|
|
2370
|
-
|
|
2371
2089
|
/**
|
|
2372
2090
|
* If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
|
|
2373
2091
|
*/
|
|
2374
2092
|
sofort?: PaymentMethodData.Sofort;
|
|
2375
2093
|
|
|
2376
|
-
/**
|
|
2377
|
-
* This hash contains details about the Stripe balance payment method.
|
|
2378
|
-
*/
|
|
2379
|
-
stripe_balance?: PaymentMethodData.StripeBalance;
|
|
2380
|
-
|
|
2381
2094
|
/**
|
|
2382
2095
|
* If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
|
|
2383
2096
|
*/
|
|
@@ -2590,21 +2303,8 @@ declare module 'stripe' {
|
|
|
2590
2303
|
|
|
2591
2304
|
interface Giropay {}
|
|
2592
2305
|
|
|
2593
|
-
interface Gopay {}
|
|
2594
|
-
|
|
2595
2306
|
interface Grabpay {}
|
|
2596
2307
|
|
|
2597
|
-
interface IdBankTransfer {
|
|
2598
|
-
/**
|
|
2599
|
-
* Bank where the account is held.
|
|
2600
|
-
*/
|
|
2601
|
-
bank?: IdBankTransfer.Bank;
|
|
2602
|
-
}
|
|
2603
|
-
|
|
2604
|
-
namespace IdBankTransfer {
|
|
2605
|
-
type Bank = 'bca' | 'bni' | 'bri' | 'cimb' | 'permata';
|
|
2606
|
-
}
|
|
2607
|
-
|
|
2608
2308
|
interface Ideal {
|
|
2609
2309
|
/**
|
|
2610
2310
|
* The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
|
@@ -2622,6 +2322,7 @@ declare module 'stripe' {
|
|
|
2622
2322
|
| 'handelsbanken'
|
|
2623
2323
|
| 'ing'
|
|
2624
2324
|
| 'knab'
|
|
2325
|
+
| 'mollie'
|
|
2625
2326
|
| 'moneyou'
|
|
2626
2327
|
| 'n26'
|
|
2627
2328
|
| 'nn'
|
|
@@ -2763,8 +2464,6 @@ declare module 'stripe' {
|
|
|
2763
2464
|
|
|
2764
2465
|
interface Paypal {}
|
|
2765
2466
|
|
|
2766
|
-
interface Paypay {}
|
|
2767
|
-
|
|
2768
2467
|
interface Payto {
|
|
2769
2468
|
/**
|
|
2770
2469
|
* The account number for the bank account.
|
|
@@ -2786,41 +2485,13 @@ declare module 'stripe' {
|
|
|
2786
2485
|
|
|
2787
2486
|
interface Promptpay {}
|
|
2788
2487
|
|
|
2789
|
-
interface Qris {}
|
|
2790
|
-
|
|
2791
2488
|
interface RadarOptions {
|
|
2792
2489
|
/**
|
|
2793
|
-
* A [Radar Session](https://stripe.com/
|
|
2490
|
+
* A [Radar Session](https://docs.stripe.com/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
|
|
2794
2491
|
*/
|
|
2795
2492
|
session?: string;
|
|
2796
2493
|
}
|
|
2797
2494
|
|
|
2798
|
-
interface Rechnung {
|
|
2799
|
-
/**
|
|
2800
|
-
* Customer's date of birth
|
|
2801
|
-
*/
|
|
2802
|
-
dob: Rechnung.Dob;
|
|
2803
|
-
}
|
|
2804
|
-
|
|
2805
|
-
namespace Rechnung {
|
|
2806
|
-
interface Dob {
|
|
2807
|
-
/**
|
|
2808
|
-
* The day of birth, between 1 and 31.
|
|
2809
|
-
*/
|
|
2810
|
-
day: number;
|
|
2811
|
-
|
|
2812
|
-
/**
|
|
2813
|
-
* The month of birth, between 1 and 12.
|
|
2814
|
-
*/
|
|
2815
|
-
month: number;
|
|
2816
|
-
|
|
2817
|
-
/**
|
|
2818
|
-
* The four-digit year of birth.
|
|
2819
|
-
*/
|
|
2820
|
-
year: number;
|
|
2821
|
-
}
|
|
2822
|
-
}
|
|
2823
|
-
|
|
2824
2495
|
interface RevolutPay {}
|
|
2825
2496
|
|
|
2826
2497
|
interface SamsungPay {}
|
|
@@ -2834,8 +2505,6 @@ declare module 'stripe' {
|
|
|
2834
2505
|
iban: string;
|
|
2835
2506
|
}
|
|
2836
2507
|
|
|
2837
|
-
interface Shopeepay {}
|
|
2838
|
-
|
|
2839
2508
|
interface Sofort {
|
|
2840
2509
|
/**
|
|
2841
2510
|
* Two-letter ISO code representing the country the bank account is located in.
|
|
@@ -2847,22 +2516,6 @@ declare module 'stripe' {
|
|
|
2847
2516
|
type Country = 'AT' | 'BE' | 'DE' | 'ES' | 'IT' | 'NL';
|
|
2848
2517
|
}
|
|
2849
2518
|
|
|
2850
|
-
interface StripeBalance {
|
|
2851
|
-
/**
|
|
2852
|
-
* The connected account ID whose Stripe balance to use as the source of payment
|
|
2853
|
-
*/
|
|
2854
|
-
account?: string;
|
|
2855
|
-
|
|
2856
|
-
/**
|
|
2857
|
-
* The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
|
|
2858
|
-
*/
|
|
2859
|
-
source_type?: StripeBalance.SourceType;
|
|
2860
|
-
}
|
|
2861
|
-
|
|
2862
|
-
namespace StripeBalance {
|
|
2863
|
-
type SourceType = 'bank_account' | 'card' | 'fpx';
|
|
2864
|
-
}
|
|
2865
|
-
|
|
2866
2519
|
interface Swish {}
|
|
2867
2520
|
|
|
2868
2521
|
interface Twint {}
|
|
@@ -2886,9 +2539,7 @@ declare module 'stripe' {
|
|
|
2886
2539
|
| 'eps'
|
|
2887
2540
|
| 'fpx'
|
|
2888
2541
|
| 'giropay'
|
|
2889
|
-
| 'gopay'
|
|
2890
2542
|
| 'grabpay'
|
|
2891
|
-
| 'id_bank_transfer'
|
|
2892
2543
|
| 'ideal'
|
|
2893
2544
|
| 'kakao_pay'
|
|
2894
2545
|
| 'klarna'
|
|
@@ -2906,19 +2557,14 @@ declare module 'stripe' {
|
|
|
2906
2557
|
| 'payco'
|
|
2907
2558
|
| 'paynow'
|
|
2908
2559
|
| 'paypal'
|
|
2909
|
-
| 'paypay'
|
|
2910
2560
|
| 'payto'
|
|
2911
2561
|
| 'pix'
|
|
2912
2562
|
| 'promptpay'
|
|
2913
|
-
| 'qris'
|
|
2914
|
-
| 'rechnung'
|
|
2915
2563
|
| 'revolut_pay'
|
|
2916
2564
|
| 'samsung_pay'
|
|
2917
2565
|
| 'satispay'
|
|
2918
2566
|
| 'sepa_debit'
|
|
2919
|
-
| 'shopeepay'
|
|
2920
2567
|
| 'sofort'
|
|
2921
|
-
| 'stripe_balance'
|
|
2922
2568
|
| 'swish'
|
|
2923
2569
|
| 'twint'
|
|
2924
2570
|
| 'us_bank_account'
|
|
@@ -3009,11 +2655,6 @@ declare module 'stripe' {
|
|
|
3009
2655
|
*/
|
|
3010
2656
|
payto?: PaymentMethodOptions.Payto;
|
|
3011
2657
|
|
|
3012
|
-
/**
|
|
3013
|
-
* If this is a `pix` SetupIntent, this sub-hash contains details about the Pix payment method options.
|
|
3014
|
-
*/
|
|
3015
|
-
pix?: PaymentMethodOptions.Pix;
|
|
3016
|
-
|
|
3017
2658
|
/**
|
|
3018
2659
|
* If this is a `sepa_debit` SetupIntent, this sub-hash contains details about the SEPA Debit payment method options.
|
|
3019
2660
|
*/
|
|
@@ -3123,7 +2764,7 @@ declare module 'stripe' {
|
|
|
3123
2764
|
network?: Card.Network;
|
|
3124
2765
|
|
|
3125
2766
|
/**
|
|
3126
|
-
* 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/
|
|
2767
|
+
* 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.
|
|
3127
2768
|
*/
|
|
3128
2769
|
request_three_d_secure?: Card.RequestThreeDSecure;
|
|
3129
2770
|
|
|
@@ -3461,13 +3102,6 @@ declare module 'stripe' {
|
|
|
3461
3102
|
* The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
|
|
3462
3103
|
*/
|
|
3463
3104
|
billing_agreement_id?: string;
|
|
3464
|
-
|
|
3465
|
-
currency?: string;
|
|
3466
|
-
|
|
3467
|
-
/**
|
|
3468
|
-
* 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.
|
|
3469
|
-
*/
|
|
3470
|
-
subsellers?: Array<string>;
|
|
3471
3105
|
}
|
|
3472
3106
|
|
|
3473
3107
|
interface Payto {
|
|
@@ -3482,37 +3116,37 @@ declare module 'stripe' {
|
|
|
3482
3116
|
/**
|
|
3483
3117
|
* Amount that will be collected. It is required when `amount_type` is `fixed`.
|
|
3484
3118
|
*/
|
|
3485
|
-
amount?: number
|
|
3119
|
+
amount?: Stripe.Emptyable<number>;
|
|
3486
3120
|
|
|
3487
3121
|
/**
|
|
3488
3122
|
* The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively. Defaults to `maximum`.
|
|
3489
3123
|
*/
|
|
3490
|
-
amount_type?: MandateOptions.AmountType
|
|
3124
|
+
amount_type?: Stripe.Emptyable<MandateOptions.AmountType>;
|
|
3491
3125
|
|
|
3492
3126
|
/**
|
|
3493
3127
|
* Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
|
|
3494
3128
|
*/
|
|
3495
|
-
end_date?: string
|
|
3129
|
+
end_date?: Stripe.Emptyable<string>;
|
|
3496
3130
|
|
|
3497
3131
|
/**
|
|
3498
3132
|
* The periodicity at which payments will be collected. Defaults to `adhoc`.
|
|
3499
3133
|
*/
|
|
3500
|
-
payment_schedule?: MandateOptions.PaymentSchedule
|
|
3134
|
+
payment_schedule?: Stripe.Emptyable<MandateOptions.PaymentSchedule>;
|
|
3501
3135
|
|
|
3502
3136
|
/**
|
|
3503
3137
|
* The number of payments that will be made during a payment period. Defaults to 1 except for when `payment_schedule` is `adhoc`. In that case, it defaults to no limit.
|
|
3504
3138
|
*/
|
|
3505
|
-
payments_per_period?: number
|
|
3139
|
+
payments_per_period?: Stripe.Emptyable<number>;
|
|
3506
3140
|
|
|
3507
3141
|
/**
|
|
3508
3142
|
* The purpose for which payments are made. Has a default value based on your merchant category code.
|
|
3509
3143
|
*/
|
|
3510
|
-
purpose?: MandateOptions.Purpose
|
|
3144
|
+
purpose?: Stripe.Emptyable<MandateOptions.Purpose>;
|
|
3511
3145
|
|
|
3512
3146
|
/**
|
|
3513
3147
|
* Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
|
|
3514
3148
|
*/
|
|
3515
|
-
start_date?: string
|
|
3149
|
+
start_date?: Stripe.Emptyable<string>;
|
|
3516
3150
|
}
|
|
3517
3151
|
|
|
3518
3152
|
namespace MandateOptions {
|
|
@@ -3543,70 +3177,6 @@ declare module 'stripe' {
|
|
|
3543
3177
|
}
|
|
3544
3178
|
}
|
|
3545
3179
|
|
|
3546
|
-
interface Pix {
|
|
3547
|
-
/**
|
|
3548
|
-
* Additional fields for mandate creation.
|
|
3549
|
-
*/
|
|
3550
|
-
mandate_options?: Pix.MandateOptions;
|
|
3551
|
-
}
|
|
3552
|
-
|
|
3553
|
-
namespace Pix {
|
|
3554
|
-
interface MandateOptions {
|
|
3555
|
-
/**
|
|
3556
|
-
* Amount to be charged for future payments. Required when `amount_type=fixed`. If not provided for `amount_type=maximum`, defaults to 40000.
|
|
3557
|
-
*/
|
|
3558
|
-
amount?: number;
|
|
3559
|
-
|
|
3560
|
-
/**
|
|
3561
|
-
* Determines if the amount includes the IOF tax. Defaults to `never`.
|
|
3562
|
-
*/
|
|
3563
|
-
amount_includes_iof?: MandateOptions.AmountIncludesIof;
|
|
3564
|
-
|
|
3565
|
-
/**
|
|
3566
|
-
* Type of amount. Defaults to `maximum`.
|
|
3567
|
-
*/
|
|
3568
|
-
amount_type?: MandateOptions.AmountType;
|
|
3569
|
-
|
|
3570
|
-
/**
|
|
3571
|
-
* Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Only `brl` is supported currently.
|
|
3572
|
-
*/
|
|
3573
|
-
currency?: string;
|
|
3574
|
-
|
|
3575
|
-
/**
|
|
3576
|
-
* Date when the mandate expires and no further payments will be charged, in `YYYY-MM-DD`. If not provided, the mandate will be active until canceled. If provided, end date should be after start date.
|
|
3577
|
-
*/
|
|
3578
|
-
end_date?: string;
|
|
3579
|
-
|
|
3580
|
-
/**
|
|
3581
|
-
* Schedule at which the future payments will be charged. Defaults to `weekly`.
|
|
3582
|
-
*/
|
|
3583
|
-
payment_schedule?: MandateOptions.PaymentSchedule;
|
|
3584
|
-
|
|
3585
|
-
/**
|
|
3586
|
-
* Subscription name displayed to buyers in their bank app. Defaults to the displayable business name.
|
|
3587
|
-
*/
|
|
3588
|
-
reference?: string;
|
|
3589
|
-
|
|
3590
|
-
/**
|
|
3591
|
-
* Start date of the mandate, in `YYYY-MM-DD`. Start date should be at least 3 days in the future. Defaults to 3 days after the current date.
|
|
3592
|
-
*/
|
|
3593
|
-
start_date?: string;
|
|
3594
|
-
}
|
|
3595
|
-
|
|
3596
|
-
namespace MandateOptions {
|
|
3597
|
-
type AmountIncludesIof = 'always' | 'never';
|
|
3598
|
-
|
|
3599
|
-
type AmountType = 'fixed' | 'maximum';
|
|
3600
|
-
|
|
3601
|
-
type PaymentSchedule =
|
|
3602
|
-
| 'halfyearly'
|
|
3603
|
-
| 'monthly'
|
|
3604
|
-
| 'quarterly'
|
|
3605
|
-
| 'weekly'
|
|
3606
|
-
| 'yearly';
|
|
3607
|
-
}
|
|
3608
|
-
}
|
|
3609
|
-
|
|
3610
3180
|
interface SepaDebit {
|
|
3611
3181
|
/**
|
|
3612
3182
|
* Additional fields for Mandate creation
|
|
@@ -3652,11 +3222,6 @@ declare module 'stripe' {
|
|
|
3652
3222
|
*/
|
|
3653
3223
|
filters?: FinancialConnections.Filters;
|
|
3654
3224
|
|
|
3655
|
-
/**
|
|
3656
|
-
* Customize manual entry behavior
|
|
3657
|
-
*/
|
|
3658
|
-
manual_entry?: FinancialConnections.ManualEntry;
|
|
3659
|
-
|
|
3660
3225
|
/**
|
|
3661
3226
|
* The list of permissions to request. If this parameter is passed, the `payment_method` permission must be included. Valid permissions include: `balances`, `ownership`, `payment_method`, and `transactions`.
|
|
3662
3227
|
*/
|
|
@@ -3679,39 +3244,19 @@ declare module 'stripe' {
|
|
|
3679
3244
|
* The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
|
|
3680
3245
|
*/
|
|
3681
3246
|
account_subcategories?: Array<Filters.AccountSubcategory>;
|
|
3682
|
-
|
|
3683
|
-
/**
|
|
3684
|
-
* ID of the institution to use to filter for selectable accounts.
|
|
3685
|
-
*/
|
|
3686
|
-
institution?: string;
|
|
3687
3247
|
}
|
|
3688
3248
|
|
|
3689
3249
|
namespace Filters {
|
|
3690
3250
|
type AccountSubcategory = 'checking' | 'savings';
|
|
3691
3251
|
}
|
|
3692
3252
|
|
|
3693
|
-
interface ManualEntry {
|
|
3694
|
-
/**
|
|
3695
|
-
* Settings for configuring manual entry of account details.
|
|
3696
|
-
*/
|
|
3697
|
-
mode: ManualEntry.Mode;
|
|
3698
|
-
}
|
|
3699
|
-
|
|
3700
|
-
namespace ManualEntry {
|
|
3701
|
-
type Mode = 'automatic' | 'custom';
|
|
3702
|
-
}
|
|
3703
|
-
|
|
3704
3253
|
type Permission =
|
|
3705
3254
|
| 'balances'
|
|
3706
3255
|
| 'ownership'
|
|
3707
3256
|
| 'payment_method'
|
|
3708
3257
|
| 'transactions';
|
|
3709
3258
|
|
|
3710
|
-
type Prefetch =
|
|
3711
|
-
| 'balances'
|
|
3712
|
-
| 'inferred_balances'
|
|
3713
|
-
| 'ownership'
|
|
3714
|
-
| 'transactions';
|
|
3259
|
+
type Prefetch = 'balances' | 'ownership' | 'transactions';
|
|
3715
3260
|
}
|
|
3716
3261
|
|
|
3717
3262
|
interface MandateOptions {
|
|
@@ -3735,31 +3280,6 @@ declare module 'stripe' {
|
|
|
3735
3280
|
type VerificationMethod = 'automatic' | 'instant' | 'microdeposits';
|
|
3736
3281
|
}
|
|
3737
3282
|
}
|
|
3738
|
-
|
|
3739
|
-
interface SetupDetails {
|
|
3740
|
-
/**
|
|
3741
|
-
* Benefit details for this SetupIntent
|
|
3742
|
-
*/
|
|
3743
|
-
benefit?: SetupDetails.Benefit;
|
|
3744
|
-
}
|
|
3745
|
-
|
|
3746
|
-
namespace SetupDetails {
|
|
3747
|
-
interface Benefit {
|
|
3748
|
-
/**
|
|
3749
|
-
* French meal voucher benefit details for this SetupIntent.
|
|
3750
|
-
*/
|
|
3751
|
-
fr_meal_voucher?: Benefit.FrMealVoucher;
|
|
3752
|
-
}
|
|
3753
|
-
|
|
3754
|
-
namespace Benefit {
|
|
3755
|
-
interface FrMealVoucher {
|
|
3756
|
-
/**
|
|
3757
|
-
* The 14-digit SIRET of the meal voucher acceptor.
|
|
3758
|
-
*/
|
|
3759
|
-
siret: string;
|
|
3760
|
-
}
|
|
3761
|
-
}
|
|
3762
|
-
}
|
|
3763
3283
|
}
|
|
3764
3284
|
|
|
3765
3285
|
interface SetupIntentListParams extends PaginationParams {
|
|
@@ -3836,7 +3356,7 @@ declare module 'stripe' {
|
|
|
3836
3356
|
payment_method?: string;
|
|
3837
3357
|
|
|
3838
3358
|
/**
|
|
3839
|
-
* When included, this hash creates a PaymentMethod that is set as the [`payment_method`](https://stripe.com/
|
|
3359
|
+
* When included, this hash creates a PaymentMethod that is set as the [`payment_method`](https://docs.stripe.com/api/setup_intents/object#setup_intent_object-payment_method)
|
|
3840
3360
|
* value in the SetupIntent.
|
|
3841
3361
|
*/
|
|
3842
3362
|
payment_method_data?: SetupIntentConfirmParams.PaymentMethodData;
|
|
@@ -3853,11 +3373,6 @@ declare module 'stripe' {
|
|
|
3853
3373
|
*/
|
|
3854
3374
|
return_url?: string;
|
|
3855
3375
|
|
|
3856
|
-
/**
|
|
3857
|
-
* Provides industry-specific information about the SetupIntent.
|
|
3858
|
-
*/
|
|
3859
|
-
setup_details?: SetupIntentConfirmParams.SetupDetails;
|
|
3860
|
-
|
|
3861
3376
|
/**
|
|
3862
3377
|
* Set to `true` when confirming server-side and using Stripe.js, iOS, or Android client-side SDKs to handle the next actions.
|
|
3863
3378
|
*/
|
|
@@ -4015,21 +3530,11 @@ declare module 'stripe' {
|
|
|
4015
3530
|
*/
|
|
4016
3531
|
giropay?: PaymentMethodData.Giropay;
|
|
4017
3532
|
|
|
4018
|
-
/**
|
|
4019
|
-
* If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
|
|
4020
|
-
*/
|
|
4021
|
-
gopay?: PaymentMethodData.Gopay;
|
|
4022
|
-
|
|
4023
3533
|
/**
|
|
4024
3534
|
* If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
|
|
4025
3535
|
*/
|
|
4026
3536
|
grabpay?: PaymentMethodData.Grabpay;
|
|
4027
3537
|
|
|
4028
|
-
/**
|
|
4029
|
-
* If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
|
|
4030
|
-
*/
|
|
4031
|
-
id_bank_transfer?: PaymentMethodData.IdBankTransfer;
|
|
4032
|
-
|
|
4033
3538
|
/**
|
|
4034
3539
|
* If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
|
|
4035
3540
|
*/
|
|
@@ -4071,7 +3576,7 @@ declare module 'stripe' {
|
|
|
4071
3576
|
mb_way?: PaymentMethodData.MbWay;
|
|
4072
3577
|
|
|
4073
3578
|
/**
|
|
4074
|
-
* Set of [key-value pairs](https://stripe.com/
|
|
3579
|
+
* 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`.
|
|
4075
3580
|
*/
|
|
4076
3581
|
metadata?: Stripe.MetadataParam;
|
|
4077
3582
|
|
|
@@ -4125,11 +3630,6 @@ declare module 'stripe' {
|
|
|
4125
3630
|
*/
|
|
4126
3631
|
paypal?: PaymentMethodData.Paypal;
|
|
4127
3632
|
|
|
4128
|
-
/**
|
|
4129
|
-
* If this is a `paypay` PaymentMethod, this hash contains details about the PayPay payment method.
|
|
4130
|
-
*/
|
|
4131
|
-
paypay?: PaymentMethodData.Paypay;
|
|
4132
|
-
|
|
4133
3633
|
/**
|
|
4134
3634
|
* If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
|
|
4135
3635
|
*/
|
|
@@ -4146,20 +3646,10 @@ declare module 'stripe' {
|
|
|
4146
3646
|
promptpay?: PaymentMethodData.Promptpay;
|
|
4147
3647
|
|
|
4148
3648
|
/**
|
|
4149
|
-
*
|
|
4150
|
-
*/
|
|
4151
|
-
qris?: PaymentMethodData.Qris;
|
|
4152
|
-
|
|
4153
|
-
/**
|
|
4154
|
-
* Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
|
|
3649
|
+
* Options to configure Radar. See [Radar Session](https://docs.stripe.com/radar/radar-session) for more information.
|
|
4155
3650
|
*/
|
|
4156
3651
|
radar_options?: PaymentMethodData.RadarOptions;
|
|
4157
3652
|
|
|
4158
|
-
/**
|
|
4159
|
-
* If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
|
|
4160
|
-
*/
|
|
4161
|
-
rechnung?: PaymentMethodData.Rechnung;
|
|
4162
|
-
|
|
4163
3653
|
/**
|
|
4164
3654
|
* If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
|
|
4165
3655
|
*/
|
|
@@ -4180,21 +3670,11 @@ declare module 'stripe' {
|
|
|
4180
3670
|
*/
|
|
4181
3671
|
sepa_debit?: PaymentMethodData.SepaDebit;
|
|
4182
3672
|
|
|
4183
|
-
/**
|
|
4184
|
-
* If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
|
|
4185
|
-
*/
|
|
4186
|
-
shopeepay?: PaymentMethodData.Shopeepay;
|
|
4187
|
-
|
|
4188
3673
|
/**
|
|
4189
3674
|
* If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
|
|
4190
3675
|
*/
|
|
4191
3676
|
sofort?: PaymentMethodData.Sofort;
|
|
4192
3677
|
|
|
4193
|
-
/**
|
|
4194
|
-
* This hash contains details about the Stripe balance payment method.
|
|
4195
|
-
*/
|
|
4196
|
-
stripe_balance?: PaymentMethodData.StripeBalance;
|
|
4197
|
-
|
|
4198
3678
|
/**
|
|
4199
3679
|
* If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
|
|
4200
3680
|
*/
|
|
@@ -4407,21 +3887,8 @@ declare module 'stripe' {
|
|
|
4407
3887
|
|
|
4408
3888
|
interface Giropay {}
|
|
4409
3889
|
|
|
4410
|
-
interface Gopay {}
|
|
4411
|
-
|
|
4412
3890
|
interface Grabpay {}
|
|
4413
3891
|
|
|
4414
|
-
interface IdBankTransfer {
|
|
4415
|
-
/**
|
|
4416
|
-
* Bank where the account is held.
|
|
4417
|
-
*/
|
|
4418
|
-
bank?: IdBankTransfer.Bank;
|
|
4419
|
-
}
|
|
4420
|
-
|
|
4421
|
-
namespace IdBankTransfer {
|
|
4422
|
-
type Bank = 'bca' | 'bni' | 'bri' | 'cimb' | 'permata';
|
|
4423
|
-
}
|
|
4424
|
-
|
|
4425
3892
|
interface Ideal {
|
|
4426
3893
|
/**
|
|
4427
3894
|
* The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
|
@@ -4439,6 +3906,7 @@ declare module 'stripe' {
|
|
|
4439
3906
|
| 'handelsbanken'
|
|
4440
3907
|
| 'ing'
|
|
4441
3908
|
| 'knab'
|
|
3909
|
+
| 'mollie'
|
|
4442
3910
|
| 'moneyou'
|
|
4443
3911
|
| 'n26'
|
|
4444
3912
|
| 'nn'
|
|
@@ -4580,8 +4048,6 @@ declare module 'stripe' {
|
|
|
4580
4048
|
|
|
4581
4049
|
interface Paypal {}
|
|
4582
4050
|
|
|
4583
|
-
interface Paypay {}
|
|
4584
|
-
|
|
4585
4051
|
interface Payto {
|
|
4586
4052
|
/**
|
|
4587
4053
|
* The account number for the bank account.
|
|
@@ -4603,41 +4069,13 @@ declare module 'stripe' {
|
|
|
4603
4069
|
|
|
4604
4070
|
interface Promptpay {}
|
|
4605
4071
|
|
|
4606
|
-
interface Qris {}
|
|
4607
|
-
|
|
4608
4072
|
interface RadarOptions {
|
|
4609
4073
|
/**
|
|
4610
|
-
* A [Radar Session](https://stripe.com/
|
|
4074
|
+
* A [Radar Session](https://docs.stripe.com/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
|
|
4611
4075
|
*/
|
|
4612
4076
|
session?: string;
|
|
4613
4077
|
}
|
|
4614
4078
|
|
|
4615
|
-
interface Rechnung {
|
|
4616
|
-
/**
|
|
4617
|
-
* Customer's date of birth
|
|
4618
|
-
*/
|
|
4619
|
-
dob: Rechnung.Dob;
|
|
4620
|
-
}
|
|
4621
|
-
|
|
4622
|
-
namespace Rechnung {
|
|
4623
|
-
interface Dob {
|
|
4624
|
-
/**
|
|
4625
|
-
* The day of birth, between 1 and 31.
|
|
4626
|
-
*/
|
|
4627
|
-
day: number;
|
|
4628
|
-
|
|
4629
|
-
/**
|
|
4630
|
-
* The month of birth, between 1 and 12.
|
|
4631
|
-
*/
|
|
4632
|
-
month: number;
|
|
4633
|
-
|
|
4634
|
-
/**
|
|
4635
|
-
* The four-digit year of birth.
|
|
4636
|
-
*/
|
|
4637
|
-
year: number;
|
|
4638
|
-
}
|
|
4639
|
-
}
|
|
4640
|
-
|
|
4641
4079
|
interface RevolutPay {}
|
|
4642
4080
|
|
|
4643
4081
|
interface SamsungPay {}
|
|
@@ -4651,8 +4089,6 @@ declare module 'stripe' {
|
|
|
4651
4089
|
iban: string;
|
|
4652
4090
|
}
|
|
4653
4091
|
|
|
4654
|
-
interface Shopeepay {}
|
|
4655
|
-
|
|
4656
4092
|
interface Sofort {
|
|
4657
4093
|
/**
|
|
4658
4094
|
* Two-letter ISO code representing the country the bank account is located in.
|
|
@@ -4664,22 +4100,6 @@ declare module 'stripe' {
|
|
|
4664
4100
|
type Country = 'AT' | 'BE' | 'DE' | 'ES' | 'IT' | 'NL';
|
|
4665
4101
|
}
|
|
4666
4102
|
|
|
4667
|
-
interface StripeBalance {
|
|
4668
|
-
/**
|
|
4669
|
-
* The connected account ID whose Stripe balance to use as the source of payment
|
|
4670
|
-
*/
|
|
4671
|
-
account?: string;
|
|
4672
|
-
|
|
4673
|
-
/**
|
|
4674
|
-
* The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
|
|
4675
|
-
*/
|
|
4676
|
-
source_type?: StripeBalance.SourceType;
|
|
4677
|
-
}
|
|
4678
|
-
|
|
4679
|
-
namespace StripeBalance {
|
|
4680
|
-
type SourceType = 'bank_account' | 'card' | 'fpx';
|
|
4681
|
-
}
|
|
4682
|
-
|
|
4683
4103
|
interface Swish {}
|
|
4684
4104
|
|
|
4685
4105
|
interface Twint {}
|
|
@@ -4703,9 +4123,7 @@ declare module 'stripe' {
|
|
|
4703
4123
|
| 'eps'
|
|
4704
4124
|
| 'fpx'
|
|
4705
4125
|
| 'giropay'
|
|
4706
|
-
| 'gopay'
|
|
4707
4126
|
| 'grabpay'
|
|
4708
|
-
| 'id_bank_transfer'
|
|
4709
4127
|
| 'ideal'
|
|
4710
4128
|
| 'kakao_pay'
|
|
4711
4129
|
| 'klarna'
|
|
@@ -4723,19 +4141,14 @@ declare module 'stripe' {
|
|
|
4723
4141
|
| 'payco'
|
|
4724
4142
|
| 'paynow'
|
|
4725
4143
|
| 'paypal'
|
|
4726
|
-
| 'paypay'
|
|
4727
4144
|
| 'payto'
|
|
4728
4145
|
| 'pix'
|
|
4729
4146
|
| 'promptpay'
|
|
4730
|
-
| 'qris'
|
|
4731
|
-
| 'rechnung'
|
|
4732
4147
|
| 'revolut_pay'
|
|
4733
4148
|
| 'samsung_pay'
|
|
4734
4149
|
| 'satispay'
|
|
4735
4150
|
| 'sepa_debit'
|
|
4736
|
-
| 'shopeepay'
|
|
4737
4151
|
| 'sofort'
|
|
4738
|
-
| 'stripe_balance'
|
|
4739
4152
|
| 'swish'
|
|
4740
4153
|
| 'twint'
|
|
4741
4154
|
| 'us_bank_account'
|
|
@@ -4826,11 +4239,6 @@ declare module 'stripe' {
|
|
|
4826
4239
|
*/
|
|
4827
4240
|
payto?: PaymentMethodOptions.Payto;
|
|
4828
4241
|
|
|
4829
|
-
/**
|
|
4830
|
-
* If this is a `pix` SetupIntent, this sub-hash contains details about the Pix payment method options.
|
|
4831
|
-
*/
|
|
4832
|
-
pix?: PaymentMethodOptions.Pix;
|
|
4833
|
-
|
|
4834
4242
|
/**
|
|
4835
4243
|
* If this is a `sepa_debit` SetupIntent, this sub-hash contains details about the SEPA Debit payment method options.
|
|
4836
4244
|
*/
|
|
@@ -4940,7 +4348,7 @@ declare module 'stripe' {
|
|
|
4940
4348
|
network?: Card.Network;
|
|
4941
4349
|
|
|
4942
4350
|
/**
|
|
4943
|
-
* 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/
|
|
4351
|
+
* 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.
|
|
4944
4352
|
*/
|
|
4945
4353
|
request_three_d_secure?: Card.RequestThreeDSecure;
|
|
4946
4354
|
|
|
@@ -5278,13 +4686,6 @@ declare module 'stripe' {
|
|
|
5278
4686
|
* The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
|
|
5279
4687
|
*/
|
|
5280
4688
|
billing_agreement_id?: string;
|
|
5281
|
-
|
|
5282
|
-
currency?: string;
|
|
5283
|
-
|
|
5284
|
-
/**
|
|
5285
|
-
* 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.
|
|
5286
|
-
*/
|
|
5287
|
-
subsellers?: Array<string>;
|
|
5288
4689
|
}
|
|
5289
4690
|
|
|
5290
4691
|
interface Payto {
|
|
@@ -5299,37 +4700,37 @@ declare module 'stripe' {
|
|
|
5299
4700
|
/**
|
|
5300
4701
|
* Amount that will be collected. It is required when `amount_type` is `fixed`.
|
|
5301
4702
|
*/
|
|
5302
|
-
amount?: number
|
|
4703
|
+
amount?: Stripe.Emptyable<number>;
|
|
5303
4704
|
|
|
5304
4705
|
/**
|
|
5305
4706
|
* The type of amount that will be collected. The amount charged must be exact or up to the value of `amount` param for `fixed` or `maximum` type respectively. Defaults to `maximum`.
|
|
5306
4707
|
*/
|
|
5307
|
-
amount_type?: MandateOptions.AmountType
|
|
4708
|
+
amount_type?: Stripe.Emptyable<MandateOptions.AmountType>;
|
|
5308
4709
|
|
|
5309
4710
|
/**
|
|
5310
4711
|
* Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
|
|
5311
4712
|
*/
|
|
5312
|
-
end_date?: string
|
|
4713
|
+
end_date?: Stripe.Emptyable<string>;
|
|
5313
4714
|
|
|
5314
4715
|
/**
|
|
5315
4716
|
* The periodicity at which payments will be collected. Defaults to `adhoc`.
|
|
5316
4717
|
*/
|
|
5317
|
-
payment_schedule?: MandateOptions.PaymentSchedule
|
|
4718
|
+
payment_schedule?: Stripe.Emptyable<MandateOptions.PaymentSchedule>;
|
|
5318
4719
|
|
|
5319
4720
|
/**
|
|
5320
4721
|
* The number of payments that will be made during a payment period. Defaults to 1 except for when `payment_schedule` is `adhoc`. In that case, it defaults to no limit.
|
|
5321
4722
|
*/
|
|
5322
|
-
payments_per_period?: number
|
|
4723
|
+
payments_per_period?: Stripe.Emptyable<number>;
|
|
5323
4724
|
|
|
5324
4725
|
/**
|
|
5325
4726
|
* The purpose for which payments are made. Has a default value based on your merchant category code.
|
|
5326
4727
|
*/
|
|
5327
|
-
purpose?: MandateOptions.Purpose
|
|
4728
|
+
purpose?: Stripe.Emptyable<MandateOptions.Purpose>;
|
|
5328
4729
|
|
|
5329
4730
|
/**
|
|
5330
4731
|
* Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
|
|
5331
4732
|
*/
|
|
5332
|
-
start_date?: string
|
|
4733
|
+
start_date?: Stripe.Emptyable<string>;
|
|
5333
4734
|
}
|
|
5334
4735
|
|
|
5335
4736
|
namespace MandateOptions {
|
|
@@ -5360,70 +4761,6 @@ declare module 'stripe' {
|
|
|
5360
4761
|
}
|
|
5361
4762
|
}
|
|
5362
4763
|
|
|
5363
|
-
interface Pix {
|
|
5364
|
-
/**
|
|
5365
|
-
* Additional fields for mandate creation.
|
|
5366
|
-
*/
|
|
5367
|
-
mandate_options?: Pix.MandateOptions;
|
|
5368
|
-
}
|
|
5369
|
-
|
|
5370
|
-
namespace Pix {
|
|
5371
|
-
interface MandateOptions {
|
|
5372
|
-
/**
|
|
5373
|
-
* Amount to be charged for future payments. Required when `amount_type=fixed`. If not provided for `amount_type=maximum`, defaults to 40000.
|
|
5374
|
-
*/
|
|
5375
|
-
amount?: number;
|
|
5376
|
-
|
|
5377
|
-
/**
|
|
5378
|
-
* Determines if the amount includes the IOF tax. Defaults to `never`.
|
|
5379
|
-
*/
|
|
5380
|
-
amount_includes_iof?: MandateOptions.AmountIncludesIof;
|
|
5381
|
-
|
|
5382
|
-
/**
|
|
5383
|
-
* Type of amount. Defaults to `maximum`.
|
|
5384
|
-
*/
|
|
5385
|
-
amount_type?: MandateOptions.AmountType;
|
|
5386
|
-
|
|
5387
|
-
/**
|
|
5388
|
-
* Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Only `brl` is supported currently.
|
|
5389
|
-
*/
|
|
5390
|
-
currency?: string;
|
|
5391
|
-
|
|
5392
|
-
/**
|
|
5393
|
-
* Date when the mandate expires and no further payments will be charged, in `YYYY-MM-DD`. If not provided, the mandate will be active until canceled. If provided, end date should be after start date.
|
|
5394
|
-
*/
|
|
5395
|
-
end_date?: string;
|
|
5396
|
-
|
|
5397
|
-
/**
|
|
5398
|
-
* Schedule at which the future payments will be charged. Defaults to `weekly`.
|
|
5399
|
-
*/
|
|
5400
|
-
payment_schedule?: MandateOptions.PaymentSchedule;
|
|
5401
|
-
|
|
5402
|
-
/**
|
|
5403
|
-
* Subscription name displayed to buyers in their bank app. Defaults to the displayable business name.
|
|
5404
|
-
*/
|
|
5405
|
-
reference?: string;
|
|
5406
|
-
|
|
5407
|
-
/**
|
|
5408
|
-
* Start date of the mandate, in `YYYY-MM-DD`. Start date should be at least 3 days in the future. Defaults to 3 days after the current date.
|
|
5409
|
-
*/
|
|
5410
|
-
start_date?: string;
|
|
5411
|
-
}
|
|
5412
|
-
|
|
5413
|
-
namespace MandateOptions {
|
|
5414
|
-
type AmountIncludesIof = 'always' | 'never';
|
|
5415
|
-
|
|
5416
|
-
type AmountType = 'fixed' | 'maximum';
|
|
5417
|
-
|
|
5418
|
-
type PaymentSchedule =
|
|
5419
|
-
| 'halfyearly'
|
|
5420
|
-
| 'monthly'
|
|
5421
|
-
| 'quarterly'
|
|
5422
|
-
| 'weekly'
|
|
5423
|
-
| 'yearly';
|
|
5424
|
-
}
|
|
5425
|
-
}
|
|
5426
|
-
|
|
5427
4764
|
interface SepaDebit {
|
|
5428
4765
|
/**
|
|
5429
4766
|
* Additional fields for Mandate creation
|
|
@@ -5469,11 +4806,6 @@ declare module 'stripe' {
|
|
|
5469
4806
|
*/
|
|
5470
4807
|
filters?: FinancialConnections.Filters;
|
|
5471
4808
|
|
|
5472
|
-
/**
|
|
5473
|
-
* Customize manual entry behavior
|
|
5474
|
-
*/
|
|
5475
|
-
manual_entry?: FinancialConnections.ManualEntry;
|
|
5476
|
-
|
|
5477
4809
|
/**
|
|
5478
4810
|
* The list of permissions to request. If this parameter is passed, the `payment_method` permission must be included. Valid permissions include: `balances`, `ownership`, `payment_method`, and `transactions`.
|
|
5479
4811
|
*/
|
|
@@ -5496,39 +4828,19 @@ declare module 'stripe' {
|
|
|
5496
4828
|
* The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
|
|
5497
4829
|
*/
|
|
5498
4830
|
account_subcategories?: Array<Filters.AccountSubcategory>;
|
|
5499
|
-
|
|
5500
|
-
/**
|
|
5501
|
-
* ID of the institution to use to filter for selectable accounts.
|
|
5502
|
-
*/
|
|
5503
|
-
institution?: string;
|
|
5504
4831
|
}
|
|
5505
4832
|
|
|
5506
4833
|
namespace Filters {
|
|
5507
4834
|
type AccountSubcategory = 'checking' | 'savings';
|
|
5508
4835
|
}
|
|
5509
4836
|
|
|
5510
|
-
interface ManualEntry {
|
|
5511
|
-
/**
|
|
5512
|
-
* Settings for configuring manual entry of account details.
|
|
5513
|
-
*/
|
|
5514
|
-
mode: ManualEntry.Mode;
|
|
5515
|
-
}
|
|
5516
|
-
|
|
5517
|
-
namespace ManualEntry {
|
|
5518
|
-
type Mode = 'automatic' | 'custom';
|
|
5519
|
-
}
|
|
5520
|
-
|
|
5521
4837
|
type Permission =
|
|
5522
4838
|
| 'balances'
|
|
5523
4839
|
| 'ownership'
|
|
5524
4840
|
| 'payment_method'
|
|
5525
4841
|
| 'transactions';
|
|
5526
4842
|
|
|
5527
|
-
type Prefetch =
|
|
5528
|
-
| 'balances'
|
|
5529
|
-
| 'inferred_balances'
|
|
5530
|
-
| 'ownership'
|
|
5531
|
-
| 'transactions';
|
|
4843
|
+
type Prefetch = 'balances' | 'ownership' | 'transactions';
|
|
5532
4844
|
}
|
|
5533
4845
|
|
|
5534
4846
|
interface MandateOptions {
|
|
@@ -5552,31 +4864,6 @@ declare module 'stripe' {
|
|
|
5552
4864
|
type VerificationMethod = 'automatic' | 'instant' | 'microdeposits';
|
|
5553
4865
|
}
|
|
5554
4866
|
}
|
|
5555
|
-
|
|
5556
|
-
interface SetupDetails {
|
|
5557
|
-
/**
|
|
5558
|
-
* Benefit details for this SetupIntent
|
|
5559
|
-
*/
|
|
5560
|
-
benefit?: SetupDetails.Benefit;
|
|
5561
|
-
}
|
|
5562
|
-
|
|
5563
|
-
namespace SetupDetails {
|
|
5564
|
-
interface Benefit {
|
|
5565
|
-
/**
|
|
5566
|
-
* French meal voucher benefit details for this SetupIntent.
|
|
5567
|
-
*/
|
|
5568
|
-
fr_meal_voucher?: Benefit.FrMealVoucher;
|
|
5569
|
-
}
|
|
5570
|
-
|
|
5571
|
-
namespace Benefit {
|
|
5572
|
-
interface FrMealVoucher {
|
|
5573
|
-
/**
|
|
5574
|
-
* The 14-digit SIRET of the meal voucher acceptor.
|
|
5575
|
-
*/
|
|
5576
|
-
siret: string;
|
|
5577
|
-
}
|
|
5578
|
-
}
|
|
5579
|
-
}
|
|
5580
4867
|
}
|
|
5581
4868
|
|
|
5582
4869
|
interface SetupIntentVerifyMicrodepositsParams {
|