stripe 18.5.0-beta.1 → 18.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +60 -1322
- package/OPENAPI_VERSION +1 -1
- package/README.md +5 -4
- package/VERSION +1 -1
- package/cjs/Error.js +1 -107
- package/cjs/apiVersion.js +3 -2
- 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.js +34 -126
- package/cjs/stripe.core.js +1 -1
- package/esm/Error.js +0 -93
- package/esm/apiVersion.js +2 -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.js +6 -91
- package/esm/stripe.core.js +1 -1
- package/package.json +1 -1
- package/types/AccountLinksResource.d.ts +1 -5
- package/types/AccountSessions.d.ts +45 -45
- package/types/AccountSessionsResource.d.ts +51 -252
- package/types/Accounts.d.ts +3 -214
- package/types/AccountsResource.d.ts +0 -544
- package/types/Balance.d.ts +2 -7
- 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/Billing/Meters.d.ts +1 -1
- package/types/Billing/MetersResource.d.ts +1 -1
- package/types/BillingPortal/Configurations.d.ts +5 -0
- 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 +76 -171
- package/types/ChargesResource.d.ts +0 -1406
- package/types/Checkout/Sessions.d.ts +9 -313
- package/types/Checkout/SessionsResource.d.ts +10 -414
- package/types/ConfirmationTokens.d.ts +0 -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 +0 -5
- package/types/CreditNotesResource.d.ts +3 -8
- package/types/CustomerBalanceTransactions.d.ts +0 -2
- package/types/CustomerCashBalanceTransactions.d.ts +0 -2
- package/types/CustomerSessions.d.ts +0 -5
- package/types/CustomerSessionsResource.d.ts +1 -6
- package/types/Customers.d.ts +0 -2
- package/types/CustomersResource.d.ts +0 -8
- package/types/Discounts.d.ts +0 -10
- package/types/Disputes.d.ts +7 -31
- package/types/Errors.d.ts +2 -81
- package/types/EventTypes.d.ts +0 -664
- package/types/Events.d.ts +0 -97
- package/types/FileLinksResource.d.ts +1 -1
- package/types/Files.d.ts +1 -0
- package/types/FilesResource.d.ts +3 -1
- package/types/FinancialConnections/Accounts.d.ts +1 -36
- 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/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 +0 -5
- package/types/InvoicePaymentsResource.d.ts +74 -0
- package/types/Invoices.d.ts +6 -172
- package/types/InvoicesResource.d.ts +61 -1513
- package/types/Issuing/CardholdersResource.d.ts +1 -2
- package/types/Issuing/CardsResource.d.ts +10 -0
- 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 +0 -77
- package/types/PaymentIntents.d.ts +63 -762
- package/types/PaymentIntentsResource.d.ts +5567 -11125
- package/types/PaymentLinks.d.ts +0 -6
- package/types/PaymentLinksResource.d.ts +1 -13
- package/types/PaymentMethodConfigurations.d.ts +0 -180
- package/types/PaymentMethodConfigurationsResource.d.ts +0 -250
- package/types/PaymentMethods.d.ts +0 -125
- package/types/PaymentMethodsResource.d.ts +2 -167
- package/types/Payouts.d.ts +1 -1
- package/types/Prices.d.ts +0 -22
- package/types/PricesResource.d.ts +0 -22
- package/types/PromotionCodes.d.ts +5 -7
- package/types/PromotionCodesResource.d.ts +0 -10
- package/types/Quotes.d.ts +1 -594
- package/types/QuotesResource.d.ts +281 -2626
- package/types/Refunds.d.ts +0 -14
- package/types/SetupAttempts.d.ts +4 -48
- package/types/SetupIntents.d.ts +5 -119
- package/types/SetupIntentsResource.d.ts +3 -730
- package/types/Sources.d.ts +0 -29
- package/types/SubscriptionItems.d.ts +0 -21
- package/types/SubscriptionItemsResource.d.ts +0 -109
- package/types/SubscriptionSchedules.d.ts +39 -197
- package/types/SubscriptionSchedulesResource.d.ts +83 -1199
- package/types/Subscriptions.d.ts +1 -135
- package/types/SubscriptionsResource.d.ts +97 -449
- package/types/TaxIds.d.ts +0 -10
- package/types/TaxIdsResource.d.ts +0 -10
- package/types/Terminal/Configurations.d.ts +19 -0
- package/types/Terminal/ConfigurationsResource.d.ts +44 -0
- package/types/Terminal/Readers.d.ts +0 -20
- package/types/TestHelpers/ConfirmationTokensResource.d.ts +0 -126
- package/types/TestHelpers/Terminal/ReadersResource.d.ts +28 -1
- package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +0 -26
- package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +0 -26
- 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/EventTypes.d.ts +4 -964
- package/types/WebhookEndpointsResource.d.ts +2 -79
- package/types/index.d.ts +4 -147
- 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/Billing/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/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/OnboardingLinks.js +0 -12
- 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 -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 -25
- 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/Billing/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/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/OnboardingLinks.js +0 -9
- 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 -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 -22
- 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 -91
- package/types/BalanceSettingsResource.d.ts +0 -110
- package/types/Billing/MeterUsage.d.ts +0 -32
- package/types/Billing/MeterUsageResource.d.ts +0 -685
- package/types/Billing/MeterUsageRows.d.ts +0 -49
- 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/PaymentAttemptRecords.d.ts +0 -2166
- package/types/PaymentAttemptRecordsResource.d.ts +0 -47
- package/types/PaymentIntentAmountDetailsLineItems.d.ts +0 -116
- package/types/PaymentRecords.d.ts +0 -2159
- package/types/PaymentRecordsResource.d.ts +0 -455
- 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 -1734
- package/types/QuotePreviewSubscriptionSchedules.d.ts +0 -845
- 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/Core/AccountLinks.d.ts +0 -168
- package/types/V2/Core/AccountLinksResource.d.ts +0 -152
- package/types/V2/Core/Accounts/PersonsResource.d.ts +0 -3780
- package/types/V2/Core/Accounts.d.ts +0 -8813
- package/types/V2/Core/AccountsResource.d.ts +0 -10626
- package/types/V2/Core/Persons.d.ts +0 -1872
- 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 -580
- package/types/V2/MoneyManagement/FinancialAccountsResource.d.ts +0 -326
- package/types/V2/MoneyManagement/FinancialAddresses.d.ts +0 -314
- package/types/V2/MoneyManagement/FinancialAddressesResource.d.ts +0 -289
- 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 -208
- package/types/V2/MoneyManagement/PayoutMethods.d.ts +0 -160
- 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 -262
- 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 -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/Payments/OffSessionPayments.d.ts +0 -179
- package/types/V2/Payments/OffSessionPaymentsResource.d.ts +0 -174
- package/types/V2/TestHelpers/FinancialAddressesResource.d.ts +0 -68
package/types/Charges.d.ts
CHANGED
|
@@ -325,7 +325,7 @@ declare module 'stripe' {
|
|
|
325
325
|
network_advice_code: string | null;
|
|
326
326
|
|
|
327
327
|
/**
|
|
328
|
-
* For charges declined by the network,
|
|
328
|
+
* For charges declined by the network, an alphanumeric code which indicates the reason the charge failed.
|
|
329
329
|
*/
|
|
330
330
|
network_decline_code: string | null;
|
|
331
331
|
|
|
@@ -335,7 +335,7 @@ declare module 'stripe' {
|
|
|
335
335
|
network_status: string | null;
|
|
336
336
|
|
|
337
337
|
/**
|
|
338
|
-
* An enumerated value providing a more detailed explanation of the outcome's `type`. Charges blocked by Radar's default block rule have the value `highest_risk_level`. Charges placed in review by Radar's default review rule have the value `elevated_risk_level`. Charges authorized, blocked, or placed in review by custom rules have the value `rule`. See [understanding declines](https://stripe.com/docs/declines) for more details.
|
|
338
|
+
* An enumerated value providing a more detailed explanation of the outcome's `type`. Charges blocked by Radar's default block rule have the value `highest_risk_level`. Charges placed in review by Radar's default review rule have the value `elevated_risk_level`. Charges blocked because the payment is unlikely to be authorized have the value `low_probability_of_authorization`. Charges authorized, blocked, or placed in review by custom rules have the value `rule`. See [understanding declines](https://stripe.com/docs/declines) for more details.
|
|
339
339
|
*/
|
|
340
340
|
reason: string | null;
|
|
341
341
|
|
|
@@ -434,12 +434,8 @@ declare module 'stripe' {
|
|
|
434
434
|
|
|
435
435
|
giropay?: PaymentMethodDetails.Giropay;
|
|
436
436
|
|
|
437
|
-
gopay?: PaymentMethodDetails.Gopay;
|
|
438
|
-
|
|
439
437
|
grabpay?: PaymentMethodDetails.Grabpay;
|
|
440
438
|
|
|
441
|
-
id_bank_transfer?: PaymentMethodDetails.IdBankTransfer;
|
|
442
|
-
|
|
443
439
|
ideal?: PaymentMethodDetails.Ideal;
|
|
444
440
|
|
|
445
441
|
interac_present?: PaymentMethodDetails.InteracPresent;
|
|
@@ -454,8 +450,6 @@ declare module 'stripe' {
|
|
|
454
450
|
|
|
455
451
|
link?: PaymentMethodDetails.Link;
|
|
456
452
|
|
|
457
|
-
mb_way?: PaymentMethodDetails.MbWay;
|
|
458
|
-
|
|
459
453
|
mobilepay?: PaymentMethodDetails.Mobilepay;
|
|
460
454
|
|
|
461
455
|
multibanco?: PaymentMethodDetails.Multibanco;
|
|
@@ -476,16 +470,10 @@ declare module 'stripe' {
|
|
|
476
470
|
|
|
477
471
|
paypal?: PaymentMethodDetails.Paypal;
|
|
478
472
|
|
|
479
|
-
payto?: PaymentMethodDetails.Payto;
|
|
480
|
-
|
|
481
473
|
pix?: PaymentMethodDetails.Pix;
|
|
482
474
|
|
|
483
475
|
promptpay?: PaymentMethodDetails.Promptpay;
|
|
484
476
|
|
|
485
|
-
qris?: PaymentMethodDetails.Qris;
|
|
486
|
-
|
|
487
|
-
rechnung?: PaymentMethodDetails.Rechnung;
|
|
488
|
-
|
|
489
477
|
revolut_pay?: PaymentMethodDetails.RevolutPay;
|
|
490
478
|
|
|
491
479
|
samsung_pay?: PaymentMethodDetails.SamsungPay;
|
|
@@ -496,14 +484,10 @@ declare module 'stripe' {
|
|
|
496
484
|
|
|
497
485
|
sepa_debit?: PaymentMethodDetails.SepaDebit;
|
|
498
486
|
|
|
499
|
-
shopeepay?: PaymentMethodDetails.Shopeepay;
|
|
500
|
-
|
|
501
487
|
sofort?: PaymentMethodDetails.Sofort;
|
|
502
488
|
|
|
503
489
|
stripe_account?: PaymentMethodDetails.StripeAccount;
|
|
504
490
|
|
|
505
|
-
stripe_balance?: PaymentMethodDetails.StripeBalance;
|
|
506
|
-
|
|
507
491
|
swish?: PaymentMethodDetails.Swish;
|
|
508
492
|
|
|
509
493
|
twint?: PaymentMethodDetails.Twint;
|
|
@@ -661,10 +645,31 @@ declare module 'stripe' {
|
|
|
661
645
|
transaction_id: string | null;
|
|
662
646
|
}
|
|
663
647
|
|
|
664
|
-
interface Alma {
|
|
648
|
+
interface Alma {
|
|
649
|
+
installments?: Alma.Installments;
|
|
650
|
+
|
|
651
|
+
/**
|
|
652
|
+
* The Alma transaction ID associated with this payment.
|
|
653
|
+
*/
|
|
654
|
+
transaction_id: string | null;
|
|
655
|
+
}
|
|
656
|
+
|
|
657
|
+
namespace Alma {
|
|
658
|
+
interface Installments {
|
|
659
|
+
/**
|
|
660
|
+
* The number of installments.
|
|
661
|
+
*/
|
|
662
|
+
count: number;
|
|
663
|
+
}
|
|
664
|
+
}
|
|
665
665
|
|
|
666
666
|
interface AmazonPay {
|
|
667
667
|
funding?: AmazonPay.Funding;
|
|
668
|
+
|
|
669
|
+
/**
|
|
670
|
+
* The Amazon Pay transaction ID associated with this payment.
|
|
671
|
+
*/
|
|
672
|
+
transaction_id: string | null;
|
|
668
673
|
}
|
|
669
674
|
|
|
670
675
|
namespace AmazonPay {
|
|
@@ -684,11 +689,6 @@ declare module 'stripe' {
|
|
|
684
689
|
*/
|
|
685
690
|
brand: string | null;
|
|
686
691
|
|
|
687
|
-
/**
|
|
688
|
-
* 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.)
|
|
689
|
-
*/
|
|
690
|
-
brand_product?: string | null;
|
|
691
|
-
|
|
692
692
|
/**
|
|
693
693
|
* 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.
|
|
694
694
|
*/
|
|
@@ -809,7 +809,12 @@ declare module 'stripe' {
|
|
|
809
809
|
type PreferredLanguage = 'de' | 'en' | 'fr' | 'nl';
|
|
810
810
|
}
|
|
811
811
|
|
|
812
|
-
interface Billie {
|
|
812
|
+
interface Billie {
|
|
813
|
+
/**
|
|
814
|
+
* The Billie transaction ID associated with this payment.
|
|
815
|
+
*/
|
|
816
|
+
transaction_id: string | null;
|
|
817
|
+
}
|
|
813
818
|
|
|
814
819
|
interface Blik {
|
|
815
820
|
/**
|
|
@@ -831,11 +836,6 @@ declare module 'stripe' {
|
|
|
831
836
|
*/
|
|
832
837
|
amount_authorized: number | null;
|
|
833
838
|
|
|
834
|
-
/**
|
|
835
|
-
* The latest amount intended to be authorized by this charge.
|
|
836
|
-
*/
|
|
837
|
-
amount_requested?: number | null;
|
|
838
|
-
|
|
839
839
|
/**
|
|
840
840
|
* Authorization code on the charge.
|
|
841
841
|
*/
|
|
@@ -861,8 +861,6 @@ declare module 'stripe' {
|
|
|
861
861
|
*/
|
|
862
862
|
country: string | null;
|
|
863
863
|
|
|
864
|
-
decremental_authorization?: Card.DecrementalAuthorization;
|
|
865
|
-
|
|
866
864
|
/**
|
|
867
865
|
* 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.)
|
|
868
866
|
*/
|
|
@@ -945,8 +943,6 @@ declare module 'stripe' {
|
|
|
945
943
|
|
|
946
944
|
overcapture?: Card.Overcapture;
|
|
947
945
|
|
|
948
|
-
partial_authorization?: Card.PartialAuthorization;
|
|
949
|
-
|
|
950
946
|
/**
|
|
951
947
|
* Status of a card based on the card issuer.
|
|
952
948
|
*/
|
|
@@ -981,17 +977,6 @@ declare module 'stripe' {
|
|
|
981
977
|
cvc_check: string | null;
|
|
982
978
|
}
|
|
983
979
|
|
|
984
|
-
interface DecrementalAuthorization {
|
|
985
|
-
/**
|
|
986
|
-
* Indicates whether or not the decremental authorization feature is supported.
|
|
987
|
-
*/
|
|
988
|
-
status: DecrementalAuthorization.Status;
|
|
989
|
-
}
|
|
990
|
-
|
|
991
|
-
namespace DecrementalAuthorization {
|
|
992
|
-
type Status = 'available' | 'unavailable';
|
|
993
|
-
}
|
|
994
|
-
|
|
995
980
|
interface ExtendedAuthorization {
|
|
996
981
|
/**
|
|
997
982
|
* Indicates whether or not the capture window is extended beyond the standard authorization.
|
|
@@ -1079,21 +1064,6 @@ declare module 'stripe' {
|
|
|
1079
1064
|
type Status = 'available' | 'unavailable';
|
|
1080
1065
|
}
|
|
1081
1066
|
|
|
1082
|
-
interface PartialAuthorization {
|
|
1083
|
-
/**
|
|
1084
|
-
* Indicates whether the transaction requested for partial authorization feature and the authorization outcome.
|
|
1085
|
-
*/
|
|
1086
|
-
status: PartialAuthorization.Status;
|
|
1087
|
-
}
|
|
1088
|
-
|
|
1089
|
-
namespace PartialAuthorization {
|
|
1090
|
-
type Status =
|
|
1091
|
-
| 'declined'
|
|
1092
|
-
| 'fully_authorized'
|
|
1093
|
-
| 'not_requested'
|
|
1094
|
-
| 'partially_authorized';
|
|
1095
|
-
}
|
|
1096
|
-
|
|
1097
1067
|
type RegulatedStatus = 'regulated' | 'unregulated';
|
|
1098
1068
|
|
|
1099
1069
|
interface ThreeDSecure {
|
|
@@ -1633,8 +1603,6 @@ declare module 'stripe' {
|
|
|
1633
1603
|
verified_name: string | null;
|
|
1634
1604
|
}
|
|
1635
1605
|
|
|
1636
|
-
interface Gopay {}
|
|
1637
|
-
|
|
1638
1606
|
interface Grabpay {
|
|
1639
1607
|
/**
|
|
1640
1608
|
* Unique transaction id generated by GrabPay
|
|
@@ -1642,37 +1610,6 @@ declare module 'stripe' {
|
|
|
1642
1610
|
transaction_id: string | null;
|
|
1643
1611
|
}
|
|
1644
1612
|
|
|
1645
|
-
interface IdBankTransfer {
|
|
1646
|
-
/**
|
|
1647
|
-
* Account number of the bank account to transfer funds to.
|
|
1648
|
-
*/
|
|
1649
|
-
account_number: string;
|
|
1650
|
-
|
|
1651
|
-
/**
|
|
1652
|
-
* Bank where the account is located.
|
|
1653
|
-
*/
|
|
1654
|
-
bank: IdBankTransfer.Bank;
|
|
1655
|
-
|
|
1656
|
-
/**
|
|
1657
|
-
* Local bank code of the bank.
|
|
1658
|
-
*/
|
|
1659
|
-
bank_code?: string;
|
|
1660
|
-
|
|
1661
|
-
/**
|
|
1662
|
-
* Name of the bank associated with the bank account.
|
|
1663
|
-
*/
|
|
1664
|
-
bank_name?: string;
|
|
1665
|
-
|
|
1666
|
-
/**
|
|
1667
|
-
* Merchant name and billing details name, for the customer to check for the correct merchant when performing the bank transfer.
|
|
1668
|
-
*/
|
|
1669
|
-
display_name?: string;
|
|
1670
|
-
}
|
|
1671
|
-
|
|
1672
|
-
namespace IdBankTransfer {
|
|
1673
|
-
type Bank = 'bca' | 'bni' | 'bri' | 'cimb' | 'permata';
|
|
1674
|
-
}
|
|
1675
|
-
|
|
1676
1613
|
interface Ideal {
|
|
1677
1614
|
/**
|
|
1678
1615
|
* The customer's bank. Can be one of `abn_amro`, `asn_bank`, `bunq`, `buut`, `handelsbanken`, `ing`, `knab`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`.
|
|
@@ -1906,6 +1843,11 @@ declare module 'stripe' {
|
|
|
1906
1843
|
* A unique identifier for the buyer as determined by the local payment processor.
|
|
1907
1844
|
*/
|
|
1908
1845
|
buyer_id: string | null;
|
|
1846
|
+
|
|
1847
|
+
/**
|
|
1848
|
+
* The Kakao Pay transaction ID associated with this payment.
|
|
1849
|
+
*/
|
|
1850
|
+
transaction_id: string | null;
|
|
1909
1851
|
}
|
|
1910
1852
|
|
|
1911
1853
|
interface Klarna {
|
|
@@ -1980,6 +1922,11 @@ declare module 'stripe' {
|
|
|
1980
1922
|
* The last four digits of the card. This may not be present for American Express cards.
|
|
1981
1923
|
*/
|
|
1982
1924
|
last4: string | null;
|
|
1925
|
+
|
|
1926
|
+
/**
|
|
1927
|
+
* The Korean Card transaction ID associated with this payment.
|
|
1928
|
+
*/
|
|
1929
|
+
transaction_id: string | null;
|
|
1983
1930
|
}
|
|
1984
1931
|
|
|
1985
1932
|
namespace KrCard {
|
|
@@ -2016,8 +1963,6 @@ declare module 'stripe' {
|
|
|
2016
1963
|
country: string | null;
|
|
2017
1964
|
}
|
|
2018
1965
|
|
|
2019
|
-
interface MbWay {}
|
|
2020
|
-
|
|
2021
1966
|
interface Mobilepay {
|
|
2022
1967
|
/**
|
|
2023
1968
|
* Internal card details
|
|
@@ -2071,6 +2016,11 @@ declare module 'stripe' {
|
|
|
2071
2016
|
* A unique identifier for the buyer as determined by the local payment processor.
|
|
2072
2017
|
*/
|
|
2073
2018
|
buyer_id: string | null;
|
|
2019
|
+
|
|
2020
|
+
/**
|
|
2021
|
+
* The Naver Pay transaction ID associated with this payment.
|
|
2022
|
+
*/
|
|
2023
|
+
transaction_id: string | null;
|
|
2074
2024
|
}
|
|
2075
2025
|
|
|
2076
2026
|
interface NzBankAccount {
|
|
@@ -2168,9 +2118,24 @@ declare module 'stripe' {
|
|
|
2168
2118
|
* A unique identifier for the buyer as determined by the local payment processor.
|
|
2169
2119
|
*/
|
|
2170
2120
|
buyer_id: string | null;
|
|
2121
|
+
|
|
2122
|
+
/**
|
|
2123
|
+
* The Payco transaction ID associated with this payment.
|
|
2124
|
+
*/
|
|
2125
|
+
transaction_id: string | null;
|
|
2171
2126
|
}
|
|
2172
2127
|
|
|
2173
2128
|
interface Paynow {
|
|
2129
|
+
/**
|
|
2130
|
+
* ID of the [location](https://stripe.com/docs/api/terminal/locations) that this transaction's reader is assigned to.
|
|
2131
|
+
*/
|
|
2132
|
+
location?: string;
|
|
2133
|
+
|
|
2134
|
+
/**
|
|
2135
|
+
* ID of the [reader](https://stripe.com/docs/api/terminal/readers) this transaction was made on.
|
|
2136
|
+
*/
|
|
2137
|
+
reader?: string;
|
|
2138
|
+
|
|
2174
2139
|
/**
|
|
2175
2140
|
* Reference number associated with this PayNow payment
|
|
2176
2141
|
*/
|
|
@@ -2205,36 +2170,10 @@ declare module 'stripe' {
|
|
|
2205
2170
|
*/
|
|
2206
2171
|
seller_protection: Paypal.SellerProtection | null;
|
|
2207
2172
|
|
|
2208
|
-
/**
|
|
2209
|
-
* The shipping address for the customer, as supplied by the merchant at the point of payment
|
|
2210
|
-
* execution. This shipping address will not be updated if the merchant updates the shipping
|
|
2211
|
-
* address on the PaymentIntent after the PaymentIntent was successfully confirmed.
|
|
2212
|
-
*/
|
|
2213
|
-
shipping?: Stripe.Address | null;
|
|
2214
|
-
|
|
2215
2173
|
/**
|
|
2216
2174
|
* A unique ID generated by PayPal for this transaction.
|
|
2217
2175
|
*/
|
|
2218
2176
|
transaction_id: string | null;
|
|
2219
|
-
|
|
2220
|
-
/**
|
|
2221
|
-
* The shipping address for the customer, as supplied by the merchant at the point of payment
|
|
2222
|
-
* execution. This shipping address will not be updated if the merchant updates the shipping
|
|
2223
|
-
* address on the PaymentIntent after the PaymentIntent was successfully confirmed.
|
|
2224
|
-
*/
|
|
2225
|
-
verified_address?: Stripe.Address | null;
|
|
2226
|
-
|
|
2227
|
-
/**
|
|
2228
|
-
* Owner's verified email. Values are verified or provided by PayPal directly
|
|
2229
|
-
* (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
|
2230
|
-
*/
|
|
2231
|
-
verified_email?: string | null;
|
|
2232
|
-
|
|
2233
|
-
/**
|
|
2234
|
-
* Owner's verified full name. Values are verified or provided by PayPal directly
|
|
2235
|
-
* (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
|
2236
|
-
*/
|
|
2237
|
-
verified_name?: string | null;
|
|
2238
2177
|
}
|
|
2239
2178
|
|
|
2240
2179
|
namespace Paypal {
|
|
@@ -2257,28 +2196,6 @@ declare module 'stripe' {
|
|
|
2257
2196
|
}
|
|
2258
2197
|
}
|
|
2259
2198
|
|
|
2260
|
-
interface Payto {
|
|
2261
|
-
/**
|
|
2262
|
-
* Bank-State-Branch number of the bank account.
|
|
2263
|
-
*/
|
|
2264
|
-
bsb_number: string | null;
|
|
2265
|
-
|
|
2266
|
-
/**
|
|
2267
|
-
* Last four digits of the bank account number.
|
|
2268
|
-
*/
|
|
2269
|
-
last4: string | null;
|
|
2270
|
-
|
|
2271
|
-
/**
|
|
2272
|
-
* ID of the mandate used to make this payment.
|
|
2273
|
-
*/
|
|
2274
|
-
mandate?: string;
|
|
2275
|
-
|
|
2276
|
-
/**
|
|
2277
|
-
* The PayID alias for the bank account.
|
|
2278
|
-
*/
|
|
2279
|
-
pay_id: string | null;
|
|
2280
|
-
}
|
|
2281
|
-
|
|
2282
2199
|
interface Pix {
|
|
2283
2200
|
/**
|
|
2284
2201
|
* Unique transaction id generated by BCB
|
|
@@ -2293,12 +2210,13 @@ declare module 'stripe' {
|
|
|
2293
2210
|
reference: string | null;
|
|
2294
2211
|
}
|
|
2295
2212
|
|
|
2296
|
-
interface Qris {}
|
|
2297
|
-
|
|
2298
|
-
interface Rechnung {}
|
|
2299
|
-
|
|
2300
2213
|
interface RevolutPay {
|
|
2301
2214
|
funding?: RevolutPay.Funding;
|
|
2215
|
+
|
|
2216
|
+
/**
|
|
2217
|
+
* The Revolut Pay transaction ID associated with this payment.
|
|
2218
|
+
*/
|
|
2219
|
+
transaction_id: string | null;
|
|
2302
2220
|
}
|
|
2303
2221
|
|
|
2304
2222
|
namespace RevolutPay {
|
|
@@ -2318,11 +2236,6 @@ declare module 'stripe' {
|
|
|
2318
2236
|
*/
|
|
2319
2237
|
brand: string | null;
|
|
2320
2238
|
|
|
2321
|
-
/**
|
|
2322
|
-
* 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.)
|
|
2323
|
-
*/
|
|
2324
|
-
brand_product?: string | null;
|
|
2325
|
-
|
|
2326
2239
|
/**
|
|
2327
2240
|
* 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.
|
|
2328
2241
|
*/
|
|
@@ -2356,9 +2269,19 @@ declare module 'stripe' {
|
|
|
2356
2269
|
* A unique identifier for the buyer as determined by the local payment processor.
|
|
2357
2270
|
*/
|
|
2358
2271
|
buyer_id: string | null;
|
|
2272
|
+
|
|
2273
|
+
/**
|
|
2274
|
+
* The Samsung Pay transaction ID associated with this payment.
|
|
2275
|
+
*/
|
|
2276
|
+
transaction_id: string | null;
|
|
2359
2277
|
}
|
|
2360
2278
|
|
|
2361
|
-
interface Satispay {
|
|
2279
|
+
interface Satispay {
|
|
2280
|
+
/**
|
|
2281
|
+
* The Satispay transaction ID associated with this payment.
|
|
2282
|
+
*/
|
|
2283
|
+
transaction_id: string | null;
|
|
2284
|
+
}
|
|
2362
2285
|
|
|
2363
2286
|
interface SepaCreditTransfer {
|
|
2364
2287
|
/**
|
|
@@ -2409,8 +2332,6 @@ declare module 'stripe' {
|
|
|
2409
2332
|
mandate: string | null;
|
|
2410
2333
|
}
|
|
2411
2334
|
|
|
2412
|
-
interface Shopeepay {}
|
|
2413
|
-
|
|
2414
2335
|
interface Sofort {
|
|
2415
2336
|
/**
|
|
2416
2337
|
* Bank code of bank associated with the bank account.
|
|
@@ -2473,22 +2394,6 @@ declare module 'stripe' {
|
|
|
2473
2394
|
|
|
2474
2395
|
interface StripeAccount {}
|
|
2475
2396
|
|
|
2476
|
-
interface StripeBalance {
|
|
2477
|
-
/**
|
|
2478
|
-
* The connected account ID whose Stripe balance to use as the source of payment
|
|
2479
|
-
*/
|
|
2480
|
-
account?: string | null;
|
|
2481
|
-
|
|
2482
|
-
/**
|
|
2483
|
-
* The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
|
|
2484
|
-
*/
|
|
2485
|
-
source_type: StripeBalance.SourceType;
|
|
2486
|
-
}
|
|
2487
|
-
|
|
2488
|
-
namespace StripeBalance {
|
|
2489
|
-
type SourceType = 'bank_account' | 'card' | 'fpx';
|
|
2490
|
-
}
|
|
2491
|
-
|
|
2492
2397
|
interface Swish {
|
|
2493
2398
|
/**
|
|
2494
2399
|
* 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
|