stripe 18.1.0-beta.3 → 18.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +140 -1208
- package/OPENAPI_VERSION +1 -1
- package/README.md +0 -1
- package/VERSION +1 -1
- package/cjs/Error.js +3 -93
- package/cjs/RequestSender.js +3 -7
- package/cjs/Webhooks.js +6 -2
- package/cjs/apiVersion.js +1 -1
- package/cjs/net/FetchHttpClient.js +3 -4
- package/cjs/resources/FinancialConnections/Accounts.js +0 -5
- package/cjs/resources/{PaymentAttemptRecords.js → InvoicePayments.js} +4 -4
- package/cjs/resources/Invoices.js +0 -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 -12
- package/cjs/resources/TestHelpers/Terminal/Readers.js +0 -8
- package/cjs/resources.js +18 -108
- package/cjs/stripe.core.js +2 -4
- package/cjs/utils.js +28 -4
- package/esm/Error.js +2 -81
- package/esm/RequestSender.js +4 -8
- package/esm/Webhooks.js +6 -2
- package/esm/apiVersion.js +1 -1
- package/esm/net/FetchHttpClient.js +3 -4
- package/esm/resources/FinancialConnections/Accounts.js +0 -5
- package/esm/resources/{PaymentAttemptRecords.js → InvoicePayments.js} +3 -3
- package/esm/resources/Invoices.js +0 -4
- 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 -12
- package/esm/resources/TestHelpers/Terminal/Readers.js +0 -8
- package/esm/resources.js +1 -84
- package/esm/stripe.core.js +2 -4
- package/esm/utils.js +24 -3
- package/package.json +12 -3
- package/types/AccountLinksResource.d.ts +1 -5
- package/types/AccountSessions.d.ts +0 -45
- package/types/AccountSessionsResource.d.ts +0 -300
- package/types/Accounts.d.ts +1 -212
- package/types/AccountsResource.d.ts +2 -546
- 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 +0 -5
- package/types/BillingPortal/SessionsResource.d.ts +4 -12
- package/types/Cards.d.ts +0 -5
- package/types/CashBalances.d.ts +0 -5
- package/types/Charges.d.ts +0 -166
- package/types/ChargesResource.d.ts +0 -1314
- package/types/Checkout/Sessions.d.ts +13 -306
- package/types/Checkout/SessionsResource.d.ts +1 -333
- package/types/ConfirmationTokens.d.ts +0 -120
- 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 +0 -9
- package/types/CreditNotesResource.d.ts +0 -5
- package/types/CustomerBalanceTransactions.d.ts +0 -2
- package/types/CustomerCashBalanceTransactions.d.ts +0 -2
- package/types/CustomerSessions.d.ts +0 -5
- package/types/CustomerSessionsResource.d.ts +1 -6
- package/types/Customers.d.ts +0 -2
- package/types/CustomersResource.d.ts +23 -11
- package/types/Discounts.d.ts +0 -10
- package/types/Errors.d.ts +2 -69
- package/types/EventTypes.d.ts +0 -698
- package/types/Events.d.ts +1 -100
- 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/VerificationSessions.d.ts +0 -5
- package/types/Identity/VerificationSessionsResource.d.ts +0 -7
- package/types/InvoiceItems.d.ts +0 -10
- package/types/InvoiceItemsResource.d.ts +6 -117
- package/types/InvoiceLineItems.d.ts +2 -46
- package/types/InvoicePayments.d.ts +0 -5
- package/types/InvoicePaymentsResource.d.ts +74 -0
- package/types/Invoices.d.ts +15 -138
- package/types/InvoicesResource.d.ts +15 -1471
- package/types/Issuing/CardholdersResource.d.ts +1 -2
- package/types/Issuing/Transactions.d.ts +0 -5
- package/types/Issuing/TransactionsResource.d.ts +0 -5
- package/types/LineItems.d.ts +0 -49
- package/types/Mandates.d.ts +0 -77
- package/types/PaymentIntents.d.ts +2 -728
- package/types/PaymentIntentsResource.d.ts +3955 -8479
- package/types/PaymentLinks.d.ts +0 -6
- package/types/PaymentLinksResource.d.ts +0 -12
- package/types/PaymentMethodConfigurations.d.ts +0 -180
- package/types/PaymentMethodConfigurationsResource.d.ts +0 -250
- package/types/PaymentMethods.d.ts +0 -120
- package/types/PaymentMethodsResource.d.ts +2 -167
- package/types/Payouts.d.ts +0 -5
- package/types/PayoutsResource.d.ts +0 -5
- package/types/Prices.d.ts +0 -22
- package/types/PricesResource.d.ts +0 -22
- package/types/Products.d.ts +0 -39
- package/types/ProductsResource.d.ts +0 -36
- package/types/PromotionCodes.d.ts +0 -5
- package/types/PromotionCodesResource.d.ts +0 -10
- package/types/Quotes.d.ts +2 -597
- package/types/QuotesResource.d.ts +224 -2571
- package/types/Refunds.d.ts +0 -14
- package/types/SetupAttempts.d.ts +1 -50
- package/types/SetupIntents.d.ts +2 -121
- package/types/SetupIntentsResource.d.ts +3 -730
- package/types/Sources.d.ts +0 -29
- package/types/SubscriptionItems.d.ts +0 -23
- package/types/SubscriptionItemsResource.d.ts +0 -109
- package/types/SubscriptionSchedules.d.ts +0 -205
- package/types/SubscriptionSchedulesResource.d.ts +8 -1236
- package/types/Subscriptions.d.ts +1 -97
- package/types/SubscriptionsResource.d.ts +9 -391
- package/types/Tax/Calculations.d.ts +11 -1
- package/types/Tax/CalculationsResource.d.ts +11 -1
- package/types/Tax/Registrations.d.ts +27 -0
- package/types/Tax/RegistrationsResource.d.ts +36 -0
- package/types/Tax/Transactions.d.ts +11 -1
- package/types/TaxIds.d.ts +11 -11
- package/types/TaxIdsResource.d.ts +11 -11
- package/types/Terminal/Readers.d.ts +0 -300
- package/types/Terminal/ReadersResource.d.ts +0 -220
- package/types/TestHelpers/ConfirmationTokensResource.d.ts +7 -127
- package/types/TestHelpers/Terminal/ReadersResource.d.ts +0 -53
- package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +0 -26
- package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +0 -26
- package/types/Transfers.d.ts +0 -5
- package/types/TransfersResource.d.ts +0 -5
- package/types/Treasury/FinancialAccountFeatures.d.ts +0 -7
- package/types/Treasury/FinancialAccounts.d.ts +0 -5
- package/types/Treasury/FinancialAccountsResource.d.ts +0 -37
- package/types/Treasury/OutboundPaymentsResource.d.ts +0 -5
- package/types/Treasury/OutboundTransfers.d.ts +0 -26
- package/types/Treasury/OutboundTransfersResource.d.ts +0 -26
- package/types/Treasury/ReceivedCredits.d.ts +0 -26
- package/types/Treasury/ReceivedDebits.d.ts +0 -31
- package/types/V2/EventTypes.d.ts +7 -677
- package/types/WebhookEndpointsResource.d.ts +4 -85
- package/types/index.d.ts +5 -146
- 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 -46
- 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 -12
- 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 -43
- 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 -9
- 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 -1189
- package/types/OrdersResource.d.ts +0 -2981
- 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/RedactionJobRootObjects.d.ts +0 -35
- package/types/Privacy/RedactionJobValidationErrors.d.ts +0 -30
- package/types/Privacy/RedactionJobs.d.ts +0 -43
- package/types/Privacy/RedactionJobsResource.d.ts +0 -240
- package/types/QuoteLines.d.ts +0 -634
- package/types/QuotePreviewInvoices.d.ts +0 -1687
- package/types/QuotePreviewSubscriptionSchedules.d.ts +0 -778
- 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 -101
- package/types/V2/Core/AccountLinksResource.d.ts +0 -90
- package/types/V2/Core/Accounts/PersonsResource.d.ts +0 -3760
- package/types/V2/Core/Accounts.d.ts +0 -8057
- package/types/V2/Core/AccountsResource.d.ts +0 -10184
- package/types/V2/Core/Persons.d.ts +0 -1857
- package/types/V2/Core/Vault/GbBankAccounts.d.ts +0 -155
- package/types/V2/Core/Vault/GbBankAccountsResource.d.ts +0 -172
- package/types/V2/Core/Vault/UsBankAccounts.d.ts +0 -65
- package/types/V2/Core/Vault/UsBankAccountsResource.d.ts +0 -123
- package/types/V2/FinancialAddressCreditSimulations.d.ts +0 -22
- package/types/V2/FinancialAddressGeneratedMicrodeposits.d.ts +0 -27
- package/types/V2/MoneyManagement/Adjustments.d.ts +0 -105
- package/types/V2/MoneyManagement/AdjustmentsResource.d.ts +0 -83
- package/types/V2/MoneyManagement/FinancialAccounts.d.ts +0 -540
- package/types/V2/MoneyManagement/FinancialAccountsResource.d.ts +0 -52
- package/types/V2/MoneyManagement/FinancialAddresses.d.ts +0 -308
- package/types/V2/MoneyManagement/FinancialAddressesResource.d.ts +0 -287
- package/types/V2/MoneyManagement/InboundTransfers.d.ts +0 -201
- package/types/V2/MoneyManagement/InboundTransfersResource.d.ts +0 -144
- package/types/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +0 -141
- package/types/V2/MoneyManagement/OutboundPaymentQuotesResource.d.ts +0 -93
- package/types/V2/MoneyManagement/OutboundPayments.d.ts +0 -273
- package/types/V2/MoneyManagement/OutboundPaymentsResource.d.ts +0 -242
- package/types/V2/MoneyManagement/OutboundSetupIntents.d.ts +0 -92
- package/types/V2/MoneyManagement/OutboundSetupIntentsResource.d.ts +0 -296
- package/types/V2/MoneyManagement/OutboundTransfers.d.ts +0 -246
- package/types/V2/MoneyManagement/OutboundTransfersResource.d.ts +0 -207
- package/types/V2/MoneyManagement/PayoutMethods.d.ts +0 -146
- package/types/V2/MoneyManagement/PayoutMethodsBankAccountSpecResource.d.ts +0 -41
- package/types/V2/MoneyManagement/PayoutMethodsBankAccountSpecs.d.ts +0 -82
- package/types/V2/MoneyManagement/PayoutMethodsResource.d.ts +0 -113
- package/types/V2/MoneyManagement/ReceivedCredits.d.ts +0 -280
- package/types/V2/MoneyManagement/ReceivedCreditsResource.d.ts +0 -78
- package/types/V2/MoneyManagement/ReceivedDebits.d.ts +0 -219
- package/types/V2/MoneyManagement/ReceivedDebitsResource.d.ts +0 -48
- package/types/V2/MoneyManagement/TransactionEntries.d.ts +0 -151
- package/types/V2/MoneyManagement/TransactionEntriesResource.d.ts +0 -82
- package/types/V2/MoneyManagement/Transactions.d.ts +0 -166
- package/types/V2/MoneyManagement/TransactionsResource.d.ts +0 -83
- package/types/V2/TestHelpers/FinancialAddressesResource.d.ts +0 -66
|
@@ -53,8 +53,6 @@ declare module 'stripe' {
|
|
|
53
53
|
*/
|
|
54
54
|
application_fee_amount: number | null;
|
|
55
55
|
|
|
56
|
-
async_workflows?: PaymentIntent.AsyncWorkflows;
|
|
57
|
-
|
|
58
56
|
/**
|
|
59
57
|
* Settings to configure compatible payment methods from the [Stripe Dashboard](https://dashboard.stripe.com/settings/payment_methods)
|
|
60
58
|
*/
|
|
@@ -108,25 +106,11 @@ declare module 'stripe' {
|
|
|
108
106
|
*/
|
|
109
107
|
customer: string | Stripe.Customer | Stripe.DeletedCustomer | null;
|
|
110
108
|
|
|
111
|
-
/**
|
|
112
|
-
* ID of the Account this PaymentIntent belongs to, if one exists.
|
|
113
|
-
*
|
|
114
|
-
* Payment methods attached to other Accounts cannot be used with this PaymentIntent.
|
|
115
|
-
*
|
|
116
|
-
* If [setup_future_usage](https://stripe.com/docs/api#payment_intent_object-setup_future_usage) is set and this PaymentIntent's payment method is not `card_present`, then the payment method attaches to the Account after the PaymentIntent has been confirmed and any required actions from the user are complete. If the payment method is `card_present` and isn't a digital wallet, then a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card is created and attached to the Account instead.
|
|
117
|
-
*/
|
|
118
|
-
customer_account?: string | null;
|
|
119
|
-
|
|
120
109
|
/**
|
|
121
110
|
* An arbitrary string attached to the object. Often useful for displaying to users.
|
|
122
111
|
*/
|
|
123
112
|
description: string | null;
|
|
124
113
|
|
|
125
|
-
/**
|
|
126
|
-
* The FX Quote used for the PaymentIntent.
|
|
127
|
-
*/
|
|
128
|
-
fx_quote?: string | null;
|
|
129
|
-
|
|
130
114
|
/**
|
|
131
115
|
* The payment error encountered in the previous PaymentIntent confirmation. It will be cleared if the PaymentIntent is later updated for any reason.
|
|
132
116
|
*/
|
|
@@ -157,8 +141,6 @@ declare module 'stripe' {
|
|
|
157
141
|
*/
|
|
158
142
|
on_behalf_of: string | Stripe.Account | null;
|
|
159
143
|
|
|
160
|
-
payment_details?: PaymentIntent.PaymentDetails;
|
|
161
|
-
|
|
162
144
|
/**
|
|
163
145
|
* ID of the payment method used in this PaymentIntent.
|
|
164
146
|
*/
|
|
@@ -196,11 +178,6 @@ declare module 'stripe' {
|
|
|
196
178
|
*/
|
|
197
179
|
review: string | Stripe.Review | null;
|
|
198
180
|
|
|
199
|
-
/**
|
|
200
|
-
* Indicates whether confirmation for this PaymentIntent using a secret key is `required` or `optional`.
|
|
201
|
-
*/
|
|
202
|
-
secret_key_confirmation?: PaymentIntent.SecretKeyConfirmation;
|
|
203
|
-
|
|
204
181
|
/**
|
|
205
182
|
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
206
183
|
*
|
|
@@ -256,48 +233,10 @@ declare module 'stripe' {
|
|
|
256
233
|
|
|
257
234
|
namespace PaymentIntent {
|
|
258
235
|
interface AmountDetails {
|
|
259
|
-
/**
|
|
260
|
-
* The amount an item was discounted for.
|
|
261
|
-
*/
|
|
262
|
-
discount_amount?: number;
|
|
263
|
-
|
|
264
|
-
/**
|
|
265
|
-
* A list of line items, each containing information about a product in the PaymentIntent. There is a maximum of 100 line items.
|
|
266
|
-
*/
|
|
267
|
-
line_items?: ApiList<Stripe.PaymentIntentAmountDetailsLineItem>;
|
|
268
|
-
|
|
269
|
-
shipping?: AmountDetails.Shipping;
|
|
270
|
-
|
|
271
|
-
tax?: AmountDetails.Tax;
|
|
272
|
-
|
|
273
236
|
tip?: AmountDetails.Tip;
|
|
274
237
|
}
|
|
275
238
|
|
|
276
239
|
namespace AmountDetails {
|
|
277
|
-
interface Shipping {
|
|
278
|
-
/**
|
|
279
|
-
* Portion of the amount that is for shipping.
|
|
280
|
-
*/
|
|
281
|
-
amount: number | null;
|
|
282
|
-
|
|
283
|
-
/**
|
|
284
|
-
* The postal code that represents the shipping source.
|
|
285
|
-
*/
|
|
286
|
-
from_postal_code: string | null;
|
|
287
|
-
|
|
288
|
-
/**
|
|
289
|
-
* The postal code that represents the shipping destination.
|
|
290
|
-
*/
|
|
291
|
-
to_postal_code: string | null;
|
|
292
|
-
}
|
|
293
|
-
|
|
294
|
-
interface Tax {
|
|
295
|
-
/**
|
|
296
|
-
* Total portion of the amount that is for tax.
|
|
297
|
-
*/
|
|
298
|
-
total_tax_amount: number | null;
|
|
299
|
-
}
|
|
300
|
-
|
|
301
240
|
interface Tip {
|
|
302
241
|
/**
|
|
303
242
|
* Portion of the amount that corresponds to a tip.
|
|
@@ -306,25 +245,6 @@ declare module 'stripe' {
|
|
|
306
245
|
}
|
|
307
246
|
}
|
|
308
247
|
|
|
309
|
-
interface AsyncWorkflows {
|
|
310
|
-
inputs?: AsyncWorkflows.Inputs;
|
|
311
|
-
}
|
|
312
|
-
|
|
313
|
-
namespace AsyncWorkflows {
|
|
314
|
-
interface Inputs {
|
|
315
|
-
tax?: Inputs.Tax;
|
|
316
|
-
}
|
|
317
|
-
|
|
318
|
-
namespace Inputs {
|
|
319
|
-
interface Tax {
|
|
320
|
-
/**
|
|
321
|
-
* The [TaxCalculation](https://stripe.com/docs/api/tax/calculations) id
|
|
322
|
-
*/
|
|
323
|
-
calculation: string;
|
|
324
|
-
}
|
|
325
|
-
}
|
|
326
|
-
}
|
|
327
|
-
|
|
328
248
|
interface AutomaticPaymentMethods {
|
|
329
249
|
/**
|
|
330
250
|
* Controls whether this PaymentIntent will accept redirect-based payment methods.
|
|
@@ -520,16 +440,12 @@ declare module 'stripe' {
|
|
|
520
440
|
| 'email_invalid'
|
|
521
441
|
| 'expired_card'
|
|
522
442
|
| 'financial_connections_account_inactive'
|
|
523
|
-
| 'financial_connections_institution_unavailable'
|
|
524
443
|
| 'financial_connections_no_successful_transaction_refresh'
|
|
525
444
|
| 'forwarding_api_inactive'
|
|
526
445
|
| 'forwarding_api_invalid_parameter'
|
|
527
446
|
| 'forwarding_api_retryable_upstream_error'
|
|
528
447
|
| 'forwarding_api_upstream_connection_error'
|
|
529
448
|
| 'forwarding_api_upstream_connection_timeout'
|
|
530
|
-
| 'gift_card_balance_insufficient'
|
|
531
|
-
| 'gift_card_code_exists'
|
|
532
|
-
| 'gift_card_inactive'
|
|
533
449
|
| 'idempotency_key_in_use'
|
|
534
450
|
| 'incorrect_address'
|
|
535
451
|
| 'incorrect_cvc'
|
|
@@ -619,7 +535,6 @@ declare module 'stripe' {
|
|
|
619
535
|
| 'return_intent_already_processed'
|
|
620
536
|
| 'routing_number_invalid'
|
|
621
537
|
| 'secret_key_required'
|
|
622
|
-
| 'sensitive_data_access_expired'
|
|
623
538
|
| 'sepa_unsupported_account'
|
|
624
539
|
| 'setup_attempt_failed'
|
|
625
540
|
| 'setup_intent_authentication_failure'
|
|
@@ -639,7 +554,6 @@ declare module 'stripe' {
|
|
|
639
554
|
| 'taxes_calculation_failed'
|
|
640
555
|
| 'terminal_location_country_unsupported'
|
|
641
556
|
| 'terminal_reader_busy'
|
|
642
|
-
| 'terminal_reader_collected_data_invalid'
|
|
643
557
|
| 'terminal_reader_hardware_fault'
|
|
644
558
|
| 'terminal_reader_invalid_location_for_activation'
|
|
645
559
|
| 'terminal_reader_invalid_location_for_payment'
|
|
@@ -652,9 +566,7 @@ declare module 'stripe' {
|
|
|
652
566
|
| 'token_in_use'
|
|
653
567
|
| 'transfer_source_balance_parameters_mismatch'
|
|
654
568
|
| 'transfers_not_allowed'
|
|
655
|
-
| 'url_invalid'
|
|
656
|
-
| 'v2_account_disconnection_unsupported'
|
|
657
|
-
| 'v2_account_missing_configuration';
|
|
569
|
+
| 'url_invalid';
|
|
658
570
|
|
|
659
571
|
type Type =
|
|
660
572
|
| 'api_error'
|
|
@@ -1418,299 +1330,6 @@ declare module 'stripe' {
|
|
|
1418
1330
|
}
|
|
1419
1331
|
}
|
|
1420
1332
|
|
|
1421
|
-
interface PaymentDetails {
|
|
1422
|
-
car_rental?: PaymentDetails.CarRental;
|
|
1423
|
-
|
|
1424
|
-
/**
|
|
1425
|
-
* Some customers might be required by their company or organization to provide this information. If so, provide this value. Otherwise you can ignore this field.
|
|
1426
|
-
*/
|
|
1427
|
-
customer_reference?: string | null;
|
|
1428
|
-
|
|
1429
|
-
event_details?: PaymentDetails.EventDetails;
|
|
1430
|
-
|
|
1431
|
-
/**
|
|
1432
|
-
* A unique value assigned by the business to identify the transaction.
|
|
1433
|
-
*/
|
|
1434
|
-
order_reference?: string | null;
|
|
1435
|
-
|
|
1436
|
-
subscription?: PaymentDetails.Subscription;
|
|
1437
|
-
}
|
|
1438
|
-
|
|
1439
|
-
namespace PaymentDetails {
|
|
1440
|
-
interface CarRental {
|
|
1441
|
-
affiliate?: CarRental.Affiliate;
|
|
1442
|
-
|
|
1443
|
-
/**
|
|
1444
|
-
* The booking number associated with the car rental.
|
|
1445
|
-
*/
|
|
1446
|
-
booking_number: string;
|
|
1447
|
-
|
|
1448
|
-
/**
|
|
1449
|
-
* Class code of the car.
|
|
1450
|
-
*/
|
|
1451
|
-
car_class_code?: string;
|
|
1452
|
-
|
|
1453
|
-
/**
|
|
1454
|
-
* Make of the car.
|
|
1455
|
-
*/
|
|
1456
|
-
car_make?: string;
|
|
1457
|
-
|
|
1458
|
-
/**
|
|
1459
|
-
* Model of the car.
|
|
1460
|
-
*/
|
|
1461
|
-
car_model?: string;
|
|
1462
|
-
|
|
1463
|
-
/**
|
|
1464
|
-
* The name of the rental car company.
|
|
1465
|
-
*/
|
|
1466
|
-
company?: string;
|
|
1467
|
-
|
|
1468
|
-
/**
|
|
1469
|
-
* The customer service phone number of the car rental company.
|
|
1470
|
-
*/
|
|
1471
|
-
customer_service_phone_number?: string;
|
|
1472
|
-
|
|
1473
|
-
/**
|
|
1474
|
-
* Number of days the car is being rented.
|
|
1475
|
-
*/
|
|
1476
|
-
days_rented: number;
|
|
1477
|
-
|
|
1478
|
-
delivery?: CarRental.Delivery;
|
|
1479
|
-
|
|
1480
|
-
/**
|
|
1481
|
-
* The details of the drivers associated with the trip.
|
|
1482
|
-
*/
|
|
1483
|
-
drivers?: Array<CarRental.Driver>;
|
|
1484
|
-
|
|
1485
|
-
/**
|
|
1486
|
-
* List of additional charges being billed.
|
|
1487
|
-
*/
|
|
1488
|
-
extra_charges?: Array<CarRental.ExtraCharge>;
|
|
1489
|
-
|
|
1490
|
-
/**
|
|
1491
|
-
* Indicates if the customer did not keep nor cancel their booking.
|
|
1492
|
-
*/
|
|
1493
|
-
no_show?: boolean;
|
|
1494
|
-
|
|
1495
|
-
pickup_address?: Stripe.Address;
|
|
1496
|
-
|
|
1497
|
-
/**
|
|
1498
|
-
* Car pick-up time. Measured in seconds since the Unix epoch.
|
|
1499
|
-
*/
|
|
1500
|
-
pickup_at: number;
|
|
1501
|
-
|
|
1502
|
-
/**
|
|
1503
|
-
* Rental rate.
|
|
1504
|
-
*/
|
|
1505
|
-
rate_amount?: number;
|
|
1506
|
-
|
|
1507
|
-
/**
|
|
1508
|
-
* The frequency at which the rate amount is applied. One of `day`, `week` or `month`
|
|
1509
|
-
*/
|
|
1510
|
-
rate_interval?: CarRental.RateInterval;
|
|
1511
|
-
|
|
1512
|
-
/**
|
|
1513
|
-
* The full name of the person or entity renting the car.
|
|
1514
|
-
*/
|
|
1515
|
-
renter_name?: string;
|
|
1516
|
-
|
|
1517
|
-
return_address?: Stripe.Address;
|
|
1518
|
-
|
|
1519
|
-
/**
|
|
1520
|
-
* Car return time. Measured in seconds since the Unix epoch.
|
|
1521
|
-
*/
|
|
1522
|
-
return_at: number;
|
|
1523
|
-
|
|
1524
|
-
/**
|
|
1525
|
-
* Indicates whether the goods or services are tax-exempt or tax is not collected.
|
|
1526
|
-
*/
|
|
1527
|
-
tax_exempt?: boolean;
|
|
1528
|
-
}
|
|
1529
|
-
|
|
1530
|
-
namespace CarRental {
|
|
1531
|
-
interface Affiliate {
|
|
1532
|
-
/**
|
|
1533
|
-
* The name of the affiliate that originated the purchase.
|
|
1534
|
-
*/
|
|
1535
|
-
name?: string;
|
|
1536
|
-
}
|
|
1537
|
-
|
|
1538
|
-
interface Delivery {
|
|
1539
|
-
/**
|
|
1540
|
-
* The delivery method for the payment
|
|
1541
|
-
*/
|
|
1542
|
-
mode?: Delivery.Mode;
|
|
1543
|
-
|
|
1544
|
-
recipient?: Delivery.Recipient;
|
|
1545
|
-
}
|
|
1546
|
-
|
|
1547
|
-
namespace Delivery {
|
|
1548
|
-
type Mode = 'email' | 'phone' | 'pickup' | 'post';
|
|
1549
|
-
|
|
1550
|
-
interface Recipient {
|
|
1551
|
-
/**
|
|
1552
|
-
* The email of the recipient the ticket is delivered to.
|
|
1553
|
-
*/
|
|
1554
|
-
email?: string;
|
|
1555
|
-
|
|
1556
|
-
/**
|
|
1557
|
-
* The name of the recipient the ticket is delivered to.
|
|
1558
|
-
*/
|
|
1559
|
-
name?: string;
|
|
1560
|
-
|
|
1561
|
-
/**
|
|
1562
|
-
* The phone number of the recipient the ticket is delivered to.
|
|
1563
|
-
*/
|
|
1564
|
-
phone?: string;
|
|
1565
|
-
}
|
|
1566
|
-
}
|
|
1567
|
-
|
|
1568
|
-
interface Driver {
|
|
1569
|
-
/**
|
|
1570
|
-
* Full name of the driver on the reservation.
|
|
1571
|
-
*/
|
|
1572
|
-
name?: string;
|
|
1573
|
-
}
|
|
1574
|
-
|
|
1575
|
-
type ExtraCharge =
|
|
1576
|
-
| 'extra_mileage'
|
|
1577
|
-
| 'gas'
|
|
1578
|
-
| 'late_return'
|
|
1579
|
-
| 'one_way_service'
|
|
1580
|
-
| 'parking_violation';
|
|
1581
|
-
|
|
1582
|
-
type RateInterval = 'day' | 'month' | 'week';
|
|
1583
|
-
}
|
|
1584
|
-
|
|
1585
|
-
interface EventDetails {
|
|
1586
|
-
/**
|
|
1587
|
-
* Indicates if the tickets are digitally checked when entering the venue.
|
|
1588
|
-
*/
|
|
1589
|
-
access_controlled_venue?: boolean;
|
|
1590
|
-
|
|
1591
|
-
address?: Stripe.Address;
|
|
1592
|
-
|
|
1593
|
-
affiliate?: EventDetails.Affiliate;
|
|
1594
|
-
|
|
1595
|
-
/**
|
|
1596
|
-
* The name of the company
|
|
1597
|
-
*/
|
|
1598
|
-
company?: string;
|
|
1599
|
-
|
|
1600
|
-
delivery?: EventDetails.Delivery;
|
|
1601
|
-
|
|
1602
|
-
/**
|
|
1603
|
-
* Event end time. Measured in seconds since the Unix epoch.
|
|
1604
|
-
*/
|
|
1605
|
-
ends_at?: number;
|
|
1606
|
-
|
|
1607
|
-
/**
|
|
1608
|
-
* Type of the event entertainment (concert, sports event etc)
|
|
1609
|
-
*/
|
|
1610
|
-
genre?: string;
|
|
1611
|
-
|
|
1612
|
-
/**
|
|
1613
|
-
* The name of the event.
|
|
1614
|
-
*/
|
|
1615
|
-
name?: string;
|
|
1616
|
-
|
|
1617
|
-
/**
|
|
1618
|
-
* Event start time. Measured in seconds since the Unix epoch.
|
|
1619
|
-
*/
|
|
1620
|
-
starts_at?: number;
|
|
1621
|
-
}
|
|
1622
|
-
|
|
1623
|
-
namespace EventDetails {
|
|
1624
|
-
interface Affiliate {
|
|
1625
|
-
/**
|
|
1626
|
-
* The name of the affiliate that originated the purchase.
|
|
1627
|
-
*/
|
|
1628
|
-
name?: string;
|
|
1629
|
-
}
|
|
1630
|
-
|
|
1631
|
-
interface Delivery {
|
|
1632
|
-
/**
|
|
1633
|
-
* The delivery method for the payment
|
|
1634
|
-
*/
|
|
1635
|
-
mode?: Delivery.Mode;
|
|
1636
|
-
|
|
1637
|
-
recipient?: Delivery.Recipient;
|
|
1638
|
-
}
|
|
1639
|
-
|
|
1640
|
-
namespace Delivery {
|
|
1641
|
-
type Mode = 'email' | 'phone' | 'pickup' | 'post';
|
|
1642
|
-
|
|
1643
|
-
interface Recipient {
|
|
1644
|
-
/**
|
|
1645
|
-
* The email of the recipient the ticket is delivered to.
|
|
1646
|
-
*/
|
|
1647
|
-
email?: string;
|
|
1648
|
-
|
|
1649
|
-
/**
|
|
1650
|
-
* The name of the recipient the ticket is delivered to.
|
|
1651
|
-
*/
|
|
1652
|
-
name?: string;
|
|
1653
|
-
|
|
1654
|
-
/**
|
|
1655
|
-
* The phone number of the recipient the ticket is delivered to.
|
|
1656
|
-
*/
|
|
1657
|
-
phone?: string;
|
|
1658
|
-
}
|
|
1659
|
-
}
|
|
1660
|
-
}
|
|
1661
|
-
|
|
1662
|
-
interface Subscription {
|
|
1663
|
-
affiliate?: Subscription.Affiliate;
|
|
1664
|
-
|
|
1665
|
-
/**
|
|
1666
|
-
* Info whether the subscription will be auto renewed upon expiry.
|
|
1667
|
-
*/
|
|
1668
|
-
auto_renewal?: boolean;
|
|
1669
|
-
|
|
1670
|
-
billing_interval?: Subscription.BillingInterval;
|
|
1671
|
-
|
|
1672
|
-
/**
|
|
1673
|
-
* Subscription end time. Measured in seconds since the Unix epoch.
|
|
1674
|
-
*/
|
|
1675
|
-
ends_at?: number;
|
|
1676
|
-
|
|
1677
|
-
/**
|
|
1678
|
-
* Name of the product on subscription. e.g. Apple Music Subscription.
|
|
1679
|
-
*/
|
|
1680
|
-
name?: string;
|
|
1681
|
-
|
|
1682
|
-
/**
|
|
1683
|
-
* Subscription start time. Measured in seconds since the Unix epoch.
|
|
1684
|
-
*/
|
|
1685
|
-
starts_at?: number;
|
|
1686
|
-
}
|
|
1687
|
-
|
|
1688
|
-
namespace Subscription {
|
|
1689
|
-
interface Affiliate {
|
|
1690
|
-
/**
|
|
1691
|
-
* The name of the affiliate that originated the purchase.
|
|
1692
|
-
*/
|
|
1693
|
-
name?: string;
|
|
1694
|
-
}
|
|
1695
|
-
|
|
1696
|
-
interface BillingInterval {
|
|
1697
|
-
/**
|
|
1698
|
-
* The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
1699
|
-
*/
|
|
1700
|
-
count?: number;
|
|
1701
|
-
|
|
1702
|
-
/**
|
|
1703
|
-
* Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
1704
|
-
*/
|
|
1705
|
-
interval?: BillingInterval.Interval;
|
|
1706
|
-
}
|
|
1707
|
-
|
|
1708
|
-
namespace BillingInterval {
|
|
1709
|
-
type Interval = 'day' | 'month' | 'week' | 'year';
|
|
1710
|
-
}
|
|
1711
|
-
}
|
|
1712
|
-
}
|
|
1713
|
-
|
|
1714
1333
|
interface PaymentMethodConfigurationDetails {
|
|
1715
1334
|
/**
|
|
1716
1335
|
* ID of the payment method configuration used.
|
|
@@ -1762,12 +1381,8 @@ declare module 'stripe' {
|
|
|
1762
1381
|
|
|
1763
1382
|
giropay?: PaymentMethodOptions.Giropay;
|
|
1764
1383
|
|
|
1765
|
-
gopay?: PaymentMethodOptions.Gopay;
|
|
1766
|
-
|
|
1767
1384
|
grabpay?: PaymentMethodOptions.Grabpay;
|
|
1768
1385
|
|
|
1769
|
-
id_bank_transfer?: PaymentMethodOptions.IdBankTransfer;
|
|
1770
|
-
|
|
1771
1386
|
ideal?: PaymentMethodOptions.Ideal;
|
|
1772
1387
|
|
|
1773
1388
|
interac_present?: PaymentMethodOptions.InteracPresent;
|
|
@@ -1782,8 +1397,6 @@ declare module 'stripe' {
|
|
|
1782
1397
|
|
|
1783
1398
|
link?: PaymentMethodOptions.Link;
|
|
1784
1399
|
|
|
1785
|
-
mb_way?: PaymentMethodOptions.MbWay;
|
|
1786
|
-
|
|
1787
1400
|
mobilepay?: PaymentMethodOptions.Mobilepay;
|
|
1788
1401
|
|
|
1789
1402
|
multibanco?: PaymentMethodOptions.Multibanco;
|
|
@@ -1804,28 +1417,18 @@ declare module 'stripe' {
|
|
|
1804
1417
|
|
|
1805
1418
|
paypal?: PaymentMethodOptions.Paypal;
|
|
1806
1419
|
|
|
1807
|
-
payto?: PaymentMethodOptions.Payto;
|
|
1808
|
-
|
|
1809
1420
|
pix?: PaymentMethodOptions.Pix;
|
|
1810
1421
|
|
|
1811
1422
|
promptpay?: PaymentMethodOptions.Promptpay;
|
|
1812
1423
|
|
|
1813
|
-
qris?: PaymentMethodOptions.Qris;
|
|
1814
|
-
|
|
1815
|
-
rechnung?: PaymentMethodOptions.Rechnung;
|
|
1816
|
-
|
|
1817
1424
|
revolut_pay?: PaymentMethodOptions.RevolutPay;
|
|
1818
1425
|
|
|
1819
1426
|
samsung_pay?: PaymentMethodOptions.SamsungPay;
|
|
1820
1427
|
|
|
1821
1428
|
sepa_debit?: PaymentMethodOptions.SepaDebit;
|
|
1822
1429
|
|
|
1823
|
-
shopeepay?: PaymentMethodOptions.Shopeepay;
|
|
1824
|
-
|
|
1825
1430
|
sofort?: PaymentMethodOptions.Sofort;
|
|
1826
1431
|
|
|
1827
|
-
stripe_balance?: PaymentMethodOptions.StripeBalance;
|
|
1828
|
-
|
|
1829
1432
|
swish?: PaymentMethodOptions.Swish;
|
|
1830
1433
|
|
|
1831
1434
|
twint?: PaymentMethodOptions.Twint;
|
|
@@ -2127,11 +1730,6 @@ declare module 'stripe' {
|
|
|
2127
1730
|
*/
|
|
2128
1731
|
network: Card.Network | null;
|
|
2129
1732
|
|
|
2130
|
-
/**
|
|
2131
|
-
* Request ability to [decrement the authorization](https://stripe.com/docs/payments/decremental-authorization) for this PaymentIntent.
|
|
2132
|
-
*/
|
|
2133
|
-
request_decremental_authorization?: Card.RequestDecrementalAuthorization;
|
|
2134
|
-
|
|
2135
1733
|
/**
|
|
2136
1734
|
* Request ability to [capture beyond the standard authorization validity window](https://stripe.com/docs/payments/extended-authorization) for this PaymentIntent.
|
|
2137
1735
|
*/
|
|
@@ -2152,11 +1750,6 @@ declare module 'stripe' {
|
|
|
2152
1750
|
*/
|
|
2153
1751
|
request_overcapture?: Card.RequestOvercapture;
|
|
2154
1752
|
|
|
2155
|
-
/**
|
|
2156
|
-
* Request partial authorization on this PaymentIntent.
|
|
2157
|
-
*/
|
|
2158
|
-
request_partial_authorization?: Card.RequestPartialAuthorization;
|
|
2159
|
-
|
|
2160
1753
|
/**
|
|
2161
1754
|
* We strongly recommend that you rely on our SCA Engine to automatically prompt your customers for authentication based on risk level and [other requirements](https://stripe.com/docs/strong-customer-authentication). However, if you wish to request 3D Secure based on logic from your own fraud engine, provide this option. If not provided, this value defaults to `automatic`. Read our guide on [manually requesting 3D Secure](https://stripe.com/docs/payments/3d-secure/authentication-flow#manual-three-ds) for more information on how this configuration interacts with Radar and our SCA Engine.
|
|
2162
1755
|
*/
|
|
@@ -2187,8 +1780,6 @@ declare module 'stripe' {
|
|
|
2187
1780
|
* Provides information about a card payment that customers see on their statements. Concatenated with the Kanji prefix (shortened Kanji descriptor) or Kanji statement descriptor that's set on the account to form the complete statement descriptor. Maximum 17 characters. On card statements, the *concatenation* of both prefix and suffix (including separators) will appear truncated to 17 characters.
|
|
2188
1781
|
*/
|
|
2189
1782
|
statement_descriptor_suffix_kanji?: string;
|
|
2190
|
-
|
|
2191
|
-
statement_details?: Card.StatementDetails;
|
|
2192
1783
|
}
|
|
2193
1784
|
|
|
2194
1785
|
namespace Card {
|
|
@@ -2315,8 +1906,6 @@ declare module 'stripe' {
|
|
|
2315
1906
|
| 'unknown'
|
|
2316
1907
|
| 'visa';
|
|
2317
1908
|
|
|
2318
|
-
type RequestDecrementalAuthorization = 'if_available' | 'never';
|
|
2319
|
-
|
|
2320
1909
|
type RequestExtendedAuthorization = 'if_available' | 'never';
|
|
2321
1910
|
|
|
2322
1911
|
type RequestIncrementalAuthorization = 'if_available' | 'never';
|
|
@@ -2325,54 +1914,9 @@ declare module 'stripe' {
|
|
|
2325
1914
|
|
|
2326
1915
|
type RequestOvercapture = 'if_available' | 'never';
|
|
2327
1916
|
|
|
2328
|
-
type RequestPartialAuthorization = 'if_available' | 'never';
|
|
2329
|
-
|
|
2330
1917
|
type RequestThreeDSecure = 'any' | 'automatic' | 'challenge';
|
|
2331
1918
|
|
|
2332
1919
|
type SetupFutureUsage = 'none' | 'off_session' | 'on_session';
|
|
2333
|
-
|
|
2334
|
-
interface StatementDetails {
|
|
2335
|
-
address?: StatementDetails.Address;
|
|
2336
|
-
|
|
2337
|
-
/**
|
|
2338
|
-
* Phone number
|
|
2339
|
-
*/
|
|
2340
|
-
phone?: string;
|
|
2341
|
-
}
|
|
2342
|
-
|
|
2343
|
-
namespace StatementDetails {
|
|
2344
|
-
interface Address {
|
|
2345
|
-
/**
|
|
2346
|
-
* City, district, suburb, town, or village.
|
|
2347
|
-
*/
|
|
2348
|
-
city?: string;
|
|
2349
|
-
|
|
2350
|
-
/**
|
|
2351
|
-
* Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
2352
|
-
*/
|
|
2353
|
-
country?: string;
|
|
2354
|
-
|
|
2355
|
-
/**
|
|
2356
|
-
* Address line 1 (e.g., street, PO Box, or company name).
|
|
2357
|
-
*/
|
|
2358
|
-
line1?: string;
|
|
2359
|
-
|
|
2360
|
-
/**
|
|
2361
|
-
* Address line 2 (e.g., apartment, suite, unit, or building).
|
|
2362
|
-
*/
|
|
2363
|
-
line2?: string;
|
|
2364
|
-
|
|
2365
|
-
/**
|
|
2366
|
-
* ZIP or postal code.
|
|
2367
|
-
*/
|
|
2368
|
-
postal_code?: string;
|
|
2369
|
-
|
|
2370
|
-
/**
|
|
2371
|
-
* State, county, province, or region.
|
|
2372
|
-
*/
|
|
2373
|
-
state?: string;
|
|
2374
|
-
}
|
|
2375
|
-
}
|
|
2376
1920
|
}
|
|
2377
1921
|
|
|
2378
1922
|
interface CardPresent {
|
|
@@ -2530,19 +2074,6 @@ declare module 'stripe' {
|
|
|
2530
2074
|
setup_future_usage?: 'none';
|
|
2531
2075
|
}
|
|
2532
2076
|
|
|
2533
|
-
interface Gopay {
|
|
2534
|
-
/**
|
|
2535
|
-
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2536
|
-
*
|
|
2537
|
-
* 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.
|
|
2538
|
-
*
|
|
2539
|
-
* 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.
|
|
2540
|
-
*
|
|
2541
|
-
* 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).
|
|
2542
|
-
*/
|
|
2543
|
-
setup_future_usage?: 'none';
|
|
2544
|
-
}
|
|
2545
|
-
|
|
2546
2077
|
interface Grabpay {
|
|
2547
2078
|
/**
|
|
2548
2079
|
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
@@ -2556,29 +2087,6 @@ declare module 'stripe' {
|
|
|
2556
2087
|
setup_future_usage?: 'none';
|
|
2557
2088
|
}
|
|
2558
2089
|
|
|
2559
|
-
interface IdBankTransfer {
|
|
2560
|
-
/**
|
|
2561
|
-
* The UNIX timestamp until which the virtual bank account is valid. Permitted range is from now till 2678400 seconds (31 days) from now.
|
|
2562
|
-
*/
|
|
2563
|
-
expires_after?: number | null;
|
|
2564
|
-
|
|
2565
|
-
/**
|
|
2566
|
-
* The UNIX timestamp until which the virtual bank account is valid. Permitted range is from now until 30 days from now. If unset, it defaults to 1 days from now.
|
|
2567
|
-
*/
|
|
2568
|
-
expires_at: number | null;
|
|
2569
|
-
|
|
2570
|
-
/**
|
|
2571
|
-
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2572
|
-
*
|
|
2573
|
-
* 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.
|
|
2574
|
-
*
|
|
2575
|
-
* 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.
|
|
2576
|
-
*
|
|
2577
|
-
* 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).
|
|
2578
|
-
*/
|
|
2579
|
-
setup_future_usage?: 'none';
|
|
2580
|
-
}
|
|
2581
|
-
|
|
2582
2090
|
interface Ideal {
|
|
2583
2091
|
/**
|
|
2584
2092
|
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
@@ -2726,19 +2234,6 @@ declare module 'stripe' {
|
|
|
2726
2234
|
type SetupFutureUsage = 'none' | 'off_session';
|
|
2727
2235
|
}
|
|
2728
2236
|
|
|
2729
|
-
interface MbWay {
|
|
2730
|
-
/**
|
|
2731
|
-
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2732
|
-
*
|
|
2733
|
-
* 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.
|
|
2734
|
-
*
|
|
2735
|
-
* 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.
|
|
2736
|
-
*
|
|
2737
|
-
* 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).
|
|
2738
|
-
*/
|
|
2739
|
-
setup_future_usage?: 'none';
|
|
2740
|
-
}
|
|
2741
|
-
|
|
2742
2237
|
interface Mobilepay {
|
|
2743
2238
|
/**
|
|
2744
2239
|
* Controls when the funds will be captured from the customer's account.
|
|
@@ -2873,11 +2368,6 @@ declare module 'stripe' {
|
|
|
2873
2368
|
*/
|
|
2874
2369
|
capture_method?: 'manual';
|
|
2875
2370
|
|
|
2876
|
-
/**
|
|
2877
|
-
* The line items purchased by the customer.
|
|
2878
|
-
*/
|
|
2879
|
-
line_items?: Array<Paypal.LineItem>;
|
|
2880
|
-
|
|
2881
2371
|
/**
|
|
2882
2372
|
* Preferred locale of the PayPal checkout page that the customer is redirected to.
|
|
2883
2373
|
*/
|
|
@@ -2888,11 +2378,6 @@ declare module 'stripe' {
|
|
|
2888
2378
|
*/
|
|
2889
2379
|
reference: string | null;
|
|
2890
2380
|
|
|
2891
|
-
/**
|
|
2892
|
-
* A reference of the PayPal transaction visible to customer which is mapped to PayPal's invoice ID. This must be a globally unique ID if you have configured in your PayPal settings to block multiple payments per invoice ID.
|
|
2893
|
-
*/
|
|
2894
|
-
reference_id?: string | null;
|
|
2895
|
-
|
|
2896
2381
|
/**
|
|
2897
2382
|
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2898
2383
|
*
|
|
@@ -2903,151 +2388,9 @@ declare module 'stripe' {
|
|
|
2903
2388
|
* 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).
|
|
2904
2389
|
*/
|
|
2905
2390
|
setup_future_usage?: Paypal.SetupFutureUsage;
|
|
2906
|
-
|
|
2907
|
-
/**
|
|
2908
|
-
* 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.
|
|
2909
|
-
*/
|
|
2910
|
-
subsellers?: Array<string>;
|
|
2911
2391
|
}
|
|
2912
2392
|
|
|
2913
2393
|
namespace Paypal {
|
|
2914
|
-
interface LineItem {
|
|
2915
|
-
/**
|
|
2916
|
-
* Type of the line item.
|
|
2917
|
-
*/
|
|
2918
|
-
category?: LineItem.Category;
|
|
2919
|
-
|
|
2920
|
-
/**
|
|
2921
|
-
* Description of the line item.
|
|
2922
|
-
*/
|
|
2923
|
-
description?: string;
|
|
2924
|
-
|
|
2925
|
-
/**
|
|
2926
|
-
* Descriptive name of the line item.
|
|
2927
|
-
*/
|
|
2928
|
-
name: string;
|
|
2929
|
-
|
|
2930
|
-
/**
|
|
2931
|
-
* Quantity of the line item. Cannot be a negative number.
|
|
2932
|
-
*/
|
|
2933
|
-
quantity: number;
|
|
2934
|
-
|
|
2935
|
-
/**
|
|
2936
|
-
* Client facing stock keeping unit, article number or similar.
|
|
2937
|
-
*/
|
|
2938
|
-
sku?: string;
|
|
2939
|
-
|
|
2940
|
-
/**
|
|
2941
|
-
* The Stripe account ID of the connected account that sells the item. This is only needed when using [Separate Charges and Transfers](https://docs.stripe.com/connect/separate-charges-and-transfers).
|
|
2942
|
-
*/
|
|
2943
|
-
sold_by?: string;
|
|
2944
|
-
|
|
2945
|
-
tax?: LineItem.Tax;
|
|
2946
|
-
|
|
2947
|
-
/**
|
|
2948
|
-
* Price for a single unit of the line item in minor units. Cannot be a negative number.
|
|
2949
|
-
*/
|
|
2950
|
-
unit_amount: number;
|
|
2951
|
-
}
|
|
2952
|
-
|
|
2953
|
-
namespace LineItem {
|
|
2954
|
-
type Category = 'digital_goods' | 'donation' | 'physical_goods';
|
|
2955
|
-
|
|
2956
|
-
interface Tax {
|
|
2957
|
-
/**
|
|
2958
|
-
* The tax for a single unit of the line item in minor units. Cannot be a negative number.
|
|
2959
|
-
*/
|
|
2960
|
-
amount: number;
|
|
2961
|
-
|
|
2962
|
-
/**
|
|
2963
|
-
* The tax behavior for the line item.
|
|
2964
|
-
*/
|
|
2965
|
-
behavior: Tax.Behavior;
|
|
2966
|
-
}
|
|
2967
|
-
|
|
2968
|
-
namespace Tax {
|
|
2969
|
-
type Behavior = 'exclusive' | 'inclusive';
|
|
2970
|
-
}
|
|
2971
|
-
}
|
|
2972
|
-
|
|
2973
|
-
type SetupFutureUsage = 'none' | 'off_session';
|
|
2974
|
-
}
|
|
2975
|
-
|
|
2976
|
-
interface Payto {
|
|
2977
|
-
mandate_options?: Payto.MandateOptions;
|
|
2978
|
-
|
|
2979
|
-
/**
|
|
2980
|
-
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2981
|
-
*
|
|
2982
|
-
* 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.
|
|
2983
|
-
*
|
|
2984
|
-
* 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.
|
|
2985
|
-
*
|
|
2986
|
-
* 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).
|
|
2987
|
-
*/
|
|
2988
|
-
setup_future_usage?: Payto.SetupFutureUsage;
|
|
2989
|
-
}
|
|
2990
|
-
|
|
2991
|
-
namespace Payto {
|
|
2992
|
-
interface MandateOptions {
|
|
2993
|
-
/**
|
|
2994
|
-
* Amount that will be collected. It is required when `amount_type` is `fixed`.
|
|
2995
|
-
*/
|
|
2996
|
-
amount: number | null;
|
|
2997
|
-
|
|
2998
|
-
/**
|
|
2999
|
-
* 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.
|
|
3000
|
-
*/
|
|
3001
|
-
amount_type: MandateOptions.AmountType | null;
|
|
3002
|
-
|
|
3003
|
-
/**
|
|
3004
|
-
* Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
|
|
3005
|
-
*/
|
|
3006
|
-
end_date: string | null;
|
|
3007
|
-
|
|
3008
|
-
/**
|
|
3009
|
-
* The periodicity at which payments will be collected.
|
|
3010
|
-
*/
|
|
3011
|
-
payment_schedule: MandateOptions.PaymentSchedule | null;
|
|
3012
|
-
|
|
3013
|
-
/**
|
|
3014
|
-
* 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.
|
|
3015
|
-
*/
|
|
3016
|
-
payments_per_period: number | null;
|
|
3017
|
-
|
|
3018
|
-
/**
|
|
3019
|
-
* The purpose for which payments are made. Defaults to retail.
|
|
3020
|
-
*/
|
|
3021
|
-
purpose: MandateOptions.Purpose | null;
|
|
3022
|
-
}
|
|
3023
|
-
|
|
3024
|
-
namespace MandateOptions {
|
|
3025
|
-
type AmountType = 'fixed' | 'maximum';
|
|
3026
|
-
|
|
3027
|
-
type PaymentSchedule =
|
|
3028
|
-
| 'adhoc'
|
|
3029
|
-
| 'annual'
|
|
3030
|
-
| 'daily'
|
|
3031
|
-
| 'fortnightly'
|
|
3032
|
-
| 'monthly'
|
|
3033
|
-
| 'quarterly'
|
|
3034
|
-
| 'semi_annual'
|
|
3035
|
-
| 'weekly';
|
|
3036
|
-
|
|
3037
|
-
type Purpose =
|
|
3038
|
-
| 'dependant_support'
|
|
3039
|
-
| 'government'
|
|
3040
|
-
| 'loan'
|
|
3041
|
-
| 'mortgage'
|
|
3042
|
-
| 'other'
|
|
3043
|
-
| 'pension'
|
|
3044
|
-
| 'personal'
|
|
3045
|
-
| 'retail'
|
|
3046
|
-
| 'salary'
|
|
3047
|
-
| 'tax'
|
|
3048
|
-
| 'utility';
|
|
3049
|
-
}
|
|
3050
|
-
|
|
3051
2394
|
type SetupFutureUsage = 'none' | 'off_session';
|
|
3052
2395
|
}
|
|
3053
2396
|
|
|
@@ -3087,21 +2430,6 @@ declare module 'stripe' {
|
|
|
3087
2430
|
setup_future_usage?: 'none';
|
|
3088
2431
|
}
|
|
3089
2432
|
|
|
3090
|
-
interface Qris {
|
|
3091
|
-
/**
|
|
3092
|
-
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
3093
|
-
*
|
|
3094
|
-
* 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.
|
|
3095
|
-
*
|
|
3096
|
-
* 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.
|
|
3097
|
-
*
|
|
3098
|
-
* 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).
|
|
3099
|
-
*/
|
|
3100
|
-
setup_future_usage?: 'none';
|
|
3101
|
-
}
|
|
3102
|
-
|
|
3103
|
-
interface Rechnung {}
|
|
3104
|
-
|
|
3105
2433
|
interface RevolutPay {
|
|
3106
2434
|
/**
|
|
3107
2435
|
* Controls when the funds will be captured from the customer's account.
|
|
@@ -3162,19 +2490,6 @@ declare module 'stripe' {
|
|
|
3162
2490
|
type SetupFutureUsage = 'none' | 'off_session' | 'on_session';
|
|
3163
2491
|
}
|
|
3164
2492
|
|
|
3165
|
-
interface Shopeepay {
|
|
3166
|
-
/**
|
|
3167
|
-
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
3168
|
-
*
|
|
3169
|
-
* 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.
|
|
3170
|
-
*
|
|
3171
|
-
* 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.
|
|
3172
|
-
*
|
|
3173
|
-
* 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).
|
|
3174
|
-
*/
|
|
3175
|
-
setup_future_usage?: 'none';
|
|
3176
|
-
}
|
|
3177
|
-
|
|
3178
2493
|
interface Sofort {
|
|
3179
2494
|
/**
|
|
3180
2495
|
* Preferred language of the SOFORT authorization page that the customer is redirected to.
|
|
@@ -3206,23 +2521,6 @@ declare module 'stripe' {
|
|
|
3206
2521
|
type SetupFutureUsage = 'none' | 'off_session';
|
|
3207
2522
|
}
|
|
3208
2523
|
|
|
3209
|
-
interface StripeBalance {
|
|
3210
|
-
/**
|
|
3211
|
-
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
3212
|
-
*
|
|
3213
|
-
* 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.
|
|
3214
|
-
*
|
|
3215
|
-
* 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.
|
|
3216
|
-
*
|
|
3217
|
-
* 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).
|
|
3218
|
-
*/
|
|
3219
|
-
setup_future_usage?: StripeBalance.SetupFutureUsage;
|
|
3220
|
-
}
|
|
3221
|
-
|
|
3222
|
-
namespace StripeBalance {
|
|
3223
|
-
type SetupFutureUsage = 'none' | 'off_session';
|
|
3224
|
-
}
|
|
3225
|
-
|
|
3226
2524
|
interface Swish {
|
|
3227
2525
|
/**
|
|
3228
2526
|
* A reference for this payment to be displayed in the Swish app.
|
|
@@ -3290,8 +2588,6 @@ declare module 'stripe' {
|
|
|
3290
2588
|
interface FinancialConnections {
|
|
3291
2589
|
filters?: FinancialConnections.Filters;
|
|
3292
2590
|
|
|
3293
|
-
manual_entry?: FinancialConnections.ManualEntry;
|
|
3294
|
-
|
|
3295
2591
|
/**
|
|
3296
2592
|
* The list of permissions to request. The `payment_method` permission must be included.
|
|
3297
2593
|
*/
|
|
@@ -3314,39 +2610,19 @@ declare module 'stripe' {
|
|
|
3314
2610
|
* The account subcategories to use to filter for possible accounts to link. Valid subcategories are `checking` and `savings`.
|
|
3315
2611
|
*/
|
|
3316
2612
|
account_subcategories?: Array<Filters.AccountSubcategory>;
|
|
3317
|
-
|
|
3318
|
-
/**
|
|
3319
|
-
* The institution to use to filter for possible accounts to link.
|
|
3320
|
-
*/
|
|
3321
|
-
institution?: string;
|
|
3322
2613
|
}
|
|
3323
2614
|
|
|
3324
2615
|
namespace Filters {
|
|
3325
2616
|
type AccountSubcategory = 'checking' | 'savings';
|
|
3326
2617
|
}
|
|
3327
2618
|
|
|
3328
|
-
interface ManualEntry {
|
|
3329
|
-
/**
|
|
3330
|
-
* Settings for configuring manual entry of account details.
|
|
3331
|
-
*/
|
|
3332
|
-
mode?: ManualEntry.Mode;
|
|
3333
|
-
}
|
|
3334
|
-
|
|
3335
|
-
namespace ManualEntry {
|
|
3336
|
-
type Mode = 'automatic' | 'custom';
|
|
3337
|
-
}
|
|
3338
|
-
|
|
3339
2619
|
type Permission =
|
|
3340
2620
|
| 'balances'
|
|
3341
2621
|
| 'ownership'
|
|
3342
2622
|
| 'payment_method'
|
|
3343
2623
|
| 'transactions';
|
|
3344
2624
|
|
|
3345
|
-
type Prefetch =
|
|
3346
|
-
| 'balances'
|
|
3347
|
-
| 'inferred_balances'
|
|
3348
|
-
| 'ownership'
|
|
3349
|
-
| 'transactions';
|
|
2625
|
+
type Prefetch = 'balances' | 'ownership' | 'transactions';
|
|
3350
2626
|
}
|
|
3351
2627
|
|
|
3352
2628
|
interface MandateOptions {
|
|
@@ -3445,8 +2721,6 @@ declare module 'stripe' {
|
|
|
3445
2721
|
}
|
|
3446
2722
|
}
|
|
3447
2723
|
|
|
3448
|
-
type SecretKeyConfirmation = 'optional' | 'required';
|
|
3449
|
-
|
|
3450
2724
|
type SetupFutureUsage = 'off_session' | 'on_session';
|
|
3451
2725
|
|
|
3452
2726
|
interface Shipping {
|