stripe 20.1.0-beta.1 → 20.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 +47 -1500
- package/OPENAPI_VERSION +1 -1
- package/README.md +0 -1
- 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 -8
- 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 +2 -88
- package/cjs/stripe.core.js +1 -1
- 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 -8
- 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 -81
- package/esm/stripe.core.js +1 -1
- package/package.json +1 -1
- package/types/AccountLinks.d.ts +1 -1
- package/types/AccountLinksResource.d.ts +1 -5
- package/types/AccountSessions.d.ts +2 -47
- package/types/AccountSessionsResource.d.ts +0 -264
- package/types/Accounts.d.ts +25 -249
- package/types/AccountsResource.d.ts +114 -620
- package/types/ApplicationFeesResource.d.ts +2 -2
- package/types/Apps/Secrets.d.ts +1 -1
- package/types/Balance.d.ts +2 -2
- package/types/BalanceSettings.d.ts +1 -1
- package/types/BalanceTransactions.d.ts +1 -1
- package/types/BankAccounts.d.ts +10 -12
- package/types/Billing/AlertTriggereds.d.ts +1 -1
- package/types/Billing/Alerts.d.ts +1 -1
- package/types/Billing/CreditBalanceSummary.d.ts +1 -1
- package/types/Billing/CreditBalanceSummaryResource.d.ts +2 -2
- package/types/Billing/CreditBalanceTransactionsResource.d.ts +2 -2
- package/types/Billing/CreditGrants.d.ts +3 -3
- package/types/Billing/CreditGrantsResource.d.ts +3 -3
- package/types/Billing/MeterEvents.d.ts +1 -1
- package/types/Billing/MeterEventsResource.d.ts +1 -1
- package/types/BillingPortal/Configurations.d.ts +10 -3
- package/types/BillingPortal/ConfigurationsResource.d.ts +20 -6
- package/types/BillingPortal/Sessions.d.ts +7 -7
- package/types/BillingPortal/SessionsResource.d.ts +7 -7
- package/types/Capabilities.d.ts +16 -18
- package/types/Cards.d.ts +2 -7
- package/types/CashBalances.d.ts +3 -3
- package/types/Charges.d.ts +59 -179
- package/types/ChargesResource.d.ts +88 -3868
- package/types/Checkout/Sessions.d.ts +20 -297
- package/types/Checkout/SessionsResource.d.ts +59 -417
- package/types/Climate/Orders.d.ts +1 -1
- package/types/Climate/OrdersResource.d.ts +2 -2
- package/types/ConfirmationTokens.d.ts +8 -109
- package/types/Coupons.d.ts +3 -38
- package/types/CouponsResource.d.ts +2 -25
- package/types/CreditNoteLineItems.d.ts +3 -17
- package/types/CreditNotes.d.ts +8 -5
- package/types/CreditNotesResource.d.ts +5 -5
- package/types/CustomerBalanceTransactions.d.ts +9 -6
- package/types/CustomerCashBalanceTransactions.d.ts +13 -10
- package/types/CustomerSessions.d.ts +1 -42
- package/types/CustomerSessionsResource.d.ts +0 -41
- package/types/Customers.d.ts +8 -5
- package/types/CustomersResource.d.ts +21 -23
- package/types/Discounts.d.ts +6 -6
- package/types/Disputes.d.ts +3 -43
- package/types/DisputesResource.d.ts +1 -12
- package/types/Entitlements/ActiveEntitlements.d.ts +1 -1
- package/types/Errors.d.ts +0 -85
- package/types/EventTypes.d.ts +0 -630
- package/types/Events.d.ts +1 -97
- package/types/ExchangeRates.d.ts +2 -2
- package/types/FeeRefunds.d.ts +2 -2
- package/types/FileLinks.d.ts +1 -1
- package/types/FileLinksResource.d.ts +2 -2
- package/types/Files.d.ts +4 -4
- package/types/FilesResource.d.ts +3 -3
- package/types/FinancialConnections/Accounts.d.ts +4 -37
- package/types/FinancialConnections/AccountsResource.d.ts +6 -38
- package/types/FinancialConnections/Sessions.d.ts +3 -51
- package/types/FinancialConnections/SessionsResource.d.ts +4 -41
- package/types/Forwarding/Requests.d.ts +1 -1
- package/types/Forwarding/RequestsResource.d.ts +1 -1
- package/types/FundingInstructions.d.ts +2 -2
- package/types/Identity/VerificationReports.d.ts +8 -8
- package/types/Identity/VerificationSessions.d.ts +11 -11
- package/types/Identity/VerificationSessionsResource.d.ts +18 -12
- package/types/InvoiceItems.d.ts +8 -13
- package/types/InvoiceItemsResource.d.ts +16 -114
- package/types/InvoiceLineItems.d.ts +10 -46
- package/types/InvoicePayments.d.ts +1 -1
- package/types/InvoiceRenderingTemplates.d.ts +1 -1
- package/types/Invoices.d.ts +60 -204
- package/types/InvoicesResource.d.ts +132 -1651
- package/types/Issuing/Authorizations.d.ts +20 -20
- package/types/Issuing/AuthorizationsResource.d.ts +4 -4
- package/types/Issuing/Cardholders.d.ts +13 -13
- package/types/Issuing/CardholdersResource.d.ts +21 -22
- package/types/Issuing/Cards.d.ts +10 -10
- package/types/Issuing/CardsResource.d.ts +13 -13
- package/types/Issuing/Disputes.d.ts +7 -7
- package/types/Issuing/DisputesResource.d.ts +5 -5
- package/types/Issuing/PersonalizationDesigns.d.ts +1 -1
- package/types/Issuing/PersonalizationDesignsResource.d.ts +2 -2
- package/types/Issuing/Tokens.d.ts +1 -1
- package/types/Issuing/Transactions.d.ts +12 -17
- package/types/Issuing/TransactionsResource.d.ts +1 -6
- package/types/LineItems.d.ts +4 -48
- package/types/LoginLinks.d.ts +1 -1
- package/types/Mandates.d.ts +1 -69
- package/types/MandatesResource.d.ts +0 -31
- package/types/PaymentAttemptRecords.d.ts +119 -135
- package/types/PaymentIntentAmountDetailsLineItems.d.ts +3 -3
- package/types/PaymentIntents.d.ts +48 -705
- package/types/PaymentIntentsResource.d.ts +6867 -19451
- package/types/PaymentLinks.d.ts +7 -12
- package/types/PaymentLinksResource.d.ts +28 -38
- package/types/PaymentMethodConfigurations.d.ts +4 -184
- package/types/PaymentMethodConfigurationsResource.d.ts +76 -326
- package/types/PaymentMethodDomains.d.ts +1 -1
- package/types/PaymentMethods.d.ts +10 -116
- package/types/PaymentMethodsResource.d.ts +7 -116
- package/types/PaymentRecords.d.ts +126 -135
- package/types/PaymentRecordsResource.d.ts +7 -7
- package/types/Payouts.d.ts +7 -7
- package/types/PayoutsResource.d.ts +3 -3
- package/types/Persons.d.ts +21 -23
- package/types/Plans.d.ts +5 -5
- package/types/PlansResource.d.ts +6 -6
- package/types/Prices.d.ts +6 -28
- package/types/PricesResource.d.ts +10 -32
- package/types/Products.d.ts +10 -10
- package/types/ProductsResource.d.ts +14 -14
- package/types/PromotionCodes.d.ts +5 -5
- package/types/PromotionCodesResource.d.ts +5 -5
- package/types/Quotes.d.ts +14 -602
- package/types/QuotesResource.d.ts +298 -2628
- package/types/Radar/EarlyFraudWarnings.d.ts +1 -1
- package/types/Radar/ValueListItems.d.ts +1 -1
- package/types/Radar/ValueLists.d.ts +2 -2
- package/types/Radar/ValueListsResource.d.ts +2 -2
- package/types/Refunds.d.ts +3 -17
- package/types/RefundsResource.d.ts +3 -3
- package/types/Reporting/ReportRuns.d.ts +3 -3
- package/types/Reporting/ReportRunsResource.d.ts +2 -2
- package/types/Reporting/ReportTypes.d.ts +3 -3
- package/types/Reviews.d.ts +1 -1
- package/types/SetupAttempts.d.ts +22 -60
- package/types/SetupIntents.d.ts +22 -157
- package/types/SetupIntentsResource.d.ts +50 -673
- package/types/ShippingRates.d.ts +3 -3
- package/types/ShippingRatesResource.d.ts +3 -3
- package/types/Sigma/ScheduledQueryRuns.d.ts +1 -1
- package/types/SourceMandateNotifications.d.ts +3 -3
- package/types/Sources.d.ts +5 -34
- package/types/SourcesResource.d.ts +2 -2
- package/types/SubscriptionItems.d.ts +7 -33
- package/types/SubscriptionItemsResource.d.ts +22 -131
- package/types/SubscriptionSchedules.d.ts +9 -209
- package/types/SubscriptionSchedulesResource.d.ts +39 -1257
- package/types/Subscriptions.d.ts +41 -251
- package/types/SubscriptionsResource.d.ts +94 -734
- package/types/Tax/Associations.d.ts +3 -3
- package/types/Tax/AssociationsResource.d.ts +1 -1
- package/types/Tax/CalculationLineItems.d.ts +7 -7
- package/types/Tax/Calculations.d.ts +12 -12
- package/types/Tax/CalculationsResource.d.ts +7 -7
- package/types/Tax/Registrations.d.ts +3 -3
- package/types/Tax/Settings.d.ts +1 -1
- package/types/Tax/SettingsResource.d.ts +1 -1
- package/types/Tax/TransactionLineItems.d.ts +5 -5
- package/types/Tax/Transactions.d.ts +9 -9
- package/types/Tax/TransactionsResource.d.ts +10 -10
- package/types/TaxIds.d.ts +6 -6
- package/types/TaxIdsResource.d.ts +4 -4
- package/types/TaxRates.d.ts +1 -1
- package/types/TaxRatesResource.d.ts +2 -2
- package/types/Terminal/Configurations.d.ts +0 -9
- package/types/Terminal/ConfigurationsResource.d.ts +0 -28
- package/types/Terminal/ConnectionTokens.d.ts +1 -1
- package/types/Terminal/Locations.d.ts +2 -2
- package/types/Terminal/LocationsResource.d.ts +3 -3
- package/types/Terminal/Readers.d.ts +10 -30
- package/types/Terminal/ReadersResource.d.ts +7 -7
- package/types/TestHelpers/ConfirmationTokensResource.d.ts +5 -107
- package/types/TestHelpers/CustomersResource.d.ts +2 -2
- package/types/TestHelpers/Issuing/AuthorizationsResource.d.ts +10 -10
- package/types/TestHelpers/Issuing/TransactionsResource.d.ts +5 -5
- package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +1 -27
- package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +1 -27
- package/types/Tokens.d.ts +4 -4
- package/types/TokensResource.d.ts +17 -17
- package/types/Topups.d.ts +3 -3
- package/types/TopupsResource.d.ts +3 -3
- package/types/TransferReversals.d.ts +4 -4
- package/types/Transfers.d.ts +5 -10
- package/types/TransfersResource.d.ts +6 -11
- package/types/Treasury/CreditReversals.d.ts +3 -3
- package/types/Treasury/CreditReversalsResource.d.ts +1 -1
- package/types/Treasury/DebitReversals.d.ts +3 -3
- package/types/Treasury/DebitReversalsResource.d.ts +1 -1
- package/types/Treasury/FinancialAccountFeatures.d.ts +0 -7
- package/types/Treasury/FinancialAccounts.d.ts +1 -6
- package/types/Treasury/FinancialAccountsResource.d.ts +2 -39
- package/types/Treasury/InboundTransfers.d.ts +4 -4
- package/types/Treasury/InboundTransfersResource.d.ts +2 -2
- package/types/Treasury/OutboundPayments.d.ts +5 -5
- package/types/Treasury/OutboundPaymentsResource.d.ts +4 -4
- package/types/Treasury/OutboundTransfers.d.ts +4 -30
- package/types/Treasury/OutboundTransfersResource.d.ts +3 -29
- package/types/Treasury/ReceivedCredits.d.ts +9 -35
- package/types/Treasury/ReceivedDebits.d.ts +6 -37
- package/types/Treasury/TransactionEntries.d.ts +11 -11
- package/types/Treasury/Transactions.d.ts +11 -11
- package/types/V2/Core/AccountLinks.d.ts +13 -21
- package/types/V2/Core/AccountLinksResource.d.ts +8 -16
- package/types/V2/Core/AccountPersons.d.ts +55 -10
- package/types/V2/Core/AccountTokensResource.d.ts +129 -24
- package/types/V2/Core/Accounts/PersonTokensResource.d.ts +48 -3
- package/types/V2/Core/Accounts/PersonsResource.d.ts +101 -11
- package/types/V2/Core/Accounts.d.ts +256 -1349
- package/types/V2/Core/AccountsResource.d.ts +282 -567
- package/types/V2/Core/EventTypes.d.ts +10 -1542
- package/types/WebhookEndpoints.d.ts +1 -1
- package/types/WebhookEndpointsResource.d.ts +5 -79
- package/types/apiVersion.d.ts +2 -1
- package/types/index.d.ts +0 -134
- package/types/lib.d.ts +0 -10
- 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/Privacy/RedactionJobs.js +0 -42
- package/cjs/resources/Tax/Forms.js +0 -20
- 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/Vault/GbBankAccounts.js +0 -33
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.js +0 -37
- package/cjs/resources/V2/MoneyManagement/Adjustments.js +0 -17
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +0 -29
- 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/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/Privacy/RedactionJobs.js +0 -39
- package/esm/resources/Tax/Forms.js +0 -17
- 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/Vault/GbBankAccounts.js +0 -30
- package/esm/resources/V2/Core/Vault/UsBankAccounts.js +0 -34
- package/esm/resources/V2/MoneyManagement/Adjustments.js +0 -14
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +0 -26
- 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/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 -5505
- 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 -1771
- package/types/QuotePreviewSubscriptionSchedules.d.ts +0 -908
- package/types/Tax/Forms.d.ts +0 -220
- package/types/Tax/FormsResource.d.ts +0 -107
- package/types/Terminal/ReaderCollectedData.d.ts +0 -51
- package/types/Terminal/ReaderCollectedDataResource.d.ts +0 -29
- package/types/V2/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 -690
- package/types/V2/Billing/CadencesResource.d.ts +0 -487
- package/types/V2/Billing/CollectionSettingVersions.d.ts +0 -318
- package/types/V2/Billing/CollectionSettings/VersionsResource.d.ts +0 -62
- package/types/V2/Billing/CollectionSettings.d.ts +0 -341
- package/types/V2/Billing/CollectionSettingsResource.d.ts +0 -683
- package/types/V2/Billing/Profiles.d.ts +0 -70
- package/types/V2/Billing/ProfilesResource.d.ts +0 -150
- package/types/V2/Core/Vault/GbBankAccounts.d.ts +0 -160
- package/types/V2/Core/Vault/GbBankAccountsResource.d.ts +0 -194
- package/types/V2/Core/Vault/UsBankAccounts.d.ts +0 -116
- package/types/V2/Core/Vault/UsBankAccountsResource.d.ts +0 -198
- 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 -172
- package/types/V2/MoneyManagement/FinancialAddresses.d.ts +0 -175
- package/types/V2/MoneyManagement/FinancialAddressesResource.d.ts +0 -109
- package/types/V2/MoneyManagement/InboundTransfers.d.ts +0 -212
- 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/TestHelpers/FinancialAddressesResource.d.ts +0 -68
|
@@ -29,13 +29,6 @@ declare module 'stripe' {
|
|
|
29
29
|
*/
|
|
30
30
|
offline?: Stripe.Emptyable<ConfigurationCreateParams.Offline>;
|
|
31
31
|
|
|
32
|
-
/**
|
|
33
|
-
* Configurations for reader security settings.
|
|
34
|
-
*/
|
|
35
|
-
reader_security?: Stripe.Emptyable<
|
|
36
|
-
ConfigurationCreateParams.ReaderSecurity
|
|
37
|
-
>;
|
|
38
|
-
|
|
39
32
|
/**
|
|
40
33
|
* Reboot time settings for readers. that support customized reboot time configuration.
|
|
41
34
|
*/
|
|
@@ -84,13 +77,6 @@ declare module 'stripe' {
|
|
|
84
77
|
enabled: boolean;
|
|
85
78
|
}
|
|
86
79
|
|
|
87
|
-
interface ReaderSecurity {
|
|
88
|
-
/**
|
|
89
|
-
* Passcode used to access a reader's admin menu.
|
|
90
|
-
*/
|
|
91
|
-
admin_menu_passcode?: Stripe.Emptyable<string>;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
80
|
interface RebootWindow {
|
|
95
81
|
/**
|
|
96
82
|
* Integer between 0 to 23 that represents the end hour of the reboot time window. The value must be different than the start_hour.
|
|
@@ -733,13 +719,6 @@ declare module 'stripe' {
|
|
|
733
719
|
*/
|
|
734
720
|
offline?: Stripe.Emptyable<ConfigurationUpdateParams.Offline>;
|
|
735
721
|
|
|
736
|
-
/**
|
|
737
|
-
* Configurations for reader security settings.
|
|
738
|
-
*/
|
|
739
|
-
reader_security?: Stripe.Emptyable<
|
|
740
|
-
ConfigurationUpdateParams.ReaderSecurity
|
|
741
|
-
>;
|
|
742
|
-
|
|
743
722
|
/**
|
|
744
723
|
* Reboot time settings for readers. that support customized reboot time configuration.
|
|
745
724
|
*/
|
|
@@ -792,13 +771,6 @@ declare module 'stripe' {
|
|
|
792
771
|
enabled: boolean;
|
|
793
772
|
}
|
|
794
773
|
|
|
795
|
-
interface ReaderSecurity {
|
|
796
|
-
/**
|
|
797
|
-
* Passcode used to access a reader's admin menu.
|
|
798
|
-
*/
|
|
799
|
-
admin_menu_passcode?: Stripe.Emptyable<string>;
|
|
800
|
-
}
|
|
801
|
-
|
|
802
774
|
interface RebootWindow {
|
|
803
775
|
/**
|
|
804
776
|
* Integer between 0 to 23 that represents the end hour of the reboot time window. The value must be different than the start_hour.
|
|
@@ -6,7 +6,7 @@ declare module 'stripe' {
|
|
|
6
6
|
/**
|
|
7
7
|
* A Connection Token is used by the Stripe Terminal SDK to connect to a reader.
|
|
8
8
|
*
|
|
9
|
-
* Related guide: [Fleet management](https://stripe.com/
|
|
9
|
+
* Related guide: [Fleet management](https://docs.stripe.com/terminal/fleet/locations)
|
|
10
10
|
*/
|
|
11
11
|
interface ConnectionToken {
|
|
12
12
|
/**
|
|
@@ -26,7 +26,7 @@ declare module 'stripe' {
|
|
|
26
26
|
/**
|
|
27
27
|
* A Location represents a grouping of readers.
|
|
28
28
|
*
|
|
29
|
-
* Related guide: [Fleet management](https://stripe.com/
|
|
29
|
+
* Related guide: [Fleet management](https://docs.stripe.com/terminal/fleet/locations)
|
|
30
30
|
*/
|
|
31
31
|
interface Location {
|
|
32
32
|
/**
|
|
@@ -76,7 +76,7 @@ declare module 'stripe' {
|
|
|
76
76
|
livemode: boolean;
|
|
77
77
|
|
|
78
78
|
/**
|
|
79
|
-
* Set of [key-value pairs](https://stripe.com/
|
|
79
|
+
* Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
|
|
80
80
|
*/
|
|
81
81
|
metadata: Stripe.Metadata;
|
|
82
82
|
|
|
@@ -45,7 +45,7 @@ declare module 'stripe' {
|
|
|
45
45
|
expand?: Array<string>;
|
|
46
46
|
|
|
47
47
|
/**
|
|
48
|
-
* Set of [key-value pairs](https://stripe.com/
|
|
48
|
+
* Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
|
49
49
|
*/
|
|
50
50
|
metadata?: Stripe.Emptyable<Stripe.MetadataParam>;
|
|
51
51
|
|
|
@@ -83,7 +83,7 @@ declare module 'stripe' {
|
|
|
83
83
|
postal_code?: string;
|
|
84
84
|
|
|
85
85
|
/**
|
|
86
|
-
* State, county, province, or region.
|
|
86
|
+
* State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
87
87
|
*/
|
|
88
88
|
state?: string;
|
|
89
89
|
}
|
|
@@ -138,7 +138,7 @@ declare module 'stripe' {
|
|
|
138
138
|
expand?: Array<string>;
|
|
139
139
|
|
|
140
140
|
/**
|
|
141
|
-
* Set of [key-value pairs](https://stripe.com/
|
|
141
|
+
* Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
|
142
142
|
*/
|
|
143
143
|
metadata?: Stripe.Emptyable<Stripe.MetadataParam>;
|
|
144
144
|
|
|
@@ -26,7 +26,7 @@ declare module 'stripe' {
|
|
|
26
26
|
/**
|
|
27
27
|
* A Reader represents a physical device for accepting payment details.
|
|
28
28
|
*
|
|
29
|
-
* Related guide: [Connecting to a reader](https://stripe.com/
|
|
29
|
+
* Related guide: [Connecting to a reader](https://docs.stripe.com/terminal/payments/connect-reader)
|
|
30
30
|
*/
|
|
31
31
|
interface Reader {
|
|
32
32
|
/**
|
|
@@ -70,7 +70,7 @@ declare module 'stripe' {
|
|
|
70
70
|
label: string;
|
|
71
71
|
|
|
72
72
|
/**
|
|
73
|
-
* The last time this reader reported to Stripe backend.
|
|
73
|
+
* The last time this reader reported to Stripe backend. Timestamp is measured in milliseconds since the Unix epoch. Unlike most other Stripe timestamp fields which use seconds, this field uses milliseconds.
|
|
74
74
|
*/
|
|
75
75
|
last_seen_at: number | null;
|
|
76
76
|
|
|
@@ -85,7 +85,7 @@ declare module 'stripe' {
|
|
|
85
85
|
location: string | Stripe.Terminal.Location | null;
|
|
86
86
|
|
|
87
87
|
/**
|
|
88
|
-
* Set of [key-value pairs](https://stripe.com/
|
|
88
|
+
* Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
|
|
89
89
|
*/
|
|
90
90
|
metadata: Stripe.Metadata;
|
|
91
91
|
|
|
@@ -166,7 +166,7 @@ declare module 'stripe' {
|
|
|
166
166
|
inputs: Array<CollectInputs.Input>;
|
|
167
167
|
|
|
168
168
|
/**
|
|
169
|
-
* Set of [key-value pairs](https://stripe.com/
|
|
169
|
+
* Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
|
|
170
170
|
*/
|
|
171
171
|
metadata: Stripe.Metadata | null;
|
|
172
172
|
}
|
|
@@ -366,11 +366,6 @@ declare module 'stripe' {
|
|
|
366
366
|
}
|
|
367
367
|
|
|
368
368
|
interface CollectPaymentMethod {
|
|
369
|
-
/**
|
|
370
|
-
* Account the payment intent belongs to.
|
|
371
|
-
*/
|
|
372
|
-
account?: string;
|
|
373
|
-
|
|
374
369
|
/**
|
|
375
370
|
* Represents a per-transaction override of a reader configuration
|
|
376
371
|
*/
|
|
@@ -383,10 +378,10 @@ declare module 'stripe' {
|
|
|
383
378
|
|
|
384
379
|
/**
|
|
385
380
|
* PaymentMethod objects represent your customer's payment instruments.
|
|
386
|
-
* You can use them with [PaymentIntents](https://stripe.com/
|
|
381
|
+
* You can use them with [PaymentIntents](https://docs.stripe.com/payments/payment-intents) to collect payments or save them to
|
|
387
382
|
* Customer objects to store instrument details for future payments.
|
|
388
383
|
*
|
|
389
|
-
* Related guides: [Payment Methods](https://stripe.com/
|
|
384
|
+
* Related guides: [Payment Methods](https://docs.stripe.com/payments/payment-methods) and [More Payment Scenarios](https://docs.stripe.com/payments/more-payment-scenarios).
|
|
390
385
|
*/
|
|
391
386
|
payment_method?: Stripe.PaymentMethod;
|
|
392
387
|
}
|
|
@@ -420,11 +415,6 @@ declare module 'stripe' {
|
|
|
420
415
|
}
|
|
421
416
|
|
|
422
417
|
interface ConfirmPaymentIntent {
|
|
423
|
-
/**
|
|
424
|
-
* Account the payment intent belongs to.
|
|
425
|
-
*/
|
|
426
|
-
account?: string;
|
|
427
|
-
|
|
428
418
|
/**
|
|
429
419
|
* Represents a per-transaction override of a reader configuration
|
|
430
420
|
*/
|
|
@@ -446,11 +436,6 @@ declare module 'stripe' {
|
|
|
446
436
|
}
|
|
447
437
|
|
|
448
438
|
interface ProcessPaymentIntent {
|
|
449
|
-
/**
|
|
450
|
-
* Account the payment intent belongs to.
|
|
451
|
-
*/
|
|
452
|
-
account?: string;
|
|
453
|
-
|
|
454
439
|
/**
|
|
455
440
|
* Most recent PaymentIntent processed by the reader.
|
|
456
441
|
*/
|
|
@@ -522,11 +507,6 @@ declare module 'stripe' {
|
|
|
522
507
|
}
|
|
523
508
|
|
|
524
509
|
interface RefundPayment {
|
|
525
|
-
/**
|
|
526
|
-
* Account the payment intent belongs to.
|
|
527
|
-
*/
|
|
528
|
-
account?: string;
|
|
529
|
-
|
|
530
510
|
/**
|
|
531
511
|
* The amount being refunded.
|
|
532
512
|
*/
|
|
@@ -538,7 +518,7 @@ declare module 'stripe' {
|
|
|
538
518
|
charge?: string | Stripe.Charge;
|
|
539
519
|
|
|
540
520
|
/**
|
|
541
|
-
* Set of [key-value pairs](https://stripe.com/
|
|
521
|
+
* Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
|
|
542
522
|
*/
|
|
543
523
|
metadata?: Stripe.Metadata;
|
|
544
524
|
|
|
@@ -609,12 +589,12 @@ declare module 'stripe' {
|
|
|
609
589
|
line_items: Array<Cart.LineItem>;
|
|
610
590
|
|
|
611
591
|
/**
|
|
612
|
-
* Tax amount for the entire cart. A positive integer in the [smallest currency unit](https://stripe.com/
|
|
592
|
+
* Tax amount for the entire cart. A positive integer in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal).
|
|
613
593
|
*/
|
|
614
594
|
tax: number | null;
|
|
615
595
|
|
|
616
596
|
/**
|
|
617
|
-
* Total amount for the entire cart, including tax. A positive integer in the [smallest currency unit](https://stripe.com/
|
|
597
|
+
* Total amount for the entire cart, including tax. A positive integer in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal).
|
|
618
598
|
*/
|
|
619
599
|
total: number;
|
|
620
600
|
}
|
|
@@ -622,7 +602,7 @@ declare module 'stripe' {
|
|
|
622
602
|
namespace Cart {
|
|
623
603
|
interface LineItem {
|
|
624
604
|
/**
|
|
625
|
-
* The amount of the line item. A positive integer in the [smallest currency unit](https://stripe.com/
|
|
605
|
+
* The amount of the line item. A positive integer in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal).
|
|
626
606
|
*/
|
|
627
607
|
amount: number;
|
|
628
608
|
|
|
@@ -25,7 +25,7 @@ declare module 'stripe' {
|
|
|
25
25
|
location?: string;
|
|
26
26
|
|
|
27
27
|
/**
|
|
28
|
-
* Set of [key-value pairs](https://stripe.com/
|
|
28
|
+
* Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
|
29
29
|
*/
|
|
30
30
|
metadata?: Stripe.Emptyable<Stripe.MetadataParam>;
|
|
31
31
|
}
|
|
@@ -49,7 +49,7 @@ declare module 'stripe' {
|
|
|
49
49
|
label?: Stripe.Emptyable<string>;
|
|
50
50
|
|
|
51
51
|
/**
|
|
52
|
-
* Set of [key-value pairs](https://stripe.com/
|
|
52
|
+
* Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
|
53
53
|
*/
|
|
54
54
|
metadata?: Stripe.Emptyable<Stripe.MetadataParam>;
|
|
55
55
|
}
|
|
@@ -117,7 +117,7 @@ declare module 'stripe' {
|
|
|
117
117
|
expand?: Array<string>;
|
|
118
118
|
|
|
119
119
|
/**
|
|
120
|
-
* Set of [key-value pairs](https://stripe.com/
|
|
120
|
+
* Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
|
121
121
|
*/
|
|
122
122
|
metadata?: Stripe.MetadataParam;
|
|
123
123
|
}
|
|
@@ -419,7 +419,7 @@ declare module 'stripe' {
|
|
|
419
419
|
expand?: Array<string>;
|
|
420
420
|
|
|
421
421
|
/**
|
|
422
|
-
* Set of [key-value pairs](https://stripe.com/
|
|
422
|
+
* Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
|
423
423
|
*/
|
|
424
424
|
metadata?: Stripe.MetadataParam;
|
|
425
425
|
|
|
@@ -483,12 +483,12 @@ declare module 'stripe' {
|
|
|
483
483
|
line_items: Array<Cart.LineItem>;
|
|
484
484
|
|
|
485
485
|
/**
|
|
486
|
-
* The amount of tax in the [smallest currency unit](https://stripe.com/
|
|
486
|
+
* The amount of tax in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal).
|
|
487
487
|
*/
|
|
488
488
|
tax?: number;
|
|
489
489
|
|
|
490
490
|
/**
|
|
491
|
-
* Total balance of cart due in the [smallest currency unit](https://stripe.com/
|
|
491
|
+
* Total balance of cart due in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal).
|
|
492
492
|
*/
|
|
493
493
|
total: number;
|
|
494
494
|
}
|
|
@@ -496,7 +496,7 @@ declare module 'stripe' {
|
|
|
496
496
|
namespace Cart {
|
|
497
497
|
interface LineItem {
|
|
498
498
|
/**
|
|
499
|
-
* The price of the item in the [smallest currency unit](https://stripe.com/
|
|
499
|
+
* The price of the item in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal).
|
|
500
500
|
*/
|
|
501
501
|
amount: number;
|
|
502
502
|
|
|
@@ -32,7 +32,7 @@ declare module 'stripe' {
|
|
|
32
32
|
/**
|
|
33
33
|
* Indicates that you intend to make future payments with this ConfirmationToken's payment method.
|
|
34
34
|
*
|
|
35
|
-
* The presence of this property will [attach the payment method](https://stripe.com/
|
|
35
|
+
* The presence of this property will [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the PaymentIntent's Customer, if present, after the PaymentIntent is confirmed and any required actions from the user are complete.
|
|
36
36
|
*/
|
|
37
37
|
setup_future_usage?: ConfirmationTokenCreateParams.SetupFutureUsage;
|
|
38
38
|
|
|
@@ -144,21 +144,11 @@ declare module 'stripe' {
|
|
|
144
144
|
*/
|
|
145
145
|
giropay?: PaymentMethodData.Giropay;
|
|
146
146
|
|
|
147
|
-
/**
|
|
148
|
-
* If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
|
|
149
|
-
*/
|
|
150
|
-
gopay?: PaymentMethodData.Gopay;
|
|
151
|
-
|
|
152
147
|
/**
|
|
153
148
|
* If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
|
|
154
149
|
*/
|
|
155
150
|
grabpay?: PaymentMethodData.Grabpay;
|
|
156
151
|
|
|
157
|
-
/**
|
|
158
|
-
* If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
|
|
159
|
-
*/
|
|
160
|
-
id_bank_transfer?: PaymentMethodData.IdBankTransfer;
|
|
161
|
-
|
|
162
152
|
/**
|
|
163
153
|
* If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
|
|
164
154
|
*/
|
|
@@ -200,7 +190,7 @@ declare module 'stripe' {
|
|
|
200
190
|
mb_way?: PaymentMethodData.MbWay;
|
|
201
191
|
|
|
202
192
|
/**
|
|
203
|
-
* Set of [key-value pairs](https://stripe.com/
|
|
193
|
+
* Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
|
204
194
|
*/
|
|
205
195
|
metadata?: Stripe.MetadataParam;
|
|
206
196
|
|
|
@@ -254,11 +244,6 @@ declare module 'stripe' {
|
|
|
254
244
|
*/
|
|
255
245
|
paypal?: PaymentMethodData.Paypal;
|
|
256
246
|
|
|
257
|
-
/**
|
|
258
|
-
* If this is a `paypay` PaymentMethod, this hash contains details about the PayPay payment method.
|
|
259
|
-
*/
|
|
260
|
-
paypay?: PaymentMethodData.Paypay;
|
|
261
|
-
|
|
262
247
|
/**
|
|
263
248
|
* If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
|
|
264
249
|
*/
|
|
@@ -275,20 +260,10 @@ declare module 'stripe' {
|
|
|
275
260
|
promptpay?: PaymentMethodData.Promptpay;
|
|
276
261
|
|
|
277
262
|
/**
|
|
278
|
-
*
|
|
279
|
-
*/
|
|
280
|
-
qris?: PaymentMethodData.Qris;
|
|
281
|
-
|
|
282
|
-
/**
|
|
283
|
-
* Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
|
|
263
|
+
* Options to configure Radar. See [Radar Session](https://docs.stripe.com/radar/radar-session) for more information.
|
|
284
264
|
*/
|
|
285
265
|
radar_options?: PaymentMethodData.RadarOptions;
|
|
286
266
|
|
|
287
|
-
/**
|
|
288
|
-
* If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
|
|
289
|
-
*/
|
|
290
|
-
rechnung?: PaymentMethodData.Rechnung;
|
|
291
|
-
|
|
292
267
|
/**
|
|
293
268
|
* If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
|
|
294
269
|
*/
|
|
@@ -309,21 +284,11 @@ declare module 'stripe' {
|
|
|
309
284
|
*/
|
|
310
285
|
sepa_debit?: PaymentMethodData.SepaDebit;
|
|
311
286
|
|
|
312
|
-
/**
|
|
313
|
-
* If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
|
|
314
|
-
*/
|
|
315
|
-
shopeepay?: PaymentMethodData.Shopeepay;
|
|
316
|
-
|
|
317
287
|
/**
|
|
318
288
|
* If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
|
|
319
289
|
*/
|
|
320
290
|
sofort?: PaymentMethodData.Sofort;
|
|
321
291
|
|
|
322
|
-
/**
|
|
323
|
-
* This hash contains details about the Stripe balance payment method.
|
|
324
|
-
*/
|
|
325
|
-
stripe_balance?: PaymentMethodData.StripeBalance;
|
|
326
|
-
|
|
327
292
|
/**
|
|
328
293
|
* If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
|
|
329
294
|
*/
|
|
@@ -536,21 +501,8 @@ declare module 'stripe' {
|
|
|
536
501
|
|
|
537
502
|
interface Giropay {}
|
|
538
503
|
|
|
539
|
-
interface Gopay {}
|
|
540
|
-
|
|
541
504
|
interface Grabpay {}
|
|
542
505
|
|
|
543
|
-
interface IdBankTransfer {
|
|
544
|
-
/**
|
|
545
|
-
* Bank where the account is held.
|
|
546
|
-
*/
|
|
547
|
-
bank?: IdBankTransfer.Bank;
|
|
548
|
-
}
|
|
549
|
-
|
|
550
|
-
namespace IdBankTransfer {
|
|
551
|
-
type Bank = 'bca' | 'bni' | 'bri' | 'cimb' | 'permata';
|
|
552
|
-
}
|
|
553
|
-
|
|
554
506
|
interface Ideal {
|
|
555
507
|
/**
|
|
556
508
|
* The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
|
@@ -568,6 +520,7 @@ declare module 'stripe' {
|
|
|
568
520
|
| 'handelsbanken'
|
|
569
521
|
| 'ing'
|
|
570
522
|
| 'knab'
|
|
523
|
+
| 'mollie'
|
|
571
524
|
| 'moneyou'
|
|
572
525
|
| 'n26'
|
|
573
526
|
| 'nn'
|
|
@@ -709,8 +662,6 @@ declare module 'stripe' {
|
|
|
709
662
|
|
|
710
663
|
interface Paypal {}
|
|
711
664
|
|
|
712
|
-
interface Paypay {}
|
|
713
|
-
|
|
714
665
|
interface Payto {
|
|
715
666
|
/**
|
|
716
667
|
* The account number for the bank account.
|
|
@@ -732,41 +683,13 @@ declare module 'stripe' {
|
|
|
732
683
|
|
|
733
684
|
interface Promptpay {}
|
|
734
685
|
|
|
735
|
-
interface Qris {}
|
|
736
|
-
|
|
737
686
|
interface RadarOptions {
|
|
738
687
|
/**
|
|
739
|
-
* A [Radar Session](https://stripe.com/
|
|
688
|
+
* A [Radar Session](https://docs.stripe.com/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
|
|
740
689
|
*/
|
|
741
690
|
session?: string;
|
|
742
691
|
}
|
|
743
692
|
|
|
744
|
-
interface Rechnung {
|
|
745
|
-
/**
|
|
746
|
-
* Customer's date of birth
|
|
747
|
-
*/
|
|
748
|
-
dob: Rechnung.Dob;
|
|
749
|
-
}
|
|
750
|
-
|
|
751
|
-
namespace Rechnung {
|
|
752
|
-
interface Dob {
|
|
753
|
-
/**
|
|
754
|
-
* The day of birth, between 1 and 31.
|
|
755
|
-
*/
|
|
756
|
-
day: number;
|
|
757
|
-
|
|
758
|
-
/**
|
|
759
|
-
* The month of birth, between 1 and 12.
|
|
760
|
-
*/
|
|
761
|
-
month: number;
|
|
762
|
-
|
|
763
|
-
/**
|
|
764
|
-
* The four-digit year of birth.
|
|
765
|
-
*/
|
|
766
|
-
year: number;
|
|
767
|
-
}
|
|
768
|
-
}
|
|
769
|
-
|
|
770
693
|
interface RevolutPay {}
|
|
771
694
|
|
|
772
695
|
interface SamsungPay {}
|
|
@@ -780,8 +703,6 @@ declare module 'stripe' {
|
|
|
780
703
|
iban: string;
|
|
781
704
|
}
|
|
782
705
|
|
|
783
|
-
interface Shopeepay {}
|
|
784
|
-
|
|
785
706
|
interface Sofort {
|
|
786
707
|
/**
|
|
787
708
|
* Two-letter ISO code representing the country the bank account is located in.
|
|
@@ -793,22 +714,6 @@ declare module 'stripe' {
|
|
|
793
714
|
type Country = 'AT' | 'BE' | 'DE' | 'ES' | 'IT' | 'NL';
|
|
794
715
|
}
|
|
795
716
|
|
|
796
|
-
interface StripeBalance {
|
|
797
|
-
/**
|
|
798
|
-
* The connected account ID whose Stripe balance to use as the source of payment
|
|
799
|
-
*/
|
|
800
|
-
account?: string;
|
|
801
|
-
|
|
802
|
-
/**
|
|
803
|
-
* The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
|
|
804
|
-
*/
|
|
805
|
-
source_type?: StripeBalance.SourceType;
|
|
806
|
-
}
|
|
807
|
-
|
|
808
|
-
namespace StripeBalance {
|
|
809
|
-
type SourceType = 'bank_account' | 'card' | 'fpx';
|
|
810
|
-
}
|
|
811
|
-
|
|
812
717
|
interface Swish {}
|
|
813
718
|
|
|
814
719
|
interface Twint {}
|
|
@@ -832,9 +737,7 @@ declare module 'stripe' {
|
|
|
832
737
|
| 'eps'
|
|
833
738
|
| 'fpx'
|
|
834
739
|
| 'giropay'
|
|
835
|
-
| 'gopay'
|
|
836
740
|
| 'grabpay'
|
|
837
|
-
| 'id_bank_transfer'
|
|
838
741
|
| 'ideal'
|
|
839
742
|
| 'kakao_pay'
|
|
840
743
|
| 'klarna'
|
|
@@ -852,19 +755,14 @@ declare module 'stripe' {
|
|
|
852
755
|
| 'payco'
|
|
853
756
|
| 'paynow'
|
|
854
757
|
| 'paypal'
|
|
855
|
-
| 'paypay'
|
|
856
758
|
| 'payto'
|
|
857
759
|
| 'pix'
|
|
858
760
|
| 'promptpay'
|
|
859
|
-
| 'qris'
|
|
860
|
-
| 'rechnung'
|
|
861
761
|
| 'revolut_pay'
|
|
862
762
|
| 'samsung_pay'
|
|
863
763
|
| 'satispay'
|
|
864
764
|
| 'sepa_debit'
|
|
865
|
-
| 'shopeepay'
|
|
866
765
|
| 'sofort'
|
|
867
|
-
| 'stripe_balance'
|
|
868
766
|
| 'swish'
|
|
869
767
|
| 'twint'
|
|
870
768
|
| 'us_bank_account'
|
|
@@ -5,7 +5,7 @@ declare module 'stripe' {
|
|
|
5
5
|
namespace TestHelpers {
|
|
6
6
|
interface CustomerFundCashBalanceParams {
|
|
7
7
|
/**
|
|
8
|
-
* Amount to be used for this test cash balance transaction. A positive integer representing how much to fund in the [smallest currency unit](https://stripe.com/
|
|
8
|
+
* Amount to be used for this test cash balance transaction. A positive integer representing how much to fund in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal) (e.g., 100 cents to fund $1.00 or 100 to fund ¥100, a zero-decimal currency).
|
|
9
9
|
*/
|
|
10
10
|
amount: number;
|
|
11
11
|
|
|
@@ -20,7 +20,7 @@ declare module 'stripe' {
|
|
|
20
20
|
expand?: Array<string>;
|
|
21
21
|
|
|
22
22
|
/**
|
|
23
|
-
* A description of the test funding. This simulates free-text references supplied by customers when making bank transfers to their cash balance. You can use this to test how Stripe's [reconciliation algorithm](https://stripe.com/
|
|
23
|
+
* A description of the test funding. This simulates free-text references supplied by customers when making bank transfers to their cash balance. You can use this to test how Stripe's [reconciliation algorithm](https://docs.stripe.com/payments/customer-balance/reconciliation) applies to different user inputs.
|
|
24
24
|
*/
|
|
25
25
|
reference?: string;
|
|
26
26
|
}
|
|
@@ -11,12 +11,12 @@ declare module 'stripe' {
|
|
|
11
11
|
card: string;
|
|
12
12
|
|
|
13
13
|
/**
|
|
14
|
-
* The total amount to attempt to authorize. This amount is in the provided currency, or defaults to the card's currency, and in the [smallest currency unit](https://stripe.com/
|
|
14
|
+
* The total amount to attempt to authorize. This amount is in the provided currency, or defaults to the card's currency, and in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal).
|
|
15
15
|
*/
|
|
16
16
|
amount?: number;
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
|
-
* Detailed breakdown of amount components. These amounts are denominated in `currency` and in the [smallest currency unit](https://stripe.com/
|
|
19
|
+
* Detailed breakdown of amount components. These amounts are denominated in `currency` and in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal).
|
|
20
20
|
*/
|
|
21
21
|
amount_details?: AuthorizationCreateParams.AmountDetails;
|
|
22
22
|
|
|
@@ -51,12 +51,12 @@ declare module 'stripe' {
|
|
|
51
51
|
fuel?: AuthorizationCreateParams.Fuel;
|
|
52
52
|
|
|
53
53
|
/**
|
|
54
|
-
* If set `true`, you may provide [amount](https://stripe.com/
|
|
54
|
+
* If set `true`, you may provide [amount](https://docs.stripe.com/api/issuing/authorizations/approve#approve_issuing_authorization-amount) to control how much to hold for the authorization.
|
|
55
55
|
*/
|
|
56
56
|
is_amount_controllable?: boolean;
|
|
57
57
|
|
|
58
58
|
/**
|
|
59
|
-
* The total amount to attempt to authorize. This amount is in the provided merchant currency, and in the [smallest currency unit](https://stripe.com/
|
|
59
|
+
* The total amount to attempt to authorize. This amount is in the provided merchant currency, and in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal).
|
|
60
60
|
*/
|
|
61
61
|
merchant_amount?: number;
|
|
62
62
|
|
|
@@ -271,7 +271,7 @@ declare module 'stripe' {
|
|
|
271
271
|
|
|
272
272
|
interface MerchantData {
|
|
273
273
|
/**
|
|
274
|
-
* A categorization of the seller's type of business. See our [merchant categories guide](https://stripe.com/
|
|
274
|
+
* A categorization of the seller's type of business. See our [merchant categories guide](https://docs.stripe.com/issuing/merchant-categories) for a list of possible values.
|
|
275
275
|
*/
|
|
276
276
|
category?: MerchantData.Category;
|
|
277
277
|
|
|
@@ -796,7 +796,7 @@ declare module 'stripe' {
|
|
|
796
796
|
namespace Issuing {
|
|
797
797
|
interface AuthorizationCaptureParams {
|
|
798
798
|
/**
|
|
799
|
-
* The amount to capture from the authorization. If not provided, the full amount of the authorization will be captured. This amount is in the authorization currency and in the [smallest currency unit](https://stripe.com/
|
|
799
|
+
* The amount to capture from the authorization. If not provided, the full amount of the authorization will be captured. This amount is in the authorization currency and in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal).
|
|
800
800
|
*/
|
|
801
801
|
capture_amount?: number;
|
|
802
802
|
|
|
@@ -1100,7 +1100,7 @@ declare module 'stripe' {
|
|
|
1100
1100
|
namespace Issuing {
|
|
1101
1101
|
interface AuthorizationFinalizeAmountParams {
|
|
1102
1102
|
/**
|
|
1103
|
-
* The final authorization amount that will be captured by the merchant. This amount is in the authorization currency and in the [smallest currency unit](https://stripe.com/
|
|
1103
|
+
* The final authorization amount that will be captured by the merchant. This amount is in the authorization currency and in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal).
|
|
1104
1104
|
*/
|
|
1105
1105
|
final_amount: number;
|
|
1106
1106
|
|
|
@@ -1278,7 +1278,7 @@ declare module 'stripe' {
|
|
|
1278
1278
|
namespace Issuing {
|
|
1279
1279
|
interface AuthorizationIncrementParams {
|
|
1280
1280
|
/**
|
|
1281
|
-
* The amount to increment the authorization by. This amount is in the authorization currency and in the [smallest currency unit](https://stripe.com/
|
|
1281
|
+
* The amount to increment the authorization by. This amount is in the authorization currency and in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal).
|
|
1282
1282
|
*/
|
|
1283
1283
|
increment_amount: number;
|
|
1284
1284
|
|
|
@@ -1288,7 +1288,7 @@ declare module 'stripe' {
|
|
|
1288
1288
|
expand?: Array<string>;
|
|
1289
1289
|
|
|
1290
1290
|
/**
|
|
1291
|
-
* If set `true`, you may provide [amount](https://stripe.com/
|
|
1291
|
+
* If set `true`, you may provide [amount](https://docs.stripe.com/api/issuing/authorizations/approve#approve_issuing_authorization-amount) to control how much to hold for the authorization.
|
|
1292
1292
|
*/
|
|
1293
1293
|
is_amount_controllable?: boolean;
|
|
1294
1294
|
}
|
|
@@ -1316,7 +1316,7 @@ declare module 'stripe' {
|
|
|
1316
1316
|
expand?: Array<string>;
|
|
1317
1317
|
|
|
1318
1318
|
/**
|
|
1319
|
-
* The amount to reverse from the authorization. If not provided, the full amount of the authorization will be reversed. This amount is in the authorization currency and in the [smallest currency unit](https://stripe.com/
|
|
1319
|
+
* The amount to reverse from the authorization. If not provided, the full amount of the authorization will be reversed. This amount is in the authorization currency and in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal).
|
|
1320
1320
|
*/
|
|
1321
1321
|
reverse_amount?: number;
|
|
1322
1322
|
}
|