stripe 18.2.0 → 18.3.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1241 -11
- package/README.md +1 -0
- package/VERSION +1 -1
- package/cjs/Error.js +91 -1
- package/cjs/apiVersion.js +1 -1
- package/cjs/resources/AccountNotices.js +21 -0
- package/cjs/resources/BalanceSettings.js +10 -0
- package/cjs/resources/Capital/FinancingOffers.js +21 -0
- package/cjs/resources/Capital/FinancingSummary.js +12 -0
- package/cjs/resources/Capital/FinancingTransactions.js +17 -0
- package/cjs/resources/ExternalAccounts.js +23 -0
- package/cjs/resources/FinancialConnections/Accounts.js +5 -0
- package/cjs/resources/FinancialConnections/Institutions.js +17 -0
- package/cjs/resources/FxQuotes.js +15 -0
- package/cjs/resources/Issuing/CreditUnderwritingRecords.js +33 -0
- package/cjs/resources/Issuing/DisputeSettlementDetails.js +17 -0
- package/cjs/resources/Issuing/FraudLiabilityDebits.js +17 -0
- package/cjs/resources/Margins.js +22 -0
- package/cjs/resources/Orders.js +24 -0
- package/cjs/resources/{InvoicePayments.js → PaymentAttemptRecords.js} +4 -4
- package/cjs/resources/PaymentIntents.js +13 -0
- package/cjs/resources/PaymentRecords.js +29 -0
- package/cjs/resources/Privacy/RedactionJobs.js +42 -0
- package/cjs/resources/Quotes.js +32 -0
- package/cjs/resources/SubscriptionSchedules.js +4 -0
- package/cjs/resources/Subscriptions.js +4 -0
- package/cjs/resources/Tax/Associations.js +9 -0
- package/cjs/resources/Tax/Forms.js +20 -0
- package/cjs/resources/Terminal/ReaderCollectedData.js +12 -0
- package/cjs/resources/Terminal/Readers.js +8 -0
- package/cjs/resources/V2/Core/AccountLinks.js +9 -0
- package/cjs/resources/V2/Core/Accounts/Persons.js +29 -0
- package/cjs/resources/V2/Core/Accounts.js +25 -0
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.js +28 -0
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.js +24 -0
- package/cjs/resources/V2/MoneyManagement/Adjustments.js +17 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +17 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js +21 -0
- package/cjs/resources/V2/MoneyManagement/InboundTransfers.js +21 -0
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +16 -0
- package/cjs/resources/V2/MoneyManagement/OutboundPayments.js +25 -0
- package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js +29 -0
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js +25 -0
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.js +25 -0
- package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +12 -0
- package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js +17 -0
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js +17 -0
- package/cjs/resources/V2/MoneyManagement/TransactionEntries.js +17 -0
- package/cjs/resources/V2/MoneyManagement/Transactions.js +17 -0
- package/cjs/resources/V2/Payments/OffSessionPayments.js +25 -0
- package/cjs/resources/V2/TestHelpers/FinancialAddresses.js +16 -0
- package/cjs/resources.js +98 -10
- package/cjs/stripe.core.js +1 -1
- package/esm/Error.js +79 -0
- package/esm/apiVersion.js +1 -1
- package/esm/resources/AccountNotices.js +18 -0
- package/esm/resources/BalanceSettings.js +7 -0
- package/esm/resources/Capital/FinancingOffers.js +18 -0
- package/esm/resources/Capital/FinancingSummary.js +9 -0
- package/esm/resources/Capital/FinancingTransactions.js +14 -0
- package/esm/resources/ExternalAccounts.js +20 -0
- package/esm/resources/FinancialConnections/Accounts.js +5 -0
- package/esm/resources/FinancialConnections/Institutions.js +14 -0
- package/esm/resources/FxQuotes.js +12 -0
- package/esm/resources/Issuing/CreditUnderwritingRecords.js +30 -0
- package/esm/resources/Issuing/DisputeSettlementDetails.js +14 -0
- package/esm/resources/Issuing/FraudLiabilityDebits.js +14 -0
- package/esm/resources/Margins.js +19 -0
- package/esm/resources/Orders.js +21 -0
- package/esm/resources/{InvoicePayments.js → PaymentAttemptRecords.js} +3 -3
- package/esm/resources/PaymentIntents.js +13 -0
- package/esm/resources/PaymentRecords.js +26 -0
- package/esm/resources/Privacy/RedactionJobs.js +39 -0
- package/esm/resources/Quotes.js +32 -0
- package/esm/resources/SubscriptionSchedules.js +4 -0
- package/esm/resources/Subscriptions.js +4 -0
- package/esm/resources/Tax/Associations.js +6 -0
- package/esm/resources/Tax/Forms.js +17 -0
- package/esm/resources/Terminal/ReaderCollectedData.js +9 -0
- package/esm/resources/Terminal/Readers.js +8 -0
- package/esm/resources/V2/Core/AccountLinks.js +6 -0
- package/esm/resources/V2/Core/Accounts/Persons.js +26 -0
- package/esm/resources/V2/Core/Accounts.js +22 -0
- package/esm/resources/V2/Core/Vault/GbBankAccounts.js +25 -0
- package/esm/resources/V2/Core/Vault/UsBankAccounts.js +21 -0
- package/esm/resources/V2/MoneyManagement/Adjustments.js +14 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +14 -0
- package/esm/resources/V2/MoneyManagement/FinancialAddresses.js +18 -0
- package/esm/resources/V2/MoneyManagement/InboundTransfers.js +18 -0
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +13 -0
- package/esm/resources/V2/MoneyManagement/OutboundPayments.js +22 -0
- package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js +26 -0
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.js +22 -0
- package/esm/resources/V2/MoneyManagement/PayoutMethods.js +22 -0
- package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +9 -0
- package/esm/resources/V2/MoneyManagement/ReceivedCredits.js +14 -0
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.js +14 -0
- package/esm/resources/V2/MoneyManagement/TransactionEntries.js +14 -0
- package/esm/resources/V2/MoneyManagement/Transactions.js +14 -0
- package/esm/resources/V2/Payments/OffSessionPayments.js +22 -0
- package/esm/resources/V2/TestHelpers/FinancialAddresses.js +13 -0
- package/esm/resources.js +82 -1
- package/esm/stripe.core.js +1 -1
- package/package.json +1 -1
- package/types/AccountLinksResource.d.ts +5 -1
- package/types/AccountNotices.d.ts +113 -0
- package/types/AccountNoticesResource.d.ts +98 -0
- package/types/AccountSessions.d.ts +45 -0
- package/types/AccountSessionsResource.d.ts +264 -0
- package/types/Accounts.d.ts +212 -1
- package/types/AccountsResource.d.ts +544 -0
- package/types/BalanceSettings.d.ts +89 -0
- package/types/BalanceSettingsResource.d.ts +108 -0
- package/types/Billing/CreditBalanceSummary.d.ts +5 -0
- package/types/Billing/CreditBalanceSummaryResource.d.ts +8 -3
- package/types/Billing/CreditBalanceTransactionsResource.d.ts +12 -4
- package/types/Billing/CreditGrants.d.ts +5 -0
- package/types/Billing/CreditGrantsResource.d.ts +11 -1
- package/types/BillingPortal/Sessions.d.ts +5 -0
- package/types/BillingPortal/SessionsResource.d.ts +12 -4
- package/types/Capital/FinancingOffers.d.ts +188 -0
- package/types/Capital/FinancingOffersResource.d.ts +97 -0
- package/types/Capital/FinancingSummary.d.ts +106 -0
- package/types/Capital/FinancingSummaryResource.d.ts +27 -0
- package/types/Capital/FinancingTransactions.d.ts +135 -0
- package/types/Capital/FinancingTransactionsResource.d.ts +68 -0
- package/types/Cards.d.ts +5 -0
- package/types/CashBalances.d.ts +5 -0
- package/types/Charges.d.ts +166 -0
- package/types/ChargesResource.d.ts +1406 -0
- package/types/Checkout/Sessions.d.ts +314 -1
- package/types/Checkout/SessionsResource.d.ts +340 -1
- package/types/ConfirmationTokens.d.ts +125 -0
- package/types/Coupons.d.ts +33 -0
- package/types/CouponsResource.d.ts +21 -0
- package/types/CreditNoteLineItems.d.ts +17 -0
- package/types/CreditNotes.d.ts +5 -0
- package/types/CreditNotesResource.d.ts +5 -0
- package/types/CustomerBalanceTransactions.d.ts +2 -0
- package/types/CustomerCashBalanceTransactions.d.ts +2 -0
- package/types/CustomerSessions.d.ts +5 -0
- package/types/CustomerSessionsResource.d.ts +6 -1
- package/types/Customers.d.ts +2 -0
- package/types/CustomersResource.d.ts +8 -0
- package/types/Discounts.d.ts +10 -0
- package/types/Errors.d.ts +69 -2
- package/types/EventTypes.d.ts +681 -0
- package/types/Events.d.ts +98 -0
- package/types/ExternalAccountsResource.d.ts +304 -0
- package/types/FinancialConnections/AccountInferredBalances.d.ts +38 -0
- package/types/FinancialConnections/Accounts.d.ts +36 -1
- package/types/FinancialConnections/AccountsResource.d.ts +40 -3
- package/types/FinancialConnections/Institutions.d.ts +98 -0
- package/types/FinancialConnections/InstitutionsResource.d.ts +47 -0
- package/types/FinancialConnections/Sessions.d.ts +51 -1
- package/types/FinancialConnections/SessionsResource.d.ts +43 -1
- package/types/FxQuotes.d.ts +153 -0
- package/types/FxQuotesResource.d.ts +130 -0
- package/types/Identity/VerificationSessions.d.ts +5 -0
- package/types/Identity/VerificationSessionsResource.d.ts +7 -0
- package/types/InvoiceItems.d.ts +10 -0
- package/types/InvoiceItemsResource.d.ts +117 -6
- package/types/InvoiceLineItems.d.ts +45 -1
- package/types/InvoicePayments.d.ts +5 -0
- package/types/Invoices.d.ts +133 -3
- package/types/InvoicesResource.d.ts +1458 -13
- package/types/Issuing/CardholdersResource.d.ts +2 -1
- package/types/Issuing/CreditUnderwritingRecords.d.ts +451 -0
- package/types/Issuing/CreditUnderwritingRecordsResource.d.ts +1032 -0
- package/types/Issuing/DisputeSettlementDetails.d.ts +85 -0
- package/types/Issuing/DisputeSettlementDetailsResource.d.ts +52 -0
- package/types/Issuing/FraudLiabilityDebits.d.ts +52 -0
- package/types/Issuing/FraudLiabilityDebitsResource.d.ts +52 -0
- package/types/Issuing/Settlements.d.ts +113 -0
- package/types/Issuing/Transactions.d.ts +5 -0
- package/types/Issuing/TransactionsResource.d.ts +5 -0
- package/types/LineItems.d.ts +49 -0
- package/types/Mandates.d.ts +77 -0
- package/types/Margins.d.ts +56 -0
- package/types/MarginsResource.d.ts +114 -0
- package/types/Orders.d.ts +1159 -0
- package/types/OrdersResource.d.ts +2967 -0
- package/types/PaymentAttemptRecords.d.ts +2132 -0
- package/types/PaymentAttemptRecordsResource.d.ts +47 -0
- package/types/PaymentIntentAmountDetailsLineItems.d.ts +116 -0
- package/types/PaymentIntents.d.ts +764 -2
- package/types/PaymentIntentsResource.d.ts +8819 -4111
- package/types/PaymentLinks.d.ts +6 -0
- package/types/PaymentLinksResource.d.ts +12 -0
- package/types/PaymentMethodConfigurations.d.ts +180 -0
- package/types/PaymentMethodConfigurationsResource.d.ts +250 -0
- package/types/PaymentMethods.d.ts +125 -0
- package/types/PaymentMethodsResource.d.ts +167 -2
- package/types/PaymentRecords.d.ts +2125 -0
- package/types/PaymentRecordsResource.d.ts +455 -0
- package/types/Payouts.d.ts +5 -0
- package/types/PayoutsResource.d.ts +5 -0
- package/types/Prices.d.ts +22 -0
- package/types/PricesResource.d.ts +22 -0
- package/types/Privacy/RedactionJobValidationErrors.d.ts +60 -0
- package/types/Privacy/RedactionJobs.d.ts +111 -0
- package/types/Privacy/RedactionJobsResource.d.ts +230 -0
- package/types/PromotionCodes.d.ts +5 -0
- package/types/PromotionCodesResource.d.ts +10 -0
- package/types/QuoteLines.d.ts +634 -0
- package/types/QuotePreviewInvoices.d.ts +1695 -0
- package/types/QuotePreviewSubscriptionSchedules.d.ts +831 -0
- package/types/Quotes.d.ts +603 -1
- package/types/QuotesResource.d.ts +2572 -218
- package/types/Refunds.d.ts +14 -0
- package/types/SetupAttempts.d.ts +47 -1
- package/types/SetupIntents.d.ts +118 -2
- package/types/SetupIntentsResource.d.ts +730 -3
- package/types/Sources.d.ts +29 -0
- package/types/SubscriptionItems.d.ts +30 -0
- package/types/SubscriptionItemsResource.d.ts +109 -0
- package/types/SubscriptionSchedules.d.ts +212 -0
- package/types/SubscriptionSchedulesResource.d.ts +1240 -5
- package/types/Subscriptions.d.ts +116 -1
- package/types/SubscriptionsResource.d.ts +424 -10
- package/types/Tax/Associations.d.ts +82 -0
- package/types/Tax/AssociationsResource.d.ts +29 -0
- package/types/Tax/Forms.d.ts +220 -0
- package/types/Tax/FormsResource.d.ts +107 -0
- package/types/TaxIds.d.ts +10 -0
- package/types/TaxIdsResource.d.ts +10 -0
- package/types/Terminal/ReaderCollectedData.d.ts +51 -0
- package/types/Terminal/ReaderCollectedDataResource.d.ts +29 -0
- package/types/Terminal/Readers.d.ts +102 -0
- package/types/Terminal/ReadersResource.d.ts +96 -0
- package/types/TestHelpers/ConfirmationTokensResource.d.ts +126 -0
- package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +26 -0
- package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +26 -0
- package/types/Transfers.d.ts +5 -0
- package/types/TransfersResource.d.ts +5 -0
- package/types/Treasury/FinancialAccountFeatures.d.ts +7 -0
- package/types/Treasury/FinancialAccounts.d.ts +5 -0
- package/types/Treasury/FinancialAccountsResource.d.ts +37 -0
- package/types/Treasury/OutboundTransfers.d.ts +26 -0
- package/types/Treasury/OutboundTransfersResource.d.ts +26 -0
- package/types/Treasury/ReceivedCredits.d.ts +26 -0
- package/types/Treasury/ReceivedDebits.d.ts +31 -0
- package/types/V2/Core/AccountLinks.d.ts +106 -0
- package/types/V2/Core/AccountLinksResource.d.ts +90 -0
- package/types/V2/Core/Accounts/PersonsResource.d.ts +3770 -0
- package/types/V2/Core/Accounts.d.ts +8169 -0
- package/types/V2/Core/AccountsResource.d.ts +10203 -0
- package/types/V2/Core/Persons.d.ts +1867 -0
- package/types/V2/Core/Vault/GbBankAccounts.d.ts +160 -0
- package/types/V2/Core/Vault/GbBankAccountsResource.d.ts +172 -0
- package/types/V2/Core/Vault/UsBankAccounts.d.ts +70 -0
- package/types/V2/Core/Vault/UsBankAccountsResource.d.ts +123 -0
- package/types/V2/EventTypes.d.ts +907 -5
- package/types/V2/FinancialAddressCreditSimulations.d.ts +27 -0
- package/types/V2/FinancialAddressGeneratedMicrodeposits.d.ts +32 -0
- package/types/V2/MoneyManagement/Adjustments.d.ts +110 -0
- package/types/V2/MoneyManagement/AdjustmentsResource.d.ts +83 -0
- package/types/V2/MoneyManagement/FinancialAccounts.d.ts +546 -0
- package/types/V2/MoneyManagement/FinancialAccountsResource.d.ts +52 -0
- package/types/V2/MoneyManagement/FinancialAddresses.d.ts +314 -0
- package/types/V2/MoneyManagement/FinancialAddressesResource.d.ts +288 -0
- package/types/V2/MoneyManagement/InboundTransfers.d.ts +206 -0
- package/types/V2/MoneyManagement/InboundTransfersResource.d.ts +144 -0
- package/types/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +168 -0
- package/types/V2/MoneyManagement/OutboundPaymentQuotesResource.d.ts +115 -0
- package/types/V2/MoneyManagement/OutboundPayments.d.ts +278 -0
- package/types/V2/MoneyManagement/OutboundPaymentsResource.d.ts +242 -0
- package/types/V2/MoneyManagement/OutboundSetupIntents.d.ts +97 -0
- package/types/V2/MoneyManagement/OutboundSetupIntentsResource.d.ts +296 -0
- package/types/V2/MoneyManagement/OutboundTransfers.d.ts +251 -0
- package/types/V2/MoneyManagement/OutboundTransfersResource.d.ts +207 -0
- package/types/V2/MoneyManagement/PayoutMethods.d.ts +151 -0
- package/types/V2/MoneyManagement/PayoutMethodsBankAccountSpecResource.d.ts +41 -0
- package/types/V2/MoneyManagement/PayoutMethodsBankAccountSpecs.d.ts +87 -0
- package/types/V2/MoneyManagement/PayoutMethodsResource.d.ts +113 -0
- package/types/V2/MoneyManagement/ReceivedCredits.d.ts +243 -0
- package/types/V2/MoneyManagement/ReceivedCreditsResource.d.ts +78 -0
- package/types/V2/MoneyManagement/ReceivedDebits.d.ts +176 -0
- package/types/V2/MoneyManagement/ReceivedDebitsResource.d.ts +48 -0
- package/types/V2/MoneyManagement/TransactionEntries.d.ts +155 -0
- package/types/V2/MoneyManagement/TransactionEntriesResource.d.ts +82 -0
- package/types/V2/MoneyManagement/Transactions.d.ts +170 -0
- package/types/V2/MoneyManagement/TransactionsResource.d.ts +83 -0
- package/types/V2/Payments/OffSessionPayments.d.ts +167 -0
- package/types/V2/Payments/OffSessionPaymentsResource.d.ts +159 -0
- package/types/V2/TestHelpers/FinancialAddressesResource.d.ts +66 -0
- package/types/WebhookEndpointsResource.d.ts +80 -0
- package/types/index.d.ts +141 -5
- package/types/lib.d.ts +11 -1
- package/types/test/typescriptTest.ts +3 -3
- package/types/InvoicePaymentsResource.d.ts +0 -74
|
@@ -106,11 +106,27 @@ declare module 'stripe' {
|
|
|
106
106
|
*/
|
|
107
107
|
customer: string | Stripe.Customer | Stripe.DeletedCustomer | null;
|
|
108
108
|
|
|
109
|
+
/**
|
|
110
|
+
* ID of the Account this PaymentIntent belongs to, if one exists.
|
|
111
|
+
*
|
|
112
|
+
* Payment methods attached to other Accounts cannot be used with this PaymentIntent.
|
|
113
|
+
*
|
|
114
|
+
* If [setup_future_usage](https://stripe.com/docs/api#payment_intent_object-setup_future_usage) is set and this PaymentIntent's payment method is not `card_present`, then the payment method attaches to the Account after the PaymentIntent has been confirmed and any required actions from the user are complete. If the payment method is `card_present` and isn't a digital wallet, then a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card is created and attached to the Account instead.
|
|
115
|
+
*/
|
|
116
|
+
customer_account?: string | null;
|
|
117
|
+
|
|
109
118
|
/**
|
|
110
119
|
* An arbitrary string attached to the object. Often useful for displaying to users.
|
|
111
120
|
*/
|
|
112
121
|
description: string | null;
|
|
113
122
|
|
|
123
|
+
/**
|
|
124
|
+
* The FX Quote used for the PaymentIntent.
|
|
125
|
+
*/
|
|
126
|
+
fx_quote?: string | null;
|
|
127
|
+
|
|
128
|
+
hooks?: PaymentIntent.Hooks;
|
|
129
|
+
|
|
114
130
|
/**
|
|
115
131
|
* The payment error encountered in the previous PaymentIntent confirmation. It will be cleared if the PaymentIntent is later updated for any reason.
|
|
116
132
|
*/
|
|
@@ -141,6 +157,8 @@ declare module 'stripe' {
|
|
|
141
157
|
*/
|
|
142
158
|
on_behalf_of: string | Stripe.Account | null;
|
|
143
159
|
|
|
160
|
+
payment_details?: PaymentIntent.PaymentDetails;
|
|
161
|
+
|
|
144
162
|
/**
|
|
145
163
|
* ID of the payment method used in this PaymentIntent.
|
|
146
164
|
*/
|
|
@@ -178,6 +196,11 @@ declare module 'stripe' {
|
|
|
178
196
|
*/
|
|
179
197
|
review: string | Stripe.Review | null;
|
|
180
198
|
|
|
199
|
+
/**
|
|
200
|
+
* Indicates whether confirmation for this PaymentIntent using a secret key is `required` or `optional`.
|
|
201
|
+
*/
|
|
202
|
+
secret_key_confirmation?: PaymentIntent.SecretKeyConfirmation;
|
|
203
|
+
|
|
181
204
|
/**
|
|
182
205
|
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
183
206
|
*
|
|
@@ -233,10 +256,48 @@ declare module 'stripe' {
|
|
|
233
256
|
|
|
234
257
|
namespace PaymentIntent {
|
|
235
258
|
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
|
+
|
|
236
273
|
tip?: AmountDetails.Tip;
|
|
237
274
|
}
|
|
238
275
|
|
|
239
276
|
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
|
+
|
|
240
301
|
interface Tip {
|
|
241
302
|
/**
|
|
242
303
|
* Portion of the amount that corresponds to a tip.
|
|
@@ -277,6 +338,25 @@ declare module 'stripe' {
|
|
|
277
338
|
|
|
278
339
|
type ConfirmationMethod = 'automatic' | 'manual';
|
|
279
340
|
|
|
341
|
+
interface Hooks {
|
|
342
|
+
inputs?: Hooks.Inputs;
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
namespace Hooks {
|
|
346
|
+
interface Inputs {
|
|
347
|
+
tax?: Inputs.Tax;
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
namespace Inputs {
|
|
351
|
+
interface Tax {
|
|
352
|
+
/**
|
|
353
|
+
* The [TaxCalculation](https://stripe.com/docs/api/tax/calculations) id
|
|
354
|
+
*/
|
|
355
|
+
calculation: string;
|
|
356
|
+
}
|
|
357
|
+
}
|
|
358
|
+
}
|
|
359
|
+
|
|
280
360
|
interface LastPaymentError {
|
|
281
361
|
/**
|
|
282
362
|
* For card errors resulting from a card issuer decline, a short string indicating [how to proceed with an error](https://stripe.com/docs/declines#retrying-issuer-declines) if they provide one.
|
|
@@ -440,6 +520,7 @@ declare module 'stripe' {
|
|
|
440
520
|
| 'email_invalid'
|
|
441
521
|
| 'expired_card'
|
|
442
522
|
| 'financial_connections_account_inactive'
|
|
523
|
+
| 'financial_connections_institution_unavailable'
|
|
443
524
|
| 'financial_connections_no_successful_transaction_refresh'
|
|
444
525
|
| 'forwarding_api_inactive'
|
|
445
526
|
| 'forwarding_api_invalid_parameter'
|
|
@@ -536,6 +617,7 @@ declare module 'stripe' {
|
|
|
536
617
|
| 'return_intent_already_processed'
|
|
537
618
|
| 'routing_number_invalid'
|
|
538
619
|
| 'secret_key_required'
|
|
620
|
+
| 'sensitive_data_access_expired'
|
|
539
621
|
| 'sepa_unsupported_account'
|
|
540
622
|
| 'setup_attempt_failed'
|
|
541
623
|
| 'setup_intent_authentication_failure'
|
|
@@ -555,6 +637,7 @@ declare module 'stripe' {
|
|
|
555
637
|
| 'taxes_calculation_failed'
|
|
556
638
|
| 'terminal_location_country_unsupported'
|
|
557
639
|
| 'terminal_reader_busy'
|
|
640
|
+
| 'terminal_reader_collected_data_invalid'
|
|
558
641
|
| 'terminal_reader_hardware_fault'
|
|
559
642
|
| 'terminal_reader_invalid_location_for_activation'
|
|
560
643
|
| 'terminal_reader_invalid_location_for_payment'
|
|
@@ -567,7 +650,9 @@ declare module 'stripe' {
|
|
|
567
650
|
| 'token_in_use'
|
|
568
651
|
| 'transfer_source_balance_parameters_mismatch'
|
|
569
652
|
| 'transfers_not_allowed'
|
|
570
|
-
| 'url_invalid'
|
|
653
|
+
| 'url_invalid'
|
|
654
|
+
| 'v2_account_disconnection_unsupported'
|
|
655
|
+
| 'v2_account_missing_configuration';
|
|
571
656
|
|
|
572
657
|
type Type =
|
|
573
658
|
| 'api_error'
|
|
@@ -1331,6 +1416,338 @@ declare module 'stripe' {
|
|
|
1331
1416
|
}
|
|
1332
1417
|
}
|
|
1333
1418
|
|
|
1419
|
+
interface PaymentDetails {
|
|
1420
|
+
car_rental?: PaymentDetails.CarRental;
|
|
1421
|
+
|
|
1422
|
+
/**
|
|
1423
|
+
* 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.
|
|
1424
|
+
*/
|
|
1425
|
+
customer_reference?: string | null;
|
|
1426
|
+
|
|
1427
|
+
event_details?: PaymentDetails.EventDetails;
|
|
1428
|
+
|
|
1429
|
+
/**
|
|
1430
|
+
* A unique value assigned by the business to identify the transaction.
|
|
1431
|
+
*/
|
|
1432
|
+
order_reference?: string | null;
|
|
1433
|
+
|
|
1434
|
+
subscription?: PaymentDetails.Subscription;
|
|
1435
|
+
}
|
|
1436
|
+
|
|
1437
|
+
namespace PaymentDetails {
|
|
1438
|
+
interface CarRental {
|
|
1439
|
+
affiliate?: CarRental.Affiliate;
|
|
1440
|
+
|
|
1441
|
+
/**
|
|
1442
|
+
* The booking number associated with the car rental.
|
|
1443
|
+
*/
|
|
1444
|
+
booking_number: string;
|
|
1445
|
+
|
|
1446
|
+
/**
|
|
1447
|
+
* Class code of the car.
|
|
1448
|
+
*/
|
|
1449
|
+
car_class_code?: string;
|
|
1450
|
+
|
|
1451
|
+
/**
|
|
1452
|
+
* Make of the car.
|
|
1453
|
+
*/
|
|
1454
|
+
car_make?: string;
|
|
1455
|
+
|
|
1456
|
+
/**
|
|
1457
|
+
* Model of the car.
|
|
1458
|
+
*/
|
|
1459
|
+
car_model?: string;
|
|
1460
|
+
|
|
1461
|
+
/**
|
|
1462
|
+
* The name of the rental car company.
|
|
1463
|
+
*/
|
|
1464
|
+
company?: string;
|
|
1465
|
+
|
|
1466
|
+
/**
|
|
1467
|
+
* The customer service phone number of the car rental company.
|
|
1468
|
+
*/
|
|
1469
|
+
customer_service_phone_number?: string;
|
|
1470
|
+
|
|
1471
|
+
/**
|
|
1472
|
+
* Number of days the car is being rented.
|
|
1473
|
+
*/
|
|
1474
|
+
days_rented: number;
|
|
1475
|
+
|
|
1476
|
+
delivery?: CarRental.Delivery;
|
|
1477
|
+
|
|
1478
|
+
distance?: CarRental.Distance;
|
|
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
|
+
* Name of the pickup location.
|
|
1504
|
+
*/
|
|
1505
|
+
pickup_location_name?: string;
|
|
1506
|
+
|
|
1507
|
+
/**
|
|
1508
|
+
* Rental rate.
|
|
1509
|
+
*/
|
|
1510
|
+
rate_amount?: number;
|
|
1511
|
+
|
|
1512
|
+
/**
|
|
1513
|
+
* The frequency at which the rate amount is applied. One of `day`, `week` or `month`
|
|
1514
|
+
*/
|
|
1515
|
+
rate_interval?: CarRental.RateInterval;
|
|
1516
|
+
|
|
1517
|
+
/**
|
|
1518
|
+
* The full name of the person or entity renting the car.
|
|
1519
|
+
*/
|
|
1520
|
+
renter_name?: string;
|
|
1521
|
+
|
|
1522
|
+
return_address?: Stripe.Address;
|
|
1523
|
+
|
|
1524
|
+
/**
|
|
1525
|
+
* Car return time. Measured in seconds since the Unix epoch.
|
|
1526
|
+
*/
|
|
1527
|
+
return_at: number;
|
|
1528
|
+
|
|
1529
|
+
/**
|
|
1530
|
+
* Name of the return location.
|
|
1531
|
+
*/
|
|
1532
|
+
return_location_name?: string;
|
|
1533
|
+
|
|
1534
|
+
/**
|
|
1535
|
+
* Indicates whether the goods or services are tax-exempt or tax is not collected.
|
|
1536
|
+
*/
|
|
1537
|
+
tax_exempt?: boolean;
|
|
1538
|
+
|
|
1539
|
+
/**
|
|
1540
|
+
* The vehicle identification number of the car.
|
|
1541
|
+
*/
|
|
1542
|
+
vehicle_identification_number?: string;
|
|
1543
|
+
}
|
|
1544
|
+
|
|
1545
|
+
namespace CarRental {
|
|
1546
|
+
interface Affiliate {
|
|
1547
|
+
/**
|
|
1548
|
+
* The name of the affiliate that originated the purchase.
|
|
1549
|
+
*/
|
|
1550
|
+
name?: string;
|
|
1551
|
+
}
|
|
1552
|
+
|
|
1553
|
+
interface Delivery {
|
|
1554
|
+
/**
|
|
1555
|
+
* The delivery method for the payment
|
|
1556
|
+
*/
|
|
1557
|
+
mode?: Delivery.Mode;
|
|
1558
|
+
|
|
1559
|
+
recipient?: Delivery.Recipient;
|
|
1560
|
+
}
|
|
1561
|
+
|
|
1562
|
+
namespace Delivery {
|
|
1563
|
+
type Mode = 'email' | 'phone' | 'pickup' | 'post';
|
|
1564
|
+
|
|
1565
|
+
interface Recipient {
|
|
1566
|
+
/**
|
|
1567
|
+
* The email of the recipient the ticket is delivered to.
|
|
1568
|
+
*/
|
|
1569
|
+
email?: string;
|
|
1570
|
+
|
|
1571
|
+
/**
|
|
1572
|
+
* The name of the recipient the ticket is delivered to.
|
|
1573
|
+
*/
|
|
1574
|
+
name?: string;
|
|
1575
|
+
|
|
1576
|
+
/**
|
|
1577
|
+
* The phone number of the recipient the ticket is delivered to.
|
|
1578
|
+
*/
|
|
1579
|
+
phone?: string;
|
|
1580
|
+
}
|
|
1581
|
+
}
|
|
1582
|
+
|
|
1583
|
+
interface Distance {
|
|
1584
|
+
/**
|
|
1585
|
+
* Distance traveled.
|
|
1586
|
+
*/
|
|
1587
|
+
amount?: number;
|
|
1588
|
+
|
|
1589
|
+
/**
|
|
1590
|
+
* Unit of measurement for the distance traveled. One of `miles` or `kilometers`
|
|
1591
|
+
*/
|
|
1592
|
+
unit?: string;
|
|
1593
|
+
}
|
|
1594
|
+
|
|
1595
|
+
interface Driver {
|
|
1596
|
+
/**
|
|
1597
|
+
* Driver's identification number.
|
|
1598
|
+
*/
|
|
1599
|
+
driver_identification_number?: string;
|
|
1600
|
+
|
|
1601
|
+
/**
|
|
1602
|
+
* Driver's tax number.
|
|
1603
|
+
*/
|
|
1604
|
+
driver_tax_number?: string;
|
|
1605
|
+
|
|
1606
|
+
/**
|
|
1607
|
+
* Full name of the driver on the reservation.
|
|
1608
|
+
*/
|
|
1609
|
+
name?: string;
|
|
1610
|
+
}
|
|
1611
|
+
|
|
1612
|
+
type ExtraCharge =
|
|
1613
|
+
| 'extra_mileage'
|
|
1614
|
+
| 'gas'
|
|
1615
|
+
| 'late_return'
|
|
1616
|
+
| 'one_way_service'
|
|
1617
|
+
| 'parking_violation';
|
|
1618
|
+
|
|
1619
|
+
type RateInterval = 'day' | 'month' | 'week';
|
|
1620
|
+
}
|
|
1621
|
+
|
|
1622
|
+
interface EventDetails {
|
|
1623
|
+
/**
|
|
1624
|
+
* Indicates if the tickets are digitally checked when entering the venue.
|
|
1625
|
+
*/
|
|
1626
|
+
access_controlled_venue?: boolean;
|
|
1627
|
+
|
|
1628
|
+
address?: Stripe.Address;
|
|
1629
|
+
|
|
1630
|
+
affiliate?: EventDetails.Affiliate;
|
|
1631
|
+
|
|
1632
|
+
/**
|
|
1633
|
+
* The name of the company
|
|
1634
|
+
*/
|
|
1635
|
+
company?: string;
|
|
1636
|
+
|
|
1637
|
+
delivery?: EventDetails.Delivery;
|
|
1638
|
+
|
|
1639
|
+
/**
|
|
1640
|
+
* Event end time. Measured in seconds since the Unix epoch.
|
|
1641
|
+
*/
|
|
1642
|
+
ends_at?: number;
|
|
1643
|
+
|
|
1644
|
+
/**
|
|
1645
|
+
* Type of the event entertainment (concert, sports event etc)
|
|
1646
|
+
*/
|
|
1647
|
+
genre?: string;
|
|
1648
|
+
|
|
1649
|
+
/**
|
|
1650
|
+
* The name of the event.
|
|
1651
|
+
*/
|
|
1652
|
+
name?: string;
|
|
1653
|
+
|
|
1654
|
+
/**
|
|
1655
|
+
* Event start time. Measured in seconds since the Unix epoch.
|
|
1656
|
+
*/
|
|
1657
|
+
starts_at?: number;
|
|
1658
|
+
}
|
|
1659
|
+
|
|
1660
|
+
namespace EventDetails {
|
|
1661
|
+
interface Affiliate {
|
|
1662
|
+
/**
|
|
1663
|
+
* The name of the affiliate that originated the purchase.
|
|
1664
|
+
*/
|
|
1665
|
+
name?: string;
|
|
1666
|
+
}
|
|
1667
|
+
|
|
1668
|
+
interface Delivery {
|
|
1669
|
+
/**
|
|
1670
|
+
* The delivery method for the payment
|
|
1671
|
+
*/
|
|
1672
|
+
mode?: Delivery.Mode;
|
|
1673
|
+
|
|
1674
|
+
recipient?: Delivery.Recipient;
|
|
1675
|
+
}
|
|
1676
|
+
|
|
1677
|
+
namespace Delivery {
|
|
1678
|
+
type Mode = 'email' | 'phone' | 'pickup' | 'post';
|
|
1679
|
+
|
|
1680
|
+
interface Recipient {
|
|
1681
|
+
/**
|
|
1682
|
+
* The email of the recipient the ticket is delivered to.
|
|
1683
|
+
*/
|
|
1684
|
+
email?: string;
|
|
1685
|
+
|
|
1686
|
+
/**
|
|
1687
|
+
* The name of the recipient the ticket is delivered to.
|
|
1688
|
+
*/
|
|
1689
|
+
name?: string;
|
|
1690
|
+
|
|
1691
|
+
/**
|
|
1692
|
+
* The phone number of the recipient the ticket is delivered to.
|
|
1693
|
+
*/
|
|
1694
|
+
phone?: string;
|
|
1695
|
+
}
|
|
1696
|
+
}
|
|
1697
|
+
}
|
|
1698
|
+
|
|
1699
|
+
interface Subscription {
|
|
1700
|
+
affiliate?: Subscription.Affiliate;
|
|
1701
|
+
|
|
1702
|
+
/**
|
|
1703
|
+
* Info whether the subscription will be auto renewed upon expiry.
|
|
1704
|
+
*/
|
|
1705
|
+
auto_renewal?: boolean;
|
|
1706
|
+
|
|
1707
|
+
billing_interval?: Subscription.BillingInterval;
|
|
1708
|
+
|
|
1709
|
+
/**
|
|
1710
|
+
* Subscription end time. Measured in seconds since the Unix epoch.
|
|
1711
|
+
*/
|
|
1712
|
+
ends_at?: number;
|
|
1713
|
+
|
|
1714
|
+
/**
|
|
1715
|
+
* Name of the product on subscription. e.g. Apple Music Subscription.
|
|
1716
|
+
*/
|
|
1717
|
+
name?: string;
|
|
1718
|
+
|
|
1719
|
+
/**
|
|
1720
|
+
* Subscription start time. Measured in seconds since the Unix epoch.
|
|
1721
|
+
*/
|
|
1722
|
+
starts_at?: number;
|
|
1723
|
+
}
|
|
1724
|
+
|
|
1725
|
+
namespace Subscription {
|
|
1726
|
+
interface Affiliate {
|
|
1727
|
+
/**
|
|
1728
|
+
* The name of the affiliate that originated the purchase.
|
|
1729
|
+
*/
|
|
1730
|
+
name?: string;
|
|
1731
|
+
}
|
|
1732
|
+
|
|
1733
|
+
interface BillingInterval {
|
|
1734
|
+
/**
|
|
1735
|
+
* The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
1736
|
+
*/
|
|
1737
|
+
count?: number;
|
|
1738
|
+
|
|
1739
|
+
/**
|
|
1740
|
+
* Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
1741
|
+
*/
|
|
1742
|
+
interval?: BillingInterval.Interval;
|
|
1743
|
+
}
|
|
1744
|
+
|
|
1745
|
+
namespace BillingInterval {
|
|
1746
|
+
type Interval = 'day' | 'month' | 'week' | 'year';
|
|
1747
|
+
}
|
|
1748
|
+
}
|
|
1749
|
+
}
|
|
1750
|
+
|
|
1334
1751
|
interface PaymentMethodConfigurationDetails {
|
|
1335
1752
|
/**
|
|
1336
1753
|
* ID of the payment method configuration used.
|
|
@@ -1382,8 +1799,12 @@ declare module 'stripe' {
|
|
|
1382
1799
|
|
|
1383
1800
|
giropay?: PaymentMethodOptions.Giropay;
|
|
1384
1801
|
|
|
1802
|
+
gopay?: PaymentMethodOptions.Gopay;
|
|
1803
|
+
|
|
1385
1804
|
grabpay?: PaymentMethodOptions.Grabpay;
|
|
1386
1805
|
|
|
1806
|
+
id_bank_transfer?: PaymentMethodOptions.IdBankTransfer;
|
|
1807
|
+
|
|
1387
1808
|
ideal?: PaymentMethodOptions.Ideal;
|
|
1388
1809
|
|
|
1389
1810
|
interac_present?: PaymentMethodOptions.InteracPresent;
|
|
@@ -1398,6 +1819,8 @@ declare module 'stripe' {
|
|
|
1398
1819
|
|
|
1399
1820
|
link?: PaymentMethodOptions.Link;
|
|
1400
1821
|
|
|
1822
|
+
mb_way?: PaymentMethodOptions.MbWay;
|
|
1823
|
+
|
|
1401
1824
|
mobilepay?: PaymentMethodOptions.Mobilepay;
|
|
1402
1825
|
|
|
1403
1826
|
multibanco?: PaymentMethodOptions.Multibanco;
|
|
@@ -1418,10 +1841,16 @@ declare module 'stripe' {
|
|
|
1418
1841
|
|
|
1419
1842
|
paypal?: PaymentMethodOptions.Paypal;
|
|
1420
1843
|
|
|
1844
|
+
payto?: PaymentMethodOptions.Payto;
|
|
1845
|
+
|
|
1421
1846
|
pix?: PaymentMethodOptions.Pix;
|
|
1422
1847
|
|
|
1423
1848
|
promptpay?: PaymentMethodOptions.Promptpay;
|
|
1424
1849
|
|
|
1850
|
+
qris?: PaymentMethodOptions.Qris;
|
|
1851
|
+
|
|
1852
|
+
rechnung?: PaymentMethodOptions.Rechnung;
|
|
1853
|
+
|
|
1425
1854
|
revolut_pay?: PaymentMethodOptions.RevolutPay;
|
|
1426
1855
|
|
|
1427
1856
|
samsung_pay?: PaymentMethodOptions.SamsungPay;
|
|
@@ -1430,8 +1859,12 @@ declare module 'stripe' {
|
|
|
1430
1859
|
|
|
1431
1860
|
sepa_debit?: PaymentMethodOptions.SepaDebit;
|
|
1432
1861
|
|
|
1862
|
+
shopeepay?: PaymentMethodOptions.Shopeepay;
|
|
1863
|
+
|
|
1433
1864
|
sofort?: PaymentMethodOptions.Sofort;
|
|
1434
1865
|
|
|
1866
|
+
stripe_balance?: PaymentMethodOptions.StripeBalance;
|
|
1867
|
+
|
|
1435
1868
|
swish?: PaymentMethodOptions.Swish;
|
|
1436
1869
|
|
|
1437
1870
|
twint?: PaymentMethodOptions.Twint;
|
|
@@ -1738,6 +2171,11 @@ declare module 'stripe' {
|
|
|
1738
2171
|
*/
|
|
1739
2172
|
network: Card.Network | null;
|
|
1740
2173
|
|
|
2174
|
+
/**
|
|
2175
|
+
* Request ability to [decrement the authorization](https://stripe.com/docs/payments/decremental-authorization) for this PaymentIntent.
|
|
2176
|
+
*/
|
|
2177
|
+
request_decremental_authorization?: Card.RequestDecrementalAuthorization;
|
|
2178
|
+
|
|
1741
2179
|
/**
|
|
1742
2180
|
* Request ability to [capture beyond the standard authorization validity window](https://stripe.com/docs/payments/extended-authorization) for this PaymentIntent.
|
|
1743
2181
|
*/
|
|
@@ -1758,6 +2196,11 @@ declare module 'stripe' {
|
|
|
1758
2196
|
*/
|
|
1759
2197
|
request_overcapture?: Card.RequestOvercapture;
|
|
1760
2198
|
|
|
2199
|
+
/**
|
|
2200
|
+
* Request partial authorization on this PaymentIntent.
|
|
2201
|
+
*/
|
|
2202
|
+
request_partial_authorization?: Card.RequestPartialAuthorization;
|
|
2203
|
+
|
|
1761
2204
|
/**
|
|
1762
2205
|
* 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.
|
|
1763
2206
|
*/
|
|
@@ -1788,6 +2231,8 @@ declare module 'stripe' {
|
|
|
1788
2231
|
* 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.
|
|
1789
2232
|
*/
|
|
1790
2233
|
statement_descriptor_suffix_kanji?: string;
|
|
2234
|
+
|
|
2235
|
+
statement_details?: Card.StatementDetails;
|
|
1791
2236
|
}
|
|
1792
2237
|
|
|
1793
2238
|
namespace Card {
|
|
@@ -1914,6 +2359,8 @@ declare module 'stripe' {
|
|
|
1914
2359
|
| 'unknown'
|
|
1915
2360
|
| 'visa';
|
|
1916
2361
|
|
|
2362
|
+
type RequestDecrementalAuthorization = 'if_available' | 'never';
|
|
2363
|
+
|
|
1917
2364
|
type RequestExtendedAuthorization = 'if_available' | 'never';
|
|
1918
2365
|
|
|
1919
2366
|
type RequestIncrementalAuthorization = 'if_available' | 'never';
|
|
@@ -1922,9 +2369,54 @@ declare module 'stripe' {
|
|
|
1922
2369
|
|
|
1923
2370
|
type RequestOvercapture = 'if_available' | 'never';
|
|
1924
2371
|
|
|
2372
|
+
type RequestPartialAuthorization = 'if_available' | 'never';
|
|
2373
|
+
|
|
1925
2374
|
type RequestThreeDSecure = 'any' | 'automatic' | 'challenge';
|
|
1926
2375
|
|
|
1927
2376
|
type SetupFutureUsage = 'none' | 'off_session' | 'on_session';
|
|
2377
|
+
|
|
2378
|
+
interface StatementDetails {
|
|
2379
|
+
address?: StatementDetails.Address;
|
|
2380
|
+
|
|
2381
|
+
/**
|
|
2382
|
+
* Phone number
|
|
2383
|
+
*/
|
|
2384
|
+
phone?: string;
|
|
2385
|
+
}
|
|
2386
|
+
|
|
2387
|
+
namespace StatementDetails {
|
|
2388
|
+
interface Address {
|
|
2389
|
+
/**
|
|
2390
|
+
* City, district, suburb, town, or village.
|
|
2391
|
+
*/
|
|
2392
|
+
city?: string;
|
|
2393
|
+
|
|
2394
|
+
/**
|
|
2395
|
+
* Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
2396
|
+
*/
|
|
2397
|
+
country?: string;
|
|
2398
|
+
|
|
2399
|
+
/**
|
|
2400
|
+
* Address line 1 (e.g., street, PO Box, or company name).
|
|
2401
|
+
*/
|
|
2402
|
+
line1?: string;
|
|
2403
|
+
|
|
2404
|
+
/**
|
|
2405
|
+
* Address line 2 (e.g., apartment, suite, unit, or building).
|
|
2406
|
+
*/
|
|
2407
|
+
line2?: string;
|
|
2408
|
+
|
|
2409
|
+
/**
|
|
2410
|
+
* ZIP or postal code.
|
|
2411
|
+
*/
|
|
2412
|
+
postal_code?: string;
|
|
2413
|
+
|
|
2414
|
+
/**
|
|
2415
|
+
* State, county, province, or region.
|
|
2416
|
+
*/
|
|
2417
|
+
state?: string;
|
|
2418
|
+
}
|
|
2419
|
+
}
|
|
1928
2420
|
}
|
|
1929
2421
|
|
|
1930
2422
|
interface CardPresent {
|
|
@@ -2082,6 +2574,19 @@ declare module 'stripe' {
|
|
|
2082
2574
|
setup_future_usage?: 'none';
|
|
2083
2575
|
}
|
|
2084
2576
|
|
|
2577
|
+
interface Gopay {
|
|
2578
|
+
/**
|
|
2579
|
+
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2580
|
+
*
|
|
2581
|
+
* 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.
|
|
2582
|
+
*
|
|
2583
|
+
* 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.
|
|
2584
|
+
*
|
|
2585
|
+
* 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).
|
|
2586
|
+
*/
|
|
2587
|
+
setup_future_usage?: 'none';
|
|
2588
|
+
}
|
|
2589
|
+
|
|
2085
2590
|
interface Grabpay {
|
|
2086
2591
|
/**
|
|
2087
2592
|
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
@@ -2095,6 +2600,29 @@ declare module 'stripe' {
|
|
|
2095
2600
|
setup_future_usage?: 'none';
|
|
2096
2601
|
}
|
|
2097
2602
|
|
|
2603
|
+
interface IdBankTransfer {
|
|
2604
|
+
/**
|
|
2605
|
+
* The UNIX timestamp until which the virtual bank account is valid. Permitted range is from now till 2678400 seconds (31 days) from now.
|
|
2606
|
+
*/
|
|
2607
|
+
expires_after?: number | null;
|
|
2608
|
+
|
|
2609
|
+
/**
|
|
2610
|
+
* 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.
|
|
2611
|
+
*/
|
|
2612
|
+
expires_at: number | null;
|
|
2613
|
+
|
|
2614
|
+
/**
|
|
2615
|
+
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2616
|
+
*
|
|
2617
|
+
* 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.
|
|
2618
|
+
*
|
|
2619
|
+
* 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.
|
|
2620
|
+
*
|
|
2621
|
+
* 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).
|
|
2622
|
+
*/
|
|
2623
|
+
setup_future_usage?: 'none';
|
|
2624
|
+
}
|
|
2625
|
+
|
|
2098
2626
|
interface Ideal {
|
|
2099
2627
|
/**
|
|
2100
2628
|
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
@@ -2242,6 +2770,19 @@ declare module 'stripe' {
|
|
|
2242
2770
|
type SetupFutureUsage = 'none' | 'off_session';
|
|
2243
2771
|
}
|
|
2244
2772
|
|
|
2773
|
+
interface MbWay {
|
|
2774
|
+
/**
|
|
2775
|
+
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2776
|
+
*
|
|
2777
|
+
* 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.
|
|
2778
|
+
*
|
|
2779
|
+
* 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.
|
|
2780
|
+
*
|
|
2781
|
+
* 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).
|
|
2782
|
+
*/
|
|
2783
|
+
setup_future_usage?: 'none';
|
|
2784
|
+
}
|
|
2785
|
+
|
|
2245
2786
|
interface Mobilepay {
|
|
2246
2787
|
/**
|
|
2247
2788
|
* Controls when the funds will be captured from the customer's account.
|
|
@@ -2376,6 +2917,11 @@ declare module 'stripe' {
|
|
|
2376
2917
|
*/
|
|
2377
2918
|
capture_method?: 'manual';
|
|
2378
2919
|
|
|
2920
|
+
/**
|
|
2921
|
+
* The line items purchased by the customer.
|
|
2922
|
+
*/
|
|
2923
|
+
line_items?: Array<Paypal.LineItem>;
|
|
2924
|
+
|
|
2379
2925
|
/**
|
|
2380
2926
|
* Preferred locale of the PayPal checkout page that the customer is redirected to.
|
|
2381
2927
|
*/
|
|
@@ -2386,6 +2932,11 @@ declare module 'stripe' {
|
|
|
2386
2932
|
*/
|
|
2387
2933
|
reference: string | null;
|
|
2388
2934
|
|
|
2935
|
+
/**
|
|
2936
|
+
* 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.
|
|
2937
|
+
*/
|
|
2938
|
+
reference_id?: string | null;
|
|
2939
|
+
|
|
2389
2940
|
/**
|
|
2390
2941
|
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
2391
2942
|
*
|
|
@@ -2396,9 +2947,151 @@ declare module 'stripe' {
|
|
|
2396
2947
|
* 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).
|
|
2397
2948
|
*/
|
|
2398
2949
|
setup_future_usage?: Paypal.SetupFutureUsage;
|
|
2950
|
+
|
|
2951
|
+
/**
|
|
2952
|
+
* 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.
|
|
2953
|
+
*/
|
|
2954
|
+
subsellers?: Array<string>;
|
|
2399
2955
|
}
|
|
2400
2956
|
|
|
2401
2957
|
namespace Paypal {
|
|
2958
|
+
interface LineItem {
|
|
2959
|
+
/**
|
|
2960
|
+
* Type of the line item.
|
|
2961
|
+
*/
|
|
2962
|
+
category?: LineItem.Category;
|
|
2963
|
+
|
|
2964
|
+
/**
|
|
2965
|
+
* Description of the line item.
|
|
2966
|
+
*/
|
|
2967
|
+
description?: string;
|
|
2968
|
+
|
|
2969
|
+
/**
|
|
2970
|
+
* Descriptive name of the line item.
|
|
2971
|
+
*/
|
|
2972
|
+
name: string;
|
|
2973
|
+
|
|
2974
|
+
/**
|
|
2975
|
+
* Quantity of the line item. Cannot be a negative number.
|
|
2976
|
+
*/
|
|
2977
|
+
quantity: number;
|
|
2978
|
+
|
|
2979
|
+
/**
|
|
2980
|
+
* Client facing stock keeping unit, article number or similar.
|
|
2981
|
+
*/
|
|
2982
|
+
sku?: string;
|
|
2983
|
+
|
|
2984
|
+
/**
|
|
2985
|
+
* 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).
|
|
2986
|
+
*/
|
|
2987
|
+
sold_by?: string;
|
|
2988
|
+
|
|
2989
|
+
tax?: LineItem.Tax;
|
|
2990
|
+
|
|
2991
|
+
/**
|
|
2992
|
+
* Price for a single unit of the line item in minor units. Cannot be a negative number.
|
|
2993
|
+
*/
|
|
2994
|
+
unit_amount: number;
|
|
2995
|
+
}
|
|
2996
|
+
|
|
2997
|
+
namespace LineItem {
|
|
2998
|
+
type Category = 'digital_goods' | 'donation' | 'physical_goods';
|
|
2999
|
+
|
|
3000
|
+
interface Tax {
|
|
3001
|
+
/**
|
|
3002
|
+
* The tax for a single unit of the line item in minor units. Cannot be a negative number.
|
|
3003
|
+
*/
|
|
3004
|
+
amount: number;
|
|
3005
|
+
|
|
3006
|
+
/**
|
|
3007
|
+
* The tax behavior for the line item.
|
|
3008
|
+
*/
|
|
3009
|
+
behavior: Tax.Behavior;
|
|
3010
|
+
}
|
|
3011
|
+
|
|
3012
|
+
namespace Tax {
|
|
3013
|
+
type Behavior = 'exclusive' | 'inclusive';
|
|
3014
|
+
}
|
|
3015
|
+
}
|
|
3016
|
+
|
|
3017
|
+
type SetupFutureUsage = 'none' | 'off_session';
|
|
3018
|
+
}
|
|
3019
|
+
|
|
3020
|
+
interface Payto {
|
|
3021
|
+
mandate_options?: Payto.MandateOptions;
|
|
3022
|
+
|
|
3023
|
+
/**
|
|
3024
|
+
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
3025
|
+
*
|
|
3026
|
+
* 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.
|
|
3027
|
+
*
|
|
3028
|
+
* 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.
|
|
3029
|
+
*
|
|
3030
|
+
* 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).
|
|
3031
|
+
*/
|
|
3032
|
+
setup_future_usage?: Payto.SetupFutureUsage;
|
|
3033
|
+
}
|
|
3034
|
+
|
|
3035
|
+
namespace Payto {
|
|
3036
|
+
interface MandateOptions {
|
|
3037
|
+
/**
|
|
3038
|
+
* Amount that will be collected. It is required when `amount_type` is `fixed`.
|
|
3039
|
+
*/
|
|
3040
|
+
amount: number | null;
|
|
3041
|
+
|
|
3042
|
+
/**
|
|
3043
|
+
* 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.
|
|
3044
|
+
*/
|
|
3045
|
+
amount_type: MandateOptions.AmountType | null;
|
|
3046
|
+
|
|
3047
|
+
/**
|
|
3048
|
+
* Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
|
|
3049
|
+
*/
|
|
3050
|
+
end_date: string | null;
|
|
3051
|
+
|
|
3052
|
+
/**
|
|
3053
|
+
* The periodicity at which payments will be collected.
|
|
3054
|
+
*/
|
|
3055
|
+
payment_schedule: MandateOptions.PaymentSchedule | null;
|
|
3056
|
+
|
|
3057
|
+
/**
|
|
3058
|
+
* 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.
|
|
3059
|
+
*/
|
|
3060
|
+
payments_per_period: number | null;
|
|
3061
|
+
|
|
3062
|
+
/**
|
|
3063
|
+
* The purpose for which payments are made. Defaults to retail.
|
|
3064
|
+
*/
|
|
3065
|
+
purpose: MandateOptions.Purpose | null;
|
|
3066
|
+
}
|
|
3067
|
+
|
|
3068
|
+
namespace MandateOptions {
|
|
3069
|
+
type AmountType = 'fixed' | 'maximum';
|
|
3070
|
+
|
|
3071
|
+
type PaymentSchedule =
|
|
3072
|
+
| 'adhoc'
|
|
3073
|
+
| 'annual'
|
|
3074
|
+
| 'daily'
|
|
3075
|
+
| 'fortnightly'
|
|
3076
|
+
| 'monthly'
|
|
3077
|
+
| 'quarterly'
|
|
3078
|
+
| 'semi_annual'
|
|
3079
|
+
| 'weekly';
|
|
3080
|
+
|
|
3081
|
+
type Purpose =
|
|
3082
|
+
| 'dependant_support'
|
|
3083
|
+
| 'government'
|
|
3084
|
+
| 'loan'
|
|
3085
|
+
| 'mortgage'
|
|
3086
|
+
| 'other'
|
|
3087
|
+
| 'pension'
|
|
3088
|
+
| 'personal'
|
|
3089
|
+
| 'retail'
|
|
3090
|
+
| 'salary'
|
|
3091
|
+
| 'tax'
|
|
3092
|
+
| 'utility';
|
|
3093
|
+
}
|
|
3094
|
+
|
|
2402
3095
|
type SetupFutureUsage = 'none' | 'off_session';
|
|
2403
3096
|
}
|
|
2404
3097
|
|
|
@@ -2438,6 +3131,21 @@ declare module 'stripe' {
|
|
|
2438
3131
|
setup_future_usage?: 'none';
|
|
2439
3132
|
}
|
|
2440
3133
|
|
|
3134
|
+
interface Qris {
|
|
3135
|
+
/**
|
|
3136
|
+
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
3137
|
+
*
|
|
3138
|
+
* 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.
|
|
3139
|
+
*
|
|
3140
|
+
* 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.
|
|
3141
|
+
*
|
|
3142
|
+
* 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).
|
|
3143
|
+
*/
|
|
3144
|
+
setup_future_usage?: 'none';
|
|
3145
|
+
}
|
|
3146
|
+
|
|
3147
|
+
interface Rechnung {}
|
|
3148
|
+
|
|
2441
3149
|
interface RevolutPay {
|
|
2442
3150
|
/**
|
|
2443
3151
|
* Controls when the funds will be captured from the customer's account.
|
|
@@ -2505,6 +3213,19 @@ declare module 'stripe' {
|
|
|
2505
3213
|
type SetupFutureUsage = 'none' | 'off_session' | 'on_session';
|
|
2506
3214
|
}
|
|
2507
3215
|
|
|
3216
|
+
interface Shopeepay {
|
|
3217
|
+
/**
|
|
3218
|
+
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
3219
|
+
*
|
|
3220
|
+
* 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.
|
|
3221
|
+
*
|
|
3222
|
+
* 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.
|
|
3223
|
+
*
|
|
3224
|
+
* 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).
|
|
3225
|
+
*/
|
|
3226
|
+
setup_future_usage?: 'none';
|
|
3227
|
+
}
|
|
3228
|
+
|
|
2508
3229
|
interface Sofort {
|
|
2509
3230
|
/**
|
|
2510
3231
|
* Preferred language of the SOFORT authorization page that the customer is redirected to.
|
|
@@ -2536,6 +3257,23 @@ declare module 'stripe' {
|
|
|
2536
3257
|
type SetupFutureUsage = 'none' | 'off_session';
|
|
2537
3258
|
}
|
|
2538
3259
|
|
|
3260
|
+
interface StripeBalance {
|
|
3261
|
+
/**
|
|
3262
|
+
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
|
|
3263
|
+
*
|
|
3264
|
+
* 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.
|
|
3265
|
+
*
|
|
3266
|
+
* 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.
|
|
3267
|
+
*
|
|
3268
|
+
* 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).
|
|
3269
|
+
*/
|
|
3270
|
+
setup_future_usage?: StripeBalance.SetupFutureUsage;
|
|
3271
|
+
}
|
|
3272
|
+
|
|
3273
|
+
namespace StripeBalance {
|
|
3274
|
+
type SetupFutureUsage = 'none' | 'off_session';
|
|
3275
|
+
}
|
|
3276
|
+
|
|
2539
3277
|
interface Swish {
|
|
2540
3278
|
/**
|
|
2541
3279
|
* A reference for this payment to be displayed in the Swish app.
|
|
@@ -2603,6 +3341,8 @@ declare module 'stripe' {
|
|
|
2603
3341
|
interface FinancialConnections {
|
|
2604
3342
|
filters?: FinancialConnections.Filters;
|
|
2605
3343
|
|
|
3344
|
+
manual_entry?: FinancialConnections.ManualEntry;
|
|
3345
|
+
|
|
2606
3346
|
/**
|
|
2607
3347
|
* The list of permissions to request. The `payment_method` permission must be included.
|
|
2608
3348
|
*/
|
|
@@ -2625,19 +3365,39 @@ declare module 'stripe' {
|
|
|
2625
3365
|
* The account subcategories to use to filter for possible accounts to link. Valid subcategories are `checking` and `savings`.
|
|
2626
3366
|
*/
|
|
2627
3367
|
account_subcategories?: Array<Filters.AccountSubcategory>;
|
|
3368
|
+
|
|
3369
|
+
/**
|
|
3370
|
+
* The institution to use to filter for possible accounts to link.
|
|
3371
|
+
*/
|
|
3372
|
+
institution?: string;
|
|
2628
3373
|
}
|
|
2629
3374
|
|
|
2630
3375
|
namespace Filters {
|
|
2631
3376
|
type AccountSubcategory = 'checking' | 'savings';
|
|
2632
3377
|
}
|
|
2633
3378
|
|
|
3379
|
+
interface ManualEntry {
|
|
3380
|
+
/**
|
|
3381
|
+
* Settings for configuring manual entry of account details.
|
|
3382
|
+
*/
|
|
3383
|
+
mode?: ManualEntry.Mode;
|
|
3384
|
+
}
|
|
3385
|
+
|
|
3386
|
+
namespace ManualEntry {
|
|
3387
|
+
type Mode = 'automatic' | 'custom';
|
|
3388
|
+
}
|
|
3389
|
+
|
|
2634
3390
|
type Permission =
|
|
2635
3391
|
| 'balances'
|
|
2636
3392
|
| 'ownership'
|
|
2637
3393
|
| 'payment_method'
|
|
2638
3394
|
| 'transactions';
|
|
2639
3395
|
|
|
2640
|
-
type Prefetch =
|
|
3396
|
+
type Prefetch =
|
|
3397
|
+
| 'balances'
|
|
3398
|
+
| 'inferred_balances'
|
|
3399
|
+
| 'ownership'
|
|
3400
|
+
| 'transactions';
|
|
2641
3401
|
}
|
|
2642
3402
|
|
|
2643
3403
|
interface MandateOptions {
|
|
@@ -2736,6 +3496,8 @@ declare module 'stripe' {
|
|
|
2736
3496
|
}
|
|
2737
3497
|
}
|
|
2738
3498
|
|
|
3499
|
+
type SecretKeyConfirmation = 'optional' | 'required';
|
|
3500
|
+
|
|
2739
3501
|
type SetupFutureUsage = 'off_session' | 'on_session';
|
|
2740
3502
|
|
|
2741
3503
|
interface Shipping {
|