stripe 19.2.0-beta.1 → 19.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +71 -1433
- package/OPENAPI_VERSION +1 -1
- package/README.md +0 -1
- package/VERSION +1 -1
- package/cjs/Error.js +1 -115
- package/cjs/RequestSender.js +1 -1
- package/cjs/apiVersion.js +3 -2
- package/cjs/resources/FinancialConnections/Accounts.js +0 -5
- package/cjs/resources/Mandates.js +0 -5
- package/cjs/resources/PaymentIntents.js +0 -8
- package/cjs/resources/PaymentRecords.js +4 -0
- package/cjs/resources/Quotes.js +0 -32
- package/cjs/resources/SubscriptionSchedules.js +0 -4
- package/cjs/resources/Subscriptions.js +0 -4
- package/cjs/resources.js +8 -106
- package/cjs/stripe.core.js +1 -1
- package/esm/Error.js +0 -100
- package/esm/RequestSender.js +1 -1
- package/esm/apiVersion.js +2 -1
- package/esm/resources/FinancialConnections/Accounts.js +0 -5
- package/esm/resources/Mandates.js +0 -5
- package/esm/resources/PaymentIntents.js +0 -8
- package/esm/resources/PaymentRecords.js +4 -0
- package/esm/resources/Quotes.js +0 -32
- package/esm/resources/SubscriptionSchedules.js +0 -4
- package/esm/resources/Subscriptions.js +0 -4
- package/esm/resources.js +0 -93
- package/esm/stripe.core.js +1 -1
- package/package.json +1 -1
- package/types/AccountLinksResource.d.ts +1 -5
- package/types/AccountSessions.d.ts +0 -45
- package/types/AccountSessionsResource.d.ts +0 -264
- package/types/Accounts.d.ts +23 -212
- package/types/AccountsResource.d.ts +44 -544
- package/types/Billing/AlertTriggereds.d.ts +1 -1
- package/types/Billing/CreditBalanceSummary.d.ts +0 -5
- package/types/Billing/CreditBalanceSummaryResource.d.ts +3 -8
- package/types/Billing/CreditBalanceTransactionsResource.d.ts +4 -12
- package/types/Billing/CreditGrants.d.ts +0 -5
- package/types/Billing/CreditGrantsResource.d.ts +3 -13
- package/types/BillingPortal/Configurations.d.ts +1 -1
- package/types/BillingPortal/ConfigurationsResource.d.ts +10 -0
- package/types/BillingPortal/Sessions.d.ts +0 -5
- package/types/BillingPortal/SessionsResource.d.ts +4 -12
- package/types/Cards.d.ts +0 -5
- package/types/CashBalances.d.ts +0 -5
- package/types/Charges.d.ts +1 -172
- package/types/ChargesResource.d.ts +0 -1406
- package/types/Checkout/Sessions.d.ts +17 -369
- package/types/Checkout/SessionsResource.d.ts +23 -635
- package/types/ConfirmationTokens.d.ts +1 -125
- package/types/Coupons.d.ts +0 -33
- package/types/CouponsResource.d.ts +0 -21
- package/types/CreditNoteLineItems.d.ts +0 -17
- package/types/CreditNotes.d.ts +26 -5
- package/types/CreditNotesResource.d.ts +78 -5
- package/types/CustomerBalanceTransactions.d.ts +0 -2
- package/types/CustomerCashBalanceTransactions.d.ts +0 -2
- package/types/CustomerSessions.d.ts +120 -5
- package/types/CustomerSessionsResource.d.ts +121 -6
- package/types/Customers.d.ts +7 -2
- package/types/CustomersResource.d.ts +1 -8
- package/types/Discounts.d.ts +0 -10
- package/types/Disputes.d.ts +0 -40
- package/types/DisputesResource.d.ts +0 -11
- package/types/Errors.d.ts +0 -85
- package/types/EventTypes.d.ts +0 -630
- package/types/Events.d.ts +0 -95
- package/types/Files.d.ts +1 -0
- package/types/FilesResource.d.ts +2 -0
- package/types/FinancialConnections/Accounts.d.ts +1 -36
- package/types/FinancialConnections/AccountsResource.d.ts +4 -41
- package/types/FinancialConnections/Sessions.d.ts +1 -51
- package/types/FinancialConnections/SessionsResource.d.ts +1 -43
- package/types/Identity/VerificationSessions.d.ts +0 -5
- package/types/Identity/VerificationSessionsResource.d.ts +0 -7
- package/types/InvoiceItems.d.ts +0 -10
- package/types/InvoiceItemsResource.d.ts +6 -117
- package/types/InvoiceLineItems.d.ts +1 -45
- package/types/InvoicePayments.d.ts +1 -1
- package/types/Invoices.d.ts +5 -203
- package/types/InvoicesResource.d.ts +4 -1622
- package/types/Issuing/CardholdersResource.d.ts +1 -2
- package/types/Issuing/Transactions.d.ts +0 -5
- package/types/Issuing/TransactionsResource.d.ts +0 -5
- package/types/LineItems.d.ts +0 -49
- package/types/Mandates.d.ts +1 -135
- package/types/MandatesResource.d.ts +0 -31
- package/types/PaymentAttemptRecords.d.ts +1 -137
- package/types/PaymentAttemptRecordsResource.d.ts +5 -0
- package/types/PaymentIntentAmountDetailsLineItems.d.ts +17 -7
- package/types/PaymentIntents.d.ts +23 -782
- package/types/PaymentIntentsResource.d.ts +4783 -9501
- package/types/PaymentLinks.d.ts +34 -6
- package/types/PaymentLinksResource.d.ts +88 -12
- package/types/PaymentMethodConfigurations.d.ts +46 -190
- package/types/PaymentMethodConfigurationsResource.d.ts +100 -300
- package/types/PaymentMethods.d.ts +34 -130
- package/types/PaymentMethodsResource.d.ts +17 -168
- package/types/PaymentRecords.d.ts +1 -137
- package/types/PaymentRecordsResource.d.ts +89 -0
- package/types/PayoutsResource.d.ts +1 -1
- package/types/Prices.d.ts +0 -22
- package/types/PricesResource.d.ts +0 -22
- package/types/PromotionCodes.d.ts +0 -5
- package/types/PromotionCodesResource.d.ts +0 -10
- package/types/Quotes.d.ts +1 -594
- package/types/QuotesResource.d.ts +290 -2635
- package/types/Refunds.d.ts +9 -14
- package/types/SetupAttempts.d.ts +2 -51
- package/types/SetupIntents.d.ts +59 -209
- package/types/SetupIntentsResource.d.ts +132 -952
- package/types/Sources.d.ts +0 -29
- package/types/SubscriptionItems.d.ts +0 -26
- package/types/SubscriptionItemsResource.d.ts +0 -109
- package/types/SubscriptionSchedules.d.ts +0 -205
- package/types/SubscriptionSchedulesResource.d.ts +4 -1232
- package/types/Subscriptions.d.ts +1 -262
- package/types/SubscriptionsResource.d.ts +8 -745
- package/types/Tax/Registrations.d.ts +9 -0
- package/types/Tax/RegistrationsResource.d.ts +12 -0
- package/types/TaxIds.d.ts +0 -10
- package/types/TaxIdsResource.d.ts +0 -10
- package/types/Terminal/Configurations.d.ts +19 -9
- package/types/Terminal/ConfigurationsResource.d.ts +44 -28
- package/types/Terminal/Readers.d.ts +14 -29
- package/types/Terminal/ReadersResource.d.ts +30 -30
- package/types/TestHelpers/ConfirmationTokensResource.d.ts +0 -126
- package/types/TestHelpers/Terminal/ReadersResource.d.ts +1 -1
- package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +0 -26
- package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +0 -26
- package/types/TokensResource.d.ts +22 -0
- package/types/Transfers.d.ts +0 -5
- package/types/TransfersResource.d.ts +0 -5
- package/types/Treasury/FinancialAccountFeatures.d.ts +0 -7
- package/types/Treasury/FinancialAccounts.d.ts +0 -5
- package/types/Treasury/FinancialAccountsResource.d.ts +0 -37
- package/types/Treasury/OutboundTransfers.d.ts +0 -26
- package/types/Treasury/OutboundTransfersResource.d.ts +0 -26
- package/types/Treasury/ReceivedCredits.d.ts +0 -26
- package/types/Treasury/ReceivedDebits.d.ts +0 -31
- package/types/V2/Core/EventTypes.d.ts +10 -1647
- package/types/V2/Core/EventsResource.d.ts +29 -3
- package/types/WebhookEndpointsResource.d.ts +2 -75
- package/types/apiVersion.d.ts +2 -1
- package/types/crypto/crypto.d.ts +1 -1
- package/types/index.d.ts +0 -153
- package/types/lib.d.ts +0 -10
- package/cjs/resources/AccountNotices.js +0 -21
- package/cjs/resources/Billing/Analytics/MeterUsage.js +0 -12
- package/cjs/resources/Capital/FinancingOffers.js +0 -21
- package/cjs/resources/Capital/FinancingSummary.js +0 -12
- package/cjs/resources/Capital/FinancingTransactions.js +0 -17
- package/cjs/resources/ExternalAccounts.js +0 -23
- package/cjs/resources/FinancialConnections/Institutions.js +0 -17
- package/cjs/resources/FxQuotes.js +0 -15
- package/cjs/resources/Issuing/CreditUnderwritingRecords.js +0 -33
- package/cjs/resources/Issuing/DisputeSettlementDetails.js +0 -17
- package/cjs/resources/Issuing/FraudLiabilityDebits.js +0 -17
- package/cjs/resources/Margins.js +0 -22
- package/cjs/resources/Orders.js +0 -24
- package/cjs/resources/Privacy/RedactionJobs.js +0 -42
- package/cjs/resources/Tax/Associations.js +0 -9
- package/cjs/resources/Tax/Forms.js +0 -20
- package/cjs/resources/Terminal/OnboardingLinks.js +0 -12
- package/cjs/resources/Terminal/ReaderCollectedData.js +0 -12
- package/cjs/resources/V2/Billing/BillSettings/Versions.js +0 -17
- package/cjs/resources/V2/Billing/BillSettings.js +0 -27
- package/cjs/resources/V2/Billing/Cadences.js +0 -23
- package/cjs/resources/V2/Billing/CollectionSettings/Versions.js +0 -17
- package/cjs/resources/V2/Billing/CollectionSettings.js +0 -30
- package/cjs/resources/V2/Billing/Profiles.js +0 -19
- package/cjs/resources/V2/Core/AccountLinks.js +0 -9
- package/cjs/resources/V2/Core/Accounts/Persons.js +0 -29
- package/cjs/resources/V2/Core/Accounts.js +0 -25
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.js +0 -28
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.js +0 -24
- package/cjs/resources/V2/MoneyManagement/Adjustments.js +0 -17
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +0 -25
- package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js +0 -21
- package/cjs/resources/V2/MoneyManagement/InboundTransfers.js +0 -21
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -16
- package/cjs/resources/V2/MoneyManagement/OutboundPayments.js +0 -25
- package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -29
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js +0 -25
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.js +0 -25
- package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +0 -12
- package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js +0 -17
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js +0 -17
- package/cjs/resources/V2/MoneyManagement/TransactionEntries.js +0 -17
- package/cjs/resources/V2/MoneyManagement/Transactions.js +0 -17
- package/cjs/resources/V2/Payments/OffSessionPayments.js +0 -29
- package/cjs/resources/V2/TestHelpers/FinancialAddresses.js +0 -16
- package/esm/resources/AccountNotices.js +0 -18
- package/esm/resources/Billing/Analytics/MeterUsage.js +0 -9
- package/esm/resources/Capital/FinancingOffers.js +0 -18
- package/esm/resources/Capital/FinancingSummary.js +0 -9
- package/esm/resources/Capital/FinancingTransactions.js +0 -14
- package/esm/resources/ExternalAccounts.js +0 -20
- package/esm/resources/FinancialConnections/Institutions.js +0 -14
- package/esm/resources/FxQuotes.js +0 -12
- package/esm/resources/Issuing/CreditUnderwritingRecords.js +0 -30
- package/esm/resources/Issuing/DisputeSettlementDetails.js +0 -14
- package/esm/resources/Issuing/FraudLiabilityDebits.js +0 -14
- package/esm/resources/Margins.js +0 -19
- package/esm/resources/Orders.js +0 -21
- package/esm/resources/Privacy/RedactionJobs.js +0 -39
- package/esm/resources/Tax/Associations.js +0 -6
- package/esm/resources/Tax/Forms.js +0 -17
- package/esm/resources/Terminal/OnboardingLinks.js +0 -9
- package/esm/resources/Terminal/ReaderCollectedData.js +0 -9
- package/esm/resources/V2/Billing/BillSettings/Versions.js +0 -14
- package/esm/resources/V2/Billing/BillSettings.js +0 -24
- package/esm/resources/V2/Billing/Cadences.js +0 -20
- package/esm/resources/V2/Billing/CollectionSettings/Versions.js +0 -14
- package/esm/resources/V2/Billing/CollectionSettings.js +0 -27
- package/esm/resources/V2/Billing/Profiles.js +0 -16
- package/esm/resources/V2/Core/AccountLinks.js +0 -6
- package/esm/resources/V2/Core/Accounts/Persons.js +0 -26
- package/esm/resources/V2/Core/Accounts.js +0 -22
- package/esm/resources/V2/Core/Vault/GbBankAccounts.js +0 -25
- package/esm/resources/V2/Core/Vault/UsBankAccounts.js +0 -21
- package/esm/resources/V2/MoneyManagement/Adjustments.js +0 -14
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +0 -22
- package/esm/resources/V2/MoneyManagement/FinancialAddresses.js +0 -18
- package/esm/resources/V2/MoneyManagement/InboundTransfers.js +0 -18
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -13
- package/esm/resources/V2/MoneyManagement/OutboundPayments.js +0 -22
- package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -26
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.js +0 -22
- package/esm/resources/V2/MoneyManagement/PayoutMethods.js +0 -22
- package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +0 -9
- package/esm/resources/V2/MoneyManagement/ReceivedCredits.js +0 -14
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.js +0 -14
- package/esm/resources/V2/MoneyManagement/TransactionEntries.js +0 -14
- package/esm/resources/V2/MoneyManagement/Transactions.js +0 -14
- package/esm/resources/V2/Payments/OffSessionPayments.js +0 -26
- package/esm/resources/V2/TestHelpers/FinancialAddresses.js +0 -13
- package/types/AccountNotices.d.ts +0 -113
- package/types/AccountNoticesResource.d.ts +0 -98
- package/types/Billing/Analytics/MeterUsage.d.ts +0 -31
- package/types/Billing/Analytics/MeterUsageResource.d.ts +0 -689
- package/types/Billing/Analytics/MeterUsageRows.d.ts +0 -51
- package/types/Capital/FinancingOffers.d.ts +0 -188
- package/types/Capital/FinancingOffersResource.d.ts +0 -97
- package/types/Capital/FinancingSummary.d.ts +0 -106
- package/types/Capital/FinancingSummaryResource.d.ts +0 -27
- package/types/Capital/FinancingTransactions.d.ts +0 -135
- package/types/Capital/FinancingTransactionsResource.d.ts +0 -68
- package/types/ExternalAccountsResource.d.ts +0 -304
- package/types/FinancialConnections/AccountInferredBalances.d.ts +0 -38
- package/types/FinancialConnections/Institutions.d.ts +0 -98
- package/types/FinancialConnections/InstitutionsResource.d.ts +0 -47
- package/types/FxQuotes.d.ts +0 -155
- package/types/FxQuotesResource.d.ts +0 -130
- package/types/Issuing/CreditUnderwritingRecords.d.ts +0 -451
- package/types/Issuing/CreditUnderwritingRecordsResource.d.ts +0 -1032
- package/types/Issuing/DisputeSettlementDetails.d.ts +0 -85
- package/types/Issuing/DisputeSettlementDetailsResource.d.ts +0 -52
- package/types/Issuing/FraudLiabilityDebits.d.ts +0 -52
- package/types/Issuing/FraudLiabilityDebitsResource.d.ts +0 -52
- package/types/Issuing/Settlements.d.ts +0 -113
- package/types/Margins.d.ts +0 -56
- package/types/MarginsResource.d.ts +0 -114
- package/types/Orders.d.ts +0 -1163
- package/types/OrdersResource.d.ts +0 -3139
- package/types/Privacy/RedactionJobValidationErrors.d.ts +0 -60
- package/types/Privacy/RedactionJobs.d.ts +0 -111
- package/types/Privacy/RedactionJobsResource.d.ts +0 -230
- package/types/QuoteLines.d.ts +0 -634
- package/types/QuotePreviewInvoices.d.ts +0 -1770
- package/types/QuotePreviewSubscriptionSchedules.d.ts +0 -908
- package/types/Tax/Associations.d.ts +0 -82
- package/types/Tax/AssociationsResource.d.ts +0 -29
- package/types/Tax/Forms.d.ts +0 -220
- package/types/Tax/FormsResource.d.ts +0 -107
- package/types/Terminal/OnboardingLinks.d.ts +0 -57
- package/types/Terminal/OnboardingLinksResource.d.ts +0 -62
- package/types/Terminal/ReaderCollectedData.d.ts +0 -51
- package/types/Terminal/ReaderCollectedDataResource.d.ts +0 -29
- package/types/V2/Billing/BillSettingVersions.d.ts +0 -97
- package/types/V2/Billing/BillSettings/VersionsResource.d.ts +0 -58
- package/types/V2/Billing/BillSettings.d.ts +0 -120
- package/types/V2/Billing/BillSettingsResource.d.ts +0 -241
- package/types/V2/Billing/Cadences.d.ts +0 -686
- package/types/V2/Billing/CadencesResource.d.ts +0 -487
- package/types/V2/Billing/CollectionSettingVersions.d.ts +0 -314
- package/types/V2/Billing/CollectionSettings/VersionsResource.d.ts +0 -62
- package/types/V2/Billing/CollectionSettings.d.ts +0 -337
- package/types/V2/Billing/CollectionSettingsResource.d.ts +0 -675
- package/types/V2/Billing/Profiles.d.ts +0 -70
- package/types/V2/Billing/ProfilesResource.d.ts +0 -150
- package/types/V2/Core/AccountLinks.d.ts +0 -168
- package/types/V2/Core/AccountLinksResource.d.ts +0 -152
- package/types/V2/Core/AccountPersons.d.ts +0 -615
- package/types/V2/Core/Accounts/PersonsResource.d.ts +0 -1153
- package/types/V2/Core/Accounts.d.ts +0 -5919
- package/types/V2/Core/AccountsResource.d.ts +0 -4999
- package/types/V2/Core/Vault/GbBankAccounts.d.ts +0 -160
- package/types/V2/Core/Vault/GbBankAccountsResource.d.ts +0 -172
- package/types/V2/Core/Vault/UsBankAccounts.d.ts +0 -70
- package/types/V2/Core/Vault/UsBankAccountsResource.d.ts +0 -123
- package/types/V2/FinancialAddressCreditSimulations.d.ts +0 -27
- package/types/V2/FinancialAddressGeneratedMicrodeposits.d.ts +0 -32
- package/types/V2/MoneyManagement/Adjustments.d.ts +0 -110
- package/types/V2/MoneyManagement/AdjustmentsResource.d.ts +0 -83
- package/types/V2/MoneyManagement/FinancialAccounts.d.ts +0 -148
- package/types/V2/MoneyManagement/FinancialAccountsResource.d.ts +0 -147
- package/types/V2/MoneyManagement/FinancialAddresses.d.ts +0 -178
- package/types/V2/MoneyManagement/FinancialAddressesResource.d.ts +0 -112
- package/types/V2/MoneyManagement/InboundTransfers.d.ts +0 -206
- package/types/V2/MoneyManagement/InboundTransfersResource.d.ts +0 -144
- package/types/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +0 -170
- package/types/V2/MoneyManagement/OutboundPaymentQuotesResource.d.ts +0 -115
- package/types/V2/MoneyManagement/OutboundPayments.d.ts +0 -278
- package/types/V2/MoneyManagement/OutboundPaymentsResource.d.ts +0 -242
- package/types/V2/MoneyManagement/OutboundSetupIntents.d.ts +0 -97
- package/types/V2/MoneyManagement/OutboundSetupIntentsResource.d.ts +0 -296
- package/types/V2/MoneyManagement/OutboundTransfers.d.ts +0 -251
- package/types/V2/MoneyManagement/OutboundTransfersResource.d.ts +0 -208
- package/types/V2/MoneyManagement/PayoutMethods.d.ts +0 -160
- package/types/V2/MoneyManagement/PayoutMethodsBankAccountSpec.d.ts +0 -93
- package/types/V2/MoneyManagement/PayoutMethodsBankAccountSpecResource.d.ts +0 -41
- package/types/V2/MoneyManagement/PayoutMethodsResource.d.ts +0 -113
- package/types/V2/MoneyManagement/ReceivedCredits.d.ts +0 -302
- package/types/V2/MoneyManagement/ReceivedCreditsResource.d.ts +0 -78
- package/types/V2/MoneyManagement/ReceivedDebits.d.ts +0 -176
- package/types/V2/MoneyManagement/ReceivedDebitsResource.d.ts +0 -48
- package/types/V2/MoneyManagement/TransactionEntries.d.ts +0 -162
- package/types/V2/MoneyManagement/TransactionEntriesResource.d.ts +0 -82
- package/types/V2/MoneyManagement/Transactions.d.ts +0 -177
- package/types/V2/MoneyManagement/TransactionsResource.d.ts +0 -83
- package/types/V2/Payments/OffSessionPayments.d.ts +0 -326
- package/types/V2/Payments/OffSessionPaymentsResource.d.ts +0 -401
- package/types/V2/TestHelpers/FinancialAddressesResource.d.ts +0 -68
|
@@ -234,6 +234,8 @@ declare module 'stripe' {
|
|
|
234
234
|
|
|
235
235
|
tr?: CountryOptions.Tr;
|
|
236
236
|
|
|
237
|
+
tw?: CountryOptions.Tw;
|
|
238
|
+
|
|
237
239
|
tz?: CountryOptions.Tz;
|
|
238
240
|
|
|
239
241
|
ua?: CountryOptions.Ua;
|
|
@@ -1552,6 +1554,13 @@ declare module 'stripe' {
|
|
|
1552
1554
|
type: 'simplified';
|
|
1553
1555
|
}
|
|
1554
1556
|
|
|
1557
|
+
interface Tw {
|
|
1558
|
+
/**
|
|
1559
|
+
* Type of registration in `country`.
|
|
1560
|
+
*/
|
|
1561
|
+
type: 'simplified';
|
|
1562
|
+
}
|
|
1563
|
+
|
|
1555
1564
|
interface Tz {
|
|
1556
1565
|
/**
|
|
1557
1566
|
* Type of registration in `country`.
|
|
@@ -477,6 +477,11 @@ declare module 'stripe' {
|
|
|
477
477
|
*/
|
|
478
478
|
tr?: CountryOptions.Tr;
|
|
479
479
|
|
|
480
|
+
/**
|
|
481
|
+
* Options for the registration in TW.
|
|
482
|
+
*/
|
|
483
|
+
tw?: CountryOptions.Tw;
|
|
484
|
+
|
|
480
485
|
/**
|
|
481
486
|
* Options for the registration in TZ.
|
|
482
487
|
*/
|
|
@@ -2275,6 +2280,13 @@ declare module 'stripe' {
|
|
|
2275
2280
|
type: 'simplified';
|
|
2276
2281
|
}
|
|
2277
2282
|
|
|
2283
|
+
interface Tw {
|
|
2284
|
+
/**
|
|
2285
|
+
* Type of registration to be created in `country`.
|
|
2286
|
+
*/
|
|
2287
|
+
type: 'simplified';
|
|
2288
|
+
}
|
|
2289
|
+
|
|
2278
2290
|
interface Tz {
|
|
2279
2291
|
/**
|
|
2280
2292
|
* Type of registration to be created in `country`.
|
package/types/TaxIds.d.ts
CHANGED
|
@@ -54,11 +54,6 @@ declare module 'stripe' {
|
|
|
54
54
|
*/
|
|
55
55
|
customer: string | Stripe.Customer | null;
|
|
56
56
|
|
|
57
|
-
/**
|
|
58
|
-
* ID of the account.
|
|
59
|
-
*/
|
|
60
|
-
customer_account?: string | null;
|
|
61
|
-
|
|
62
57
|
/**
|
|
63
58
|
* Always true for a deleted object
|
|
64
59
|
*/
|
|
@@ -107,11 +102,6 @@ declare module 'stripe' {
|
|
|
107
102
|
*/
|
|
108
103
|
customer?: string | Stripe.Customer;
|
|
109
104
|
|
|
110
|
-
/**
|
|
111
|
-
* The account being referenced when `type` is `customer`.
|
|
112
|
-
*/
|
|
113
|
-
customer_account?: string | null;
|
|
114
|
-
|
|
115
105
|
/**
|
|
116
106
|
* Type of owner referenced.
|
|
117
107
|
*/
|
|
@@ -36,11 +36,6 @@ declare module 'stripe' {
|
|
|
36
36
|
*/
|
|
37
37
|
customer?: string;
|
|
38
38
|
|
|
39
|
-
/**
|
|
40
|
-
* v2 Account the tax ID belongs to. Can be used in place of `customer` when `type=customer`
|
|
41
|
-
*/
|
|
42
|
-
customer_account?: string;
|
|
43
|
-
|
|
44
39
|
/**
|
|
45
40
|
* Type of owner referenced.
|
|
46
41
|
*/
|
|
@@ -195,11 +190,6 @@ declare module 'stripe' {
|
|
|
195
190
|
*/
|
|
196
191
|
customer?: string;
|
|
197
192
|
|
|
198
|
-
/**
|
|
199
|
-
* v2 Account the tax ID belongs to. Can be used in place of `customer` when `type=customer`
|
|
200
|
-
*/
|
|
201
|
-
customer_account?: string;
|
|
202
|
-
|
|
203
193
|
/**
|
|
204
194
|
* Type of owner referenced.
|
|
205
195
|
*/
|
|
@@ -44,8 +44,6 @@ declare module 'stripe' {
|
|
|
44
44
|
|
|
45
45
|
offline?: Configuration.Offline;
|
|
46
46
|
|
|
47
|
-
reader_security?: Configuration.ReaderSecurity;
|
|
48
|
-
|
|
49
47
|
reboot_window?: Configuration.RebootWindow;
|
|
50
48
|
|
|
51
49
|
stripe_s700?: Configuration.StripeS700;
|
|
@@ -79,13 +77,6 @@ declare module 'stripe' {
|
|
|
79
77
|
enabled: boolean | null;
|
|
80
78
|
}
|
|
81
79
|
|
|
82
|
-
interface ReaderSecurity {
|
|
83
|
-
/**
|
|
84
|
-
* Passcode used to access a reader's admin menu.
|
|
85
|
-
*/
|
|
86
|
-
admin_menu_passcode: string;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
80
|
interface RebootWindow {
|
|
90
81
|
/**
|
|
91
82
|
* Integer between 0 to 23 that represents the end hour of the reboot time window. The value must be different than the start_hour.
|
|
@@ -124,6 +115,8 @@ declare module 'stripe' {
|
|
|
124
115
|
|
|
125
116
|
gbp?: Tipping.Gbp;
|
|
126
117
|
|
|
118
|
+
gip?: Tipping.Gip;
|
|
119
|
+
|
|
127
120
|
hkd?: Tipping.Hkd;
|
|
128
121
|
|
|
129
122
|
huf?: Tipping.Huf;
|
|
@@ -303,6 +296,23 @@ declare module 'stripe' {
|
|
|
303
296
|
smart_tip_threshold?: number;
|
|
304
297
|
}
|
|
305
298
|
|
|
299
|
+
interface Gip {
|
|
300
|
+
/**
|
|
301
|
+
* Fixed amounts displayed when collecting a tip
|
|
302
|
+
*/
|
|
303
|
+
fixed_amounts?: Array<number> | null;
|
|
304
|
+
|
|
305
|
+
/**
|
|
306
|
+
* Percentages displayed when collecting a tip
|
|
307
|
+
*/
|
|
308
|
+
percentages?: Array<number> | null;
|
|
309
|
+
|
|
310
|
+
/**
|
|
311
|
+
* Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
|
312
|
+
*/
|
|
313
|
+
smart_tip_threshold?: number;
|
|
314
|
+
}
|
|
315
|
+
|
|
306
316
|
interface Hkd {
|
|
307
317
|
/**
|
|
308
318
|
* Fixed amounts displayed when collecting a tip
|
|
@@ -29,13 +29,6 @@ declare module 'stripe' {
|
|
|
29
29
|
*/
|
|
30
30
|
offline?: Stripe.Emptyable<ConfigurationCreateParams.Offline>;
|
|
31
31
|
|
|
32
|
-
/**
|
|
33
|
-
* Configurations for reader security settings.
|
|
34
|
-
*/
|
|
35
|
-
reader_security?: Stripe.Emptyable<
|
|
36
|
-
ConfigurationCreateParams.ReaderSecurity
|
|
37
|
-
>;
|
|
38
|
-
|
|
39
32
|
/**
|
|
40
33
|
* Reboot time settings for readers that support customized reboot time configuration.
|
|
41
34
|
*/
|
|
@@ -84,13 +77,6 @@ declare module 'stripe' {
|
|
|
84
77
|
enabled: boolean;
|
|
85
78
|
}
|
|
86
79
|
|
|
87
|
-
interface ReaderSecurity {
|
|
88
|
-
/**
|
|
89
|
-
* Passcode used to access a reader's admin menu.
|
|
90
|
-
*/
|
|
91
|
-
admin_menu_passcode?: Stripe.Emptyable<string>;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
80
|
interface RebootWindow {
|
|
95
81
|
/**
|
|
96
82
|
* Integer between 0 to 23 that represents the end hour of the reboot time window. The value must be different than the start_hour.
|
|
@@ -156,6 +142,11 @@ declare module 'stripe' {
|
|
|
156
142
|
*/
|
|
157
143
|
gbp?: Tipping.Gbp;
|
|
158
144
|
|
|
145
|
+
/**
|
|
146
|
+
* Tipping configuration for GIP
|
|
147
|
+
*/
|
|
148
|
+
gip?: Tipping.Gip;
|
|
149
|
+
|
|
159
150
|
/**
|
|
160
151
|
* Tipping configuration for HKD
|
|
161
152
|
*/
|
|
@@ -371,6 +362,23 @@ declare module 'stripe' {
|
|
|
371
362
|
smart_tip_threshold?: number;
|
|
372
363
|
}
|
|
373
364
|
|
|
365
|
+
interface Gip {
|
|
366
|
+
/**
|
|
367
|
+
* Fixed amounts displayed when collecting a tip
|
|
368
|
+
*/
|
|
369
|
+
fixed_amounts?: Array<number>;
|
|
370
|
+
|
|
371
|
+
/**
|
|
372
|
+
* Percentages displayed when collecting a tip
|
|
373
|
+
*/
|
|
374
|
+
percentages?: Array<number>;
|
|
375
|
+
|
|
376
|
+
/**
|
|
377
|
+
* Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
|
378
|
+
*/
|
|
379
|
+
smart_tip_threshold?: number;
|
|
380
|
+
}
|
|
381
|
+
|
|
374
382
|
interface Hkd {
|
|
375
383
|
/**
|
|
376
384
|
* Fixed amounts displayed when collecting a tip
|
|
@@ -711,13 +719,6 @@ declare module 'stripe' {
|
|
|
711
719
|
*/
|
|
712
720
|
offline?: Stripe.Emptyable<ConfigurationUpdateParams.Offline>;
|
|
713
721
|
|
|
714
|
-
/**
|
|
715
|
-
* Configurations for reader security settings.
|
|
716
|
-
*/
|
|
717
|
-
reader_security?: Stripe.Emptyable<
|
|
718
|
-
ConfigurationUpdateParams.ReaderSecurity
|
|
719
|
-
>;
|
|
720
|
-
|
|
721
722
|
/**
|
|
722
723
|
* Reboot time settings for readers that support customized reboot time configuration.
|
|
723
724
|
*/
|
|
@@ -770,13 +771,6 @@ declare module 'stripe' {
|
|
|
770
771
|
enabled: boolean;
|
|
771
772
|
}
|
|
772
773
|
|
|
773
|
-
interface ReaderSecurity {
|
|
774
|
-
/**
|
|
775
|
-
* Passcode used to access a reader's admin menu.
|
|
776
|
-
*/
|
|
777
|
-
admin_menu_passcode?: Stripe.Emptyable<string>;
|
|
778
|
-
}
|
|
779
|
-
|
|
780
774
|
interface RebootWindow {
|
|
781
775
|
/**
|
|
782
776
|
* Integer between 0 to 23 that represents the end hour of the reboot time window. The value must be different than the start_hour.
|
|
@@ -842,6 +836,11 @@ declare module 'stripe' {
|
|
|
842
836
|
*/
|
|
843
837
|
gbp?: Tipping.Gbp;
|
|
844
838
|
|
|
839
|
+
/**
|
|
840
|
+
* Tipping configuration for GIP
|
|
841
|
+
*/
|
|
842
|
+
gip?: Tipping.Gip;
|
|
843
|
+
|
|
845
844
|
/**
|
|
846
845
|
* Tipping configuration for HKD
|
|
847
846
|
*/
|
|
@@ -1057,6 +1056,23 @@ declare module 'stripe' {
|
|
|
1057
1056
|
smart_tip_threshold?: number;
|
|
1058
1057
|
}
|
|
1059
1058
|
|
|
1059
|
+
interface Gip {
|
|
1060
|
+
/**
|
|
1061
|
+
* Fixed amounts displayed when collecting a tip
|
|
1062
|
+
*/
|
|
1063
|
+
fixed_amounts?: Array<number>;
|
|
1064
|
+
|
|
1065
|
+
/**
|
|
1066
|
+
* Percentages displayed when collecting a tip
|
|
1067
|
+
*/
|
|
1068
|
+
percentages?: Array<number>;
|
|
1069
|
+
|
|
1070
|
+
/**
|
|
1071
|
+
* Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
|
1072
|
+
*/
|
|
1073
|
+
smart_tip_threshold?: number;
|
|
1074
|
+
}
|
|
1075
|
+
|
|
1060
1076
|
interface Hkd {
|
|
1061
1077
|
/**
|
|
1062
1078
|
* Fixed amounts displayed when collecting a tip
|
|
@@ -69,6 +69,11 @@ declare module 'stripe' {
|
|
|
69
69
|
*/
|
|
70
70
|
label: string;
|
|
71
71
|
|
|
72
|
+
/**
|
|
73
|
+
* The last time this reader reported to Stripe backend.
|
|
74
|
+
*/
|
|
75
|
+
last_seen_at: number | null;
|
|
76
|
+
|
|
72
77
|
/**
|
|
73
78
|
* Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
|
74
79
|
*/
|
|
@@ -288,17 +293,17 @@ declare module 'stripe' {
|
|
|
288
293
|
namespace Selection {
|
|
289
294
|
interface Choice {
|
|
290
295
|
/**
|
|
291
|
-
* The
|
|
296
|
+
* The identifier for the selected choice. Maximum 50 characters.
|
|
292
297
|
*/
|
|
293
298
|
id: string | null;
|
|
294
299
|
|
|
295
300
|
/**
|
|
296
|
-
* The button style for the choice
|
|
301
|
+
* The button style for the choice. Can be `primary` or `secondary`.
|
|
297
302
|
*/
|
|
298
303
|
style: Choice.Style | null;
|
|
299
304
|
|
|
300
305
|
/**
|
|
301
|
-
* The text to be selected
|
|
306
|
+
* The text to be selected. Maximum 30 characters.
|
|
302
307
|
*/
|
|
303
308
|
text: string;
|
|
304
309
|
}
|
|
@@ -324,22 +329,22 @@ declare module 'stripe' {
|
|
|
324
329
|
|
|
325
330
|
interface Toggle {
|
|
326
331
|
/**
|
|
327
|
-
* The toggle's default value
|
|
332
|
+
* The toggle's default value. Can be `enabled` or `disabled`.
|
|
328
333
|
*/
|
|
329
334
|
default_value: Toggle.DefaultValue | null;
|
|
330
335
|
|
|
331
336
|
/**
|
|
332
|
-
* The toggle's description text
|
|
337
|
+
* The toggle's description text. Maximum 50 characters.
|
|
333
338
|
*/
|
|
334
339
|
description: string | null;
|
|
335
340
|
|
|
336
341
|
/**
|
|
337
|
-
* The toggle's title text
|
|
342
|
+
* The toggle's title text. Maximum 50 characters.
|
|
338
343
|
*/
|
|
339
344
|
title: string | null;
|
|
340
345
|
|
|
341
346
|
/**
|
|
342
|
-
* The toggle's collected value
|
|
347
|
+
* The toggle's collected value. Can be `enabled` or `disabled`.
|
|
343
348
|
*/
|
|
344
349
|
value: Toggle.Value | null;
|
|
345
350
|
}
|
|
@@ -361,11 +366,6 @@ declare module 'stripe' {
|
|
|
361
366
|
}
|
|
362
367
|
|
|
363
368
|
interface CollectPaymentMethod {
|
|
364
|
-
/**
|
|
365
|
-
* Account the payment intent belongs to.
|
|
366
|
-
*/
|
|
367
|
-
account?: string;
|
|
368
|
-
|
|
369
369
|
/**
|
|
370
370
|
* Represents a per-transaction override of a reader configuration
|
|
371
371
|
*/
|
|
@@ -415,11 +415,6 @@ declare module 'stripe' {
|
|
|
415
415
|
}
|
|
416
416
|
|
|
417
417
|
interface ConfirmPaymentIntent {
|
|
418
|
-
/**
|
|
419
|
-
* Account the payment intent belongs to.
|
|
420
|
-
*/
|
|
421
|
-
account?: string;
|
|
422
|
-
|
|
423
418
|
/**
|
|
424
419
|
* Represents a per-transaction override of a reader configuration
|
|
425
420
|
*/
|
|
@@ -441,11 +436,6 @@ declare module 'stripe' {
|
|
|
441
436
|
}
|
|
442
437
|
|
|
443
438
|
interface ProcessPaymentIntent {
|
|
444
|
-
/**
|
|
445
|
-
* Account the payment intent belongs to.
|
|
446
|
-
*/
|
|
447
|
-
account?: string;
|
|
448
|
-
|
|
449
439
|
/**
|
|
450
440
|
* Most recent PaymentIntent processed by the reader.
|
|
451
441
|
*/
|
|
@@ -517,11 +507,6 @@ declare module 'stripe' {
|
|
|
517
507
|
}
|
|
518
508
|
|
|
519
509
|
interface RefundPayment {
|
|
520
|
-
/**
|
|
521
|
-
* Account the payment intent belongs to.
|
|
522
|
-
*/
|
|
523
|
-
account?: string;
|
|
524
|
-
|
|
525
510
|
/**
|
|
526
511
|
* The amount being refunded.
|
|
527
512
|
*/
|
|
@@ -581,12 +566,12 @@ declare module 'stripe' {
|
|
|
581
566
|
|
|
582
567
|
interface SetReaderDisplay {
|
|
583
568
|
/**
|
|
584
|
-
* Cart object to be displayed by the reader.
|
|
569
|
+
* Cart object to be displayed by the reader, including line items, amounts, and currency.
|
|
585
570
|
*/
|
|
586
571
|
cart: SetReaderDisplay.Cart | null;
|
|
587
572
|
|
|
588
573
|
/**
|
|
589
|
-
* Type of information to be displayed by the reader.
|
|
574
|
+
* Type of information to be displayed by the reader. Only `cart` is currently supported.
|
|
590
575
|
*/
|
|
591
576
|
type: 'cart';
|
|
592
577
|
}
|
|
@@ -107,7 +107,7 @@ declare module 'stripe' {
|
|
|
107
107
|
|
|
108
108
|
interface ReaderCollectInputsParams {
|
|
109
109
|
/**
|
|
110
|
-
* List of inputs to be collected using the Reader
|
|
110
|
+
* List of inputs to be collected from the customer using the Reader. Maximum 5 inputs.
|
|
111
111
|
*/
|
|
112
112
|
inputs: Array<ReaderCollectInputsParams.Input>;
|
|
113
113
|
|
|
@@ -158,12 +158,12 @@ declare module 'stripe' {
|
|
|
158
158
|
description?: string;
|
|
159
159
|
|
|
160
160
|
/**
|
|
161
|
-
*
|
|
161
|
+
* Custom text for the skip button. Maximum 14 characters.
|
|
162
162
|
*/
|
|
163
163
|
skip_button?: string;
|
|
164
164
|
|
|
165
165
|
/**
|
|
166
|
-
*
|
|
166
|
+
* Custom text for the submit button. Maximum 30 characters.
|
|
167
167
|
*/
|
|
168
168
|
submit_button?: string;
|
|
169
169
|
|
|
@@ -188,7 +188,7 @@ declare module 'stripe' {
|
|
|
188
188
|
id: string;
|
|
189
189
|
|
|
190
190
|
/**
|
|
191
|
-
* The style of the button which will be shown for this choice
|
|
191
|
+
* The style of the button which will be shown for this choice. Can be `primary` or `secondary`.
|
|
192
192
|
*/
|
|
193
193
|
style?: Choice.Style;
|
|
194
194
|
|
|
@@ -205,17 +205,17 @@ declare module 'stripe' {
|
|
|
205
205
|
|
|
206
206
|
interface Toggle {
|
|
207
207
|
/**
|
|
208
|
-
* The default value of the toggle
|
|
208
|
+
* The default value of the toggle. Can be `enabled` or `disabled`.
|
|
209
209
|
*/
|
|
210
210
|
default_value?: Toggle.DefaultValue;
|
|
211
211
|
|
|
212
212
|
/**
|
|
213
|
-
* The description which will be displayed for the toggle
|
|
213
|
+
* The description which will be displayed for the toggle. Maximum 50 characters. At least one of title or description must be provided.
|
|
214
214
|
*/
|
|
215
215
|
description?: string;
|
|
216
216
|
|
|
217
217
|
/**
|
|
218
|
-
* The title which will be displayed for the toggle
|
|
218
|
+
* The title which will be displayed for the toggle. Maximum 50 characters. At least one of title or description must be provided.
|
|
219
219
|
*/
|
|
220
220
|
title?: string;
|
|
221
221
|
}
|
|
@@ -236,12 +236,12 @@ declare module 'stripe' {
|
|
|
236
236
|
|
|
237
237
|
interface ReaderCollectPaymentMethodParams {
|
|
238
238
|
/**
|
|
239
|
-
* PaymentIntent
|
|
239
|
+
* The ID of the PaymentIntent to collect a payment method for.
|
|
240
240
|
*/
|
|
241
241
|
payment_intent: string;
|
|
242
242
|
|
|
243
243
|
/**
|
|
244
|
-
* Configuration overrides.
|
|
244
|
+
* Configuration overrides for this collection, such as tipping, surcharging, and customer cancellation settings.
|
|
245
245
|
*/
|
|
246
246
|
collect_config?: ReaderCollectPaymentMethodParams.CollectConfig;
|
|
247
247
|
|
|
@@ -288,12 +288,12 @@ declare module 'stripe' {
|
|
|
288
288
|
|
|
289
289
|
interface ReaderConfirmPaymentIntentParams {
|
|
290
290
|
/**
|
|
291
|
-
* PaymentIntent
|
|
291
|
+
* The ID of the PaymentIntent to confirm.
|
|
292
292
|
*/
|
|
293
293
|
payment_intent: string;
|
|
294
294
|
|
|
295
295
|
/**
|
|
296
|
-
* Configuration overrides.
|
|
296
|
+
* Configuration overrides for this confirmation, such as surcharge settings and return URL.
|
|
297
297
|
*/
|
|
298
298
|
confirm_config?: ReaderConfirmPaymentIntentParams.ConfirmConfig;
|
|
299
299
|
|
|
@@ -314,7 +314,7 @@ declare module 'stripe' {
|
|
|
314
314
|
|
|
315
315
|
interface ReaderProcessPaymentIntentParams {
|
|
316
316
|
/**
|
|
317
|
-
* PaymentIntent
|
|
317
|
+
* The ID of the PaymentIntent to process on the reader.
|
|
318
318
|
*/
|
|
319
319
|
payment_intent: string;
|
|
320
320
|
|
|
@@ -324,7 +324,7 @@ declare module 'stripe' {
|
|
|
324
324
|
expand?: Array<string>;
|
|
325
325
|
|
|
326
326
|
/**
|
|
327
|
-
* Configuration overrides
|
|
327
|
+
* Configuration overrides for this transaction, such as tipping and customer cancellation settings.
|
|
328
328
|
*/
|
|
329
329
|
process_config?: ReaderProcessPaymentIntentParams.ProcessConfig;
|
|
330
330
|
}
|
|
@@ -376,7 +376,7 @@ declare module 'stripe' {
|
|
|
376
376
|
allow_redisplay: ReaderProcessSetupIntentParams.AllowRedisplay;
|
|
377
377
|
|
|
378
378
|
/**
|
|
379
|
-
* SetupIntent
|
|
379
|
+
* The ID of the SetupIntent to process on the reader.
|
|
380
380
|
*/
|
|
381
381
|
setup_intent: string;
|
|
382
382
|
|
|
@@ -386,7 +386,7 @@ declare module 'stripe' {
|
|
|
386
386
|
expand?: Array<string>;
|
|
387
387
|
|
|
388
388
|
/**
|
|
389
|
-
* Configuration overrides
|
|
389
|
+
* Configuration overrides for this setup, such as MOTO and customer cancellation settings.
|
|
390
390
|
*/
|
|
391
391
|
process_config?: ReaderProcessSetupIntentParams.ProcessConfig;
|
|
392
392
|
}
|
|
@@ -434,7 +434,7 @@ declare module 'stripe' {
|
|
|
434
434
|
refund_application_fee?: boolean;
|
|
435
435
|
|
|
436
436
|
/**
|
|
437
|
-
* Configuration overrides
|
|
437
|
+
* Configuration overrides for this refund, such as customer cancellation settings.
|
|
438
438
|
*/
|
|
439
439
|
refund_payment_config?: ReaderRefundPaymentParams.RefundPaymentConfig;
|
|
440
440
|
|
|
@@ -455,12 +455,12 @@ declare module 'stripe' {
|
|
|
455
455
|
|
|
456
456
|
interface ReaderSetReaderDisplayParams {
|
|
457
457
|
/**
|
|
458
|
-
* Type
|
|
458
|
+
* Type of information to display. Only `cart` is currently supported.
|
|
459
459
|
*/
|
|
460
460
|
type: 'cart';
|
|
461
461
|
|
|
462
462
|
/**
|
|
463
|
-
* Cart
|
|
463
|
+
* Cart details to display on the reader screen, including line items, amounts, and currency.
|
|
464
464
|
*/
|
|
465
465
|
cart?: ReaderSetReaderDisplayParams.Cart;
|
|
466
466
|
|
|
@@ -478,17 +478,17 @@ declare module 'stripe' {
|
|
|
478
478
|
currency: string;
|
|
479
479
|
|
|
480
480
|
/**
|
|
481
|
-
* Array of line items
|
|
481
|
+
* Array of line items to display.
|
|
482
482
|
*/
|
|
483
483
|
line_items: Array<Cart.LineItem>;
|
|
484
484
|
|
|
485
485
|
/**
|
|
486
|
-
* The amount of tax in
|
|
486
|
+
* The amount of tax in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal).
|
|
487
487
|
*/
|
|
488
488
|
tax?: number;
|
|
489
489
|
|
|
490
490
|
/**
|
|
491
|
-
* Total balance of cart due in
|
|
491
|
+
* Total balance of cart due in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal).
|
|
492
492
|
*/
|
|
493
493
|
total: number;
|
|
494
494
|
}
|
|
@@ -496,7 +496,7 @@ declare module 'stripe' {
|
|
|
496
496
|
namespace Cart {
|
|
497
497
|
interface LineItem {
|
|
498
498
|
/**
|
|
499
|
-
* The price of the item in
|
|
499
|
+
* The price of the item in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal).
|
|
500
500
|
*/
|
|
501
501
|
amount: number;
|
|
502
502
|
|
|
@@ -579,7 +579,7 @@ declare module 'stripe' {
|
|
|
579
579
|
): Promise<Stripe.Response<Stripe.Terminal.DeletedReader>>;
|
|
580
580
|
|
|
581
581
|
/**
|
|
582
|
-
* Cancels the current reader action.
|
|
582
|
+
* Cancels the current reader action. See [Programmatic Cancellation](https://docs.stripe.com/docs/terminal/payments/collect-card-payment?terminal-sdk-platform=server-driven#programmatic-cancellation) for more details.
|
|
583
583
|
*/
|
|
584
584
|
cancelAction(
|
|
585
585
|
id: string,
|
|
@@ -592,7 +592,7 @@ declare module 'stripe' {
|
|
|
592
592
|
): Promise<Stripe.Response<Stripe.Terminal.Reader>>;
|
|
593
593
|
|
|
594
594
|
/**
|
|
595
|
-
* Initiates an input collection flow on a Reader.
|
|
595
|
+
* Initiates an [input collection flow](https://docs.stripe.com/docs/terminal/features/collect-inputs) on a Reader to display input forms and collect information from your customers.
|
|
596
596
|
*/
|
|
597
597
|
collectInputs(
|
|
598
598
|
id: string,
|
|
@@ -601,7 +601,7 @@ declare module 'stripe' {
|
|
|
601
601
|
): Promise<Stripe.Response<Stripe.Terminal.Reader>>;
|
|
602
602
|
|
|
603
603
|
/**
|
|
604
|
-
* Initiates a payment flow on a Reader and updates the PaymentIntent with card details before manual confirmation.
|
|
604
|
+
* Initiates a payment flow on a Reader and updates the PaymentIntent with card details before manual confirmation. See [Collecting a Payment method](https://docs.stripe.com/docs/terminal/payments/collect-card-payment?terminal-sdk-platform=server-driven&process=inspect#collect-a-paymentmethod) for more details.
|
|
605
605
|
*/
|
|
606
606
|
collectPaymentMethod(
|
|
607
607
|
id: string,
|
|
@@ -610,7 +610,7 @@ declare module 'stripe' {
|
|
|
610
610
|
): Promise<Stripe.Response<Stripe.Terminal.Reader>>;
|
|
611
611
|
|
|
612
612
|
/**
|
|
613
|
-
* Finalizes a payment on a Reader.
|
|
613
|
+
* Finalizes a payment on a Reader. See [Confirming a Payment](https://docs.stripe.com/docs/terminal/payments/collect-card-payment?terminal-sdk-platform=server-driven&process=inspect#confirm-the-paymentintent) for more details.
|
|
614
614
|
*/
|
|
615
615
|
confirmPaymentIntent(
|
|
616
616
|
id: string,
|
|
@@ -619,7 +619,7 @@ declare module 'stripe' {
|
|
|
619
619
|
): Promise<Stripe.Response<Stripe.Terminal.Reader>>;
|
|
620
620
|
|
|
621
621
|
/**
|
|
622
|
-
* Initiates a payment flow on a Reader.
|
|
622
|
+
* Initiates a payment flow on a Reader. See [process the payment](https://docs.stripe.com/docs/terminal/payments/collect-card-payment?terminal-sdk-platform=server-driven&process=immediately#process-payment) for more details.
|
|
623
623
|
*/
|
|
624
624
|
processPaymentIntent(
|
|
625
625
|
id: string,
|
|
@@ -628,7 +628,7 @@ declare module 'stripe' {
|
|
|
628
628
|
): Promise<Stripe.Response<Stripe.Terminal.Reader>>;
|
|
629
629
|
|
|
630
630
|
/**
|
|
631
|
-
* Initiates a
|
|
631
|
+
* Initiates a SetupIntent flow on a Reader. See [Save directly without charging](https://docs.stripe.com/docs/terminal/features/saving-payment-details/save-directly) for more details.
|
|
632
632
|
*/
|
|
633
633
|
processSetupIntent(
|
|
634
634
|
id: string,
|
|
@@ -637,7 +637,7 @@ declare module 'stripe' {
|
|
|
637
637
|
): Promise<Stripe.Response<Stripe.Terminal.Reader>>;
|
|
638
638
|
|
|
639
639
|
/**
|
|
640
|
-
* Initiates
|
|
640
|
+
* Initiates an in-person refund on a Reader. See [Refund an Interac Payment](https://docs.stripe.com/docs/terminal/payments/regional?integration-country=CA#refund-an-interac-payment) for more details.
|
|
641
641
|
*/
|
|
642
642
|
refundPayment(
|
|
643
643
|
id: string,
|
|
@@ -650,7 +650,7 @@ declare module 'stripe' {
|
|
|
650
650
|
): Promise<Stripe.Response<Stripe.Terminal.Reader>>;
|
|
651
651
|
|
|
652
652
|
/**
|
|
653
|
-
* Sets reader display to show cart details.
|
|
653
|
+
* Sets the reader display to show [cart details](https://docs.stripe.com/docs/terminal/features/display).
|
|
654
654
|
*/
|
|
655
655
|
setReaderDisplay(
|
|
656
656
|
id: string,
|