stripe 18.6.0-beta.1 → 19.0.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 +107 -1364
- package/OPENAPI_VERSION +1 -1
- package/README.md +22 -7
- package/VERSION +1 -1
- package/cjs/Error.js +1 -107
- package/cjs/RequestSender.js +15 -6
- package/cjs/StripeContext.js +56 -0
- package/cjs/apiVersion.js +3 -2
- package/cjs/net/FetchHttpClient.js +1 -1
- package/cjs/resources/FinancialConnections/Accounts.js +0 -5
- package/cjs/resources/Mandates.js +0 -5
- package/cjs/resources/PaymentIntents.js +0 -13
- package/cjs/resources/Quotes.js +0 -32
- package/cjs/resources/SubscriptionSchedules.js +0 -4
- package/cjs/resources/V2/Core/Events.js +1 -1
- package/cjs/resources.js +8 -100
- package/cjs/stripe.core.js +24 -3
- package/esm/Error.js +0 -93
- package/esm/RequestSender.js +15 -6
- package/esm/StripeContext.js +52 -0
- package/esm/apiVersion.js +2 -1
- package/esm/net/FetchHttpClient.js +1 -1
- package/esm/resources/FinancialConnections/Accounts.js +0 -5
- package/esm/resources/Mandates.js +0 -5
- package/esm/resources/PaymentIntents.js +0 -13
- package/esm/resources/Quotes.js +0 -32
- package/esm/resources/SubscriptionSchedules.js +0 -4
- package/esm/resources/V2/Core/Events.js +1 -1
- package/esm/resources.js +0 -85
- package/esm/stripe.core.js +24 -3
- package/package.json +4 -4
- package/types/AccountLinksResource.d.ts +1 -5
- package/types/AccountSessions.d.ts +0 -75
- package/types/AccountSessionsResource.d.ts +0 -306
- package/types/Accounts.d.ts +5 -207
- package/types/AccountsResource.d.ts +4 -528
- package/types/BalanceSettings.d.ts +12 -6
- package/types/BalanceSettingsResource.d.ts +15 -10
- package/types/BankAccounts.d.ts +4 -0
- package/types/Billing/AlertTriggereds.d.ts +1 -1
- package/types/Billing/AlertsResource.d.ts +1 -1
- 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/Configurations.d.ts +7 -0
- package/types/BillingPortal/ConfigurationsResource.d.ts +14 -0
- package/types/BillingPortal/Sessions.d.ts +0 -5
- package/types/BillingPortal/SessionsResource.d.ts +4 -12
- package/types/Capabilities.d.ts +4 -0
- package/types/Cards.d.ts +1 -6
- package/types/CashBalances.d.ts +0 -5
- package/types/Charges.d.ts +1 -169
- package/types/ChargesResource.d.ts +0 -1406
- package/types/Checkout/Sessions.d.ts +204 -360
- package/types/Checkout/SessionsResource.d.ts +346 -521
- 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 -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 +10 -2
- package/types/CustomersResource.d.ts +20 -7
- package/types/Discounts.d.ts +32 -24
- package/types/Disputes.d.ts +6 -29
- package/types/Errors.d.ts +0 -79
- package/types/EventTypes.d.ts +0 -664
- package/types/Events.d.ts +0 -97
- package/types/ExchangeRates.d.ts +2 -0
- package/types/ExchangeRatesResource.d.ts +6 -0
- 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 +0 -5
- package/types/Identity/VerificationSessionsResource.d.ts +0 -7
- package/types/InvoiceItems.d.ts +27 -9
- package/types/InvoiceItemsResource.d.ts +6 -117
- package/types/InvoiceLineItems.d.ts +1 -45
- package/types/InvoicePayments.d.ts +0 -5
- package/types/InvoicePaymentsResource.d.ts +1 -10
- package/types/Invoices.d.ts +6 -172
- package/types/InvoicesResource.d.ts +54 -1523
- package/types/Issuing/CardholdersResource.d.ts +5 -6
- package/types/Issuing/Cards.d.ts +5 -0
- package/types/Issuing/CardsResource.d.ts +4 -4
- 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 +1 -135
- package/types/MandatesResource.d.ts +0 -31
- package/types/PaymentIntents.d.ts +5 -820
- package/types/PaymentIntentsResource.d.ts +5643 -11279
- package/types/PaymentLinks.d.ts +0 -6
- package/types/PaymentLinksResource.d.ts +5 -12
- package/types/PaymentMethodConfigurations.d.ts +0 -180
- package/types/PaymentMethodConfigurationsResource.d.ts +28 -228
- package/types/PaymentMethods.d.ts +0 -125
- package/types/PaymentMethodsResource.d.ts +2 -172
- package/types/Persons.d.ts +4 -0
- package/types/Prices.d.ts +0 -22
- package/types/PricesResource.d.ts +0 -22
- package/types/PromotionCodes.d.ts +16 -14
- package/types/PromotionCodesResource.d.ts +15 -13
- package/types/Quotes.d.ts +9 -589
- package/types/QuotesResource.d.ts +290 -2619
- package/types/Refunds.d.ts +0 -14
- package/types/Reviews.d.ts +2 -0
- package/types/SetupAttempts.d.ts +3 -51
- package/types/SetupIntents.d.ts +4 -210
- package/types/SetupIntentsResource.d.ts +3 -913
- package/types/Sources.d.ts +1 -30
- package/types/SubscriptionItems.d.ts +0 -21
- package/types/SubscriptionItemsResource.d.ts +0 -109
- package/types/SubscriptionSchedules.d.ts +16 -205
- package/types/SubscriptionSchedulesResource.d.ts +21 -1243
- package/types/Subscriptions.d.ts +17 -135
- package/types/SubscriptionsResource.d.ts +49 -476
- package/types/Tax/CalculationsResource.d.ts +5 -5
- package/types/Tax/Settings.d.ts +7 -0
- package/types/TaxIds.d.ts +0 -10
- package/types/TaxIdsResource.d.ts +0 -10
- package/types/Terminal/Configurations.d.ts +9 -9
- package/types/Terminal/ConfigurationsResource.d.ts +26 -28
- package/types/Terminal/Locations.d.ts +95 -0
- package/types/Terminal/LocationsResource.d.ts +59 -6
- package/types/Terminal/Readers.d.ts +0 -20
- package/types/TestHelpers/ConfirmationTokensResource.d.ts +0 -118
- package/types/TestHelpers/Issuing/AuthorizationsResource.d.ts +79 -0
- 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/Billing/MeterEventStreamResource.d.ts +1 -1
- package/types/V2/Core/EventDestinations.d.ts +166 -0
- package/types/V2/Core/EventDestinationsResource.d.ts +14 -14
- package/types/V2/Core/EventTypes.d.ts +256 -0
- package/types/V2/Core/Events.d.ts +77 -0
- package/types/V2/Core/EventsResource.d.ts +4 -4
- package/types/V2/DeletedObject.d.ts +22 -0
- package/types/V2/EventMisc.d.ts +72 -0
- package/types/WebhookEndpointsResource.d.ts +2 -79
- package/types/apiVersion.d.ts +4 -0
- package/types/index.d.ts +8 -150
- package/types/lib.d.ts +7 -15
- package/types/test/typescriptTest.ts +48 -3
- package/cjs/resources/AccountNotices.js +0 -21
- package/cjs/resources/Billing/MeterUsage.js +0 -12
- 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/PaymentAttemptRecords.js +0 -17
- 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/OnboardingLinks.js +0 -12
- 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/Billing/MeterUsage.js +0 -9
- 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/PaymentAttemptRecords.js +0 -14
- 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/OnboardingLinks.js +0 -9
- 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/Billing/MeterUsage.d.ts +0 -32
- package/types/Billing/MeterUsageResource.d.ts +0 -685
- package/types/Billing/MeterUsageRows.d.ts +0 -49
- 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 -155
- 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 -2321
- package/types/PaymentAttemptRecordsResource.d.ts +0 -52
- package/types/PaymentIntentAmountDetailsLineItems.d.ts +0 -116
- package/types/PaymentRecords.d.ts +0 -2314
- package/types/PaymentRecordsResource.d.ts +0 -476
- 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 -1736
- package/types/QuotePreviewSubscriptionSchedules.d.ts +0 -892
- 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/OnboardingLinks.d.ts +0 -57
- package/types/Terminal/OnboardingLinksResource.d.ts +0 -62
- package/types/Terminal/ReaderCollectedData.d.ts +0 -51
- package/types/Terminal/ReaderCollectedDataResource.d.ts +0 -29
- package/types/ThinEvent.d.ts +0 -36
- package/types/V2/Core/AccountLinks.d.ts +0 -168
- package/types/V2/Core/AccountLinksResource.d.ts +0 -152
- package/types/V2/Core/Accounts/PersonsResource.d.ts +0 -3812
- package/types/V2/Core/Accounts.d.ts +0 -8862
- package/types/V2/Core/AccountsResource.d.ts +0 -10704
- package/types/V2/Core/Persons.d.ts +0 -1888
- 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/EventDestinations.d.ts +0 -164
- package/types/V2/EventTypes.d.ts +0 -1188
- package/types/V2/Events.d.ts +0 -75
- 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 -585
- package/types/V2/MoneyManagement/FinancialAccountsResource.d.ts +0 -331
- 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 -160
- 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 -162
- package/types/V2/MoneyManagement/TransactionEntriesResource.d.ts +0 -82
- package/types/V2/MoneyManagement/Transactions.d.ts +0 -177
- package/types/V2/MoneyManagement/TransactionsResource.d.ts +0 -83
- package/types/V2/Payments/OffSessionPayments.d.ts +0 -179
- package/types/V2/Payments/OffSessionPaymentsResource.d.ts +0 -174
- package/types/V2/TestHelpers/FinancialAddressesResource.d.ts +0 -68
|
@@ -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
|
*/
|
|
@@ -403,11 +386,6 @@ declare module 'stripe' {
|
|
|
403
386
|
*/
|
|
404
387
|
paypal?: PaymentMethodData.Paypal;
|
|
405
388
|
|
|
406
|
-
/**
|
|
407
|
-
* If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
|
|
408
|
-
*/
|
|
409
|
-
payto?: PaymentMethodData.Payto;
|
|
410
|
-
|
|
411
389
|
/**
|
|
412
390
|
* If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
|
|
413
391
|
*/
|
|
@@ -418,21 +396,11 @@ declare module 'stripe' {
|
|
|
418
396
|
*/
|
|
419
397
|
promptpay?: PaymentMethodData.Promptpay;
|
|
420
398
|
|
|
421
|
-
/**
|
|
422
|
-
* If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
|
|
423
|
-
*/
|
|
424
|
-
qris?: PaymentMethodData.Qris;
|
|
425
|
-
|
|
426
399
|
/**
|
|
427
400
|
* Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
|
|
428
401
|
*/
|
|
429
402
|
radar_options?: PaymentMethodData.RadarOptions;
|
|
430
403
|
|
|
431
|
-
/**
|
|
432
|
-
* If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
|
|
433
|
-
*/
|
|
434
|
-
rechnung?: PaymentMethodData.Rechnung;
|
|
435
|
-
|
|
436
404
|
/**
|
|
437
405
|
* If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
|
|
438
406
|
*/
|
|
@@ -453,21 +421,11 @@ declare module 'stripe' {
|
|
|
453
421
|
*/
|
|
454
422
|
sepa_debit?: PaymentMethodData.SepaDebit;
|
|
455
423
|
|
|
456
|
-
/**
|
|
457
|
-
* If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
|
|
458
|
-
*/
|
|
459
|
-
shopeepay?: PaymentMethodData.Shopeepay;
|
|
460
|
-
|
|
461
424
|
/**
|
|
462
425
|
* If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
|
|
463
426
|
*/
|
|
464
427
|
sofort?: PaymentMethodData.Sofort;
|
|
465
428
|
|
|
466
|
-
/**
|
|
467
|
-
* This hash contains details about the Stripe balance payment method.
|
|
468
|
-
*/
|
|
469
|
-
stripe_balance?: PaymentMethodData.StripeBalance;
|
|
470
|
-
|
|
471
429
|
/**
|
|
472
430
|
* If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
|
|
473
431
|
*/
|
|
@@ -680,21 +638,8 @@ declare module 'stripe' {
|
|
|
680
638
|
|
|
681
639
|
interface Giropay {}
|
|
682
640
|
|
|
683
|
-
interface Gopay {}
|
|
684
|
-
|
|
685
641
|
interface Grabpay {}
|
|
686
642
|
|
|
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
643
|
interface Ideal {
|
|
699
644
|
/**
|
|
700
645
|
* The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
|
@@ -852,29 +797,10 @@ declare module 'stripe' {
|
|
|
852
797
|
|
|
853
798
|
interface Paypal {}
|
|
854
799
|
|
|
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
800
|
interface Pix {}
|
|
873
801
|
|
|
874
802
|
interface Promptpay {}
|
|
875
803
|
|
|
876
|
-
interface Qris {}
|
|
877
|
-
|
|
878
804
|
interface RadarOptions {
|
|
879
805
|
/**
|
|
880
806
|
* 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 +808,6 @@ declare module 'stripe' {
|
|
|
882
808
|
session?: string;
|
|
883
809
|
}
|
|
884
810
|
|
|
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
811
|
interface RevolutPay {}
|
|
912
812
|
|
|
913
813
|
interface SamsungPay {}
|
|
@@ -921,8 +821,6 @@ declare module 'stripe' {
|
|
|
921
821
|
iban: string;
|
|
922
822
|
}
|
|
923
823
|
|
|
924
|
-
interface Shopeepay {}
|
|
925
|
-
|
|
926
824
|
interface Sofort {
|
|
927
825
|
/**
|
|
928
826
|
* Two-letter ISO code representing the country the bank account is located in.
|
|
@@ -934,22 +832,6 @@ declare module 'stripe' {
|
|
|
934
832
|
type Country = 'AT' | 'BE' | 'DE' | 'ES' | 'IT' | 'NL';
|
|
935
833
|
}
|
|
936
834
|
|
|
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
835
|
interface Swish {}
|
|
954
836
|
|
|
955
837
|
interface Twint {}
|
|
@@ -973,9 +855,7 @@ declare module 'stripe' {
|
|
|
973
855
|
| 'eps'
|
|
974
856
|
| 'fpx'
|
|
975
857
|
| 'giropay'
|
|
976
|
-
| 'gopay'
|
|
977
858
|
| 'grabpay'
|
|
978
|
-
| 'id_bank_transfer'
|
|
979
859
|
| 'ideal'
|
|
980
860
|
| 'kakao_pay'
|
|
981
861
|
| 'klarna'
|
|
@@ -993,18 +873,13 @@ declare module 'stripe' {
|
|
|
993
873
|
| 'payco'
|
|
994
874
|
| 'paynow'
|
|
995
875
|
| 'paypal'
|
|
996
|
-
| 'payto'
|
|
997
876
|
| 'pix'
|
|
998
877
|
| 'promptpay'
|
|
999
|
-
| 'qris'
|
|
1000
|
-
| 'rechnung'
|
|
1001
878
|
| 'revolut_pay'
|
|
1002
879
|
| 'samsung_pay'
|
|
1003
880
|
| 'satispay'
|
|
1004
881
|
| 'sepa_debit'
|
|
1005
|
-
| 'shopeepay'
|
|
1006
882
|
| 'sofort'
|
|
1007
|
-
| 'stripe_balance'
|
|
1008
883
|
| 'swish'
|
|
1009
884
|
| 'twint'
|
|
1010
885
|
| 'us_bank_account'
|
|
@@ -1090,16 +965,6 @@ declare module 'stripe' {
|
|
|
1090
965
|
*/
|
|
1091
966
|
paypal?: PaymentMethodOptions.Paypal;
|
|
1092
967
|
|
|
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
|
-
/**
|
|
1099
|
-
* If this is a `pix` SetupIntent, this sub-hash contains details about the Pix payment method options.
|
|
1100
|
-
*/
|
|
1101
|
-
pix?: PaymentMethodOptions.Pix;
|
|
1102
|
-
|
|
1103
968
|
/**
|
|
1104
969
|
* If this is a `sepa_debit` SetupIntent, this sub-hash contains details about the SEPA Debit payment method options.
|
|
1105
970
|
*/
|
|
@@ -1547,150 +1412,6 @@ declare module 'stripe' {
|
|
|
1547
1412
|
* The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
|
|
1548
1413
|
*/
|
|
1549
1414
|
billing_agreement_id?: string;
|
|
1550
|
-
|
|
1551
|
-
currency?: string;
|
|
1552
|
-
|
|
1553
|
-
/**
|
|
1554
|
-
* 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.
|
|
1555
|
-
*/
|
|
1556
|
-
subsellers?: Array<string>;
|
|
1557
|
-
}
|
|
1558
|
-
|
|
1559
|
-
interface Payto {
|
|
1560
|
-
/**
|
|
1561
|
-
* Additional fields for Mandate creation.
|
|
1562
|
-
*/
|
|
1563
|
-
mandate_options?: Payto.MandateOptions;
|
|
1564
|
-
}
|
|
1565
|
-
|
|
1566
|
-
namespace Payto {
|
|
1567
|
-
interface MandateOptions {
|
|
1568
|
-
/**
|
|
1569
|
-
* Amount that will be collected. It is required when `amount_type` is `fixed`.
|
|
1570
|
-
*/
|
|
1571
|
-
amount?: number;
|
|
1572
|
-
|
|
1573
|
-
/**
|
|
1574
|
-
* 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.
|
|
1575
|
-
*/
|
|
1576
|
-
amount_type?: MandateOptions.AmountType;
|
|
1577
|
-
|
|
1578
|
-
/**
|
|
1579
|
-
* Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
|
|
1580
|
-
*/
|
|
1581
|
-
end_date?: string;
|
|
1582
|
-
|
|
1583
|
-
/**
|
|
1584
|
-
* The periodicity at which payments will be collected.
|
|
1585
|
-
*/
|
|
1586
|
-
payment_schedule?: MandateOptions.PaymentSchedule;
|
|
1587
|
-
|
|
1588
|
-
/**
|
|
1589
|
-
* 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.
|
|
1590
|
-
*/
|
|
1591
|
-
payments_per_period?: number;
|
|
1592
|
-
|
|
1593
|
-
/**
|
|
1594
|
-
* The purpose for which payments are made. Defaults to retail.
|
|
1595
|
-
*/
|
|
1596
|
-
purpose?: MandateOptions.Purpose;
|
|
1597
|
-
|
|
1598
|
-
/**
|
|
1599
|
-
* Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
|
|
1600
|
-
*/
|
|
1601
|
-
start_date?: string;
|
|
1602
|
-
}
|
|
1603
|
-
|
|
1604
|
-
namespace MandateOptions {
|
|
1605
|
-
type AmountType = 'fixed' | 'maximum';
|
|
1606
|
-
|
|
1607
|
-
type PaymentSchedule =
|
|
1608
|
-
| 'adhoc'
|
|
1609
|
-
| 'annual'
|
|
1610
|
-
| 'daily'
|
|
1611
|
-
| 'fortnightly'
|
|
1612
|
-
| 'monthly'
|
|
1613
|
-
| 'quarterly'
|
|
1614
|
-
| 'semi_annual'
|
|
1615
|
-
| 'weekly';
|
|
1616
|
-
|
|
1617
|
-
type Purpose =
|
|
1618
|
-
| 'dependant_support'
|
|
1619
|
-
| 'government'
|
|
1620
|
-
| 'loan'
|
|
1621
|
-
| 'mortgage'
|
|
1622
|
-
| 'other'
|
|
1623
|
-
| 'pension'
|
|
1624
|
-
| 'personal'
|
|
1625
|
-
| 'retail'
|
|
1626
|
-
| 'salary'
|
|
1627
|
-
| 'tax'
|
|
1628
|
-
| 'utility';
|
|
1629
|
-
}
|
|
1630
|
-
}
|
|
1631
|
-
|
|
1632
|
-
interface Pix {
|
|
1633
|
-
/**
|
|
1634
|
-
* Additional fields for mandate creation.
|
|
1635
|
-
*/
|
|
1636
|
-
mandate_options?: Pix.MandateOptions;
|
|
1637
|
-
}
|
|
1638
|
-
|
|
1639
|
-
namespace Pix {
|
|
1640
|
-
interface MandateOptions {
|
|
1641
|
-
/**
|
|
1642
|
-
* Amount to be charged for future payments. Required when `amount_type=fixed`. If not provided for `amount_type=maximum`, defaults to 40000.
|
|
1643
|
-
*/
|
|
1644
|
-
amount?: number;
|
|
1645
|
-
|
|
1646
|
-
/**
|
|
1647
|
-
* Determines if the amount includes the IOF tax. Defaults to `never`.
|
|
1648
|
-
*/
|
|
1649
|
-
amount_includes_iof?: MandateOptions.AmountIncludesIof;
|
|
1650
|
-
|
|
1651
|
-
/**
|
|
1652
|
-
* Type of amount. Defaults to `maximum`.
|
|
1653
|
-
*/
|
|
1654
|
-
amount_type?: MandateOptions.AmountType;
|
|
1655
|
-
|
|
1656
|
-
/**
|
|
1657
|
-
* Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Only `brl` is supported currently.
|
|
1658
|
-
*/
|
|
1659
|
-
currency?: string;
|
|
1660
|
-
|
|
1661
|
-
/**
|
|
1662
|
-
* Date when the mandate expires and no further payments will be charged, in `YYYY-MM-DD`. If not provided, the mandate will be active until canceled. If provided, end date should be after start date.
|
|
1663
|
-
*/
|
|
1664
|
-
end_date?: string;
|
|
1665
|
-
|
|
1666
|
-
/**
|
|
1667
|
-
* Schedule at which the future payments will be charged. Defaults to `weekly`.
|
|
1668
|
-
*/
|
|
1669
|
-
payment_schedule?: MandateOptions.PaymentSchedule;
|
|
1670
|
-
|
|
1671
|
-
/**
|
|
1672
|
-
* Subscription name displayed to buyers in their bank app. Defaults to the displayable business name.
|
|
1673
|
-
*/
|
|
1674
|
-
reference?: string;
|
|
1675
|
-
|
|
1676
|
-
/**
|
|
1677
|
-
* Start date of the mandate, in `YYYY-MM-DD`. Start date should be at least 3 days in the future. Defaults to 3 days after the current date.
|
|
1678
|
-
*/
|
|
1679
|
-
start_date?: string;
|
|
1680
|
-
}
|
|
1681
|
-
|
|
1682
|
-
namespace MandateOptions {
|
|
1683
|
-
type AmountIncludesIof = 'always' | 'never';
|
|
1684
|
-
|
|
1685
|
-
type AmountType = 'fixed' | 'maximum';
|
|
1686
|
-
|
|
1687
|
-
type PaymentSchedule =
|
|
1688
|
-
| 'halfyearly'
|
|
1689
|
-
| 'monthly'
|
|
1690
|
-
| 'quarterly'
|
|
1691
|
-
| 'weekly'
|
|
1692
|
-
| 'yearly';
|
|
1693
|
-
}
|
|
1694
1415
|
}
|
|
1695
1416
|
|
|
1696
1417
|
interface SepaDebit {
|
|
@@ -1738,11 +1459,6 @@ declare module 'stripe' {
|
|
|
1738
1459
|
*/
|
|
1739
1460
|
filters?: FinancialConnections.Filters;
|
|
1740
1461
|
|
|
1741
|
-
/**
|
|
1742
|
-
* Customize manual entry behavior
|
|
1743
|
-
*/
|
|
1744
|
-
manual_entry?: FinancialConnections.ManualEntry;
|
|
1745
|
-
|
|
1746
1462
|
/**
|
|
1747
1463
|
* 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`.
|
|
1748
1464
|
*/
|
|
@@ -1765,39 +1481,19 @@ declare module 'stripe' {
|
|
|
1765
1481
|
* The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
|
|
1766
1482
|
*/
|
|
1767
1483
|
account_subcategories?: Array<Filters.AccountSubcategory>;
|
|
1768
|
-
|
|
1769
|
-
/**
|
|
1770
|
-
* ID of the institution to use to filter for selectable accounts.
|
|
1771
|
-
*/
|
|
1772
|
-
institution?: string;
|
|
1773
1484
|
}
|
|
1774
1485
|
|
|
1775
1486
|
namespace Filters {
|
|
1776
1487
|
type AccountSubcategory = 'checking' | 'savings';
|
|
1777
1488
|
}
|
|
1778
1489
|
|
|
1779
|
-
interface ManualEntry {
|
|
1780
|
-
/**
|
|
1781
|
-
* Settings for configuring manual entry of account details.
|
|
1782
|
-
*/
|
|
1783
|
-
mode: ManualEntry.Mode;
|
|
1784
|
-
}
|
|
1785
|
-
|
|
1786
|
-
namespace ManualEntry {
|
|
1787
|
-
type Mode = 'automatic' | 'custom';
|
|
1788
|
-
}
|
|
1789
|
-
|
|
1790
1490
|
type Permission =
|
|
1791
1491
|
| 'balances'
|
|
1792
1492
|
| 'ownership'
|
|
1793
1493
|
| 'payment_method'
|
|
1794
1494
|
| 'transactions';
|
|
1795
1495
|
|
|
1796
|
-
type Prefetch =
|
|
1797
|
-
| 'balances'
|
|
1798
|
-
| 'inferred_balances'
|
|
1799
|
-
| 'ownership'
|
|
1800
|
-
| 'transactions';
|
|
1496
|
+
type Prefetch = 'balances' | 'ownership' | 'transactions';
|
|
1801
1497
|
}
|
|
1802
1498
|
|
|
1803
1499
|
interface MandateOptions {
|
|
@@ -1864,13 +1560,6 @@ declare module 'stripe' {
|
|
|
1864
1560
|
*/
|
|
1865
1561
|
customer?: string;
|
|
1866
1562
|
|
|
1867
|
-
/**
|
|
1868
|
-
* ID of the Account this SetupIntent belongs to, if one exists.
|
|
1869
|
-
*
|
|
1870
|
-
* 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.
|
|
1871
|
-
*/
|
|
1872
|
-
customer_account?: string;
|
|
1873
|
-
|
|
1874
1563
|
/**
|
|
1875
1564
|
* An arbitrary string attached to the object. Often useful for displaying to users.
|
|
1876
1565
|
*/
|
|
@@ -2024,21 +1713,11 @@ declare module 'stripe' {
|
|
|
2024
1713
|
*/
|
|
2025
1714
|
giropay?: PaymentMethodData.Giropay;
|
|
2026
1715
|
|
|
2027
|
-
/**
|
|
2028
|
-
* If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
|
|
2029
|
-
*/
|
|
2030
|
-
gopay?: PaymentMethodData.Gopay;
|
|
2031
|
-
|
|
2032
1716
|
/**
|
|
2033
1717
|
* If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
|
|
2034
1718
|
*/
|
|
2035
1719
|
grabpay?: PaymentMethodData.Grabpay;
|
|
2036
1720
|
|
|
2037
|
-
/**
|
|
2038
|
-
* If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
|
|
2039
|
-
*/
|
|
2040
|
-
id_bank_transfer?: PaymentMethodData.IdBankTransfer;
|
|
2041
|
-
|
|
2042
1721
|
/**
|
|
2043
1722
|
* If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
|
|
2044
1723
|
*/
|
|
@@ -2134,11 +1813,6 @@ declare module 'stripe' {
|
|
|
2134
1813
|
*/
|
|
2135
1814
|
paypal?: PaymentMethodData.Paypal;
|
|
2136
1815
|
|
|
2137
|
-
/**
|
|
2138
|
-
* If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
|
|
2139
|
-
*/
|
|
2140
|
-
payto?: PaymentMethodData.Payto;
|
|
2141
|
-
|
|
2142
1816
|
/**
|
|
2143
1817
|
* If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
|
|
2144
1818
|
*/
|
|
@@ -2149,21 +1823,11 @@ declare module 'stripe' {
|
|
|
2149
1823
|
*/
|
|
2150
1824
|
promptpay?: PaymentMethodData.Promptpay;
|
|
2151
1825
|
|
|
2152
|
-
/**
|
|
2153
|
-
* If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
|
|
2154
|
-
*/
|
|
2155
|
-
qris?: PaymentMethodData.Qris;
|
|
2156
|
-
|
|
2157
1826
|
/**
|
|
2158
1827
|
* Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
|
|
2159
1828
|
*/
|
|
2160
1829
|
radar_options?: PaymentMethodData.RadarOptions;
|
|
2161
1830
|
|
|
2162
|
-
/**
|
|
2163
|
-
* If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
|
|
2164
|
-
*/
|
|
2165
|
-
rechnung?: PaymentMethodData.Rechnung;
|
|
2166
|
-
|
|
2167
1831
|
/**
|
|
2168
1832
|
* If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
|
|
2169
1833
|
*/
|
|
@@ -2184,21 +1848,11 @@ declare module 'stripe' {
|
|
|
2184
1848
|
*/
|
|
2185
1849
|
sepa_debit?: PaymentMethodData.SepaDebit;
|
|
2186
1850
|
|
|
2187
|
-
/**
|
|
2188
|
-
* If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
|
|
2189
|
-
*/
|
|
2190
|
-
shopeepay?: PaymentMethodData.Shopeepay;
|
|
2191
|
-
|
|
2192
1851
|
/**
|
|
2193
1852
|
* If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
|
|
2194
1853
|
*/
|
|
2195
1854
|
sofort?: PaymentMethodData.Sofort;
|
|
2196
1855
|
|
|
2197
|
-
/**
|
|
2198
|
-
* This hash contains details about the Stripe balance payment method.
|
|
2199
|
-
*/
|
|
2200
|
-
stripe_balance?: PaymentMethodData.StripeBalance;
|
|
2201
|
-
|
|
2202
1856
|
/**
|
|
2203
1857
|
* If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
|
|
2204
1858
|
*/
|
|
@@ -2411,21 +2065,8 @@ declare module 'stripe' {
|
|
|
2411
2065
|
|
|
2412
2066
|
interface Giropay {}
|
|
2413
2067
|
|
|
2414
|
-
interface Gopay {}
|
|
2415
|
-
|
|
2416
2068
|
interface Grabpay {}
|
|
2417
2069
|
|
|
2418
|
-
interface IdBankTransfer {
|
|
2419
|
-
/**
|
|
2420
|
-
* Bank where the account is held.
|
|
2421
|
-
*/
|
|
2422
|
-
bank?: IdBankTransfer.Bank;
|
|
2423
|
-
}
|
|
2424
|
-
|
|
2425
|
-
namespace IdBankTransfer {
|
|
2426
|
-
type Bank = 'bca' | 'bni' | 'bri' | 'cimb' | 'permata';
|
|
2427
|
-
}
|
|
2428
|
-
|
|
2429
2070
|
interface Ideal {
|
|
2430
2071
|
/**
|
|
2431
2072
|
* The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
|
@@ -2583,29 +2224,10 @@ declare module 'stripe' {
|
|
|
2583
2224
|
|
|
2584
2225
|
interface Paypal {}
|
|
2585
2226
|
|
|
2586
|
-
interface Payto {
|
|
2587
|
-
/**
|
|
2588
|
-
* The account number for the bank account.
|
|
2589
|
-
*/
|
|
2590
|
-
account_number?: string;
|
|
2591
|
-
|
|
2592
|
-
/**
|
|
2593
|
-
* Bank-State-Branch number of the bank account.
|
|
2594
|
-
*/
|
|
2595
|
-
bsb_number?: string;
|
|
2596
|
-
|
|
2597
|
-
/**
|
|
2598
|
-
* The PayID alias for the bank account.
|
|
2599
|
-
*/
|
|
2600
|
-
pay_id?: string;
|
|
2601
|
-
}
|
|
2602
|
-
|
|
2603
2227
|
interface Pix {}
|
|
2604
2228
|
|
|
2605
2229
|
interface Promptpay {}
|
|
2606
2230
|
|
|
2607
|
-
interface Qris {}
|
|
2608
|
-
|
|
2609
2231
|
interface RadarOptions {
|
|
2610
2232
|
/**
|
|
2611
2233
|
* 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.
|
|
@@ -2613,32 +2235,6 @@ declare module 'stripe' {
|
|
|
2613
2235
|
session?: string;
|
|
2614
2236
|
}
|
|
2615
2237
|
|
|
2616
|
-
interface Rechnung {
|
|
2617
|
-
/**
|
|
2618
|
-
* Customer's date of birth
|
|
2619
|
-
*/
|
|
2620
|
-
dob: Rechnung.Dob;
|
|
2621
|
-
}
|
|
2622
|
-
|
|
2623
|
-
namespace Rechnung {
|
|
2624
|
-
interface Dob {
|
|
2625
|
-
/**
|
|
2626
|
-
* The day of birth, between 1 and 31.
|
|
2627
|
-
*/
|
|
2628
|
-
day: number;
|
|
2629
|
-
|
|
2630
|
-
/**
|
|
2631
|
-
* The month of birth, between 1 and 12.
|
|
2632
|
-
*/
|
|
2633
|
-
month: number;
|
|
2634
|
-
|
|
2635
|
-
/**
|
|
2636
|
-
* The four-digit year of birth.
|
|
2637
|
-
*/
|
|
2638
|
-
year: number;
|
|
2639
|
-
}
|
|
2640
|
-
}
|
|
2641
|
-
|
|
2642
2238
|
interface RevolutPay {}
|
|
2643
2239
|
|
|
2644
2240
|
interface SamsungPay {}
|
|
@@ -2652,8 +2248,6 @@ declare module 'stripe' {
|
|
|
2652
2248
|
iban: string;
|
|
2653
2249
|
}
|
|
2654
2250
|
|
|
2655
|
-
interface Shopeepay {}
|
|
2656
|
-
|
|
2657
2251
|
interface Sofort {
|
|
2658
2252
|
/**
|
|
2659
2253
|
* Two-letter ISO code representing the country the bank account is located in.
|
|
@@ -2665,22 +2259,6 @@ declare module 'stripe' {
|
|
|
2665
2259
|
type Country = 'AT' | 'BE' | 'DE' | 'ES' | 'IT' | 'NL';
|
|
2666
2260
|
}
|
|
2667
2261
|
|
|
2668
|
-
interface StripeBalance {
|
|
2669
|
-
/**
|
|
2670
|
-
* The connected account ID whose Stripe balance to use as the source of payment
|
|
2671
|
-
*/
|
|
2672
|
-
account?: string;
|
|
2673
|
-
|
|
2674
|
-
/**
|
|
2675
|
-
* The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
|
|
2676
|
-
*/
|
|
2677
|
-
source_type?: StripeBalance.SourceType;
|
|
2678
|
-
}
|
|
2679
|
-
|
|
2680
|
-
namespace StripeBalance {
|
|
2681
|
-
type SourceType = 'bank_account' | 'card' | 'fpx';
|
|
2682
|
-
}
|
|
2683
|
-
|
|
2684
2262
|
interface Swish {}
|
|
2685
2263
|
|
|
2686
2264
|
interface Twint {}
|
|
@@ -2704,9 +2282,7 @@ declare module 'stripe' {
|
|
|
2704
2282
|
| 'eps'
|
|
2705
2283
|
| 'fpx'
|
|
2706
2284
|
| 'giropay'
|
|
2707
|
-
| 'gopay'
|
|
2708
2285
|
| 'grabpay'
|
|
2709
|
-
| 'id_bank_transfer'
|
|
2710
2286
|
| 'ideal'
|
|
2711
2287
|
| 'kakao_pay'
|
|
2712
2288
|
| 'klarna'
|
|
@@ -2724,18 +2300,13 @@ declare module 'stripe' {
|
|
|
2724
2300
|
| 'payco'
|
|
2725
2301
|
| 'paynow'
|
|
2726
2302
|
| 'paypal'
|
|
2727
|
-
| 'payto'
|
|
2728
2303
|
| 'pix'
|
|
2729
2304
|
| 'promptpay'
|
|
2730
|
-
| 'qris'
|
|
2731
|
-
| 'rechnung'
|
|
2732
2305
|
| 'revolut_pay'
|
|
2733
2306
|
| 'samsung_pay'
|
|
2734
2307
|
| 'satispay'
|
|
2735
2308
|
| 'sepa_debit'
|
|
2736
|
-
| 'shopeepay'
|
|
2737
2309
|
| 'sofort'
|
|
2738
|
-
| 'stripe_balance'
|
|
2739
2310
|
| 'swish'
|
|
2740
2311
|
| 'twint'
|
|
2741
2312
|
| 'us_bank_account'
|
|
@@ -2821,16 +2392,6 @@ declare module 'stripe' {
|
|
|
2821
2392
|
*/
|
|
2822
2393
|
paypal?: PaymentMethodOptions.Paypal;
|
|
2823
2394
|
|
|
2824
|
-
/**
|
|
2825
|
-
* If this is a `payto` SetupIntent, this sub-hash contains details about the PayTo payment method options.
|
|
2826
|
-
*/
|
|
2827
|
-
payto?: PaymentMethodOptions.Payto;
|
|
2828
|
-
|
|
2829
|
-
/**
|
|
2830
|
-
* If this is a `pix` SetupIntent, this sub-hash contains details about the Pix payment method options.
|
|
2831
|
-
*/
|
|
2832
|
-
pix?: PaymentMethodOptions.Pix;
|
|
2833
|
-
|
|
2834
2395
|
/**
|
|
2835
2396
|
* If this is a `sepa_debit` SetupIntent, this sub-hash contains details about the SEPA Debit payment method options.
|
|
2836
2397
|
*/
|
|
@@ -3278,150 +2839,6 @@ declare module 'stripe' {
|
|
|
3278
2839
|
* The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
|
|
3279
2840
|
*/
|
|
3280
2841
|
billing_agreement_id?: string;
|
|
3281
|
-
|
|
3282
|
-
currency?: string;
|
|
3283
|
-
|
|
3284
|
-
/**
|
|
3285
|
-
* 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.
|
|
3286
|
-
*/
|
|
3287
|
-
subsellers?: Array<string>;
|
|
3288
|
-
}
|
|
3289
|
-
|
|
3290
|
-
interface Payto {
|
|
3291
|
-
/**
|
|
3292
|
-
* Additional fields for Mandate creation.
|
|
3293
|
-
*/
|
|
3294
|
-
mandate_options?: Payto.MandateOptions;
|
|
3295
|
-
}
|
|
3296
|
-
|
|
3297
|
-
namespace Payto {
|
|
3298
|
-
interface MandateOptions {
|
|
3299
|
-
/**
|
|
3300
|
-
* Amount that will be collected. It is required when `amount_type` is `fixed`.
|
|
3301
|
-
*/
|
|
3302
|
-
amount?: number;
|
|
3303
|
-
|
|
3304
|
-
/**
|
|
3305
|
-
* 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.
|
|
3306
|
-
*/
|
|
3307
|
-
amount_type?: MandateOptions.AmountType;
|
|
3308
|
-
|
|
3309
|
-
/**
|
|
3310
|
-
* Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
|
|
3311
|
-
*/
|
|
3312
|
-
end_date?: string;
|
|
3313
|
-
|
|
3314
|
-
/**
|
|
3315
|
-
* The periodicity at which payments will be collected.
|
|
3316
|
-
*/
|
|
3317
|
-
payment_schedule?: MandateOptions.PaymentSchedule;
|
|
3318
|
-
|
|
3319
|
-
/**
|
|
3320
|
-
* 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.
|
|
3321
|
-
*/
|
|
3322
|
-
payments_per_period?: number;
|
|
3323
|
-
|
|
3324
|
-
/**
|
|
3325
|
-
* The purpose for which payments are made. Defaults to retail.
|
|
3326
|
-
*/
|
|
3327
|
-
purpose?: MandateOptions.Purpose;
|
|
3328
|
-
|
|
3329
|
-
/**
|
|
3330
|
-
* Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
|
|
3331
|
-
*/
|
|
3332
|
-
start_date?: string;
|
|
3333
|
-
}
|
|
3334
|
-
|
|
3335
|
-
namespace MandateOptions {
|
|
3336
|
-
type AmountType = 'fixed' | 'maximum';
|
|
3337
|
-
|
|
3338
|
-
type PaymentSchedule =
|
|
3339
|
-
| 'adhoc'
|
|
3340
|
-
| 'annual'
|
|
3341
|
-
| 'daily'
|
|
3342
|
-
| 'fortnightly'
|
|
3343
|
-
| 'monthly'
|
|
3344
|
-
| 'quarterly'
|
|
3345
|
-
| 'semi_annual'
|
|
3346
|
-
| 'weekly';
|
|
3347
|
-
|
|
3348
|
-
type Purpose =
|
|
3349
|
-
| 'dependant_support'
|
|
3350
|
-
| 'government'
|
|
3351
|
-
| 'loan'
|
|
3352
|
-
| 'mortgage'
|
|
3353
|
-
| 'other'
|
|
3354
|
-
| 'pension'
|
|
3355
|
-
| 'personal'
|
|
3356
|
-
| 'retail'
|
|
3357
|
-
| 'salary'
|
|
3358
|
-
| 'tax'
|
|
3359
|
-
| 'utility';
|
|
3360
|
-
}
|
|
3361
|
-
}
|
|
3362
|
-
|
|
3363
|
-
interface Pix {
|
|
3364
|
-
/**
|
|
3365
|
-
* Additional fields for mandate creation.
|
|
3366
|
-
*/
|
|
3367
|
-
mandate_options?: Pix.MandateOptions;
|
|
3368
|
-
}
|
|
3369
|
-
|
|
3370
|
-
namespace Pix {
|
|
3371
|
-
interface MandateOptions {
|
|
3372
|
-
/**
|
|
3373
|
-
* Amount to be charged for future payments. Required when `amount_type=fixed`. If not provided for `amount_type=maximum`, defaults to 40000.
|
|
3374
|
-
*/
|
|
3375
|
-
amount?: number;
|
|
3376
|
-
|
|
3377
|
-
/**
|
|
3378
|
-
* Determines if the amount includes the IOF tax. Defaults to `never`.
|
|
3379
|
-
*/
|
|
3380
|
-
amount_includes_iof?: MandateOptions.AmountIncludesIof;
|
|
3381
|
-
|
|
3382
|
-
/**
|
|
3383
|
-
* Type of amount. Defaults to `maximum`.
|
|
3384
|
-
*/
|
|
3385
|
-
amount_type?: MandateOptions.AmountType;
|
|
3386
|
-
|
|
3387
|
-
/**
|
|
3388
|
-
* Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Only `brl` is supported currently.
|
|
3389
|
-
*/
|
|
3390
|
-
currency?: string;
|
|
3391
|
-
|
|
3392
|
-
/**
|
|
3393
|
-
* Date when the mandate expires and no further payments will be charged, in `YYYY-MM-DD`. If not provided, the mandate will be active until canceled. If provided, end date should be after start date.
|
|
3394
|
-
*/
|
|
3395
|
-
end_date?: string;
|
|
3396
|
-
|
|
3397
|
-
/**
|
|
3398
|
-
* Schedule at which the future payments will be charged. Defaults to `weekly`.
|
|
3399
|
-
*/
|
|
3400
|
-
payment_schedule?: MandateOptions.PaymentSchedule;
|
|
3401
|
-
|
|
3402
|
-
/**
|
|
3403
|
-
* Subscription name displayed to buyers in their bank app. Defaults to the displayable business name.
|
|
3404
|
-
*/
|
|
3405
|
-
reference?: string;
|
|
3406
|
-
|
|
3407
|
-
/**
|
|
3408
|
-
* Start date of the mandate, in `YYYY-MM-DD`. Start date should be at least 3 days in the future. Defaults to 3 days after the current date.
|
|
3409
|
-
*/
|
|
3410
|
-
start_date?: string;
|
|
3411
|
-
}
|
|
3412
|
-
|
|
3413
|
-
namespace MandateOptions {
|
|
3414
|
-
type AmountIncludesIof = 'always' | 'never';
|
|
3415
|
-
|
|
3416
|
-
type AmountType = 'fixed' | 'maximum';
|
|
3417
|
-
|
|
3418
|
-
type PaymentSchedule =
|
|
3419
|
-
| 'halfyearly'
|
|
3420
|
-
| 'monthly'
|
|
3421
|
-
| 'quarterly'
|
|
3422
|
-
| 'weekly'
|
|
3423
|
-
| 'yearly';
|
|
3424
|
-
}
|
|
3425
2842
|
}
|
|
3426
2843
|
|
|
3427
2844
|
interface SepaDebit {
|
|
@@ -3469,11 +2886,6 @@ declare module 'stripe' {
|
|
|
3469
2886
|
*/
|
|
3470
2887
|
filters?: FinancialConnections.Filters;
|
|
3471
2888
|
|
|
3472
|
-
/**
|
|
3473
|
-
* Customize manual entry behavior
|
|
3474
|
-
*/
|
|
3475
|
-
manual_entry?: FinancialConnections.ManualEntry;
|
|
3476
|
-
|
|
3477
2889
|
/**
|
|
3478
2890
|
* 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`.
|
|
3479
2891
|
*/
|
|
@@ -3496,39 +2908,19 @@ declare module 'stripe' {
|
|
|
3496
2908
|
* The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
|
|
3497
2909
|
*/
|
|
3498
2910
|
account_subcategories?: Array<Filters.AccountSubcategory>;
|
|
3499
|
-
|
|
3500
|
-
/**
|
|
3501
|
-
* ID of the institution to use to filter for selectable accounts.
|
|
3502
|
-
*/
|
|
3503
|
-
institution?: string;
|
|
3504
2911
|
}
|
|
3505
2912
|
|
|
3506
2913
|
namespace Filters {
|
|
3507
2914
|
type AccountSubcategory = 'checking' | 'savings';
|
|
3508
2915
|
}
|
|
3509
2916
|
|
|
3510
|
-
interface ManualEntry {
|
|
3511
|
-
/**
|
|
3512
|
-
* Settings for configuring manual entry of account details.
|
|
3513
|
-
*/
|
|
3514
|
-
mode: ManualEntry.Mode;
|
|
3515
|
-
}
|
|
3516
|
-
|
|
3517
|
-
namespace ManualEntry {
|
|
3518
|
-
type Mode = 'automatic' | 'custom';
|
|
3519
|
-
}
|
|
3520
|
-
|
|
3521
2917
|
type Permission =
|
|
3522
2918
|
| 'balances'
|
|
3523
2919
|
| 'ownership'
|
|
3524
2920
|
| 'payment_method'
|
|
3525
2921
|
| 'transactions';
|
|
3526
2922
|
|
|
3527
|
-
type Prefetch =
|
|
3528
|
-
| 'balances'
|
|
3529
|
-
| 'inferred_balances'
|
|
3530
|
-
| 'ownership'
|
|
3531
|
-
| 'transactions';
|
|
2923
|
+
type Prefetch = 'balances' | 'ownership' | 'transactions';
|
|
3532
2924
|
}
|
|
3533
2925
|
|
|
3534
2926
|
interface MandateOptions {
|
|
@@ -3572,11 +2964,6 @@ declare module 'stripe' {
|
|
|
3572
2964
|
*/
|
|
3573
2965
|
customer?: string;
|
|
3574
2966
|
|
|
3575
|
-
/**
|
|
3576
|
-
* Only return SetupIntents for the account specified by this customer ID.
|
|
3577
|
-
*/
|
|
3578
|
-
customer_account?: string;
|
|
3579
|
-
|
|
3580
2967
|
/**
|
|
3581
2968
|
* Specifies which fields in the response should be expanded.
|
|
3582
2969
|
*/
|
|
@@ -3802,21 +3189,11 @@ declare module 'stripe' {
|
|
|
3802
3189
|
*/
|
|
3803
3190
|
giropay?: PaymentMethodData.Giropay;
|
|
3804
3191
|
|
|
3805
|
-
/**
|
|
3806
|
-
* If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
|
|
3807
|
-
*/
|
|
3808
|
-
gopay?: PaymentMethodData.Gopay;
|
|
3809
|
-
|
|
3810
3192
|
/**
|
|
3811
3193
|
* If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
|
|
3812
3194
|
*/
|
|
3813
3195
|
grabpay?: PaymentMethodData.Grabpay;
|
|
3814
3196
|
|
|
3815
|
-
/**
|
|
3816
|
-
* If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
|
|
3817
|
-
*/
|
|
3818
|
-
id_bank_transfer?: PaymentMethodData.IdBankTransfer;
|
|
3819
|
-
|
|
3820
3197
|
/**
|
|
3821
3198
|
* If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
|
|
3822
3199
|
*/
|
|
@@ -3912,11 +3289,6 @@ declare module 'stripe' {
|
|
|
3912
3289
|
*/
|
|
3913
3290
|
paypal?: PaymentMethodData.Paypal;
|
|
3914
3291
|
|
|
3915
|
-
/**
|
|
3916
|
-
* If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
|
|
3917
|
-
*/
|
|
3918
|
-
payto?: PaymentMethodData.Payto;
|
|
3919
|
-
|
|
3920
3292
|
/**
|
|
3921
3293
|
* If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
|
|
3922
3294
|
*/
|
|
@@ -3927,21 +3299,11 @@ declare module 'stripe' {
|
|
|
3927
3299
|
*/
|
|
3928
3300
|
promptpay?: PaymentMethodData.Promptpay;
|
|
3929
3301
|
|
|
3930
|
-
/**
|
|
3931
|
-
* If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
|
|
3932
|
-
*/
|
|
3933
|
-
qris?: PaymentMethodData.Qris;
|
|
3934
|
-
|
|
3935
3302
|
/**
|
|
3936
3303
|
* Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
|
|
3937
3304
|
*/
|
|
3938
3305
|
radar_options?: PaymentMethodData.RadarOptions;
|
|
3939
3306
|
|
|
3940
|
-
/**
|
|
3941
|
-
* If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
|
|
3942
|
-
*/
|
|
3943
|
-
rechnung?: PaymentMethodData.Rechnung;
|
|
3944
|
-
|
|
3945
3307
|
/**
|
|
3946
3308
|
* If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
|
|
3947
3309
|
*/
|
|
@@ -3962,21 +3324,11 @@ declare module 'stripe' {
|
|
|
3962
3324
|
*/
|
|
3963
3325
|
sepa_debit?: PaymentMethodData.SepaDebit;
|
|
3964
3326
|
|
|
3965
|
-
/**
|
|
3966
|
-
* If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
|
|
3967
|
-
*/
|
|
3968
|
-
shopeepay?: PaymentMethodData.Shopeepay;
|
|
3969
|
-
|
|
3970
3327
|
/**
|
|
3971
3328
|
* If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
|
|
3972
3329
|
*/
|
|
3973
3330
|
sofort?: PaymentMethodData.Sofort;
|
|
3974
3331
|
|
|
3975
|
-
/**
|
|
3976
|
-
* This hash contains details about the Stripe balance payment method.
|
|
3977
|
-
*/
|
|
3978
|
-
stripe_balance?: PaymentMethodData.StripeBalance;
|
|
3979
|
-
|
|
3980
3332
|
/**
|
|
3981
3333
|
* If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
|
|
3982
3334
|
*/
|
|
@@ -4189,21 +3541,8 @@ declare module 'stripe' {
|
|
|
4189
3541
|
|
|
4190
3542
|
interface Giropay {}
|
|
4191
3543
|
|
|
4192
|
-
interface Gopay {}
|
|
4193
|
-
|
|
4194
3544
|
interface Grabpay {}
|
|
4195
3545
|
|
|
4196
|
-
interface IdBankTransfer {
|
|
4197
|
-
/**
|
|
4198
|
-
* Bank where the account is held.
|
|
4199
|
-
*/
|
|
4200
|
-
bank?: IdBankTransfer.Bank;
|
|
4201
|
-
}
|
|
4202
|
-
|
|
4203
|
-
namespace IdBankTransfer {
|
|
4204
|
-
type Bank = 'bca' | 'bni' | 'bri' | 'cimb' | 'permata';
|
|
4205
|
-
}
|
|
4206
|
-
|
|
4207
3546
|
interface Ideal {
|
|
4208
3547
|
/**
|
|
4209
3548
|
* The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
|
@@ -4361,29 +3700,10 @@ declare module 'stripe' {
|
|
|
4361
3700
|
|
|
4362
3701
|
interface Paypal {}
|
|
4363
3702
|
|
|
4364
|
-
interface Payto {
|
|
4365
|
-
/**
|
|
4366
|
-
* The account number for the bank account.
|
|
4367
|
-
*/
|
|
4368
|
-
account_number?: string;
|
|
4369
|
-
|
|
4370
|
-
/**
|
|
4371
|
-
* Bank-State-Branch number of the bank account.
|
|
4372
|
-
*/
|
|
4373
|
-
bsb_number?: string;
|
|
4374
|
-
|
|
4375
|
-
/**
|
|
4376
|
-
* The PayID alias for the bank account.
|
|
4377
|
-
*/
|
|
4378
|
-
pay_id?: string;
|
|
4379
|
-
}
|
|
4380
|
-
|
|
4381
3703
|
interface Pix {}
|
|
4382
3704
|
|
|
4383
3705
|
interface Promptpay {}
|
|
4384
3706
|
|
|
4385
|
-
interface Qris {}
|
|
4386
|
-
|
|
4387
3707
|
interface RadarOptions {
|
|
4388
3708
|
/**
|
|
4389
3709
|
* 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.
|
|
@@ -4391,32 +3711,6 @@ declare module 'stripe' {
|
|
|
4391
3711
|
session?: string;
|
|
4392
3712
|
}
|
|
4393
3713
|
|
|
4394
|
-
interface Rechnung {
|
|
4395
|
-
/**
|
|
4396
|
-
* Customer's date of birth
|
|
4397
|
-
*/
|
|
4398
|
-
dob: Rechnung.Dob;
|
|
4399
|
-
}
|
|
4400
|
-
|
|
4401
|
-
namespace Rechnung {
|
|
4402
|
-
interface Dob {
|
|
4403
|
-
/**
|
|
4404
|
-
* The day of birth, between 1 and 31.
|
|
4405
|
-
*/
|
|
4406
|
-
day: number;
|
|
4407
|
-
|
|
4408
|
-
/**
|
|
4409
|
-
* The month of birth, between 1 and 12.
|
|
4410
|
-
*/
|
|
4411
|
-
month: number;
|
|
4412
|
-
|
|
4413
|
-
/**
|
|
4414
|
-
* The four-digit year of birth.
|
|
4415
|
-
*/
|
|
4416
|
-
year: number;
|
|
4417
|
-
}
|
|
4418
|
-
}
|
|
4419
|
-
|
|
4420
3714
|
interface RevolutPay {}
|
|
4421
3715
|
|
|
4422
3716
|
interface SamsungPay {}
|
|
@@ -4430,8 +3724,6 @@ declare module 'stripe' {
|
|
|
4430
3724
|
iban: string;
|
|
4431
3725
|
}
|
|
4432
3726
|
|
|
4433
|
-
interface Shopeepay {}
|
|
4434
|
-
|
|
4435
3727
|
interface Sofort {
|
|
4436
3728
|
/**
|
|
4437
3729
|
* Two-letter ISO code representing the country the bank account is located in.
|
|
@@ -4443,22 +3735,6 @@ declare module 'stripe' {
|
|
|
4443
3735
|
type Country = 'AT' | 'BE' | 'DE' | 'ES' | 'IT' | 'NL';
|
|
4444
3736
|
}
|
|
4445
3737
|
|
|
4446
|
-
interface StripeBalance {
|
|
4447
|
-
/**
|
|
4448
|
-
* The connected account ID whose Stripe balance to use as the source of payment
|
|
4449
|
-
*/
|
|
4450
|
-
account?: string;
|
|
4451
|
-
|
|
4452
|
-
/**
|
|
4453
|
-
* The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
|
|
4454
|
-
*/
|
|
4455
|
-
source_type?: StripeBalance.SourceType;
|
|
4456
|
-
}
|
|
4457
|
-
|
|
4458
|
-
namespace StripeBalance {
|
|
4459
|
-
type SourceType = 'bank_account' | 'card' | 'fpx';
|
|
4460
|
-
}
|
|
4461
|
-
|
|
4462
3738
|
interface Swish {}
|
|
4463
3739
|
|
|
4464
3740
|
interface Twint {}
|
|
@@ -4482,9 +3758,7 @@ declare module 'stripe' {
|
|
|
4482
3758
|
| 'eps'
|
|
4483
3759
|
| 'fpx'
|
|
4484
3760
|
| 'giropay'
|
|
4485
|
-
| 'gopay'
|
|
4486
3761
|
| 'grabpay'
|
|
4487
|
-
| 'id_bank_transfer'
|
|
4488
3762
|
| 'ideal'
|
|
4489
3763
|
| 'kakao_pay'
|
|
4490
3764
|
| 'klarna'
|
|
@@ -4502,18 +3776,13 @@ declare module 'stripe' {
|
|
|
4502
3776
|
| 'payco'
|
|
4503
3777
|
| 'paynow'
|
|
4504
3778
|
| 'paypal'
|
|
4505
|
-
| 'payto'
|
|
4506
3779
|
| 'pix'
|
|
4507
3780
|
| 'promptpay'
|
|
4508
|
-
| 'qris'
|
|
4509
|
-
| 'rechnung'
|
|
4510
3781
|
| 'revolut_pay'
|
|
4511
3782
|
| 'samsung_pay'
|
|
4512
3783
|
| 'satispay'
|
|
4513
3784
|
| 'sepa_debit'
|
|
4514
|
-
| 'shopeepay'
|
|
4515
3785
|
| 'sofort'
|
|
4516
|
-
| 'stripe_balance'
|
|
4517
3786
|
| 'swish'
|
|
4518
3787
|
| 'twint'
|
|
4519
3788
|
| 'us_bank_account'
|
|
@@ -4599,16 +3868,6 @@ declare module 'stripe' {
|
|
|
4599
3868
|
*/
|
|
4600
3869
|
paypal?: PaymentMethodOptions.Paypal;
|
|
4601
3870
|
|
|
4602
|
-
/**
|
|
4603
|
-
* If this is a `payto` SetupIntent, this sub-hash contains details about the PayTo payment method options.
|
|
4604
|
-
*/
|
|
4605
|
-
payto?: PaymentMethodOptions.Payto;
|
|
4606
|
-
|
|
4607
|
-
/**
|
|
4608
|
-
* If this is a `pix` SetupIntent, this sub-hash contains details about the Pix payment method options.
|
|
4609
|
-
*/
|
|
4610
|
-
pix?: PaymentMethodOptions.Pix;
|
|
4611
|
-
|
|
4612
3871
|
/**
|
|
4613
3872
|
* If this is a `sepa_debit` SetupIntent, this sub-hash contains details about the SEPA Debit payment method options.
|
|
4614
3873
|
*/
|
|
@@ -5056,150 +4315,6 @@ declare module 'stripe' {
|
|
|
5056
4315
|
* The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
|
|
5057
4316
|
*/
|
|
5058
4317
|
billing_agreement_id?: string;
|
|
5059
|
-
|
|
5060
|
-
currency?: string;
|
|
5061
|
-
|
|
5062
|
-
/**
|
|
5063
|
-
* 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.
|
|
5064
|
-
*/
|
|
5065
|
-
subsellers?: Array<string>;
|
|
5066
|
-
}
|
|
5067
|
-
|
|
5068
|
-
interface Payto {
|
|
5069
|
-
/**
|
|
5070
|
-
* Additional fields for Mandate creation.
|
|
5071
|
-
*/
|
|
5072
|
-
mandate_options?: Payto.MandateOptions;
|
|
5073
|
-
}
|
|
5074
|
-
|
|
5075
|
-
namespace Payto {
|
|
5076
|
-
interface MandateOptions {
|
|
5077
|
-
/**
|
|
5078
|
-
* Amount that will be collected. It is required when `amount_type` is `fixed`.
|
|
5079
|
-
*/
|
|
5080
|
-
amount?: number;
|
|
5081
|
-
|
|
5082
|
-
/**
|
|
5083
|
-
* 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.
|
|
5084
|
-
*/
|
|
5085
|
-
amount_type?: MandateOptions.AmountType;
|
|
5086
|
-
|
|
5087
|
-
/**
|
|
5088
|
-
* Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
|
|
5089
|
-
*/
|
|
5090
|
-
end_date?: string;
|
|
5091
|
-
|
|
5092
|
-
/**
|
|
5093
|
-
* The periodicity at which payments will be collected.
|
|
5094
|
-
*/
|
|
5095
|
-
payment_schedule?: MandateOptions.PaymentSchedule;
|
|
5096
|
-
|
|
5097
|
-
/**
|
|
5098
|
-
* 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.
|
|
5099
|
-
*/
|
|
5100
|
-
payments_per_period?: number;
|
|
5101
|
-
|
|
5102
|
-
/**
|
|
5103
|
-
* The purpose for which payments are made. Defaults to retail.
|
|
5104
|
-
*/
|
|
5105
|
-
purpose?: MandateOptions.Purpose;
|
|
5106
|
-
|
|
5107
|
-
/**
|
|
5108
|
-
* Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
|
|
5109
|
-
*/
|
|
5110
|
-
start_date?: string;
|
|
5111
|
-
}
|
|
5112
|
-
|
|
5113
|
-
namespace MandateOptions {
|
|
5114
|
-
type AmountType = 'fixed' | 'maximum';
|
|
5115
|
-
|
|
5116
|
-
type PaymentSchedule =
|
|
5117
|
-
| 'adhoc'
|
|
5118
|
-
| 'annual'
|
|
5119
|
-
| 'daily'
|
|
5120
|
-
| 'fortnightly'
|
|
5121
|
-
| 'monthly'
|
|
5122
|
-
| 'quarterly'
|
|
5123
|
-
| 'semi_annual'
|
|
5124
|
-
| 'weekly';
|
|
5125
|
-
|
|
5126
|
-
type Purpose =
|
|
5127
|
-
| 'dependant_support'
|
|
5128
|
-
| 'government'
|
|
5129
|
-
| 'loan'
|
|
5130
|
-
| 'mortgage'
|
|
5131
|
-
| 'other'
|
|
5132
|
-
| 'pension'
|
|
5133
|
-
| 'personal'
|
|
5134
|
-
| 'retail'
|
|
5135
|
-
| 'salary'
|
|
5136
|
-
| 'tax'
|
|
5137
|
-
| 'utility';
|
|
5138
|
-
}
|
|
5139
|
-
}
|
|
5140
|
-
|
|
5141
|
-
interface Pix {
|
|
5142
|
-
/**
|
|
5143
|
-
* Additional fields for mandate creation.
|
|
5144
|
-
*/
|
|
5145
|
-
mandate_options?: Pix.MandateOptions;
|
|
5146
|
-
}
|
|
5147
|
-
|
|
5148
|
-
namespace Pix {
|
|
5149
|
-
interface MandateOptions {
|
|
5150
|
-
/**
|
|
5151
|
-
* Amount to be charged for future payments. Required when `amount_type=fixed`. If not provided for `amount_type=maximum`, defaults to 40000.
|
|
5152
|
-
*/
|
|
5153
|
-
amount?: number;
|
|
5154
|
-
|
|
5155
|
-
/**
|
|
5156
|
-
* Determines if the amount includes the IOF tax. Defaults to `never`.
|
|
5157
|
-
*/
|
|
5158
|
-
amount_includes_iof?: MandateOptions.AmountIncludesIof;
|
|
5159
|
-
|
|
5160
|
-
/**
|
|
5161
|
-
* Type of amount. Defaults to `maximum`.
|
|
5162
|
-
*/
|
|
5163
|
-
amount_type?: MandateOptions.AmountType;
|
|
5164
|
-
|
|
5165
|
-
/**
|
|
5166
|
-
* Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Only `brl` is supported currently.
|
|
5167
|
-
*/
|
|
5168
|
-
currency?: string;
|
|
5169
|
-
|
|
5170
|
-
/**
|
|
5171
|
-
* Date when the mandate expires and no further payments will be charged, in `YYYY-MM-DD`. If not provided, the mandate will be active until canceled. If provided, end date should be after start date.
|
|
5172
|
-
*/
|
|
5173
|
-
end_date?: string;
|
|
5174
|
-
|
|
5175
|
-
/**
|
|
5176
|
-
* Schedule at which the future payments will be charged. Defaults to `weekly`.
|
|
5177
|
-
*/
|
|
5178
|
-
payment_schedule?: MandateOptions.PaymentSchedule;
|
|
5179
|
-
|
|
5180
|
-
/**
|
|
5181
|
-
* Subscription name displayed to buyers in their bank app. Defaults to the displayable business name.
|
|
5182
|
-
*/
|
|
5183
|
-
reference?: string;
|
|
5184
|
-
|
|
5185
|
-
/**
|
|
5186
|
-
* Start date of the mandate, in `YYYY-MM-DD`. Start date should be at least 3 days in the future. Defaults to 3 days after the current date.
|
|
5187
|
-
*/
|
|
5188
|
-
start_date?: string;
|
|
5189
|
-
}
|
|
5190
|
-
|
|
5191
|
-
namespace MandateOptions {
|
|
5192
|
-
type AmountIncludesIof = 'always' | 'never';
|
|
5193
|
-
|
|
5194
|
-
type AmountType = 'fixed' | 'maximum';
|
|
5195
|
-
|
|
5196
|
-
type PaymentSchedule =
|
|
5197
|
-
| 'halfyearly'
|
|
5198
|
-
| 'monthly'
|
|
5199
|
-
| 'quarterly'
|
|
5200
|
-
| 'weekly'
|
|
5201
|
-
| 'yearly';
|
|
5202
|
-
}
|
|
5203
4318
|
}
|
|
5204
4319
|
|
|
5205
4320
|
interface SepaDebit {
|
|
@@ -5247,11 +4362,6 @@ declare module 'stripe' {
|
|
|
5247
4362
|
*/
|
|
5248
4363
|
filters?: FinancialConnections.Filters;
|
|
5249
4364
|
|
|
5250
|
-
/**
|
|
5251
|
-
* Customize manual entry behavior
|
|
5252
|
-
*/
|
|
5253
|
-
manual_entry?: FinancialConnections.ManualEntry;
|
|
5254
|
-
|
|
5255
4365
|
/**
|
|
5256
4366
|
* 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`.
|
|
5257
4367
|
*/
|
|
@@ -5274,39 +4384,19 @@ declare module 'stripe' {
|
|
|
5274
4384
|
* The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
|
|
5275
4385
|
*/
|
|
5276
4386
|
account_subcategories?: Array<Filters.AccountSubcategory>;
|
|
5277
|
-
|
|
5278
|
-
/**
|
|
5279
|
-
* ID of the institution to use to filter for selectable accounts.
|
|
5280
|
-
*/
|
|
5281
|
-
institution?: string;
|
|
5282
4387
|
}
|
|
5283
4388
|
|
|
5284
4389
|
namespace Filters {
|
|
5285
4390
|
type AccountSubcategory = 'checking' | 'savings';
|
|
5286
4391
|
}
|
|
5287
4392
|
|
|
5288
|
-
interface ManualEntry {
|
|
5289
|
-
/**
|
|
5290
|
-
* Settings for configuring manual entry of account details.
|
|
5291
|
-
*/
|
|
5292
|
-
mode: ManualEntry.Mode;
|
|
5293
|
-
}
|
|
5294
|
-
|
|
5295
|
-
namespace ManualEntry {
|
|
5296
|
-
type Mode = 'automatic' | 'custom';
|
|
5297
|
-
}
|
|
5298
|
-
|
|
5299
4393
|
type Permission =
|
|
5300
4394
|
| 'balances'
|
|
5301
4395
|
| 'ownership'
|
|
5302
4396
|
| 'payment_method'
|
|
5303
4397
|
| 'transactions';
|
|
5304
4398
|
|
|
5305
|
-
type Prefetch =
|
|
5306
|
-
| 'balances'
|
|
5307
|
-
| 'inferred_balances'
|
|
5308
|
-
| 'ownership'
|
|
5309
|
-
| 'transactions';
|
|
4399
|
+
type Prefetch = 'balances' | 'ownership' | 'transactions';
|
|
5310
4400
|
}
|
|
5311
4401
|
|
|
5312
4402
|
interface MandateOptions {
|