stripe 18.4.0-beta.2 → 18.4.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 +37 -1293
- package/OPENAPI_VERSION +1 -1
- package/README.md +0 -1
- package/VERSION +1 -1
- package/cjs/Error.js +1 -107
- package/cjs/apiVersion.js +3 -2
- package/cjs/resources/FinancialConnections/Accounts.js +0 -5
- package/cjs/resources/{PaymentAttemptRecords.js → InvoicePayments.js} +4 -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.js +10 -98
- package/cjs/stripe.core.js +2 -1
- package/esm/Error.js +0 -93
- package/esm/apiVersion.js +2 -1
- package/esm/resources/FinancialConnections/Accounts.js +0 -5
- package/esm/resources/{PaymentAttemptRecords.js → InvoicePayments.js} +3 -3
- package/esm/resources/PaymentIntents.js +0 -13
- package/esm/resources/Quotes.js +0 -32
- package/esm/resources/SubscriptionSchedules.js +0 -4
- package/esm/resources.js +1 -82
- package/esm/stripe.core.js +2 -1
- package/package.json +1 -1
- package/types/AccountLinksResource.d.ts +4 -6
- package/types/AccountSessions.d.ts +30 -45
- package/types/AccountSessionsResource.d.ts +36 -264
- package/types/Accounts.d.ts +2 -213
- package/types/AccountsResource.d.ts +3 -547
- 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 +2 -12
- package/types/BillingPortal/Configurations.d.ts +21 -0
- package/types/BillingPortal/ConfigurationsResource.d.ts +48 -0
- package/types/BillingPortal/Sessions.d.ts +0 -5
- package/types/BillingPortal/SessionsResource.d.ts +4 -12
- package/types/Capabilities.d.ts +1 -6
- package/types/Cards.d.ts +0 -5
- package/types/CashBalances.d.ts +0 -5
- package/types/Charges.d.ts +10 -171
- package/types/ChargesResource.d.ts +0 -1406
- package/types/Checkout/Sessions.d.ts +20 -310
- package/types/Checkout/SessionsResource.d.ts +21 -326
- package/types/ConfirmationTokens.d.ts +3 -128
- 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 -5
- 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 +1 -3
- package/types/CustomersResource.d.ts +0 -8
- package/types/Discounts.d.ts +0 -10
- package/types/Disputes.d.ts +1 -8
- package/types/Errors.d.ts +2 -81
- package/types/EventTypes.d.ts +0 -664
- package/types/Events.d.ts +14 -123
- package/types/FinancialConnections/Accounts.d.ts +1 -36
- 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 +2 -7
- package/types/Identity/VerificationSessionsResource.d.ts +0 -7
- package/types/InvoiceItems.d.ts +0 -10
- package/types/InvoiceItemsResource.d.ts +7 -118
- package/types/InvoiceLineItems.d.ts +1 -45
- package/types/InvoicePayments.d.ts +0 -5
- package/types/InvoicePaymentsResource.d.ts +74 -0
- package/types/Invoices.d.ts +3 -133
- package/types/InvoicesResource.d.ts +31 -1433
- 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 +3 -769
- package/types/PaymentIntentsResource.d.ts +4133 -8848
- package/types/PaymentLinks.d.ts +5 -6
- package/types/PaymentLinksResource.d.ts +102 -15
- package/types/PaymentMethodConfigurations.d.ts +0 -180
- package/types/PaymentMethodConfigurationsResource.d.ts +0 -250
- package/types/PaymentMethods.d.ts +3 -128
- package/types/PaymentMethodsResource.d.ts +3 -168
- 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/PromotionCodes.d.ts +0 -5
- package/types/PromotionCodesResource.d.ts +0 -10
- package/types/Quotes.d.ts +1 -594
- package/types/QuotesResource.d.ts +281 -2623
- package/types/Radar/ValueLists.d.ts +1 -1
- package/types/Radar/ValueListsResource.d.ts +1 -1
- package/types/Refunds.d.ts +1 -15
- package/types/Reporting/ReportRunsResource.d.ts +1 -0
- package/types/Reviews.d.ts +2 -2
- package/types/SetupAttempts.d.ts +2 -48
- package/types/SetupIntents.d.ts +2 -118
- package/types/SetupIntentsResource.d.ts +3 -730
- package/types/Sources.d.ts +0 -29
- package/types/SubscriptionItems.d.ts +0 -21
- package/types/SubscriptionItemsResource.d.ts +2 -111
- package/types/SubscriptionSchedules.d.ts +0 -205
- package/types/SubscriptionSchedulesResource.d.ts +41 -1224
- package/types/Subscriptions.d.ts +1 -97
- package/types/SubscriptionsResource.d.ts +12 -391
- package/types/Tax/Registrations.d.ts +228 -27
- package/types/Tax/RegistrationsResource.d.ts +648 -27
- package/types/TaxIds.d.ts +0 -10
- package/types/TaxIdsResource.d.ts +0 -10
- package/types/Terminal/Configurations.d.ts +76 -0
- package/types/Terminal/ConfigurationsResource.d.ts +176 -0
- package/types/Terminal/Readers.d.ts +0 -20
- package/types/TestHelpers/ConfirmationTokensResource.d.ts +0 -126
- 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/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 +4 -957
- package/types/WebhookEndpointsResource.d.ts +2 -79
- package/types/index.d.ts +2 -138
- package/types/lib.d.ts +2 -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/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 -42
- 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 -25
- 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 -16
- 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/Payments/OffSessionPayments.js +0 -25
- 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/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 -39
- 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 -22
- 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 -13
- 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/Payments/OffSessionPayments.js +0 -22
- 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/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 -98
- package/types/FinancialConnections/InstitutionsResource.d.ts +0 -47
- package/types/FxQuotes.d.ts +0 -153
- package/types/FxQuotesResource.d.ts +0 -130
- 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 -1163
- package/types/OrdersResource.d.ts +0 -3139
- package/types/PaymentAttemptRecords.d.ts +0 -2161
- package/types/PaymentAttemptRecordsResource.d.ts +0 -47
- package/types/PaymentIntentAmountDetailsLineItems.d.ts +0 -116
- package/types/PaymentRecords.d.ts +0 -2154
- package/types/PaymentRecordsResource.d.ts +0 -455
- package/types/Privacy/RedactionJobValidationErrors.d.ts +0 -60
- package/types/Privacy/RedactionJobs.d.ts +0 -111
- package/types/Privacy/RedactionJobsResource.d.ts +0 -230
- package/types/QuoteLines.d.ts +0 -634
- package/types/QuotePreviewInvoices.d.ts +0 -1696
- package/types/QuotePreviewSubscriptionSchedules.d.ts +0 -845
- package/types/Tax/Associations.d.ts +0 -82
- 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 -106
- package/types/V2/Core/AccountLinksResource.d.ts +0 -90
- package/types/V2/Core/Accounts/PersonsResource.d.ts +0 -3780
- package/types/V2/Core/Accounts.d.ts +0 -8791
- package/types/V2/Core/AccountsResource.d.ts +0 -10582
- package/types/V2/Core/Persons.d.ts +0 -1872
- package/types/V2/Core/Vault/GbBankAccounts.d.ts +0 -160
- package/types/V2/Core/Vault/GbBankAccountsResource.d.ts +0 -172
- package/types/V2/Core/Vault/UsBankAccounts.d.ts +0 -70
- package/types/V2/Core/Vault/UsBankAccountsResource.d.ts +0 -123
- package/types/V2/FinancialAddressCreditSimulations.d.ts +0 -27
- package/types/V2/FinancialAddressGeneratedMicrodeposits.d.ts +0 -32
- package/types/V2/MoneyManagement/Adjustments.d.ts +0 -110
- package/types/V2/MoneyManagement/AdjustmentsResource.d.ts +0 -83
- package/types/V2/MoneyManagement/FinancialAccounts.d.ts +0 -580
- package/types/V2/MoneyManagement/FinancialAccountsResource.d.ts +0 -326
- package/types/V2/MoneyManagement/FinancialAddresses.d.ts +0 -314
- package/types/V2/MoneyManagement/FinancialAddressesResource.d.ts +0 -289
- package/types/V2/MoneyManagement/InboundTransfers.d.ts +0 -206
- package/types/V2/MoneyManagement/InboundTransfersResource.d.ts +0 -144
- package/types/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +0 -168
- package/types/V2/MoneyManagement/OutboundPaymentQuotesResource.d.ts +0 -115
- package/types/V2/MoneyManagement/OutboundPayments.d.ts +0 -278
- package/types/V2/MoneyManagement/OutboundPaymentsResource.d.ts +0 -242
- package/types/V2/MoneyManagement/OutboundSetupIntents.d.ts +0 -97
- package/types/V2/MoneyManagement/OutboundSetupIntentsResource.d.ts +0 -296
- package/types/V2/MoneyManagement/OutboundTransfers.d.ts +0 -251
- package/types/V2/MoneyManagement/OutboundTransfersResource.d.ts +0 -208
- package/types/V2/MoneyManagement/PayoutMethods.d.ts +0 -151
- package/types/V2/MoneyManagement/PayoutMethodsBankAccountSpecResource.d.ts +0 -41
- package/types/V2/MoneyManagement/PayoutMethodsBankAccountSpecs.d.ts +0 -87
- package/types/V2/MoneyManagement/PayoutMethodsResource.d.ts +0 -113
- package/types/V2/MoneyManagement/ReceivedCredits.d.ts +0 -262
- package/types/V2/MoneyManagement/ReceivedCreditsResource.d.ts +0 -78
- package/types/V2/MoneyManagement/ReceivedDebits.d.ts +0 -176
- package/types/V2/MoneyManagement/ReceivedDebitsResource.d.ts +0 -48
- package/types/V2/MoneyManagement/TransactionEntries.d.ts +0 -155
- package/types/V2/MoneyManagement/TransactionEntriesResource.d.ts +0 -82
- package/types/V2/MoneyManagement/Transactions.d.ts +0 -170
- package/types/V2/MoneyManagement/TransactionsResource.d.ts +0 -83
- package/types/V2/Payments/OffSessionPayments.d.ts +0 -162
- package/types/V2/Payments/OffSessionPaymentsResource.d.ts +0 -159
- 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
|
*/
|
|
@@ -293,21 +286,11 @@ declare module 'stripe' {
|
|
|
293
286
|
*/
|
|
294
287
|
giropay?: PaymentMethodData.Giropay;
|
|
295
288
|
|
|
296
|
-
/**
|
|
297
|
-
* If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
|
|
298
|
-
*/
|
|
299
|
-
gopay?: PaymentMethodData.Gopay;
|
|
300
|
-
|
|
301
289
|
/**
|
|
302
290
|
* If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
|
|
303
291
|
*/
|
|
304
292
|
grabpay?: PaymentMethodData.Grabpay;
|
|
305
293
|
|
|
306
|
-
/**
|
|
307
|
-
* If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
|
|
308
|
-
*/
|
|
309
|
-
id_bank_transfer?: PaymentMethodData.IdBankTransfer;
|
|
310
|
-
|
|
311
294
|
/**
|
|
312
295
|
* If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
|
|
313
296
|
*/
|
|
@@ -343,11 +326,6 @@ declare module 'stripe' {
|
|
|
343
326
|
*/
|
|
344
327
|
link?: PaymentMethodData.Link;
|
|
345
328
|
|
|
346
|
-
/**
|
|
347
|
-
* If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method.
|
|
348
|
-
*/
|
|
349
|
-
mb_way?: PaymentMethodData.MbWay;
|
|
350
|
-
|
|
351
329
|
/**
|
|
352
330
|
* 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`.
|
|
353
331
|
*/
|
|
@@ -403,11 +381,6 @@ declare module 'stripe' {
|
|
|
403
381
|
*/
|
|
404
382
|
paypal?: PaymentMethodData.Paypal;
|
|
405
383
|
|
|
406
|
-
/**
|
|
407
|
-
* If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
|
|
408
|
-
*/
|
|
409
|
-
payto?: PaymentMethodData.Payto;
|
|
410
|
-
|
|
411
384
|
/**
|
|
412
385
|
* If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
|
|
413
386
|
*/
|
|
@@ -418,21 +391,11 @@ declare module 'stripe' {
|
|
|
418
391
|
*/
|
|
419
392
|
promptpay?: PaymentMethodData.Promptpay;
|
|
420
393
|
|
|
421
|
-
/**
|
|
422
|
-
* If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
|
|
423
|
-
*/
|
|
424
|
-
qris?: PaymentMethodData.Qris;
|
|
425
|
-
|
|
426
394
|
/**
|
|
427
395
|
* Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
|
|
428
396
|
*/
|
|
429
397
|
radar_options?: PaymentMethodData.RadarOptions;
|
|
430
398
|
|
|
431
|
-
/**
|
|
432
|
-
* If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
|
|
433
|
-
*/
|
|
434
|
-
rechnung?: PaymentMethodData.Rechnung;
|
|
435
|
-
|
|
436
399
|
/**
|
|
437
400
|
* If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
|
|
438
401
|
*/
|
|
@@ -453,21 +416,11 @@ declare module 'stripe' {
|
|
|
453
416
|
*/
|
|
454
417
|
sepa_debit?: PaymentMethodData.SepaDebit;
|
|
455
418
|
|
|
456
|
-
/**
|
|
457
|
-
* If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
|
|
458
|
-
*/
|
|
459
|
-
shopeepay?: PaymentMethodData.Shopeepay;
|
|
460
|
-
|
|
461
419
|
/**
|
|
462
420
|
* If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
|
|
463
421
|
*/
|
|
464
422
|
sofort?: PaymentMethodData.Sofort;
|
|
465
423
|
|
|
466
|
-
/**
|
|
467
|
-
* This hash contains details about the Stripe balance payment method.
|
|
468
|
-
*/
|
|
469
|
-
stripe_balance?: PaymentMethodData.StripeBalance;
|
|
470
|
-
|
|
471
424
|
/**
|
|
472
425
|
* If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
|
|
473
426
|
*/
|
|
@@ -680,21 +633,8 @@ declare module 'stripe' {
|
|
|
680
633
|
|
|
681
634
|
interface Giropay {}
|
|
682
635
|
|
|
683
|
-
interface Gopay {}
|
|
684
|
-
|
|
685
636
|
interface Grabpay {}
|
|
686
637
|
|
|
687
|
-
interface IdBankTransfer {
|
|
688
|
-
/**
|
|
689
|
-
* Bank where the account is held.
|
|
690
|
-
*/
|
|
691
|
-
bank?: IdBankTransfer.Bank;
|
|
692
|
-
}
|
|
693
|
-
|
|
694
|
-
namespace IdBankTransfer {
|
|
695
|
-
type Bank = 'bca' | 'bni' | 'bri' | 'cimb' | 'permata';
|
|
696
|
-
}
|
|
697
|
-
|
|
698
638
|
interface Ideal {
|
|
699
639
|
/**
|
|
700
640
|
* The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
|
@@ -759,8 +699,6 @@ declare module 'stripe' {
|
|
|
759
699
|
|
|
760
700
|
interface Link {}
|
|
761
701
|
|
|
762
|
-
interface MbWay {}
|
|
763
|
-
|
|
764
702
|
interface Mobilepay {}
|
|
765
703
|
|
|
766
704
|
interface Multibanco {}
|
|
@@ -852,29 +790,10 @@ declare module 'stripe' {
|
|
|
852
790
|
|
|
853
791
|
interface Paypal {}
|
|
854
792
|
|
|
855
|
-
interface Payto {
|
|
856
|
-
/**
|
|
857
|
-
* The account number for the bank account.
|
|
858
|
-
*/
|
|
859
|
-
account_number?: string;
|
|
860
|
-
|
|
861
|
-
/**
|
|
862
|
-
* Bank-State-Branch number of the bank account.
|
|
863
|
-
*/
|
|
864
|
-
bsb_number?: string;
|
|
865
|
-
|
|
866
|
-
/**
|
|
867
|
-
* The PayID alias for the bank account.
|
|
868
|
-
*/
|
|
869
|
-
pay_id?: string;
|
|
870
|
-
}
|
|
871
|
-
|
|
872
793
|
interface Pix {}
|
|
873
794
|
|
|
874
795
|
interface Promptpay {}
|
|
875
796
|
|
|
876
|
-
interface Qris {}
|
|
877
|
-
|
|
878
797
|
interface RadarOptions {
|
|
879
798
|
/**
|
|
880
799
|
* 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.
|
|
@@ -882,32 +801,6 @@ declare module 'stripe' {
|
|
|
882
801
|
session?: string;
|
|
883
802
|
}
|
|
884
803
|
|
|
885
|
-
interface Rechnung {
|
|
886
|
-
/**
|
|
887
|
-
* Customer's date of birth
|
|
888
|
-
*/
|
|
889
|
-
dob: Rechnung.Dob;
|
|
890
|
-
}
|
|
891
|
-
|
|
892
|
-
namespace Rechnung {
|
|
893
|
-
interface Dob {
|
|
894
|
-
/**
|
|
895
|
-
* The day of birth, between 1 and 31.
|
|
896
|
-
*/
|
|
897
|
-
day: number;
|
|
898
|
-
|
|
899
|
-
/**
|
|
900
|
-
* The month of birth, between 1 and 12.
|
|
901
|
-
*/
|
|
902
|
-
month: number;
|
|
903
|
-
|
|
904
|
-
/**
|
|
905
|
-
* The four-digit year of birth.
|
|
906
|
-
*/
|
|
907
|
-
year: number;
|
|
908
|
-
}
|
|
909
|
-
}
|
|
910
|
-
|
|
911
804
|
interface RevolutPay {}
|
|
912
805
|
|
|
913
806
|
interface SamsungPay {}
|
|
@@ -921,8 +814,6 @@ declare module 'stripe' {
|
|
|
921
814
|
iban: string;
|
|
922
815
|
}
|
|
923
816
|
|
|
924
|
-
interface Shopeepay {}
|
|
925
|
-
|
|
926
817
|
interface Sofort {
|
|
927
818
|
/**
|
|
928
819
|
* Two-letter ISO code representing the country the bank account is located in.
|
|
@@ -934,22 +825,6 @@ declare module 'stripe' {
|
|
|
934
825
|
type Country = 'AT' | 'BE' | 'DE' | 'ES' | 'IT' | 'NL';
|
|
935
826
|
}
|
|
936
827
|
|
|
937
|
-
interface StripeBalance {
|
|
938
|
-
/**
|
|
939
|
-
* The connected account ID whose Stripe balance to use as the source of payment
|
|
940
|
-
*/
|
|
941
|
-
account?: string;
|
|
942
|
-
|
|
943
|
-
/**
|
|
944
|
-
* The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
|
|
945
|
-
*/
|
|
946
|
-
source_type?: StripeBalance.SourceType;
|
|
947
|
-
}
|
|
948
|
-
|
|
949
|
-
namespace StripeBalance {
|
|
950
|
-
type SourceType = 'bank_account' | 'card' | 'fpx';
|
|
951
|
-
}
|
|
952
|
-
|
|
953
828
|
interface Swish {}
|
|
954
829
|
|
|
955
830
|
interface Twint {}
|
|
@@ -973,16 +848,13 @@ declare module 'stripe' {
|
|
|
973
848
|
| 'eps'
|
|
974
849
|
| 'fpx'
|
|
975
850
|
| 'giropay'
|
|
976
|
-
| 'gopay'
|
|
977
851
|
| 'grabpay'
|
|
978
|
-
| 'id_bank_transfer'
|
|
979
852
|
| 'ideal'
|
|
980
853
|
| 'kakao_pay'
|
|
981
854
|
| 'klarna'
|
|
982
855
|
| 'konbini'
|
|
983
856
|
| 'kr_card'
|
|
984
857
|
| 'link'
|
|
985
|
-
| 'mb_way'
|
|
986
858
|
| 'mobilepay'
|
|
987
859
|
| 'multibanco'
|
|
988
860
|
| 'naver_pay'
|
|
@@ -993,18 +865,13 @@ declare module 'stripe' {
|
|
|
993
865
|
| 'payco'
|
|
994
866
|
| 'paynow'
|
|
995
867
|
| 'paypal'
|
|
996
|
-
| 'payto'
|
|
997
868
|
| 'pix'
|
|
998
869
|
| 'promptpay'
|
|
999
|
-
| 'qris'
|
|
1000
|
-
| 'rechnung'
|
|
1001
870
|
| 'revolut_pay'
|
|
1002
871
|
| 'samsung_pay'
|
|
1003
872
|
| 'satispay'
|
|
1004
873
|
| 'sepa_debit'
|
|
1005
|
-
| 'shopeepay'
|
|
1006
874
|
| 'sofort'
|
|
1007
|
-
| 'stripe_balance'
|
|
1008
875
|
| 'swish'
|
|
1009
876
|
| 'twint'
|
|
1010
877
|
| 'us_bank_account'
|
|
@@ -1090,11 +957,6 @@ declare module 'stripe' {
|
|
|
1090
957
|
*/
|
|
1091
958
|
paypal?: PaymentMethodOptions.Paypal;
|
|
1092
959
|
|
|
1093
|
-
/**
|
|
1094
|
-
* If this is a `payto` SetupIntent, this sub-hash contains details about the PayTo payment method options.
|
|
1095
|
-
*/
|
|
1096
|
-
payto?: PaymentMethodOptions.Payto;
|
|
1097
|
-
|
|
1098
960
|
/**
|
|
1099
961
|
* If this is a `sepa_debit` SetupIntent, this sub-hash contains details about the SEPA Debit payment method options.
|
|
1100
962
|
*/
|
|
@@ -1542,86 +1404,6 @@ declare module 'stripe' {
|
|
|
1542
1404
|
* The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
|
|
1543
1405
|
*/
|
|
1544
1406
|
billing_agreement_id?: string;
|
|
1545
|
-
|
|
1546
|
-
currency?: string;
|
|
1547
|
-
|
|
1548
|
-
/**
|
|
1549
|
-
* 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.
|
|
1550
|
-
*/
|
|
1551
|
-
subsellers?: Array<string>;
|
|
1552
|
-
}
|
|
1553
|
-
|
|
1554
|
-
interface Payto {
|
|
1555
|
-
/**
|
|
1556
|
-
* Additional fields for Mandate creation.
|
|
1557
|
-
*/
|
|
1558
|
-
mandate_options?: Payto.MandateOptions;
|
|
1559
|
-
}
|
|
1560
|
-
|
|
1561
|
-
namespace Payto {
|
|
1562
|
-
interface MandateOptions {
|
|
1563
|
-
/**
|
|
1564
|
-
* Amount that will be collected. It is required when `amount_type` is `fixed`.
|
|
1565
|
-
*/
|
|
1566
|
-
amount?: number;
|
|
1567
|
-
|
|
1568
|
-
/**
|
|
1569
|
-
* 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.
|
|
1570
|
-
*/
|
|
1571
|
-
amount_type?: MandateOptions.AmountType;
|
|
1572
|
-
|
|
1573
|
-
/**
|
|
1574
|
-
* Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
|
|
1575
|
-
*/
|
|
1576
|
-
end_date?: string;
|
|
1577
|
-
|
|
1578
|
-
/**
|
|
1579
|
-
* The periodicity at which payments will be collected.
|
|
1580
|
-
*/
|
|
1581
|
-
payment_schedule?: MandateOptions.PaymentSchedule;
|
|
1582
|
-
|
|
1583
|
-
/**
|
|
1584
|
-
* 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.
|
|
1585
|
-
*/
|
|
1586
|
-
payments_per_period?: number;
|
|
1587
|
-
|
|
1588
|
-
/**
|
|
1589
|
-
* The purpose for which payments are made. Defaults to retail.
|
|
1590
|
-
*/
|
|
1591
|
-
purpose?: MandateOptions.Purpose;
|
|
1592
|
-
|
|
1593
|
-
/**
|
|
1594
|
-
* Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
|
|
1595
|
-
*/
|
|
1596
|
-
start_date?: string;
|
|
1597
|
-
}
|
|
1598
|
-
|
|
1599
|
-
namespace MandateOptions {
|
|
1600
|
-
type AmountType = 'fixed' | 'maximum';
|
|
1601
|
-
|
|
1602
|
-
type PaymentSchedule =
|
|
1603
|
-
| 'adhoc'
|
|
1604
|
-
| 'annual'
|
|
1605
|
-
| 'daily'
|
|
1606
|
-
| 'fortnightly'
|
|
1607
|
-
| 'monthly'
|
|
1608
|
-
| 'quarterly'
|
|
1609
|
-
| 'semi_annual'
|
|
1610
|
-
| 'weekly';
|
|
1611
|
-
|
|
1612
|
-
type Purpose =
|
|
1613
|
-
| 'dependant_support'
|
|
1614
|
-
| 'government'
|
|
1615
|
-
| 'loan'
|
|
1616
|
-
| 'mortgage'
|
|
1617
|
-
| 'other'
|
|
1618
|
-
| 'pension'
|
|
1619
|
-
| 'personal'
|
|
1620
|
-
| 'retail'
|
|
1621
|
-
| 'salary'
|
|
1622
|
-
| 'tax'
|
|
1623
|
-
| 'utility';
|
|
1624
|
-
}
|
|
1625
1407
|
}
|
|
1626
1408
|
|
|
1627
1409
|
interface SepaDebit {
|
|
@@ -1669,11 +1451,6 @@ declare module 'stripe' {
|
|
|
1669
1451
|
*/
|
|
1670
1452
|
filters?: FinancialConnections.Filters;
|
|
1671
1453
|
|
|
1672
|
-
/**
|
|
1673
|
-
* Customize manual entry behavior
|
|
1674
|
-
*/
|
|
1675
|
-
manual_entry?: FinancialConnections.ManualEntry;
|
|
1676
|
-
|
|
1677
1454
|
/**
|
|
1678
1455
|
* 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`.
|
|
1679
1456
|
*/
|
|
@@ -1696,39 +1473,19 @@ declare module 'stripe' {
|
|
|
1696
1473
|
* The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
|
|
1697
1474
|
*/
|
|
1698
1475
|
account_subcategories?: Array<Filters.AccountSubcategory>;
|
|
1699
|
-
|
|
1700
|
-
/**
|
|
1701
|
-
* ID of the institution to use to filter for selectable accounts.
|
|
1702
|
-
*/
|
|
1703
|
-
institution?: string;
|
|
1704
1476
|
}
|
|
1705
1477
|
|
|
1706
1478
|
namespace Filters {
|
|
1707
1479
|
type AccountSubcategory = 'checking' | 'savings';
|
|
1708
1480
|
}
|
|
1709
1481
|
|
|
1710
|
-
interface ManualEntry {
|
|
1711
|
-
/**
|
|
1712
|
-
* Settings for configuring manual entry of account details.
|
|
1713
|
-
*/
|
|
1714
|
-
mode: ManualEntry.Mode;
|
|
1715
|
-
}
|
|
1716
|
-
|
|
1717
|
-
namespace ManualEntry {
|
|
1718
|
-
type Mode = 'automatic' | 'custom';
|
|
1719
|
-
}
|
|
1720
|
-
|
|
1721
1482
|
type Permission =
|
|
1722
1483
|
| 'balances'
|
|
1723
1484
|
| 'ownership'
|
|
1724
1485
|
| 'payment_method'
|
|
1725
1486
|
| 'transactions';
|
|
1726
1487
|
|
|
1727
|
-
type Prefetch =
|
|
1728
|
-
| 'balances'
|
|
1729
|
-
| 'inferred_balances'
|
|
1730
|
-
| 'ownership'
|
|
1731
|
-
| 'transactions';
|
|
1488
|
+
type Prefetch = 'balances' | 'ownership' | 'transactions';
|
|
1732
1489
|
}
|
|
1733
1490
|
|
|
1734
1491
|
interface MandateOptions {
|
|
@@ -1795,13 +1552,6 @@ declare module 'stripe' {
|
|
|
1795
1552
|
*/
|
|
1796
1553
|
customer?: string;
|
|
1797
1554
|
|
|
1798
|
-
/**
|
|
1799
|
-
* ID of the Account this SetupIntent belongs to, if one exists.
|
|
1800
|
-
*
|
|
1801
|
-
* 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.
|
|
1802
|
-
*/
|
|
1803
|
-
customer_account?: string;
|
|
1804
|
-
|
|
1805
1555
|
/**
|
|
1806
1556
|
* An arbitrary string attached to the object. Often useful for displaying to users.
|
|
1807
1557
|
*/
|
|
@@ -1955,21 +1705,11 @@ declare module 'stripe' {
|
|
|
1955
1705
|
*/
|
|
1956
1706
|
giropay?: PaymentMethodData.Giropay;
|
|
1957
1707
|
|
|
1958
|
-
/**
|
|
1959
|
-
* If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
|
|
1960
|
-
*/
|
|
1961
|
-
gopay?: PaymentMethodData.Gopay;
|
|
1962
|
-
|
|
1963
1708
|
/**
|
|
1964
1709
|
* If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
|
|
1965
1710
|
*/
|
|
1966
1711
|
grabpay?: PaymentMethodData.Grabpay;
|
|
1967
1712
|
|
|
1968
|
-
/**
|
|
1969
|
-
* If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
|
|
1970
|
-
*/
|
|
1971
|
-
id_bank_transfer?: PaymentMethodData.IdBankTransfer;
|
|
1972
|
-
|
|
1973
1713
|
/**
|
|
1974
1714
|
* If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
|
|
1975
1715
|
*/
|
|
@@ -2005,11 +1745,6 @@ declare module 'stripe' {
|
|
|
2005
1745
|
*/
|
|
2006
1746
|
link?: PaymentMethodData.Link;
|
|
2007
1747
|
|
|
2008
|
-
/**
|
|
2009
|
-
* If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method.
|
|
2010
|
-
*/
|
|
2011
|
-
mb_way?: PaymentMethodData.MbWay;
|
|
2012
|
-
|
|
2013
1748
|
/**
|
|
2014
1749
|
* 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`.
|
|
2015
1750
|
*/
|
|
@@ -2065,11 +1800,6 @@ declare module 'stripe' {
|
|
|
2065
1800
|
*/
|
|
2066
1801
|
paypal?: PaymentMethodData.Paypal;
|
|
2067
1802
|
|
|
2068
|
-
/**
|
|
2069
|
-
* If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
|
|
2070
|
-
*/
|
|
2071
|
-
payto?: PaymentMethodData.Payto;
|
|
2072
|
-
|
|
2073
1803
|
/**
|
|
2074
1804
|
* If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
|
|
2075
1805
|
*/
|
|
@@ -2080,21 +1810,11 @@ declare module 'stripe' {
|
|
|
2080
1810
|
*/
|
|
2081
1811
|
promptpay?: PaymentMethodData.Promptpay;
|
|
2082
1812
|
|
|
2083
|
-
/**
|
|
2084
|
-
* If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
|
|
2085
|
-
*/
|
|
2086
|
-
qris?: PaymentMethodData.Qris;
|
|
2087
|
-
|
|
2088
1813
|
/**
|
|
2089
1814
|
* Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
|
|
2090
1815
|
*/
|
|
2091
1816
|
radar_options?: PaymentMethodData.RadarOptions;
|
|
2092
1817
|
|
|
2093
|
-
/**
|
|
2094
|
-
* If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
|
|
2095
|
-
*/
|
|
2096
|
-
rechnung?: PaymentMethodData.Rechnung;
|
|
2097
|
-
|
|
2098
1818
|
/**
|
|
2099
1819
|
* If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
|
|
2100
1820
|
*/
|
|
@@ -2115,21 +1835,11 @@ declare module 'stripe' {
|
|
|
2115
1835
|
*/
|
|
2116
1836
|
sepa_debit?: PaymentMethodData.SepaDebit;
|
|
2117
1837
|
|
|
2118
|
-
/**
|
|
2119
|
-
* If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
|
|
2120
|
-
*/
|
|
2121
|
-
shopeepay?: PaymentMethodData.Shopeepay;
|
|
2122
|
-
|
|
2123
1838
|
/**
|
|
2124
1839
|
* If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
|
|
2125
1840
|
*/
|
|
2126
1841
|
sofort?: PaymentMethodData.Sofort;
|
|
2127
1842
|
|
|
2128
|
-
/**
|
|
2129
|
-
* This hash contains details about the Stripe balance payment method.
|
|
2130
|
-
*/
|
|
2131
|
-
stripe_balance?: PaymentMethodData.StripeBalance;
|
|
2132
|
-
|
|
2133
1843
|
/**
|
|
2134
1844
|
* If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
|
|
2135
1845
|
*/
|
|
@@ -2342,21 +2052,8 @@ declare module 'stripe' {
|
|
|
2342
2052
|
|
|
2343
2053
|
interface Giropay {}
|
|
2344
2054
|
|
|
2345
|
-
interface Gopay {}
|
|
2346
|
-
|
|
2347
2055
|
interface Grabpay {}
|
|
2348
2056
|
|
|
2349
|
-
interface IdBankTransfer {
|
|
2350
|
-
/**
|
|
2351
|
-
* Bank where the account is held.
|
|
2352
|
-
*/
|
|
2353
|
-
bank?: IdBankTransfer.Bank;
|
|
2354
|
-
}
|
|
2355
|
-
|
|
2356
|
-
namespace IdBankTransfer {
|
|
2357
|
-
type Bank = 'bca' | 'bni' | 'bri' | 'cimb' | 'permata';
|
|
2358
|
-
}
|
|
2359
|
-
|
|
2360
2057
|
interface Ideal {
|
|
2361
2058
|
/**
|
|
2362
2059
|
* The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
|
@@ -2421,8 +2118,6 @@ declare module 'stripe' {
|
|
|
2421
2118
|
|
|
2422
2119
|
interface Link {}
|
|
2423
2120
|
|
|
2424
|
-
interface MbWay {}
|
|
2425
|
-
|
|
2426
2121
|
interface Mobilepay {}
|
|
2427
2122
|
|
|
2428
2123
|
interface Multibanco {}
|
|
@@ -2514,29 +2209,10 @@ declare module 'stripe' {
|
|
|
2514
2209
|
|
|
2515
2210
|
interface Paypal {}
|
|
2516
2211
|
|
|
2517
|
-
interface Payto {
|
|
2518
|
-
/**
|
|
2519
|
-
* The account number for the bank account.
|
|
2520
|
-
*/
|
|
2521
|
-
account_number?: string;
|
|
2522
|
-
|
|
2523
|
-
/**
|
|
2524
|
-
* Bank-State-Branch number of the bank account.
|
|
2525
|
-
*/
|
|
2526
|
-
bsb_number?: string;
|
|
2527
|
-
|
|
2528
|
-
/**
|
|
2529
|
-
* The PayID alias for the bank account.
|
|
2530
|
-
*/
|
|
2531
|
-
pay_id?: string;
|
|
2532
|
-
}
|
|
2533
|
-
|
|
2534
2212
|
interface Pix {}
|
|
2535
2213
|
|
|
2536
2214
|
interface Promptpay {}
|
|
2537
2215
|
|
|
2538
|
-
interface Qris {}
|
|
2539
|
-
|
|
2540
2216
|
interface RadarOptions {
|
|
2541
2217
|
/**
|
|
2542
2218
|
* 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.
|
|
@@ -2544,32 +2220,6 @@ declare module 'stripe' {
|
|
|
2544
2220
|
session?: string;
|
|
2545
2221
|
}
|
|
2546
2222
|
|
|
2547
|
-
interface Rechnung {
|
|
2548
|
-
/**
|
|
2549
|
-
* Customer's date of birth
|
|
2550
|
-
*/
|
|
2551
|
-
dob: Rechnung.Dob;
|
|
2552
|
-
}
|
|
2553
|
-
|
|
2554
|
-
namespace Rechnung {
|
|
2555
|
-
interface Dob {
|
|
2556
|
-
/**
|
|
2557
|
-
* The day of birth, between 1 and 31.
|
|
2558
|
-
*/
|
|
2559
|
-
day: number;
|
|
2560
|
-
|
|
2561
|
-
/**
|
|
2562
|
-
* The month of birth, between 1 and 12.
|
|
2563
|
-
*/
|
|
2564
|
-
month: number;
|
|
2565
|
-
|
|
2566
|
-
/**
|
|
2567
|
-
* The four-digit year of birth.
|
|
2568
|
-
*/
|
|
2569
|
-
year: number;
|
|
2570
|
-
}
|
|
2571
|
-
}
|
|
2572
|
-
|
|
2573
2223
|
interface RevolutPay {}
|
|
2574
2224
|
|
|
2575
2225
|
interface SamsungPay {}
|
|
@@ -2583,8 +2233,6 @@ declare module 'stripe' {
|
|
|
2583
2233
|
iban: string;
|
|
2584
2234
|
}
|
|
2585
2235
|
|
|
2586
|
-
interface Shopeepay {}
|
|
2587
|
-
|
|
2588
2236
|
interface Sofort {
|
|
2589
2237
|
/**
|
|
2590
2238
|
* Two-letter ISO code representing the country the bank account is located in.
|
|
@@ -2596,22 +2244,6 @@ declare module 'stripe' {
|
|
|
2596
2244
|
type Country = 'AT' | 'BE' | 'DE' | 'ES' | 'IT' | 'NL';
|
|
2597
2245
|
}
|
|
2598
2246
|
|
|
2599
|
-
interface StripeBalance {
|
|
2600
|
-
/**
|
|
2601
|
-
* The connected account ID whose Stripe balance to use as the source of payment
|
|
2602
|
-
*/
|
|
2603
|
-
account?: string;
|
|
2604
|
-
|
|
2605
|
-
/**
|
|
2606
|
-
* The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
|
|
2607
|
-
*/
|
|
2608
|
-
source_type?: StripeBalance.SourceType;
|
|
2609
|
-
}
|
|
2610
|
-
|
|
2611
|
-
namespace StripeBalance {
|
|
2612
|
-
type SourceType = 'bank_account' | 'card' | 'fpx';
|
|
2613
|
-
}
|
|
2614
|
-
|
|
2615
2247
|
interface Swish {}
|
|
2616
2248
|
|
|
2617
2249
|
interface Twint {}
|
|
@@ -2635,16 +2267,13 @@ declare module 'stripe' {
|
|
|
2635
2267
|
| 'eps'
|
|
2636
2268
|
| 'fpx'
|
|
2637
2269
|
| 'giropay'
|
|
2638
|
-
| 'gopay'
|
|
2639
2270
|
| 'grabpay'
|
|
2640
|
-
| 'id_bank_transfer'
|
|
2641
2271
|
| 'ideal'
|
|
2642
2272
|
| 'kakao_pay'
|
|
2643
2273
|
| 'klarna'
|
|
2644
2274
|
| 'konbini'
|
|
2645
2275
|
| 'kr_card'
|
|
2646
2276
|
| 'link'
|
|
2647
|
-
| 'mb_way'
|
|
2648
2277
|
| 'mobilepay'
|
|
2649
2278
|
| 'multibanco'
|
|
2650
2279
|
| 'naver_pay'
|
|
@@ -2655,18 +2284,13 @@ declare module 'stripe' {
|
|
|
2655
2284
|
| 'payco'
|
|
2656
2285
|
| 'paynow'
|
|
2657
2286
|
| 'paypal'
|
|
2658
|
-
| 'payto'
|
|
2659
2287
|
| 'pix'
|
|
2660
2288
|
| 'promptpay'
|
|
2661
|
-
| 'qris'
|
|
2662
|
-
| 'rechnung'
|
|
2663
2289
|
| 'revolut_pay'
|
|
2664
2290
|
| 'samsung_pay'
|
|
2665
2291
|
| 'satispay'
|
|
2666
2292
|
| 'sepa_debit'
|
|
2667
|
-
| 'shopeepay'
|
|
2668
2293
|
| 'sofort'
|
|
2669
|
-
| 'stripe_balance'
|
|
2670
2294
|
| 'swish'
|
|
2671
2295
|
| 'twint'
|
|
2672
2296
|
| 'us_bank_account'
|
|
@@ -2752,11 +2376,6 @@ declare module 'stripe' {
|
|
|
2752
2376
|
*/
|
|
2753
2377
|
paypal?: PaymentMethodOptions.Paypal;
|
|
2754
2378
|
|
|
2755
|
-
/**
|
|
2756
|
-
* If this is a `payto` SetupIntent, this sub-hash contains details about the PayTo payment method options.
|
|
2757
|
-
*/
|
|
2758
|
-
payto?: PaymentMethodOptions.Payto;
|
|
2759
|
-
|
|
2760
2379
|
/**
|
|
2761
2380
|
* If this is a `sepa_debit` SetupIntent, this sub-hash contains details about the SEPA Debit payment method options.
|
|
2762
2381
|
*/
|
|
@@ -3204,86 +2823,6 @@ declare module 'stripe' {
|
|
|
3204
2823
|
* The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
|
|
3205
2824
|
*/
|
|
3206
2825
|
billing_agreement_id?: string;
|
|
3207
|
-
|
|
3208
|
-
currency?: string;
|
|
3209
|
-
|
|
3210
|
-
/**
|
|
3211
|
-
* 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.
|
|
3212
|
-
*/
|
|
3213
|
-
subsellers?: Array<string>;
|
|
3214
|
-
}
|
|
3215
|
-
|
|
3216
|
-
interface Payto {
|
|
3217
|
-
/**
|
|
3218
|
-
* Additional fields for Mandate creation.
|
|
3219
|
-
*/
|
|
3220
|
-
mandate_options?: Payto.MandateOptions;
|
|
3221
|
-
}
|
|
3222
|
-
|
|
3223
|
-
namespace Payto {
|
|
3224
|
-
interface MandateOptions {
|
|
3225
|
-
/**
|
|
3226
|
-
* Amount that will be collected. It is required when `amount_type` is `fixed`.
|
|
3227
|
-
*/
|
|
3228
|
-
amount?: number;
|
|
3229
|
-
|
|
3230
|
-
/**
|
|
3231
|
-
* 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.
|
|
3232
|
-
*/
|
|
3233
|
-
amount_type?: MandateOptions.AmountType;
|
|
3234
|
-
|
|
3235
|
-
/**
|
|
3236
|
-
* Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
|
|
3237
|
-
*/
|
|
3238
|
-
end_date?: string;
|
|
3239
|
-
|
|
3240
|
-
/**
|
|
3241
|
-
* The periodicity at which payments will be collected.
|
|
3242
|
-
*/
|
|
3243
|
-
payment_schedule?: MandateOptions.PaymentSchedule;
|
|
3244
|
-
|
|
3245
|
-
/**
|
|
3246
|
-
* 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.
|
|
3247
|
-
*/
|
|
3248
|
-
payments_per_period?: number;
|
|
3249
|
-
|
|
3250
|
-
/**
|
|
3251
|
-
* The purpose for which payments are made. Defaults to retail.
|
|
3252
|
-
*/
|
|
3253
|
-
purpose?: MandateOptions.Purpose;
|
|
3254
|
-
|
|
3255
|
-
/**
|
|
3256
|
-
* Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
|
|
3257
|
-
*/
|
|
3258
|
-
start_date?: string;
|
|
3259
|
-
}
|
|
3260
|
-
|
|
3261
|
-
namespace MandateOptions {
|
|
3262
|
-
type AmountType = 'fixed' | 'maximum';
|
|
3263
|
-
|
|
3264
|
-
type PaymentSchedule =
|
|
3265
|
-
| 'adhoc'
|
|
3266
|
-
| 'annual'
|
|
3267
|
-
| 'daily'
|
|
3268
|
-
| 'fortnightly'
|
|
3269
|
-
| 'monthly'
|
|
3270
|
-
| 'quarterly'
|
|
3271
|
-
| 'semi_annual'
|
|
3272
|
-
| 'weekly';
|
|
3273
|
-
|
|
3274
|
-
type Purpose =
|
|
3275
|
-
| 'dependant_support'
|
|
3276
|
-
| 'government'
|
|
3277
|
-
| 'loan'
|
|
3278
|
-
| 'mortgage'
|
|
3279
|
-
| 'other'
|
|
3280
|
-
| 'pension'
|
|
3281
|
-
| 'personal'
|
|
3282
|
-
| 'retail'
|
|
3283
|
-
| 'salary'
|
|
3284
|
-
| 'tax'
|
|
3285
|
-
| 'utility';
|
|
3286
|
-
}
|
|
3287
2826
|
}
|
|
3288
2827
|
|
|
3289
2828
|
interface SepaDebit {
|
|
@@ -3331,11 +2870,6 @@ declare module 'stripe' {
|
|
|
3331
2870
|
*/
|
|
3332
2871
|
filters?: FinancialConnections.Filters;
|
|
3333
2872
|
|
|
3334
|
-
/**
|
|
3335
|
-
* Customize manual entry behavior
|
|
3336
|
-
*/
|
|
3337
|
-
manual_entry?: FinancialConnections.ManualEntry;
|
|
3338
|
-
|
|
3339
2873
|
/**
|
|
3340
2874
|
* 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`.
|
|
3341
2875
|
*/
|
|
@@ -3358,39 +2892,19 @@ declare module 'stripe' {
|
|
|
3358
2892
|
* The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
|
|
3359
2893
|
*/
|
|
3360
2894
|
account_subcategories?: Array<Filters.AccountSubcategory>;
|
|
3361
|
-
|
|
3362
|
-
/**
|
|
3363
|
-
* ID of the institution to use to filter for selectable accounts.
|
|
3364
|
-
*/
|
|
3365
|
-
institution?: string;
|
|
3366
2895
|
}
|
|
3367
2896
|
|
|
3368
2897
|
namespace Filters {
|
|
3369
2898
|
type AccountSubcategory = 'checking' | 'savings';
|
|
3370
2899
|
}
|
|
3371
2900
|
|
|
3372
|
-
interface ManualEntry {
|
|
3373
|
-
/**
|
|
3374
|
-
* Settings for configuring manual entry of account details.
|
|
3375
|
-
*/
|
|
3376
|
-
mode: ManualEntry.Mode;
|
|
3377
|
-
}
|
|
3378
|
-
|
|
3379
|
-
namespace ManualEntry {
|
|
3380
|
-
type Mode = 'automatic' | 'custom';
|
|
3381
|
-
}
|
|
3382
|
-
|
|
3383
2901
|
type Permission =
|
|
3384
2902
|
| 'balances'
|
|
3385
2903
|
| 'ownership'
|
|
3386
2904
|
| 'payment_method'
|
|
3387
2905
|
| 'transactions';
|
|
3388
2906
|
|
|
3389
|
-
type Prefetch =
|
|
3390
|
-
| 'balances'
|
|
3391
|
-
| 'inferred_balances'
|
|
3392
|
-
| 'ownership'
|
|
3393
|
-
| 'transactions';
|
|
2907
|
+
type Prefetch = 'balances' | 'ownership' | 'transactions';
|
|
3394
2908
|
}
|
|
3395
2909
|
|
|
3396
2910
|
interface MandateOptions {
|
|
@@ -3434,11 +2948,6 @@ declare module 'stripe' {
|
|
|
3434
2948
|
*/
|
|
3435
2949
|
customer?: string;
|
|
3436
2950
|
|
|
3437
|
-
/**
|
|
3438
|
-
* Only return SetupIntents for the account specified by this customer ID.
|
|
3439
|
-
*/
|
|
3440
|
-
customer_account?: string;
|
|
3441
|
-
|
|
3442
2951
|
/**
|
|
3443
2952
|
* Specifies which fields in the response should be expanded.
|
|
3444
2953
|
*/
|
|
@@ -3664,21 +3173,11 @@ declare module 'stripe' {
|
|
|
3664
3173
|
*/
|
|
3665
3174
|
giropay?: PaymentMethodData.Giropay;
|
|
3666
3175
|
|
|
3667
|
-
/**
|
|
3668
|
-
* If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
|
|
3669
|
-
*/
|
|
3670
|
-
gopay?: PaymentMethodData.Gopay;
|
|
3671
|
-
|
|
3672
3176
|
/**
|
|
3673
3177
|
* If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
|
|
3674
3178
|
*/
|
|
3675
3179
|
grabpay?: PaymentMethodData.Grabpay;
|
|
3676
3180
|
|
|
3677
|
-
/**
|
|
3678
|
-
* If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
|
|
3679
|
-
*/
|
|
3680
|
-
id_bank_transfer?: PaymentMethodData.IdBankTransfer;
|
|
3681
|
-
|
|
3682
3181
|
/**
|
|
3683
3182
|
* If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
|
|
3684
3183
|
*/
|
|
@@ -3714,11 +3213,6 @@ declare module 'stripe' {
|
|
|
3714
3213
|
*/
|
|
3715
3214
|
link?: PaymentMethodData.Link;
|
|
3716
3215
|
|
|
3717
|
-
/**
|
|
3718
|
-
* If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method.
|
|
3719
|
-
*/
|
|
3720
|
-
mb_way?: PaymentMethodData.MbWay;
|
|
3721
|
-
|
|
3722
3216
|
/**
|
|
3723
3217
|
* 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`.
|
|
3724
3218
|
*/
|
|
@@ -3774,11 +3268,6 @@ declare module 'stripe' {
|
|
|
3774
3268
|
*/
|
|
3775
3269
|
paypal?: PaymentMethodData.Paypal;
|
|
3776
3270
|
|
|
3777
|
-
/**
|
|
3778
|
-
* If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
|
|
3779
|
-
*/
|
|
3780
|
-
payto?: PaymentMethodData.Payto;
|
|
3781
|
-
|
|
3782
3271
|
/**
|
|
3783
3272
|
* If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
|
|
3784
3273
|
*/
|
|
@@ -3789,21 +3278,11 @@ declare module 'stripe' {
|
|
|
3789
3278
|
*/
|
|
3790
3279
|
promptpay?: PaymentMethodData.Promptpay;
|
|
3791
3280
|
|
|
3792
|
-
/**
|
|
3793
|
-
* If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
|
|
3794
|
-
*/
|
|
3795
|
-
qris?: PaymentMethodData.Qris;
|
|
3796
|
-
|
|
3797
3281
|
/**
|
|
3798
3282
|
* Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
|
|
3799
3283
|
*/
|
|
3800
3284
|
radar_options?: PaymentMethodData.RadarOptions;
|
|
3801
3285
|
|
|
3802
|
-
/**
|
|
3803
|
-
* If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
|
|
3804
|
-
*/
|
|
3805
|
-
rechnung?: PaymentMethodData.Rechnung;
|
|
3806
|
-
|
|
3807
3286
|
/**
|
|
3808
3287
|
* If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
|
|
3809
3288
|
*/
|
|
@@ -3824,21 +3303,11 @@ declare module 'stripe' {
|
|
|
3824
3303
|
*/
|
|
3825
3304
|
sepa_debit?: PaymentMethodData.SepaDebit;
|
|
3826
3305
|
|
|
3827
|
-
/**
|
|
3828
|
-
* If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
|
|
3829
|
-
*/
|
|
3830
|
-
shopeepay?: PaymentMethodData.Shopeepay;
|
|
3831
|
-
|
|
3832
3306
|
/**
|
|
3833
3307
|
* If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
|
|
3834
3308
|
*/
|
|
3835
3309
|
sofort?: PaymentMethodData.Sofort;
|
|
3836
3310
|
|
|
3837
|
-
/**
|
|
3838
|
-
* This hash contains details about the Stripe balance payment method.
|
|
3839
|
-
*/
|
|
3840
|
-
stripe_balance?: PaymentMethodData.StripeBalance;
|
|
3841
|
-
|
|
3842
3311
|
/**
|
|
3843
3312
|
* If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
|
|
3844
3313
|
*/
|
|
@@ -4051,21 +3520,8 @@ declare module 'stripe' {
|
|
|
4051
3520
|
|
|
4052
3521
|
interface Giropay {}
|
|
4053
3522
|
|
|
4054
|
-
interface Gopay {}
|
|
4055
|
-
|
|
4056
3523
|
interface Grabpay {}
|
|
4057
3524
|
|
|
4058
|
-
interface IdBankTransfer {
|
|
4059
|
-
/**
|
|
4060
|
-
* Bank where the account is held.
|
|
4061
|
-
*/
|
|
4062
|
-
bank?: IdBankTransfer.Bank;
|
|
4063
|
-
}
|
|
4064
|
-
|
|
4065
|
-
namespace IdBankTransfer {
|
|
4066
|
-
type Bank = 'bca' | 'bni' | 'bri' | 'cimb' | 'permata';
|
|
4067
|
-
}
|
|
4068
|
-
|
|
4069
3525
|
interface Ideal {
|
|
4070
3526
|
/**
|
|
4071
3527
|
* The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
|
@@ -4130,8 +3586,6 @@ declare module 'stripe' {
|
|
|
4130
3586
|
|
|
4131
3587
|
interface Link {}
|
|
4132
3588
|
|
|
4133
|
-
interface MbWay {}
|
|
4134
|
-
|
|
4135
3589
|
interface Mobilepay {}
|
|
4136
3590
|
|
|
4137
3591
|
interface Multibanco {}
|
|
@@ -4223,29 +3677,10 @@ declare module 'stripe' {
|
|
|
4223
3677
|
|
|
4224
3678
|
interface Paypal {}
|
|
4225
3679
|
|
|
4226
|
-
interface Payto {
|
|
4227
|
-
/**
|
|
4228
|
-
* The account number for the bank account.
|
|
4229
|
-
*/
|
|
4230
|
-
account_number?: string;
|
|
4231
|
-
|
|
4232
|
-
/**
|
|
4233
|
-
* Bank-State-Branch number of the bank account.
|
|
4234
|
-
*/
|
|
4235
|
-
bsb_number?: string;
|
|
4236
|
-
|
|
4237
|
-
/**
|
|
4238
|
-
* The PayID alias for the bank account.
|
|
4239
|
-
*/
|
|
4240
|
-
pay_id?: string;
|
|
4241
|
-
}
|
|
4242
|
-
|
|
4243
3680
|
interface Pix {}
|
|
4244
3681
|
|
|
4245
3682
|
interface Promptpay {}
|
|
4246
3683
|
|
|
4247
|
-
interface Qris {}
|
|
4248
|
-
|
|
4249
3684
|
interface RadarOptions {
|
|
4250
3685
|
/**
|
|
4251
3686
|
* 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.
|
|
@@ -4253,32 +3688,6 @@ declare module 'stripe' {
|
|
|
4253
3688
|
session?: string;
|
|
4254
3689
|
}
|
|
4255
3690
|
|
|
4256
|
-
interface Rechnung {
|
|
4257
|
-
/**
|
|
4258
|
-
* Customer's date of birth
|
|
4259
|
-
*/
|
|
4260
|
-
dob: Rechnung.Dob;
|
|
4261
|
-
}
|
|
4262
|
-
|
|
4263
|
-
namespace Rechnung {
|
|
4264
|
-
interface Dob {
|
|
4265
|
-
/**
|
|
4266
|
-
* The day of birth, between 1 and 31.
|
|
4267
|
-
*/
|
|
4268
|
-
day: number;
|
|
4269
|
-
|
|
4270
|
-
/**
|
|
4271
|
-
* The month of birth, between 1 and 12.
|
|
4272
|
-
*/
|
|
4273
|
-
month: number;
|
|
4274
|
-
|
|
4275
|
-
/**
|
|
4276
|
-
* The four-digit year of birth.
|
|
4277
|
-
*/
|
|
4278
|
-
year: number;
|
|
4279
|
-
}
|
|
4280
|
-
}
|
|
4281
|
-
|
|
4282
3691
|
interface RevolutPay {}
|
|
4283
3692
|
|
|
4284
3693
|
interface SamsungPay {}
|
|
@@ -4292,8 +3701,6 @@ declare module 'stripe' {
|
|
|
4292
3701
|
iban: string;
|
|
4293
3702
|
}
|
|
4294
3703
|
|
|
4295
|
-
interface Shopeepay {}
|
|
4296
|
-
|
|
4297
3704
|
interface Sofort {
|
|
4298
3705
|
/**
|
|
4299
3706
|
* Two-letter ISO code representing the country the bank account is located in.
|
|
@@ -4305,22 +3712,6 @@ declare module 'stripe' {
|
|
|
4305
3712
|
type Country = 'AT' | 'BE' | 'DE' | 'ES' | 'IT' | 'NL';
|
|
4306
3713
|
}
|
|
4307
3714
|
|
|
4308
|
-
interface StripeBalance {
|
|
4309
|
-
/**
|
|
4310
|
-
* The connected account ID whose Stripe balance to use as the source of payment
|
|
4311
|
-
*/
|
|
4312
|
-
account?: string;
|
|
4313
|
-
|
|
4314
|
-
/**
|
|
4315
|
-
* The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
|
|
4316
|
-
*/
|
|
4317
|
-
source_type?: StripeBalance.SourceType;
|
|
4318
|
-
}
|
|
4319
|
-
|
|
4320
|
-
namespace StripeBalance {
|
|
4321
|
-
type SourceType = 'bank_account' | 'card' | 'fpx';
|
|
4322
|
-
}
|
|
4323
|
-
|
|
4324
3715
|
interface Swish {}
|
|
4325
3716
|
|
|
4326
3717
|
interface Twint {}
|
|
@@ -4344,16 +3735,13 @@ declare module 'stripe' {
|
|
|
4344
3735
|
| 'eps'
|
|
4345
3736
|
| 'fpx'
|
|
4346
3737
|
| 'giropay'
|
|
4347
|
-
| 'gopay'
|
|
4348
3738
|
| 'grabpay'
|
|
4349
|
-
| 'id_bank_transfer'
|
|
4350
3739
|
| 'ideal'
|
|
4351
3740
|
| 'kakao_pay'
|
|
4352
3741
|
| 'klarna'
|
|
4353
3742
|
| 'konbini'
|
|
4354
3743
|
| 'kr_card'
|
|
4355
3744
|
| 'link'
|
|
4356
|
-
| 'mb_way'
|
|
4357
3745
|
| 'mobilepay'
|
|
4358
3746
|
| 'multibanco'
|
|
4359
3747
|
| 'naver_pay'
|
|
@@ -4364,18 +3752,13 @@ declare module 'stripe' {
|
|
|
4364
3752
|
| 'payco'
|
|
4365
3753
|
| 'paynow'
|
|
4366
3754
|
| 'paypal'
|
|
4367
|
-
| 'payto'
|
|
4368
3755
|
| 'pix'
|
|
4369
3756
|
| 'promptpay'
|
|
4370
|
-
| 'qris'
|
|
4371
|
-
| 'rechnung'
|
|
4372
3757
|
| 'revolut_pay'
|
|
4373
3758
|
| 'samsung_pay'
|
|
4374
3759
|
| 'satispay'
|
|
4375
3760
|
| 'sepa_debit'
|
|
4376
|
-
| 'shopeepay'
|
|
4377
3761
|
| 'sofort'
|
|
4378
|
-
| 'stripe_balance'
|
|
4379
3762
|
| 'swish'
|
|
4380
3763
|
| 'twint'
|
|
4381
3764
|
| 'us_bank_account'
|
|
@@ -4461,11 +3844,6 @@ declare module 'stripe' {
|
|
|
4461
3844
|
*/
|
|
4462
3845
|
paypal?: PaymentMethodOptions.Paypal;
|
|
4463
3846
|
|
|
4464
|
-
/**
|
|
4465
|
-
* If this is a `payto` SetupIntent, this sub-hash contains details about the PayTo payment method options.
|
|
4466
|
-
*/
|
|
4467
|
-
payto?: PaymentMethodOptions.Payto;
|
|
4468
|
-
|
|
4469
3847
|
/**
|
|
4470
3848
|
* If this is a `sepa_debit` SetupIntent, this sub-hash contains details about the SEPA Debit payment method options.
|
|
4471
3849
|
*/
|
|
@@ -4913,86 +4291,6 @@ declare module 'stripe' {
|
|
|
4913
4291
|
* The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
|
|
4914
4292
|
*/
|
|
4915
4293
|
billing_agreement_id?: string;
|
|
4916
|
-
|
|
4917
|
-
currency?: string;
|
|
4918
|
-
|
|
4919
|
-
/**
|
|
4920
|
-
* 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.
|
|
4921
|
-
*/
|
|
4922
|
-
subsellers?: Array<string>;
|
|
4923
|
-
}
|
|
4924
|
-
|
|
4925
|
-
interface Payto {
|
|
4926
|
-
/**
|
|
4927
|
-
* Additional fields for Mandate creation.
|
|
4928
|
-
*/
|
|
4929
|
-
mandate_options?: Payto.MandateOptions;
|
|
4930
|
-
}
|
|
4931
|
-
|
|
4932
|
-
namespace Payto {
|
|
4933
|
-
interface MandateOptions {
|
|
4934
|
-
/**
|
|
4935
|
-
* Amount that will be collected. It is required when `amount_type` is `fixed`.
|
|
4936
|
-
*/
|
|
4937
|
-
amount?: number;
|
|
4938
|
-
|
|
4939
|
-
/**
|
|
4940
|
-
* 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.
|
|
4941
|
-
*/
|
|
4942
|
-
amount_type?: MandateOptions.AmountType;
|
|
4943
|
-
|
|
4944
|
-
/**
|
|
4945
|
-
* Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
|
|
4946
|
-
*/
|
|
4947
|
-
end_date?: string;
|
|
4948
|
-
|
|
4949
|
-
/**
|
|
4950
|
-
* The periodicity at which payments will be collected.
|
|
4951
|
-
*/
|
|
4952
|
-
payment_schedule?: MandateOptions.PaymentSchedule;
|
|
4953
|
-
|
|
4954
|
-
/**
|
|
4955
|
-
* 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.
|
|
4956
|
-
*/
|
|
4957
|
-
payments_per_period?: number;
|
|
4958
|
-
|
|
4959
|
-
/**
|
|
4960
|
-
* The purpose for which payments are made. Defaults to retail.
|
|
4961
|
-
*/
|
|
4962
|
-
purpose?: MandateOptions.Purpose;
|
|
4963
|
-
|
|
4964
|
-
/**
|
|
4965
|
-
* Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
|
|
4966
|
-
*/
|
|
4967
|
-
start_date?: string;
|
|
4968
|
-
}
|
|
4969
|
-
|
|
4970
|
-
namespace MandateOptions {
|
|
4971
|
-
type AmountType = 'fixed' | 'maximum';
|
|
4972
|
-
|
|
4973
|
-
type PaymentSchedule =
|
|
4974
|
-
| 'adhoc'
|
|
4975
|
-
| 'annual'
|
|
4976
|
-
| 'daily'
|
|
4977
|
-
| 'fortnightly'
|
|
4978
|
-
| 'monthly'
|
|
4979
|
-
| 'quarterly'
|
|
4980
|
-
| 'semi_annual'
|
|
4981
|
-
| 'weekly';
|
|
4982
|
-
|
|
4983
|
-
type Purpose =
|
|
4984
|
-
| 'dependant_support'
|
|
4985
|
-
| 'government'
|
|
4986
|
-
| 'loan'
|
|
4987
|
-
| 'mortgage'
|
|
4988
|
-
| 'other'
|
|
4989
|
-
| 'pension'
|
|
4990
|
-
| 'personal'
|
|
4991
|
-
| 'retail'
|
|
4992
|
-
| 'salary'
|
|
4993
|
-
| 'tax'
|
|
4994
|
-
| 'utility';
|
|
4995
|
-
}
|
|
4996
4294
|
}
|
|
4997
4295
|
|
|
4998
4296
|
interface SepaDebit {
|
|
@@ -5040,11 +4338,6 @@ declare module 'stripe' {
|
|
|
5040
4338
|
*/
|
|
5041
4339
|
filters?: FinancialConnections.Filters;
|
|
5042
4340
|
|
|
5043
|
-
/**
|
|
5044
|
-
* Customize manual entry behavior
|
|
5045
|
-
*/
|
|
5046
|
-
manual_entry?: FinancialConnections.ManualEntry;
|
|
5047
|
-
|
|
5048
4341
|
/**
|
|
5049
4342
|
* 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`.
|
|
5050
4343
|
*/
|
|
@@ -5067,39 +4360,19 @@ declare module 'stripe' {
|
|
|
5067
4360
|
* The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
|
|
5068
4361
|
*/
|
|
5069
4362
|
account_subcategories?: Array<Filters.AccountSubcategory>;
|
|
5070
|
-
|
|
5071
|
-
/**
|
|
5072
|
-
* ID of the institution to use to filter for selectable accounts.
|
|
5073
|
-
*/
|
|
5074
|
-
institution?: string;
|
|
5075
4363
|
}
|
|
5076
4364
|
|
|
5077
4365
|
namespace Filters {
|
|
5078
4366
|
type AccountSubcategory = 'checking' | 'savings';
|
|
5079
4367
|
}
|
|
5080
4368
|
|
|
5081
|
-
interface ManualEntry {
|
|
5082
|
-
/**
|
|
5083
|
-
* Settings for configuring manual entry of account details.
|
|
5084
|
-
*/
|
|
5085
|
-
mode: ManualEntry.Mode;
|
|
5086
|
-
}
|
|
5087
|
-
|
|
5088
|
-
namespace ManualEntry {
|
|
5089
|
-
type Mode = 'automatic' | 'custom';
|
|
5090
|
-
}
|
|
5091
|
-
|
|
5092
4369
|
type Permission =
|
|
5093
4370
|
| 'balances'
|
|
5094
4371
|
| 'ownership'
|
|
5095
4372
|
| 'payment_method'
|
|
5096
4373
|
| 'transactions';
|
|
5097
4374
|
|
|
5098
|
-
type Prefetch =
|
|
5099
|
-
| 'balances'
|
|
5100
|
-
| 'inferred_balances'
|
|
5101
|
-
| 'ownership'
|
|
5102
|
-
| 'transactions';
|
|
4375
|
+
type Prefetch = 'balances' | 'ownership' | 'transactions';
|
|
5103
4376
|
}
|
|
5104
4377
|
|
|
5105
4378
|
interface MandateOptions {
|