stripe 20.1.0-alpha.4 → 20.2.0-alpha.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 +39 -0
- package/OPENAPI_VERSION +1 -1
- package/VERSION +1 -1
- package/cjs/Error.js +9 -1
- package/cjs/apiVersion.js +1 -1
- package/cjs/resources/SharedPayment/GrantedTokens.js +12 -0
- package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js +16 -0
- package/cjs/resources/V2/Iam/ApiKeys.js +24 -0
- package/cjs/resources/V2/Payments/SettlementAllocationIntents/Splits.js +20 -0
- package/cjs/resources/V2/Payments/SettlementAllocationIntents.js +33 -0
- package/cjs/resources/V2/Tax/ManualRules.js +23 -0
- package/cjs/resources.js +15 -1
- package/cjs/stripe.core.js +1 -1
- package/esm/Error.js +7 -0
- package/esm/apiVersion.js +1 -1
- package/esm/resources/SharedPayment/GrantedTokens.js +9 -0
- package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js +13 -0
- package/esm/resources/V2/Iam/ApiKeys.js +21 -0
- package/esm/resources/V2/Payments/SettlementAllocationIntents/Splits.js +17 -0
- package/esm/resources/V2/Payments/SettlementAllocationIntents.js +30 -0
- package/esm/resources/V2/Tax/ManualRules.js +20 -0
- package/esm/resources.js +14 -0
- package/esm/stripe.core.js +1 -1
- package/package.json +1 -1
- package/types/AccountLinks.d.ts +1 -1
- package/types/AccountNotices.d.ts +6 -6
- package/types/AccountNoticesResource.d.ts +1 -1
- package/types/AccountSessions.d.ts +7 -7
- package/types/AccountSessionsResource.d.ts +21 -0
- package/types/Accounts.d.ts +25 -25
- package/types/AccountsResource.d.ts +107 -63
- package/types/ApplicationFeesResource.d.ts +2 -2
- package/types/Apps/Secrets.d.ts +1 -1
- package/types/Balance.d.ts +2 -2
- package/types/BalanceSettings.d.ts +1 -1
- package/types/BalanceTransactions.d.ts +1 -1
- package/types/BalanceTransfers.d.ts +3 -3
- package/types/BalanceTransfersResource.d.ts +1 -1
- package/types/BankAccounts.d.ts +10 -10
- package/types/Billing/Alerts.d.ts +2 -2
- package/types/Billing/CreditBalanceSummary.d.ts +3 -3
- package/types/Billing/CreditBalanceSummaryResource.d.ts +2 -2
- package/types/Billing/CreditBalanceTransactions.d.ts +2 -2
- package/types/Billing/CreditBalanceTransactionsResource.d.ts +2 -2
- package/types/Billing/CreditGrants.d.ts +4 -4
- package/types/Billing/CreditGrantsResource.d.ts +3 -3
- package/types/Billing/MeterEvents.d.ts +1 -1
- package/types/Billing/MeterEventsResource.d.ts +1 -1
- package/types/BillingPortal/Configurations.d.ts +10 -3
- package/types/BillingPortal/ConfigurationsResource.d.ts +20 -6
- package/types/BillingPortal/Sessions.d.ts +7 -7
- package/types/BillingPortal/SessionsResource.d.ts +7 -7
- package/types/Capabilities.d.ts +16 -16
- package/types/Capital/FinancingOffers.d.ts +2 -2
- package/types/Capital/FinancingSummary.d.ts +7 -4
- package/types/Capital/FinancingSummaryResource.d.ts +1 -1
- package/types/Cards.d.ts +2 -2
- package/types/CashBalances.d.ts +3 -3
- package/types/Charges.d.ts +59 -27
- package/types/ChargesResource.d.ts +22 -22
- package/types/Checkout/Sessions.d.ts +18 -18
- package/types/Checkout/SessionsResource.d.ts +90 -60
- package/types/Climate/Orders.d.ts +1 -1
- package/types/Climate/OrdersResource.d.ts +2 -2
- package/types/ConfirmationTokens.d.ts +8 -6
- package/types/Coupons.d.ts +3 -3
- package/types/CouponsResource.d.ts +2 -2
- package/types/CreditNoteLineItems.d.ts +3 -0
- package/types/CreditNotes.d.ts +8 -5
- package/types/CreditNotesResource.d.ts +5 -5
- package/types/CustomerBalanceTransactions.d.ts +9 -6
- package/types/CustomerCashBalanceTransactions.d.ts +13 -10
- package/types/CustomerSessions.d.ts +1 -1
- package/types/Customers.d.ts +8 -5
- package/types/CustomersResource.d.ts +21 -16
- package/types/DelegatedCheckout/RequestedSessions.d.ts +83 -17
- package/types/DelegatedCheckout/RequestedSessionsResource.d.ts +102 -0
- package/types/Discounts.d.ts +6 -6
- package/types/Disputes.d.ts +3 -3
- package/types/DisputesResource.d.ts +1 -1
- package/types/Entitlements/ActiveEntitlements.d.ts +1 -1
- package/types/Errors.d.ts +6 -0
- package/types/Events.d.ts +1 -1
- package/types/ExchangeRates.d.ts +2 -2
- package/types/ExternalAccountsResource.d.ts +4 -4
- package/types/FeeRefunds.d.ts +2 -2
- package/types/FileLinks.d.ts +1 -1
- package/types/FileLinksResource.d.ts +2 -2
- package/types/Files.d.ts +4 -4
- package/types/FilesResource.d.ts +3 -3
- package/types/FinancialConnections/Accounts.d.ts +3 -3
- package/types/FinancialConnections/AccountsResource.d.ts +3 -3
- package/types/FinancialConnections/Sessions.d.ts +2 -2
- package/types/FinancialConnections/SessionsResource.d.ts +3 -3
- package/types/Forwarding/Requests.d.ts +1 -1
- package/types/Forwarding/RequestsResource.d.ts +1 -1
- package/types/FundingInstructions.d.ts +2 -2
- package/types/Identity/BlocklistEntries.d.ts +1 -1
- package/types/Identity/VerificationReports.d.ts +8 -8
- package/types/Identity/VerificationSessions.d.ts +11 -11
- package/types/Identity/VerificationSessionsResource.d.ts +18 -12
- package/types/InvoiceItems.d.ts +12 -12
- package/types/InvoiceItemsResource.d.ts +16 -16
- package/types/InvoiceLineItems.d.ts +11 -8
- package/types/InvoicePayments.d.ts +1 -1
- package/types/InvoiceRenderingTemplates.d.ts +1 -1
- package/types/Invoices.d.ts +83 -33
- package/types/InvoicesResource.d.ts +237 -111
- package/types/Issuing/Authorizations.d.ts +20 -20
- package/types/Issuing/AuthorizationsResource.d.ts +4 -4
- package/types/Issuing/Cardholders.d.ts +13 -13
- package/types/Issuing/CardholdersResource.d.ts +21 -21
- package/types/Issuing/Cards.d.ts +20 -10
- package/types/Issuing/CardsResource.d.ts +46 -13
- package/types/Issuing/CreditUnderwritingRecords.d.ts +5 -5
- package/types/Issuing/CreditUnderwritingRecordsResource.d.ts +15 -15
- package/types/Issuing/Disputes.d.ts +7 -7
- package/types/Issuing/DisputesResource.d.ts +5 -5
- package/types/Issuing/FraudLiabilityDebits.d.ts +1 -1
- package/types/Issuing/PersonalizationDesigns.d.ts +1 -1
- package/types/Issuing/PersonalizationDesignsResource.d.ts +2 -2
- package/types/Issuing/Programs.d.ts +1 -1
- package/types/Issuing/ProgramsResource.d.ts +1 -1
- package/types/Issuing/Settlements.d.ts +2 -2
- package/types/Issuing/Tokens.d.ts +1 -1
- package/types/Issuing/Transactions.d.ts +13 -13
- package/types/Issuing/TransactionsResource.d.ts +1 -1
- package/types/LineItems.d.ts +3 -3
- package/types/LoginLinks.d.ts +1 -1
- package/types/MandatesResource.d.ts +1 -1
- package/types/Margins.d.ts +1 -1
- package/types/MarginsResource.d.ts +2 -2
- package/types/Orders.d.ts +11 -11
- package/types/OrdersResource.d.ts +24 -24
- package/types/PaymentAttemptRecords.d.ts +119 -18
- package/types/PaymentIntentAmountDetailsLineItems.d.ts +3 -3
- package/types/PaymentIntents.d.ts +72 -44
- package/types/PaymentIntentsResource.d.ts +172 -159
- package/types/PaymentLinks.d.ts +7 -7
- package/types/PaymentLinksResource.d.ts +42 -28
- package/types/PaymentMethodConfigurations.d.ts +4 -4
- package/types/PaymentMethodConfigurationsResource.d.ts +80 -80
- package/types/PaymentMethodDomains.d.ts +1 -1
- package/types/PaymentMethods.d.ts +10 -8
- package/types/PaymentMethodsResource.d.ts +7 -6
- package/types/PaymentRecords.d.ts +126 -18
- package/types/PaymentRecordsResource.d.ts +7 -7
- package/types/Payouts.d.ts +7 -7
- package/types/PayoutsResource.d.ts +3 -3
- package/types/Persons.d.ts +21 -21
- package/types/Plans.d.ts +5 -5
- package/types/PlansResource.d.ts +6 -6
- package/types/Prices.d.ts +6 -6
- package/types/PricesResource.d.ts +10 -10
- package/types/ProductCatalog/TrialOffers.d.ts +1 -1
- package/types/Products.d.ts +10 -10
- package/types/ProductsResource.d.ts +38 -14
- package/types/PromotionCodes.d.ts +5 -5
- package/types/PromotionCodesResource.d.ts +5 -5
- package/types/QuoteLines.d.ts +3 -3
- package/types/QuotePreviewInvoices.d.ts +81 -31
- package/types/QuotePreviewSubscriptionSchedules.d.ts +18 -18
- package/types/Quotes.d.ts +16 -16
- package/types/QuotesResource.d.ts +30 -30
- package/types/Radar/EarlyFraudWarnings.d.ts +1 -1
- package/types/Radar/ValueListItems.d.ts +1 -1
- package/types/Radar/ValueLists.d.ts +2 -2
- package/types/Radar/ValueListsResource.d.ts +2 -2
- package/types/Refunds.d.ts +3 -3
- package/types/RefundsResource.d.ts +3 -3
- package/types/Reporting/ReportRuns.d.ts +3 -3
- package/types/Reporting/ReportRunsResource.d.ts +2 -2
- package/types/Reporting/ReportTypes.d.ts +3 -3
- package/types/Reviews.d.ts +1 -1
- package/types/SetupAttempts.d.ts +21 -18
- package/types/SetupIntents.d.ts +20 -19
- package/types/SetupIntentsResource.d.ts +47 -44
- package/types/SharedPayment/GrantedTokens.d.ts +102 -0
- package/types/SharedPayment/GrantedTokensResource.d.ts +29 -0
- package/types/ShippingRates.d.ts +3 -3
- package/types/ShippingRatesResource.d.ts +3 -3
- package/types/Sigma/ScheduledQueryRuns.d.ts +1 -1
- package/types/SourceMandateNotifications.d.ts +3 -3
- package/types/Sources.d.ts +5 -5
- package/types/SourcesResource.d.ts +2 -2
- package/types/SubscriptionItems.d.ts +7 -7
- package/types/SubscriptionItemsResource.d.ts +22 -22
- package/types/SubscriptionSchedules.d.ts +19 -19
- package/types/SubscriptionSchedulesResource.d.ts +61 -61
- package/types/Subscriptions.d.ts +61 -15
- package/types/SubscriptionsResource.d.ts +142 -58
- package/types/Tax/Associations.d.ts +3 -3
- package/types/Tax/AssociationsResource.d.ts +1 -1
- package/types/Tax/CalculationLineItems.d.ts +7 -7
- package/types/Tax/Calculations.d.ts +12 -12
- package/types/Tax/CalculationsResource.d.ts +7 -7
- package/types/Tax/Registrations.d.ts +3 -3
- package/types/Tax/Settings.d.ts +1 -1
- package/types/Tax/SettingsResource.d.ts +1 -1
- package/types/Tax/TransactionLineItems.d.ts +5 -5
- package/types/Tax/Transactions.d.ts +9 -9
- package/types/Tax/TransactionsResource.d.ts +10 -10
- package/types/TaxIds.d.ts +6 -6
- package/types/TaxIdsResource.d.ts +4 -4
- package/types/TaxRates.d.ts +1 -1
- package/types/TaxRatesResource.d.ts +2 -2
- package/types/Terminal/ConnectionTokens.d.ts +1 -1
- package/types/Terminal/Locations.d.ts +2 -2
- package/types/Terminal/LocationsResource.d.ts +3 -3
- package/types/Terminal/Readers.d.ts +10 -10
- package/types/Terminal/ReadersResource.d.ts +7 -7
- package/types/TestHelpers/ConfirmationTokensResource.d.ts +5 -4
- package/types/TestHelpers/CustomersResource.d.ts +2 -2
- package/types/TestHelpers/Issuing/AuthorizationsResource.d.ts +10 -10
- package/types/TestHelpers/Issuing/TransactionsResource.d.ts +5 -5
- package/types/TestHelpers/SharedPayment/GrantedTokensResource.d.ts +87 -0
- package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +1 -1
- package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +1 -1
- package/types/Tokens.d.ts +4 -4
- package/types/TokensResource.d.ts +17 -17
- package/types/Topups.d.ts +3 -3
- package/types/TopupsResource.d.ts +3 -3
- package/types/TransferReversals.d.ts +4 -4
- package/types/Transfers.d.ts +5 -5
- package/types/TransfersResource.d.ts +6 -6
- package/types/Treasury/CreditReversals.d.ts +3 -3
- package/types/Treasury/CreditReversalsResource.d.ts +1 -1
- package/types/Treasury/DebitReversals.d.ts +3 -3
- package/types/Treasury/DebitReversalsResource.d.ts +1 -1
- package/types/Treasury/FinancialAccounts.d.ts +1 -1
- package/types/Treasury/FinancialAccountsResource.d.ts +2 -2
- package/types/Treasury/InboundTransfers.d.ts +4 -4
- package/types/Treasury/InboundTransfersResource.d.ts +2 -2
- package/types/Treasury/OutboundPayments.d.ts +5 -5
- package/types/Treasury/OutboundPaymentsResource.d.ts +4 -4
- package/types/Treasury/OutboundTransfers.d.ts +4 -4
- package/types/Treasury/OutboundTransfersResource.d.ts +3 -3
- package/types/Treasury/ReceivedCredits.d.ts +9 -9
- package/types/Treasury/ReceivedDebits.d.ts +6 -6
- package/types/Treasury/TransactionEntries.d.ts +11 -11
- package/types/Treasury/Transactions.d.ts +11 -11
- package/types/V2/Billing/IntentActions.d.ts +141 -36
- package/types/V2/Billing/IntentsResource.d.ts +141 -42
- package/types/V2/Core/AccountLinks.d.ts +11 -11
- package/types/V2/Core/AccountLinksResource.d.ts +6 -6
- package/types/V2/Core/AccountPersons.d.ts +55 -10
- package/types/V2/Core/AccountTokensResource.d.ts +99 -10
- package/types/V2/Core/Accounts/PersonTokensResource.d.ts +48 -3
- package/types/V2/Core/Accounts/PersonsResource.d.ts +101 -11
- package/types/V2/Core/Accounts.d.ts +298 -509
- package/types/V2/Core/AccountsResource.d.ts +256 -51
- package/types/V2/Core/ClaimableSandboxesResource.d.ts +1 -1
- package/types/V2/Core/EventTypes.d.ts +601 -0
- package/types/V2/Core/Vault/GbBankAccounts.d.ts +21 -0
- package/types/V2/Core/Vault/UsBankAccounts.d.ts +26 -0
- package/types/V2/Iam/ApiKeys.d.ts +154 -0
- package/types/V2/Iam/ApiKeysResource.d.ts +215 -0
- package/types/V2/MoneyManagement/FinancialAccounts.d.ts +31 -1
- package/types/V2/MoneyManagement/FinancialAccountsResource.d.ts +7 -0
- package/types/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +8 -0
- package/types/V2/MoneyManagement/OutboundPaymentQuotesResource.d.ts +7 -0
- package/types/V2/MoneyManagement/OutboundPayments.d.ts +7 -0
- package/types/V2/MoneyManagement/OutboundPaymentsResource.d.ts +7 -0
- package/types/V2/MoneyManagement/OutboundSetupIntentsResource.d.ts +2 -0
- package/types/V2/MoneyManagement/PayoutMethods.d.ts +26 -0
- package/types/V2/MoneyManagement/PayoutMethodsResource.d.ts +2 -0
- package/types/V2/MoneyManagement/ReceivedCredits.d.ts +10 -1
- package/types/V2/Payments/SettlementAllocationIntentSplits.d.ts +111 -0
- package/types/V2/Payments/SettlementAllocationIntents/SplitsResource.d.ts +126 -0
- package/types/V2/Payments/SettlementAllocationIntents.d.ts +122 -0
- package/types/V2/Payments/SettlementAllocationIntentsResource.d.ts +168 -0
- package/types/V2/Tax/ManualRules.d.ts +142 -0
- package/types/V2/Tax/ManualRulesResource.d.ts +292 -0
- package/types/WebhookEndpoints.d.ts +1 -1
- package/types/WebhookEndpointsResource.d.ts +4 -3
- package/types/apiVersion.d.ts +1 -1
- package/types/index.d.ts +24 -0
package/types/Capabilities.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ declare module 'stripe' {
|
|
|
5
5
|
/**
|
|
6
6
|
* This is an object representing a capability for a Stripe account.
|
|
7
7
|
*
|
|
8
|
-
* Related guide: [Account capabilities](https://stripe.com/
|
|
8
|
+
* Related guide: [Account capabilities](https://docs.stripe.com/connect/account-capabilities)
|
|
9
9
|
*/
|
|
10
10
|
interface Capability {
|
|
11
11
|
/**
|
|
@@ -46,7 +46,7 @@ declare module 'stripe' {
|
|
|
46
46
|
namespace Capability {
|
|
47
47
|
interface FutureRequirements {
|
|
48
48
|
/**
|
|
49
|
-
* Fields that are due and can be
|
|
49
|
+
* Fields that are due and can be resolved by providing the corresponding alternative fields instead. Multiple alternatives can reference the same `original_fields_due`. When this happens, any of these alternatives can serve as a pathway for attempting to resolve the fields. Additionally, providing `original_fields_due` again also serves as a pathway for attempting to resolve the fields.
|
|
50
50
|
*/
|
|
51
51
|
alternatives: Array<FutureRequirements.Alternative> | null;
|
|
52
52
|
|
|
@@ -56,7 +56,7 @@ declare module 'stripe' {
|
|
|
56
56
|
current_deadline: number | null;
|
|
57
57
|
|
|
58
58
|
/**
|
|
59
|
-
* Fields that need to be
|
|
59
|
+
* Fields that need to be resolved to keep the capability enabled. If not resolved by `future_requirements[current_deadline]`, these fields will transition to the main `requirements` hash.
|
|
60
60
|
*/
|
|
61
61
|
currently_due: Array<string>;
|
|
62
62
|
|
|
@@ -66,7 +66,7 @@ declare module 'stripe' {
|
|
|
66
66
|
disabled_reason: FutureRequirements.DisabledReason | null;
|
|
67
67
|
|
|
68
68
|
/**
|
|
69
|
-
*
|
|
69
|
+
* Details about validation and verification failures for `due` requirements that must be resolved.
|
|
70
70
|
*/
|
|
71
71
|
errors: Array<FutureRequirements.Error>;
|
|
72
72
|
|
|
@@ -76,12 +76,12 @@ declare module 'stripe' {
|
|
|
76
76
|
eventually_due: Array<string>;
|
|
77
77
|
|
|
78
78
|
/**
|
|
79
|
-
* Fields that
|
|
79
|
+
* Fields that haven't been resolved by `requirements.current_deadline`. These fields need to be resolved to enable the capability on the account. `future_requirements.past_due` is a subset of `requirements.past_due`.
|
|
80
80
|
*/
|
|
81
81
|
past_due: Array<string>;
|
|
82
82
|
|
|
83
83
|
/**
|
|
84
|
-
* Fields that might become required depending on the results of
|
|
84
|
+
* Fields that are being reviewed, or might become required depending on the results of a review. If the review fails, these fields can move to `eventually_due`, `currently_due`, `past_due` or `alternatives`. Fields might appear in `eventually_due`, `currently_due`, `past_due` or `alternatives` and in `pending_verification` if one verification fails but another is still pending.
|
|
85
85
|
*/
|
|
86
86
|
pending_verification: Array<string>;
|
|
87
87
|
}
|
|
@@ -89,12 +89,12 @@ declare module 'stripe' {
|
|
|
89
89
|
namespace FutureRequirements {
|
|
90
90
|
interface Alternative {
|
|
91
91
|
/**
|
|
92
|
-
* Fields that can be provided to
|
|
92
|
+
* Fields that can be provided to resolve all fields in `original_fields_due`.
|
|
93
93
|
*/
|
|
94
94
|
alternative_fields_due: Array<string>;
|
|
95
95
|
|
|
96
96
|
/**
|
|
97
|
-
* Fields that are due and can be
|
|
97
|
+
* Fields that are due and can be resolved by providing all fields in `alternative_fields_due`.
|
|
98
98
|
*/
|
|
99
99
|
original_fields_due: Array<string>;
|
|
100
100
|
}
|
|
@@ -233,7 +233,7 @@ declare module 'stripe' {
|
|
|
233
233
|
|
|
234
234
|
interface Requirements {
|
|
235
235
|
/**
|
|
236
|
-
* Fields that are due and can be
|
|
236
|
+
* Fields that are due and can be resolved by providing the corresponding alternative fields instead. Multiple alternatives can reference the same `original_fields_due`. When this happens, any of these alternatives can serve as a pathway for attempting to resolve the fields. Additionally, providing `original_fields_due` again also serves as a pathway for attempting to resolve the fields.
|
|
237
237
|
*/
|
|
238
238
|
alternatives: Array<Requirements.Alternative> | null;
|
|
239
239
|
|
|
@@ -243,17 +243,17 @@ declare module 'stripe' {
|
|
|
243
243
|
current_deadline: number | null;
|
|
244
244
|
|
|
245
245
|
/**
|
|
246
|
-
* Fields that need to be
|
|
246
|
+
* Fields that need to be resolved to keep the capability enabled. If not resolved by `current_deadline`, these fields will appear in `past_due` as well, and the capability is disabled.
|
|
247
247
|
*/
|
|
248
248
|
currently_due: Array<string>;
|
|
249
249
|
|
|
250
250
|
/**
|
|
251
|
-
* Description of why the capability is disabled. [Learn more about handling verification issues](https://stripe.com/
|
|
251
|
+
* Description of why the capability is disabled. [Learn more about handling verification issues](https://docs.stripe.com/connect/handling-api-verification).
|
|
252
252
|
*/
|
|
253
253
|
disabled_reason: Requirements.DisabledReason | null;
|
|
254
254
|
|
|
255
255
|
/**
|
|
256
|
-
*
|
|
256
|
+
* Details about validation and verification failures for `due` requirements that must be resolved.
|
|
257
257
|
*/
|
|
258
258
|
errors: Array<Requirements.Error>;
|
|
259
259
|
|
|
@@ -263,12 +263,12 @@ declare module 'stripe' {
|
|
|
263
263
|
eventually_due: Array<string>;
|
|
264
264
|
|
|
265
265
|
/**
|
|
266
|
-
* Fields that
|
|
266
|
+
* Fields that haven't been resolved by `current_deadline`. These fields need to be resolved to enable the capability on the account.
|
|
267
267
|
*/
|
|
268
268
|
past_due: Array<string>;
|
|
269
269
|
|
|
270
270
|
/**
|
|
271
|
-
* Fields that might become required depending on the results of
|
|
271
|
+
* Fields that are being reviewed, or might become required depending on the results of a review. If the review fails, these fields can move to `eventually_due`, `currently_due`, `past_due` or `alternatives`. Fields might appear in `eventually_due`, `currently_due`, `past_due` or `alternatives` and in `pending_verification` if one verification fails but another is still pending.
|
|
272
272
|
*/
|
|
273
273
|
pending_verification: Array<string>;
|
|
274
274
|
}
|
|
@@ -276,12 +276,12 @@ declare module 'stripe' {
|
|
|
276
276
|
namespace Requirements {
|
|
277
277
|
interface Alternative {
|
|
278
278
|
/**
|
|
279
|
-
* Fields that can be provided to
|
|
279
|
+
* Fields that can be provided to resolve all fields in `original_fields_due`.
|
|
280
280
|
*/
|
|
281
281
|
alternative_fields_due: Array<string>;
|
|
282
282
|
|
|
283
283
|
/**
|
|
284
|
-
* Fields that are due and can be
|
|
284
|
+
* Fields that are due and can be resolved by providing all fields in `alternative_fields_due`.
|
|
285
285
|
*/
|
|
286
286
|
original_fields_due: Array<string>;
|
|
287
287
|
}
|
|
@@ -57,7 +57,7 @@ declare module 'stripe' {
|
|
|
57
57
|
livemode: boolean;
|
|
58
58
|
|
|
59
59
|
/**
|
|
60
|
-
* Set of [key-value pairs](https://stripe.com/
|
|
60
|
+
* Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
|
|
61
61
|
*/
|
|
62
62
|
metadata?: Stripe.Metadata;
|
|
63
63
|
|
|
@@ -89,7 +89,7 @@ declare module 'stripe' {
|
|
|
89
89
|
status: FinancingOffer.Status;
|
|
90
90
|
|
|
91
91
|
/**
|
|
92
|
-
* See [financing_type](https://stripe.com/
|
|
92
|
+
* See [financing_type](https://docs.stripe.com/api/capital/connect_financing_object#financing_offer_object-financing_type).
|
|
93
93
|
*/
|
|
94
94
|
type?: FinancingOffer.Type;
|
|
95
95
|
}
|
|
@@ -4,8 +4,9 @@ declare module 'stripe' {
|
|
|
4
4
|
namespace Stripe {
|
|
5
5
|
namespace Capital {
|
|
6
6
|
/**
|
|
7
|
-
* A financing object describes
|
|
8
|
-
*
|
|
7
|
+
* A financing summary object describes a connected account's financing status in real time.
|
|
8
|
+
* A financing status is either `accepted`, `delivered`, or `none`.
|
|
9
|
+
* You can read the status of your connected accounts.
|
|
9
10
|
*/
|
|
10
11
|
interface FinancingSummary {
|
|
11
12
|
/**
|
|
@@ -17,16 +18,18 @@ declare module 'stripe' {
|
|
|
17
18
|
* Additional information about the financing summary. Describes currency, advance amount,
|
|
18
19
|
* fee amount, withhold rate, remaining amount, paid amount, current repayment interval,
|
|
19
20
|
* repayment start date, and advance payout date.
|
|
21
|
+
*
|
|
22
|
+
* Only present for financing offers with the `paid_out` status.
|
|
20
23
|
*/
|
|
21
24
|
details: FinancingSummary.Details | null;
|
|
22
25
|
|
|
23
26
|
/**
|
|
24
|
-
* The Financing Offer
|
|
27
|
+
* The unique identifier of the Financing Offer object that corresponds to the Financing Summary object.
|
|
25
28
|
*/
|
|
26
29
|
financing_offer: string | null;
|
|
27
30
|
|
|
28
31
|
/**
|
|
29
|
-
*
|
|
32
|
+
* The financing status of the connected account.
|
|
30
33
|
*/
|
|
31
34
|
status: FinancingSummary.Status | null;
|
|
32
35
|
}
|
|
@@ -12,7 +12,7 @@ declare module 'stripe' {
|
|
|
12
12
|
|
|
13
13
|
class FinancingSummaryResource {
|
|
14
14
|
/**
|
|
15
|
-
* Retrieve the financing
|
|
15
|
+
* Retrieve the financing summary object for the account.
|
|
16
16
|
*/
|
|
17
17
|
retrieve(
|
|
18
18
|
params?: FinancingSummaryRetrieveParams,
|
package/types/Cards.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ declare module 'stripe' {
|
|
|
7
7
|
* later. You can also store multiple debit cards on a recipient in order to
|
|
8
8
|
* transfer to those cards later.
|
|
9
9
|
*
|
|
10
|
-
* Related guide: [Card payments with Sources](https://stripe.com/
|
|
10
|
+
* Related guide: [Card payments with Sources](https://docs.stripe.com/sources/cards)
|
|
11
11
|
*/
|
|
12
12
|
interface Card {
|
|
13
13
|
/**
|
|
@@ -162,7 +162,7 @@ declare module 'stripe' {
|
|
|
162
162
|
last4: string;
|
|
163
163
|
|
|
164
164
|
/**
|
|
165
|
-
* Set of [key-value pairs](https://stripe.com/
|
|
165
|
+
* Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
|
|
166
166
|
*/
|
|
167
167
|
metadata: Stripe.Metadata | null;
|
|
168
168
|
|
package/types/CashBalances.d.ts
CHANGED
|
@@ -12,7 +12,7 @@ declare module 'stripe' {
|
|
|
12
12
|
object: 'cash_balance';
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
|
-
* A hash of all cash balances available to this customer. You cannot delete a customer with any cash balances, even if the balance is 0. Amounts are represented in the [smallest currency unit](https://stripe.com/
|
|
15
|
+
* A hash of all cash balances available to this customer. You cannot delete a customer with any cash balances, even if the balance is 0. Amounts are represented in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal).
|
|
16
16
|
*/
|
|
17
17
|
available: {
|
|
18
18
|
[key: string]: number;
|
|
@@ -24,9 +24,9 @@ declare module 'stripe' {
|
|
|
24
24
|
customer: string;
|
|
25
25
|
|
|
26
26
|
/**
|
|
27
|
-
* The ID of
|
|
27
|
+
* The ID of an Account representing a customer whose cash balance this object represents.
|
|
28
28
|
*/
|
|
29
|
-
customer_account
|
|
29
|
+
customer_account: string | null;
|
|
30
30
|
|
|
31
31
|
/**
|
|
32
32
|
* Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
package/types/Charges.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ declare module 'stripe' {
|
|
|
4
4
|
namespace Stripe {
|
|
5
5
|
/**
|
|
6
6
|
* The `Charge` object represents a single attempt to move money into your Stripe account.
|
|
7
|
-
* PaymentIntent confirmation is the most common way to create Charges, but [Account Debits](https://stripe.com/
|
|
7
|
+
* PaymentIntent confirmation is the most common way to create Charges, but [Account Debits](https://docs.stripe.com/connect/account-debits) may also create Charges.
|
|
8
8
|
* Some legacy payment flows create Charges directly, which is not recommended for new integrations.
|
|
9
9
|
*/
|
|
10
10
|
interface Charge {
|
|
@@ -24,7 +24,7 @@ declare module 'stripe' {
|
|
|
24
24
|
allocated_funds?: Stripe.TransitBalance;
|
|
25
25
|
|
|
26
26
|
/**
|
|
27
|
-
* Amount intended to be collected by this payment. A positive integer representing how much to charge in the [smallest currency unit](https://stripe.com/
|
|
27
|
+
* Amount intended to be collected by this payment. A positive integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal) (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The minimum amount is $0.50 US or [equivalent in charge currency](https://docs.stripe.com/currencies#minimum-and-maximum-charge-amounts). The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99).
|
|
28
28
|
*/
|
|
29
29
|
amount: number;
|
|
30
30
|
|
|
@@ -44,12 +44,12 @@ declare module 'stripe' {
|
|
|
44
44
|
application: string | Stripe.Application | null;
|
|
45
45
|
|
|
46
46
|
/**
|
|
47
|
-
* The application fee (if any) for the charge. [See the Connect documentation](https://stripe.com/
|
|
47
|
+
* The application fee (if any) for the charge. [See the Connect documentation](https://docs.stripe.com/connect/direct-charges#collect-fees) for details.
|
|
48
48
|
*/
|
|
49
49
|
application_fee: string | Stripe.ApplicationFee | null;
|
|
50
50
|
|
|
51
51
|
/**
|
|
52
|
-
* The amount of the application fee (if any) requested for the charge. [See the Connect documentation](https://stripe.com/
|
|
52
|
+
* The amount of the application fee (if any) requested for the charge. [See the Connect documentation](https://docs.stripe.com/connect/direct-charges#collect-fees) for details.
|
|
53
53
|
*/
|
|
54
54
|
application_fee_amount: number | null;
|
|
55
55
|
|
|
@@ -106,7 +106,7 @@ declare module 'stripe' {
|
|
|
106
106
|
failure_balance_transaction: string | Stripe.BalanceTransaction | null;
|
|
107
107
|
|
|
108
108
|
/**
|
|
109
|
-
* Error code explaining reason for charge failure if available (see [the errors section](https://stripe.com/
|
|
109
|
+
* Error code explaining reason for charge failure if available (see [the errors section](https://docs.stripe.com/error-codes) for a list of codes).
|
|
110
110
|
*/
|
|
111
111
|
failure_code: string | null;
|
|
112
112
|
|
|
@@ -128,17 +128,17 @@ declare module 'stripe' {
|
|
|
128
128
|
livemode: boolean;
|
|
129
129
|
|
|
130
130
|
/**
|
|
131
|
-
* Set of [key-value pairs](https://stripe.com/
|
|
131
|
+
* Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
|
|
132
132
|
*/
|
|
133
133
|
metadata: Stripe.Metadata;
|
|
134
134
|
|
|
135
135
|
/**
|
|
136
|
-
* The account (if any) the charge was made on behalf of without triggering an automatic transfer. See the [Connect documentation](https://stripe.com/
|
|
136
|
+
* The account (if any) the charge was made on behalf of without triggering an automatic transfer. See the [Connect documentation](https://docs.stripe.com/connect/separate-charges-and-transfers) for details.
|
|
137
137
|
*/
|
|
138
138
|
on_behalf_of: string | Stripe.Account | null;
|
|
139
139
|
|
|
140
140
|
/**
|
|
141
|
-
* Details about whether the payment was accepted, and why. See [understanding declines](https://stripe.com/
|
|
141
|
+
* Details about whether the payment was accepted, and why. See [understanding declines](https://docs.stripe.com/declines) for details.
|
|
142
142
|
*/
|
|
143
143
|
outcome: Charge.Outcome | null;
|
|
144
144
|
|
|
@@ -165,7 +165,7 @@ declare module 'stripe' {
|
|
|
165
165
|
presentment_details?: Charge.PresentmentDetails;
|
|
166
166
|
|
|
167
167
|
/**
|
|
168
|
-
* Options to configure Radar. See [Radar Session](https://stripe.com/
|
|
168
|
+
* Options to configure Radar. See [Radar Session](https://docs.stripe.com/radar/radar-session) for more information.
|
|
169
169
|
*/
|
|
170
170
|
radar_options?: Charge.RadarOptions;
|
|
171
171
|
|
|
@@ -237,12 +237,12 @@ declare module 'stripe' {
|
|
|
237
237
|
transfer?: string | Stripe.Transfer;
|
|
238
238
|
|
|
239
239
|
/**
|
|
240
|
-
* An optional dictionary including the account to automatically transfer to as part of a destination charge. [See the Connect documentation](https://stripe.com/
|
|
240
|
+
* An optional dictionary including the account to automatically transfer to as part of a destination charge. [See the Connect documentation](https://docs.stripe.com/connect/destination-charges) for details.
|
|
241
241
|
*/
|
|
242
242
|
transfer_data: Charge.TransferData | null;
|
|
243
243
|
|
|
244
244
|
/**
|
|
245
|
-
* A string that identifies this transaction as part of a group. See the [Connect documentation](https://stripe.com/
|
|
245
|
+
* A string that identifies this transaction as part of a group. See the [Connect documentation](https://docs.stripe.com/connect/separate-charges-and-transfers#transfer-options) for details.
|
|
246
246
|
*/
|
|
247
247
|
transfer_group: string | null;
|
|
248
248
|
}
|
|
@@ -319,7 +319,7 @@ declare module 'stripe' {
|
|
|
319
319
|
|
|
320
320
|
interface Outcome {
|
|
321
321
|
/**
|
|
322
|
-
* An enumerated value providing a more detailed explanation on [how to proceed with an error](https://stripe.com/
|
|
322
|
+
* An enumerated value providing a more detailed explanation on [how to proceed with an error](https://docs.stripe.com/declines#retrying-issuer-declines).
|
|
323
323
|
*/
|
|
324
324
|
advice_code: Outcome.AdviceCode | null;
|
|
325
325
|
|
|
@@ -334,12 +334,12 @@ declare module 'stripe' {
|
|
|
334
334
|
network_decline_code: string | null;
|
|
335
335
|
|
|
336
336
|
/**
|
|
337
|
-
* Possible values are `approved_by_network`, `declined_by_network`, `not_sent_to_network`, and `reversed_after_approval`. The value `reversed_after_approval` indicates the payment was [blocked by Stripe](https://stripe.com/
|
|
337
|
+
* Possible values are `approved_by_network`, `declined_by_network`, `not_sent_to_network`, and `reversed_after_approval`. The value `reversed_after_approval` indicates the payment was [blocked by Stripe](https://docs.stripe.com/declines#blocked-payments) after bank authorization, and may temporarily appear as "pending" on a cardholder's statement.
|
|
338
338
|
*/
|
|
339
339
|
network_status: string | null;
|
|
340
340
|
|
|
341
341
|
/**
|
|
342
|
-
* An enumerated value providing a more detailed explanation of the outcome's `type`. Charges blocked by Radar's default block rule have the value `highest_risk_level`. Charges placed in review by Radar's default review rule have the value `elevated_risk_level`. Charges blocked because the payment is unlikely to be authorized have the value `low_probability_of_authorization`. Charges authorized, blocked, or placed in review by custom rules have the value `rule`. See [understanding declines](https://stripe.com/
|
|
342
|
+
* An enumerated value providing a more detailed explanation of the outcome's `type`. Charges blocked by Radar's default block rule have the value `highest_risk_level`. Charges placed in review by Radar's default review rule have the value `elevated_risk_level`. Charges blocked because the payment is unlikely to be authorized have the value `low_probability_of_authorization`. Charges authorized, blocked, or placed in review by custom rules have the value `rule`. See [understanding declines](https://docs.stripe.com/declines) for more details.
|
|
343
343
|
*/
|
|
344
344
|
reason: string | null;
|
|
345
345
|
|
|
@@ -364,7 +364,7 @@ declare module 'stripe' {
|
|
|
364
364
|
seller_message: string | null;
|
|
365
365
|
|
|
366
366
|
/**
|
|
367
|
-
* Possible values are `authorized`, `manual_review`, `issuer_declined`, `blocked`, and `invalid`. See [understanding declines](https://stripe.com/
|
|
367
|
+
* Possible values are `authorized`, `manual_review`, `issuer_declined`, `blocked`, and `invalid`. See [understanding declines](https://docs.stripe.com/declines) and [Radar reviews](https://docs.stripe.com/radar/reviews) for details.
|
|
368
368
|
*/
|
|
369
369
|
type: string;
|
|
370
370
|
}
|
|
@@ -515,7 +515,7 @@ declare module 'stripe' {
|
|
|
515
515
|
twint?: PaymentMethodDetails.Twint;
|
|
516
516
|
|
|
517
517
|
/**
|
|
518
|
-
* The type of transaction-specific details of the payment method used in the payment. See [PaymentMethod.type](https://stripe.com/
|
|
518
|
+
* The type of transaction-specific details of the payment method used in the payment. See [PaymentMethod.type](https://docs.stripe.com/api/payment_methods/object#payment_method_object-type) for the full list of possible types.
|
|
519
519
|
* An additional hash is included on `payment_method_details` with a name matching this value.
|
|
520
520
|
* It contains information specific to the payment method.
|
|
521
521
|
*/
|
|
@@ -595,6 +595,11 @@ declare module 'stripe' {
|
|
|
595
595
|
*/
|
|
596
596
|
bank_name: string | null;
|
|
597
597
|
|
|
598
|
+
/**
|
|
599
|
+
* Estimated date to debit the customer's bank account. A date string in YYYY-MM-DD format.
|
|
600
|
+
*/
|
|
601
|
+
expected_debit_date?: string;
|
|
602
|
+
|
|
598
603
|
/**
|
|
599
604
|
* Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
|
|
600
605
|
*/
|
|
@@ -623,12 +628,12 @@ declare module 'stripe' {
|
|
|
623
628
|
|
|
624
629
|
interface Affirm {
|
|
625
630
|
/**
|
|
626
|
-
* ID of the [location](https://stripe.com/
|
|
631
|
+
* ID of the [location](https://docs.stripe.com/api/terminal/locations) that this transaction's reader is assigned to.
|
|
627
632
|
*/
|
|
628
633
|
location?: string;
|
|
629
634
|
|
|
630
635
|
/**
|
|
631
|
-
* ID of the [reader](https://stripe.com/
|
|
636
|
+
* ID of the [reader](https://docs.stripe.com/api/terminal/readers) this transaction was made on.
|
|
632
637
|
*/
|
|
633
638
|
reader?: string;
|
|
634
639
|
|
|
@@ -750,6 +755,11 @@ declare module 'stripe' {
|
|
|
750
755
|
*/
|
|
751
756
|
bsb_number: string | null;
|
|
752
757
|
|
|
758
|
+
/**
|
|
759
|
+
* Estimated date to debit the customer's bank account. A date string in YYYY-MM-DD format.
|
|
760
|
+
*/
|
|
761
|
+
expected_debit_date?: string;
|
|
762
|
+
|
|
753
763
|
/**
|
|
754
764
|
* Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
|
|
755
765
|
*/
|
|
@@ -767,6 +777,11 @@ declare module 'stripe' {
|
|
|
767
777
|
}
|
|
768
778
|
|
|
769
779
|
interface BacsDebit {
|
|
780
|
+
/**
|
|
781
|
+
* Estimated date to debit the customer's bank account. A date string in YYYY-MM-DD format.
|
|
782
|
+
*/
|
|
783
|
+
expected_debit_date?: string;
|
|
784
|
+
|
|
770
785
|
/**
|
|
771
786
|
* Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
|
|
772
787
|
*/
|
|
@@ -936,7 +951,7 @@ declare module 'stripe' {
|
|
|
936
951
|
/**
|
|
937
952
|
* Installment details for this payment.
|
|
938
953
|
*
|
|
939
|
-
* For more information, see the [installments integration guide](https://stripe.com/
|
|
954
|
+
* For more information, see the [installments integration guide](https://docs.stripe.com/payments/installments).
|
|
940
955
|
*/
|
|
941
956
|
installments: Card.Installments | null;
|
|
942
957
|
|
|
@@ -1377,7 +1392,7 @@ declare module 'stripe' {
|
|
|
1377
1392
|
iin?: string | null;
|
|
1378
1393
|
|
|
1379
1394
|
/**
|
|
1380
|
-
* Whether this [PaymentIntent](https://stripe.com/
|
|
1395
|
+
* Whether this [PaymentIntent](https://docs.stripe.com/api/payment_intents) is eligible for incremental authorizations. Request support using [request_incremental_authorization_support](https://docs.stripe.com/api/payment_intents/create#create_payment_intent-payment_method_options-card_present-request_incremental_authorization_support).
|
|
1381
1396
|
*/
|
|
1382
1397
|
incremental_authorization_supported: boolean;
|
|
1383
1398
|
|
|
@@ -1716,7 +1731,7 @@ declare module 'stripe' {
|
|
|
1716
1731
|
|
|
1717
1732
|
interface Ideal {
|
|
1718
1733
|
/**
|
|
1719
|
-
* The customer's bank. Can be one of `abn_amro`, `asn_bank`, `bunq`, `buut`, `finom`, `handelsbanken`, `ing`, `knab`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`.
|
|
1734
|
+
* The customer's bank. Can be one of `abn_amro`, `asn_bank`, `bunq`, `buut`, `finom`, `handelsbanken`, `ing`, `knab`, `mollie`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`.
|
|
1720
1735
|
*/
|
|
1721
1736
|
bank: Ideal.Bank | null;
|
|
1722
1737
|
|
|
@@ -1762,6 +1777,7 @@ declare module 'stripe' {
|
|
|
1762
1777
|
| 'handelsbanken'
|
|
1763
1778
|
| 'ing'
|
|
1764
1779
|
| 'knab'
|
|
1780
|
+
| 'mollie'
|
|
1765
1781
|
| 'moneyou'
|
|
1766
1782
|
| 'n26'
|
|
1767
1783
|
| 'nn'
|
|
@@ -1784,6 +1800,7 @@ declare module 'stripe' {
|
|
|
1784
1800
|
| 'HANDNL2A'
|
|
1785
1801
|
| 'INGBNL2A'
|
|
1786
1802
|
| 'KNABNL2H'
|
|
1803
|
+
| 'MLLENL2A'
|
|
1787
1804
|
| 'MOYONL21'
|
|
1788
1805
|
| 'NNBANL2G'
|
|
1789
1806
|
| 'NTSBDEB1'
|
|
@@ -2157,6 +2174,11 @@ declare module 'stripe' {
|
|
|
2157
2174
|
*/
|
|
2158
2175
|
branch_code: string;
|
|
2159
2176
|
|
|
2177
|
+
/**
|
|
2178
|
+
* Estimated date to debit the customer's bank account. A date string in YYYY-MM-DD format.
|
|
2179
|
+
*/
|
|
2180
|
+
expected_debit_date?: string;
|
|
2181
|
+
|
|
2160
2182
|
/**
|
|
2161
2183
|
* Last four digits of the bank account number.
|
|
2162
2184
|
*/
|
|
@@ -2240,12 +2262,12 @@ declare module 'stripe' {
|
|
|
2240
2262
|
|
|
2241
2263
|
interface Paynow {
|
|
2242
2264
|
/**
|
|
2243
|
-
* ID of the [location](https://stripe.com/
|
|
2265
|
+
* ID of the [location](https://docs.stripe.com/api/terminal/locations) that this transaction's reader is assigned to.
|
|
2244
2266
|
*/
|
|
2245
2267
|
location?: string;
|
|
2246
2268
|
|
|
2247
2269
|
/**
|
|
2248
|
-
* ID of the [reader](https://stripe.com/
|
|
2270
|
+
* ID of the [reader](https://docs.stripe.com/api/terminal/readers) this transaction was made on.
|
|
2249
2271
|
*/
|
|
2250
2272
|
reader?: string;
|
|
2251
2273
|
|
|
@@ -2498,6 +2520,11 @@ declare module 'stripe' {
|
|
|
2498
2520
|
*/
|
|
2499
2521
|
country: string | null;
|
|
2500
2522
|
|
|
2523
|
+
/**
|
|
2524
|
+
* Estimated date to debit the customer's bank account. A date string in YYYY-MM-DD format.
|
|
2525
|
+
*/
|
|
2526
|
+
expected_debit_date?: string;
|
|
2527
|
+
|
|
2501
2528
|
/**
|
|
2502
2529
|
* Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
|
|
2503
2530
|
*/
|
|
@@ -2509,7 +2536,7 @@ declare module 'stripe' {
|
|
|
2509
2536
|
last4: string | null;
|
|
2510
2537
|
|
|
2511
2538
|
/**
|
|
2512
|
-
* Find the ID of the mandate used for this payment under the [payment_method_details.sepa_debit.mandate](https://stripe.com/
|
|
2539
|
+
* Find the ID of the mandate used for this payment under the [payment_method_details.sepa_debit.mandate](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-sepa_debit-mandate) property on the Charge. Use this mandate ID to [retrieve the Mandate](https://docs.stripe.com/api/mandates/retrieve).
|
|
2513
2540
|
*/
|
|
2514
2541
|
mandate: string | null;
|
|
2515
2542
|
}
|
|
@@ -2629,6 +2656,11 @@ declare module 'stripe' {
|
|
|
2629
2656
|
*/
|
|
2630
2657
|
bank_name: string | null;
|
|
2631
2658
|
|
|
2659
|
+
/**
|
|
2660
|
+
* Estimated date to debit the customer's bank account. A date string in YYYY-MM-DD format.
|
|
2661
|
+
*/
|
|
2662
|
+
expected_debit_date?: string;
|
|
2663
|
+
|
|
2632
2664
|
/**
|
|
2633
2665
|
* Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
|
|
2634
2666
|
*/
|
|
@@ -2670,12 +2702,12 @@ declare module 'stripe' {
|
|
|
2670
2702
|
fingerprint: string | null;
|
|
2671
2703
|
|
|
2672
2704
|
/**
|
|
2673
|
-
* ID of the [location](https://stripe.com/
|
|
2705
|
+
* ID of the [location](https://docs.stripe.com/api/terminal/locations) that this transaction's reader is assigned to.
|
|
2674
2706
|
*/
|
|
2675
2707
|
location?: string;
|
|
2676
2708
|
|
|
2677
2709
|
/**
|
|
2678
|
-
* ID of the [reader](https://stripe.com/
|
|
2710
|
+
* ID of the [reader](https://docs.stripe.com/api/terminal/readers) this transaction was made on.
|
|
2679
2711
|
*/
|
|
2680
2712
|
reader?: string;
|
|
2681
2713
|
|
|
@@ -2702,7 +2734,7 @@ declare module 'stripe' {
|
|
|
2702
2734
|
|
|
2703
2735
|
interface RadarOptions {
|
|
2704
2736
|
/**
|
|
2705
|
-
* A [Radar Session](https://stripe.com/
|
|
2737
|
+
* A [Radar Session](https://docs.stripe.com/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
|
|
2706
2738
|
*/
|
|
2707
2739
|
session?: string;
|
|
2708
2740
|
}
|