stripe 19.2.0-alpha.4 → 19.2.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 +58 -1591
- 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/PaymentRecords.js +4 -0
- 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 +8 -142
- 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/PaymentRecords.js +4 -0
- 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 -129
- package/esm/stripe.core.js +1 -1
- package/package.json +1 -1
- package/types/AccountLinksResource.d.ts +1 -5
- package/types/AccountSessions.d.ts +0 -45
- package/types/AccountSessionsResource.d.ts +0 -264
- package/types/Accounts.d.ts +23 -212
- package/types/AccountsResource.d.ts +44 -544
- package/types/Billing/AlertTriggereds.d.ts +1 -16
- package/types/Billing/Alerts.d.ts +1 -116
- package/types/Billing/AlertsResource.d.ts +2 -149
- package/types/Billing/CreditBalanceSummary.d.ts +2 -123
- package/types/Billing/CreditBalanceSummaryResource.d.ts +3 -20
- package/types/Billing/CreditBalanceTransactions.d.ts +2 -118
- package/types/Billing/CreditBalanceTransactionsResource.d.ts +4 -12
- package/types/Billing/CreditGrants.d.ts +1 -76
- package/types/Billing/CreditGrantsResource.d.ts +4 -45
- package/types/Billing/MeterEventSummaries.d.ts +0 -7
- package/types/Billing/Meters.d.ts +0 -5
- package/types/Billing/MetersResource.d.ts +0 -17
- package/types/BillingPortal/Configurations.d.ts +1 -1
- package/types/BillingPortal/ConfigurationsResource.d.ts +10 -0
- package/types/BillingPortal/Sessions.d.ts +0 -5
- package/types/BillingPortal/SessionsResource.d.ts +4 -12
- package/types/Cards.d.ts +0 -19
- package/types/CashBalances.d.ts +0 -5
- package/types/Charges.d.ts +1 -181
- package/types/ChargesResource.d.ts +0 -1406
- package/types/Checkout/Sessions.d.ts +17 -427
- package/types/Checkout/SessionsResource.d.ts +23 -685
- package/types/ConfirmationTokens.d.ts +1 -139
- package/types/Coupons.d.ts +0 -33
- package/types/CouponsResource.d.ts +0 -21
- package/types/CreditNoteLineItems.d.ts +0 -17
- package/types/CreditNotes.d.ts +2 -7
- package/types/CreditNotesResource.d.ts +0 -5
- package/types/CustomerBalanceTransactions.d.ts +0 -2
- package/types/CustomerCashBalanceTransactions.d.ts +0 -2
- package/types/CustomerSessions.d.ts +120 -5
- package/types/CustomerSessionsResource.d.ts +121 -6
- package/types/Customers.d.ts +7 -2
- package/types/CustomersResource.d.ts +1 -8
- package/types/Discounts.d.ts +0 -10
- package/types/Disputes.d.ts +0 -40
- package/types/DisputesResource.d.ts +0 -11
- package/types/Errors.d.ts +0 -85
- package/types/EventTypes.d.ts +0 -630
- package/types/Events.d.ts +0 -95
- package/types/Files.d.ts +1 -0
- package/types/FilesResource.d.ts +2 -0
- package/types/FinancialConnections/Accounts.d.ts +1 -36
- package/types/FinancialConnections/AccountsResource.d.ts +4 -41
- package/types/FinancialConnections/Sessions.d.ts +1 -51
- package/types/FinancialConnections/SessionsResource.d.ts +1 -43
- package/types/Identity/VerificationReports.d.ts +0 -10
- package/types/Identity/VerificationReportsResource.d.ts +0 -5
- package/types/Identity/VerificationSessions.d.ts +0 -5
- package/types/Identity/VerificationSessionsResource.d.ts +0 -7
- package/types/InvoiceItems.d.ts +2 -114
- package/types/InvoiceItemsResource.d.ts +6 -117
- package/types/InvoiceLineItems.d.ts +3 -158
- package/types/Invoices.d.ts +5 -203
- package/types/InvoicesResource.d.ts +4 -1627
- package/types/Issuing/CardholdersResource.d.ts +1 -2
- package/types/Issuing/Transactions.d.ts +0 -5
- package/types/Issuing/TransactionsResource.d.ts +0 -5
- package/types/LineItems.d.ts +0 -49
- package/types/Mandates.d.ts +1 -135
- package/types/MandatesResource.d.ts +0 -31
- package/types/PaymentAttemptRecords.d.ts +1 -137
- package/types/PaymentAttemptRecordsResource.d.ts +5 -0
- package/types/PaymentIntentAmountDetailsLineItems.d.ts +17 -7
- package/types/PaymentIntents.d.ts +23 -797
- package/types/PaymentIntentsResource.d.ts +4948 -9729
- package/types/PaymentLinks.d.ts +34 -6
- package/types/PaymentLinksResource.d.ts +88 -12
- package/types/PaymentMethodConfigurations.d.ts +46 -190
- package/types/PaymentMethodConfigurationsResource.d.ts +100 -300
- package/types/PaymentMethods.d.ts +34 -144
- package/types/PaymentMethodsResource.d.ts +17 -188
- package/types/PaymentRecords.d.ts +1 -137
- package/types/PaymentRecordsResource.d.ts +89 -0
- package/types/PayoutsResource.d.ts +1 -1
- package/types/Prices.d.ts +0 -22
- package/types/PricesResource.d.ts +0 -22
- package/types/PromotionCodes.d.ts +0 -5
- package/types/PromotionCodesResource.d.ts +0 -10
- package/types/Quotes.d.ts +1 -594
- package/types/QuotesResource.d.ts +290 -2635
- package/types/Refunds.d.ts +9 -14
- package/types/SetupAttempts.d.ts +2 -51
- package/types/SetupIntents.d.ts +59 -230
- package/types/SetupIntentsResource.d.ts +115 -1025
- package/types/Sources.d.ts +0 -29
- package/types/SubscriptionItems.d.ts +0 -26
- package/types/SubscriptionItemsResource.d.ts +0 -109
- package/types/SubscriptionSchedules.d.ts +0 -205
- package/types/SubscriptionSchedulesResource.d.ts +4 -1232
- package/types/Subscriptions.d.ts +1 -262
- package/types/SubscriptionsResource.d.ts +8 -745
- package/types/Tax/Registrations.d.ts +9 -0
- package/types/Tax/RegistrationsResource.d.ts +12 -0
- package/types/TaxIds.d.ts +0 -10
- package/types/TaxIdsResource.d.ts +0 -10
- package/types/Terminal/Configurations.d.ts +19 -9
- package/types/Terminal/ConfigurationsResource.d.ts +44 -28
- package/types/Terminal/Readers.d.ts +14 -29
- package/types/Terminal/ReadersResource.d.ts +30 -30
- package/types/TestHelpers/ConfirmationTokensResource.d.ts +0 -126
- package/types/TestHelpers/Terminal/ReadersResource.d.ts +1 -1
- package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +0 -26
- package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +0 -26
- package/types/TokensResource.d.ts +22 -0
- package/types/Transfers.d.ts +0 -5
- package/types/TransfersResource.d.ts +0 -5
- package/types/Treasury/FinancialAccountFeatures.d.ts +0 -7
- package/types/Treasury/FinancialAccounts.d.ts +0 -5
- package/types/Treasury/FinancialAccountsResource.d.ts +0 -37
- package/types/Treasury/OutboundTransfers.d.ts +0 -26
- package/types/Treasury/OutboundTransfersResource.d.ts +0 -26
- package/types/Treasury/ReceivedCredits.d.ts +0 -26
- package/types/Treasury/ReceivedDebits.d.ts +0 -31
- package/types/V2/Core/EventTypes.d.ts +10 -8588
- package/types/V2/Core/Events.d.ts +0 -12
- package/types/WebhookEndpointsResource.d.ts +2 -75
- package/types/Webhooks.d.ts +0 -2
- package/types/apiVersion.d.ts +2 -1
- package/types/crypto/crypto.d.ts +1 -1
- package/types/index.d.ts +0 -222
- package/types/lib.d.ts +0 -10
- package/cjs/resources/AccountNotices.js +0 -21
- package/cjs/resources/Billing/Analytics/MeterUsage.js +0 -12
- package/cjs/resources/Capital/FinancingOffers.js +0 -21
- package/cjs/resources/Capital/FinancingSummary.js +0 -12
- package/cjs/resources/Capital/FinancingTransactions.js +0 -17
- package/cjs/resources/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/Margins.js +0 -22
- package/cjs/resources/Orders.js +0 -24
- package/cjs/resources/Privacy/RedactionJobs.js +0 -42
- package/cjs/resources/Tax/Associations.js +0 -9
- package/cjs/resources/Tax/Forms.js +0 -20
- package/cjs/resources/Terminal/OnboardingLinks.js +0 -12
- package/cjs/resources/Terminal/ReaderCollectedData.js +0 -12
- package/cjs/resources/V2/Billing/BillSettings/Versions.js +0 -17
- package/cjs/resources/V2/Billing/BillSettings.js +0 -27
- package/cjs/resources/V2/Billing/Cadences.js +0 -23
- package/cjs/resources/V2/Billing/CollectionSettings/Versions.js +0 -17
- package/cjs/resources/V2/Billing/CollectionSettings.js +0 -30
- package/cjs/resources/V2/Billing/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/AccountLinks.js +0 -9
- package/cjs/resources/V2/Core/Accounts/Persons.js +0 -29
- package/cjs/resources/V2/Core/Accounts.js +0 -25
- 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/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/Tax/AutomaticRules.js +0 -22
- 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/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/Margins.js +0 -19
- package/esm/resources/Orders.js +0 -21
- package/esm/resources/Privacy/RedactionJobs.js +0 -39
- package/esm/resources/Tax/Associations.js +0 -6
- package/esm/resources/Tax/Forms.js +0 -17
- package/esm/resources/Terminal/OnboardingLinks.js +0 -9
- package/esm/resources/Terminal/ReaderCollectedData.js +0 -9
- package/esm/resources/V2/Billing/BillSettings/Versions.js +0 -14
- package/esm/resources/V2/Billing/BillSettings.js +0 -24
- package/esm/resources/V2/Billing/Cadences.js +0 -20
- package/esm/resources/V2/Billing/CollectionSettings/Versions.js +0 -14
- package/esm/resources/V2/Billing/CollectionSettings.js +0 -27
- package/esm/resources/V2/Billing/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/AccountLinks.js +0 -6
- package/esm/resources/V2/Core/Accounts/Persons.js +0 -26
- package/esm/resources/V2/Core/Accounts.js +0 -22
- 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/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/Tax/AutomaticRules.js +0 -19
- 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/Billing/Analytics/MeterUsage.d.ts +0 -31
- package/types/Billing/Analytics/MeterUsageResource.d.ts +0 -689
- package/types/Billing/Analytics/MeterUsageRows.d.ts +0 -51
- package/types/Capital/FinancingOffers.d.ts +0 -188
- package/types/Capital/FinancingOffersResource.d.ts +0 -97
- package/types/Capital/FinancingSummary.d.ts +0 -106
- package/types/Capital/FinancingSummaryResource.d.ts +0 -27
- package/types/Capital/FinancingTransactions.d.ts +0 -135
- package/types/Capital/FinancingTransactionsResource.d.ts +0 -68
- package/types/DelegatedCheckout/RequestedSessions.d.ts +0 -292
- package/types/DelegatedCheckout/RequestedSessionsResource.d.ts +0 -591
- 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/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 -3139
- 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/QuoteLines.d.ts +0 -634
- package/types/QuotePreviewInvoices.d.ts +0 -1770
- package/types/QuotePreviewSubscriptionSchedules.d.ts +0 -908
- package/types/Tax/Associations.d.ts +0 -82
- package/types/Tax/AssociationsResource.d.ts +0 -29
- package/types/Tax/Forms.d.ts +0 -220
- package/types/Tax/FormsResource.d.ts +0 -107
- package/types/Terminal/OnboardingLinks.d.ts +0 -57
- package/types/Terminal/OnboardingLinksResource.d.ts +0 -62
- package/types/Terminal/ReaderCollectedData.d.ts +0 -51
- package/types/Terminal/ReaderCollectedDataResource.d.ts +0 -29
- package/types/V2/Billing/BillSettingVersions.d.ts +0 -97
- package/types/V2/Billing/BillSettings/VersionsResource.d.ts +0 -58
- package/types/V2/Billing/BillSettings.d.ts +0 -120
- package/types/V2/Billing/BillSettingsResource.d.ts +0 -241
- package/types/V2/Billing/Cadences.d.ts +0 -731
- package/types/V2/Billing/CadencesResource.d.ts +0 -516
- package/types/V2/Billing/CollectionSettingVersions.d.ts +0 -314
- package/types/V2/Billing/CollectionSettings/VersionsResource.d.ts +0 -62
- package/types/V2/Billing/CollectionSettings.d.ts +0 -337
- package/types/V2/Billing/CollectionSettingsResource.d.ts +0 -675
- 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 -274
- package/types/V2/Billing/ServiceActionsResource.d.ts +0 -370
- package/types/V2/Core/AccountLinks.d.ts +0 -168
- package/types/V2/Core/AccountLinksResource.d.ts +0 -152
- package/types/V2/Core/AccountPersons.d.ts +0 -615
- package/types/V2/Core/Accounts/PersonsResource.d.ts +0 -1153
- package/types/V2/Core/Accounts.d.ts +0 -6907
- package/types/V2/Core/AccountsResource.d.ts +0 -6083
- 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 -32
- package/types/V2/MoneyManagement/Adjustments.d.ts +0 -110
- package/types/V2/MoneyManagement/AdjustmentsResource.d.ts +0 -83
- package/types/V2/MoneyManagement/FinancialAccounts.d.ts +0 -148
- package/types/V2/MoneyManagement/FinancialAccountsResource.d.ts +0 -172
- package/types/V2/MoneyManagement/FinancialAddresses.d.ts +0 -178
- package/types/V2/MoneyManagement/FinancialAddressesResource.d.ts +0 -126
- package/types/V2/MoneyManagement/InboundTransfers.d.ts +0 -206
- package/types/V2/MoneyManagement/InboundTransfersResource.d.ts +0 -144
- package/types/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +0 -170
- package/types/V2/MoneyManagement/OutboundPaymentQuotesResource.d.ts +0 -115
- package/types/V2/MoneyManagement/OutboundPayments.d.ts +0 -283
- package/types/V2/MoneyManagement/OutboundPaymentsResource.d.ts +0 -247
- 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 -256
- package/types/V2/MoneyManagement/OutboundTransfersResource.d.ts +0 -213
- 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 -302
- package/types/V2/MoneyManagement/ReceivedCreditsResource.d.ts +0 -78
- package/types/V2/MoneyManagement/ReceivedDebits.d.ts +0 -181
- 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 -162
- package/types/V2/MoneyManagement/TransactionEntriesResource.d.ts +0 -82
- package/types/V2/MoneyManagement/Transactions.d.ts +0 -177
- package/types/V2/MoneyManagement/TransactionsResource.d.ts +0 -83
- package/types/V2/Payments/OffSessionPayments.d.ts +0 -326
- package/types/V2/Payments/OffSessionPaymentsResource.d.ts +0 -401
- package/types/V2/Tax/AutomaticRules.d.ts +0 -53
- package/types/V2/Tax/AutomaticRulesResource.d.ts +0 -102
- package/types/V2/TestHelpers/FinancialAddressesResource.d.ts +0 -73
- package/types/V2/TestHelpers/MoneyManagementResource.d.ts +0 -49
|
@@ -35,16 +35,16 @@ declare module 'stripe' {
|
|
|
35
35
|
customer?: string;
|
|
36
36
|
|
|
37
37
|
/**
|
|
38
|
-
*
|
|
39
|
-
*
|
|
40
|
-
* If present, the SetupIntent's payment method will be attached to the Account on successful setup. Payment methods attached to other Accounts cannot be used with this SetupIntent.
|
|
38
|
+
* An arbitrary string attached to the object. Often useful for displaying to users.
|
|
41
39
|
*/
|
|
42
|
-
|
|
40
|
+
description?: string;
|
|
43
41
|
|
|
44
42
|
/**
|
|
45
|
-
*
|
|
43
|
+
* The list of payment method types to exclude from use with this SetupIntent.
|
|
46
44
|
*/
|
|
47
|
-
|
|
45
|
+
excluded_payment_method_types?: Array<
|
|
46
|
+
SetupIntentCreateParams.ExcludedPaymentMethodType
|
|
47
|
+
>;
|
|
48
48
|
|
|
49
49
|
/**
|
|
50
50
|
* Specifies which fields in the response should be expanded.
|
|
@@ -104,11 +104,6 @@ declare module 'stripe' {
|
|
|
104
104
|
*/
|
|
105
105
|
return_url?: string;
|
|
106
106
|
|
|
107
|
-
/**
|
|
108
|
-
* Provides industry-specific information about the SetupIntent.
|
|
109
|
-
*/
|
|
110
|
-
setup_details?: SetupIntentCreateParams.SetupDetails;
|
|
111
|
-
|
|
112
107
|
/**
|
|
113
108
|
* If you populate this hash, this SetupIntent generates a `single_use` mandate after successful completion.
|
|
114
109
|
*
|
|
@@ -146,6 +141,56 @@ declare module 'stripe' {
|
|
|
146
141
|
type AllowRedirects = 'always' | 'never';
|
|
147
142
|
}
|
|
148
143
|
|
|
144
|
+
type ExcludedPaymentMethodType =
|
|
145
|
+
| 'acss_debit'
|
|
146
|
+
| 'affirm'
|
|
147
|
+
| 'afterpay_clearpay'
|
|
148
|
+
| 'alipay'
|
|
149
|
+
| 'alma'
|
|
150
|
+
| 'amazon_pay'
|
|
151
|
+
| 'au_becs_debit'
|
|
152
|
+
| 'bacs_debit'
|
|
153
|
+
| 'bancontact'
|
|
154
|
+
| 'billie'
|
|
155
|
+
| 'blik'
|
|
156
|
+
| 'boleto'
|
|
157
|
+
| 'card'
|
|
158
|
+
| 'cashapp'
|
|
159
|
+
| 'crypto'
|
|
160
|
+
| 'customer_balance'
|
|
161
|
+
| 'eps'
|
|
162
|
+
| 'fpx'
|
|
163
|
+
| 'giropay'
|
|
164
|
+
| 'grabpay'
|
|
165
|
+
| 'ideal'
|
|
166
|
+
| 'kakao_pay'
|
|
167
|
+
| 'klarna'
|
|
168
|
+
| 'konbini'
|
|
169
|
+
| 'kr_card'
|
|
170
|
+
| 'mb_way'
|
|
171
|
+
| 'mobilepay'
|
|
172
|
+
| 'multibanco'
|
|
173
|
+
| 'naver_pay'
|
|
174
|
+
| 'nz_bank_account'
|
|
175
|
+
| 'oxxo'
|
|
176
|
+
| 'p24'
|
|
177
|
+
| 'pay_by_bank'
|
|
178
|
+
| 'payco'
|
|
179
|
+
| 'paynow'
|
|
180
|
+
| 'paypal'
|
|
181
|
+
| 'pix'
|
|
182
|
+
| 'promptpay'
|
|
183
|
+
| 'revolut_pay'
|
|
184
|
+
| 'samsung_pay'
|
|
185
|
+
| 'satispay'
|
|
186
|
+
| 'sepa_debit'
|
|
187
|
+
| 'sofort'
|
|
188
|
+
| 'swish'
|
|
189
|
+
| 'twint'
|
|
190
|
+
| 'us_bank_account'
|
|
191
|
+
| 'wechat_pay'
|
|
192
|
+
| 'zip';
|
|
193
|
+
|
|
149
194
|
type FlowDirection = 'inbound' | 'outbound';
|
|
150
195
|
|
|
151
196
|
interface MandateData {
|
|
@@ -298,21 +343,11 @@ declare module 'stripe' {
|
|
|
298
343
|
*/
|
|
299
344
|
giropay?: PaymentMethodData.Giropay;
|
|
300
345
|
|
|
301
|
-
/**
|
|
302
|
-
* If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
|
|
303
|
-
*/
|
|
304
|
-
gopay?: PaymentMethodData.Gopay;
|
|
305
|
-
|
|
306
346
|
/**
|
|
307
347
|
* If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
|
|
308
348
|
*/
|
|
309
349
|
grabpay?: PaymentMethodData.Grabpay;
|
|
310
350
|
|
|
311
|
-
/**
|
|
312
|
-
* If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
|
|
313
|
-
*/
|
|
314
|
-
id_bank_transfer?: PaymentMethodData.IdBankTransfer;
|
|
315
|
-
|
|
316
351
|
/**
|
|
317
352
|
* If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
|
|
318
353
|
*/
|
|
@@ -408,16 +443,6 @@ declare module 'stripe' {
|
|
|
408
443
|
*/
|
|
409
444
|
paypal?: PaymentMethodData.Paypal;
|
|
410
445
|
|
|
411
|
-
/**
|
|
412
|
-
* If this is a `paypay` PaymentMethod, this hash contains details about the PayPay payment method.
|
|
413
|
-
*/
|
|
414
|
-
paypay?: PaymentMethodData.Paypay;
|
|
415
|
-
|
|
416
|
-
/**
|
|
417
|
-
* If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
|
|
418
|
-
*/
|
|
419
|
-
payto?: PaymentMethodData.Payto;
|
|
420
|
-
|
|
421
446
|
/**
|
|
422
447
|
* If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
|
|
423
448
|
*/
|
|
@@ -428,21 +453,11 @@ declare module 'stripe' {
|
|
|
428
453
|
*/
|
|
429
454
|
promptpay?: PaymentMethodData.Promptpay;
|
|
430
455
|
|
|
431
|
-
/**
|
|
432
|
-
* If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
|
|
433
|
-
*/
|
|
434
|
-
qris?: PaymentMethodData.Qris;
|
|
435
|
-
|
|
436
456
|
/**
|
|
437
457
|
* Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
|
|
438
458
|
*/
|
|
439
459
|
radar_options?: PaymentMethodData.RadarOptions;
|
|
440
460
|
|
|
441
|
-
/**
|
|
442
|
-
* If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
|
|
443
|
-
*/
|
|
444
|
-
rechnung?: PaymentMethodData.Rechnung;
|
|
445
|
-
|
|
446
461
|
/**
|
|
447
462
|
* If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
|
|
448
463
|
*/
|
|
@@ -463,21 +478,11 @@ declare module 'stripe' {
|
|
|
463
478
|
*/
|
|
464
479
|
sepa_debit?: PaymentMethodData.SepaDebit;
|
|
465
480
|
|
|
466
|
-
/**
|
|
467
|
-
* If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
|
|
468
|
-
*/
|
|
469
|
-
shopeepay?: PaymentMethodData.Shopeepay;
|
|
470
|
-
|
|
471
481
|
/**
|
|
472
482
|
* If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
|
|
473
483
|
*/
|
|
474
484
|
sofort?: PaymentMethodData.Sofort;
|
|
475
485
|
|
|
476
|
-
/**
|
|
477
|
-
* This hash contains details about the Stripe balance payment method.
|
|
478
|
-
*/
|
|
479
|
-
stripe_balance?: PaymentMethodData.StripeBalance;
|
|
480
|
-
|
|
481
486
|
/**
|
|
482
487
|
* If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
|
|
483
488
|
*/
|
|
@@ -690,21 +695,8 @@ declare module 'stripe' {
|
|
|
690
695
|
|
|
691
696
|
interface Giropay {}
|
|
692
697
|
|
|
693
|
-
interface Gopay {}
|
|
694
|
-
|
|
695
698
|
interface Grabpay {}
|
|
696
699
|
|
|
697
|
-
interface IdBankTransfer {
|
|
698
|
-
/**
|
|
699
|
-
* Bank where the account is held.
|
|
700
|
-
*/
|
|
701
|
-
bank?: IdBankTransfer.Bank;
|
|
702
|
-
}
|
|
703
|
-
|
|
704
|
-
namespace IdBankTransfer {
|
|
705
|
-
type Bank = 'bca' | 'bni' | 'bri' | 'cimb' | 'permata';
|
|
706
|
-
}
|
|
707
|
-
|
|
708
700
|
interface Ideal {
|
|
709
701
|
/**
|
|
710
702
|
* The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
|
@@ -862,31 +854,10 @@ declare module 'stripe' {
|
|
|
862
854
|
|
|
863
855
|
interface Paypal {}
|
|
864
856
|
|
|
865
|
-
interface Paypay {}
|
|
866
|
-
|
|
867
|
-
interface Payto {
|
|
868
|
-
/**
|
|
869
|
-
* The account number for the bank account.
|
|
870
|
-
*/
|
|
871
|
-
account_number?: string;
|
|
872
|
-
|
|
873
|
-
/**
|
|
874
|
-
* Bank-State-Branch number of the bank account.
|
|
875
|
-
*/
|
|
876
|
-
bsb_number?: string;
|
|
877
|
-
|
|
878
|
-
/**
|
|
879
|
-
* The PayID alias for the bank account.
|
|
880
|
-
*/
|
|
881
|
-
pay_id?: string;
|
|
882
|
-
}
|
|
883
|
-
|
|
884
857
|
interface Pix {}
|
|
885
858
|
|
|
886
859
|
interface Promptpay {}
|
|
887
860
|
|
|
888
|
-
interface Qris {}
|
|
889
|
-
|
|
890
861
|
interface RadarOptions {
|
|
891
862
|
/**
|
|
892
863
|
* A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
|
|
@@ -894,32 +865,6 @@ declare module 'stripe' {
|
|
|
894
865
|
session?: string;
|
|
895
866
|
}
|
|
896
867
|
|
|
897
|
-
interface Rechnung {
|
|
898
|
-
/**
|
|
899
|
-
* Customer's date of birth
|
|
900
|
-
*/
|
|
901
|
-
dob: Rechnung.Dob;
|
|
902
|
-
}
|
|
903
|
-
|
|
904
|
-
namespace Rechnung {
|
|
905
|
-
interface Dob {
|
|
906
|
-
/**
|
|
907
|
-
* The day of birth, between 1 and 31.
|
|
908
|
-
*/
|
|
909
|
-
day: number;
|
|
910
|
-
|
|
911
|
-
/**
|
|
912
|
-
* The month of birth, between 1 and 12.
|
|
913
|
-
*/
|
|
914
|
-
month: number;
|
|
915
|
-
|
|
916
|
-
/**
|
|
917
|
-
* The four-digit year of birth.
|
|
918
|
-
*/
|
|
919
|
-
year: number;
|
|
920
|
-
}
|
|
921
|
-
}
|
|
922
|
-
|
|
923
868
|
interface RevolutPay {}
|
|
924
869
|
|
|
925
870
|
interface SamsungPay {}
|
|
@@ -933,8 +878,6 @@ declare module 'stripe' {
|
|
|
933
878
|
iban: string;
|
|
934
879
|
}
|
|
935
880
|
|
|
936
|
-
interface Shopeepay {}
|
|
937
|
-
|
|
938
881
|
interface Sofort {
|
|
939
882
|
/**
|
|
940
883
|
* Two-letter ISO code representing the country the bank account is located in.
|
|
@@ -946,22 +889,6 @@ declare module 'stripe' {
|
|
|
946
889
|
type Country = 'AT' | 'BE' | 'DE' | 'ES' | 'IT' | 'NL';
|
|
947
890
|
}
|
|
948
891
|
|
|
949
|
-
interface StripeBalance {
|
|
950
|
-
/**
|
|
951
|
-
* The connected account ID whose Stripe balance to use as the source of payment
|
|
952
|
-
*/
|
|
953
|
-
account?: string;
|
|
954
|
-
|
|
955
|
-
/**
|
|
956
|
-
* The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
|
|
957
|
-
*/
|
|
958
|
-
source_type?: StripeBalance.SourceType;
|
|
959
|
-
}
|
|
960
|
-
|
|
961
|
-
namespace StripeBalance {
|
|
962
|
-
type SourceType = 'bank_account' | 'card' | 'fpx';
|
|
963
|
-
}
|
|
964
|
-
|
|
965
892
|
interface Swish {}
|
|
966
893
|
|
|
967
894
|
interface Twint {}
|
|
@@ -985,9 +912,7 @@ declare module 'stripe' {
|
|
|
985
912
|
| 'eps'
|
|
986
913
|
| 'fpx'
|
|
987
914
|
| 'giropay'
|
|
988
|
-
| 'gopay'
|
|
989
915
|
| 'grabpay'
|
|
990
|
-
| 'id_bank_transfer'
|
|
991
916
|
| 'ideal'
|
|
992
917
|
| 'kakao_pay'
|
|
993
918
|
| 'klarna'
|
|
@@ -1005,19 +930,13 @@ declare module 'stripe' {
|
|
|
1005
930
|
| 'payco'
|
|
1006
931
|
| 'paynow'
|
|
1007
932
|
| 'paypal'
|
|
1008
|
-
| 'paypay'
|
|
1009
|
-
| 'payto'
|
|
1010
933
|
| 'pix'
|
|
1011
934
|
| 'promptpay'
|
|
1012
|
-
| 'qris'
|
|
1013
|
-
| 'rechnung'
|
|
1014
935
|
| 'revolut_pay'
|
|
1015
936
|
| 'samsung_pay'
|
|
1016
937
|
| 'satispay'
|
|
1017
938
|
| 'sepa_debit'
|
|
1018
|
-
| 'shopeepay'
|
|
1019
939
|
| 'sofort'
|
|
1020
|
-
| 'stripe_balance'
|
|
1021
940
|
| 'swish'
|
|
1022
941
|
| 'twint'
|
|
1023
942
|
| 'us_bank_account'
|
|
@@ -1103,16 +1022,6 @@ declare module 'stripe' {
|
|
|
1103
1022
|
*/
|
|
1104
1023
|
paypal?: PaymentMethodOptions.Paypal;
|
|
1105
1024
|
|
|
1106
|
-
/**
|
|
1107
|
-
* If this is a `payto` SetupIntent, this sub-hash contains details about the PayTo payment method options.
|
|
1108
|
-
*/
|
|
1109
|
-
payto?: PaymentMethodOptions.Payto;
|
|
1110
|
-
|
|
1111
|
-
/**
|
|
1112
|
-
* If this is a `pix` SetupIntent, this sub-hash contains details about the Pix payment method options.
|
|
1113
|
-
*/
|
|
1114
|
-
pix?: PaymentMethodOptions.Pix;
|
|
1115
|
-
|
|
1116
1025
|
/**
|
|
1117
1026
|
* If this is a `sepa_debit` SetupIntent, this sub-hash contains details about the SEPA Debit payment method options.
|
|
1118
1027
|
*/
|
|
@@ -1560,150 +1469,6 @@ declare module 'stripe' {
|
|
|
1560
1469
|
* The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
|
|
1561
1470
|
*/
|
|
1562
1471
|
billing_agreement_id?: string;
|
|
1563
|
-
|
|
1564
|
-
currency?: string;
|
|
1565
|
-
|
|
1566
|
-
/**
|
|
1567
|
-
* 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.
|
|
1568
|
-
*/
|
|
1569
|
-
subsellers?: Array<string>;
|
|
1570
|
-
}
|
|
1571
|
-
|
|
1572
|
-
interface Payto {
|
|
1573
|
-
/**
|
|
1574
|
-
* Additional fields for Mandate creation.
|
|
1575
|
-
*/
|
|
1576
|
-
mandate_options?: Payto.MandateOptions;
|
|
1577
|
-
}
|
|
1578
|
-
|
|
1579
|
-
namespace Payto {
|
|
1580
|
-
interface MandateOptions {
|
|
1581
|
-
/**
|
|
1582
|
-
* Amount that will be collected. It is required when `amount_type` is `fixed`.
|
|
1583
|
-
*/
|
|
1584
|
-
amount?: number;
|
|
1585
|
-
|
|
1586
|
-
/**
|
|
1587
|
-
* 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.
|
|
1588
|
-
*/
|
|
1589
|
-
amount_type?: MandateOptions.AmountType;
|
|
1590
|
-
|
|
1591
|
-
/**
|
|
1592
|
-
* Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
|
|
1593
|
-
*/
|
|
1594
|
-
end_date?: string;
|
|
1595
|
-
|
|
1596
|
-
/**
|
|
1597
|
-
* The periodicity at which payments will be collected.
|
|
1598
|
-
*/
|
|
1599
|
-
payment_schedule?: MandateOptions.PaymentSchedule;
|
|
1600
|
-
|
|
1601
|
-
/**
|
|
1602
|
-
* 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.
|
|
1603
|
-
*/
|
|
1604
|
-
payments_per_period?: number;
|
|
1605
|
-
|
|
1606
|
-
/**
|
|
1607
|
-
* The purpose for which payments are made. Defaults to retail.
|
|
1608
|
-
*/
|
|
1609
|
-
purpose?: MandateOptions.Purpose;
|
|
1610
|
-
|
|
1611
|
-
/**
|
|
1612
|
-
* Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
|
|
1613
|
-
*/
|
|
1614
|
-
start_date?: string;
|
|
1615
|
-
}
|
|
1616
|
-
|
|
1617
|
-
namespace MandateOptions {
|
|
1618
|
-
type AmountType = 'fixed' | 'maximum';
|
|
1619
|
-
|
|
1620
|
-
type PaymentSchedule =
|
|
1621
|
-
| 'adhoc'
|
|
1622
|
-
| 'annual'
|
|
1623
|
-
| 'daily'
|
|
1624
|
-
| 'fortnightly'
|
|
1625
|
-
| 'monthly'
|
|
1626
|
-
| 'quarterly'
|
|
1627
|
-
| 'semi_annual'
|
|
1628
|
-
| 'weekly';
|
|
1629
|
-
|
|
1630
|
-
type Purpose =
|
|
1631
|
-
| 'dependant_support'
|
|
1632
|
-
| 'government'
|
|
1633
|
-
| 'loan'
|
|
1634
|
-
| 'mortgage'
|
|
1635
|
-
| 'other'
|
|
1636
|
-
| 'pension'
|
|
1637
|
-
| 'personal'
|
|
1638
|
-
| 'retail'
|
|
1639
|
-
| 'salary'
|
|
1640
|
-
| 'tax'
|
|
1641
|
-
| 'utility';
|
|
1642
|
-
}
|
|
1643
|
-
}
|
|
1644
|
-
|
|
1645
|
-
interface Pix {
|
|
1646
|
-
/**
|
|
1647
|
-
* Additional fields for mandate creation.
|
|
1648
|
-
*/
|
|
1649
|
-
mandate_options?: Pix.MandateOptions;
|
|
1650
|
-
}
|
|
1651
|
-
|
|
1652
|
-
namespace Pix {
|
|
1653
|
-
interface MandateOptions {
|
|
1654
|
-
/**
|
|
1655
|
-
* Amount to be charged for future payments. Required when `amount_type=fixed`. If not provided for `amount_type=maximum`, defaults to 40000.
|
|
1656
|
-
*/
|
|
1657
|
-
amount?: number;
|
|
1658
|
-
|
|
1659
|
-
/**
|
|
1660
|
-
* Determines if the amount includes the IOF tax. Defaults to `never`.
|
|
1661
|
-
*/
|
|
1662
|
-
amount_includes_iof?: MandateOptions.AmountIncludesIof;
|
|
1663
|
-
|
|
1664
|
-
/**
|
|
1665
|
-
* Type of amount. Defaults to `maximum`.
|
|
1666
|
-
*/
|
|
1667
|
-
amount_type?: MandateOptions.AmountType;
|
|
1668
|
-
|
|
1669
|
-
/**
|
|
1670
|
-
* Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Only `brl` is supported currently.
|
|
1671
|
-
*/
|
|
1672
|
-
currency?: string;
|
|
1673
|
-
|
|
1674
|
-
/**
|
|
1675
|
-
* 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.
|
|
1676
|
-
*/
|
|
1677
|
-
end_date?: string;
|
|
1678
|
-
|
|
1679
|
-
/**
|
|
1680
|
-
* Schedule at which the future payments will be charged. Defaults to `weekly`.
|
|
1681
|
-
*/
|
|
1682
|
-
payment_schedule?: MandateOptions.PaymentSchedule;
|
|
1683
|
-
|
|
1684
|
-
/**
|
|
1685
|
-
* Subscription name displayed to buyers in their bank app. Defaults to the displayable business name.
|
|
1686
|
-
*/
|
|
1687
|
-
reference?: string;
|
|
1688
|
-
|
|
1689
|
-
/**
|
|
1690
|
-
* 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.
|
|
1691
|
-
*/
|
|
1692
|
-
start_date?: string;
|
|
1693
|
-
}
|
|
1694
|
-
|
|
1695
|
-
namespace MandateOptions {
|
|
1696
|
-
type AmountIncludesIof = 'always' | 'never';
|
|
1697
|
-
|
|
1698
|
-
type AmountType = 'fixed' | 'maximum';
|
|
1699
|
-
|
|
1700
|
-
type PaymentSchedule =
|
|
1701
|
-
| 'halfyearly'
|
|
1702
|
-
| 'monthly'
|
|
1703
|
-
| 'quarterly'
|
|
1704
|
-
| 'weekly'
|
|
1705
|
-
| 'yearly';
|
|
1706
|
-
}
|
|
1707
1472
|
}
|
|
1708
1473
|
|
|
1709
1474
|
interface SepaDebit {
|
|
@@ -1751,11 +1516,6 @@ declare module 'stripe' {
|
|
|
1751
1516
|
*/
|
|
1752
1517
|
filters?: FinancialConnections.Filters;
|
|
1753
1518
|
|
|
1754
|
-
/**
|
|
1755
|
-
* Customize manual entry behavior
|
|
1756
|
-
*/
|
|
1757
|
-
manual_entry?: FinancialConnections.ManualEntry;
|
|
1758
|
-
|
|
1759
1519
|
/**
|
|
1760
1520
|
* 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`.
|
|
1761
1521
|
*/
|
|
@@ -1778,39 +1538,19 @@ declare module 'stripe' {
|
|
|
1778
1538
|
* The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
|
|
1779
1539
|
*/
|
|
1780
1540
|
account_subcategories?: Array<Filters.AccountSubcategory>;
|
|
1781
|
-
|
|
1782
|
-
/**
|
|
1783
|
-
* ID of the institution to use to filter for selectable accounts.
|
|
1784
|
-
*/
|
|
1785
|
-
institution?: string;
|
|
1786
1541
|
}
|
|
1787
1542
|
|
|
1788
1543
|
namespace Filters {
|
|
1789
1544
|
type AccountSubcategory = 'checking' | 'savings';
|
|
1790
1545
|
}
|
|
1791
1546
|
|
|
1792
|
-
interface ManualEntry {
|
|
1793
|
-
/**
|
|
1794
|
-
* Settings for configuring manual entry of account details.
|
|
1795
|
-
*/
|
|
1796
|
-
mode: ManualEntry.Mode;
|
|
1797
|
-
}
|
|
1798
|
-
|
|
1799
|
-
namespace ManualEntry {
|
|
1800
|
-
type Mode = 'automatic' | 'custom';
|
|
1801
|
-
}
|
|
1802
|
-
|
|
1803
1547
|
type Permission =
|
|
1804
1548
|
| 'balances'
|
|
1805
1549
|
| 'ownership'
|
|
1806
1550
|
| 'payment_method'
|
|
1807
1551
|
| 'transactions';
|
|
1808
1552
|
|
|
1809
|
-
type Prefetch =
|
|
1810
|
-
| 'balances'
|
|
1811
|
-
| 'inferred_balances'
|
|
1812
|
-
| 'ownership'
|
|
1813
|
-
| 'transactions';
|
|
1553
|
+
type Prefetch = 'balances' | 'ownership' | 'transactions';
|
|
1814
1554
|
}
|
|
1815
1555
|
|
|
1816
1556
|
interface MandateOptions {
|
|
@@ -1835,31 +1575,6 @@ declare module 'stripe' {
|
|
|
1835
1575
|
}
|
|
1836
1576
|
}
|
|
1837
1577
|
|
|
1838
|
-
interface SetupDetails {
|
|
1839
|
-
/**
|
|
1840
|
-
* Benefit details for this SetupIntent
|
|
1841
|
-
*/
|
|
1842
|
-
benefit?: SetupDetails.Benefit;
|
|
1843
|
-
}
|
|
1844
|
-
|
|
1845
|
-
namespace SetupDetails {
|
|
1846
|
-
interface Benefit {
|
|
1847
|
-
/**
|
|
1848
|
-
* French meal voucher benefit details for this SetupIntent.
|
|
1849
|
-
*/
|
|
1850
|
-
fr_meal_voucher?: Benefit.FrMealVoucher;
|
|
1851
|
-
}
|
|
1852
|
-
|
|
1853
|
-
namespace Benefit {
|
|
1854
|
-
interface FrMealVoucher {
|
|
1855
|
-
/**
|
|
1856
|
-
* The 14-digit SIRET of the meal voucher acceptor.
|
|
1857
|
-
*/
|
|
1858
|
-
siret: string;
|
|
1859
|
-
}
|
|
1860
|
-
}
|
|
1861
|
-
}
|
|
1862
|
-
|
|
1863
1578
|
interface SingleUse {
|
|
1864
1579
|
/**
|
|
1865
1580
|
* 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/docs/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://stripe.com/docs/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).
|
|
@@ -1903,16 +1618,16 @@ declare module 'stripe' {
|
|
|
1903
1618
|
customer?: string;
|
|
1904
1619
|
|
|
1905
1620
|
/**
|
|
1906
|
-
*
|
|
1907
|
-
*
|
|
1908
|
-
* If present, the SetupIntent's payment method will be attached to the Account on successful setup. Payment methods attached to other Accounts cannot be used with this SetupIntent.
|
|
1621
|
+
* An arbitrary string attached to the object. Often useful for displaying to users.
|
|
1909
1622
|
*/
|
|
1910
|
-
|
|
1623
|
+
description?: string;
|
|
1911
1624
|
|
|
1912
1625
|
/**
|
|
1913
|
-
*
|
|
1626
|
+
* The list of payment method types to exclude from use with this SetupIntent.
|
|
1914
1627
|
*/
|
|
1915
|
-
|
|
1628
|
+
excluded_payment_method_types?: Stripe.Emptyable<
|
|
1629
|
+
Array<SetupIntentUpdateParams.ExcludedPaymentMethodType>
|
|
1630
|
+
>;
|
|
1916
1631
|
|
|
1917
1632
|
/**
|
|
1918
1633
|
* Specifies which fields in the response should be expanded.
|
|
@@ -1956,14 +1671,59 @@ declare module 'stripe' {
|
|
|
1956
1671
|
* 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).
|
|
1957
1672
|
*/
|
|
1958
1673
|
payment_method_types?: Array<string>;
|
|
1959
|
-
|
|
1960
|
-
/**
|
|
1961
|
-
* Provides industry-specific information about the SetupIntent.
|
|
1962
|
-
*/
|
|
1963
|
-
setup_details?: SetupIntentUpdateParams.SetupDetails;
|
|
1964
1674
|
}
|
|
1965
1675
|
|
|
1966
1676
|
namespace SetupIntentUpdateParams {
|
|
1677
|
+
type ExcludedPaymentMethodType =
|
|
1678
|
+
| 'acss_debit'
|
|
1679
|
+
| 'affirm'
|
|
1680
|
+
| 'afterpay_clearpay'
|
|
1681
|
+
| 'alipay'
|
|
1682
|
+
| 'alma'
|
|
1683
|
+
| 'amazon_pay'
|
|
1684
|
+
| 'au_becs_debit'
|
|
1685
|
+
| 'bacs_debit'
|
|
1686
|
+
| 'bancontact'
|
|
1687
|
+
| 'billie'
|
|
1688
|
+
| 'blik'
|
|
1689
|
+
| 'boleto'
|
|
1690
|
+
| 'card'
|
|
1691
|
+
| 'cashapp'
|
|
1692
|
+
| 'crypto'
|
|
1693
|
+
| 'customer_balance'
|
|
1694
|
+
| 'eps'
|
|
1695
|
+
| 'fpx'
|
|
1696
|
+
| 'giropay'
|
|
1697
|
+
| 'grabpay'
|
|
1698
|
+
| 'ideal'
|
|
1699
|
+
| 'kakao_pay'
|
|
1700
|
+
| 'klarna'
|
|
1701
|
+
| 'konbini'
|
|
1702
|
+
| 'kr_card'
|
|
1703
|
+
| 'mb_way'
|
|
1704
|
+
| 'mobilepay'
|
|
1705
|
+
| 'multibanco'
|
|
1706
|
+
| 'naver_pay'
|
|
1707
|
+
| 'nz_bank_account'
|
|
1708
|
+
| 'oxxo'
|
|
1709
|
+
| 'p24'
|
|
1710
|
+
| 'pay_by_bank'
|
|
1711
|
+
| 'payco'
|
|
1712
|
+
| 'paynow'
|
|
1713
|
+
| 'paypal'
|
|
1714
|
+
| 'pix'
|
|
1715
|
+
| 'promptpay'
|
|
1716
|
+
| 'revolut_pay'
|
|
1717
|
+
| 'samsung_pay'
|
|
1718
|
+
| 'satispay'
|
|
1719
|
+
| 'sepa_debit'
|
|
1720
|
+
| 'sofort'
|
|
1721
|
+
| 'swish'
|
|
1722
|
+
| 'twint'
|
|
1723
|
+
| 'us_bank_account'
|
|
1724
|
+
| 'wechat_pay'
|
|
1725
|
+
| 'zip';
|
|
1726
|
+
|
|
1967
1727
|
type FlowDirection = 'inbound' | 'outbound';
|
|
1968
1728
|
|
|
1969
1729
|
interface PaymentMethodData {
|
|
@@ -2067,21 +1827,11 @@ declare module 'stripe' {
|
|
|
2067
1827
|
*/
|
|
2068
1828
|
giropay?: PaymentMethodData.Giropay;
|
|
2069
1829
|
|
|
2070
|
-
/**
|
|
2071
|
-
* If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
|
|
2072
|
-
*/
|
|
2073
|
-
gopay?: PaymentMethodData.Gopay;
|
|
2074
|
-
|
|
2075
1830
|
/**
|
|
2076
1831
|
* If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
|
|
2077
1832
|
*/
|
|
2078
1833
|
grabpay?: PaymentMethodData.Grabpay;
|
|
2079
1834
|
|
|
2080
|
-
/**
|
|
2081
|
-
* If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
|
|
2082
|
-
*/
|
|
2083
|
-
id_bank_transfer?: PaymentMethodData.IdBankTransfer;
|
|
2084
|
-
|
|
2085
1835
|
/**
|
|
2086
1836
|
* If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
|
|
2087
1837
|
*/
|
|
@@ -2177,16 +1927,6 @@ declare module 'stripe' {
|
|
|
2177
1927
|
*/
|
|
2178
1928
|
paypal?: PaymentMethodData.Paypal;
|
|
2179
1929
|
|
|
2180
|
-
/**
|
|
2181
|
-
* If this is a `paypay` PaymentMethod, this hash contains details about the PayPay payment method.
|
|
2182
|
-
*/
|
|
2183
|
-
paypay?: PaymentMethodData.Paypay;
|
|
2184
|
-
|
|
2185
|
-
/**
|
|
2186
|
-
* If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
|
|
2187
|
-
*/
|
|
2188
|
-
payto?: PaymentMethodData.Payto;
|
|
2189
|
-
|
|
2190
1930
|
/**
|
|
2191
1931
|
* If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
|
|
2192
1932
|
*/
|
|
@@ -2197,21 +1937,11 @@ declare module 'stripe' {
|
|
|
2197
1937
|
*/
|
|
2198
1938
|
promptpay?: PaymentMethodData.Promptpay;
|
|
2199
1939
|
|
|
2200
|
-
/**
|
|
2201
|
-
* If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
|
|
2202
|
-
*/
|
|
2203
|
-
qris?: PaymentMethodData.Qris;
|
|
2204
|
-
|
|
2205
1940
|
/**
|
|
2206
1941
|
* Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
|
|
2207
1942
|
*/
|
|
2208
1943
|
radar_options?: PaymentMethodData.RadarOptions;
|
|
2209
1944
|
|
|
2210
|
-
/**
|
|
2211
|
-
* If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
|
|
2212
|
-
*/
|
|
2213
|
-
rechnung?: PaymentMethodData.Rechnung;
|
|
2214
|
-
|
|
2215
1945
|
/**
|
|
2216
1946
|
* If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
|
|
2217
1947
|
*/
|
|
@@ -2232,21 +1962,11 @@ declare module 'stripe' {
|
|
|
2232
1962
|
*/
|
|
2233
1963
|
sepa_debit?: PaymentMethodData.SepaDebit;
|
|
2234
1964
|
|
|
2235
|
-
/**
|
|
2236
|
-
* If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
|
|
2237
|
-
*/
|
|
2238
|
-
shopeepay?: PaymentMethodData.Shopeepay;
|
|
2239
|
-
|
|
2240
1965
|
/**
|
|
2241
1966
|
* If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
|
|
2242
1967
|
*/
|
|
2243
1968
|
sofort?: PaymentMethodData.Sofort;
|
|
2244
1969
|
|
|
2245
|
-
/**
|
|
2246
|
-
* This hash contains details about the Stripe balance payment method.
|
|
2247
|
-
*/
|
|
2248
|
-
stripe_balance?: PaymentMethodData.StripeBalance;
|
|
2249
|
-
|
|
2250
1970
|
/**
|
|
2251
1971
|
* If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
|
|
2252
1972
|
*/
|
|
@@ -2459,21 +2179,8 @@ declare module 'stripe' {
|
|
|
2459
2179
|
|
|
2460
2180
|
interface Giropay {}
|
|
2461
2181
|
|
|
2462
|
-
interface Gopay {}
|
|
2463
|
-
|
|
2464
2182
|
interface Grabpay {}
|
|
2465
2183
|
|
|
2466
|
-
interface IdBankTransfer {
|
|
2467
|
-
/**
|
|
2468
|
-
* Bank where the account is held.
|
|
2469
|
-
*/
|
|
2470
|
-
bank?: IdBankTransfer.Bank;
|
|
2471
|
-
}
|
|
2472
|
-
|
|
2473
|
-
namespace IdBankTransfer {
|
|
2474
|
-
type Bank = 'bca' | 'bni' | 'bri' | 'cimb' | 'permata';
|
|
2475
|
-
}
|
|
2476
|
-
|
|
2477
2184
|
interface Ideal {
|
|
2478
2185
|
/**
|
|
2479
2186
|
* The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
|
@@ -2631,31 +2338,10 @@ declare module 'stripe' {
|
|
|
2631
2338
|
|
|
2632
2339
|
interface Paypal {}
|
|
2633
2340
|
|
|
2634
|
-
interface Paypay {}
|
|
2635
|
-
|
|
2636
|
-
interface Payto {
|
|
2637
|
-
/**
|
|
2638
|
-
* The account number for the bank account.
|
|
2639
|
-
*/
|
|
2640
|
-
account_number?: string;
|
|
2641
|
-
|
|
2642
|
-
/**
|
|
2643
|
-
* Bank-State-Branch number of the bank account.
|
|
2644
|
-
*/
|
|
2645
|
-
bsb_number?: string;
|
|
2646
|
-
|
|
2647
|
-
/**
|
|
2648
|
-
* The PayID alias for the bank account.
|
|
2649
|
-
*/
|
|
2650
|
-
pay_id?: string;
|
|
2651
|
-
}
|
|
2652
|
-
|
|
2653
2341
|
interface Pix {}
|
|
2654
2342
|
|
|
2655
2343
|
interface Promptpay {}
|
|
2656
2344
|
|
|
2657
|
-
interface Qris {}
|
|
2658
|
-
|
|
2659
2345
|
interface RadarOptions {
|
|
2660
2346
|
/**
|
|
2661
2347
|
* A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
|
|
@@ -2663,32 +2349,6 @@ declare module 'stripe' {
|
|
|
2663
2349
|
session?: string;
|
|
2664
2350
|
}
|
|
2665
2351
|
|
|
2666
|
-
interface Rechnung {
|
|
2667
|
-
/**
|
|
2668
|
-
* Customer's date of birth
|
|
2669
|
-
*/
|
|
2670
|
-
dob: Rechnung.Dob;
|
|
2671
|
-
}
|
|
2672
|
-
|
|
2673
|
-
namespace Rechnung {
|
|
2674
|
-
interface Dob {
|
|
2675
|
-
/**
|
|
2676
|
-
* The day of birth, between 1 and 31.
|
|
2677
|
-
*/
|
|
2678
|
-
day: number;
|
|
2679
|
-
|
|
2680
|
-
/**
|
|
2681
|
-
* The month of birth, between 1 and 12.
|
|
2682
|
-
*/
|
|
2683
|
-
month: number;
|
|
2684
|
-
|
|
2685
|
-
/**
|
|
2686
|
-
* The four-digit year of birth.
|
|
2687
|
-
*/
|
|
2688
|
-
year: number;
|
|
2689
|
-
}
|
|
2690
|
-
}
|
|
2691
|
-
|
|
2692
2352
|
interface RevolutPay {}
|
|
2693
2353
|
|
|
2694
2354
|
interface SamsungPay {}
|
|
@@ -2702,8 +2362,6 @@ declare module 'stripe' {
|
|
|
2702
2362
|
iban: string;
|
|
2703
2363
|
}
|
|
2704
2364
|
|
|
2705
|
-
interface Shopeepay {}
|
|
2706
|
-
|
|
2707
2365
|
interface Sofort {
|
|
2708
2366
|
/**
|
|
2709
2367
|
* Two-letter ISO code representing the country the bank account is located in.
|
|
@@ -2715,22 +2373,6 @@ declare module 'stripe' {
|
|
|
2715
2373
|
type Country = 'AT' | 'BE' | 'DE' | 'ES' | 'IT' | 'NL';
|
|
2716
2374
|
}
|
|
2717
2375
|
|
|
2718
|
-
interface StripeBalance {
|
|
2719
|
-
/**
|
|
2720
|
-
* The connected account ID whose Stripe balance to use as the source of payment
|
|
2721
|
-
*/
|
|
2722
|
-
account?: string;
|
|
2723
|
-
|
|
2724
|
-
/**
|
|
2725
|
-
* The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
|
|
2726
|
-
*/
|
|
2727
|
-
source_type?: StripeBalance.SourceType;
|
|
2728
|
-
}
|
|
2729
|
-
|
|
2730
|
-
namespace StripeBalance {
|
|
2731
|
-
type SourceType = 'bank_account' | 'card' | 'fpx';
|
|
2732
|
-
}
|
|
2733
|
-
|
|
2734
2376
|
interface Swish {}
|
|
2735
2377
|
|
|
2736
2378
|
interface Twint {}
|
|
@@ -2754,9 +2396,7 @@ declare module 'stripe' {
|
|
|
2754
2396
|
| 'eps'
|
|
2755
2397
|
| 'fpx'
|
|
2756
2398
|
| 'giropay'
|
|
2757
|
-
| 'gopay'
|
|
2758
2399
|
| 'grabpay'
|
|
2759
|
-
| 'id_bank_transfer'
|
|
2760
2400
|
| 'ideal'
|
|
2761
2401
|
| 'kakao_pay'
|
|
2762
2402
|
| 'klarna'
|
|
@@ -2774,19 +2414,13 @@ declare module 'stripe' {
|
|
|
2774
2414
|
| 'payco'
|
|
2775
2415
|
| 'paynow'
|
|
2776
2416
|
| 'paypal'
|
|
2777
|
-
| 'paypay'
|
|
2778
|
-
| 'payto'
|
|
2779
2417
|
| 'pix'
|
|
2780
2418
|
| 'promptpay'
|
|
2781
|
-
| 'qris'
|
|
2782
|
-
| 'rechnung'
|
|
2783
2419
|
| 'revolut_pay'
|
|
2784
2420
|
| 'samsung_pay'
|
|
2785
2421
|
| 'satispay'
|
|
2786
2422
|
| 'sepa_debit'
|
|
2787
|
-
| 'shopeepay'
|
|
2788
2423
|
| 'sofort'
|
|
2789
|
-
| 'stripe_balance'
|
|
2790
2424
|
| 'swish'
|
|
2791
2425
|
| 'twint'
|
|
2792
2426
|
| 'us_bank_account'
|
|
@@ -2872,16 +2506,6 @@ declare module 'stripe' {
|
|
|
2872
2506
|
*/
|
|
2873
2507
|
paypal?: PaymentMethodOptions.Paypal;
|
|
2874
2508
|
|
|
2875
|
-
/**
|
|
2876
|
-
* If this is a `payto` SetupIntent, this sub-hash contains details about the PayTo payment method options.
|
|
2877
|
-
*/
|
|
2878
|
-
payto?: PaymentMethodOptions.Payto;
|
|
2879
|
-
|
|
2880
|
-
/**
|
|
2881
|
-
* If this is a `pix` SetupIntent, this sub-hash contains details about the Pix payment method options.
|
|
2882
|
-
*/
|
|
2883
|
-
pix?: PaymentMethodOptions.Pix;
|
|
2884
|
-
|
|
2885
2509
|
/**
|
|
2886
2510
|
* If this is a `sepa_debit` SetupIntent, this sub-hash contains details about the SEPA Debit payment method options.
|
|
2887
2511
|
*/
|
|
@@ -3329,150 +2953,6 @@ declare module 'stripe' {
|
|
|
3329
2953
|
* The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
|
|
3330
2954
|
*/
|
|
3331
2955
|
billing_agreement_id?: string;
|
|
3332
|
-
|
|
3333
|
-
currency?: string;
|
|
3334
|
-
|
|
3335
|
-
/**
|
|
3336
|
-
* 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.
|
|
3337
|
-
*/
|
|
3338
|
-
subsellers?: Array<string>;
|
|
3339
|
-
}
|
|
3340
|
-
|
|
3341
|
-
interface Payto {
|
|
3342
|
-
/**
|
|
3343
|
-
* Additional fields for Mandate creation.
|
|
3344
|
-
*/
|
|
3345
|
-
mandate_options?: Payto.MandateOptions;
|
|
3346
|
-
}
|
|
3347
|
-
|
|
3348
|
-
namespace Payto {
|
|
3349
|
-
interface MandateOptions {
|
|
3350
|
-
/**
|
|
3351
|
-
* Amount that will be collected. It is required when `amount_type` is `fixed`.
|
|
3352
|
-
*/
|
|
3353
|
-
amount?: number;
|
|
3354
|
-
|
|
3355
|
-
/**
|
|
3356
|
-
* 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.
|
|
3357
|
-
*/
|
|
3358
|
-
amount_type?: MandateOptions.AmountType;
|
|
3359
|
-
|
|
3360
|
-
/**
|
|
3361
|
-
* Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
|
|
3362
|
-
*/
|
|
3363
|
-
end_date?: string;
|
|
3364
|
-
|
|
3365
|
-
/**
|
|
3366
|
-
* The periodicity at which payments will be collected.
|
|
3367
|
-
*/
|
|
3368
|
-
payment_schedule?: MandateOptions.PaymentSchedule;
|
|
3369
|
-
|
|
3370
|
-
/**
|
|
3371
|
-
* 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.
|
|
3372
|
-
*/
|
|
3373
|
-
payments_per_period?: number;
|
|
3374
|
-
|
|
3375
|
-
/**
|
|
3376
|
-
* The purpose for which payments are made. Defaults to retail.
|
|
3377
|
-
*/
|
|
3378
|
-
purpose?: MandateOptions.Purpose;
|
|
3379
|
-
|
|
3380
|
-
/**
|
|
3381
|
-
* Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
|
|
3382
|
-
*/
|
|
3383
|
-
start_date?: string;
|
|
3384
|
-
}
|
|
3385
|
-
|
|
3386
|
-
namespace MandateOptions {
|
|
3387
|
-
type AmountType = 'fixed' | 'maximum';
|
|
3388
|
-
|
|
3389
|
-
type PaymentSchedule =
|
|
3390
|
-
| 'adhoc'
|
|
3391
|
-
| 'annual'
|
|
3392
|
-
| 'daily'
|
|
3393
|
-
| 'fortnightly'
|
|
3394
|
-
| 'monthly'
|
|
3395
|
-
| 'quarterly'
|
|
3396
|
-
| 'semi_annual'
|
|
3397
|
-
| 'weekly';
|
|
3398
|
-
|
|
3399
|
-
type Purpose =
|
|
3400
|
-
| 'dependant_support'
|
|
3401
|
-
| 'government'
|
|
3402
|
-
| 'loan'
|
|
3403
|
-
| 'mortgage'
|
|
3404
|
-
| 'other'
|
|
3405
|
-
| 'pension'
|
|
3406
|
-
| 'personal'
|
|
3407
|
-
| 'retail'
|
|
3408
|
-
| 'salary'
|
|
3409
|
-
| 'tax'
|
|
3410
|
-
| 'utility';
|
|
3411
|
-
}
|
|
3412
|
-
}
|
|
3413
|
-
|
|
3414
|
-
interface Pix {
|
|
3415
|
-
/**
|
|
3416
|
-
* Additional fields for mandate creation.
|
|
3417
|
-
*/
|
|
3418
|
-
mandate_options?: Pix.MandateOptions;
|
|
3419
|
-
}
|
|
3420
|
-
|
|
3421
|
-
namespace Pix {
|
|
3422
|
-
interface MandateOptions {
|
|
3423
|
-
/**
|
|
3424
|
-
* Amount to be charged for future payments. Required when `amount_type=fixed`. If not provided for `amount_type=maximum`, defaults to 40000.
|
|
3425
|
-
*/
|
|
3426
|
-
amount?: number;
|
|
3427
|
-
|
|
3428
|
-
/**
|
|
3429
|
-
* Determines if the amount includes the IOF tax. Defaults to `never`.
|
|
3430
|
-
*/
|
|
3431
|
-
amount_includes_iof?: MandateOptions.AmountIncludesIof;
|
|
3432
|
-
|
|
3433
|
-
/**
|
|
3434
|
-
* Type of amount. Defaults to `maximum`.
|
|
3435
|
-
*/
|
|
3436
|
-
amount_type?: MandateOptions.AmountType;
|
|
3437
|
-
|
|
3438
|
-
/**
|
|
3439
|
-
* Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Only `brl` is supported currently.
|
|
3440
|
-
*/
|
|
3441
|
-
currency?: string;
|
|
3442
|
-
|
|
3443
|
-
/**
|
|
3444
|
-
* 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.
|
|
3445
|
-
*/
|
|
3446
|
-
end_date?: string;
|
|
3447
|
-
|
|
3448
|
-
/**
|
|
3449
|
-
* Schedule at which the future payments will be charged. Defaults to `weekly`.
|
|
3450
|
-
*/
|
|
3451
|
-
payment_schedule?: MandateOptions.PaymentSchedule;
|
|
3452
|
-
|
|
3453
|
-
/**
|
|
3454
|
-
* Subscription name displayed to buyers in their bank app. Defaults to the displayable business name.
|
|
3455
|
-
*/
|
|
3456
|
-
reference?: string;
|
|
3457
|
-
|
|
3458
|
-
/**
|
|
3459
|
-
* 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.
|
|
3460
|
-
*/
|
|
3461
|
-
start_date?: string;
|
|
3462
|
-
}
|
|
3463
|
-
|
|
3464
|
-
namespace MandateOptions {
|
|
3465
|
-
type AmountIncludesIof = 'always' | 'never';
|
|
3466
|
-
|
|
3467
|
-
type AmountType = 'fixed' | 'maximum';
|
|
3468
|
-
|
|
3469
|
-
type PaymentSchedule =
|
|
3470
|
-
| 'halfyearly'
|
|
3471
|
-
| 'monthly'
|
|
3472
|
-
| 'quarterly'
|
|
3473
|
-
| 'weekly'
|
|
3474
|
-
| 'yearly';
|
|
3475
|
-
}
|
|
3476
2956
|
}
|
|
3477
2957
|
|
|
3478
2958
|
interface SepaDebit {
|
|
@@ -3520,11 +3000,6 @@ declare module 'stripe' {
|
|
|
3520
3000
|
*/
|
|
3521
3001
|
filters?: FinancialConnections.Filters;
|
|
3522
3002
|
|
|
3523
|
-
/**
|
|
3524
|
-
* Customize manual entry behavior
|
|
3525
|
-
*/
|
|
3526
|
-
manual_entry?: FinancialConnections.ManualEntry;
|
|
3527
|
-
|
|
3528
3003
|
/**
|
|
3529
3004
|
* 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`.
|
|
3530
3005
|
*/
|
|
@@ -3547,39 +3022,19 @@ declare module 'stripe' {
|
|
|
3547
3022
|
* The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
|
|
3548
3023
|
*/
|
|
3549
3024
|
account_subcategories?: Array<Filters.AccountSubcategory>;
|
|
3550
|
-
|
|
3551
|
-
/**
|
|
3552
|
-
* ID of the institution to use to filter for selectable accounts.
|
|
3553
|
-
*/
|
|
3554
|
-
institution?: string;
|
|
3555
3025
|
}
|
|
3556
3026
|
|
|
3557
3027
|
namespace Filters {
|
|
3558
3028
|
type AccountSubcategory = 'checking' | 'savings';
|
|
3559
3029
|
}
|
|
3560
3030
|
|
|
3561
|
-
interface ManualEntry {
|
|
3562
|
-
/**
|
|
3563
|
-
* Settings for configuring manual entry of account details.
|
|
3564
|
-
*/
|
|
3565
|
-
mode: ManualEntry.Mode;
|
|
3566
|
-
}
|
|
3567
|
-
|
|
3568
|
-
namespace ManualEntry {
|
|
3569
|
-
type Mode = 'automatic' | 'custom';
|
|
3570
|
-
}
|
|
3571
|
-
|
|
3572
3031
|
type Permission =
|
|
3573
3032
|
| 'balances'
|
|
3574
3033
|
| 'ownership'
|
|
3575
3034
|
| 'payment_method'
|
|
3576
3035
|
| 'transactions';
|
|
3577
3036
|
|
|
3578
|
-
type Prefetch =
|
|
3579
|
-
| 'balances'
|
|
3580
|
-
| 'inferred_balances'
|
|
3581
|
-
| 'ownership'
|
|
3582
|
-
| 'transactions';
|
|
3037
|
+
type Prefetch = 'balances' | 'ownership' | 'transactions';
|
|
3583
3038
|
}
|
|
3584
3039
|
|
|
3585
3040
|
interface MandateOptions {
|
|
@@ -3603,31 +3058,6 @@ declare module 'stripe' {
|
|
|
3603
3058
|
type VerificationMethod = 'automatic' | 'instant' | 'microdeposits';
|
|
3604
3059
|
}
|
|
3605
3060
|
}
|
|
3606
|
-
|
|
3607
|
-
interface SetupDetails {
|
|
3608
|
-
/**
|
|
3609
|
-
* Benefit details for this SetupIntent
|
|
3610
|
-
*/
|
|
3611
|
-
benefit?: SetupDetails.Benefit;
|
|
3612
|
-
}
|
|
3613
|
-
|
|
3614
|
-
namespace SetupDetails {
|
|
3615
|
-
interface Benefit {
|
|
3616
|
-
/**
|
|
3617
|
-
* French meal voucher benefit details for this SetupIntent.
|
|
3618
|
-
*/
|
|
3619
|
-
fr_meal_voucher?: Benefit.FrMealVoucher;
|
|
3620
|
-
}
|
|
3621
|
-
|
|
3622
|
-
namespace Benefit {
|
|
3623
|
-
interface FrMealVoucher {
|
|
3624
|
-
/**
|
|
3625
|
-
* The 14-digit SIRET of the meal voucher acceptor.
|
|
3626
|
-
*/
|
|
3627
|
-
siret: string;
|
|
3628
|
-
}
|
|
3629
|
-
}
|
|
3630
|
-
}
|
|
3631
3061
|
}
|
|
3632
3062
|
|
|
3633
3063
|
interface SetupIntentListParams extends PaginationParams {
|
|
@@ -3648,11 +3078,6 @@ declare module 'stripe' {
|
|
|
3648
3078
|
*/
|
|
3649
3079
|
customer?: string;
|
|
3650
3080
|
|
|
3651
|
-
/**
|
|
3652
|
-
* Only return SetupIntents for the account specified by this customer ID.
|
|
3653
|
-
*/
|
|
3654
|
-
customer_account?: string;
|
|
3655
|
-
|
|
3656
3081
|
/**
|
|
3657
3082
|
* Specifies which fields in the response should be expanded.
|
|
3658
3083
|
*/
|
|
@@ -3721,11 +3146,6 @@ declare module 'stripe' {
|
|
|
3721
3146
|
*/
|
|
3722
3147
|
return_url?: string;
|
|
3723
3148
|
|
|
3724
|
-
/**
|
|
3725
|
-
* Provides industry-specific information about the SetupIntent.
|
|
3726
|
-
*/
|
|
3727
|
-
setup_details?: SetupIntentConfirmParams.SetupDetails;
|
|
3728
|
-
|
|
3729
3149
|
/**
|
|
3730
3150
|
* Set to `true` when confirming server-side and using Stripe.js, iOS, or Android client-side SDKs to handle the next actions.
|
|
3731
3151
|
*/
|
|
@@ -3883,21 +3303,11 @@ declare module 'stripe' {
|
|
|
3883
3303
|
*/
|
|
3884
3304
|
giropay?: PaymentMethodData.Giropay;
|
|
3885
3305
|
|
|
3886
|
-
/**
|
|
3887
|
-
* If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
|
|
3888
|
-
*/
|
|
3889
|
-
gopay?: PaymentMethodData.Gopay;
|
|
3890
|
-
|
|
3891
3306
|
/**
|
|
3892
3307
|
* If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
|
|
3893
3308
|
*/
|
|
3894
3309
|
grabpay?: PaymentMethodData.Grabpay;
|
|
3895
3310
|
|
|
3896
|
-
/**
|
|
3897
|
-
* If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
|
|
3898
|
-
*/
|
|
3899
|
-
id_bank_transfer?: PaymentMethodData.IdBankTransfer;
|
|
3900
|
-
|
|
3901
3311
|
/**
|
|
3902
3312
|
* If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
|
|
3903
3313
|
*/
|
|
@@ -3993,16 +3403,6 @@ declare module 'stripe' {
|
|
|
3993
3403
|
*/
|
|
3994
3404
|
paypal?: PaymentMethodData.Paypal;
|
|
3995
3405
|
|
|
3996
|
-
/**
|
|
3997
|
-
* If this is a `paypay` PaymentMethod, this hash contains details about the PayPay payment method.
|
|
3998
|
-
*/
|
|
3999
|
-
paypay?: PaymentMethodData.Paypay;
|
|
4000
|
-
|
|
4001
|
-
/**
|
|
4002
|
-
* If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
|
|
4003
|
-
*/
|
|
4004
|
-
payto?: PaymentMethodData.Payto;
|
|
4005
|
-
|
|
4006
3406
|
/**
|
|
4007
3407
|
* If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
|
|
4008
3408
|
*/
|
|
@@ -4013,21 +3413,11 @@ declare module 'stripe' {
|
|
|
4013
3413
|
*/
|
|
4014
3414
|
promptpay?: PaymentMethodData.Promptpay;
|
|
4015
3415
|
|
|
4016
|
-
/**
|
|
4017
|
-
* If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
|
|
4018
|
-
*/
|
|
4019
|
-
qris?: PaymentMethodData.Qris;
|
|
4020
|
-
|
|
4021
3416
|
/**
|
|
4022
3417
|
* Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
|
|
4023
3418
|
*/
|
|
4024
3419
|
radar_options?: PaymentMethodData.RadarOptions;
|
|
4025
3420
|
|
|
4026
|
-
/**
|
|
4027
|
-
* If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
|
|
4028
|
-
*/
|
|
4029
|
-
rechnung?: PaymentMethodData.Rechnung;
|
|
4030
|
-
|
|
4031
3421
|
/**
|
|
4032
3422
|
* If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
|
|
4033
3423
|
*/
|
|
@@ -4048,21 +3438,11 @@ declare module 'stripe' {
|
|
|
4048
3438
|
*/
|
|
4049
3439
|
sepa_debit?: PaymentMethodData.SepaDebit;
|
|
4050
3440
|
|
|
4051
|
-
/**
|
|
4052
|
-
* If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
|
|
4053
|
-
*/
|
|
4054
|
-
shopeepay?: PaymentMethodData.Shopeepay;
|
|
4055
|
-
|
|
4056
3441
|
/**
|
|
4057
3442
|
* If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
|
|
4058
3443
|
*/
|
|
4059
3444
|
sofort?: PaymentMethodData.Sofort;
|
|
4060
3445
|
|
|
4061
|
-
/**
|
|
4062
|
-
* This hash contains details about the Stripe balance payment method.
|
|
4063
|
-
*/
|
|
4064
|
-
stripe_balance?: PaymentMethodData.StripeBalance;
|
|
4065
|
-
|
|
4066
3446
|
/**
|
|
4067
3447
|
* If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
|
|
4068
3448
|
*/
|
|
@@ -4275,21 +3655,8 @@ declare module 'stripe' {
|
|
|
4275
3655
|
|
|
4276
3656
|
interface Giropay {}
|
|
4277
3657
|
|
|
4278
|
-
interface Gopay {}
|
|
4279
|
-
|
|
4280
3658
|
interface Grabpay {}
|
|
4281
3659
|
|
|
4282
|
-
interface IdBankTransfer {
|
|
4283
|
-
/**
|
|
4284
|
-
* Bank where the account is held.
|
|
4285
|
-
*/
|
|
4286
|
-
bank?: IdBankTransfer.Bank;
|
|
4287
|
-
}
|
|
4288
|
-
|
|
4289
|
-
namespace IdBankTransfer {
|
|
4290
|
-
type Bank = 'bca' | 'bni' | 'bri' | 'cimb' | 'permata';
|
|
4291
|
-
}
|
|
4292
|
-
|
|
4293
3660
|
interface Ideal {
|
|
4294
3661
|
/**
|
|
4295
3662
|
* The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
|
@@ -4447,31 +3814,10 @@ declare module 'stripe' {
|
|
|
4447
3814
|
|
|
4448
3815
|
interface Paypal {}
|
|
4449
3816
|
|
|
4450
|
-
interface Paypay {}
|
|
4451
|
-
|
|
4452
|
-
interface Payto {
|
|
4453
|
-
/**
|
|
4454
|
-
* The account number for the bank account.
|
|
4455
|
-
*/
|
|
4456
|
-
account_number?: string;
|
|
4457
|
-
|
|
4458
|
-
/**
|
|
4459
|
-
* Bank-State-Branch number of the bank account.
|
|
4460
|
-
*/
|
|
4461
|
-
bsb_number?: string;
|
|
4462
|
-
|
|
4463
|
-
/**
|
|
4464
|
-
* The PayID alias for the bank account.
|
|
4465
|
-
*/
|
|
4466
|
-
pay_id?: string;
|
|
4467
|
-
}
|
|
4468
|
-
|
|
4469
3817
|
interface Pix {}
|
|
4470
3818
|
|
|
4471
3819
|
interface Promptpay {}
|
|
4472
3820
|
|
|
4473
|
-
interface Qris {}
|
|
4474
|
-
|
|
4475
3821
|
interface RadarOptions {
|
|
4476
3822
|
/**
|
|
4477
3823
|
* A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
|
|
@@ -4479,32 +3825,6 @@ declare module 'stripe' {
|
|
|
4479
3825
|
session?: string;
|
|
4480
3826
|
}
|
|
4481
3827
|
|
|
4482
|
-
interface Rechnung {
|
|
4483
|
-
/**
|
|
4484
|
-
* Customer's date of birth
|
|
4485
|
-
*/
|
|
4486
|
-
dob: Rechnung.Dob;
|
|
4487
|
-
}
|
|
4488
|
-
|
|
4489
|
-
namespace Rechnung {
|
|
4490
|
-
interface Dob {
|
|
4491
|
-
/**
|
|
4492
|
-
* The day of birth, between 1 and 31.
|
|
4493
|
-
*/
|
|
4494
|
-
day: number;
|
|
4495
|
-
|
|
4496
|
-
/**
|
|
4497
|
-
* The month of birth, between 1 and 12.
|
|
4498
|
-
*/
|
|
4499
|
-
month: number;
|
|
4500
|
-
|
|
4501
|
-
/**
|
|
4502
|
-
* The four-digit year of birth.
|
|
4503
|
-
*/
|
|
4504
|
-
year: number;
|
|
4505
|
-
}
|
|
4506
|
-
}
|
|
4507
|
-
|
|
4508
3828
|
interface RevolutPay {}
|
|
4509
3829
|
|
|
4510
3830
|
interface SamsungPay {}
|
|
@@ -4518,8 +3838,6 @@ declare module 'stripe' {
|
|
|
4518
3838
|
iban: string;
|
|
4519
3839
|
}
|
|
4520
3840
|
|
|
4521
|
-
interface Shopeepay {}
|
|
4522
|
-
|
|
4523
3841
|
interface Sofort {
|
|
4524
3842
|
/**
|
|
4525
3843
|
* Two-letter ISO code representing the country the bank account is located in.
|
|
@@ -4531,22 +3849,6 @@ declare module 'stripe' {
|
|
|
4531
3849
|
type Country = 'AT' | 'BE' | 'DE' | 'ES' | 'IT' | 'NL';
|
|
4532
3850
|
}
|
|
4533
3851
|
|
|
4534
|
-
interface StripeBalance {
|
|
4535
|
-
/**
|
|
4536
|
-
* The connected account ID whose Stripe balance to use as the source of payment
|
|
4537
|
-
*/
|
|
4538
|
-
account?: string;
|
|
4539
|
-
|
|
4540
|
-
/**
|
|
4541
|
-
* The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
|
|
4542
|
-
*/
|
|
4543
|
-
source_type?: StripeBalance.SourceType;
|
|
4544
|
-
}
|
|
4545
|
-
|
|
4546
|
-
namespace StripeBalance {
|
|
4547
|
-
type SourceType = 'bank_account' | 'card' | 'fpx';
|
|
4548
|
-
}
|
|
4549
|
-
|
|
4550
3852
|
interface Swish {}
|
|
4551
3853
|
|
|
4552
3854
|
interface Twint {}
|
|
@@ -4570,9 +3872,7 @@ declare module 'stripe' {
|
|
|
4570
3872
|
| 'eps'
|
|
4571
3873
|
| 'fpx'
|
|
4572
3874
|
| 'giropay'
|
|
4573
|
-
| 'gopay'
|
|
4574
3875
|
| 'grabpay'
|
|
4575
|
-
| 'id_bank_transfer'
|
|
4576
3876
|
| 'ideal'
|
|
4577
3877
|
| 'kakao_pay'
|
|
4578
3878
|
| 'klarna'
|
|
@@ -4590,19 +3890,13 @@ declare module 'stripe' {
|
|
|
4590
3890
|
| 'payco'
|
|
4591
3891
|
| 'paynow'
|
|
4592
3892
|
| 'paypal'
|
|
4593
|
-
| 'paypay'
|
|
4594
|
-
| 'payto'
|
|
4595
3893
|
| 'pix'
|
|
4596
3894
|
| 'promptpay'
|
|
4597
|
-
| 'qris'
|
|
4598
|
-
| 'rechnung'
|
|
4599
3895
|
| 'revolut_pay'
|
|
4600
3896
|
| 'samsung_pay'
|
|
4601
3897
|
| 'satispay'
|
|
4602
3898
|
| 'sepa_debit'
|
|
4603
|
-
| 'shopeepay'
|
|
4604
3899
|
| 'sofort'
|
|
4605
|
-
| 'stripe_balance'
|
|
4606
3900
|
| 'swish'
|
|
4607
3901
|
| 'twint'
|
|
4608
3902
|
| 'us_bank_account'
|
|
@@ -4688,16 +3982,6 @@ declare module 'stripe' {
|
|
|
4688
3982
|
*/
|
|
4689
3983
|
paypal?: PaymentMethodOptions.Paypal;
|
|
4690
3984
|
|
|
4691
|
-
/**
|
|
4692
|
-
* If this is a `payto` SetupIntent, this sub-hash contains details about the PayTo payment method options.
|
|
4693
|
-
*/
|
|
4694
|
-
payto?: PaymentMethodOptions.Payto;
|
|
4695
|
-
|
|
4696
|
-
/**
|
|
4697
|
-
* If this is a `pix` SetupIntent, this sub-hash contains details about the Pix payment method options.
|
|
4698
|
-
*/
|
|
4699
|
-
pix?: PaymentMethodOptions.Pix;
|
|
4700
|
-
|
|
4701
3985
|
/**
|
|
4702
3986
|
* If this is a `sepa_debit` SetupIntent, this sub-hash contains details about the SEPA Debit payment method options.
|
|
4703
3987
|
*/
|
|
@@ -5145,150 +4429,6 @@ declare module 'stripe' {
|
|
|
5145
4429
|
* The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
|
|
5146
4430
|
*/
|
|
5147
4431
|
billing_agreement_id?: string;
|
|
5148
|
-
|
|
5149
|
-
currency?: string;
|
|
5150
|
-
|
|
5151
|
-
/**
|
|
5152
|
-
* 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.
|
|
5153
|
-
*/
|
|
5154
|
-
subsellers?: Array<string>;
|
|
5155
|
-
}
|
|
5156
|
-
|
|
5157
|
-
interface Payto {
|
|
5158
|
-
/**
|
|
5159
|
-
* Additional fields for Mandate creation.
|
|
5160
|
-
*/
|
|
5161
|
-
mandate_options?: Payto.MandateOptions;
|
|
5162
|
-
}
|
|
5163
|
-
|
|
5164
|
-
namespace Payto {
|
|
5165
|
-
interface MandateOptions {
|
|
5166
|
-
/**
|
|
5167
|
-
* Amount that will be collected. It is required when `amount_type` is `fixed`.
|
|
5168
|
-
*/
|
|
5169
|
-
amount?: number;
|
|
5170
|
-
|
|
5171
|
-
/**
|
|
5172
|
-
* 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.
|
|
5173
|
-
*/
|
|
5174
|
-
amount_type?: MandateOptions.AmountType;
|
|
5175
|
-
|
|
5176
|
-
/**
|
|
5177
|
-
* Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
|
|
5178
|
-
*/
|
|
5179
|
-
end_date?: string;
|
|
5180
|
-
|
|
5181
|
-
/**
|
|
5182
|
-
* The periodicity at which payments will be collected.
|
|
5183
|
-
*/
|
|
5184
|
-
payment_schedule?: MandateOptions.PaymentSchedule;
|
|
5185
|
-
|
|
5186
|
-
/**
|
|
5187
|
-
* 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.
|
|
5188
|
-
*/
|
|
5189
|
-
payments_per_period?: number;
|
|
5190
|
-
|
|
5191
|
-
/**
|
|
5192
|
-
* The purpose for which payments are made. Defaults to retail.
|
|
5193
|
-
*/
|
|
5194
|
-
purpose?: MandateOptions.Purpose;
|
|
5195
|
-
|
|
5196
|
-
/**
|
|
5197
|
-
* Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
|
|
5198
|
-
*/
|
|
5199
|
-
start_date?: string;
|
|
5200
|
-
}
|
|
5201
|
-
|
|
5202
|
-
namespace MandateOptions {
|
|
5203
|
-
type AmountType = 'fixed' | 'maximum';
|
|
5204
|
-
|
|
5205
|
-
type PaymentSchedule =
|
|
5206
|
-
| 'adhoc'
|
|
5207
|
-
| 'annual'
|
|
5208
|
-
| 'daily'
|
|
5209
|
-
| 'fortnightly'
|
|
5210
|
-
| 'monthly'
|
|
5211
|
-
| 'quarterly'
|
|
5212
|
-
| 'semi_annual'
|
|
5213
|
-
| 'weekly';
|
|
5214
|
-
|
|
5215
|
-
type Purpose =
|
|
5216
|
-
| 'dependant_support'
|
|
5217
|
-
| 'government'
|
|
5218
|
-
| 'loan'
|
|
5219
|
-
| 'mortgage'
|
|
5220
|
-
| 'other'
|
|
5221
|
-
| 'pension'
|
|
5222
|
-
| 'personal'
|
|
5223
|
-
| 'retail'
|
|
5224
|
-
| 'salary'
|
|
5225
|
-
| 'tax'
|
|
5226
|
-
| 'utility';
|
|
5227
|
-
}
|
|
5228
|
-
}
|
|
5229
|
-
|
|
5230
|
-
interface Pix {
|
|
5231
|
-
/**
|
|
5232
|
-
* Additional fields for mandate creation.
|
|
5233
|
-
*/
|
|
5234
|
-
mandate_options?: Pix.MandateOptions;
|
|
5235
|
-
}
|
|
5236
|
-
|
|
5237
|
-
namespace Pix {
|
|
5238
|
-
interface MandateOptions {
|
|
5239
|
-
/**
|
|
5240
|
-
* Amount to be charged for future payments. Required when `amount_type=fixed`. If not provided for `amount_type=maximum`, defaults to 40000.
|
|
5241
|
-
*/
|
|
5242
|
-
amount?: number;
|
|
5243
|
-
|
|
5244
|
-
/**
|
|
5245
|
-
* Determines if the amount includes the IOF tax. Defaults to `never`.
|
|
5246
|
-
*/
|
|
5247
|
-
amount_includes_iof?: MandateOptions.AmountIncludesIof;
|
|
5248
|
-
|
|
5249
|
-
/**
|
|
5250
|
-
* Type of amount. Defaults to `maximum`.
|
|
5251
|
-
*/
|
|
5252
|
-
amount_type?: MandateOptions.AmountType;
|
|
5253
|
-
|
|
5254
|
-
/**
|
|
5255
|
-
* Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Only `brl` is supported currently.
|
|
5256
|
-
*/
|
|
5257
|
-
currency?: string;
|
|
5258
|
-
|
|
5259
|
-
/**
|
|
5260
|
-
* 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.
|
|
5261
|
-
*/
|
|
5262
|
-
end_date?: string;
|
|
5263
|
-
|
|
5264
|
-
/**
|
|
5265
|
-
* Schedule at which the future payments will be charged. Defaults to `weekly`.
|
|
5266
|
-
*/
|
|
5267
|
-
payment_schedule?: MandateOptions.PaymentSchedule;
|
|
5268
|
-
|
|
5269
|
-
/**
|
|
5270
|
-
* Subscription name displayed to buyers in their bank app. Defaults to the displayable business name.
|
|
5271
|
-
*/
|
|
5272
|
-
reference?: string;
|
|
5273
|
-
|
|
5274
|
-
/**
|
|
5275
|
-
* 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.
|
|
5276
|
-
*/
|
|
5277
|
-
start_date?: string;
|
|
5278
|
-
}
|
|
5279
|
-
|
|
5280
|
-
namespace MandateOptions {
|
|
5281
|
-
type AmountIncludesIof = 'always' | 'never';
|
|
5282
|
-
|
|
5283
|
-
type AmountType = 'fixed' | 'maximum';
|
|
5284
|
-
|
|
5285
|
-
type PaymentSchedule =
|
|
5286
|
-
| 'halfyearly'
|
|
5287
|
-
| 'monthly'
|
|
5288
|
-
| 'quarterly'
|
|
5289
|
-
| 'weekly'
|
|
5290
|
-
| 'yearly';
|
|
5291
|
-
}
|
|
5292
4432
|
}
|
|
5293
4433
|
|
|
5294
4434
|
interface SepaDebit {
|
|
@@ -5336,11 +4476,6 @@ declare module 'stripe' {
|
|
|
5336
4476
|
*/
|
|
5337
4477
|
filters?: FinancialConnections.Filters;
|
|
5338
4478
|
|
|
5339
|
-
/**
|
|
5340
|
-
* Customize manual entry behavior
|
|
5341
|
-
*/
|
|
5342
|
-
manual_entry?: FinancialConnections.ManualEntry;
|
|
5343
|
-
|
|
5344
4479
|
/**
|
|
5345
4480
|
* 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`.
|
|
5346
4481
|
*/
|
|
@@ -5363,39 +4498,19 @@ declare module 'stripe' {
|
|
|
5363
4498
|
* The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
|
|
5364
4499
|
*/
|
|
5365
4500
|
account_subcategories?: Array<Filters.AccountSubcategory>;
|
|
5366
|
-
|
|
5367
|
-
/**
|
|
5368
|
-
* ID of the institution to use to filter for selectable accounts.
|
|
5369
|
-
*/
|
|
5370
|
-
institution?: string;
|
|
5371
4501
|
}
|
|
5372
4502
|
|
|
5373
4503
|
namespace Filters {
|
|
5374
4504
|
type AccountSubcategory = 'checking' | 'savings';
|
|
5375
4505
|
}
|
|
5376
4506
|
|
|
5377
|
-
interface ManualEntry {
|
|
5378
|
-
/**
|
|
5379
|
-
* Settings for configuring manual entry of account details.
|
|
5380
|
-
*/
|
|
5381
|
-
mode: ManualEntry.Mode;
|
|
5382
|
-
}
|
|
5383
|
-
|
|
5384
|
-
namespace ManualEntry {
|
|
5385
|
-
type Mode = 'automatic' | 'custom';
|
|
5386
|
-
}
|
|
5387
|
-
|
|
5388
4507
|
type Permission =
|
|
5389
4508
|
| 'balances'
|
|
5390
4509
|
| 'ownership'
|
|
5391
4510
|
| 'payment_method'
|
|
5392
4511
|
| 'transactions';
|
|
5393
4512
|
|
|
5394
|
-
type Prefetch =
|
|
5395
|
-
| 'balances'
|
|
5396
|
-
| 'inferred_balances'
|
|
5397
|
-
| 'ownership'
|
|
5398
|
-
| 'transactions';
|
|
4513
|
+
type Prefetch = 'balances' | 'ownership' | 'transactions';
|
|
5399
4514
|
}
|
|
5400
4515
|
|
|
5401
4516
|
interface MandateOptions {
|
|
@@ -5419,31 +4534,6 @@ declare module 'stripe' {
|
|
|
5419
4534
|
type VerificationMethod = 'automatic' | 'instant' | 'microdeposits';
|
|
5420
4535
|
}
|
|
5421
4536
|
}
|
|
5422
|
-
|
|
5423
|
-
interface SetupDetails {
|
|
5424
|
-
/**
|
|
5425
|
-
* Benefit details for this SetupIntent
|
|
5426
|
-
*/
|
|
5427
|
-
benefit?: SetupDetails.Benefit;
|
|
5428
|
-
}
|
|
5429
|
-
|
|
5430
|
-
namespace SetupDetails {
|
|
5431
|
-
interface Benefit {
|
|
5432
|
-
/**
|
|
5433
|
-
* French meal voucher benefit details for this SetupIntent.
|
|
5434
|
-
*/
|
|
5435
|
-
fr_meal_voucher?: Benefit.FrMealVoucher;
|
|
5436
|
-
}
|
|
5437
|
-
|
|
5438
|
-
namespace Benefit {
|
|
5439
|
-
interface FrMealVoucher {
|
|
5440
|
-
/**
|
|
5441
|
-
* The 14-digit SIRET of the meal voucher acceptor.
|
|
5442
|
-
*/
|
|
5443
|
-
siret: string;
|
|
5444
|
-
}
|
|
5445
|
-
}
|
|
5446
|
-
}
|
|
5447
4537
|
}
|
|
5448
4538
|
|
|
5449
4539
|
interface SetupIntentVerifyMicrodepositsParams {
|