stripe 18.2.0-beta.1 → 18.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 +179 -1211
- package/OPENAPI_VERSION +1 -1
- package/README.md +11 -12
- package/VERSION +1 -1
- package/cjs/Error.js +1 -91
- package/cjs/RequestSender.js +2 -2
- package/cjs/StripeResource.js +1 -1
- package/cjs/apiVersion.js +1 -1
- package/cjs/resources/FinancialConnections/Accounts.js +0 -5
- package/cjs/resources/{PaymentAttemptRecords.js → InvoicePayments.js} +4 -4
- package/cjs/resources/PaymentIntents.js +0 -13
- package/cjs/resources/Quotes.js +0 -32
- package/cjs/resources/SubscriptionSchedules.js +0 -4
- package/cjs/resources/Terminal/Readers.js +0 -8
- package/cjs/resources.js +18 -108
- package/cjs/stripe.core.js +1 -1
- package/cjs/utils.js +5 -0
- package/esm/Error.js +0 -79
- package/esm/RequestSender.js +2 -2
- package/esm/StripeResource.js +1 -1
- package/esm/apiVersion.js +1 -1
- package/esm/resources/FinancialConnections/Accounts.js +0 -5
- package/esm/resources/{PaymentAttemptRecords.js → InvoicePayments.js} +3 -3
- package/esm/resources/PaymentIntents.js +0 -13
- package/esm/resources/Quotes.js +0 -32
- package/esm/resources/SubscriptionSchedules.js +0 -4
- package/esm/resources/Terminal/Readers.js +0 -8
- package/esm/resources.js +1 -84
- package/esm/stripe.core.js +1 -1
- package/esm/utils.js +5 -0
- package/package.json +1 -1
- package/types/AccountLinksResource.d.ts +1 -5
- package/types/AccountSessions.d.ts +52 -32
- package/types/AccountSessionsResource.d.ts +23 -246
- package/types/Accounts.d.ts +19 -223
- package/types/AccountsResource.d.ts +61 -581
- package/types/Balance.d.ts +83 -1
- package/types/BalanceResource.d.ts +1 -1
- package/types/BalanceTransactions.d.ts +10 -0
- package/types/BankAccounts.d.ts +3 -3
- package/types/Billing/Alerts.d.ts +1 -1
- package/types/Billing/AlertsResource.d.ts +2 -2
- 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 +1 -11
- package/types/BillingPortal/Sessions.d.ts +1 -6
- package/types/BillingPortal/SessionsResource.d.ts +4 -12
- package/types/Capabilities.d.ts +1 -1
- package/types/Cards.d.ts +2 -7
- package/types/CashBalances.d.ts +0 -5
- package/types/Charges.d.ts +20 -166
- package/types/ChargesResource.d.ts +4 -1318
- package/types/Checkout/Sessions.d.ts +120 -418
- package/types/Checkout/SessionsResource.d.ts +118 -448
- package/types/ConfirmationTokens.d.ts +4 -129
- package/types/CountrySpecs.d.ts +1 -1
- 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 +11 -10
- package/types/CreditNotesResource.d.ts +7 -13
- package/types/CustomerBalanceTransactions.d.ts +0 -2
- package/types/CustomerCashBalanceTransactions.d.ts +0 -2
- package/types/CustomerSessions.d.ts +3 -8
- package/types/CustomerSessionsResource.d.ts +1 -6
- package/types/Customers.d.ts +0 -2
- package/types/CustomersResource.d.ts +7 -15
- package/types/Discounts.d.ts +0 -10
- package/types/Disputes.d.ts +1 -1
- package/types/DisputesResource.d.ts +1 -1
- package/types/Errors.d.ts +2 -69
- package/types/EventTypes.d.ts +17 -698
- package/types/Events.d.ts +4 -99
- package/types/Files.d.ts +1 -1
- package/types/FilesResource.d.ts +1 -1
- package/types/FinancialConnections/Accounts.d.ts +1 -31
- package/types/FinancialConnections/AccountsResource.d.ts +3 -40
- package/types/FinancialConnections/Sessions.d.ts +1 -51
- package/types/FinancialConnections/SessionsResource.d.ts +1 -43
- package/types/Identity/VerificationReports.d.ts +17 -0
- package/types/Identity/VerificationSessions.d.ts +19 -7
- package/types/Identity/VerificationSessionsResource.d.ts +5 -12
- package/types/InvoiceItems.d.ts +1 -11
- package/types/InvoiceItemsResource.d.ts +6 -117
- package/types/InvoiceLineItems.d.ts +2 -46
- package/types/InvoicePayments.d.ts +9 -7
- package/types/InvoicePaymentsResource.d.ts +74 -0
- package/types/Invoices.d.ts +10 -142
- package/types/InvoicesResource.d.ts +66 -1469
- package/types/Issuing/AuthorizationsResource.d.ts +4 -4
- package/types/Issuing/CardholdersResource.d.ts +1 -2
- package/types/Issuing/CardsResource.d.ts +3 -0
- package/types/Issuing/DisputesResource.d.ts +2 -2
- package/types/Issuing/Transactions.d.ts +0 -5
- package/types/Issuing/TransactionsResource.d.ts +0 -5
- package/types/LineItems.d.ts +2 -51
- package/types/Mandates.d.ts +0 -77
- package/types/PaymentIntents.d.ts +145 -856
- package/types/PaymentIntentsResource.d.ts +4307 -8780
- package/types/PaymentLinks.d.ts +0 -6
- package/types/PaymentLinksResource.d.ts +0 -12
- package/types/PaymentMethodConfigurations.d.ts +70 -70
- package/types/PaymentMethodConfigurationsResource.d.ts +164 -164
- package/types/PaymentMethodDomainsResource.d.ts +1 -1
- package/types/PaymentMethods.d.ts +4 -129
- package/types/PaymentMethodsResource.d.ts +10 -175
- package/types/Payouts.d.ts +2 -7
- package/types/PayoutsResource.d.ts +2 -7
- package/types/Persons.d.ts +10 -10
- package/types/PlansResource.d.ts +1 -1
- package/types/Prices.d.ts +0 -22
- package/types/PricesResource.d.ts +2 -24
- package/types/Products.d.ts +0 -39
- package/types/ProductsResource.d.ts +1 -37
- package/types/PromotionCodes.d.ts +0 -5
- package/types/PromotionCodesResource.d.ts +1 -11
- package/types/Quotes.d.ts +7 -609
- package/types/QuotesResource.d.ts +224 -2578
- package/types/Radar/EarlyFraudWarningsResource.d.ts +1 -1
- package/types/Refunds.d.ts +6 -15
- package/types/Reviews.d.ts +1 -1
- package/types/SetupAttempts.d.ts +2 -50
- package/types/SetupIntents.d.ts +4 -122
- package/types/SetupIntentsResource.d.ts +6 -733
- package/types/Sources.d.ts +0 -29
- package/types/SourcesResource.d.ts +1 -1
- package/types/SubscriptionItems.d.ts +8 -17
- package/types/SubscriptionItemsResource.d.ts +28 -109
- package/types/SubscriptionSchedules.d.ts +47 -213
- package/types/SubscriptionSchedulesResource.d.ts +104 -1243
- package/types/Subscriptions.d.ts +16 -102
- package/types/SubscriptionsResource.d.ts +80 -407
- package/types/Tax/CalculationLineItems.d.ts +5 -0
- package/types/Tax/CalculationsResource.d.ts +5 -0
- package/types/Tax/RegistrationsResource.d.ts +1 -1
- package/types/TaxIds.d.ts +0 -10
- package/types/TaxIdsResource.d.ts +0 -10
- package/types/TaxRates.d.ts +2 -2
- package/types/Terminal/LocationsResource.d.ts +1 -1
- package/types/Terminal/Readers.d.ts +7 -89
- package/types/Terminal/ReadersResource.d.ts +6 -82
- package/types/TestHelpers/ConfirmationTokensResource.d.ts +0 -126
- package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +0 -26
- package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +0 -26
- package/types/Tokens.d.ts +3 -3
- package/types/TokensResource.d.ts +8 -8
- package/types/TransferReversals.d.ts +1 -1
- package/types/Transfers.d.ts +0 -5
- package/types/TransfersResource.d.ts +2 -7
- 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 +2 -28
- package/types/Treasury/ReceivedDebits.d.ts +0 -31
- package/types/V2/EventTypes.d.ts +1 -812
- package/types/WebhookEndpointsResource.d.ts +4 -83
- package/types/index.d.ts +5 -145
- package/types/lib.d.ts +1 -11
- package/types/test/typescriptTest.ts +3 -3
- package/cjs/resources/AccountNotices.js +0 -21
- package/cjs/resources/BalanceSettings.js +0 -10
- 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/GiftCards/Cards.js +0 -23
- package/cjs/resources/GiftCards/Transactions.js +0 -33
- 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/PaymentRecords.js +0 -29
- 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/ReaderCollectedData.js +0 -12
- 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 -17
- package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js +0 -21
- package/cjs/resources/V2/MoneyManagement/InboundTransfers.js +0 -21
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -16
- package/cjs/resources/V2/MoneyManagement/OutboundPayments.js +0 -25
- package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -29
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js +0 -25
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.js +0 -25
- package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +0 -12
- package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js +0 -17
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js +0 -17
- package/cjs/resources/V2/MoneyManagement/TransactionEntries.js +0 -17
- package/cjs/resources/V2/MoneyManagement/Transactions.js +0 -17
- package/cjs/resources/V2/TestHelpers/FinancialAddresses.js +0 -16
- package/esm/resources/AccountNotices.js +0 -18
- package/esm/resources/BalanceSettings.js +0 -7
- 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/GiftCards/Cards.js +0 -20
- package/esm/resources/GiftCards/Transactions.js +0 -30
- 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/PaymentRecords.js +0 -26
- 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/ReaderCollectedData.js +0 -9
- 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 -14
- package/esm/resources/V2/MoneyManagement/FinancialAddresses.js +0 -18
- package/esm/resources/V2/MoneyManagement/InboundTransfers.js +0 -18
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -13
- package/esm/resources/V2/MoneyManagement/OutboundPayments.js +0 -22
- package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -26
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.js +0 -22
- package/esm/resources/V2/MoneyManagement/PayoutMethods.js +0 -22
- package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +0 -9
- package/esm/resources/V2/MoneyManagement/ReceivedCredits.js +0 -14
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.js +0 -14
- package/esm/resources/V2/MoneyManagement/TransactionEntries.js +0 -14
- package/esm/resources/V2/MoneyManagement/Transactions.js +0 -14
- package/esm/resources/V2/TestHelpers/FinancialAddresses.js +0 -13
- package/types/AccountNotices.d.ts +0 -113
- package/types/AccountNoticesResource.d.ts +0 -98
- package/types/BalanceSettings.d.ts +0 -89
- package/types/BalanceSettingsResource.d.ts +0 -108
- package/types/Billing/MeterErrorReports.d.ts +0 -106
- 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 -93
- package/types/FinancialConnections/InstitutionsResource.d.ts +0 -47
- package/types/FxQuotes.d.ts +0 -153
- package/types/FxQuotesResource.d.ts +0 -130
- package/types/GiftCards/Cards.d.ts +0 -118
- package/types/GiftCards/CardsResource.d.ts +0 -159
- package/types/GiftCards/Transactions.d.ts +0 -129
- package/types/GiftCards/TransactionsResource.d.ts +0 -201
- 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 -1199
- package/types/OrdersResource.d.ts +0 -3001
- package/types/PaymentAttemptRecords.d.ts +0 -2112
- package/types/PaymentAttemptRecordsResource.d.ts +0 -47
- package/types/PaymentIntentAmountDetailsLineItems.d.ts +0 -110
- package/types/PaymentRecords.d.ts +0 -2105
- package/types/PaymentRecordsResource.d.ts +0 -455
- package/types/Privacy/RedactionJobValidationErrors.d.ts +0 -30
- package/types/Privacy/RedactionJobs.d.ts +0 -65
- package/types/Privacy/RedactionJobsResource.d.ts +0 -218
- package/types/QuoteLines.d.ts +0 -634
- package/types/QuotePreviewInvoices.d.ts +0 -1697
- package/types/QuotePreviewSubscriptionSchedules.d.ts +0 -785
- package/types/Tax/Associations.d.ts +0 -126
- 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/ReaderCollectedData.d.ts +0 -51
- package/types/Terminal/ReaderCollectedDataResource.d.ts +0 -29
- package/types/V2/Core/AccountLinks.d.ts +0 -106
- package/types/V2/Core/AccountLinksResource.d.ts +0 -90
- package/types/V2/Core/Accounts/PersonsResource.d.ts +0 -3770
- package/types/V2/Core/Accounts.d.ts +0 -8169
- package/types/V2/Core/AccountsResource.d.ts +0 -10203
- package/types/V2/Core/Persons.d.ts +0 -1867
- 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 -546
- package/types/V2/MoneyManagement/FinancialAccountsResource.d.ts +0 -52
- package/types/V2/MoneyManagement/FinancialAddresses.d.ts +0 -314
- package/types/V2/MoneyManagement/FinancialAddressesResource.d.ts +0 -288
- 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 -168
- 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 -207
- package/types/V2/MoneyManagement/PayoutMethods.d.ts +0 -151
- package/types/V2/MoneyManagement/PayoutMethodsBankAccountSpecResource.d.ts +0 -41
- package/types/V2/MoneyManagement/PayoutMethodsBankAccountSpecs.d.ts +0 -87
- package/types/V2/MoneyManagement/PayoutMethodsResource.d.ts +0 -113
- package/types/V2/MoneyManagement/ReceivedCredits.d.ts +0 -285
- package/types/V2/MoneyManagement/ReceivedCreditsResource.d.ts +0 -78
- package/types/V2/MoneyManagement/ReceivedDebits.d.ts +0 -224
- package/types/V2/MoneyManagement/ReceivedDebitsResource.d.ts +0 -48
- package/types/V2/MoneyManagement/TransactionEntries.d.ts +0 -155
- package/types/V2/MoneyManagement/TransactionEntriesResource.d.ts +0 -82
- package/types/V2/MoneyManagement/Transactions.d.ts +0 -170
- package/types/V2/MoneyManagement/TransactionsResource.d.ts +0 -83
- package/types/V2/TestHelpers/FinancialAddressesResource.d.ts +0 -66
|
@@ -126,11 +126,6 @@ declare module 'stripe' {
|
|
|
126
126
|
*/
|
|
127
127
|
customer: string | Stripe.Customer | Stripe.DeletedCustomer | null;
|
|
128
128
|
|
|
129
|
-
/**
|
|
130
|
-
* The ID of the account for this Session.
|
|
131
|
-
*/
|
|
132
|
-
customer_account?: string | null;
|
|
133
|
-
|
|
134
129
|
/**
|
|
135
130
|
* Configure whether a Checkout Session creates a Customer when the Checkout Session completes.
|
|
136
131
|
*/
|
|
@@ -421,30 +416,10 @@ declare module 'stripe' {
|
|
|
421
416
|
type BillingAddressCollection = 'auto' | 'required';
|
|
422
417
|
|
|
423
418
|
interface CollectedInformation {
|
|
424
|
-
/**
|
|
425
|
-
* Customer's business name for this Checkout Session
|
|
426
|
-
*/
|
|
427
|
-
business_name?: string | null;
|
|
428
|
-
|
|
429
|
-
/**
|
|
430
|
-
* Customer's email for this Checkout Session
|
|
431
|
-
*/
|
|
432
|
-
email?: string | null;
|
|
433
|
-
|
|
434
|
-
/**
|
|
435
|
-
* Customer's phone number for this Checkout Session
|
|
436
|
-
*/
|
|
437
|
-
phone?: string | null;
|
|
438
|
-
|
|
439
419
|
/**
|
|
440
420
|
* Shipping information for this Checkout Session.
|
|
441
421
|
*/
|
|
442
422
|
shipping_details: CollectedInformation.ShippingDetails | null;
|
|
443
|
-
|
|
444
|
-
/**
|
|
445
|
-
* Customer's tax ids for this Checkout Session.
|
|
446
|
-
*/
|
|
447
|
-
tax_ids?: Array<CollectedInformation.TaxId> | null;
|
|
448
423
|
}
|
|
449
424
|
|
|
450
425
|
namespace CollectedInformation {
|
|
@@ -456,133 +431,6 @@ declare module 'stripe' {
|
|
|
456
431
|
*/
|
|
457
432
|
name: string;
|
|
458
433
|
}
|
|
459
|
-
|
|
460
|
-
interface TaxId {
|
|
461
|
-
/**
|
|
462
|
-
* The type of the tax ID, one of `ad_nrt`, `ar_cuit`, `eu_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `cn_tin`, `co_nit`, `cr_tin`, `do_rcn`, `ec_ruc`, `eu_oss_vat`, `hr_oib`, `pe_ruc`, `ro_tin`, `rs_pib`, `sv_nit`, `uy_ruc`, `ve_rif`, `vn_tin`, `gb_vat`, `nz_gst`, `au_abn`, `au_arn`, `in_gst`, `no_vat`, `no_voec`, `za_vat`, `ch_vat`, `mx_rfc`, `sg_uen`, `ru_inn`, `ru_kpp`, `ca_bn`, `hk_br`, `es_cif`, `tw_vat`, `th_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `li_uid`, `li_vat`, `my_itn`, `us_ein`, `kr_brn`, `ca_qst`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `my_sst`, `sg_gst`, `ae_trn`, `cl_tin`, `sa_vat`, `id_npwp`, `my_frp`, `il_vat`, `ge_vat`, `ua_vat`, `is_vat`, `bg_uic`, `hu_tin`, `si_tin`, `ke_pin`, `tr_tin`, `eg_tin`, `ph_tin`, `al_tin`, `bh_vat`, `kz_bin`, `ng_tin`, `om_vat`, `de_stn`, `ch_uid`, `tz_vat`, `uz_vat`, `uz_tin`, `md_vat`, `ma_vat`, `by_tin`, `ao_tin`, `bs_tin`, `bb_tin`, `cd_nif`, `mr_nif`, `me_pib`, `zw_tin`, `ba_tin`, `gn_nif`, `mk_vat`, `sr_fin`, `sn_ninea`, `am_tin`, `np_pan`, `tj_tin`, `ug_tin`, `zm_tin`, `kh_tin`, `aw_tin`, `az_tin`, `bd_bin`, `bj_ifu`, `et_tin`, `kg_tin`, `la_tin`, `cm_niu`, `cv_nif`, `bf_ifu`, or `unknown`
|
|
463
|
-
*/
|
|
464
|
-
type: TaxId.Type;
|
|
465
|
-
|
|
466
|
-
/**
|
|
467
|
-
* The value of the tax ID.
|
|
468
|
-
*/
|
|
469
|
-
value: string | null;
|
|
470
|
-
}
|
|
471
|
-
|
|
472
|
-
namespace TaxId {
|
|
473
|
-
type Type =
|
|
474
|
-
| 'ad_nrt'
|
|
475
|
-
| 'ae_trn'
|
|
476
|
-
| 'al_tin'
|
|
477
|
-
| 'am_tin'
|
|
478
|
-
| 'ao_tin'
|
|
479
|
-
| 'ar_cuit'
|
|
480
|
-
| 'au_abn'
|
|
481
|
-
| 'au_arn'
|
|
482
|
-
| 'aw_tin'
|
|
483
|
-
| 'az_tin'
|
|
484
|
-
| 'ba_tin'
|
|
485
|
-
| 'bb_tin'
|
|
486
|
-
| 'bd_bin'
|
|
487
|
-
| 'bf_ifu'
|
|
488
|
-
| 'bg_uic'
|
|
489
|
-
| 'bh_vat'
|
|
490
|
-
| 'bj_ifu'
|
|
491
|
-
| 'bo_tin'
|
|
492
|
-
| 'br_cnpj'
|
|
493
|
-
| 'br_cpf'
|
|
494
|
-
| 'bs_tin'
|
|
495
|
-
| 'by_tin'
|
|
496
|
-
| 'ca_bn'
|
|
497
|
-
| 'ca_gst_hst'
|
|
498
|
-
| 'ca_pst_bc'
|
|
499
|
-
| 'ca_pst_mb'
|
|
500
|
-
| 'ca_pst_sk'
|
|
501
|
-
| 'ca_qst'
|
|
502
|
-
| 'cd_nif'
|
|
503
|
-
| 'ch_uid'
|
|
504
|
-
| 'ch_vat'
|
|
505
|
-
| 'cl_tin'
|
|
506
|
-
| 'cm_niu'
|
|
507
|
-
| 'cn_tin'
|
|
508
|
-
| 'co_nit'
|
|
509
|
-
| 'cr_tin'
|
|
510
|
-
| 'cv_nif'
|
|
511
|
-
| 'de_stn'
|
|
512
|
-
| 'do_rcn'
|
|
513
|
-
| 'ec_ruc'
|
|
514
|
-
| 'eg_tin'
|
|
515
|
-
| 'es_cif'
|
|
516
|
-
| 'et_tin'
|
|
517
|
-
| 'eu_oss_vat'
|
|
518
|
-
| 'eu_vat'
|
|
519
|
-
| 'gb_vat'
|
|
520
|
-
| 'ge_vat'
|
|
521
|
-
| 'gn_nif'
|
|
522
|
-
| 'hk_br'
|
|
523
|
-
| 'hr_oib'
|
|
524
|
-
| 'hu_tin'
|
|
525
|
-
| 'id_npwp'
|
|
526
|
-
| 'il_vat'
|
|
527
|
-
| 'in_gst'
|
|
528
|
-
| 'is_vat'
|
|
529
|
-
| 'jp_cn'
|
|
530
|
-
| 'jp_rn'
|
|
531
|
-
| 'jp_trn'
|
|
532
|
-
| 'ke_pin'
|
|
533
|
-
| 'kg_tin'
|
|
534
|
-
| 'kh_tin'
|
|
535
|
-
| 'kr_brn'
|
|
536
|
-
| 'kz_bin'
|
|
537
|
-
| 'la_tin'
|
|
538
|
-
| 'li_uid'
|
|
539
|
-
| 'li_vat'
|
|
540
|
-
| 'ma_vat'
|
|
541
|
-
| 'md_vat'
|
|
542
|
-
| 'me_pib'
|
|
543
|
-
| 'mk_vat'
|
|
544
|
-
| 'mr_nif'
|
|
545
|
-
| 'mx_rfc'
|
|
546
|
-
| 'my_frp'
|
|
547
|
-
| 'my_itn'
|
|
548
|
-
| 'my_sst'
|
|
549
|
-
| 'ng_tin'
|
|
550
|
-
| 'no_vat'
|
|
551
|
-
| 'no_voec'
|
|
552
|
-
| 'np_pan'
|
|
553
|
-
| 'nz_gst'
|
|
554
|
-
| 'om_vat'
|
|
555
|
-
| 'pe_ruc'
|
|
556
|
-
| 'ph_tin'
|
|
557
|
-
| 'ro_tin'
|
|
558
|
-
| 'rs_pib'
|
|
559
|
-
| 'ru_inn'
|
|
560
|
-
| 'ru_kpp'
|
|
561
|
-
| 'sa_vat'
|
|
562
|
-
| 'sg_gst'
|
|
563
|
-
| 'sg_uen'
|
|
564
|
-
| 'si_tin'
|
|
565
|
-
| 'sn_ninea'
|
|
566
|
-
| 'sr_fin'
|
|
567
|
-
| 'sv_nit'
|
|
568
|
-
| 'th_vat'
|
|
569
|
-
| 'tj_tin'
|
|
570
|
-
| 'tr_tin'
|
|
571
|
-
| 'tw_vat'
|
|
572
|
-
| 'tz_vat'
|
|
573
|
-
| 'ua_vat'
|
|
574
|
-
| 'ug_tin'
|
|
575
|
-
| 'unknown'
|
|
576
|
-
| 'us_ein'
|
|
577
|
-
| 'uy_ruc'
|
|
578
|
-
| 'uz_tin'
|
|
579
|
-
| 'uz_vat'
|
|
580
|
-
| 've_rif'
|
|
581
|
-
| 'vn_tin'
|
|
582
|
-
| 'za_vat'
|
|
583
|
-
| 'zm_tin'
|
|
584
|
-
| 'zw_tin';
|
|
585
|
-
}
|
|
586
434
|
}
|
|
587
435
|
|
|
588
436
|
interface Consent {
|
|
@@ -1242,8 +1090,6 @@ declare module 'stripe' {
|
|
|
1242
1090
|
|
|
1243
1091
|
paypal?: PaymentMethodOptions.Paypal;
|
|
1244
1092
|
|
|
1245
|
-
payto?: PaymentMethodOptions.Payto;
|
|
1246
|
-
|
|
1247
1093
|
pix?: PaymentMethodOptions.Pix;
|
|
1248
1094
|
|
|
1249
1095
|
revolut_pay?: PaymentMethodOptions.RevolutPay;
|
|
@@ -1271,11 +1117,11 @@ declare module 'stripe' {
|
|
|
1271
1117
|
/**
|
|
1272
1118
|
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1273
1119
|
*
|
|
1274
|
-
* If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://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://stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
1120
|
+
* 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.
|
|
1275
1121
|
*
|
|
1276
|
-
* If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
|
1122
|
+
* 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.
|
|
1277
1123
|
*
|
|
1278
|
-
* When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://stripe.com/strong-customer-authentication).
|
|
1124
|
+
* 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).
|
|
1279
1125
|
*/
|
|
1280
1126
|
setup_future_usage?: AcssDebit.SetupFutureUsage;
|
|
1281
1127
|
|
|
@@ -1337,11 +1183,11 @@ declare module 'stripe' {
|
|
|
1337
1183
|
/**
|
|
1338
1184
|
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1339
1185
|
*
|
|
1340
|
-
* If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://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://stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
1186
|
+
* 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.
|
|
1341
1187
|
*
|
|
1342
|
-
* If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
|
1188
|
+
* 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.
|
|
1343
1189
|
*
|
|
1344
|
-
* When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://stripe.com/strong-customer-authentication).
|
|
1190
|
+
* 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).
|
|
1345
1191
|
*/
|
|
1346
1192
|
setup_future_usage?: 'none';
|
|
1347
1193
|
}
|
|
@@ -1350,11 +1196,11 @@ declare module 'stripe' {
|
|
|
1350
1196
|
/**
|
|
1351
1197
|
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1352
1198
|
*
|
|
1353
|
-
* If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://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://stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
1199
|
+
* 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.
|
|
1354
1200
|
*
|
|
1355
|
-
* If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
|
1201
|
+
* 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.
|
|
1356
1202
|
*
|
|
1357
|
-
* When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://stripe.com/strong-customer-authentication).
|
|
1203
|
+
* 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).
|
|
1358
1204
|
*/
|
|
1359
1205
|
setup_future_usage?: 'none';
|
|
1360
1206
|
}
|
|
@@ -1363,11 +1209,11 @@ declare module 'stripe' {
|
|
|
1363
1209
|
/**
|
|
1364
1210
|
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1365
1211
|
*
|
|
1366
|
-
* If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://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://stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
1212
|
+
* 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.
|
|
1367
1213
|
*
|
|
1368
|
-
* If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
|
1214
|
+
* 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.
|
|
1369
1215
|
*
|
|
1370
|
-
* When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://stripe.com/strong-customer-authentication).
|
|
1216
|
+
* 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).
|
|
1371
1217
|
*/
|
|
1372
1218
|
setup_future_usage?: 'none';
|
|
1373
1219
|
}
|
|
@@ -1376,11 +1222,11 @@ declare module 'stripe' {
|
|
|
1376
1222
|
/**
|
|
1377
1223
|
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1378
1224
|
*
|
|
1379
|
-
* If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://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://stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
1225
|
+
* 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.
|
|
1380
1226
|
*
|
|
1381
|
-
* If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
|
1227
|
+
* 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.
|
|
1382
1228
|
*
|
|
1383
|
-
* When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://stripe.com/strong-customer-authentication).
|
|
1229
|
+
* 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).
|
|
1384
1230
|
*/
|
|
1385
1231
|
setup_future_usage?: AmazonPay.SetupFutureUsage;
|
|
1386
1232
|
}
|
|
@@ -1393,11 +1239,11 @@ declare module 'stripe' {
|
|
|
1393
1239
|
/**
|
|
1394
1240
|
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1395
1241
|
*
|
|
1396
|
-
* If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://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://stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
1242
|
+
* 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.
|
|
1397
1243
|
*
|
|
1398
|
-
* If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
|
1244
|
+
* 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.
|
|
1399
1245
|
*
|
|
1400
|
-
* When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://stripe.com/strong-customer-authentication).
|
|
1246
|
+
* 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).
|
|
1401
1247
|
*/
|
|
1402
1248
|
setup_future_usage?: 'none';
|
|
1403
1249
|
|
|
@@ -1413,11 +1259,11 @@ declare module 'stripe' {
|
|
|
1413
1259
|
/**
|
|
1414
1260
|
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1415
1261
|
*
|
|
1416
|
-
* If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://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://stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
1262
|
+
* 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.
|
|
1417
1263
|
*
|
|
1418
|
-
* If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
|
1264
|
+
* 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.
|
|
1419
1265
|
*
|
|
1420
|
-
* When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://stripe.com/strong-customer-authentication).
|
|
1266
|
+
* 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).
|
|
1421
1267
|
*/
|
|
1422
1268
|
setup_future_usage?: BacsDebit.SetupFutureUsage;
|
|
1423
1269
|
|
|
@@ -1442,11 +1288,11 @@ declare module 'stripe' {
|
|
|
1442
1288
|
/**
|
|
1443
1289
|
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1444
1290
|
*
|
|
1445
|
-
* If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://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://stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
1291
|
+
* 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.
|
|
1446
1292
|
*
|
|
1447
|
-
* If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
|
1293
|
+
* 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.
|
|
1448
1294
|
*
|
|
1449
|
-
* When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://stripe.com/strong-customer-authentication).
|
|
1295
|
+
* 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).
|
|
1450
1296
|
*/
|
|
1451
1297
|
setup_future_usage?: 'none';
|
|
1452
1298
|
}
|
|
@@ -1460,11 +1306,11 @@ declare module 'stripe' {
|
|
|
1460
1306
|
/**
|
|
1461
1307
|
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1462
1308
|
*
|
|
1463
|
-
* If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://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://stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
1309
|
+
* 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.
|
|
1464
1310
|
*
|
|
1465
|
-
* If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
|
1311
|
+
* 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.
|
|
1466
1312
|
*
|
|
1467
|
-
* When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://stripe.com/strong-customer-authentication).
|
|
1313
|
+
* 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).
|
|
1468
1314
|
*/
|
|
1469
1315
|
setup_future_usage?: Boleto.SetupFutureUsage;
|
|
1470
1316
|
}
|
|
@@ -1477,27 +1323,22 @@ declare module 'stripe' {
|
|
|
1477
1323
|
installments?: Card.Installments;
|
|
1478
1324
|
|
|
1479
1325
|
/**
|
|
1480
|
-
* Request ability to [capture beyond the standard authorization validity window](https://stripe.com/payments/extended-authorization) for this CheckoutSession.
|
|
1481
|
-
*/
|
|
1482
|
-
request_decremental_authorization?: Card.RequestDecrementalAuthorization;
|
|
1483
|
-
|
|
1484
|
-
/**
|
|
1485
|
-
* Request ability to [capture beyond the standard authorization validity window](https://stripe.com/payments/extended-authorization) for this CheckoutSession.
|
|
1326
|
+
* Request ability to [capture beyond the standard authorization validity window](https://docs.stripe.com/payments/extended-authorization) for this CheckoutSession.
|
|
1486
1327
|
*/
|
|
1487
1328
|
request_extended_authorization?: Card.RequestExtendedAuthorization;
|
|
1488
1329
|
|
|
1489
1330
|
/**
|
|
1490
|
-
* Request ability to [increment the authorization](https://stripe.com/payments/incremental-authorization) for this CheckoutSession.
|
|
1331
|
+
* Request ability to [increment the authorization](https://docs.stripe.com/payments/incremental-authorization) for this CheckoutSession.
|
|
1491
1332
|
*/
|
|
1492
1333
|
request_incremental_authorization?: Card.RequestIncrementalAuthorization;
|
|
1493
1334
|
|
|
1494
1335
|
/**
|
|
1495
|
-
* Request ability to make [multiple captures](https://stripe.com/payments/multicapture) for this CheckoutSession.
|
|
1336
|
+
* Request ability to make [multiple captures](https://docs.stripe.com/payments/multicapture) for this CheckoutSession.
|
|
1496
1337
|
*/
|
|
1497
1338
|
request_multicapture?: Card.RequestMulticapture;
|
|
1498
1339
|
|
|
1499
1340
|
/**
|
|
1500
|
-
* Request ability to [overcapture](https://stripe.com/payments/overcapture) for this CheckoutSession.
|
|
1341
|
+
* Request ability to [overcapture](https://docs.stripe.com/payments/overcapture) for this CheckoutSession.
|
|
1501
1342
|
*/
|
|
1502
1343
|
request_overcapture?: Card.RequestOvercapture;
|
|
1503
1344
|
|
|
@@ -1511,11 +1352,11 @@ declare module 'stripe' {
|
|
|
1511
1352
|
/**
|
|
1512
1353
|
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1513
1354
|
*
|
|
1514
|
-
* If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://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://stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
1355
|
+
* 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.
|
|
1515
1356
|
*
|
|
1516
|
-
* If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
|
1357
|
+
* 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.
|
|
1517
1358
|
*
|
|
1518
|
-
* When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://stripe.com/strong-customer-authentication).
|
|
1359
|
+
* 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).
|
|
1519
1360
|
*/
|
|
1520
1361
|
setup_future_usage?: Card.SetupFutureUsage;
|
|
1521
1362
|
|
|
@@ -1538,8 +1379,6 @@ declare module 'stripe' {
|
|
|
1538
1379
|
enabled?: boolean;
|
|
1539
1380
|
}
|
|
1540
1381
|
|
|
1541
|
-
type RequestDecrementalAuthorization = 'if_available' | 'never';
|
|
1542
|
-
|
|
1543
1382
|
type RequestExtendedAuthorization = 'if_available' | 'never';
|
|
1544
1383
|
|
|
1545
1384
|
type RequestIncrementalAuthorization = 'if_available' | 'never';
|
|
@@ -1572,11 +1411,11 @@ declare module 'stripe' {
|
|
|
1572
1411
|
/**
|
|
1573
1412
|
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1574
1413
|
*
|
|
1575
|
-
* If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://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://stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
1414
|
+
* 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.
|
|
1576
1415
|
*
|
|
1577
|
-
* If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
|
1416
|
+
* 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.
|
|
1578
1417
|
*
|
|
1579
|
-
* When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://stripe.com/strong-customer-authentication).
|
|
1418
|
+
* 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).
|
|
1580
1419
|
*/
|
|
1581
1420
|
setup_future_usage?: 'none';
|
|
1582
1421
|
}
|
|
@@ -1592,11 +1431,11 @@ declare module 'stripe' {
|
|
|
1592
1431
|
/**
|
|
1593
1432
|
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1594
1433
|
*
|
|
1595
|
-
* If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://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://stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
1434
|
+
* 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.
|
|
1596
1435
|
*
|
|
1597
|
-
* If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
|
1436
|
+
* 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.
|
|
1598
1437
|
*
|
|
1599
|
-
* When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://stripe.com/strong-customer-authentication).
|
|
1438
|
+
* 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).
|
|
1600
1439
|
*/
|
|
1601
1440
|
setup_future_usage?: 'none';
|
|
1602
1441
|
}
|
|
@@ -1654,11 +1493,11 @@ declare module 'stripe' {
|
|
|
1654
1493
|
/**
|
|
1655
1494
|
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1656
1495
|
*
|
|
1657
|
-
* If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://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://stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
1496
|
+
* 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.
|
|
1658
1497
|
*
|
|
1659
|
-
* If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
|
1498
|
+
* 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.
|
|
1660
1499
|
*
|
|
1661
|
-
* When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://stripe.com/strong-customer-authentication).
|
|
1500
|
+
* 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).
|
|
1662
1501
|
*/
|
|
1663
1502
|
setup_future_usage?: 'none';
|
|
1664
1503
|
}
|
|
@@ -1667,11 +1506,11 @@ declare module 'stripe' {
|
|
|
1667
1506
|
/**
|
|
1668
1507
|
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1669
1508
|
*
|
|
1670
|
-
* If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://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://stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
1509
|
+
* 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.
|
|
1671
1510
|
*
|
|
1672
|
-
* If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
|
1511
|
+
* 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.
|
|
1673
1512
|
*
|
|
1674
|
-
* When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://stripe.com/strong-customer-authentication).
|
|
1513
|
+
* 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).
|
|
1675
1514
|
*/
|
|
1676
1515
|
setup_future_usage?: 'none';
|
|
1677
1516
|
}
|
|
@@ -1680,11 +1519,11 @@ declare module 'stripe' {
|
|
|
1680
1519
|
/**
|
|
1681
1520
|
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1682
1521
|
*
|
|
1683
|
-
* If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://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://stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
1522
|
+
* 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.
|
|
1684
1523
|
*
|
|
1685
|
-
* If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
|
1524
|
+
* 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.
|
|
1686
1525
|
*
|
|
1687
|
-
* When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://stripe.com/strong-customer-authentication).
|
|
1526
|
+
* 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).
|
|
1688
1527
|
*/
|
|
1689
1528
|
setup_future_usage?: 'none';
|
|
1690
1529
|
}
|
|
@@ -1693,11 +1532,11 @@ declare module 'stripe' {
|
|
|
1693
1532
|
/**
|
|
1694
1533
|
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1695
1534
|
*
|
|
1696
|
-
* If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://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://stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
1535
|
+
* 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.
|
|
1697
1536
|
*
|
|
1698
|
-
* If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
|
1537
|
+
* 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.
|
|
1699
1538
|
*
|
|
1700
|
-
* When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://stripe.com/strong-customer-authentication).
|
|
1539
|
+
* 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).
|
|
1701
1540
|
*/
|
|
1702
1541
|
setup_future_usage?: 'none';
|
|
1703
1542
|
}
|
|
@@ -1706,11 +1545,11 @@ declare module 'stripe' {
|
|
|
1706
1545
|
/**
|
|
1707
1546
|
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1708
1547
|
*
|
|
1709
|
-
* If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://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://stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
1548
|
+
* 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.
|
|
1710
1549
|
*
|
|
1711
|
-
* If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
|
1550
|
+
* 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.
|
|
1712
1551
|
*
|
|
1713
|
-
* When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://stripe.com/strong-customer-authentication).
|
|
1552
|
+
* 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).
|
|
1714
1553
|
*/
|
|
1715
1554
|
setup_future_usage?: 'none';
|
|
1716
1555
|
}
|
|
@@ -1724,11 +1563,11 @@ declare module 'stripe' {
|
|
|
1724
1563
|
/**
|
|
1725
1564
|
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1726
1565
|
*
|
|
1727
|
-
* If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://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://stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
1566
|
+
* 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.
|
|
1728
1567
|
*
|
|
1729
|
-
* If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
|
1568
|
+
* 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.
|
|
1730
1569
|
*
|
|
1731
|
-
* When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://stripe.com/strong-customer-authentication).
|
|
1570
|
+
* 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).
|
|
1732
1571
|
*/
|
|
1733
1572
|
setup_future_usage?: KakaoPay.SetupFutureUsage;
|
|
1734
1573
|
}
|
|
@@ -1741,11 +1580,11 @@ declare module 'stripe' {
|
|
|
1741
1580
|
/**
|
|
1742
1581
|
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1743
1582
|
*
|
|
1744
|
-
* If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://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://stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
1583
|
+
* 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.
|
|
1745
1584
|
*
|
|
1746
|
-
* If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
|
1585
|
+
* 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.
|
|
1747
1586
|
*
|
|
1748
|
-
* When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://stripe.com/strong-customer-authentication).
|
|
1587
|
+
* 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).
|
|
1749
1588
|
*/
|
|
1750
1589
|
setup_future_usage?: Klarna.SetupFutureUsage;
|
|
1751
1590
|
}
|
|
@@ -1763,11 +1602,11 @@ declare module 'stripe' {
|
|
|
1763
1602
|
/**
|
|
1764
1603
|
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1765
1604
|
*
|
|
1766
|
-
* If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://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://stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
1605
|
+
* 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.
|
|
1767
1606
|
*
|
|
1768
|
-
* If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
|
1607
|
+
* 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.
|
|
1769
1608
|
*
|
|
1770
|
-
* When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://stripe.com/strong-customer-authentication).
|
|
1609
|
+
* 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).
|
|
1771
1610
|
*/
|
|
1772
1611
|
setup_future_usage?: 'none';
|
|
1773
1612
|
}
|
|
@@ -1781,11 +1620,11 @@ declare module 'stripe' {
|
|
|
1781
1620
|
/**
|
|
1782
1621
|
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1783
1622
|
*
|
|
1784
|
-
* If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://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://stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
1623
|
+
* 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.
|
|
1785
1624
|
*
|
|
1786
|
-
* If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
|
1625
|
+
* 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.
|
|
1787
1626
|
*
|
|
1788
|
-
* When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://stripe.com/strong-customer-authentication).
|
|
1627
|
+
* 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).
|
|
1789
1628
|
*/
|
|
1790
1629
|
setup_future_usage?: KrCard.SetupFutureUsage;
|
|
1791
1630
|
}
|
|
@@ -1798,11 +1637,11 @@ declare module 'stripe' {
|
|
|
1798
1637
|
/**
|
|
1799
1638
|
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1800
1639
|
*
|
|
1801
|
-
* If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://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://stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
1640
|
+
* 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.
|
|
1802
1641
|
*
|
|
1803
|
-
* If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
|
1642
|
+
* 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.
|
|
1804
1643
|
*
|
|
1805
|
-
* When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://stripe.com/strong-customer-authentication).
|
|
1644
|
+
* 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).
|
|
1806
1645
|
*/
|
|
1807
1646
|
setup_future_usage?: Link.SetupFutureUsage;
|
|
1808
1647
|
}
|
|
@@ -1815,11 +1654,11 @@ declare module 'stripe' {
|
|
|
1815
1654
|
/**
|
|
1816
1655
|
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1817
1656
|
*
|
|
1818
|
-
* If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://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://stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
1657
|
+
* 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.
|
|
1819
1658
|
*
|
|
1820
|
-
* If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
|
1659
|
+
* 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.
|
|
1821
1660
|
*
|
|
1822
|
-
* When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://stripe.com/strong-customer-authentication).
|
|
1661
|
+
* 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).
|
|
1823
1662
|
*/
|
|
1824
1663
|
setup_future_usage?: 'none';
|
|
1825
1664
|
}
|
|
@@ -1828,11 +1667,11 @@ declare module 'stripe' {
|
|
|
1828
1667
|
/**
|
|
1829
1668
|
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1830
1669
|
*
|
|
1831
|
-
* If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://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://stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
1670
|
+
* 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.
|
|
1832
1671
|
*
|
|
1833
|
-
* If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
|
1672
|
+
* 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.
|
|
1834
1673
|
*
|
|
1835
|
-
* When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://stripe.com/strong-customer-authentication).
|
|
1674
|
+
* 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).
|
|
1836
1675
|
*/
|
|
1837
1676
|
setup_future_usage?: 'none';
|
|
1838
1677
|
}
|
|
@@ -1842,6 +1681,21 @@ declare module 'stripe' {
|
|
|
1842
1681
|
* Controls when the funds will be captured from the customer's account.
|
|
1843
1682
|
*/
|
|
1844
1683
|
capture_method?: 'manual';
|
|
1684
|
+
|
|
1685
|
+
/**
|
|
1686
|
+
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1687
|
+
*
|
|
1688
|
+
* 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.
|
|
1689
|
+
*
|
|
1690
|
+
* 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.
|
|
1691
|
+
*
|
|
1692
|
+
* 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).
|
|
1693
|
+
*/
|
|
1694
|
+
setup_future_usage?: NaverPay.SetupFutureUsage;
|
|
1695
|
+
}
|
|
1696
|
+
|
|
1697
|
+
namespace NaverPay {
|
|
1698
|
+
type SetupFutureUsage = 'none' | 'off_session';
|
|
1845
1699
|
}
|
|
1846
1700
|
|
|
1847
1701
|
interface Oxxo {
|
|
@@ -1853,11 +1707,11 @@ declare module 'stripe' {
|
|
|
1853
1707
|
/**
|
|
1854
1708
|
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1855
1709
|
*
|
|
1856
|
-
* If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://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://stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
1710
|
+
* 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.
|
|
1857
1711
|
*
|
|
1858
|
-
* If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
|
1712
|
+
* 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.
|
|
1859
1713
|
*
|
|
1860
|
-
* When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://stripe.com/strong-customer-authentication).
|
|
1714
|
+
* 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).
|
|
1861
1715
|
*/
|
|
1862
1716
|
setup_future_usage?: 'none';
|
|
1863
1717
|
}
|
|
@@ -1866,11 +1720,11 @@ declare module 'stripe' {
|
|
|
1866
1720
|
/**
|
|
1867
1721
|
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1868
1722
|
*
|
|
1869
|
-
* If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://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://stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
1723
|
+
* 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.
|
|
1870
1724
|
*
|
|
1871
|
-
* If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
|
1725
|
+
* 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.
|
|
1872
1726
|
*
|
|
1873
|
-
* When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://stripe.com/strong-customer-authentication).
|
|
1727
|
+
* 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).
|
|
1874
1728
|
*/
|
|
1875
1729
|
setup_future_usage?: 'none';
|
|
1876
1730
|
}
|
|
@@ -1886,11 +1740,11 @@ declare module 'stripe' {
|
|
|
1886
1740
|
/**
|
|
1887
1741
|
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1888
1742
|
*
|
|
1889
|
-
* If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://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://stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
1743
|
+
* 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.
|
|
1890
1744
|
*
|
|
1891
|
-
* If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
|
1745
|
+
* 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.
|
|
1892
1746
|
*
|
|
1893
|
-
* When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://stripe.com/strong-customer-authentication).
|
|
1747
|
+
* 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).
|
|
1894
1748
|
*/
|
|
1895
1749
|
setup_future_usage?: 'none';
|
|
1896
1750
|
}
|
|
@@ -1914,107 +1768,19 @@ declare module 'stripe' {
|
|
|
1914
1768
|
/**
|
|
1915
1769
|
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1916
1770
|
*
|
|
1917
|
-
* If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://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://stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
1771
|
+
* 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.
|
|
1918
1772
|
*
|
|
1919
|
-
* If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
|
1773
|
+
* 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.
|
|
1920
1774
|
*
|
|
1921
|
-
* When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://stripe.com/strong-customer-authentication).
|
|
1775
|
+
* 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).
|
|
1922
1776
|
*/
|
|
1923
1777
|
setup_future_usage?: Paypal.SetupFutureUsage;
|
|
1924
|
-
|
|
1925
|
-
/**
|
|
1926
|
-
* 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.
|
|
1927
|
-
*/
|
|
1928
|
-
subsellers?: Array<string>;
|
|
1929
1778
|
}
|
|
1930
1779
|
|
|
1931
1780
|
namespace Paypal {
|
|
1932
1781
|
type SetupFutureUsage = 'none' | 'off_session';
|
|
1933
1782
|
}
|
|
1934
1783
|
|
|
1935
|
-
interface Payto {
|
|
1936
|
-
mandate_options?: Payto.MandateOptions;
|
|
1937
|
-
|
|
1938
|
-
/**
|
|
1939
|
-
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
1940
|
-
*
|
|
1941
|
-
* If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://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://stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
1942
|
-
*
|
|
1943
|
-
* If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
|
1944
|
-
*
|
|
1945
|
-
* When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://stripe.com/strong-customer-authentication).
|
|
1946
|
-
*/
|
|
1947
|
-
setup_future_usage?: Payto.SetupFutureUsage;
|
|
1948
|
-
}
|
|
1949
|
-
|
|
1950
|
-
namespace Payto {
|
|
1951
|
-
interface MandateOptions {
|
|
1952
|
-
/**
|
|
1953
|
-
* Amount that will be collected. It is required when `amount_type` is `fixed`.
|
|
1954
|
-
*/
|
|
1955
|
-
amount: number | null;
|
|
1956
|
-
|
|
1957
|
-
/**
|
|
1958
|
-
* 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.
|
|
1959
|
-
*/
|
|
1960
|
-
amount_type: MandateOptions.AmountType | null;
|
|
1961
|
-
|
|
1962
|
-
/**
|
|
1963
|
-
* Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
|
|
1964
|
-
*/
|
|
1965
|
-
end_date: string | null;
|
|
1966
|
-
|
|
1967
|
-
/**
|
|
1968
|
-
* The periodicity at which payments will be collected.
|
|
1969
|
-
*/
|
|
1970
|
-
payment_schedule: MandateOptions.PaymentSchedule | null;
|
|
1971
|
-
|
|
1972
|
-
/**
|
|
1973
|
-
* 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.
|
|
1974
|
-
*/
|
|
1975
|
-
payments_per_period: number | null;
|
|
1976
|
-
|
|
1977
|
-
/**
|
|
1978
|
-
* The purpose for which payments are made. Defaults to retail.
|
|
1979
|
-
*/
|
|
1980
|
-
purpose: MandateOptions.Purpose | null;
|
|
1981
|
-
|
|
1982
|
-
/**
|
|
1983
|
-
* Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
|
|
1984
|
-
*/
|
|
1985
|
-
start_date: string | null;
|
|
1986
|
-
}
|
|
1987
|
-
|
|
1988
|
-
namespace MandateOptions {
|
|
1989
|
-
type AmountType = 'fixed' | 'maximum';
|
|
1990
|
-
|
|
1991
|
-
type PaymentSchedule =
|
|
1992
|
-
| 'adhoc'
|
|
1993
|
-
| 'annual'
|
|
1994
|
-
| 'daily'
|
|
1995
|
-
| 'fortnightly'
|
|
1996
|
-
| 'monthly'
|
|
1997
|
-
| 'quarterly'
|
|
1998
|
-
| 'semi_annual'
|
|
1999
|
-
| 'weekly';
|
|
2000
|
-
|
|
2001
|
-
type Purpose =
|
|
2002
|
-
| 'dependant_support'
|
|
2003
|
-
| 'government'
|
|
2004
|
-
| 'loan'
|
|
2005
|
-
| 'mortgage'
|
|
2006
|
-
| 'other'
|
|
2007
|
-
| 'pension'
|
|
2008
|
-
| 'personal'
|
|
2009
|
-
| 'retail'
|
|
2010
|
-
| 'salary'
|
|
2011
|
-
| 'tax'
|
|
2012
|
-
| 'utility';
|
|
2013
|
-
}
|
|
2014
|
-
|
|
2015
|
-
type SetupFutureUsage = 'none' | 'off_session';
|
|
2016
|
-
}
|
|
2017
|
-
|
|
2018
1784
|
interface Pix {
|
|
2019
1785
|
/**
|
|
2020
1786
|
* The number of seconds after which Pix payment will expire.
|
|
@@ -2026,11 +1792,11 @@ declare module 'stripe' {
|
|
|
2026
1792
|
/**
|
|
2027
1793
|
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2028
1794
|
*
|
|
2029
|
-
* If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://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://stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
1795
|
+
* 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.
|
|
2030
1796
|
*
|
|
2031
|
-
* If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
|
1797
|
+
* 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.
|
|
2032
1798
|
*
|
|
2033
|
-
* When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://stripe.com/strong-customer-authentication).
|
|
1799
|
+
* 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).
|
|
2034
1800
|
*/
|
|
2035
1801
|
setup_future_usage?: RevolutPay.SetupFutureUsage;
|
|
2036
1802
|
}
|
|
@@ -2052,11 +1818,11 @@ declare module 'stripe' {
|
|
|
2052
1818
|
/**
|
|
2053
1819
|
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2054
1820
|
*
|
|
2055
|
-
* If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://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://stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
1821
|
+
* 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.
|
|
2056
1822
|
*
|
|
2057
|
-
* If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
|
1823
|
+
* 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.
|
|
2058
1824
|
*
|
|
2059
|
-
* When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://stripe.com/strong-customer-authentication).
|
|
1825
|
+
* 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).
|
|
2060
1826
|
*/
|
|
2061
1827
|
setup_future_usage?: SepaDebit.SetupFutureUsage;
|
|
2062
1828
|
|
|
@@ -2081,11 +1847,11 @@ declare module 'stripe' {
|
|
|
2081
1847
|
/**
|
|
2082
1848
|
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2083
1849
|
*
|
|
2084
|
-
* If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://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://stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
1850
|
+
* 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.
|
|
2085
1851
|
*
|
|
2086
|
-
* If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
|
1852
|
+
* 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.
|
|
2087
1853
|
*
|
|
2088
|
-
* When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://stripe.com/strong-customer-authentication).
|
|
1854
|
+
* 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).
|
|
2089
1855
|
*/
|
|
2090
1856
|
setup_future_usage?: 'none';
|
|
2091
1857
|
}
|
|
@@ -2103,11 +1869,11 @@ declare module 'stripe' {
|
|
|
2103
1869
|
/**
|
|
2104
1870
|
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2105
1871
|
*
|
|
2106
|
-
* If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://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://stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
|
|
1872
|
+
* 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.
|
|
2107
1873
|
*
|
|
2108
|
-
* If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
|
|
1874
|
+
* 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.
|
|
2109
1875
|
*
|
|
2110
|
-
* When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://stripe.com/strong-customer-authentication).
|
|
1876
|
+
* 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).
|
|
2111
1877
|
*/
|
|
2112
1878
|
setup_future_usage?: UsBankAccount.SetupFutureUsage;
|
|
2113
1879
|
|
|
@@ -2126,8 +1892,6 @@ declare module 'stripe' {
|
|
|
2126
1892
|
interface FinancialConnections {
|
|
2127
1893
|
filters?: FinancialConnections.Filters;
|
|
2128
1894
|
|
|
2129
|
-
manual_entry?: FinancialConnections.ManualEntry;
|
|
2130
|
-
|
|
2131
1895
|
/**
|
|
2132
1896
|
* The list of permissions to request. The `payment_method` permission must be included.
|
|
2133
1897
|
*/
|
|
@@ -2150,39 +1914,19 @@ declare module 'stripe' {
|
|
|
2150
1914
|
* The account subcategories to use to filter for possible accounts to link. Valid subcategories are `checking` and `savings`.
|
|
2151
1915
|
*/
|
|
2152
1916
|
account_subcategories?: Array<Filters.AccountSubcategory>;
|
|
2153
|
-
|
|
2154
|
-
/**
|
|
2155
|
-
* The institution to use to filter for possible accounts to link.
|
|
2156
|
-
*/
|
|
2157
|
-
institution?: string;
|
|
2158
1917
|
}
|
|
2159
1918
|
|
|
2160
1919
|
namespace Filters {
|
|
2161
1920
|
type AccountSubcategory = 'checking' | 'savings';
|
|
2162
1921
|
}
|
|
2163
1922
|
|
|
2164
|
-
interface ManualEntry {
|
|
2165
|
-
/**
|
|
2166
|
-
* Settings for configuring manual entry of account details.
|
|
2167
|
-
*/
|
|
2168
|
-
mode?: ManualEntry.Mode;
|
|
2169
|
-
}
|
|
2170
|
-
|
|
2171
|
-
namespace ManualEntry {
|
|
2172
|
-
type Mode = 'automatic' | 'custom';
|
|
2173
|
-
}
|
|
2174
|
-
|
|
2175
1923
|
type Permission =
|
|
2176
1924
|
| 'balances'
|
|
2177
1925
|
| 'ownership'
|
|
2178
1926
|
| 'payment_method'
|
|
2179
1927
|
| 'transactions';
|
|
2180
1928
|
|
|
2181
|
-
type Prefetch =
|
|
2182
|
-
| 'balances'
|
|
2183
|
-
| 'inferred_balances'
|
|
2184
|
-
| 'ownership'
|
|
2185
|
-
| 'transactions';
|
|
1929
|
+
type Prefetch = 'balances' | 'ownership' | 'transactions';
|
|
2186
1930
|
}
|
|
2187
1931
|
|
|
2188
1932
|
type SetupFutureUsage = 'none' | 'off_session' | 'on_session';
|
|
@@ -2194,20 +1938,6 @@ declare module 'stripe' {
|
|
|
2194
1938
|
type PaymentStatus = 'no_payment_required' | 'paid' | 'unpaid';
|
|
2195
1939
|
|
|
2196
1940
|
interface Permissions {
|
|
2197
|
-
/**
|
|
2198
|
-
* Permissions for updating the Checkout Session.
|
|
2199
|
-
*/
|
|
2200
|
-
update?: Permissions.Update | null;
|
|
2201
|
-
|
|
2202
|
-
/**
|
|
2203
|
-
* Determines which entity is allowed to update the line items.
|
|
2204
|
-
*
|
|
2205
|
-
* Default is `client_only`. Stripe Checkout client will automatically update the line items. If set to `server_only`, only your server is allowed to update the line items.
|
|
2206
|
-
*
|
|
2207
|
-
* When set to `server_only`, you must add the onLineItemsChange event handler when initializing the Stripe Checkout client and manually update the line items from your server using the Stripe API.
|
|
2208
|
-
*/
|
|
2209
|
-
update_line_items?: Permissions.UpdateLineItems | null;
|
|
2210
|
-
|
|
2211
1941
|
/**
|
|
2212
1942
|
* Determines which entity is allowed to update the shipping details.
|
|
2213
1943
|
*
|
|
@@ -2219,34 +1949,6 @@ declare module 'stripe' {
|
|
|
2219
1949
|
}
|
|
2220
1950
|
|
|
2221
1951
|
namespace Permissions {
|
|
2222
|
-
interface Update {
|
|
2223
|
-
/**
|
|
2224
|
-
* Determines which entity is allowed to update the line items.
|
|
2225
|
-
*
|
|
2226
|
-
* Default is `client_only`. Stripe Checkout client will automatically update the line items. If set to `server_only`, only your server is allowed to update the line items.
|
|
2227
|
-
*
|
|
2228
|
-
* When set to `server_only`, you must add the onLineItemsChange event handler when initializing the Stripe Checkout client and manually update the line items from your server using the Stripe API.
|
|
2229
|
-
*/
|
|
2230
|
-
line_items?: Update.LineItems | null;
|
|
2231
|
-
|
|
2232
|
-
/**
|
|
2233
|
-
* Determines which entity is allowed to update the shipping details.
|
|
2234
|
-
*
|
|
2235
|
-
* Default is `client_only`. Stripe Checkout client will automatically update the shipping details. If set to `server_only`, only your server is allowed to update the shipping details.
|
|
2236
|
-
*
|
|
2237
|
-
* When set to `server_only`, you must add the onShippingDetailsChange event handler when initializing the Stripe Checkout client and manually update the shipping details from your server using the Stripe API.
|
|
2238
|
-
*/
|
|
2239
|
-
shipping_details: Update.ShippingDetails | null;
|
|
2240
|
-
}
|
|
2241
|
-
|
|
2242
|
-
namespace Update {
|
|
2243
|
-
type LineItems = 'client_only' | 'server_only';
|
|
2244
|
-
|
|
2245
|
-
type ShippingDetails = 'client_only' | 'server_only';
|
|
2246
|
-
}
|
|
2247
|
-
|
|
2248
|
-
type UpdateLineItems = 'client_only' | 'server_only';
|
|
2249
|
-
|
|
2250
1952
|
type UpdateShippingDetails = 'client_only' | 'server_only';
|
|
2251
1953
|
}
|
|
2252
1954
|
|
|
@@ -2583,9 +2285,9 @@ declare module 'stripe' {
|
|
|
2583
2285
|
amount: number;
|
|
2584
2286
|
|
|
2585
2287
|
/**
|
|
2586
|
-
* Tax rates can be applied to [invoices](https://stripe.com/invoicing/taxes/tax-rates), [subscriptions](https://stripe.com/billing/taxes/tax-rates) and [Checkout Sessions](https://stripe.com/payments/checkout/use-manual-tax-rates) to collect tax.
|
|
2288
|
+
* Tax rates can be applied to [invoices](https://docs.stripe.com/invoicing/taxes/tax-rates), [subscriptions](https://docs.stripe.com/billing/taxes/tax-rates) and [Checkout Sessions](https://docs.stripe.com/payments/checkout/use-manual-tax-rates) to collect tax.
|
|
2587
2289
|
*
|
|
2588
|
-
* Related guide: [Tax rates](https://stripe.com/billing/taxes/tax-rates)
|
|
2290
|
+
* Related guide: [Tax rates](https://docs.stripe.com/billing/taxes/tax-rates)
|
|
2589
2291
|
*/
|
|
2590
2292
|
rate: Stripe.TaxRate;
|
|
2591
2293
|
|
|
@@ -2707,9 +2409,9 @@ declare module 'stripe' {
|
|
|
2707
2409
|
amount: number;
|
|
2708
2410
|
|
|
2709
2411
|
/**
|
|
2710
|
-
* Tax rates can be applied to [invoices](https://stripe.com/invoicing/taxes/tax-rates), [subscriptions](https://stripe.com/billing/taxes/tax-rates) and [Checkout Sessions](https://stripe.com/payments/checkout/use-manual-tax-rates) to collect tax.
|
|
2412
|
+
* Tax rates can be applied to [invoices](https://docs.stripe.com/invoicing/taxes/tax-rates), [subscriptions](https://docs.stripe.com/billing/taxes/tax-rates) and [Checkout Sessions](https://docs.stripe.com/payments/checkout/use-manual-tax-rates) to collect tax.
|
|
2711
2413
|
*
|
|
2712
|
-
* Related guide: [Tax rates](https://stripe.com/billing/taxes/tax-rates)
|
|
2414
|
+
* Related guide: [Tax rates](https://docs.stripe.com/billing/taxes/tax-rates)
|
|
2713
2415
|
*/
|
|
2714
2416
|
rate: Stripe.TaxRate;
|
|
2715
2417
|
|