stripe 22.2.0-beta.3 → 22.2.1
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 +105 -1745
- package/OPENAPI_VERSION +1 -1
- package/README.md +66 -58
- package/VERSION +1 -1
- package/cjs/Error.d.ts +0 -50
- package/cjs/Error.js +1 -125
- package/cjs/Error.js.map +1 -1
- package/cjs/RequestSender.d.ts +2 -1
- package/cjs/RequestSender.js +12 -4
- package/cjs/RequestSender.js.map +1 -1
- package/cjs/Types.d.ts +2 -4
- package/cjs/Types.js.map +1 -1
- package/cjs/apiVersion.d.ts +2 -1
- package/cjs/apiVersion.js +3 -2
- package/cjs/apiVersion.js.map +1 -1
- package/cjs/autoPagination.js +27 -2
- package/cjs/autoPagination.js.map +1 -1
- package/cjs/lib.d.ts +48 -3
- package/cjs/net/FetchHttpClient.js.map +1 -1
- package/cjs/net/HttpClient.js.map +1 -1
- package/cjs/platform/NodePlatformFunctions.d.ts +9 -0
- package/cjs/platform/NodePlatformFunctions.js +53 -2
- package/cjs/platform/NodePlatformFunctions.js.map +1 -1
- package/cjs/platform/PlatformFunctions.d.ts +14 -0
- package/cjs/platform/PlatformFunctions.js +24 -0
- package/cjs/platform/PlatformFunctions.js.map +1 -1
- package/cjs/resources/AccountLinks.d.ts +1 -1
- package/cjs/resources/AccountSessions.d.ts +0 -262
- package/cjs/resources/AccountSessions.js.map +1 -1
- package/cjs/resources/Accounts.d.ts +45 -819
- package/cjs/resources/Accounts.js +17 -32
- package/cjs/resources/Accounts.js.map +1 -1
- package/cjs/resources/ApplePayDomains.js +2 -2
- package/cjs/resources/ApplePayDomains.js.map +1 -1
- package/cjs/resources/ApplicationFees.js +5 -5
- package/cjs/resources/ApplicationFees.js.map +1 -1
- package/cjs/resources/Apps/index.d.ts +4 -4
- package/cjs/resources/Balance.d.ts +0 -67
- package/cjs/resources/BalanceSettings.d.ts +86 -0
- package/cjs/resources/BalanceTransactions.js +1 -1
- package/cjs/resources/BalanceTransactions.js.map +1 -1
- package/cjs/resources/BankAccounts.d.ts +2 -2
- package/cjs/resources/Billing/AlertTriggereds.d.ts +1 -2
- package/cjs/resources/Billing/Alerts.js +4 -4
- package/cjs/resources/Billing/Alerts.js.map +1 -1
- package/cjs/resources/Billing/CreditBalanceTransactions.js +1 -1
- package/cjs/resources/Billing/CreditBalanceTransactions.js.map +1 -1
- package/cjs/resources/Billing/CreditGrants.js +4 -4
- package/cjs/resources/Billing/CreditGrants.js.map +1 -1
- package/cjs/resources/Billing/Meters.js +5 -5
- package/cjs/resources/Billing/Meters.js.map +1 -1
- package/cjs/resources/Billing/index.d.ts +24 -27
- package/cjs/resources/Billing/index.js +0 -2
- package/cjs/resources/Billing/index.js.map +1 -1
- package/cjs/resources/BillingPortal/Configurations.js +2 -2
- package/cjs/resources/BillingPortal/Configurations.js.map +1 -1
- package/cjs/resources/BillingPortal/index.d.ts +5 -5
- package/cjs/resources/Capabilities.d.ts +2 -2
- package/cjs/resources/Cards.d.ts +0 -4
- package/cjs/resources/Charges.d.ts +92 -3064
- package/cjs/resources/Charges.js +3 -3
- package/cjs/resources/Charges.js.map +1 -1
- package/cjs/resources/Checkout/Sessions.d.ts +51 -414
- package/cjs/resources/Checkout/Sessions.js +4 -4
- package/cjs/resources/Checkout/Sessions.js.map +1 -1
- package/cjs/resources/Checkout/index.d.ts +6 -6
- package/cjs/resources/Climate/Orders.js +3 -3
- package/cjs/resources/Climate/Orders.js.map +1 -1
- package/cjs/resources/Climate/Products.js +1 -1
- package/cjs/resources/Climate/Products.js.map +1 -1
- package/cjs/resources/Climate/Suppliers.js +1 -1
- package/cjs/resources/Climate/Suppliers.js.map +1 -1
- package/cjs/resources/Climate/index.d.ts +9 -9
- package/cjs/resources/ConfirmationTokens.d.ts +7 -67
- package/cjs/resources/ConfirmationTokens.js +1 -1
- package/cjs/resources/ConfirmationTokens.js.map +1 -1
- package/cjs/resources/CountrySpecs.js +1 -1
- package/cjs/resources/CountrySpecs.js.map +1 -1
- package/cjs/resources/Coupons.d.ts +0 -47
- package/cjs/resources/Coupons.js +3 -3
- package/cjs/resources/Coupons.js.map +1 -1
- package/cjs/resources/CreditNoteLineItems.d.ts +1 -15
- package/cjs/resources/CreditNotes.d.ts +1 -7
- package/cjs/resources/CreditNotes.js +4 -18
- package/cjs/resources/CreditNotes.js.map +1 -1
- package/cjs/resources/CustomerSessions.d.ts +0 -68
- package/cjs/resources/Customers.d.ts +1 -7
- package/cjs/resources/Customers.js +31 -42
- package/cjs/resources/Customers.js.map +1 -1
- package/cjs/resources/Discounts.d.ts +4 -4
- package/cjs/resources/Disputes.d.ts +0 -29
- package/cjs/resources/Disputes.js +3 -3
- package/cjs/resources/Disputes.js.map +1 -1
- package/cjs/resources/Entitlements/ActiveEntitlements.js +1 -1
- package/cjs/resources/Entitlements/ActiveEntitlements.js.map +1 -1
- package/cjs/resources/Entitlements/Features.js +2 -2
- package/cjs/resources/Entitlements/Features.js.map +1 -1
- package/cjs/resources/Entitlements/index.d.ts +6 -6
- package/cjs/resources/EphemeralKeys.js +1 -1
- package/cjs/resources/EphemeralKeys.js.map +1 -1
- package/cjs/resources/Events.d.ts +2 -547
- package/cjs/resources/Events.js +1 -1
- package/cjs/resources/Events.js.map +1 -1
- package/cjs/resources/ExchangeRates.js +1 -1
- package/cjs/resources/ExchangeRates.js.map +1 -1
- package/cjs/resources/ExternalAccounts.d.ts +1 -212
- package/cjs/resources/ExternalAccounts.js +0 -44
- package/cjs/resources/ExternalAccounts.js.map +1 -1
- package/cjs/resources/FileLinks.js +2 -2
- package/cjs/resources/FileLinks.js.map +1 -1
- package/cjs/resources/Files.js +1 -1
- package/cjs/resources/Files.js.map +1 -1
- package/cjs/resources/FinancialConnections/Accounts.d.ts +4 -74
- package/cjs/resources/FinancialConnections/Accounts.js +6 -14
- package/cjs/resources/FinancialConnections/Accounts.js.map +1 -1
- package/cjs/resources/FinancialConnections/Sessions.d.ts +7 -155
- package/cjs/resources/FinancialConnections/Sessions.js +1 -1
- package/cjs/resources/FinancialConnections/Sessions.js.map +1 -1
- package/cjs/resources/FinancialConnections/Transactions.js +1 -1
- package/cjs/resources/FinancialConnections/Transactions.js.map +1 -1
- package/cjs/resources/FinancialConnections/index.d.ts +13 -28
- package/cjs/resources/FinancialConnections/index.js +0 -4
- package/cjs/resources/FinancialConnections/index.js.map +1 -1
- package/cjs/resources/Forwarding/Requests.js +1 -1
- package/cjs/resources/Forwarding/Requests.js.map +1 -1
- package/cjs/resources/Forwarding/index.d.ts +3 -3
- package/cjs/resources/Identity/VerificationReports.js +1 -1
- package/cjs/resources/Identity/VerificationReports.js.map +1 -1
- package/cjs/resources/Identity/VerificationSessions.js +4 -4
- package/cjs/resources/Identity/VerificationSessions.js.map +1 -1
- package/cjs/resources/Identity/index.d.ts +8 -8
- package/cjs/resources/InvoiceItems.d.ts +28 -85
- package/cjs/resources/InvoiceItems.js +3 -3
- package/cjs/resources/InvoiceItems.js.map +1 -1
- package/cjs/resources/InvoiceLineItems.d.ts +2 -40
- package/cjs/resources/InvoicePayments.js +1 -1
- package/cjs/resources/InvoicePayments.js.map +1 -1
- package/cjs/resources/InvoiceRenderingTemplates.js +3 -3
- package/cjs/resources/InvoiceRenderingTemplates.js.map +1 -1
- package/cjs/resources/Invoices.d.ts +26 -1348
- package/cjs/resources/Invoices.js +14 -84
- package/cjs/resources/Invoices.js.map +1 -1
- package/cjs/resources/Issuing/Authorizations.js +4 -4
- package/cjs/resources/Issuing/Authorizations.js.map +1 -1
- package/cjs/resources/Issuing/Cardholders.d.ts +1 -2
- package/cjs/resources/Issuing/Cardholders.js +2 -2
- package/cjs/resources/Issuing/Cardholders.js.map +1 -1
- package/cjs/resources/Issuing/Cards.js +2 -2
- package/cjs/resources/Issuing/Cards.js.map +1 -1
- package/cjs/resources/Issuing/Disputes.d.ts +1 -1
- package/cjs/resources/Issuing/Disputes.js +3 -3
- package/cjs/resources/Issuing/Disputes.js.map +1 -1
- package/cjs/resources/Issuing/PersonalizationDesigns.d.ts +1 -1
- package/cjs/resources/Issuing/PersonalizationDesigns.js +2 -2
- package/cjs/resources/Issuing/PersonalizationDesigns.js.map +1 -1
- package/cjs/resources/Issuing/PhysicalBundles.js +1 -1
- package/cjs/resources/Issuing/PhysicalBundles.js.map +1 -1
- package/cjs/resources/Issuing/Tokens.js +2 -2
- package/cjs/resources/Issuing/Tokens.js.map +1 -1
- package/cjs/resources/Issuing/Transactions.d.ts +0 -9
- package/cjs/resources/Issuing/Transactions.js +2 -2
- package/cjs/resources/Issuing/Transactions.js.map +1 -1
- package/cjs/resources/Issuing/index.d.ts +35 -60
- package/cjs/resources/Issuing/index.js +0 -6
- package/cjs/resources/Issuing/index.js.map +1 -1
- package/cjs/resources/LineItems.d.ts +2 -29
- package/cjs/resources/Mandates.d.ts +4 -33
- package/cjs/resources/Mandates.js +1 -9
- package/cjs/resources/Mandates.js.map +1 -1
- package/cjs/resources/OAuth.d.ts +7 -8
- package/cjs/resources/PaymentAttemptRecords.d.ts +23 -92
- package/cjs/resources/PaymentAttemptRecords.js +1 -1
- package/cjs/resources/PaymentAttemptRecords.js.map +1 -1
- package/cjs/resources/PaymentIntents.d.ts +6510 -17236
- package/cjs/resources/PaymentIntents.js +12 -37
- package/cjs/resources/PaymentIntents.js.map +1 -1
- package/cjs/resources/PaymentLinks.d.ts +88 -20
- package/cjs/resources/PaymentLinks.js +3 -3
- package/cjs/resources/PaymentLinks.js.map +1 -1
- package/cjs/resources/PaymentMethodConfigurations.d.ts +93 -299
- package/cjs/resources/PaymentMethodConfigurations.js +2 -2
- package/cjs/resources/PaymentMethodConfigurations.js.map +1 -1
- package/cjs/resources/PaymentMethodDomains.js +3 -3
- package/cjs/resources/PaymentMethodDomains.js.map +1 -1
- package/cjs/resources/PaymentMethods.d.ts +22 -152
- package/cjs/resources/PaymentMethods.js +4 -4
- package/cjs/resources/PaymentMethods.js.map +1 -1
- package/cjs/resources/PaymentRecords.d.ts +23 -92
- package/cjs/resources/PaymentRecords.js +7 -7
- package/cjs/resources/PaymentRecords.js.map +1 -1
- package/cjs/resources/Payouts.d.ts +1 -1
- package/cjs/resources/Payouts.js +4 -4
- package/cjs/resources/Payouts.js.map +1 -1
- package/cjs/resources/Persons.d.ts +2 -2
- package/cjs/resources/Plans.d.ts +0 -16
- package/cjs/resources/Plans.js +3 -3
- package/cjs/resources/Plans.js.map +1 -1
- package/cjs/resources/Prices.d.ts +0 -52
- package/cjs/resources/Prices.js +2 -2
- package/cjs/resources/Prices.js.map +1 -1
- package/cjs/resources/Products.d.ts +0 -42
- package/cjs/resources/Products.js +7 -7
- package/cjs/resources/Products.js.map +1 -1
- package/cjs/resources/PromotionCodes.d.ts +0 -12
- package/cjs/resources/PromotionCodes.js +2 -30
- package/cjs/resources/PromotionCodes.js.map +1 -1
- package/cjs/resources/Quotes.d.ts +160 -2369
- package/cjs/resources/Quotes.js +20 -1180
- package/cjs/resources/Quotes.js.map +1 -1
- package/cjs/resources/Radar/EarlyFraudWarnings.js +1 -1
- package/cjs/resources/Radar/EarlyFraudWarnings.js.map +1 -1
- package/cjs/resources/Radar/PaymentEvaluations.d.ts +2 -2
- package/cjs/resources/Radar/ValueListItems.js +2 -2
- package/cjs/resources/Radar/ValueListItems.js.map +1 -1
- package/cjs/resources/Radar/ValueLists.js +3 -3
- package/cjs/resources/Radar/ValueLists.js.map +1 -1
- package/cjs/resources/Radar/index.d.ts +12 -12
- package/cjs/resources/Refunds.d.ts +3 -11
- package/cjs/resources/Refunds.js +3 -3
- package/cjs/resources/Refunds.js.map +1 -1
- package/cjs/resources/Reporting/ReportRuns.js +1 -1
- package/cjs/resources/Reporting/ReportRuns.js.map +1 -1
- package/cjs/resources/Reporting/ReportTypes.js +1 -1
- package/cjs/resources/Reporting/ReportTypes.js.map +1 -1
- package/cjs/resources/Reporting/index.d.ts +5 -5
- package/cjs/resources/Reserve/Holds.d.ts +1 -53
- package/cjs/resources/Reserve/Holds.js +0 -19
- package/cjs/resources/Reserve/Holds.js.map +1 -1
- package/cjs/resources/Reserve/Plans.d.ts +0 -16
- package/cjs/resources/Reserve/Plans.js +0 -11
- package/cjs/resources/Reserve/Plans.js.map +1 -1
- package/cjs/resources/Reserve/Releases.d.ts +1 -41
- package/cjs/resources/Reserve/Releases.js +0 -19
- package/cjs/resources/Reserve/Releases.js.map +1 -1
- package/cjs/resources/Reserve/index.d.ts +3 -14
- package/cjs/resources/Reserve/index.js +2 -10
- package/cjs/resources/Reserve/index.js.map +1 -1
- package/cjs/resources/Reviews.js +2 -2
- package/cjs/resources/Reviews.js.map +1 -1
- package/cjs/resources/SetupAttempts.d.ts +3 -25
- package/cjs/resources/SetupIntents.d.ts +77 -336
- package/cjs/resources/SetupIntents.js +5 -5
- package/cjs/resources/SetupIntents.js.map +1 -1
- package/cjs/resources/ShippingRates.js +2 -2
- package/cjs/resources/ShippingRates.js.map +1 -1
- package/cjs/resources/Sigma/ScheduledQueryRuns.js +1 -1
- package/cjs/resources/Sigma/ScheduledQueryRuns.js.map +1 -1
- package/cjs/resources/Sigma/index.d.ts +2 -2
- package/cjs/resources/Sources.d.ts +1 -16
- package/cjs/resources/Sources.js +4 -4
- package/cjs/resources/Sources.js.map +1 -1
- package/cjs/resources/SubscriptionItems.d.ts +4 -165
- package/cjs/resources/SubscriptionItems.js +3 -3
- package/cjs/resources/SubscriptionItems.js.map +1 -1
- package/cjs/resources/SubscriptionSchedules.d.ts +16 -1174
- package/cjs/resources/SubscriptionSchedules.js +4 -52
- package/cjs/resources/SubscriptionSchedules.js.map +1 -1
- package/cjs/resources/Subscriptions.d.ts +32 -490
- package/cjs/resources/Subscriptions.js +8 -37
- package/cjs/resources/Subscriptions.js.map +1 -1
- package/cjs/resources/Tax/CalculationLineItems.d.ts +2 -6
- package/cjs/resources/Tax/Calculations.d.ts +3 -7
- package/cjs/resources/Tax/Calculations.js +2 -2
- package/cjs/resources/Tax/Calculations.js.map +1 -1
- package/cjs/resources/Tax/Registrations.d.ts +2 -138
- package/cjs/resources/Tax/Registrations.js +2 -2
- package/cjs/resources/Tax/Registrations.js.map +1 -1
- package/cjs/resources/Tax/Transactions.d.ts +2 -2
- package/cjs/resources/Tax/Transactions.js +2 -2
- package/cjs/resources/Tax/Transactions.js.map +1 -1
- package/cjs/resources/Tax/index.d.ts +17 -31
- package/cjs/resources/Tax/index.js +0 -4
- package/cjs/resources/Tax/index.js.map +1 -1
- package/cjs/resources/TaxCodes.d.ts +0 -15
- package/cjs/resources/TaxCodes.js +1 -1
- package/cjs/resources/TaxCodes.js.map +1 -1
- package/cjs/resources/TaxIds.js +2 -2
- package/cjs/resources/TaxIds.js.map +1 -1
- package/cjs/resources/TaxRates.js +2 -2
- package/cjs/resources/TaxRates.js.map +1 -1
- package/cjs/resources/Terminal/Configurations.d.ts +108 -27
- package/cjs/resources/Terminal/Configurations.js +3 -3
- package/cjs/resources/Terminal/Configurations.js.map +1 -1
- package/cjs/resources/Terminal/Locations.js +3 -3
- package/cjs/resources/Terminal/Locations.js.map +1 -1
- package/cjs/resources/Terminal/Readers.d.ts +143 -19
- package/cjs/resources/Terminal/Readers.js +11 -11
- package/cjs/resources/Terminal/Readers.js.map +1 -1
- package/cjs/resources/Terminal/index.d.ts +25 -30
- package/cjs/resources/Terminal/index.js +0 -2
- package/cjs/resources/Terminal/index.js.map +1 -1
- package/cjs/resources/TestHelpers/ConfirmationTokens.d.ts +14 -79
- package/cjs/resources/TestHelpers/Customers.js +1 -1
- package/cjs/resources/TestHelpers/Customers.js.map +1 -1
- package/cjs/resources/TestHelpers/Issuing/Authorizations.js +6 -6
- package/cjs/resources/TestHelpers/Issuing/Authorizations.js.map +1 -1
- package/cjs/resources/TestHelpers/Issuing/Cards.js +5 -5
- package/cjs/resources/TestHelpers/Issuing/Cards.js.map +1 -1
- package/cjs/resources/TestHelpers/Issuing/PersonalizationDesigns.js +3 -3
- package/cjs/resources/TestHelpers/Issuing/PersonalizationDesigns.js.map +1 -1
- package/cjs/resources/TestHelpers/Issuing/Transactions.js +1 -1
- package/cjs/resources/TestHelpers/Issuing/Transactions.js.map +1 -1
- package/cjs/resources/TestHelpers/Refunds.js +1 -1
- package/cjs/resources/TestHelpers/Refunds.js.map +1 -1
- package/cjs/resources/TestHelpers/Terminal/Readers.js +3 -3
- package/cjs/resources/TestHelpers/Terminal/Readers.js.map +1 -1
- package/cjs/resources/TestHelpers/TestClocks.d.ts +4 -0
- package/cjs/resources/TestHelpers/TestClocks.js +3 -3
- package/cjs/resources/TestHelpers/TestClocks.js.map +1 -1
- package/cjs/resources/TestHelpers/Treasury/InboundTransfers.js +3 -3
- package/cjs/resources/TestHelpers/Treasury/InboundTransfers.js.map +1 -1
- package/cjs/resources/TestHelpers/Treasury/OutboundPayments.js +4 -4
- package/cjs/resources/TestHelpers/Treasury/OutboundPayments.js.map +1 -1
- package/cjs/resources/TestHelpers/Treasury/OutboundTransfers.js +4 -4
- package/cjs/resources/TestHelpers/Treasury/OutboundTransfers.js.map +1 -1
- package/cjs/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +0 -22
- package/cjs/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +0 -22
- package/cjs/resources/TestHelpers/index.d.ts +5 -8
- package/cjs/resources/TestHelpers/index.js +4 -6
- package/cjs/resources/TestHelpers/index.js.map +1 -1
- package/cjs/resources/Tokens.js +1 -1
- package/cjs/resources/Tokens.js.map +1 -1
- package/cjs/resources/Topups.js +3 -3
- package/cjs/resources/Topups.js.map +1 -1
- package/cjs/resources/Transfers.d.ts +0 -8
- package/cjs/resources/Transfers.js +6 -6
- package/cjs/resources/Transfers.js.map +1 -1
- package/cjs/resources/Treasury/CreditReversals.js +1 -1
- package/cjs/resources/Treasury/CreditReversals.js.map +1 -1
- package/cjs/resources/Treasury/DebitReversals.js +1 -1
- package/cjs/resources/Treasury/DebitReversals.js.map +1 -1
- package/cjs/resources/Treasury/FinancialAccountFeatures.d.ts +0 -5
- package/cjs/resources/Treasury/FinancialAccounts.d.ts +1 -34
- package/cjs/resources/Treasury/FinancialAccounts.js +5 -5
- package/cjs/resources/Treasury/FinancialAccounts.js.map +1 -1
- package/cjs/resources/Treasury/InboundTransfers.js +2 -2
- package/cjs/resources/Treasury/InboundTransfers.js.map +1 -1
- package/cjs/resources/Treasury/OutboundPayments.d.ts +0 -8
- package/cjs/resources/Treasury/OutboundPayments.js +2 -2
- package/cjs/resources/Treasury/OutboundPayments.js.map +1 -1
- package/cjs/resources/Treasury/OutboundTransfers.d.ts +0 -44
- package/cjs/resources/Treasury/OutboundTransfers.js +2 -2
- package/cjs/resources/Treasury/OutboundTransfers.js.map +1 -1
- package/cjs/resources/Treasury/ReceivedCredits.d.ts +0 -22
- package/cjs/resources/Treasury/ReceivedCredits.js +1 -1
- package/cjs/resources/Treasury/ReceivedCredits.js.map +1 -1
- package/cjs/resources/Treasury/ReceivedDebits.d.ts +0 -26
- package/cjs/resources/Treasury/ReceivedDebits.js +1 -1
- package/cjs/resources/Treasury/ReceivedDebits.js.map +1 -1
- package/cjs/resources/Treasury/TransactionEntries.js +1 -1
- package/cjs/resources/Treasury/TransactionEntries.js.map +1 -1
- package/cjs/resources/Treasury/Transactions.js +1 -1
- package/cjs/resources/Treasury/Transactions.js.map +1 -1
- package/cjs/resources/Treasury/index.d.ts +33 -33
- package/cjs/resources/V2/Billing/index.d.ts +6 -45
- package/cjs/resources/V2/Billing/index.js +0 -8
- package/cjs/resources/V2/Billing/index.js.map +1 -1
- package/cjs/resources/V2/Commerce/ProductCatalog/Imports.d.ts +2 -2
- package/cjs/resources/V2/Commerce/ProductCatalog/Imports.js +1 -1
- package/cjs/resources/V2/Commerce/ProductCatalog/Imports.js.map +1 -1
- package/cjs/resources/V2/Core/AccountLinks.d.ts +4 -4
- package/cjs/resources/V2/Core/AccountTokens.d.ts +32 -14
- package/cjs/resources/V2/Core/AccountTokens.js +6 -2
- package/cjs/resources/V2/Core/AccountTokens.js.map +1 -1
- package/cjs/resources/V2/Core/Accounts/PersonTokens.d.ts +1 -1
- package/cjs/resources/V2/Core/Accounts/PersonTokens.js +3 -3
- package/cjs/resources/V2/Core/Accounts/PersonTokens.js.map +1 -1
- package/cjs/resources/V2/Core/Accounts/Persons.d.ts +3 -3
- package/cjs/resources/V2/Core/Accounts/Persons.js +7 -7
- package/cjs/resources/V2/Core/Accounts/Persons.js.map +1 -1
- package/cjs/resources/V2/Core/Accounts.d.ts +233 -1171
- package/cjs/resources/V2/Core/Accounts.js +4 -4
- package/cjs/resources/V2/Core/Accounts.js.map +1 -1
- package/cjs/resources/V2/Core/EventDestinations.d.ts +2 -2
- package/cjs/resources/V2/Core/EventDestinations.js +6 -6
- package/cjs/resources/V2/Core/EventDestinations.js.map +1 -1
- package/cjs/resources/V2/Core/Events.d.ts +8 -1126
- package/cjs/resources/V2/Core/Events.js +3 -2
- package/cjs/resources/V2/Core/Events.js.map +1 -1
- package/cjs/resources/V2/Core/index.d.ts +19 -29
- package/cjs/resources/V2/Core/index.js +0 -4
- package/cjs/resources/V2/Core/index.js.map +1 -1
- package/cjs/resources/V2/index.d.ts +0 -27
- package/cjs/resources/V2/index.js +0 -14
- package/cjs/resources/V2/index.js.map +1 -1
- package/cjs/resources/WebhookEndpoints.d.ts +3 -3
- package/cjs/resources/WebhookEndpoints.js +3 -3
- package/cjs/resources/WebhookEndpoints.js.map +1 -1
- package/cjs/resources.d.ts +0 -10
- package/cjs/resources.js +10 -146
- package/cjs/resources.js.map +1 -1
- package/cjs/stripe.core.d.ts +30 -69
- package/cjs/stripe.core.js +49 -61
- package/cjs/stripe.core.js.map +1 -1
- package/cjs/utils.d.ts +1 -3
- package/cjs/utils.js +14 -18
- package/cjs/utils.js.map +1 -1
- package/esm/Error.d.ts +0 -50
- package/esm/Error.js +0 -109
- package/esm/Error.js.map +1 -1
- package/esm/RequestSender.d.ts +2 -1
- package/esm/RequestSender.js +13 -5
- package/esm/RequestSender.js.map +1 -1
- package/esm/Types.d.ts +2 -4
- package/esm/Types.js.map +1 -1
- package/esm/apiVersion.d.ts +2 -1
- package/esm/apiVersion.js +2 -1
- package/esm/apiVersion.js.map +1 -1
- package/esm/autoPagination.js +27 -2
- package/esm/autoPagination.js.map +1 -1
- package/esm/lib.d.ts +48 -3
- package/esm/net/FetchHttpClient.js.map +1 -1
- package/esm/net/HttpClient.js.map +1 -1
- package/esm/platform/NodePlatformFunctions.d.ts +9 -0
- package/esm/platform/NodePlatformFunctions.js +53 -2
- package/esm/platform/NodePlatformFunctions.js.map +1 -1
- package/esm/platform/PlatformFunctions.d.ts +14 -0
- package/esm/platform/PlatformFunctions.js +24 -0
- package/esm/platform/PlatformFunctions.js.map +1 -1
- package/esm/resources/AccountLinks.d.ts +1 -1
- package/esm/resources/AccountSessions.d.ts +0 -262
- package/esm/resources/AccountSessions.js.map +1 -1
- package/esm/resources/Accounts.d.ts +45 -819
- package/esm/resources/Accounts.js +17 -32
- package/esm/resources/Accounts.js.map +1 -1
- package/esm/resources/ApplePayDomains.js +2 -2
- package/esm/resources/ApplePayDomains.js.map +1 -1
- package/esm/resources/ApplicationFees.js +5 -5
- package/esm/resources/ApplicationFees.js.map +1 -1
- package/esm/resources/Apps/index.d.ts +4 -4
- package/esm/resources/Balance.d.ts +0 -67
- package/esm/resources/BalanceSettings.d.ts +86 -0
- package/esm/resources/BalanceTransactions.js +1 -1
- package/esm/resources/BalanceTransactions.js.map +1 -1
- package/esm/resources/BankAccounts.d.ts +2 -2
- package/esm/resources/Billing/AlertTriggereds.d.ts +1 -2
- package/esm/resources/Billing/Alerts.js +4 -4
- package/esm/resources/Billing/Alerts.js.map +1 -1
- package/esm/resources/Billing/CreditBalanceTransactions.js +1 -1
- package/esm/resources/Billing/CreditBalanceTransactions.js.map +1 -1
- package/esm/resources/Billing/CreditGrants.js +4 -4
- package/esm/resources/Billing/CreditGrants.js.map +1 -1
- package/esm/resources/Billing/Meters.js +5 -5
- package/esm/resources/Billing/Meters.js.map +1 -1
- package/esm/resources/Billing/index.d.ts +24 -27
- package/esm/resources/Billing/index.js +0 -2
- package/esm/resources/Billing/index.js.map +1 -1
- package/esm/resources/BillingPortal/Configurations.js +2 -2
- package/esm/resources/BillingPortal/Configurations.js.map +1 -1
- package/esm/resources/BillingPortal/index.d.ts +5 -5
- package/esm/resources/Capabilities.d.ts +2 -2
- package/esm/resources/Cards.d.ts +0 -4
- package/esm/resources/Charges.d.ts +92 -3064
- package/esm/resources/Charges.js +3 -3
- package/esm/resources/Charges.js.map +1 -1
- package/esm/resources/Checkout/Sessions.d.ts +51 -414
- package/esm/resources/Checkout/Sessions.js +4 -4
- package/esm/resources/Checkout/Sessions.js.map +1 -1
- package/esm/resources/Checkout/index.d.ts +6 -6
- package/esm/resources/Climate/Orders.js +3 -3
- package/esm/resources/Climate/Orders.js.map +1 -1
- package/esm/resources/Climate/Products.js +1 -1
- package/esm/resources/Climate/Products.js.map +1 -1
- package/esm/resources/Climate/Suppliers.js +1 -1
- package/esm/resources/Climate/Suppliers.js.map +1 -1
- package/esm/resources/Climate/index.d.ts +9 -9
- package/esm/resources/ConfirmationTokens.d.ts +7 -67
- package/esm/resources/ConfirmationTokens.js +1 -1
- package/esm/resources/ConfirmationTokens.js.map +1 -1
- package/esm/resources/CountrySpecs.js +1 -1
- package/esm/resources/CountrySpecs.js.map +1 -1
- package/esm/resources/Coupons.d.ts +0 -47
- package/esm/resources/Coupons.js +3 -3
- package/esm/resources/Coupons.js.map +1 -1
- package/esm/resources/CreditNoteLineItems.d.ts +1 -15
- package/esm/resources/CreditNotes.d.ts +1 -7
- package/esm/resources/CreditNotes.js +4 -18
- package/esm/resources/CreditNotes.js.map +1 -1
- package/esm/resources/CustomerSessions.d.ts +0 -68
- package/esm/resources/Customers.d.ts +1 -7
- package/esm/resources/Customers.js +31 -42
- package/esm/resources/Customers.js.map +1 -1
- package/esm/resources/Discounts.d.ts +4 -4
- package/esm/resources/Disputes.d.ts +0 -29
- package/esm/resources/Disputes.js +3 -3
- package/esm/resources/Disputes.js.map +1 -1
- package/esm/resources/Entitlements/ActiveEntitlements.js +1 -1
- package/esm/resources/Entitlements/ActiveEntitlements.js.map +1 -1
- package/esm/resources/Entitlements/Features.js +2 -2
- package/esm/resources/Entitlements/Features.js.map +1 -1
- package/esm/resources/Entitlements/index.d.ts +6 -6
- package/esm/resources/EphemeralKeys.js +1 -1
- package/esm/resources/EphemeralKeys.js.map +1 -1
- package/esm/resources/Events.d.ts +2 -547
- package/esm/resources/Events.js +1 -1
- package/esm/resources/Events.js.map +1 -1
- package/esm/resources/ExchangeRates.js +1 -1
- package/esm/resources/ExchangeRates.js.map +1 -1
- package/esm/resources/ExternalAccounts.d.ts +1 -212
- package/esm/resources/ExternalAccounts.js +1 -42
- package/esm/resources/ExternalAccounts.js.map +1 -1
- package/esm/resources/FileLinks.js +2 -2
- package/esm/resources/FileLinks.js.map +1 -1
- package/esm/resources/Files.js +1 -1
- package/esm/resources/Files.js.map +1 -1
- package/esm/resources/FinancialConnections/Accounts.d.ts +4 -74
- package/esm/resources/FinancialConnections/Accounts.js +6 -14
- package/esm/resources/FinancialConnections/Accounts.js.map +1 -1
- package/esm/resources/FinancialConnections/Sessions.d.ts +7 -155
- package/esm/resources/FinancialConnections/Sessions.js +1 -1
- package/esm/resources/FinancialConnections/Sessions.js.map +1 -1
- package/esm/resources/FinancialConnections/Transactions.js +1 -1
- package/esm/resources/FinancialConnections/Transactions.js.map +1 -1
- package/esm/resources/FinancialConnections/index.d.ts +13 -28
- package/esm/resources/FinancialConnections/index.js +0 -4
- package/esm/resources/FinancialConnections/index.js.map +1 -1
- package/esm/resources/Forwarding/Requests.js +1 -1
- package/esm/resources/Forwarding/Requests.js.map +1 -1
- package/esm/resources/Forwarding/index.d.ts +3 -3
- package/esm/resources/Identity/VerificationReports.js +1 -1
- package/esm/resources/Identity/VerificationReports.js.map +1 -1
- package/esm/resources/Identity/VerificationSessions.js +4 -4
- package/esm/resources/Identity/VerificationSessions.js.map +1 -1
- package/esm/resources/Identity/index.d.ts +8 -8
- package/esm/resources/InvoiceItems.d.ts +28 -85
- package/esm/resources/InvoiceItems.js +3 -3
- package/esm/resources/InvoiceItems.js.map +1 -1
- package/esm/resources/InvoiceLineItems.d.ts +2 -40
- package/esm/resources/InvoicePayments.js +1 -1
- package/esm/resources/InvoicePayments.js.map +1 -1
- package/esm/resources/InvoiceRenderingTemplates.js +3 -3
- package/esm/resources/InvoiceRenderingTemplates.js.map +1 -1
- package/esm/resources/Invoices.d.ts +26 -1348
- package/esm/resources/Invoices.js +14 -84
- package/esm/resources/Invoices.js.map +1 -1
- package/esm/resources/Issuing/Authorizations.js +4 -4
- package/esm/resources/Issuing/Authorizations.js.map +1 -1
- package/esm/resources/Issuing/Cardholders.d.ts +1 -2
- package/esm/resources/Issuing/Cardholders.js +2 -2
- package/esm/resources/Issuing/Cardholders.js.map +1 -1
- package/esm/resources/Issuing/Cards.js +2 -2
- package/esm/resources/Issuing/Cards.js.map +1 -1
- package/esm/resources/Issuing/Disputes.d.ts +1 -1
- package/esm/resources/Issuing/Disputes.js +3 -3
- package/esm/resources/Issuing/Disputes.js.map +1 -1
- package/esm/resources/Issuing/PersonalizationDesigns.d.ts +1 -1
- package/esm/resources/Issuing/PersonalizationDesigns.js +2 -2
- package/esm/resources/Issuing/PersonalizationDesigns.js.map +1 -1
- package/esm/resources/Issuing/PhysicalBundles.js +1 -1
- package/esm/resources/Issuing/PhysicalBundles.js.map +1 -1
- package/esm/resources/Issuing/Tokens.js +2 -2
- package/esm/resources/Issuing/Tokens.js.map +1 -1
- package/esm/resources/Issuing/Transactions.d.ts +0 -9
- package/esm/resources/Issuing/Transactions.js +2 -2
- package/esm/resources/Issuing/Transactions.js.map +1 -1
- package/esm/resources/Issuing/index.d.ts +35 -60
- package/esm/resources/Issuing/index.js +0 -6
- package/esm/resources/Issuing/index.js.map +1 -1
- package/esm/resources/LineItems.d.ts +2 -29
- package/esm/resources/Mandates.d.ts +4 -33
- package/esm/resources/Mandates.js +1 -9
- package/esm/resources/Mandates.js.map +1 -1
- package/esm/resources/OAuth.d.ts +7 -8
- package/esm/resources/PaymentAttemptRecords.d.ts +23 -92
- package/esm/resources/PaymentAttemptRecords.js +1 -1
- package/esm/resources/PaymentAttemptRecords.js.map +1 -1
- package/esm/resources/PaymentIntents.d.ts +6510 -17236
- package/esm/resources/PaymentIntents.js +12 -37
- package/esm/resources/PaymentIntents.js.map +1 -1
- package/esm/resources/PaymentLinks.d.ts +88 -20
- package/esm/resources/PaymentLinks.js +3 -3
- package/esm/resources/PaymentLinks.js.map +1 -1
- package/esm/resources/PaymentMethodConfigurations.d.ts +93 -299
- package/esm/resources/PaymentMethodConfigurations.js +2 -2
- package/esm/resources/PaymentMethodConfigurations.js.map +1 -1
- package/esm/resources/PaymentMethodDomains.js +3 -3
- package/esm/resources/PaymentMethodDomains.js.map +1 -1
- package/esm/resources/PaymentMethods.d.ts +22 -152
- package/esm/resources/PaymentMethods.js +4 -4
- package/esm/resources/PaymentMethods.js.map +1 -1
- package/esm/resources/PaymentRecords.d.ts +23 -92
- package/esm/resources/PaymentRecords.js +7 -7
- package/esm/resources/PaymentRecords.js.map +1 -1
- package/esm/resources/Payouts.d.ts +1 -1
- package/esm/resources/Payouts.js +4 -4
- package/esm/resources/Payouts.js.map +1 -1
- package/esm/resources/Persons.d.ts +2 -2
- package/esm/resources/Plans.d.ts +0 -16
- package/esm/resources/Plans.js +3 -3
- package/esm/resources/Plans.js.map +1 -1
- package/esm/resources/Prices.d.ts +0 -52
- package/esm/resources/Prices.js +2 -2
- package/esm/resources/Prices.js.map +1 -1
- package/esm/resources/Products.d.ts +0 -42
- package/esm/resources/Products.js +7 -7
- package/esm/resources/Products.js.map +1 -1
- package/esm/resources/PromotionCodes.d.ts +0 -12
- package/esm/resources/PromotionCodes.js +2 -30
- package/esm/resources/PromotionCodes.js.map +1 -1
- package/esm/resources/Quotes.d.ts +160 -2369
- package/esm/resources/Quotes.js +20 -1180
- package/esm/resources/Quotes.js.map +1 -1
- package/esm/resources/Radar/EarlyFraudWarnings.js +1 -1
- package/esm/resources/Radar/EarlyFraudWarnings.js.map +1 -1
- package/esm/resources/Radar/PaymentEvaluations.d.ts +2 -2
- package/esm/resources/Radar/ValueListItems.js +2 -2
- package/esm/resources/Radar/ValueListItems.js.map +1 -1
- package/esm/resources/Radar/ValueLists.js +3 -3
- package/esm/resources/Radar/ValueLists.js.map +1 -1
- package/esm/resources/Radar/index.d.ts +12 -12
- package/esm/resources/Refunds.d.ts +3 -11
- package/esm/resources/Refunds.js +3 -3
- package/esm/resources/Refunds.js.map +1 -1
- package/esm/resources/Reporting/ReportRuns.js +1 -1
- package/esm/resources/Reporting/ReportRuns.js.map +1 -1
- package/esm/resources/Reporting/ReportTypes.js +1 -1
- package/esm/resources/Reporting/ReportTypes.js.map +1 -1
- package/esm/resources/Reporting/index.d.ts +5 -5
- package/esm/resources/Reserve/Holds.d.ts +1 -53
- package/esm/resources/Reserve/Holds.js +1 -17
- package/esm/resources/Reserve/Holds.js.map +1 -1
- package/esm/resources/Reserve/Plans.d.ts +0 -16
- package/esm/resources/Reserve/Plans.js +1 -9
- package/esm/resources/Reserve/Plans.js.map +1 -1
- package/esm/resources/Reserve/Releases.d.ts +1 -41
- package/esm/resources/Reserve/Releases.js +1 -17
- package/esm/resources/Reserve/Releases.js.map +1 -1
- package/esm/resources/Reserve/index.d.ts +3 -14
- package/esm/resources/Reserve/index.js +2 -10
- package/esm/resources/Reserve/index.js.map +1 -1
- package/esm/resources/Reviews.js +2 -2
- package/esm/resources/Reviews.js.map +1 -1
- package/esm/resources/SetupAttempts.d.ts +3 -25
- package/esm/resources/SetupIntents.d.ts +77 -336
- package/esm/resources/SetupIntents.js +5 -5
- package/esm/resources/SetupIntents.js.map +1 -1
- package/esm/resources/ShippingRates.js +2 -2
- package/esm/resources/ShippingRates.js.map +1 -1
- package/esm/resources/Sigma/ScheduledQueryRuns.js +1 -1
- package/esm/resources/Sigma/ScheduledQueryRuns.js.map +1 -1
- package/esm/resources/Sigma/index.d.ts +2 -2
- package/esm/resources/Sources.d.ts +1 -16
- package/esm/resources/Sources.js +4 -4
- package/esm/resources/Sources.js.map +1 -1
- package/esm/resources/SubscriptionItems.d.ts +4 -165
- package/esm/resources/SubscriptionItems.js +3 -3
- package/esm/resources/SubscriptionItems.js.map +1 -1
- package/esm/resources/SubscriptionSchedules.d.ts +16 -1174
- package/esm/resources/SubscriptionSchedules.js +4 -52
- package/esm/resources/SubscriptionSchedules.js.map +1 -1
- package/esm/resources/Subscriptions.d.ts +32 -490
- package/esm/resources/Subscriptions.js +8 -37
- package/esm/resources/Subscriptions.js.map +1 -1
- package/esm/resources/Tax/CalculationLineItems.d.ts +2 -6
- package/esm/resources/Tax/Calculations.d.ts +3 -7
- package/esm/resources/Tax/Calculations.js +2 -2
- package/esm/resources/Tax/Calculations.js.map +1 -1
- package/esm/resources/Tax/Registrations.d.ts +2 -138
- package/esm/resources/Tax/Registrations.js +2 -2
- package/esm/resources/Tax/Registrations.js.map +1 -1
- package/esm/resources/Tax/Transactions.d.ts +2 -2
- package/esm/resources/Tax/Transactions.js +2 -2
- package/esm/resources/Tax/Transactions.js.map +1 -1
- package/esm/resources/Tax/index.d.ts +17 -31
- package/esm/resources/Tax/index.js +0 -4
- package/esm/resources/Tax/index.js.map +1 -1
- package/esm/resources/TaxCodes.d.ts +0 -15
- package/esm/resources/TaxCodes.js +1 -1
- package/esm/resources/TaxCodes.js.map +1 -1
- package/esm/resources/TaxIds.js +2 -2
- package/esm/resources/TaxIds.js.map +1 -1
- package/esm/resources/TaxRates.js +2 -2
- package/esm/resources/TaxRates.js.map +1 -1
- package/esm/resources/Terminal/Configurations.d.ts +108 -27
- package/esm/resources/Terminal/Configurations.js +3 -3
- package/esm/resources/Terminal/Configurations.js.map +1 -1
- package/esm/resources/Terminal/Locations.js +3 -3
- package/esm/resources/Terminal/Locations.js.map +1 -1
- package/esm/resources/Terminal/Readers.d.ts +143 -19
- package/esm/resources/Terminal/Readers.js +11 -11
- package/esm/resources/Terminal/Readers.js.map +1 -1
- package/esm/resources/Terminal/index.d.ts +25 -30
- package/esm/resources/Terminal/index.js +0 -2
- package/esm/resources/Terminal/index.js.map +1 -1
- package/esm/resources/TestHelpers/ConfirmationTokens.d.ts +14 -79
- package/esm/resources/TestHelpers/Customers.js +1 -1
- package/esm/resources/TestHelpers/Customers.js.map +1 -1
- package/esm/resources/TestHelpers/Issuing/Authorizations.js +6 -6
- package/esm/resources/TestHelpers/Issuing/Authorizations.js.map +1 -1
- package/esm/resources/TestHelpers/Issuing/Cards.js +5 -5
- package/esm/resources/TestHelpers/Issuing/Cards.js.map +1 -1
- package/esm/resources/TestHelpers/Issuing/PersonalizationDesigns.js +3 -3
- package/esm/resources/TestHelpers/Issuing/PersonalizationDesigns.js.map +1 -1
- package/esm/resources/TestHelpers/Issuing/Transactions.js +1 -1
- package/esm/resources/TestHelpers/Issuing/Transactions.js.map +1 -1
- package/esm/resources/TestHelpers/Refunds.js +1 -1
- package/esm/resources/TestHelpers/Refunds.js.map +1 -1
- package/esm/resources/TestHelpers/Terminal/Readers.js +3 -3
- package/esm/resources/TestHelpers/Terminal/Readers.js.map +1 -1
- package/esm/resources/TestHelpers/TestClocks.d.ts +4 -0
- package/esm/resources/TestHelpers/TestClocks.js +3 -3
- package/esm/resources/TestHelpers/TestClocks.js.map +1 -1
- package/esm/resources/TestHelpers/Treasury/InboundTransfers.js +3 -3
- package/esm/resources/TestHelpers/Treasury/InboundTransfers.js.map +1 -1
- package/esm/resources/TestHelpers/Treasury/OutboundPayments.js +4 -4
- package/esm/resources/TestHelpers/Treasury/OutboundPayments.js.map +1 -1
- package/esm/resources/TestHelpers/Treasury/OutboundTransfers.js +4 -4
- package/esm/resources/TestHelpers/Treasury/OutboundTransfers.js.map +1 -1
- package/esm/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +0 -22
- package/esm/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +0 -22
- package/esm/resources/TestHelpers/index.d.ts +5 -8
- package/esm/resources/TestHelpers/index.js +0 -2
- package/esm/resources/TestHelpers/index.js.map +1 -1
- package/esm/resources/Tokens.js +1 -1
- package/esm/resources/Tokens.js.map +1 -1
- package/esm/resources/Topups.js +3 -3
- package/esm/resources/Topups.js.map +1 -1
- package/esm/resources/Transfers.d.ts +0 -8
- package/esm/resources/Transfers.js +6 -6
- package/esm/resources/Transfers.js.map +1 -1
- package/esm/resources/Treasury/CreditReversals.js +1 -1
- package/esm/resources/Treasury/CreditReversals.js.map +1 -1
- package/esm/resources/Treasury/DebitReversals.js +1 -1
- package/esm/resources/Treasury/DebitReversals.js.map +1 -1
- package/esm/resources/Treasury/FinancialAccountFeatures.d.ts +0 -5
- package/esm/resources/Treasury/FinancialAccounts.d.ts +1 -34
- package/esm/resources/Treasury/FinancialAccounts.js +5 -5
- package/esm/resources/Treasury/FinancialAccounts.js.map +1 -1
- package/esm/resources/Treasury/InboundTransfers.js +2 -2
- package/esm/resources/Treasury/InboundTransfers.js.map +1 -1
- package/esm/resources/Treasury/OutboundPayments.d.ts +0 -8
- package/esm/resources/Treasury/OutboundPayments.js +2 -2
- package/esm/resources/Treasury/OutboundPayments.js.map +1 -1
- package/esm/resources/Treasury/OutboundTransfers.d.ts +0 -44
- package/esm/resources/Treasury/OutboundTransfers.js +2 -2
- package/esm/resources/Treasury/OutboundTransfers.js.map +1 -1
- package/esm/resources/Treasury/ReceivedCredits.d.ts +0 -22
- package/esm/resources/Treasury/ReceivedCredits.js +1 -1
- package/esm/resources/Treasury/ReceivedCredits.js.map +1 -1
- package/esm/resources/Treasury/ReceivedDebits.d.ts +0 -26
- package/esm/resources/Treasury/ReceivedDebits.js +1 -1
- package/esm/resources/Treasury/ReceivedDebits.js.map +1 -1
- package/esm/resources/Treasury/TransactionEntries.js +1 -1
- package/esm/resources/Treasury/TransactionEntries.js.map +1 -1
- package/esm/resources/Treasury/Transactions.js +1 -1
- package/esm/resources/Treasury/Transactions.js.map +1 -1
- package/esm/resources/Treasury/index.d.ts +33 -33
- package/esm/resources/V2/Billing/index.d.ts +6 -45
- package/esm/resources/V2/Billing/index.js +0 -8
- package/esm/resources/V2/Billing/index.js.map +1 -1
- package/esm/resources/V2/Commerce/ProductCatalog/Imports.d.ts +2 -2
- package/esm/resources/V2/Commerce/ProductCatalog/Imports.js +1 -1
- package/esm/resources/V2/Commerce/ProductCatalog/Imports.js.map +1 -1
- package/esm/resources/V2/Core/AccountLinks.d.ts +4 -4
- package/esm/resources/V2/Core/AccountTokens.d.ts +32 -14
- package/esm/resources/V2/Core/AccountTokens.js +6 -2
- package/esm/resources/V2/Core/AccountTokens.js.map +1 -1
- package/esm/resources/V2/Core/Accounts/PersonTokens.d.ts +1 -1
- package/esm/resources/V2/Core/Accounts/PersonTokens.js +3 -3
- package/esm/resources/V2/Core/Accounts/PersonTokens.js.map +1 -1
- package/esm/resources/V2/Core/Accounts/Persons.d.ts +3 -3
- package/esm/resources/V2/Core/Accounts/Persons.js +7 -7
- package/esm/resources/V2/Core/Accounts/Persons.js.map +1 -1
- package/esm/resources/V2/Core/Accounts.d.ts +233 -1171
- package/esm/resources/V2/Core/Accounts.js +4 -4
- package/esm/resources/V2/Core/Accounts.js.map +1 -1
- package/esm/resources/V2/Core/EventDestinations.d.ts +2 -2
- package/esm/resources/V2/Core/EventDestinations.js +6 -6
- package/esm/resources/V2/Core/EventDestinations.js.map +1 -1
- package/esm/resources/V2/Core/Events.d.ts +8 -1126
- package/esm/resources/V2/Core/Events.js +3 -2
- package/esm/resources/V2/Core/Events.js.map +1 -1
- package/esm/resources/V2/Core/index.d.ts +19 -29
- package/esm/resources/V2/Core/index.js +0 -4
- package/esm/resources/V2/Core/index.js.map +1 -1
- package/esm/resources/V2/index.d.ts +0 -27
- package/esm/resources/V2/index.js +0 -14
- package/esm/resources/V2/index.js.map +1 -1
- package/esm/resources/WebhookEndpoints.d.ts +3 -3
- package/esm/resources/WebhookEndpoints.js +3 -3
- package/esm/resources/WebhookEndpoints.js.map +1 -1
- package/esm/resources.d.ts +0 -10
- package/esm/resources.js +0 -131
- package/esm/resources.js.map +1 -1
- package/esm/stripe.core.d.ts +30 -69
- package/esm/stripe.core.js +20 -32
- package/esm/stripe.core.js.map +1 -1
- package/esm/stripe.esm.node.d.ts +29 -70
- package/esm/stripe.esm.node.js +15 -32
- package/esm/stripe.esm.node.js.map +1 -1
- package/esm/utils.d.ts +1 -3
- package/esm/utils.js +13 -15
- package/esm/utils.js.map +1 -1
- package/package.json +1 -1
- package/cjs/StripeEventNotificationHandler.d.ts +0 -22
- package/cjs/StripeEventNotificationHandler.js +0 -147
- package/cjs/StripeEventNotificationHandler.js.map +0 -1
- package/cjs/resources/AccountNotices.d.ts +0 -140
- package/cjs/resources/AccountNotices.js +0 -29
- package/cjs/resources/AccountNotices.js.map +0 -1
- package/cjs/resources/Billing/Analytics/MeterUsage.d.ts +0 -84
- package/cjs/resources/Billing/Analytics/MeterUsage.js +0 -15
- package/cjs/resources/Billing/Analytics/MeterUsage.js.map +0 -1
- package/cjs/resources/Billing/Analytics/MeterUsageRows.d.ts +0 -32
- package/cjs/resources/Billing/Analytics/MeterUsageRows.js +0 -4
- package/cjs/resources/Billing/Analytics/MeterUsageRows.js.map +0 -1
- package/cjs/resources/Billing/Analytics/index.d.ts +0 -15
- package/cjs/resources/Billing/Analytics/index.js +0 -13
- package/cjs/resources/Billing/Analytics/index.js.map +0 -1
- package/cjs/resources/Capital/FinancingOffers.d.ts +0 -191
- package/cjs/resources/Capital/FinancingOffers.js +0 -30
- package/cjs/resources/Capital/FinancingOffers.js.map +0 -1
- package/cjs/resources/Capital/FinancingSummary.d.ts +0 -98
- package/cjs/resources/Capital/FinancingSummary.js +0 -15
- package/cjs/resources/Capital/FinancingSummary.js.map +0 -1
- package/cjs/resources/Capital/FinancingTransactions.d.ts +0 -143
- package/cjs/resources/Capital/FinancingTransactions.js +0 -24
- package/cjs/resources/Capital/FinancingTransactions.js.map +0 -1
- package/cjs/resources/Capital/index.d.ts +0 -25
- package/cjs/resources/Capital/index.js +0 -17
- package/cjs/resources/Capital/index.js.map +0 -1
- package/cjs/resources/FinancialConnections/AccountInferredBalances.d.ts +0 -24
- package/cjs/resources/FinancialConnections/AccountInferredBalances.js +0 -4
- package/cjs/resources/FinancialConnections/AccountInferredBalances.js.map +0 -1
- package/cjs/resources/FinancialConnections/Authorizations.d.ts +0 -87
- package/cjs/resources/FinancialConnections/Authorizations.js +0 -15
- package/cjs/resources/FinancialConnections/Authorizations.js.map +0 -1
- package/cjs/resources/FinancialConnections/Institutions.d.ts +0 -101
- package/cjs/resources/FinancialConnections/Institutions.js +0 -23
- package/cjs/resources/FinancialConnections/Institutions.js.map +0 -1
- package/cjs/resources/FxQuotes.d.ts +0 -212
- package/cjs/resources/FxQuotes.js +0 -29
- package/cjs/resources/FxQuotes.js.map +0 -1
- package/cjs/resources/Issuing/CreditUnderwritingRecords.d.ts +0 -640
- package/cjs/resources/Issuing/CreditUnderwritingRecords.js +0 -47
- package/cjs/resources/Issuing/CreditUnderwritingRecords.js.map +0 -1
- package/cjs/resources/Issuing/DisputeSettlementDetails.d.ts +0 -95
- package/cjs/resources/Issuing/DisputeSettlementDetails.js +0 -23
- package/cjs/resources/Issuing/DisputeSettlementDetails.js.map +0 -1
- package/cjs/resources/Issuing/FraudLiabilityDebits.d.ts +0 -68
- package/cjs/resources/Issuing/FraudLiabilityDebits.js +0 -23
- package/cjs/resources/Issuing/FraudLiabilityDebits.js.map +0 -1
- package/cjs/resources/Issuing/Settlements.d.ts +0 -85
- package/cjs/resources/Issuing/Settlements.js +0 -4
- package/cjs/resources/Issuing/Settlements.js.map +0 -1
- package/cjs/resources/Margins.d.ts +0 -115
- package/cjs/resources/Margins.js +0 -35
- package/cjs/resources/Margins.js.map +0 -1
- package/cjs/resources/Orders.d.ts +0 -4693
- package/cjs/resources/Orders.js +0 -457
- package/cjs/resources/Orders.js.map +0 -1
- package/cjs/resources/Privacy/RedactionJobValidationErrors.d.ts +0 -37
- package/cjs/resources/Privacy/RedactionJobValidationErrors.js +0 -4
- package/cjs/resources/Privacy/RedactionJobValidationErrors.js.map +0 -1
- package/cjs/resources/Privacy/RedactionJobs.d.ts +0 -229
- package/cjs/resources/Privacy/RedactionJobs.js +0 -73
- package/cjs/resources/Privacy/RedactionJobs.js.map +0 -1
- package/cjs/resources/Privacy/index.d.ts +0 -22
- package/cjs/resources/Privacy/index.js +0 -13
- package/cjs/resources/Privacy/index.js.map +0 -1
- package/cjs/resources/ProductCatalog/TrialOffers.d.ts +0 -127
- package/cjs/resources/ProductCatalog/TrialOffers.js +0 -15
- package/cjs/resources/ProductCatalog/TrialOffers.js.map +0 -1
- package/cjs/resources/ProductCatalog/index.d.ts +0 -12
- package/cjs/resources/ProductCatalog/index.js +0 -13
- package/cjs/resources/ProductCatalog/index.js.map +0 -1
- package/cjs/resources/QuoteLines.d.ts +0 -507
- package/cjs/resources/QuoteLines.js +0 -4
- package/cjs/resources/QuoteLines.js.map +0 -1
- package/cjs/resources/QuotePreviewInvoices.d.ts +0 -1116
- package/cjs/resources/QuotePreviewInvoices.js +0 -4
- package/cjs/resources/QuotePreviewInvoices.js.map +0 -1
- package/cjs/resources/QuotePreviewSubscriptionSchedules.d.ts +0 -733
- package/cjs/resources/QuotePreviewSubscriptionSchedules.js +0 -4
- package/cjs/resources/QuotePreviewSubscriptionSchedules.js.map +0 -1
- package/cjs/resources/SharedPayment/GrantedTokens.d.ts +0 -1089
- package/cjs/resources/SharedPayment/GrantedTokens.js +0 -15
- package/cjs/resources/SharedPayment/GrantedTokens.js.map +0 -1
- package/cjs/resources/SharedPayment/IssuedTokens.d.ts +0 -308
- package/cjs/resources/SharedPayment/IssuedTokens.js +0 -27
- package/cjs/resources/SharedPayment/IssuedTokens.js.map +0 -1
- package/cjs/resources/SharedPayment/index.d.ts +0 -19
- package/cjs/resources/SharedPayment/index.js +0 -15
- package/cjs/resources/SharedPayment/index.js.map +0 -1
- package/cjs/resources/Tax/Forms.d.ts +0 -230
- package/cjs/resources/Tax/Forms.js +0 -32
- package/cjs/resources/Tax/Forms.js.map +0 -1
- package/cjs/resources/Tax/Locations.d.ts +0 -108
- package/cjs/resources/Tax/Locations.js +0 -33
- package/cjs/resources/Tax/Locations.js.map +0 -1
- package/cjs/resources/Terminal/ReaderCollectedData.d.ts +0 -52
- package/cjs/resources/Terminal/ReaderCollectedData.js +0 -15
- package/cjs/resources/Terminal/ReaderCollectedData.js.map +0 -1
- package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +0 -68
- package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js +0 -21
- package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js.map +0 -1
- package/cjs/resources/TestHelpers/SharedPayment/index.d.ts +0 -8
- package/cjs/resources/TestHelpers/SharedPayment/index.js +0 -13
- package/cjs/resources/TestHelpers/SharedPayment/index.js.map +0 -1
- package/cjs/resources/V2/Billing/BillSettingVersions.d.ts +0 -75
- package/cjs/resources/V2/Billing/BillSettingVersions.js +0 -4
- package/cjs/resources/V2/Billing/BillSettingVersions.js.map +0 -1
- package/cjs/resources/V2/Billing/BillSettings/Versions.d.ts +0 -33
- package/cjs/resources/V2/Billing/BillSettings/Versions.js +0 -23
- package/cjs/resources/V2/Billing/BillSettings/Versions.js.map +0 -1
- package/cjs/resources/V2/Billing/BillSettings.d.ts +0 -284
- package/cjs/resources/V2/Billing/BillSettings.js +0 -41
- package/cjs/resources/V2/Billing/BillSettings.js.map +0 -1
- package/cjs/resources/V2/Billing/Cadences.d.ts +0 -951
- package/cjs/resources/V2/Billing/Cadences.js +0 -198
- package/cjs/resources/V2/Billing/Cadences.js.map +0 -1
- package/cjs/resources/V2/Billing/CollectionSettingVersions.d.ts +0 -240
- package/cjs/resources/V2/Billing/CollectionSettingVersions.js +0 -4
- package/cjs/resources/V2/Billing/CollectionSettingVersions.js.map +0 -1
- package/cjs/resources/V2/Billing/CollectionSettings/Versions.d.ts +0 -33
- package/cjs/resources/V2/Billing/CollectionSettings/Versions.js +0 -70
- package/cjs/resources/V2/Billing/CollectionSettings/Versions.js.map +0 -1
- package/cjs/resources/V2/Billing/CollectionSettings.d.ts +0 -779
- package/cjs/resources/V2/Billing/CollectionSettings.js +0 -166
- package/cjs/resources/V2/Billing/CollectionSettings.js.map +0 -1
- package/cjs/resources/V2/Billing/Profiles.d.ts +0 -166
- package/cjs/resources/V2/Billing/Profiles.js +0 -35
- package/cjs/resources/V2/Billing/Profiles.js.map +0 -1
- package/cjs/resources/V2/Core/BatchJobs.d.ts +0 -373
- package/cjs/resources/V2/Core/BatchJobs.js +0 -225
- package/cjs/resources/V2/Core/BatchJobs.js.map +0 -1
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.d.ts +0 -285
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.js +0 -54
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.js.map +0 -1
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.d.ts +0 -254
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.js +0 -62
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.js.map +0 -1
- package/cjs/resources/V2/Core/Vault/index.d.ts +0 -28
- package/cjs/resources/V2/Core/Vault/index.js +0 -15
- package/cjs/resources/V2/Core/Vault/index.js.map +0 -1
- package/cjs/resources/V2/Data/Reporting/QueryRuns.d.ts +0 -156
- package/cjs/resources/V2/Data/Reporting/QueryRuns.js +0 -46
- package/cjs/resources/V2/Data/Reporting/QueryRuns.js.map +0 -1
- package/cjs/resources/V2/Data/Reporting/index.d.ts +0 -13
- package/cjs/resources/V2/Data/Reporting/index.js +0 -13
- package/cjs/resources/V2/Data/Reporting/index.js.map +0 -1
- package/cjs/resources/V2/Data/index.d.ts +0 -10
- package/cjs/resources/V2/Data/index.js +0 -13
- package/cjs/resources/V2/Data/index.js.map +0 -1
- package/cjs/resources/V2/EventMisc.d.ts +0 -0
- package/cjs/resources/V2/EventMisc.js +0 -2
- package/cjs/resources/V2/EventMisc.js.map +0 -1
- package/cjs/resources/V2/Extend/WorkflowRuns.d.ts +0 -166
- package/cjs/resources/V2/Extend/WorkflowRuns.js +0 -23
- package/cjs/resources/V2/Extend/WorkflowRuns.js.map +0 -1
- package/cjs/resources/V2/Extend/Workflows.d.ts +0 -123
- package/cjs/resources/V2/Extend/Workflows.js +0 -30
- package/cjs/resources/V2/Extend/Workflows.js.map +0 -1
- package/cjs/resources/V2/Extend/index.d.ts +0 -20
- package/cjs/resources/V2/Extend/index.js +0 -15
- package/cjs/resources/V2/Extend/index.js.map +0 -1
- package/cjs/resources/V2/FinancialAddressCreditSimulations.d.ts +0 -14
- package/cjs/resources/V2/FinancialAddressCreditSimulations.js +0 -4
- package/cjs/resources/V2/FinancialAddressCreditSimulations.js.map +0 -1
- package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.d.ts +0 -19
- package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.js +0 -4
- package/cjs/resources/V2/FinancialAddressGeneratedMicrodeposits.js.map +0 -1
- package/cjs/resources/V2/Iam/ActivityLogs.d.ts +0 -204
- package/cjs/resources/V2/Iam/ActivityLogs.js +0 -17
- package/cjs/resources/V2/Iam/ActivityLogs.js.map +0 -1
- package/cjs/resources/V2/Iam/index.d.ts +0 -12
- package/cjs/resources/V2/Iam/index.js +0 -13
- package/cjs/resources/V2/Iam/index.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/Adjustments.d.ts +0 -135
- package/cjs/resources/V2/MoneyManagement/Adjustments.js +0 -23
- package/cjs/resources/V2/MoneyManagement/Adjustments.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.d.ts +0 -244
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +0 -44
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/FinancialAddresses.d.ts +0 -215
- package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js +0 -31
- package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/InboundTransfers.d.ts +0 -254
- package/cjs/resources/V2/MoneyManagement/InboundTransfers.js +0 -30
- package/cjs/resources/V2/MoneyManagement/InboundTransfers.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +0 -212
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -22
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/OutboundPayments.d.ts +0 -388
- package/cjs/resources/V2/MoneyManagement/OutboundPayments.js +0 -41
- package/cjs/resources/V2/MoneyManagement/OutboundPayments.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +0 -299
- package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -49
- package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.d.ts +0 -330
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js +0 -39
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.d.ts +0 -243
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.js +0 -44
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +0 -96
- package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +0 -17
- package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/ReceivedCredits.d.ts +0 -292
- package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js +0 -23
- package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.d.ts +0 -161
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js +0 -23
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/TransactionEntries.d.ts +0 -165
- package/cjs/resources/V2/MoneyManagement/TransactionEntries.js +0 -23
- package/cjs/resources/V2/MoneyManagement/TransactionEntries.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/Transactions.d.ts +0 -196
- package/cjs/resources/V2/MoneyManagement/Transactions.js +0 -23
- package/cjs/resources/V2/MoneyManagement/Transactions.js.map +0 -1
- package/cjs/resources/V2/MoneyManagement/index.d.ts +0 -104
- package/cjs/resources/V2/MoneyManagement/index.js +0 -39
- package/cjs/resources/V2/MoneyManagement/index.js.map +0 -1
- package/cjs/resources/V2/Network/BusinessProfiles.d.ts +0 -96
- package/cjs/resources/V2/Network/BusinessProfiles.js +0 -21
- package/cjs/resources/V2/Network/BusinessProfiles.js.map +0 -1
- package/cjs/resources/V2/Network/index.d.ts +0 -13
- package/cjs/resources/V2/Network/index.js +0 -13
- package/cjs/resources/V2/Network/index.js.map +0 -1
- package/cjs/resources/V2/OrchestratedCommerce/Agreements.d.ts +0 -147
- package/cjs/resources/V2/OrchestratedCommerce/Agreements.js +0 -41
- package/cjs/resources/V2/OrchestratedCommerce/Agreements.js.map +0 -1
- package/cjs/resources/V2/OrchestratedCommerce/index.d.ts +0 -16
- package/cjs/resources/V2/OrchestratedCommerce/index.js +0 -13
- package/cjs/resources/V2/OrchestratedCommerce/index.js.map +0 -1
- package/cjs/resources/V2/TestHelpers/FinancialAddresses.d.ts +0 -44
- package/cjs/resources/V2/TestHelpers/FinancialAddresses.js +0 -23
- package/cjs/resources/V2/TestHelpers/FinancialAddresses.js.map +0 -1
- package/cjs/resources/V2/TestHelpers/index.d.ts +0 -8
- package/cjs/resources/V2/TestHelpers/index.js +0 -13
- package/cjs/resources/V2/TestHelpers/index.js.map +0 -1
- package/esm/StripeEventNotificationHandler.d.ts +0 -22
- package/esm/StripeEventNotificationHandler.js +0 -143
- package/esm/StripeEventNotificationHandler.js.map +0 -1
- package/esm/resources/AccountNotices.d.ts +0 -140
- package/esm/resources/AccountNotices.js +0 -25
- package/esm/resources/AccountNotices.js.map +0 -1
- package/esm/resources/Billing/Analytics/MeterUsage.d.ts +0 -84
- package/esm/resources/Billing/Analytics/MeterUsage.js +0 -11
- package/esm/resources/Billing/Analytics/MeterUsage.js.map +0 -1
- package/esm/resources/Billing/Analytics/MeterUsageRows.d.ts +0 -32
- package/esm/resources/Billing/Analytics/MeterUsageRows.js +0 -3
- package/esm/resources/Billing/Analytics/MeterUsageRows.js.map +0 -1
- package/esm/resources/Billing/Analytics/index.d.ts +0 -15
- package/esm/resources/Billing/Analytics/index.js +0 -9
- package/esm/resources/Billing/Analytics/index.js.map +0 -1
- package/esm/resources/Capital/FinancingOffers.d.ts +0 -191
- package/esm/resources/Capital/FinancingOffers.js +0 -26
- package/esm/resources/Capital/FinancingOffers.js.map +0 -1
- package/esm/resources/Capital/FinancingSummary.d.ts +0 -98
- package/esm/resources/Capital/FinancingSummary.js +0 -11
- package/esm/resources/Capital/FinancingSummary.js.map +0 -1
- package/esm/resources/Capital/FinancingTransactions.d.ts +0 -143
- package/esm/resources/Capital/FinancingTransactions.js +0 -20
- package/esm/resources/Capital/FinancingTransactions.js.map +0 -1
- package/esm/resources/Capital/index.d.ts +0 -25
- package/esm/resources/Capital/index.js +0 -13
- package/esm/resources/Capital/index.js.map +0 -1
- package/esm/resources/FinancialConnections/AccountInferredBalances.d.ts +0 -24
- package/esm/resources/FinancialConnections/AccountInferredBalances.js +0 -3
- package/esm/resources/FinancialConnections/AccountInferredBalances.js.map +0 -1
- package/esm/resources/FinancialConnections/Authorizations.d.ts +0 -87
- package/esm/resources/FinancialConnections/Authorizations.js +0 -11
- package/esm/resources/FinancialConnections/Authorizations.js.map +0 -1
- package/esm/resources/FinancialConnections/Institutions.d.ts +0 -101
- package/esm/resources/FinancialConnections/Institutions.js +0 -19
- package/esm/resources/FinancialConnections/Institutions.js.map +0 -1
- package/esm/resources/FxQuotes.d.ts +0 -212
- package/esm/resources/FxQuotes.js +0 -25
- package/esm/resources/FxQuotes.js.map +0 -1
- package/esm/resources/Issuing/CreditUnderwritingRecords.d.ts +0 -640
- package/esm/resources/Issuing/CreditUnderwritingRecords.js +0 -43
- package/esm/resources/Issuing/CreditUnderwritingRecords.js.map +0 -1
- package/esm/resources/Issuing/DisputeSettlementDetails.d.ts +0 -95
- package/esm/resources/Issuing/DisputeSettlementDetails.js +0 -19
- package/esm/resources/Issuing/DisputeSettlementDetails.js.map +0 -1
- package/esm/resources/Issuing/FraudLiabilityDebits.d.ts +0 -68
- package/esm/resources/Issuing/FraudLiabilityDebits.js +0 -19
- package/esm/resources/Issuing/FraudLiabilityDebits.js.map +0 -1
- package/esm/resources/Issuing/Settlements.d.ts +0 -85
- package/esm/resources/Issuing/Settlements.js +0 -3
- package/esm/resources/Issuing/Settlements.js.map +0 -1
- package/esm/resources/Margins.d.ts +0 -115
- package/esm/resources/Margins.js +0 -31
- package/esm/resources/Margins.js.map +0 -1
- package/esm/resources/Orders.d.ts +0 -4693
- package/esm/resources/Orders.js +0 -453
- package/esm/resources/Orders.js.map +0 -1
- package/esm/resources/Privacy/RedactionJobValidationErrors.d.ts +0 -37
- package/esm/resources/Privacy/RedactionJobValidationErrors.js +0 -3
- package/esm/resources/Privacy/RedactionJobValidationErrors.js.map +0 -1
- package/esm/resources/Privacy/RedactionJobs.d.ts +0 -229
- package/esm/resources/Privacy/RedactionJobs.js +0 -69
- package/esm/resources/Privacy/RedactionJobs.js.map +0 -1
- package/esm/resources/Privacy/index.d.ts +0 -22
- package/esm/resources/Privacy/index.js +0 -9
- package/esm/resources/Privacy/index.js.map +0 -1
- package/esm/resources/ProductCatalog/TrialOffers.d.ts +0 -127
- package/esm/resources/ProductCatalog/TrialOffers.js +0 -11
- package/esm/resources/ProductCatalog/TrialOffers.js.map +0 -1
- package/esm/resources/ProductCatalog/index.d.ts +0 -12
- package/esm/resources/ProductCatalog/index.js +0 -9
- package/esm/resources/ProductCatalog/index.js.map +0 -1
- package/esm/resources/QuoteLines.d.ts +0 -507
- package/esm/resources/QuoteLines.js +0 -3
- package/esm/resources/QuoteLines.js.map +0 -1
- package/esm/resources/QuotePreviewInvoices.d.ts +0 -1116
- package/esm/resources/QuotePreviewInvoices.js +0 -3
- package/esm/resources/QuotePreviewInvoices.js.map +0 -1
- package/esm/resources/QuotePreviewSubscriptionSchedules.d.ts +0 -733
- package/esm/resources/QuotePreviewSubscriptionSchedules.js +0 -3
- package/esm/resources/QuotePreviewSubscriptionSchedules.js.map +0 -1
- package/esm/resources/SharedPayment/GrantedTokens.d.ts +0 -1089
- package/esm/resources/SharedPayment/GrantedTokens.js +0 -11
- package/esm/resources/SharedPayment/GrantedTokens.js.map +0 -1
- package/esm/resources/SharedPayment/IssuedTokens.d.ts +0 -308
- package/esm/resources/SharedPayment/IssuedTokens.js +0 -23
- package/esm/resources/SharedPayment/IssuedTokens.js.map +0 -1
- package/esm/resources/SharedPayment/index.d.ts +0 -19
- package/esm/resources/SharedPayment/index.js +0 -11
- package/esm/resources/SharedPayment/index.js.map +0 -1
- package/esm/resources/Tax/Forms.d.ts +0 -230
- package/esm/resources/Tax/Forms.js +0 -28
- package/esm/resources/Tax/Forms.js.map +0 -1
- package/esm/resources/Tax/Locations.d.ts +0 -108
- package/esm/resources/Tax/Locations.js +0 -29
- package/esm/resources/Tax/Locations.js.map +0 -1
- package/esm/resources/Terminal/ReaderCollectedData.d.ts +0 -52
- package/esm/resources/Terminal/ReaderCollectedData.js +0 -11
- package/esm/resources/Terminal/ReaderCollectedData.js.map +0 -1
- package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +0 -68
- package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js +0 -17
- package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js.map +0 -1
- package/esm/resources/TestHelpers/SharedPayment/index.d.ts +0 -8
- package/esm/resources/TestHelpers/SharedPayment/index.js +0 -9
- package/esm/resources/TestHelpers/SharedPayment/index.js.map +0 -1
- package/esm/resources/V2/Billing/BillSettingVersions.d.ts +0 -75
- package/esm/resources/V2/Billing/BillSettingVersions.js +0 -3
- package/esm/resources/V2/Billing/BillSettingVersions.js.map +0 -1
- package/esm/resources/V2/Billing/BillSettings/Versions.d.ts +0 -33
- package/esm/resources/V2/Billing/BillSettings/Versions.js +0 -19
- package/esm/resources/V2/Billing/BillSettings/Versions.js.map +0 -1
- package/esm/resources/V2/Billing/BillSettings.d.ts +0 -284
- package/esm/resources/V2/Billing/BillSettings.js +0 -37
- package/esm/resources/V2/Billing/BillSettings.js.map +0 -1
- package/esm/resources/V2/Billing/Cadences.d.ts +0 -951
- package/esm/resources/V2/Billing/Cadences.js +0 -194
- package/esm/resources/V2/Billing/Cadences.js.map +0 -1
- package/esm/resources/V2/Billing/CollectionSettingVersions.d.ts +0 -240
- package/esm/resources/V2/Billing/CollectionSettingVersions.js +0 -3
- package/esm/resources/V2/Billing/CollectionSettingVersions.js.map +0 -1
- package/esm/resources/V2/Billing/CollectionSettings/Versions.d.ts +0 -33
- package/esm/resources/V2/Billing/CollectionSettings/Versions.js +0 -66
- package/esm/resources/V2/Billing/CollectionSettings/Versions.js.map +0 -1
- package/esm/resources/V2/Billing/CollectionSettings.d.ts +0 -779
- package/esm/resources/V2/Billing/CollectionSettings.js +0 -162
- package/esm/resources/V2/Billing/CollectionSettings.js.map +0 -1
- package/esm/resources/V2/Billing/Profiles.d.ts +0 -166
- package/esm/resources/V2/Billing/Profiles.js +0 -31
- package/esm/resources/V2/Billing/Profiles.js.map +0 -1
- package/esm/resources/V2/Core/BatchJobs.d.ts +0 -373
- package/esm/resources/V2/Core/BatchJobs.js +0 -221
- package/esm/resources/V2/Core/BatchJobs.js.map +0 -1
- package/esm/resources/V2/Core/Vault/GbBankAccounts.d.ts +0 -285
- package/esm/resources/V2/Core/Vault/GbBankAccounts.js +0 -50
- package/esm/resources/V2/Core/Vault/GbBankAccounts.js.map +0 -1
- package/esm/resources/V2/Core/Vault/UsBankAccounts.d.ts +0 -254
- package/esm/resources/V2/Core/Vault/UsBankAccounts.js +0 -58
- package/esm/resources/V2/Core/Vault/UsBankAccounts.js.map +0 -1
- package/esm/resources/V2/Core/Vault/index.d.ts +0 -28
- package/esm/resources/V2/Core/Vault/index.js +0 -11
- package/esm/resources/V2/Core/Vault/index.js.map +0 -1
- package/esm/resources/V2/Data/Reporting/QueryRuns.d.ts +0 -156
- package/esm/resources/V2/Data/Reporting/QueryRuns.js +0 -42
- package/esm/resources/V2/Data/Reporting/QueryRuns.js.map +0 -1
- package/esm/resources/V2/Data/Reporting/index.d.ts +0 -13
- package/esm/resources/V2/Data/Reporting/index.js +0 -9
- package/esm/resources/V2/Data/Reporting/index.js.map +0 -1
- package/esm/resources/V2/Data/index.d.ts +0 -10
- package/esm/resources/V2/Data/index.js +0 -9
- package/esm/resources/V2/Data/index.js.map +0 -1
- package/esm/resources/V2/EventMisc.d.ts +0 -0
- package/esm/resources/V2/EventMisc.js +0 -2
- package/esm/resources/V2/EventMisc.js.map +0 -1
- package/esm/resources/V2/Extend/WorkflowRuns.d.ts +0 -166
- package/esm/resources/V2/Extend/WorkflowRuns.js +0 -19
- package/esm/resources/V2/Extend/WorkflowRuns.js.map +0 -1
- package/esm/resources/V2/Extend/Workflows.d.ts +0 -123
- package/esm/resources/V2/Extend/Workflows.js +0 -26
- package/esm/resources/V2/Extend/Workflows.js.map +0 -1
- package/esm/resources/V2/Extend/index.d.ts +0 -20
- package/esm/resources/V2/Extend/index.js +0 -11
- package/esm/resources/V2/Extend/index.js.map +0 -1
- package/esm/resources/V2/FinancialAddressCreditSimulations.d.ts +0 -14
- package/esm/resources/V2/FinancialAddressCreditSimulations.js +0 -3
- package/esm/resources/V2/FinancialAddressCreditSimulations.js.map +0 -1
- package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.d.ts +0 -19
- package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.js +0 -3
- package/esm/resources/V2/FinancialAddressGeneratedMicrodeposits.js.map +0 -1
- package/esm/resources/V2/Iam/ActivityLogs.d.ts +0 -204
- package/esm/resources/V2/Iam/ActivityLogs.js +0 -13
- package/esm/resources/V2/Iam/ActivityLogs.js.map +0 -1
- package/esm/resources/V2/Iam/index.d.ts +0 -12
- package/esm/resources/V2/Iam/index.js +0 -9
- package/esm/resources/V2/Iam/index.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/Adjustments.d.ts +0 -135
- package/esm/resources/V2/MoneyManagement/Adjustments.js +0 -19
- package/esm/resources/V2/MoneyManagement/Adjustments.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.d.ts +0 -244
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +0 -40
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/FinancialAddresses.d.ts +0 -215
- package/esm/resources/V2/MoneyManagement/FinancialAddresses.js +0 -27
- package/esm/resources/V2/MoneyManagement/FinancialAddresses.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/InboundTransfers.d.ts +0 -254
- package/esm/resources/V2/MoneyManagement/InboundTransfers.js +0 -26
- package/esm/resources/V2/MoneyManagement/InboundTransfers.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +0 -212
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -18
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/OutboundPayments.d.ts +0 -388
- package/esm/resources/V2/MoneyManagement/OutboundPayments.js +0 -37
- package/esm/resources/V2/MoneyManagement/OutboundPayments.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +0 -299
- package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -45
- package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.d.ts +0 -330
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.js +0 -35
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/PayoutMethods.d.ts +0 -243
- package/esm/resources/V2/MoneyManagement/PayoutMethods.js +0 -40
- package/esm/resources/V2/MoneyManagement/PayoutMethods.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +0 -96
- package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +0 -13
- package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/ReceivedCredits.d.ts +0 -292
- package/esm/resources/V2/MoneyManagement/ReceivedCredits.js +0 -19
- package/esm/resources/V2/MoneyManagement/ReceivedCredits.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.d.ts +0 -161
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.js +0 -19
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/TransactionEntries.d.ts +0 -165
- package/esm/resources/V2/MoneyManagement/TransactionEntries.js +0 -19
- package/esm/resources/V2/MoneyManagement/TransactionEntries.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/Transactions.d.ts +0 -196
- package/esm/resources/V2/MoneyManagement/Transactions.js +0 -19
- package/esm/resources/V2/MoneyManagement/Transactions.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/index.d.ts +0 -104
- package/esm/resources/V2/MoneyManagement/index.js +0 -35
- package/esm/resources/V2/MoneyManagement/index.js.map +0 -1
- package/esm/resources/V2/Network/BusinessProfiles.d.ts +0 -96
- package/esm/resources/V2/Network/BusinessProfiles.js +0 -17
- package/esm/resources/V2/Network/BusinessProfiles.js.map +0 -1
- package/esm/resources/V2/Network/index.d.ts +0 -13
- package/esm/resources/V2/Network/index.js +0 -9
- package/esm/resources/V2/Network/index.js.map +0 -1
- package/esm/resources/V2/OrchestratedCommerce/Agreements.d.ts +0 -147
- package/esm/resources/V2/OrchestratedCommerce/Agreements.js +0 -37
- package/esm/resources/V2/OrchestratedCommerce/Agreements.js.map +0 -1
- package/esm/resources/V2/OrchestratedCommerce/index.d.ts +0 -16
- package/esm/resources/V2/OrchestratedCommerce/index.js +0 -9
- package/esm/resources/V2/OrchestratedCommerce/index.js.map +0 -1
- package/esm/resources/V2/TestHelpers/FinancialAddresses.d.ts +0 -44
- package/esm/resources/V2/TestHelpers/FinancialAddresses.js +0 -19
- package/esm/resources/V2/TestHelpers/FinancialAddresses.js.map +0 -1
- package/esm/resources/V2/TestHelpers/index.d.ts +0 -8
- package/esm/resources/V2/TestHelpers/index.js +0 -9
- package/esm/resources/V2/TestHelpers/index.js.map +0 -1
|
@@ -19,13 +19,13 @@ export class PaymentMethodConfigurationResource extends StripeResource {
|
|
|
19
19
|
* Retrieve payment method configuration
|
|
20
20
|
*/
|
|
21
21
|
retrieve(id, params, options) {
|
|
22
|
-
return this._makeRequest('GET', `/v1/payment_method_configurations/${id}`, params, options);
|
|
22
|
+
return this._makeRequest('GET', `/v1/payment_method_configurations/${encodeURIComponent(id)}`, params, options);
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* Update payment method configuration
|
|
26
26
|
*/
|
|
27
27
|
update(id, params, options) {
|
|
28
|
-
return this._makeRequest('POST', `/v1/payment_method_configurations/${id}`, params, options);
|
|
28
|
+
return this._makeRequest('POST', `/v1/payment_method_configurations/${encodeURIComponent(id)}`, params, options);
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
31
|
//# sourceMappingURL=PaymentMethodConfigurations.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PaymentMethodConfigurations.js","sourceRoot":"","sources":["../../src/resources/PaymentMethodConfigurations.ts"],"names":[],"mappings":"AAAA,uCAAuC;AAEvC,OAAO,EAAC,cAAc,EAAC,MAAM,sBAAsB,CAAC;AAIpD,MAAM,OAAO,kCAAmC,SAAQ,cAAc;IACpE;;OAEG;IACH,IAAI,CACF,MAA6C,EAC7C,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,KAAK,EACL,mCAAmC,EACnC,MAAM,EACN,OAAO,EACP;YACE,UAAU,EAAE,MAAM;SACnB,CACK,CAAC;IACX,CAAC;IACD;;OAEG;IACH,MAAM,CACJ,MAA+C,EAC/C,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,mCAAmC,EACnC,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;OAEG;IACH,QAAQ,CACN,EAAU,EACV,MAAiD,EACjD,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,KAAK,EACL,qCAAqC,EAAE,EAAE,
|
|
1
|
+
{"version":3,"file":"PaymentMethodConfigurations.js","sourceRoot":"","sources":["../../src/resources/PaymentMethodConfigurations.ts"],"names":[],"mappings":"AAAA,uCAAuC;AAEvC,OAAO,EAAC,cAAc,EAAC,MAAM,sBAAsB,CAAC;AAIpD,MAAM,OAAO,kCAAmC,SAAQ,cAAc;IACpE;;OAEG;IACH,IAAI,CACF,MAA6C,EAC7C,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,KAAK,EACL,mCAAmC,EACnC,MAAM,EACN,OAAO,EACP;YACE,UAAU,EAAE,MAAM;SACnB,CACK,CAAC;IACX,CAAC;IACD;;OAEG;IACH,MAAM,CACJ,MAA+C,EAC/C,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,mCAAmC,EACnC,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;OAEG;IACH,QAAQ,CACN,EAAU,EACV,MAAiD,EACjD,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,KAAK,EACL,qCAAqC,kBAAkB,CAAC,EAAE,CAAC,EAAE,EAC7D,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;OAEG;IACH,MAAM,CACJ,EAAU,EACV,MAA+C,EAC/C,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,qCAAqC,kBAAkB,CAAC,EAAE,CAAC,EAAE,EAC7D,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;CACF"}
|
|
@@ -19,13 +19,13 @@ export class PaymentMethodDomainResource extends StripeResource {
|
|
|
19
19
|
* Retrieves the details of an existing payment method domain.
|
|
20
20
|
*/
|
|
21
21
|
retrieve(id, params, options) {
|
|
22
|
-
return this._makeRequest('GET', `/v1/payment_method_domains/${id}`, params, options);
|
|
22
|
+
return this._makeRequest('GET', `/v1/payment_method_domains/${encodeURIComponent(id)}`, params, options);
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* Updates an existing payment method domain.
|
|
26
26
|
*/
|
|
27
27
|
update(id, params, options) {
|
|
28
|
-
return this._makeRequest('POST', `/v1/payment_method_domains/${id}`, params, options);
|
|
28
|
+
return this._makeRequest('POST', `/v1/payment_method_domains/${encodeURIComponent(id)}`, params, options);
|
|
29
29
|
}
|
|
30
30
|
/**
|
|
31
31
|
* Some payment methods might require additional steps to register a domain. If the requirements weren't satisfied when the domain was created, the payment method will be inactive on the domain.
|
|
@@ -36,7 +36,7 @@ export class PaymentMethodDomainResource extends StripeResource {
|
|
|
36
36
|
* Related guides: [Payment method domains](https://docs.stripe.com/docs/payments/payment-methods/pmd-registration).
|
|
37
37
|
*/
|
|
38
38
|
validate(id, params, options) {
|
|
39
|
-
return this._makeRequest('POST', `/v1/payment_method_domains/${id}/validate`, params, options);
|
|
39
|
+
return this._makeRequest('POST', `/v1/payment_method_domains/${encodeURIComponent(id)}/validate`, params, options);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
42
|
//# sourceMappingURL=PaymentMethodDomains.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PaymentMethodDomains.js","sourceRoot":"","sources":["../../src/resources/PaymentMethodDomains.ts"],"names":[],"mappings":"AAAA,uCAAuC;AAEvC,OAAO,EAAC,cAAc,EAAC,MAAM,sBAAsB,CAAC;AAIpD,MAAM,OAAO,2BAA4B,SAAQ,cAAc;IAC7D;;OAEG;IACH,IAAI,CACF,MAAsC,EACtC,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,KAAK,EACL,4BAA4B,EAC5B,MAAM,EACN,OAAO,EACP;YACE,UAAU,EAAE,MAAM;SACnB,CACK,CAAC;IACX,CAAC;IACD;;OAEG;IACH,MAAM,CACJ,MAAuC,EACvC,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,4BAA4B,EAC5B,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;OAEG;IACH,QAAQ,CACN,EAAU,EACV,MAA0C,EAC1C,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,KAAK,EACL,8BAA8B,EAAE,EAAE,
|
|
1
|
+
{"version":3,"file":"PaymentMethodDomains.js","sourceRoot":"","sources":["../../src/resources/PaymentMethodDomains.ts"],"names":[],"mappings":"AAAA,uCAAuC;AAEvC,OAAO,EAAC,cAAc,EAAC,MAAM,sBAAsB,CAAC;AAIpD,MAAM,OAAO,2BAA4B,SAAQ,cAAc;IAC7D;;OAEG;IACH,IAAI,CACF,MAAsC,EACtC,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,KAAK,EACL,4BAA4B,EAC5B,MAAM,EACN,OAAO,EACP;YACE,UAAU,EAAE,MAAM;SACnB,CACK,CAAC;IACX,CAAC;IACD;;OAEG;IACH,MAAM,CACJ,MAAuC,EACvC,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,4BAA4B,EAC5B,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;OAEG;IACH,QAAQ,CACN,EAAU,EACV,MAA0C,EAC1C,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,KAAK,EACL,8BAA8B,kBAAkB,CAAC,EAAE,CAAC,EAAE,EACtD,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;OAEG;IACH,MAAM,CACJ,EAAU,EACV,MAAwC,EACxC,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,8BAA8B,kBAAkB,CAAC,EAAE,CAAC,EAAE,EACtD,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;;;;;;OAOG;IACH,QAAQ,CACN,EAAU,EACV,MAA0C,EAC1C,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,8BAA8B,kBAAkB,CAAC,EAAE,CAAC,WAAW,EAC/D,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;CACF"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { StripeResource } from '../StripeResource.js';
|
|
2
2
|
import { Customer } from './Customers.js';
|
|
3
|
-
import { Mandate } from './Mandates.js';
|
|
4
3
|
import { SetupAttempt } from './SetupAttempts.js';
|
|
5
4
|
import { Charge } from './Charges.js';
|
|
6
5
|
import { MetadataParam, Emptyable, AddressParam, PaginationParams, Metadata, Address } from '../shared.js';
|
|
@@ -69,6 +68,7 @@ export interface PaymentMethod {
|
|
|
69
68
|
bancontact?: PaymentMethod.Bancontact;
|
|
70
69
|
billie?: PaymentMethod.Billie;
|
|
71
70
|
billing_details: PaymentMethod.BillingDetails;
|
|
71
|
+
bizum?: PaymentMethod.Bizum;
|
|
72
72
|
blik?: PaymentMethod.Blik;
|
|
73
73
|
boleto?: PaymentMethod.Boleto;
|
|
74
74
|
card?: PaymentMethod.Card;
|
|
@@ -89,19 +89,13 @@ export interface PaymentMethod {
|
|
|
89
89
|
eps?: PaymentMethod.Eps;
|
|
90
90
|
fpx?: PaymentMethod.Fpx;
|
|
91
91
|
giropay?: PaymentMethod.Giropay;
|
|
92
|
-
gopay?: PaymentMethod.Gopay;
|
|
93
92
|
grabpay?: PaymentMethod.Grabpay;
|
|
94
|
-
id_bank_transfer?: PaymentMethod.IdBankTransfer;
|
|
95
93
|
ideal?: PaymentMethod.Ideal;
|
|
96
94
|
interac_present?: PaymentMethod.InteracPresent;
|
|
97
95
|
kakao_pay?: PaymentMethod.KakaoPay;
|
|
98
96
|
klarna?: PaymentMethod.Klarna;
|
|
99
97
|
konbini?: PaymentMethod.Konbini;
|
|
100
98
|
kr_card?: PaymentMethod.KrCard;
|
|
101
|
-
/**
|
|
102
|
-
* The Mandate object of the most recently created Mandate associated with this payment method
|
|
103
|
-
*/
|
|
104
|
-
latest_active_mandate?: Mandate | null;
|
|
105
99
|
link?: PaymentMethod.Link;
|
|
106
100
|
/**
|
|
107
101
|
* If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`.
|
|
@@ -122,27 +116,19 @@ export interface PaymentMethod {
|
|
|
122
116
|
payco?: PaymentMethod.Payco;
|
|
123
117
|
paynow?: PaymentMethod.Paynow;
|
|
124
118
|
paypal?: PaymentMethod.Paypal;
|
|
125
|
-
paypay?: PaymentMethod.Paypay;
|
|
126
119
|
payto?: PaymentMethod.Payto;
|
|
127
120
|
pix?: PaymentMethod.Pix;
|
|
128
121
|
promptpay?: PaymentMethod.Promptpay;
|
|
129
|
-
qris?: PaymentMethod.Qris;
|
|
130
122
|
/**
|
|
131
123
|
* Options to configure Radar. See [Radar Session](https://docs.stripe.com/radar/radar-session) for more information.
|
|
132
124
|
*/
|
|
133
125
|
radar_options?: PaymentMethod.RadarOptions;
|
|
134
|
-
rechnung?: PaymentMethod.Rechnung;
|
|
135
126
|
revolut_pay?: PaymentMethod.RevolutPay;
|
|
136
127
|
samsung_pay?: PaymentMethod.SamsungPay;
|
|
137
128
|
satispay?: PaymentMethod.Satispay;
|
|
129
|
+
scalapay?: PaymentMethod.Scalapay;
|
|
138
130
|
sepa_debit?: PaymentMethod.SepaDebit;
|
|
139
|
-
/**
|
|
140
|
-
* ID of the shared payment granted token used in the creation of this PaymentMethod.
|
|
141
|
-
*/
|
|
142
|
-
shared_payment_granted_token?: string | null;
|
|
143
|
-
shopeepay?: PaymentMethod.Shopeepay;
|
|
144
131
|
sofort?: PaymentMethod.Sofort;
|
|
145
|
-
stripe_balance?: PaymentMethod.StripeBalance;
|
|
146
132
|
sunbit?: PaymentMethod.Sunbit;
|
|
147
133
|
swish?: PaymentMethod.Swish;
|
|
148
134
|
twint?: PaymentMethod.Twint;
|
|
@@ -157,10 +143,6 @@ export interface PaymentMethod {
|
|
|
157
143
|
}
|
|
158
144
|
export declare namespace PaymentMethod {
|
|
159
145
|
interface AcssDebit {
|
|
160
|
-
/**
|
|
161
|
-
* Account number of the bank account.
|
|
162
|
-
*/
|
|
163
|
-
account_number?: string | null;
|
|
164
146
|
/**
|
|
165
147
|
* Name of the bank associated with the bank account.
|
|
166
148
|
*/
|
|
@@ -247,6 +229,8 @@ export declare namespace PaymentMethod {
|
|
|
247
229
|
*/
|
|
248
230
|
tax_id: string | null;
|
|
249
231
|
}
|
|
232
|
+
interface Bizum {
|
|
233
|
+
}
|
|
250
234
|
interface Blik {
|
|
251
235
|
}
|
|
252
236
|
interface Boleto {
|
|
@@ -442,16 +426,8 @@ export declare namespace PaymentMethod {
|
|
|
442
426
|
}
|
|
443
427
|
interface Giropay {
|
|
444
428
|
}
|
|
445
|
-
interface Gopay {
|
|
446
|
-
}
|
|
447
429
|
interface Grabpay {
|
|
448
430
|
}
|
|
449
|
-
interface IdBankTransfer {
|
|
450
|
-
bank: IdBankTransfer.Bank | null;
|
|
451
|
-
bank_code: string | null;
|
|
452
|
-
bank_name: string | null;
|
|
453
|
-
display_name: string | null;
|
|
454
|
-
}
|
|
455
431
|
interface Ideal {
|
|
456
432
|
/**
|
|
457
433
|
* The customer's bank, if provided. Can be one of `abn_amro`, `adyen`, `asn_bank`, `bunq`, `buut`, `finom`, `handelsbanken`, `ing`, `knab`, `mollie`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`.
|
|
@@ -614,10 +590,6 @@ export declare namespace PaymentMethod {
|
|
|
614
590
|
* Two-letter ISO code representing the buyer's country. Values are provided by PayPal directly (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
|
615
591
|
*/
|
|
616
592
|
country: string | null;
|
|
617
|
-
/**
|
|
618
|
-
* Uniquely identifies this particular PayPal account. You can use this attribute to check whether two PayPal accounts are the same.
|
|
619
|
-
*/
|
|
620
|
-
fingerprint?: string | null;
|
|
621
593
|
/**
|
|
622
594
|
* Owner's email. Values are provided by PayPal directly
|
|
623
595
|
* (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
|
@@ -627,13 +599,6 @@ export declare namespace PaymentMethod {
|
|
|
627
599
|
* PayPal account PayerID. This identifier uniquely identifies the PayPal customer.
|
|
628
600
|
*/
|
|
629
601
|
payer_id: string | null;
|
|
630
|
-
/**
|
|
631
|
-
* Owner's verified email. Values are verified or provided by PayPal directly
|
|
632
|
-
* (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
|
633
|
-
*/
|
|
634
|
-
verified_email?: string | null;
|
|
635
|
-
}
|
|
636
|
-
interface Paypay {
|
|
637
602
|
}
|
|
638
603
|
interface Payto {
|
|
639
604
|
/**
|
|
@@ -653,23 +618,20 @@ export declare namespace PaymentMethod {
|
|
|
653
618
|
}
|
|
654
619
|
interface Promptpay {
|
|
655
620
|
}
|
|
656
|
-
interface Qris {
|
|
657
|
-
}
|
|
658
621
|
interface RadarOptions {
|
|
659
622
|
/**
|
|
660
623
|
* 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.
|
|
661
624
|
*/
|
|
662
625
|
session?: string;
|
|
663
626
|
}
|
|
664
|
-
interface Rechnung {
|
|
665
|
-
dob?: Rechnung.Dob;
|
|
666
|
-
}
|
|
667
627
|
interface RevolutPay {
|
|
668
628
|
}
|
|
669
629
|
interface SamsungPay {
|
|
670
630
|
}
|
|
671
631
|
interface Satispay {
|
|
672
632
|
}
|
|
633
|
+
interface Scalapay {
|
|
634
|
+
}
|
|
673
635
|
interface SepaDebit {
|
|
674
636
|
/**
|
|
675
637
|
* Bank code of bank associated with the bank account.
|
|
@@ -696,27 +658,19 @@ export declare namespace PaymentMethod {
|
|
|
696
658
|
*/
|
|
697
659
|
last4: string | null;
|
|
698
660
|
}
|
|
699
|
-
interface Shopeepay {
|
|
700
|
-
}
|
|
701
661
|
interface Sofort {
|
|
702
662
|
/**
|
|
703
663
|
* Two-letter ISO code representing the country the bank account is located in.
|
|
704
664
|
*/
|
|
705
665
|
country: string | null;
|
|
706
666
|
}
|
|
707
|
-
interface StripeBalance {
|
|
708
|
-
/**
|
|
709
|
-
* The connected account ID whose Stripe balance to use as the source of payment
|
|
710
|
-
*/
|
|
711
|
-
account?: string | null;
|
|
712
|
-
}
|
|
713
667
|
interface Sunbit {
|
|
714
668
|
}
|
|
715
669
|
interface Swish {
|
|
716
670
|
}
|
|
717
671
|
interface Twint {
|
|
718
672
|
}
|
|
719
|
-
type Type = 'acss_debit' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | 'blik' | 'boleto' | 'card' | 'card_present' | 'cashapp' | 'crypto' | 'custom' | 'customer_balance' | 'eps' | 'fpx' | 'giropay' | '
|
|
673
|
+
type Type = 'acss_debit' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boleto' | 'card' | 'card_present' | 'cashapp' | 'crypto' | 'custom' | 'customer_balance' | 'eps' | 'fpx' | 'giropay' | 'grabpay' | 'ideal' | 'interac_present' | 'kakao_pay' | 'klarna' | 'konbini' | 'kr_card' | 'link' | 'mb_way' | 'mobilepay' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'oxxo' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'payto' | 'pix' | 'promptpay' | 'revolut_pay' | 'samsung_pay' | 'satispay' | 'scalapay' | 'sepa_debit' | 'sofort' | 'sunbit' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay' | 'zip';
|
|
720
674
|
interface Upi {
|
|
721
675
|
/**
|
|
722
676
|
* Customer's unique Virtual Payment Address
|
|
@@ -728,10 +682,6 @@ export declare namespace PaymentMethod {
|
|
|
728
682
|
* Account holder type: individual or company.
|
|
729
683
|
*/
|
|
730
684
|
account_holder_type: UsBankAccount.AccountHolderType | null;
|
|
731
|
-
/**
|
|
732
|
-
* Account number of the bank account.
|
|
733
|
-
*/
|
|
734
|
-
account_number?: string | null;
|
|
735
685
|
/**
|
|
736
686
|
* Account type: checkings or savings. Defaults to checking if omitted.
|
|
737
687
|
*/
|
|
@@ -1116,9 +1066,6 @@ export declare namespace PaymentMethod {
|
|
|
1116
1066
|
type AccountHolderType = 'company' | 'individual';
|
|
1117
1067
|
type Bank = 'affin_bank' | 'agrobank' | 'alliance_bank' | 'ambank' | 'bank_islam' | 'bank_muamalat' | 'bank_of_china' | 'bank_rakyat' | 'bsn' | 'cimb' | 'deutsche_bank' | 'hong_leong_bank' | 'hsbc' | 'kfh' | 'maybank2e' | 'maybank2u' | 'ocbc' | 'pb_enterprise' | 'public_bank' | 'rhb' | 'standard_chartered' | 'uob';
|
|
1118
1068
|
}
|
|
1119
|
-
namespace IdBankTransfer {
|
|
1120
|
-
type Bank = 'bca' | 'bni' | 'bri' | 'cimb' | 'permata';
|
|
1121
|
-
}
|
|
1122
1069
|
namespace Ideal {
|
|
1123
1070
|
type Bank = 'abn_amro' | 'adyen' | 'asn_bank' | 'bunq' | 'buut' | 'finom' | 'handelsbanken' | 'ing' | 'knab' | 'mollie' | 'moneyou' | 'n26' | 'nn' | 'rabobank' | 'regiobank' | 'revolut' | 'sns_bank' | 'triodos_bank' | 'van_lanschot' | 'yoursafe';
|
|
1124
1071
|
type Bic = 'ABNANL2A' | 'ADYBNL2A' | 'ASNBNL21' | 'BITSNL2A' | 'BUNQNL2A' | 'BUUTNL2A' | 'FNOMNL22' | 'FVLBNL22' | 'HANDNL2A' | 'INGBNL2A' | 'KNABNL2H' | 'MLLENL2A' | 'MOYONL21' | 'NNBANL2G' | 'NTSBDEB1' | 'RABONL2U' | 'RBRBNL21' | 'REVOIE23' | 'REVOLT21' | 'SNSBNL2A' | 'TRIONL2U';
|
|
@@ -1161,22 +1108,6 @@ export declare namespace PaymentMethod {
|
|
|
1161
1108
|
namespace P24 {
|
|
1162
1109
|
type Bank = 'alior_bank' | 'bank_millennium' | 'bank_nowy_bfg_sa' | 'bank_pekao_sa' | 'banki_spbdzielcze' | 'blik' | 'bnp_paribas' | 'boz' | 'citi_handlowy' | 'credit_agricole' | 'envelobank' | 'etransfer_pocztowy24' | 'getin_bank' | 'ideabank' | 'ing' | 'inteligo' | 'mbank_mtransfer' | 'nest_przelew' | 'noble_pay' | 'pbac_z_ipko' | 'plus_bank' | 'santander_przelew24' | 'tmobile_usbugi_bankowe' | 'toyota_bank' | 'velobank' | 'volkswagen_bank';
|
|
1163
1110
|
}
|
|
1164
|
-
namespace Rechnung {
|
|
1165
|
-
interface Dob {
|
|
1166
|
-
/**
|
|
1167
|
-
* The day of birth, between 1 and 31.
|
|
1168
|
-
*/
|
|
1169
|
-
day: number;
|
|
1170
|
-
/**
|
|
1171
|
-
* The month of birth, between 1 and 12.
|
|
1172
|
-
*/
|
|
1173
|
-
month: number;
|
|
1174
|
-
/**
|
|
1175
|
-
* The four-digit year of birth.
|
|
1176
|
-
*/
|
|
1177
|
-
year: number;
|
|
1178
|
-
}
|
|
1179
|
-
}
|
|
1180
1111
|
namespace SepaDebit {
|
|
1181
1112
|
interface GeneratedFrom {
|
|
1182
1113
|
/**
|
|
@@ -1275,6 +1206,10 @@ export interface PaymentMethodCreateParams {
|
|
|
1275
1206
|
* Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.
|
|
1276
1207
|
*/
|
|
1277
1208
|
billing_details?: PaymentMethodCreateParams.BillingDetails;
|
|
1209
|
+
/**
|
|
1210
|
+
* If this is a `bizum` PaymentMethod, this hash contains details about the Bizum payment method.
|
|
1211
|
+
*/
|
|
1212
|
+
bizum?: PaymentMethodCreateParams.Bizum;
|
|
1278
1213
|
/**
|
|
1279
1214
|
* If this is a `blik` PaymentMethod, this hash contains details about the BLIK payment method.
|
|
1280
1215
|
*/
|
|
@@ -1323,18 +1258,10 @@ export interface PaymentMethodCreateParams {
|
|
|
1323
1258
|
* If this is a `giropay` PaymentMethod, this hash contains details about the Giropay payment method.
|
|
1324
1259
|
*/
|
|
1325
1260
|
giropay?: PaymentMethodCreateParams.Giropay;
|
|
1326
|
-
/**
|
|
1327
|
-
* If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
|
|
1328
|
-
*/
|
|
1329
|
-
gopay?: PaymentMethodCreateParams.Gopay;
|
|
1330
1261
|
/**
|
|
1331
1262
|
* If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
|
|
1332
1263
|
*/
|
|
1333
1264
|
grabpay?: PaymentMethodCreateParams.Grabpay;
|
|
1334
|
-
/**
|
|
1335
|
-
* If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
|
|
1336
|
-
*/
|
|
1337
|
-
id_bank_transfer?: PaymentMethodCreateParams.IdBankTransfer;
|
|
1338
1265
|
/**
|
|
1339
1266
|
* If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
|
|
1340
1267
|
*/
|
|
@@ -1360,7 +1287,7 @@ export interface PaymentMethodCreateParams {
|
|
|
1360
1287
|
*/
|
|
1361
1288
|
kr_card?: PaymentMethodCreateParams.KrCard;
|
|
1362
1289
|
/**
|
|
1363
|
-
* If this is an `Link` PaymentMethod, this hash contains details about the Link payment method.
|
|
1290
|
+
* If this is an `Link` PaymentMethod, this hash contains details about the Link payment method (Link is also known as Onelink in the UK).
|
|
1364
1291
|
*/
|
|
1365
1292
|
link?: PaymentMethodCreateParams.Link;
|
|
1366
1293
|
/**
|
|
@@ -1415,10 +1342,6 @@ export interface PaymentMethodCreateParams {
|
|
|
1415
1342
|
* If this is a `paypal` PaymentMethod, this hash contains details about the PayPal payment method.
|
|
1416
1343
|
*/
|
|
1417
1344
|
paypal?: PaymentMethodCreateParams.Paypal;
|
|
1418
|
-
/**
|
|
1419
|
-
* If this is a `paypay` PaymentMethod, this hash contains details about the PayPay payment method.
|
|
1420
|
-
*/
|
|
1421
|
-
paypay?: PaymentMethodCreateParams.Paypay;
|
|
1422
1345
|
/**
|
|
1423
1346
|
* If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
|
|
1424
1347
|
*/
|
|
@@ -1431,18 +1354,10 @@ export interface PaymentMethodCreateParams {
|
|
|
1431
1354
|
* If this is a `promptpay` PaymentMethod, this hash contains details about the PromptPay payment method.
|
|
1432
1355
|
*/
|
|
1433
1356
|
promptpay?: PaymentMethodCreateParams.Promptpay;
|
|
1434
|
-
/**
|
|
1435
|
-
* If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
|
|
1436
|
-
*/
|
|
1437
|
-
qris?: PaymentMethodCreateParams.Qris;
|
|
1438
1357
|
/**
|
|
1439
1358
|
* Options to configure Radar. See [Radar Session](https://docs.stripe.com/radar/radar-session) for more information.
|
|
1440
1359
|
*/
|
|
1441
1360
|
radar_options?: PaymentMethodCreateParams.RadarOptions;
|
|
1442
|
-
/**
|
|
1443
|
-
* If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
|
|
1444
|
-
*/
|
|
1445
|
-
rechnung?: PaymentMethodCreateParams.Rechnung;
|
|
1446
1361
|
/**
|
|
1447
1362
|
* If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
|
|
1448
1363
|
*/
|
|
@@ -1456,21 +1371,17 @@ export interface PaymentMethodCreateParams {
|
|
|
1456
1371
|
*/
|
|
1457
1372
|
satispay?: PaymentMethodCreateParams.Satispay;
|
|
1458
1373
|
/**
|
|
1459
|
-
* If this is a
|
|
1374
|
+
* If this is a Scalapay PaymentMethod, this hash contains details about the Scalapay payment method.
|
|
1460
1375
|
*/
|
|
1461
|
-
|
|
1376
|
+
scalapay?: PaymentMethodCreateParams.Scalapay;
|
|
1462
1377
|
/**
|
|
1463
|
-
* If this is a
|
|
1378
|
+
* If this is a `sepa_debit` PaymentMethod, this hash contains details about the SEPA debit bank account.
|
|
1464
1379
|
*/
|
|
1465
|
-
|
|
1380
|
+
sepa_debit?: PaymentMethodCreateParams.SepaDebit;
|
|
1466
1381
|
/**
|
|
1467
1382
|
* If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
|
|
1468
1383
|
*/
|
|
1469
1384
|
sofort?: PaymentMethodCreateParams.Sofort;
|
|
1470
|
-
/**
|
|
1471
|
-
* This hash contains details about the Stripe balance payment method.
|
|
1472
|
-
*/
|
|
1473
|
-
stripe_balance?: PaymentMethodCreateParams.StripeBalance;
|
|
1474
1385
|
/**
|
|
1475
1386
|
* If this is a Sunbit PaymentMethod, this hash contains details about the Sunbit payment method.
|
|
1476
1387
|
*/
|
|
@@ -1576,6 +1487,8 @@ export declare namespace PaymentMethodCreateParams {
|
|
|
1576
1487
|
*/
|
|
1577
1488
|
tax_id?: string;
|
|
1578
1489
|
}
|
|
1490
|
+
interface Bizum {
|
|
1491
|
+
}
|
|
1579
1492
|
interface Blik {
|
|
1580
1493
|
}
|
|
1581
1494
|
interface Boleto {
|
|
@@ -1640,16 +1553,8 @@ export declare namespace PaymentMethodCreateParams {
|
|
|
1640
1553
|
}
|
|
1641
1554
|
interface Giropay {
|
|
1642
1555
|
}
|
|
1643
|
-
interface Gopay {
|
|
1644
|
-
}
|
|
1645
1556
|
interface Grabpay {
|
|
1646
1557
|
}
|
|
1647
|
-
interface IdBankTransfer {
|
|
1648
|
-
/**
|
|
1649
|
-
* Bank where the account is held.
|
|
1650
|
-
*/
|
|
1651
|
-
bank?: IdBankTransfer.Bank;
|
|
1652
|
-
}
|
|
1653
1558
|
interface Ideal {
|
|
1654
1559
|
/**
|
|
1655
1560
|
* The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
|
@@ -1723,8 +1628,6 @@ export declare namespace PaymentMethodCreateParams {
|
|
|
1723
1628
|
}
|
|
1724
1629
|
interface Paypal {
|
|
1725
1630
|
}
|
|
1726
|
-
interface Paypay {
|
|
1727
|
-
}
|
|
1728
1631
|
interface Payto {
|
|
1729
1632
|
/**
|
|
1730
1633
|
* The account number for the bank account.
|
|
@@ -1743,53 +1646,39 @@ export declare namespace PaymentMethodCreateParams {
|
|
|
1743
1646
|
}
|
|
1744
1647
|
interface Promptpay {
|
|
1745
1648
|
}
|
|
1746
|
-
interface Qris {
|
|
1747
|
-
}
|
|
1748
1649
|
interface RadarOptions {
|
|
1749
1650
|
/**
|
|
1750
1651
|
* 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.
|
|
1751
1652
|
*/
|
|
1752
1653
|
session?: string;
|
|
1753
1654
|
}
|
|
1754
|
-
interface Rechnung {
|
|
1755
|
-
/**
|
|
1756
|
-
* Customer's date of birth
|
|
1757
|
-
*/
|
|
1758
|
-
dob: Rechnung.Dob;
|
|
1759
|
-
}
|
|
1760
1655
|
interface RevolutPay {
|
|
1761
1656
|
}
|
|
1762
1657
|
interface SamsungPay {
|
|
1763
1658
|
}
|
|
1764
1659
|
interface Satispay {
|
|
1765
1660
|
}
|
|
1661
|
+
interface Scalapay {
|
|
1662
|
+
}
|
|
1766
1663
|
interface SepaDebit {
|
|
1767
1664
|
/**
|
|
1768
1665
|
* IBAN of the bank account.
|
|
1769
1666
|
*/
|
|
1770
1667
|
iban: string;
|
|
1771
1668
|
}
|
|
1772
|
-
interface Shopeepay {
|
|
1773
|
-
}
|
|
1774
1669
|
interface Sofort {
|
|
1775
1670
|
/**
|
|
1776
1671
|
* Two-letter ISO code representing the country the bank account is located in.
|
|
1777
1672
|
*/
|
|
1778
1673
|
country: Sofort.Country;
|
|
1779
1674
|
}
|
|
1780
|
-
interface StripeBalance {
|
|
1781
|
-
/**
|
|
1782
|
-
* The connected account ID whose Stripe balance to use as the source of payment
|
|
1783
|
-
*/
|
|
1784
|
-
account?: string;
|
|
1785
|
-
}
|
|
1786
1675
|
interface Sunbit {
|
|
1787
1676
|
}
|
|
1788
1677
|
interface Swish {
|
|
1789
1678
|
}
|
|
1790
1679
|
interface Twint {
|
|
1791
1680
|
}
|
|
1792
|
-
type Type = 'acss_debit' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | 'blik' | 'boleto' | 'card' | 'cashapp' | 'crypto' | 'custom' | 'customer_balance' | 'eps' | 'fpx' | 'giropay' | '
|
|
1681
|
+
type Type = 'acss_debit' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boleto' | 'card' | 'cashapp' | 'crypto' | 'custom' | 'customer_balance' | 'eps' | 'fpx' | 'giropay' | 'grabpay' | 'ideal' | 'kakao_pay' | 'klarna' | 'konbini' | 'kr_card' | 'link' | 'mb_way' | 'mobilepay' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'oxxo' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'payto' | 'pix' | 'promptpay' | 'revolut_pay' | 'samsung_pay' | 'satispay' | 'scalapay' | 'sepa_debit' | 'sofort' | 'sunbit' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay' | 'zip';
|
|
1793
1682
|
interface Upi {
|
|
1794
1683
|
/**
|
|
1795
1684
|
* Configuration options for setting up an eMandate
|
|
@@ -1840,9 +1729,6 @@ export declare namespace PaymentMethodCreateParams {
|
|
|
1840
1729
|
type AccountHolderType = 'company' | 'individual';
|
|
1841
1730
|
type Bank = 'affin_bank' | 'agrobank' | 'alliance_bank' | 'ambank' | 'bank_islam' | 'bank_muamalat' | 'bank_of_china' | 'bank_rakyat' | 'bsn' | 'cimb' | 'deutsche_bank' | 'hong_leong_bank' | 'hsbc' | 'kfh' | 'maybank2e' | 'maybank2u' | 'ocbc' | 'pb_enterprise' | 'public_bank' | 'rhb' | 'standard_chartered' | 'uob';
|
|
1842
1731
|
}
|
|
1843
|
-
namespace IdBankTransfer {
|
|
1844
|
-
type Bank = 'bca' | 'bni' | 'bri' | 'cimb' | 'permata';
|
|
1845
|
-
}
|
|
1846
1732
|
namespace Ideal {
|
|
1847
1733
|
type Bank = 'abn_amro' | 'adyen' | 'asn_bank' | 'bunq' | 'buut' | 'finom' | 'handelsbanken' | 'ing' | 'knab' | 'mollie' | 'moneyou' | 'n26' | 'nn' | 'rabobank' | 'regiobank' | 'revolut' | 'sns_bank' | 'triodos_bank' | 'van_lanschot' | 'yoursafe';
|
|
1848
1734
|
}
|
|
@@ -1868,22 +1754,6 @@ export declare namespace PaymentMethodCreateParams {
|
|
|
1868
1754
|
namespace P24 {
|
|
1869
1755
|
type Bank = 'alior_bank' | 'bank_millennium' | 'bank_nowy_bfg_sa' | 'bank_pekao_sa' | 'banki_spbdzielcze' | 'blik' | 'bnp_paribas' | 'boz' | 'citi_handlowy' | 'credit_agricole' | 'envelobank' | 'etransfer_pocztowy24' | 'getin_bank' | 'ideabank' | 'ing' | 'inteligo' | 'mbank_mtransfer' | 'nest_przelew' | 'noble_pay' | 'pbac_z_ipko' | 'plus_bank' | 'santander_przelew24' | 'tmobile_usbugi_bankowe' | 'toyota_bank' | 'velobank' | 'volkswagen_bank';
|
|
1870
1756
|
}
|
|
1871
|
-
namespace Rechnung {
|
|
1872
|
-
interface Dob {
|
|
1873
|
-
/**
|
|
1874
|
-
* The day of birth, between 1 and 31.
|
|
1875
|
-
*/
|
|
1876
|
-
day: number;
|
|
1877
|
-
/**
|
|
1878
|
-
* The month of birth, between 1 and 12.
|
|
1879
|
-
*/
|
|
1880
|
-
month: number;
|
|
1881
|
-
/**
|
|
1882
|
-
* The four-digit year of birth.
|
|
1883
|
-
*/
|
|
1884
|
-
year: number;
|
|
1885
|
-
}
|
|
1886
|
-
}
|
|
1887
1757
|
namespace Sofort {
|
|
1888
1758
|
type Country = 'AT' | 'BE' | 'DE' | 'ES' | 'IT' | 'NL';
|
|
1889
1759
|
}
|
|
@@ -2053,7 +1923,7 @@ export interface PaymentMethodListParams extends PaginationParams {
|
|
|
2053
1923
|
}
|
|
2054
1924
|
export declare namespace PaymentMethodListParams {
|
|
2055
1925
|
type AllowRedisplay = 'always' | 'limited' | 'unspecified';
|
|
2056
|
-
type Type = 'acss_debit' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | 'blik' | 'boleto' | 'card' | 'cashapp' | 'crypto' | 'custom' | 'customer_balance' | 'eps' | 'fpx' | 'giropay' | '
|
|
1926
|
+
type Type = 'acss_debit' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boleto' | 'card' | 'cashapp' | 'crypto' | 'custom' | 'customer_balance' | 'eps' | 'fpx' | 'giropay' | 'grabpay' | 'ideal' | 'kakao_pay' | 'klarna' | 'konbini' | 'kr_card' | 'link' | 'mb_way' | 'mobilepay' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'oxxo' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'payto' | 'pix' | 'promptpay' | 'revolut_pay' | 'samsung_pay' | 'satispay' | 'scalapay' | 'sepa_debit' | 'sofort' | 'sunbit' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay' | 'zip';
|
|
2057
1927
|
}
|
|
2058
1928
|
export interface PaymentMethodAttachParams {
|
|
2059
1929
|
/**
|
|
@@ -21,13 +21,13 @@ export class PaymentMethodResource extends StripeResource {
|
|
|
21
21
|
* Retrieves a PaymentMethod object attached to the StripeAccount. To retrieve a payment method attached to a Customer, you should use [Retrieve a Customer's PaymentMethods](https://docs.stripe.com/docs/api/payment_methods/customer)
|
|
22
22
|
*/
|
|
23
23
|
retrieve(id, params, options) {
|
|
24
|
-
return this._makeRequest('GET', `/v1/payment_methods/${id}`, params, options);
|
|
24
|
+
return this._makeRequest('GET', `/v1/payment_methods/${encodeURIComponent(id)}`, params, options);
|
|
25
25
|
}
|
|
26
26
|
/**
|
|
27
27
|
* Updates a PaymentMethod object. A PaymentMethod must be attached to a customer to be updated.
|
|
28
28
|
*/
|
|
29
29
|
update(id, params, options) {
|
|
30
|
-
return this._makeRequest('POST', `/v1/payment_methods/${id}`, params, options);
|
|
30
|
+
return this._makeRequest('POST', `/v1/payment_methods/${encodeURIComponent(id)}`, params, options);
|
|
31
31
|
}
|
|
32
32
|
/**
|
|
33
33
|
* Attaches a PaymentMethod object to a Customer.
|
|
@@ -45,13 +45,13 @@ export class PaymentMethodResource extends StripeResource {
|
|
|
45
45
|
* on the Customer to the PaymentMethod's ID.
|
|
46
46
|
*/
|
|
47
47
|
attach(id, params, options) {
|
|
48
|
-
return this._makeRequest('POST', `/v1/payment_methods/${id}/attach`, params, options);
|
|
48
|
+
return this._makeRequest('POST', `/v1/payment_methods/${encodeURIComponent(id)}/attach`, params, options);
|
|
49
49
|
}
|
|
50
50
|
/**
|
|
51
51
|
* Detaches a PaymentMethod object from a Customer. After a PaymentMethod is detached, it can no longer be used for a payment or re-attached to a Customer.
|
|
52
52
|
*/
|
|
53
53
|
detach(id, params, options) {
|
|
54
|
-
return this._makeRequest('POST', `/v1/payment_methods/${id}/detach`, params, options);
|
|
54
|
+
return this._makeRequest('POST', `/v1/payment_methods/${encodeURIComponent(id)}/detach`, params, options);
|
|
55
55
|
}
|
|
56
56
|
}
|
|
57
57
|
//# sourceMappingURL=PaymentMethods.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PaymentMethods.js","sourceRoot":"","sources":["../../src/resources/PaymentMethods.ts"],"names":[],"mappings":"AAAA,uCAAuC;AAEvC,OAAO,EAAC,cAAc,EAAC,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"PaymentMethods.js","sourceRoot":"","sources":["../../src/resources/PaymentMethods.ts"],"names":[],"mappings":"AAAA,uCAAuC;AAEvC,OAAO,EAAC,cAAc,EAAC,MAAM,sBAAsB,CAAC;AAcpD,MAAM,OAAO,qBAAsB,SAAQ,cAAc;IACvD;;OAEG;IACH,IAAI,CACF,MAAgC,EAChC,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CAAC,KAAK,EAAE,qBAAqB,EAAE,MAAM,EAAE,OAAO,EAAE;YACtE,UAAU,EAAE,MAAM;SACnB,CAAQ,CAAC;IACZ,CAAC;IACD;;;;OAIG;IACH,MAAM,CACJ,MAAkC,EAClC,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,qBAAqB,EACrB,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;OAEG;IACH,QAAQ,CACN,EAAU,EACV,MAAoC,EACpC,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,KAAK,EACL,uBAAuB,kBAAkB,CAAC,EAAE,CAAC,EAAE,EAC/C,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;OAEG;IACH,MAAM,CACJ,EAAU,EACV,MAAkC,EAClC,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,uBAAuB,kBAAkB,CAAC,EAAE,CAAC,EAAE,EAC/C,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;;;;;;;;;;;;;OAcG;IACH,MAAM,CACJ,EAAU,EACV,MAAkC,EAClC,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,uBAAuB,kBAAkB,CAAC,EAAE,CAAC,SAAS,EACtD,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;IACD;;OAEG;IACH,MAAM,CACJ,EAAU,EACV,MAAkC,EAClC,OAAwB;QAExB,OAAO,IAAI,CAAC,YAAY,CACtB,MAAM,EACN,uBAAuB,kBAAkB,CAAC,EAAE,CAAC,SAAS,EACtD,MAAM,EACN,OAAO,CACD,CAAC;IACX,CAAC;CACF"}
|