stripe 18.1.0-beta.3 → 18.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +140 -1208
- package/OPENAPI_VERSION +1 -1
- package/README.md +0 -1
- package/VERSION +1 -1
- package/cjs/Error.js +3 -93
- package/cjs/RequestSender.js +3 -7
- package/cjs/Webhooks.js +6 -2
- package/cjs/apiVersion.js +1 -1
- package/cjs/net/FetchHttpClient.js +3 -4
- package/cjs/resources/FinancialConnections/Accounts.js +0 -5
- package/cjs/resources/{PaymentAttemptRecords.js → InvoicePayments.js} +4 -4
- package/cjs/resources/Invoices.js +0 -4
- package/cjs/resources/PaymentIntents.js +0 -13
- package/cjs/resources/Quotes.js +0 -32
- package/cjs/resources/SubscriptionSchedules.js +0 -4
- package/cjs/resources/Terminal/Readers.js +0 -12
- package/cjs/resources/TestHelpers/Terminal/Readers.js +0 -8
- package/cjs/resources.js +18 -108
- package/cjs/stripe.core.js +2 -4
- package/cjs/utils.js +28 -4
- package/esm/Error.js +2 -81
- package/esm/RequestSender.js +4 -8
- package/esm/Webhooks.js +6 -2
- package/esm/apiVersion.js +1 -1
- package/esm/net/FetchHttpClient.js +3 -4
- package/esm/resources/FinancialConnections/Accounts.js +0 -5
- package/esm/resources/{PaymentAttemptRecords.js → InvoicePayments.js} +3 -3
- package/esm/resources/Invoices.js +0 -4
- package/esm/resources/PaymentIntents.js +0 -13
- package/esm/resources/Quotes.js +0 -32
- package/esm/resources/SubscriptionSchedules.js +0 -4
- package/esm/resources/Terminal/Readers.js +0 -12
- package/esm/resources/TestHelpers/Terminal/Readers.js +0 -8
- package/esm/resources.js +1 -84
- package/esm/stripe.core.js +2 -4
- package/esm/utils.js +24 -3
- package/package.json +12 -3
- package/types/AccountLinksResource.d.ts +1 -5
- package/types/AccountSessions.d.ts +0 -45
- package/types/AccountSessionsResource.d.ts +0 -300
- package/types/Accounts.d.ts +1 -212
- package/types/AccountsResource.d.ts +2 -546
- package/types/Billing/CreditBalanceSummary.d.ts +0 -5
- package/types/Billing/CreditBalanceSummaryResource.d.ts +3 -8
- package/types/Billing/CreditBalanceTransactionsResource.d.ts +4 -12
- package/types/Billing/CreditGrants.d.ts +0 -5
- package/types/Billing/CreditGrantsResource.d.ts +1 -11
- package/types/BillingPortal/Sessions.d.ts +0 -5
- package/types/BillingPortal/SessionsResource.d.ts +4 -12
- package/types/Cards.d.ts +0 -5
- package/types/CashBalances.d.ts +0 -5
- package/types/Charges.d.ts +0 -166
- package/types/ChargesResource.d.ts +0 -1314
- package/types/Checkout/Sessions.d.ts +13 -306
- package/types/Checkout/SessionsResource.d.ts +1 -333
- package/types/ConfirmationTokens.d.ts +0 -120
- package/types/Coupons.d.ts +0 -33
- package/types/CouponsResource.d.ts +0 -21
- package/types/CreditNoteLineItems.d.ts +0 -17
- package/types/CreditNotes.d.ts +0 -9
- package/types/CreditNotesResource.d.ts +0 -5
- package/types/CustomerBalanceTransactions.d.ts +0 -2
- package/types/CustomerCashBalanceTransactions.d.ts +0 -2
- package/types/CustomerSessions.d.ts +0 -5
- package/types/CustomerSessionsResource.d.ts +1 -6
- package/types/Customers.d.ts +0 -2
- package/types/CustomersResource.d.ts +23 -11
- package/types/Discounts.d.ts +0 -10
- package/types/Errors.d.ts +2 -69
- package/types/EventTypes.d.ts +0 -698
- package/types/Events.d.ts +1 -100
- package/types/FinancialConnections/Accounts.d.ts +1 -31
- package/types/FinancialConnections/AccountsResource.d.ts +3 -40
- package/types/FinancialConnections/Sessions.d.ts +1 -51
- package/types/FinancialConnections/SessionsResource.d.ts +1 -43
- package/types/Identity/VerificationSessions.d.ts +0 -5
- package/types/Identity/VerificationSessionsResource.d.ts +0 -7
- package/types/InvoiceItems.d.ts +0 -10
- package/types/InvoiceItemsResource.d.ts +6 -117
- package/types/InvoiceLineItems.d.ts +2 -46
- package/types/InvoicePayments.d.ts +0 -5
- package/types/InvoicePaymentsResource.d.ts +74 -0
- package/types/Invoices.d.ts +15 -138
- package/types/InvoicesResource.d.ts +15 -1471
- package/types/Issuing/CardholdersResource.d.ts +1 -2
- package/types/Issuing/Transactions.d.ts +0 -5
- package/types/Issuing/TransactionsResource.d.ts +0 -5
- package/types/LineItems.d.ts +0 -49
- package/types/Mandates.d.ts +0 -77
- package/types/PaymentIntents.d.ts +2 -728
- package/types/PaymentIntentsResource.d.ts +3955 -8479
- package/types/PaymentLinks.d.ts +0 -6
- package/types/PaymentLinksResource.d.ts +0 -12
- package/types/PaymentMethodConfigurations.d.ts +0 -180
- package/types/PaymentMethodConfigurationsResource.d.ts +0 -250
- package/types/PaymentMethods.d.ts +0 -120
- package/types/PaymentMethodsResource.d.ts +2 -167
- package/types/Payouts.d.ts +0 -5
- package/types/PayoutsResource.d.ts +0 -5
- package/types/Prices.d.ts +0 -22
- package/types/PricesResource.d.ts +0 -22
- package/types/Products.d.ts +0 -39
- package/types/ProductsResource.d.ts +0 -36
- package/types/PromotionCodes.d.ts +0 -5
- package/types/PromotionCodesResource.d.ts +0 -10
- package/types/Quotes.d.ts +2 -597
- package/types/QuotesResource.d.ts +224 -2571
- package/types/Refunds.d.ts +0 -14
- package/types/SetupAttempts.d.ts +1 -50
- package/types/SetupIntents.d.ts +2 -121
- package/types/SetupIntentsResource.d.ts +3 -730
- package/types/Sources.d.ts +0 -29
- package/types/SubscriptionItems.d.ts +0 -23
- package/types/SubscriptionItemsResource.d.ts +0 -109
- package/types/SubscriptionSchedules.d.ts +0 -205
- package/types/SubscriptionSchedulesResource.d.ts +8 -1236
- package/types/Subscriptions.d.ts +1 -97
- package/types/SubscriptionsResource.d.ts +9 -391
- package/types/Tax/Calculations.d.ts +11 -1
- package/types/Tax/CalculationsResource.d.ts +11 -1
- package/types/Tax/Registrations.d.ts +27 -0
- package/types/Tax/RegistrationsResource.d.ts +36 -0
- package/types/Tax/Transactions.d.ts +11 -1
- package/types/TaxIds.d.ts +11 -11
- package/types/TaxIdsResource.d.ts +11 -11
- package/types/Terminal/Readers.d.ts +0 -300
- package/types/Terminal/ReadersResource.d.ts +0 -220
- package/types/TestHelpers/ConfirmationTokensResource.d.ts +7 -127
- package/types/TestHelpers/Terminal/ReadersResource.d.ts +0 -53
- package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +0 -26
- package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +0 -26
- package/types/Transfers.d.ts +0 -5
- package/types/TransfersResource.d.ts +0 -5
- package/types/Treasury/FinancialAccountFeatures.d.ts +0 -7
- package/types/Treasury/FinancialAccounts.d.ts +0 -5
- package/types/Treasury/FinancialAccountsResource.d.ts +0 -37
- package/types/Treasury/OutboundPaymentsResource.d.ts +0 -5
- package/types/Treasury/OutboundTransfers.d.ts +0 -26
- package/types/Treasury/OutboundTransfersResource.d.ts +0 -26
- package/types/Treasury/ReceivedCredits.d.ts +0 -26
- package/types/Treasury/ReceivedDebits.d.ts +0 -31
- package/types/V2/EventTypes.d.ts +7 -677
- package/types/WebhookEndpointsResource.d.ts +4 -85
- package/types/index.d.ts +5 -146
- package/types/lib.d.ts +1 -11
- package/types/test/typescriptTest.ts +3 -3
- package/cjs/resources/AccountNotices.js +0 -21
- package/cjs/resources/BalanceSettings.js +0 -10
- package/cjs/resources/Capital/FinancingOffers.js +0 -21
- package/cjs/resources/Capital/FinancingSummary.js +0 -12
- package/cjs/resources/Capital/FinancingTransactions.js +0 -17
- package/cjs/resources/ExternalAccounts.js +0 -23
- package/cjs/resources/FinancialConnections/Institutions.js +0 -17
- package/cjs/resources/FxQuotes.js +0 -15
- package/cjs/resources/GiftCards/Cards.js +0 -23
- package/cjs/resources/GiftCards/Transactions.js +0 -33
- package/cjs/resources/Issuing/CreditUnderwritingRecords.js +0 -33
- package/cjs/resources/Issuing/DisputeSettlementDetails.js +0 -17
- package/cjs/resources/Issuing/FraudLiabilityDebits.js +0 -17
- package/cjs/resources/Margins.js +0 -22
- package/cjs/resources/Orders.js +0 -24
- package/cjs/resources/PaymentRecords.js +0 -29
- package/cjs/resources/Privacy/RedactionJobs.js +0 -46
- package/cjs/resources/Tax/Associations.js +0 -9
- package/cjs/resources/Tax/Forms.js +0 -20
- package/cjs/resources/Terminal/ReaderCollectedData.js +0 -12
- package/cjs/resources/V2/Core/AccountLinks.js +0 -9
- package/cjs/resources/V2/Core/Accounts/Persons.js +0 -29
- package/cjs/resources/V2/Core/Accounts.js +0 -25
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.js +0 -28
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.js +0 -24
- package/cjs/resources/V2/MoneyManagement/Adjustments.js +0 -17
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +0 -17
- package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js +0 -21
- package/cjs/resources/V2/MoneyManagement/InboundTransfers.js +0 -21
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -12
- package/cjs/resources/V2/MoneyManagement/OutboundPayments.js +0 -25
- package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -29
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js +0 -25
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.js +0 -25
- package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +0 -12
- package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js +0 -17
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js +0 -17
- package/cjs/resources/V2/MoneyManagement/TransactionEntries.js +0 -17
- package/cjs/resources/V2/MoneyManagement/Transactions.js +0 -17
- package/cjs/resources/V2/TestHelpers/FinancialAddresses.js +0 -16
- package/esm/resources/AccountNotices.js +0 -18
- package/esm/resources/BalanceSettings.js +0 -7
- package/esm/resources/Capital/FinancingOffers.js +0 -18
- package/esm/resources/Capital/FinancingSummary.js +0 -9
- package/esm/resources/Capital/FinancingTransactions.js +0 -14
- package/esm/resources/ExternalAccounts.js +0 -20
- package/esm/resources/FinancialConnections/Institutions.js +0 -14
- package/esm/resources/FxQuotes.js +0 -12
- package/esm/resources/GiftCards/Cards.js +0 -20
- package/esm/resources/GiftCards/Transactions.js +0 -30
- package/esm/resources/Issuing/CreditUnderwritingRecords.js +0 -30
- package/esm/resources/Issuing/DisputeSettlementDetails.js +0 -14
- package/esm/resources/Issuing/FraudLiabilityDebits.js +0 -14
- package/esm/resources/Margins.js +0 -19
- package/esm/resources/Orders.js +0 -21
- package/esm/resources/PaymentRecords.js +0 -26
- package/esm/resources/Privacy/RedactionJobs.js +0 -43
- package/esm/resources/Tax/Associations.js +0 -6
- package/esm/resources/Tax/Forms.js +0 -17
- package/esm/resources/Terminal/ReaderCollectedData.js +0 -9
- package/esm/resources/V2/Core/AccountLinks.js +0 -6
- package/esm/resources/V2/Core/Accounts/Persons.js +0 -26
- package/esm/resources/V2/Core/Accounts.js +0 -22
- package/esm/resources/V2/Core/Vault/GbBankAccounts.js +0 -25
- package/esm/resources/V2/Core/Vault/UsBankAccounts.js +0 -21
- package/esm/resources/V2/MoneyManagement/Adjustments.js +0 -14
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +0 -14
- package/esm/resources/V2/MoneyManagement/FinancialAddresses.js +0 -18
- package/esm/resources/V2/MoneyManagement/InboundTransfers.js +0 -18
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -9
- package/esm/resources/V2/MoneyManagement/OutboundPayments.js +0 -22
- package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -26
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.js +0 -22
- package/esm/resources/V2/MoneyManagement/PayoutMethods.js +0 -22
- package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +0 -9
- package/esm/resources/V2/MoneyManagement/ReceivedCredits.js +0 -14
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.js +0 -14
- package/esm/resources/V2/MoneyManagement/TransactionEntries.js +0 -14
- package/esm/resources/V2/MoneyManagement/Transactions.js +0 -14
- package/esm/resources/V2/TestHelpers/FinancialAddresses.js +0 -13
- package/types/AccountNotices.d.ts +0 -113
- package/types/AccountNoticesResource.d.ts +0 -98
- package/types/BalanceSettings.d.ts +0 -89
- package/types/BalanceSettingsResource.d.ts +0 -108
- package/types/Billing/MeterErrorReports.d.ts +0 -106
- package/types/Capital/FinancingOffers.d.ts +0 -188
- package/types/Capital/FinancingOffersResource.d.ts +0 -97
- package/types/Capital/FinancingSummary.d.ts +0 -106
- package/types/Capital/FinancingSummaryResource.d.ts +0 -27
- package/types/Capital/FinancingTransactions.d.ts +0 -135
- package/types/Capital/FinancingTransactionsResource.d.ts +0 -68
- package/types/ExternalAccountsResource.d.ts +0 -304
- package/types/FinancialConnections/AccountInferredBalances.d.ts +0 -38
- package/types/FinancialConnections/Institutions.d.ts +0 -93
- package/types/FinancialConnections/InstitutionsResource.d.ts +0 -47
- package/types/FxQuotes.d.ts +0 -153
- package/types/FxQuotesResource.d.ts +0 -130
- package/types/GiftCards/Cards.d.ts +0 -118
- package/types/GiftCards/CardsResource.d.ts +0 -159
- package/types/GiftCards/Transactions.d.ts +0 -129
- package/types/GiftCards/TransactionsResource.d.ts +0 -201
- package/types/Issuing/CreditUnderwritingRecords.d.ts +0 -451
- package/types/Issuing/CreditUnderwritingRecordsResource.d.ts +0 -1032
- package/types/Issuing/DisputeSettlementDetails.d.ts +0 -85
- package/types/Issuing/DisputeSettlementDetailsResource.d.ts +0 -52
- package/types/Issuing/FraudLiabilityDebits.d.ts +0 -52
- package/types/Issuing/FraudLiabilityDebitsResource.d.ts +0 -52
- package/types/Issuing/Settlements.d.ts +0 -113
- package/types/Margins.d.ts +0 -56
- package/types/MarginsResource.d.ts +0 -114
- package/types/Orders.d.ts +0 -1189
- package/types/OrdersResource.d.ts +0 -2981
- package/types/PaymentAttemptRecords.d.ts +0 -2112
- package/types/PaymentAttemptRecordsResource.d.ts +0 -47
- package/types/PaymentIntentAmountDetailsLineItems.d.ts +0 -110
- package/types/PaymentRecords.d.ts +0 -2105
- package/types/PaymentRecordsResource.d.ts +0 -455
- package/types/Privacy/RedactionJobRootObjects.d.ts +0 -35
- package/types/Privacy/RedactionJobValidationErrors.d.ts +0 -30
- package/types/Privacy/RedactionJobs.d.ts +0 -43
- package/types/Privacy/RedactionJobsResource.d.ts +0 -240
- package/types/QuoteLines.d.ts +0 -634
- package/types/QuotePreviewInvoices.d.ts +0 -1687
- package/types/QuotePreviewSubscriptionSchedules.d.ts +0 -778
- package/types/Tax/Associations.d.ts +0 -126
- package/types/Tax/AssociationsResource.d.ts +0 -29
- package/types/Tax/Forms.d.ts +0 -220
- package/types/Tax/FormsResource.d.ts +0 -107
- package/types/Terminal/ReaderCollectedData.d.ts +0 -51
- package/types/Terminal/ReaderCollectedDataResource.d.ts +0 -29
- package/types/V2/Core/AccountLinks.d.ts +0 -101
- package/types/V2/Core/AccountLinksResource.d.ts +0 -90
- package/types/V2/Core/Accounts/PersonsResource.d.ts +0 -3760
- package/types/V2/Core/Accounts.d.ts +0 -8057
- package/types/V2/Core/AccountsResource.d.ts +0 -10184
- package/types/V2/Core/Persons.d.ts +0 -1857
- package/types/V2/Core/Vault/GbBankAccounts.d.ts +0 -155
- package/types/V2/Core/Vault/GbBankAccountsResource.d.ts +0 -172
- package/types/V2/Core/Vault/UsBankAccounts.d.ts +0 -65
- package/types/V2/Core/Vault/UsBankAccountsResource.d.ts +0 -123
- package/types/V2/FinancialAddressCreditSimulations.d.ts +0 -22
- package/types/V2/FinancialAddressGeneratedMicrodeposits.d.ts +0 -27
- package/types/V2/MoneyManagement/Adjustments.d.ts +0 -105
- package/types/V2/MoneyManagement/AdjustmentsResource.d.ts +0 -83
- package/types/V2/MoneyManagement/FinancialAccounts.d.ts +0 -540
- package/types/V2/MoneyManagement/FinancialAccountsResource.d.ts +0 -52
- package/types/V2/MoneyManagement/FinancialAddresses.d.ts +0 -308
- package/types/V2/MoneyManagement/FinancialAddressesResource.d.ts +0 -287
- package/types/V2/MoneyManagement/InboundTransfers.d.ts +0 -201
- package/types/V2/MoneyManagement/InboundTransfersResource.d.ts +0 -144
- package/types/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +0 -141
- package/types/V2/MoneyManagement/OutboundPaymentQuotesResource.d.ts +0 -93
- package/types/V2/MoneyManagement/OutboundPayments.d.ts +0 -273
- package/types/V2/MoneyManagement/OutboundPaymentsResource.d.ts +0 -242
- package/types/V2/MoneyManagement/OutboundSetupIntents.d.ts +0 -92
- package/types/V2/MoneyManagement/OutboundSetupIntentsResource.d.ts +0 -296
- package/types/V2/MoneyManagement/OutboundTransfers.d.ts +0 -246
- package/types/V2/MoneyManagement/OutboundTransfersResource.d.ts +0 -207
- package/types/V2/MoneyManagement/PayoutMethods.d.ts +0 -146
- package/types/V2/MoneyManagement/PayoutMethodsBankAccountSpecResource.d.ts +0 -41
- package/types/V2/MoneyManagement/PayoutMethodsBankAccountSpecs.d.ts +0 -82
- package/types/V2/MoneyManagement/PayoutMethodsResource.d.ts +0 -113
- package/types/V2/MoneyManagement/ReceivedCredits.d.ts +0 -280
- package/types/V2/MoneyManagement/ReceivedCreditsResource.d.ts +0 -78
- package/types/V2/MoneyManagement/ReceivedDebits.d.ts +0 -219
- package/types/V2/MoneyManagement/ReceivedDebitsResource.d.ts +0 -48
- package/types/V2/MoneyManagement/TransactionEntries.d.ts +0 -151
- package/types/V2/MoneyManagement/TransactionEntriesResource.d.ts +0 -82
- package/types/V2/MoneyManagement/Transactions.d.ts +0 -166
- package/types/V2/MoneyManagement/TransactionsResource.d.ts +0 -83
- package/types/V2/TestHelpers/FinancialAddressesResource.d.ts +0 -66
|
@@ -34,13 +34,6 @@ declare module 'stripe' {
|
|
|
34
34
|
*/
|
|
35
35
|
customer?: string;
|
|
36
36
|
|
|
37
|
-
/**
|
|
38
|
-
* ID of the Account this SetupIntent belongs to, if one exists.
|
|
39
|
-
*
|
|
40
|
-
* If present, the SetupIntent's payment method will be attached to the Account on successful setup. Payment methods attached to other Accounts cannot be used with this SetupIntent.
|
|
41
|
-
*/
|
|
42
|
-
customer_account?: string;
|
|
43
|
-
|
|
44
37
|
/**
|
|
45
38
|
* An arbitrary string attached to the object. Often useful for displaying to users.
|
|
46
39
|
*/
|
|
@@ -288,21 +281,11 @@ declare module 'stripe' {
|
|
|
288
281
|
*/
|
|
289
282
|
giropay?: PaymentMethodData.Giropay;
|
|
290
283
|
|
|
291
|
-
/**
|
|
292
|
-
* If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
|
|
293
|
-
*/
|
|
294
|
-
gopay?: PaymentMethodData.Gopay;
|
|
295
|
-
|
|
296
284
|
/**
|
|
297
285
|
* If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
|
|
298
286
|
*/
|
|
299
287
|
grabpay?: PaymentMethodData.Grabpay;
|
|
300
288
|
|
|
301
|
-
/**
|
|
302
|
-
* If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
|
|
303
|
-
*/
|
|
304
|
-
id_bank_transfer?: PaymentMethodData.IdBankTransfer;
|
|
305
|
-
|
|
306
289
|
/**
|
|
307
290
|
* If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
|
|
308
291
|
*/
|
|
@@ -338,11 +321,6 @@ declare module 'stripe' {
|
|
|
338
321
|
*/
|
|
339
322
|
link?: PaymentMethodData.Link;
|
|
340
323
|
|
|
341
|
-
/**
|
|
342
|
-
* If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method.
|
|
343
|
-
*/
|
|
344
|
-
mb_way?: PaymentMethodData.MbWay;
|
|
345
|
-
|
|
346
324
|
/**
|
|
347
325
|
* 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`.
|
|
348
326
|
*/
|
|
@@ -398,11 +376,6 @@ declare module 'stripe' {
|
|
|
398
376
|
*/
|
|
399
377
|
paypal?: PaymentMethodData.Paypal;
|
|
400
378
|
|
|
401
|
-
/**
|
|
402
|
-
* If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
|
|
403
|
-
*/
|
|
404
|
-
payto?: PaymentMethodData.Payto;
|
|
405
|
-
|
|
406
379
|
/**
|
|
407
380
|
* If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
|
|
408
381
|
*/
|
|
@@ -413,21 +386,11 @@ declare module 'stripe' {
|
|
|
413
386
|
*/
|
|
414
387
|
promptpay?: PaymentMethodData.Promptpay;
|
|
415
388
|
|
|
416
|
-
/**
|
|
417
|
-
* If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
|
|
418
|
-
*/
|
|
419
|
-
qris?: PaymentMethodData.Qris;
|
|
420
|
-
|
|
421
389
|
/**
|
|
422
390
|
* Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
|
|
423
391
|
*/
|
|
424
392
|
radar_options?: PaymentMethodData.RadarOptions;
|
|
425
393
|
|
|
426
|
-
/**
|
|
427
|
-
* If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
|
|
428
|
-
*/
|
|
429
|
-
rechnung?: PaymentMethodData.Rechnung;
|
|
430
|
-
|
|
431
394
|
/**
|
|
432
395
|
* If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
|
|
433
396
|
*/
|
|
@@ -448,21 +411,11 @@ declare module 'stripe' {
|
|
|
448
411
|
*/
|
|
449
412
|
sepa_debit?: PaymentMethodData.SepaDebit;
|
|
450
413
|
|
|
451
|
-
/**
|
|
452
|
-
* If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
|
|
453
|
-
*/
|
|
454
|
-
shopeepay?: PaymentMethodData.Shopeepay;
|
|
455
|
-
|
|
456
414
|
/**
|
|
457
415
|
* If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
|
|
458
416
|
*/
|
|
459
417
|
sofort?: PaymentMethodData.Sofort;
|
|
460
418
|
|
|
461
|
-
/**
|
|
462
|
-
* This hash contains details about the Stripe balance payment method.
|
|
463
|
-
*/
|
|
464
|
-
stripe_balance?: PaymentMethodData.StripeBalance;
|
|
465
|
-
|
|
466
419
|
/**
|
|
467
420
|
* If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
|
|
468
421
|
*/
|
|
@@ -673,21 +626,8 @@ declare module 'stripe' {
|
|
|
673
626
|
|
|
674
627
|
interface Giropay {}
|
|
675
628
|
|
|
676
|
-
interface Gopay {}
|
|
677
|
-
|
|
678
629
|
interface Grabpay {}
|
|
679
630
|
|
|
680
|
-
interface IdBankTransfer {
|
|
681
|
-
/**
|
|
682
|
-
* Bank where the account is held.
|
|
683
|
-
*/
|
|
684
|
-
bank?: IdBankTransfer.Bank;
|
|
685
|
-
}
|
|
686
|
-
|
|
687
|
-
namespace IdBankTransfer {
|
|
688
|
-
type Bank = 'bca' | 'bni' | 'bri' | 'cimb' | 'permata';
|
|
689
|
-
}
|
|
690
|
-
|
|
691
631
|
interface Ideal {
|
|
692
632
|
/**
|
|
693
633
|
* The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
|
@@ -751,8 +691,6 @@ declare module 'stripe' {
|
|
|
751
691
|
|
|
752
692
|
interface Link {}
|
|
753
693
|
|
|
754
|
-
interface MbWay {}
|
|
755
|
-
|
|
756
694
|
interface Mobilepay {}
|
|
757
695
|
|
|
758
696
|
interface Multibanco {}
|
|
@@ -844,29 +782,10 @@ declare module 'stripe' {
|
|
|
844
782
|
|
|
845
783
|
interface Paypal {}
|
|
846
784
|
|
|
847
|
-
interface Payto {
|
|
848
|
-
/**
|
|
849
|
-
* The account number for the bank account.
|
|
850
|
-
*/
|
|
851
|
-
account_number?: string;
|
|
852
|
-
|
|
853
|
-
/**
|
|
854
|
-
* Bank-State-Branch number of the bank account.
|
|
855
|
-
*/
|
|
856
|
-
bsb_number?: string;
|
|
857
|
-
|
|
858
|
-
/**
|
|
859
|
-
* The PayID alias for the bank account.
|
|
860
|
-
*/
|
|
861
|
-
pay_id?: string;
|
|
862
|
-
}
|
|
863
|
-
|
|
864
785
|
interface Pix {}
|
|
865
786
|
|
|
866
787
|
interface Promptpay {}
|
|
867
788
|
|
|
868
|
-
interface Qris {}
|
|
869
|
-
|
|
870
789
|
interface RadarOptions {
|
|
871
790
|
/**
|
|
872
791
|
* 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.
|
|
@@ -874,32 +793,6 @@ declare module 'stripe' {
|
|
|
874
793
|
session?: string;
|
|
875
794
|
}
|
|
876
795
|
|
|
877
|
-
interface Rechnung {
|
|
878
|
-
/**
|
|
879
|
-
* Customer's date of birth
|
|
880
|
-
*/
|
|
881
|
-
dob: Rechnung.Dob;
|
|
882
|
-
}
|
|
883
|
-
|
|
884
|
-
namespace Rechnung {
|
|
885
|
-
interface Dob {
|
|
886
|
-
/**
|
|
887
|
-
* The day of birth, between 1 and 31.
|
|
888
|
-
*/
|
|
889
|
-
day: number;
|
|
890
|
-
|
|
891
|
-
/**
|
|
892
|
-
* The month of birth, between 1 and 12.
|
|
893
|
-
*/
|
|
894
|
-
month: number;
|
|
895
|
-
|
|
896
|
-
/**
|
|
897
|
-
* The four-digit year of birth.
|
|
898
|
-
*/
|
|
899
|
-
year: number;
|
|
900
|
-
}
|
|
901
|
-
}
|
|
902
|
-
|
|
903
796
|
interface RevolutPay {}
|
|
904
797
|
|
|
905
798
|
interface SamsungPay {}
|
|
@@ -913,8 +806,6 @@ declare module 'stripe' {
|
|
|
913
806
|
iban: string;
|
|
914
807
|
}
|
|
915
808
|
|
|
916
|
-
interface Shopeepay {}
|
|
917
|
-
|
|
918
809
|
interface Sofort {
|
|
919
810
|
/**
|
|
920
811
|
* Two-letter ISO code representing the country the bank account is located in.
|
|
@@ -926,22 +817,6 @@ declare module 'stripe' {
|
|
|
926
817
|
type Country = 'AT' | 'BE' | 'DE' | 'ES' | 'IT' | 'NL';
|
|
927
818
|
}
|
|
928
819
|
|
|
929
|
-
interface StripeBalance {
|
|
930
|
-
/**
|
|
931
|
-
* The connected account ID whose Stripe balance to use as the source of payment
|
|
932
|
-
*/
|
|
933
|
-
account?: string;
|
|
934
|
-
|
|
935
|
-
/**
|
|
936
|
-
* The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
|
|
937
|
-
*/
|
|
938
|
-
source_type?: StripeBalance.SourceType;
|
|
939
|
-
}
|
|
940
|
-
|
|
941
|
-
namespace StripeBalance {
|
|
942
|
-
type SourceType = 'bank_account' | 'card' | 'fpx';
|
|
943
|
-
}
|
|
944
|
-
|
|
945
820
|
interface Swish {}
|
|
946
821
|
|
|
947
822
|
interface Twint {}
|
|
@@ -964,16 +839,13 @@ declare module 'stripe' {
|
|
|
964
839
|
| 'eps'
|
|
965
840
|
| 'fpx'
|
|
966
841
|
| 'giropay'
|
|
967
|
-
| 'gopay'
|
|
968
842
|
| 'grabpay'
|
|
969
|
-
| 'id_bank_transfer'
|
|
970
843
|
| 'ideal'
|
|
971
844
|
| 'kakao_pay'
|
|
972
845
|
| 'klarna'
|
|
973
846
|
| 'konbini'
|
|
974
847
|
| 'kr_card'
|
|
975
848
|
| 'link'
|
|
976
|
-
| 'mb_way'
|
|
977
849
|
| 'mobilepay'
|
|
978
850
|
| 'multibanco'
|
|
979
851
|
| 'naver_pay'
|
|
@@ -984,18 +856,13 @@ declare module 'stripe' {
|
|
|
984
856
|
| 'payco'
|
|
985
857
|
| 'paynow'
|
|
986
858
|
| 'paypal'
|
|
987
|
-
| 'payto'
|
|
988
859
|
| 'pix'
|
|
989
860
|
| 'promptpay'
|
|
990
|
-
| 'qris'
|
|
991
|
-
| 'rechnung'
|
|
992
861
|
| 'revolut_pay'
|
|
993
862
|
| 'samsung_pay'
|
|
994
863
|
| 'satispay'
|
|
995
864
|
| 'sepa_debit'
|
|
996
|
-
| 'shopeepay'
|
|
997
865
|
| 'sofort'
|
|
998
|
-
| 'stripe_balance'
|
|
999
866
|
| 'swish'
|
|
1000
867
|
| 'twint'
|
|
1001
868
|
| 'us_bank_account'
|
|
@@ -1076,11 +943,6 @@ declare module 'stripe' {
|
|
|
1076
943
|
*/
|
|
1077
944
|
paypal?: PaymentMethodOptions.Paypal;
|
|
1078
945
|
|
|
1079
|
-
/**
|
|
1080
|
-
* If this is a `payto` SetupIntent, this sub-hash contains details about the PayTo payment method options.
|
|
1081
|
-
*/
|
|
1082
|
-
payto?: PaymentMethodOptions.Payto;
|
|
1083
|
-
|
|
1084
946
|
/**
|
|
1085
947
|
* If this is a `sepa_debit` SetupIntent, this sub-hash contains details about the SEPA Debit payment method options.
|
|
1086
948
|
*/
|
|
@@ -1382,86 +1244,6 @@ declare module 'stripe' {
|
|
|
1382
1244
|
* The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
|
|
1383
1245
|
*/
|
|
1384
1246
|
billing_agreement_id?: string;
|
|
1385
|
-
|
|
1386
|
-
currency?: string;
|
|
1387
|
-
|
|
1388
|
-
/**
|
|
1389
|
-
* 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.
|
|
1390
|
-
*/
|
|
1391
|
-
subsellers?: Array<string>;
|
|
1392
|
-
}
|
|
1393
|
-
|
|
1394
|
-
interface Payto {
|
|
1395
|
-
/**
|
|
1396
|
-
* Additional fields for Mandate creation.
|
|
1397
|
-
*/
|
|
1398
|
-
mandate_options?: Payto.MandateOptions;
|
|
1399
|
-
}
|
|
1400
|
-
|
|
1401
|
-
namespace Payto {
|
|
1402
|
-
interface MandateOptions {
|
|
1403
|
-
/**
|
|
1404
|
-
* Amount that will be collected. It is required when `amount_type` is `fixed`.
|
|
1405
|
-
*/
|
|
1406
|
-
amount?: number;
|
|
1407
|
-
|
|
1408
|
-
/**
|
|
1409
|
-
* 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.
|
|
1410
|
-
*/
|
|
1411
|
-
amount_type?: MandateOptions.AmountType;
|
|
1412
|
-
|
|
1413
|
-
/**
|
|
1414
|
-
* Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
|
|
1415
|
-
*/
|
|
1416
|
-
end_date?: string;
|
|
1417
|
-
|
|
1418
|
-
/**
|
|
1419
|
-
* The periodicity at which payments will be collected.
|
|
1420
|
-
*/
|
|
1421
|
-
payment_schedule?: MandateOptions.PaymentSchedule;
|
|
1422
|
-
|
|
1423
|
-
/**
|
|
1424
|
-
* 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.
|
|
1425
|
-
*/
|
|
1426
|
-
payments_per_period?: number;
|
|
1427
|
-
|
|
1428
|
-
/**
|
|
1429
|
-
* The purpose for which payments are made. Defaults to retail.
|
|
1430
|
-
*/
|
|
1431
|
-
purpose?: MandateOptions.Purpose;
|
|
1432
|
-
|
|
1433
|
-
/**
|
|
1434
|
-
* Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
|
|
1435
|
-
*/
|
|
1436
|
-
start_date?: string;
|
|
1437
|
-
}
|
|
1438
|
-
|
|
1439
|
-
namespace MandateOptions {
|
|
1440
|
-
type AmountType = 'fixed' | 'maximum';
|
|
1441
|
-
|
|
1442
|
-
type PaymentSchedule =
|
|
1443
|
-
| 'adhoc'
|
|
1444
|
-
| 'annual'
|
|
1445
|
-
| 'daily'
|
|
1446
|
-
| 'fortnightly'
|
|
1447
|
-
| 'monthly'
|
|
1448
|
-
| 'quarterly'
|
|
1449
|
-
| 'semi_annual'
|
|
1450
|
-
| 'weekly';
|
|
1451
|
-
|
|
1452
|
-
type Purpose =
|
|
1453
|
-
| 'dependant_support'
|
|
1454
|
-
| 'government'
|
|
1455
|
-
| 'loan'
|
|
1456
|
-
| 'mortgage'
|
|
1457
|
-
| 'other'
|
|
1458
|
-
| 'pension'
|
|
1459
|
-
| 'personal'
|
|
1460
|
-
| 'retail'
|
|
1461
|
-
| 'salary'
|
|
1462
|
-
| 'tax'
|
|
1463
|
-
| 'utility';
|
|
1464
|
-
}
|
|
1465
1247
|
}
|
|
1466
1248
|
|
|
1467
1249
|
interface SepaDebit {
|
|
@@ -1509,11 +1291,6 @@ declare module 'stripe' {
|
|
|
1509
1291
|
*/
|
|
1510
1292
|
filters?: FinancialConnections.Filters;
|
|
1511
1293
|
|
|
1512
|
-
/**
|
|
1513
|
-
* Customize manual entry behavior
|
|
1514
|
-
*/
|
|
1515
|
-
manual_entry?: FinancialConnections.ManualEntry;
|
|
1516
|
-
|
|
1517
1294
|
/**
|
|
1518
1295
|
* The list of permissions to request. If this parameter is passed, the `payment_method` permission must be included. Valid permissions include: `balances`, `ownership`, `payment_method`, and `transactions`.
|
|
1519
1296
|
*/
|
|
@@ -1536,39 +1313,19 @@ declare module 'stripe' {
|
|
|
1536
1313
|
* The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
|
|
1537
1314
|
*/
|
|
1538
1315
|
account_subcategories?: Array<Filters.AccountSubcategory>;
|
|
1539
|
-
|
|
1540
|
-
/**
|
|
1541
|
-
* ID of the institution to use to filter for selectable accounts.
|
|
1542
|
-
*/
|
|
1543
|
-
institution?: string;
|
|
1544
1316
|
}
|
|
1545
1317
|
|
|
1546
1318
|
namespace Filters {
|
|
1547
1319
|
type AccountSubcategory = 'checking' | 'savings';
|
|
1548
1320
|
}
|
|
1549
1321
|
|
|
1550
|
-
interface ManualEntry {
|
|
1551
|
-
/**
|
|
1552
|
-
* Settings for configuring manual entry of account details.
|
|
1553
|
-
*/
|
|
1554
|
-
mode: ManualEntry.Mode;
|
|
1555
|
-
}
|
|
1556
|
-
|
|
1557
|
-
namespace ManualEntry {
|
|
1558
|
-
type Mode = 'automatic' | 'custom';
|
|
1559
|
-
}
|
|
1560
|
-
|
|
1561
1322
|
type Permission =
|
|
1562
1323
|
| 'balances'
|
|
1563
1324
|
| 'ownership'
|
|
1564
1325
|
| 'payment_method'
|
|
1565
1326
|
| 'transactions';
|
|
1566
1327
|
|
|
1567
|
-
type Prefetch =
|
|
1568
|
-
| 'balances'
|
|
1569
|
-
| 'inferred_balances'
|
|
1570
|
-
| 'ownership'
|
|
1571
|
-
| 'transactions';
|
|
1328
|
+
type Prefetch = 'balances' | 'ownership' | 'transactions';
|
|
1572
1329
|
}
|
|
1573
1330
|
|
|
1574
1331
|
interface MandateOptions {
|
|
@@ -1635,13 +1392,6 @@ declare module 'stripe' {
|
|
|
1635
1392
|
*/
|
|
1636
1393
|
customer?: string;
|
|
1637
1394
|
|
|
1638
|
-
/**
|
|
1639
|
-
* ID of the Account this SetupIntent belongs to, if one exists.
|
|
1640
|
-
*
|
|
1641
|
-
* If present, the SetupIntent's payment method will be attached to the Account on successful setup. Payment methods attached to other Accounts cannot be used with this SetupIntent.
|
|
1642
|
-
*/
|
|
1643
|
-
customer_account?: string;
|
|
1644
|
-
|
|
1645
1395
|
/**
|
|
1646
1396
|
* An arbitrary string attached to the object. Often useful for displaying to users.
|
|
1647
1397
|
*/
|
|
@@ -1790,21 +1540,11 @@ declare module 'stripe' {
|
|
|
1790
1540
|
*/
|
|
1791
1541
|
giropay?: PaymentMethodData.Giropay;
|
|
1792
1542
|
|
|
1793
|
-
/**
|
|
1794
|
-
* If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
|
|
1795
|
-
*/
|
|
1796
|
-
gopay?: PaymentMethodData.Gopay;
|
|
1797
|
-
|
|
1798
1543
|
/**
|
|
1799
1544
|
* If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
|
|
1800
1545
|
*/
|
|
1801
1546
|
grabpay?: PaymentMethodData.Grabpay;
|
|
1802
1547
|
|
|
1803
|
-
/**
|
|
1804
|
-
* If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
|
|
1805
|
-
*/
|
|
1806
|
-
id_bank_transfer?: PaymentMethodData.IdBankTransfer;
|
|
1807
|
-
|
|
1808
1548
|
/**
|
|
1809
1549
|
* If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
|
|
1810
1550
|
*/
|
|
@@ -1840,11 +1580,6 @@ declare module 'stripe' {
|
|
|
1840
1580
|
*/
|
|
1841
1581
|
link?: PaymentMethodData.Link;
|
|
1842
1582
|
|
|
1843
|
-
/**
|
|
1844
|
-
* If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method.
|
|
1845
|
-
*/
|
|
1846
|
-
mb_way?: PaymentMethodData.MbWay;
|
|
1847
|
-
|
|
1848
1583
|
/**
|
|
1849
1584
|
* 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`.
|
|
1850
1585
|
*/
|
|
@@ -1900,11 +1635,6 @@ declare module 'stripe' {
|
|
|
1900
1635
|
*/
|
|
1901
1636
|
paypal?: PaymentMethodData.Paypal;
|
|
1902
1637
|
|
|
1903
|
-
/**
|
|
1904
|
-
* If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
|
|
1905
|
-
*/
|
|
1906
|
-
payto?: PaymentMethodData.Payto;
|
|
1907
|
-
|
|
1908
1638
|
/**
|
|
1909
1639
|
* If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
|
|
1910
1640
|
*/
|
|
@@ -1915,21 +1645,11 @@ declare module 'stripe' {
|
|
|
1915
1645
|
*/
|
|
1916
1646
|
promptpay?: PaymentMethodData.Promptpay;
|
|
1917
1647
|
|
|
1918
|
-
/**
|
|
1919
|
-
* If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
|
|
1920
|
-
*/
|
|
1921
|
-
qris?: PaymentMethodData.Qris;
|
|
1922
|
-
|
|
1923
1648
|
/**
|
|
1924
1649
|
* Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
|
|
1925
1650
|
*/
|
|
1926
1651
|
radar_options?: PaymentMethodData.RadarOptions;
|
|
1927
1652
|
|
|
1928
|
-
/**
|
|
1929
|
-
* If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
|
|
1930
|
-
*/
|
|
1931
|
-
rechnung?: PaymentMethodData.Rechnung;
|
|
1932
|
-
|
|
1933
1653
|
/**
|
|
1934
1654
|
* If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
|
|
1935
1655
|
*/
|
|
@@ -1950,21 +1670,11 @@ declare module 'stripe' {
|
|
|
1950
1670
|
*/
|
|
1951
1671
|
sepa_debit?: PaymentMethodData.SepaDebit;
|
|
1952
1672
|
|
|
1953
|
-
/**
|
|
1954
|
-
* If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
|
|
1955
|
-
*/
|
|
1956
|
-
shopeepay?: PaymentMethodData.Shopeepay;
|
|
1957
|
-
|
|
1958
1673
|
/**
|
|
1959
1674
|
* If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
|
|
1960
1675
|
*/
|
|
1961
1676
|
sofort?: PaymentMethodData.Sofort;
|
|
1962
1677
|
|
|
1963
|
-
/**
|
|
1964
|
-
* This hash contains details about the Stripe balance payment method.
|
|
1965
|
-
*/
|
|
1966
|
-
stripe_balance?: PaymentMethodData.StripeBalance;
|
|
1967
|
-
|
|
1968
1678
|
/**
|
|
1969
1679
|
* If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
|
|
1970
1680
|
*/
|
|
@@ -2175,21 +1885,8 @@ declare module 'stripe' {
|
|
|
2175
1885
|
|
|
2176
1886
|
interface Giropay {}
|
|
2177
1887
|
|
|
2178
|
-
interface Gopay {}
|
|
2179
|
-
|
|
2180
1888
|
interface Grabpay {}
|
|
2181
1889
|
|
|
2182
|
-
interface IdBankTransfer {
|
|
2183
|
-
/**
|
|
2184
|
-
* Bank where the account is held.
|
|
2185
|
-
*/
|
|
2186
|
-
bank?: IdBankTransfer.Bank;
|
|
2187
|
-
}
|
|
2188
|
-
|
|
2189
|
-
namespace IdBankTransfer {
|
|
2190
|
-
type Bank = 'bca' | 'bni' | 'bri' | 'cimb' | 'permata';
|
|
2191
|
-
}
|
|
2192
|
-
|
|
2193
1890
|
interface Ideal {
|
|
2194
1891
|
/**
|
|
2195
1892
|
* The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
|
@@ -2253,8 +1950,6 @@ declare module 'stripe' {
|
|
|
2253
1950
|
|
|
2254
1951
|
interface Link {}
|
|
2255
1952
|
|
|
2256
|
-
interface MbWay {}
|
|
2257
|
-
|
|
2258
1953
|
interface Mobilepay {}
|
|
2259
1954
|
|
|
2260
1955
|
interface Multibanco {}
|
|
@@ -2346,29 +2041,10 @@ declare module 'stripe' {
|
|
|
2346
2041
|
|
|
2347
2042
|
interface Paypal {}
|
|
2348
2043
|
|
|
2349
|
-
interface Payto {
|
|
2350
|
-
/**
|
|
2351
|
-
* The account number for the bank account.
|
|
2352
|
-
*/
|
|
2353
|
-
account_number?: string;
|
|
2354
|
-
|
|
2355
|
-
/**
|
|
2356
|
-
* Bank-State-Branch number of the bank account.
|
|
2357
|
-
*/
|
|
2358
|
-
bsb_number?: string;
|
|
2359
|
-
|
|
2360
|
-
/**
|
|
2361
|
-
* The PayID alias for the bank account.
|
|
2362
|
-
*/
|
|
2363
|
-
pay_id?: string;
|
|
2364
|
-
}
|
|
2365
|
-
|
|
2366
2044
|
interface Pix {}
|
|
2367
2045
|
|
|
2368
2046
|
interface Promptpay {}
|
|
2369
2047
|
|
|
2370
|
-
interface Qris {}
|
|
2371
|
-
|
|
2372
2048
|
interface RadarOptions {
|
|
2373
2049
|
/**
|
|
2374
2050
|
* 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.
|
|
@@ -2376,32 +2052,6 @@ declare module 'stripe' {
|
|
|
2376
2052
|
session?: string;
|
|
2377
2053
|
}
|
|
2378
2054
|
|
|
2379
|
-
interface Rechnung {
|
|
2380
|
-
/**
|
|
2381
|
-
* Customer's date of birth
|
|
2382
|
-
*/
|
|
2383
|
-
dob: Rechnung.Dob;
|
|
2384
|
-
}
|
|
2385
|
-
|
|
2386
|
-
namespace Rechnung {
|
|
2387
|
-
interface Dob {
|
|
2388
|
-
/**
|
|
2389
|
-
* The day of birth, between 1 and 31.
|
|
2390
|
-
*/
|
|
2391
|
-
day: number;
|
|
2392
|
-
|
|
2393
|
-
/**
|
|
2394
|
-
* The month of birth, between 1 and 12.
|
|
2395
|
-
*/
|
|
2396
|
-
month: number;
|
|
2397
|
-
|
|
2398
|
-
/**
|
|
2399
|
-
* The four-digit year of birth.
|
|
2400
|
-
*/
|
|
2401
|
-
year: number;
|
|
2402
|
-
}
|
|
2403
|
-
}
|
|
2404
|
-
|
|
2405
2055
|
interface RevolutPay {}
|
|
2406
2056
|
|
|
2407
2057
|
interface SamsungPay {}
|
|
@@ -2415,8 +2065,6 @@ declare module 'stripe' {
|
|
|
2415
2065
|
iban: string;
|
|
2416
2066
|
}
|
|
2417
2067
|
|
|
2418
|
-
interface Shopeepay {}
|
|
2419
|
-
|
|
2420
2068
|
interface Sofort {
|
|
2421
2069
|
/**
|
|
2422
2070
|
* Two-letter ISO code representing the country the bank account is located in.
|
|
@@ -2428,22 +2076,6 @@ declare module 'stripe' {
|
|
|
2428
2076
|
type Country = 'AT' | 'BE' | 'DE' | 'ES' | 'IT' | 'NL';
|
|
2429
2077
|
}
|
|
2430
2078
|
|
|
2431
|
-
interface StripeBalance {
|
|
2432
|
-
/**
|
|
2433
|
-
* The connected account ID whose Stripe balance to use as the source of payment
|
|
2434
|
-
*/
|
|
2435
|
-
account?: string;
|
|
2436
|
-
|
|
2437
|
-
/**
|
|
2438
|
-
* The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
|
|
2439
|
-
*/
|
|
2440
|
-
source_type?: StripeBalance.SourceType;
|
|
2441
|
-
}
|
|
2442
|
-
|
|
2443
|
-
namespace StripeBalance {
|
|
2444
|
-
type SourceType = 'bank_account' | 'card' | 'fpx';
|
|
2445
|
-
}
|
|
2446
|
-
|
|
2447
2079
|
interface Swish {}
|
|
2448
2080
|
|
|
2449
2081
|
interface Twint {}
|
|
@@ -2466,16 +2098,13 @@ declare module 'stripe' {
|
|
|
2466
2098
|
| 'eps'
|
|
2467
2099
|
| 'fpx'
|
|
2468
2100
|
| 'giropay'
|
|
2469
|
-
| 'gopay'
|
|
2470
2101
|
| 'grabpay'
|
|
2471
|
-
| 'id_bank_transfer'
|
|
2472
2102
|
| 'ideal'
|
|
2473
2103
|
| 'kakao_pay'
|
|
2474
2104
|
| 'klarna'
|
|
2475
2105
|
| 'konbini'
|
|
2476
2106
|
| 'kr_card'
|
|
2477
2107
|
| 'link'
|
|
2478
|
-
| 'mb_way'
|
|
2479
2108
|
| 'mobilepay'
|
|
2480
2109
|
| 'multibanco'
|
|
2481
2110
|
| 'naver_pay'
|
|
@@ -2486,18 +2115,13 @@ declare module 'stripe' {
|
|
|
2486
2115
|
| 'payco'
|
|
2487
2116
|
| 'paynow'
|
|
2488
2117
|
| 'paypal'
|
|
2489
|
-
| 'payto'
|
|
2490
2118
|
| 'pix'
|
|
2491
2119
|
| 'promptpay'
|
|
2492
|
-
| 'qris'
|
|
2493
|
-
| 'rechnung'
|
|
2494
2120
|
| 'revolut_pay'
|
|
2495
2121
|
| 'samsung_pay'
|
|
2496
2122
|
| 'satispay'
|
|
2497
2123
|
| 'sepa_debit'
|
|
2498
|
-
| 'shopeepay'
|
|
2499
2124
|
| 'sofort'
|
|
2500
|
-
| 'stripe_balance'
|
|
2501
2125
|
| 'swish'
|
|
2502
2126
|
| 'twint'
|
|
2503
2127
|
| 'us_bank_account'
|
|
@@ -2578,11 +2202,6 @@ declare module 'stripe' {
|
|
|
2578
2202
|
*/
|
|
2579
2203
|
paypal?: PaymentMethodOptions.Paypal;
|
|
2580
2204
|
|
|
2581
|
-
/**
|
|
2582
|
-
* If this is a `payto` SetupIntent, this sub-hash contains details about the PayTo payment method options.
|
|
2583
|
-
*/
|
|
2584
|
-
payto?: PaymentMethodOptions.Payto;
|
|
2585
|
-
|
|
2586
2205
|
/**
|
|
2587
2206
|
* If this is a `sepa_debit` SetupIntent, this sub-hash contains details about the SEPA Debit payment method options.
|
|
2588
2207
|
*/
|
|
@@ -2884,86 +2503,6 @@ declare module 'stripe' {
|
|
|
2884
2503
|
* The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
|
|
2885
2504
|
*/
|
|
2886
2505
|
billing_agreement_id?: string;
|
|
2887
|
-
|
|
2888
|
-
currency?: string;
|
|
2889
|
-
|
|
2890
|
-
/**
|
|
2891
|
-
* 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.
|
|
2892
|
-
*/
|
|
2893
|
-
subsellers?: Array<string>;
|
|
2894
|
-
}
|
|
2895
|
-
|
|
2896
|
-
interface Payto {
|
|
2897
|
-
/**
|
|
2898
|
-
* Additional fields for Mandate creation.
|
|
2899
|
-
*/
|
|
2900
|
-
mandate_options?: Payto.MandateOptions;
|
|
2901
|
-
}
|
|
2902
|
-
|
|
2903
|
-
namespace Payto {
|
|
2904
|
-
interface MandateOptions {
|
|
2905
|
-
/**
|
|
2906
|
-
* Amount that will be collected. It is required when `amount_type` is `fixed`.
|
|
2907
|
-
*/
|
|
2908
|
-
amount?: number;
|
|
2909
|
-
|
|
2910
|
-
/**
|
|
2911
|
-
* 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.
|
|
2912
|
-
*/
|
|
2913
|
-
amount_type?: MandateOptions.AmountType;
|
|
2914
|
-
|
|
2915
|
-
/**
|
|
2916
|
-
* Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
|
|
2917
|
-
*/
|
|
2918
|
-
end_date?: string;
|
|
2919
|
-
|
|
2920
|
-
/**
|
|
2921
|
-
* The periodicity at which payments will be collected.
|
|
2922
|
-
*/
|
|
2923
|
-
payment_schedule?: MandateOptions.PaymentSchedule;
|
|
2924
|
-
|
|
2925
|
-
/**
|
|
2926
|
-
* 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.
|
|
2927
|
-
*/
|
|
2928
|
-
payments_per_period?: number;
|
|
2929
|
-
|
|
2930
|
-
/**
|
|
2931
|
-
* The purpose for which payments are made. Defaults to retail.
|
|
2932
|
-
*/
|
|
2933
|
-
purpose?: MandateOptions.Purpose;
|
|
2934
|
-
|
|
2935
|
-
/**
|
|
2936
|
-
* Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
|
|
2937
|
-
*/
|
|
2938
|
-
start_date?: string;
|
|
2939
|
-
}
|
|
2940
|
-
|
|
2941
|
-
namespace MandateOptions {
|
|
2942
|
-
type AmountType = 'fixed' | 'maximum';
|
|
2943
|
-
|
|
2944
|
-
type PaymentSchedule =
|
|
2945
|
-
| 'adhoc'
|
|
2946
|
-
| 'annual'
|
|
2947
|
-
| 'daily'
|
|
2948
|
-
| 'fortnightly'
|
|
2949
|
-
| 'monthly'
|
|
2950
|
-
| 'quarterly'
|
|
2951
|
-
| 'semi_annual'
|
|
2952
|
-
| 'weekly';
|
|
2953
|
-
|
|
2954
|
-
type Purpose =
|
|
2955
|
-
| 'dependant_support'
|
|
2956
|
-
| 'government'
|
|
2957
|
-
| 'loan'
|
|
2958
|
-
| 'mortgage'
|
|
2959
|
-
| 'other'
|
|
2960
|
-
| 'pension'
|
|
2961
|
-
| 'personal'
|
|
2962
|
-
| 'retail'
|
|
2963
|
-
| 'salary'
|
|
2964
|
-
| 'tax'
|
|
2965
|
-
| 'utility';
|
|
2966
|
-
}
|
|
2967
2506
|
}
|
|
2968
2507
|
|
|
2969
2508
|
interface SepaDebit {
|
|
@@ -3011,11 +2550,6 @@ declare module 'stripe' {
|
|
|
3011
2550
|
*/
|
|
3012
2551
|
filters?: FinancialConnections.Filters;
|
|
3013
2552
|
|
|
3014
|
-
/**
|
|
3015
|
-
* Customize manual entry behavior
|
|
3016
|
-
*/
|
|
3017
|
-
manual_entry?: FinancialConnections.ManualEntry;
|
|
3018
|
-
|
|
3019
2553
|
/**
|
|
3020
2554
|
* The list of permissions to request. If this parameter is passed, the `payment_method` permission must be included. Valid permissions include: `balances`, `ownership`, `payment_method`, and `transactions`.
|
|
3021
2555
|
*/
|
|
@@ -3038,39 +2572,19 @@ declare module 'stripe' {
|
|
|
3038
2572
|
* The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
|
|
3039
2573
|
*/
|
|
3040
2574
|
account_subcategories?: Array<Filters.AccountSubcategory>;
|
|
3041
|
-
|
|
3042
|
-
/**
|
|
3043
|
-
* ID of the institution to use to filter for selectable accounts.
|
|
3044
|
-
*/
|
|
3045
|
-
institution?: string;
|
|
3046
2575
|
}
|
|
3047
2576
|
|
|
3048
2577
|
namespace Filters {
|
|
3049
2578
|
type AccountSubcategory = 'checking' | 'savings';
|
|
3050
2579
|
}
|
|
3051
2580
|
|
|
3052
|
-
interface ManualEntry {
|
|
3053
|
-
/**
|
|
3054
|
-
* Settings for configuring manual entry of account details.
|
|
3055
|
-
*/
|
|
3056
|
-
mode: ManualEntry.Mode;
|
|
3057
|
-
}
|
|
3058
|
-
|
|
3059
|
-
namespace ManualEntry {
|
|
3060
|
-
type Mode = 'automatic' | 'custom';
|
|
3061
|
-
}
|
|
3062
|
-
|
|
3063
2581
|
type Permission =
|
|
3064
2582
|
| 'balances'
|
|
3065
2583
|
| 'ownership'
|
|
3066
2584
|
| 'payment_method'
|
|
3067
2585
|
| 'transactions';
|
|
3068
2586
|
|
|
3069
|
-
type Prefetch =
|
|
3070
|
-
| 'balances'
|
|
3071
|
-
| 'inferred_balances'
|
|
3072
|
-
| 'ownership'
|
|
3073
|
-
| 'transactions';
|
|
2587
|
+
type Prefetch = 'balances' | 'ownership' | 'transactions';
|
|
3074
2588
|
}
|
|
3075
2589
|
|
|
3076
2590
|
interface MandateOptions {
|
|
@@ -3114,11 +2628,6 @@ declare module 'stripe' {
|
|
|
3114
2628
|
*/
|
|
3115
2629
|
customer?: string;
|
|
3116
2630
|
|
|
3117
|
-
/**
|
|
3118
|
-
* Only return SetupIntents for the account specified by this customer ID.
|
|
3119
|
-
*/
|
|
3120
|
-
customer_account?: string;
|
|
3121
|
-
|
|
3122
2631
|
/**
|
|
3123
2632
|
* Specifies which fields in the response should be expanded.
|
|
3124
2633
|
*/
|
|
@@ -3339,21 +2848,11 @@ declare module 'stripe' {
|
|
|
3339
2848
|
*/
|
|
3340
2849
|
giropay?: PaymentMethodData.Giropay;
|
|
3341
2850
|
|
|
3342
|
-
/**
|
|
3343
|
-
* If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
|
|
3344
|
-
*/
|
|
3345
|
-
gopay?: PaymentMethodData.Gopay;
|
|
3346
|
-
|
|
3347
2851
|
/**
|
|
3348
2852
|
* If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
|
|
3349
2853
|
*/
|
|
3350
2854
|
grabpay?: PaymentMethodData.Grabpay;
|
|
3351
2855
|
|
|
3352
|
-
/**
|
|
3353
|
-
* If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
|
|
3354
|
-
*/
|
|
3355
|
-
id_bank_transfer?: PaymentMethodData.IdBankTransfer;
|
|
3356
|
-
|
|
3357
2856
|
/**
|
|
3358
2857
|
* If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
|
|
3359
2858
|
*/
|
|
@@ -3389,11 +2888,6 @@ declare module 'stripe' {
|
|
|
3389
2888
|
*/
|
|
3390
2889
|
link?: PaymentMethodData.Link;
|
|
3391
2890
|
|
|
3392
|
-
/**
|
|
3393
|
-
* If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method.
|
|
3394
|
-
*/
|
|
3395
|
-
mb_way?: PaymentMethodData.MbWay;
|
|
3396
|
-
|
|
3397
2891
|
/**
|
|
3398
2892
|
* 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`.
|
|
3399
2893
|
*/
|
|
@@ -3449,11 +2943,6 @@ declare module 'stripe' {
|
|
|
3449
2943
|
*/
|
|
3450
2944
|
paypal?: PaymentMethodData.Paypal;
|
|
3451
2945
|
|
|
3452
|
-
/**
|
|
3453
|
-
* If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
|
|
3454
|
-
*/
|
|
3455
|
-
payto?: PaymentMethodData.Payto;
|
|
3456
|
-
|
|
3457
2946
|
/**
|
|
3458
2947
|
* If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
|
|
3459
2948
|
*/
|
|
@@ -3464,21 +2953,11 @@ declare module 'stripe' {
|
|
|
3464
2953
|
*/
|
|
3465
2954
|
promptpay?: PaymentMethodData.Promptpay;
|
|
3466
2955
|
|
|
3467
|
-
/**
|
|
3468
|
-
* If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
|
|
3469
|
-
*/
|
|
3470
|
-
qris?: PaymentMethodData.Qris;
|
|
3471
|
-
|
|
3472
2956
|
/**
|
|
3473
2957
|
* Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
|
|
3474
2958
|
*/
|
|
3475
2959
|
radar_options?: PaymentMethodData.RadarOptions;
|
|
3476
2960
|
|
|
3477
|
-
/**
|
|
3478
|
-
* If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
|
|
3479
|
-
*/
|
|
3480
|
-
rechnung?: PaymentMethodData.Rechnung;
|
|
3481
|
-
|
|
3482
2961
|
/**
|
|
3483
2962
|
* If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
|
|
3484
2963
|
*/
|
|
@@ -3499,21 +2978,11 @@ declare module 'stripe' {
|
|
|
3499
2978
|
*/
|
|
3500
2979
|
sepa_debit?: PaymentMethodData.SepaDebit;
|
|
3501
2980
|
|
|
3502
|
-
/**
|
|
3503
|
-
* If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
|
|
3504
|
-
*/
|
|
3505
|
-
shopeepay?: PaymentMethodData.Shopeepay;
|
|
3506
|
-
|
|
3507
2981
|
/**
|
|
3508
2982
|
* If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
|
|
3509
2983
|
*/
|
|
3510
2984
|
sofort?: PaymentMethodData.Sofort;
|
|
3511
2985
|
|
|
3512
|
-
/**
|
|
3513
|
-
* This hash contains details about the Stripe balance payment method.
|
|
3514
|
-
*/
|
|
3515
|
-
stripe_balance?: PaymentMethodData.StripeBalance;
|
|
3516
|
-
|
|
3517
2986
|
/**
|
|
3518
2987
|
* If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
|
|
3519
2988
|
*/
|
|
@@ -3724,21 +3193,8 @@ declare module 'stripe' {
|
|
|
3724
3193
|
|
|
3725
3194
|
interface Giropay {}
|
|
3726
3195
|
|
|
3727
|
-
interface Gopay {}
|
|
3728
|
-
|
|
3729
3196
|
interface Grabpay {}
|
|
3730
3197
|
|
|
3731
|
-
interface IdBankTransfer {
|
|
3732
|
-
/**
|
|
3733
|
-
* Bank where the account is held.
|
|
3734
|
-
*/
|
|
3735
|
-
bank?: IdBankTransfer.Bank;
|
|
3736
|
-
}
|
|
3737
|
-
|
|
3738
|
-
namespace IdBankTransfer {
|
|
3739
|
-
type Bank = 'bca' | 'bni' | 'bri' | 'cimb' | 'permata';
|
|
3740
|
-
}
|
|
3741
|
-
|
|
3742
3198
|
interface Ideal {
|
|
3743
3199
|
/**
|
|
3744
3200
|
* The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
|
@@ -3802,8 +3258,6 @@ declare module 'stripe' {
|
|
|
3802
3258
|
|
|
3803
3259
|
interface Link {}
|
|
3804
3260
|
|
|
3805
|
-
interface MbWay {}
|
|
3806
|
-
|
|
3807
3261
|
interface Mobilepay {}
|
|
3808
3262
|
|
|
3809
3263
|
interface Multibanco {}
|
|
@@ -3895,29 +3349,10 @@ declare module 'stripe' {
|
|
|
3895
3349
|
|
|
3896
3350
|
interface Paypal {}
|
|
3897
3351
|
|
|
3898
|
-
interface Payto {
|
|
3899
|
-
/**
|
|
3900
|
-
* The account number for the bank account.
|
|
3901
|
-
*/
|
|
3902
|
-
account_number?: string;
|
|
3903
|
-
|
|
3904
|
-
/**
|
|
3905
|
-
* Bank-State-Branch number of the bank account.
|
|
3906
|
-
*/
|
|
3907
|
-
bsb_number?: string;
|
|
3908
|
-
|
|
3909
|
-
/**
|
|
3910
|
-
* The PayID alias for the bank account.
|
|
3911
|
-
*/
|
|
3912
|
-
pay_id?: string;
|
|
3913
|
-
}
|
|
3914
|
-
|
|
3915
3352
|
interface Pix {}
|
|
3916
3353
|
|
|
3917
3354
|
interface Promptpay {}
|
|
3918
3355
|
|
|
3919
|
-
interface Qris {}
|
|
3920
|
-
|
|
3921
3356
|
interface RadarOptions {
|
|
3922
3357
|
/**
|
|
3923
3358
|
* 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.
|
|
@@ -3925,32 +3360,6 @@ declare module 'stripe' {
|
|
|
3925
3360
|
session?: string;
|
|
3926
3361
|
}
|
|
3927
3362
|
|
|
3928
|
-
interface Rechnung {
|
|
3929
|
-
/**
|
|
3930
|
-
* Customer's date of birth
|
|
3931
|
-
*/
|
|
3932
|
-
dob: Rechnung.Dob;
|
|
3933
|
-
}
|
|
3934
|
-
|
|
3935
|
-
namespace Rechnung {
|
|
3936
|
-
interface Dob {
|
|
3937
|
-
/**
|
|
3938
|
-
* The day of birth, between 1 and 31.
|
|
3939
|
-
*/
|
|
3940
|
-
day: number;
|
|
3941
|
-
|
|
3942
|
-
/**
|
|
3943
|
-
* The month of birth, between 1 and 12.
|
|
3944
|
-
*/
|
|
3945
|
-
month: number;
|
|
3946
|
-
|
|
3947
|
-
/**
|
|
3948
|
-
* The four-digit year of birth.
|
|
3949
|
-
*/
|
|
3950
|
-
year: number;
|
|
3951
|
-
}
|
|
3952
|
-
}
|
|
3953
|
-
|
|
3954
3363
|
interface RevolutPay {}
|
|
3955
3364
|
|
|
3956
3365
|
interface SamsungPay {}
|
|
@@ -3964,8 +3373,6 @@ declare module 'stripe' {
|
|
|
3964
3373
|
iban: string;
|
|
3965
3374
|
}
|
|
3966
3375
|
|
|
3967
|
-
interface Shopeepay {}
|
|
3968
|
-
|
|
3969
3376
|
interface Sofort {
|
|
3970
3377
|
/**
|
|
3971
3378
|
* Two-letter ISO code representing the country the bank account is located in.
|
|
@@ -3977,22 +3384,6 @@ declare module 'stripe' {
|
|
|
3977
3384
|
type Country = 'AT' | 'BE' | 'DE' | 'ES' | 'IT' | 'NL';
|
|
3978
3385
|
}
|
|
3979
3386
|
|
|
3980
|
-
interface StripeBalance {
|
|
3981
|
-
/**
|
|
3982
|
-
* The connected account ID whose Stripe balance to use as the source of payment
|
|
3983
|
-
*/
|
|
3984
|
-
account?: string;
|
|
3985
|
-
|
|
3986
|
-
/**
|
|
3987
|
-
* The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
|
|
3988
|
-
*/
|
|
3989
|
-
source_type?: StripeBalance.SourceType;
|
|
3990
|
-
}
|
|
3991
|
-
|
|
3992
|
-
namespace StripeBalance {
|
|
3993
|
-
type SourceType = 'bank_account' | 'card' | 'fpx';
|
|
3994
|
-
}
|
|
3995
|
-
|
|
3996
3387
|
interface Swish {}
|
|
3997
3388
|
|
|
3998
3389
|
interface Twint {}
|
|
@@ -4015,16 +3406,13 @@ declare module 'stripe' {
|
|
|
4015
3406
|
| 'eps'
|
|
4016
3407
|
| 'fpx'
|
|
4017
3408
|
| 'giropay'
|
|
4018
|
-
| 'gopay'
|
|
4019
3409
|
| 'grabpay'
|
|
4020
|
-
| 'id_bank_transfer'
|
|
4021
3410
|
| 'ideal'
|
|
4022
3411
|
| 'kakao_pay'
|
|
4023
3412
|
| 'klarna'
|
|
4024
3413
|
| 'konbini'
|
|
4025
3414
|
| 'kr_card'
|
|
4026
3415
|
| 'link'
|
|
4027
|
-
| 'mb_way'
|
|
4028
3416
|
| 'mobilepay'
|
|
4029
3417
|
| 'multibanco'
|
|
4030
3418
|
| 'naver_pay'
|
|
@@ -4035,18 +3423,13 @@ declare module 'stripe' {
|
|
|
4035
3423
|
| 'payco'
|
|
4036
3424
|
| 'paynow'
|
|
4037
3425
|
| 'paypal'
|
|
4038
|
-
| 'payto'
|
|
4039
3426
|
| 'pix'
|
|
4040
3427
|
| 'promptpay'
|
|
4041
|
-
| 'qris'
|
|
4042
|
-
| 'rechnung'
|
|
4043
3428
|
| 'revolut_pay'
|
|
4044
3429
|
| 'samsung_pay'
|
|
4045
3430
|
| 'satispay'
|
|
4046
3431
|
| 'sepa_debit'
|
|
4047
|
-
| 'shopeepay'
|
|
4048
3432
|
| 'sofort'
|
|
4049
|
-
| 'stripe_balance'
|
|
4050
3433
|
| 'swish'
|
|
4051
3434
|
| 'twint'
|
|
4052
3435
|
| 'us_bank_account'
|
|
@@ -4127,11 +3510,6 @@ declare module 'stripe' {
|
|
|
4127
3510
|
*/
|
|
4128
3511
|
paypal?: PaymentMethodOptions.Paypal;
|
|
4129
3512
|
|
|
4130
|
-
/**
|
|
4131
|
-
* If this is a `payto` SetupIntent, this sub-hash contains details about the PayTo payment method options.
|
|
4132
|
-
*/
|
|
4133
|
-
payto?: PaymentMethodOptions.Payto;
|
|
4134
|
-
|
|
4135
3513
|
/**
|
|
4136
3514
|
* If this is a `sepa_debit` SetupIntent, this sub-hash contains details about the SEPA Debit payment method options.
|
|
4137
3515
|
*/
|
|
@@ -4433,86 +3811,6 @@ declare module 'stripe' {
|
|
|
4433
3811
|
* The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
|
|
4434
3812
|
*/
|
|
4435
3813
|
billing_agreement_id?: string;
|
|
4436
|
-
|
|
4437
|
-
currency?: string;
|
|
4438
|
-
|
|
4439
|
-
/**
|
|
4440
|
-
* 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.
|
|
4441
|
-
*/
|
|
4442
|
-
subsellers?: Array<string>;
|
|
4443
|
-
}
|
|
4444
|
-
|
|
4445
|
-
interface Payto {
|
|
4446
|
-
/**
|
|
4447
|
-
* Additional fields for Mandate creation.
|
|
4448
|
-
*/
|
|
4449
|
-
mandate_options?: Payto.MandateOptions;
|
|
4450
|
-
}
|
|
4451
|
-
|
|
4452
|
-
namespace Payto {
|
|
4453
|
-
interface MandateOptions {
|
|
4454
|
-
/**
|
|
4455
|
-
* Amount that will be collected. It is required when `amount_type` is `fixed`.
|
|
4456
|
-
*/
|
|
4457
|
-
amount?: number;
|
|
4458
|
-
|
|
4459
|
-
/**
|
|
4460
|
-
* 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.
|
|
4461
|
-
*/
|
|
4462
|
-
amount_type?: MandateOptions.AmountType;
|
|
4463
|
-
|
|
4464
|
-
/**
|
|
4465
|
-
* Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
|
|
4466
|
-
*/
|
|
4467
|
-
end_date?: string;
|
|
4468
|
-
|
|
4469
|
-
/**
|
|
4470
|
-
* The periodicity at which payments will be collected.
|
|
4471
|
-
*/
|
|
4472
|
-
payment_schedule?: MandateOptions.PaymentSchedule;
|
|
4473
|
-
|
|
4474
|
-
/**
|
|
4475
|
-
* 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.
|
|
4476
|
-
*/
|
|
4477
|
-
payments_per_period?: number;
|
|
4478
|
-
|
|
4479
|
-
/**
|
|
4480
|
-
* The purpose for which payments are made. Defaults to retail.
|
|
4481
|
-
*/
|
|
4482
|
-
purpose?: MandateOptions.Purpose;
|
|
4483
|
-
|
|
4484
|
-
/**
|
|
4485
|
-
* Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
|
|
4486
|
-
*/
|
|
4487
|
-
start_date?: string;
|
|
4488
|
-
}
|
|
4489
|
-
|
|
4490
|
-
namespace MandateOptions {
|
|
4491
|
-
type AmountType = 'fixed' | 'maximum';
|
|
4492
|
-
|
|
4493
|
-
type PaymentSchedule =
|
|
4494
|
-
| 'adhoc'
|
|
4495
|
-
| 'annual'
|
|
4496
|
-
| 'daily'
|
|
4497
|
-
| 'fortnightly'
|
|
4498
|
-
| 'monthly'
|
|
4499
|
-
| 'quarterly'
|
|
4500
|
-
| 'semi_annual'
|
|
4501
|
-
| 'weekly';
|
|
4502
|
-
|
|
4503
|
-
type Purpose =
|
|
4504
|
-
| 'dependant_support'
|
|
4505
|
-
| 'government'
|
|
4506
|
-
| 'loan'
|
|
4507
|
-
| 'mortgage'
|
|
4508
|
-
| 'other'
|
|
4509
|
-
| 'pension'
|
|
4510
|
-
| 'personal'
|
|
4511
|
-
| 'retail'
|
|
4512
|
-
| 'salary'
|
|
4513
|
-
| 'tax'
|
|
4514
|
-
| 'utility';
|
|
4515
|
-
}
|
|
4516
3814
|
}
|
|
4517
3815
|
|
|
4518
3816
|
interface SepaDebit {
|
|
@@ -4560,11 +3858,6 @@ declare module 'stripe' {
|
|
|
4560
3858
|
*/
|
|
4561
3859
|
filters?: FinancialConnections.Filters;
|
|
4562
3860
|
|
|
4563
|
-
/**
|
|
4564
|
-
* Customize manual entry behavior
|
|
4565
|
-
*/
|
|
4566
|
-
manual_entry?: FinancialConnections.ManualEntry;
|
|
4567
|
-
|
|
4568
3861
|
/**
|
|
4569
3862
|
* The list of permissions to request. If this parameter is passed, the `payment_method` permission must be included. Valid permissions include: `balances`, `ownership`, `payment_method`, and `transactions`.
|
|
4570
3863
|
*/
|
|
@@ -4587,39 +3880,19 @@ declare module 'stripe' {
|
|
|
4587
3880
|
* The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
|
|
4588
3881
|
*/
|
|
4589
3882
|
account_subcategories?: Array<Filters.AccountSubcategory>;
|
|
4590
|
-
|
|
4591
|
-
/**
|
|
4592
|
-
* ID of the institution to use to filter for selectable accounts.
|
|
4593
|
-
*/
|
|
4594
|
-
institution?: string;
|
|
4595
3883
|
}
|
|
4596
3884
|
|
|
4597
3885
|
namespace Filters {
|
|
4598
3886
|
type AccountSubcategory = 'checking' | 'savings';
|
|
4599
3887
|
}
|
|
4600
3888
|
|
|
4601
|
-
interface ManualEntry {
|
|
4602
|
-
/**
|
|
4603
|
-
* Settings for configuring manual entry of account details.
|
|
4604
|
-
*/
|
|
4605
|
-
mode: ManualEntry.Mode;
|
|
4606
|
-
}
|
|
4607
|
-
|
|
4608
|
-
namespace ManualEntry {
|
|
4609
|
-
type Mode = 'automatic' | 'custom';
|
|
4610
|
-
}
|
|
4611
|
-
|
|
4612
3889
|
type Permission =
|
|
4613
3890
|
| 'balances'
|
|
4614
3891
|
| 'ownership'
|
|
4615
3892
|
| 'payment_method'
|
|
4616
3893
|
| 'transactions';
|
|
4617
3894
|
|
|
4618
|
-
type Prefetch =
|
|
4619
|
-
| 'balances'
|
|
4620
|
-
| 'inferred_balances'
|
|
4621
|
-
| 'ownership'
|
|
4622
|
-
| 'transactions';
|
|
3895
|
+
type Prefetch = 'balances' | 'ownership' | 'transactions';
|
|
4623
3896
|
}
|
|
4624
3897
|
|
|
4625
3898
|
interface MandateOptions {
|