stripe 19.2.0-beta.1 → 19.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +71 -1433
- package/OPENAPI_VERSION +1 -1
- package/README.md +0 -1
- package/VERSION +1 -1
- package/cjs/Error.js +1 -115
- package/cjs/RequestSender.js +1 -1
- 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/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 -106
- package/cjs/stripe.core.js +1 -1
- package/esm/Error.js +0 -100
- package/esm/RequestSender.js +1 -1
- 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/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 -93
- 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 -1
- package/types/Billing/CreditBalanceSummary.d.ts +0 -5
- package/types/Billing/CreditBalanceSummaryResource.d.ts +3 -8
- package/types/Billing/CreditBalanceTransactionsResource.d.ts +4 -12
- package/types/Billing/CreditGrants.d.ts +0 -5
- package/types/Billing/CreditGrantsResource.d.ts +3 -13
- 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 -5
- package/types/CashBalances.d.ts +0 -5
- package/types/Charges.d.ts +1 -172
- package/types/ChargesResource.d.ts +0 -1406
- package/types/Checkout/Sessions.d.ts +17 -369
- package/types/Checkout/SessionsResource.d.ts +23 -635
- package/types/ConfirmationTokens.d.ts +1 -125
- 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 +26 -5
- package/types/CreditNotesResource.d.ts +78 -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/VerificationSessions.d.ts +0 -5
- package/types/Identity/VerificationSessionsResource.d.ts +0 -7
- package/types/InvoiceItems.d.ts +0 -10
- package/types/InvoiceItemsResource.d.ts +6 -117
- package/types/InvoiceLineItems.d.ts +1 -45
- package/types/InvoicePayments.d.ts +1 -1
- package/types/Invoices.d.ts +5 -203
- package/types/InvoicesResource.d.ts +4 -1622
- 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 -782
- package/types/PaymentIntentsResource.d.ts +4783 -9501
- 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 -130
- package/types/PaymentMethodsResource.d.ts +17 -168
- 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 -209
- package/types/SetupIntentsResource.d.ts +132 -952
- 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 -1647
- package/types/V2/Core/EventsResource.d.ts +29 -3
- package/types/WebhookEndpointsResource.d.ts +2 -75
- package/types/apiVersion.d.ts +2 -1
- package/types/crypto/crypto.d.ts +1 -1
- package/types/index.d.ts +0 -153
- package/types/lib.d.ts +0 -10
- package/cjs/resources/AccountNotices.js +0 -21
- package/cjs/resources/Billing/Analytics/MeterUsage.js +0 -12
- package/cjs/resources/Capital/FinancingOffers.js +0 -21
- package/cjs/resources/Capital/FinancingSummary.js +0 -12
- package/cjs/resources/Capital/FinancingTransactions.js +0 -17
- package/cjs/resources/ExternalAccounts.js +0 -23
- package/cjs/resources/FinancialConnections/Institutions.js +0 -17
- package/cjs/resources/FxQuotes.js +0 -15
- package/cjs/resources/Issuing/CreditUnderwritingRecords.js +0 -33
- package/cjs/resources/Issuing/DisputeSettlementDetails.js +0 -17
- package/cjs/resources/Issuing/FraudLiabilityDebits.js +0 -17
- package/cjs/resources/Margins.js +0 -22
- package/cjs/resources/Orders.js +0 -24
- package/cjs/resources/Privacy/RedactionJobs.js +0 -42
- package/cjs/resources/Tax/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/Profiles.js +0 -19
- 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/Vault/GbBankAccounts.js +0 -28
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.js +0 -24
- package/cjs/resources/V2/MoneyManagement/Adjustments.js +0 -17
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +0 -25
- package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js +0 -21
- package/cjs/resources/V2/MoneyManagement/InboundTransfers.js +0 -21
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -16
- package/cjs/resources/V2/MoneyManagement/OutboundPayments.js +0 -25
- package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -29
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js +0 -25
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.js +0 -25
- package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +0 -12
- package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js +0 -17
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js +0 -17
- package/cjs/resources/V2/MoneyManagement/TransactionEntries.js +0 -17
- package/cjs/resources/V2/MoneyManagement/Transactions.js +0 -17
- package/cjs/resources/V2/Payments/OffSessionPayments.js +0 -29
- package/cjs/resources/V2/TestHelpers/FinancialAddresses.js +0 -16
- package/esm/resources/AccountNotices.js +0 -18
- package/esm/resources/Billing/Analytics/MeterUsage.js +0 -9
- package/esm/resources/Capital/FinancingOffers.js +0 -18
- package/esm/resources/Capital/FinancingSummary.js +0 -9
- package/esm/resources/Capital/FinancingTransactions.js +0 -14
- package/esm/resources/ExternalAccounts.js +0 -20
- package/esm/resources/FinancialConnections/Institutions.js +0 -14
- package/esm/resources/FxQuotes.js +0 -12
- package/esm/resources/Issuing/CreditUnderwritingRecords.js +0 -30
- package/esm/resources/Issuing/DisputeSettlementDetails.js +0 -14
- package/esm/resources/Issuing/FraudLiabilityDebits.js +0 -14
- package/esm/resources/Margins.js +0 -19
- package/esm/resources/Orders.js +0 -21
- package/esm/resources/Privacy/RedactionJobs.js +0 -39
- package/esm/resources/Tax/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/Profiles.js +0 -16
- 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/Vault/GbBankAccounts.js +0 -25
- package/esm/resources/V2/Core/Vault/UsBankAccounts.js +0 -21
- package/esm/resources/V2/MoneyManagement/Adjustments.js +0 -14
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +0 -22
- package/esm/resources/V2/MoneyManagement/FinancialAddresses.js +0 -18
- package/esm/resources/V2/MoneyManagement/InboundTransfers.js +0 -18
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -13
- package/esm/resources/V2/MoneyManagement/OutboundPayments.js +0 -22
- package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -26
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.js +0 -22
- package/esm/resources/V2/MoneyManagement/PayoutMethods.js +0 -22
- package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +0 -9
- package/esm/resources/V2/MoneyManagement/ReceivedCredits.js +0 -14
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.js +0 -14
- package/esm/resources/V2/MoneyManagement/TransactionEntries.js +0 -14
- package/esm/resources/V2/MoneyManagement/Transactions.js +0 -14
- package/esm/resources/V2/Payments/OffSessionPayments.js +0 -26
- package/esm/resources/V2/TestHelpers/FinancialAddresses.js +0 -13
- package/types/AccountNotices.d.ts +0 -113
- package/types/AccountNoticesResource.d.ts +0 -98
- package/types/Billing/Analytics/MeterUsage.d.ts +0 -31
- package/types/Billing/Analytics/MeterUsageResource.d.ts +0 -689
- package/types/Billing/Analytics/MeterUsageRows.d.ts +0 -51
- package/types/Capital/FinancingOffers.d.ts +0 -188
- package/types/Capital/FinancingOffersResource.d.ts +0 -97
- package/types/Capital/FinancingSummary.d.ts +0 -106
- package/types/Capital/FinancingSummaryResource.d.ts +0 -27
- package/types/Capital/FinancingTransactions.d.ts +0 -135
- package/types/Capital/FinancingTransactionsResource.d.ts +0 -68
- package/types/ExternalAccountsResource.d.ts +0 -304
- package/types/FinancialConnections/AccountInferredBalances.d.ts +0 -38
- package/types/FinancialConnections/Institutions.d.ts +0 -98
- package/types/FinancialConnections/InstitutionsResource.d.ts +0 -47
- package/types/FxQuotes.d.ts +0 -155
- package/types/FxQuotesResource.d.ts +0 -130
- package/types/Issuing/CreditUnderwritingRecords.d.ts +0 -451
- package/types/Issuing/CreditUnderwritingRecordsResource.d.ts +0 -1032
- package/types/Issuing/DisputeSettlementDetails.d.ts +0 -85
- package/types/Issuing/DisputeSettlementDetailsResource.d.ts +0 -52
- package/types/Issuing/FraudLiabilityDebits.d.ts +0 -52
- package/types/Issuing/FraudLiabilityDebitsResource.d.ts +0 -52
- package/types/Issuing/Settlements.d.ts +0 -113
- package/types/Margins.d.ts +0 -56
- package/types/MarginsResource.d.ts +0 -114
- package/types/Orders.d.ts +0 -1163
- package/types/OrdersResource.d.ts +0 -3139
- 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 -686
- package/types/V2/Billing/CadencesResource.d.ts +0 -487
- 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/Profiles.d.ts +0 -70
- package/types/V2/Billing/ProfilesResource.d.ts +0 -150
- 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 -5919
- package/types/V2/Core/AccountsResource.d.ts +0 -4999
- package/types/V2/Core/Vault/GbBankAccounts.d.ts +0 -160
- package/types/V2/Core/Vault/GbBankAccountsResource.d.ts +0 -172
- package/types/V2/Core/Vault/UsBankAccounts.d.ts +0 -70
- package/types/V2/Core/Vault/UsBankAccountsResource.d.ts +0 -123
- 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 -147
- package/types/V2/MoneyManagement/FinancialAddresses.d.ts +0 -178
- package/types/V2/MoneyManagement/FinancialAddressesResource.d.ts +0 -112
- 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 -278
- package/types/V2/MoneyManagement/OutboundPaymentsResource.d.ts +0 -242
- package/types/V2/MoneyManagement/OutboundSetupIntents.d.ts +0 -97
- package/types/V2/MoneyManagement/OutboundSetupIntentsResource.d.ts +0 -296
- package/types/V2/MoneyManagement/OutboundTransfers.d.ts +0 -251
- package/types/V2/MoneyManagement/OutboundTransfersResource.d.ts +0 -208
- package/types/V2/MoneyManagement/PayoutMethods.d.ts +0 -160
- package/types/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +0 -93
- package/types/V2/MoneyManagement/PayoutMethodsBankAccountSpecResource.d.ts +0 -41
- package/types/V2/MoneyManagement/PayoutMethodsResource.d.ts +0 -113
- package/types/V2/MoneyManagement/ReceivedCredits.d.ts +0 -302
- package/types/V2/MoneyManagement/ReceivedCreditsResource.d.ts +0 -78
- package/types/V2/MoneyManagement/ReceivedDebits.d.ts +0 -176
- package/types/V2/MoneyManagement/ReceivedDebitsResource.d.ts +0 -48
- package/types/V2/MoneyManagement/TransactionEntries.d.ts +0 -162
- package/types/V2/MoneyManagement/TransactionEntriesResource.d.ts +0 -82
- package/types/V2/MoneyManagement/Transactions.d.ts +0 -177
- package/types/V2/MoneyManagement/TransactionsResource.d.ts +0 -83
- package/types/V2/Payments/OffSessionPayments.d.ts +0 -326
- package/types/V2/Payments/OffSessionPaymentsResource.d.ts +0 -401
- package/types/V2/TestHelpers/FinancialAddressesResource.d.ts +0 -68
|
@@ -106,15 +106,6 @@ declare module 'stripe' {
|
|
|
106
106
|
*/
|
|
107
107
|
customer: string | Stripe.Customer | Stripe.DeletedCustomer | null;
|
|
108
108
|
|
|
109
|
-
/**
|
|
110
|
-
* ID of the Account this PaymentIntent belongs to, if one exists.
|
|
111
|
-
*
|
|
112
|
-
* Payment methods attached to other Accounts cannot be used with this PaymentIntent.
|
|
113
|
-
*
|
|
114
|
-
* If [setup_future_usage](https://stripe.com/docs/api#payment_intent_object-setup_future_usage) is set and this PaymentIntent's payment method is not `card_present`, then the payment method attaches to the Account after the PaymentIntent has been confirmed and any required actions from the user are complete. If the payment method is `card_present` and isn't a digital wallet, then a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card is created and attached to the Account instead.
|
|
115
|
-
*/
|
|
116
|
-
customer_account?: string | null;
|
|
117
|
-
|
|
118
109
|
/**
|
|
119
110
|
* An arbitrary string attached to the object. Often useful for displaying to users.
|
|
120
111
|
*/
|
|
@@ -127,13 +118,6 @@ declare module 'stripe' {
|
|
|
127
118
|
PaymentIntent.ExcludedPaymentMethodType
|
|
128
119
|
> | null;
|
|
129
120
|
|
|
130
|
-
/**
|
|
131
|
-
* The FX Quote used for the PaymentIntent.
|
|
132
|
-
*/
|
|
133
|
-
fx_quote?: string | null;
|
|
134
|
-
|
|
135
|
-
hooks?: PaymentIntent.Hooks;
|
|
136
|
-
|
|
137
121
|
/**
|
|
138
122
|
* The payment error encountered in the previous PaymentIntent confirmation. It will be cleared if the PaymentIntent is later updated for any reason.
|
|
139
123
|
*/
|
|
@@ -203,11 +187,6 @@ declare module 'stripe' {
|
|
|
203
187
|
*/
|
|
204
188
|
review: string | Stripe.Review | null;
|
|
205
189
|
|
|
206
|
-
/**
|
|
207
|
-
* Indicates whether confirmation for this PaymentIntent using a secret key is `required` or `optional`.
|
|
208
|
-
*/
|
|
209
|
-
secret_key_confirmation?: PaymentIntent.SecretKeyConfirmation;
|
|
210
|
-
|
|
211
190
|
/**
|
|
212
191
|
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
213
192
|
*
|
|
@@ -264,7 +243,9 @@ declare module 'stripe' {
|
|
|
264
243
|
namespace PaymentIntent {
|
|
265
244
|
interface AmountDetails {
|
|
266
245
|
/**
|
|
267
|
-
* The total discount applied on the transaction.
|
|
246
|
+
* The total discount applied on the transaction represented in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). An integer greater than 0.
|
|
247
|
+
*
|
|
248
|
+
* This field is mutually exclusive with the `amount_details[line_items][#][discount_amount]` field.
|
|
268
249
|
*/
|
|
269
250
|
discount_amount?: number;
|
|
270
251
|
|
|
@@ -283,24 +264,26 @@ declare module 'stripe' {
|
|
|
283
264
|
namespace AmountDetails {
|
|
284
265
|
interface Shipping {
|
|
285
266
|
/**
|
|
286
|
-
*
|
|
267
|
+
* If a physical good is being shipped, the cost of shipping represented in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). An integer greater than or equal to 0.
|
|
287
268
|
*/
|
|
288
269
|
amount: number | null;
|
|
289
270
|
|
|
290
271
|
/**
|
|
291
|
-
*
|
|
272
|
+
* If a physical good is being shipped, the postal code of where it is being shipped from. At most 10 alphanumeric characters long, hyphens are allowed.
|
|
292
273
|
*/
|
|
293
274
|
from_postal_code: string | null;
|
|
294
275
|
|
|
295
276
|
/**
|
|
296
|
-
*
|
|
277
|
+
* If a physical good is being shipped, the postal code of where it is being shipped to. At most 10 alphanumeric characters long, hyphens are allowed.
|
|
297
278
|
*/
|
|
298
279
|
to_postal_code: string | null;
|
|
299
280
|
}
|
|
300
281
|
|
|
301
282
|
interface Tax {
|
|
302
283
|
/**
|
|
303
|
-
*
|
|
284
|
+
* The total amount of tax on the transaction represented in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal). Required for L2 rates. An integer greater than or equal to 0.
|
|
285
|
+
*
|
|
286
|
+
* This field is mutually exclusive with the `amount_details[line_items][#][tax][total_tax_amount]` field.
|
|
304
287
|
*/
|
|
305
288
|
total_tax_amount: number | null;
|
|
306
289
|
}
|
|
@@ -365,9 +348,7 @@ declare module 'stripe' {
|
|
|
365
348
|
| 'eps'
|
|
366
349
|
| 'fpx'
|
|
367
350
|
| 'giropay'
|
|
368
|
-
| 'gopay'
|
|
369
351
|
| 'grabpay'
|
|
370
|
-
| 'id_bank_transfer'
|
|
371
352
|
| 'ideal'
|
|
372
353
|
| 'kakao_pay'
|
|
373
354
|
| 'klarna'
|
|
@@ -384,44 +365,19 @@ declare module 'stripe' {
|
|
|
384
365
|
| 'payco'
|
|
385
366
|
| 'paynow'
|
|
386
367
|
| 'paypal'
|
|
387
|
-
| 'paypay'
|
|
388
|
-
| 'payto'
|
|
389
368
|
| 'pix'
|
|
390
369
|
| 'promptpay'
|
|
391
|
-
| 'qris'
|
|
392
|
-
| 'rechnung'
|
|
393
370
|
| 'revolut_pay'
|
|
394
371
|
| 'samsung_pay'
|
|
395
372
|
| 'satispay'
|
|
396
373
|
| 'sepa_debit'
|
|
397
|
-
| 'shopeepay'
|
|
398
374
|
| 'sofort'
|
|
399
|
-
| 'stripe_balance'
|
|
400
375
|
| 'swish'
|
|
401
376
|
| 'twint'
|
|
402
377
|
| 'us_bank_account'
|
|
403
378
|
| 'wechat_pay'
|
|
404
379
|
| 'zip';
|
|
405
380
|
|
|
406
|
-
interface Hooks {
|
|
407
|
-
inputs?: Hooks.Inputs;
|
|
408
|
-
}
|
|
409
|
-
|
|
410
|
-
namespace Hooks {
|
|
411
|
-
interface Inputs {
|
|
412
|
-
tax?: Inputs.Tax;
|
|
413
|
-
}
|
|
414
|
-
|
|
415
|
-
namespace Inputs {
|
|
416
|
-
interface Tax {
|
|
417
|
-
/**
|
|
418
|
-
* The [TaxCalculation](https://stripe.com/docs/api/tax/calculations) id
|
|
419
|
-
*/
|
|
420
|
-
calculation: string;
|
|
421
|
-
}
|
|
422
|
-
}
|
|
423
|
-
}
|
|
424
|
-
|
|
425
381
|
interface LastPaymentError {
|
|
426
382
|
/**
|
|
427
383
|
* For card errors resulting from a card issuer decline, a short string indicating [how to proceed with an error](https://stripe.com/docs/declines#retrying-issuer-declines) if they provide one.
|
|
@@ -588,7 +544,6 @@ declare module 'stripe' {
|
|
|
588
544
|
| 'financial_connections_account_inactive'
|
|
589
545
|
| 'financial_connections_account_pending_account_numbers'
|
|
590
546
|
| 'financial_connections_account_unavailable_account_numbers'
|
|
591
|
-
| 'financial_connections_institution_unavailable'
|
|
592
547
|
| 'financial_connections_no_successful_transaction_refresh'
|
|
593
548
|
| 'forwarding_api_inactive'
|
|
594
549
|
| 'forwarding_api_invalid_parameter'
|
|
@@ -648,6 +603,7 @@ declare module 'stripe' {
|
|
|
648
603
|
| 'payment_intent_mandate_invalid'
|
|
649
604
|
| 'payment_intent_payment_attempt_expired'
|
|
650
605
|
| 'payment_intent_payment_attempt_failed'
|
|
606
|
+
| 'payment_intent_rate_limit_exceeded'
|
|
651
607
|
| 'payment_intent_unexpected_state'
|
|
652
608
|
| 'payment_method_bank_account_already_verified'
|
|
653
609
|
| 'payment_method_bank_account_blocked'
|
|
@@ -686,7 +642,6 @@ declare module 'stripe' {
|
|
|
686
642
|
| 'return_intent_already_processed'
|
|
687
643
|
| 'routing_number_invalid'
|
|
688
644
|
| 'secret_key_required'
|
|
689
|
-
| 'sensitive_data_access_expired'
|
|
690
645
|
| 'sepa_unsupported_account'
|
|
691
646
|
| 'setup_attempt_failed'
|
|
692
647
|
| 'setup_intent_authentication_failure'
|
|
@@ -706,7 +661,6 @@ declare module 'stripe' {
|
|
|
706
661
|
| 'taxes_calculation_failed'
|
|
707
662
|
| 'terminal_location_country_unsupported'
|
|
708
663
|
| 'terminal_reader_busy'
|
|
709
|
-
| 'terminal_reader_collected_data_invalid'
|
|
710
664
|
| 'terminal_reader_hardware_fault'
|
|
711
665
|
| 'terminal_reader_invalid_location_for_activation'
|
|
712
666
|
| 'terminal_reader_invalid_location_for_payment'
|
|
@@ -719,9 +673,7 @@ declare module 'stripe' {
|
|
|
719
673
|
| 'token_in_use'
|
|
720
674
|
| 'transfer_source_balance_parameters_mismatch'
|
|
721
675
|
| 'transfers_not_allowed'
|
|
722
|
-
| 'url_invalid'
|
|
723
|
-
| 'v2_account_disconnection_unsupported'
|
|
724
|
-
| 'v2_account_missing_configuration';
|
|
676
|
+
| 'url_invalid';
|
|
725
677
|
|
|
726
678
|
type Type =
|
|
727
679
|
| 'api_error'
|
|
@@ -1486,335 +1438,21 @@ declare module 'stripe' {
|
|
|
1486
1438
|
}
|
|
1487
1439
|
|
|
1488
1440
|
interface PaymentDetails {
|
|
1489
|
-
car_rental?: PaymentDetails.CarRental;
|
|
1490
|
-
|
|
1491
1441
|
/**
|
|
1492
|
-
*
|
|
1442
|
+
* A unique value to identify the customer. This field is available only for card payments.
|
|
1443
|
+
*
|
|
1444
|
+
* This field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks.
|
|
1493
1445
|
*/
|
|
1494
|
-
customer_reference
|
|
1495
|
-
|
|
1496
|
-
event_details?: PaymentDetails.EventDetails;
|
|
1446
|
+
customer_reference: string | null;
|
|
1497
1447
|
|
|
1498
1448
|
/**
|
|
1499
|
-
* A unique value assigned by the business to identify the transaction.
|
|
1449
|
+
* A unique value assigned by the business to identify the transaction. Required for L2 and L3 rates.
|
|
1450
|
+
*
|
|
1451
|
+
* Required when the Payment Method Types array contains `card`, including when [automatic_payment_methods.enabled](https://docs.stripe.com/api/payment_intents/create#create_payment_intent-automatic_payment_methods-enabled) is set to `true`.
|
|
1452
|
+
*
|
|
1453
|
+
* For Cards, this field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks. For Klarna, this field is truncated to 255 characters and is visible to customers when they view the order in the Klarna app.
|
|
1500
1454
|
*/
|
|
1501
|
-
order_reference
|
|
1502
|
-
|
|
1503
|
-
subscription?: PaymentDetails.Subscription;
|
|
1504
|
-
}
|
|
1505
|
-
|
|
1506
|
-
namespace PaymentDetails {
|
|
1507
|
-
interface CarRental {
|
|
1508
|
-
affiliate?: CarRental.Affiliate;
|
|
1509
|
-
|
|
1510
|
-
/**
|
|
1511
|
-
* The booking number associated with the car rental.
|
|
1512
|
-
*/
|
|
1513
|
-
booking_number: string;
|
|
1514
|
-
|
|
1515
|
-
/**
|
|
1516
|
-
* Class code of the car.
|
|
1517
|
-
*/
|
|
1518
|
-
car_class_code?: string;
|
|
1519
|
-
|
|
1520
|
-
/**
|
|
1521
|
-
* Make of the car.
|
|
1522
|
-
*/
|
|
1523
|
-
car_make?: string;
|
|
1524
|
-
|
|
1525
|
-
/**
|
|
1526
|
-
* Model of the car.
|
|
1527
|
-
*/
|
|
1528
|
-
car_model?: string;
|
|
1529
|
-
|
|
1530
|
-
/**
|
|
1531
|
-
* The name of the rental car company.
|
|
1532
|
-
*/
|
|
1533
|
-
company?: string;
|
|
1534
|
-
|
|
1535
|
-
/**
|
|
1536
|
-
* The customer service phone number of the car rental company.
|
|
1537
|
-
*/
|
|
1538
|
-
customer_service_phone_number?: string;
|
|
1539
|
-
|
|
1540
|
-
/**
|
|
1541
|
-
* Number of days the car is being rented.
|
|
1542
|
-
*/
|
|
1543
|
-
days_rented: number;
|
|
1544
|
-
|
|
1545
|
-
delivery?: CarRental.Delivery;
|
|
1546
|
-
|
|
1547
|
-
distance?: CarRental.Distance;
|
|
1548
|
-
|
|
1549
|
-
/**
|
|
1550
|
-
* The details of the drivers associated with the trip.
|
|
1551
|
-
*/
|
|
1552
|
-
drivers?: Array<CarRental.Driver>;
|
|
1553
|
-
|
|
1554
|
-
/**
|
|
1555
|
-
* List of additional charges being billed.
|
|
1556
|
-
*/
|
|
1557
|
-
extra_charges?: Array<CarRental.ExtraCharge>;
|
|
1558
|
-
|
|
1559
|
-
/**
|
|
1560
|
-
* Indicates if the customer did not keep nor cancel their booking.
|
|
1561
|
-
*/
|
|
1562
|
-
no_show?: boolean;
|
|
1563
|
-
|
|
1564
|
-
pickup_address?: Stripe.Address;
|
|
1565
|
-
|
|
1566
|
-
/**
|
|
1567
|
-
* Car pick-up time. Measured in seconds since the Unix epoch.
|
|
1568
|
-
*/
|
|
1569
|
-
pickup_at: number;
|
|
1570
|
-
|
|
1571
|
-
/**
|
|
1572
|
-
* Name of the pickup location.
|
|
1573
|
-
*/
|
|
1574
|
-
pickup_location_name?: string;
|
|
1575
|
-
|
|
1576
|
-
/**
|
|
1577
|
-
* Rental rate.
|
|
1578
|
-
*/
|
|
1579
|
-
rate_amount?: number;
|
|
1580
|
-
|
|
1581
|
-
/**
|
|
1582
|
-
* The frequency at which the rate amount is applied. One of `day`, `week` or `month`
|
|
1583
|
-
*/
|
|
1584
|
-
rate_interval?: CarRental.RateInterval;
|
|
1585
|
-
|
|
1586
|
-
/**
|
|
1587
|
-
* The full name of the person or entity renting the car.
|
|
1588
|
-
*/
|
|
1589
|
-
renter_name?: string;
|
|
1590
|
-
|
|
1591
|
-
return_address?: Stripe.Address;
|
|
1592
|
-
|
|
1593
|
-
/**
|
|
1594
|
-
* Car return time. Measured in seconds since the Unix epoch.
|
|
1595
|
-
*/
|
|
1596
|
-
return_at: number;
|
|
1597
|
-
|
|
1598
|
-
/**
|
|
1599
|
-
* Name of the return location.
|
|
1600
|
-
*/
|
|
1601
|
-
return_location_name?: string;
|
|
1602
|
-
|
|
1603
|
-
/**
|
|
1604
|
-
* Indicates whether the goods or services are tax-exempt or tax is not collected.
|
|
1605
|
-
*/
|
|
1606
|
-
tax_exempt?: boolean;
|
|
1607
|
-
|
|
1608
|
-
/**
|
|
1609
|
-
* The vehicle identification number of the car.
|
|
1610
|
-
*/
|
|
1611
|
-
vehicle_identification_number?: string;
|
|
1612
|
-
}
|
|
1613
|
-
|
|
1614
|
-
namespace CarRental {
|
|
1615
|
-
interface Affiliate {
|
|
1616
|
-
/**
|
|
1617
|
-
* The name of the affiliate that originated the purchase.
|
|
1618
|
-
*/
|
|
1619
|
-
name?: string;
|
|
1620
|
-
}
|
|
1621
|
-
|
|
1622
|
-
interface Delivery {
|
|
1623
|
-
/**
|
|
1624
|
-
* The delivery method for the payment
|
|
1625
|
-
*/
|
|
1626
|
-
mode?: Delivery.Mode;
|
|
1627
|
-
|
|
1628
|
-
recipient?: Delivery.Recipient;
|
|
1629
|
-
}
|
|
1630
|
-
|
|
1631
|
-
namespace Delivery {
|
|
1632
|
-
type Mode = 'email' | 'phone' | 'pickup' | 'post';
|
|
1633
|
-
|
|
1634
|
-
interface Recipient {
|
|
1635
|
-
/**
|
|
1636
|
-
* The email of the recipient the ticket is delivered to.
|
|
1637
|
-
*/
|
|
1638
|
-
email?: string;
|
|
1639
|
-
|
|
1640
|
-
/**
|
|
1641
|
-
* The name of the recipient the ticket is delivered to.
|
|
1642
|
-
*/
|
|
1643
|
-
name?: string;
|
|
1644
|
-
|
|
1645
|
-
/**
|
|
1646
|
-
* The phone number of the recipient the ticket is delivered to.
|
|
1647
|
-
*/
|
|
1648
|
-
phone?: string;
|
|
1649
|
-
}
|
|
1650
|
-
}
|
|
1651
|
-
|
|
1652
|
-
interface Distance {
|
|
1653
|
-
/**
|
|
1654
|
-
* Distance traveled.
|
|
1655
|
-
*/
|
|
1656
|
-
amount?: number;
|
|
1657
|
-
|
|
1658
|
-
/**
|
|
1659
|
-
* Unit of measurement for the distance traveled. One of `miles` or `kilometers`
|
|
1660
|
-
*/
|
|
1661
|
-
unit?: string;
|
|
1662
|
-
}
|
|
1663
|
-
|
|
1664
|
-
interface Driver {
|
|
1665
|
-
/**
|
|
1666
|
-
* Driver's identification number.
|
|
1667
|
-
*/
|
|
1668
|
-
driver_identification_number?: string;
|
|
1669
|
-
|
|
1670
|
-
/**
|
|
1671
|
-
* Driver's tax number.
|
|
1672
|
-
*/
|
|
1673
|
-
driver_tax_number?: string;
|
|
1674
|
-
|
|
1675
|
-
/**
|
|
1676
|
-
* Full name of the driver on the reservation.
|
|
1677
|
-
*/
|
|
1678
|
-
name?: string;
|
|
1679
|
-
}
|
|
1680
|
-
|
|
1681
|
-
type ExtraCharge =
|
|
1682
|
-
| 'extra_mileage'
|
|
1683
|
-
| 'gas'
|
|
1684
|
-
| 'late_return'
|
|
1685
|
-
| 'one_way_service'
|
|
1686
|
-
| 'parking_violation';
|
|
1687
|
-
|
|
1688
|
-
type RateInterval = 'day' | 'month' | 'week';
|
|
1689
|
-
}
|
|
1690
|
-
|
|
1691
|
-
interface EventDetails {
|
|
1692
|
-
/**
|
|
1693
|
-
* Indicates if the tickets are digitally checked when entering the venue.
|
|
1694
|
-
*/
|
|
1695
|
-
access_controlled_venue?: boolean;
|
|
1696
|
-
|
|
1697
|
-
address?: Stripe.Address;
|
|
1698
|
-
|
|
1699
|
-
affiliate?: EventDetails.Affiliate;
|
|
1700
|
-
|
|
1701
|
-
/**
|
|
1702
|
-
* The name of the company
|
|
1703
|
-
*/
|
|
1704
|
-
company?: string;
|
|
1705
|
-
|
|
1706
|
-
delivery?: EventDetails.Delivery;
|
|
1707
|
-
|
|
1708
|
-
/**
|
|
1709
|
-
* Event end time. Measured in seconds since the Unix epoch.
|
|
1710
|
-
*/
|
|
1711
|
-
ends_at?: number;
|
|
1712
|
-
|
|
1713
|
-
/**
|
|
1714
|
-
* Type of the event entertainment (concert, sports event etc)
|
|
1715
|
-
*/
|
|
1716
|
-
genre?: string;
|
|
1717
|
-
|
|
1718
|
-
/**
|
|
1719
|
-
* The name of the event.
|
|
1720
|
-
*/
|
|
1721
|
-
name?: string;
|
|
1722
|
-
|
|
1723
|
-
/**
|
|
1724
|
-
* Event start time. Measured in seconds since the Unix epoch.
|
|
1725
|
-
*/
|
|
1726
|
-
starts_at?: number;
|
|
1727
|
-
}
|
|
1728
|
-
|
|
1729
|
-
namespace EventDetails {
|
|
1730
|
-
interface Affiliate {
|
|
1731
|
-
/**
|
|
1732
|
-
* The name of the affiliate that originated the purchase.
|
|
1733
|
-
*/
|
|
1734
|
-
name?: string;
|
|
1735
|
-
}
|
|
1736
|
-
|
|
1737
|
-
interface Delivery {
|
|
1738
|
-
/**
|
|
1739
|
-
* The delivery method for the payment
|
|
1740
|
-
*/
|
|
1741
|
-
mode?: Delivery.Mode;
|
|
1742
|
-
|
|
1743
|
-
recipient?: Delivery.Recipient;
|
|
1744
|
-
}
|
|
1745
|
-
|
|
1746
|
-
namespace Delivery {
|
|
1747
|
-
type Mode = 'email' | 'phone' | 'pickup' | 'post';
|
|
1748
|
-
|
|
1749
|
-
interface Recipient {
|
|
1750
|
-
/**
|
|
1751
|
-
* The email of the recipient the ticket is delivered to.
|
|
1752
|
-
*/
|
|
1753
|
-
email?: string;
|
|
1754
|
-
|
|
1755
|
-
/**
|
|
1756
|
-
* The name of the recipient the ticket is delivered to.
|
|
1757
|
-
*/
|
|
1758
|
-
name?: string;
|
|
1759
|
-
|
|
1760
|
-
/**
|
|
1761
|
-
* The phone number of the recipient the ticket is delivered to.
|
|
1762
|
-
*/
|
|
1763
|
-
phone?: string;
|
|
1764
|
-
}
|
|
1765
|
-
}
|
|
1766
|
-
}
|
|
1767
|
-
|
|
1768
|
-
interface Subscription {
|
|
1769
|
-
affiliate?: Subscription.Affiliate;
|
|
1770
|
-
|
|
1771
|
-
/**
|
|
1772
|
-
* Info whether the subscription will be auto renewed upon expiry.
|
|
1773
|
-
*/
|
|
1774
|
-
auto_renewal?: boolean;
|
|
1775
|
-
|
|
1776
|
-
billing_interval?: Subscription.BillingInterval;
|
|
1777
|
-
|
|
1778
|
-
/**
|
|
1779
|
-
* Subscription end time. Measured in seconds since the Unix epoch.
|
|
1780
|
-
*/
|
|
1781
|
-
ends_at?: number;
|
|
1782
|
-
|
|
1783
|
-
/**
|
|
1784
|
-
* Name of the product on subscription. e.g. Apple Music Subscription.
|
|
1785
|
-
*/
|
|
1786
|
-
name?: string;
|
|
1787
|
-
|
|
1788
|
-
/**
|
|
1789
|
-
* Subscription start time. Measured in seconds since the Unix epoch.
|
|
1790
|
-
*/
|
|
1791
|
-
starts_at?: number;
|
|
1792
|
-
}
|
|
1793
|
-
|
|
1794
|
-
namespace Subscription {
|
|
1795
|
-
interface Affiliate {
|
|
1796
|
-
/**
|
|
1797
|
-
* The name of the affiliate that originated the purchase.
|
|
1798
|
-
*/
|
|
1799
|
-
name?: string;
|
|
1800
|
-
}
|
|
1801
|
-
|
|
1802
|
-
interface BillingInterval {
|
|
1803
|
-
/**
|
|
1804
|
-
* The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
1805
|
-
*/
|
|
1806
|
-
count?: number;
|
|
1807
|
-
|
|
1808
|
-
/**
|
|
1809
|
-
* Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
1810
|
-
*/
|
|
1811
|
-
interval?: BillingInterval.Interval;
|
|
1812
|
-
}
|
|
1813
|
-
|
|
1814
|
-
namespace BillingInterval {
|
|
1815
|
-
type Interval = 'day' | 'month' | 'week' | 'year';
|
|
1816
|
-
}
|
|
1817
|
-
}
|
|
1455
|
+
order_reference: string | null;
|
|
1818
1456
|
}
|
|
1819
1457
|
|
|
1820
1458
|
interface PaymentMethodConfigurationDetails {
|
|
@@ -1870,12 +1508,8 @@ declare module 'stripe' {
|
|
|
1870
1508
|
|
|
1871
1509
|
giropay?: PaymentMethodOptions.Giropay;
|
|
1872
1510
|
|
|
1873
|
-
gopay?: PaymentMethodOptions.Gopay;
|
|
1874
|
-
|
|
1875
1511
|
grabpay?: PaymentMethodOptions.Grabpay;
|
|
1876
1512
|
|
|
1877
|
-
id_bank_transfer?: PaymentMethodOptions.IdBankTransfer;
|
|
1878
|
-
|
|
1879
1513
|
ideal?: PaymentMethodOptions.Ideal;
|
|
1880
1514
|
|
|
1881
1515
|
interac_present?: PaymentMethodOptions.InteracPresent;
|
|
@@ -1912,18 +1546,10 @@ declare module 'stripe' {
|
|
|
1912
1546
|
|
|
1913
1547
|
paypal?: PaymentMethodOptions.Paypal;
|
|
1914
1548
|
|
|
1915
|
-
paypay?: PaymentMethodOptions.Paypay;
|
|
1916
|
-
|
|
1917
|
-
payto?: PaymentMethodOptions.Payto;
|
|
1918
|
-
|
|
1919
1549
|
pix?: PaymentMethodOptions.Pix;
|
|
1920
1550
|
|
|
1921
1551
|
promptpay?: PaymentMethodOptions.Promptpay;
|
|
1922
1552
|
|
|
1923
|
-
qris?: PaymentMethodOptions.Qris;
|
|
1924
|
-
|
|
1925
|
-
rechnung?: PaymentMethodOptions.Rechnung;
|
|
1926
|
-
|
|
1927
1553
|
revolut_pay?: PaymentMethodOptions.RevolutPay;
|
|
1928
1554
|
|
|
1929
1555
|
samsung_pay?: PaymentMethodOptions.SamsungPay;
|
|
@@ -1932,12 +1558,8 @@ declare module 'stripe' {
|
|
|
1932
1558
|
|
|
1933
1559
|
sepa_debit?: PaymentMethodOptions.SepaDebit;
|
|
1934
1560
|
|
|
1935
|
-
shopeepay?: PaymentMethodOptions.Shopeepay;
|
|
1936
|
-
|
|
1937
1561
|
sofort?: PaymentMethodOptions.Sofort;
|
|
1938
1562
|
|
|
1939
|
-
stripe_balance?: PaymentMethodOptions.StripeBalance;
|
|
1940
|
-
|
|
1941
1563
|
swish?: PaymentMethodOptions.Swish;
|
|
1942
1564
|
|
|
1943
1565
|
twint?: PaymentMethodOptions.Twint;
|
|
@@ -2244,11 +1866,6 @@ declare module 'stripe' {
|
|
|
2244
1866
|
*/
|
|
2245
1867
|
network: Card.Network | null;
|
|
2246
1868
|
|
|
2247
|
-
/**
|
|
2248
|
-
* Request ability to [decrement the authorization](https://stripe.com/docs/payments/decremental-authorization) for this PaymentIntent.
|
|
2249
|
-
*/
|
|
2250
|
-
request_decremental_authorization?: Card.RequestDecrementalAuthorization;
|
|
2251
|
-
|
|
2252
1869
|
/**
|
|
2253
1870
|
* Request ability to [capture beyond the standard authorization validity window](https://stripe.com/docs/payments/extended-authorization) for this PaymentIntent.
|
|
2254
1871
|
*/
|
|
@@ -2269,11 +1886,6 @@ declare module 'stripe' {
|
|
|
2269
1886
|
*/
|
|
2270
1887
|
request_overcapture?: Card.RequestOvercapture;
|
|
2271
1888
|
|
|
2272
|
-
/**
|
|
2273
|
-
* Request partial authorization on this PaymentIntent.
|
|
2274
|
-
*/
|
|
2275
|
-
request_partial_authorization?: Card.RequestPartialAuthorization;
|
|
2276
|
-
|
|
2277
1889
|
/**
|
|
2278
1890
|
* We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and [other requirements](https://stripe.com/docs/strong-customer-authentication). However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. If not provided, this value defaults to `automatic`. Read our guide on [manually requesting 3D Secure](https://stripe.com/docs/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine.
|
|
2279
1891
|
*/
|
|
@@ -2304,8 +1916,6 @@ declare module 'stripe' {
|
|
|
2304
1916
|
* Provides information about a card payment that customers see on their statements. Concatenated with the Kanji prefix (shortened Kanji descriptor) or Kanji statement descriptor that's set on the account to form the complete statement descriptor. Maximum 17 characters. On card statements, the *concatenation* of both prefix and suffix (including separators) will appear truncated to 17 characters.
|
|
2305
1917
|
*/
|
|
2306
1918
|
statement_descriptor_suffix_kanji?: string;
|
|
2307
|
-
|
|
2308
|
-
statement_details?: Card.StatementDetails;
|
|
2309
1919
|
}
|
|
2310
1920
|
|
|
2311
1921
|
namespace Card {
|
|
@@ -2440,8 +2050,6 @@ declare module 'stripe' {
|
|
|
2440
2050
|
| 'unknown'
|
|
2441
2051
|
| 'visa';
|
|
2442
2052
|
|
|
2443
|
-
type RequestDecrementalAuthorization = 'if_available' | 'never';
|
|
2444
|
-
|
|
2445
2053
|
type RequestExtendedAuthorization = 'if_available' | 'never';
|
|
2446
2054
|
|
|
2447
2055
|
type RequestIncrementalAuthorization = 'if_available' | 'never';
|
|
@@ -2450,54 +2058,9 @@ declare module 'stripe' {
|
|
|
2450
2058
|
|
|
2451
2059
|
type RequestOvercapture = 'if_available' | 'never';
|
|
2452
2060
|
|
|
2453
|
-
type RequestPartialAuthorization = 'if_available' | 'never';
|
|
2454
|
-
|
|
2455
2061
|
type RequestThreeDSecure = 'any' | 'automatic' | 'challenge';
|
|
2456
2062
|
|
|
2457
2063
|
type SetupFutureUsage = 'none' | 'off_session' | 'on_session';
|
|
2458
|
-
|
|
2459
|
-
interface StatementDetails {
|
|
2460
|
-
address?: StatementDetails.Address;
|
|
2461
|
-
|
|
2462
|
-
/**
|
|
2463
|
-
* Phone number
|
|
2464
|
-
*/
|
|
2465
|
-
phone?: string;
|
|
2466
|
-
}
|
|
2467
|
-
|
|
2468
|
-
namespace StatementDetails {
|
|
2469
|
-
interface Address {
|
|
2470
|
-
/**
|
|
2471
|
-
* City, district, suburb, town, or village.
|
|
2472
|
-
*/
|
|
2473
|
-
city?: string;
|
|
2474
|
-
|
|
2475
|
-
/**
|
|
2476
|
-
* Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
2477
|
-
*/
|
|
2478
|
-
country?: string;
|
|
2479
|
-
|
|
2480
|
-
/**
|
|
2481
|
-
* Address line 1, such as the street, PO Box, or company name.
|
|
2482
|
-
*/
|
|
2483
|
-
line1?: string;
|
|
2484
|
-
|
|
2485
|
-
/**
|
|
2486
|
-
* Address line 2, such as the apartment, suite, unit, or building.
|
|
2487
|
-
*/
|
|
2488
|
-
line2?: string;
|
|
2489
|
-
|
|
2490
|
-
/**
|
|
2491
|
-
* ZIP or postal code.
|
|
2492
|
-
*/
|
|
2493
|
-
postal_code?: string;
|
|
2494
|
-
|
|
2495
|
-
/**
|
|
2496
|
-
* State, county, province, or region.
|
|
2497
|
-
*/
|
|
2498
|
-
state?: string;
|
|
2499
|
-
}
|
|
2500
|
-
}
|
|
2501
2064
|
}
|
|
2502
2065
|
|
|
2503
2066
|
interface CardPresent {
|
|
@@ -2668,23 +2231,6 @@ declare module 'stripe' {
|
|
|
2668
2231
|
setup_future_usage?: 'none';
|
|
2669
2232
|
}
|
|
2670
2233
|
|
|
2671
|
-
interface Gopay {
|
|
2672
|
-
/**
|
|
2673
|
-
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2674
|
-
*
|
|
2675
|
-
* If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
2676
|
-
*
|
|
2677
|
-
* If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
|
2678
|
-
*
|
|
2679
|
-
* When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication).
|
|
2680
|
-
*/
|
|
2681
|
-
setup_future_usage?: Gopay.SetupFutureUsage;
|
|
2682
|
-
}
|
|
2683
|
-
|
|
2684
|
-
namespace Gopay {
|
|
2685
|
-
type SetupFutureUsage = 'none' | 'off_session';
|
|
2686
|
-
}
|
|
2687
|
-
|
|
2688
2234
|
interface Grabpay {
|
|
2689
2235
|
/**
|
|
2690
2236
|
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
@@ -2698,29 +2244,6 @@ declare module 'stripe' {
|
|
|
2698
2244
|
setup_future_usage?: 'none';
|
|
2699
2245
|
}
|
|
2700
2246
|
|
|
2701
|
-
interface IdBankTransfer {
|
|
2702
|
-
/**
|
|
2703
|
-
* The UNIX timestamp until which the virtual bank account is valid. Permitted range is from now till 2678400 seconds (31 days) from now.
|
|
2704
|
-
*/
|
|
2705
|
-
expires_after?: number | null;
|
|
2706
|
-
|
|
2707
|
-
/**
|
|
2708
|
-
* The UNIX timestamp until which the virtual bank account is valid. Permitted range is from now until 30 days from now. If unset, it defaults to 1 days from now.
|
|
2709
|
-
*/
|
|
2710
|
-
expires_at: number | null;
|
|
2711
|
-
|
|
2712
|
-
/**
|
|
2713
|
-
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2714
|
-
*
|
|
2715
|
-
* If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
2716
|
-
*
|
|
2717
|
-
* If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
|
2718
|
-
*
|
|
2719
|
-
* When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication).
|
|
2720
|
-
*/
|
|
2721
|
-
setup_future_usage?: 'none';
|
|
2722
|
-
}
|
|
2723
|
-
|
|
2724
2247
|
interface Ideal {
|
|
2725
2248
|
/**
|
|
2726
2249
|
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
@@ -3019,11 +2542,6 @@ declare module 'stripe' {
|
|
|
3019
2542
|
*/
|
|
3020
2543
|
capture_method?: 'manual';
|
|
3021
2544
|
|
|
3022
|
-
/**
|
|
3023
|
-
* The line items purchased by the customer.
|
|
3024
|
-
*/
|
|
3025
|
-
line_items?: Array<Paypal.LineItem>;
|
|
3026
|
-
|
|
3027
2545
|
/**
|
|
3028
2546
|
* Preferred locale of the PayPal checkout page that the customer is redirected to.
|
|
3029
2547
|
*/
|
|
@@ -3034,11 +2552,6 @@ declare module 'stripe' {
|
|
|
3034
2552
|
*/
|
|
3035
2553
|
reference: string | null;
|
|
3036
2554
|
|
|
3037
|
-
/**
|
|
3038
|
-
* A reference of the PayPal transaction visible to customer which is mapped to PayPal's invoice ID. This must be a globally unique ID if you have configured in your PayPal settings to block multiple payments per invoice ID.
|
|
3039
|
-
*/
|
|
3040
|
-
reference_id?: string | null;
|
|
3041
|
-
|
|
3042
2555
|
/**
|
|
3043
2556
|
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
3044
2557
|
*
|
|
@@ -3049,153 +2562,9 @@ declare module 'stripe' {
|
|
|
3049
2562
|
* When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication).
|
|
3050
2563
|
*/
|
|
3051
2564
|
setup_future_usage?: Paypal.SetupFutureUsage;
|
|
3052
|
-
|
|
3053
|
-
/**
|
|
3054
|
-
* 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.
|
|
3055
|
-
*/
|
|
3056
|
-
subsellers?: Array<string>;
|
|
3057
2565
|
}
|
|
3058
2566
|
|
|
3059
2567
|
namespace Paypal {
|
|
3060
|
-
interface LineItem {
|
|
3061
|
-
/**
|
|
3062
|
-
* Type of the line item.
|
|
3063
|
-
*/
|
|
3064
|
-
category?: LineItem.Category;
|
|
3065
|
-
|
|
3066
|
-
/**
|
|
3067
|
-
* Description of the line item.
|
|
3068
|
-
*/
|
|
3069
|
-
description?: string;
|
|
3070
|
-
|
|
3071
|
-
/**
|
|
3072
|
-
* Descriptive name of the line item.
|
|
3073
|
-
*/
|
|
3074
|
-
name: string;
|
|
3075
|
-
|
|
3076
|
-
/**
|
|
3077
|
-
* Quantity of the line item. Cannot be a negative number.
|
|
3078
|
-
*/
|
|
3079
|
-
quantity: number;
|
|
3080
|
-
|
|
3081
|
-
/**
|
|
3082
|
-
* Client facing stock keeping unit, article number or similar.
|
|
3083
|
-
*/
|
|
3084
|
-
sku?: string;
|
|
3085
|
-
|
|
3086
|
-
/**
|
|
3087
|
-
* The Stripe account ID of the connected account that sells the item. This is only needed when using [Separate Charges and Transfers](https://docs.stripe.com/connect/separate-charges-and-transfers).
|
|
3088
|
-
*/
|
|
3089
|
-
sold_by?: string;
|
|
3090
|
-
|
|
3091
|
-
tax?: LineItem.Tax;
|
|
3092
|
-
|
|
3093
|
-
/**
|
|
3094
|
-
* Price for a single unit of the line item in minor units. Cannot be a negative number.
|
|
3095
|
-
*/
|
|
3096
|
-
unit_amount: number;
|
|
3097
|
-
}
|
|
3098
|
-
|
|
3099
|
-
namespace LineItem {
|
|
3100
|
-
type Category = 'digital_goods' | 'donation' | 'physical_goods';
|
|
3101
|
-
|
|
3102
|
-
interface Tax {
|
|
3103
|
-
/**
|
|
3104
|
-
* The tax for a single unit of the line item in minor units. Cannot be a negative number.
|
|
3105
|
-
*/
|
|
3106
|
-
amount: number;
|
|
3107
|
-
|
|
3108
|
-
/**
|
|
3109
|
-
* The tax behavior for the line item.
|
|
3110
|
-
*/
|
|
3111
|
-
behavior: Tax.Behavior;
|
|
3112
|
-
}
|
|
3113
|
-
|
|
3114
|
-
namespace Tax {
|
|
3115
|
-
type Behavior = 'exclusive' | 'inclusive';
|
|
3116
|
-
}
|
|
3117
|
-
}
|
|
3118
|
-
|
|
3119
|
-
type SetupFutureUsage = 'none' | 'off_session';
|
|
3120
|
-
}
|
|
3121
|
-
|
|
3122
|
-
interface Paypay {}
|
|
3123
|
-
|
|
3124
|
-
interface Payto {
|
|
3125
|
-
mandate_options?: Payto.MandateOptions;
|
|
3126
|
-
|
|
3127
|
-
/**
|
|
3128
|
-
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
3129
|
-
*
|
|
3130
|
-
* If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
3131
|
-
*
|
|
3132
|
-
* If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
|
3133
|
-
*
|
|
3134
|
-
* When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication).
|
|
3135
|
-
*/
|
|
3136
|
-
setup_future_usage?: Payto.SetupFutureUsage;
|
|
3137
|
-
}
|
|
3138
|
-
|
|
3139
|
-
namespace Payto {
|
|
3140
|
-
interface MandateOptions {
|
|
3141
|
-
/**
|
|
3142
|
-
* Amount that will be collected. It is required when `amount_type` is `fixed`.
|
|
3143
|
-
*/
|
|
3144
|
-
amount: number | null;
|
|
3145
|
-
|
|
3146
|
-
/**
|
|
3147
|
-
* 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.
|
|
3148
|
-
*/
|
|
3149
|
-
amount_type: MandateOptions.AmountType | null;
|
|
3150
|
-
|
|
3151
|
-
/**
|
|
3152
|
-
* Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
|
|
3153
|
-
*/
|
|
3154
|
-
end_date: string | null;
|
|
3155
|
-
|
|
3156
|
-
/**
|
|
3157
|
-
* The periodicity at which payments will be collected.
|
|
3158
|
-
*/
|
|
3159
|
-
payment_schedule: MandateOptions.PaymentSchedule | null;
|
|
3160
|
-
|
|
3161
|
-
/**
|
|
3162
|
-
* 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.
|
|
3163
|
-
*/
|
|
3164
|
-
payments_per_period: number | null;
|
|
3165
|
-
|
|
3166
|
-
/**
|
|
3167
|
-
* The purpose for which payments are made. Defaults to retail.
|
|
3168
|
-
*/
|
|
3169
|
-
purpose: MandateOptions.Purpose | null;
|
|
3170
|
-
}
|
|
3171
|
-
|
|
3172
|
-
namespace MandateOptions {
|
|
3173
|
-
type AmountType = 'fixed' | 'maximum';
|
|
3174
|
-
|
|
3175
|
-
type PaymentSchedule =
|
|
3176
|
-
| 'adhoc'
|
|
3177
|
-
| 'annual'
|
|
3178
|
-
| 'daily'
|
|
3179
|
-
| 'fortnightly'
|
|
3180
|
-
| 'monthly'
|
|
3181
|
-
| 'quarterly'
|
|
3182
|
-
| 'semi_annual'
|
|
3183
|
-
| 'weekly';
|
|
3184
|
-
|
|
3185
|
-
type Purpose =
|
|
3186
|
-
| 'dependant_support'
|
|
3187
|
-
| 'government'
|
|
3188
|
-
| 'loan'
|
|
3189
|
-
| 'mortgage'
|
|
3190
|
-
| 'other'
|
|
3191
|
-
| 'pension'
|
|
3192
|
-
| 'personal'
|
|
3193
|
-
| 'retail'
|
|
3194
|
-
| 'salary'
|
|
3195
|
-
| 'tax'
|
|
3196
|
-
| 'utility';
|
|
3197
|
-
}
|
|
3198
|
-
|
|
3199
2568
|
type SetupFutureUsage = 'none' | 'off_session';
|
|
3200
2569
|
}
|
|
3201
2570
|
|
|
@@ -3215,8 +2584,6 @@ declare module 'stripe' {
|
|
|
3215
2584
|
*/
|
|
3216
2585
|
expires_at: number | null;
|
|
3217
2586
|
|
|
3218
|
-
mandate_options?: Pix.MandateOptions;
|
|
3219
|
-
|
|
3220
2587
|
/**
|
|
3221
2588
|
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
3222
2589
|
*
|
|
@@ -3226,68 +2593,11 @@ declare module 'stripe' {
|
|
|
3226
2593
|
*
|
|
3227
2594
|
* When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication).
|
|
3228
2595
|
*/
|
|
3229
|
-
setup_future_usage?:
|
|
2596
|
+
setup_future_usage?: 'none';
|
|
3230
2597
|
}
|
|
3231
2598
|
|
|
3232
2599
|
namespace Pix {
|
|
3233
2600
|
type AmountIncludesIof = 'always' | 'never';
|
|
3234
|
-
|
|
3235
|
-
interface MandateOptions {
|
|
3236
|
-
/**
|
|
3237
|
-
* Amount to be charged for future payments.
|
|
3238
|
-
*/
|
|
3239
|
-
amount?: number;
|
|
3240
|
-
|
|
3241
|
-
/**
|
|
3242
|
-
* Determines if the amount includes the IOF tax.
|
|
3243
|
-
*/
|
|
3244
|
-
amount_includes_iof?: MandateOptions.AmountIncludesIof;
|
|
3245
|
-
|
|
3246
|
-
/**
|
|
3247
|
-
* Type of amount.
|
|
3248
|
-
*/
|
|
3249
|
-
amount_type?: MandateOptions.AmountType;
|
|
3250
|
-
|
|
3251
|
-
/**
|
|
3252
|
-
* Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase.
|
|
3253
|
-
*/
|
|
3254
|
-
currency?: string;
|
|
3255
|
-
|
|
3256
|
-
/**
|
|
3257
|
-
* Date when the mandate expires and no further payments will be charged, in `YYYY-MM-DD`.
|
|
3258
|
-
*/
|
|
3259
|
-
end_date?: string;
|
|
3260
|
-
|
|
3261
|
-
/**
|
|
3262
|
-
* Schedule at which the future payments will be charged.
|
|
3263
|
-
*/
|
|
3264
|
-
payment_schedule?: MandateOptions.PaymentSchedule;
|
|
3265
|
-
|
|
3266
|
-
/**
|
|
3267
|
-
* Subscription name displayed to buyers in their bank app.
|
|
3268
|
-
*/
|
|
3269
|
-
reference?: string;
|
|
3270
|
-
|
|
3271
|
-
/**
|
|
3272
|
-
* Start date of the mandate, in `YYYY-MM-DD`.
|
|
3273
|
-
*/
|
|
3274
|
-
start_date?: string;
|
|
3275
|
-
}
|
|
3276
|
-
|
|
3277
|
-
namespace MandateOptions {
|
|
3278
|
-
type AmountIncludesIof = 'always' | 'never';
|
|
3279
|
-
|
|
3280
|
-
type AmountType = 'fixed' | 'maximum';
|
|
3281
|
-
|
|
3282
|
-
type PaymentSchedule =
|
|
3283
|
-
| 'halfyearly'
|
|
3284
|
-
| 'monthly'
|
|
3285
|
-
| 'quarterly'
|
|
3286
|
-
| 'weekly'
|
|
3287
|
-
| 'yearly';
|
|
3288
|
-
}
|
|
3289
|
-
|
|
3290
|
-
type SetupFutureUsage = 'none' | 'off_session';
|
|
3291
2601
|
}
|
|
3292
2602
|
|
|
3293
2603
|
interface Promptpay {
|
|
@@ -3303,21 +2613,6 @@ declare module 'stripe' {
|
|
|
3303
2613
|
setup_future_usage?: 'none';
|
|
3304
2614
|
}
|
|
3305
2615
|
|
|
3306
|
-
interface Qris {
|
|
3307
|
-
/**
|
|
3308
|
-
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
3309
|
-
*
|
|
3310
|
-
* If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
3311
|
-
*
|
|
3312
|
-
* If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
|
3313
|
-
*
|
|
3314
|
-
* When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication).
|
|
3315
|
-
*/
|
|
3316
|
-
setup_future_usage?: 'none';
|
|
3317
|
-
}
|
|
3318
|
-
|
|
3319
|
-
interface Rechnung {}
|
|
3320
|
-
|
|
3321
2616
|
interface RevolutPay {
|
|
3322
2617
|
/**
|
|
3323
2618
|
* Controls when the funds will be captured from the customer's account.
|
|
@@ -3385,19 +2680,6 @@ declare module 'stripe' {
|
|
|
3385
2680
|
type SetupFutureUsage = 'none' | 'off_session' | 'on_session';
|
|
3386
2681
|
}
|
|
3387
2682
|
|
|
3388
|
-
interface Shopeepay {
|
|
3389
|
-
/**
|
|
3390
|
-
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
3391
|
-
*
|
|
3392
|
-
* If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
3393
|
-
*
|
|
3394
|
-
* If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
|
3395
|
-
*
|
|
3396
|
-
* When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication).
|
|
3397
|
-
*/
|
|
3398
|
-
setup_future_usage?: 'none';
|
|
3399
|
-
}
|
|
3400
|
-
|
|
3401
2683
|
interface Sofort {
|
|
3402
2684
|
/**
|
|
3403
2685
|
* Preferred language of the SOFORT authorization page that the customer is redirected to.
|
|
@@ -3429,23 +2711,6 @@ declare module 'stripe' {
|
|
|
3429
2711
|
type SetupFutureUsage = 'none' | 'off_session';
|
|
3430
2712
|
}
|
|
3431
2713
|
|
|
3432
|
-
interface StripeBalance {
|
|
3433
|
-
/**
|
|
3434
|
-
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
3435
|
-
*
|
|
3436
|
-
* If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
3437
|
-
*
|
|
3438
|
-
* If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
|
3439
|
-
*
|
|
3440
|
-
* When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication).
|
|
3441
|
-
*/
|
|
3442
|
-
setup_future_usage?: StripeBalance.SetupFutureUsage;
|
|
3443
|
-
}
|
|
3444
|
-
|
|
3445
|
-
namespace StripeBalance {
|
|
3446
|
-
type SetupFutureUsage = 'none' | 'off_session';
|
|
3447
|
-
}
|
|
3448
|
-
|
|
3449
2714
|
interface Swish {
|
|
3450
2715
|
/**
|
|
3451
2716
|
* A reference for this payment to be displayed in the Swish app.
|
|
@@ -3513,8 +2778,6 @@ declare module 'stripe' {
|
|
|
3513
2778
|
interface FinancialConnections {
|
|
3514
2779
|
filters?: FinancialConnections.Filters;
|
|
3515
2780
|
|
|
3516
|
-
manual_entry?: FinancialConnections.ManualEntry;
|
|
3517
|
-
|
|
3518
2781
|
/**
|
|
3519
2782
|
* The list of permissions to request. The `payment_method` permission must be included.
|
|
3520
2783
|
*/
|
|
@@ -3537,39 +2800,19 @@ declare module 'stripe' {
|
|
|
3537
2800
|
* The account subcategories to use to filter for possible accounts to link. Valid subcategories are `checking` and `savings`.
|
|
3538
2801
|
*/
|
|
3539
2802
|
account_subcategories?: Array<Filters.AccountSubcategory>;
|
|
3540
|
-
|
|
3541
|
-
/**
|
|
3542
|
-
* The institution to use to filter for possible accounts to link.
|
|
3543
|
-
*/
|
|
3544
|
-
institution?: string;
|
|
3545
2803
|
}
|
|
3546
2804
|
|
|
3547
2805
|
namespace Filters {
|
|
3548
2806
|
type AccountSubcategory = 'checking' | 'savings';
|
|
3549
2807
|
}
|
|
3550
2808
|
|
|
3551
|
-
interface ManualEntry {
|
|
3552
|
-
/**
|
|
3553
|
-
* Settings for configuring manual entry of account details.
|
|
3554
|
-
*/
|
|
3555
|
-
mode?: ManualEntry.Mode;
|
|
3556
|
-
}
|
|
3557
|
-
|
|
3558
|
-
namespace ManualEntry {
|
|
3559
|
-
type Mode = 'automatic' | 'custom';
|
|
3560
|
-
}
|
|
3561
|
-
|
|
3562
2809
|
type Permission =
|
|
3563
2810
|
| 'balances'
|
|
3564
2811
|
| 'ownership'
|
|
3565
2812
|
| 'payment_method'
|
|
3566
2813
|
| 'transactions';
|
|
3567
2814
|
|
|
3568
|
-
type Prefetch =
|
|
3569
|
-
| 'balances'
|
|
3570
|
-
| 'inferred_balances'
|
|
3571
|
-
| 'ownership'
|
|
3572
|
-
| 'transactions';
|
|
2815
|
+
type Prefetch = 'balances' | 'ownership' | 'transactions';
|
|
3573
2816
|
}
|
|
3574
2817
|
|
|
3575
2818
|
interface MandateOptions {
|
|
@@ -3668,8 +2911,6 @@ declare module 'stripe' {
|
|
|
3668
2911
|
}
|
|
3669
2912
|
}
|
|
3670
2913
|
|
|
3671
|
-
type SecretKeyConfirmation = 'optional' | 'required';
|
|
3672
|
-
|
|
3673
2914
|
type SetupFutureUsage = 'off_session' | 'on_session';
|
|
3674
2915
|
|
|
3675
2916
|
interface Shipping {
|