stripe 18.1.0-beta.3 → 18.1.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 +154 -1208
- package/OPENAPI_VERSION +1 -1
- package/README.md +11 -12
- package/VERSION +1 -1
- package/cjs/Error.js +3 -93
- package/cjs/RequestSender.js +5 -9
- package/cjs/StripeResource.js +1 -1
- package/cjs/Webhooks.js +6 -2
- package/cjs/apiVersion.js +1 -1
- package/cjs/net/FetchHttpClient.js +3 -4
- package/cjs/resources/FinancialConnections/Accounts.js +0 -5
- package/cjs/resources/{PaymentAttemptRecords.js → InvoicePayments.js} +4 -4
- package/cjs/resources/Invoices.js +0 -4
- package/cjs/resources/PaymentIntents.js +0 -13
- package/cjs/resources/Quotes.js +0 -32
- package/cjs/resources/SubscriptionSchedules.js +0 -4
- package/cjs/resources/Terminal/Readers.js +0 -12
- package/cjs/resources/TestHelpers/Terminal/Readers.js +0 -8
- package/cjs/resources.js +18 -108
- package/cjs/stripe.core.js +2 -4
- package/cjs/utils.js +33 -4
- package/esm/Error.js +2 -81
- package/esm/RequestSender.js +6 -10
- package/esm/StripeResource.js +1 -1
- package/esm/Webhooks.js +6 -2
- package/esm/apiVersion.js +1 -1
- package/esm/net/FetchHttpClient.js +3 -4
- package/esm/resources/FinancialConnections/Accounts.js +0 -5
- package/esm/resources/{PaymentAttemptRecords.js → InvoicePayments.js} +3 -3
- package/esm/resources/Invoices.js +0 -4
- package/esm/resources/PaymentIntents.js +0 -13
- package/esm/resources/Quotes.js +0 -32
- package/esm/resources/SubscriptionSchedules.js +0 -4
- package/esm/resources/Terminal/Readers.js +0 -12
- package/esm/resources/TestHelpers/Terminal/Readers.js +0 -8
- package/esm/resources.js +1 -84
- package/esm/stripe.core.js +2 -4
- package/esm/utils.js +29 -3
- package/package.json +12 -3
- package/types/AccountLinksResource.d.ts +1 -5
- package/types/AccountSessions.d.ts +0 -45
- package/types/AccountSessionsResource.d.ts +0 -300
- package/types/Accounts.d.ts +1 -212
- package/types/AccountsResource.d.ts +2 -546
- package/types/Billing/CreditBalanceSummary.d.ts +0 -5
- package/types/Billing/CreditBalanceSummaryResource.d.ts +3 -8
- package/types/Billing/CreditBalanceTransactionsResource.d.ts +4 -12
- package/types/Billing/CreditGrants.d.ts +0 -5
- package/types/Billing/CreditGrantsResource.d.ts +1 -11
- package/types/BillingPortal/Sessions.d.ts +0 -5
- package/types/BillingPortal/SessionsResource.d.ts +4 -12
- package/types/Cards.d.ts +0 -5
- package/types/CashBalances.d.ts +0 -5
- package/types/Charges.d.ts +0 -166
- package/types/ChargesResource.d.ts +0 -1314
- package/types/Checkout/Sessions.d.ts +13 -306
- package/types/Checkout/SessionsResource.d.ts +1 -333
- package/types/ConfirmationTokens.d.ts +0 -120
- package/types/Coupons.d.ts +0 -33
- package/types/CouponsResource.d.ts +0 -21
- package/types/CreditNoteLineItems.d.ts +0 -17
- package/types/CreditNotes.d.ts +0 -9
- package/types/CreditNotesResource.d.ts +0 -5
- package/types/CustomerBalanceTransactions.d.ts +0 -2
- package/types/CustomerCashBalanceTransactions.d.ts +0 -2
- package/types/CustomerSessions.d.ts +0 -5
- package/types/CustomerSessionsResource.d.ts +1 -6
- package/types/Customers.d.ts +0 -2
- package/types/CustomersResource.d.ts +23 -11
- package/types/Discounts.d.ts +0 -10
- package/types/Errors.d.ts +2 -69
- package/types/EventTypes.d.ts +0 -698
- package/types/Events.d.ts +1 -100
- package/types/FinancialConnections/Accounts.d.ts +1 -31
- package/types/FinancialConnections/AccountsResource.d.ts +3 -40
- package/types/FinancialConnections/Sessions.d.ts +1 -51
- package/types/FinancialConnections/SessionsResource.d.ts +1 -43
- package/types/Identity/VerificationSessions.d.ts +0 -5
- package/types/Identity/VerificationSessionsResource.d.ts +0 -7
- package/types/InvoiceItems.d.ts +0 -10
- package/types/InvoiceItemsResource.d.ts +6 -117
- package/types/InvoiceLineItems.d.ts +2 -46
- package/types/InvoicePayments.d.ts +0 -5
- package/types/InvoicePaymentsResource.d.ts +74 -0
- package/types/Invoices.d.ts +15 -138
- package/types/InvoicesResource.d.ts +15 -1471
- package/types/Issuing/CardholdersResource.d.ts +1 -2
- package/types/Issuing/Transactions.d.ts +0 -5
- package/types/Issuing/TransactionsResource.d.ts +0 -5
- package/types/LineItems.d.ts +0 -49
- package/types/Mandates.d.ts +0 -77
- package/types/PaymentIntents.d.ts +2 -728
- package/types/PaymentIntentsResource.d.ts +3955 -8479
- package/types/PaymentLinks.d.ts +0 -6
- package/types/PaymentLinksResource.d.ts +0 -12
- package/types/PaymentMethodConfigurations.d.ts +0 -180
- package/types/PaymentMethodConfigurationsResource.d.ts +0 -250
- package/types/PaymentMethods.d.ts +0 -120
- package/types/PaymentMethodsResource.d.ts +2 -167
- package/types/Payouts.d.ts +0 -5
- package/types/PayoutsResource.d.ts +0 -5
- package/types/Prices.d.ts +0 -22
- package/types/PricesResource.d.ts +0 -22
- package/types/Products.d.ts +0 -39
- package/types/ProductsResource.d.ts +0 -36
- package/types/PromotionCodes.d.ts +0 -5
- package/types/PromotionCodesResource.d.ts +0 -10
- package/types/Quotes.d.ts +2 -597
- package/types/QuotesResource.d.ts +224 -2571
- package/types/Refunds.d.ts +0 -14
- package/types/SetupAttempts.d.ts +1 -50
- package/types/SetupIntents.d.ts +2 -121
- package/types/SetupIntentsResource.d.ts +3 -730
- package/types/Sources.d.ts +0 -29
- package/types/SubscriptionItems.d.ts +0 -23
- package/types/SubscriptionItemsResource.d.ts +0 -109
- package/types/SubscriptionSchedules.d.ts +0 -205
- package/types/SubscriptionSchedulesResource.d.ts +8 -1236
- package/types/Subscriptions.d.ts +1 -97
- package/types/SubscriptionsResource.d.ts +9 -391
- package/types/Tax/Calculations.d.ts +11 -1
- package/types/Tax/CalculationsResource.d.ts +11 -1
- package/types/Tax/Registrations.d.ts +27 -0
- package/types/Tax/RegistrationsResource.d.ts +36 -0
- package/types/Tax/Transactions.d.ts +11 -1
- package/types/TaxIds.d.ts +11 -11
- package/types/TaxIdsResource.d.ts +11 -11
- package/types/Terminal/Readers.d.ts +0 -300
- package/types/Terminal/ReadersResource.d.ts +0 -220
- package/types/TestHelpers/ConfirmationTokensResource.d.ts +7 -127
- package/types/TestHelpers/Terminal/ReadersResource.d.ts +0 -53
- package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +0 -26
- package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +0 -26
- package/types/Transfers.d.ts +0 -5
- package/types/TransfersResource.d.ts +0 -5
- package/types/Treasury/FinancialAccountFeatures.d.ts +0 -7
- package/types/Treasury/FinancialAccounts.d.ts +0 -5
- package/types/Treasury/FinancialAccountsResource.d.ts +0 -37
- package/types/Treasury/OutboundPaymentsResource.d.ts +0 -5
- package/types/Treasury/OutboundTransfers.d.ts +0 -26
- package/types/Treasury/OutboundTransfersResource.d.ts +0 -26
- package/types/Treasury/ReceivedCredits.d.ts +0 -26
- package/types/Treasury/ReceivedDebits.d.ts +0 -31
- package/types/V2/EventTypes.d.ts +7 -677
- package/types/WebhookEndpointsResource.d.ts +4 -85
- package/types/index.d.ts +5 -146
- package/types/lib.d.ts +1 -11
- package/types/test/typescriptTest.ts +3 -3
- package/cjs/resources/AccountNotices.js +0 -21
- package/cjs/resources/BalanceSettings.js +0 -10
- package/cjs/resources/Capital/FinancingOffers.js +0 -21
- package/cjs/resources/Capital/FinancingSummary.js +0 -12
- package/cjs/resources/Capital/FinancingTransactions.js +0 -17
- package/cjs/resources/ExternalAccounts.js +0 -23
- package/cjs/resources/FinancialConnections/Institutions.js +0 -17
- package/cjs/resources/FxQuotes.js +0 -15
- package/cjs/resources/GiftCards/Cards.js +0 -23
- package/cjs/resources/GiftCards/Transactions.js +0 -33
- package/cjs/resources/Issuing/CreditUnderwritingRecords.js +0 -33
- package/cjs/resources/Issuing/DisputeSettlementDetails.js +0 -17
- package/cjs/resources/Issuing/FraudLiabilityDebits.js +0 -17
- package/cjs/resources/Margins.js +0 -22
- package/cjs/resources/Orders.js +0 -24
- package/cjs/resources/PaymentRecords.js +0 -29
- package/cjs/resources/Privacy/RedactionJobs.js +0 -46
- package/cjs/resources/Tax/Associations.js +0 -9
- package/cjs/resources/Tax/Forms.js +0 -20
- package/cjs/resources/Terminal/ReaderCollectedData.js +0 -12
- package/cjs/resources/V2/Core/AccountLinks.js +0 -9
- package/cjs/resources/V2/Core/Accounts/Persons.js +0 -29
- package/cjs/resources/V2/Core/Accounts.js +0 -25
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.js +0 -28
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.js +0 -24
- package/cjs/resources/V2/MoneyManagement/Adjustments.js +0 -17
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +0 -17
- package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js +0 -21
- package/cjs/resources/V2/MoneyManagement/InboundTransfers.js +0 -21
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -12
- package/cjs/resources/V2/MoneyManagement/OutboundPayments.js +0 -25
- package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -29
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js +0 -25
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.js +0 -25
- package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +0 -12
- package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js +0 -17
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js +0 -17
- package/cjs/resources/V2/MoneyManagement/TransactionEntries.js +0 -17
- package/cjs/resources/V2/MoneyManagement/Transactions.js +0 -17
- package/cjs/resources/V2/TestHelpers/FinancialAddresses.js +0 -16
- package/esm/resources/AccountNotices.js +0 -18
- package/esm/resources/BalanceSettings.js +0 -7
- package/esm/resources/Capital/FinancingOffers.js +0 -18
- package/esm/resources/Capital/FinancingSummary.js +0 -9
- package/esm/resources/Capital/FinancingTransactions.js +0 -14
- package/esm/resources/ExternalAccounts.js +0 -20
- package/esm/resources/FinancialConnections/Institutions.js +0 -14
- package/esm/resources/FxQuotes.js +0 -12
- package/esm/resources/GiftCards/Cards.js +0 -20
- package/esm/resources/GiftCards/Transactions.js +0 -30
- package/esm/resources/Issuing/CreditUnderwritingRecords.js +0 -30
- package/esm/resources/Issuing/DisputeSettlementDetails.js +0 -14
- package/esm/resources/Issuing/FraudLiabilityDebits.js +0 -14
- package/esm/resources/Margins.js +0 -19
- package/esm/resources/Orders.js +0 -21
- package/esm/resources/PaymentRecords.js +0 -26
- package/esm/resources/Privacy/RedactionJobs.js +0 -43
- package/esm/resources/Tax/Associations.js +0 -6
- package/esm/resources/Tax/Forms.js +0 -17
- package/esm/resources/Terminal/ReaderCollectedData.js +0 -9
- package/esm/resources/V2/Core/AccountLinks.js +0 -6
- package/esm/resources/V2/Core/Accounts/Persons.js +0 -26
- package/esm/resources/V2/Core/Accounts.js +0 -22
- package/esm/resources/V2/Core/Vault/GbBankAccounts.js +0 -25
- package/esm/resources/V2/Core/Vault/UsBankAccounts.js +0 -21
- package/esm/resources/V2/MoneyManagement/Adjustments.js +0 -14
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +0 -14
- package/esm/resources/V2/MoneyManagement/FinancialAddresses.js +0 -18
- package/esm/resources/V2/MoneyManagement/InboundTransfers.js +0 -18
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -9
- package/esm/resources/V2/MoneyManagement/OutboundPayments.js +0 -22
- package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -26
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.js +0 -22
- package/esm/resources/V2/MoneyManagement/PayoutMethods.js +0 -22
- package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +0 -9
- package/esm/resources/V2/MoneyManagement/ReceivedCredits.js +0 -14
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.js +0 -14
- package/esm/resources/V2/MoneyManagement/TransactionEntries.js +0 -14
- package/esm/resources/V2/MoneyManagement/Transactions.js +0 -14
- package/esm/resources/V2/TestHelpers/FinancialAddresses.js +0 -13
- package/types/AccountNotices.d.ts +0 -113
- package/types/AccountNoticesResource.d.ts +0 -98
- package/types/BalanceSettings.d.ts +0 -89
- package/types/BalanceSettingsResource.d.ts +0 -108
- package/types/Billing/MeterErrorReports.d.ts +0 -106
- package/types/Capital/FinancingOffers.d.ts +0 -188
- package/types/Capital/FinancingOffersResource.d.ts +0 -97
- package/types/Capital/FinancingSummary.d.ts +0 -106
- package/types/Capital/FinancingSummaryResource.d.ts +0 -27
- package/types/Capital/FinancingTransactions.d.ts +0 -135
- package/types/Capital/FinancingTransactionsResource.d.ts +0 -68
- package/types/ExternalAccountsResource.d.ts +0 -304
- package/types/FinancialConnections/AccountInferredBalances.d.ts +0 -38
- package/types/FinancialConnections/Institutions.d.ts +0 -93
- package/types/FinancialConnections/InstitutionsResource.d.ts +0 -47
- package/types/FxQuotes.d.ts +0 -153
- package/types/FxQuotesResource.d.ts +0 -130
- package/types/GiftCards/Cards.d.ts +0 -118
- package/types/GiftCards/CardsResource.d.ts +0 -159
- package/types/GiftCards/Transactions.d.ts +0 -129
- package/types/GiftCards/TransactionsResource.d.ts +0 -201
- package/types/Issuing/CreditUnderwritingRecords.d.ts +0 -451
- package/types/Issuing/CreditUnderwritingRecordsResource.d.ts +0 -1032
- package/types/Issuing/DisputeSettlementDetails.d.ts +0 -85
- package/types/Issuing/DisputeSettlementDetailsResource.d.ts +0 -52
- package/types/Issuing/FraudLiabilityDebits.d.ts +0 -52
- package/types/Issuing/FraudLiabilityDebitsResource.d.ts +0 -52
- package/types/Issuing/Settlements.d.ts +0 -113
- package/types/Margins.d.ts +0 -56
- package/types/MarginsResource.d.ts +0 -114
- package/types/Orders.d.ts +0 -1189
- package/types/OrdersResource.d.ts +0 -2981
- package/types/PaymentAttemptRecords.d.ts +0 -2112
- package/types/PaymentAttemptRecordsResource.d.ts +0 -47
- package/types/PaymentIntentAmountDetailsLineItems.d.ts +0 -110
- package/types/PaymentRecords.d.ts +0 -2105
- package/types/PaymentRecordsResource.d.ts +0 -455
- package/types/Privacy/RedactionJobRootObjects.d.ts +0 -35
- package/types/Privacy/RedactionJobValidationErrors.d.ts +0 -30
- package/types/Privacy/RedactionJobs.d.ts +0 -43
- package/types/Privacy/RedactionJobsResource.d.ts +0 -240
- package/types/QuoteLines.d.ts +0 -634
- package/types/QuotePreviewInvoices.d.ts +0 -1687
- package/types/QuotePreviewSubscriptionSchedules.d.ts +0 -778
- package/types/Tax/Associations.d.ts +0 -126
- package/types/Tax/AssociationsResource.d.ts +0 -29
- package/types/Tax/Forms.d.ts +0 -220
- package/types/Tax/FormsResource.d.ts +0 -107
- package/types/Terminal/ReaderCollectedData.d.ts +0 -51
- package/types/Terminal/ReaderCollectedDataResource.d.ts +0 -29
- package/types/V2/Core/AccountLinks.d.ts +0 -101
- package/types/V2/Core/AccountLinksResource.d.ts +0 -90
- package/types/V2/Core/Accounts/PersonsResource.d.ts +0 -3760
- package/types/V2/Core/Accounts.d.ts +0 -8057
- package/types/V2/Core/AccountsResource.d.ts +0 -10184
- package/types/V2/Core/Persons.d.ts +0 -1857
- package/types/V2/Core/Vault/GbBankAccounts.d.ts +0 -155
- package/types/V2/Core/Vault/GbBankAccountsResource.d.ts +0 -172
- package/types/V2/Core/Vault/UsBankAccounts.d.ts +0 -65
- package/types/V2/Core/Vault/UsBankAccountsResource.d.ts +0 -123
- package/types/V2/FinancialAddressCreditSimulations.d.ts +0 -22
- package/types/V2/FinancialAddressGeneratedMicrodeposits.d.ts +0 -27
- package/types/V2/MoneyManagement/Adjustments.d.ts +0 -105
- package/types/V2/MoneyManagement/AdjustmentsResource.d.ts +0 -83
- package/types/V2/MoneyManagement/FinancialAccounts.d.ts +0 -540
- package/types/V2/MoneyManagement/FinancialAccountsResource.d.ts +0 -52
- package/types/V2/MoneyManagement/FinancialAddresses.d.ts +0 -308
- package/types/V2/MoneyManagement/FinancialAddressesResource.d.ts +0 -287
- package/types/V2/MoneyManagement/InboundTransfers.d.ts +0 -201
- package/types/V2/MoneyManagement/InboundTransfersResource.d.ts +0 -144
- package/types/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +0 -141
- package/types/V2/MoneyManagement/OutboundPaymentQuotesResource.d.ts +0 -93
- package/types/V2/MoneyManagement/OutboundPayments.d.ts +0 -273
- package/types/V2/MoneyManagement/OutboundPaymentsResource.d.ts +0 -242
- package/types/V2/MoneyManagement/OutboundSetupIntents.d.ts +0 -92
- package/types/V2/MoneyManagement/OutboundSetupIntentsResource.d.ts +0 -296
- package/types/V2/MoneyManagement/OutboundTransfers.d.ts +0 -246
- package/types/V2/MoneyManagement/OutboundTransfersResource.d.ts +0 -207
- package/types/V2/MoneyManagement/PayoutMethods.d.ts +0 -146
- package/types/V2/MoneyManagement/PayoutMethodsBankAccountSpecResource.d.ts +0 -41
- package/types/V2/MoneyManagement/PayoutMethodsBankAccountSpecs.d.ts +0 -82
- package/types/V2/MoneyManagement/PayoutMethodsResource.d.ts +0 -113
- package/types/V2/MoneyManagement/ReceivedCredits.d.ts +0 -280
- package/types/V2/MoneyManagement/ReceivedCreditsResource.d.ts +0 -78
- package/types/V2/MoneyManagement/ReceivedDebits.d.ts +0 -219
- package/types/V2/MoneyManagement/ReceivedDebitsResource.d.ts +0 -48
- package/types/V2/MoneyManagement/TransactionEntries.d.ts +0 -151
- package/types/V2/MoneyManagement/TransactionEntriesResource.d.ts +0 -82
- package/types/V2/MoneyManagement/Transactions.d.ts +0 -166
- package/types/V2/MoneyManagement/TransactionsResource.d.ts +0 -83
- package/types/V2/TestHelpers/FinancialAddressesResource.d.ts +0 -66
|
@@ -19,6 +19,9 @@ declare module 'stripe' {
|
|
|
19
19
|
*/
|
|
20
20
|
payment_method_data?: ConfirmationTokenCreateParams.PaymentMethodData;
|
|
21
21
|
|
|
22
|
+
/**
|
|
23
|
+
* Payment-method-specific configuration for this ConfirmationToken.
|
|
24
|
+
*/
|
|
22
25
|
payment_method_options?: ConfirmationTokenCreateParams.PaymentMethodOptions;
|
|
23
26
|
|
|
24
27
|
/**
|
|
@@ -136,21 +139,11 @@ declare module 'stripe' {
|
|
|
136
139
|
*/
|
|
137
140
|
giropay?: PaymentMethodData.Giropay;
|
|
138
141
|
|
|
139
|
-
/**
|
|
140
|
-
* If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
|
|
141
|
-
*/
|
|
142
|
-
gopay?: PaymentMethodData.Gopay;
|
|
143
|
-
|
|
144
142
|
/**
|
|
145
143
|
* If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
|
|
146
144
|
*/
|
|
147
145
|
grabpay?: PaymentMethodData.Grabpay;
|
|
148
146
|
|
|
149
|
-
/**
|
|
150
|
-
* If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
|
|
151
|
-
*/
|
|
152
|
-
id_bank_transfer?: PaymentMethodData.IdBankTransfer;
|
|
153
|
-
|
|
154
147
|
/**
|
|
155
148
|
* If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
|
|
156
149
|
*/
|
|
@@ -186,11 +179,6 @@ declare module 'stripe' {
|
|
|
186
179
|
*/
|
|
187
180
|
link?: PaymentMethodData.Link;
|
|
188
181
|
|
|
189
|
-
/**
|
|
190
|
-
* If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method.
|
|
191
|
-
*/
|
|
192
|
-
mb_way?: PaymentMethodData.MbWay;
|
|
193
|
-
|
|
194
182
|
/**
|
|
195
183
|
* Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
|
196
184
|
*/
|
|
@@ -246,11 +234,6 @@ declare module 'stripe' {
|
|
|
246
234
|
*/
|
|
247
235
|
paypal?: PaymentMethodData.Paypal;
|
|
248
236
|
|
|
249
|
-
/**
|
|
250
|
-
* If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
|
|
251
|
-
*/
|
|
252
|
-
payto?: PaymentMethodData.Payto;
|
|
253
|
-
|
|
254
237
|
/**
|
|
255
238
|
* If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
|
|
256
239
|
*/
|
|
@@ -261,21 +244,11 @@ declare module 'stripe' {
|
|
|
261
244
|
*/
|
|
262
245
|
promptpay?: PaymentMethodData.Promptpay;
|
|
263
246
|
|
|
264
|
-
/**
|
|
265
|
-
* If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
|
|
266
|
-
*/
|
|
267
|
-
qris?: PaymentMethodData.Qris;
|
|
268
|
-
|
|
269
247
|
/**
|
|
270
248
|
* Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
|
|
271
249
|
*/
|
|
272
250
|
radar_options?: PaymentMethodData.RadarOptions;
|
|
273
251
|
|
|
274
|
-
/**
|
|
275
|
-
* If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
|
|
276
|
-
*/
|
|
277
|
-
rechnung?: PaymentMethodData.Rechnung;
|
|
278
|
-
|
|
279
252
|
/**
|
|
280
253
|
* If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
|
|
281
254
|
*/
|
|
@@ -296,21 +269,11 @@ declare module 'stripe' {
|
|
|
296
269
|
*/
|
|
297
270
|
sepa_debit?: PaymentMethodData.SepaDebit;
|
|
298
271
|
|
|
299
|
-
/**
|
|
300
|
-
* If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
|
|
301
|
-
*/
|
|
302
|
-
shopeepay?: PaymentMethodData.Shopeepay;
|
|
303
|
-
|
|
304
272
|
/**
|
|
305
273
|
* If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
|
|
306
274
|
*/
|
|
307
275
|
sofort?: PaymentMethodData.Sofort;
|
|
308
276
|
|
|
309
|
-
/**
|
|
310
|
-
* This hash contains details about the Stripe balance payment method.
|
|
311
|
-
*/
|
|
312
|
-
stripe_balance?: PaymentMethodData.StripeBalance;
|
|
313
|
-
|
|
314
277
|
/**
|
|
315
278
|
* If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
|
|
316
279
|
*/
|
|
@@ -521,21 +484,8 @@ declare module 'stripe' {
|
|
|
521
484
|
|
|
522
485
|
interface Giropay {}
|
|
523
486
|
|
|
524
|
-
interface Gopay {}
|
|
525
|
-
|
|
526
487
|
interface Grabpay {}
|
|
527
488
|
|
|
528
|
-
interface IdBankTransfer {
|
|
529
|
-
/**
|
|
530
|
-
* Bank where the account is held.
|
|
531
|
-
*/
|
|
532
|
-
bank?: IdBankTransfer.Bank;
|
|
533
|
-
}
|
|
534
|
-
|
|
535
|
-
namespace IdBankTransfer {
|
|
536
|
-
type Bank = 'bca' | 'bni' | 'bri' | 'cimb' | 'permata';
|
|
537
|
-
}
|
|
538
|
-
|
|
539
489
|
interface Ideal {
|
|
540
490
|
/**
|
|
541
491
|
* The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
|
@@ -599,8 +549,6 @@ declare module 'stripe' {
|
|
|
599
549
|
|
|
600
550
|
interface Link {}
|
|
601
551
|
|
|
602
|
-
interface MbWay {}
|
|
603
|
-
|
|
604
552
|
interface Mobilepay {}
|
|
605
553
|
|
|
606
554
|
interface Multibanco {}
|
|
@@ -692,29 +640,10 @@ declare module 'stripe' {
|
|
|
692
640
|
|
|
693
641
|
interface Paypal {}
|
|
694
642
|
|
|
695
|
-
interface Payto {
|
|
696
|
-
/**
|
|
697
|
-
* The account number for the bank account.
|
|
698
|
-
*/
|
|
699
|
-
account_number?: string;
|
|
700
|
-
|
|
701
|
-
/**
|
|
702
|
-
* Bank-State-Branch number of the bank account.
|
|
703
|
-
*/
|
|
704
|
-
bsb_number?: string;
|
|
705
|
-
|
|
706
|
-
/**
|
|
707
|
-
* The PayID alias for the bank account.
|
|
708
|
-
*/
|
|
709
|
-
pay_id?: string;
|
|
710
|
-
}
|
|
711
|
-
|
|
712
643
|
interface Pix {}
|
|
713
644
|
|
|
714
645
|
interface Promptpay {}
|
|
715
646
|
|
|
716
|
-
interface Qris {}
|
|
717
|
-
|
|
718
647
|
interface RadarOptions {
|
|
719
648
|
/**
|
|
720
649
|
* A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
|
|
@@ -722,32 +651,6 @@ declare module 'stripe' {
|
|
|
722
651
|
session?: string;
|
|
723
652
|
}
|
|
724
653
|
|
|
725
|
-
interface Rechnung {
|
|
726
|
-
/**
|
|
727
|
-
* Customer's date of birth
|
|
728
|
-
*/
|
|
729
|
-
dob: Rechnung.Dob;
|
|
730
|
-
}
|
|
731
|
-
|
|
732
|
-
namespace Rechnung {
|
|
733
|
-
interface Dob {
|
|
734
|
-
/**
|
|
735
|
-
* The day of birth, between 1 and 31.
|
|
736
|
-
*/
|
|
737
|
-
day: number;
|
|
738
|
-
|
|
739
|
-
/**
|
|
740
|
-
* The month of birth, between 1 and 12.
|
|
741
|
-
*/
|
|
742
|
-
month: number;
|
|
743
|
-
|
|
744
|
-
/**
|
|
745
|
-
* The four-digit year of birth.
|
|
746
|
-
*/
|
|
747
|
-
year: number;
|
|
748
|
-
}
|
|
749
|
-
}
|
|
750
|
-
|
|
751
654
|
interface RevolutPay {}
|
|
752
655
|
|
|
753
656
|
interface SamsungPay {}
|
|
@@ -761,8 +664,6 @@ declare module 'stripe' {
|
|
|
761
664
|
iban: string;
|
|
762
665
|
}
|
|
763
666
|
|
|
764
|
-
interface Shopeepay {}
|
|
765
|
-
|
|
766
667
|
interface Sofort {
|
|
767
668
|
/**
|
|
768
669
|
* Two-letter ISO code representing the country the bank account is located in.
|
|
@@ -774,22 +675,6 @@ declare module 'stripe' {
|
|
|
774
675
|
type Country = 'AT' | 'BE' | 'DE' | 'ES' | 'IT' | 'NL';
|
|
775
676
|
}
|
|
776
677
|
|
|
777
|
-
interface StripeBalance {
|
|
778
|
-
/**
|
|
779
|
-
* The connected account ID whose Stripe balance to use as the source of payment
|
|
780
|
-
*/
|
|
781
|
-
account?: string;
|
|
782
|
-
|
|
783
|
-
/**
|
|
784
|
-
* The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
|
|
785
|
-
*/
|
|
786
|
-
source_type?: StripeBalance.SourceType;
|
|
787
|
-
}
|
|
788
|
-
|
|
789
|
-
namespace StripeBalance {
|
|
790
|
-
type SourceType = 'bank_account' | 'card' | 'fpx';
|
|
791
|
-
}
|
|
792
|
-
|
|
793
678
|
interface Swish {}
|
|
794
679
|
|
|
795
680
|
interface Twint {}
|
|
@@ -812,16 +697,13 @@ declare module 'stripe' {
|
|
|
812
697
|
| 'eps'
|
|
813
698
|
| 'fpx'
|
|
814
699
|
| 'giropay'
|
|
815
|
-
| 'gopay'
|
|
816
700
|
| 'grabpay'
|
|
817
|
-
| 'id_bank_transfer'
|
|
818
701
|
| 'ideal'
|
|
819
702
|
| 'kakao_pay'
|
|
820
703
|
| 'klarna'
|
|
821
704
|
| 'konbini'
|
|
822
705
|
| 'kr_card'
|
|
823
706
|
| 'link'
|
|
824
|
-
| 'mb_way'
|
|
825
707
|
| 'mobilepay'
|
|
826
708
|
| 'multibanco'
|
|
827
709
|
| 'naver_pay'
|
|
@@ -832,18 +714,13 @@ declare module 'stripe' {
|
|
|
832
714
|
| 'payco'
|
|
833
715
|
| 'paynow'
|
|
834
716
|
| 'paypal'
|
|
835
|
-
| 'payto'
|
|
836
717
|
| 'pix'
|
|
837
718
|
| 'promptpay'
|
|
838
|
-
| 'qris'
|
|
839
|
-
| 'rechnung'
|
|
840
719
|
| 'revolut_pay'
|
|
841
720
|
| 'samsung_pay'
|
|
842
721
|
| 'satispay'
|
|
843
722
|
| 'sepa_debit'
|
|
844
|
-
| 'shopeepay'
|
|
845
723
|
| 'sofort'
|
|
846
|
-
| 'stripe_balance'
|
|
847
724
|
| 'swish'
|
|
848
725
|
| 'twint'
|
|
849
726
|
| 'us_bank_account'
|
|
@@ -889,13 +766,16 @@ declare module 'stripe' {
|
|
|
889
766
|
}
|
|
890
767
|
|
|
891
768
|
interface PaymentMethodOptions {
|
|
769
|
+
/**
|
|
770
|
+
* Configuration for any card payments confirmed using this ConfirmationToken.
|
|
771
|
+
*/
|
|
892
772
|
card?: PaymentMethodOptions.Card;
|
|
893
773
|
}
|
|
894
774
|
|
|
895
775
|
namespace PaymentMethodOptions {
|
|
896
776
|
interface Card {
|
|
897
777
|
/**
|
|
898
|
-
* Installment configuration for payments
|
|
778
|
+
* Installment configuration for payments confirmed using this ConfirmationToken.
|
|
899
779
|
*/
|
|
900
780
|
installments?: Card.Installments;
|
|
901
781
|
}
|
|
@@ -50,33 +50,6 @@ declare module 'stripe' {
|
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
namespace Terminal {
|
|
54
|
-
interface ReaderSucceedInputCollectionParams {
|
|
55
|
-
/**
|
|
56
|
-
* Specifies which fields in the response should be expanded.
|
|
57
|
-
*/
|
|
58
|
-
expand?: Array<string>;
|
|
59
|
-
|
|
60
|
-
/**
|
|
61
|
-
* This parameter defines the skip behavior for input collection.
|
|
62
|
-
*/
|
|
63
|
-
skip_non_required_inputs?: ReaderSucceedInputCollectionParams.SkipNonRequiredInputs;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
namespace ReaderSucceedInputCollectionParams {
|
|
67
|
-
type SkipNonRequiredInputs = 'all' | 'none';
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
namespace Terminal {
|
|
72
|
-
interface ReaderTimeoutInputCollectionParams {
|
|
73
|
-
/**
|
|
74
|
-
* Specifies which fields in the response should be expanded.
|
|
75
|
-
*/
|
|
76
|
-
expand?: Array<string>;
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
|
|
80
53
|
namespace Terminal {
|
|
81
54
|
class ReadersResource {
|
|
82
55
|
/**
|
|
@@ -91,32 +64,6 @@ declare module 'stripe' {
|
|
|
91
64
|
id: string,
|
|
92
65
|
options?: RequestOptions
|
|
93
66
|
): Promise<Stripe.Response<Stripe.Terminal.Reader>>;
|
|
94
|
-
|
|
95
|
-
/**
|
|
96
|
-
* Use this endpoint to trigger a successful input collection on a simulated reader.
|
|
97
|
-
*/
|
|
98
|
-
succeedInputCollection(
|
|
99
|
-
id: string,
|
|
100
|
-
params?: ReaderSucceedInputCollectionParams,
|
|
101
|
-
options?: RequestOptions
|
|
102
|
-
): Promise<Stripe.Response<Stripe.Terminal.Reader>>;
|
|
103
|
-
succeedInputCollection(
|
|
104
|
-
id: string,
|
|
105
|
-
options?: RequestOptions
|
|
106
|
-
): Promise<Stripe.Response<Stripe.Terminal.Reader>>;
|
|
107
|
-
|
|
108
|
-
/**
|
|
109
|
-
* Use this endpoint to complete an input collection with a timeout error on a simulated reader.
|
|
110
|
-
*/
|
|
111
|
-
timeoutInputCollection(
|
|
112
|
-
id: string,
|
|
113
|
-
params?: ReaderTimeoutInputCollectionParams,
|
|
114
|
-
options?: RequestOptions
|
|
115
|
-
): Promise<Stripe.Response<Stripe.Terminal.Reader>>;
|
|
116
|
-
timeoutInputCollection(
|
|
117
|
-
id: string,
|
|
118
|
-
options?: RequestOptions
|
|
119
|
-
): Promise<Stripe.Response<Stripe.Terminal.Reader>>;
|
|
120
67
|
}
|
|
121
68
|
}
|
|
122
69
|
}
|
|
@@ -39,11 +39,6 @@ declare module 'stripe' {
|
|
|
39
39
|
* Initiating payment method details for the object.
|
|
40
40
|
*/
|
|
41
41
|
initiating_payment_method_details?: ReceivedCreditCreateParams.InitiatingPaymentMethodDetails;
|
|
42
|
-
|
|
43
|
-
/**
|
|
44
|
-
* Details about the network used for the ReceivedCredit.
|
|
45
|
-
*/
|
|
46
|
-
network_details?: ReceivedCreditCreateParams.NetworkDetails;
|
|
47
42
|
}
|
|
48
43
|
|
|
49
44
|
namespace ReceivedCreditCreateParams {
|
|
@@ -79,27 +74,6 @@ declare module 'stripe' {
|
|
|
79
74
|
}
|
|
80
75
|
|
|
81
76
|
type Network = 'ach' | 'us_domestic_wire';
|
|
82
|
-
|
|
83
|
-
interface NetworkDetails {
|
|
84
|
-
/**
|
|
85
|
-
* Optional fields for `ach`.
|
|
86
|
-
*/
|
|
87
|
-
ach?: NetworkDetails.Ach;
|
|
88
|
-
|
|
89
|
-
/**
|
|
90
|
-
* The type of flow that originated the ReceivedCredit.
|
|
91
|
-
*/
|
|
92
|
-
type: 'ach';
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
namespace NetworkDetails {
|
|
96
|
-
interface Ach {
|
|
97
|
-
/**
|
|
98
|
-
* ACH Addenda record
|
|
99
|
-
*/
|
|
100
|
-
addenda?: string;
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
77
|
}
|
|
104
78
|
}
|
|
105
79
|
|
|
@@ -39,11 +39,6 @@ declare module 'stripe' {
|
|
|
39
39
|
* Initiating payment method details for the object.
|
|
40
40
|
*/
|
|
41
41
|
initiating_payment_method_details?: ReceivedDebitCreateParams.InitiatingPaymentMethodDetails;
|
|
42
|
-
|
|
43
|
-
/**
|
|
44
|
-
* Details about the network used for the ReceivedDebit.
|
|
45
|
-
*/
|
|
46
|
-
network_details?: ReceivedDebitCreateParams.NetworkDetails;
|
|
47
42
|
}
|
|
48
43
|
|
|
49
44
|
namespace ReceivedDebitCreateParams {
|
|
@@ -77,27 +72,6 @@ declare module 'stripe' {
|
|
|
77
72
|
routing_number?: string;
|
|
78
73
|
}
|
|
79
74
|
}
|
|
80
|
-
|
|
81
|
-
interface NetworkDetails {
|
|
82
|
-
/**
|
|
83
|
-
* Optional fields for `ach`.
|
|
84
|
-
*/
|
|
85
|
-
ach?: NetworkDetails.Ach;
|
|
86
|
-
|
|
87
|
-
/**
|
|
88
|
-
* The type of flow that originated the ReceivedDebit.
|
|
89
|
-
*/
|
|
90
|
-
type: 'ach';
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
namespace NetworkDetails {
|
|
94
|
-
interface Ach {
|
|
95
|
-
/**
|
|
96
|
-
* Addenda record data associated with this ReceivedDebit.
|
|
97
|
-
*/
|
|
98
|
-
addenda?: string;
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
75
|
}
|
|
102
76
|
}
|
|
103
77
|
|
package/types/Transfers.d.ts
CHANGED
|
@@ -65,11 +65,6 @@ declare module 'stripe' {
|
|
|
65
65
|
*/
|
|
66
66
|
destination_payment?: string | Stripe.Charge;
|
|
67
67
|
|
|
68
|
-
/**
|
|
69
|
-
* The FX Quote used for the transfer.
|
|
70
|
-
*/
|
|
71
|
-
fx_quote?: string;
|
|
72
|
-
|
|
73
68
|
/**
|
|
74
69
|
* Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
|
75
70
|
*/
|
|
@@ -28,11 +28,6 @@ declare module 'stripe' {
|
|
|
28
28
|
*/
|
|
29
29
|
expand?: Array<string>;
|
|
30
30
|
|
|
31
|
-
/**
|
|
32
|
-
* The FX rate in the quote is validated and used to convert the transfer amount to the destination currency.
|
|
33
|
-
*/
|
|
34
|
-
fx_quote?: string;
|
|
35
|
-
|
|
36
31
|
/**
|
|
37
32
|
* Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
|
38
33
|
*/
|
|
@@ -175,11 +175,6 @@ declare module 'stripe' {
|
|
|
175
175
|
|
|
176
176
|
namespace FinancialAddresses {
|
|
177
177
|
interface Aba {
|
|
178
|
-
/**
|
|
179
|
-
* Requested bank partner for this Financial Account
|
|
180
|
-
*/
|
|
181
|
-
bank?: Aba.Bank;
|
|
182
|
-
|
|
183
178
|
/**
|
|
184
179
|
* Whether the FinancialAccount should have the Feature.
|
|
185
180
|
*/
|
|
@@ -197,8 +192,6 @@ declare module 'stripe' {
|
|
|
197
192
|
}
|
|
198
193
|
|
|
199
194
|
namespace Aba {
|
|
200
|
-
type Bank = 'evolve' | 'fifth_third' | 'goldman_sachs';
|
|
201
|
-
|
|
202
195
|
type Status = 'active' | 'pending' | 'restricted';
|
|
203
196
|
|
|
204
197
|
interface StatusDetail {
|
|
@@ -38,11 +38,6 @@ declare module 'stripe' {
|
|
|
38
38
|
*/
|
|
39
39
|
created: number;
|
|
40
40
|
|
|
41
|
-
/**
|
|
42
|
-
* The display name for the FinancialAccount. Use this field to customize the names of the FinancialAccounts for your connected accounts. Unlike the `nickname` field, `display_name` is not internal metadata and will be exposed to connected accounts.
|
|
43
|
-
*/
|
|
44
|
-
display_name?: string | null;
|
|
45
|
-
|
|
46
41
|
/**
|
|
47
42
|
* Encodes whether a FinancialAccount has access to a particular Feature, with a `status` enum and associated `status_details`.
|
|
48
43
|
* Stripe or the platform can control Features via the requested field.
|
|
@@ -9,11 +9,6 @@ declare module 'stripe' {
|
|
|
9
9
|
*/
|
|
10
10
|
supported_currencies: Array<string>;
|
|
11
11
|
|
|
12
|
-
/**
|
|
13
|
-
* The display name for the FinancialAccount. Use this field to customize the names of the FinancialAccounts for your connected accounts. Unlike the `nickname` field, `display_name` is not internal metadata and will be exposed to connected accounts.
|
|
14
|
-
*/
|
|
15
|
-
display_name?: Stripe.Emptyable<string>;
|
|
16
|
-
|
|
17
12
|
/**
|
|
18
13
|
* Specifies which fields in the response should be expanded.
|
|
19
14
|
*/
|
|
@@ -102,20 +97,11 @@ declare module 'stripe' {
|
|
|
102
97
|
|
|
103
98
|
namespace FinancialAddresses {
|
|
104
99
|
interface Aba {
|
|
105
|
-
/**
|
|
106
|
-
* Requested bank partner
|
|
107
|
-
*/
|
|
108
|
-
bank?: Aba.Bank;
|
|
109
|
-
|
|
110
100
|
/**
|
|
111
101
|
* Whether the FinancialAccount should have the Feature.
|
|
112
102
|
*/
|
|
113
103
|
requested: boolean;
|
|
114
104
|
}
|
|
115
|
-
|
|
116
|
-
namespace Aba {
|
|
117
|
-
type Bank = 'evolve' | 'fifth_third' | 'goldman_sachs';
|
|
118
|
-
}
|
|
119
105
|
}
|
|
120
106
|
|
|
121
107
|
interface InboundTransfers {
|
|
@@ -225,11 +211,6 @@ declare module 'stripe' {
|
|
|
225
211
|
}
|
|
226
212
|
|
|
227
213
|
interface FinancialAccountUpdateParams {
|
|
228
|
-
/**
|
|
229
|
-
* The display name for the FinancialAccount. Use this field to customize the names of the FinancialAccounts for your connected accounts. Unlike the `nickname` field, `display_name` is not internal metadata and will be exposed to connected accounts.
|
|
230
|
-
*/
|
|
231
|
-
display_name?: Stripe.Emptyable<string>;
|
|
232
|
-
|
|
233
214
|
/**
|
|
234
215
|
* Specifies which fields in the response should be expanded.
|
|
235
216
|
*/
|
|
@@ -323,20 +304,11 @@ declare module 'stripe' {
|
|
|
323
304
|
|
|
324
305
|
namespace FinancialAddresses {
|
|
325
306
|
interface Aba {
|
|
326
|
-
/**
|
|
327
|
-
* Requested bank partner
|
|
328
|
-
*/
|
|
329
|
-
bank?: Aba.Bank;
|
|
330
|
-
|
|
331
307
|
/**
|
|
332
308
|
* Whether the FinancialAccount should have the Feature.
|
|
333
309
|
*/
|
|
334
310
|
requested: boolean;
|
|
335
311
|
}
|
|
336
|
-
|
|
337
|
-
namespace Aba {
|
|
338
|
-
type Bank = 'evolve' | 'fifth_third' | 'goldman_sachs';
|
|
339
|
-
}
|
|
340
312
|
}
|
|
341
313
|
|
|
342
314
|
interface InboundTransfers {
|
|
@@ -579,20 +551,11 @@ declare module 'stripe' {
|
|
|
579
551
|
|
|
580
552
|
namespace FinancialAddresses {
|
|
581
553
|
interface Aba {
|
|
582
|
-
/**
|
|
583
|
-
* Requested bank partner
|
|
584
|
-
*/
|
|
585
|
-
bank?: Aba.Bank;
|
|
586
|
-
|
|
587
554
|
/**
|
|
588
555
|
* Whether the FinancialAccount should have the Feature.
|
|
589
556
|
*/
|
|
590
557
|
requested: boolean;
|
|
591
558
|
}
|
|
592
|
-
|
|
593
|
-
namespace Aba {
|
|
594
|
-
type Bank = 'evolve' | 'fifth_third' | 'goldman_sachs';
|
|
595
|
-
}
|
|
596
559
|
}
|
|
597
560
|
|
|
598
561
|
interface InboundTransfers {
|
|
@@ -114,11 +114,6 @@ declare module 'stripe' {
|
|
|
114
114
|
* Billing phone number (including extension).
|
|
115
115
|
*/
|
|
116
116
|
phone?: Stripe.Emptyable<string>;
|
|
117
|
-
|
|
118
|
-
/**
|
|
119
|
-
* Taxpayer identification number. Used only for transactions between LATAM buyers and non-LATAM sellers.
|
|
120
|
-
*/
|
|
121
|
-
tax_id?: string;
|
|
122
117
|
}
|
|
123
118
|
|
|
124
119
|
type Type = 'financial_account' | 'us_bank_account';
|
|
@@ -78,11 +78,6 @@ declare module 'stripe' {
|
|
|
78
78
|
*/
|
|
79
79
|
metadata: Stripe.Metadata;
|
|
80
80
|
|
|
81
|
-
/**
|
|
82
|
-
* Details about the network used for the OutboundTransfer.
|
|
83
|
-
*/
|
|
84
|
-
network_details?: OutboundTransfer.NetworkDetails | null;
|
|
85
|
-
|
|
86
81
|
/**
|
|
87
82
|
* Details about a returned OutboundTransfer. Only set when the status is `returned`.
|
|
88
83
|
*/
|
|
@@ -205,27 +200,6 @@ declare module 'stripe' {
|
|
|
205
200
|
}
|
|
206
201
|
}
|
|
207
202
|
|
|
208
|
-
interface NetworkDetails {
|
|
209
|
-
/**
|
|
210
|
-
* Details about an ACH transaction.
|
|
211
|
-
*/
|
|
212
|
-
ach?: NetworkDetails.Ach | null;
|
|
213
|
-
|
|
214
|
-
/**
|
|
215
|
-
* The type of flow that originated the OutboundTransfer.
|
|
216
|
-
*/
|
|
217
|
-
type: 'ach';
|
|
218
|
-
}
|
|
219
|
-
|
|
220
|
-
namespace NetworkDetails {
|
|
221
|
-
interface Ach {
|
|
222
|
-
/**
|
|
223
|
-
* ACH Addenda record
|
|
224
|
-
*/
|
|
225
|
-
addenda: string | null;
|
|
226
|
-
}
|
|
227
|
-
}
|
|
228
|
-
|
|
229
203
|
interface ReturnedDetails {
|
|
230
204
|
/**
|
|
231
205
|
* Reason for the return.
|
|
@@ -49,11 +49,6 @@ declare module 'stripe' {
|
|
|
49
49
|
*/
|
|
50
50
|
metadata?: Stripe.MetadataParam;
|
|
51
51
|
|
|
52
|
-
/**
|
|
53
|
-
* Details about the network used for the OutboundTransfer.
|
|
54
|
-
*/
|
|
55
|
-
network_details?: OutboundTransferCreateParams.NetworkDetails;
|
|
56
|
-
|
|
57
52
|
/**
|
|
58
53
|
* Statement descriptor to be shown on the receiving end of an OutboundTransfer. Maximum 10 characters for `ach` transfers or 140 characters for `us_domestic_wire` transfers. The default value is "transfer".
|
|
59
54
|
*/
|
|
@@ -94,27 +89,6 @@ declare module 'stripe' {
|
|
|
94
89
|
type Network = 'ach' | 'us_domestic_wire';
|
|
95
90
|
}
|
|
96
91
|
}
|
|
97
|
-
|
|
98
|
-
interface NetworkDetails {
|
|
99
|
-
/**
|
|
100
|
-
* Optional fields for `ach`.
|
|
101
|
-
*/
|
|
102
|
-
ach?: NetworkDetails.Ach;
|
|
103
|
-
|
|
104
|
-
/**
|
|
105
|
-
* The type of flow that originated the OutboundTransfer.
|
|
106
|
-
*/
|
|
107
|
-
type: 'ach';
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
namespace NetworkDetails {
|
|
111
|
-
interface Ach {
|
|
112
|
-
/**
|
|
113
|
-
* Addenda record data associated with this OutboundTransfer.
|
|
114
|
-
*/
|
|
115
|
-
addenda?: string;
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
92
|
}
|
|
119
93
|
|
|
120
94
|
interface OutboundTransferRetrieveParams {
|