stripe 18.2.0-beta.1 → 18.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 +183 -1211
- package/OPENAPI_VERSION +1 -1
- package/README.md +11 -12
- package/VERSION +1 -1
- package/cjs/Error.js +1 -91
- package/cjs/RequestSender.js +3 -3
- package/cjs/StripeResource.js +1 -1
- package/cjs/apiVersion.js +1 -1
- package/cjs/resources/FinancialConnections/Accounts.js +0 -5
- package/cjs/resources/{PaymentAttemptRecords.js → InvoicePayments.js} +4 -4
- package/cjs/resources/PaymentIntents.js +0 -13
- package/cjs/resources/Quotes.js +0 -32
- package/cjs/resources/SubscriptionSchedules.js +0 -4
- package/cjs/resources/Terminal/Readers.js +0 -8
- package/cjs/resources.js +18 -108
- package/cjs/stripe.core.js +1 -1
- package/cjs/utils.js +5 -0
- package/esm/Error.js +0 -79
- package/esm/RequestSender.js +3 -3
- package/esm/StripeResource.js +1 -1
- package/esm/apiVersion.js +1 -1
- package/esm/resources/FinancialConnections/Accounts.js +0 -5
- package/esm/resources/{PaymentAttemptRecords.js → InvoicePayments.js} +3 -3
- package/esm/resources/PaymentIntents.js +0 -13
- package/esm/resources/Quotes.js +0 -32
- package/esm/resources/SubscriptionSchedules.js +0 -4
- package/esm/resources/Terminal/Readers.js +0 -8
- package/esm/resources.js +1 -84
- package/esm/stripe.core.js +1 -1
- package/esm/utils.js +5 -0
- package/package.json +1 -1
- package/types/AccountLinksResource.d.ts +1 -5
- package/types/AccountSessions.d.ts +52 -32
- package/types/AccountSessionsResource.d.ts +23 -246
- package/types/Accounts.d.ts +19 -223
- package/types/AccountsResource.d.ts +61 -581
- package/types/Balance.d.ts +83 -1
- package/types/BalanceResource.d.ts +1 -1
- package/types/BalanceTransactions.d.ts +10 -0
- package/types/BankAccounts.d.ts +3 -3
- package/types/Billing/Alerts.d.ts +1 -1
- package/types/Billing/AlertsResource.d.ts +2 -2
- 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 +1 -11
- package/types/BillingPortal/Sessions.d.ts +1 -6
- package/types/BillingPortal/SessionsResource.d.ts +4 -12
- package/types/Capabilities.d.ts +1 -1
- package/types/Cards.d.ts +2 -7
- package/types/CashBalances.d.ts +0 -5
- package/types/Charges.d.ts +20 -166
- package/types/ChargesResource.d.ts +4 -1318
- package/types/Checkout/Sessions.d.ts +120 -418
- package/types/Checkout/SessionsResource.d.ts +118 -448
- package/types/ConfirmationTokens.d.ts +4 -129
- package/types/CountrySpecs.d.ts +1 -1
- 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 +11 -10
- package/types/CreditNotesResource.d.ts +7 -13
- package/types/CustomerBalanceTransactions.d.ts +0 -2
- package/types/CustomerCashBalanceTransactions.d.ts +0 -2
- package/types/CustomerSessions.d.ts +3 -8
- package/types/CustomerSessionsResource.d.ts +1 -6
- package/types/Customers.d.ts +0 -2
- package/types/CustomersResource.d.ts +7 -15
- package/types/Discounts.d.ts +0 -10
- package/types/Disputes.d.ts +1 -1
- package/types/DisputesResource.d.ts +1 -1
- package/types/Errors.d.ts +2 -69
- package/types/EventTypes.d.ts +17 -698
- package/types/Events.d.ts +4 -99
- package/types/Files.d.ts +1 -1
- package/types/FilesResource.d.ts +1 -1
- package/types/FinancialConnections/Accounts.d.ts +1 -31
- package/types/FinancialConnections/AccountsResource.d.ts +3 -40
- package/types/FinancialConnections/Sessions.d.ts +1 -51
- package/types/FinancialConnections/SessionsResource.d.ts +1 -43
- package/types/Identity/VerificationReports.d.ts +17 -0
- package/types/Identity/VerificationSessions.d.ts +19 -7
- package/types/Identity/VerificationSessionsResource.d.ts +5 -12
- package/types/InvoiceItems.d.ts +1 -11
- package/types/InvoiceItemsResource.d.ts +6 -117
- package/types/InvoiceLineItems.d.ts +2 -46
- package/types/InvoicePayments.d.ts +9 -7
- package/types/InvoicePaymentsResource.d.ts +74 -0
- package/types/Invoices.d.ts +10 -142
- package/types/InvoicesResource.d.ts +66 -1469
- package/types/Issuing/AuthorizationsResource.d.ts +4 -4
- package/types/Issuing/CardholdersResource.d.ts +1 -2
- package/types/Issuing/CardsResource.d.ts +3 -0
- package/types/Issuing/DisputesResource.d.ts +2 -2
- package/types/Issuing/Transactions.d.ts +0 -5
- package/types/Issuing/TransactionsResource.d.ts +0 -5
- package/types/LineItems.d.ts +2 -51
- package/types/Mandates.d.ts +0 -77
- package/types/PaymentIntents.d.ts +145 -856
- package/types/PaymentIntentsResource.d.ts +4307 -8780
- package/types/PaymentLinks.d.ts +0 -6
- package/types/PaymentLinksResource.d.ts +0 -12
- package/types/PaymentMethodConfigurations.d.ts +70 -70
- package/types/PaymentMethodConfigurationsResource.d.ts +164 -164
- package/types/PaymentMethodDomainsResource.d.ts +1 -1
- package/types/PaymentMethods.d.ts +4 -129
- package/types/PaymentMethodsResource.d.ts +10 -175
- package/types/Payouts.d.ts +2 -7
- package/types/PayoutsResource.d.ts +2 -7
- package/types/Persons.d.ts +10 -10
- package/types/PlansResource.d.ts +1 -1
- package/types/Prices.d.ts +0 -22
- package/types/PricesResource.d.ts +2 -24
- package/types/Products.d.ts +0 -39
- package/types/ProductsResource.d.ts +1 -37
- package/types/PromotionCodes.d.ts +0 -5
- package/types/PromotionCodesResource.d.ts +1 -11
- package/types/Quotes.d.ts +7 -609
- package/types/QuotesResource.d.ts +224 -2578
- package/types/Radar/EarlyFraudWarningsResource.d.ts +1 -1
- package/types/Refunds.d.ts +6 -15
- package/types/Reviews.d.ts +1 -1
- package/types/SetupAttempts.d.ts +2 -50
- package/types/SetupIntents.d.ts +4 -122
- package/types/SetupIntentsResource.d.ts +6 -733
- package/types/Sources.d.ts +0 -29
- package/types/SourcesResource.d.ts +1 -1
- package/types/SubscriptionItems.d.ts +8 -17
- package/types/SubscriptionItemsResource.d.ts +28 -109
- package/types/SubscriptionSchedules.d.ts +47 -213
- package/types/SubscriptionSchedulesResource.d.ts +104 -1243
- package/types/Subscriptions.d.ts +16 -102
- package/types/SubscriptionsResource.d.ts +80 -407
- package/types/Tax/CalculationLineItems.d.ts +5 -0
- package/types/Tax/CalculationsResource.d.ts +5 -0
- package/types/Tax/RegistrationsResource.d.ts +1 -1
- package/types/TaxIds.d.ts +0 -10
- package/types/TaxIdsResource.d.ts +0 -10
- package/types/TaxRates.d.ts +2 -2
- package/types/Terminal/LocationsResource.d.ts +1 -1
- package/types/Terminal/Readers.d.ts +7 -89
- package/types/Terminal/ReadersResource.d.ts +6 -82
- package/types/TestHelpers/ConfirmationTokensResource.d.ts +0 -126
- package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +0 -26
- package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +0 -26
- package/types/Tokens.d.ts +3 -3
- package/types/TokensResource.d.ts +8 -8
- package/types/TransferReversals.d.ts +1 -1
- package/types/Transfers.d.ts +0 -5
- package/types/TransfersResource.d.ts +2 -7
- 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 +2 -28
- package/types/Treasury/ReceivedDebits.d.ts +0 -31
- package/types/V2/EventTypes.d.ts +1 -812
- package/types/WebhookEndpointsResource.d.ts +4 -83
- package/types/index.d.ts +5 -145
- package/types/lib.d.ts +1 -11
- package/types/test/typescriptTest.ts +3 -3
- package/cjs/resources/AccountNotices.js +0 -21
- package/cjs/resources/BalanceSettings.js +0 -10
- 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/GiftCards/Cards.js +0 -23
- package/cjs/resources/GiftCards/Transactions.js +0 -33
- 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/PaymentRecords.js +0 -29
- 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/ReaderCollectedData.js +0 -12
- 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 -17
- package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js +0 -21
- package/cjs/resources/V2/MoneyManagement/InboundTransfers.js +0 -21
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -16
- package/cjs/resources/V2/MoneyManagement/OutboundPayments.js +0 -25
- package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -29
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js +0 -25
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.js +0 -25
- package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +0 -12
- package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js +0 -17
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js +0 -17
- package/cjs/resources/V2/MoneyManagement/TransactionEntries.js +0 -17
- package/cjs/resources/V2/MoneyManagement/Transactions.js +0 -17
- package/cjs/resources/V2/TestHelpers/FinancialAddresses.js +0 -16
- package/esm/resources/AccountNotices.js +0 -18
- package/esm/resources/BalanceSettings.js +0 -7
- 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/GiftCards/Cards.js +0 -20
- package/esm/resources/GiftCards/Transactions.js +0 -30
- 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/PaymentRecords.js +0 -26
- 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/ReaderCollectedData.js +0 -9
- 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 -14
- package/esm/resources/V2/MoneyManagement/FinancialAddresses.js +0 -18
- package/esm/resources/V2/MoneyManagement/InboundTransfers.js +0 -18
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +0 -13
- package/esm/resources/V2/MoneyManagement/OutboundPayments.js +0 -22
- package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js +0 -26
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.js +0 -22
- package/esm/resources/V2/MoneyManagement/PayoutMethods.js +0 -22
- package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +0 -9
- package/esm/resources/V2/MoneyManagement/ReceivedCredits.js +0 -14
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.js +0 -14
- package/esm/resources/V2/MoneyManagement/TransactionEntries.js +0 -14
- package/esm/resources/V2/MoneyManagement/Transactions.js +0 -14
- package/esm/resources/V2/TestHelpers/FinancialAddresses.js +0 -13
- package/types/AccountNotices.d.ts +0 -113
- package/types/AccountNoticesResource.d.ts +0 -98
- package/types/BalanceSettings.d.ts +0 -89
- package/types/BalanceSettingsResource.d.ts +0 -108
- package/types/Billing/MeterErrorReports.d.ts +0 -106
- 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 -93
- package/types/FinancialConnections/InstitutionsResource.d.ts +0 -47
- package/types/FxQuotes.d.ts +0 -153
- package/types/FxQuotesResource.d.ts +0 -130
- package/types/GiftCards/Cards.d.ts +0 -118
- package/types/GiftCards/CardsResource.d.ts +0 -159
- package/types/GiftCards/Transactions.d.ts +0 -129
- package/types/GiftCards/TransactionsResource.d.ts +0 -201
- 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 -1199
- package/types/OrdersResource.d.ts +0 -3001
- package/types/PaymentAttemptRecords.d.ts +0 -2112
- package/types/PaymentAttemptRecordsResource.d.ts +0 -47
- package/types/PaymentIntentAmountDetailsLineItems.d.ts +0 -110
- package/types/PaymentRecords.d.ts +0 -2105
- package/types/PaymentRecordsResource.d.ts +0 -455
- package/types/Privacy/RedactionJobValidationErrors.d.ts +0 -30
- package/types/Privacy/RedactionJobs.d.ts +0 -65
- package/types/Privacy/RedactionJobsResource.d.ts +0 -218
- package/types/QuoteLines.d.ts +0 -634
- package/types/QuotePreviewInvoices.d.ts +0 -1697
- package/types/QuotePreviewSubscriptionSchedules.d.ts +0 -785
- package/types/Tax/Associations.d.ts +0 -126
- 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/ReaderCollectedData.d.ts +0 -51
- package/types/Terminal/ReaderCollectedDataResource.d.ts +0 -29
- package/types/V2/Core/AccountLinks.d.ts +0 -106
- package/types/V2/Core/AccountLinksResource.d.ts +0 -90
- package/types/V2/Core/Accounts/PersonsResource.d.ts +0 -3770
- package/types/V2/Core/Accounts.d.ts +0 -8169
- package/types/V2/Core/AccountsResource.d.ts +0 -10203
- package/types/V2/Core/Persons.d.ts +0 -1867
- 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 -546
- package/types/V2/MoneyManagement/FinancialAccountsResource.d.ts +0 -52
- package/types/V2/MoneyManagement/FinancialAddresses.d.ts +0 -314
- package/types/V2/MoneyManagement/FinancialAddressesResource.d.ts +0 -288
- 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 -168
- 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 -207
- package/types/V2/MoneyManagement/PayoutMethods.d.ts +0 -151
- package/types/V2/MoneyManagement/PayoutMethodsBankAccountSpecResource.d.ts +0 -41
- package/types/V2/MoneyManagement/PayoutMethodsBankAccountSpecs.d.ts +0 -87
- package/types/V2/MoneyManagement/PayoutMethodsResource.d.ts +0 -113
- package/types/V2/MoneyManagement/ReceivedCredits.d.ts +0 -285
- package/types/V2/MoneyManagement/ReceivedCreditsResource.d.ts +0 -78
- package/types/V2/MoneyManagement/ReceivedDebits.d.ts +0 -224
- package/types/V2/MoneyManagement/ReceivedDebitsResource.d.ts +0 -48
- package/types/V2/MoneyManagement/TransactionEntries.d.ts +0 -155
- package/types/V2/MoneyManagement/TransactionEntriesResource.d.ts +0 -82
- package/types/V2/MoneyManagement/Transactions.d.ts +0 -170
- package/types/V2/MoneyManagement/TransactionsResource.d.ts +0 -83
- package/types/V2/TestHelpers/FinancialAddressesResource.d.ts +0 -66
|
@@ -32,6 +32,11 @@ declare module 'stripe' {
|
|
|
32
32
|
*/
|
|
33
33
|
livemode: boolean;
|
|
34
34
|
|
|
35
|
+
/**
|
|
36
|
+
* Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
|
|
37
|
+
*/
|
|
38
|
+
metadata: Stripe.Metadata | null;
|
|
39
|
+
|
|
35
40
|
/**
|
|
36
41
|
* The ID of an existing [Product](https://stripe.com/docs/api/products/object).
|
|
37
42
|
*/
|
|
@@ -247,6 +247,11 @@ declare module 'stripe' {
|
|
|
247
247
|
*/
|
|
248
248
|
amount: number;
|
|
249
249
|
|
|
250
|
+
/**
|
|
251
|
+
* Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
|
|
252
|
+
*/
|
|
253
|
+
metadata?: Stripe.MetadataParam;
|
|
254
|
+
|
|
250
255
|
/**
|
|
251
256
|
* If provided, the product's `tax_code` will be used as the line item's `tax_code`.
|
|
252
257
|
*/
|
|
@@ -1747,7 +1747,7 @@ declare module 'stripe' {
|
|
|
1747
1747
|
namespace Us {
|
|
1748
1748
|
interface LocalAmusementTax {
|
|
1749
1749
|
/**
|
|
1750
|
-
* A [FIPS code](https://www.census.gov/library/reference/code-lists/ansi.html) representing the local jurisdiction. Supported FIPS codes are: `14000` (Chicago), `06613` (Bloomington), `21696` (East Dundee), `24582` (Evanston), `45421` (Lynwood), `64343` (River Grove), and `68081` (Schiller Park).
|
|
1750
|
+
* A [FIPS code](https://www.census.gov/library/reference/code-lists/ansi.html) representing the local jurisdiction. Supported FIPS codes are: `14000` (Chicago), `06613` (Bloomington), `21696` (East Dundee), `24582` (Evanston), `45421` (Lynwood), `48892` (Midlothian), `64343` (River Grove), and `68081` (Schiller Park).
|
|
1751
1751
|
*/
|
|
1752
1752
|
jurisdiction: string;
|
|
1753
1753
|
}
|
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
|
*/
|
package/types/TaxRates.d.ts
CHANGED
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
declare module 'stripe' {
|
|
4
4
|
namespace Stripe {
|
|
5
5
|
/**
|
|
6
|
-
* Tax rates can be applied to [invoices](https://stripe.com/invoicing/taxes/tax-rates), [subscriptions](https://stripe.com/billing/taxes/tax-rates) and [Checkout Sessions](https://stripe.com/payments/checkout/use-manual-tax-rates) to collect tax.
|
|
6
|
+
* Tax rates can be applied to [invoices](https://docs.stripe.com/invoicing/taxes/tax-rates), [subscriptions](https://docs.stripe.com/billing/taxes/tax-rates) and [Checkout Sessions](https://docs.stripe.com/payments/checkout/use-manual-tax-rates) to collect tax.
|
|
7
7
|
*
|
|
8
|
-
* Related guide: [Tax rates](https://stripe.com/billing/taxes/tax-rates)
|
|
8
|
+
* Related guide: [Tax rates](https://docs.stripe.com/billing/taxes/tax-rates)
|
|
9
9
|
*/
|
|
10
10
|
interface TaxRate {
|
|
11
11
|
/**
|
|
@@ -110,7 +110,7 @@ declare module 'stripe' {
|
|
|
110
110
|
class LocationsResource {
|
|
111
111
|
/**
|
|
112
112
|
* Creates a new Location object.
|
|
113
|
-
* For further details, including which address fields are required in each country, see the [Manage locations](https://stripe.com/docs/terminal/fleet/locations) guide.
|
|
113
|
+
* For further details, including which address fields are required in each country, see the [Manage locations](https://docs.stripe.com/docs/terminal/fleet/locations) guide.
|
|
114
114
|
*/
|
|
115
115
|
create(
|
|
116
116
|
params: LocationCreateParams,
|
|
@@ -55,7 +55,7 @@ declare module 'stripe' {
|
|
|
55
55
|
device_sw_version: string | null;
|
|
56
56
|
|
|
57
57
|
/**
|
|
58
|
-
*
|
|
58
|
+
* Device type of the reader.
|
|
59
59
|
*/
|
|
60
60
|
device_type: Reader.DeviceType;
|
|
61
61
|
|
|
@@ -102,16 +102,6 @@ declare module 'stripe' {
|
|
|
102
102
|
*/
|
|
103
103
|
collect_inputs?: Action.CollectInputs;
|
|
104
104
|
|
|
105
|
-
/**
|
|
106
|
-
* Represents a reader action to collect a payment method
|
|
107
|
-
*/
|
|
108
|
-
collect_payment_method?: Action.CollectPaymentMethod;
|
|
109
|
-
|
|
110
|
-
/**
|
|
111
|
-
* Represents a reader action to confirm a payment
|
|
112
|
-
*/
|
|
113
|
-
confirm_payment_intent?: Action.ConfirmPaymentIntent;
|
|
114
|
-
|
|
115
105
|
/**
|
|
116
106
|
* Failure code, only set if status is `failed`.
|
|
117
107
|
*/
|
|
@@ -360,78 +350,7 @@ declare module 'stripe' {
|
|
|
360
350
|
}
|
|
361
351
|
}
|
|
362
352
|
|
|
363
|
-
interface CollectPaymentMethod {
|
|
364
|
-
/**
|
|
365
|
-
* Account the payment intent belongs to.
|
|
366
|
-
*/
|
|
367
|
-
account?: string;
|
|
368
|
-
|
|
369
|
-
/**
|
|
370
|
-
* Represents a per-transaction override of a reader configuration
|
|
371
|
-
*/
|
|
372
|
-
collect_config?: CollectPaymentMethod.CollectConfig;
|
|
373
|
-
|
|
374
|
-
/**
|
|
375
|
-
* Most recent PaymentIntent processed by the reader.
|
|
376
|
-
*/
|
|
377
|
-
payment_intent: string | Stripe.PaymentIntent;
|
|
378
|
-
|
|
379
|
-
/**
|
|
380
|
-
* PaymentMethod objects represent your customer's payment instruments.
|
|
381
|
-
* You can use them with [PaymentIntents](https://stripe.com/docs/payments/payment-intents) to collect payments or save them to
|
|
382
|
-
* Customer objects to store instrument details for future payments.
|
|
383
|
-
*
|
|
384
|
-
* Related guides: [Payment Methods](https://stripe.com/docs/payments/payment-methods) and [More Payment Scenarios](https://stripe.com/docs/payments/more-payment-scenarios).
|
|
385
|
-
*/
|
|
386
|
-
payment_method?: Stripe.PaymentMethod;
|
|
387
|
-
}
|
|
388
|
-
|
|
389
|
-
namespace CollectPaymentMethod {
|
|
390
|
-
interface CollectConfig {
|
|
391
|
-
/**
|
|
392
|
-
* Enable customer initiated cancellation when processing this payment.
|
|
393
|
-
*/
|
|
394
|
-
enable_customer_cancellation?: boolean;
|
|
395
|
-
|
|
396
|
-
/**
|
|
397
|
-
* Override showing a tipping selection screen on this transaction.
|
|
398
|
-
*/
|
|
399
|
-
skip_tipping?: boolean;
|
|
400
|
-
|
|
401
|
-
/**
|
|
402
|
-
* Represents a per-transaction tipping configuration
|
|
403
|
-
*/
|
|
404
|
-
tipping?: CollectConfig.Tipping;
|
|
405
|
-
}
|
|
406
|
-
|
|
407
|
-
namespace CollectConfig {
|
|
408
|
-
interface Tipping {
|
|
409
|
-
/**
|
|
410
|
-
* Amount used to calculate tip suggestions on tipping selection screen for this transaction. Must be a positive integer in the smallest currency unit (e.g., 100 cents to represent $1.00 or 100 to represent ¥100, a zero-decimal currency).
|
|
411
|
-
*/
|
|
412
|
-
amount_eligible?: number;
|
|
413
|
-
}
|
|
414
|
-
}
|
|
415
|
-
}
|
|
416
|
-
|
|
417
|
-
interface ConfirmPaymentIntent {
|
|
418
|
-
/**
|
|
419
|
-
* Account the payment intent belongs to.
|
|
420
|
-
*/
|
|
421
|
-
account?: string;
|
|
422
|
-
|
|
423
|
-
/**
|
|
424
|
-
* Most recent PaymentIntent processed by the reader.
|
|
425
|
-
*/
|
|
426
|
-
payment_intent: string | Stripe.PaymentIntent;
|
|
427
|
-
}
|
|
428
|
-
|
|
429
353
|
interface ProcessPaymentIntent {
|
|
430
|
-
/**
|
|
431
|
-
* Account the payment intent belongs to.
|
|
432
|
-
*/
|
|
433
|
-
account?: string;
|
|
434
|
-
|
|
435
354
|
/**
|
|
436
355
|
* Most recent PaymentIntent processed by the reader.
|
|
437
356
|
*/
|
|
@@ -450,6 +369,11 @@ declare module 'stripe' {
|
|
|
450
369
|
*/
|
|
451
370
|
enable_customer_cancellation?: boolean;
|
|
452
371
|
|
|
372
|
+
/**
|
|
373
|
+
* If the customer does not abandon authenticating the payment, they will be redirected to this specified URL after completion.
|
|
374
|
+
*/
|
|
375
|
+
return_url?: string;
|
|
376
|
+
|
|
453
377
|
/**
|
|
454
378
|
* Override showing a tipping selection screen on this transaction.
|
|
455
379
|
*/
|
|
@@ -498,11 +422,6 @@ declare module 'stripe' {
|
|
|
498
422
|
}
|
|
499
423
|
|
|
500
424
|
interface RefundPayment {
|
|
501
|
-
/**
|
|
502
|
-
* Account the payment intent belongs to.
|
|
503
|
-
*/
|
|
504
|
-
account?: string;
|
|
505
|
-
|
|
506
425
|
/**
|
|
507
426
|
* The amount being refunded.
|
|
508
427
|
*/
|
|
@@ -619,8 +538,6 @@ declare module 'stripe' {
|
|
|
619
538
|
|
|
620
539
|
type Type =
|
|
621
540
|
| 'collect_inputs'
|
|
622
|
-
| 'collect_payment_method'
|
|
623
|
-
| 'confirm_payment_intent'
|
|
624
541
|
| 'process_payment_intent'
|
|
625
542
|
| 'process_setup_intent'
|
|
626
543
|
| 'refund_payment'
|
|
@@ -632,6 +549,7 @@ declare module 'stripe' {
|
|
|
632
549
|
| 'bbpos_wisepad3'
|
|
633
550
|
| 'bbpos_wisepos_e'
|
|
634
551
|
| 'mobile_phone_reader'
|
|
552
|
+
| 'simulated_stripe_s700'
|
|
635
553
|
| 'simulated_wisepos_e'
|
|
636
554
|
| 'stripe_m2'
|
|
637
555
|
| 'stripe_s700'
|
|
@@ -87,6 +87,7 @@ declare module 'stripe' {
|
|
|
87
87
|
| 'bbpos_wisepad3'
|
|
88
88
|
| 'bbpos_wisepos_e'
|
|
89
89
|
| 'mobile_phone_reader'
|
|
90
|
+
| 'simulated_stripe_s700'
|
|
90
91
|
| 'simulated_wisepos_e'
|
|
91
92
|
| 'stripe_m2'
|
|
92
93
|
| 'stripe_s700'
|
|
@@ -233,70 +234,6 @@ declare module 'stripe' {
|
|
|
233
234
|
}
|
|
234
235
|
}
|
|
235
236
|
|
|
236
|
-
interface ReaderCollectPaymentMethodParams {
|
|
237
|
-
/**
|
|
238
|
-
* PaymentIntent ID
|
|
239
|
-
*/
|
|
240
|
-
payment_intent: string;
|
|
241
|
-
|
|
242
|
-
/**
|
|
243
|
-
* Configuration overrides
|
|
244
|
-
*/
|
|
245
|
-
collect_config?: ReaderCollectPaymentMethodParams.CollectConfig;
|
|
246
|
-
|
|
247
|
-
/**
|
|
248
|
-
* Specifies which fields in the response should be expanded.
|
|
249
|
-
*/
|
|
250
|
-
expand?: Array<string>;
|
|
251
|
-
}
|
|
252
|
-
|
|
253
|
-
namespace ReaderCollectPaymentMethodParams {
|
|
254
|
-
interface CollectConfig {
|
|
255
|
-
/**
|
|
256
|
-
* This field indicates whether this payment method can be shown again to its customer in a checkout flow. Stripe products such as Checkout and Elements use this field to determine whether a payment method can be shown as a saved payment method in a checkout flow.
|
|
257
|
-
*/
|
|
258
|
-
allow_redisplay?: CollectConfig.AllowRedisplay;
|
|
259
|
-
|
|
260
|
-
/**
|
|
261
|
-
* Enables cancel button on transaction screens.
|
|
262
|
-
*/
|
|
263
|
-
enable_customer_cancellation?: boolean;
|
|
264
|
-
|
|
265
|
-
/**
|
|
266
|
-
* Override showing a tipping selection screen on this transaction.
|
|
267
|
-
*/
|
|
268
|
-
skip_tipping?: boolean;
|
|
269
|
-
|
|
270
|
-
/**
|
|
271
|
-
* Tipping configuration for this transaction.
|
|
272
|
-
*/
|
|
273
|
-
tipping?: CollectConfig.Tipping;
|
|
274
|
-
}
|
|
275
|
-
|
|
276
|
-
namespace CollectConfig {
|
|
277
|
-
type AllowRedisplay = 'always' | 'limited' | 'unspecified';
|
|
278
|
-
|
|
279
|
-
interface Tipping {
|
|
280
|
-
/**
|
|
281
|
-
* Amount used to calculate tip suggestions on tipping selection screen for this transaction. Must be a positive integer in the smallest currency unit (e.g., 100 cents to represent $1.00 or 100 to represent ¥100, a zero-decimal currency).
|
|
282
|
-
*/
|
|
283
|
-
amount_eligible?: number;
|
|
284
|
-
}
|
|
285
|
-
}
|
|
286
|
-
}
|
|
287
|
-
|
|
288
|
-
interface ReaderConfirmPaymentIntentParams {
|
|
289
|
-
/**
|
|
290
|
-
* PaymentIntent ID
|
|
291
|
-
*/
|
|
292
|
-
payment_intent: string;
|
|
293
|
-
|
|
294
|
-
/**
|
|
295
|
-
* Specifies which fields in the response should be expanded.
|
|
296
|
-
*/
|
|
297
|
-
expand?: Array<string>;
|
|
298
|
-
}
|
|
299
|
-
|
|
300
237
|
interface ReaderProcessPaymentIntentParams {
|
|
301
238
|
/**
|
|
302
239
|
* PaymentIntent ID
|
|
@@ -326,6 +263,11 @@ declare module 'stripe' {
|
|
|
326
263
|
*/
|
|
327
264
|
enable_customer_cancellation?: boolean;
|
|
328
265
|
|
|
266
|
+
/**
|
|
267
|
+
* The URL to redirect your customer back to after they authenticate or cancel their payment on the payment method's app or site. If you'd prefer to redirect to a mobile application, you can alternatively supply an application URI scheme.
|
|
268
|
+
*/
|
|
269
|
+
return_url?: string;
|
|
270
|
+
|
|
329
271
|
/**
|
|
330
272
|
* Override showing a tipping selection screen on this transaction.
|
|
331
273
|
*/
|
|
@@ -580,24 +522,6 @@ declare module 'stripe' {
|
|
|
580
522
|
options?: RequestOptions
|
|
581
523
|
): Promise<Stripe.Response<Stripe.Terminal.Reader>>;
|
|
582
524
|
|
|
583
|
-
/**
|
|
584
|
-
* Initiates a payment flow on a Reader and updates the PaymentIntent with card details before manual confirmation.
|
|
585
|
-
*/
|
|
586
|
-
collectPaymentMethod(
|
|
587
|
-
id: string,
|
|
588
|
-
params: ReaderCollectPaymentMethodParams,
|
|
589
|
-
options?: RequestOptions
|
|
590
|
-
): Promise<Stripe.Response<Stripe.Terminal.Reader>>;
|
|
591
|
-
|
|
592
|
-
/**
|
|
593
|
-
* Finalizes a payment on a Reader.
|
|
594
|
-
*/
|
|
595
|
-
confirmPaymentIntent(
|
|
596
|
-
id: string,
|
|
597
|
-
params: ReaderConfirmPaymentIntentParams,
|
|
598
|
-
options?: RequestOptions
|
|
599
|
-
): Promise<Stripe.Response<Stripe.Terminal.Reader>>;
|
|
600
|
-
|
|
601
525
|
/**
|
|
602
526
|
* Initiates a payment flow on a Reader.
|
|
603
527
|
*/
|
|
@@ -139,21 +139,11 @@ declare module 'stripe' {
|
|
|
139
139
|
*/
|
|
140
140
|
giropay?: PaymentMethodData.Giropay;
|
|
141
141
|
|
|
142
|
-
/**
|
|
143
|
-
* If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
|
|
144
|
-
*/
|
|
145
|
-
gopay?: PaymentMethodData.Gopay;
|
|
146
|
-
|
|
147
142
|
/**
|
|
148
143
|
* If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
|
|
149
144
|
*/
|
|
150
145
|
grabpay?: PaymentMethodData.Grabpay;
|
|
151
146
|
|
|
152
|
-
/**
|
|
153
|
-
* If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
|
|
154
|
-
*/
|
|
155
|
-
id_bank_transfer?: PaymentMethodData.IdBankTransfer;
|
|
156
|
-
|
|
157
147
|
/**
|
|
158
148
|
* If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
|
|
159
149
|
*/
|
|
@@ -189,11 +179,6 @@ declare module 'stripe' {
|
|
|
189
179
|
*/
|
|
190
180
|
link?: PaymentMethodData.Link;
|
|
191
181
|
|
|
192
|
-
/**
|
|
193
|
-
* If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method.
|
|
194
|
-
*/
|
|
195
|
-
mb_way?: PaymentMethodData.MbWay;
|
|
196
|
-
|
|
197
182
|
/**
|
|
198
183
|
* Set of [key-value pairs](https://stripe.com/docs/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`.
|
|
199
184
|
*/
|
|
@@ -249,11 +234,6 @@ declare module 'stripe' {
|
|
|
249
234
|
*/
|
|
250
235
|
paypal?: PaymentMethodData.Paypal;
|
|
251
236
|
|
|
252
|
-
/**
|
|
253
|
-
* If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
|
|
254
|
-
*/
|
|
255
|
-
payto?: PaymentMethodData.Payto;
|
|
256
|
-
|
|
257
237
|
/**
|
|
258
238
|
* If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
|
|
259
239
|
*/
|
|
@@ -264,21 +244,11 @@ declare module 'stripe' {
|
|
|
264
244
|
*/
|
|
265
245
|
promptpay?: PaymentMethodData.Promptpay;
|
|
266
246
|
|
|
267
|
-
/**
|
|
268
|
-
* If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
|
|
269
|
-
*/
|
|
270
|
-
qris?: PaymentMethodData.Qris;
|
|
271
|
-
|
|
272
247
|
/**
|
|
273
248
|
* Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
|
|
274
249
|
*/
|
|
275
250
|
radar_options?: PaymentMethodData.RadarOptions;
|
|
276
251
|
|
|
277
|
-
/**
|
|
278
|
-
* If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
|
|
279
|
-
*/
|
|
280
|
-
rechnung?: PaymentMethodData.Rechnung;
|
|
281
|
-
|
|
282
252
|
/**
|
|
283
253
|
* If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
|
|
284
254
|
*/
|
|
@@ -299,21 +269,11 @@ declare module 'stripe' {
|
|
|
299
269
|
*/
|
|
300
270
|
sepa_debit?: PaymentMethodData.SepaDebit;
|
|
301
271
|
|
|
302
|
-
/**
|
|
303
|
-
* If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
|
|
304
|
-
*/
|
|
305
|
-
shopeepay?: PaymentMethodData.Shopeepay;
|
|
306
|
-
|
|
307
272
|
/**
|
|
308
273
|
* If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
|
|
309
274
|
*/
|
|
310
275
|
sofort?: PaymentMethodData.Sofort;
|
|
311
276
|
|
|
312
|
-
/**
|
|
313
|
-
* This hash contains details about the Stripe balance payment method.
|
|
314
|
-
*/
|
|
315
|
-
stripe_balance?: PaymentMethodData.StripeBalance;
|
|
316
|
-
|
|
317
277
|
/**
|
|
318
278
|
* If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
|
|
319
279
|
*/
|
|
@@ -524,21 +484,8 @@ declare module 'stripe' {
|
|
|
524
484
|
|
|
525
485
|
interface Giropay {}
|
|
526
486
|
|
|
527
|
-
interface Gopay {}
|
|
528
|
-
|
|
529
487
|
interface Grabpay {}
|
|
530
488
|
|
|
531
|
-
interface IdBankTransfer {
|
|
532
|
-
/**
|
|
533
|
-
* Bank where the account is held.
|
|
534
|
-
*/
|
|
535
|
-
bank?: IdBankTransfer.Bank;
|
|
536
|
-
}
|
|
537
|
-
|
|
538
|
-
namespace IdBankTransfer {
|
|
539
|
-
type Bank = 'bca' | 'bni' | 'bri' | 'cimb' | 'permata';
|
|
540
|
-
}
|
|
541
|
-
|
|
542
489
|
interface Ideal {
|
|
543
490
|
/**
|
|
544
491
|
* The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
|
@@ -602,8 +549,6 @@ declare module 'stripe' {
|
|
|
602
549
|
|
|
603
550
|
interface Link {}
|
|
604
551
|
|
|
605
|
-
interface MbWay {}
|
|
606
|
-
|
|
607
552
|
interface Mobilepay {}
|
|
608
553
|
|
|
609
554
|
interface Multibanco {}
|
|
@@ -695,29 +640,10 @@ declare module 'stripe' {
|
|
|
695
640
|
|
|
696
641
|
interface Paypal {}
|
|
697
642
|
|
|
698
|
-
interface Payto {
|
|
699
|
-
/**
|
|
700
|
-
* The account number for the bank account.
|
|
701
|
-
*/
|
|
702
|
-
account_number?: string;
|
|
703
|
-
|
|
704
|
-
/**
|
|
705
|
-
* Bank-State-Branch number of the bank account.
|
|
706
|
-
*/
|
|
707
|
-
bsb_number?: string;
|
|
708
|
-
|
|
709
|
-
/**
|
|
710
|
-
* The PayID alias for the bank account.
|
|
711
|
-
*/
|
|
712
|
-
pay_id?: string;
|
|
713
|
-
}
|
|
714
|
-
|
|
715
643
|
interface Pix {}
|
|
716
644
|
|
|
717
645
|
interface Promptpay {}
|
|
718
646
|
|
|
719
|
-
interface Qris {}
|
|
720
|
-
|
|
721
647
|
interface RadarOptions {
|
|
722
648
|
/**
|
|
723
649
|
* A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
|
|
@@ -725,32 +651,6 @@ declare module 'stripe' {
|
|
|
725
651
|
session?: string;
|
|
726
652
|
}
|
|
727
653
|
|
|
728
|
-
interface Rechnung {
|
|
729
|
-
/**
|
|
730
|
-
* Customer's date of birth
|
|
731
|
-
*/
|
|
732
|
-
dob: Rechnung.Dob;
|
|
733
|
-
}
|
|
734
|
-
|
|
735
|
-
namespace Rechnung {
|
|
736
|
-
interface Dob {
|
|
737
|
-
/**
|
|
738
|
-
* The day of birth, between 1 and 31.
|
|
739
|
-
*/
|
|
740
|
-
day: number;
|
|
741
|
-
|
|
742
|
-
/**
|
|
743
|
-
* The month of birth, between 1 and 12.
|
|
744
|
-
*/
|
|
745
|
-
month: number;
|
|
746
|
-
|
|
747
|
-
/**
|
|
748
|
-
* The four-digit year of birth.
|
|
749
|
-
*/
|
|
750
|
-
year: number;
|
|
751
|
-
}
|
|
752
|
-
}
|
|
753
|
-
|
|
754
654
|
interface RevolutPay {}
|
|
755
655
|
|
|
756
656
|
interface SamsungPay {}
|
|
@@ -764,8 +664,6 @@ declare module 'stripe' {
|
|
|
764
664
|
iban: string;
|
|
765
665
|
}
|
|
766
666
|
|
|
767
|
-
interface Shopeepay {}
|
|
768
|
-
|
|
769
667
|
interface Sofort {
|
|
770
668
|
/**
|
|
771
669
|
* Two-letter ISO code representing the country the bank account is located in.
|
|
@@ -777,22 +675,6 @@ declare module 'stripe' {
|
|
|
777
675
|
type Country = 'AT' | 'BE' | 'DE' | 'ES' | 'IT' | 'NL';
|
|
778
676
|
}
|
|
779
677
|
|
|
780
|
-
interface StripeBalance {
|
|
781
|
-
/**
|
|
782
|
-
* The connected account ID whose Stripe balance to use as the source of payment
|
|
783
|
-
*/
|
|
784
|
-
account?: string;
|
|
785
|
-
|
|
786
|
-
/**
|
|
787
|
-
* The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
|
|
788
|
-
*/
|
|
789
|
-
source_type?: StripeBalance.SourceType;
|
|
790
|
-
}
|
|
791
|
-
|
|
792
|
-
namespace StripeBalance {
|
|
793
|
-
type SourceType = 'bank_account' | 'card' | 'fpx';
|
|
794
|
-
}
|
|
795
|
-
|
|
796
678
|
interface Swish {}
|
|
797
679
|
|
|
798
680
|
interface Twint {}
|
|
@@ -815,16 +697,13 @@ declare module 'stripe' {
|
|
|
815
697
|
| 'eps'
|
|
816
698
|
| 'fpx'
|
|
817
699
|
| 'giropay'
|
|
818
|
-
| 'gopay'
|
|
819
700
|
| 'grabpay'
|
|
820
|
-
| 'id_bank_transfer'
|
|
821
701
|
| 'ideal'
|
|
822
702
|
| 'kakao_pay'
|
|
823
703
|
| 'klarna'
|
|
824
704
|
| 'konbini'
|
|
825
705
|
| 'kr_card'
|
|
826
706
|
| 'link'
|
|
827
|
-
| 'mb_way'
|
|
828
707
|
| 'mobilepay'
|
|
829
708
|
| 'multibanco'
|
|
830
709
|
| 'naver_pay'
|
|
@@ -835,18 +714,13 @@ declare module 'stripe' {
|
|
|
835
714
|
| 'payco'
|
|
836
715
|
| 'paynow'
|
|
837
716
|
| 'paypal'
|
|
838
|
-
| 'payto'
|
|
839
717
|
| 'pix'
|
|
840
718
|
| 'promptpay'
|
|
841
|
-
| 'qris'
|
|
842
|
-
| 'rechnung'
|
|
843
719
|
| 'revolut_pay'
|
|
844
720
|
| 'samsung_pay'
|
|
845
721
|
| 'satispay'
|
|
846
722
|
| 'sepa_debit'
|
|
847
|
-
| 'shopeepay'
|
|
848
723
|
| 'sofort'
|
|
849
|
-
| 'stripe_balance'
|
|
850
724
|
| 'swish'
|
|
851
725
|
| 'twint'
|
|
852
726
|
| 'us_bank_account'
|
|
@@ -39,11 +39,6 @@ declare module 'stripe' {
|
|
|
39
39
|
* Initiating payment method details for the object.
|
|
40
40
|
*/
|
|
41
41
|
initiating_payment_method_details?: ReceivedCreditCreateParams.InitiatingPaymentMethodDetails;
|
|
42
|
-
|
|
43
|
-
/**
|
|
44
|
-
* Details about the network used for the ReceivedCredit.
|
|
45
|
-
*/
|
|
46
|
-
network_details?: ReceivedCreditCreateParams.NetworkDetails;
|
|
47
42
|
}
|
|
48
43
|
|
|
49
44
|
namespace ReceivedCreditCreateParams {
|
|
@@ -79,27 +74,6 @@ declare module 'stripe' {
|
|
|
79
74
|
}
|
|
80
75
|
|
|
81
76
|
type Network = 'ach' | 'us_domestic_wire';
|
|
82
|
-
|
|
83
|
-
interface NetworkDetails {
|
|
84
|
-
/**
|
|
85
|
-
* Optional fields for `ach`.
|
|
86
|
-
*/
|
|
87
|
-
ach?: NetworkDetails.Ach;
|
|
88
|
-
|
|
89
|
-
/**
|
|
90
|
-
* The type of flow that originated the ReceivedCredit.
|
|
91
|
-
*/
|
|
92
|
-
type: 'ach';
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
namespace NetworkDetails {
|
|
96
|
-
interface Ach {
|
|
97
|
-
/**
|
|
98
|
-
* ACH Addenda record
|
|
99
|
-
*/
|
|
100
|
-
addenda?: string;
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
77
|
}
|
|
104
78
|
}
|
|
105
79
|
|
|
@@ -39,11 +39,6 @@ declare module 'stripe' {
|
|
|
39
39
|
* Initiating payment method details for the object.
|
|
40
40
|
*/
|
|
41
41
|
initiating_payment_method_details?: ReceivedDebitCreateParams.InitiatingPaymentMethodDetails;
|
|
42
|
-
|
|
43
|
-
/**
|
|
44
|
-
* Details about the network used for the ReceivedDebit.
|
|
45
|
-
*/
|
|
46
|
-
network_details?: ReceivedDebitCreateParams.NetworkDetails;
|
|
47
42
|
}
|
|
48
43
|
|
|
49
44
|
namespace ReceivedDebitCreateParams {
|
|
@@ -77,27 +72,6 @@ declare module 'stripe' {
|
|
|
77
72
|
routing_number?: string;
|
|
78
73
|
}
|
|
79
74
|
}
|
|
80
|
-
|
|
81
|
-
interface NetworkDetails {
|
|
82
|
-
/**
|
|
83
|
-
* Optional fields for `ach`.
|
|
84
|
-
*/
|
|
85
|
-
ach?: NetworkDetails.Ach;
|
|
86
|
-
|
|
87
|
-
/**
|
|
88
|
-
* The type of flow that originated the ReceivedDebit.
|
|
89
|
-
*/
|
|
90
|
-
type: 'ach';
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
namespace NetworkDetails {
|
|
94
|
-
interface Ach {
|
|
95
|
-
/**
|
|
96
|
-
* Addenda record data associated with this ReceivedDebit.
|
|
97
|
-
*/
|
|
98
|
-
addenda?: string;
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
75
|
}
|
|
102
76
|
}
|
|
103
77
|
|