stripe 19.1.0-beta.1 → 19.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +21 -1433
- package/OPENAPI_VERSION +1 -1
- package/README.md +2 -3
- package/VERSION +1 -1
- package/cjs/Error.js +1 -115
- package/cjs/apiVersion.js +3 -2
- 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/Subscriptions.js +0 -4
- package/cjs/resources.js +8 -110
- package/cjs/stripe.core.js +9 -8
- package/esm/Error.js +0 -100
- package/esm/apiVersion.js +2 -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/Subscriptions.js +0 -4
- package/esm/resources.js +0 -95
- package/esm/stripe.core.js +9 -8
- package/package.json +1 -1
- package/types/AccountLinksResource.d.ts +1 -5
- package/types/AccountSessions.d.ts +0 -45
- package/types/AccountSessionsResource.d.ts +0 -264
- package/types/Accounts.d.ts +1 -212
- package/types/AccountsResource.d.ts +0 -544
- package/types/Billing/AlertTriggereds.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/Sessions.d.ts +0 -5
- package/types/BillingPortal/SessionsResource.d.ts +4 -12
- package/types/Cards.d.ts +0 -5
- package/types/CashBalances.d.ts +0 -5
- package/types/Charges.d.ts +0 -171
- package/types/ChargesResource.d.ts +0 -1406
- package/types/Checkout/Sessions.d.ts +2 -369
- package/types/Checkout/SessionsResource.d.ts +2 -634
- package/types/ConfirmationTokens.d.ts +0 -125
- 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 +0 -2
- package/types/CustomersResource.d.ts +0 -8
- package/types/Discounts.d.ts +0 -10
- package/types/Disputes.d.ts +0 -40
- package/types/DisputesResource.d.ts +0 -11
- package/types/Errors.d.ts +0 -85
- package/types/EventTypes.d.ts +0 -664
- package/types/Events.d.ts +0 -97
- 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 +0 -10
- 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 +4 -204
- package/types/InvoicesResource.d.ts +22 -1647
- 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 +1 -135
- package/types/MandatesResource.d.ts +0 -31
- package/types/PaymentIntents.d.ts +3 -825
- package/types/PaymentIntentsResource.d.ts +5597 -11436
- package/types/PaymentLinks.d.ts +0 -7
- package/types/PaymentLinksResource.d.ts +0 -14
- package/types/PaymentMethodConfigurations.d.ts +0 -216
- package/types/PaymentMethodConfigurationsResource.d.ts +0 -300
- package/types/PaymentMethods.d.ts +0 -130
- package/types/PaymentMethodsResource.d.ts +2 -167
- 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 +290 -2635
- package/types/Refunds.d.ts +0 -14
- package/types/SetupAttempts.d.ts +1 -51
- package/types/SetupIntents.d.ts +2 -210
- package/types/SetupIntentsResource.d.ts +3 -937
- package/types/Sources.d.ts +0 -29
- package/types/SubscriptionItems.d.ts +0 -26
- package/types/SubscriptionItemsResource.d.ts +0 -109
- package/types/SubscriptionSchedules.d.ts +0 -205
- package/types/SubscriptionSchedulesResource.d.ts +4 -1232
- package/types/Subscriptions.d.ts +1 -263
- package/types/SubscriptionsResource.d.ts +8 -747
- package/types/TaxIds.d.ts +0 -10
- package/types/TaxIdsResource.d.ts +0 -10
- package/types/Terminal/Configurations.d.ts +0 -9
- package/types/Terminal/ConfigurationsResource.d.ts +0 -28
- 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/Core/EventTypes.d.ts +10 -1647
- package/types/V2/EventMisc.d.ts +8 -0
- package/types/WebhookEndpointsResource.d.ts +0 -78
- package/types/apiVersion.d.ts +2 -1
- package/types/index.d.ts +0 -160
- package/types/lib.d.ts +0 -10
- package/types/test/typescriptTest.ts +7 -0
- package/cjs/resources/AccountNotices.js +0 -21
- package/cjs/resources/Billing/Analytics/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 -33
- 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/Billing/BillSettings/Versions.js +0 -17
- package/cjs/resources/V2/Billing/BillSettings.js +0 -27
- package/cjs/resources/V2/Billing/Cadences.js +0 -23
- package/cjs/resources/V2/Billing/CollectionSettings/Versions.js +0 -17
- package/cjs/resources/V2/Billing/CollectionSettings.js +0 -30
- package/cjs/resources/V2/Billing/Profiles.js +0 -19
- 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 -29
- package/cjs/resources/V2/TestHelpers/FinancialAddresses.js +0 -16
- package/esm/resources/AccountNotices.js +0 -18
- package/esm/resources/Billing/Analytics/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 -30
- 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/Billing/BillSettings/Versions.js +0 -14
- package/esm/resources/V2/Billing/BillSettings.js +0 -24
- package/esm/resources/V2/Billing/Cadences.js +0 -20
- package/esm/resources/V2/Billing/CollectionSettings/Versions.js +0 -14
- package/esm/resources/V2/Billing/CollectionSettings.js +0 -27
- package/esm/resources/V2/Billing/Profiles.js +0 -16
- 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 -26
- 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/Analytics/MeterUsage.d.ts +0 -31
- package/types/Billing/Analytics/MeterUsageResource.d.ts +0 -689
- package/types/Billing/Analytics/MeterUsageRows.d.ts +0 -51
- 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 -2360
- package/types/PaymentAttemptRecordsResource.d.ts +0 -52
- package/types/PaymentIntentAmountDetailsLineItems.d.ts +0 -116
- package/types/PaymentRecords.d.ts +0 -2353
- package/types/PaymentRecordsResource.d.ts +0 -559
- 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 -1770
- package/types/QuotePreviewSubscriptionSchedules.d.ts +0 -908
- 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/V2/Billing/BillSettingVersions.d.ts +0 -97
- package/types/V2/Billing/BillSettings/VersionsResource.d.ts +0 -58
- package/types/V2/Billing/BillSettings.d.ts +0 -120
- package/types/V2/Billing/BillSettingsResource.d.ts +0 -241
- package/types/V2/Billing/Cadences.d.ts +0 -686
- package/types/V2/Billing/CadencesResource.d.ts +0 -487
- package/types/V2/Billing/CollectionSettingVersions.d.ts +0 -314
- package/types/V2/Billing/CollectionSettings/VersionsResource.d.ts +0 -62
- package/types/V2/Billing/CollectionSettings.d.ts +0 -337
- package/types/V2/Billing/CollectionSettingsResource.d.ts +0 -675
- package/types/V2/Billing/Profiles.d.ts +0 -70
- package/types/V2/Billing/ProfilesResource.d.ts +0 -150
- package/types/V2/Core/AccountLinks.d.ts +0 -168
- package/types/V2/Core/AccountLinksResource.d.ts +0 -152
- package/types/V2/Core/AccountPersons.d.ts +0 -615
- package/types/V2/Core/Accounts/PersonsResource.d.ts +0 -1153
- package/types/V2/Core/Accounts.d.ts +0 -5919
- package/types/V2/Core/AccountsResource.d.ts +0 -4999
- 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 -148
- package/types/V2/MoneyManagement/FinancialAccountsResource.d.ts +0 -147
- package/types/V2/MoneyManagement/FinancialAddresses.d.ts +0 -178
- package/types/V2/MoneyManagement/FinancialAddressesResource.d.ts +0 -112
- 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 -170
- 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/PayoutMethodsBankAccountSpec.d.ts +0 -93
- package/types/V2/MoneyManagement/PayoutMethodsBankAccountSpecResource.d.ts +0 -41
- package/types/V2/MoneyManagement/PayoutMethodsResource.d.ts +0 -113
- package/types/V2/MoneyManagement/ReceivedCredits.d.ts +0 -302
- 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 -326
- package/types/V2/Payments/OffSessionPaymentsResource.d.ts +0 -401
- 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,16 +386,6 @@ declare module 'stripe' {
|
|
|
403
386
|
*/
|
|
404
387
|
paypal?: PaymentMethodData.Paypal;
|
|
405
388
|
|
|
406
|
-
/**
|
|
407
|
-
* If this is a `paypay` PaymentMethod, this hash contains details about the PayPay payment method.
|
|
408
|
-
*/
|
|
409
|
-
paypay?: PaymentMethodData.Paypay;
|
|
410
|
-
|
|
411
|
-
/**
|
|
412
|
-
* If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
|
|
413
|
-
*/
|
|
414
|
-
payto?: PaymentMethodData.Payto;
|
|
415
|
-
|
|
416
389
|
/**
|
|
417
390
|
* If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
|
|
418
391
|
*/
|
|
@@ -423,21 +396,11 @@ declare module 'stripe' {
|
|
|
423
396
|
*/
|
|
424
397
|
promptpay?: PaymentMethodData.Promptpay;
|
|
425
398
|
|
|
426
|
-
/**
|
|
427
|
-
* If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
|
|
428
|
-
*/
|
|
429
|
-
qris?: PaymentMethodData.Qris;
|
|
430
|
-
|
|
431
399
|
/**
|
|
432
400
|
* Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
|
|
433
401
|
*/
|
|
434
402
|
radar_options?: PaymentMethodData.RadarOptions;
|
|
435
403
|
|
|
436
|
-
/**
|
|
437
|
-
* If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
|
|
438
|
-
*/
|
|
439
|
-
rechnung?: PaymentMethodData.Rechnung;
|
|
440
|
-
|
|
441
404
|
/**
|
|
442
405
|
* If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
|
|
443
406
|
*/
|
|
@@ -458,21 +421,11 @@ declare module 'stripe' {
|
|
|
458
421
|
*/
|
|
459
422
|
sepa_debit?: PaymentMethodData.SepaDebit;
|
|
460
423
|
|
|
461
|
-
/**
|
|
462
|
-
* If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
|
|
463
|
-
*/
|
|
464
|
-
shopeepay?: PaymentMethodData.Shopeepay;
|
|
465
|
-
|
|
466
424
|
/**
|
|
467
425
|
* If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
|
|
468
426
|
*/
|
|
469
427
|
sofort?: PaymentMethodData.Sofort;
|
|
470
428
|
|
|
471
|
-
/**
|
|
472
|
-
* This hash contains details about the Stripe balance payment method.
|
|
473
|
-
*/
|
|
474
|
-
stripe_balance?: PaymentMethodData.StripeBalance;
|
|
475
|
-
|
|
476
429
|
/**
|
|
477
430
|
* If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
|
|
478
431
|
*/
|
|
@@ -685,21 +638,8 @@ declare module 'stripe' {
|
|
|
685
638
|
|
|
686
639
|
interface Giropay {}
|
|
687
640
|
|
|
688
|
-
interface Gopay {}
|
|
689
|
-
|
|
690
641
|
interface Grabpay {}
|
|
691
642
|
|
|
692
|
-
interface IdBankTransfer {
|
|
693
|
-
/**
|
|
694
|
-
* Bank where the account is held.
|
|
695
|
-
*/
|
|
696
|
-
bank?: IdBankTransfer.Bank;
|
|
697
|
-
}
|
|
698
|
-
|
|
699
|
-
namespace IdBankTransfer {
|
|
700
|
-
type Bank = 'bca' | 'bni' | 'bri' | 'cimb' | 'permata';
|
|
701
|
-
}
|
|
702
|
-
|
|
703
643
|
interface Ideal {
|
|
704
644
|
/**
|
|
705
645
|
* The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
|
@@ -857,31 +797,10 @@ declare module 'stripe' {
|
|
|
857
797
|
|
|
858
798
|
interface Paypal {}
|
|
859
799
|
|
|
860
|
-
interface Paypay {}
|
|
861
|
-
|
|
862
|
-
interface Payto {
|
|
863
|
-
/**
|
|
864
|
-
* The account number for the bank account.
|
|
865
|
-
*/
|
|
866
|
-
account_number?: string;
|
|
867
|
-
|
|
868
|
-
/**
|
|
869
|
-
* Bank-State-Branch number of the bank account.
|
|
870
|
-
*/
|
|
871
|
-
bsb_number?: string;
|
|
872
|
-
|
|
873
|
-
/**
|
|
874
|
-
* The PayID alias for the bank account.
|
|
875
|
-
*/
|
|
876
|
-
pay_id?: string;
|
|
877
|
-
}
|
|
878
|
-
|
|
879
800
|
interface Pix {}
|
|
880
801
|
|
|
881
802
|
interface Promptpay {}
|
|
882
803
|
|
|
883
|
-
interface Qris {}
|
|
884
|
-
|
|
885
804
|
interface RadarOptions {
|
|
886
805
|
/**
|
|
887
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.
|
|
@@ -889,32 +808,6 @@ declare module 'stripe' {
|
|
|
889
808
|
session?: string;
|
|
890
809
|
}
|
|
891
810
|
|
|
892
|
-
interface Rechnung {
|
|
893
|
-
/**
|
|
894
|
-
* Customer's date of birth
|
|
895
|
-
*/
|
|
896
|
-
dob: Rechnung.Dob;
|
|
897
|
-
}
|
|
898
|
-
|
|
899
|
-
namespace Rechnung {
|
|
900
|
-
interface Dob {
|
|
901
|
-
/**
|
|
902
|
-
* The day of birth, between 1 and 31.
|
|
903
|
-
*/
|
|
904
|
-
day: number;
|
|
905
|
-
|
|
906
|
-
/**
|
|
907
|
-
* The month of birth, between 1 and 12.
|
|
908
|
-
*/
|
|
909
|
-
month: number;
|
|
910
|
-
|
|
911
|
-
/**
|
|
912
|
-
* The four-digit year of birth.
|
|
913
|
-
*/
|
|
914
|
-
year: number;
|
|
915
|
-
}
|
|
916
|
-
}
|
|
917
|
-
|
|
918
811
|
interface RevolutPay {}
|
|
919
812
|
|
|
920
813
|
interface SamsungPay {}
|
|
@@ -928,8 +821,6 @@ declare module 'stripe' {
|
|
|
928
821
|
iban: string;
|
|
929
822
|
}
|
|
930
823
|
|
|
931
|
-
interface Shopeepay {}
|
|
932
|
-
|
|
933
824
|
interface Sofort {
|
|
934
825
|
/**
|
|
935
826
|
* Two-letter ISO code representing the country the bank account is located in.
|
|
@@ -941,22 +832,6 @@ declare module 'stripe' {
|
|
|
941
832
|
type Country = 'AT' | 'BE' | 'DE' | 'ES' | 'IT' | 'NL';
|
|
942
833
|
}
|
|
943
834
|
|
|
944
|
-
interface StripeBalance {
|
|
945
|
-
/**
|
|
946
|
-
* The connected account ID whose Stripe balance to use as the source of payment
|
|
947
|
-
*/
|
|
948
|
-
account?: string;
|
|
949
|
-
|
|
950
|
-
/**
|
|
951
|
-
* The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
|
|
952
|
-
*/
|
|
953
|
-
source_type?: StripeBalance.SourceType;
|
|
954
|
-
}
|
|
955
|
-
|
|
956
|
-
namespace StripeBalance {
|
|
957
|
-
type SourceType = 'bank_account' | 'card' | 'fpx';
|
|
958
|
-
}
|
|
959
|
-
|
|
960
835
|
interface Swish {}
|
|
961
836
|
|
|
962
837
|
interface Twint {}
|
|
@@ -980,9 +855,7 @@ declare module 'stripe' {
|
|
|
980
855
|
| 'eps'
|
|
981
856
|
| 'fpx'
|
|
982
857
|
| 'giropay'
|
|
983
|
-
| 'gopay'
|
|
984
858
|
| 'grabpay'
|
|
985
|
-
| 'id_bank_transfer'
|
|
986
859
|
| 'ideal'
|
|
987
860
|
| 'kakao_pay'
|
|
988
861
|
| 'klarna'
|
|
@@ -1000,19 +873,13 @@ declare module 'stripe' {
|
|
|
1000
873
|
| 'payco'
|
|
1001
874
|
| 'paynow'
|
|
1002
875
|
| 'paypal'
|
|
1003
|
-
| 'paypay'
|
|
1004
|
-
| 'payto'
|
|
1005
876
|
| 'pix'
|
|
1006
877
|
| 'promptpay'
|
|
1007
|
-
| 'qris'
|
|
1008
|
-
| 'rechnung'
|
|
1009
878
|
| 'revolut_pay'
|
|
1010
879
|
| 'samsung_pay'
|
|
1011
880
|
| 'satispay'
|
|
1012
881
|
| 'sepa_debit'
|
|
1013
|
-
| 'shopeepay'
|
|
1014
882
|
| 'sofort'
|
|
1015
|
-
| 'stripe_balance'
|
|
1016
883
|
| 'swish'
|
|
1017
884
|
| 'twint'
|
|
1018
885
|
| 'us_bank_account'
|
|
@@ -1098,16 +965,6 @@ declare module 'stripe' {
|
|
|
1098
965
|
*/
|
|
1099
966
|
paypal?: PaymentMethodOptions.Paypal;
|
|
1100
967
|
|
|
1101
|
-
/**
|
|
1102
|
-
* If this is a `payto` SetupIntent, this sub-hash contains details about the PayTo payment method options.
|
|
1103
|
-
*/
|
|
1104
|
-
payto?: PaymentMethodOptions.Payto;
|
|
1105
|
-
|
|
1106
|
-
/**
|
|
1107
|
-
* If this is a `pix` SetupIntent, this sub-hash contains details about the Pix payment method options.
|
|
1108
|
-
*/
|
|
1109
|
-
pix?: PaymentMethodOptions.Pix;
|
|
1110
|
-
|
|
1111
968
|
/**
|
|
1112
969
|
* If this is a `sepa_debit` SetupIntent, this sub-hash contains details about the SEPA Debit payment method options.
|
|
1113
970
|
*/
|
|
@@ -1555,150 +1412,6 @@ declare module 'stripe' {
|
|
|
1555
1412
|
* The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
|
|
1556
1413
|
*/
|
|
1557
1414
|
billing_agreement_id?: string;
|
|
1558
|
-
|
|
1559
|
-
currency?: string;
|
|
1560
|
-
|
|
1561
|
-
/**
|
|
1562
|
-
* 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.
|
|
1563
|
-
*/
|
|
1564
|
-
subsellers?: Array<string>;
|
|
1565
|
-
}
|
|
1566
|
-
|
|
1567
|
-
interface Payto {
|
|
1568
|
-
/**
|
|
1569
|
-
* Additional fields for Mandate creation.
|
|
1570
|
-
*/
|
|
1571
|
-
mandate_options?: Payto.MandateOptions;
|
|
1572
|
-
}
|
|
1573
|
-
|
|
1574
|
-
namespace Payto {
|
|
1575
|
-
interface MandateOptions {
|
|
1576
|
-
/**
|
|
1577
|
-
* Amount that will be collected. It is required when `amount_type` is `fixed`.
|
|
1578
|
-
*/
|
|
1579
|
-
amount?: number;
|
|
1580
|
-
|
|
1581
|
-
/**
|
|
1582
|
-
* 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.
|
|
1583
|
-
*/
|
|
1584
|
-
amount_type?: MandateOptions.AmountType;
|
|
1585
|
-
|
|
1586
|
-
/**
|
|
1587
|
-
* Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
|
|
1588
|
-
*/
|
|
1589
|
-
end_date?: string;
|
|
1590
|
-
|
|
1591
|
-
/**
|
|
1592
|
-
* The periodicity at which payments will be collected.
|
|
1593
|
-
*/
|
|
1594
|
-
payment_schedule?: MandateOptions.PaymentSchedule;
|
|
1595
|
-
|
|
1596
|
-
/**
|
|
1597
|
-
* 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.
|
|
1598
|
-
*/
|
|
1599
|
-
payments_per_period?: number;
|
|
1600
|
-
|
|
1601
|
-
/**
|
|
1602
|
-
* The purpose for which payments are made. Defaults to retail.
|
|
1603
|
-
*/
|
|
1604
|
-
purpose?: MandateOptions.Purpose;
|
|
1605
|
-
|
|
1606
|
-
/**
|
|
1607
|
-
* Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
|
|
1608
|
-
*/
|
|
1609
|
-
start_date?: string;
|
|
1610
|
-
}
|
|
1611
|
-
|
|
1612
|
-
namespace MandateOptions {
|
|
1613
|
-
type AmountType = 'fixed' | 'maximum';
|
|
1614
|
-
|
|
1615
|
-
type PaymentSchedule =
|
|
1616
|
-
| 'adhoc'
|
|
1617
|
-
| 'annual'
|
|
1618
|
-
| 'daily'
|
|
1619
|
-
| 'fortnightly'
|
|
1620
|
-
| 'monthly'
|
|
1621
|
-
| 'quarterly'
|
|
1622
|
-
| 'semi_annual'
|
|
1623
|
-
| 'weekly';
|
|
1624
|
-
|
|
1625
|
-
type Purpose =
|
|
1626
|
-
| 'dependant_support'
|
|
1627
|
-
| 'government'
|
|
1628
|
-
| 'loan'
|
|
1629
|
-
| 'mortgage'
|
|
1630
|
-
| 'other'
|
|
1631
|
-
| 'pension'
|
|
1632
|
-
| 'personal'
|
|
1633
|
-
| 'retail'
|
|
1634
|
-
| 'salary'
|
|
1635
|
-
| 'tax'
|
|
1636
|
-
| 'utility';
|
|
1637
|
-
}
|
|
1638
|
-
}
|
|
1639
|
-
|
|
1640
|
-
interface Pix {
|
|
1641
|
-
/**
|
|
1642
|
-
* Additional fields for mandate creation.
|
|
1643
|
-
*/
|
|
1644
|
-
mandate_options?: Pix.MandateOptions;
|
|
1645
|
-
}
|
|
1646
|
-
|
|
1647
|
-
namespace Pix {
|
|
1648
|
-
interface MandateOptions {
|
|
1649
|
-
/**
|
|
1650
|
-
* Amount to be charged for future payments. Required when `amount_type=fixed`. If not provided for `amount_type=maximum`, defaults to 40000.
|
|
1651
|
-
*/
|
|
1652
|
-
amount?: number;
|
|
1653
|
-
|
|
1654
|
-
/**
|
|
1655
|
-
* Determines if the amount includes the IOF tax. Defaults to `never`.
|
|
1656
|
-
*/
|
|
1657
|
-
amount_includes_iof?: MandateOptions.AmountIncludesIof;
|
|
1658
|
-
|
|
1659
|
-
/**
|
|
1660
|
-
* Type of amount. Defaults to `maximum`.
|
|
1661
|
-
*/
|
|
1662
|
-
amount_type?: MandateOptions.AmountType;
|
|
1663
|
-
|
|
1664
|
-
/**
|
|
1665
|
-
* Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Only `brl` is supported currently.
|
|
1666
|
-
*/
|
|
1667
|
-
currency?: string;
|
|
1668
|
-
|
|
1669
|
-
/**
|
|
1670
|
-
* 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.
|
|
1671
|
-
*/
|
|
1672
|
-
end_date?: string;
|
|
1673
|
-
|
|
1674
|
-
/**
|
|
1675
|
-
* Schedule at which the future payments will be charged. Defaults to `weekly`.
|
|
1676
|
-
*/
|
|
1677
|
-
payment_schedule?: MandateOptions.PaymentSchedule;
|
|
1678
|
-
|
|
1679
|
-
/**
|
|
1680
|
-
* Subscription name displayed to buyers in their bank app. Defaults to the displayable business name.
|
|
1681
|
-
*/
|
|
1682
|
-
reference?: string;
|
|
1683
|
-
|
|
1684
|
-
/**
|
|
1685
|
-
* 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.
|
|
1686
|
-
*/
|
|
1687
|
-
start_date?: string;
|
|
1688
|
-
}
|
|
1689
|
-
|
|
1690
|
-
namespace MandateOptions {
|
|
1691
|
-
type AmountIncludesIof = 'always' | 'never';
|
|
1692
|
-
|
|
1693
|
-
type AmountType = 'fixed' | 'maximum';
|
|
1694
|
-
|
|
1695
|
-
type PaymentSchedule =
|
|
1696
|
-
| 'halfyearly'
|
|
1697
|
-
| 'monthly'
|
|
1698
|
-
| 'quarterly'
|
|
1699
|
-
| 'weekly'
|
|
1700
|
-
| 'yearly';
|
|
1701
|
-
}
|
|
1702
1415
|
}
|
|
1703
1416
|
|
|
1704
1417
|
interface SepaDebit {
|
|
@@ -1746,11 +1459,6 @@ declare module 'stripe' {
|
|
|
1746
1459
|
*/
|
|
1747
1460
|
filters?: FinancialConnections.Filters;
|
|
1748
1461
|
|
|
1749
|
-
/**
|
|
1750
|
-
* Customize manual entry behavior
|
|
1751
|
-
*/
|
|
1752
|
-
manual_entry?: FinancialConnections.ManualEntry;
|
|
1753
|
-
|
|
1754
1462
|
/**
|
|
1755
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`.
|
|
1756
1464
|
*/
|
|
@@ -1773,39 +1481,19 @@ declare module 'stripe' {
|
|
|
1773
1481
|
* The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
|
|
1774
1482
|
*/
|
|
1775
1483
|
account_subcategories?: Array<Filters.AccountSubcategory>;
|
|
1776
|
-
|
|
1777
|
-
/**
|
|
1778
|
-
* ID of the institution to use to filter for selectable accounts.
|
|
1779
|
-
*/
|
|
1780
|
-
institution?: string;
|
|
1781
1484
|
}
|
|
1782
1485
|
|
|
1783
1486
|
namespace Filters {
|
|
1784
1487
|
type AccountSubcategory = 'checking' | 'savings';
|
|
1785
1488
|
}
|
|
1786
1489
|
|
|
1787
|
-
interface ManualEntry {
|
|
1788
|
-
/**
|
|
1789
|
-
* Settings for configuring manual entry of account details.
|
|
1790
|
-
*/
|
|
1791
|
-
mode: ManualEntry.Mode;
|
|
1792
|
-
}
|
|
1793
|
-
|
|
1794
|
-
namespace ManualEntry {
|
|
1795
|
-
type Mode = 'automatic' | 'custom';
|
|
1796
|
-
}
|
|
1797
|
-
|
|
1798
1490
|
type Permission =
|
|
1799
1491
|
| 'balances'
|
|
1800
1492
|
| 'ownership'
|
|
1801
1493
|
| 'payment_method'
|
|
1802
1494
|
| 'transactions';
|
|
1803
1495
|
|
|
1804
|
-
type Prefetch =
|
|
1805
|
-
| 'balances'
|
|
1806
|
-
| 'inferred_balances'
|
|
1807
|
-
| 'ownership'
|
|
1808
|
-
| 'transactions';
|
|
1496
|
+
type Prefetch = 'balances' | 'ownership' | 'transactions';
|
|
1809
1497
|
}
|
|
1810
1498
|
|
|
1811
1499
|
interface MandateOptions {
|
|
@@ -1872,13 +1560,6 @@ declare module 'stripe' {
|
|
|
1872
1560
|
*/
|
|
1873
1561
|
customer?: string;
|
|
1874
1562
|
|
|
1875
|
-
/**
|
|
1876
|
-
* ID of the Account this SetupIntent belongs to, if one exists.
|
|
1877
|
-
*
|
|
1878
|
-
* 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.
|
|
1879
|
-
*/
|
|
1880
|
-
customer_account?: string;
|
|
1881
|
-
|
|
1882
1563
|
/**
|
|
1883
1564
|
* An arbitrary string attached to the object. Often useful for displaying to users.
|
|
1884
1565
|
*/
|
|
@@ -2032,21 +1713,11 @@ declare module 'stripe' {
|
|
|
2032
1713
|
*/
|
|
2033
1714
|
giropay?: PaymentMethodData.Giropay;
|
|
2034
1715
|
|
|
2035
|
-
/**
|
|
2036
|
-
* If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
|
|
2037
|
-
*/
|
|
2038
|
-
gopay?: PaymentMethodData.Gopay;
|
|
2039
|
-
|
|
2040
1716
|
/**
|
|
2041
1717
|
* If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
|
|
2042
1718
|
*/
|
|
2043
1719
|
grabpay?: PaymentMethodData.Grabpay;
|
|
2044
1720
|
|
|
2045
|
-
/**
|
|
2046
|
-
* If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
|
|
2047
|
-
*/
|
|
2048
|
-
id_bank_transfer?: PaymentMethodData.IdBankTransfer;
|
|
2049
|
-
|
|
2050
1721
|
/**
|
|
2051
1722
|
* If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
|
|
2052
1723
|
*/
|
|
@@ -2142,16 +1813,6 @@ declare module 'stripe' {
|
|
|
2142
1813
|
*/
|
|
2143
1814
|
paypal?: PaymentMethodData.Paypal;
|
|
2144
1815
|
|
|
2145
|
-
/**
|
|
2146
|
-
* If this is a `paypay` PaymentMethod, this hash contains details about the PayPay payment method.
|
|
2147
|
-
*/
|
|
2148
|
-
paypay?: PaymentMethodData.Paypay;
|
|
2149
|
-
|
|
2150
|
-
/**
|
|
2151
|
-
* If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
|
|
2152
|
-
*/
|
|
2153
|
-
payto?: PaymentMethodData.Payto;
|
|
2154
|
-
|
|
2155
1816
|
/**
|
|
2156
1817
|
* If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
|
|
2157
1818
|
*/
|
|
@@ -2162,21 +1823,11 @@ declare module 'stripe' {
|
|
|
2162
1823
|
*/
|
|
2163
1824
|
promptpay?: PaymentMethodData.Promptpay;
|
|
2164
1825
|
|
|
2165
|
-
/**
|
|
2166
|
-
* If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
|
|
2167
|
-
*/
|
|
2168
|
-
qris?: PaymentMethodData.Qris;
|
|
2169
|
-
|
|
2170
1826
|
/**
|
|
2171
1827
|
* Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
|
|
2172
1828
|
*/
|
|
2173
1829
|
radar_options?: PaymentMethodData.RadarOptions;
|
|
2174
1830
|
|
|
2175
|
-
/**
|
|
2176
|
-
* If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
|
|
2177
|
-
*/
|
|
2178
|
-
rechnung?: PaymentMethodData.Rechnung;
|
|
2179
|
-
|
|
2180
1831
|
/**
|
|
2181
1832
|
* If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
|
|
2182
1833
|
*/
|
|
@@ -2197,21 +1848,11 @@ declare module 'stripe' {
|
|
|
2197
1848
|
*/
|
|
2198
1849
|
sepa_debit?: PaymentMethodData.SepaDebit;
|
|
2199
1850
|
|
|
2200
|
-
/**
|
|
2201
|
-
* If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
|
|
2202
|
-
*/
|
|
2203
|
-
shopeepay?: PaymentMethodData.Shopeepay;
|
|
2204
|
-
|
|
2205
1851
|
/**
|
|
2206
1852
|
* If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
|
|
2207
1853
|
*/
|
|
2208
1854
|
sofort?: PaymentMethodData.Sofort;
|
|
2209
1855
|
|
|
2210
|
-
/**
|
|
2211
|
-
* This hash contains details about the Stripe balance payment method.
|
|
2212
|
-
*/
|
|
2213
|
-
stripe_balance?: PaymentMethodData.StripeBalance;
|
|
2214
|
-
|
|
2215
1856
|
/**
|
|
2216
1857
|
* If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
|
|
2217
1858
|
*/
|
|
@@ -2424,21 +2065,8 @@ declare module 'stripe' {
|
|
|
2424
2065
|
|
|
2425
2066
|
interface Giropay {}
|
|
2426
2067
|
|
|
2427
|
-
interface Gopay {}
|
|
2428
|
-
|
|
2429
2068
|
interface Grabpay {}
|
|
2430
2069
|
|
|
2431
|
-
interface IdBankTransfer {
|
|
2432
|
-
/**
|
|
2433
|
-
* Bank where the account is held.
|
|
2434
|
-
*/
|
|
2435
|
-
bank?: IdBankTransfer.Bank;
|
|
2436
|
-
}
|
|
2437
|
-
|
|
2438
|
-
namespace IdBankTransfer {
|
|
2439
|
-
type Bank = 'bca' | 'bni' | 'bri' | 'cimb' | 'permata';
|
|
2440
|
-
}
|
|
2441
|
-
|
|
2442
2070
|
interface Ideal {
|
|
2443
2071
|
/**
|
|
2444
2072
|
* The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
|
@@ -2596,31 +2224,10 @@ declare module 'stripe' {
|
|
|
2596
2224
|
|
|
2597
2225
|
interface Paypal {}
|
|
2598
2226
|
|
|
2599
|
-
interface Paypay {}
|
|
2600
|
-
|
|
2601
|
-
interface Payto {
|
|
2602
|
-
/**
|
|
2603
|
-
* The account number for the bank account.
|
|
2604
|
-
*/
|
|
2605
|
-
account_number?: string;
|
|
2606
|
-
|
|
2607
|
-
/**
|
|
2608
|
-
* Bank-State-Branch number of the bank account.
|
|
2609
|
-
*/
|
|
2610
|
-
bsb_number?: string;
|
|
2611
|
-
|
|
2612
|
-
/**
|
|
2613
|
-
* The PayID alias for the bank account.
|
|
2614
|
-
*/
|
|
2615
|
-
pay_id?: string;
|
|
2616
|
-
}
|
|
2617
|
-
|
|
2618
2227
|
interface Pix {}
|
|
2619
2228
|
|
|
2620
2229
|
interface Promptpay {}
|
|
2621
2230
|
|
|
2622
|
-
interface Qris {}
|
|
2623
|
-
|
|
2624
2231
|
interface RadarOptions {
|
|
2625
2232
|
/**
|
|
2626
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.
|
|
@@ -2628,32 +2235,6 @@ declare module 'stripe' {
|
|
|
2628
2235
|
session?: string;
|
|
2629
2236
|
}
|
|
2630
2237
|
|
|
2631
|
-
interface Rechnung {
|
|
2632
|
-
/**
|
|
2633
|
-
* Customer's date of birth
|
|
2634
|
-
*/
|
|
2635
|
-
dob: Rechnung.Dob;
|
|
2636
|
-
}
|
|
2637
|
-
|
|
2638
|
-
namespace Rechnung {
|
|
2639
|
-
interface Dob {
|
|
2640
|
-
/**
|
|
2641
|
-
* The day of birth, between 1 and 31.
|
|
2642
|
-
*/
|
|
2643
|
-
day: number;
|
|
2644
|
-
|
|
2645
|
-
/**
|
|
2646
|
-
* The month of birth, between 1 and 12.
|
|
2647
|
-
*/
|
|
2648
|
-
month: number;
|
|
2649
|
-
|
|
2650
|
-
/**
|
|
2651
|
-
* The four-digit year of birth.
|
|
2652
|
-
*/
|
|
2653
|
-
year: number;
|
|
2654
|
-
}
|
|
2655
|
-
}
|
|
2656
|
-
|
|
2657
2238
|
interface RevolutPay {}
|
|
2658
2239
|
|
|
2659
2240
|
interface SamsungPay {}
|
|
@@ -2667,8 +2248,6 @@ declare module 'stripe' {
|
|
|
2667
2248
|
iban: string;
|
|
2668
2249
|
}
|
|
2669
2250
|
|
|
2670
|
-
interface Shopeepay {}
|
|
2671
|
-
|
|
2672
2251
|
interface Sofort {
|
|
2673
2252
|
/**
|
|
2674
2253
|
* Two-letter ISO code representing the country the bank account is located in.
|
|
@@ -2680,22 +2259,6 @@ declare module 'stripe' {
|
|
|
2680
2259
|
type Country = 'AT' | 'BE' | 'DE' | 'ES' | 'IT' | 'NL';
|
|
2681
2260
|
}
|
|
2682
2261
|
|
|
2683
|
-
interface StripeBalance {
|
|
2684
|
-
/**
|
|
2685
|
-
* The connected account ID whose Stripe balance to use as the source of payment
|
|
2686
|
-
*/
|
|
2687
|
-
account?: string;
|
|
2688
|
-
|
|
2689
|
-
/**
|
|
2690
|
-
* The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
|
|
2691
|
-
*/
|
|
2692
|
-
source_type?: StripeBalance.SourceType;
|
|
2693
|
-
}
|
|
2694
|
-
|
|
2695
|
-
namespace StripeBalance {
|
|
2696
|
-
type SourceType = 'bank_account' | 'card' | 'fpx';
|
|
2697
|
-
}
|
|
2698
|
-
|
|
2699
2262
|
interface Swish {}
|
|
2700
2263
|
|
|
2701
2264
|
interface Twint {}
|
|
@@ -2719,9 +2282,7 @@ declare module 'stripe' {
|
|
|
2719
2282
|
| 'eps'
|
|
2720
2283
|
| 'fpx'
|
|
2721
2284
|
| 'giropay'
|
|
2722
|
-
| 'gopay'
|
|
2723
2285
|
| 'grabpay'
|
|
2724
|
-
| 'id_bank_transfer'
|
|
2725
2286
|
| 'ideal'
|
|
2726
2287
|
| 'kakao_pay'
|
|
2727
2288
|
| 'klarna'
|
|
@@ -2739,19 +2300,13 @@ declare module 'stripe' {
|
|
|
2739
2300
|
| 'payco'
|
|
2740
2301
|
| 'paynow'
|
|
2741
2302
|
| 'paypal'
|
|
2742
|
-
| 'paypay'
|
|
2743
|
-
| 'payto'
|
|
2744
2303
|
| 'pix'
|
|
2745
2304
|
| 'promptpay'
|
|
2746
|
-
| 'qris'
|
|
2747
|
-
| 'rechnung'
|
|
2748
2305
|
| 'revolut_pay'
|
|
2749
2306
|
| 'samsung_pay'
|
|
2750
2307
|
| 'satispay'
|
|
2751
2308
|
| 'sepa_debit'
|
|
2752
|
-
| 'shopeepay'
|
|
2753
2309
|
| 'sofort'
|
|
2754
|
-
| 'stripe_balance'
|
|
2755
2310
|
| 'swish'
|
|
2756
2311
|
| 'twint'
|
|
2757
2312
|
| 'us_bank_account'
|
|
@@ -2837,16 +2392,6 @@ declare module 'stripe' {
|
|
|
2837
2392
|
*/
|
|
2838
2393
|
paypal?: PaymentMethodOptions.Paypal;
|
|
2839
2394
|
|
|
2840
|
-
/**
|
|
2841
|
-
* If this is a `payto` SetupIntent, this sub-hash contains details about the PayTo payment method options.
|
|
2842
|
-
*/
|
|
2843
|
-
payto?: PaymentMethodOptions.Payto;
|
|
2844
|
-
|
|
2845
|
-
/**
|
|
2846
|
-
* If this is a `pix` SetupIntent, this sub-hash contains details about the Pix payment method options.
|
|
2847
|
-
*/
|
|
2848
|
-
pix?: PaymentMethodOptions.Pix;
|
|
2849
|
-
|
|
2850
2395
|
/**
|
|
2851
2396
|
* If this is a `sepa_debit` SetupIntent, this sub-hash contains details about the SEPA Debit payment method options.
|
|
2852
2397
|
*/
|
|
@@ -3294,150 +2839,6 @@ declare module 'stripe' {
|
|
|
3294
2839
|
* The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
|
|
3295
2840
|
*/
|
|
3296
2841
|
billing_agreement_id?: string;
|
|
3297
|
-
|
|
3298
|
-
currency?: string;
|
|
3299
|
-
|
|
3300
|
-
/**
|
|
3301
|
-
* 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.
|
|
3302
|
-
*/
|
|
3303
|
-
subsellers?: Array<string>;
|
|
3304
|
-
}
|
|
3305
|
-
|
|
3306
|
-
interface Payto {
|
|
3307
|
-
/**
|
|
3308
|
-
* Additional fields for Mandate creation.
|
|
3309
|
-
*/
|
|
3310
|
-
mandate_options?: Payto.MandateOptions;
|
|
3311
|
-
}
|
|
3312
|
-
|
|
3313
|
-
namespace Payto {
|
|
3314
|
-
interface MandateOptions {
|
|
3315
|
-
/**
|
|
3316
|
-
* Amount that will be collected. It is required when `amount_type` is `fixed`.
|
|
3317
|
-
*/
|
|
3318
|
-
amount?: number;
|
|
3319
|
-
|
|
3320
|
-
/**
|
|
3321
|
-
* 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.
|
|
3322
|
-
*/
|
|
3323
|
-
amount_type?: MandateOptions.AmountType;
|
|
3324
|
-
|
|
3325
|
-
/**
|
|
3326
|
-
* Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
|
|
3327
|
-
*/
|
|
3328
|
-
end_date?: string;
|
|
3329
|
-
|
|
3330
|
-
/**
|
|
3331
|
-
* The periodicity at which payments will be collected.
|
|
3332
|
-
*/
|
|
3333
|
-
payment_schedule?: MandateOptions.PaymentSchedule;
|
|
3334
|
-
|
|
3335
|
-
/**
|
|
3336
|
-
* 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.
|
|
3337
|
-
*/
|
|
3338
|
-
payments_per_period?: number;
|
|
3339
|
-
|
|
3340
|
-
/**
|
|
3341
|
-
* The purpose for which payments are made. Defaults to retail.
|
|
3342
|
-
*/
|
|
3343
|
-
purpose?: MandateOptions.Purpose;
|
|
3344
|
-
|
|
3345
|
-
/**
|
|
3346
|
-
* Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
|
|
3347
|
-
*/
|
|
3348
|
-
start_date?: string;
|
|
3349
|
-
}
|
|
3350
|
-
|
|
3351
|
-
namespace MandateOptions {
|
|
3352
|
-
type AmountType = 'fixed' | 'maximum';
|
|
3353
|
-
|
|
3354
|
-
type PaymentSchedule =
|
|
3355
|
-
| 'adhoc'
|
|
3356
|
-
| 'annual'
|
|
3357
|
-
| 'daily'
|
|
3358
|
-
| 'fortnightly'
|
|
3359
|
-
| 'monthly'
|
|
3360
|
-
| 'quarterly'
|
|
3361
|
-
| 'semi_annual'
|
|
3362
|
-
| 'weekly';
|
|
3363
|
-
|
|
3364
|
-
type Purpose =
|
|
3365
|
-
| 'dependant_support'
|
|
3366
|
-
| 'government'
|
|
3367
|
-
| 'loan'
|
|
3368
|
-
| 'mortgage'
|
|
3369
|
-
| 'other'
|
|
3370
|
-
| 'pension'
|
|
3371
|
-
| 'personal'
|
|
3372
|
-
| 'retail'
|
|
3373
|
-
| 'salary'
|
|
3374
|
-
| 'tax'
|
|
3375
|
-
| 'utility';
|
|
3376
|
-
}
|
|
3377
|
-
}
|
|
3378
|
-
|
|
3379
|
-
interface Pix {
|
|
3380
|
-
/**
|
|
3381
|
-
* Additional fields for mandate creation.
|
|
3382
|
-
*/
|
|
3383
|
-
mandate_options?: Pix.MandateOptions;
|
|
3384
|
-
}
|
|
3385
|
-
|
|
3386
|
-
namespace Pix {
|
|
3387
|
-
interface MandateOptions {
|
|
3388
|
-
/**
|
|
3389
|
-
* Amount to be charged for future payments. Required when `amount_type=fixed`. If not provided for `amount_type=maximum`, defaults to 40000.
|
|
3390
|
-
*/
|
|
3391
|
-
amount?: number;
|
|
3392
|
-
|
|
3393
|
-
/**
|
|
3394
|
-
* Determines if the amount includes the IOF tax. Defaults to `never`.
|
|
3395
|
-
*/
|
|
3396
|
-
amount_includes_iof?: MandateOptions.AmountIncludesIof;
|
|
3397
|
-
|
|
3398
|
-
/**
|
|
3399
|
-
* Type of amount. Defaults to `maximum`.
|
|
3400
|
-
*/
|
|
3401
|
-
amount_type?: MandateOptions.AmountType;
|
|
3402
|
-
|
|
3403
|
-
/**
|
|
3404
|
-
* Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Only `brl` is supported currently.
|
|
3405
|
-
*/
|
|
3406
|
-
currency?: string;
|
|
3407
|
-
|
|
3408
|
-
/**
|
|
3409
|
-
* 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.
|
|
3410
|
-
*/
|
|
3411
|
-
end_date?: string;
|
|
3412
|
-
|
|
3413
|
-
/**
|
|
3414
|
-
* Schedule at which the future payments will be charged. Defaults to `weekly`.
|
|
3415
|
-
*/
|
|
3416
|
-
payment_schedule?: MandateOptions.PaymentSchedule;
|
|
3417
|
-
|
|
3418
|
-
/**
|
|
3419
|
-
* Subscription name displayed to buyers in their bank app. Defaults to the displayable business name.
|
|
3420
|
-
*/
|
|
3421
|
-
reference?: string;
|
|
3422
|
-
|
|
3423
|
-
/**
|
|
3424
|
-
* 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.
|
|
3425
|
-
*/
|
|
3426
|
-
start_date?: string;
|
|
3427
|
-
}
|
|
3428
|
-
|
|
3429
|
-
namespace MandateOptions {
|
|
3430
|
-
type AmountIncludesIof = 'always' | 'never';
|
|
3431
|
-
|
|
3432
|
-
type AmountType = 'fixed' | 'maximum';
|
|
3433
|
-
|
|
3434
|
-
type PaymentSchedule =
|
|
3435
|
-
| 'halfyearly'
|
|
3436
|
-
| 'monthly'
|
|
3437
|
-
| 'quarterly'
|
|
3438
|
-
| 'weekly'
|
|
3439
|
-
| 'yearly';
|
|
3440
|
-
}
|
|
3441
2842
|
}
|
|
3442
2843
|
|
|
3443
2844
|
interface SepaDebit {
|
|
@@ -3485,11 +2886,6 @@ declare module 'stripe' {
|
|
|
3485
2886
|
*/
|
|
3486
2887
|
filters?: FinancialConnections.Filters;
|
|
3487
2888
|
|
|
3488
|
-
/**
|
|
3489
|
-
* Customize manual entry behavior
|
|
3490
|
-
*/
|
|
3491
|
-
manual_entry?: FinancialConnections.ManualEntry;
|
|
3492
|
-
|
|
3493
2889
|
/**
|
|
3494
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`.
|
|
3495
2891
|
*/
|
|
@@ -3512,39 +2908,19 @@ declare module 'stripe' {
|
|
|
3512
2908
|
* The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
|
|
3513
2909
|
*/
|
|
3514
2910
|
account_subcategories?: Array<Filters.AccountSubcategory>;
|
|
3515
|
-
|
|
3516
|
-
/**
|
|
3517
|
-
* ID of the institution to use to filter for selectable accounts.
|
|
3518
|
-
*/
|
|
3519
|
-
institution?: string;
|
|
3520
2911
|
}
|
|
3521
2912
|
|
|
3522
2913
|
namespace Filters {
|
|
3523
2914
|
type AccountSubcategory = 'checking' | 'savings';
|
|
3524
2915
|
}
|
|
3525
2916
|
|
|
3526
|
-
interface ManualEntry {
|
|
3527
|
-
/**
|
|
3528
|
-
* Settings for configuring manual entry of account details.
|
|
3529
|
-
*/
|
|
3530
|
-
mode: ManualEntry.Mode;
|
|
3531
|
-
}
|
|
3532
|
-
|
|
3533
|
-
namespace ManualEntry {
|
|
3534
|
-
type Mode = 'automatic' | 'custom';
|
|
3535
|
-
}
|
|
3536
|
-
|
|
3537
2917
|
type Permission =
|
|
3538
2918
|
| 'balances'
|
|
3539
2919
|
| 'ownership'
|
|
3540
2920
|
| 'payment_method'
|
|
3541
2921
|
| 'transactions';
|
|
3542
2922
|
|
|
3543
|
-
type Prefetch =
|
|
3544
|
-
| 'balances'
|
|
3545
|
-
| 'inferred_balances'
|
|
3546
|
-
| 'ownership'
|
|
3547
|
-
| 'transactions';
|
|
2923
|
+
type Prefetch = 'balances' | 'ownership' | 'transactions';
|
|
3548
2924
|
}
|
|
3549
2925
|
|
|
3550
2926
|
interface MandateOptions {
|
|
@@ -3588,11 +2964,6 @@ declare module 'stripe' {
|
|
|
3588
2964
|
*/
|
|
3589
2965
|
customer?: string;
|
|
3590
2966
|
|
|
3591
|
-
/**
|
|
3592
|
-
* Only return SetupIntents for the account specified by this customer ID.
|
|
3593
|
-
*/
|
|
3594
|
-
customer_account?: string;
|
|
3595
|
-
|
|
3596
2967
|
/**
|
|
3597
2968
|
* Specifies which fields in the response should be expanded.
|
|
3598
2969
|
*/
|
|
@@ -3818,21 +3189,11 @@ declare module 'stripe' {
|
|
|
3818
3189
|
*/
|
|
3819
3190
|
giropay?: PaymentMethodData.Giropay;
|
|
3820
3191
|
|
|
3821
|
-
/**
|
|
3822
|
-
* If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
|
|
3823
|
-
*/
|
|
3824
|
-
gopay?: PaymentMethodData.Gopay;
|
|
3825
|
-
|
|
3826
3192
|
/**
|
|
3827
3193
|
* If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
|
|
3828
3194
|
*/
|
|
3829
3195
|
grabpay?: PaymentMethodData.Grabpay;
|
|
3830
3196
|
|
|
3831
|
-
/**
|
|
3832
|
-
* If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
|
|
3833
|
-
*/
|
|
3834
|
-
id_bank_transfer?: PaymentMethodData.IdBankTransfer;
|
|
3835
|
-
|
|
3836
3197
|
/**
|
|
3837
3198
|
* If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
|
|
3838
3199
|
*/
|
|
@@ -3928,16 +3289,6 @@ declare module 'stripe' {
|
|
|
3928
3289
|
*/
|
|
3929
3290
|
paypal?: PaymentMethodData.Paypal;
|
|
3930
3291
|
|
|
3931
|
-
/**
|
|
3932
|
-
* If this is a `paypay` PaymentMethod, this hash contains details about the PayPay payment method.
|
|
3933
|
-
*/
|
|
3934
|
-
paypay?: PaymentMethodData.Paypay;
|
|
3935
|
-
|
|
3936
|
-
/**
|
|
3937
|
-
* If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
|
|
3938
|
-
*/
|
|
3939
|
-
payto?: PaymentMethodData.Payto;
|
|
3940
|
-
|
|
3941
3292
|
/**
|
|
3942
3293
|
* If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
|
|
3943
3294
|
*/
|
|
@@ -3948,21 +3299,11 @@ declare module 'stripe' {
|
|
|
3948
3299
|
*/
|
|
3949
3300
|
promptpay?: PaymentMethodData.Promptpay;
|
|
3950
3301
|
|
|
3951
|
-
/**
|
|
3952
|
-
* If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
|
|
3953
|
-
*/
|
|
3954
|
-
qris?: PaymentMethodData.Qris;
|
|
3955
|
-
|
|
3956
3302
|
/**
|
|
3957
3303
|
* Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
|
|
3958
3304
|
*/
|
|
3959
3305
|
radar_options?: PaymentMethodData.RadarOptions;
|
|
3960
3306
|
|
|
3961
|
-
/**
|
|
3962
|
-
* If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
|
|
3963
|
-
*/
|
|
3964
|
-
rechnung?: PaymentMethodData.Rechnung;
|
|
3965
|
-
|
|
3966
3307
|
/**
|
|
3967
3308
|
* If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
|
|
3968
3309
|
*/
|
|
@@ -3983,21 +3324,11 @@ declare module 'stripe' {
|
|
|
3983
3324
|
*/
|
|
3984
3325
|
sepa_debit?: PaymentMethodData.SepaDebit;
|
|
3985
3326
|
|
|
3986
|
-
/**
|
|
3987
|
-
* If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
|
|
3988
|
-
*/
|
|
3989
|
-
shopeepay?: PaymentMethodData.Shopeepay;
|
|
3990
|
-
|
|
3991
3327
|
/**
|
|
3992
3328
|
* If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
|
|
3993
3329
|
*/
|
|
3994
3330
|
sofort?: PaymentMethodData.Sofort;
|
|
3995
3331
|
|
|
3996
|
-
/**
|
|
3997
|
-
* This hash contains details about the Stripe balance payment method.
|
|
3998
|
-
*/
|
|
3999
|
-
stripe_balance?: PaymentMethodData.StripeBalance;
|
|
4000
|
-
|
|
4001
3332
|
/**
|
|
4002
3333
|
* If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
|
|
4003
3334
|
*/
|
|
@@ -4210,21 +3541,8 @@ declare module 'stripe' {
|
|
|
4210
3541
|
|
|
4211
3542
|
interface Giropay {}
|
|
4212
3543
|
|
|
4213
|
-
interface Gopay {}
|
|
4214
|
-
|
|
4215
3544
|
interface Grabpay {}
|
|
4216
3545
|
|
|
4217
|
-
interface IdBankTransfer {
|
|
4218
|
-
/**
|
|
4219
|
-
* Bank where the account is held.
|
|
4220
|
-
*/
|
|
4221
|
-
bank?: IdBankTransfer.Bank;
|
|
4222
|
-
}
|
|
4223
|
-
|
|
4224
|
-
namespace IdBankTransfer {
|
|
4225
|
-
type Bank = 'bca' | 'bni' | 'bri' | 'cimb' | 'permata';
|
|
4226
|
-
}
|
|
4227
|
-
|
|
4228
3546
|
interface Ideal {
|
|
4229
3547
|
/**
|
|
4230
3548
|
* The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
|
@@ -4382,31 +3700,10 @@ declare module 'stripe' {
|
|
|
4382
3700
|
|
|
4383
3701
|
interface Paypal {}
|
|
4384
3702
|
|
|
4385
|
-
interface Paypay {}
|
|
4386
|
-
|
|
4387
|
-
interface Payto {
|
|
4388
|
-
/**
|
|
4389
|
-
* The account number for the bank account.
|
|
4390
|
-
*/
|
|
4391
|
-
account_number?: string;
|
|
4392
|
-
|
|
4393
|
-
/**
|
|
4394
|
-
* Bank-State-Branch number of the bank account.
|
|
4395
|
-
*/
|
|
4396
|
-
bsb_number?: string;
|
|
4397
|
-
|
|
4398
|
-
/**
|
|
4399
|
-
* The PayID alias for the bank account.
|
|
4400
|
-
*/
|
|
4401
|
-
pay_id?: string;
|
|
4402
|
-
}
|
|
4403
|
-
|
|
4404
3703
|
interface Pix {}
|
|
4405
3704
|
|
|
4406
3705
|
interface Promptpay {}
|
|
4407
3706
|
|
|
4408
|
-
interface Qris {}
|
|
4409
|
-
|
|
4410
3707
|
interface RadarOptions {
|
|
4411
3708
|
/**
|
|
4412
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.
|
|
@@ -4414,32 +3711,6 @@ declare module 'stripe' {
|
|
|
4414
3711
|
session?: string;
|
|
4415
3712
|
}
|
|
4416
3713
|
|
|
4417
|
-
interface Rechnung {
|
|
4418
|
-
/**
|
|
4419
|
-
* Customer's date of birth
|
|
4420
|
-
*/
|
|
4421
|
-
dob: Rechnung.Dob;
|
|
4422
|
-
}
|
|
4423
|
-
|
|
4424
|
-
namespace Rechnung {
|
|
4425
|
-
interface Dob {
|
|
4426
|
-
/**
|
|
4427
|
-
* The day of birth, between 1 and 31.
|
|
4428
|
-
*/
|
|
4429
|
-
day: number;
|
|
4430
|
-
|
|
4431
|
-
/**
|
|
4432
|
-
* The month of birth, between 1 and 12.
|
|
4433
|
-
*/
|
|
4434
|
-
month: number;
|
|
4435
|
-
|
|
4436
|
-
/**
|
|
4437
|
-
* The four-digit year of birth.
|
|
4438
|
-
*/
|
|
4439
|
-
year: number;
|
|
4440
|
-
}
|
|
4441
|
-
}
|
|
4442
|
-
|
|
4443
3714
|
interface RevolutPay {}
|
|
4444
3715
|
|
|
4445
3716
|
interface SamsungPay {}
|
|
@@ -4453,8 +3724,6 @@ declare module 'stripe' {
|
|
|
4453
3724
|
iban: string;
|
|
4454
3725
|
}
|
|
4455
3726
|
|
|
4456
|
-
interface Shopeepay {}
|
|
4457
|
-
|
|
4458
3727
|
interface Sofort {
|
|
4459
3728
|
/**
|
|
4460
3729
|
* Two-letter ISO code representing the country the bank account is located in.
|
|
@@ -4466,22 +3735,6 @@ declare module 'stripe' {
|
|
|
4466
3735
|
type Country = 'AT' | 'BE' | 'DE' | 'ES' | 'IT' | 'NL';
|
|
4467
3736
|
}
|
|
4468
3737
|
|
|
4469
|
-
interface StripeBalance {
|
|
4470
|
-
/**
|
|
4471
|
-
* The connected account ID whose Stripe balance to use as the source of payment
|
|
4472
|
-
*/
|
|
4473
|
-
account?: string;
|
|
4474
|
-
|
|
4475
|
-
/**
|
|
4476
|
-
* The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
|
|
4477
|
-
*/
|
|
4478
|
-
source_type?: StripeBalance.SourceType;
|
|
4479
|
-
}
|
|
4480
|
-
|
|
4481
|
-
namespace StripeBalance {
|
|
4482
|
-
type SourceType = 'bank_account' | 'card' | 'fpx';
|
|
4483
|
-
}
|
|
4484
|
-
|
|
4485
3738
|
interface Swish {}
|
|
4486
3739
|
|
|
4487
3740
|
interface Twint {}
|
|
@@ -4505,9 +3758,7 @@ declare module 'stripe' {
|
|
|
4505
3758
|
| 'eps'
|
|
4506
3759
|
| 'fpx'
|
|
4507
3760
|
| 'giropay'
|
|
4508
|
-
| 'gopay'
|
|
4509
3761
|
| 'grabpay'
|
|
4510
|
-
| 'id_bank_transfer'
|
|
4511
3762
|
| 'ideal'
|
|
4512
3763
|
| 'kakao_pay'
|
|
4513
3764
|
| 'klarna'
|
|
@@ -4525,19 +3776,13 @@ declare module 'stripe' {
|
|
|
4525
3776
|
| 'payco'
|
|
4526
3777
|
| 'paynow'
|
|
4527
3778
|
| 'paypal'
|
|
4528
|
-
| 'paypay'
|
|
4529
|
-
| 'payto'
|
|
4530
3779
|
| 'pix'
|
|
4531
3780
|
| 'promptpay'
|
|
4532
|
-
| 'qris'
|
|
4533
|
-
| 'rechnung'
|
|
4534
3781
|
| 'revolut_pay'
|
|
4535
3782
|
| 'samsung_pay'
|
|
4536
3783
|
| 'satispay'
|
|
4537
3784
|
| 'sepa_debit'
|
|
4538
|
-
| 'shopeepay'
|
|
4539
3785
|
| 'sofort'
|
|
4540
|
-
| 'stripe_balance'
|
|
4541
3786
|
| 'swish'
|
|
4542
3787
|
| 'twint'
|
|
4543
3788
|
| 'us_bank_account'
|
|
@@ -4623,16 +3868,6 @@ declare module 'stripe' {
|
|
|
4623
3868
|
*/
|
|
4624
3869
|
paypal?: PaymentMethodOptions.Paypal;
|
|
4625
3870
|
|
|
4626
|
-
/**
|
|
4627
|
-
* If this is a `payto` SetupIntent, this sub-hash contains details about the PayTo payment method options.
|
|
4628
|
-
*/
|
|
4629
|
-
payto?: PaymentMethodOptions.Payto;
|
|
4630
|
-
|
|
4631
|
-
/**
|
|
4632
|
-
* If this is a `pix` SetupIntent, this sub-hash contains details about the Pix payment method options.
|
|
4633
|
-
*/
|
|
4634
|
-
pix?: PaymentMethodOptions.Pix;
|
|
4635
|
-
|
|
4636
3871
|
/**
|
|
4637
3872
|
* If this is a `sepa_debit` SetupIntent, this sub-hash contains details about the SEPA Debit payment method options.
|
|
4638
3873
|
*/
|
|
@@ -5080,150 +4315,6 @@ declare module 'stripe' {
|
|
|
5080
4315
|
* The PayPal Billing Agreement ID (BAID). This is an ID generated by PayPal which represents the mandate between the merchant and the customer.
|
|
5081
4316
|
*/
|
|
5082
4317
|
billing_agreement_id?: string;
|
|
5083
|
-
|
|
5084
|
-
currency?: string;
|
|
5085
|
-
|
|
5086
|
-
/**
|
|
5087
|
-
* 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.
|
|
5088
|
-
*/
|
|
5089
|
-
subsellers?: Array<string>;
|
|
5090
|
-
}
|
|
5091
|
-
|
|
5092
|
-
interface Payto {
|
|
5093
|
-
/**
|
|
5094
|
-
* Additional fields for Mandate creation.
|
|
5095
|
-
*/
|
|
5096
|
-
mandate_options?: Payto.MandateOptions;
|
|
5097
|
-
}
|
|
5098
|
-
|
|
5099
|
-
namespace Payto {
|
|
5100
|
-
interface MandateOptions {
|
|
5101
|
-
/**
|
|
5102
|
-
* Amount that will be collected. It is required when `amount_type` is `fixed`.
|
|
5103
|
-
*/
|
|
5104
|
-
amount?: number;
|
|
5105
|
-
|
|
5106
|
-
/**
|
|
5107
|
-
* 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.
|
|
5108
|
-
*/
|
|
5109
|
-
amount_type?: MandateOptions.AmountType;
|
|
5110
|
-
|
|
5111
|
-
/**
|
|
5112
|
-
* Date, in YYYY-MM-DD format, after which payments will not be collected. Defaults to no end date.
|
|
5113
|
-
*/
|
|
5114
|
-
end_date?: string;
|
|
5115
|
-
|
|
5116
|
-
/**
|
|
5117
|
-
* The periodicity at which payments will be collected.
|
|
5118
|
-
*/
|
|
5119
|
-
payment_schedule?: MandateOptions.PaymentSchedule;
|
|
5120
|
-
|
|
5121
|
-
/**
|
|
5122
|
-
* 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.
|
|
5123
|
-
*/
|
|
5124
|
-
payments_per_period?: number;
|
|
5125
|
-
|
|
5126
|
-
/**
|
|
5127
|
-
* The purpose for which payments are made. Defaults to retail.
|
|
5128
|
-
*/
|
|
5129
|
-
purpose?: MandateOptions.Purpose;
|
|
5130
|
-
|
|
5131
|
-
/**
|
|
5132
|
-
* Date, in YYYY-MM-DD format, from which payments will be collected. Defaults to confirmation time.
|
|
5133
|
-
*/
|
|
5134
|
-
start_date?: string;
|
|
5135
|
-
}
|
|
5136
|
-
|
|
5137
|
-
namespace MandateOptions {
|
|
5138
|
-
type AmountType = 'fixed' | 'maximum';
|
|
5139
|
-
|
|
5140
|
-
type PaymentSchedule =
|
|
5141
|
-
| 'adhoc'
|
|
5142
|
-
| 'annual'
|
|
5143
|
-
| 'daily'
|
|
5144
|
-
| 'fortnightly'
|
|
5145
|
-
| 'monthly'
|
|
5146
|
-
| 'quarterly'
|
|
5147
|
-
| 'semi_annual'
|
|
5148
|
-
| 'weekly';
|
|
5149
|
-
|
|
5150
|
-
type Purpose =
|
|
5151
|
-
| 'dependant_support'
|
|
5152
|
-
| 'government'
|
|
5153
|
-
| 'loan'
|
|
5154
|
-
| 'mortgage'
|
|
5155
|
-
| 'other'
|
|
5156
|
-
| 'pension'
|
|
5157
|
-
| 'personal'
|
|
5158
|
-
| 'retail'
|
|
5159
|
-
| 'salary'
|
|
5160
|
-
| 'tax'
|
|
5161
|
-
| 'utility';
|
|
5162
|
-
}
|
|
5163
|
-
}
|
|
5164
|
-
|
|
5165
|
-
interface Pix {
|
|
5166
|
-
/**
|
|
5167
|
-
* Additional fields for mandate creation.
|
|
5168
|
-
*/
|
|
5169
|
-
mandate_options?: Pix.MandateOptions;
|
|
5170
|
-
}
|
|
5171
|
-
|
|
5172
|
-
namespace Pix {
|
|
5173
|
-
interface MandateOptions {
|
|
5174
|
-
/**
|
|
5175
|
-
* Amount to be charged for future payments. Required when `amount_type=fixed`. If not provided for `amount_type=maximum`, defaults to 40000.
|
|
5176
|
-
*/
|
|
5177
|
-
amount?: number;
|
|
5178
|
-
|
|
5179
|
-
/**
|
|
5180
|
-
* Determines if the amount includes the IOF tax. Defaults to `never`.
|
|
5181
|
-
*/
|
|
5182
|
-
amount_includes_iof?: MandateOptions.AmountIncludesIof;
|
|
5183
|
-
|
|
5184
|
-
/**
|
|
5185
|
-
* Type of amount. Defaults to `maximum`.
|
|
5186
|
-
*/
|
|
5187
|
-
amount_type?: MandateOptions.AmountType;
|
|
5188
|
-
|
|
5189
|
-
/**
|
|
5190
|
-
* Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Only `brl` is supported currently.
|
|
5191
|
-
*/
|
|
5192
|
-
currency?: string;
|
|
5193
|
-
|
|
5194
|
-
/**
|
|
5195
|
-
* 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.
|
|
5196
|
-
*/
|
|
5197
|
-
end_date?: string;
|
|
5198
|
-
|
|
5199
|
-
/**
|
|
5200
|
-
* Schedule at which the future payments will be charged. Defaults to `weekly`.
|
|
5201
|
-
*/
|
|
5202
|
-
payment_schedule?: MandateOptions.PaymentSchedule;
|
|
5203
|
-
|
|
5204
|
-
/**
|
|
5205
|
-
* Subscription name displayed to buyers in their bank app. Defaults to the displayable business name.
|
|
5206
|
-
*/
|
|
5207
|
-
reference?: string;
|
|
5208
|
-
|
|
5209
|
-
/**
|
|
5210
|
-
* 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.
|
|
5211
|
-
*/
|
|
5212
|
-
start_date?: string;
|
|
5213
|
-
}
|
|
5214
|
-
|
|
5215
|
-
namespace MandateOptions {
|
|
5216
|
-
type AmountIncludesIof = 'always' | 'never';
|
|
5217
|
-
|
|
5218
|
-
type AmountType = 'fixed' | 'maximum';
|
|
5219
|
-
|
|
5220
|
-
type PaymentSchedule =
|
|
5221
|
-
| 'halfyearly'
|
|
5222
|
-
| 'monthly'
|
|
5223
|
-
| 'quarterly'
|
|
5224
|
-
| 'weekly'
|
|
5225
|
-
| 'yearly';
|
|
5226
|
-
}
|
|
5227
4318
|
}
|
|
5228
4319
|
|
|
5229
4320
|
interface SepaDebit {
|
|
@@ -5271,11 +4362,6 @@ declare module 'stripe' {
|
|
|
5271
4362
|
*/
|
|
5272
4363
|
filters?: FinancialConnections.Filters;
|
|
5273
4364
|
|
|
5274
|
-
/**
|
|
5275
|
-
* Customize manual entry behavior
|
|
5276
|
-
*/
|
|
5277
|
-
manual_entry?: FinancialConnections.ManualEntry;
|
|
5278
|
-
|
|
5279
4365
|
/**
|
|
5280
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`.
|
|
5281
4367
|
*/
|
|
@@ -5298,39 +4384,19 @@ declare module 'stripe' {
|
|
|
5298
4384
|
* The account subcategories to use to filter for selectable accounts. Valid subcategories are `checking` and `savings`.
|
|
5299
4385
|
*/
|
|
5300
4386
|
account_subcategories?: Array<Filters.AccountSubcategory>;
|
|
5301
|
-
|
|
5302
|
-
/**
|
|
5303
|
-
* ID of the institution to use to filter for selectable accounts.
|
|
5304
|
-
*/
|
|
5305
|
-
institution?: string;
|
|
5306
4387
|
}
|
|
5307
4388
|
|
|
5308
4389
|
namespace Filters {
|
|
5309
4390
|
type AccountSubcategory = 'checking' | 'savings';
|
|
5310
4391
|
}
|
|
5311
4392
|
|
|
5312
|
-
interface ManualEntry {
|
|
5313
|
-
/**
|
|
5314
|
-
* Settings for configuring manual entry of account details.
|
|
5315
|
-
*/
|
|
5316
|
-
mode: ManualEntry.Mode;
|
|
5317
|
-
}
|
|
5318
|
-
|
|
5319
|
-
namespace ManualEntry {
|
|
5320
|
-
type Mode = 'automatic' | 'custom';
|
|
5321
|
-
}
|
|
5322
|
-
|
|
5323
4393
|
type Permission =
|
|
5324
4394
|
| 'balances'
|
|
5325
4395
|
| 'ownership'
|
|
5326
4396
|
| 'payment_method'
|
|
5327
4397
|
| 'transactions';
|
|
5328
4398
|
|
|
5329
|
-
type Prefetch =
|
|
5330
|
-
| 'balances'
|
|
5331
|
-
| 'inferred_balances'
|
|
5332
|
-
| 'ownership'
|
|
5333
|
-
| 'transactions';
|
|
4399
|
+
type Prefetch = 'balances' | 'ownership' | 'transactions';
|
|
5334
4400
|
}
|
|
5335
4401
|
|
|
5336
4402
|
interface MandateOptions {
|