stripe 23.1.0 → 23.2.0-alpha.2
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 +2269 -4845
- package/OPENAPI_VERSION +1 -1
- package/README.md +69 -60
- package/VERSION +1 -1
- package/cjs/Error.d.ts +29 -0
- package/cjs/Error.js +54 -1
- package/cjs/Error.js.map +1 -1
- package/cjs/RequestSender.js +25 -4
- package/cjs/RequestSender.js.map +1 -1
- package/cjs/StripeEventNotificationHandler.js +226 -3
- package/cjs/StripeEventNotificationHandler.js.map +1 -1
- package/cjs/Types.d.ts +21 -2
- package/cjs/Types.js.map +1 -1
- package/cjs/WorkloadIdentity.d.ts +99 -0
- package/cjs/WorkloadIdentity.js +292 -0
- package/cjs/WorkloadIdentity.js.map +1 -0
- package/cjs/apiVersion.d.ts +2 -2
- package/cjs/apiVersion.js +2 -2
- package/cjs/apiVersion.js.map +1 -1
- package/cjs/net/WorkloadIdentityTokenTransport.d.ts +27 -0
- package/cjs/net/WorkloadIdentityTokenTransport.js +53 -0
- package/cjs/net/WorkloadIdentityTokenTransport.js.map +1 -0
- package/cjs/resources/AccountLinks.d.ts +5 -1
- package/cjs/resources/AccountNotices.d.ts +140 -0
- package/cjs/resources/AccountNotices.js +29 -0
- package/cjs/resources/AccountNotices.js.map +1 -0
- package/cjs/resources/AccountSessions.d.ts +729 -8
- package/cjs/resources/AccountSessions.js.map +1 -1
- package/cjs/resources/AccountSignals.d.ts +111 -0
- package/cjs/resources/AccountSignals.js +4 -0
- package/cjs/resources/AccountSignals.js.map +1 -0
- package/cjs/resources/Accounts.d.ts +871 -3
- package/cjs/resources/Accounts.js +47 -0
- package/cjs/resources/Accounts.js.map +1 -1
- package/cjs/resources/ApplicationFees.d.ts +28 -1
- package/cjs/resources/Apps/Installs.d.ts +1 -1
- package/cjs/resources/Apps/Installs.js +1 -1
- package/cjs/resources/Balance.d.ts +205 -0
- package/cjs/resources/BalanceSettings.d.ts +26 -0
- package/cjs/resources/BalanceTransactions.d.ts +1 -1
- package/cjs/resources/BalanceTransfers.d.ts +160 -0
- package/cjs/resources/BalanceTransfers.js +15 -0
- package/cjs/resources/BalanceTransfers.js.map +1 -0
- package/cjs/resources/BankAccounts.d.ts +16 -2
- package/cjs/resources/Billing/AlertNotifications.d.ts +79 -0
- package/cjs/resources/Billing/AlertNotifications.js +4 -0
- package/cjs/resources/Billing/AlertNotifications.js.map +1 -0
- package/cjs/resources/Billing/AlertRecovereds.d.ts +56 -0
- package/cjs/resources/Billing/AlertRecovereds.js +4 -0
- package/cjs/resources/Billing/AlertRecovereds.js.map +1 -0
- package/cjs/resources/Billing/AlertTriggereds.d.ts +59 -1
- package/cjs/resources/Billing/Alerts.d.ts +462 -5
- package/cjs/resources/Billing/Alerts.js +329 -5
- package/cjs/resources/Billing/Alerts.js.map +1 -1
- package/cjs/resources/Billing/Analytics/MeterUsage.d.ts +89 -0
- package/cjs/resources/Billing/Analytics/MeterUsage.js +15 -0
- package/cjs/resources/Billing/Analytics/MeterUsage.js.map +1 -0
- package/cjs/resources/Billing/Analytics/MeterUsageRows.d.ts +38 -0
- package/cjs/resources/Billing/Analytics/MeterUsageRows.js +4 -0
- package/cjs/resources/Billing/Analytics/MeterUsageRows.js.map +1 -0
- package/cjs/resources/Billing/Analytics/index.d.ts +15 -0
- package/cjs/resources/Billing/Analytics/index.js +13 -0
- package/cjs/resources/Billing/Analytics/index.js.map +1 -0
- package/cjs/resources/Billing/CreditBalanceSummary.d.ts +136 -3
- package/cjs/resources/Billing/CreditBalanceSummary.js +39 -1
- package/cjs/resources/Billing/CreditBalanceSummary.js.map +1 -1
- package/cjs/resources/Billing/CreditBalanceTransactions.d.ts +97 -3
- package/cjs/resources/Billing/CreditBalanceTransactions.js +100 -1
- package/cjs/resources/Billing/CreditBalanceTransactions.js.map +1 -1
- package/cjs/resources/Billing/CreditGrants.d.ts +105 -3
- package/cjs/resources/Billing/CreditGrants.js +134 -5
- package/cjs/resources/Billing/CreditGrants.js.map +1 -1
- package/cjs/resources/Billing/MeterEventSummaries.d.ts +6 -0
- package/cjs/resources/Billing/Meters.d.ts +31 -0
- package/cjs/resources/Billing/index.d.ts +10 -0
- package/cjs/resources/Billing/index.js +2 -0
- package/cjs/resources/Billing/index.js.map +1 -1
- package/cjs/resources/Capabilities.d.ts +39 -2
- package/cjs/resources/Capital/FinancingOffers.d.ts +217 -0
- package/cjs/resources/Capital/FinancingOffers.js +30 -0
- package/cjs/resources/Capital/FinancingOffers.js.map +1 -0
- package/cjs/resources/Capital/FinancingSummary.d.ts +123 -0
- package/cjs/resources/Capital/FinancingSummary.js +15 -0
- package/cjs/resources/Capital/FinancingSummary.js.map +1 -0
- package/cjs/resources/Capital/FinancingTransactions.d.ts +141 -0
- package/cjs/resources/Capital/FinancingTransactions.js +24 -0
- package/cjs/resources/Capital/FinancingTransactions.js.map +1 -0
- package/cjs/resources/Capital/index.d.ts +25 -0
- package/cjs/resources/Capital/index.js +17 -0
- package/cjs/resources/Capital/index.js.map +1 -0
- package/cjs/resources/Cards.d.ts +28 -0
- package/cjs/resources/Charges.d.ts +3783 -94
- package/cjs/resources/Charges.js.map +1 -1
- package/cjs/resources/Checkout/Sessions.d.ts +2287 -79
- package/cjs/resources/Checkout/Sessions.js +668 -12
- package/cjs/resources/Checkout/Sessions.js.map +1 -1
- package/cjs/resources/Checkout/index.d.ts +1 -0
- package/cjs/resources/ConfirmationTokens.d.ts +201 -1
- package/cjs/resources/ConfirmationTokens.js.map +1 -1
- package/cjs/resources/Coupons.d.ts +128 -2
- package/cjs/resources/Coupons.js +41 -0
- package/cjs/resources/Coupons.js.map +1 -1
- package/cjs/resources/CreditNoteLineItems.d.ts +15 -1
- package/cjs/resources/CreditNotes.d.ts +7 -1
- package/cjs/resources/CreditNotes.js +13 -0
- package/cjs/resources/CreditNotes.js.map +1 -1
- package/cjs/resources/Crypto/CustomerConsumerWallets.d.ts +30 -0
- package/cjs/resources/Crypto/CustomerConsumerWallets.js +4 -0
- package/cjs/resources/Crypto/CustomerConsumerWallets.js.map +1 -0
- package/cjs/resources/Crypto/CustomerPaymentTokens.d.ts +80 -0
- package/cjs/resources/Crypto/CustomerPaymentTokens.js +4 -0
- package/cjs/resources/Crypto/CustomerPaymentTokens.js.map +1 -0
- package/cjs/resources/Crypto/Customers.d.ts +111 -0
- package/cjs/resources/Crypto/Customers.js +31 -0
- package/cjs/resources/Crypto/Customers.js.map +1 -0
- package/cjs/resources/Crypto/DepositAddresses.d.ts +128 -0
- package/cjs/resources/Crypto/DepositAddresses.js +31 -0
- package/cjs/resources/Crypto/DepositAddresses.js.map +1 -0
- package/cjs/resources/Crypto/OnrampSessions.d.ts +425 -0
- package/cjs/resources/Crypto/OnrampSessions.js +47 -0
- package/cjs/resources/Crypto/OnrampSessions.js.map +1 -0
- package/cjs/resources/Crypto/OnrampTransactionLimits.d.ts +61 -0
- package/cjs/resources/Crypto/OnrampTransactionLimits.js +15 -0
- package/cjs/resources/Crypto/OnrampTransactionLimits.js.map +1 -0
- package/cjs/resources/Crypto/index.d.ts +41 -0
- package/cjs/resources/Crypto/index.js +19 -0
- package/cjs/resources/Crypto/index.js.map +1 -0
- package/cjs/resources/CustomerCashBalanceTransactions.d.ts +15 -0
- package/cjs/resources/CustomerSessions.d.ts +82 -0
- package/cjs/resources/CustomerSessions.js +13 -0
- package/cjs/resources/CustomerSessions.js.map +1 -1
- package/cjs/resources/CustomerTaxExemptions.d.ts +107 -0
- package/cjs/resources/CustomerTaxExemptions.js +4 -0
- package/cjs/resources/CustomerTaxExemptions.js.map +1 -0
- package/cjs/resources/Customers.d.ts +334 -1
- package/cjs/resources/Customers.js +221 -0
- package/cjs/resources/Customers.js.map +1 -1
- package/cjs/resources/DelegatedCheckout/OrderEvents.d.ts +129 -0
- package/cjs/resources/DelegatedCheckout/OrderEvents.js +4 -0
- package/cjs/resources/DelegatedCheckout/OrderEvents.js.map +1 -0
- package/cjs/resources/DelegatedCheckout/Orders.d.ts +159 -0
- package/cjs/resources/DelegatedCheckout/Orders.js +15 -0
- package/cjs/resources/DelegatedCheckout/Orders.js.map +1 -0
- package/cjs/resources/DelegatedCheckout/RequestedSessions.d.ts +1427 -0
- package/cjs/resources/DelegatedCheckout/RequestedSessions.js +47 -0
- package/cjs/resources/DelegatedCheckout/RequestedSessions.js.map +1 -0
- package/cjs/resources/DelegatedCheckout/index.d.ts +25 -0
- package/cjs/resources/DelegatedCheckout/index.js +15 -0
- package/cjs/resources/DelegatedCheckout/index.js.map +1 -0
- package/cjs/resources/Discounts.d.ts +19 -0
- package/cjs/resources/Disputes.d.ts +29 -1
- package/cjs/resources/Disputes.js +14 -0
- package/cjs/resources/Disputes.js.map +1 -1
- package/cjs/resources/Events.d.ts +640 -3
- package/cjs/resources/ExternalAccounts.d.ts +212 -1
- package/cjs/resources/ExternalAccounts.js +44 -0
- package/cjs/resources/ExternalAccounts.js.map +1 -1
- package/cjs/resources/FinancialConnections/AccountInferredBalances.d.ts +24 -0
- package/cjs/resources/FinancialConnections/AccountInferredBalances.js +4 -0
- package/cjs/resources/FinancialConnections/AccountInferredBalances.js.map +1 -0
- package/cjs/resources/FinancialConnections/Accounts.d.ts +105 -4
- package/cjs/resources/FinancialConnections/Accounts.js +8 -0
- package/cjs/resources/FinancialConnections/Accounts.js.map +1 -1
- package/cjs/resources/FinancialConnections/Authorizations.d.ts +46 -1
- package/cjs/resources/FinancialConnections/Authorizations.js +11 -0
- package/cjs/resources/FinancialConnections/Authorizations.js.map +1 -1
- package/cjs/resources/FinancialConnections/Consents.d.ts +113 -0
- package/cjs/resources/FinancialConnections/Consents.js +21 -0
- package/cjs/resources/FinancialConnections/Consents.js.map +1 -0
- package/cjs/resources/FinancialConnections/Institutions.d.ts +99 -0
- package/cjs/resources/FinancialConnections/Institutions.js +23 -0
- package/cjs/resources/FinancialConnections/Institutions.js.map +1 -0
- package/cjs/resources/FinancialConnections/Sessions.d.ts +134 -9
- package/cjs/resources/FinancialConnections/Transactions.d.ts +70 -0
- package/cjs/resources/FinancialConnections/index.d.ts +27 -9
- package/cjs/resources/FinancialConnections/index.js +6 -0
- package/cjs/resources/FinancialConnections/index.js.map +1 -1
- package/cjs/resources/FxQuotes.d.ts +216 -0
- package/cjs/resources/FxQuotes.js +29 -0
- package/cjs/resources/FxQuotes.js.map +1 -0
- package/cjs/resources/GiftCardOperations.d.ts +249 -0
- package/cjs/resources/GiftCardOperations.js +15 -0
- package/cjs/resources/GiftCardOperations.js.map +1 -0
- package/cjs/resources/GiftCards.d.ts +188 -0
- package/cjs/resources/GiftCards.js +51 -0
- package/cjs/resources/GiftCards.js.map +1 -0
- package/cjs/resources/Identity/BlocklistEntries.d.ts +155 -0
- package/cjs/resources/Identity/BlocklistEntries.js +54 -0
- package/cjs/resources/Identity/BlocklistEntries.js.map +1 -0
- package/cjs/resources/Identity/VerificationReports.d.ts +203 -2
- package/cjs/resources/Identity/VerificationReports.js.map +1 -1
- package/cjs/resources/Identity/VerificationSessions.d.ts +45 -1
- package/cjs/resources/Identity/index.d.ts +18 -10
- package/cjs/resources/Identity/index.js +2 -0
- package/cjs/resources/Identity/index.js.map +1 -1
- package/cjs/resources/InvoiceItems.d.ts +215 -2
- package/cjs/resources/InvoiceItems.js +41 -0
- package/cjs/resources/InvoiceItems.js.map +1 -1
- package/cjs/resources/InvoiceLineItems.d.ts +174 -4
- package/cjs/resources/InvoiceRenderingTemplates.d.ts +12 -0
- package/cjs/resources/InvoiceRenderingTemplates.js +28 -0
- package/cjs/resources/InvoiceRenderingTemplates.js.map +1 -1
- package/cjs/resources/Invoices.d.ts +2167 -73
- package/cjs/resources/Invoices.js +221 -0
- package/cjs/resources/Invoices.js.map +1 -1
- package/cjs/resources/Issuing/Authorizations.d.ts +821 -1
- package/cjs/resources/Issuing/Authorizations.js +177 -0
- package/cjs/resources/Issuing/Authorizations.js.map +1 -1
- package/cjs/resources/Issuing/Cardholders.d.ts +22 -4
- package/cjs/resources/Issuing/Cards.d.ts +141 -2
- package/cjs/resources/Issuing/CreditUnderwritingRecords.d.ts +654 -0
- package/cjs/resources/Issuing/CreditUnderwritingRecords.js +53 -0
- package/cjs/resources/Issuing/CreditUnderwritingRecords.js.map +1 -0
- package/cjs/resources/Issuing/DisputeSettlementDetails.d.ts +93 -0
- package/cjs/resources/Issuing/DisputeSettlementDetails.js +23 -0
- package/cjs/resources/Issuing/DisputeSettlementDetails.js.map +1 -0
- package/cjs/resources/Issuing/Disputes.d.ts +246 -0
- package/cjs/resources/Issuing/FraudLiabilityDebits.d.ts +68 -0
- package/cjs/resources/Issuing/FraudLiabilityDebits.js +23 -0
- package/cjs/resources/Issuing/FraudLiabilityDebits.js.map +1 -0
- package/cjs/resources/Issuing/Programs.d.ts +95 -0
- package/cjs/resources/Issuing/Programs.js +35 -0
- package/cjs/resources/Issuing/Programs.js.map +1 -0
- package/cjs/resources/Issuing/Settlements.d.ts +83 -0
- package/cjs/resources/Issuing/Settlements.js +4 -0
- package/cjs/resources/Issuing/Settlements.js.map +1 -0
- package/cjs/resources/Issuing/Tokens.d.ts +26 -0
- package/cjs/resources/Issuing/Transactions.d.ts +259 -0
- package/cjs/resources/Issuing/Transactions.js +48 -0
- package/cjs/resources/Issuing/Transactions.js.map +1 -1
- package/cjs/resources/Issuing/index.d.ts +56 -22
- package/cjs/resources/Issuing/index.js +8 -0
- package/cjs/resources/Issuing/index.js.map +1 -1
- package/cjs/resources/LineItems.d.ts +29 -2
- package/cjs/resources/Mandates.d.ts +36 -2
- package/cjs/resources/Mandates.js +8 -0
- package/cjs/resources/Mandates.js.map +1 -1
- package/cjs/resources/Margins.d.ts +115 -0
- package/cjs/resources/Margins.js +35 -0
- package/cjs/resources/Margins.js.map +1 -0
- package/cjs/resources/Orchestration/PaymentAttempts.d.ts +34 -0
- package/cjs/resources/Orchestration/PaymentAttempts.js +15 -0
- package/cjs/resources/Orchestration/PaymentAttempts.js.map +1 -0
- package/cjs/resources/Orchestration/index.d.ts +12 -0
- package/cjs/resources/Orchestration/index.js +13 -0
- package/cjs/resources/Orchestration/index.js.map +1 -0
- package/cjs/resources/Orders.d.ts +4776 -0
- package/cjs/resources/Orders.js +457 -0
- package/cjs/resources/Orders.js.map +1 -0
- package/cjs/resources/PaymentAttemptRecords.d.ts +908 -2
- package/cjs/resources/PaymentAttemptRecords.js +48 -0
- package/cjs/resources/PaymentAttemptRecords.js.map +1 -1
- package/cjs/resources/PaymentIntentAmountDetailsLineItems.d.ts +104 -0
- package/cjs/resources/PaymentIntents.d.ts +19847 -4859
- package/cjs/resources/PaymentIntents.js +46 -0
- package/cjs/resources/PaymentIntents.js.map +1 -1
- package/cjs/resources/PaymentLinks.d.ts +73 -12
- package/cjs/resources/PaymentLocationCapabilities.d.ts +124 -0
- package/cjs/resources/PaymentLocationCapabilities.js +29 -0
- package/cjs/resources/PaymentLocationCapabilities.js.map +1 -0
- package/cjs/resources/PaymentLocations.d.ts +178 -0
- package/cjs/resources/PaymentLocations.js +41 -0
- package/cjs/resources/PaymentLocations.js.map +1 -0
- package/cjs/resources/PaymentMethodBalances.d.ts +46 -0
- package/cjs/resources/PaymentMethodBalances.js +4 -0
- package/cjs/resources/PaymentMethodBalances.js.map +1 -0
- package/cjs/resources/PaymentMethodConfigurations.d.ts +420 -0
- package/cjs/resources/PaymentMethods.d.ts +423 -3
- package/cjs/resources/PaymentMethods.js +20 -0
- package/cjs/resources/PaymentMethods.js.map +1 -1
- package/cjs/resources/PaymentPlans.d.ts +427 -0
- package/cjs/resources/PaymentPlans.js +35 -0
- package/cjs/resources/PaymentPlans.js.map +1 -0
- package/cjs/resources/PaymentRecords.d.ts +906 -20
- package/cjs/resources/PaymentRecords.js +18 -0
- package/cjs/resources/PaymentRecords.js.map +1 -1
- package/cjs/resources/Payouts.d.ts +30 -0
- package/cjs/resources/Persons.d.ts +39 -2
- package/cjs/resources/Prices.d.ts +60 -0
- package/cjs/resources/Prices.js +27 -0
- package/cjs/resources/Prices.js.map +1 -1
- package/cjs/resources/Privacy/RedactionJobValidationErrors.d.ts +36 -0
- package/cjs/resources/Privacy/RedactionJobValidationErrors.js +4 -0
- package/cjs/resources/Privacy/RedactionJobValidationErrors.js.map +1 -0
- package/cjs/resources/Privacy/RedactionJobs.d.ts +227 -0
- package/cjs/resources/Privacy/RedactionJobs.js +73 -0
- package/cjs/resources/Privacy/RedactionJobs.js.map +1 -0
- package/cjs/resources/Privacy/index.d.ts +22 -0
- package/cjs/resources/Privacy/index.js +13 -0
- package/cjs/resources/Privacy/index.js.map +1 -0
- package/cjs/resources/ProductCatalog/TrialOffers.d.ts +2 -2
- package/cjs/resources/Products.d.ts +156 -0
- package/cjs/resources/Products.js +69 -0
- package/cjs/resources/Products.js.map +1 -1
- package/cjs/resources/Profiles.d.ts +68 -0
- package/cjs/resources/Profiles.js +4 -0
- package/cjs/resources/Profiles.js.map +1 -0
- package/cjs/resources/PromotionCodes.d.ts +12 -0
- package/cjs/resources/PromotionCodes.js +27 -0
- package/cjs/resources/PromotionCodes.js.map +1 -1
- package/cjs/resources/QuoteLines.d.ts +684 -0
- package/cjs/resources/QuoteLines.js +4 -0
- package/cjs/resources/QuoteLines.js.map +1 -0
- package/cjs/resources/QuotePreviewInvoices.d.ts +1291 -0
- package/cjs/resources/QuotePreviewInvoices.js +4 -0
- package/cjs/resources/QuotePreviewInvoices.js.map +1 -0
- package/cjs/resources/QuotePreviewSubscriptionSchedules.d.ts +1134 -0
- package/cjs/resources/QuotePreviewSubscriptionSchedules.js +4 -0
- package/cjs/resources/QuotePreviewSubscriptionSchedules.js.map +1 -0
- package/cjs/resources/Quotes.d.ts +3548 -254
- package/cjs/resources/Quotes.js +1184 -16
- package/cjs/resources/Quotes.js.map +1 -1
- package/cjs/resources/Radar/AccountEvaluations.d.ts +309 -0
- package/cjs/resources/Radar/AccountEvaluations.js +27 -0
- package/cjs/resources/Radar/AccountEvaluations.js.map +1 -0
- package/cjs/resources/Radar/BillingEvaluations.d.ts +374 -0
- package/cjs/resources/Radar/BillingEvaluations.js +15 -0
- package/cjs/resources/Radar/BillingEvaluations.js.map +1 -0
- package/cjs/resources/Radar/CustomerEvaluations.d.ts +245 -0
- package/cjs/resources/Radar/CustomerEvaluations.js +27 -0
- package/cjs/resources/Radar/CustomerEvaluations.js.map +1 -0
- package/cjs/resources/Radar/IssuingAuthorizationEvaluations.d.ts +433 -0
- package/cjs/resources/Radar/IssuingAuthorizationEvaluations.js +15 -0
- package/cjs/resources/Radar/IssuingAuthorizationEvaluations.js.map +1 -0
- package/cjs/resources/Radar/PaymentEvaluations.d.ts +234 -5
- package/cjs/resources/Radar/PaymentEvaluations.js.map +1 -1
- package/cjs/resources/Radar/Rules.d.ts +18 -0
- package/cjs/resources/Radar/Rules.js +4 -0
- package/cjs/resources/Radar/Rules.js.map +1 -0
- package/cjs/resources/Radar/ValueListItems.d.ts +39 -1
- package/cjs/resources/Radar/ValueListItems.js +13 -0
- package/cjs/resources/Radar/ValueListItems.js.map +1 -1
- package/cjs/resources/Radar/index.d.ts +44 -16
- package/cjs/resources/Radar/index.js +8 -0
- package/cjs/resources/Radar/index.js.map +1 -1
- package/cjs/resources/Refunds.d.ts +113 -0
- package/cjs/resources/Refunds.js +27 -0
- package/cjs/resources/Refunds.js.map +1 -1
- package/cjs/resources/Reporting/ReportRuns.d.ts +4 -0
- package/cjs/resources/Reserve/Holds.d.ts +53 -1
- package/cjs/resources/Reserve/Holds.js +19 -0
- package/cjs/resources/Reserve/Holds.js.map +1 -1
- package/cjs/resources/Reserve/Plans.d.ts +41 -1
- package/cjs/resources/Reserve/Plans.js +19 -0
- package/cjs/resources/Reserve/Plans.js.map +1 -1
- package/cjs/resources/Reserve/Releases.d.ts +41 -1
- package/cjs/resources/Reserve/Releases.js +19 -0
- package/cjs/resources/Reserve/Releases.js.map +1 -1
- package/cjs/resources/Reserve/index.d.ts +18 -6
- package/cjs/resources/Reserve/index.js +9 -0
- package/cjs/resources/Reserve/index.js.map +1 -1
- package/cjs/resources/Risk/Forms.d.ts +380 -0
- package/cjs/resources/Risk/Forms.js +38 -0
- package/cjs/resources/Risk/Forms.js.map +1 -0
- package/cjs/resources/Risk/index.d.ts +13 -0
- package/cjs/resources/Risk/index.js +13 -0
- package/cjs/resources/Risk/index.js.map +1 -0
- package/cjs/resources/RiskSignals.d.ts +10 -0
- package/cjs/resources/RiskSignals.js +4 -0
- package/cjs/resources/RiskSignals.js.map +1 -0
- package/cjs/resources/SetupAttempts.d.ts +39 -1
- package/cjs/resources/SetupAttempts.js.map +1 -1
- package/cjs/resources/SetupIntents.d.ts +877 -16
- package/cjs/resources/SetupIntents.js.map +1 -1
- package/cjs/resources/SharedPayment/GrantedTokens.d.ts +442 -0
- package/cjs/resources/SharedPayment/GrantedTokens.js +15 -0
- package/cjs/resources/SharedPayment/GrantedTokens.js.map +1 -0
- package/cjs/resources/SharedPayment/IssuedTokens.d.ts +378 -0
- package/cjs/resources/SharedPayment/IssuedTokens.js +27 -0
- package/cjs/resources/SharedPayment/IssuedTokens.js.map +1 -0
- package/cjs/resources/SharedPayment/index.d.ts +19 -0
- package/cjs/resources/SharedPayment/index.js +15 -0
- package/cjs/resources/SharedPayment/index.js.map +1 -0
- package/cjs/resources/Sources.d.ts +29 -1
- package/cjs/resources/SubscriptionItems.d.ts +236 -0
- package/cjs/resources/SubscriptionItems.js +41 -0
- package/cjs/resources/SubscriptionItems.js.map +1 -1
- package/cjs/resources/SubscriptionSchedules.d.ts +2007 -31
- package/cjs/resources/SubscriptionSchedules.js +61 -0
- package/cjs/resources/SubscriptionSchedules.js.map +1 -1
- package/cjs/resources/Subscriptions.d.ts +910 -14
- package/cjs/resources/Subscriptions.js +186 -0
- package/cjs/resources/Subscriptions.js.map +1 -1
- package/cjs/resources/Tax/CalculationLineItems.d.ts +12 -1
- package/cjs/resources/Tax/Calculations.d.ts +43 -1
- package/cjs/resources/Tax/Certificates.d.ts +107 -0
- package/cjs/resources/Tax/Certificates.js +35 -0
- package/cjs/resources/Tax/Certificates.js.map +1 -0
- package/cjs/resources/Tax/FormCorrections.d.ts +29 -0
- package/cjs/resources/Tax/FormCorrections.js +4 -0
- package/cjs/resources/Tax/FormCorrections.js.map +1 -0
- package/cjs/resources/Tax/Forms.d.ts +973 -0
- package/cjs/resources/Tax/Forms.js +38 -0
- package/cjs/resources/Tax/Forms.js.map +1 -0
- package/cjs/resources/Tax/Registrations.d.ts +60 -4
- package/cjs/resources/Tax/Registrations.js +27 -0
- package/cjs/resources/Tax/Registrations.js.map +1 -1
- package/cjs/resources/Tax/Settings.d.ts +8 -0
- package/cjs/resources/Tax/Settings.js +13 -0
- package/cjs/resources/Tax/Settings.js.map +1 -1
- package/cjs/resources/Tax/Transactions.d.ts +12 -0
- package/cjs/resources/Tax/Transactions.js +13 -0
- package/cjs/resources/Tax/Transactions.js.map +1 -1
- package/cjs/resources/Tax/index.d.ts +41 -17
- package/cjs/resources/Tax/index.js +4 -0
- package/cjs/resources/Tax/index.js.map +1 -1
- package/cjs/resources/TaxFunds.d.ts +174 -0
- package/cjs/resources/TaxFunds.js +23 -0
- package/cjs/resources/TaxFunds.js.map +1 -0
- package/cjs/resources/TaxIds.d.ts +6 -0
- package/cjs/resources/TaxIds.js +13 -0
- package/cjs/resources/TaxIds.js.map +1 -1
- package/cjs/resources/TaxRates.d.ts +12 -0
- package/cjs/resources/TaxRates.js +27 -0
- package/cjs/resources/TaxRates.js.map +1 -1
- package/cjs/resources/Terminal/ReaderCollectedData.d.ts +50 -0
- package/cjs/resources/Terminal/ReaderCollectedData.js +15 -0
- package/cjs/resources/Terminal/ReaderCollectedData.js.map +1 -0
- package/cjs/resources/Terminal/Readers.d.ts +235 -2
- package/cjs/resources/Terminal/Readers.js +24 -0
- package/cjs/resources/Terminal/Readers.js.map +1 -1
- package/cjs/resources/Terminal/index.d.ts +9 -0
- package/cjs/resources/Terminal/index.js +2 -0
- package/cjs/resources/Terminal/index.js.map +1 -1
- package/cjs/resources/TestHelpers/Capital/FinancingOffers.d.ts +82 -0
- package/cjs/resources/TestHelpers/Capital/FinancingOffers.js +21 -0
- package/cjs/resources/TestHelpers/Capital/FinancingOffers.js.map +1 -0
- package/cjs/resources/TestHelpers/Capital/index.d.ts +8 -0
- package/cjs/resources/TestHelpers/Capital/index.js +13 -0
- package/cjs/resources/TestHelpers/Capital/index.js.map +1 -0
- package/cjs/resources/TestHelpers/ConfirmationTokens.d.ts +165 -1
- package/cjs/resources/TestHelpers/Issuing/Authorizations.d.ts +95 -0
- package/cjs/resources/TestHelpers/Issuing/Authorizations.js +245 -0
- package/cjs/resources/TestHelpers/Issuing/Authorizations.js.map +1 -1
- package/cjs/resources/TestHelpers/Issuing/Disputes.d.ts +127 -0
- package/cjs/resources/TestHelpers/Issuing/Disputes.js +39 -0
- package/cjs/resources/TestHelpers/Issuing/Disputes.js.map +1 -0
- package/cjs/resources/TestHelpers/Issuing/Transactions.d.ts +48 -0
- package/cjs/resources/TestHelpers/Issuing/Transactions.js +48 -0
- package/cjs/resources/TestHelpers/Issuing/Transactions.js.map +1 -1
- package/cjs/resources/TestHelpers/Issuing/index.d.ts +2 -0
- package/cjs/resources/TestHelpers/Issuing/index.js +2 -0
- package/cjs/resources/TestHelpers/Issuing/index.js.map +1 -1
- package/cjs/resources/TestHelpers/PaymentIntents.d.ts +38 -0
- package/cjs/resources/TestHelpers/PaymentIntents.js +15 -0
- package/cjs/resources/TestHelpers/PaymentIntents.js.map +1 -0
- package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +92 -0
- package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js +21 -0
- package/cjs/resources/TestHelpers/SharedPayment/GrantedTokens.js.map +1 -0
- package/cjs/resources/TestHelpers/SharedPayment/index.d.ts +8 -0
- package/cjs/resources/TestHelpers/SharedPayment/index.js +13 -0
- package/cjs/resources/TestHelpers/SharedPayment/index.js.map +1 -0
- package/cjs/resources/TestHelpers/Terminal/Readers.d.ts +18 -1
- package/cjs/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +22 -0
- package/cjs/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +22 -0
- package/cjs/resources/TestHelpers/index.d.ts +14 -6
- package/cjs/resources/TestHelpers/index.js +12 -6
- package/cjs/resources/TestHelpers/index.js.map +1 -1
- package/cjs/resources/Tokens.d.ts +76 -0
- package/cjs/resources/Transfers.d.ts +12 -0
- package/cjs/resources/Transfers.js.map +1 -1
- package/cjs/resources/TransitBalances.d.ts +25 -0
- package/cjs/resources/TransitBalances.js +4 -0
- package/cjs/resources/TransitBalances.js.map +1 -0
- package/cjs/resources/Treasury/FinancialAccountFeatures.d.ts +5 -0
- package/cjs/resources/Treasury/FinancialAccounts.d.ts +34 -1
- package/cjs/resources/Treasury/InboundTransfers.d.ts +60 -0
- package/cjs/resources/Treasury/OutboundPayments.d.ts +48 -0
- package/cjs/resources/Treasury/OutboundTransfers.d.ts +66 -0
- package/cjs/resources/Treasury/ReceivedCredits.d.ts +22 -0
- package/cjs/resources/Treasury/ReceivedDebits.d.ts +26 -0
- package/cjs/resources/Treasury/TransactionEntries.js +76 -0
- package/cjs/resources/Treasury/TransactionEntries.js.map +1 -1
- package/cjs/resources/Treasury/Transactions.js +82 -0
- package/cjs/resources/Treasury/Transactions.js.map +1 -1
- package/cjs/resources/V2/Billing/BillSettingVersions.d.ts +72 -0
- package/cjs/resources/V2/Billing/BillSettingVersions.js +4 -0
- package/cjs/resources/V2/Billing/BillSettingVersions.js.map +1 -0
- package/cjs/resources/V2/Billing/BillSettings/Versions.d.ts +33 -0
- package/cjs/resources/V2/Billing/BillSettings/Versions.js +23 -0
- package/cjs/resources/V2/Billing/BillSettings/Versions.js.map +1 -0
- package/cjs/resources/V2/Billing/BillSettings.d.ts +281 -0
- package/cjs/resources/V2/Billing/BillSettings.js +41 -0
- package/cjs/resources/V2/Billing/BillSettings.js.map +1 -0
- package/cjs/resources/V2/Billing/CadenceSpendModifiers.d.ts +87 -0
- package/cjs/resources/V2/Billing/CadenceSpendModifiers.js +4 -0
- package/cjs/resources/V2/Billing/CadenceSpendModifiers.js.map +1 -0
- package/cjs/resources/V2/Billing/Cadences/SpendModifierRules.d.ts +37 -0
- package/cjs/resources/V2/Billing/Cadences/SpendModifierRules.js +23 -0
- package/cjs/resources/V2/Billing/Cadences/SpendModifierRules.js.map +1 -0
- package/cjs/resources/V2/Billing/Cadences.d.ts +1022 -0
- package/cjs/resources/V2/Billing/Cadences.js +264 -0
- package/cjs/resources/V2/Billing/Cadences.js.map +1 -0
- package/cjs/resources/V2/Billing/CollectionSettingVersions.d.ts +238 -0
- package/cjs/resources/V2/Billing/CollectionSettingVersions.js +4 -0
- package/cjs/resources/V2/Billing/CollectionSettingVersions.js.map +1 -0
- package/cjs/resources/V2/Billing/CollectionSettings/Versions.d.ts +33 -0
- package/cjs/resources/V2/Billing/CollectionSettings/Versions.js +70 -0
- package/cjs/resources/V2/Billing/CollectionSettings/Versions.js.map +1 -0
- package/cjs/resources/V2/Billing/CollectionSettings.d.ts +779 -0
- package/cjs/resources/V2/Billing/CollectionSettings.js +166 -0
- package/cjs/resources/V2/Billing/CollectionSettings.js.map +1 -0
- package/cjs/resources/V2/Billing/ContractPricingLineQuantityChanges.d.ts +50 -0
- package/cjs/resources/V2/Billing/ContractPricingLineQuantityChanges.js +4 -0
- package/cjs/resources/V2/Billing/ContractPricingLineQuantityChanges.js.map +1 -0
- package/cjs/resources/V2/Billing/ContractTermQuantityChanges.d.ts +35 -0
- package/cjs/resources/V2/Billing/ContractTermQuantityChanges.js +4 -0
- package/cjs/resources/V2/Billing/ContractTermQuantityChanges.js.map +1 -0
- package/cjs/resources/V2/Billing/ContractTerms.d.ts +216 -0
- package/cjs/resources/V2/Billing/ContractTerms.js +4 -0
- package/cjs/resources/V2/Billing/ContractTerms.js.map +1 -0
- package/cjs/resources/V2/Billing/Contracts/PricingLines/QuantityChanges.d.ts +23 -0
- package/cjs/resources/V2/Billing/Contracts/PricingLines/QuantityChanges.js +29 -0
- package/cjs/resources/V2/Billing/Contracts/PricingLines/QuantityChanges.js.map +1 -0
- package/cjs/resources/V2/Billing/Contracts/PricingLines.d.ts +8 -0
- package/cjs/resources/V2/Billing/Contracts/PricingLines.js +15 -0
- package/cjs/resources/V2/Billing/Contracts/PricingLines.js.map +1 -0
- package/cjs/resources/V2/Billing/Contracts/Terms/QuantityChanges.d.ts +23 -0
- package/cjs/resources/V2/Billing/Contracts/Terms/QuantityChanges.js +29 -0
- package/cjs/resources/V2/Billing/Contracts/Terms/QuantityChanges.js.map +1 -0
- package/cjs/resources/V2/Billing/Contracts/Terms.d.ts +46 -0
- package/cjs/resources/V2/Billing/Contracts/Terms.js +82 -0
- package/cjs/resources/V2/Billing/Contracts/Terms.js.map +1 -0
- package/cjs/resources/V2/Billing/Contracts.d.ts +2762 -0
- package/cjs/resources/V2/Billing/Contracts.js +657 -0
- package/cjs/resources/V2/Billing/Contracts.js.map +1 -0
- package/cjs/resources/V2/Billing/CustomPricingUnits.d.ts +125 -0
- package/cjs/resources/V2/Billing/CustomPricingUnits.js +35 -0
- package/cjs/resources/V2/Billing/CustomPricingUnits.js.map +1 -0
- package/cjs/resources/V2/Billing/IntentActions.d.ts +609 -0
- package/cjs/resources/V2/Billing/IntentActions.js +4 -0
- package/cjs/resources/V2/Billing/IntentActions.js.map +1 -0
- package/cjs/resources/V2/Billing/Intents/Actions.d.ts +33 -0
- package/cjs/resources/V2/Billing/Intents/Actions.js +70 -0
- package/cjs/resources/V2/Billing/Intents/Actions.js.map +1 -0
- package/cjs/resources/V2/Billing/Intents.d.ts +1267 -0
- package/cjs/resources/V2/Billing/Intents.js +87 -0
- package/cjs/resources/V2/Billing/Intents.js.map +1 -0
- package/cjs/resources/V2/Billing/LicenseFeeVersions.d.ts +78 -0
- package/cjs/resources/V2/Billing/LicenseFeeVersions.js +4 -0
- package/cjs/resources/V2/Billing/LicenseFeeVersions.js.map +1 -0
- package/cjs/resources/V2/Billing/LicenseFees/Versions.d.ts +33 -0
- package/cjs/resources/V2/Billing/LicenseFees/Versions.js +64 -0
- package/cjs/resources/V2/Billing/LicenseFees/Versions.js.map +1 -0
- package/cjs/resources/V2/Billing/LicenseFees.d.ts +360 -0
- package/cjs/resources/V2/Billing/LicenseFees.js +148 -0
- package/cjs/resources/V2/Billing/LicenseFees.js.map +1 -0
- package/cjs/resources/V2/Billing/LicensedItems.d.ts +170 -0
- package/cjs/resources/V2/Billing/LicensedItems.js +35 -0
- package/cjs/resources/V2/Billing/LicensedItems.js.map +1 -0
- package/cjs/resources/V2/Billing/MeteredItems.d.ts +218 -0
- package/cjs/resources/V2/Billing/MeteredItems.js +35 -0
- package/cjs/resources/V2/Billing/MeteredItems.js.map +1 -0
- package/cjs/resources/V2/Billing/OneTimeItems.d.ts +170 -0
- package/cjs/resources/V2/Billing/OneTimeItems.js +35 -0
- package/cjs/resources/V2/Billing/OneTimeItems.js.map +1 -0
- package/cjs/resources/V2/Billing/PricingPlanComponents.d.ts +80 -0
- package/cjs/resources/V2/Billing/PricingPlanComponents.js +4 -0
- package/cjs/resources/V2/Billing/PricingPlanComponents.js.map +1 -0
- package/cjs/resources/V2/Billing/PricingPlanSubscriptions.d.ts +636 -0
- package/cjs/resources/V2/Billing/PricingPlanSubscriptions.js +296 -0
- package/cjs/resources/V2/Billing/PricingPlanSubscriptions.js.map +1 -0
- package/cjs/resources/V2/Billing/PricingPlanVersions.d.ts +30 -0
- package/cjs/resources/V2/Billing/PricingPlanVersions.js +4 -0
- package/cjs/resources/V2/Billing/PricingPlanVersions.js.map +1 -0
- package/cjs/resources/V2/Billing/PricingPlans/Components.d.ts +142 -0
- package/cjs/resources/V2/Billing/PricingPlans/Components.js +41 -0
- package/cjs/resources/V2/Billing/PricingPlans/Components.js.map +1 -0
- package/cjs/resources/V2/Billing/PricingPlans/Versions.d.ts +33 -0
- package/cjs/resources/V2/Billing/PricingPlans/Versions.js +23 -0
- package/cjs/resources/V2/Billing/PricingPlans/Versions.js.map +1 -0
- package/cjs/resources/V2/Billing/PricingPlans.d.ts +169 -0
- package/cjs/resources/V2/Billing/PricingPlans.js +43 -0
- package/cjs/resources/V2/Billing/PricingPlans.js.map +1 -0
- package/cjs/resources/V2/Billing/Profiles.d.ts +162 -0
- package/cjs/resources/V2/Billing/Profiles.js +35 -0
- package/cjs/resources/V2/Billing/Profiles.js.map +1 -0
- package/cjs/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.d.ts +45 -0
- package/cjs/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.js +4 -0
- package/cjs/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.js.map +1 -0
- package/cjs/resources/V2/Billing/RateCardRates.d.ts +111 -0
- package/cjs/resources/V2/Billing/RateCardRates.js +4 -0
- package/cjs/resources/V2/Billing/RateCardRates.js.map +1 -0
- package/cjs/resources/V2/Billing/RateCardSubscriptions.d.ts +218 -0
- package/cjs/resources/V2/Billing/RateCardSubscriptions.js +41 -0
- package/cjs/resources/V2/Billing/RateCardSubscriptions.js.map +1 -0
- package/cjs/resources/V2/Billing/RateCardVersions.d.ts +22 -0
- package/cjs/resources/V2/Billing/RateCardVersions.js +4 -0
- package/cjs/resources/V2/Billing/RateCardVersions.js.map +1 -0
- package/cjs/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.d.ts +79 -0
- package/cjs/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.js +35 -0
- package/cjs/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.js.map +1 -0
- package/cjs/resources/V2/Billing/RateCards/Rates.d.ts +145 -0
- package/cjs/resources/V2/Billing/RateCards/Rates.js +110 -0
- package/cjs/resources/V2/Billing/RateCards/Rates.js.map +1 -0
- package/cjs/resources/V2/Billing/RateCards/Versions.d.ts +33 -0
- package/cjs/resources/V2/Billing/RateCards/Versions.js +23 -0
- package/cjs/resources/V2/Billing/RateCards/Versions.js.map +1 -0
- package/cjs/resources/V2/Billing/RateCards.d.ts +336 -0
- package/cjs/resources/V2/Billing/RateCards.js +76 -0
- package/cjs/resources/V2/Billing/RateCards.js.map +1 -0
- package/cjs/resources/V2/Billing/ServiceActions.d.ts +536 -0
- package/cjs/resources/V2/Billing/ServiceActions.js +162 -0
- package/cjs/resources/V2/Billing/ServiceActions.js.map +1 -0
- package/cjs/resources/V2/Billing/index.d.ts +181 -6
- package/cjs/resources/V2/Billing/index.js +32 -0
- package/cjs/resources/V2/Billing/index.js.map +1 -1
- package/cjs/resources/V2/Core/AccountEvaluations.d.ts +167 -0
- package/cjs/resources/V2/Core/AccountEvaluations.js +15 -0
- package/cjs/resources/V2/Core/AccountEvaluations.js.map +1 -0
- package/cjs/resources/V2/Core/AccountLinks.d.ts +138 -2
- package/cjs/resources/V2/Core/AccountPersons.d.ts +5 -2
- package/cjs/resources/V2/Core/AccountSessions.d.ts +1649 -0
- package/cjs/resources/V2/Core/AccountSessions.js +16 -0
- package/cjs/resources/V2/Core/AccountSessions.js.map +1 -0
- package/cjs/resources/V2/Core/AccountTokens.d.ts +242 -4
- package/cjs/resources/V2/Core/Accounts/PersonTokens.d.ts +5 -2
- package/cjs/resources/V2/Core/Accounts/Persons.d.ts +10 -4
- package/cjs/resources/V2/Core/Accounts.d.ts +22332 -1163
- package/cjs/resources/V2/Core/Accounts.js +23373 -30
- package/cjs/resources/V2/Core/Accounts.js.map +1 -1
- package/cjs/resources/V2/Core/ApprovalRequests.d.ts +410 -0
- package/cjs/resources/V2/Core/ApprovalRequests.js +39 -0
- package/cjs/resources/V2/Core/ApprovalRequests.js.map +1 -0
- package/cjs/resources/V2/Core/BatchJobs.d.ts +392 -0
- package/cjs/resources/V2/Core/BatchJobs.js +252 -0
- package/cjs/resources/V2/Core/BatchJobs.js.map +1 -0
- package/cjs/resources/V2/Core/ClaimableSandboxes.d.ts +225 -0
- package/cjs/resources/V2/Core/ClaimableSandboxes.js +31 -0
- package/cjs/resources/V2/Core/ClaimableSandboxes.js.map +1 -0
- package/cjs/resources/V2/Core/ConnectionSessions.d.ts +86 -0
- package/cjs/resources/V2/Core/ConnectionSessions.js +21 -0
- package/cjs/resources/V2/Core/ConnectionSessions.js.map +1 -0
- package/cjs/resources/V2/Core/Events.d.ts +6062 -593
- package/cjs/resources/V2/Core/FeeBatches.d.ts +228 -0
- package/cjs/resources/V2/Core/FeeBatches.js +23 -0
- package/cjs/resources/V2/Core/FeeBatches.js.map +1 -0
- package/cjs/resources/V2/Core/FeeEntries.d.ts +196 -0
- package/cjs/resources/V2/Core/FeeEntries.js +23 -0
- package/cjs/resources/V2/Core/FeeEntries.js.map +1 -0
- package/cjs/resources/V2/Core/Health/AlertHistoryEntries.d.ts +426 -0
- package/cjs/resources/V2/Core/Health/AlertHistoryEntries.js +4 -0
- package/cjs/resources/V2/Core/Health/AlertHistoryEntries.js.map +1 -0
- package/cjs/resources/V2/Core/Health/Alerts/History.d.ts +23 -0
- package/cjs/resources/V2/Core/Health/Alerts/History.js +101 -0
- package/cjs/resources/V2/Core/Health/Alerts/History.js.map +1 -0
- package/cjs/resources/V2/Core/Health/Alerts.d.ts +540 -0
- package/cjs/resources/V2/Core/Health/Alerts.js +182 -0
- package/cjs/resources/V2/Core/Health/Alerts.js.map +1 -0
- package/cjs/resources/V2/Core/Health/index.d.ts +16 -0
- package/cjs/resources/V2/Core/Health/index.js +13 -0
- package/cjs/resources/V2/Core/Health/index.js.map +1 -0
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.d.ts +117 -0
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.js.map +1 -1
- package/cjs/resources/V2/Core/Vault/NetworkTokens.d.ts +199 -0
- package/cjs/resources/V2/Core/Vault/NetworkTokens.js +42 -0
- package/cjs/resources/V2/Core/Vault/NetworkTokens.js.map +1 -0
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.d.ts +27 -0
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.js.map +1 -1
- package/cjs/resources/V2/Core/Vault/index.d.ts +17 -9
- package/cjs/resources/V2/Core/Vault/index.js +2 -0
- package/cjs/resources/V2/Core/Vault/index.js.map +1 -1
- package/cjs/resources/V2/Core/index.d.ts +69 -14
- package/cjs/resources/V2/Core/index.js +20 -2
- package/cjs/resources/V2/Core/index.js.map +1 -1
- package/cjs/resources/V2/Data/Analytics/MetricQuery.d.ts +74 -0
- package/cjs/resources/V2/Data/Analytics/MetricQuery.js +36 -0
- package/cjs/resources/V2/Data/Analytics/MetricQuery.js.map +1 -0
- package/cjs/resources/V2/Data/Analytics/MetricQueryResults.d.ts +76 -0
- package/cjs/resources/V2/Data/Analytics/MetricQueryResults.js +4 -0
- package/cjs/resources/V2/Data/Analytics/MetricQueryResults.js.map +1 -0
- package/cjs/resources/V2/Data/Analytics/index.d.ts +12 -0
- package/cjs/resources/V2/Data/Analytics/index.js +13 -0
- package/cjs/resources/V2/Data/Analytics/index.js.map +1 -0
- package/cjs/resources/V2/Data/Operations.d.ts +37 -0
- package/cjs/resources/V2/Data/Operations.js +40 -0
- package/cjs/resources/V2/Data/Operations.js.map +1 -0
- package/cjs/resources/V2/Data/QueryRuns.d.ts +299 -0
- package/cjs/resources/V2/Data/QueryRuns.js +51 -0
- package/cjs/resources/V2/Data/QueryRuns.js.map +1 -0
- package/cjs/resources/V2/Data/ReportRuns.d.ts +303 -0
- package/cjs/resources/V2/Data/ReportRuns.js +53 -0
- package/cjs/resources/V2/Data/ReportRuns.js.map +1 -0
- package/cjs/resources/V2/Data/Reporting/QueryRuns.d.ts +176 -0
- package/cjs/resources/V2/Data/Reporting/QueryRuns.js +46 -0
- package/cjs/resources/V2/Data/Reporting/QueryRuns.js.map +1 -0
- package/cjs/resources/V2/Data/Reporting/index.d.ts +13 -0
- package/cjs/resources/V2/Data/Reporting/index.js +13 -0
- package/cjs/resources/V2/Data/Reporting/index.js.map +1 -0
- package/cjs/resources/V2/Data/Reports.d.ts +140 -0
- package/cjs/resources/V2/Data/Reports.js +25 -0
- package/cjs/resources/V2/Data/Reports.js.map +1 -0
- package/cjs/resources/V2/Data/Schemas.d.ts +161 -0
- package/cjs/resources/V2/Data/Schemas.js +23 -0
- package/cjs/resources/V2/Data/Schemas.js.map +1 -0
- package/cjs/resources/V2/Data/SearchResultLists.d.ts +348 -0
- package/cjs/resources/V2/Data/SearchResultLists.js +4 -0
- package/cjs/resources/V2/Data/SearchResultLists.js.map +1 -0
- package/cjs/resources/V2/Data/index.d.ts +42 -0
- package/cjs/resources/V2/Data/index.js +25 -0
- package/cjs/resources/V2/Data/index.js.map +1 -0
- package/cjs/resources/V2/Extend/ObjectDefinitionVersions.d.ts +222 -0
- package/cjs/resources/V2/Extend/ObjectDefinitionVersions.js +4 -0
- package/cjs/resources/V2/Extend/ObjectDefinitionVersions.js.map +1 -0
- package/cjs/resources/V2/Extend/ObjectDefinitions/Versions.d.ts +33 -0
- package/cjs/resources/V2/Extend/ObjectDefinitions/Versions.js +23 -0
- package/cjs/resources/V2/Extend/ObjectDefinitions/Versions.js.map +1 -0
- package/cjs/resources/V2/Extend/ObjectDefinitions.d.ts +63 -0
- package/cjs/resources/V2/Extend/ObjectDefinitions.js +29 -0
- package/cjs/resources/V2/Extend/ObjectDefinitions.js.map +1 -0
- package/cjs/resources/V2/Extend/WorkflowRuns.d.ts +163 -0
- package/cjs/resources/V2/Extend/WorkflowRuns.js +23 -0
- package/cjs/resources/V2/Extend/WorkflowRuns.js.map +1 -0
- package/cjs/resources/V2/Extend/Workflows.d.ts +120 -0
- package/cjs/resources/V2/Extend/Workflows.js +30 -0
- package/cjs/resources/V2/Extend/Workflows.js.map +1 -0
- package/cjs/resources/V2/Extend/index.d.ts +29 -0
- package/cjs/resources/V2/Extend/index.js +17 -0
- package/cjs/resources/V2/Extend/index.js.map +1 -0
- package/cjs/resources/V2/Iam/ActivityLogs.d.ts +457 -0
- package/cjs/resources/V2/Iam/ActivityLogs.js +23 -0
- package/cjs/resources/V2/Iam/ActivityLogs.js.map +1 -0
- package/cjs/resources/V2/Iam/ApiKeys.d.ts +306 -0
- package/cjs/resources/V2/Iam/ApiKeys.js +47 -0
- package/cjs/resources/V2/Iam/ApiKeys.js.map +1 -0
- package/cjs/resources/V2/Iam/index.d.ts +23 -0
- package/cjs/resources/V2/Iam/index.js +15 -0
- package/cjs/resources/V2/Iam/index.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/Adjustments.d.ts +44 -2
- package/cjs/resources/V2/MoneyManagement/CurrencyConversions.d.ts +131 -0
- package/cjs/resources/V2/MoneyManagement/CurrencyConversions.js +31 -0
- package/cjs/resources/V2/MoneyManagement/CurrencyConversions.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/DebitDisputes.d.ts +173 -0
- package/cjs/resources/V2/MoneyManagement/DebitDisputes.js +29 -0
- package/cjs/resources/V2/MoneyManagement/DebitDisputes.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/EarnedCreditSimulations.d.ts +18 -0
- package/cjs/resources/V2/MoneyManagement/EarnedCreditSimulations.js +4 -0
- package/cjs/resources/V2/MoneyManagement/EarnedCreditSimulations.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/EarnedCredits.d.ts +134 -0
- package/cjs/resources/V2/MoneyManagement/EarnedCredits.js +23 -0
- package/cjs/resources/V2/MoneyManagement/EarnedCredits.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccountStatements.d.ts +99 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccountStatements.js +4 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccountStatements.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccountWalletExportCredentials.d.ts +62 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccountWalletExportCredentials.js +4 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccountWalletExportCredentials.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccountWalletExports.d.ts +50 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccountWalletExports.js +4 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccountWalletExports.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts/Statements.d.ts +49 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts/Statements.js +53 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts/Statements.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts/WalletExport.d.ts +51 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts/WalletExport.js +22 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts/WalletExport.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.d.ts +437 -4
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +132 -2
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js.map +1 -1
- package/cjs/resources/V2/MoneyManagement/FinancialAddressDebitSimulations.d.ts +14 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAddressDebitSimulations.js +4 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAddressDebitSimulations.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAddressGeneratedMicrodeposits.d.ts +19 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAddressGeneratedMicrodeposits.js +4 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAddressGeneratedMicrodeposits.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAddresses.d.ts +144 -6
- package/cjs/resources/V2/MoneyManagement/FundingIntents.d.ts +504 -0
- package/cjs/resources/V2/MoneyManagement/FundingIntents.js +53 -0
- package/cjs/resources/V2/MoneyManagement/FundingIntents.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/FundingSessions.d.ts +111 -0
- package/cjs/resources/V2/MoneyManagement/FundingSessions.js +15 -0
- package/cjs/resources/V2/MoneyManagement/FundingSessions.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/InboundFundings.d.ts +178 -0
- package/cjs/resources/V2/MoneyManagement/InboundFundings.js +23 -0
- package/cjs/resources/V2/MoneyManagement/InboundFundings.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/InboundTransferMandates.d.ts +265 -0
- package/cjs/resources/V2/MoneyManagement/InboundTransferMandates.js +39 -0
- package/cjs/resources/V2/MoneyManagement/InboundTransferMandates.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/InboundTransfers.d.ts +88 -2
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +374 -0
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +23 -0
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/OutboundPayments.d.ts +246 -6
- package/cjs/resources/V2/MoneyManagement/OutboundPayments.js.map +1 -1
- package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +143 -2
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.d.ts +434 -0
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js +40 -0
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/PayoutIntents.d.ts +18 -6
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.d.ts +125 -1
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.js +9 -0
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.js.map +1 -1
- package/cjs/resources/V2/MoneyManagement/ReceivedCredits.d.ts +344 -6
- package/cjs/resources/V2/MoneyManagement/ReceivedDebitMandates.d.ts +171 -0
- package/cjs/resources/V2/MoneyManagement/ReceivedDebitMandates.js +29 -0
- package/cjs/resources/V2/MoneyManagement/ReceivedDebitMandates.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.d.ts +373 -0
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js +23 -0
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/RecipientVerifications.d.ts +5 -1
- package/cjs/resources/V2/MoneyManagement/RewardProgramEnrollments.d.ts +140 -0
- package/cjs/resources/V2/MoneyManagement/RewardProgramEnrollments.js +46 -0
- package/cjs/resources/V2/MoneyManagement/RewardProgramEnrollments.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/RewardProgramRules.d.ts +85 -0
- package/cjs/resources/V2/MoneyManagement/RewardProgramRules.js +4 -0
- package/cjs/resources/V2/MoneyManagement/RewardProgramRules.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/RewardPrograms/Rules.d.ts +205 -0
- package/cjs/resources/V2/MoneyManagement/RewardPrograms/Rules.js +177 -0
- package/cjs/resources/V2/MoneyManagement/RewardPrograms/Rules.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/RewardPrograms.d.ts +135 -0
- package/cjs/resources/V2/MoneyManagement/RewardPrograms.js +57 -0
- package/cjs/resources/V2/MoneyManagement/RewardPrograms.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.d.ts +43 -1
- package/cjs/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.js +13 -0
- package/cjs/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.js.map +1 -1
- package/cjs/resources/V2/MoneyManagement/TestHelpers.d.ts +37 -0
- package/cjs/resources/V2/MoneyManagement/TestHelpers.js +21 -0
- package/cjs/resources/V2/MoneyManagement/TestHelpers.js.map +1 -0
- package/cjs/resources/V2/MoneyManagement/TransactionEntries.d.ts +140 -4
- package/cjs/resources/V2/MoneyManagement/Transactions.d.ts +140 -4
- package/cjs/resources/V2/MoneyManagement/Transactions.js.map +1 -1
- package/cjs/resources/V2/MoneyManagement/index.d.ts +175 -57
- package/cjs/resources/V2/MoneyManagement/index.js +28 -2
- package/cjs/resources/V2/MoneyManagement/index.js.map +1 -1
- package/cjs/resources/V2/Network/BusinessProfiles.d.ts +92 -0
- package/cjs/resources/V2/Network/BusinessProfiles.js +21 -0
- package/cjs/resources/V2/Network/BusinessProfiles.js.map +1 -0
- package/cjs/resources/V2/Network/index.d.ts +13 -0
- package/cjs/resources/V2/Network/index.js +13 -0
- package/cjs/resources/V2/Network/index.js.map +1 -0
- package/cjs/resources/V2/OrchestratedCommerce/Agreements.d.ts +143 -0
- package/cjs/resources/V2/OrchestratedCommerce/Agreements.js +41 -0
- package/cjs/resources/V2/OrchestratedCommerce/Agreements.js.map +1 -0
- package/cjs/resources/V2/OrchestratedCommerce/index.d.ts +16 -0
- package/cjs/resources/V2/OrchestratedCommerce/index.js +13 -0
- package/cjs/resources/V2/OrchestratedCommerce/index.js.map +1 -0
- package/cjs/resources/V2/Payments/OffSessionPayments.d.ts +736 -0
- package/cjs/resources/V2/Payments/OffSessionPayments.js +47 -0
- package/cjs/resources/V2/Payments/OffSessionPayments.js.map +1 -0
- package/cjs/resources/V2/Payments/SettlementAllocationIntentSplits.d.ts +73 -0
- package/cjs/resources/V2/Payments/SettlementAllocationIntentSplits.js +4 -0
- package/cjs/resources/V2/Payments/SettlementAllocationIntentSplits.js.map +1 -0
- package/cjs/resources/V2/Payments/SettlementAllocationIntents/Splits.d.ts +85 -0
- package/cjs/resources/V2/Payments/SettlementAllocationIntents/Splits.js +35 -0
- package/cjs/resources/V2/Payments/SettlementAllocationIntents/Splits.js.map +1 -0
- package/cjs/resources/V2/Payments/SettlementAllocationIntents.d.ts +212 -0
- package/cjs/resources/V2/Payments/SettlementAllocationIntents.js +53 -0
- package/cjs/resources/V2/Payments/SettlementAllocationIntents.js.map +1 -0
- package/cjs/resources/V2/Payments/index.d.ts +30 -0
- package/cjs/resources/V2/Payments/index.js +15 -0
- package/cjs/resources/V2/Payments/index.js.map +1 -0
- package/cjs/resources/V2/Provisioning/Catalog/Providers.d.ts +33 -0
- package/cjs/resources/V2/Provisioning/Catalog/Providers.js +17 -0
- package/cjs/resources/V2/Provisioning/Catalog/Providers.js.map +1 -0
- package/cjs/resources/V2/Provisioning/Catalog/Services.d.ts +37 -0
- package/cjs/resources/V2/Provisioning/Catalog/Services.js +17 -0
- package/cjs/resources/V2/Provisioning/Catalog/Services.js.map +1 -0
- package/cjs/resources/V2/Provisioning/Catalog/index.d.ts +10 -0
- package/cjs/resources/V2/Provisioning/Catalog/index.js +15 -0
- package/cjs/resources/V2/Provisioning/Catalog/index.js.map +1 -0
- package/cjs/resources/V2/Provisioning/Eligibility.d.ts +33 -0
- package/cjs/resources/V2/Provisioning/Eligibility.js +16 -0
- package/cjs/resources/V2/Provisioning/Eligibility.js.map +1 -0
- package/cjs/resources/V2/Provisioning/PaymentMethodRequests.d.ts +79 -0
- package/cjs/resources/V2/Provisioning/PaymentMethodRequests.js +25 -0
- package/cjs/resources/V2/Provisioning/PaymentMethodRequests.js.map +1 -0
- package/cjs/resources/V2/Provisioning/PaymentProfile.d.ts +139 -0
- package/cjs/resources/V2/Provisioning/PaymentProfile.js +74 -0
- package/cjs/resources/V2/Provisioning/PaymentProfile.js.map +1 -0
- package/cjs/resources/V2/Provisioning/Projects.d.ts +79 -0
- package/cjs/resources/V2/Provisioning/Projects.js +15 -0
- package/cjs/resources/V2/Provisioning/Projects.js.map +1 -0
- package/cjs/resources/V2/Provisioning/ProviderConnectionRequests.d.ts +145 -0
- package/cjs/resources/V2/Provisioning/ProviderConnectionRequests.js +27 -0
- package/cjs/resources/V2/Provisioning/ProviderConnectionRequests.js.map +1 -0
- package/cjs/resources/V2/Provisioning/ProviderConnections.d.ts +115 -0
- package/cjs/resources/V2/Provisioning/ProviderConnections.js +23 -0
- package/cjs/resources/V2/Provisioning/ProviderConnections.js.map +1 -0
- package/cjs/resources/V2/Provisioning/ProviderServiceDetails.d.ts +243 -0
- package/cjs/resources/V2/Provisioning/ProviderServiceDetails.js +4 -0
- package/cjs/resources/V2/Provisioning/ProviderServiceDetails.js.map +1 -0
- package/cjs/resources/V2/Provisioning/Providers.d.ts +67 -0
- package/cjs/resources/V2/Provisioning/Providers.js +4 -0
- package/cjs/resources/V2/Provisioning/Providers.js.map +1 -0
- package/cjs/resources/V2/Provisioning/ResourceAccessConfigurations.d.ts +28 -0
- package/cjs/resources/V2/Provisioning/ResourceAccessConfigurations.js +4 -0
- package/cjs/resources/V2/Provisioning/ResourceAccessConfigurations.js.map +1 -0
- package/cjs/resources/V2/Provisioning/Resources.d.ts +287 -0
- package/cjs/resources/V2/Provisioning/Resources.js +66 -0
- package/cjs/resources/V2/Provisioning/Resources.js.map +1 -0
- package/cjs/resources/V2/Provisioning/index.d.ts +66 -0
- package/cjs/resources/V2/Provisioning/index.js +27 -0
- package/cjs/resources/V2/Provisioning/index.js.map +1 -0
- package/cjs/resources/V2/Reporting/ReportRuns.d.ts +195 -0
- package/cjs/resources/V2/Reporting/ReportRuns.js +50 -0
- package/cjs/resources/V2/Reporting/ReportRuns.js.map +1 -0
- package/cjs/resources/V2/Reporting/Reports.d.ts +106 -0
- package/cjs/resources/V2/Reporting/Reports.js +17 -0
- package/cjs/resources/V2/Reporting/Reports.js.map +1 -0
- package/cjs/resources/V2/Reporting/index.d.ts +18 -0
- package/cjs/resources/V2/Reporting/index.js +15 -0
- package/cjs/resources/V2/Reporting/index.js.map +1 -0
- package/cjs/resources/V2/Risk/Forms.d.ts +253 -0
- package/cjs/resources/V2/Risk/Forms.js +21 -0
- package/cjs/resources/V2/Risk/Forms.js.map +1 -0
- package/cjs/resources/V2/Risk/index.d.ts +13 -0
- package/cjs/resources/V2/Risk/index.js +13 -0
- package/cjs/resources/V2/Risk/index.js.map +1 -0
- package/cjs/resources/V2/Signals/AccountActivities.d.ts +747 -0
- package/cjs/resources/V2/Signals/AccountActivities.js +27 -0
- package/cjs/resources/V2/Signals/AccountActivities.js.map +1 -0
- package/cjs/resources/V2/Signals/AccountEvaluations.d.ts +516 -0
- package/cjs/resources/V2/Signals/AccountEvaluations.js +67 -0
- package/cjs/resources/V2/Signals/AccountEvaluations.js.map +1 -0
- package/cjs/resources/V2/Signals/AccountSignals.d.ts +361 -0
- package/cjs/resources/V2/Signals/AccountSignals.js +118 -0
- package/cjs/resources/V2/Signals/AccountSignals.js.map +1 -0
- package/cjs/resources/V2/Signals/PaymentRetryEvaluations.d.ts +116 -0
- package/cjs/resources/V2/Signals/PaymentRetryEvaluations.js +38 -0
- package/cjs/resources/V2/Signals/PaymentRetryEvaluations.js.map +1 -0
- package/cjs/resources/V2/Signals/PaymentRetrySignals.d.ts +63 -0
- package/cjs/resources/V2/Signals/PaymentRetrySignals.js +15 -0
- package/cjs/resources/V2/Signals/PaymentRetrySignals.js.map +1 -0
- package/cjs/resources/V2/Signals/index.d.ts +39 -0
- package/cjs/resources/V2/Signals/index.js +21 -0
- package/cjs/resources/V2/Signals/index.js.map +1 -0
- package/cjs/resources/V2/Tax/IntegrationConfigurations.d.ts +116 -0
- package/cjs/resources/V2/Tax/IntegrationConfigurations.js +21 -0
- package/cjs/resources/V2/Tax/IntegrationConfigurations.js.map +1 -0
- package/cjs/resources/V2/Tax/ManualRules.d.ts +331 -0
- package/cjs/resources/V2/Tax/ManualRules.js +193 -0
- package/cjs/resources/V2/Tax/ManualRules.js.map +1 -0
- package/cjs/resources/V2/Tax/Operations.d.ts +43 -0
- package/cjs/resources/V2/Tax/Operations.js +15 -0
- package/cjs/resources/V2/Tax/Operations.js.map +1 -0
- package/cjs/resources/V2/Tax/OperationsResolveAddressResults.d.ts +70 -0
- package/cjs/resources/V2/Tax/OperationsResolveAddressResults.js +4 -0
- package/cjs/resources/V2/Tax/OperationsResolveAddressResults.js.map +1 -0
- package/cjs/resources/V2/Tax/index.d.ts +27 -0
- package/cjs/resources/V2/Tax/index.js +17 -0
- package/cjs/resources/V2/Tax/index.js.map +1 -0
- package/cjs/resources/V2/index.d.ts +33 -0
- package/cjs/resources/V2/index.js +26 -4
- package/cjs/resources/V2/index.js.map +1 -1
- package/cjs/resources/WebhookEndpoints.d.ts +2 -2
- package/cjs/resources.d.ts +20 -0
- package/cjs/resources.js +313 -21
- package/cjs/resources.js.map +1 -1
- package/cjs/stripe.cjs.node.d.ts +20042 -2747
- package/cjs/stripe.cjs.node.js.map +1 -1
- package/cjs/stripe.core.d.ts +170 -56
- package/cjs/stripe.core.js +156 -45
- package/cjs/stripe.core.js.map +1 -1
- package/esm/Error.d.ts +29 -0
- package/esm/Error.js +47 -0
- package/esm/Error.js.map +1 -1
- package/esm/RequestSender.js +26 -5
- package/esm/RequestSender.js.map +1 -1
- package/esm/StripeEventNotificationHandler.js +226 -3
- package/esm/StripeEventNotificationHandler.js.map +1 -1
- package/esm/Types.d.ts +21 -2
- package/esm/Types.js.map +1 -1
- package/esm/WorkloadIdentity.d.ts +99 -0
- package/esm/WorkloadIdentity.js +282 -0
- package/esm/WorkloadIdentity.js.map +1 -0
- package/esm/apiVersion.d.ts +2 -2
- package/esm/apiVersion.js +2 -2
- package/esm/apiVersion.js.map +1 -1
- package/esm/net/WorkloadIdentityTokenTransport.d.ts +27 -0
- package/esm/net/WorkloadIdentityTokenTransport.js +49 -0
- package/esm/net/WorkloadIdentityTokenTransport.js.map +1 -0
- package/esm/resources/AccountLinks.d.ts +5 -1
- package/esm/resources/AccountNotices.d.ts +140 -0
- package/esm/resources/AccountNotices.js +25 -0
- package/esm/resources/AccountNotices.js.map +1 -0
- package/esm/resources/AccountSessions.d.ts +729 -8
- package/esm/resources/AccountSessions.js.map +1 -1
- package/esm/resources/AccountSignals.d.ts +111 -0
- package/esm/resources/AccountSignals.js +3 -0
- package/esm/resources/AccountSignals.js.map +1 -0
- package/esm/resources/Accounts.d.ts +871 -3
- package/esm/resources/Accounts.js +47 -0
- package/esm/resources/Accounts.js.map +1 -1
- package/esm/resources/ApplicationFees.d.ts +28 -1
- package/esm/resources/Apps/Installs.d.ts +1 -1
- package/esm/resources/Apps/Installs.js +1 -1
- package/esm/resources/Balance.d.ts +205 -0
- package/esm/resources/BalanceSettings.d.ts +26 -0
- package/esm/resources/BalanceTransactions.d.ts +1 -1
- package/esm/resources/BalanceTransfers.d.ts +160 -0
- package/esm/resources/BalanceTransfers.js +11 -0
- package/esm/resources/BalanceTransfers.js.map +1 -0
- package/esm/resources/BankAccounts.d.ts +16 -2
- package/esm/resources/Billing/AlertNotifications.d.ts +79 -0
- package/esm/resources/Billing/AlertNotifications.js +3 -0
- package/esm/resources/Billing/AlertNotifications.js.map +1 -0
- package/esm/resources/Billing/AlertRecovereds.d.ts +56 -0
- package/esm/resources/Billing/AlertRecovereds.js +3 -0
- package/esm/resources/Billing/AlertRecovereds.js.map +1 -0
- package/esm/resources/Billing/AlertTriggereds.d.ts +59 -1
- package/esm/resources/Billing/Alerts.d.ts +462 -5
- package/esm/resources/Billing/Alerts.js +329 -5
- package/esm/resources/Billing/Alerts.js.map +1 -1
- package/esm/resources/Billing/Analytics/MeterUsage.d.ts +89 -0
- package/esm/resources/Billing/Analytics/MeterUsage.js +11 -0
- package/esm/resources/Billing/Analytics/MeterUsage.js.map +1 -0
- package/esm/resources/Billing/Analytics/MeterUsageRows.d.ts +38 -0
- package/esm/resources/Billing/Analytics/MeterUsageRows.js +3 -0
- package/esm/resources/Billing/Analytics/MeterUsageRows.js.map +1 -0
- package/esm/resources/Billing/Analytics/index.d.ts +15 -0
- package/esm/resources/Billing/Analytics/index.js +9 -0
- package/esm/resources/Billing/Analytics/index.js.map +1 -0
- package/esm/resources/Billing/CreditBalanceSummary.d.ts +136 -3
- package/esm/resources/Billing/CreditBalanceSummary.js +39 -1
- package/esm/resources/Billing/CreditBalanceSummary.js.map +1 -1
- package/esm/resources/Billing/CreditBalanceTransactions.d.ts +97 -3
- package/esm/resources/Billing/CreditBalanceTransactions.js +100 -1
- package/esm/resources/Billing/CreditBalanceTransactions.js.map +1 -1
- package/esm/resources/Billing/CreditGrants.d.ts +105 -3
- package/esm/resources/Billing/CreditGrants.js +134 -5
- package/esm/resources/Billing/CreditGrants.js.map +1 -1
- package/esm/resources/Billing/MeterEventSummaries.d.ts +6 -0
- package/esm/resources/Billing/Meters.d.ts +31 -0
- package/esm/resources/Billing/index.d.ts +10 -0
- package/esm/resources/Billing/index.js +2 -0
- package/esm/resources/Billing/index.js.map +1 -1
- package/esm/resources/Capabilities.d.ts +39 -2
- package/esm/resources/Capital/FinancingOffers.d.ts +217 -0
- package/esm/resources/Capital/FinancingOffers.js +26 -0
- package/esm/resources/Capital/FinancingOffers.js.map +1 -0
- package/esm/resources/Capital/FinancingSummary.d.ts +123 -0
- package/esm/resources/Capital/FinancingSummary.js +11 -0
- package/esm/resources/Capital/FinancingSummary.js.map +1 -0
- package/esm/resources/Capital/FinancingTransactions.d.ts +141 -0
- package/esm/resources/Capital/FinancingTransactions.js +20 -0
- package/esm/resources/Capital/FinancingTransactions.js.map +1 -0
- package/esm/resources/Capital/index.d.ts +25 -0
- package/esm/resources/Capital/index.js +13 -0
- package/esm/resources/Capital/index.js.map +1 -0
- package/esm/resources/Cards.d.ts +28 -0
- package/esm/resources/Charges.d.ts +3783 -94
- package/esm/resources/Charges.js.map +1 -1
- package/esm/resources/Checkout/Sessions.d.ts +2287 -79
- package/esm/resources/Checkout/Sessions.js +668 -12
- package/esm/resources/Checkout/Sessions.js.map +1 -1
- package/esm/resources/Checkout/index.d.ts +1 -0
- package/esm/resources/ConfirmationTokens.d.ts +201 -1
- package/esm/resources/ConfirmationTokens.js.map +1 -1
- package/esm/resources/Coupons.d.ts +128 -2
- package/esm/resources/Coupons.js +41 -0
- package/esm/resources/Coupons.js.map +1 -1
- package/esm/resources/CreditNoteLineItems.d.ts +15 -1
- package/esm/resources/CreditNotes.d.ts +7 -1
- package/esm/resources/CreditNotes.js +13 -0
- package/esm/resources/CreditNotes.js.map +1 -1
- package/esm/resources/Crypto/CustomerConsumerWallets.d.ts +30 -0
- package/esm/resources/Crypto/CustomerConsumerWallets.js +3 -0
- package/esm/resources/Crypto/CustomerConsumerWallets.js.map +1 -0
- package/esm/resources/Crypto/CustomerPaymentTokens.d.ts +80 -0
- package/esm/resources/Crypto/CustomerPaymentTokens.js +3 -0
- package/esm/resources/Crypto/CustomerPaymentTokens.js.map +1 -0
- package/esm/resources/Crypto/Customers.d.ts +111 -0
- package/esm/resources/Crypto/Customers.js +27 -0
- package/esm/resources/Crypto/Customers.js.map +1 -0
- package/esm/resources/Crypto/DepositAddresses.d.ts +128 -0
- package/esm/resources/Crypto/DepositAddresses.js +27 -0
- package/esm/resources/Crypto/DepositAddresses.js.map +1 -0
- package/esm/resources/Crypto/OnrampSessions.d.ts +425 -0
- package/esm/resources/Crypto/OnrampSessions.js +43 -0
- package/esm/resources/Crypto/OnrampSessions.js.map +1 -0
- package/esm/resources/Crypto/OnrampTransactionLimits.d.ts +61 -0
- package/esm/resources/Crypto/OnrampTransactionLimits.js +11 -0
- package/esm/resources/Crypto/OnrampTransactionLimits.js.map +1 -0
- package/esm/resources/Crypto/index.d.ts +41 -0
- package/esm/resources/Crypto/index.js +15 -0
- package/esm/resources/Crypto/index.js.map +1 -0
- package/esm/resources/CustomerCashBalanceTransactions.d.ts +15 -0
- package/esm/resources/CustomerSessions.d.ts +82 -0
- package/esm/resources/CustomerSessions.js +13 -0
- package/esm/resources/CustomerSessions.js.map +1 -1
- package/esm/resources/CustomerTaxExemptions.d.ts +107 -0
- package/esm/resources/CustomerTaxExemptions.js +3 -0
- package/esm/resources/CustomerTaxExemptions.js.map +1 -0
- package/esm/resources/Customers.d.ts +334 -1
- package/esm/resources/Customers.js +221 -0
- package/esm/resources/Customers.js.map +1 -1
- package/esm/resources/DelegatedCheckout/OrderEvents.d.ts +129 -0
- package/esm/resources/DelegatedCheckout/OrderEvents.js +3 -0
- package/esm/resources/DelegatedCheckout/OrderEvents.js.map +1 -0
- package/esm/resources/DelegatedCheckout/Orders.d.ts +159 -0
- package/esm/resources/DelegatedCheckout/Orders.js +11 -0
- package/esm/resources/DelegatedCheckout/Orders.js.map +1 -0
- package/esm/resources/DelegatedCheckout/RequestedSessions.d.ts +1427 -0
- package/esm/resources/DelegatedCheckout/RequestedSessions.js +43 -0
- package/esm/resources/DelegatedCheckout/RequestedSessions.js.map +1 -0
- package/esm/resources/DelegatedCheckout/index.d.ts +25 -0
- package/esm/resources/DelegatedCheckout/index.js +11 -0
- package/esm/resources/DelegatedCheckout/index.js.map +1 -0
- package/esm/resources/Discounts.d.ts +19 -0
- package/esm/resources/Disputes.d.ts +29 -1
- package/esm/resources/Disputes.js +14 -0
- package/esm/resources/Disputes.js.map +1 -1
- package/esm/resources/Events.d.ts +640 -3
- package/esm/resources/ExternalAccounts.d.ts +212 -1
- package/esm/resources/ExternalAccounts.js +42 -1
- package/esm/resources/ExternalAccounts.js.map +1 -1
- package/esm/resources/FinancialConnections/AccountInferredBalances.d.ts +24 -0
- package/esm/resources/FinancialConnections/AccountInferredBalances.js +3 -0
- package/esm/resources/FinancialConnections/AccountInferredBalances.js.map +1 -0
- package/esm/resources/FinancialConnections/Accounts.d.ts +105 -4
- package/esm/resources/FinancialConnections/Accounts.js +8 -0
- package/esm/resources/FinancialConnections/Accounts.js.map +1 -1
- package/esm/resources/FinancialConnections/Authorizations.d.ts +46 -1
- package/esm/resources/FinancialConnections/Authorizations.js +9 -1
- package/esm/resources/FinancialConnections/Authorizations.js.map +1 -1
- package/esm/resources/FinancialConnections/Consents.d.ts +113 -0
- package/esm/resources/FinancialConnections/Consents.js +17 -0
- package/esm/resources/FinancialConnections/Consents.js.map +1 -0
- package/esm/resources/FinancialConnections/Institutions.d.ts +99 -0
- package/esm/resources/FinancialConnections/Institutions.js +19 -0
- package/esm/resources/FinancialConnections/Institutions.js.map +1 -0
- package/esm/resources/FinancialConnections/Sessions.d.ts +134 -9
- package/esm/resources/FinancialConnections/Transactions.d.ts +70 -0
- package/esm/resources/FinancialConnections/index.d.ts +27 -9
- package/esm/resources/FinancialConnections/index.js +6 -0
- package/esm/resources/FinancialConnections/index.js.map +1 -1
- package/esm/resources/FxQuotes.d.ts +216 -0
- package/esm/resources/FxQuotes.js +25 -0
- package/esm/resources/FxQuotes.js.map +1 -0
- package/esm/resources/GiftCardOperations.d.ts +249 -0
- package/esm/resources/GiftCardOperations.js +11 -0
- package/esm/resources/GiftCardOperations.js.map +1 -0
- package/esm/resources/GiftCards.d.ts +188 -0
- package/esm/resources/GiftCards.js +47 -0
- package/esm/resources/GiftCards.js.map +1 -0
- package/esm/resources/Identity/BlocklistEntries.d.ts +155 -0
- package/esm/resources/Identity/BlocklistEntries.js +50 -0
- package/esm/resources/Identity/BlocklistEntries.js.map +1 -0
- package/esm/resources/Identity/VerificationReports.d.ts +203 -2
- package/esm/resources/Identity/VerificationReports.js.map +1 -1
- package/esm/resources/Identity/VerificationSessions.d.ts +45 -1
- package/esm/resources/Identity/index.d.ts +18 -10
- package/esm/resources/Identity/index.js +2 -0
- package/esm/resources/Identity/index.js.map +1 -1
- package/esm/resources/InvoiceItems.d.ts +215 -2
- package/esm/resources/InvoiceItems.js +41 -0
- package/esm/resources/InvoiceItems.js.map +1 -1
- package/esm/resources/InvoiceLineItems.d.ts +174 -4
- package/esm/resources/InvoiceRenderingTemplates.d.ts +12 -0
- package/esm/resources/InvoiceRenderingTemplates.js +28 -0
- package/esm/resources/InvoiceRenderingTemplates.js.map +1 -1
- package/esm/resources/Invoices.d.ts +2167 -73
- package/esm/resources/Invoices.js +221 -0
- package/esm/resources/Invoices.js.map +1 -1
- package/esm/resources/Issuing/Authorizations.d.ts +821 -1
- package/esm/resources/Issuing/Authorizations.js +177 -0
- package/esm/resources/Issuing/Authorizations.js.map +1 -1
- package/esm/resources/Issuing/Cardholders.d.ts +22 -4
- package/esm/resources/Issuing/Cards.d.ts +141 -2
- package/esm/resources/Issuing/CreditUnderwritingRecords.d.ts +654 -0
- package/esm/resources/Issuing/CreditUnderwritingRecords.js +49 -0
- package/esm/resources/Issuing/CreditUnderwritingRecords.js.map +1 -0
- package/esm/resources/Issuing/DisputeSettlementDetails.d.ts +93 -0
- package/esm/resources/Issuing/DisputeSettlementDetails.js +19 -0
- package/esm/resources/Issuing/DisputeSettlementDetails.js.map +1 -0
- package/esm/resources/Issuing/Disputes.d.ts +246 -0
- package/esm/resources/Issuing/FraudLiabilityDebits.d.ts +68 -0
- package/esm/resources/Issuing/FraudLiabilityDebits.js +19 -0
- package/esm/resources/Issuing/FraudLiabilityDebits.js.map +1 -0
- package/esm/resources/Issuing/Programs.d.ts +95 -0
- package/esm/resources/Issuing/Programs.js +31 -0
- package/esm/resources/Issuing/Programs.js.map +1 -0
- package/esm/resources/Issuing/Settlements.d.ts +83 -0
- package/esm/resources/Issuing/Settlements.js +3 -0
- package/esm/resources/Issuing/Settlements.js.map +1 -0
- package/esm/resources/Issuing/Tokens.d.ts +26 -0
- package/esm/resources/Issuing/Transactions.d.ts +259 -0
- package/esm/resources/Issuing/Transactions.js +48 -0
- package/esm/resources/Issuing/Transactions.js.map +1 -1
- package/esm/resources/Issuing/index.d.ts +56 -22
- package/esm/resources/Issuing/index.js +8 -0
- package/esm/resources/Issuing/index.js.map +1 -1
- package/esm/resources/LineItems.d.ts +29 -2
- package/esm/resources/Mandates.d.ts +36 -2
- package/esm/resources/Mandates.js +8 -0
- package/esm/resources/Mandates.js.map +1 -1
- package/esm/resources/Margins.d.ts +115 -0
- package/esm/resources/Margins.js +31 -0
- package/esm/resources/Margins.js.map +1 -0
- package/esm/resources/Orchestration/PaymentAttempts.d.ts +34 -0
- package/esm/resources/Orchestration/PaymentAttempts.js +11 -0
- package/esm/resources/Orchestration/PaymentAttempts.js.map +1 -0
- package/esm/resources/Orchestration/index.d.ts +12 -0
- package/esm/resources/Orchestration/index.js +9 -0
- package/esm/resources/Orchestration/index.js.map +1 -0
- package/esm/resources/Orders.d.ts +4776 -0
- package/esm/resources/Orders.js +453 -0
- package/esm/resources/Orders.js.map +1 -0
- package/esm/resources/PaymentAttemptRecords.d.ts +908 -2
- package/esm/resources/PaymentAttemptRecords.js +48 -0
- package/esm/resources/PaymentAttemptRecords.js.map +1 -1
- package/esm/resources/PaymentIntentAmountDetailsLineItems.d.ts +104 -0
- package/esm/resources/PaymentIntents.d.ts +19847 -4859
- package/esm/resources/PaymentIntents.js +46 -0
- package/esm/resources/PaymentIntents.js.map +1 -1
- package/esm/resources/PaymentLinks.d.ts +73 -12
- package/esm/resources/PaymentLocationCapabilities.d.ts +124 -0
- package/esm/resources/PaymentLocationCapabilities.js +25 -0
- package/esm/resources/PaymentLocationCapabilities.js.map +1 -0
- package/esm/resources/PaymentLocations.d.ts +178 -0
- package/esm/resources/PaymentLocations.js +37 -0
- package/esm/resources/PaymentLocations.js.map +1 -0
- package/esm/resources/PaymentMethodBalances.d.ts +46 -0
- package/esm/resources/PaymentMethodBalances.js +3 -0
- package/esm/resources/PaymentMethodBalances.js.map +1 -0
- package/esm/resources/PaymentMethodConfigurations.d.ts +420 -0
- package/esm/resources/PaymentMethods.d.ts +423 -3
- package/esm/resources/PaymentMethods.js +20 -0
- package/esm/resources/PaymentMethods.js.map +1 -1
- package/esm/resources/PaymentPlans.d.ts +427 -0
- package/esm/resources/PaymentPlans.js +31 -0
- package/esm/resources/PaymentPlans.js.map +1 -0
- package/esm/resources/PaymentRecords.d.ts +906 -20
- package/esm/resources/PaymentRecords.js +18 -0
- package/esm/resources/PaymentRecords.js.map +1 -1
- package/esm/resources/Payouts.d.ts +30 -0
- package/esm/resources/Persons.d.ts +39 -2
- package/esm/resources/Prices.d.ts +60 -0
- package/esm/resources/Prices.js +27 -0
- package/esm/resources/Prices.js.map +1 -1
- package/esm/resources/Privacy/RedactionJobValidationErrors.d.ts +36 -0
- package/esm/resources/Privacy/RedactionJobValidationErrors.js +3 -0
- package/esm/resources/Privacy/RedactionJobValidationErrors.js.map +1 -0
- package/esm/resources/Privacy/RedactionJobs.d.ts +227 -0
- package/esm/resources/Privacy/RedactionJobs.js +69 -0
- package/esm/resources/Privacy/RedactionJobs.js.map +1 -0
- package/esm/resources/Privacy/index.d.ts +22 -0
- package/esm/resources/Privacy/index.js +9 -0
- package/esm/resources/Privacy/index.js.map +1 -0
- package/esm/resources/ProductCatalog/TrialOffers.d.ts +2 -2
- package/esm/resources/Products.d.ts +156 -0
- package/esm/resources/Products.js +69 -0
- package/esm/resources/Products.js.map +1 -1
- package/esm/resources/Profiles.d.ts +68 -0
- package/esm/resources/Profiles.js +3 -0
- package/esm/resources/Profiles.js.map +1 -0
- package/esm/resources/PromotionCodes.d.ts +12 -0
- package/esm/resources/PromotionCodes.js +27 -0
- package/esm/resources/PromotionCodes.js.map +1 -1
- package/esm/resources/QuoteLines.d.ts +684 -0
- package/esm/resources/QuoteLines.js +3 -0
- package/esm/resources/QuoteLines.js.map +1 -0
- package/esm/resources/QuotePreviewInvoices.d.ts +1291 -0
- package/esm/resources/QuotePreviewInvoices.js +3 -0
- package/esm/resources/QuotePreviewInvoices.js.map +1 -0
- package/esm/resources/QuotePreviewSubscriptionSchedules.d.ts +1134 -0
- package/esm/resources/QuotePreviewSubscriptionSchedules.js +3 -0
- package/esm/resources/QuotePreviewSubscriptionSchedules.js.map +1 -0
- package/esm/resources/Quotes.d.ts +3548 -254
- package/esm/resources/Quotes.js +1184 -16
- package/esm/resources/Quotes.js.map +1 -1
- package/esm/resources/Radar/AccountEvaluations.d.ts +309 -0
- package/esm/resources/Radar/AccountEvaluations.js +23 -0
- package/esm/resources/Radar/AccountEvaluations.js.map +1 -0
- package/esm/resources/Radar/BillingEvaluations.d.ts +374 -0
- package/esm/resources/Radar/BillingEvaluations.js +11 -0
- package/esm/resources/Radar/BillingEvaluations.js.map +1 -0
- package/esm/resources/Radar/CustomerEvaluations.d.ts +245 -0
- package/esm/resources/Radar/CustomerEvaluations.js +23 -0
- package/esm/resources/Radar/CustomerEvaluations.js.map +1 -0
- package/esm/resources/Radar/IssuingAuthorizationEvaluations.d.ts +433 -0
- package/esm/resources/Radar/IssuingAuthorizationEvaluations.js +11 -0
- package/esm/resources/Radar/IssuingAuthorizationEvaluations.js.map +1 -0
- package/esm/resources/Radar/PaymentEvaluations.d.ts +234 -5
- package/esm/resources/Radar/PaymentEvaluations.js.map +1 -1
- package/esm/resources/Radar/Rules.d.ts +18 -0
- package/esm/resources/Radar/Rules.js +3 -0
- package/esm/resources/Radar/Rules.js.map +1 -0
- package/esm/resources/Radar/ValueListItems.d.ts +39 -1
- package/esm/resources/Radar/ValueListItems.js +13 -0
- package/esm/resources/Radar/ValueListItems.js.map +1 -1
- package/esm/resources/Radar/index.d.ts +44 -16
- package/esm/resources/Radar/index.js +8 -0
- package/esm/resources/Radar/index.js.map +1 -1
- package/esm/resources/Refunds.d.ts +113 -0
- package/esm/resources/Refunds.js +27 -0
- package/esm/resources/Refunds.js.map +1 -1
- package/esm/resources/Reporting/ReportRuns.d.ts +4 -0
- package/esm/resources/Reserve/Holds.d.ts +53 -1
- package/esm/resources/Reserve/Holds.js +17 -1
- package/esm/resources/Reserve/Holds.js.map +1 -1
- package/esm/resources/Reserve/Plans.d.ts +41 -1
- package/esm/resources/Reserve/Plans.js +17 -1
- package/esm/resources/Reserve/Plans.js.map +1 -1
- package/esm/resources/Reserve/Releases.d.ts +41 -1
- package/esm/resources/Reserve/Releases.js +17 -1
- package/esm/resources/Reserve/Releases.js.map +1 -1
- package/esm/resources/Reserve/index.d.ts +18 -6
- package/esm/resources/Reserve/index.js +9 -0
- package/esm/resources/Reserve/index.js.map +1 -1
- package/esm/resources/Risk/Forms.d.ts +380 -0
- package/esm/resources/Risk/Forms.js +34 -0
- package/esm/resources/Risk/Forms.js.map +1 -0
- package/esm/resources/Risk/index.d.ts +13 -0
- package/esm/resources/Risk/index.js +9 -0
- package/esm/resources/Risk/index.js.map +1 -0
- package/esm/resources/RiskSignals.d.ts +10 -0
- package/esm/resources/RiskSignals.js +3 -0
- package/esm/resources/RiskSignals.js.map +1 -0
- package/esm/resources/SetupAttempts.d.ts +39 -1
- package/esm/resources/SetupAttempts.js.map +1 -1
- package/esm/resources/SetupIntents.d.ts +877 -16
- package/esm/resources/SetupIntents.js.map +1 -1
- package/esm/resources/SharedPayment/GrantedTokens.d.ts +442 -0
- package/esm/resources/SharedPayment/GrantedTokens.js +11 -0
- package/esm/resources/SharedPayment/GrantedTokens.js.map +1 -0
- package/esm/resources/SharedPayment/IssuedTokens.d.ts +378 -0
- package/esm/resources/SharedPayment/IssuedTokens.js +23 -0
- package/esm/resources/SharedPayment/IssuedTokens.js.map +1 -0
- package/esm/resources/SharedPayment/index.d.ts +19 -0
- package/esm/resources/SharedPayment/index.js +11 -0
- package/esm/resources/SharedPayment/index.js.map +1 -0
- package/esm/resources/Sources.d.ts +29 -1
- package/esm/resources/SubscriptionItems.d.ts +236 -0
- package/esm/resources/SubscriptionItems.js +41 -0
- package/esm/resources/SubscriptionItems.js.map +1 -1
- package/esm/resources/SubscriptionSchedules.d.ts +2007 -31
- package/esm/resources/SubscriptionSchedules.js +61 -0
- package/esm/resources/SubscriptionSchedules.js.map +1 -1
- package/esm/resources/Subscriptions.d.ts +910 -14
- package/esm/resources/Subscriptions.js +186 -0
- package/esm/resources/Subscriptions.js.map +1 -1
- package/esm/resources/Tax/CalculationLineItems.d.ts +12 -1
- package/esm/resources/Tax/Calculations.d.ts +43 -1
- package/esm/resources/Tax/Certificates.d.ts +107 -0
- package/esm/resources/Tax/Certificates.js +31 -0
- package/esm/resources/Tax/Certificates.js.map +1 -0
- package/esm/resources/Tax/FormCorrections.d.ts +29 -0
- package/esm/resources/Tax/FormCorrections.js +3 -0
- package/esm/resources/Tax/FormCorrections.js.map +1 -0
- package/esm/resources/Tax/Forms.d.ts +973 -0
- package/esm/resources/Tax/Forms.js +34 -0
- package/esm/resources/Tax/Forms.js.map +1 -0
- package/esm/resources/Tax/Registrations.d.ts +60 -4
- package/esm/resources/Tax/Registrations.js +27 -0
- package/esm/resources/Tax/Registrations.js.map +1 -1
- package/esm/resources/Tax/Settings.d.ts +8 -0
- package/esm/resources/Tax/Settings.js +13 -0
- package/esm/resources/Tax/Settings.js.map +1 -1
- package/esm/resources/Tax/Transactions.d.ts +12 -0
- package/esm/resources/Tax/Transactions.js +13 -0
- package/esm/resources/Tax/Transactions.js.map +1 -1
- package/esm/resources/Tax/index.d.ts +41 -17
- package/esm/resources/Tax/index.js +4 -0
- package/esm/resources/Tax/index.js.map +1 -1
- package/esm/resources/TaxFunds.d.ts +174 -0
- package/esm/resources/TaxFunds.js +19 -0
- package/esm/resources/TaxFunds.js.map +1 -0
- package/esm/resources/TaxIds.d.ts +6 -0
- package/esm/resources/TaxIds.js +13 -0
- package/esm/resources/TaxIds.js.map +1 -1
- package/esm/resources/TaxRates.d.ts +12 -0
- package/esm/resources/TaxRates.js +27 -0
- package/esm/resources/TaxRates.js.map +1 -1
- package/esm/resources/Terminal/ReaderCollectedData.d.ts +50 -0
- package/esm/resources/Terminal/ReaderCollectedData.js +11 -0
- package/esm/resources/Terminal/ReaderCollectedData.js.map +1 -0
- package/esm/resources/Terminal/Readers.d.ts +235 -2
- package/esm/resources/Terminal/Readers.js +24 -0
- package/esm/resources/Terminal/Readers.js.map +1 -1
- package/esm/resources/Terminal/index.d.ts +9 -0
- package/esm/resources/Terminal/index.js +2 -0
- package/esm/resources/Terminal/index.js.map +1 -1
- package/esm/resources/TestHelpers/Capital/FinancingOffers.d.ts +82 -0
- package/esm/resources/TestHelpers/Capital/FinancingOffers.js +17 -0
- package/esm/resources/TestHelpers/Capital/FinancingOffers.js.map +1 -0
- package/esm/resources/TestHelpers/Capital/index.d.ts +8 -0
- package/esm/resources/TestHelpers/Capital/index.js +9 -0
- package/esm/resources/TestHelpers/Capital/index.js.map +1 -0
- package/esm/resources/TestHelpers/ConfirmationTokens.d.ts +165 -1
- package/esm/resources/TestHelpers/Issuing/Authorizations.d.ts +95 -0
- package/esm/resources/TestHelpers/Issuing/Authorizations.js +245 -0
- package/esm/resources/TestHelpers/Issuing/Authorizations.js.map +1 -1
- package/esm/resources/TestHelpers/Issuing/Disputes.d.ts +127 -0
- package/esm/resources/TestHelpers/Issuing/Disputes.js +35 -0
- package/esm/resources/TestHelpers/Issuing/Disputes.js.map +1 -0
- package/esm/resources/TestHelpers/Issuing/Transactions.d.ts +48 -0
- package/esm/resources/TestHelpers/Issuing/Transactions.js +48 -0
- package/esm/resources/TestHelpers/Issuing/Transactions.js.map +1 -1
- package/esm/resources/TestHelpers/Issuing/index.d.ts +2 -0
- package/esm/resources/TestHelpers/Issuing/index.js +2 -0
- package/esm/resources/TestHelpers/Issuing/index.js.map +1 -1
- package/esm/resources/TestHelpers/PaymentIntents.d.ts +38 -0
- package/esm/resources/TestHelpers/PaymentIntents.js +11 -0
- package/esm/resources/TestHelpers/PaymentIntents.js.map +1 -0
- package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.d.ts +92 -0
- package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js +17 -0
- package/esm/resources/TestHelpers/SharedPayment/GrantedTokens.js.map +1 -0
- package/esm/resources/TestHelpers/SharedPayment/index.d.ts +8 -0
- package/esm/resources/TestHelpers/SharedPayment/index.js +9 -0
- package/esm/resources/TestHelpers/SharedPayment/index.js.map +1 -0
- package/esm/resources/TestHelpers/Terminal/Readers.d.ts +18 -1
- package/esm/resources/TestHelpers/Treasury/ReceivedCredits.d.ts +22 -0
- package/esm/resources/TestHelpers/Treasury/ReceivedDebits.d.ts +22 -0
- package/esm/resources/TestHelpers/index.d.ts +14 -6
- package/esm/resources/TestHelpers/index.js +6 -0
- package/esm/resources/TestHelpers/index.js.map +1 -1
- package/esm/resources/Tokens.d.ts +76 -0
- package/esm/resources/Transfers.d.ts +12 -0
- package/esm/resources/Transfers.js.map +1 -1
- package/esm/resources/TransitBalances.d.ts +25 -0
- package/esm/resources/TransitBalances.js +3 -0
- package/esm/resources/TransitBalances.js.map +1 -0
- package/esm/resources/Treasury/FinancialAccountFeatures.d.ts +5 -0
- package/esm/resources/Treasury/FinancialAccounts.d.ts +34 -1
- package/esm/resources/Treasury/InboundTransfers.d.ts +60 -0
- package/esm/resources/Treasury/OutboundPayments.d.ts +48 -0
- package/esm/resources/Treasury/OutboundTransfers.d.ts +66 -0
- package/esm/resources/Treasury/ReceivedCredits.d.ts +22 -0
- package/esm/resources/Treasury/ReceivedDebits.d.ts +26 -0
- package/esm/resources/Treasury/TransactionEntries.js +76 -0
- package/esm/resources/Treasury/TransactionEntries.js.map +1 -1
- package/esm/resources/Treasury/Transactions.js +82 -0
- package/esm/resources/Treasury/Transactions.js.map +1 -1
- package/esm/resources/V2/Billing/BillSettingVersions.d.ts +72 -0
- package/esm/resources/V2/Billing/BillSettingVersions.js +3 -0
- package/esm/resources/V2/Billing/BillSettingVersions.js.map +1 -0
- package/esm/resources/V2/Billing/BillSettings/Versions.d.ts +33 -0
- package/esm/resources/V2/Billing/BillSettings/Versions.js +19 -0
- package/esm/resources/V2/Billing/BillSettings/Versions.js.map +1 -0
- package/esm/resources/V2/Billing/BillSettings.d.ts +281 -0
- package/esm/resources/V2/Billing/BillSettings.js +37 -0
- package/esm/resources/V2/Billing/BillSettings.js.map +1 -0
- package/esm/resources/V2/Billing/CadenceSpendModifiers.d.ts +87 -0
- package/esm/resources/V2/Billing/CadenceSpendModifiers.js +3 -0
- package/esm/resources/V2/Billing/CadenceSpendModifiers.js.map +1 -0
- package/esm/resources/V2/Billing/Cadences/SpendModifierRules.d.ts +37 -0
- package/esm/resources/V2/Billing/Cadences/SpendModifierRules.js +19 -0
- package/esm/resources/V2/Billing/Cadences/SpendModifierRules.js.map +1 -0
- package/esm/resources/V2/Billing/Cadences.d.ts +1022 -0
- package/esm/resources/V2/Billing/Cadences.js +260 -0
- package/esm/resources/V2/Billing/Cadences.js.map +1 -0
- package/esm/resources/V2/Billing/CollectionSettingVersions.d.ts +238 -0
- package/esm/resources/V2/Billing/CollectionSettingVersions.js +3 -0
- package/esm/resources/V2/Billing/CollectionSettingVersions.js.map +1 -0
- package/esm/resources/V2/Billing/CollectionSettings/Versions.d.ts +33 -0
- package/esm/resources/V2/Billing/CollectionSettings/Versions.js +66 -0
- package/esm/resources/V2/Billing/CollectionSettings/Versions.js.map +1 -0
- package/esm/resources/V2/Billing/CollectionSettings.d.ts +779 -0
- package/esm/resources/V2/Billing/CollectionSettings.js +162 -0
- package/esm/resources/V2/Billing/CollectionSettings.js.map +1 -0
- package/esm/resources/V2/Billing/ContractPricingLineQuantityChanges.d.ts +50 -0
- package/esm/resources/V2/Billing/ContractPricingLineQuantityChanges.js +3 -0
- package/esm/resources/V2/Billing/ContractPricingLineQuantityChanges.js.map +1 -0
- package/esm/resources/V2/Billing/ContractTermQuantityChanges.d.ts +35 -0
- package/esm/resources/V2/Billing/ContractTermQuantityChanges.js +3 -0
- package/esm/resources/V2/Billing/ContractTermQuantityChanges.js.map +1 -0
- package/esm/resources/V2/Billing/ContractTerms.d.ts +216 -0
- package/esm/resources/V2/Billing/ContractTerms.js +3 -0
- package/esm/resources/V2/Billing/ContractTerms.js.map +1 -0
- package/esm/resources/V2/Billing/Contracts/PricingLines/QuantityChanges.d.ts +23 -0
- package/esm/resources/V2/Billing/Contracts/PricingLines/QuantityChanges.js +25 -0
- package/esm/resources/V2/Billing/Contracts/PricingLines/QuantityChanges.js.map +1 -0
- package/esm/resources/V2/Billing/Contracts/PricingLines.d.ts +8 -0
- package/esm/resources/V2/Billing/Contracts/PricingLines.js +11 -0
- package/esm/resources/V2/Billing/Contracts/PricingLines.js.map +1 -0
- package/esm/resources/V2/Billing/Contracts/Terms/QuantityChanges.d.ts +23 -0
- package/esm/resources/V2/Billing/Contracts/Terms/QuantityChanges.js +25 -0
- package/esm/resources/V2/Billing/Contracts/Terms/QuantityChanges.js.map +1 -0
- package/esm/resources/V2/Billing/Contracts/Terms.d.ts +46 -0
- package/esm/resources/V2/Billing/Contracts/Terms.js +78 -0
- package/esm/resources/V2/Billing/Contracts/Terms.js.map +1 -0
- package/esm/resources/V2/Billing/Contracts.d.ts +2762 -0
- package/esm/resources/V2/Billing/Contracts.js +653 -0
- package/esm/resources/V2/Billing/Contracts.js.map +1 -0
- package/esm/resources/V2/Billing/CustomPricingUnits.d.ts +125 -0
- package/esm/resources/V2/Billing/CustomPricingUnits.js +31 -0
- package/esm/resources/V2/Billing/CustomPricingUnits.js.map +1 -0
- package/esm/resources/V2/Billing/IntentActions.d.ts +609 -0
- package/esm/resources/V2/Billing/IntentActions.js +3 -0
- package/esm/resources/V2/Billing/IntentActions.js.map +1 -0
- package/esm/resources/V2/Billing/Intents/Actions.d.ts +33 -0
- package/esm/resources/V2/Billing/Intents/Actions.js +66 -0
- package/esm/resources/V2/Billing/Intents/Actions.js.map +1 -0
- package/esm/resources/V2/Billing/Intents.d.ts +1267 -0
- package/esm/resources/V2/Billing/Intents.js +83 -0
- package/esm/resources/V2/Billing/Intents.js.map +1 -0
- package/esm/resources/V2/Billing/LicenseFeeVersions.d.ts +78 -0
- package/esm/resources/V2/Billing/LicenseFeeVersions.js +3 -0
- package/esm/resources/V2/Billing/LicenseFeeVersions.js.map +1 -0
- package/esm/resources/V2/Billing/LicenseFees/Versions.d.ts +33 -0
- package/esm/resources/V2/Billing/LicenseFees/Versions.js +60 -0
- package/esm/resources/V2/Billing/LicenseFees/Versions.js.map +1 -0
- package/esm/resources/V2/Billing/LicenseFees.d.ts +360 -0
- package/esm/resources/V2/Billing/LicenseFees.js +144 -0
- package/esm/resources/V2/Billing/LicenseFees.js.map +1 -0
- package/esm/resources/V2/Billing/LicensedItems.d.ts +170 -0
- package/esm/resources/V2/Billing/LicensedItems.js +31 -0
- package/esm/resources/V2/Billing/LicensedItems.js.map +1 -0
- package/esm/resources/V2/Billing/MeteredItems.d.ts +218 -0
- package/esm/resources/V2/Billing/MeteredItems.js +31 -0
- package/esm/resources/V2/Billing/MeteredItems.js.map +1 -0
- package/esm/resources/V2/Billing/OneTimeItems.d.ts +170 -0
- package/esm/resources/V2/Billing/OneTimeItems.js +31 -0
- package/esm/resources/V2/Billing/OneTimeItems.js.map +1 -0
- package/esm/resources/V2/Billing/PricingPlanComponents.d.ts +80 -0
- package/esm/resources/V2/Billing/PricingPlanComponents.js +3 -0
- package/esm/resources/V2/Billing/PricingPlanComponents.js.map +1 -0
- package/esm/resources/V2/Billing/PricingPlanSubscriptions.d.ts +636 -0
- package/esm/resources/V2/Billing/PricingPlanSubscriptions.js +292 -0
- package/esm/resources/V2/Billing/PricingPlanSubscriptions.js.map +1 -0
- package/esm/resources/V2/Billing/PricingPlanVersions.d.ts +30 -0
- package/esm/resources/V2/Billing/PricingPlanVersions.js +3 -0
- package/esm/resources/V2/Billing/PricingPlanVersions.js.map +1 -0
- package/esm/resources/V2/Billing/PricingPlans/Components.d.ts +142 -0
- package/esm/resources/V2/Billing/PricingPlans/Components.js +37 -0
- package/esm/resources/V2/Billing/PricingPlans/Components.js.map +1 -0
- package/esm/resources/V2/Billing/PricingPlans/Versions.d.ts +33 -0
- package/esm/resources/V2/Billing/PricingPlans/Versions.js +19 -0
- package/esm/resources/V2/Billing/PricingPlans/Versions.js.map +1 -0
- package/esm/resources/V2/Billing/PricingPlans.d.ts +169 -0
- package/esm/resources/V2/Billing/PricingPlans.js +39 -0
- package/esm/resources/V2/Billing/PricingPlans.js.map +1 -0
- package/esm/resources/V2/Billing/Profiles.d.ts +162 -0
- package/esm/resources/V2/Billing/Profiles.js +31 -0
- package/esm/resources/V2/Billing/Profiles.js.map +1 -0
- package/esm/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.d.ts +45 -0
- package/esm/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.js +3 -0
- package/esm/resources/V2/Billing/RateCardCustomPricingUnitOverageRates.js.map +1 -0
- package/esm/resources/V2/Billing/RateCardRates.d.ts +111 -0
- package/esm/resources/V2/Billing/RateCardRates.js +3 -0
- package/esm/resources/V2/Billing/RateCardRates.js.map +1 -0
- package/esm/resources/V2/Billing/RateCardSubscriptions.d.ts +218 -0
- package/esm/resources/V2/Billing/RateCardSubscriptions.js +37 -0
- package/esm/resources/V2/Billing/RateCardSubscriptions.js.map +1 -0
- package/esm/resources/V2/Billing/RateCardVersions.d.ts +22 -0
- package/esm/resources/V2/Billing/RateCardVersions.js +3 -0
- package/esm/resources/V2/Billing/RateCardVersions.js.map +1 -0
- package/esm/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.d.ts +79 -0
- package/esm/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.js +31 -0
- package/esm/resources/V2/Billing/RateCards/CustomPricingUnitOverageRates.js.map +1 -0
- package/esm/resources/V2/Billing/RateCards/Rates.d.ts +145 -0
- package/esm/resources/V2/Billing/RateCards/Rates.js +106 -0
- package/esm/resources/V2/Billing/RateCards/Rates.js.map +1 -0
- package/esm/resources/V2/Billing/RateCards/Versions.d.ts +33 -0
- package/esm/resources/V2/Billing/RateCards/Versions.js +19 -0
- package/esm/resources/V2/Billing/RateCards/Versions.js.map +1 -0
- package/esm/resources/V2/Billing/RateCards.d.ts +336 -0
- package/esm/resources/V2/Billing/RateCards.js +72 -0
- package/esm/resources/V2/Billing/RateCards.js.map +1 -0
- package/esm/resources/V2/Billing/ServiceActions.d.ts +536 -0
- package/esm/resources/V2/Billing/ServiceActions.js +158 -0
- package/esm/resources/V2/Billing/ServiceActions.js.map +1 -0
- package/esm/resources/V2/Billing/index.d.ts +181 -6
- package/esm/resources/V2/Billing/index.js +32 -0
- package/esm/resources/V2/Billing/index.js.map +1 -1
- package/esm/resources/V2/Core/AccountEvaluations.d.ts +167 -0
- package/esm/resources/V2/Core/AccountEvaluations.js +11 -0
- package/esm/resources/V2/Core/AccountEvaluations.js.map +1 -0
- package/esm/resources/V2/Core/AccountLinks.d.ts +138 -2
- package/esm/resources/V2/Core/AccountPersons.d.ts +5 -2
- package/esm/resources/V2/Core/AccountSessions.d.ts +1649 -0
- package/esm/resources/V2/Core/AccountSessions.js +12 -0
- package/esm/resources/V2/Core/AccountSessions.js.map +1 -0
- package/esm/resources/V2/Core/AccountTokens.d.ts +242 -4
- package/esm/resources/V2/Core/Accounts/PersonTokens.d.ts +5 -2
- package/esm/resources/V2/Core/Accounts/Persons.d.ts +10 -4
- package/esm/resources/V2/Core/Accounts.d.ts +22332 -1163
- package/esm/resources/V2/Core/Accounts.js +23373 -30
- package/esm/resources/V2/Core/Accounts.js.map +1 -1
- package/esm/resources/V2/Core/ApprovalRequests.d.ts +410 -0
- package/esm/resources/V2/Core/ApprovalRequests.js +35 -0
- package/esm/resources/V2/Core/ApprovalRequests.js.map +1 -0
- package/esm/resources/V2/Core/BatchJobs.d.ts +392 -0
- package/esm/resources/V2/Core/BatchJobs.js +248 -0
- package/esm/resources/V2/Core/BatchJobs.js.map +1 -0
- package/esm/resources/V2/Core/ClaimableSandboxes.d.ts +225 -0
- package/esm/resources/V2/Core/ClaimableSandboxes.js +27 -0
- package/esm/resources/V2/Core/ClaimableSandboxes.js.map +1 -0
- package/esm/resources/V2/Core/ConnectionSessions.d.ts +86 -0
- package/esm/resources/V2/Core/ConnectionSessions.js +17 -0
- package/esm/resources/V2/Core/ConnectionSessions.js.map +1 -0
- package/esm/resources/V2/Core/Events.d.ts +6062 -593
- package/esm/resources/V2/Core/FeeBatches.d.ts +228 -0
- package/esm/resources/V2/Core/FeeBatches.js +19 -0
- package/esm/resources/V2/Core/FeeBatches.js.map +1 -0
- package/esm/resources/V2/Core/FeeEntries.d.ts +196 -0
- package/esm/resources/V2/Core/FeeEntries.js +19 -0
- package/esm/resources/V2/Core/FeeEntries.js.map +1 -0
- package/esm/resources/V2/Core/Health/AlertHistoryEntries.d.ts +426 -0
- package/esm/resources/V2/Core/Health/AlertHistoryEntries.js +3 -0
- package/esm/resources/V2/Core/Health/AlertHistoryEntries.js.map +1 -0
- package/esm/resources/V2/Core/Health/Alerts/History.d.ts +23 -0
- package/esm/resources/V2/Core/Health/Alerts/History.js +97 -0
- package/esm/resources/V2/Core/Health/Alerts/History.js.map +1 -0
- package/esm/resources/V2/Core/Health/Alerts.d.ts +540 -0
- package/esm/resources/V2/Core/Health/Alerts.js +178 -0
- package/esm/resources/V2/Core/Health/Alerts.js.map +1 -0
- package/esm/resources/V2/Core/Health/index.d.ts +16 -0
- package/esm/resources/V2/Core/Health/index.js +9 -0
- package/esm/resources/V2/Core/Health/index.js.map +1 -0
- package/esm/resources/V2/Core/Vault/GbBankAccounts.d.ts +117 -0
- package/esm/resources/V2/Core/Vault/GbBankAccounts.js.map +1 -1
- package/esm/resources/V2/Core/Vault/NetworkTokens.d.ts +199 -0
- package/esm/resources/V2/Core/Vault/NetworkTokens.js +38 -0
- package/esm/resources/V2/Core/Vault/NetworkTokens.js.map +1 -0
- package/esm/resources/V2/Core/Vault/UsBankAccounts.d.ts +27 -0
- package/esm/resources/V2/Core/Vault/UsBankAccounts.js.map +1 -1
- package/esm/resources/V2/Core/Vault/index.d.ts +17 -9
- package/esm/resources/V2/Core/Vault/index.js +2 -0
- package/esm/resources/V2/Core/Vault/index.js.map +1 -1
- package/esm/resources/V2/Core/index.d.ts +69 -14
- package/esm/resources/V2/Core/index.js +18 -0
- package/esm/resources/V2/Core/index.js.map +1 -1
- package/esm/resources/V2/Data/Analytics/MetricQuery.d.ts +74 -0
- package/esm/resources/V2/Data/Analytics/MetricQuery.js +32 -0
- package/esm/resources/V2/Data/Analytics/MetricQuery.js.map +1 -0
- package/esm/resources/V2/Data/Analytics/MetricQueryResults.d.ts +76 -0
- package/esm/resources/V2/Data/Analytics/MetricQueryResults.js +3 -0
- package/esm/resources/V2/Data/Analytics/MetricQueryResults.js.map +1 -0
- package/esm/resources/V2/Data/Analytics/index.d.ts +12 -0
- package/esm/resources/V2/Data/Analytics/index.js +9 -0
- package/esm/resources/V2/Data/Analytics/index.js.map +1 -0
- package/esm/resources/V2/Data/Operations.d.ts +37 -0
- package/esm/resources/V2/Data/Operations.js +36 -0
- package/esm/resources/V2/Data/Operations.js.map +1 -0
- package/esm/resources/V2/Data/QueryRuns.d.ts +299 -0
- package/esm/resources/V2/Data/QueryRuns.js +47 -0
- package/esm/resources/V2/Data/QueryRuns.js.map +1 -0
- package/esm/resources/V2/Data/ReportRuns.d.ts +303 -0
- package/esm/resources/V2/Data/ReportRuns.js +49 -0
- package/esm/resources/V2/Data/ReportRuns.js.map +1 -0
- package/esm/resources/V2/Data/Reporting/QueryRuns.d.ts +176 -0
- package/esm/resources/V2/Data/Reporting/QueryRuns.js +42 -0
- package/esm/resources/V2/Data/Reporting/QueryRuns.js.map +1 -0
- package/esm/resources/V2/Data/Reporting/index.d.ts +13 -0
- package/esm/resources/V2/Data/Reporting/index.js +9 -0
- package/esm/resources/V2/Data/Reporting/index.js.map +1 -0
- package/esm/resources/V2/Data/Reports.d.ts +140 -0
- package/esm/resources/V2/Data/Reports.js +21 -0
- package/esm/resources/V2/Data/Reports.js.map +1 -0
- package/esm/resources/V2/Data/Schemas.d.ts +161 -0
- package/esm/resources/V2/Data/Schemas.js +19 -0
- package/esm/resources/V2/Data/Schemas.js.map +1 -0
- package/esm/resources/V2/Data/SearchResultLists.d.ts +348 -0
- package/esm/resources/V2/Data/SearchResultLists.js +3 -0
- package/esm/resources/V2/Data/SearchResultLists.js.map +1 -0
- package/esm/resources/V2/Data/index.d.ts +42 -0
- package/esm/resources/V2/Data/index.js +21 -0
- package/esm/resources/V2/Data/index.js.map +1 -0
- package/esm/resources/V2/Extend/ObjectDefinitionVersions.d.ts +222 -0
- package/esm/resources/V2/Extend/ObjectDefinitionVersions.js +3 -0
- package/esm/resources/V2/Extend/ObjectDefinitionVersions.js.map +1 -0
- package/esm/resources/V2/Extend/ObjectDefinitions/Versions.d.ts +33 -0
- package/esm/resources/V2/Extend/ObjectDefinitions/Versions.js +19 -0
- package/esm/resources/V2/Extend/ObjectDefinitions/Versions.js.map +1 -0
- package/esm/resources/V2/Extend/ObjectDefinitions.d.ts +63 -0
- package/esm/resources/V2/Extend/ObjectDefinitions.js +25 -0
- package/esm/resources/V2/Extend/ObjectDefinitions.js.map +1 -0
- package/esm/resources/V2/Extend/WorkflowRuns.d.ts +163 -0
- package/esm/resources/V2/Extend/WorkflowRuns.js +19 -0
- package/esm/resources/V2/Extend/WorkflowRuns.js.map +1 -0
- package/esm/resources/V2/Extend/Workflows.d.ts +120 -0
- package/esm/resources/V2/Extend/Workflows.js +26 -0
- package/esm/resources/V2/Extend/Workflows.js.map +1 -0
- package/esm/resources/V2/Extend/index.d.ts +29 -0
- package/esm/resources/V2/Extend/index.js +13 -0
- package/esm/resources/V2/Extend/index.js.map +1 -0
- package/esm/resources/V2/Iam/ActivityLogs.d.ts +457 -0
- package/esm/resources/V2/Iam/ActivityLogs.js +19 -0
- package/esm/resources/V2/Iam/ActivityLogs.js.map +1 -0
- package/esm/resources/V2/Iam/ApiKeys.d.ts +306 -0
- package/esm/resources/V2/Iam/ApiKeys.js +43 -0
- package/esm/resources/V2/Iam/ApiKeys.js.map +1 -0
- package/esm/resources/V2/Iam/index.d.ts +23 -0
- package/esm/resources/V2/Iam/index.js +11 -0
- package/esm/resources/V2/Iam/index.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/Adjustments.d.ts +44 -2
- package/esm/resources/V2/MoneyManagement/CurrencyConversions.d.ts +131 -0
- package/esm/resources/V2/MoneyManagement/CurrencyConversions.js +27 -0
- package/esm/resources/V2/MoneyManagement/CurrencyConversions.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/DebitDisputes.d.ts +173 -0
- package/esm/resources/V2/MoneyManagement/DebitDisputes.js +25 -0
- package/esm/resources/V2/MoneyManagement/DebitDisputes.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/EarnedCreditSimulations.d.ts +18 -0
- package/esm/resources/V2/MoneyManagement/EarnedCreditSimulations.js +3 -0
- package/esm/resources/V2/MoneyManagement/EarnedCreditSimulations.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/EarnedCredits.d.ts +134 -0
- package/esm/resources/V2/MoneyManagement/EarnedCredits.js +19 -0
- package/esm/resources/V2/MoneyManagement/EarnedCredits.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccountStatements.d.ts +99 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccountStatements.js +3 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccountStatements.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccountWalletExportCredentials.d.ts +62 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccountWalletExportCredentials.js +3 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccountWalletExportCredentials.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccountWalletExports.d.ts +50 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccountWalletExports.js +3 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccountWalletExports.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccounts/Statements.d.ts +49 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccounts/Statements.js +49 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccounts/Statements.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccounts/WalletExport.d.ts +51 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccounts/WalletExport.js +18 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccounts/WalletExport.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.d.ts +437 -4
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +132 -2
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.js.map +1 -1
- package/esm/resources/V2/MoneyManagement/FinancialAddressDebitSimulations.d.ts +14 -0
- package/esm/resources/V2/MoneyManagement/FinancialAddressDebitSimulations.js +3 -0
- package/esm/resources/V2/MoneyManagement/FinancialAddressDebitSimulations.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/FinancialAddressGeneratedMicrodeposits.d.ts +19 -0
- package/esm/resources/V2/MoneyManagement/FinancialAddressGeneratedMicrodeposits.js +3 -0
- package/esm/resources/V2/MoneyManagement/FinancialAddressGeneratedMicrodeposits.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/FinancialAddresses.d.ts +144 -6
- package/esm/resources/V2/MoneyManagement/FundingIntents.d.ts +504 -0
- package/esm/resources/V2/MoneyManagement/FundingIntents.js +49 -0
- package/esm/resources/V2/MoneyManagement/FundingIntents.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/FundingSessions.d.ts +111 -0
- package/esm/resources/V2/MoneyManagement/FundingSessions.js +11 -0
- package/esm/resources/V2/MoneyManagement/FundingSessions.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/InboundFundings.d.ts +178 -0
- package/esm/resources/V2/MoneyManagement/InboundFundings.js +19 -0
- package/esm/resources/V2/MoneyManagement/InboundFundings.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/InboundTransferMandates.d.ts +265 -0
- package/esm/resources/V2/MoneyManagement/InboundTransferMandates.js +35 -0
- package/esm/resources/V2/MoneyManagement/InboundTransferMandates.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/InboundTransfers.d.ts +88 -2
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +374 -0
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +19 -0
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/OutboundPayments.d.ts +246 -6
- package/esm/resources/V2/MoneyManagement/OutboundPayments.js.map +1 -1
- package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.d.ts +143 -2
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.d.ts +434 -0
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.js +36 -0
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/PayoutIntents.d.ts +18 -6
- package/esm/resources/V2/MoneyManagement/PayoutMethods.d.ts +125 -1
- package/esm/resources/V2/MoneyManagement/PayoutMethods.js +9 -0
- package/esm/resources/V2/MoneyManagement/PayoutMethods.js.map +1 -1
- package/esm/resources/V2/MoneyManagement/ReceivedCredits.d.ts +344 -6
- package/esm/resources/V2/MoneyManagement/ReceivedDebitMandates.d.ts +171 -0
- package/esm/resources/V2/MoneyManagement/ReceivedDebitMandates.js +25 -0
- package/esm/resources/V2/MoneyManagement/ReceivedDebitMandates.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.d.ts +373 -0
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.js +19 -0
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/RecipientVerifications.d.ts +5 -1
- package/esm/resources/V2/MoneyManagement/RewardProgramEnrollments.d.ts +140 -0
- package/esm/resources/V2/MoneyManagement/RewardProgramEnrollments.js +42 -0
- package/esm/resources/V2/MoneyManagement/RewardProgramEnrollments.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/RewardProgramRules.d.ts +85 -0
- package/esm/resources/V2/MoneyManagement/RewardProgramRules.js +3 -0
- package/esm/resources/V2/MoneyManagement/RewardProgramRules.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/RewardPrograms/Rules.d.ts +205 -0
- package/esm/resources/V2/MoneyManagement/RewardPrograms/Rules.js +173 -0
- package/esm/resources/V2/MoneyManagement/RewardPrograms/Rules.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/RewardPrograms.d.ts +135 -0
- package/esm/resources/V2/MoneyManagement/RewardPrograms.js +53 -0
- package/esm/resources/V2/MoneyManagement/RewardPrograms.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.d.ts +43 -1
- package/esm/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.js +13 -0
- package/esm/resources/V2/MoneyManagement/TestHelpers/FinancialAddresses.js.map +1 -1
- package/esm/resources/V2/MoneyManagement/TestHelpers.d.ts +37 -0
- package/esm/resources/V2/MoneyManagement/TestHelpers.js +17 -0
- package/esm/resources/V2/MoneyManagement/TestHelpers.js.map +1 -0
- package/esm/resources/V2/MoneyManagement/TransactionEntries.d.ts +140 -4
- package/esm/resources/V2/MoneyManagement/Transactions.d.ts +140 -4
- package/esm/resources/V2/MoneyManagement/Transactions.js.map +1 -1
- package/esm/resources/V2/MoneyManagement/index.d.ts +175 -57
- package/esm/resources/V2/MoneyManagement/index.js +28 -2
- package/esm/resources/V2/MoneyManagement/index.js.map +1 -1
- package/esm/resources/V2/Network/BusinessProfiles.d.ts +92 -0
- package/esm/resources/V2/Network/BusinessProfiles.js +17 -0
- package/esm/resources/V2/Network/BusinessProfiles.js.map +1 -0
- package/esm/resources/V2/Network/index.d.ts +13 -0
- package/esm/resources/V2/Network/index.js +9 -0
- package/esm/resources/V2/Network/index.js.map +1 -0
- package/esm/resources/V2/OrchestratedCommerce/Agreements.d.ts +143 -0
- package/esm/resources/V2/OrchestratedCommerce/Agreements.js +37 -0
- package/esm/resources/V2/OrchestratedCommerce/Agreements.js.map +1 -0
- package/esm/resources/V2/OrchestratedCommerce/index.d.ts +16 -0
- package/esm/resources/V2/OrchestratedCommerce/index.js +9 -0
- package/esm/resources/V2/OrchestratedCommerce/index.js.map +1 -0
- package/esm/resources/V2/Payments/OffSessionPayments.d.ts +736 -0
- package/esm/resources/V2/Payments/OffSessionPayments.js +43 -0
- package/esm/resources/V2/Payments/OffSessionPayments.js.map +1 -0
- package/esm/resources/V2/Payments/SettlementAllocationIntentSplits.d.ts +73 -0
- package/esm/resources/V2/Payments/SettlementAllocationIntentSplits.js +3 -0
- package/esm/resources/V2/Payments/SettlementAllocationIntentSplits.js.map +1 -0
- package/esm/resources/V2/Payments/SettlementAllocationIntents/Splits.d.ts +85 -0
- package/esm/resources/V2/Payments/SettlementAllocationIntents/Splits.js +31 -0
- package/esm/resources/V2/Payments/SettlementAllocationIntents/Splits.js.map +1 -0
- package/esm/resources/V2/Payments/SettlementAllocationIntents.d.ts +212 -0
- package/esm/resources/V2/Payments/SettlementAllocationIntents.js +49 -0
- package/esm/resources/V2/Payments/SettlementAllocationIntents.js.map +1 -0
- package/esm/resources/V2/Payments/index.d.ts +30 -0
- package/esm/resources/V2/Payments/index.js +11 -0
- package/esm/resources/V2/Payments/index.js.map +1 -0
- package/esm/resources/V2/Provisioning/Catalog/Providers.d.ts +33 -0
- package/esm/resources/V2/Provisioning/Catalog/Providers.js +13 -0
- package/esm/resources/V2/Provisioning/Catalog/Providers.js.map +1 -0
- package/esm/resources/V2/Provisioning/Catalog/Services.d.ts +37 -0
- package/esm/resources/V2/Provisioning/Catalog/Services.js +13 -0
- package/esm/resources/V2/Provisioning/Catalog/Services.js.map +1 -0
- package/esm/resources/V2/Provisioning/Catalog/index.d.ts +10 -0
- package/esm/resources/V2/Provisioning/Catalog/index.js +11 -0
- package/esm/resources/V2/Provisioning/Catalog/index.js.map +1 -0
- package/esm/resources/V2/Provisioning/Eligibility.d.ts +33 -0
- package/esm/resources/V2/Provisioning/Eligibility.js +12 -0
- package/esm/resources/V2/Provisioning/Eligibility.js.map +1 -0
- package/esm/resources/V2/Provisioning/PaymentMethodRequests.d.ts +79 -0
- package/esm/resources/V2/Provisioning/PaymentMethodRequests.js +21 -0
- package/esm/resources/V2/Provisioning/PaymentMethodRequests.js.map +1 -0
- package/esm/resources/V2/Provisioning/PaymentProfile.d.ts +139 -0
- package/esm/resources/V2/Provisioning/PaymentProfile.js +70 -0
- package/esm/resources/V2/Provisioning/PaymentProfile.js.map +1 -0
- package/esm/resources/V2/Provisioning/Projects.d.ts +79 -0
- package/esm/resources/V2/Provisioning/Projects.js +11 -0
- package/esm/resources/V2/Provisioning/Projects.js.map +1 -0
- package/esm/resources/V2/Provisioning/ProviderConnectionRequests.d.ts +145 -0
- package/esm/resources/V2/Provisioning/ProviderConnectionRequests.js +23 -0
- package/esm/resources/V2/Provisioning/ProviderConnectionRequests.js.map +1 -0
- package/esm/resources/V2/Provisioning/ProviderConnections.d.ts +115 -0
- package/esm/resources/V2/Provisioning/ProviderConnections.js +19 -0
- package/esm/resources/V2/Provisioning/ProviderConnections.js.map +1 -0
- package/esm/resources/V2/Provisioning/ProviderServiceDetails.d.ts +243 -0
- package/esm/resources/V2/Provisioning/ProviderServiceDetails.js +3 -0
- package/esm/resources/V2/Provisioning/ProviderServiceDetails.js.map +1 -0
- package/esm/resources/V2/Provisioning/Providers.d.ts +67 -0
- package/esm/resources/V2/Provisioning/Providers.js +3 -0
- package/esm/resources/V2/Provisioning/Providers.js.map +1 -0
- package/esm/resources/V2/Provisioning/ResourceAccessConfigurations.d.ts +28 -0
- package/esm/resources/V2/Provisioning/ResourceAccessConfigurations.js +3 -0
- package/esm/resources/V2/Provisioning/ResourceAccessConfigurations.js.map +1 -0
- package/esm/resources/V2/Provisioning/Resources.d.ts +287 -0
- package/esm/resources/V2/Provisioning/Resources.js +62 -0
- package/esm/resources/V2/Provisioning/Resources.js.map +1 -0
- package/esm/resources/V2/Provisioning/index.d.ts +66 -0
- package/esm/resources/V2/Provisioning/index.js +23 -0
- package/esm/resources/V2/Provisioning/index.js.map +1 -0
- package/esm/resources/V2/Reporting/ReportRuns.d.ts +195 -0
- package/esm/resources/V2/Reporting/ReportRuns.js +46 -0
- package/esm/resources/V2/Reporting/ReportRuns.js.map +1 -0
- package/esm/resources/V2/Reporting/Reports.d.ts +106 -0
- package/esm/resources/V2/Reporting/Reports.js +13 -0
- package/esm/resources/V2/Reporting/Reports.js.map +1 -0
- package/esm/resources/V2/Reporting/index.d.ts +18 -0
- package/esm/resources/V2/Reporting/index.js +11 -0
- package/esm/resources/V2/Reporting/index.js.map +1 -0
- package/esm/resources/V2/Risk/Forms.d.ts +253 -0
- package/esm/resources/V2/Risk/Forms.js +17 -0
- package/esm/resources/V2/Risk/Forms.js.map +1 -0
- package/esm/resources/V2/Risk/index.d.ts +13 -0
- package/esm/resources/V2/Risk/index.js +9 -0
- package/esm/resources/V2/Risk/index.js.map +1 -0
- package/esm/resources/V2/Signals/AccountActivities.d.ts +747 -0
- package/esm/resources/V2/Signals/AccountActivities.js +23 -0
- package/esm/resources/V2/Signals/AccountActivities.js.map +1 -0
- package/esm/resources/V2/Signals/AccountEvaluations.d.ts +516 -0
- package/esm/resources/V2/Signals/AccountEvaluations.js +63 -0
- package/esm/resources/V2/Signals/AccountEvaluations.js.map +1 -0
- package/esm/resources/V2/Signals/AccountSignals.d.ts +361 -0
- package/esm/resources/V2/Signals/AccountSignals.js +114 -0
- package/esm/resources/V2/Signals/AccountSignals.js.map +1 -0
- package/esm/resources/V2/Signals/PaymentRetryEvaluations.d.ts +116 -0
- package/esm/resources/V2/Signals/PaymentRetryEvaluations.js +34 -0
- package/esm/resources/V2/Signals/PaymentRetryEvaluations.js.map +1 -0
- package/esm/resources/V2/Signals/PaymentRetrySignals.d.ts +63 -0
- package/esm/resources/V2/Signals/PaymentRetrySignals.js +11 -0
- package/esm/resources/V2/Signals/PaymentRetrySignals.js.map +1 -0
- package/esm/resources/V2/Signals/index.d.ts +39 -0
- package/esm/resources/V2/Signals/index.js +17 -0
- package/esm/resources/V2/Signals/index.js.map +1 -0
- package/esm/resources/V2/Tax/IntegrationConfigurations.d.ts +116 -0
- package/esm/resources/V2/Tax/IntegrationConfigurations.js +17 -0
- package/esm/resources/V2/Tax/IntegrationConfigurations.js.map +1 -0
- package/esm/resources/V2/Tax/ManualRules.d.ts +331 -0
- package/esm/resources/V2/Tax/ManualRules.js +189 -0
- package/esm/resources/V2/Tax/ManualRules.js.map +1 -0
- package/esm/resources/V2/Tax/Operations.d.ts +43 -0
- package/esm/resources/V2/Tax/Operations.js +11 -0
- package/esm/resources/V2/Tax/Operations.js.map +1 -0
- package/esm/resources/V2/Tax/OperationsResolveAddressResults.d.ts +70 -0
- package/esm/resources/V2/Tax/OperationsResolveAddressResults.js +3 -0
- package/esm/resources/V2/Tax/OperationsResolveAddressResults.js.map +1 -0
- package/esm/resources/V2/Tax/index.d.ts +27 -0
- package/esm/resources/V2/Tax/index.js +13 -0
- package/esm/resources/V2/Tax/index.js.map +1 -0
- package/esm/resources/V2/index.d.ts +33 -0
- package/esm/resources/V2/index.js +22 -0
- package/esm/resources/V2/index.js.map +1 -1
- package/esm/resources/WebhookEndpoints.d.ts +2 -2
- package/esm/resources.d.ts +20 -0
- package/esm/resources.js +283 -3
- package/esm/resources.js.map +1 -1
- package/esm/stripe.core.d.ts +170 -56
- package/esm/stripe.core.js +122 -11
- package/esm/stripe.core.js.map +1 -1
- package/esm/stripe.esm.node.d.ts +172 -58
- package/esm/stripe.esm.node.js +123 -9
- package/esm/stripe.esm.node.js.map +1 -1
- package/package.json +1 -1
- package/cjs/resources/V2/MoneyManagement/TestHelpers/index.d.ts +0 -8
- package/cjs/resources/V2/MoneyManagement/TestHelpers/index.js +0 -13
- package/cjs/resources/V2/MoneyManagement/TestHelpers/index.js.map +0 -1
- package/esm/resources/V2/MoneyManagement/TestHelpers/index.d.ts +0 -8
- package/esm/resources/V2/MoneyManagement/TestHelpers/index.js +0 -9
- package/esm/resources/V2/MoneyManagement/TestHelpers/index.js.map +0 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { StripeResource } from '../StripeResource.js';
|
|
2
|
+
import { TransitBalance } from './TransitBalances.js';
|
|
2
3
|
import { Application } from './Applications.js';
|
|
3
4
|
import { ApplicationFee } from './ApplicationFees.js';
|
|
4
5
|
import { BalanceTransaction } from './BalanceTransactions.js';
|
|
@@ -11,7 +12,8 @@ import { CustomerSource } from './CustomerSources.js';
|
|
|
11
12
|
import { Transfer } from './Transfers.js';
|
|
12
13
|
import { PaymentMethod } from './PaymentMethods.js';
|
|
13
14
|
import { Mandate } from './Mandates.js';
|
|
14
|
-
import
|
|
15
|
+
import * as Radar from './Radar/index.js';
|
|
16
|
+
import { Emptyable, MetadataParam, AddressParam, OtherString, Address, ShippingAddressParam, PaginationParams, RangeQueryParam, Metadata } from '../shared.js';
|
|
15
17
|
import { RequestOptions, ApiListPromise, Response, ApiList, ApiSearchResultPromise } from '../lib.js';
|
|
16
18
|
export declare class ChargeResource extends StripeResource {
|
|
17
19
|
/**
|
|
@@ -51,6 +53,10 @@ export interface Charge {
|
|
|
51
53
|
* String representing the object's type. Objects of the same type share the same value.
|
|
52
54
|
*/
|
|
53
55
|
object: 'charge';
|
|
56
|
+
/**
|
|
57
|
+
* Funds that are in transit and destined for another balance or another connected account.
|
|
58
|
+
*/
|
|
59
|
+
allocated_funds?: TransitBalance;
|
|
54
60
|
/**
|
|
55
61
|
* Amount intended to be collected by this payment. A positive integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal) (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The minimum amount is $0.50 US or [equivalent in charge currency](https://docs.stripe.com/currencies#minimum-and-maximum-charge-amounts). The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99).
|
|
56
62
|
*/
|
|
@@ -178,6 +184,10 @@ export interface Charge {
|
|
|
178
184
|
* This is the URL to view the receipt for this charge. The receipt is kept up-to-date to the latest state of the charge, including any refunds. If the charge is for an Invoice, the receipt will be stylized as an Invoice receipt.
|
|
179
185
|
*/
|
|
180
186
|
receipt_url: string | null;
|
|
187
|
+
/**
|
|
188
|
+
* Redaction status of this charge. If not null, this charge is associated to a redaction job.
|
|
189
|
+
*/
|
|
190
|
+
redaction?: Charge.Redaction | null;
|
|
181
191
|
/**
|
|
182
192
|
* Whether the charge has been fully refunded. If the charge is only partially refunded, this attribute will still be false.
|
|
183
193
|
*/
|
|
@@ -302,7 +312,7 @@ export declare namespace Charge {
|
|
|
302
312
|
/**
|
|
303
313
|
* The ID of the Radar rule that matched the payment, if applicable.
|
|
304
314
|
*/
|
|
305
|
-
rule?: string |
|
|
315
|
+
rule?: string | Radar.Rule;
|
|
306
316
|
/**
|
|
307
317
|
* A human-readable description of the outcome type and reason, designed for you (the recipient of the payment), not your customer.
|
|
308
318
|
*/
|
|
@@ -316,12 +326,14 @@ export declare namespace Charge {
|
|
|
316
326
|
ach_credit_transfer?: PaymentMethodDetails.AchCreditTransfer;
|
|
317
327
|
ach_debit?: PaymentMethodDetails.AchDebit;
|
|
318
328
|
acss_debit?: PaymentMethodDetails.AcssDebit;
|
|
329
|
+
aeon_pay?: PaymentMethodDetails.AeonPay;
|
|
319
330
|
affirm?: PaymentMethodDetails.Affirm;
|
|
320
331
|
afterpay_clearpay?: PaymentMethodDetails.AfterpayClearpay;
|
|
321
332
|
alipay?: PaymentMethodDetails.Alipay;
|
|
322
333
|
alma?: PaymentMethodDetails.Alma;
|
|
323
334
|
amazon_pay?: PaymentMethodDetails.AmazonPay;
|
|
324
335
|
au_becs_debit?: PaymentMethodDetails.AuBecsDebit;
|
|
336
|
+
au_pay?: PaymentMethodDetails.AuPay;
|
|
325
337
|
bacs_debit?: PaymentMethodDetails.BacsDebit;
|
|
326
338
|
bancontact?: PaymentMethodDetails.Bancontact;
|
|
327
339
|
billie?: PaymentMethodDetails.Billie;
|
|
@@ -330,13 +342,19 @@ export declare namespace Charge {
|
|
|
330
342
|
boleto?: PaymentMethodDetails.Boleto;
|
|
331
343
|
card?: PaymentMethodDetails.Card;
|
|
332
344
|
card_present?: PaymentMethodDetails.CardPresent;
|
|
345
|
+
carecredit?: PaymentMethodDetails.Carecredit;
|
|
333
346
|
cashapp?: PaymentMethodDetails.Cashapp;
|
|
334
347
|
crypto?: PaymentMethodDetails.Crypto;
|
|
335
348
|
customer_balance?: PaymentMethodDetails.CustomerBalance;
|
|
349
|
+
dbarai?: PaymentMethodDetails.Dbarai;
|
|
336
350
|
eps?: PaymentMethodDetails.Eps;
|
|
337
351
|
fpx?: PaymentMethodDetails.Fpx;
|
|
352
|
+
getflex?: PaymentMethodDetails.Getflex;
|
|
353
|
+
gift_card?: PaymentMethodDetails.GiftCard;
|
|
338
354
|
giropay?: PaymentMethodDetails.Giropay;
|
|
355
|
+
gopay?: PaymentMethodDetails.Gopay;
|
|
339
356
|
grabpay?: PaymentMethodDetails.Grabpay;
|
|
357
|
+
id_bank_transfer?: PaymentMethodDetails.IdBankTransfer;
|
|
340
358
|
ideal?: PaymentMethodDetails.Ideal;
|
|
341
359
|
interac_present?: PaymentMethodDetails.InteracPresent;
|
|
342
360
|
kakao_pay?: PaymentMethodDetails.KakaoPay;
|
|
@@ -345,6 +363,7 @@ export declare namespace Charge {
|
|
|
345
363
|
kr_card?: PaymentMethodDetails.KrCard;
|
|
346
364
|
link?: PaymentMethodDetails.Link;
|
|
347
365
|
mb_way?: PaymentMethodDetails.MbWay;
|
|
366
|
+
merpay?: PaymentMethodDetails.Merpay;
|
|
348
367
|
mobilepay?: PaymentMethodDetails.Mobilepay;
|
|
349
368
|
multibanco?: PaymentMethodDetails.Multibanco;
|
|
350
369
|
naver_pay?: PaymentMethodDetails.NaverPay;
|
|
@@ -359,6 +378,9 @@ export declare namespace Charge {
|
|
|
359
378
|
payto?: PaymentMethodDetails.Payto;
|
|
360
379
|
pix?: PaymentMethodDetails.Pix;
|
|
361
380
|
promptpay?: PaymentMethodDetails.Promptpay;
|
|
381
|
+
qris?: PaymentMethodDetails.Qris;
|
|
382
|
+
rakuten_pay?: PaymentMethodDetails.RakutenPay;
|
|
383
|
+
rechnung?: PaymentMethodDetails.Rechnung;
|
|
362
384
|
revolut_pay?: PaymentMethodDetails.RevolutPay;
|
|
363
385
|
samsung_pay?: PaymentMethodDetails.SamsungPay;
|
|
364
386
|
satispay?: PaymentMethodDetails.Satispay;
|
|
@@ -366,10 +388,19 @@ export declare namespace Charge {
|
|
|
366
388
|
sepa_credit_transfer?: PaymentMethodDetails.SepaCreditTransfer;
|
|
367
389
|
sepa_debit?: PaymentMethodDetails.SepaDebit;
|
|
368
390
|
sequra?: PaymentMethodDetails.Sequra;
|
|
391
|
+
sezzle?: PaymentMethodDetails.Sezzle;
|
|
392
|
+
/**
|
|
393
|
+
* ID of the shared payment granted token used to make this payment.
|
|
394
|
+
*/
|
|
395
|
+
shared_payment_granted_token?: string;
|
|
396
|
+
shopeepay?: PaymentMethodDetails.Shopeepay;
|
|
369
397
|
sofort?: PaymentMethodDetails.Sofort;
|
|
370
398
|
stripe_account?: PaymentMethodDetails.StripeAccount;
|
|
399
|
+
stripe_balance?: PaymentMethodDetails.StripeBalance;
|
|
371
400
|
sunbit?: PaymentMethodDetails.Sunbit;
|
|
372
401
|
swish?: PaymentMethodDetails.Swish;
|
|
402
|
+
tamara?: PaymentMethodDetails.Tamara;
|
|
403
|
+
toss_pay?: PaymentMethodDetails.TossPay;
|
|
373
404
|
twint?: PaymentMethodDetails.Twint;
|
|
374
405
|
/**
|
|
375
406
|
* The type of transaction-specific details of the payment method used in the payment. See [PaymentMethod.type](https://docs.stripe.com/api/payment_methods/object#payment_method_object-type) for the full list of possible types.
|
|
@@ -399,6 +430,12 @@ export declare namespace Charge {
|
|
|
399
430
|
*/
|
|
400
431
|
session?: string;
|
|
401
432
|
}
|
|
433
|
+
interface Redaction {
|
|
434
|
+
/**
|
|
435
|
+
* Indicates whether this object and its related objects have been redacted or not.
|
|
436
|
+
*/
|
|
437
|
+
status: Redaction.Status;
|
|
438
|
+
}
|
|
402
439
|
interface Shipping {
|
|
403
440
|
address?: Address;
|
|
404
441
|
/**
|
|
@@ -441,20 +478,6 @@ export declare namespace Charge {
|
|
|
441
478
|
}
|
|
442
479
|
namespace Outcome {
|
|
443
480
|
type AdviceCode = 'confirm_card_data' | 'do_not_try_again' | 'try_again_later' | OtherString;
|
|
444
|
-
interface Rule {
|
|
445
|
-
/**
|
|
446
|
-
* The action taken on the payment.
|
|
447
|
-
*/
|
|
448
|
-
action: string;
|
|
449
|
-
/**
|
|
450
|
-
* Unique identifier for the object.
|
|
451
|
-
*/
|
|
452
|
-
id: string;
|
|
453
|
-
/**
|
|
454
|
-
* The predicate to evaluate the payment against.
|
|
455
|
-
*/
|
|
456
|
-
predicate: string;
|
|
457
|
-
}
|
|
458
481
|
}
|
|
459
482
|
namespace PaymentMethodDetails {
|
|
460
483
|
interface AchCreditTransfer {
|
|
@@ -531,6 +554,8 @@ export declare namespace Charge {
|
|
|
531
554
|
*/
|
|
532
555
|
transit_number: string | null;
|
|
533
556
|
}
|
|
557
|
+
interface AeonPay {
|
|
558
|
+
}
|
|
534
559
|
interface Affirm {
|
|
535
560
|
/**
|
|
536
561
|
* ID of the location that this reader is assigned to.
|
|
@@ -605,6 +630,8 @@ export declare namespace Charge {
|
|
|
605
630
|
*/
|
|
606
631
|
mandate?: string;
|
|
607
632
|
}
|
|
633
|
+
interface AuPay {
|
|
634
|
+
}
|
|
608
635
|
interface BacsDebit {
|
|
609
636
|
/**
|
|
610
637
|
* Estimated date to debit the customer's bank account. A date string in YYYY-MM-DD format.
|
|
@@ -692,14 +719,20 @@ export declare namespace Charge {
|
|
|
692
719
|
tax_id: string;
|
|
693
720
|
}
|
|
694
721
|
interface Card {
|
|
722
|
+
account_funding?: Card.AccountFunding;
|
|
695
723
|
/**
|
|
696
724
|
* The authorized amount.
|
|
697
725
|
*/
|
|
698
726
|
amount_authorized: number | null;
|
|
727
|
+
/**
|
|
728
|
+
* The latest amount intended to be authorized by this charge.
|
|
729
|
+
*/
|
|
730
|
+
amount_requested?: number | null;
|
|
699
731
|
/**
|
|
700
732
|
* Authorization code on the charge.
|
|
701
733
|
*/
|
|
702
734
|
authorization_code: string | null;
|
|
735
|
+
benefits?: Card.Benefits;
|
|
703
736
|
/**
|
|
704
737
|
* Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`.
|
|
705
738
|
*/
|
|
@@ -708,6 +741,10 @@ export declare namespace Charge {
|
|
|
708
741
|
* When using manual capture, a future timestamp at which the charge will be automatically refunded if uncaptured.
|
|
709
742
|
*/
|
|
710
743
|
capture_before?: number;
|
|
744
|
+
/**
|
|
745
|
+
* If present, indicates that the Card Account Updater changed the card's credentials during this authorization. `number_changed` means the card number was updated (the expiration date may have changed as well); `expiry_changed` means only the expiration date was updated.
|
|
746
|
+
*/
|
|
747
|
+
card_account_update?: Card.CardAccountUpdate | null;
|
|
711
748
|
/**
|
|
712
749
|
* Check results by Card networks on Card address and CVC at time of payment.
|
|
713
750
|
*/
|
|
@@ -716,6 +753,7 @@ export declare namespace Charge {
|
|
|
716
753
|
* Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.
|
|
717
754
|
*/
|
|
718
755
|
country: string | null;
|
|
756
|
+
decremental_authorization?: Card.DecrementalAuthorization;
|
|
719
757
|
/**
|
|
720
758
|
* A high-level description of the type of cards issued in this range. (For internal use only and not typically available in standard API requests.)
|
|
721
759
|
*/
|
|
@@ -784,6 +822,15 @@ export declare namespace Charge {
|
|
|
784
822
|
*/
|
|
785
823
|
network_transaction_id: string | null;
|
|
786
824
|
overcapture?: Card.Overcapture;
|
|
825
|
+
partial_authorization?: Card.PartialAuthorization;
|
|
826
|
+
/**
|
|
827
|
+
* Whether the PaymentIntent can be reauthorized or not.
|
|
828
|
+
*/
|
|
829
|
+
reauthorization?: Card.Reauthorization | null;
|
|
830
|
+
/**
|
|
831
|
+
* The time at which the associated PaymentIntent will transition to a terminal state if it is not reauthorized.
|
|
832
|
+
*/
|
|
833
|
+
reauthorize_before?: number | null;
|
|
787
834
|
/**
|
|
788
835
|
* Status of a card based on the card issuer.
|
|
789
836
|
*/
|
|
@@ -856,6 +903,7 @@ export declare namespace Charge {
|
|
|
856
903
|
* *As of May 1, 2021, card fingerprint in India for Connect changed to allow two fingerprints for the same card---one for India and one for the rest of the world.*
|
|
857
904
|
*/
|
|
858
905
|
fingerprint: string | null;
|
|
906
|
+
fleet?: CardPresent.Fleet;
|
|
859
907
|
/**
|
|
860
908
|
* Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`.
|
|
861
909
|
*/
|
|
@@ -884,6 +932,7 @@ export declare namespace Charge {
|
|
|
884
932
|
* ID of the [location](https://docs.stripe.com/api/terminal/locations) that this transaction's reader is assigned to.
|
|
885
933
|
*/
|
|
886
934
|
location?: string;
|
|
935
|
+
multicapture?: CardPresent.Multicapture;
|
|
887
936
|
/**
|
|
888
937
|
* Identifies which network this charge was processed on. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `interac`, `jcb`, `link`, `mastercard`, `unionpay`, `visa`, or `unknown`.
|
|
889
938
|
*/
|
|
@@ -912,12 +961,26 @@ export declare namespace Charge {
|
|
|
912
961
|
* ID of the [reader](https://docs.stripe.com/api/terminal/readers) this transaction was made on.
|
|
913
962
|
*/
|
|
914
963
|
reader?: string;
|
|
964
|
+
/**
|
|
965
|
+
* Whether the PaymentIntent can be reauthorized or not.
|
|
966
|
+
*/
|
|
967
|
+
reauthorization?: CardPresent.Reauthorization | null;
|
|
968
|
+
/**
|
|
969
|
+
* The time at which the associated PaymentIntent will transition to a terminal state if it is not reauthorized.
|
|
970
|
+
*/
|
|
971
|
+
reauthorize_before?: number | null;
|
|
915
972
|
/**
|
|
916
973
|
* A collection of fields required to be displayed on receipts. Only required for EMV transactions.
|
|
917
974
|
*/
|
|
918
975
|
receipt: CardPresent.Receipt | null;
|
|
976
|
+
/**
|
|
977
|
+
* The retrieval reference number assigned to this transaction.
|
|
978
|
+
*/
|
|
979
|
+
retrieval_reference_number?: string;
|
|
919
980
|
wallet?: CardPresent.Wallet;
|
|
920
981
|
}
|
|
982
|
+
interface Carecredit {
|
|
983
|
+
}
|
|
921
984
|
interface Cashapp {
|
|
922
985
|
/**
|
|
923
986
|
* A unique and immutable identifier assigned by Cash App to every buyer.
|
|
@@ -933,6 +996,14 @@ export declare namespace Charge {
|
|
|
933
996
|
transaction_id: string | null;
|
|
934
997
|
}
|
|
935
998
|
interface Crypto {
|
|
999
|
+
/**
|
|
1000
|
+
* The amount received for the crypto payment.
|
|
1001
|
+
*/
|
|
1002
|
+
amount_received?: number;
|
|
1003
|
+
/**
|
|
1004
|
+
* The amount requested for the crypto payment.
|
|
1005
|
+
*/
|
|
1006
|
+
amount_requested?: number;
|
|
936
1007
|
/**
|
|
937
1008
|
* The wallet address of the customer.
|
|
938
1009
|
*/
|
|
@@ -952,6 +1023,8 @@ export declare namespace Charge {
|
|
|
952
1023
|
}
|
|
953
1024
|
interface CustomerBalance {
|
|
954
1025
|
}
|
|
1026
|
+
interface Dbarai {
|
|
1027
|
+
}
|
|
955
1028
|
interface Eps {
|
|
956
1029
|
/**
|
|
957
1030
|
* The customer's bank. Should be one of `arzte_und_apotheker_bank`, `austrian_anadi_bank_ag`, `bank_austria`, `bankhaus_carl_spangler`, `bankhaus_schelhammer_und_schattera_ag`, `bawag_psk_ag`, `bks_bank_ag`, `brull_kallmus_bank_ag`, `btv_vier_lander_bank`, `capital_bank_grawe_gruppe_ag`, `deutsche_bank_ag`, `dolomitenbank`, `easybank_ag`, `erste_bank_und_sparkassen`, `hypo_alpeadriabank_international_ag`, `hypo_noe_lb_fur_niederosterreich_u_wien`, `hypo_oberosterreich_salzburg_steiermark`, `hypo_tirol_bank_ag`, `hypo_vorarlberg_bank_ag`, `hypo_bank_burgenland_aktiengesellschaft`, `marchfelder_bank`, `oberbank_ag`, `raiffeisen_bankengruppe_osterreich`, `schoellerbank_ag`, `sparda_bank_wien`, `volksbank_gruppe`, `volkskreditbank_ag`, or `vr_bank_braunau`.
|
|
@@ -978,6 +1051,47 @@ export declare namespace Charge {
|
|
|
978
1051
|
*/
|
|
979
1052
|
transaction_id: string | null;
|
|
980
1053
|
}
|
|
1054
|
+
interface Getflex {
|
|
1055
|
+
}
|
|
1056
|
+
interface GiftCard {
|
|
1057
|
+
balance: GiftCard.Balance;
|
|
1058
|
+
/**
|
|
1059
|
+
* The brand of the gift card.
|
|
1060
|
+
*/
|
|
1061
|
+
brand: GiftCard.Brand;
|
|
1062
|
+
/**
|
|
1063
|
+
* The expiration month of the gift card.
|
|
1064
|
+
*/
|
|
1065
|
+
exp_month: number | null;
|
|
1066
|
+
/**
|
|
1067
|
+
* The expiration year of the gift card.
|
|
1068
|
+
*/
|
|
1069
|
+
exp_year: number | null;
|
|
1070
|
+
/**
|
|
1071
|
+
* Uniquely identifies this particular gift card number. You can use this attribute to check whether two transactions were made using the same gift card.
|
|
1072
|
+
*/
|
|
1073
|
+
fingerprint: string | null;
|
|
1074
|
+
/**
|
|
1075
|
+
* The first six digits of the gift card number.
|
|
1076
|
+
*/
|
|
1077
|
+
first6: string;
|
|
1078
|
+
/**
|
|
1079
|
+
* The last four digits of the gift card number.
|
|
1080
|
+
*/
|
|
1081
|
+
last4: string | null;
|
|
1082
|
+
/**
|
|
1083
|
+
* ID of the [location](https://docs.stripe.com/api/terminal/locations) that this transaction's reader is assigned to.
|
|
1084
|
+
*/
|
|
1085
|
+
location?: string;
|
|
1086
|
+
/**
|
|
1087
|
+
* ID of the [reader](https://docs.stripe.com/api/terminal/readers) this transaction was made on.
|
|
1088
|
+
*/
|
|
1089
|
+
reader?: string;
|
|
1090
|
+
/**
|
|
1091
|
+
* The transaction ID from the gift card processor.
|
|
1092
|
+
*/
|
|
1093
|
+
transaction_id: string;
|
|
1094
|
+
}
|
|
981
1095
|
interface Giropay {
|
|
982
1096
|
/**
|
|
983
1097
|
* Bank code of bank associated with the bank account.
|
|
@@ -998,12 +1112,36 @@ export declare namespace Charge {
|
|
|
998
1112
|
*/
|
|
999
1113
|
verified_name: string | null;
|
|
1000
1114
|
}
|
|
1115
|
+
interface Gopay {
|
|
1116
|
+
}
|
|
1001
1117
|
interface Grabpay {
|
|
1002
1118
|
/**
|
|
1003
1119
|
* Unique transaction id generated by GrabPay
|
|
1004
1120
|
*/
|
|
1005
1121
|
transaction_id: string | null;
|
|
1006
1122
|
}
|
|
1123
|
+
interface IdBankTransfer {
|
|
1124
|
+
/**
|
|
1125
|
+
* Account number of the bank account to transfer funds to.
|
|
1126
|
+
*/
|
|
1127
|
+
account_number: string;
|
|
1128
|
+
/**
|
|
1129
|
+
* Bank where the account is located.
|
|
1130
|
+
*/
|
|
1131
|
+
bank: IdBankTransfer.Bank;
|
|
1132
|
+
/**
|
|
1133
|
+
* Local bank code of the bank.
|
|
1134
|
+
*/
|
|
1135
|
+
bank_code?: string;
|
|
1136
|
+
/**
|
|
1137
|
+
* Name of the bank associated with the bank account.
|
|
1138
|
+
*/
|
|
1139
|
+
bank_name?: string;
|
|
1140
|
+
/**
|
|
1141
|
+
* Merchant name and billing details name, for the customer to check for the correct merchant when performing the bank transfer.
|
|
1142
|
+
*/
|
|
1143
|
+
display_name?: string;
|
|
1144
|
+
}
|
|
1007
1145
|
interface Ideal {
|
|
1008
1146
|
/**
|
|
1009
1147
|
* The customer's bank. 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`.
|
|
@@ -1187,9 +1325,15 @@ export declare namespace Charge {
|
|
|
1187
1325
|
* The [funding source group code](https://docs.stripe.com/payments/link/link-payment-methods) applied to this Link payment at confirmation time.
|
|
1188
1326
|
*/
|
|
1189
1327
|
funding_source_group?: string;
|
|
1328
|
+
/**
|
|
1329
|
+
* Details about the funding sources used for this Link payment.
|
|
1330
|
+
*/
|
|
1331
|
+
funding_sources?: Array<Link.FundingSource>;
|
|
1190
1332
|
}
|
|
1191
1333
|
interface MbWay {
|
|
1192
1334
|
}
|
|
1335
|
+
interface Merpay {
|
|
1336
|
+
}
|
|
1193
1337
|
interface Mobilepay {
|
|
1194
1338
|
/**
|
|
1195
1339
|
* Internal card details
|
|
@@ -1317,12 +1461,42 @@ export declare namespace Charge {
|
|
|
1317
1461
|
* The level of protection offered as defined by PayPal Seller Protection for Merchants, for this transaction.
|
|
1318
1462
|
*/
|
|
1319
1463
|
seller_protection: Paypal.SellerProtection | null;
|
|
1464
|
+
/**
|
|
1465
|
+
* The shipping address for the customer, as supplied by the merchant at the point of payment
|
|
1466
|
+
* execution. This shipping address will not be updated if the merchant updates the shipping
|
|
1467
|
+
* address on the PaymentIntent after the PaymentIntent was successfully confirmed.
|
|
1468
|
+
*/
|
|
1469
|
+
shipping?: Address | null;
|
|
1320
1470
|
/**
|
|
1321
1471
|
* A unique ID generated by PayPal for this transaction.
|
|
1322
1472
|
*/
|
|
1323
1473
|
transaction_id: string | null;
|
|
1474
|
+
/**
|
|
1475
|
+
* The shipping address for the customer, as supplied by the merchant at the point of payment
|
|
1476
|
+
* execution. This shipping address will not be updated if the merchant updates the shipping
|
|
1477
|
+
* address on the PaymentIntent after the PaymentIntent was successfully confirmed.
|
|
1478
|
+
*/
|
|
1479
|
+
verified_address?: Address | null;
|
|
1480
|
+
/**
|
|
1481
|
+
* Owner's verified email. Values are verified or provided by PayPal directly
|
|
1482
|
+
* (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
|
1483
|
+
*/
|
|
1484
|
+
verified_email?: string | null;
|
|
1485
|
+
/**
|
|
1486
|
+
* Owner's verified full name. Values are verified or provided by PayPal directly
|
|
1487
|
+
* (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
|
1488
|
+
*/
|
|
1489
|
+
verified_name?: string | null;
|
|
1324
1490
|
}
|
|
1325
1491
|
interface Paypay {
|
|
1492
|
+
/**
|
|
1493
|
+
* Uniquely identifies this particular PayPay account. You can use this attribute to check whether two PayPay accounts are the same.
|
|
1494
|
+
*/
|
|
1495
|
+
fingerprint: string | null;
|
|
1496
|
+
/**
|
|
1497
|
+
* ID of the multi-use Mandate created by, or used to make, this PayPay payment.
|
|
1498
|
+
*/
|
|
1499
|
+
mandate?: string;
|
|
1326
1500
|
}
|
|
1327
1501
|
interface Payto {
|
|
1328
1502
|
/**
|
|
@@ -1362,6 +1536,16 @@ export declare namespace Charge {
|
|
|
1362
1536
|
*/
|
|
1363
1537
|
reference: string | null;
|
|
1364
1538
|
}
|
|
1539
|
+
interface Qris {
|
|
1540
|
+
}
|
|
1541
|
+
interface RakutenPay {
|
|
1542
|
+
}
|
|
1543
|
+
interface Rechnung {
|
|
1544
|
+
/**
|
|
1545
|
+
* Payment portal URL.
|
|
1546
|
+
*/
|
|
1547
|
+
payment_portal_url: string | null;
|
|
1548
|
+
}
|
|
1365
1549
|
interface RevolutPay {
|
|
1366
1550
|
funding?: RevolutPay.Funding;
|
|
1367
1551
|
/**
|
|
@@ -1441,6 +1625,10 @@ export declare namespace Charge {
|
|
|
1441
1625
|
*/
|
|
1442
1626
|
transaction_id: string | null;
|
|
1443
1627
|
}
|
|
1628
|
+
interface Sezzle {
|
|
1629
|
+
}
|
|
1630
|
+
interface Shopeepay {
|
|
1631
|
+
}
|
|
1444
1632
|
interface Sofort {
|
|
1445
1633
|
/**
|
|
1446
1634
|
* Bank code of bank associated with the bank account.
|
|
@@ -1483,6 +1671,12 @@ export declare namespace Charge {
|
|
|
1483
1671
|
}
|
|
1484
1672
|
interface StripeAccount {
|
|
1485
1673
|
}
|
|
1674
|
+
interface StripeBalance {
|
|
1675
|
+
/**
|
|
1676
|
+
* The connected account ID whose Stripe balance to use as the source of payment
|
|
1677
|
+
*/
|
|
1678
|
+
account?: string | null;
|
|
1679
|
+
}
|
|
1486
1680
|
interface Sunbit {
|
|
1487
1681
|
/**
|
|
1488
1682
|
* The Sunbit transaction ID associated with this payment.
|
|
@@ -1494,15 +1688,35 @@ export declare namespace Charge {
|
|
|
1494
1688
|
* Uniquely identifies the payer's Swish account. You can use this attribute to check whether two Swish transactions were paid for by the same payer
|
|
1495
1689
|
*/
|
|
1496
1690
|
fingerprint: string | null;
|
|
1691
|
+
/**
|
|
1692
|
+
* ID of the [location](https://docs.stripe.com/api/terminal/locations) that this transaction's reader is assigned to.
|
|
1693
|
+
*/
|
|
1694
|
+
location?: string;
|
|
1497
1695
|
/**
|
|
1498
1696
|
* Payer bank reference number for the payment
|
|
1499
1697
|
*/
|
|
1500
1698
|
payment_reference: string | null;
|
|
1699
|
+
/**
|
|
1700
|
+
* ID of the [reader](https://docs.stripe.com/api/terminal/readers) this transaction was made on.
|
|
1701
|
+
*/
|
|
1702
|
+
reader?: string;
|
|
1501
1703
|
/**
|
|
1502
1704
|
* The last four digits of the Swish account phone number
|
|
1503
1705
|
*/
|
|
1504
1706
|
verified_phone_last4: string | null;
|
|
1505
1707
|
}
|
|
1708
|
+
interface Tamara {
|
|
1709
|
+
/**
|
|
1710
|
+
* The Tamara transaction ID associated with this payment.
|
|
1711
|
+
*/
|
|
1712
|
+
transaction_id: string | null;
|
|
1713
|
+
}
|
|
1714
|
+
interface TossPay {
|
|
1715
|
+
/**
|
|
1716
|
+
* The buyer identifier provided by NICE for this Toss Pay account, when available.
|
|
1717
|
+
*/
|
|
1718
|
+
buyer_id: string | null;
|
|
1719
|
+
}
|
|
1506
1720
|
interface Twint {
|
|
1507
1721
|
/**
|
|
1508
1722
|
* ID of the multi use Mandate generated by the PaymentIntent or SetupIntent.
|
|
@@ -1600,6 +1814,10 @@ export declare namespace Charge {
|
|
|
1600
1814
|
* Card brand. Can be `American Express`, `Cartes Bancaires`, `Diners Club`, `Discover`, `Eftpos Australia`, `Girocard`, `JCB`, `MasterCard`, `UnionPay`, `Visa`, or `Unknown`.
|
|
1601
1815
|
*/
|
|
1602
1816
|
brand: string | null;
|
|
1817
|
+
/**
|
|
1818
|
+
* The [product code](https://stripe.com/docs/card-product-codes) that identifies the specific program or product associated with a card. (For internal use only and not typically available in standard API requests.)
|
|
1819
|
+
*/
|
|
1820
|
+
brand_product?: string | null;
|
|
1603
1821
|
/**
|
|
1604
1822
|
* Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.
|
|
1605
1823
|
*/
|
|
@@ -1627,6 +1845,20 @@ export declare namespace Charge {
|
|
|
1627
1845
|
type PreferredLanguage = 'de' | 'en' | 'fr' | 'nl' | OtherString;
|
|
1628
1846
|
}
|
|
1629
1847
|
namespace Card {
|
|
1848
|
+
interface AccountFunding {
|
|
1849
|
+
/**
|
|
1850
|
+
* Indicates whether or not this charge is a funding transaction.
|
|
1851
|
+
*/
|
|
1852
|
+
status: AccountFunding.Status;
|
|
1853
|
+
}
|
|
1854
|
+
interface Benefits {
|
|
1855
|
+
fr_meal_voucher?: Benefits.FrMealVoucher;
|
|
1856
|
+
/**
|
|
1857
|
+
* Issuer of the benefit card utilized on this payment
|
|
1858
|
+
*/
|
|
1859
|
+
issuer: string | null;
|
|
1860
|
+
}
|
|
1861
|
+
type CardAccountUpdate = 'expiry_changed' | 'number_changed' | OtherString;
|
|
1630
1862
|
interface Checks {
|
|
1631
1863
|
/**
|
|
1632
1864
|
* If a address line1 was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
|
|
@@ -1641,6 +1873,12 @@ export declare namespace Charge {
|
|
|
1641
1873
|
*/
|
|
1642
1874
|
cvc_check: string | null;
|
|
1643
1875
|
}
|
|
1876
|
+
interface DecrementalAuthorization {
|
|
1877
|
+
/**
|
|
1878
|
+
* Indicates whether or not the decremental authorization feature is supported.
|
|
1879
|
+
*/
|
|
1880
|
+
status: DecrementalAuthorization.Status;
|
|
1881
|
+
}
|
|
1644
1882
|
interface ExtendedAuthorization {
|
|
1645
1883
|
/**
|
|
1646
1884
|
* Indicates whether or not the capture window is extended beyond the standard authorization.
|
|
@@ -1681,6 +1919,18 @@ export declare namespace Charge {
|
|
|
1681
1919
|
*/
|
|
1682
1920
|
status: Overcapture.Status;
|
|
1683
1921
|
}
|
|
1922
|
+
interface PartialAuthorization {
|
|
1923
|
+
/**
|
|
1924
|
+
* Indicates whether the transaction requested for partial authorization feature and the authorization outcome.
|
|
1925
|
+
*/
|
|
1926
|
+
status: PartialAuthorization.Status;
|
|
1927
|
+
}
|
|
1928
|
+
interface Reauthorization {
|
|
1929
|
+
/**
|
|
1930
|
+
* Indicates whether or not the reauthorization feature is supported.
|
|
1931
|
+
*/
|
|
1932
|
+
status: Reauthorization.Status;
|
|
1933
|
+
}
|
|
1684
1934
|
type RegulatedStatus = 'regulated' | 'unregulated' | OtherString;
|
|
1685
1935
|
type SetupCredentialUsage = 'installment' | 'recurring' | 'unscheduled' | OtherString;
|
|
1686
1936
|
type StoredCredentialUsage = 'installment' | 'recurring' | 'unscheduled' | OtherString;
|
|
@@ -1740,6 +1990,20 @@ export declare namespace Charge {
|
|
|
1740
1990
|
type: Wallet.Type;
|
|
1741
1991
|
visa_checkout?: Wallet.VisaCheckout;
|
|
1742
1992
|
}
|
|
1993
|
+
namespace AccountFunding {
|
|
1994
|
+
type Status = 'disabled' | 'enabled' | OtherString;
|
|
1995
|
+
}
|
|
1996
|
+
namespace Benefits {
|
|
1997
|
+
interface FrMealVoucher {
|
|
1998
|
+
/**
|
|
1999
|
+
* The 14-digit SIRET of the meal voucher acceptor used for this charge.
|
|
2000
|
+
*/
|
|
2001
|
+
siret: string;
|
|
2002
|
+
}
|
|
2003
|
+
}
|
|
2004
|
+
namespace DecrementalAuthorization {
|
|
2005
|
+
type Status = 'available' | 'unavailable' | OtherString;
|
|
2006
|
+
}
|
|
1743
2007
|
namespace ExtendedAuthorization {
|
|
1744
2008
|
type Status = 'disabled' | 'enabled' | OtherString;
|
|
1745
2009
|
}
|
|
@@ -1772,6 +2036,12 @@ export declare namespace Charge {
|
|
|
1772
2036
|
namespace Overcapture {
|
|
1773
2037
|
type Status = 'available' | 'unavailable' | OtherString;
|
|
1774
2038
|
}
|
|
2039
|
+
namespace PartialAuthorization {
|
|
2040
|
+
type Status = 'declined' | 'fully_authorized' | 'not_requested' | 'partially_authorized' | OtherString;
|
|
2041
|
+
}
|
|
2042
|
+
namespace Reauthorization {
|
|
2043
|
+
type Status = 'available' | 'unavailable' | OtherString;
|
|
2044
|
+
}
|
|
1775
2045
|
namespace ThreeDSecure {
|
|
1776
2046
|
type AuthenticationFlow = 'challenge' | 'frictionless' | OtherString;
|
|
1777
2047
|
type ElectronicCommerceIndicator = '01' | '02' | '05' | '06' | '07' | OtherString;
|
|
@@ -1792,6 +2062,10 @@ export declare namespace Charge {
|
|
|
1792
2062
|
* The [funding source group code](https://docs.stripe.com/payments/link/link-payment-methods) applied to this Link payment at confirmation time.
|
|
1793
2063
|
*/
|
|
1794
2064
|
funding_source_group: string | null;
|
|
2065
|
+
/**
|
|
2066
|
+
* Details about the funding sources used for this Link payment.
|
|
2067
|
+
*/
|
|
2068
|
+
funding_sources?: Array<Link.FundingSource>;
|
|
1795
2069
|
}
|
|
1796
2070
|
interface Masterpass {
|
|
1797
2071
|
/**
|
|
@@ -1832,9 +2106,187 @@ export declare namespace Charge {
|
|
|
1832
2106
|
*/
|
|
1833
2107
|
shipping_address: Address | null;
|
|
1834
2108
|
}
|
|
2109
|
+
namespace Link {
|
|
2110
|
+
interface FundingSource {
|
|
2111
|
+
card: FundingSource.Card;
|
|
2112
|
+
/**
|
|
2113
|
+
* The type of funding source used for this Link payment.
|
|
2114
|
+
*/
|
|
2115
|
+
type: FundingSource.Type;
|
|
2116
|
+
}
|
|
2117
|
+
namespace FundingSource {
|
|
2118
|
+
interface Card {
|
|
2119
|
+
/**
|
|
2120
|
+
* The authorized amount.
|
|
2121
|
+
*/
|
|
2122
|
+
amount_authorized: number | null;
|
|
2123
|
+
/**
|
|
2124
|
+
* Authorization code on the charge.
|
|
2125
|
+
*/
|
|
2126
|
+
authorization_code: string | null;
|
|
2127
|
+
/**
|
|
2128
|
+
* Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`.
|
|
2129
|
+
*/
|
|
2130
|
+
brand: string | null;
|
|
2131
|
+
/**
|
|
2132
|
+
* Check results by Card networks on Card address and CVC at time of payment.
|
|
2133
|
+
*/
|
|
2134
|
+
checks: Card.Checks | null;
|
|
2135
|
+
/**
|
|
2136
|
+
* Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.
|
|
2137
|
+
*/
|
|
2138
|
+
country: string | null;
|
|
2139
|
+
/**
|
|
2140
|
+
* A high-level description of the type of cards issued in this range. (For internal use only and not typically available in standard API requests.)
|
|
2141
|
+
*/
|
|
2142
|
+
description?: string | null;
|
|
2143
|
+
/**
|
|
2144
|
+
* The Electronic Commerce Indicator (ECI) returned by the card network in the authorization response. Indicates the level of authentication used. Only populated for Visa and Mastercard transactions. This is the network's final ECI and can differ from the request value. An authenticated ECI alone doesn't determine liability shift.
|
|
2145
|
+
*/
|
|
2146
|
+
electronic_commerce_indicator: string | null;
|
|
2147
|
+
/**
|
|
2148
|
+
* Two-digit number representing the card's expiration month.
|
|
2149
|
+
*/
|
|
2150
|
+
exp_month: number;
|
|
2151
|
+
/**
|
|
2152
|
+
* Four-digit number representing the card's expiration year.
|
|
2153
|
+
*/
|
|
2154
|
+
exp_year: number;
|
|
2155
|
+
/**
|
|
2156
|
+
* Uniquely identifies this particular card number. You can use this attribute to check whether two customers who've signed up with you are using the same card number, for example. For payment methods that tokenize card information (Apple Pay, Google Pay), the tokenized number might be provided instead of the underlying card number.
|
|
2157
|
+
*
|
|
2158
|
+
* *As of May 1, 2021, card fingerprint in India for Connect changed to allow two fingerprints for the same card---one for India and one for the rest of the world.*
|
|
2159
|
+
*/
|
|
2160
|
+
fingerprint?: string | null;
|
|
2161
|
+
/**
|
|
2162
|
+
* Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`.
|
|
2163
|
+
*/
|
|
2164
|
+
funding: string | null;
|
|
2165
|
+
/**
|
|
2166
|
+
* Issuer identification number of the card. (For internal use only and not typically available in standard API requests.)
|
|
2167
|
+
*/
|
|
2168
|
+
iin?: string | null;
|
|
2169
|
+
/**
|
|
2170
|
+
* The name of the card's issuing bank. (For internal use only and not typically available in standard API requests.)
|
|
2171
|
+
*/
|
|
2172
|
+
issuer?: string | null;
|
|
2173
|
+
/**
|
|
2174
|
+
* The last four digits of the card.
|
|
2175
|
+
*/
|
|
2176
|
+
last4: string | null;
|
|
2177
|
+
/**
|
|
2178
|
+
* Identifies which network this charge was processed on. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `interac`, `jcb`, `link`, `mastercard`, `unionpay`, `visa`, or `unknown`.
|
|
2179
|
+
*/
|
|
2180
|
+
network: string | null;
|
|
2181
|
+
/**
|
|
2182
|
+
* If this card has network token credentials, this contains the details of the network token credentials.
|
|
2183
|
+
*/
|
|
2184
|
+
network_token?: Card.NetworkToken | null;
|
|
2185
|
+
/**
|
|
2186
|
+
* This is used by the financial networks to identify a transaction. Visa calls this the Transaction ID, Mastercard calls this the Trace ID, and American Express calls this the Acquirer Reference Data. This value will be present if it is returned by the financial network in the authorization response, and null otherwise.
|
|
2187
|
+
*/
|
|
2188
|
+
network_transaction_id: string | null;
|
|
2189
|
+
/**
|
|
2190
|
+
* Status of a card based on the card issuer.
|
|
2191
|
+
*/
|
|
2192
|
+
regulated_status: Card.RegulatedStatus | null;
|
|
2193
|
+
/**
|
|
2194
|
+
* Populated if this transaction used 3D Secure authentication.
|
|
2195
|
+
*/
|
|
2196
|
+
three_d_secure: Card.ThreeDSecure | null;
|
|
2197
|
+
/**
|
|
2198
|
+
* Transaction Link ID (TLID) is a unique identifier for a transaction. This is used by some card networks, such as Mastercard, for transaction linking, in addition to Network Transaction IDs. This value will be present if it is returned by the financial network in the authorization response, and null otherwise.
|
|
2199
|
+
*/
|
|
2200
|
+
transaction_link_id: string | null;
|
|
2201
|
+
}
|
|
2202
|
+
type Type = 'card' | OtherString;
|
|
2203
|
+
namespace Card {
|
|
2204
|
+
interface Checks {
|
|
2205
|
+
/**
|
|
2206
|
+
* If a address line1 was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
|
|
2207
|
+
*/
|
|
2208
|
+
address_line1_check: string | null;
|
|
2209
|
+
/**
|
|
2210
|
+
* If a address postal code was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
|
|
2211
|
+
*/
|
|
2212
|
+
address_postal_code_check: string | null;
|
|
2213
|
+
/**
|
|
2214
|
+
* If a CVC was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
|
|
2215
|
+
*/
|
|
2216
|
+
cvc_check: string | null;
|
|
2217
|
+
}
|
|
2218
|
+
interface NetworkToken {
|
|
2219
|
+
/**
|
|
2220
|
+
* Indicates if Stripe used a network token, either user provided or Stripe managed when processing the transaction.
|
|
2221
|
+
*/
|
|
2222
|
+
used: boolean;
|
|
2223
|
+
}
|
|
2224
|
+
type RegulatedStatus = 'regulated' | 'unregulated' | OtherString;
|
|
2225
|
+
interface ThreeDSecure {
|
|
2226
|
+
/**
|
|
2227
|
+
* For authenticated transactions: how the customer was authenticated by
|
|
2228
|
+
* the issuing bank.
|
|
2229
|
+
*/
|
|
2230
|
+
authentication_flow: ThreeDSecure.AuthenticationFlow | null;
|
|
2231
|
+
/**
|
|
2232
|
+
* The Electronic Commerce Indicator (ECI). A protocol-level field
|
|
2233
|
+
* indicating what degree of authentication was performed.
|
|
2234
|
+
*/
|
|
2235
|
+
electronic_commerce_indicator: ThreeDSecure.ElectronicCommerceIndicator | null;
|
|
2236
|
+
/**
|
|
2237
|
+
* The exemption requested via 3DS and accepted by the issuer at authentication time.
|
|
2238
|
+
*/
|
|
2239
|
+
exemption_indicator: ThreeDSecure.ExemptionIndicator | null;
|
|
2240
|
+
/**
|
|
2241
|
+
* Whether Stripe requested the value of `exemption_indicator` in the transaction. This will depend on
|
|
2242
|
+
* the outcome of Stripe's internal risk assessment.
|
|
2243
|
+
*/
|
|
2244
|
+
exemption_indicator_applied?: boolean;
|
|
2245
|
+
/**
|
|
2246
|
+
* Indicates the outcome of 3D Secure authentication.
|
|
2247
|
+
*/
|
|
2248
|
+
result: ThreeDSecure.Result | null;
|
|
2249
|
+
/**
|
|
2250
|
+
* Additional information about why 3D Secure succeeded or failed based
|
|
2251
|
+
* on the `result`.
|
|
2252
|
+
*/
|
|
2253
|
+
result_reason: ThreeDSecure.ResultReason | null;
|
|
2254
|
+
/**
|
|
2255
|
+
* The 3D Secure 1 XID or 3D Secure 2 Directory Server Transaction ID
|
|
2256
|
+
* (dsTransId) for this payment.
|
|
2257
|
+
*/
|
|
2258
|
+
transaction_id: string | null;
|
|
2259
|
+
/**
|
|
2260
|
+
* The version of 3D Secure that was used.
|
|
2261
|
+
*/
|
|
2262
|
+
version: ThreeDSecure.Version | null;
|
|
2263
|
+
}
|
|
2264
|
+
namespace ThreeDSecure {
|
|
2265
|
+
type AuthenticationFlow = 'challenge' | 'frictionless' | OtherString;
|
|
2266
|
+
type ElectronicCommerceIndicator = '01' | '02' | '05' | '06' | '07' | OtherString;
|
|
2267
|
+
type ExemptionIndicator = 'low_risk' | 'none' | OtherString;
|
|
2268
|
+
type Result = 'attempt_acknowledged' | 'authenticated' | 'data_share_only' | 'exempted' | 'failed' | 'not_supported' | 'processing_error' | OtherString;
|
|
2269
|
+
type ResultReason = 'abandoned' | 'bypassed' | 'canceled' | 'card_not_enrolled' | 'network_not_supported' | 'protocol_error' | 'rejected' | OtherString;
|
|
2270
|
+
type Version = '1.0.2' | '2.1.0' | '2.2.0' | '2.3.0' | '2.3.1' | OtherString;
|
|
2271
|
+
}
|
|
2272
|
+
}
|
|
2273
|
+
}
|
|
2274
|
+
}
|
|
1835
2275
|
}
|
|
1836
2276
|
}
|
|
1837
2277
|
namespace CardPresent {
|
|
2278
|
+
interface Fleet {
|
|
2279
|
+
/**
|
|
2280
|
+
* Fleet prompts and values collected for this transaction.
|
|
2281
|
+
*/
|
|
2282
|
+
transaction_data: Array<Fleet.TransactionDatum>;
|
|
2283
|
+
}
|
|
2284
|
+
interface Multicapture {
|
|
2285
|
+
/**
|
|
2286
|
+
* Indicates whether or not multiple captures are supported.
|
|
2287
|
+
*/
|
|
2288
|
+
status: Multicapture.Status;
|
|
2289
|
+
}
|
|
1838
2290
|
interface Offline {
|
|
1839
2291
|
/**
|
|
1840
2292
|
* Time at which the payment was collected while offline
|
|
@@ -1846,6 +2298,12 @@ export declare namespace Charge {
|
|
|
1846
2298
|
type: 'deferred' | null;
|
|
1847
2299
|
}
|
|
1848
2300
|
type ReadMethod = 'contact_emv' | 'contactless_emv' | 'contactless_magstripe_mode' | 'magnetic_stripe_fallback' | 'magnetic_stripe_track2' | OtherString;
|
|
2301
|
+
interface Reauthorization {
|
|
2302
|
+
/**
|
|
2303
|
+
* Indicates whether or not the reauthorization feature is supported.
|
|
2304
|
+
*/
|
|
2305
|
+
status: Reauthorization.Status;
|
|
2306
|
+
}
|
|
1849
2307
|
interface Receipt {
|
|
1850
2308
|
/**
|
|
1851
2309
|
* The type of account being debited or credited
|
|
@@ -1890,6 +2348,32 @@ export declare namespace Charge {
|
|
|
1890
2348
|
*/
|
|
1891
2349
|
type: Wallet.Type;
|
|
1892
2350
|
}
|
|
2351
|
+
namespace Fleet {
|
|
2352
|
+
interface TransactionDatum {
|
|
2353
|
+
/**
|
|
2354
|
+
* The prompt that the Terminal SDK displays to collect this Fleet value.
|
|
2355
|
+
*/
|
|
2356
|
+
prompt: TransactionDatum.Prompt;
|
|
2357
|
+
/**
|
|
2358
|
+
* Whether the collected value is printed on the receipt.
|
|
2359
|
+
*/
|
|
2360
|
+
receipt_behavior: TransactionDatum.ReceiptBehavior;
|
|
2361
|
+
/**
|
|
2362
|
+
* The value collected for this Fleet prompt.
|
|
2363
|
+
*/
|
|
2364
|
+
value: string;
|
|
2365
|
+
}
|
|
2366
|
+
namespace TransactionDatum {
|
|
2367
|
+
type Prompt = 'additional_fleet_data_1' | 'additional_fleet_data_2' | 'driver_id' | 'employee_number' | 'entered_data_alphanumeric' | 'entered_data_numeric' | 'generic_id' | 'invoice_number' | 'odometer' | 'postal_code' | 'reefer_hours' | 'replacement_car' | 'trailer_number' | 'trip_number' | 'unit_number' | 'vehicle_id' | 'vehicle_tag' | 'work_order';
|
|
2368
|
+
type ReceiptBehavior = 'omit' | 'print';
|
|
2369
|
+
}
|
|
2370
|
+
}
|
|
2371
|
+
namespace Multicapture {
|
|
2372
|
+
type Status = 'available' | 'unavailable';
|
|
2373
|
+
}
|
|
2374
|
+
namespace Reauthorization {
|
|
2375
|
+
type Status = 'available' | 'unavailable' | OtherString;
|
|
2376
|
+
}
|
|
1893
2377
|
namespace Receipt {
|
|
1894
2378
|
type AccountType = 'checking' | 'credit' | 'prepaid' | 'unknown' | OtherString;
|
|
1895
2379
|
}
|
|
@@ -1908,6 +2392,22 @@ export declare namespace Charge {
|
|
|
1908
2392
|
type AccountHolderType = 'company' | 'individual' | OtherString;
|
|
1909
2393
|
type Bank = 'affin_bank' | 'agrobank' | 'alliance_bank' | 'ambank' | 'bank_islam' | 'bank_muamalat' | 'bank_of_china' | 'bank_rakyat' | 'bnp_paribas' | 'bsn' | 'cimb' | 'citibank' | 'deutsche_bank' | 'hong_leong_bank' | 'hsbc' | 'kfh' | 'maybank2e' | 'maybank2u' | 'mbsb_bank' | 'ocbc' | 'pb_enterprise' | 'public_bank' | 'rhb' | 'standard_chartered' | 'uob' | OtherString;
|
|
1910
2394
|
}
|
|
2395
|
+
namespace GiftCard {
|
|
2396
|
+
interface Balance {
|
|
2397
|
+
/**
|
|
2398
|
+
* The balance amount in the smallest currency unit.
|
|
2399
|
+
*/
|
|
2400
|
+
amount: number;
|
|
2401
|
+
/**
|
|
2402
|
+
* The currency of the balance.
|
|
2403
|
+
*/
|
|
2404
|
+
currency: string;
|
|
2405
|
+
}
|
|
2406
|
+
type Brand = 'fiserv_valuelink' | 'givex' | 'svs' | OtherString;
|
|
2407
|
+
}
|
|
2408
|
+
namespace IdBankTransfer {
|
|
2409
|
+
type Bank = 'bca' | 'bni' | 'bri' | 'cimb' | 'mandiri' | 'permata' | OtherString;
|
|
2410
|
+
}
|
|
1911
2411
|
namespace Ideal {
|
|
1912
2412
|
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' | OtherString;
|
|
1913
2413
|
type Bic = 'ABNANL2A' | 'ADYBNL2A' | 'ASNBNL21' | 'BITSNL2A' | 'BUNQNL2A' | 'BUUTNL2A' | 'FNOMNL22' | 'FVLBNL22' | 'HANDNL2A' | 'INGBNL2A' | 'KNABNL2H' | 'MLLENL2A' | 'MOYONL21' | 'NNBANL2G' | 'NTSBDEB1' | 'RABONL2U' | 'RBRBNL21' | 'REVOIE23' | 'REVOLT21' | 'SNSBNL2A' | 'TRIONL2U' | OtherString;
|
|
@@ -1986,6 +2486,172 @@ export declare namespace Charge {
|
|
|
1986
2486
|
namespace KrCard {
|
|
1987
2487
|
type Brand = 'bc' | 'citi' | 'hana' | 'hyundai' | 'jeju' | 'jeonbuk' | 'kakaobank' | 'kbank' | 'kdbbank' | 'kookmin' | 'kwangju' | 'lotte' | 'mg' | 'nh' | 'post' | 'samsung' | 'savingsbank' | 'shinhan' | 'shinhyup' | 'suhyup' | 'tossbank' | 'woori' | OtherString;
|
|
1988
2488
|
}
|
|
2489
|
+
namespace Link {
|
|
2490
|
+
interface FundingSource {
|
|
2491
|
+
card: FundingSource.Card;
|
|
2492
|
+
/**
|
|
2493
|
+
* The type of funding source used for this Link payment.
|
|
2494
|
+
*/
|
|
2495
|
+
type: FundingSource.Type;
|
|
2496
|
+
}
|
|
2497
|
+
namespace FundingSource {
|
|
2498
|
+
interface Card {
|
|
2499
|
+
/**
|
|
2500
|
+
* The authorized amount.
|
|
2501
|
+
*/
|
|
2502
|
+
amount_authorized: number | null;
|
|
2503
|
+
/**
|
|
2504
|
+
* Authorization code on the charge.
|
|
2505
|
+
*/
|
|
2506
|
+
authorization_code: string | null;
|
|
2507
|
+
/**
|
|
2508
|
+
* Card brand. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `jcb`, `link`, `mastercard`, `unionpay`, `visa` or `unknown`.
|
|
2509
|
+
*/
|
|
2510
|
+
brand: string | null;
|
|
2511
|
+
/**
|
|
2512
|
+
* Check results by Card networks on Card address and CVC at time of payment.
|
|
2513
|
+
*/
|
|
2514
|
+
checks: Card.Checks | null;
|
|
2515
|
+
/**
|
|
2516
|
+
* Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.
|
|
2517
|
+
*/
|
|
2518
|
+
country: string | null;
|
|
2519
|
+
/**
|
|
2520
|
+
* A high-level description of the type of cards issued in this range. (For internal use only and not typically available in standard API requests.)
|
|
2521
|
+
*/
|
|
2522
|
+
description?: string | null;
|
|
2523
|
+
/**
|
|
2524
|
+
* The Electronic Commerce Indicator (ECI) returned by the card network in the authorization response. Indicates the level of authentication used. Only populated for Visa and Mastercard transactions. This is the network's final ECI and can differ from the request value. An authenticated ECI alone doesn't determine liability shift.
|
|
2525
|
+
*/
|
|
2526
|
+
electronic_commerce_indicator: string | null;
|
|
2527
|
+
/**
|
|
2528
|
+
* Two-digit number representing the card's expiration month.
|
|
2529
|
+
*/
|
|
2530
|
+
exp_month: number;
|
|
2531
|
+
/**
|
|
2532
|
+
* Four-digit number representing the card's expiration year.
|
|
2533
|
+
*/
|
|
2534
|
+
exp_year: number;
|
|
2535
|
+
/**
|
|
2536
|
+
* Uniquely identifies this particular card number. You can use this attribute to check whether two customers who've signed up with you are using the same card number, for example. For payment methods that tokenize card information (Apple Pay, Google Pay), the tokenized number might be provided instead of the underlying card number.
|
|
2537
|
+
*
|
|
2538
|
+
* *As of May 1, 2021, card fingerprint in India for Connect changed to allow two fingerprints for the same card---one for India and one for the rest of the world.*
|
|
2539
|
+
*/
|
|
2540
|
+
fingerprint?: string | null;
|
|
2541
|
+
/**
|
|
2542
|
+
* Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`.
|
|
2543
|
+
*/
|
|
2544
|
+
funding: string | null;
|
|
2545
|
+
/**
|
|
2546
|
+
* Issuer identification number of the card. (For internal use only and not typically available in standard API requests.)
|
|
2547
|
+
*/
|
|
2548
|
+
iin?: string | null;
|
|
2549
|
+
/**
|
|
2550
|
+
* The name of the card's issuing bank. (For internal use only and not typically available in standard API requests.)
|
|
2551
|
+
*/
|
|
2552
|
+
issuer?: string | null;
|
|
2553
|
+
/**
|
|
2554
|
+
* The last four digits of the card.
|
|
2555
|
+
*/
|
|
2556
|
+
last4: string | null;
|
|
2557
|
+
/**
|
|
2558
|
+
* Identifies which network this charge was processed on. Can be `amex`, `cartes_bancaires`, `diners`, `discover`, `eftpos_au`, `interac`, `jcb`, `link`, `mastercard`, `unionpay`, `visa`, or `unknown`.
|
|
2559
|
+
*/
|
|
2560
|
+
network: string | null;
|
|
2561
|
+
/**
|
|
2562
|
+
* If this card has network token credentials, this contains the details of the network token credentials.
|
|
2563
|
+
*/
|
|
2564
|
+
network_token?: Card.NetworkToken | null;
|
|
2565
|
+
/**
|
|
2566
|
+
* This is used by the financial networks to identify a transaction. Visa calls this the Transaction ID, Mastercard calls this the Trace ID, and American Express calls this the Acquirer Reference Data. This value will be present if it is returned by the financial network in the authorization response, and null otherwise.
|
|
2567
|
+
*/
|
|
2568
|
+
network_transaction_id: string | null;
|
|
2569
|
+
/**
|
|
2570
|
+
* Status of a card based on the card issuer.
|
|
2571
|
+
*/
|
|
2572
|
+
regulated_status: Card.RegulatedStatus | null;
|
|
2573
|
+
/**
|
|
2574
|
+
* Populated if this transaction used 3D Secure authentication.
|
|
2575
|
+
*/
|
|
2576
|
+
three_d_secure: Card.ThreeDSecure | null;
|
|
2577
|
+
/**
|
|
2578
|
+
* Transaction Link ID (TLID) is a unique identifier for a transaction. This is used by some card networks, such as Mastercard, for transaction linking, in addition to Network Transaction IDs. This value will be present if it is returned by the financial network in the authorization response, and null otherwise.
|
|
2579
|
+
*/
|
|
2580
|
+
transaction_link_id: string | null;
|
|
2581
|
+
}
|
|
2582
|
+
type Type = 'card' | OtherString;
|
|
2583
|
+
namespace Card {
|
|
2584
|
+
interface Checks {
|
|
2585
|
+
/**
|
|
2586
|
+
* If a address line1 was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
|
|
2587
|
+
*/
|
|
2588
|
+
address_line1_check: string | null;
|
|
2589
|
+
/**
|
|
2590
|
+
* If a address postal code was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
|
|
2591
|
+
*/
|
|
2592
|
+
address_postal_code_check: string | null;
|
|
2593
|
+
/**
|
|
2594
|
+
* If a CVC was provided, results of the check, one of `pass`, `fail`, `unavailable`, or `unchecked`.
|
|
2595
|
+
*/
|
|
2596
|
+
cvc_check: string | null;
|
|
2597
|
+
}
|
|
2598
|
+
interface NetworkToken {
|
|
2599
|
+
/**
|
|
2600
|
+
* Indicates if Stripe used a network token, either user provided or Stripe managed when processing the transaction.
|
|
2601
|
+
*/
|
|
2602
|
+
used: boolean;
|
|
2603
|
+
}
|
|
2604
|
+
type RegulatedStatus = 'regulated' | 'unregulated' | OtherString;
|
|
2605
|
+
interface ThreeDSecure {
|
|
2606
|
+
/**
|
|
2607
|
+
* For authenticated transactions: how the customer was authenticated by
|
|
2608
|
+
* the issuing bank.
|
|
2609
|
+
*/
|
|
2610
|
+
authentication_flow: ThreeDSecure.AuthenticationFlow | null;
|
|
2611
|
+
/**
|
|
2612
|
+
* The Electronic Commerce Indicator (ECI). A protocol-level field
|
|
2613
|
+
* indicating what degree of authentication was performed.
|
|
2614
|
+
*/
|
|
2615
|
+
electronic_commerce_indicator: ThreeDSecure.ElectronicCommerceIndicator | null;
|
|
2616
|
+
/**
|
|
2617
|
+
* The exemption requested via 3DS and accepted by the issuer at authentication time.
|
|
2618
|
+
*/
|
|
2619
|
+
exemption_indicator: ThreeDSecure.ExemptionIndicator | null;
|
|
2620
|
+
/**
|
|
2621
|
+
* Whether Stripe requested the value of `exemption_indicator` in the transaction. This will depend on
|
|
2622
|
+
* the outcome of Stripe's internal risk assessment.
|
|
2623
|
+
*/
|
|
2624
|
+
exemption_indicator_applied?: boolean;
|
|
2625
|
+
/**
|
|
2626
|
+
* Indicates the outcome of 3D Secure authentication.
|
|
2627
|
+
*/
|
|
2628
|
+
result: ThreeDSecure.Result | null;
|
|
2629
|
+
/**
|
|
2630
|
+
* Additional information about why 3D Secure succeeded or failed based
|
|
2631
|
+
* on the `result`.
|
|
2632
|
+
*/
|
|
2633
|
+
result_reason: ThreeDSecure.ResultReason | null;
|
|
2634
|
+
/**
|
|
2635
|
+
* The 3D Secure 1 XID or 3D Secure 2 Directory Server Transaction ID
|
|
2636
|
+
* (dsTransId) for this payment.
|
|
2637
|
+
*/
|
|
2638
|
+
transaction_id: string | null;
|
|
2639
|
+
/**
|
|
2640
|
+
* The version of 3D Secure that was used.
|
|
2641
|
+
*/
|
|
2642
|
+
version: ThreeDSecure.Version | null;
|
|
2643
|
+
}
|
|
2644
|
+
namespace ThreeDSecure {
|
|
2645
|
+
type AuthenticationFlow = 'challenge' | 'frictionless' | OtherString;
|
|
2646
|
+
type ElectronicCommerceIndicator = '01' | '02' | '05' | '06' | '07' | OtherString;
|
|
2647
|
+
type ExemptionIndicator = 'low_risk' | 'none' | OtherString;
|
|
2648
|
+
type Result = 'attempt_acknowledged' | 'authenticated' | 'data_share_only' | 'exempted' | 'failed' | 'not_supported' | 'processing_error' | OtherString;
|
|
2649
|
+
type ResultReason = 'abandoned' | 'bypassed' | 'canceled' | 'card_not_enrolled' | 'network_not_supported' | 'protocol_error' | 'rejected' | OtherString;
|
|
2650
|
+
type Version = '1.0.2' | '2.1.0' | '2.2.0' | '2.3.0' | '2.3.1' | OtherString;
|
|
2651
|
+
}
|
|
2652
|
+
}
|
|
2653
|
+
}
|
|
2654
|
+
}
|
|
1989
2655
|
namespace Mobilepay {
|
|
1990
2656
|
interface Card {
|
|
1991
2657
|
/**
|
|
@@ -2043,6 +2709,10 @@ export declare namespace Charge {
|
|
|
2043
2709
|
* Card brand. Can be `American Express`, `Cartes Bancaires`, `Diners Club`, `Discover`, `Eftpos Australia`, `Girocard`, `JCB`, `MasterCard`, `UnionPay`, `Visa`, or `Unknown`.
|
|
2044
2710
|
*/
|
|
2045
2711
|
brand: string | null;
|
|
2712
|
+
/**
|
|
2713
|
+
* The [product code](https://stripe.com/docs/card-product-codes) that identifies the specific program or product associated with a card. (For internal use only and not typically available in standard API requests.)
|
|
2714
|
+
*/
|
|
2715
|
+
brand_product?: string | null;
|
|
2046
2716
|
/**
|
|
2047
2717
|
* Two-letter ISO code representing the country of the card. You could use this attribute to get a sense of the international breakdown of cards you've collected.
|
|
2048
2718
|
*/
|
|
@@ -2074,6 +2744,9 @@ export declare namespace Charge {
|
|
|
2074
2744
|
type AccountType = 'checking' | 'savings' | OtherString;
|
|
2075
2745
|
}
|
|
2076
2746
|
}
|
|
2747
|
+
namespace Redaction {
|
|
2748
|
+
type Status = 'processing' | 'redacted' | 'validated' | OtherString;
|
|
2749
|
+
}
|
|
2077
2750
|
}
|
|
2078
2751
|
export interface ChargeCreateParams {
|
|
2079
2752
|
/**
|
|
@@ -2230,6 +2903,10 @@ export interface ChargeUpdateParams {
|
|
|
2230
2903
|
* Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
|
2231
2904
|
*/
|
|
2232
2905
|
metadata?: Emptyable<MetadataParam>;
|
|
2906
|
+
/**
|
|
2907
|
+
* Provides industry-specific information about the charge.
|
|
2908
|
+
*/
|
|
2909
|
+
payment_details?: ChargeUpdateParams.PaymentDetails;
|
|
2233
2910
|
/**
|
|
2234
2911
|
* This is the email address that the receipt for this charge will be sent to. If this field is updated, then a new email receipt will be sent to the updated address.
|
|
2235
2912
|
*/
|
|
@@ -2250,23 +2927,73 @@ export declare namespace ChargeUpdateParams {
|
|
|
2250
2927
|
*/
|
|
2251
2928
|
user_report: Emptyable<FraudDetails.UserReport>;
|
|
2252
2929
|
}
|
|
2253
|
-
interface
|
|
2930
|
+
interface PaymentDetails {
|
|
2254
2931
|
/**
|
|
2255
|
-
*
|
|
2932
|
+
* Car rental details for this PaymentIntent.
|
|
2256
2933
|
*/
|
|
2257
|
-
|
|
2934
|
+
car_rental?: PaymentDetails.CarRental;
|
|
2258
2935
|
/**
|
|
2259
|
-
*
|
|
2936
|
+
* Car rental data for this PaymentIntent.
|
|
2260
2937
|
*/
|
|
2261
|
-
|
|
2938
|
+
car_rental_data?: Emptyable<Array<PaymentDetails.CarRentalDatum>>;
|
|
2262
2939
|
/**
|
|
2263
|
-
*
|
|
2940
|
+
* A unique value to identify the customer. This field is available only for card payments.
|
|
2941
|
+
*
|
|
2942
|
+
* This field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks.
|
|
2264
2943
|
*/
|
|
2265
|
-
|
|
2944
|
+
customer_reference?: Emptyable<string>;
|
|
2266
2945
|
/**
|
|
2267
|
-
*
|
|
2946
|
+
* Event details for this PaymentIntent
|
|
2268
2947
|
*/
|
|
2269
|
-
|
|
2948
|
+
event_details?: PaymentDetails.EventDetails;
|
|
2949
|
+
/**
|
|
2950
|
+
* Fleet data for this PaymentIntent.
|
|
2951
|
+
*/
|
|
2952
|
+
fleet_data?: Emptyable<Array<PaymentDetails.FleetDatum>>;
|
|
2953
|
+
/**
|
|
2954
|
+
* Flight reservation details for this PaymentIntent
|
|
2955
|
+
*/
|
|
2956
|
+
flight?: PaymentDetails.Flight;
|
|
2957
|
+
/**
|
|
2958
|
+
* Flight data for this PaymentIntent.
|
|
2959
|
+
*/
|
|
2960
|
+
flight_data?: Emptyable<Array<PaymentDetails.FlightDatum>>;
|
|
2961
|
+
/**
|
|
2962
|
+
* Lodging reservation details for this PaymentIntent
|
|
2963
|
+
*/
|
|
2964
|
+
lodging?: PaymentDetails.Lodging;
|
|
2965
|
+
/**
|
|
2966
|
+
* Lodging data for this PaymentIntent.
|
|
2967
|
+
*/
|
|
2968
|
+
lodging_data?: Emptyable<Array<PaymentDetails.LodgingDatum>>;
|
|
2969
|
+
/**
|
|
2970
|
+
* A unique value assigned by the business to identify the transaction. Required for L2 and L3 rates.
|
|
2971
|
+
*
|
|
2972
|
+
* For Cards, this field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks. For Klarna, this field is truncated to 255 characters and is visible to customers when they view the order in the Klarna app.
|
|
2973
|
+
*/
|
|
2974
|
+
order_reference?: Emptyable<string>;
|
|
2975
|
+
/**
|
|
2976
|
+
* Subscription details for this PaymentIntent
|
|
2977
|
+
*/
|
|
2978
|
+
subscription?: PaymentDetails.Subscription;
|
|
2979
|
+
}
|
|
2980
|
+
interface Shipping {
|
|
2981
|
+
/**
|
|
2982
|
+
* Shipping address.
|
|
2983
|
+
*/
|
|
2984
|
+
address: AddressParam;
|
|
2985
|
+
/**
|
|
2986
|
+
* The delivery service that shipped a physical product, such as Fedex, UPS, USPS, etc.
|
|
2987
|
+
*/
|
|
2988
|
+
carrier?: string;
|
|
2989
|
+
/**
|
|
2990
|
+
* Recipient name.
|
|
2991
|
+
*/
|
|
2992
|
+
name: string;
|
|
2993
|
+
/**
|
|
2994
|
+
* Recipient phone (including extension).
|
|
2995
|
+
*/
|
|
2996
|
+
phone?: string;
|
|
2270
2997
|
/**
|
|
2271
2998
|
* The tracking number for a physical product, obtained from the delivery service. If multiple tracking numbers were generated for this purchase, please separate them with commas.
|
|
2272
2999
|
*/
|
|
@@ -2275,75 +3002,3037 @@ export declare namespace ChargeUpdateParams {
|
|
|
2275
3002
|
namespace FraudDetails {
|
|
2276
3003
|
type UserReport = 'fraudulent' | 'safe' | OtherString;
|
|
2277
3004
|
}
|
|
2278
|
-
|
|
2279
|
-
|
|
2280
|
-
|
|
2281
|
-
|
|
2282
|
-
|
|
2283
|
-
|
|
2284
|
-
|
|
2285
|
-
|
|
2286
|
-
|
|
2287
|
-
|
|
2288
|
-
|
|
2289
|
-
|
|
2290
|
-
|
|
2291
|
-
|
|
2292
|
-
|
|
2293
|
-
|
|
2294
|
-
|
|
2295
|
-
|
|
2296
|
-
|
|
2297
|
-
|
|
2298
|
-
|
|
2299
|
-
|
|
2300
|
-
|
|
2301
|
-
|
|
2302
|
-
|
|
2303
|
-
|
|
2304
|
-
|
|
2305
|
-
|
|
2306
|
-
|
|
2307
|
-
|
|
2308
|
-
|
|
2309
|
-
|
|
2310
|
-
|
|
2311
|
-
|
|
2312
|
-
|
|
2313
|
-
|
|
2314
|
-
|
|
2315
|
-
|
|
2316
|
-
|
|
2317
|
-
|
|
2318
|
-
|
|
2319
|
-
|
|
2320
|
-
|
|
2321
|
-
|
|
2322
|
-
|
|
2323
|
-
|
|
2324
|
-
|
|
2325
|
-
|
|
2326
|
-
|
|
2327
|
-
|
|
2328
|
-
|
|
2329
|
-
|
|
2330
|
-
|
|
2331
|
-
|
|
2332
|
-
|
|
2333
|
-
|
|
2334
|
-
|
|
2335
|
-
|
|
2336
|
-
|
|
2337
|
-
|
|
2338
|
-
|
|
2339
|
-
|
|
2340
|
-
|
|
2341
|
-
|
|
2342
|
-
|
|
2343
|
-
|
|
2344
|
-
|
|
2345
|
-
|
|
2346
|
-
|
|
3005
|
+
namespace PaymentDetails {
|
|
3006
|
+
interface CarRental {
|
|
3007
|
+
/**
|
|
3008
|
+
* Affiliate details for this purchase.
|
|
3009
|
+
*/
|
|
3010
|
+
affiliate?: CarRental.Affiliate;
|
|
3011
|
+
/**
|
|
3012
|
+
* The booking number associated with the car rental.
|
|
3013
|
+
*/
|
|
3014
|
+
booking_number: string;
|
|
3015
|
+
/**
|
|
3016
|
+
* Class code of the car.
|
|
3017
|
+
*/
|
|
3018
|
+
car_class_code?: string;
|
|
3019
|
+
/**
|
|
3020
|
+
* Make of the car.
|
|
3021
|
+
*/
|
|
3022
|
+
car_make?: string;
|
|
3023
|
+
/**
|
|
3024
|
+
* Model of the car.
|
|
3025
|
+
*/
|
|
3026
|
+
car_model?: string;
|
|
3027
|
+
/**
|
|
3028
|
+
* The name of the rental car company.
|
|
3029
|
+
*/
|
|
3030
|
+
company?: string;
|
|
3031
|
+
/**
|
|
3032
|
+
* The customer service phone number of the car rental company.
|
|
3033
|
+
*/
|
|
3034
|
+
customer_service_phone_number?: string;
|
|
3035
|
+
/**
|
|
3036
|
+
* Number of days the car is being rented.
|
|
3037
|
+
*/
|
|
3038
|
+
days_rented: number;
|
|
3039
|
+
/**
|
|
3040
|
+
* Delivery details for this purchase.
|
|
3041
|
+
*/
|
|
3042
|
+
delivery?: CarRental.Delivery;
|
|
3043
|
+
/**
|
|
3044
|
+
* The details of the distance traveled during the rental period.
|
|
3045
|
+
*/
|
|
3046
|
+
distance?: CarRental.Distance;
|
|
3047
|
+
/**
|
|
3048
|
+
* The details of the passengers in the travel reservation
|
|
3049
|
+
*/
|
|
3050
|
+
drivers?: Array<CarRental.Driver>;
|
|
3051
|
+
/**
|
|
3052
|
+
* List of additional charges being billed.
|
|
3053
|
+
*/
|
|
3054
|
+
extra_charges?: Array<CarRental.ExtraCharge>;
|
|
3055
|
+
/**
|
|
3056
|
+
* Indicates if the customer did not keep nor cancel their booking.
|
|
3057
|
+
*/
|
|
3058
|
+
no_show?: boolean;
|
|
3059
|
+
/**
|
|
3060
|
+
* Car pick-up address.
|
|
3061
|
+
*/
|
|
3062
|
+
pickup_address?: AddressParam;
|
|
3063
|
+
/**
|
|
3064
|
+
* Car pick-up time. Measured in seconds since the Unix epoch.
|
|
3065
|
+
*/
|
|
3066
|
+
pickup_at: number;
|
|
3067
|
+
/**
|
|
3068
|
+
* Name of the pickup location.
|
|
3069
|
+
*/
|
|
3070
|
+
pickup_location_name?: string;
|
|
3071
|
+
/**
|
|
3072
|
+
* Rental rate.
|
|
3073
|
+
*/
|
|
3074
|
+
rate_amount?: number;
|
|
3075
|
+
/**
|
|
3076
|
+
* The frequency at which the rate amount is applied. One of `day`, `week` or `month`
|
|
3077
|
+
*/
|
|
3078
|
+
rate_interval?: CarRental.RateInterval;
|
|
3079
|
+
/**
|
|
3080
|
+
* The name of the person or entity renting the car.
|
|
3081
|
+
*/
|
|
3082
|
+
renter_name?: string;
|
|
3083
|
+
/**
|
|
3084
|
+
* Car return address.
|
|
3085
|
+
*/
|
|
3086
|
+
return_address?: AddressParam;
|
|
3087
|
+
/**
|
|
3088
|
+
* Car return time. Measured in seconds since the Unix epoch.
|
|
3089
|
+
*/
|
|
3090
|
+
return_at: number;
|
|
3091
|
+
/**
|
|
3092
|
+
* Name of the return location.
|
|
3093
|
+
*/
|
|
3094
|
+
return_location_name?: string;
|
|
3095
|
+
/**
|
|
3096
|
+
* Indicates whether the goods or services are tax-exempt or tax is not collected.
|
|
3097
|
+
*/
|
|
3098
|
+
tax_exempt?: boolean;
|
|
3099
|
+
/**
|
|
3100
|
+
* The vehicle identification number.
|
|
3101
|
+
*/
|
|
3102
|
+
vehicle_identification_number?: string;
|
|
3103
|
+
}
|
|
3104
|
+
interface CarRentalDatum {
|
|
3105
|
+
/**
|
|
3106
|
+
* Affiliate (such as travel agency) details for the rental.
|
|
3107
|
+
*/
|
|
3108
|
+
affiliate?: CarRentalDatum.Affiliate;
|
|
3109
|
+
/**
|
|
3110
|
+
* Booking confirmation number for the car rental.
|
|
3111
|
+
*/
|
|
3112
|
+
booking_number?: string;
|
|
3113
|
+
/**
|
|
3114
|
+
* Name of the car rental company.
|
|
3115
|
+
*/
|
|
3116
|
+
carrier_name?: string;
|
|
3117
|
+
/**
|
|
3118
|
+
* Customer service phone number for the car rental company.
|
|
3119
|
+
*/
|
|
3120
|
+
customer_service_phone_number?: string;
|
|
3121
|
+
/**
|
|
3122
|
+
* Number of days the car is being rented.
|
|
3123
|
+
*/
|
|
3124
|
+
days_rented?: number;
|
|
3125
|
+
/**
|
|
3126
|
+
* Distance details for the rental.
|
|
3127
|
+
*/
|
|
3128
|
+
distance?: CarRentalDatum.Distance;
|
|
3129
|
+
/**
|
|
3130
|
+
* List of drivers for the rental.
|
|
3131
|
+
*/
|
|
3132
|
+
drivers?: Array<CarRentalDatum.Driver>;
|
|
3133
|
+
/**
|
|
3134
|
+
* Drop-off location details.
|
|
3135
|
+
*/
|
|
3136
|
+
drop_off: CarRentalDatum.DropOff;
|
|
3137
|
+
/**
|
|
3138
|
+
* Insurance details for the rental.
|
|
3139
|
+
*/
|
|
3140
|
+
insurances?: Array<CarRentalDatum.Insurance>;
|
|
3141
|
+
/**
|
|
3142
|
+
* Indicates if the customer was a no-show.
|
|
3143
|
+
*/
|
|
3144
|
+
no_show_indicator?: boolean;
|
|
3145
|
+
/**
|
|
3146
|
+
* Pickup location details.
|
|
3147
|
+
*/
|
|
3148
|
+
pickup: CarRentalDatum.Pickup;
|
|
3149
|
+
/**
|
|
3150
|
+
* Name of the person renting the vehicle.
|
|
3151
|
+
*/
|
|
3152
|
+
renter_name?: string;
|
|
3153
|
+
/**
|
|
3154
|
+
* Total cost breakdown for the rental.
|
|
3155
|
+
*/
|
|
3156
|
+
total: CarRentalDatum.Total;
|
|
3157
|
+
/**
|
|
3158
|
+
* Vehicle details for the rental.
|
|
3159
|
+
*/
|
|
3160
|
+
vehicle?: CarRentalDatum.Vehicle;
|
|
3161
|
+
}
|
|
3162
|
+
interface EventDetails {
|
|
3163
|
+
/**
|
|
3164
|
+
* Indicates if the tickets are digitally checked when entering the venue.
|
|
3165
|
+
*/
|
|
3166
|
+
access_controlled_venue?: boolean;
|
|
3167
|
+
/**
|
|
3168
|
+
* The event location's address.
|
|
3169
|
+
*/
|
|
3170
|
+
address?: AddressParam;
|
|
3171
|
+
/**
|
|
3172
|
+
* Affiliate details for this purchase.
|
|
3173
|
+
*/
|
|
3174
|
+
affiliate?: EventDetails.Affiliate;
|
|
3175
|
+
/**
|
|
3176
|
+
* The name of the company
|
|
3177
|
+
*/
|
|
3178
|
+
company?: string;
|
|
3179
|
+
/**
|
|
3180
|
+
* Delivery details for this purchase.
|
|
3181
|
+
*/
|
|
3182
|
+
delivery?: EventDetails.Delivery;
|
|
3183
|
+
/**
|
|
3184
|
+
* Event end time. Measured in seconds since the Unix epoch.
|
|
3185
|
+
*/
|
|
3186
|
+
ends_at?: number;
|
|
3187
|
+
/**
|
|
3188
|
+
* Type of the event entertainment (concert, sports event etc)
|
|
3189
|
+
*/
|
|
3190
|
+
genre?: string;
|
|
3191
|
+
/**
|
|
3192
|
+
* The name of the event.
|
|
3193
|
+
*/
|
|
3194
|
+
name: string;
|
|
3195
|
+
/**
|
|
3196
|
+
* Event start time. Measured in seconds since the Unix epoch.
|
|
3197
|
+
*/
|
|
3198
|
+
starts_at?: number;
|
|
3199
|
+
}
|
|
3200
|
+
interface FleetDatum {
|
|
3201
|
+
/**
|
|
3202
|
+
* Primary fuel fields for the transaction.
|
|
3203
|
+
*/
|
|
3204
|
+
primary_fuel_fields?: FleetDatum.PrimaryFuelFields;
|
|
3205
|
+
/**
|
|
3206
|
+
* Station and acceptor location details.
|
|
3207
|
+
*/
|
|
3208
|
+
station?: FleetDatum.Station;
|
|
3209
|
+
/**
|
|
3210
|
+
* VAT and Invoice on Behalf (IOB) details.
|
|
3211
|
+
*/
|
|
3212
|
+
vat?: FleetDatum.Vat;
|
|
3213
|
+
}
|
|
3214
|
+
interface Flight {
|
|
3215
|
+
/**
|
|
3216
|
+
* Affiliate details for this purchase.
|
|
3217
|
+
*/
|
|
3218
|
+
affiliate?: Flight.Affiliate;
|
|
3219
|
+
/**
|
|
3220
|
+
* The agency number (i.e. International Air Transport Association (IATA) agency number) of the travel agency that made the booking.
|
|
3221
|
+
*/
|
|
3222
|
+
agency_number?: string;
|
|
3223
|
+
/**
|
|
3224
|
+
* The International Air Transport Association (IATA) carrier code of the carrier that issued the ticket.
|
|
3225
|
+
*/
|
|
3226
|
+
carrier?: string;
|
|
3227
|
+
/**
|
|
3228
|
+
* Delivery details for this purchase.
|
|
3229
|
+
*/
|
|
3230
|
+
delivery?: Flight.Delivery;
|
|
3231
|
+
/**
|
|
3232
|
+
* The name of the person or entity on the reservation.
|
|
3233
|
+
*/
|
|
3234
|
+
passenger_name?: string;
|
|
3235
|
+
/**
|
|
3236
|
+
* The details of the passengers in the travel reservation.
|
|
3237
|
+
*/
|
|
3238
|
+
passengers?: Array<Flight.Passenger>;
|
|
3239
|
+
/**
|
|
3240
|
+
* The individual flight segments associated with the trip.
|
|
3241
|
+
*/
|
|
3242
|
+
segments: Array<Flight.Segment>;
|
|
3243
|
+
/**
|
|
3244
|
+
* The ticket number associated with the travel reservation.
|
|
3245
|
+
*/
|
|
3246
|
+
ticket_number?: string;
|
|
3247
|
+
}
|
|
3248
|
+
interface FlightDatum {
|
|
3249
|
+
/**
|
|
3250
|
+
* Affiliate details if applicable.
|
|
3251
|
+
*/
|
|
3252
|
+
affiliate?: FlightDatum.Affiliate;
|
|
3253
|
+
/**
|
|
3254
|
+
* Reservation reference.
|
|
3255
|
+
*/
|
|
3256
|
+
booking_number?: string;
|
|
3257
|
+
/**
|
|
3258
|
+
* Computerized reservation system used to make the reservation and purchase the ticket.
|
|
3259
|
+
*/
|
|
3260
|
+
computerized_reservation_system?: string;
|
|
3261
|
+
/**
|
|
3262
|
+
* Ticket restrictions.
|
|
3263
|
+
*/
|
|
3264
|
+
endorsements_and_restrictions?: string;
|
|
3265
|
+
/**
|
|
3266
|
+
* List of insurances.
|
|
3267
|
+
*/
|
|
3268
|
+
insurances?: Array<FlightDatum.Insurance>;
|
|
3269
|
+
/**
|
|
3270
|
+
* List of passengers.
|
|
3271
|
+
*/
|
|
3272
|
+
passengers?: Array<FlightDatum.Passenger>;
|
|
3273
|
+
/**
|
|
3274
|
+
* List of flight segments.
|
|
3275
|
+
*/
|
|
3276
|
+
segments: Array<FlightDatum.Segment>;
|
|
3277
|
+
/**
|
|
3278
|
+
* Electronic ticket indicator.
|
|
3279
|
+
*/
|
|
3280
|
+
ticket_electronically_issued_indicator?: boolean;
|
|
3281
|
+
/**
|
|
3282
|
+
* Total cost breakdown.
|
|
3283
|
+
*/
|
|
3284
|
+
total: FlightDatum.Total;
|
|
3285
|
+
/**
|
|
3286
|
+
* Type of flight transaction.
|
|
3287
|
+
*/
|
|
3288
|
+
transaction_type?: FlightDatum.TransactionType;
|
|
3289
|
+
}
|
|
3290
|
+
interface Lodging {
|
|
3291
|
+
/**
|
|
3292
|
+
* The lodging location's address.
|
|
3293
|
+
*/
|
|
3294
|
+
address?: AddressParam;
|
|
3295
|
+
/**
|
|
3296
|
+
* The number of adults on the booking
|
|
3297
|
+
*/
|
|
3298
|
+
adults?: number;
|
|
3299
|
+
/**
|
|
3300
|
+
* Affiliate details for this purchase.
|
|
3301
|
+
*/
|
|
3302
|
+
affiliate?: Lodging.Affiliate;
|
|
3303
|
+
/**
|
|
3304
|
+
* The booking number associated with the lodging reservation.
|
|
3305
|
+
*/
|
|
3306
|
+
booking_number?: string;
|
|
3307
|
+
/**
|
|
3308
|
+
* The lodging category
|
|
3309
|
+
*/
|
|
3310
|
+
category?: Lodging.Category;
|
|
3311
|
+
/**
|
|
3312
|
+
* Lodging check-in time. Measured in seconds since the Unix epoch.
|
|
3313
|
+
*/
|
|
3314
|
+
checkin_at: number;
|
|
3315
|
+
/**
|
|
3316
|
+
* Lodging check-out time. Measured in seconds since the Unix epoch.
|
|
3317
|
+
*/
|
|
3318
|
+
checkout_at: number;
|
|
3319
|
+
/**
|
|
3320
|
+
* The customer service phone number of the lodging company.
|
|
3321
|
+
*/
|
|
3322
|
+
customer_service_phone_number?: string;
|
|
3323
|
+
/**
|
|
3324
|
+
* The daily lodging room rate.
|
|
3325
|
+
*/
|
|
3326
|
+
daily_room_rate_amount?: number;
|
|
3327
|
+
/**
|
|
3328
|
+
* Delivery details for this purchase.
|
|
3329
|
+
*/
|
|
3330
|
+
delivery?: Lodging.Delivery;
|
|
3331
|
+
/**
|
|
3332
|
+
* List of additional charges being billed.
|
|
3333
|
+
*/
|
|
3334
|
+
extra_charges?: Array<Lodging.ExtraCharge>;
|
|
3335
|
+
/**
|
|
3336
|
+
* Indicates whether the lodging location is compliant with the Fire Safety Act.
|
|
3337
|
+
*/
|
|
3338
|
+
fire_safety_act_compliance?: boolean;
|
|
3339
|
+
/**
|
|
3340
|
+
* The name of the lodging location.
|
|
3341
|
+
*/
|
|
3342
|
+
name?: string;
|
|
3343
|
+
/**
|
|
3344
|
+
* Indicates if the customer did not keep their booking while failing to cancel the reservation.
|
|
3345
|
+
*/
|
|
3346
|
+
no_show?: boolean;
|
|
3347
|
+
/**
|
|
3348
|
+
* The number of rooms on the booking
|
|
3349
|
+
*/
|
|
3350
|
+
number_of_rooms?: number;
|
|
3351
|
+
/**
|
|
3352
|
+
* The details of the passengers in the travel reservation
|
|
3353
|
+
*/
|
|
3354
|
+
passengers?: Array<Lodging.Passenger>;
|
|
3355
|
+
/**
|
|
3356
|
+
* The phone number of the lodging location.
|
|
3357
|
+
*/
|
|
3358
|
+
property_phone_number?: string;
|
|
3359
|
+
/**
|
|
3360
|
+
* The room class for this purchase.
|
|
3361
|
+
*/
|
|
3362
|
+
room_class?: string;
|
|
3363
|
+
/**
|
|
3364
|
+
* The number of room nights
|
|
3365
|
+
*/
|
|
3366
|
+
room_nights?: number;
|
|
3367
|
+
/**
|
|
3368
|
+
* The total tax amount associating with the room reservation.
|
|
3369
|
+
*/
|
|
3370
|
+
total_room_tax_amount?: number;
|
|
3371
|
+
/**
|
|
3372
|
+
* The total tax amount
|
|
3373
|
+
*/
|
|
3374
|
+
total_tax_amount?: number;
|
|
3375
|
+
}
|
|
3376
|
+
interface LodgingDatum {
|
|
3377
|
+
/**
|
|
3378
|
+
* Accommodation details for the lodging.
|
|
3379
|
+
*/
|
|
3380
|
+
accommodation?: LodgingDatum.Accommodation;
|
|
3381
|
+
/**
|
|
3382
|
+
* Affiliate details if applicable.
|
|
3383
|
+
*/
|
|
3384
|
+
affiliate?: LodgingDatum.Affiliate;
|
|
3385
|
+
/**
|
|
3386
|
+
* Booking confirmation number for the lodging.
|
|
3387
|
+
*/
|
|
3388
|
+
booking_number?: string;
|
|
3389
|
+
/**
|
|
3390
|
+
* Check-in date.
|
|
3391
|
+
*/
|
|
3392
|
+
checkin_at: number;
|
|
3393
|
+
/**
|
|
3394
|
+
* Check-out date.
|
|
3395
|
+
*/
|
|
3396
|
+
checkout_at: number;
|
|
3397
|
+
/**
|
|
3398
|
+
* Customer service phone number for the lodging company.
|
|
3399
|
+
*/
|
|
3400
|
+
customer_service_phone_number?: string;
|
|
3401
|
+
/**
|
|
3402
|
+
* Whether the lodging is compliant with any hotel fire safety regulations.
|
|
3403
|
+
*/
|
|
3404
|
+
fire_safety_act_compliance_indicator?: boolean;
|
|
3405
|
+
/**
|
|
3406
|
+
* List of guests for the lodging.
|
|
3407
|
+
*/
|
|
3408
|
+
guests?: Array<LodgingDatum.Guest>;
|
|
3409
|
+
/**
|
|
3410
|
+
* Host details for the lodging.
|
|
3411
|
+
*/
|
|
3412
|
+
host?: LodgingDatum.Host;
|
|
3413
|
+
/**
|
|
3414
|
+
* List of insurances for the lodging.
|
|
3415
|
+
*/
|
|
3416
|
+
insurances?: Array<LodgingDatum.Insurance>;
|
|
3417
|
+
/**
|
|
3418
|
+
* Whether the renter is a no-show.
|
|
3419
|
+
*/
|
|
3420
|
+
no_show_indicator?: boolean;
|
|
3421
|
+
/**
|
|
3422
|
+
* Renter ID number for the lodging.
|
|
3423
|
+
*/
|
|
3424
|
+
renter_id_number?: string;
|
|
3425
|
+
/**
|
|
3426
|
+
* Renter name for the lodging.
|
|
3427
|
+
*/
|
|
3428
|
+
renter_name?: string;
|
|
3429
|
+
/**
|
|
3430
|
+
* Total details for the lodging.
|
|
3431
|
+
*/
|
|
3432
|
+
total: LodgingDatum.Total;
|
|
3433
|
+
}
|
|
3434
|
+
interface Subscription {
|
|
3435
|
+
/**
|
|
3436
|
+
* Affiliate details for this purchase.
|
|
3437
|
+
*/
|
|
3438
|
+
affiliate?: Subscription.Affiliate;
|
|
3439
|
+
/**
|
|
3440
|
+
* Info whether the subscription will be auto renewed upon expiry.
|
|
3441
|
+
*/
|
|
3442
|
+
auto_renewal?: boolean;
|
|
3443
|
+
/**
|
|
3444
|
+
* Subscription billing details for this purchase.
|
|
3445
|
+
*/
|
|
3446
|
+
billing_interval?: Subscription.BillingInterval;
|
|
3447
|
+
/**
|
|
3448
|
+
* Subscription end time. Measured in seconds since the Unix epoch.
|
|
3449
|
+
*/
|
|
3450
|
+
ends_at?: number;
|
|
3451
|
+
/**
|
|
3452
|
+
* Name of the product on subscription. e.g. Apple Music Subscription
|
|
3453
|
+
*/
|
|
3454
|
+
name: string;
|
|
3455
|
+
/**
|
|
3456
|
+
* Subscription start time. Measured in seconds since the Unix epoch.
|
|
3457
|
+
*/
|
|
3458
|
+
starts_at?: number;
|
|
3459
|
+
}
|
|
3460
|
+
namespace CarRental {
|
|
3461
|
+
interface Affiliate {
|
|
3462
|
+
/**
|
|
3463
|
+
* The name of the affiliate that originated the purchase.
|
|
3464
|
+
*/
|
|
3465
|
+
name: string;
|
|
3466
|
+
}
|
|
3467
|
+
interface Delivery {
|
|
3468
|
+
/**
|
|
3469
|
+
* The delivery method for the payment
|
|
3470
|
+
*/
|
|
3471
|
+
mode?: Delivery.Mode;
|
|
3472
|
+
/**
|
|
3473
|
+
* Details of the recipient.
|
|
3474
|
+
*/
|
|
3475
|
+
recipient?: Delivery.Recipient;
|
|
3476
|
+
}
|
|
3477
|
+
interface Distance {
|
|
3478
|
+
/**
|
|
3479
|
+
* Distance traveled.
|
|
3480
|
+
*/
|
|
3481
|
+
amount?: number;
|
|
3482
|
+
/**
|
|
3483
|
+
* Unit of measurement for the distance traveled. One of `miles` or `kilometers`.
|
|
3484
|
+
*/
|
|
3485
|
+
unit?: Distance.Unit;
|
|
3486
|
+
}
|
|
3487
|
+
interface Driver {
|
|
3488
|
+
/**
|
|
3489
|
+
* Driver's identification number.
|
|
3490
|
+
*/
|
|
3491
|
+
driver_identification_number?: string;
|
|
3492
|
+
/**
|
|
3493
|
+
* Driver's tax number.
|
|
3494
|
+
*/
|
|
3495
|
+
driver_tax_number?: string;
|
|
3496
|
+
/**
|
|
3497
|
+
* Full name of the person or entity on the car reservation.
|
|
3498
|
+
*/
|
|
3499
|
+
name: string;
|
|
3500
|
+
}
|
|
3501
|
+
type ExtraCharge = 'extra_mileage' | 'gas' | 'late_return' | 'one_way_service' | 'parking_violation' | OtherString;
|
|
3502
|
+
type RateInterval = 'day' | 'month' | 'week' | OtherString;
|
|
3503
|
+
namespace Delivery {
|
|
3504
|
+
type Mode = 'email' | 'phone' | 'pickup' | 'post' | OtherString;
|
|
3505
|
+
interface Recipient {
|
|
3506
|
+
/**
|
|
3507
|
+
* The email of the recipient the ticket is delivered to.
|
|
3508
|
+
*/
|
|
3509
|
+
email?: string;
|
|
3510
|
+
/**
|
|
3511
|
+
* The name of the recipient the ticket is delivered to.
|
|
3512
|
+
*/
|
|
3513
|
+
name?: string;
|
|
3514
|
+
/**
|
|
3515
|
+
* The phone number of the recipient the ticket is delivered to.
|
|
3516
|
+
*/
|
|
3517
|
+
phone?: string;
|
|
3518
|
+
}
|
|
3519
|
+
}
|
|
3520
|
+
namespace Distance {
|
|
3521
|
+
type Unit = 'kilometers' | 'miles' | OtherString;
|
|
3522
|
+
}
|
|
3523
|
+
}
|
|
3524
|
+
namespace CarRentalDatum {
|
|
3525
|
+
interface Affiliate {
|
|
3526
|
+
/**
|
|
3527
|
+
* Affiliate partner code.
|
|
3528
|
+
*/
|
|
3529
|
+
code?: string;
|
|
3530
|
+
/**
|
|
3531
|
+
* Name of affiliate partner.
|
|
3532
|
+
*/
|
|
3533
|
+
name?: string;
|
|
3534
|
+
}
|
|
3535
|
+
interface Distance {
|
|
3536
|
+
/**
|
|
3537
|
+
* Distance traveled.
|
|
3538
|
+
*/
|
|
3539
|
+
amount: number;
|
|
3540
|
+
/**
|
|
3541
|
+
* Unit of measurement for the distance traveled. One of `miles` or `kilometers`.
|
|
3542
|
+
*/
|
|
3543
|
+
unit: Distance.Unit;
|
|
3544
|
+
}
|
|
3545
|
+
interface Driver {
|
|
3546
|
+
/**
|
|
3547
|
+
* Driver's date of birth.
|
|
3548
|
+
*/
|
|
3549
|
+
date_of_birth?: Driver.DateOfBirth;
|
|
3550
|
+
/**
|
|
3551
|
+
* Driver's identification number.
|
|
3552
|
+
*/
|
|
3553
|
+
driver_identification_number?: string;
|
|
3554
|
+
/**
|
|
3555
|
+
* Driver's tax number.
|
|
3556
|
+
*/
|
|
3557
|
+
driver_tax_number?: string;
|
|
3558
|
+
/**
|
|
3559
|
+
* Driver's full name.
|
|
3560
|
+
*/
|
|
3561
|
+
name: string;
|
|
3562
|
+
}
|
|
3563
|
+
interface DropOff {
|
|
3564
|
+
/**
|
|
3565
|
+
* Address of the rental location.
|
|
3566
|
+
*/
|
|
3567
|
+
address: DropOff.Address;
|
|
3568
|
+
/**
|
|
3569
|
+
* Location name.
|
|
3570
|
+
*/
|
|
3571
|
+
location_name?: string;
|
|
3572
|
+
/**
|
|
3573
|
+
* Timestamp for the location.
|
|
3574
|
+
*/
|
|
3575
|
+
time: number;
|
|
3576
|
+
}
|
|
3577
|
+
interface Insurance {
|
|
3578
|
+
/**
|
|
3579
|
+
* Amount of the insurance coverage in cents.
|
|
3580
|
+
*/
|
|
3581
|
+
amount: number;
|
|
3582
|
+
/**
|
|
3583
|
+
* Currency of the insurance amount.
|
|
3584
|
+
*/
|
|
3585
|
+
currency?: string;
|
|
3586
|
+
/**
|
|
3587
|
+
* Name of the insurance company.
|
|
3588
|
+
*/
|
|
3589
|
+
insurance_company_name?: string;
|
|
3590
|
+
/**
|
|
3591
|
+
* Type of insurance coverage.
|
|
3592
|
+
*/
|
|
3593
|
+
insurance_type: Insurance.InsuranceType;
|
|
3594
|
+
}
|
|
3595
|
+
interface Pickup {
|
|
3596
|
+
/**
|
|
3597
|
+
* Address of the rental location.
|
|
3598
|
+
*/
|
|
3599
|
+
address: Pickup.Address;
|
|
3600
|
+
/**
|
|
3601
|
+
* Location name.
|
|
3602
|
+
*/
|
|
3603
|
+
location_name?: string;
|
|
3604
|
+
/**
|
|
3605
|
+
* Timestamp for the location.
|
|
3606
|
+
*/
|
|
3607
|
+
time: number;
|
|
3608
|
+
}
|
|
3609
|
+
interface Total {
|
|
3610
|
+
/**
|
|
3611
|
+
* Total amount in cents.
|
|
3612
|
+
*/
|
|
3613
|
+
amount: number;
|
|
3614
|
+
/**
|
|
3615
|
+
* Currency of the amount.
|
|
3616
|
+
*/
|
|
3617
|
+
currency?: string;
|
|
3618
|
+
/**
|
|
3619
|
+
* Discount details for the rental.
|
|
3620
|
+
*/
|
|
3621
|
+
discounts?: Total.Discounts;
|
|
3622
|
+
/**
|
|
3623
|
+
* Additional charges for the rental.
|
|
3624
|
+
*/
|
|
3625
|
+
extra_charges?: Array<Total.ExtraCharge>;
|
|
3626
|
+
/**
|
|
3627
|
+
* Rate per unit for the rental.
|
|
3628
|
+
*/
|
|
3629
|
+
rate_per_unit?: number;
|
|
3630
|
+
/**
|
|
3631
|
+
* Unit of measurement for the rate.
|
|
3632
|
+
*/
|
|
3633
|
+
rate_unit?: Total.RateUnit;
|
|
3634
|
+
/**
|
|
3635
|
+
* Tax breakdown for the rental.
|
|
3636
|
+
*/
|
|
3637
|
+
tax?: Total.Tax;
|
|
3638
|
+
}
|
|
3639
|
+
interface Vehicle {
|
|
3640
|
+
/**
|
|
3641
|
+
* Make of the rental vehicle.
|
|
3642
|
+
*/
|
|
3643
|
+
make?: string;
|
|
3644
|
+
/**
|
|
3645
|
+
* Model of the rental vehicle.
|
|
3646
|
+
*/
|
|
3647
|
+
model?: string;
|
|
3648
|
+
/**
|
|
3649
|
+
* Odometer reading at the time of rental.
|
|
3650
|
+
*/
|
|
3651
|
+
odometer?: number;
|
|
3652
|
+
/**
|
|
3653
|
+
* Type of the rental vehicle.
|
|
3654
|
+
*/
|
|
3655
|
+
type?: Vehicle.Type;
|
|
3656
|
+
/**
|
|
3657
|
+
* Class of the rental vehicle.
|
|
3658
|
+
*/
|
|
3659
|
+
vehicle_class?: Vehicle.VehicleClass;
|
|
3660
|
+
/**
|
|
3661
|
+
* Vehicle identification number (VIN).
|
|
3662
|
+
*/
|
|
3663
|
+
vehicle_identification_number?: string;
|
|
3664
|
+
}
|
|
3665
|
+
namespace Distance {
|
|
3666
|
+
type Unit = 'kilometers' | 'miles' | OtherString;
|
|
3667
|
+
}
|
|
3668
|
+
namespace Driver {
|
|
3669
|
+
interface DateOfBirth {
|
|
3670
|
+
/**
|
|
3671
|
+
* Day of birth (1-31).
|
|
3672
|
+
*/
|
|
3673
|
+
day: number;
|
|
3674
|
+
/**
|
|
3675
|
+
* Month of birth (1-12).
|
|
3676
|
+
*/
|
|
3677
|
+
month: number;
|
|
3678
|
+
/**
|
|
3679
|
+
* Year of birth (must be greater than 1900).
|
|
3680
|
+
*/
|
|
3681
|
+
year: number;
|
|
3682
|
+
}
|
|
3683
|
+
}
|
|
3684
|
+
namespace DropOff {
|
|
3685
|
+
interface Address {
|
|
3686
|
+
/**
|
|
3687
|
+
* City, district, suburb, town, or village.
|
|
3688
|
+
*/
|
|
3689
|
+
city: string;
|
|
3690
|
+
/**
|
|
3691
|
+
* Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
3692
|
+
*/
|
|
3693
|
+
country: string;
|
|
3694
|
+
/**
|
|
3695
|
+
* Address line 1, such as the street, PO Box, or company name.
|
|
3696
|
+
*/
|
|
3697
|
+
line1: string;
|
|
3698
|
+
/**
|
|
3699
|
+
* Address line 2, such as the apartment, suite, unit, or building.
|
|
3700
|
+
*/
|
|
3701
|
+
line2?: string;
|
|
3702
|
+
/**
|
|
3703
|
+
* ZIP or postal code.
|
|
3704
|
+
*/
|
|
3705
|
+
postal_code: string;
|
|
3706
|
+
/**
|
|
3707
|
+
* State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
3708
|
+
*/
|
|
3709
|
+
state?: string;
|
|
3710
|
+
}
|
|
3711
|
+
}
|
|
3712
|
+
namespace Insurance {
|
|
3713
|
+
type InsuranceType = 'liability_supplement' | 'loss_damage_waiver' | 'other' | 'partial_damage_waiver' | 'personal_accident' | 'personal_effects' | OtherString;
|
|
3714
|
+
}
|
|
3715
|
+
namespace Pickup {
|
|
3716
|
+
interface Address {
|
|
3717
|
+
/**
|
|
3718
|
+
* City, district, suburb, town, or village.
|
|
3719
|
+
*/
|
|
3720
|
+
city: string;
|
|
3721
|
+
/**
|
|
3722
|
+
* Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
3723
|
+
*/
|
|
3724
|
+
country: string;
|
|
3725
|
+
/**
|
|
3726
|
+
* Address line 1, such as the street, PO Box, or company name.
|
|
3727
|
+
*/
|
|
3728
|
+
line1: string;
|
|
3729
|
+
/**
|
|
3730
|
+
* Address line 2, such as the apartment, suite, unit, or building.
|
|
3731
|
+
*/
|
|
3732
|
+
line2?: string;
|
|
3733
|
+
/**
|
|
3734
|
+
* ZIP or postal code.
|
|
3735
|
+
*/
|
|
3736
|
+
postal_code: string;
|
|
3737
|
+
/**
|
|
3738
|
+
* State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
3739
|
+
*/
|
|
3740
|
+
state?: string;
|
|
3741
|
+
}
|
|
3742
|
+
}
|
|
3743
|
+
namespace Total {
|
|
3744
|
+
interface Discounts {
|
|
3745
|
+
/**
|
|
3746
|
+
* Corporate client discount code.
|
|
3747
|
+
*/
|
|
3748
|
+
corporate_client_code?: string;
|
|
3749
|
+
/**
|
|
3750
|
+
* Coupon code applied to the rental.
|
|
3751
|
+
*/
|
|
3752
|
+
coupon?: string;
|
|
3753
|
+
/**
|
|
3754
|
+
* Maximum number of free miles or kilometers included.
|
|
3755
|
+
*/
|
|
3756
|
+
maximum_free_miles_or_kilometers?: number;
|
|
3757
|
+
}
|
|
3758
|
+
interface ExtraCharge {
|
|
3759
|
+
/**
|
|
3760
|
+
* Amount of the extra charge in cents.
|
|
3761
|
+
*/
|
|
3762
|
+
amount: number;
|
|
3763
|
+
/**
|
|
3764
|
+
* Type of extra charge.
|
|
3765
|
+
*/
|
|
3766
|
+
type: ExtraCharge.Type;
|
|
3767
|
+
}
|
|
3768
|
+
type RateUnit = 'days' | 'kilometers' | 'miles' | 'months' | 'weeks' | OtherString;
|
|
3769
|
+
interface Tax {
|
|
3770
|
+
/**
|
|
3771
|
+
* Indicates if the transaction is tax exempt.
|
|
3772
|
+
*/
|
|
3773
|
+
tax_exempt_indicator?: boolean;
|
|
3774
|
+
/**
|
|
3775
|
+
* Array of tax details.
|
|
3776
|
+
*/
|
|
3777
|
+
tax_items?: Array<Tax.TaxItem>;
|
|
3778
|
+
}
|
|
3779
|
+
namespace ExtraCharge {
|
|
3780
|
+
type Type = 'extra_mileage' | 'gas' | 'gps' | 'late_charge' | 'one_way_drop_off' | 'other' | 'parking' | 'phone' | 'regular_mileage' | 'towing' | OtherString;
|
|
3781
|
+
}
|
|
3782
|
+
namespace Tax {
|
|
3783
|
+
interface TaxItem {
|
|
3784
|
+
/**
|
|
3785
|
+
* Tax amount.
|
|
3786
|
+
*/
|
|
3787
|
+
amount?: number;
|
|
3788
|
+
/**
|
|
3789
|
+
* Tax rate applied.
|
|
3790
|
+
*/
|
|
3791
|
+
rate?: number;
|
|
3792
|
+
/**
|
|
3793
|
+
* Type of tax applied.
|
|
3794
|
+
*/
|
|
3795
|
+
type?: string;
|
|
3796
|
+
}
|
|
3797
|
+
}
|
|
3798
|
+
}
|
|
3799
|
+
namespace Vehicle {
|
|
3800
|
+
type Type = 'cargo_van' | 'compact' | 'economy' | 'exotic' | 'exotic_suv' | 'fifteen_passenger_van' | 'four_wheel_drive' | 'full_size' | 'intermediate' | 'large_suv' | 'large_truck' | 'luxury' | 'medium_suv' | 'midsize' | 'mini' | 'minivan' | 'miscellaneous' | 'moped' | 'moving_van' | 'premium' | 'regular' | 'small_medium_truck' | 'small_suv' | 'special' | 'standard' | 'stretch' | 'subcompact' | 'taxi' | 'twelve_foot_truck' | 'twelve_passenger_van' | 'twenty_foot_truck' | 'twenty_four_foot_truck' | 'twenty_six_foot_truck' | 'unique' | OtherString;
|
|
3801
|
+
type VehicleClass = 'business' | 'economy' | 'first_class' | 'premium_economy' | OtherString;
|
|
3802
|
+
}
|
|
3803
|
+
}
|
|
3804
|
+
namespace EventDetails {
|
|
3805
|
+
interface Affiliate {
|
|
3806
|
+
/**
|
|
3807
|
+
* The name of the affiliate that originated the purchase.
|
|
3808
|
+
*/
|
|
3809
|
+
name: string;
|
|
3810
|
+
}
|
|
3811
|
+
interface Delivery {
|
|
3812
|
+
/**
|
|
3813
|
+
* The delivery method for the payment
|
|
3814
|
+
*/
|
|
3815
|
+
mode?: Delivery.Mode;
|
|
3816
|
+
/**
|
|
3817
|
+
* Details of the recipient.
|
|
3818
|
+
*/
|
|
3819
|
+
recipient?: Delivery.Recipient;
|
|
3820
|
+
}
|
|
3821
|
+
namespace Delivery {
|
|
3822
|
+
type Mode = 'email' | 'phone' | 'pickup' | 'post' | OtherString;
|
|
3823
|
+
interface Recipient {
|
|
3824
|
+
/**
|
|
3825
|
+
* The email of the recipient the ticket is delivered to.
|
|
3826
|
+
*/
|
|
3827
|
+
email?: string;
|
|
3828
|
+
/**
|
|
3829
|
+
* The name of the recipient the ticket is delivered to.
|
|
3830
|
+
*/
|
|
3831
|
+
name?: string;
|
|
3832
|
+
/**
|
|
3833
|
+
* The phone number of the recipient the ticket is delivered to.
|
|
3834
|
+
*/
|
|
3835
|
+
phone?: string;
|
|
3836
|
+
}
|
|
3837
|
+
}
|
|
3838
|
+
}
|
|
3839
|
+
namespace FleetDatum {
|
|
3840
|
+
interface PrimaryFuelFields {
|
|
3841
|
+
/**
|
|
3842
|
+
* The fuel brand.
|
|
3843
|
+
*/
|
|
3844
|
+
brand?: PrimaryFuelFields.Brand;
|
|
3845
|
+
}
|
|
3846
|
+
interface Station {
|
|
3847
|
+
/**
|
|
3848
|
+
* Additional contact information for the station.
|
|
3849
|
+
*/
|
|
3850
|
+
additional_contact_info?: string;
|
|
3851
|
+
/**
|
|
3852
|
+
* The customer service phone number of the station.
|
|
3853
|
+
*/
|
|
3854
|
+
customer_service_phone_number?: string;
|
|
3855
|
+
/**
|
|
3856
|
+
* The partner ID code of the station.
|
|
3857
|
+
*/
|
|
3858
|
+
partner_id_code?: string;
|
|
3859
|
+
/**
|
|
3860
|
+
* The phone number of the station.
|
|
3861
|
+
*/
|
|
3862
|
+
phone_number?: string;
|
|
3863
|
+
/**
|
|
3864
|
+
* The physical location of the station.
|
|
3865
|
+
*/
|
|
3866
|
+
service_location?: ShippingAddressParam;
|
|
3867
|
+
/**
|
|
3868
|
+
* The URL of the station.
|
|
3869
|
+
*/
|
|
3870
|
+
url?: string;
|
|
3871
|
+
}
|
|
3872
|
+
interface Vat {
|
|
3873
|
+
/**
|
|
3874
|
+
* Indicates the merchant's agreement for Invoice on Behalf (IOB) VAT processing.
|
|
3875
|
+
*/
|
|
3876
|
+
iob_indicator: Vat.IobIndicator;
|
|
3877
|
+
}
|
|
3878
|
+
namespace PrimaryFuelFields {
|
|
3879
|
+
type Brand = 'aafes' | 'amerada_hess' | 'amoco_canada' | 'amoco_petroleum_products' | 'arco_products' | 'asda' | 'ashland_oil' | 'bfl' | 'bp_mobil' | 'bp_oil' | 'burrnah_major' | 'butler_arndale' | 'canadian_tire' | 'canadian_turbo' | 'caseys_general_store' | 'cenex' | 'chevron_canada' | 'chevron_usa' | 'circle_k_stores' | 'citgo_petroleum' | 'clark_brands' | 'conoco_canada' | 'conoco_inc' | 'crown_central_petroleum' | 'diamond_shamrock_inc' | 'discount_tire' | 'domo_gas' | 'elf' | 'erickson_oil' | 'esso' | 'esso_canada' | 'exxon' | 'exxonmobil' | 'family_express' | 'fas_gas_oil' | 'federated_coop_sonic' | 'fina' | 'fina_inc' | 'fkg_oil' | 'flare' | 'flying_j_inc' | 'gas_america' | 'gate_petroleum' | 'getty_petroleum' | 'giant_eagle' | 'grow_mark_inc' | 'gulf' | 'gulf_canada' | 'gulf_chevron' | 'handy_way_food' | 'heron' | 'holiday_stores' | 'home_depot' | 'husky' | 'hyvees' | 'irving' | 'irving_oil' | 'j_sainsbury' | 'jet_conoco' | 'krogers' | 'kuwait' | 'kwik_trip_inc' | 'lassus' | 'loves_country_stores' | 'mapco_express_inc' | 'marathon_oil' | 'martin_bailey_inc_dba_hucks' | 'maxol' | 'meineke' | 'mfa' | 'mohawk' | 'mr_gas' | 'murco' | 'murphy_oil_canada' | 'murphy_oil_usa_inc' | 'nexcom' | 'nordstrom_oil' | 'olco' | 'pdq_store' | 'pennzoil_products_inc' | 'petro' | 'petro_canada' | 'petro_t' | 'phillips' | 'pilot' | 'pioneer' | 'pure_oil' | 'quaker_state' | 'quarles_oil' | 'quiktrip' | 'racetrac_petroleum_inc' | 'raceway_petroleum' | 'repsol' | 'rudy' | 'safeway' | 'seven_eleven' | 'sheetz' | 'shell' | 'shell_canada' | 'shell_oil' | 'sinclair_oil' | 'southland_oil' | 'spar' | 'speedway' | 'sun_company_inc' | 'suncor_sunoco_canada' | 'tempo' | 'tesco' | 'tesoro_alaska' | 'texaco' | 'the_pantry_inc' | 'thornton_oil' | 'tosco' | 'total' | 'travel_centers_of_america' | 'uk' | 'ultramar_canada' | 'unbranded_or_unassigned' | 'unbranded_unassigned' | 'union_76' | 'united_dairy_farmer' | 'united_refining_kwikfill' | 'us_oil' | 'usa_petroleum' | 'valvoline' | 'vg' | 'w_morrison' | 'warren_equities' | 'wawa' | 'western_energetix' | 'wilco' | 'zions' | OtherString;
|
|
3880
|
+
}
|
|
3881
|
+
namespace Vat {
|
|
3882
|
+
type IobIndicator = 'issuer_to_iob' | 'issuer_to_iob_and_incremental_certification' | 'merchant_does_not_agree_to_iob' | OtherString;
|
|
3883
|
+
}
|
|
3884
|
+
}
|
|
3885
|
+
namespace Flight {
|
|
3886
|
+
interface Affiliate {
|
|
3887
|
+
/**
|
|
3888
|
+
* The name of the affiliate that originated the purchase.
|
|
3889
|
+
*/
|
|
3890
|
+
name: string;
|
|
3891
|
+
}
|
|
3892
|
+
interface Delivery {
|
|
3893
|
+
/**
|
|
3894
|
+
* The delivery method for the payment
|
|
3895
|
+
*/
|
|
3896
|
+
mode?: Delivery.Mode;
|
|
3897
|
+
/**
|
|
3898
|
+
* Details of the recipient.
|
|
3899
|
+
*/
|
|
3900
|
+
recipient?: Delivery.Recipient;
|
|
3901
|
+
}
|
|
3902
|
+
interface Passenger {
|
|
3903
|
+
/**
|
|
3904
|
+
* Full name of the person or entity on the flight reservation.
|
|
3905
|
+
*/
|
|
3906
|
+
name: string;
|
|
3907
|
+
}
|
|
3908
|
+
interface Segment {
|
|
3909
|
+
/**
|
|
3910
|
+
* The flight segment amount.
|
|
3911
|
+
*/
|
|
3912
|
+
amount?: number;
|
|
3913
|
+
/**
|
|
3914
|
+
* The International Air Transport Association (IATA) airport code for the arrival airport.
|
|
3915
|
+
*/
|
|
3916
|
+
arrival_airport?: string;
|
|
3917
|
+
/**
|
|
3918
|
+
* The arrival time for the flight segment. Measured in seconds since the Unix epoch.
|
|
3919
|
+
*/
|
|
3920
|
+
arrives_at?: number;
|
|
3921
|
+
/**
|
|
3922
|
+
* The International Air Transport Association (IATA) carrier code of the carrier operating the flight segment.
|
|
3923
|
+
*/
|
|
3924
|
+
carrier?: string;
|
|
3925
|
+
/**
|
|
3926
|
+
* The departure time for the flight segment. Measured in seconds since the Unix epoch.
|
|
3927
|
+
*/
|
|
3928
|
+
departs_at: number;
|
|
3929
|
+
/**
|
|
3930
|
+
* The International Air Transport Association (IATA) airport code for the departure airport.
|
|
3931
|
+
*/
|
|
3932
|
+
departure_airport?: string;
|
|
3933
|
+
/**
|
|
3934
|
+
* The flight number associated with the segment
|
|
3935
|
+
*/
|
|
3936
|
+
flight_number?: string;
|
|
3937
|
+
/**
|
|
3938
|
+
* The fare class for the segment.
|
|
3939
|
+
*/
|
|
3940
|
+
service_class?: Segment.ServiceClass;
|
|
3941
|
+
}
|
|
3942
|
+
namespace Delivery {
|
|
3943
|
+
type Mode = 'email' | 'phone' | 'pickup' | 'post' | OtherString;
|
|
3944
|
+
interface Recipient {
|
|
3945
|
+
/**
|
|
3946
|
+
* The email of the recipient the ticket is delivered to.
|
|
3947
|
+
*/
|
|
3948
|
+
email?: string;
|
|
3949
|
+
/**
|
|
3950
|
+
* The name of the recipient the ticket is delivered to.
|
|
3951
|
+
*/
|
|
3952
|
+
name?: string;
|
|
3953
|
+
/**
|
|
3954
|
+
* The phone number of the recipient the ticket is delivered to.
|
|
3955
|
+
*/
|
|
3956
|
+
phone?: string;
|
|
3957
|
+
}
|
|
3958
|
+
}
|
|
3959
|
+
namespace Segment {
|
|
3960
|
+
type ServiceClass = 'business' | 'economy' | 'first' | 'premium_economy' | OtherString;
|
|
3961
|
+
}
|
|
3962
|
+
}
|
|
3963
|
+
namespace FlightDatum {
|
|
3964
|
+
interface Affiliate {
|
|
3965
|
+
/**
|
|
3966
|
+
* Affiliate partner code.
|
|
3967
|
+
*/
|
|
3968
|
+
code?: string;
|
|
3969
|
+
/**
|
|
3970
|
+
* Name of affiliate partner.
|
|
3971
|
+
*/
|
|
3972
|
+
name?: string;
|
|
3973
|
+
/**
|
|
3974
|
+
* Code provided by the company to a travel agent authorizing ticket issuance.
|
|
3975
|
+
*/
|
|
3976
|
+
travel_authorization_code?: string;
|
|
3977
|
+
}
|
|
3978
|
+
interface Insurance {
|
|
3979
|
+
/**
|
|
3980
|
+
* Insurance cost.
|
|
3981
|
+
*/
|
|
3982
|
+
amount: number;
|
|
3983
|
+
/**
|
|
3984
|
+
* Insurance currency.
|
|
3985
|
+
*/
|
|
3986
|
+
currency?: string;
|
|
3987
|
+
/**
|
|
3988
|
+
* Insurance company name.
|
|
3989
|
+
*/
|
|
3990
|
+
insurance_company_name?: string;
|
|
3991
|
+
/**
|
|
3992
|
+
* Type of insurance.
|
|
3993
|
+
*/
|
|
3994
|
+
insurance_type: Insurance.InsuranceType;
|
|
3995
|
+
}
|
|
3996
|
+
interface Passenger {
|
|
3997
|
+
/**
|
|
3998
|
+
* Passenger's full name.
|
|
3999
|
+
*/
|
|
4000
|
+
name: string;
|
|
4001
|
+
}
|
|
4002
|
+
interface Segment {
|
|
4003
|
+
/**
|
|
4004
|
+
* Segment fare amount.
|
|
4005
|
+
*/
|
|
4006
|
+
amount?: number;
|
|
4007
|
+
/**
|
|
4008
|
+
* Arrival details.
|
|
4009
|
+
*/
|
|
4010
|
+
arrival: Segment.Arrival;
|
|
4011
|
+
/**
|
|
4012
|
+
* Airline carrier code.
|
|
4013
|
+
*/
|
|
4014
|
+
carrier_code: string;
|
|
4015
|
+
/**
|
|
4016
|
+
* Carrier name.
|
|
4017
|
+
*/
|
|
4018
|
+
carrier_name?: string;
|
|
4019
|
+
/**
|
|
4020
|
+
* Segment currency.
|
|
4021
|
+
*/
|
|
4022
|
+
currency?: string;
|
|
4023
|
+
/**
|
|
4024
|
+
* Departure details.
|
|
4025
|
+
*/
|
|
4026
|
+
departure: Segment.Departure;
|
|
4027
|
+
/**
|
|
4028
|
+
* Exchange ticket number.
|
|
4029
|
+
*/
|
|
4030
|
+
exchange_ticket_number?: string;
|
|
4031
|
+
/**
|
|
4032
|
+
* Fare basis code.
|
|
4033
|
+
*/
|
|
4034
|
+
fare_basis_code?: string;
|
|
4035
|
+
/**
|
|
4036
|
+
* Additional fees.
|
|
4037
|
+
*/
|
|
4038
|
+
fees?: number;
|
|
4039
|
+
/**
|
|
4040
|
+
* Flight number.
|
|
4041
|
+
*/
|
|
4042
|
+
flight_number?: string;
|
|
4043
|
+
/**
|
|
4044
|
+
* Stopover indicator.
|
|
4045
|
+
*/
|
|
4046
|
+
is_stop_over_indicator?: boolean;
|
|
4047
|
+
/**
|
|
4048
|
+
* Refundable ticket indicator.
|
|
4049
|
+
*/
|
|
4050
|
+
refundable?: boolean;
|
|
4051
|
+
/**
|
|
4052
|
+
* Class of service.
|
|
4053
|
+
*/
|
|
4054
|
+
service_class: Segment.ServiceClass;
|
|
4055
|
+
/**
|
|
4056
|
+
* Tax amount for segment.
|
|
4057
|
+
*/
|
|
4058
|
+
tax_amount?: number;
|
|
4059
|
+
/**
|
|
4060
|
+
* Ticket number.
|
|
4061
|
+
*/
|
|
4062
|
+
ticket_number?: string;
|
|
4063
|
+
}
|
|
4064
|
+
interface Total {
|
|
4065
|
+
/**
|
|
4066
|
+
* Total flight amount.
|
|
4067
|
+
*/
|
|
4068
|
+
amount: number;
|
|
4069
|
+
/**
|
|
4070
|
+
* Reason for credit.
|
|
4071
|
+
*/
|
|
4072
|
+
credit_reason?: Total.CreditReason;
|
|
4073
|
+
/**
|
|
4074
|
+
* Total currency.
|
|
4075
|
+
*/
|
|
4076
|
+
currency?: string;
|
|
4077
|
+
/**
|
|
4078
|
+
* Discount details.
|
|
4079
|
+
*/
|
|
4080
|
+
discounts?: Total.Discounts;
|
|
4081
|
+
/**
|
|
4082
|
+
* Additional charges.
|
|
4083
|
+
*/
|
|
4084
|
+
extra_charges?: Array<Total.ExtraCharge>;
|
|
4085
|
+
/**
|
|
4086
|
+
* Tax breakdown.
|
|
4087
|
+
*/
|
|
4088
|
+
tax?: Total.Tax;
|
|
4089
|
+
}
|
|
4090
|
+
type TransactionType = 'exchange_ticket' | 'miscellaneous' | 'refund' | 'ticket_purchase' | OtherString;
|
|
4091
|
+
namespace Insurance {
|
|
4092
|
+
type InsuranceType = 'baggage' | 'bankruptcy' | 'cancelation' | 'emergency' | 'medical' | OtherString;
|
|
4093
|
+
}
|
|
4094
|
+
namespace Segment {
|
|
4095
|
+
interface Arrival {
|
|
4096
|
+
/**
|
|
4097
|
+
* Arrival airport IATA code.
|
|
4098
|
+
*/
|
|
4099
|
+
airport: string;
|
|
4100
|
+
/**
|
|
4101
|
+
* Arrival date/time.
|
|
4102
|
+
*/
|
|
4103
|
+
arrives_at?: number;
|
|
4104
|
+
/**
|
|
4105
|
+
* Arrival city.
|
|
4106
|
+
*/
|
|
4107
|
+
city?: string;
|
|
4108
|
+
/**
|
|
4109
|
+
* Arrival country.
|
|
4110
|
+
*/
|
|
4111
|
+
country?: string;
|
|
4112
|
+
}
|
|
4113
|
+
interface Departure {
|
|
4114
|
+
/**
|
|
4115
|
+
* Departure airport IATA code.
|
|
4116
|
+
*/
|
|
4117
|
+
airport: string;
|
|
4118
|
+
/**
|
|
4119
|
+
* Departure city.
|
|
4120
|
+
*/
|
|
4121
|
+
city?: string;
|
|
4122
|
+
/**
|
|
4123
|
+
* Departure country.
|
|
4124
|
+
*/
|
|
4125
|
+
country?: string;
|
|
4126
|
+
/**
|
|
4127
|
+
* Departure date/time.
|
|
4128
|
+
*/
|
|
4129
|
+
departs_at: number;
|
|
4130
|
+
}
|
|
4131
|
+
type ServiceClass = 'business' | 'economy' | 'first_class' | 'premium_economy' | OtherString;
|
|
4132
|
+
}
|
|
4133
|
+
namespace Total {
|
|
4134
|
+
type CreditReason = 'other' | 'partial_ticket_refund' | 'passenger_transport_ancillary_cancellation' | 'ticket_and_ancillary_cancellation' | 'ticket_cancellation' | OtherString;
|
|
4135
|
+
interface Discounts {
|
|
4136
|
+
/**
|
|
4137
|
+
* Corporate client discount code.
|
|
4138
|
+
*/
|
|
4139
|
+
corporate_client_code?: string;
|
|
4140
|
+
}
|
|
4141
|
+
interface ExtraCharge {
|
|
4142
|
+
/**
|
|
4143
|
+
* Amount of additional charges.
|
|
4144
|
+
*/
|
|
4145
|
+
amount?: number;
|
|
4146
|
+
/**
|
|
4147
|
+
* Type of additional charges.
|
|
4148
|
+
*/
|
|
4149
|
+
type?: ExtraCharge.Type;
|
|
4150
|
+
}
|
|
4151
|
+
interface Tax {
|
|
4152
|
+
/**
|
|
4153
|
+
* Array of tax details.
|
|
4154
|
+
*/
|
|
4155
|
+
tax_items?: Array<Tax.TaxItem>;
|
|
4156
|
+
}
|
|
4157
|
+
namespace ExtraCharge {
|
|
4158
|
+
type Type = 'additional_fees' | 'ancillary_service_charges' | 'exchange_fee' | OtherString;
|
|
4159
|
+
}
|
|
4160
|
+
namespace Tax {
|
|
4161
|
+
interface TaxItem {
|
|
4162
|
+
/**
|
|
4163
|
+
* Tax amount.
|
|
4164
|
+
*/
|
|
4165
|
+
amount?: number;
|
|
4166
|
+
/**
|
|
4167
|
+
* Tax rate.
|
|
4168
|
+
*/
|
|
4169
|
+
rate?: number;
|
|
4170
|
+
/**
|
|
4171
|
+
* Type of tax.
|
|
4172
|
+
*/
|
|
4173
|
+
type?: string;
|
|
4174
|
+
}
|
|
4175
|
+
}
|
|
4176
|
+
}
|
|
4177
|
+
}
|
|
4178
|
+
namespace Lodging {
|
|
4179
|
+
interface Affiliate {
|
|
4180
|
+
/**
|
|
4181
|
+
* The name of the affiliate that originated the purchase.
|
|
4182
|
+
*/
|
|
4183
|
+
name: string;
|
|
4184
|
+
}
|
|
4185
|
+
type Category = 'hotel' | 'vacation_rental' | OtherString;
|
|
4186
|
+
interface Delivery {
|
|
4187
|
+
/**
|
|
4188
|
+
* The delivery method for the payment
|
|
4189
|
+
*/
|
|
4190
|
+
mode?: Delivery.Mode;
|
|
4191
|
+
/**
|
|
4192
|
+
* Details of the recipient.
|
|
4193
|
+
*/
|
|
4194
|
+
recipient?: Delivery.Recipient;
|
|
4195
|
+
}
|
|
4196
|
+
type ExtraCharge = 'gift_shop' | 'laundry' | 'mini_bar' | 'other' | 'restaurant' | 'telephone' | OtherString;
|
|
4197
|
+
interface Passenger {
|
|
4198
|
+
/**
|
|
4199
|
+
* Full name of the person or entity on the lodging reservation.
|
|
4200
|
+
*/
|
|
4201
|
+
name: string;
|
|
4202
|
+
}
|
|
4203
|
+
namespace Delivery {
|
|
4204
|
+
type Mode = 'email' | 'phone' | 'pickup' | 'post' | OtherString;
|
|
4205
|
+
interface Recipient {
|
|
4206
|
+
/**
|
|
4207
|
+
* The email of the recipient the ticket is delivered to.
|
|
4208
|
+
*/
|
|
4209
|
+
email?: string;
|
|
4210
|
+
/**
|
|
4211
|
+
* The name of the recipient the ticket is delivered to.
|
|
4212
|
+
*/
|
|
4213
|
+
name?: string;
|
|
4214
|
+
/**
|
|
4215
|
+
* The phone number of the recipient the ticket is delivered to.
|
|
4216
|
+
*/
|
|
4217
|
+
phone?: string;
|
|
4218
|
+
}
|
|
4219
|
+
}
|
|
4220
|
+
}
|
|
4221
|
+
namespace LodgingDatum {
|
|
4222
|
+
interface Accommodation {
|
|
4223
|
+
/**
|
|
4224
|
+
* Type of accommodation.
|
|
4225
|
+
*/
|
|
4226
|
+
accommodation_type?: Accommodation.AccommodationType;
|
|
4227
|
+
/**
|
|
4228
|
+
* Bed type.
|
|
4229
|
+
*/
|
|
4230
|
+
bed_type?: string;
|
|
4231
|
+
/**
|
|
4232
|
+
* Daily accommodation rate in cents.
|
|
4233
|
+
*/
|
|
4234
|
+
daily_rate_amount?: number;
|
|
4235
|
+
/**
|
|
4236
|
+
* Number of nights.
|
|
4237
|
+
*/
|
|
4238
|
+
nights?: number;
|
|
4239
|
+
/**
|
|
4240
|
+
* Number of rooms, cabanas, apartments, and so on.
|
|
4241
|
+
*/
|
|
4242
|
+
number_of_rooms?: number;
|
|
4243
|
+
/**
|
|
4244
|
+
* Rate type.
|
|
4245
|
+
*/
|
|
4246
|
+
rate_type?: string;
|
|
4247
|
+
/**
|
|
4248
|
+
* Whether smoking is allowed.
|
|
4249
|
+
*/
|
|
4250
|
+
smoking_indicator?: boolean;
|
|
4251
|
+
}
|
|
4252
|
+
interface Affiliate {
|
|
4253
|
+
/**
|
|
4254
|
+
* Affiliate partner code.
|
|
4255
|
+
*/
|
|
4256
|
+
code?: string;
|
|
4257
|
+
/**
|
|
4258
|
+
* Affiliate partner name.
|
|
4259
|
+
*/
|
|
4260
|
+
name?: string;
|
|
4261
|
+
}
|
|
4262
|
+
interface Guest {
|
|
4263
|
+
/**
|
|
4264
|
+
* Guest's full name.
|
|
4265
|
+
*/
|
|
4266
|
+
name: string;
|
|
4267
|
+
}
|
|
4268
|
+
interface Host {
|
|
4269
|
+
/**
|
|
4270
|
+
* Address of the host.
|
|
4271
|
+
*/
|
|
4272
|
+
address?: Host.Address;
|
|
4273
|
+
/**
|
|
4274
|
+
* Host's country of domicile.
|
|
4275
|
+
*/
|
|
4276
|
+
country_of_domicile?: string;
|
|
4277
|
+
/**
|
|
4278
|
+
* Reference number for the host.
|
|
4279
|
+
*/
|
|
4280
|
+
host_reference?: string;
|
|
4281
|
+
/**
|
|
4282
|
+
* Type of host.
|
|
4283
|
+
*/
|
|
4284
|
+
host_type?: Host.HostType;
|
|
4285
|
+
/**
|
|
4286
|
+
* Name of the lodging property or host.
|
|
4287
|
+
*/
|
|
4288
|
+
name?: string;
|
|
4289
|
+
/**
|
|
4290
|
+
* Total number of reservations for the host.
|
|
4291
|
+
*/
|
|
4292
|
+
number_of_reservations?: number;
|
|
4293
|
+
/**
|
|
4294
|
+
* Property phone number.
|
|
4295
|
+
*/
|
|
4296
|
+
property_phone_number?: string;
|
|
4297
|
+
/**
|
|
4298
|
+
* Host's registration date.
|
|
4299
|
+
*/
|
|
4300
|
+
registered_at?: number;
|
|
4301
|
+
}
|
|
4302
|
+
interface Insurance {
|
|
4303
|
+
/**
|
|
4304
|
+
* Price of the insurance coverage in cents.
|
|
4305
|
+
*/
|
|
4306
|
+
amount: number;
|
|
4307
|
+
/**
|
|
4308
|
+
* Currency of the insurance amount.
|
|
4309
|
+
*/
|
|
4310
|
+
currency?: string;
|
|
4311
|
+
/**
|
|
4312
|
+
* Name of the insurance company.
|
|
4313
|
+
*/
|
|
4314
|
+
insurance_company_name?: string;
|
|
4315
|
+
/**
|
|
4316
|
+
* Type of insurance coverage.
|
|
4317
|
+
*/
|
|
4318
|
+
insurance_type: Insurance.InsuranceType;
|
|
4319
|
+
}
|
|
4320
|
+
interface Total {
|
|
4321
|
+
/**
|
|
4322
|
+
* Total price of the lodging reservation in cents.
|
|
4323
|
+
*/
|
|
4324
|
+
amount: number;
|
|
4325
|
+
/**
|
|
4326
|
+
* Cash advances in cents.
|
|
4327
|
+
*/
|
|
4328
|
+
cash_advances?: number;
|
|
4329
|
+
/**
|
|
4330
|
+
* Currency of the total amount.
|
|
4331
|
+
*/
|
|
4332
|
+
currency?: string;
|
|
4333
|
+
/**
|
|
4334
|
+
* Discount details for the lodging.
|
|
4335
|
+
*/
|
|
4336
|
+
discounts?: Total.Discounts;
|
|
4337
|
+
/**
|
|
4338
|
+
* Additional charges for the lodging.
|
|
4339
|
+
*/
|
|
4340
|
+
extra_charges?: Array<Total.ExtraCharge>;
|
|
4341
|
+
/**
|
|
4342
|
+
* Prepaid amount in cents.
|
|
4343
|
+
*/
|
|
4344
|
+
prepaid_amount?: number;
|
|
4345
|
+
/**
|
|
4346
|
+
* Tax breakdown for the lodging reservation.
|
|
4347
|
+
*/
|
|
4348
|
+
tax?: Total.Tax;
|
|
4349
|
+
}
|
|
4350
|
+
namespace Accommodation {
|
|
4351
|
+
type AccommodationType = 'apartment' | 'cabana' | 'house' | 'penthouse' | 'room' | 'standard' | 'suite' | 'villa' | OtherString;
|
|
4352
|
+
}
|
|
4353
|
+
namespace Host {
|
|
4354
|
+
interface Address {
|
|
4355
|
+
/**
|
|
4356
|
+
* City, district, suburb, town, or village.
|
|
4357
|
+
*/
|
|
4358
|
+
city: string;
|
|
4359
|
+
/**
|
|
4360
|
+
* Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
4361
|
+
*/
|
|
4362
|
+
country: string;
|
|
4363
|
+
/**
|
|
4364
|
+
* Address line 1, such as the street, PO Box, or company name.
|
|
4365
|
+
*/
|
|
4366
|
+
line1: string;
|
|
4367
|
+
/**
|
|
4368
|
+
* Address line 2, such as the apartment, suite, unit, or building.
|
|
4369
|
+
*/
|
|
4370
|
+
line2?: string;
|
|
4371
|
+
/**
|
|
4372
|
+
* ZIP or postal code.
|
|
4373
|
+
*/
|
|
4374
|
+
postal_code: string;
|
|
4375
|
+
/**
|
|
4376
|
+
* State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
4377
|
+
*/
|
|
4378
|
+
state?: string;
|
|
4379
|
+
}
|
|
4380
|
+
type HostType = 'hostel' | 'hotel' | 'owner' | 'rental_agency' | OtherString;
|
|
4381
|
+
}
|
|
4382
|
+
namespace Insurance {
|
|
4383
|
+
type InsuranceType = 'bankruptcy' | 'cancelation' | 'emergency' | 'medical' | OtherString;
|
|
4384
|
+
}
|
|
4385
|
+
namespace Total {
|
|
4386
|
+
interface Discounts {
|
|
4387
|
+
/**
|
|
4388
|
+
* Corporate client discount code.
|
|
4389
|
+
*/
|
|
4390
|
+
corporate_client_code?: string;
|
|
4391
|
+
/**
|
|
4392
|
+
* Coupon code.
|
|
4393
|
+
*/
|
|
4394
|
+
coupon?: string;
|
|
4395
|
+
}
|
|
4396
|
+
interface ExtraCharge {
|
|
4397
|
+
/**
|
|
4398
|
+
* Amount of the extra charge in cents.
|
|
4399
|
+
*/
|
|
4400
|
+
amount?: number;
|
|
4401
|
+
/**
|
|
4402
|
+
* Type of extra charge.
|
|
4403
|
+
*/
|
|
4404
|
+
type?: ExtraCharge.Type;
|
|
4405
|
+
}
|
|
4406
|
+
interface Tax {
|
|
4407
|
+
/**
|
|
4408
|
+
* Indicates whether the transaction is tax exempt.
|
|
4409
|
+
*/
|
|
4410
|
+
tax_exempt_indicator?: boolean;
|
|
4411
|
+
/**
|
|
4412
|
+
* Tax details.
|
|
4413
|
+
*/
|
|
4414
|
+
tax_items?: Array<Tax.TaxItem>;
|
|
4415
|
+
}
|
|
4416
|
+
namespace ExtraCharge {
|
|
4417
|
+
type Type = 'gift_shop' | 'laundry' | 'mini_bar' | 'other' | 'phone' | 'restaurant' | OtherString;
|
|
4418
|
+
}
|
|
4419
|
+
namespace Tax {
|
|
4420
|
+
interface TaxItem {
|
|
4421
|
+
/**
|
|
4422
|
+
* Tax amount in cents.
|
|
4423
|
+
*/
|
|
4424
|
+
amount?: number;
|
|
4425
|
+
/**
|
|
4426
|
+
* Tax rate.
|
|
4427
|
+
*/
|
|
4428
|
+
rate?: number;
|
|
4429
|
+
/**
|
|
4430
|
+
* Type of tax applied.
|
|
4431
|
+
*/
|
|
4432
|
+
type?: string;
|
|
4433
|
+
}
|
|
4434
|
+
}
|
|
4435
|
+
}
|
|
4436
|
+
}
|
|
4437
|
+
namespace Subscription {
|
|
4438
|
+
interface Affiliate {
|
|
4439
|
+
/**
|
|
4440
|
+
* The name of the affiliate that originated the purchase.
|
|
4441
|
+
*/
|
|
4442
|
+
name: string;
|
|
4443
|
+
}
|
|
4444
|
+
interface BillingInterval {
|
|
4445
|
+
/**
|
|
4446
|
+
* The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
4447
|
+
*/
|
|
4448
|
+
count: number;
|
|
4449
|
+
/**
|
|
4450
|
+
* Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
4451
|
+
*/
|
|
4452
|
+
interval: BillingInterval.Interval;
|
|
4453
|
+
}
|
|
4454
|
+
namespace BillingInterval {
|
|
4455
|
+
type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
|
|
4456
|
+
}
|
|
4457
|
+
}
|
|
4458
|
+
}
|
|
4459
|
+
}
|
|
4460
|
+
export interface ChargeListParams extends PaginationParams {
|
|
4461
|
+
/**
|
|
4462
|
+
* Only return charges that were created during the given date interval.
|
|
4463
|
+
*/
|
|
4464
|
+
created?: RangeQueryParam | number;
|
|
4465
|
+
/**
|
|
4466
|
+
* Only return charges for the customer specified by this customer ID.
|
|
4467
|
+
*/
|
|
4468
|
+
customer?: string;
|
|
4469
|
+
/**
|
|
4470
|
+
* Specifies which fields in the response should be expanded.
|
|
4471
|
+
*/
|
|
4472
|
+
expand?: Array<string>;
|
|
4473
|
+
/**
|
|
4474
|
+
* Only return charges that were created by the PaymentIntent specified by this PaymentIntent ID.
|
|
4475
|
+
*/
|
|
4476
|
+
payment_intent?: string;
|
|
4477
|
+
/**
|
|
4478
|
+
* Only return charges for this transfer group, limited to 100.
|
|
4479
|
+
*/
|
|
4480
|
+
transfer_group?: string;
|
|
4481
|
+
}
|
|
4482
|
+
export interface ChargeCaptureParams {
|
|
4483
|
+
/**
|
|
4484
|
+
* The amount to capture, which must be less than or equal to the original amount.
|
|
4485
|
+
*/
|
|
4486
|
+
amount?: number;
|
|
4487
|
+
/**
|
|
4488
|
+
* An application fee to add on to this charge.
|
|
4489
|
+
*/
|
|
4490
|
+
application_fee?: number;
|
|
4491
|
+
/**
|
|
4492
|
+
* An application fee amount to add on to this charge, which must be less than or equal to the original amount.
|
|
4493
|
+
*/
|
|
4494
|
+
application_fee_amount?: number;
|
|
4495
|
+
/**
|
|
4496
|
+
* Specifies which fields in the response should be expanded.
|
|
4497
|
+
*/
|
|
4498
|
+
expand?: Array<string>;
|
|
4499
|
+
/**
|
|
4500
|
+
* Provides industry-specific information about the charge.
|
|
4501
|
+
*/
|
|
4502
|
+
payment_details?: ChargeCaptureParams.PaymentDetails;
|
|
4503
|
+
/**
|
|
4504
|
+
* The email address to send this charge's receipt to. This will override the previously-specified email address for this charge, if one was set. Receipts are only sent for payments in live mode.
|
|
4505
|
+
*/
|
|
4506
|
+
receipt_email?: string;
|
|
4507
|
+
/**
|
|
4508
|
+
* For a non-card charge, text that appears on the customer's statement as the statement descriptor. This value overrides the account's default statement descriptor. For information about requirements, including the 22-character limit, see [the Statement Descriptor docs](https://docs.stripe.com/get-started/account/statement-descriptors).
|
|
4509
|
+
*
|
|
4510
|
+
* For a card charge, this value is ignored unless you don't specify a `statement_descriptor_suffix`, in which case this value is used as the suffix.
|
|
4511
|
+
*/
|
|
4512
|
+
statement_descriptor?: string;
|
|
4513
|
+
/**
|
|
4514
|
+
* Provides information about a card charge. Concatenated to the account's [statement descriptor prefix](https://docs.stripe.com/get-started/account/statement-descriptors#static) to form the complete statement descriptor that appears on the customer's statement. If the account has no prefix value, the suffix is concatenated to the account's statement descriptor.
|
|
4515
|
+
*/
|
|
4516
|
+
statement_descriptor_suffix?: string;
|
|
4517
|
+
/**
|
|
4518
|
+
* An optional dictionary including the account to automatically transfer to as part of a destination charge. [See the Connect documentation](https://docs.stripe.com/connect/destination-charges) for details.
|
|
4519
|
+
*/
|
|
4520
|
+
transfer_data?: ChargeCaptureParams.TransferData;
|
|
4521
|
+
/**
|
|
4522
|
+
* A string that identifies this transaction as part of a group. `transfer_group` may only be provided if it has not been set. See the [Connect documentation](https://docs.stripe.com/connect/separate-charges-and-transfers#transfer-options) for details.
|
|
4523
|
+
*/
|
|
4524
|
+
transfer_group?: string;
|
|
4525
|
+
}
|
|
4526
|
+
export declare namespace ChargeCaptureParams {
|
|
4527
|
+
interface PaymentDetails {
|
|
4528
|
+
/**
|
|
4529
|
+
* Car rental details for this PaymentIntent.
|
|
4530
|
+
*/
|
|
4531
|
+
car_rental?: PaymentDetails.CarRental;
|
|
4532
|
+
/**
|
|
4533
|
+
* Car rental data for this PaymentIntent.
|
|
4534
|
+
*/
|
|
4535
|
+
car_rental_data?: Emptyable<Array<PaymentDetails.CarRentalDatum>>;
|
|
4536
|
+
/**
|
|
4537
|
+
* A unique value to identify the customer. This field is available only for card payments.
|
|
4538
|
+
*
|
|
4539
|
+
* This field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks.
|
|
4540
|
+
*/
|
|
4541
|
+
customer_reference?: Emptyable<string>;
|
|
4542
|
+
/**
|
|
4543
|
+
* Event details for this PaymentIntent
|
|
4544
|
+
*/
|
|
4545
|
+
event_details?: PaymentDetails.EventDetails;
|
|
4546
|
+
/**
|
|
4547
|
+
* Fleet data for this PaymentIntent.
|
|
4548
|
+
*/
|
|
4549
|
+
fleet_data?: Emptyable<Array<PaymentDetails.FleetDatum>>;
|
|
4550
|
+
/**
|
|
4551
|
+
* Flight reservation details for this PaymentIntent
|
|
4552
|
+
*/
|
|
4553
|
+
flight?: PaymentDetails.Flight;
|
|
4554
|
+
/**
|
|
4555
|
+
* Flight data for this PaymentIntent.
|
|
4556
|
+
*/
|
|
4557
|
+
flight_data?: Emptyable<Array<PaymentDetails.FlightDatum>>;
|
|
4558
|
+
/**
|
|
4559
|
+
* Lodging reservation details for this PaymentIntent
|
|
4560
|
+
*/
|
|
4561
|
+
lodging?: PaymentDetails.Lodging;
|
|
4562
|
+
/**
|
|
4563
|
+
* Lodging data for this PaymentIntent.
|
|
4564
|
+
*/
|
|
4565
|
+
lodging_data?: Emptyable<Array<PaymentDetails.LodgingDatum>>;
|
|
4566
|
+
/**
|
|
4567
|
+
* A unique value assigned by the business to identify the transaction. Required for L2 and L3 rates.
|
|
4568
|
+
*
|
|
4569
|
+
* For Cards, this field is truncated to 25 alphanumeric characters, excluding spaces, before being sent to card networks. For Klarna, this field is truncated to 255 characters and is visible to customers when they view the order in the Klarna app.
|
|
4570
|
+
*/
|
|
4571
|
+
order_reference?: Emptyable<string>;
|
|
4572
|
+
/**
|
|
4573
|
+
* Subscription details for this PaymentIntent
|
|
4574
|
+
*/
|
|
4575
|
+
subscription?: PaymentDetails.Subscription;
|
|
4576
|
+
}
|
|
4577
|
+
interface TransferData {
|
|
4578
|
+
/**
|
|
4579
|
+
* The amount transferred to the destination account, if specified. By default, the entire charge amount is transferred to the destination account.
|
|
4580
|
+
*/
|
|
4581
|
+
amount?: number;
|
|
4582
|
+
}
|
|
4583
|
+
namespace PaymentDetails {
|
|
4584
|
+
interface CarRental {
|
|
4585
|
+
/**
|
|
4586
|
+
* Affiliate details for this purchase.
|
|
4587
|
+
*/
|
|
4588
|
+
affiliate?: CarRental.Affiliate;
|
|
4589
|
+
/**
|
|
4590
|
+
* The booking number associated with the car rental.
|
|
4591
|
+
*/
|
|
4592
|
+
booking_number: string;
|
|
4593
|
+
/**
|
|
4594
|
+
* Class code of the car.
|
|
4595
|
+
*/
|
|
4596
|
+
car_class_code?: string;
|
|
4597
|
+
/**
|
|
4598
|
+
* Make of the car.
|
|
4599
|
+
*/
|
|
4600
|
+
car_make?: string;
|
|
4601
|
+
/**
|
|
4602
|
+
* Model of the car.
|
|
4603
|
+
*/
|
|
4604
|
+
car_model?: string;
|
|
4605
|
+
/**
|
|
4606
|
+
* The name of the rental car company.
|
|
4607
|
+
*/
|
|
4608
|
+
company?: string;
|
|
4609
|
+
/**
|
|
4610
|
+
* The customer service phone number of the car rental company.
|
|
4611
|
+
*/
|
|
4612
|
+
customer_service_phone_number?: string;
|
|
4613
|
+
/**
|
|
4614
|
+
* Number of days the car is being rented.
|
|
4615
|
+
*/
|
|
4616
|
+
days_rented: number;
|
|
4617
|
+
/**
|
|
4618
|
+
* Delivery details for this purchase.
|
|
4619
|
+
*/
|
|
4620
|
+
delivery?: CarRental.Delivery;
|
|
4621
|
+
/**
|
|
4622
|
+
* The details of the distance traveled during the rental period.
|
|
4623
|
+
*/
|
|
4624
|
+
distance?: CarRental.Distance;
|
|
4625
|
+
/**
|
|
4626
|
+
* The details of the passengers in the travel reservation
|
|
4627
|
+
*/
|
|
4628
|
+
drivers?: Array<CarRental.Driver>;
|
|
4629
|
+
/**
|
|
4630
|
+
* List of additional charges being billed.
|
|
4631
|
+
*/
|
|
4632
|
+
extra_charges?: Array<CarRental.ExtraCharge>;
|
|
4633
|
+
/**
|
|
4634
|
+
* Indicates if the customer did not keep nor cancel their booking.
|
|
4635
|
+
*/
|
|
4636
|
+
no_show?: boolean;
|
|
4637
|
+
/**
|
|
4638
|
+
* Car pick-up address.
|
|
4639
|
+
*/
|
|
4640
|
+
pickup_address?: AddressParam;
|
|
4641
|
+
/**
|
|
4642
|
+
* Car pick-up time. Measured in seconds since the Unix epoch.
|
|
4643
|
+
*/
|
|
4644
|
+
pickup_at: number;
|
|
4645
|
+
/**
|
|
4646
|
+
* Name of the pickup location.
|
|
4647
|
+
*/
|
|
4648
|
+
pickup_location_name?: string;
|
|
4649
|
+
/**
|
|
4650
|
+
* Rental rate.
|
|
4651
|
+
*/
|
|
4652
|
+
rate_amount?: number;
|
|
4653
|
+
/**
|
|
4654
|
+
* The frequency at which the rate amount is applied. One of `day`, `week` or `month`
|
|
4655
|
+
*/
|
|
4656
|
+
rate_interval?: CarRental.RateInterval;
|
|
4657
|
+
/**
|
|
4658
|
+
* The name of the person or entity renting the car.
|
|
4659
|
+
*/
|
|
4660
|
+
renter_name?: string;
|
|
4661
|
+
/**
|
|
4662
|
+
* Car return address.
|
|
4663
|
+
*/
|
|
4664
|
+
return_address?: AddressParam;
|
|
4665
|
+
/**
|
|
4666
|
+
* Car return time. Measured in seconds since the Unix epoch.
|
|
4667
|
+
*/
|
|
4668
|
+
return_at: number;
|
|
4669
|
+
/**
|
|
4670
|
+
* Name of the return location.
|
|
4671
|
+
*/
|
|
4672
|
+
return_location_name?: string;
|
|
4673
|
+
/**
|
|
4674
|
+
* Indicates whether the goods or services are tax-exempt or tax is not collected.
|
|
4675
|
+
*/
|
|
4676
|
+
tax_exempt?: boolean;
|
|
4677
|
+
/**
|
|
4678
|
+
* The vehicle identification number.
|
|
4679
|
+
*/
|
|
4680
|
+
vehicle_identification_number?: string;
|
|
4681
|
+
}
|
|
4682
|
+
interface CarRentalDatum {
|
|
4683
|
+
/**
|
|
4684
|
+
* Affiliate (such as travel agency) details for the rental.
|
|
4685
|
+
*/
|
|
4686
|
+
affiliate?: CarRentalDatum.Affiliate;
|
|
4687
|
+
/**
|
|
4688
|
+
* Booking confirmation number for the car rental.
|
|
4689
|
+
*/
|
|
4690
|
+
booking_number?: string;
|
|
4691
|
+
/**
|
|
4692
|
+
* Name of the car rental company.
|
|
4693
|
+
*/
|
|
4694
|
+
carrier_name?: string;
|
|
4695
|
+
/**
|
|
4696
|
+
* Customer service phone number for the car rental company.
|
|
4697
|
+
*/
|
|
4698
|
+
customer_service_phone_number?: string;
|
|
4699
|
+
/**
|
|
4700
|
+
* Number of days the car is being rented.
|
|
4701
|
+
*/
|
|
4702
|
+
days_rented?: number;
|
|
4703
|
+
/**
|
|
4704
|
+
* Distance details for the rental.
|
|
4705
|
+
*/
|
|
4706
|
+
distance?: CarRentalDatum.Distance;
|
|
4707
|
+
/**
|
|
4708
|
+
* List of drivers for the rental.
|
|
4709
|
+
*/
|
|
4710
|
+
drivers?: Array<CarRentalDatum.Driver>;
|
|
4711
|
+
/**
|
|
4712
|
+
* Drop-off location details.
|
|
4713
|
+
*/
|
|
4714
|
+
drop_off: CarRentalDatum.DropOff;
|
|
4715
|
+
/**
|
|
4716
|
+
* Insurance details for the rental.
|
|
4717
|
+
*/
|
|
4718
|
+
insurances?: Array<CarRentalDatum.Insurance>;
|
|
4719
|
+
/**
|
|
4720
|
+
* Indicates if the customer was a no-show.
|
|
4721
|
+
*/
|
|
4722
|
+
no_show_indicator?: boolean;
|
|
4723
|
+
/**
|
|
4724
|
+
* Pickup location details.
|
|
4725
|
+
*/
|
|
4726
|
+
pickup: CarRentalDatum.Pickup;
|
|
4727
|
+
/**
|
|
4728
|
+
* Name of the person renting the vehicle.
|
|
4729
|
+
*/
|
|
4730
|
+
renter_name?: string;
|
|
4731
|
+
/**
|
|
4732
|
+
* Total cost breakdown for the rental.
|
|
4733
|
+
*/
|
|
4734
|
+
total: CarRentalDatum.Total;
|
|
4735
|
+
/**
|
|
4736
|
+
* Vehicle details for the rental.
|
|
4737
|
+
*/
|
|
4738
|
+
vehicle?: CarRentalDatum.Vehicle;
|
|
4739
|
+
}
|
|
4740
|
+
interface EventDetails {
|
|
4741
|
+
/**
|
|
4742
|
+
* Indicates if the tickets are digitally checked when entering the venue.
|
|
4743
|
+
*/
|
|
4744
|
+
access_controlled_venue?: boolean;
|
|
4745
|
+
/**
|
|
4746
|
+
* The event location's address.
|
|
4747
|
+
*/
|
|
4748
|
+
address?: AddressParam;
|
|
4749
|
+
/**
|
|
4750
|
+
* Affiliate details for this purchase.
|
|
4751
|
+
*/
|
|
4752
|
+
affiliate?: EventDetails.Affiliate;
|
|
4753
|
+
/**
|
|
4754
|
+
* The name of the company
|
|
4755
|
+
*/
|
|
4756
|
+
company?: string;
|
|
4757
|
+
/**
|
|
4758
|
+
* Delivery details for this purchase.
|
|
4759
|
+
*/
|
|
4760
|
+
delivery?: EventDetails.Delivery;
|
|
4761
|
+
/**
|
|
4762
|
+
* Event end time. Measured in seconds since the Unix epoch.
|
|
4763
|
+
*/
|
|
4764
|
+
ends_at?: number;
|
|
4765
|
+
/**
|
|
4766
|
+
* Type of the event entertainment (concert, sports event etc)
|
|
4767
|
+
*/
|
|
4768
|
+
genre?: string;
|
|
4769
|
+
/**
|
|
4770
|
+
* The name of the event.
|
|
4771
|
+
*/
|
|
4772
|
+
name: string;
|
|
4773
|
+
/**
|
|
4774
|
+
* Event start time. Measured in seconds since the Unix epoch.
|
|
4775
|
+
*/
|
|
4776
|
+
starts_at?: number;
|
|
4777
|
+
}
|
|
4778
|
+
interface FleetDatum {
|
|
4779
|
+
/**
|
|
4780
|
+
* Primary fuel fields for the transaction.
|
|
4781
|
+
*/
|
|
4782
|
+
primary_fuel_fields?: FleetDatum.PrimaryFuelFields;
|
|
4783
|
+
/**
|
|
4784
|
+
* Station and acceptor location details.
|
|
4785
|
+
*/
|
|
4786
|
+
station?: FleetDatum.Station;
|
|
4787
|
+
/**
|
|
4788
|
+
* VAT and Invoice on Behalf (IOB) details.
|
|
4789
|
+
*/
|
|
4790
|
+
vat?: FleetDatum.Vat;
|
|
4791
|
+
}
|
|
4792
|
+
interface Flight {
|
|
4793
|
+
/**
|
|
4794
|
+
* Affiliate details for this purchase.
|
|
4795
|
+
*/
|
|
4796
|
+
affiliate?: Flight.Affiliate;
|
|
4797
|
+
/**
|
|
4798
|
+
* The agency number (i.e. International Air Transport Association (IATA) agency number) of the travel agency that made the booking.
|
|
4799
|
+
*/
|
|
4800
|
+
agency_number?: string;
|
|
4801
|
+
/**
|
|
4802
|
+
* The International Air Transport Association (IATA) carrier code of the carrier that issued the ticket.
|
|
4803
|
+
*/
|
|
4804
|
+
carrier?: string;
|
|
4805
|
+
/**
|
|
4806
|
+
* Delivery details for this purchase.
|
|
4807
|
+
*/
|
|
4808
|
+
delivery?: Flight.Delivery;
|
|
4809
|
+
/**
|
|
4810
|
+
* The name of the person or entity on the reservation.
|
|
4811
|
+
*/
|
|
4812
|
+
passenger_name?: string;
|
|
4813
|
+
/**
|
|
4814
|
+
* The details of the passengers in the travel reservation.
|
|
4815
|
+
*/
|
|
4816
|
+
passengers?: Array<Flight.Passenger>;
|
|
4817
|
+
/**
|
|
4818
|
+
* The individual flight segments associated with the trip.
|
|
4819
|
+
*/
|
|
4820
|
+
segments: Array<Flight.Segment>;
|
|
4821
|
+
/**
|
|
4822
|
+
* The ticket number associated with the travel reservation.
|
|
4823
|
+
*/
|
|
4824
|
+
ticket_number?: string;
|
|
4825
|
+
}
|
|
4826
|
+
interface FlightDatum {
|
|
4827
|
+
/**
|
|
4828
|
+
* Affiliate details if applicable.
|
|
4829
|
+
*/
|
|
4830
|
+
affiliate?: FlightDatum.Affiliate;
|
|
4831
|
+
/**
|
|
4832
|
+
* Reservation reference.
|
|
4833
|
+
*/
|
|
4834
|
+
booking_number?: string;
|
|
4835
|
+
/**
|
|
4836
|
+
* Computerized reservation system used to make the reservation and purchase the ticket.
|
|
4837
|
+
*/
|
|
4838
|
+
computerized_reservation_system?: string;
|
|
4839
|
+
/**
|
|
4840
|
+
* Ticket restrictions.
|
|
4841
|
+
*/
|
|
4842
|
+
endorsements_and_restrictions?: string;
|
|
4843
|
+
/**
|
|
4844
|
+
* List of insurances.
|
|
4845
|
+
*/
|
|
4846
|
+
insurances?: Array<FlightDatum.Insurance>;
|
|
4847
|
+
/**
|
|
4848
|
+
* List of passengers.
|
|
4849
|
+
*/
|
|
4850
|
+
passengers?: Array<FlightDatum.Passenger>;
|
|
4851
|
+
/**
|
|
4852
|
+
* List of flight segments.
|
|
4853
|
+
*/
|
|
4854
|
+
segments: Array<FlightDatum.Segment>;
|
|
4855
|
+
/**
|
|
4856
|
+
* Electronic ticket indicator.
|
|
4857
|
+
*/
|
|
4858
|
+
ticket_electronically_issued_indicator?: boolean;
|
|
4859
|
+
/**
|
|
4860
|
+
* Total cost breakdown.
|
|
4861
|
+
*/
|
|
4862
|
+
total: FlightDatum.Total;
|
|
4863
|
+
/**
|
|
4864
|
+
* Type of flight transaction.
|
|
4865
|
+
*/
|
|
4866
|
+
transaction_type?: FlightDatum.TransactionType;
|
|
4867
|
+
}
|
|
4868
|
+
interface Lodging {
|
|
4869
|
+
/**
|
|
4870
|
+
* The lodging location's address.
|
|
4871
|
+
*/
|
|
4872
|
+
address?: AddressParam;
|
|
4873
|
+
/**
|
|
4874
|
+
* The number of adults on the booking
|
|
4875
|
+
*/
|
|
4876
|
+
adults?: number;
|
|
4877
|
+
/**
|
|
4878
|
+
* Affiliate details for this purchase.
|
|
4879
|
+
*/
|
|
4880
|
+
affiliate?: Lodging.Affiliate;
|
|
4881
|
+
/**
|
|
4882
|
+
* The booking number associated with the lodging reservation.
|
|
4883
|
+
*/
|
|
4884
|
+
booking_number?: string;
|
|
4885
|
+
/**
|
|
4886
|
+
* The lodging category
|
|
4887
|
+
*/
|
|
4888
|
+
category?: Lodging.Category;
|
|
4889
|
+
/**
|
|
4890
|
+
* Lodging check-in time. Measured in seconds since the Unix epoch.
|
|
4891
|
+
*/
|
|
4892
|
+
checkin_at: number;
|
|
4893
|
+
/**
|
|
4894
|
+
* Lodging check-out time. Measured in seconds since the Unix epoch.
|
|
4895
|
+
*/
|
|
4896
|
+
checkout_at: number;
|
|
4897
|
+
/**
|
|
4898
|
+
* The customer service phone number of the lodging company.
|
|
4899
|
+
*/
|
|
4900
|
+
customer_service_phone_number?: string;
|
|
4901
|
+
/**
|
|
4902
|
+
* The daily lodging room rate.
|
|
4903
|
+
*/
|
|
4904
|
+
daily_room_rate_amount?: number;
|
|
4905
|
+
/**
|
|
4906
|
+
* Delivery details for this purchase.
|
|
4907
|
+
*/
|
|
4908
|
+
delivery?: Lodging.Delivery;
|
|
4909
|
+
/**
|
|
4910
|
+
* List of additional charges being billed.
|
|
4911
|
+
*/
|
|
4912
|
+
extra_charges?: Array<Lodging.ExtraCharge>;
|
|
4913
|
+
/**
|
|
4914
|
+
* Indicates whether the lodging location is compliant with the Fire Safety Act.
|
|
4915
|
+
*/
|
|
4916
|
+
fire_safety_act_compliance?: boolean;
|
|
4917
|
+
/**
|
|
4918
|
+
* The name of the lodging location.
|
|
4919
|
+
*/
|
|
4920
|
+
name?: string;
|
|
4921
|
+
/**
|
|
4922
|
+
* Indicates if the customer did not keep their booking while failing to cancel the reservation.
|
|
4923
|
+
*/
|
|
4924
|
+
no_show?: boolean;
|
|
4925
|
+
/**
|
|
4926
|
+
* The number of rooms on the booking
|
|
4927
|
+
*/
|
|
4928
|
+
number_of_rooms?: number;
|
|
4929
|
+
/**
|
|
4930
|
+
* The details of the passengers in the travel reservation
|
|
4931
|
+
*/
|
|
4932
|
+
passengers?: Array<Lodging.Passenger>;
|
|
4933
|
+
/**
|
|
4934
|
+
* The phone number of the lodging location.
|
|
4935
|
+
*/
|
|
4936
|
+
property_phone_number?: string;
|
|
4937
|
+
/**
|
|
4938
|
+
* The room class for this purchase.
|
|
4939
|
+
*/
|
|
4940
|
+
room_class?: string;
|
|
4941
|
+
/**
|
|
4942
|
+
* The number of room nights
|
|
4943
|
+
*/
|
|
4944
|
+
room_nights?: number;
|
|
4945
|
+
/**
|
|
4946
|
+
* The total tax amount associating with the room reservation.
|
|
4947
|
+
*/
|
|
4948
|
+
total_room_tax_amount?: number;
|
|
4949
|
+
/**
|
|
4950
|
+
* The total tax amount
|
|
4951
|
+
*/
|
|
4952
|
+
total_tax_amount?: number;
|
|
4953
|
+
}
|
|
4954
|
+
interface LodgingDatum {
|
|
4955
|
+
/**
|
|
4956
|
+
* Accommodation details for the lodging.
|
|
4957
|
+
*/
|
|
4958
|
+
accommodation?: LodgingDatum.Accommodation;
|
|
4959
|
+
/**
|
|
4960
|
+
* Affiliate details if applicable.
|
|
4961
|
+
*/
|
|
4962
|
+
affiliate?: LodgingDatum.Affiliate;
|
|
4963
|
+
/**
|
|
4964
|
+
* Booking confirmation number for the lodging.
|
|
4965
|
+
*/
|
|
4966
|
+
booking_number?: string;
|
|
4967
|
+
/**
|
|
4968
|
+
* Check-in date.
|
|
4969
|
+
*/
|
|
4970
|
+
checkin_at: number;
|
|
4971
|
+
/**
|
|
4972
|
+
* Check-out date.
|
|
4973
|
+
*/
|
|
4974
|
+
checkout_at: number;
|
|
4975
|
+
/**
|
|
4976
|
+
* Customer service phone number for the lodging company.
|
|
4977
|
+
*/
|
|
4978
|
+
customer_service_phone_number?: string;
|
|
4979
|
+
/**
|
|
4980
|
+
* Whether the lodging is compliant with any hotel fire safety regulations.
|
|
4981
|
+
*/
|
|
4982
|
+
fire_safety_act_compliance_indicator?: boolean;
|
|
4983
|
+
/**
|
|
4984
|
+
* List of guests for the lodging.
|
|
4985
|
+
*/
|
|
4986
|
+
guests?: Array<LodgingDatum.Guest>;
|
|
4987
|
+
/**
|
|
4988
|
+
* Host details for the lodging.
|
|
4989
|
+
*/
|
|
4990
|
+
host?: LodgingDatum.Host;
|
|
4991
|
+
/**
|
|
4992
|
+
* List of insurances for the lodging.
|
|
4993
|
+
*/
|
|
4994
|
+
insurances?: Array<LodgingDatum.Insurance>;
|
|
4995
|
+
/**
|
|
4996
|
+
* Whether the renter is a no-show.
|
|
4997
|
+
*/
|
|
4998
|
+
no_show_indicator?: boolean;
|
|
4999
|
+
/**
|
|
5000
|
+
* Renter ID number for the lodging.
|
|
5001
|
+
*/
|
|
5002
|
+
renter_id_number?: string;
|
|
5003
|
+
/**
|
|
5004
|
+
* Renter name for the lodging.
|
|
5005
|
+
*/
|
|
5006
|
+
renter_name?: string;
|
|
5007
|
+
/**
|
|
5008
|
+
* Total details for the lodging.
|
|
5009
|
+
*/
|
|
5010
|
+
total: LodgingDatum.Total;
|
|
5011
|
+
}
|
|
5012
|
+
interface Subscription {
|
|
5013
|
+
/**
|
|
5014
|
+
* Affiliate details for this purchase.
|
|
5015
|
+
*/
|
|
5016
|
+
affiliate?: Subscription.Affiliate;
|
|
5017
|
+
/**
|
|
5018
|
+
* Info whether the subscription will be auto renewed upon expiry.
|
|
5019
|
+
*/
|
|
5020
|
+
auto_renewal?: boolean;
|
|
5021
|
+
/**
|
|
5022
|
+
* Subscription billing details for this purchase.
|
|
5023
|
+
*/
|
|
5024
|
+
billing_interval?: Subscription.BillingInterval;
|
|
5025
|
+
/**
|
|
5026
|
+
* Subscription end time. Measured in seconds since the Unix epoch.
|
|
5027
|
+
*/
|
|
5028
|
+
ends_at?: number;
|
|
5029
|
+
/**
|
|
5030
|
+
* Name of the product on subscription. e.g. Apple Music Subscription
|
|
5031
|
+
*/
|
|
5032
|
+
name: string;
|
|
5033
|
+
/**
|
|
5034
|
+
* Subscription start time. Measured in seconds since the Unix epoch.
|
|
5035
|
+
*/
|
|
5036
|
+
starts_at?: number;
|
|
5037
|
+
}
|
|
5038
|
+
namespace CarRental {
|
|
5039
|
+
interface Affiliate {
|
|
5040
|
+
/**
|
|
5041
|
+
* The name of the affiliate that originated the purchase.
|
|
5042
|
+
*/
|
|
5043
|
+
name: string;
|
|
5044
|
+
}
|
|
5045
|
+
interface Delivery {
|
|
5046
|
+
/**
|
|
5047
|
+
* The delivery method for the payment
|
|
5048
|
+
*/
|
|
5049
|
+
mode?: Delivery.Mode;
|
|
5050
|
+
/**
|
|
5051
|
+
* Details of the recipient.
|
|
5052
|
+
*/
|
|
5053
|
+
recipient?: Delivery.Recipient;
|
|
5054
|
+
}
|
|
5055
|
+
interface Distance {
|
|
5056
|
+
/**
|
|
5057
|
+
* Distance traveled.
|
|
5058
|
+
*/
|
|
5059
|
+
amount?: number;
|
|
5060
|
+
/**
|
|
5061
|
+
* Unit of measurement for the distance traveled. One of `miles` or `kilometers`.
|
|
5062
|
+
*/
|
|
5063
|
+
unit?: Distance.Unit;
|
|
5064
|
+
}
|
|
5065
|
+
interface Driver {
|
|
5066
|
+
/**
|
|
5067
|
+
* Driver's identification number.
|
|
5068
|
+
*/
|
|
5069
|
+
driver_identification_number?: string;
|
|
5070
|
+
/**
|
|
5071
|
+
* Driver's tax number.
|
|
5072
|
+
*/
|
|
5073
|
+
driver_tax_number?: string;
|
|
5074
|
+
/**
|
|
5075
|
+
* Full name of the person or entity on the car reservation.
|
|
5076
|
+
*/
|
|
5077
|
+
name: string;
|
|
5078
|
+
}
|
|
5079
|
+
type ExtraCharge = 'extra_mileage' | 'gas' | 'late_return' | 'one_way_service' | 'parking_violation' | OtherString;
|
|
5080
|
+
type RateInterval = 'day' | 'month' | 'week' | OtherString;
|
|
5081
|
+
namespace Delivery {
|
|
5082
|
+
type Mode = 'email' | 'phone' | 'pickup' | 'post' | OtherString;
|
|
5083
|
+
interface Recipient {
|
|
5084
|
+
/**
|
|
5085
|
+
* The email of the recipient the ticket is delivered to.
|
|
5086
|
+
*/
|
|
5087
|
+
email?: string;
|
|
5088
|
+
/**
|
|
5089
|
+
* The name of the recipient the ticket is delivered to.
|
|
5090
|
+
*/
|
|
5091
|
+
name?: string;
|
|
5092
|
+
/**
|
|
5093
|
+
* The phone number of the recipient the ticket is delivered to.
|
|
5094
|
+
*/
|
|
5095
|
+
phone?: string;
|
|
5096
|
+
}
|
|
5097
|
+
}
|
|
5098
|
+
namespace Distance {
|
|
5099
|
+
type Unit = 'kilometers' | 'miles' | OtherString;
|
|
5100
|
+
}
|
|
5101
|
+
}
|
|
5102
|
+
namespace CarRentalDatum {
|
|
5103
|
+
interface Affiliate {
|
|
5104
|
+
/**
|
|
5105
|
+
* Affiliate partner code.
|
|
5106
|
+
*/
|
|
5107
|
+
code?: string;
|
|
5108
|
+
/**
|
|
5109
|
+
* Name of affiliate partner.
|
|
5110
|
+
*/
|
|
5111
|
+
name?: string;
|
|
5112
|
+
}
|
|
5113
|
+
interface Distance {
|
|
5114
|
+
/**
|
|
5115
|
+
* Distance traveled.
|
|
5116
|
+
*/
|
|
5117
|
+
amount: number;
|
|
5118
|
+
/**
|
|
5119
|
+
* Unit of measurement for the distance traveled. One of `miles` or `kilometers`.
|
|
5120
|
+
*/
|
|
5121
|
+
unit: Distance.Unit;
|
|
5122
|
+
}
|
|
5123
|
+
interface Driver {
|
|
5124
|
+
/**
|
|
5125
|
+
* Driver's date of birth.
|
|
5126
|
+
*/
|
|
5127
|
+
date_of_birth?: Driver.DateOfBirth;
|
|
5128
|
+
/**
|
|
5129
|
+
* Driver's identification number.
|
|
5130
|
+
*/
|
|
5131
|
+
driver_identification_number?: string;
|
|
5132
|
+
/**
|
|
5133
|
+
* Driver's tax number.
|
|
5134
|
+
*/
|
|
5135
|
+
driver_tax_number?: string;
|
|
5136
|
+
/**
|
|
5137
|
+
* Driver's full name.
|
|
5138
|
+
*/
|
|
5139
|
+
name: string;
|
|
5140
|
+
}
|
|
5141
|
+
interface DropOff {
|
|
5142
|
+
/**
|
|
5143
|
+
* Address of the rental location.
|
|
5144
|
+
*/
|
|
5145
|
+
address: DropOff.Address;
|
|
5146
|
+
/**
|
|
5147
|
+
* Location name.
|
|
5148
|
+
*/
|
|
5149
|
+
location_name?: string;
|
|
5150
|
+
/**
|
|
5151
|
+
* Timestamp for the location.
|
|
5152
|
+
*/
|
|
5153
|
+
time: number;
|
|
5154
|
+
}
|
|
5155
|
+
interface Insurance {
|
|
5156
|
+
/**
|
|
5157
|
+
* Amount of the insurance coverage in cents.
|
|
5158
|
+
*/
|
|
5159
|
+
amount: number;
|
|
5160
|
+
/**
|
|
5161
|
+
* Currency of the insurance amount.
|
|
5162
|
+
*/
|
|
5163
|
+
currency?: string;
|
|
5164
|
+
/**
|
|
5165
|
+
* Name of the insurance company.
|
|
5166
|
+
*/
|
|
5167
|
+
insurance_company_name?: string;
|
|
5168
|
+
/**
|
|
5169
|
+
* Type of insurance coverage.
|
|
5170
|
+
*/
|
|
5171
|
+
insurance_type: Insurance.InsuranceType;
|
|
5172
|
+
}
|
|
5173
|
+
interface Pickup {
|
|
5174
|
+
/**
|
|
5175
|
+
* Address of the rental location.
|
|
5176
|
+
*/
|
|
5177
|
+
address: Pickup.Address;
|
|
5178
|
+
/**
|
|
5179
|
+
* Location name.
|
|
5180
|
+
*/
|
|
5181
|
+
location_name?: string;
|
|
5182
|
+
/**
|
|
5183
|
+
* Timestamp for the location.
|
|
5184
|
+
*/
|
|
5185
|
+
time: number;
|
|
5186
|
+
}
|
|
5187
|
+
interface Total {
|
|
5188
|
+
/**
|
|
5189
|
+
* Total amount in cents.
|
|
5190
|
+
*/
|
|
5191
|
+
amount: number;
|
|
5192
|
+
/**
|
|
5193
|
+
* Currency of the amount.
|
|
5194
|
+
*/
|
|
5195
|
+
currency?: string;
|
|
5196
|
+
/**
|
|
5197
|
+
* Discount details for the rental.
|
|
5198
|
+
*/
|
|
5199
|
+
discounts?: Total.Discounts;
|
|
5200
|
+
/**
|
|
5201
|
+
* Additional charges for the rental.
|
|
5202
|
+
*/
|
|
5203
|
+
extra_charges?: Array<Total.ExtraCharge>;
|
|
5204
|
+
/**
|
|
5205
|
+
* Rate per unit for the rental.
|
|
5206
|
+
*/
|
|
5207
|
+
rate_per_unit?: number;
|
|
5208
|
+
/**
|
|
5209
|
+
* Unit of measurement for the rate.
|
|
5210
|
+
*/
|
|
5211
|
+
rate_unit?: Total.RateUnit;
|
|
5212
|
+
/**
|
|
5213
|
+
* Tax breakdown for the rental.
|
|
5214
|
+
*/
|
|
5215
|
+
tax?: Total.Tax;
|
|
5216
|
+
}
|
|
5217
|
+
interface Vehicle {
|
|
5218
|
+
/**
|
|
5219
|
+
* Make of the rental vehicle.
|
|
5220
|
+
*/
|
|
5221
|
+
make?: string;
|
|
5222
|
+
/**
|
|
5223
|
+
* Model of the rental vehicle.
|
|
5224
|
+
*/
|
|
5225
|
+
model?: string;
|
|
5226
|
+
/**
|
|
5227
|
+
* Odometer reading at the time of rental.
|
|
5228
|
+
*/
|
|
5229
|
+
odometer?: number;
|
|
5230
|
+
/**
|
|
5231
|
+
* Type of the rental vehicle.
|
|
5232
|
+
*/
|
|
5233
|
+
type?: Vehicle.Type;
|
|
5234
|
+
/**
|
|
5235
|
+
* Class of the rental vehicle.
|
|
5236
|
+
*/
|
|
5237
|
+
vehicle_class?: Vehicle.VehicleClass;
|
|
5238
|
+
/**
|
|
5239
|
+
* Vehicle identification number (VIN).
|
|
5240
|
+
*/
|
|
5241
|
+
vehicle_identification_number?: string;
|
|
5242
|
+
}
|
|
5243
|
+
namespace Distance {
|
|
5244
|
+
type Unit = 'kilometers' | 'miles' | OtherString;
|
|
5245
|
+
}
|
|
5246
|
+
namespace Driver {
|
|
5247
|
+
interface DateOfBirth {
|
|
5248
|
+
/**
|
|
5249
|
+
* Day of birth (1-31).
|
|
5250
|
+
*/
|
|
5251
|
+
day: number;
|
|
5252
|
+
/**
|
|
5253
|
+
* Month of birth (1-12).
|
|
5254
|
+
*/
|
|
5255
|
+
month: number;
|
|
5256
|
+
/**
|
|
5257
|
+
* Year of birth (must be greater than 1900).
|
|
5258
|
+
*/
|
|
5259
|
+
year: number;
|
|
5260
|
+
}
|
|
5261
|
+
}
|
|
5262
|
+
namespace DropOff {
|
|
5263
|
+
interface Address {
|
|
5264
|
+
/**
|
|
5265
|
+
* City, district, suburb, town, or village.
|
|
5266
|
+
*/
|
|
5267
|
+
city: string;
|
|
5268
|
+
/**
|
|
5269
|
+
* Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
5270
|
+
*/
|
|
5271
|
+
country: string;
|
|
5272
|
+
/**
|
|
5273
|
+
* Address line 1, such as the street, PO Box, or company name.
|
|
5274
|
+
*/
|
|
5275
|
+
line1: string;
|
|
5276
|
+
/**
|
|
5277
|
+
* Address line 2, such as the apartment, suite, unit, or building.
|
|
5278
|
+
*/
|
|
5279
|
+
line2?: string;
|
|
5280
|
+
/**
|
|
5281
|
+
* ZIP or postal code.
|
|
5282
|
+
*/
|
|
5283
|
+
postal_code: string;
|
|
5284
|
+
/**
|
|
5285
|
+
* State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
5286
|
+
*/
|
|
5287
|
+
state?: string;
|
|
5288
|
+
}
|
|
5289
|
+
}
|
|
5290
|
+
namespace Insurance {
|
|
5291
|
+
type InsuranceType = 'liability_supplement' | 'loss_damage_waiver' | 'other' | 'partial_damage_waiver' | 'personal_accident' | 'personal_effects' | OtherString;
|
|
5292
|
+
}
|
|
5293
|
+
namespace Pickup {
|
|
5294
|
+
interface Address {
|
|
5295
|
+
/**
|
|
5296
|
+
* City, district, suburb, town, or village.
|
|
5297
|
+
*/
|
|
5298
|
+
city: string;
|
|
5299
|
+
/**
|
|
5300
|
+
* Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
5301
|
+
*/
|
|
5302
|
+
country: string;
|
|
5303
|
+
/**
|
|
5304
|
+
* Address line 1, such as the street, PO Box, or company name.
|
|
5305
|
+
*/
|
|
5306
|
+
line1: string;
|
|
5307
|
+
/**
|
|
5308
|
+
* Address line 2, such as the apartment, suite, unit, or building.
|
|
5309
|
+
*/
|
|
5310
|
+
line2?: string;
|
|
5311
|
+
/**
|
|
5312
|
+
* ZIP or postal code.
|
|
5313
|
+
*/
|
|
5314
|
+
postal_code: string;
|
|
5315
|
+
/**
|
|
5316
|
+
* State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
5317
|
+
*/
|
|
5318
|
+
state?: string;
|
|
5319
|
+
}
|
|
5320
|
+
}
|
|
5321
|
+
namespace Total {
|
|
5322
|
+
interface Discounts {
|
|
5323
|
+
/**
|
|
5324
|
+
* Corporate client discount code.
|
|
5325
|
+
*/
|
|
5326
|
+
corporate_client_code?: string;
|
|
5327
|
+
/**
|
|
5328
|
+
* Coupon code applied to the rental.
|
|
5329
|
+
*/
|
|
5330
|
+
coupon?: string;
|
|
5331
|
+
/**
|
|
5332
|
+
* Maximum number of free miles or kilometers included.
|
|
5333
|
+
*/
|
|
5334
|
+
maximum_free_miles_or_kilometers?: number;
|
|
5335
|
+
}
|
|
5336
|
+
interface ExtraCharge {
|
|
5337
|
+
/**
|
|
5338
|
+
* Amount of the extra charge in cents.
|
|
5339
|
+
*/
|
|
5340
|
+
amount: number;
|
|
5341
|
+
/**
|
|
5342
|
+
* Type of extra charge.
|
|
5343
|
+
*/
|
|
5344
|
+
type: ExtraCharge.Type;
|
|
5345
|
+
}
|
|
5346
|
+
type RateUnit = 'days' | 'kilometers' | 'miles' | 'months' | 'weeks' | OtherString;
|
|
5347
|
+
interface Tax {
|
|
5348
|
+
/**
|
|
5349
|
+
* Indicates if the transaction is tax exempt.
|
|
5350
|
+
*/
|
|
5351
|
+
tax_exempt_indicator?: boolean;
|
|
5352
|
+
/**
|
|
5353
|
+
* Array of tax details.
|
|
5354
|
+
*/
|
|
5355
|
+
tax_items?: Array<Tax.TaxItem>;
|
|
5356
|
+
}
|
|
5357
|
+
namespace ExtraCharge {
|
|
5358
|
+
type Type = 'extra_mileage' | 'gas' | 'gps' | 'late_charge' | 'one_way_drop_off' | 'other' | 'parking' | 'phone' | 'regular_mileage' | 'towing' | OtherString;
|
|
5359
|
+
}
|
|
5360
|
+
namespace Tax {
|
|
5361
|
+
interface TaxItem {
|
|
5362
|
+
/**
|
|
5363
|
+
* Tax amount.
|
|
5364
|
+
*/
|
|
5365
|
+
amount?: number;
|
|
5366
|
+
/**
|
|
5367
|
+
* Tax rate applied.
|
|
5368
|
+
*/
|
|
5369
|
+
rate?: number;
|
|
5370
|
+
/**
|
|
5371
|
+
* Type of tax applied.
|
|
5372
|
+
*/
|
|
5373
|
+
type?: string;
|
|
5374
|
+
}
|
|
5375
|
+
}
|
|
5376
|
+
}
|
|
5377
|
+
namespace Vehicle {
|
|
5378
|
+
type Type = 'cargo_van' | 'compact' | 'economy' | 'exotic' | 'exotic_suv' | 'fifteen_passenger_van' | 'four_wheel_drive' | 'full_size' | 'intermediate' | 'large_suv' | 'large_truck' | 'luxury' | 'medium_suv' | 'midsize' | 'mini' | 'minivan' | 'miscellaneous' | 'moped' | 'moving_van' | 'premium' | 'regular' | 'small_medium_truck' | 'small_suv' | 'special' | 'standard' | 'stretch' | 'subcompact' | 'taxi' | 'twelve_foot_truck' | 'twelve_passenger_van' | 'twenty_foot_truck' | 'twenty_four_foot_truck' | 'twenty_six_foot_truck' | 'unique' | OtherString;
|
|
5379
|
+
type VehicleClass = 'business' | 'economy' | 'first_class' | 'premium_economy' | OtherString;
|
|
5380
|
+
}
|
|
5381
|
+
}
|
|
5382
|
+
namespace EventDetails {
|
|
5383
|
+
interface Affiliate {
|
|
5384
|
+
/**
|
|
5385
|
+
* The name of the affiliate that originated the purchase.
|
|
5386
|
+
*/
|
|
5387
|
+
name: string;
|
|
5388
|
+
}
|
|
5389
|
+
interface Delivery {
|
|
5390
|
+
/**
|
|
5391
|
+
* The delivery method for the payment
|
|
5392
|
+
*/
|
|
5393
|
+
mode?: Delivery.Mode;
|
|
5394
|
+
/**
|
|
5395
|
+
* Details of the recipient.
|
|
5396
|
+
*/
|
|
5397
|
+
recipient?: Delivery.Recipient;
|
|
5398
|
+
}
|
|
5399
|
+
namespace Delivery {
|
|
5400
|
+
type Mode = 'email' | 'phone' | 'pickup' | 'post' | OtherString;
|
|
5401
|
+
interface Recipient {
|
|
5402
|
+
/**
|
|
5403
|
+
* The email of the recipient the ticket is delivered to.
|
|
5404
|
+
*/
|
|
5405
|
+
email?: string;
|
|
5406
|
+
/**
|
|
5407
|
+
* The name of the recipient the ticket is delivered to.
|
|
5408
|
+
*/
|
|
5409
|
+
name?: string;
|
|
5410
|
+
/**
|
|
5411
|
+
* The phone number of the recipient the ticket is delivered to.
|
|
5412
|
+
*/
|
|
5413
|
+
phone?: string;
|
|
5414
|
+
}
|
|
5415
|
+
}
|
|
5416
|
+
}
|
|
5417
|
+
namespace FleetDatum {
|
|
5418
|
+
interface PrimaryFuelFields {
|
|
5419
|
+
/**
|
|
5420
|
+
* The fuel brand.
|
|
5421
|
+
*/
|
|
5422
|
+
brand?: PrimaryFuelFields.Brand;
|
|
5423
|
+
}
|
|
5424
|
+
interface Station {
|
|
5425
|
+
/**
|
|
5426
|
+
* Additional contact information for the station.
|
|
5427
|
+
*/
|
|
5428
|
+
additional_contact_info?: string;
|
|
5429
|
+
/**
|
|
5430
|
+
* The customer service phone number of the station.
|
|
5431
|
+
*/
|
|
5432
|
+
customer_service_phone_number?: string;
|
|
5433
|
+
/**
|
|
5434
|
+
* The partner ID code of the station.
|
|
5435
|
+
*/
|
|
5436
|
+
partner_id_code?: string;
|
|
5437
|
+
/**
|
|
5438
|
+
* The phone number of the station.
|
|
5439
|
+
*/
|
|
5440
|
+
phone_number?: string;
|
|
5441
|
+
/**
|
|
5442
|
+
* The physical location of the station.
|
|
5443
|
+
*/
|
|
5444
|
+
service_location?: ShippingAddressParam;
|
|
5445
|
+
/**
|
|
5446
|
+
* The URL of the station.
|
|
5447
|
+
*/
|
|
5448
|
+
url?: string;
|
|
5449
|
+
}
|
|
5450
|
+
interface Vat {
|
|
5451
|
+
/**
|
|
5452
|
+
* Indicates the merchant's agreement for Invoice on Behalf (IOB) VAT processing.
|
|
5453
|
+
*/
|
|
5454
|
+
iob_indicator: Vat.IobIndicator;
|
|
5455
|
+
}
|
|
5456
|
+
namespace PrimaryFuelFields {
|
|
5457
|
+
type Brand = 'aafes' | 'amerada_hess' | 'amoco_canada' | 'amoco_petroleum_products' | 'arco_products' | 'asda' | 'ashland_oil' | 'bfl' | 'bp_mobil' | 'bp_oil' | 'burrnah_major' | 'butler_arndale' | 'canadian_tire' | 'canadian_turbo' | 'caseys_general_store' | 'cenex' | 'chevron_canada' | 'chevron_usa' | 'circle_k_stores' | 'citgo_petroleum' | 'clark_brands' | 'conoco_canada' | 'conoco_inc' | 'crown_central_petroleum' | 'diamond_shamrock_inc' | 'discount_tire' | 'domo_gas' | 'elf' | 'erickson_oil' | 'esso' | 'esso_canada' | 'exxon' | 'exxonmobil' | 'family_express' | 'fas_gas_oil' | 'federated_coop_sonic' | 'fina' | 'fina_inc' | 'fkg_oil' | 'flare' | 'flying_j_inc' | 'gas_america' | 'gate_petroleum' | 'getty_petroleum' | 'giant_eagle' | 'grow_mark_inc' | 'gulf' | 'gulf_canada' | 'gulf_chevron' | 'handy_way_food' | 'heron' | 'holiday_stores' | 'home_depot' | 'husky' | 'hyvees' | 'irving' | 'irving_oil' | 'j_sainsbury' | 'jet_conoco' | 'krogers' | 'kuwait' | 'kwik_trip_inc' | 'lassus' | 'loves_country_stores' | 'mapco_express_inc' | 'marathon_oil' | 'martin_bailey_inc_dba_hucks' | 'maxol' | 'meineke' | 'mfa' | 'mohawk' | 'mr_gas' | 'murco' | 'murphy_oil_canada' | 'murphy_oil_usa_inc' | 'nexcom' | 'nordstrom_oil' | 'olco' | 'pdq_store' | 'pennzoil_products_inc' | 'petro' | 'petro_canada' | 'petro_t' | 'phillips' | 'pilot' | 'pioneer' | 'pure_oil' | 'quaker_state' | 'quarles_oil' | 'quiktrip' | 'racetrac_petroleum_inc' | 'raceway_petroleum' | 'repsol' | 'rudy' | 'safeway' | 'seven_eleven' | 'sheetz' | 'shell' | 'shell_canada' | 'shell_oil' | 'sinclair_oil' | 'southland_oil' | 'spar' | 'speedway' | 'sun_company_inc' | 'suncor_sunoco_canada' | 'tempo' | 'tesco' | 'tesoro_alaska' | 'texaco' | 'the_pantry_inc' | 'thornton_oil' | 'tosco' | 'total' | 'travel_centers_of_america' | 'uk' | 'ultramar_canada' | 'unbranded_or_unassigned' | 'unbranded_unassigned' | 'union_76' | 'united_dairy_farmer' | 'united_refining_kwikfill' | 'us_oil' | 'usa_petroleum' | 'valvoline' | 'vg' | 'w_morrison' | 'warren_equities' | 'wawa' | 'western_energetix' | 'wilco' | 'zions' | OtherString;
|
|
5458
|
+
}
|
|
5459
|
+
namespace Vat {
|
|
5460
|
+
type IobIndicator = 'issuer_to_iob' | 'issuer_to_iob_and_incremental_certification' | 'merchant_does_not_agree_to_iob' | OtherString;
|
|
5461
|
+
}
|
|
5462
|
+
}
|
|
5463
|
+
namespace Flight {
|
|
5464
|
+
interface Affiliate {
|
|
5465
|
+
/**
|
|
5466
|
+
* The name of the affiliate that originated the purchase.
|
|
5467
|
+
*/
|
|
5468
|
+
name: string;
|
|
5469
|
+
}
|
|
5470
|
+
interface Delivery {
|
|
5471
|
+
/**
|
|
5472
|
+
* The delivery method for the payment
|
|
5473
|
+
*/
|
|
5474
|
+
mode?: Delivery.Mode;
|
|
5475
|
+
/**
|
|
5476
|
+
* Details of the recipient.
|
|
5477
|
+
*/
|
|
5478
|
+
recipient?: Delivery.Recipient;
|
|
5479
|
+
}
|
|
5480
|
+
interface Passenger {
|
|
5481
|
+
/**
|
|
5482
|
+
* Full name of the person or entity on the flight reservation.
|
|
5483
|
+
*/
|
|
5484
|
+
name: string;
|
|
5485
|
+
}
|
|
5486
|
+
interface Segment {
|
|
5487
|
+
/**
|
|
5488
|
+
* The flight segment amount.
|
|
5489
|
+
*/
|
|
5490
|
+
amount?: number;
|
|
5491
|
+
/**
|
|
5492
|
+
* The International Air Transport Association (IATA) airport code for the arrival airport.
|
|
5493
|
+
*/
|
|
5494
|
+
arrival_airport?: string;
|
|
5495
|
+
/**
|
|
5496
|
+
* The arrival time for the flight segment. Measured in seconds since the Unix epoch.
|
|
5497
|
+
*/
|
|
5498
|
+
arrives_at?: number;
|
|
5499
|
+
/**
|
|
5500
|
+
* The International Air Transport Association (IATA) carrier code of the carrier operating the flight segment.
|
|
5501
|
+
*/
|
|
5502
|
+
carrier?: string;
|
|
5503
|
+
/**
|
|
5504
|
+
* The departure time for the flight segment. Measured in seconds since the Unix epoch.
|
|
5505
|
+
*/
|
|
5506
|
+
departs_at: number;
|
|
5507
|
+
/**
|
|
5508
|
+
* The International Air Transport Association (IATA) airport code for the departure airport.
|
|
5509
|
+
*/
|
|
5510
|
+
departure_airport?: string;
|
|
5511
|
+
/**
|
|
5512
|
+
* The flight number associated with the segment
|
|
5513
|
+
*/
|
|
5514
|
+
flight_number?: string;
|
|
5515
|
+
/**
|
|
5516
|
+
* The fare class for the segment.
|
|
5517
|
+
*/
|
|
5518
|
+
service_class?: Segment.ServiceClass;
|
|
5519
|
+
}
|
|
5520
|
+
namespace Delivery {
|
|
5521
|
+
type Mode = 'email' | 'phone' | 'pickup' | 'post' | OtherString;
|
|
5522
|
+
interface Recipient {
|
|
5523
|
+
/**
|
|
5524
|
+
* The email of the recipient the ticket is delivered to.
|
|
5525
|
+
*/
|
|
5526
|
+
email?: string;
|
|
5527
|
+
/**
|
|
5528
|
+
* The name of the recipient the ticket is delivered to.
|
|
5529
|
+
*/
|
|
5530
|
+
name?: string;
|
|
5531
|
+
/**
|
|
5532
|
+
* The phone number of the recipient the ticket is delivered to.
|
|
5533
|
+
*/
|
|
5534
|
+
phone?: string;
|
|
5535
|
+
}
|
|
5536
|
+
}
|
|
5537
|
+
namespace Segment {
|
|
5538
|
+
type ServiceClass = 'business' | 'economy' | 'first' | 'premium_economy' | OtherString;
|
|
5539
|
+
}
|
|
5540
|
+
}
|
|
5541
|
+
namespace FlightDatum {
|
|
5542
|
+
interface Affiliate {
|
|
5543
|
+
/**
|
|
5544
|
+
* Affiliate partner code.
|
|
5545
|
+
*/
|
|
5546
|
+
code?: string;
|
|
5547
|
+
/**
|
|
5548
|
+
* Name of affiliate partner.
|
|
5549
|
+
*/
|
|
5550
|
+
name?: string;
|
|
5551
|
+
/**
|
|
5552
|
+
* Code provided by the company to a travel agent authorizing ticket issuance.
|
|
5553
|
+
*/
|
|
5554
|
+
travel_authorization_code?: string;
|
|
5555
|
+
}
|
|
5556
|
+
interface Insurance {
|
|
5557
|
+
/**
|
|
5558
|
+
* Insurance cost.
|
|
5559
|
+
*/
|
|
5560
|
+
amount: number;
|
|
5561
|
+
/**
|
|
5562
|
+
* Insurance currency.
|
|
5563
|
+
*/
|
|
5564
|
+
currency?: string;
|
|
5565
|
+
/**
|
|
5566
|
+
* Insurance company name.
|
|
5567
|
+
*/
|
|
5568
|
+
insurance_company_name?: string;
|
|
5569
|
+
/**
|
|
5570
|
+
* Type of insurance.
|
|
5571
|
+
*/
|
|
5572
|
+
insurance_type: Insurance.InsuranceType;
|
|
5573
|
+
}
|
|
5574
|
+
interface Passenger {
|
|
5575
|
+
/**
|
|
5576
|
+
* Passenger's full name.
|
|
5577
|
+
*/
|
|
5578
|
+
name: string;
|
|
5579
|
+
}
|
|
5580
|
+
interface Segment {
|
|
5581
|
+
/**
|
|
5582
|
+
* Segment fare amount.
|
|
5583
|
+
*/
|
|
5584
|
+
amount?: number;
|
|
5585
|
+
/**
|
|
5586
|
+
* Arrival details.
|
|
5587
|
+
*/
|
|
5588
|
+
arrival: Segment.Arrival;
|
|
5589
|
+
/**
|
|
5590
|
+
* Airline carrier code.
|
|
5591
|
+
*/
|
|
5592
|
+
carrier_code: string;
|
|
5593
|
+
/**
|
|
5594
|
+
* Carrier name.
|
|
5595
|
+
*/
|
|
5596
|
+
carrier_name?: string;
|
|
5597
|
+
/**
|
|
5598
|
+
* Segment currency.
|
|
5599
|
+
*/
|
|
5600
|
+
currency?: string;
|
|
5601
|
+
/**
|
|
5602
|
+
* Departure details.
|
|
5603
|
+
*/
|
|
5604
|
+
departure: Segment.Departure;
|
|
5605
|
+
/**
|
|
5606
|
+
* Exchange ticket number.
|
|
5607
|
+
*/
|
|
5608
|
+
exchange_ticket_number?: string;
|
|
5609
|
+
/**
|
|
5610
|
+
* Fare basis code.
|
|
5611
|
+
*/
|
|
5612
|
+
fare_basis_code?: string;
|
|
5613
|
+
/**
|
|
5614
|
+
* Additional fees.
|
|
5615
|
+
*/
|
|
5616
|
+
fees?: number;
|
|
5617
|
+
/**
|
|
5618
|
+
* Flight number.
|
|
5619
|
+
*/
|
|
5620
|
+
flight_number?: string;
|
|
5621
|
+
/**
|
|
5622
|
+
* Stopover indicator.
|
|
5623
|
+
*/
|
|
5624
|
+
is_stop_over_indicator?: boolean;
|
|
5625
|
+
/**
|
|
5626
|
+
* Refundable ticket indicator.
|
|
5627
|
+
*/
|
|
5628
|
+
refundable?: boolean;
|
|
5629
|
+
/**
|
|
5630
|
+
* Class of service.
|
|
5631
|
+
*/
|
|
5632
|
+
service_class: Segment.ServiceClass;
|
|
5633
|
+
/**
|
|
5634
|
+
* Tax amount for segment.
|
|
5635
|
+
*/
|
|
5636
|
+
tax_amount?: number;
|
|
5637
|
+
/**
|
|
5638
|
+
* Ticket number.
|
|
5639
|
+
*/
|
|
5640
|
+
ticket_number?: string;
|
|
5641
|
+
}
|
|
5642
|
+
interface Total {
|
|
5643
|
+
/**
|
|
5644
|
+
* Total flight amount.
|
|
5645
|
+
*/
|
|
5646
|
+
amount: number;
|
|
5647
|
+
/**
|
|
5648
|
+
* Reason for credit.
|
|
5649
|
+
*/
|
|
5650
|
+
credit_reason?: Total.CreditReason;
|
|
5651
|
+
/**
|
|
5652
|
+
* Total currency.
|
|
5653
|
+
*/
|
|
5654
|
+
currency?: string;
|
|
5655
|
+
/**
|
|
5656
|
+
* Discount details.
|
|
5657
|
+
*/
|
|
5658
|
+
discounts?: Total.Discounts;
|
|
5659
|
+
/**
|
|
5660
|
+
* Additional charges.
|
|
5661
|
+
*/
|
|
5662
|
+
extra_charges?: Array<Total.ExtraCharge>;
|
|
5663
|
+
/**
|
|
5664
|
+
* Tax breakdown.
|
|
5665
|
+
*/
|
|
5666
|
+
tax?: Total.Tax;
|
|
5667
|
+
}
|
|
5668
|
+
type TransactionType = 'exchange_ticket' | 'miscellaneous' | 'refund' | 'ticket_purchase' | OtherString;
|
|
5669
|
+
namespace Insurance {
|
|
5670
|
+
type InsuranceType = 'baggage' | 'bankruptcy' | 'cancelation' | 'emergency' | 'medical' | OtherString;
|
|
5671
|
+
}
|
|
5672
|
+
namespace Segment {
|
|
5673
|
+
interface Arrival {
|
|
5674
|
+
/**
|
|
5675
|
+
* Arrival airport IATA code.
|
|
5676
|
+
*/
|
|
5677
|
+
airport: string;
|
|
5678
|
+
/**
|
|
5679
|
+
* Arrival date/time.
|
|
5680
|
+
*/
|
|
5681
|
+
arrives_at?: number;
|
|
5682
|
+
/**
|
|
5683
|
+
* Arrival city.
|
|
5684
|
+
*/
|
|
5685
|
+
city?: string;
|
|
5686
|
+
/**
|
|
5687
|
+
* Arrival country.
|
|
5688
|
+
*/
|
|
5689
|
+
country?: string;
|
|
5690
|
+
}
|
|
5691
|
+
interface Departure {
|
|
5692
|
+
/**
|
|
5693
|
+
* Departure airport IATA code.
|
|
5694
|
+
*/
|
|
5695
|
+
airport: string;
|
|
5696
|
+
/**
|
|
5697
|
+
* Departure city.
|
|
5698
|
+
*/
|
|
5699
|
+
city?: string;
|
|
5700
|
+
/**
|
|
5701
|
+
* Departure country.
|
|
5702
|
+
*/
|
|
5703
|
+
country?: string;
|
|
5704
|
+
/**
|
|
5705
|
+
* Departure date/time.
|
|
5706
|
+
*/
|
|
5707
|
+
departs_at: number;
|
|
5708
|
+
}
|
|
5709
|
+
type ServiceClass = 'business' | 'economy' | 'first_class' | 'premium_economy' | OtherString;
|
|
5710
|
+
}
|
|
5711
|
+
namespace Total {
|
|
5712
|
+
type CreditReason = 'other' | 'partial_ticket_refund' | 'passenger_transport_ancillary_cancellation' | 'ticket_and_ancillary_cancellation' | 'ticket_cancellation' | OtherString;
|
|
5713
|
+
interface Discounts {
|
|
5714
|
+
/**
|
|
5715
|
+
* Corporate client discount code.
|
|
5716
|
+
*/
|
|
5717
|
+
corporate_client_code?: string;
|
|
5718
|
+
}
|
|
5719
|
+
interface ExtraCharge {
|
|
5720
|
+
/**
|
|
5721
|
+
* Amount of additional charges.
|
|
5722
|
+
*/
|
|
5723
|
+
amount?: number;
|
|
5724
|
+
/**
|
|
5725
|
+
* Type of additional charges.
|
|
5726
|
+
*/
|
|
5727
|
+
type?: ExtraCharge.Type;
|
|
5728
|
+
}
|
|
5729
|
+
interface Tax {
|
|
5730
|
+
/**
|
|
5731
|
+
* Array of tax details.
|
|
5732
|
+
*/
|
|
5733
|
+
tax_items?: Array<Tax.TaxItem>;
|
|
5734
|
+
}
|
|
5735
|
+
namespace ExtraCharge {
|
|
5736
|
+
type Type = 'additional_fees' | 'ancillary_service_charges' | 'exchange_fee' | OtherString;
|
|
5737
|
+
}
|
|
5738
|
+
namespace Tax {
|
|
5739
|
+
interface TaxItem {
|
|
5740
|
+
/**
|
|
5741
|
+
* Tax amount.
|
|
5742
|
+
*/
|
|
5743
|
+
amount?: number;
|
|
5744
|
+
/**
|
|
5745
|
+
* Tax rate.
|
|
5746
|
+
*/
|
|
5747
|
+
rate?: number;
|
|
5748
|
+
/**
|
|
5749
|
+
* Type of tax.
|
|
5750
|
+
*/
|
|
5751
|
+
type?: string;
|
|
5752
|
+
}
|
|
5753
|
+
}
|
|
5754
|
+
}
|
|
5755
|
+
}
|
|
5756
|
+
namespace Lodging {
|
|
5757
|
+
interface Affiliate {
|
|
5758
|
+
/**
|
|
5759
|
+
* The name of the affiliate that originated the purchase.
|
|
5760
|
+
*/
|
|
5761
|
+
name: string;
|
|
5762
|
+
}
|
|
5763
|
+
type Category = 'hotel' | 'vacation_rental' | OtherString;
|
|
5764
|
+
interface Delivery {
|
|
5765
|
+
/**
|
|
5766
|
+
* The delivery method for the payment
|
|
5767
|
+
*/
|
|
5768
|
+
mode?: Delivery.Mode;
|
|
5769
|
+
/**
|
|
5770
|
+
* Details of the recipient.
|
|
5771
|
+
*/
|
|
5772
|
+
recipient?: Delivery.Recipient;
|
|
5773
|
+
}
|
|
5774
|
+
type ExtraCharge = 'gift_shop' | 'laundry' | 'mini_bar' | 'other' | 'restaurant' | 'telephone' | OtherString;
|
|
5775
|
+
interface Passenger {
|
|
5776
|
+
/**
|
|
5777
|
+
* Full name of the person or entity on the lodging reservation.
|
|
5778
|
+
*/
|
|
5779
|
+
name: string;
|
|
5780
|
+
}
|
|
5781
|
+
namespace Delivery {
|
|
5782
|
+
type Mode = 'email' | 'phone' | 'pickup' | 'post' | OtherString;
|
|
5783
|
+
interface Recipient {
|
|
5784
|
+
/**
|
|
5785
|
+
* The email of the recipient the ticket is delivered to.
|
|
5786
|
+
*/
|
|
5787
|
+
email?: string;
|
|
5788
|
+
/**
|
|
5789
|
+
* The name of the recipient the ticket is delivered to.
|
|
5790
|
+
*/
|
|
5791
|
+
name?: string;
|
|
5792
|
+
/**
|
|
5793
|
+
* The phone number of the recipient the ticket is delivered to.
|
|
5794
|
+
*/
|
|
5795
|
+
phone?: string;
|
|
5796
|
+
}
|
|
5797
|
+
}
|
|
5798
|
+
}
|
|
5799
|
+
namespace LodgingDatum {
|
|
5800
|
+
interface Accommodation {
|
|
5801
|
+
/**
|
|
5802
|
+
* Type of accommodation.
|
|
5803
|
+
*/
|
|
5804
|
+
accommodation_type?: Accommodation.AccommodationType;
|
|
5805
|
+
/**
|
|
5806
|
+
* Bed type.
|
|
5807
|
+
*/
|
|
5808
|
+
bed_type?: string;
|
|
5809
|
+
/**
|
|
5810
|
+
* Daily accommodation rate in cents.
|
|
5811
|
+
*/
|
|
5812
|
+
daily_rate_amount?: number;
|
|
5813
|
+
/**
|
|
5814
|
+
* Number of nights.
|
|
5815
|
+
*/
|
|
5816
|
+
nights?: number;
|
|
5817
|
+
/**
|
|
5818
|
+
* Number of rooms, cabanas, apartments, and so on.
|
|
5819
|
+
*/
|
|
5820
|
+
number_of_rooms?: number;
|
|
5821
|
+
/**
|
|
5822
|
+
* Rate type.
|
|
5823
|
+
*/
|
|
5824
|
+
rate_type?: string;
|
|
5825
|
+
/**
|
|
5826
|
+
* Whether smoking is allowed.
|
|
5827
|
+
*/
|
|
5828
|
+
smoking_indicator?: boolean;
|
|
5829
|
+
}
|
|
5830
|
+
interface Affiliate {
|
|
5831
|
+
/**
|
|
5832
|
+
* Affiliate partner code.
|
|
5833
|
+
*/
|
|
5834
|
+
code?: string;
|
|
5835
|
+
/**
|
|
5836
|
+
* Affiliate partner name.
|
|
5837
|
+
*/
|
|
5838
|
+
name?: string;
|
|
5839
|
+
}
|
|
5840
|
+
interface Guest {
|
|
5841
|
+
/**
|
|
5842
|
+
* Guest's full name.
|
|
5843
|
+
*/
|
|
5844
|
+
name: string;
|
|
5845
|
+
}
|
|
5846
|
+
interface Host {
|
|
5847
|
+
/**
|
|
5848
|
+
* Address of the host.
|
|
5849
|
+
*/
|
|
5850
|
+
address?: Host.Address;
|
|
5851
|
+
/**
|
|
5852
|
+
* Host's country of domicile.
|
|
5853
|
+
*/
|
|
5854
|
+
country_of_domicile?: string;
|
|
5855
|
+
/**
|
|
5856
|
+
* Reference number for the host.
|
|
5857
|
+
*/
|
|
5858
|
+
host_reference?: string;
|
|
5859
|
+
/**
|
|
5860
|
+
* Type of host.
|
|
5861
|
+
*/
|
|
5862
|
+
host_type?: Host.HostType;
|
|
5863
|
+
/**
|
|
5864
|
+
* Name of the lodging property or host.
|
|
5865
|
+
*/
|
|
5866
|
+
name?: string;
|
|
5867
|
+
/**
|
|
5868
|
+
* Total number of reservations for the host.
|
|
5869
|
+
*/
|
|
5870
|
+
number_of_reservations?: number;
|
|
5871
|
+
/**
|
|
5872
|
+
* Property phone number.
|
|
5873
|
+
*/
|
|
5874
|
+
property_phone_number?: string;
|
|
5875
|
+
/**
|
|
5876
|
+
* Host's registration date.
|
|
5877
|
+
*/
|
|
5878
|
+
registered_at?: number;
|
|
5879
|
+
}
|
|
5880
|
+
interface Insurance {
|
|
5881
|
+
/**
|
|
5882
|
+
* Price of the insurance coverage in cents.
|
|
5883
|
+
*/
|
|
5884
|
+
amount: number;
|
|
5885
|
+
/**
|
|
5886
|
+
* Currency of the insurance amount.
|
|
5887
|
+
*/
|
|
5888
|
+
currency?: string;
|
|
5889
|
+
/**
|
|
5890
|
+
* Name of the insurance company.
|
|
5891
|
+
*/
|
|
5892
|
+
insurance_company_name?: string;
|
|
5893
|
+
/**
|
|
5894
|
+
* Type of insurance coverage.
|
|
5895
|
+
*/
|
|
5896
|
+
insurance_type: Insurance.InsuranceType;
|
|
5897
|
+
}
|
|
5898
|
+
interface Total {
|
|
5899
|
+
/**
|
|
5900
|
+
* Total price of the lodging reservation in cents.
|
|
5901
|
+
*/
|
|
5902
|
+
amount: number;
|
|
5903
|
+
/**
|
|
5904
|
+
* Cash advances in cents.
|
|
5905
|
+
*/
|
|
5906
|
+
cash_advances?: number;
|
|
5907
|
+
/**
|
|
5908
|
+
* Currency of the total amount.
|
|
5909
|
+
*/
|
|
5910
|
+
currency?: string;
|
|
5911
|
+
/**
|
|
5912
|
+
* Discount details for the lodging.
|
|
5913
|
+
*/
|
|
5914
|
+
discounts?: Total.Discounts;
|
|
5915
|
+
/**
|
|
5916
|
+
* Additional charges for the lodging.
|
|
5917
|
+
*/
|
|
5918
|
+
extra_charges?: Array<Total.ExtraCharge>;
|
|
5919
|
+
/**
|
|
5920
|
+
* Prepaid amount in cents.
|
|
5921
|
+
*/
|
|
5922
|
+
prepaid_amount?: number;
|
|
5923
|
+
/**
|
|
5924
|
+
* Tax breakdown for the lodging reservation.
|
|
5925
|
+
*/
|
|
5926
|
+
tax?: Total.Tax;
|
|
5927
|
+
}
|
|
5928
|
+
namespace Accommodation {
|
|
5929
|
+
type AccommodationType = 'apartment' | 'cabana' | 'house' | 'penthouse' | 'room' | 'standard' | 'suite' | 'villa' | OtherString;
|
|
5930
|
+
}
|
|
5931
|
+
namespace Host {
|
|
5932
|
+
interface Address {
|
|
5933
|
+
/**
|
|
5934
|
+
* City, district, suburb, town, or village.
|
|
5935
|
+
*/
|
|
5936
|
+
city: string;
|
|
5937
|
+
/**
|
|
5938
|
+
* Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
|
|
5939
|
+
*/
|
|
5940
|
+
country: string;
|
|
5941
|
+
/**
|
|
5942
|
+
* Address line 1, such as the street, PO Box, or company name.
|
|
5943
|
+
*/
|
|
5944
|
+
line1: string;
|
|
5945
|
+
/**
|
|
5946
|
+
* Address line 2, such as the apartment, suite, unit, or building.
|
|
5947
|
+
*/
|
|
5948
|
+
line2?: string;
|
|
5949
|
+
/**
|
|
5950
|
+
* ZIP or postal code.
|
|
5951
|
+
*/
|
|
5952
|
+
postal_code: string;
|
|
5953
|
+
/**
|
|
5954
|
+
* State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
|
|
5955
|
+
*/
|
|
5956
|
+
state?: string;
|
|
5957
|
+
}
|
|
5958
|
+
type HostType = 'hostel' | 'hotel' | 'owner' | 'rental_agency' | OtherString;
|
|
5959
|
+
}
|
|
5960
|
+
namespace Insurance {
|
|
5961
|
+
type InsuranceType = 'bankruptcy' | 'cancelation' | 'emergency' | 'medical' | OtherString;
|
|
5962
|
+
}
|
|
5963
|
+
namespace Total {
|
|
5964
|
+
interface Discounts {
|
|
5965
|
+
/**
|
|
5966
|
+
* Corporate client discount code.
|
|
5967
|
+
*/
|
|
5968
|
+
corporate_client_code?: string;
|
|
5969
|
+
/**
|
|
5970
|
+
* Coupon code.
|
|
5971
|
+
*/
|
|
5972
|
+
coupon?: string;
|
|
5973
|
+
}
|
|
5974
|
+
interface ExtraCharge {
|
|
5975
|
+
/**
|
|
5976
|
+
* Amount of the extra charge in cents.
|
|
5977
|
+
*/
|
|
5978
|
+
amount?: number;
|
|
5979
|
+
/**
|
|
5980
|
+
* Type of extra charge.
|
|
5981
|
+
*/
|
|
5982
|
+
type?: ExtraCharge.Type;
|
|
5983
|
+
}
|
|
5984
|
+
interface Tax {
|
|
5985
|
+
/**
|
|
5986
|
+
* Indicates whether the transaction is tax exempt.
|
|
5987
|
+
*/
|
|
5988
|
+
tax_exempt_indicator?: boolean;
|
|
5989
|
+
/**
|
|
5990
|
+
* Tax details.
|
|
5991
|
+
*/
|
|
5992
|
+
tax_items?: Array<Tax.TaxItem>;
|
|
5993
|
+
}
|
|
5994
|
+
namespace ExtraCharge {
|
|
5995
|
+
type Type = 'gift_shop' | 'laundry' | 'mini_bar' | 'other' | 'phone' | 'restaurant' | OtherString;
|
|
5996
|
+
}
|
|
5997
|
+
namespace Tax {
|
|
5998
|
+
interface TaxItem {
|
|
5999
|
+
/**
|
|
6000
|
+
* Tax amount in cents.
|
|
6001
|
+
*/
|
|
6002
|
+
amount?: number;
|
|
6003
|
+
/**
|
|
6004
|
+
* Tax rate.
|
|
6005
|
+
*/
|
|
6006
|
+
rate?: number;
|
|
6007
|
+
/**
|
|
6008
|
+
* Type of tax applied.
|
|
6009
|
+
*/
|
|
6010
|
+
type?: string;
|
|
6011
|
+
}
|
|
6012
|
+
}
|
|
6013
|
+
}
|
|
6014
|
+
}
|
|
6015
|
+
namespace Subscription {
|
|
6016
|
+
interface Affiliate {
|
|
6017
|
+
/**
|
|
6018
|
+
* The name of the affiliate that originated the purchase.
|
|
6019
|
+
*/
|
|
6020
|
+
name: string;
|
|
6021
|
+
}
|
|
6022
|
+
interface BillingInterval {
|
|
6023
|
+
/**
|
|
6024
|
+
* The number of intervals, as an whole number greater than 0. Stripe multiplies this by the interval type to get the overall duration.
|
|
6025
|
+
*/
|
|
6026
|
+
count: number;
|
|
6027
|
+
/**
|
|
6028
|
+
* Specifies a type of interval unit. Either `day`, `week`, `month` or `year`.
|
|
6029
|
+
*/
|
|
6030
|
+
interval: BillingInterval.Interval;
|
|
6031
|
+
}
|
|
6032
|
+
namespace BillingInterval {
|
|
6033
|
+
type Interval = 'day' | 'month' | 'week' | 'year' | OtherString;
|
|
6034
|
+
}
|
|
6035
|
+
}
|
|
2347
6036
|
}
|
|
2348
6037
|
}
|
|
2349
6038
|
export interface ChargeSearchParams {
|