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
|
@@ -15,7 +15,7 @@ declare module 'stripe' {
|
|
|
15
15
|
type: CardCreateParams.Type;
|
|
16
16
|
|
|
17
17
|
/**
|
|
18
|
-
* The [Cardholder](https://stripe.com/
|
|
18
|
+
* The [Cardholder](https://docs.stripe.com/api#issuing_cardholder_object) object with which the card will be associated.
|
|
19
19
|
*/
|
|
20
20
|
cardholder?: string;
|
|
21
21
|
|
|
@@ -40,7 +40,7 @@ declare module 'stripe' {
|
|
|
40
40
|
financial_account?: string;
|
|
41
41
|
|
|
42
42
|
/**
|
|
43
|
-
* Set of [key-value pairs](https://stripe.com/
|
|
43
|
+
* 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`.
|
|
44
44
|
*/
|
|
45
45
|
metadata?: Stripe.MetadataParam;
|
|
46
46
|
|
|
@@ -75,7 +75,7 @@ declare module 'stripe' {
|
|
|
75
75
|
shipping?: CardCreateParams.Shipping;
|
|
76
76
|
|
|
77
77
|
/**
|
|
78
|
-
* Rules that control spending for this card. Refer to our [documentation](https://stripe.com/
|
|
78
|
+
* Rules that control spending for this card. Refer to our [documentation](https://docs.stripe.com/issuing/controls/spending-controls) for more details.
|
|
79
79
|
*/
|
|
80
80
|
spending_controls?: CardCreateParams.SpendingControls;
|
|
81
81
|
|
|
@@ -165,7 +165,7 @@ declare module 'stripe' {
|
|
|
165
165
|
postal_code: string;
|
|
166
166
|
|
|
167
167
|
/**
|
|
168
|
-
* State, county, province, or region.
|
|
168
|
+
* State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
169
169
|
*/
|
|
170
170
|
state?: string;
|
|
171
171
|
}
|
|
@@ -198,7 +198,7 @@ declare module 'stripe' {
|
|
|
198
198
|
|
|
199
199
|
interface SpendingControls {
|
|
200
200
|
/**
|
|
201
|
-
* Array of strings containing [categories](https://stripe.com/
|
|
201
|
+
* Array of strings containing [categories](https://docs.stripe.com/api#issuing_authorization_object-merchant_data-category) of authorizations to allow. All other categories will be blocked. Cannot be set with `blocked_categories`.
|
|
202
202
|
*/
|
|
203
203
|
allowed_categories?: Array<SpendingControls.AllowedCategory>;
|
|
204
204
|
|
|
@@ -208,7 +208,7 @@ declare module 'stripe' {
|
|
|
208
208
|
allowed_merchant_countries?: Array<string>;
|
|
209
209
|
|
|
210
210
|
/**
|
|
211
|
-
* Array of strings containing [categories](https://stripe.com/
|
|
211
|
+
* Array of strings containing [categories](https://docs.stripe.com/api#issuing_authorization_object-merchant_data-category) of authorizations to decline. All other categories will be allowed. Cannot be set with `allowed_categories`.
|
|
212
212
|
*/
|
|
213
213
|
blocked_categories?: Array<SpendingControls.BlockedCategory>;
|
|
214
214
|
|
|
@@ -825,7 +825,7 @@ declare module 'stripe' {
|
|
|
825
825
|
amount: number;
|
|
826
826
|
|
|
827
827
|
/**
|
|
828
|
-
* Array of strings containing [categories](https://stripe.com/
|
|
828
|
+
* Array of strings containing [categories](https://docs.stripe.com/api#issuing_authorization_object-merchant_data-category) this limit applies to. Omitting this field will apply the limit to all categories.
|
|
829
829
|
*/
|
|
830
830
|
categories?: Array<SpendingLimit.Category>;
|
|
831
831
|
|
|
@@ -1167,7 +1167,7 @@ declare module 'stripe' {
|
|
|
1167
1167
|
expand?: Array<string>;
|
|
1168
1168
|
|
|
1169
1169
|
/**
|
|
1170
|
-
* Set of [key-value pairs](https://stripe.com/
|
|
1170
|
+
* 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`.
|
|
1171
1171
|
*/
|
|
1172
1172
|
metadata?: Stripe.Emptyable<Stripe.MetadataParam>;
|
|
1173
1173
|
|
|
@@ -1184,7 +1184,7 @@ declare module 'stripe' {
|
|
|
1184
1184
|
shipping?: CardUpdateParams.Shipping;
|
|
1185
1185
|
|
|
1186
1186
|
/**
|
|
1187
|
-
* Rules that control spending for this card. Refer to our [documentation](https://stripe.com/
|
|
1187
|
+
* Rules that control spending for this card. Refer to our [documentation](https://docs.stripe.com/issuing/controls/spending-controls) for more details.
|
|
1188
1188
|
*/
|
|
1189
1189
|
spending_controls?: CardUpdateParams.SpendingControls;
|
|
1190
1190
|
|
|
@@ -1274,7 +1274,7 @@ declare module 'stripe' {
|
|
|
1274
1274
|
postal_code: string;
|
|
1275
1275
|
|
|
1276
1276
|
/**
|
|
1277
|
-
* State, county, province, or region.
|
|
1277
|
+
* State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
1278
1278
|
*/
|
|
1279
1279
|
state?: string;
|
|
1280
1280
|
}
|
|
@@ -1307,7 +1307,7 @@ declare module 'stripe' {
|
|
|
1307
1307
|
|
|
1308
1308
|
interface SpendingControls {
|
|
1309
1309
|
/**
|
|
1310
|
-
* Array of strings containing [categories](https://stripe.com/
|
|
1310
|
+
* Array of strings containing [categories](https://docs.stripe.com/api#issuing_authorization_object-merchant_data-category) of authorizations to allow. All other categories will be blocked. Cannot be set with `blocked_categories`.
|
|
1311
1311
|
*/
|
|
1312
1312
|
allowed_categories?: Array<SpendingControls.AllowedCategory>;
|
|
1313
1313
|
|
|
@@ -1317,7 +1317,7 @@ declare module 'stripe' {
|
|
|
1317
1317
|
allowed_merchant_countries?: Array<string>;
|
|
1318
1318
|
|
|
1319
1319
|
/**
|
|
1320
|
-
* Array of strings containing [categories](https://stripe.com/
|
|
1320
|
+
* Array of strings containing [categories](https://docs.stripe.com/api#issuing_authorization_object-merchant_data-category) of authorizations to decline. All other categories will be allowed. Cannot be set with `allowed_categories`.
|
|
1321
1321
|
*/
|
|
1322
1322
|
blocked_categories?: Array<SpendingControls.BlockedCategory>;
|
|
1323
1323
|
|
|
@@ -1934,7 +1934,7 @@ declare module 'stripe' {
|
|
|
1934
1934
|
amount: number;
|
|
1935
1935
|
|
|
1936
1936
|
/**
|
|
1937
|
-
* Array of strings containing [categories](https://stripe.com/
|
|
1937
|
+
* Array of strings containing [categories](https://docs.stripe.com/api#issuing_authorization_object-merchant_data-category) this limit applies to. Omitting this field will apply the limit to all categories.
|
|
1938
1938
|
*/
|
|
1939
1939
|
categories?: Array<SpendingLimit.Category>;
|
|
1940
1940
|
|
|
@@ -4,9 +4,9 @@ declare module 'stripe' {
|
|
|
4
4
|
namespace Stripe {
|
|
5
5
|
namespace Issuing {
|
|
6
6
|
/**
|
|
7
|
-
* As a [card issuer](https://stripe.com/
|
|
7
|
+
* As a [card issuer](https://docs.stripe.com/issuing), you can dispute transactions that the cardholder does not recognize, suspects to be fraudulent, or has other issues with.
|
|
8
8
|
*
|
|
9
|
-
* Related guide: [Issuing disputes](https://stripe.com/
|
|
9
|
+
* Related guide: [Issuing disputes](https://docs.stripe.com/issuing/purchases/disputes)
|
|
10
10
|
*/
|
|
11
11
|
interface Dispute {
|
|
12
12
|
/**
|
|
@@ -20,7 +20,7 @@ declare module 'stripe' {
|
|
|
20
20
|
object: 'issuing.dispute';
|
|
21
21
|
|
|
22
22
|
/**
|
|
23
|
-
* Disputed amount in the card's currency and in the [smallest currency unit](https://stripe.com/
|
|
23
|
+
* Disputed amount in the card's currency and in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). Usually the amount of the `transaction`, but can differ (usually because of currency fluctuation).
|
|
24
24
|
*/
|
|
25
25
|
amount: number;
|
|
26
26
|
|
|
@@ -52,7 +52,7 @@ declare module 'stripe' {
|
|
|
52
52
|
loss_reason?: Dispute.LossReason;
|
|
53
53
|
|
|
54
54
|
/**
|
|
55
|
-
* Set of [key-value pairs](https://stripe.com/
|
|
55
|
+
* 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.
|
|
56
56
|
*/
|
|
57
57
|
metadata: Stripe.Metadata;
|
|
58
58
|
|
|
@@ -67,7 +67,7 @@ declare module 'stripe' {
|
|
|
67
67
|
transaction: string | Stripe.Issuing.Transaction;
|
|
68
68
|
|
|
69
69
|
/**
|
|
70
|
-
* [Treasury](https://stripe.com/
|
|
70
|
+
* [Treasury](https://docs.stripe.com/api/treasury) details related to this dispute if it was created on a [FinancialAccount](/docs/api/treasury/financial_accounts
|
|
71
71
|
*/
|
|
72
72
|
treasury?: Dispute.Treasury | null;
|
|
73
73
|
}
|
|
@@ -368,12 +368,12 @@ declare module 'stripe' {
|
|
|
368
368
|
|
|
369
369
|
interface Treasury {
|
|
370
370
|
/**
|
|
371
|
-
* The Treasury [DebitReversal](https://stripe.com/
|
|
371
|
+
* The Treasury [DebitReversal](https://docs.stripe.com/api/treasury/debit_reversals) representing this Issuing dispute
|
|
372
372
|
*/
|
|
373
373
|
debit_reversal: string | null;
|
|
374
374
|
|
|
375
375
|
/**
|
|
376
|
-
* The Treasury [ReceivedDebit](https://stripe.com/
|
|
376
|
+
* The Treasury [ReceivedDebit](https://docs.stripe.com/api/treasury/received_debits) that is being disputed.
|
|
377
377
|
*/
|
|
378
378
|
received_debit: string;
|
|
379
379
|
}
|
|
@@ -5,7 +5,7 @@ declare module 'stripe' {
|
|
|
5
5
|
namespace Issuing {
|
|
6
6
|
interface DisputeCreateParams {
|
|
7
7
|
/**
|
|
8
|
-
* The dispute amount in the card's currency and in the [smallest currency unit](https://stripe.com/
|
|
8
|
+
* The dispute amount in the card's currency and in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). If not set, defaults to the full transaction amount.
|
|
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
|
-
* Set of [key-value pairs](https://stripe.com/
|
|
23
|
+
* 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`.
|
|
24
24
|
*/
|
|
25
25
|
metadata?: Stripe.MetadataParam;
|
|
26
26
|
|
|
@@ -354,7 +354,7 @@ declare module 'stripe' {
|
|
|
354
354
|
|
|
355
355
|
interface DisputeUpdateParams {
|
|
356
356
|
/**
|
|
357
|
-
* The dispute amount in the card's currency and in the [smallest currency unit](https://stripe.com/
|
|
357
|
+
* The dispute amount in the card's currency and in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal).
|
|
358
358
|
*/
|
|
359
359
|
amount?: number;
|
|
360
360
|
|
|
@@ -369,7 +369,7 @@ declare module 'stripe' {
|
|
|
369
369
|
expand?: Array<string>;
|
|
370
370
|
|
|
371
371
|
/**
|
|
372
|
-
* Set of [key-value pairs](https://stripe.com/
|
|
372
|
+
* 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`.
|
|
373
373
|
*/
|
|
374
374
|
metadata?: Stripe.Emptyable<Stripe.MetadataParam>;
|
|
375
375
|
}
|
|
@@ -710,7 +710,7 @@ declare module 'stripe' {
|
|
|
710
710
|
expand?: Array<string>;
|
|
711
711
|
|
|
712
712
|
/**
|
|
713
|
-
* Set of [key-value pairs](https://stripe.com/
|
|
713
|
+
* 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`.
|
|
714
714
|
*/
|
|
715
715
|
metadata?: Stripe.Emptyable<Stripe.MetadataParam>;
|
|
716
716
|
}
|
|
@@ -43,7 +43,7 @@ declare module 'stripe' {
|
|
|
43
43
|
lookup_key: string | null;
|
|
44
44
|
|
|
45
45
|
/**
|
|
46
|
-
* Set of [key-value pairs](https://stripe.com/
|
|
46
|
+
* 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.
|
|
47
47
|
*/
|
|
48
48
|
metadata: Stripe.Metadata;
|
|
49
49
|
|
|
@@ -30,7 +30,7 @@ declare module 'stripe' {
|
|
|
30
30
|
lookup_key?: string;
|
|
31
31
|
|
|
32
32
|
/**
|
|
33
|
-
* Set of [key-value pairs](https://stripe.com/
|
|
33
|
+
* 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`.
|
|
34
34
|
*/
|
|
35
35
|
metadata?: Stripe.MetadataParam;
|
|
36
36
|
|
|
@@ -112,7 +112,7 @@ declare module 'stripe' {
|
|
|
112
112
|
lookup_key?: Stripe.Emptyable<string>;
|
|
113
113
|
|
|
114
114
|
/**
|
|
115
|
-
* Set of [key-value pairs](https://stripe.com/
|
|
115
|
+
* 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`.
|
|
116
116
|
*/
|
|
117
117
|
metadata?: Stripe.MetadataParam;
|
|
118
118
|
|
|
@@ -4,7 +4,7 @@ declare module 'stripe' {
|
|
|
4
4
|
namespace Stripe {
|
|
5
5
|
namespace Issuing {
|
|
6
6
|
/**
|
|
7
|
-
* An issuing token object is created when an issued card is added to a digital wallet. As a [card issuer](https://stripe.com/
|
|
7
|
+
* An issuing token object is created when an issued card is added to a digital wallet. As a [card issuer](https://docs.stripe.com/issuing), you can [view and manage these tokens](https://docs.stripe.com/issuing/controls/token-management) through Stripe.
|
|
8
8
|
*/
|
|
9
9
|
interface Token {
|
|
10
10
|
/**
|
|
@@ -4,11 +4,11 @@ declare module 'stripe' {
|
|
|
4
4
|
namespace Stripe {
|
|
5
5
|
namespace Issuing {
|
|
6
6
|
/**
|
|
7
|
-
* Any use of an [issued card](https://stripe.com/
|
|
7
|
+
* Any use of an [issued card](https://docs.stripe.com/issuing) that results in funds entering or leaving
|
|
8
8
|
* your Stripe account, such as a completed purchase or refund, is represented by an Issuing
|
|
9
9
|
* `Transaction` object.
|
|
10
10
|
*
|
|
11
|
-
* Related guide: [Issued card transactions](https://stripe.com/
|
|
11
|
+
* Related guide: [Issued card transactions](https://docs.stripe.com/issuing/purchases/transactions)
|
|
12
12
|
*/
|
|
13
13
|
interface Transaction {
|
|
14
14
|
/**
|
|
@@ -22,12 +22,12 @@ declare module 'stripe' {
|
|
|
22
22
|
object: 'issuing.transaction';
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
|
-
* The transaction amount, which will be reflected in your balance. This amount is in your currency and in the [smallest currency unit](https://stripe.com/
|
|
25
|
+
* The transaction amount, which will be reflected in your balance. This amount is in your currency and in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal).
|
|
26
26
|
*/
|
|
27
27
|
amount: number;
|
|
28
28
|
|
|
29
29
|
/**
|
|
30
|
-
* Detailed breakdown of amount components. These amounts are denominated in `currency` and in the [smallest currency unit](https://stripe.com/
|
|
30
|
+
* Detailed breakdown of amount components. These amounts are denominated in `currency` and in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal).
|
|
31
31
|
*/
|
|
32
32
|
amount_details: Transaction.AmountDetails | null;
|
|
33
33
|
|
|
@@ -37,7 +37,7 @@ declare module 'stripe' {
|
|
|
37
37
|
authorization: string | Stripe.Issuing.Authorization | null;
|
|
38
38
|
|
|
39
39
|
/**
|
|
40
|
-
* ID of the [balance transaction](https://stripe.com/
|
|
40
|
+
* ID of the [balance transaction](https://docs.stripe.com/api/balance_transactions) associated with this transaction.
|
|
41
41
|
*/
|
|
42
42
|
balance_transaction: string | Stripe.BalanceTransaction | null;
|
|
43
43
|
|
|
@@ -72,7 +72,7 @@ declare module 'stripe' {
|
|
|
72
72
|
livemode: boolean;
|
|
73
73
|
|
|
74
74
|
/**
|
|
75
|
-
* The amount that the merchant will receive, denominated in `merchant_currency` and in the [smallest currency unit](https://stripe.com/
|
|
75
|
+
* The amount that the merchant will receive, denominated in `merchant_currency` and in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal). It will be different from `amount` if the merchant is taking payment in a different currency.
|
|
76
76
|
*/
|
|
77
77
|
merchant_amount: number;
|
|
78
78
|
|
|
@@ -84,7 +84,7 @@ declare module 'stripe' {
|
|
|
84
84
|
merchant_data: Transaction.MerchantData;
|
|
85
85
|
|
|
86
86
|
/**
|
|
87
|
-
* Set of [key-value pairs](https://stripe.com/
|
|
87
|
+
* 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.
|
|
88
88
|
*/
|
|
89
89
|
metadata: Stripe.Metadata;
|
|
90
90
|
|
|
@@ -99,17 +99,12 @@ declare module 'stripe' {
|
|
|
99
99
|
purchase_details?: Transaction.PurchaseDetails | null;
|
|
100
100
|
|
|
101
101
|
/**
|
|
102
|
-
*
|
|
103
|
-
*/
|
|
104
|
-
settlement?: string | Stripe.Issuing.Settlement | null;
|
|
105
|
-
|
|
106
|
-
/**
|
|
107
|
-
* [Token](https://stripe.com/docs/api/issuing/tokens/object) object used for this transaction. If a network token was not used for this transaction, this field will be null.
|
|
102
|
+
* [Token](https://docs.stripe.com/api/issuing/tokens/object) object used for this transaction. If a network token was not used for this transaction, this field will be null.
|
|
108
103
|
*/
|
|
109
104
|
token?: string | Stripe.Issuing.Token | null;
|
|
110
105
|
|
|
111
106
|
/**
|
|
112
|
-
* [Treasury](https://stripe.com/
|
|
107
|
+
* [Treasury](https://docs.stripe.com/api/treasury) details related to this transaction if it was created on a [FinancialAccount](/docs/api/treasury/financial_accounts
|
|
113
108
|
*/
|
|
114
109
|
treasury?: Transaction.Treasury | null;
|
|
115
110
|
|
|
@@ -139,7 +134,7 @@ declare module 'stripe' {
|
|
|
139
134
|
|
|
140
135
|
interface MerchantData {
|
|
141
136
|
/**
|
|
142
|
-
* A categorization of the seller's type of business. See our [merchant categories guide](https://stripe.com/
|
|
137
|
+
* 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.
|
|
143
138
|
*/
|
|
144
139
|
category: string;
|
|
145
140
|
|
|
@@ -465,12 +460,12 @@ declare module 'stripe' {
|
|
|
465
460
|
|
|
466
461
|
interface Treasury {
|
|
467
462
|
/**
|
|
468
|
-
* The Treasury [ReceivedCredit](https://stripe.com/
|
|
463
|
+
* The Treasury [ReceivedCredit](https://docs.stripe.com/api/treasury/received_credits) representing this Issuing transaction if it is a refund
|
|
469
464
|
*/
|
|
470
465
|
received_credit: string | null;
|
|
471
466
|
|
|
472
467
|
/**
|
|
473
|
-
* The Treasury [ReceivedDebit](https://stripe.com/
|
|
468
|
+
* The Treasury [ReceivedDebit](https://docs.stripe.com/api/treasury/received_debits) representing this Issuing transaction if it is a capture
|
|
474
469
|
*/
|
|
475
470
|
received_debit: string | null;
|
|
476
471
|
}
|
|
@@ -17,7 +17,7 @@ declare module 'stripe' {
|
|
|
17
17
|
expand?: Array<string>;
|
|
18
18
|
|
|
19
19
|
/**
|
|
20
|
-
* Set of [key-value pairs](https://stripe.com/
|
|
20
|
+
* 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`.
|
|
21
21
|
*/
|
|
22
22
|
metadata?: Stripe.Emptyable<Stripe.MetadataParam>;
|
|
23
23
|
}
|
|
@@ -43,11 +43,6 @@ declare module 'stripe' {
|
|
|
43
43
|
*/
|
|
44
44
|
expand?: Array<string>;
|
|
45
45
|
|
|
46
|
-
/**
|
|
47
|
-
* Only return transactions that are associated with the given settlement.
|
|
48
|
-
*/
|
|
49
|
-
settlement?: string;
|
|
50
|
-
|
|
51
46
|
/**
|
|
52
47
|
* Only return transactions that have the given type. One of `capture` or `refund`.
|
|
53
48
|
*/
|
package/types/LineItems.d.ts
CHANGED
|
@@ -16,8 +16,6 @@ declare module 'stripe' {
|
|
|
16
16
|
*/
|
|
17
17
|
object: 'item';
|
|
18
18
|
|
|
19
|
-
adjustable_quantity?: LineItem.AdjustableQuantity | null;
|
|
20
|
-
|
|
21
19
|
/**
|
|
22
20
|
* Total discount amount applied. If no discounts were applied, defaults to 0.
|
|
23
21
|
*/
|
|
@@ -53,35 +51,21 @@ declare module 'stripe' {
|
|
|
53
51
|
*/
|
|
54
52
|
discounts?: Array<LineItem.Discount>;
|
|
55
53
|
|
|
56
|
-
display?: LineItem.Display;
|
|
57
|
-
|
|
58
54
|
/**
|
|
59
|
-
* Set of [key-value pairs](https://stripe.com/
|
|
55
|
+
* 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.
|
|
60
56
|
*/
|
|
61
|
-
metadata
|
|
57
|
+
metadata: Stripe.Metadata | null;
|
|
62
58
|
|
|
63
59
|
/**
|
|
64
60
|
* The price used to generate the line item.
|
|
65
61
|
*/
|
|
66
62
|
price: Stripe.Price | null;
|
|
67
63
|
|
|
68
|
-
/**
|
|
69
|
-
* The ID of the product for this line item.
|
|
70
|
-
*
|
|
71
|
-
* This will always be the same as `price.product`.
|
|
72
|
-
*/
|
|
73
|
-
product?: string | Stripe.Product | Stripe.DeletedProduct;
|
|
74
|
-
|
|
75
64
|
/**
|
|
76
65
|
* The quantity of products being purchased.
|
|
77
66
|
*/
|
|
78
67
|
quantity: number | null;
|
|
79
68
|
|
|
80
|
-
/**
|
|
81
|
-
* The tax calculation identifiers of the line item.
|
|
82
|
-
*/
|
|
83
|
-
tax_calculation_reference?: LineItem.TaxCalculationReference | null;
|
|
84
|
-
|
|
85
69
|
/**
|
|
86
70
|
* The taxes applied to the line item.
|
|
87
71
|
*/
|
|
@@ -89,14 +73,6 @@ declare module 'stripe' {
|
|
|
89
73
|
}
|
|
90
74
|
|
|
91
75
|
namespace LineItem {
|
|
92
|
-
interface AdjustableQuantity {
|
|
93
|
-
enabled: boolean;
|
|
94
|
-
|
|
95
|
-
maximum: number | null;
|
|
96
|
-
|
|
97
|
-
minimum: number | null;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
76
|
interface Discount {
|
|
101
77
|
/**
|
|
102
78
|
* The amount discounted.
|
|
@@ -104,22 +80,14 @@ declare module 'stripe' {
|
|
|
104
80
|
amount: number;
|
|
105
81
|
|
|
106
82
|
/**
|
|
107
|
-
* A discount represents the actual application of a [coupon](https://stripe.com
|
|
83
|
+
* A discount represents the actual application of a [coupon](https://api.stripe.com#coupons) or [promotion code](https://api.stripe.com#promotion_codes).
|
|
108
84
|
* It contains information about when the discount began, when it will end, and what it is applied to.
|
|
109
85
|
*
|
|
110
|
-
* Related guide: [Applying discounts to subscriptions](https://stripe.com/
|
|
86
|
+
* Related guide: [Applying discounts to subscriptions](https://docs.stripe.com/billing/subscriptions/discounts)
|
|
111
87
|
*/
|
|
112
88
|
discount: Stripe.Discount;
|
|
113
89
|
}
|
|
114
90
|
|
|
115
|
-
interface Display {
|
|
116
|
-
description: string | null;
|
|
117
|
-
|
|
118
|
-
images: Array<string>;
|
|
119
|
-
|
|
120
|
-
name: string;
|
|
121
|
-
}
|
|
122
|
-
|
|
123
91
|
interface Tax {
|
|
124
92
|
/**
|
|
125
93
|
* Amount of tax applied for this rate.
|
|
@@ -162,18 +130,6 @@ declare module 'stripe' {
|
|
|
162
130
|
| 'taxable_basis_reduced'
|
|
163
131
|
| 'zero_rated';
|
|
164
132
|
}
|
|
165
|
-
|
|
166
|
-
interface TaxCalculationReference {
|
|
167
|
-
/**
|
|
168
|
-
* The calculation identifier for tax calculation response.
|
|
169
|
-
*/
|
|
170
|
-
calculation_id: string | null;
|
|
171
|
-
|
|
172
|
-
/**
|
|
173
|
-
* The calculation identifier for tax calculation response line item.
|
|
174
|
-
*/
|
|
175
|
-
calculation_item_id: string | null;
|
|
176
|
-
}
|
|
177
133
|
}
|
|
178
134
|
}
|
|
179
135
|
}
|
package/types/LoginLinks.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ declare module 'stripe' {
|
|
|
4
4
|
namespace Stripe {
|
|
5
5
|
/**
|
|
6
6
|
* Login Links are single-use URLs that takes an Express account to the login page for their Stripe dashboard.
|
|
7
|
-
* A Login Link differs from an [Account Link](https://stripe.com/
|
|
7
|
+
* A Login Link differs from an [Account Link](https://docs.stripe.com/api/account_links) in that it takes the user directly to their [Express dashboard for the specified account](https://docs.stripe.com/connect/integrate-express-dashboard#create-login-link)
|
|
8
8
|
*/
|
|
9
9
|
interface LoginLink {
|
|
10
10
|
/**
|
package/types/Mandates.d.ts
CHANGED
|
@@ -85,17 +85,7 @@ declare module 'stripe' {
|
|
|
85
85
|
type Type = 'offline' | 'online';
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
-
interface MultiUse {
|
|
89
|
-
/**
|
|
90
|
-
* The amount of the payment on a multi use mandate.
|
|
91
|
-
*/
|
|
92
|
-
amount?: number;
|
|
93
|
-
|
|
94
|
-
/**
|
|
95
|
-
* The currency of the payment on a multi use mandate.
|
|
96
|
-
*/
|
|
97
|
-
currency?: string;
|
|
98
|
-
}
|
|
88
|
+
interface MultiUse {}
|
|
99
89
|
|
|
100
90
|
interface PaymentMethodDetails {
|
|
101
91
|
acss_debit?: PaymentMethodDetails.AcssDebit;
|
|
@@ -126,8 +116,6 @@ declare module 'stripe' {
|
|
|
126
116
|
|
|
127
117
|
payto?: PaymentMethodDetails.Payto;
|
|
128
118
|
|
|
129
|
-
pix?: PaymentMethodDetails.Pix;
|
|
130
|
-
|
|
131
119
|
revolut_pay?: PaymentMethodDetails.RevolutPay;
|
|
132
120
|
|
|
133
121
|
sepa_debit?: PaymentMethodDetails.SepaDebit;
|
|
@@ -235,21 +223,10 @@ declare module 'stripe' {
|
|
|
235
223
|
*/
|
|
236
224
|
billing_agreement_id: string | null;
|
|
237
225
|
|
|
238
|
-
/**
|
|
239
|
-
* Uniquely identifies this particular PayPal account. You can use this attribute to check whether two PayPal accounts are the same.
|
|
240
|
-
*/
|
|
241
|
-
fingerprint?: string | null;
|
|
242
|
-
|
|
243
226
|
/**
|
|
244
227
|
* PayPal account PayerID. This identifier uniquely identifies the PayPal customer.
|
|
245
228
|
*/
|
|
246
229
|
payer_id: string | null;
|
|
247
|
-
|
|
248
|
-
/**
|
|
249
|
-
* Owner's verified email. Values are verified or provided by PayPal directly
|
|
250
|
-
* (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
|
251
|
-
*/
|
|
252
|
-
verified_email?: string | null;
|
|
253
230
|
}
|
|
254
231
|
|
|
255
232
|
interface Payto {
|
|
@@ -316,51 +293,6 @@ declare module 'stripe' {
|
|
|
316
293
|
| 'utility';
|
|
317
294
|
}
|
|
318
295
|
|
|
319
|
-
interface Pix {
|
|
320
|
-
/**
|
|
321
|
-
* Determines if the amount includes the IOF tax.
|
|
322
|
-
*/
|
|
323
|
-
amount_includes_iof?: Pix.AmountIncludesIof;
|
|
324
|
-
|
|
325
|
-
/**
|
|
326
|
-
* Type of amount.
|
|
327
|
-
*/
|
|
328
|
-
amount_type?: Pix.AmountType;
|
|
329
|
-
|
|
330
|
-
/**
|
|
331
|
-
* Date when the mandate expires and no further payments will be charged, in `YYYY-MM-DD`.
|
|
332
|
-
*/
|
|
333
|
-
end_date?: string;
|
|
334
|
-
|
|
335
|
-
/**
|
|
336
|
-
* Schedule at which the future payments will be charged.
|
|
337
|
-
*/
|
|
338
|
-
payment_schedule?: Pix.PaymentSchedule;
|
|
339
|
-
|
|
340
|
-
/**
|
|
341
|
-
* Subscription name displayed to buyers in their bank app.
|
|
342
|
-
*/
|
|
343
|
-
reference?: string;
|
|
344
|
-
|
|
345
|
-
/**
|
|
346
|
-
* Start date of the mandate, in `YYYY-MM-DD`.
|
|
347
|
-
*/
|
|
348
|
-
start_date?: string;
|
|
349
|
-
}
|
|
350
|
-
|
|
351
|
-
namespace Pix {
|
|
352
|
-
type AmountIncludesIof = 'always' | 'never';
|
|
353
|
-
|
|
354
|
-
type AmountType = 'fixed' | 'maximum';
|
|
355
|
-
|
|
356
|
-
type PaymentSchedule =
|
|
357
|
-
| 'halfyearly'
|
|
358
|
-
| 'monthly'
|
|
359
|
-
| 'quarterly'
|
|
360
|
-
| 'weekly'
|
|
361
|
-
| 'yearly';
|
|
362
|
-
}
|
|
363
|
-
|
|
364
296
|
interface RevolutPay {}
|
|
365
297
|
|
|
366
298
|
interface SepaDebit {
|
|
@@ -9,29 +9,6 @@ declare module 'stripe' {
|
|
|
9
9
|
expand?: Array<string>;
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
-
interface MandateListParams extends PaginationParams {
|
|
13
|
-
payment_method: string;
|
|
14
|
-
|
|
15
|
-
/**
|
|
16
|
-
* The status of the mandates to retrieve. Status indicates whether or not you can use it to initiate a payment, and can have a value of `active`, `pending`, or `inactive`.
|
|
17
|
-
*/
|
|
18
|
-
status: MandateListParams.Status;
|
|
19
|
-
|
|
20
|
-
/**
|
|
21
|
-
* Specifies which fields in the response should be expanded.
|
|
22
|
-
*/
|
|
23
|
-
expand?: Array<string>;
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
* The Stripe account ID that the mandates are intended for. Learn more about the [use case for connected accounts payments](https://stripe.com/docs/payments/connected-accounts).
|
|
27
|
-
*/
|
|
28
|
-
on_behalf_of?: string;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
namespace MandateListParams {
|
|
32
|
-
type Status = 'active' | 'inactive' | 'pending';
|
|
33
|
-
}
|
|
34
|
-
|
|
35
12
|
class MandatesResource {
|
|
36
13
|
/**
|
|
37
14
|
* Retrieves a Mandate object.
|
|
@@ -45,14 +22,6 @@ declare module 'stripe' {
|
|
|
45
22
|
id: string,
|
|
46
23
|
options?: RequestOptions
|
|
47
24
|
): Promise<Stripe.Response<Stripe.Mandate>>;
|
|
48
|
-
|
|
49
|
-
/**
|
|
50
|
-
* Retrieves a list of Mandates for a given PaymentMethod.
|
|
51
|
-
*/
|
|
52
|
-
list(
|
|
53
|
-
params: MandateListParams,
|
|
54
|
-
options?: RequestOptions
|
|
55
|
-
): ApiListPromise<Stripe.Mandate>;
|
|
56
25
|
}
|
|
57
26
|
}
|
|
58
27
|
}
|