stripe 19.2.0-beta.1 → 19.2.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 +64 -1433
- package/OPENAPI_VERSION +1 -1
- package/README.md +0 -1
- package/VERSION +1 -1
- package/cjs/Error.js +1 -115
- 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/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/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
|
@@ -64,13 +64,13 @@ declare module 'stripe' {
|
|
|
64
64
|
|
|
65
65
|
crypto?: PaymentMethod.Crypto;
|
|
66
66
|
|
|
67
|
+
custom?: PaymentMethod.Custom;
|
|
68
|
+
|
|
67
69
|
/**
|
|
68
70
|
* The ID of the Customer to which this PaymentMethod is saved. This will not be set when the PaymentMethod has not been saved to a Customer.
|
|
69
71
|
*/
|
|
70
72
|
customer: string | Stripe.Customer | null;
|
|
71
73
|
|
|
72
|
-
customer_account?: string | null;
|
|
73
|
-
|
|
74
74
|
customer_balance?: PaymentMethod.CustomerBalance;
|
|
75
75
|
|
|
76
76
|
eps?: PaymentMethod.Eps;
|
|
@@ -79,12 +79,8 @@ declare module 'stripe' {
|
|
|
79
79
|
|
|
80
80
|
giropay?: PaymentMethod.Giropay;
|
|
81
81
|
|
|
82
|
-
gopay?: PaymentMethod.Gopay;
|
|
83
|
-
|
|
84
82
|
grabpay?: PaymentMethod.Grabpay;
|
|
85
83
|
|
|
86
|
-
id_bank_transfer?: PaymentMethod.IdBankTransfer;
|
|
87
|
-
|
|
88
84
|
ideal?: PaymentMethod.Ideal;
|
|
89
85
|
|
|
90
86
|
interac_present?: PaymentMethod.InteracPresent;
|
|
@@ -97,11 +93,6 @@ declare module 'stripe' {
|
|
|
97
93
|
|
|
98
94
|
kr_card?: PaymentMethod.KrCard;
|
|
99
95
|
|
|
100
|
-
/**
|
|
101
|
-
* The Mandate object of the most recently created Mandate associated with this payment method
|
|
102
|
-
*/
|
|
103
|
-
latest_active_mandate?: Stripe.Mandate | null;
|
|
104
|
-
|
|
105
96
|
link?: PaymentMethod.Link;
|
|
106
97
|
|
|
107
98
|
/**
|
|
@@ -136,23 +127,15 @@ declare module 'stripe' {
|
|
|
136
127
|
|
|
137
128
|
paypal?: PaymentMethod.Paypal;
|
|
138
129
|
|
|
139
|
-
paypay?: PaymentMethod.Paypay;
|
|
140
|
-
|
|
141
|
-
payto?: PaymentMethod.Payto;
|
|
142
|
-
|
|
143
130
|
pix?: PaymentMethod.Pix;
|
|
144
131
|
|
|
145
132
|
promptpay?: PaymentMethod.Promptpay;
|
|
146
133
|
|
|
147
|
-
qris?: PaymentMethod.Qris;
|
|
148
|
-
|
|
149
134
|
/**
|
|
150
135
|
* Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
|
|
151
136
|
*/
|
|
152
137
|
radar_options?: PaymentMethod.RadarOptions;
|
|
153
138
|
|
|
154
|
-
rechnung?: PaymentMethod.Rechnung;
|
|
155
|
-
|
|
156
139
|
revolut_pay?: PaymentMethod.RevolutPay;
|
|
157
140
|
|
|
158
141
|
samsung_pay?: PaymentMethod.SamsungPay;
|
|
@@ -161,12 +144,8 @@ declare module 'stripe' {
|
|
|
161
144
|
|
|
162
145
|
sepa_debit?: PaymentMethod.SepaDebit;
|
|
163
146
|
|
|
164
|
-
shopeepay?: PaymentMethod.Shopeepay;
|
|
165
|
-
|
|
166
147
|
sofort?: PaymentMethod.Sofort;
|
|
167
148
|
|
|
168
|
-
stripe_balance?: PaymentMethod.StripeBalance;
|
|
169
|
-
|
|
170
149
|
swish?: PaymentMethod.Swish;
|
|
171
150
|
|
|
172
151
|
twint?: PaymentMethod.Twint;
|
|
@@ -185,11 +164,6 @@ declare module 'stripe' {
|
|
|
185
164
|
|
|
186
165
|
namespace PaymentMethod {
|
|
187
166
|
interface AcssDebit {
|
|
188
|
-
/**
|
|
189
|
-
* Account number of the bank account.
|
|
190
|
-
*/
|
|
191
|
-
account_number?: string | null;
|
|
192
|
-
|
|
193
167
|
/**
|
|
194
168
|
* Name of the bank associated with the bank account.
|
|
195
169
|
*/
|
|
@@ -913,6 +887,37 @@ declare module 'stripe' {
|
|
|
913
887
|
|
|
914
888
|
interface Crypto {}
|
|
915
889
|
|
|
890
|
+
interface Custom {
|
|
891
|
+
/**
|
|
892
|
+
* Display name of the Dashboard-only CustomPaymentMethodType.
|
|
893
|
+
*/
|
|
894
|
+
display_name: string | null;
|
|
895
|
+
|
|
896
|
+
/**
|
|
897
|
+
* Contains information about the Dashboard-only CustomPaymentMethodType logo.
|
|
898
|
+
*/
|
|
899
|
+
logo: Custom.Logo | null;
|
|
900
|
+
|
|
901
|
+
/**
|
|
902
|
+
* ID of the Dashboard-only CustomPaymentMethodType. Not expandable.
|
|
903
|
+
*/
|
|
904
|
+
type: string;
|
|
905
|
+
}
|
|
906
|
+
|
|
907
|
+
namespace Custom {
|
|
908
|
+
interface Logo {
|
|
909
|
+
/**
|
|
910
|
+
* Content type of the Dashboard-only CustomPaymentMethodType logo.
|
|
911
|
+
*/
|
|
912
|
+
content_type: string | null;
|
|
913
|
+
|
|
914
|
+
/**
|
|
915
|
+
* URL of the Dashboard-only CustomPaymentMethodType logo.
|
|
916
|
+
*/
|
|
917
|
+
url: string;
|
|
918
|
+
}
|
|
919
|
+
}
|
|
920
|
+
|
|
916
921
|
interface CustomerBalance {}
|
|
917
922
|
|
|
918
923
|
interface Eps {
|
|
@@ -996,24 +1001,8 @@ declare module 'stripe' {
|
|
|
996
1001
|
|
|
997
1002
|
interface Giropay {}
|
|
998
1003
|
|
|
999
|
-
interface Gopay {}
|
|
1000
|
-
|
|
1001
1004
|
interface Grabpay {}
|
|
1002
1005
|
|
|
1003
|
-
interface IdBankTransfer {
|
|
1004
|
-
bank: IdBankTransfer.Bank | null;
|
|
1005
|
-
|
|
1006
|
-
bank_code: string | null;
|
|
1007
|
-
|
|
1008
|
-
bank_name: string | null;
|
|
1009
|
-
|
|
1010
|
-
display_name: string | null;
|
|
1011
|
-
}
|
|
1012
|
-
|
|
1013
|
-
namespace IdBankTransfer {
|
|
1014
|
-
type Bank = 'bca' | 'bni' | 'bri' | 'cimb' | 'permata';
|
|
1015
|
-
}
|
|
1016
|
-
|
|
1017
1006
|
interface Ideal {
|
|
1018
1007
|
/**
|
|
1019
1008
|
* The customer's bank, if provided. 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`.
|
|
@@ -1348,11 +1337,6 @@ declare module 'stripe' {
|
|
|
1348
1337
|
*/
|
|
1349
1338
|
country: string | null;
|
|
1350
1339
|
|
|
1351
|
-
/**
|
|
1352
|
-
* Uniquely identifies this particular PayPal account. You can use this attribute to check whether two PayPal accounts are the same.
|
|
1353
|
-
*/
|
|
1354
|
-
fingerprint?: string | null;
|
|
1355
|
-
|
|
1356
1340
|
/**
|
|
1357
1341
|
* Owner's email. Values are provided by PayPal directly
|
|
1358
1342
|
* (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
|
@@ -1363,39 +1347,12 @@ declare module 'stripe' {
|
|
|
1363
1347
|
* PayPal account PayerID. This identifier uniquely identifies the PayPal customer.
|
|
1364
1348
|
*/
|
|
1365
1349
|
payer_id: string | null;
|
|
1366
|
-
|
|
1367
|
-
/**
|
|
1368
|
-
* Owner's verified email. Values are verified or provided by PayPal directly
|
|
1369
|
-
* (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
|
1370
|
-
*/
|
|
1371
|
-
verified_email?: string | null;
|
|
1372
|
-
}
|
|
1373
|
-
|
|
1374
|
-
interface Paypay {}
|
|
1375
|
-
|
|
1376
|
-
interface Payto {
|
|
1377
|
-
/**
|
|
1378
|
-
* Bank-State-Branch number of the bank account.
|
|
1379
|
-
*/
|
|
1380
|
-
bsb_number: string | null;
|
|
1381
|
-
|
|
1382
|
-
/**
|
|
1383
|
-
* Last four digits of the bank account number.
|
|
1384
|
-
*/
|
|
1385
|
-
last4: string | null;
|
|
1386
|
-
|
|
1387
|
-
/**
|
|
1388
|
-
* The PayID alias for the bank account.
|
|
1389
|
-
*/
|
|
1390
|
-
pay_id: string | null;
|
|
1391
1350
|
}
|
|
1392
1351
|
|
|
1393
1352
|
interface Pix {}
|
|
1394
1353
|
|
|
1395
1354
|
interface Promptpay {}
|
|
1396
1355
|
|
|
1397
|
-
interface Qris {}
|
|
1398
|
-
|
|
1399
1356
|
interface RadarOptions {
|
|
1400
1357
|
/**
|
|
1401
1358
|
* 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.
|
|
@@ -1403,29 +1360,6 @@ declare module 'stripe' {
|
|
|
1403
1360
|
session?: string;
|
|
1404
1361
|
}
|
|
1405
1362
|
|
|
1406
|
-
interface Rechnung {
|
|
1407
|
-
dob?: Rechnung.Dob;
|
|
1408
|
-
}
|
|
1409
|
-
|
|
1410
|
-
namespace Rechnung {
|
|
1411
|
-
interface Dob {
|
|
1412
|
-
/**
|
|
1413
|
-
* The day of birth, between 1 and 31.
|
|
1414
|
-
*/
|
|
1415
|
-
day: number;
|
|
1416
|
-
|
|
1417
|
-
/**
|
|
1418
|
-
* The month of birth, between 1 and 12.
|
|
1419
|
-
*/
|
|
1420
|
-
month: number;
|
|
1421
|
-
|
|
1422
|
-
/**
|
|
1423
|
-
* The four-digit year of birth.
|
|
1424
|
-
*/
|
|
1425
|
-
year: number;
|
|
1426
|
-
}
|
|
1427
|
-
}
|
|
1428
|
-
|
|
1429
1363
|
interface RevolutPay {}
|
|
1430
1364
|
|
|
1431
1365
|
interface SamsungPay {}
|
|
@@ -1478,8 +1412,6 @@ declare module 'stripe' {
|
|
|
1478
1412
|
}
|
|
1479
1413
|
}
|
|
1480
1414
|
|
|
1481
|
-
interface Shopeepay {}
|
|
1482
|
-
|
|
1483
1415
|
interface Sofort {
|
|
1484
1416
|
/**
|
|
1485
1417
|
* Two-letter ISO code representing the country the bank account is located in.
|
|
@@ -1487,22 +1419,6 @@ declare module 'stripe' {
|
|
|
1487
1419
|
country: string | null;
|
|
1488
1420
|
}
|
|
1489
1421
|
|
|
1490
|
-
interface StripeBalance {
|
|
1491
|
-
/**
|
|
1492
|
-
* The connected account ID whose Stripe balance to use as the source of payment
|
|
1493
|
-
*/
|
|
1494
|
-
account?: string | null;
|
|
1495
|
-
|
|
1496
|
-
/**
|
|
1497
|
-
* The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
|
|
1498
|
-
*/
|
|
1499
|
-
source_type: StripeBalance.SourceType;
|
|
1500
|
-
}
|
|
1501
|
-
|
|
1502
|
-
namespace StripeBalance {
|
|
1503
|
-
type SourceType = 'bank_account' | 'card' | 'fpx';
|
|
1504
|
-
}
|
|
1505
|
-
|
|
1506
1422
|
interface Swish {}
|
|
1507
1423
|
|
|
1508
1424
|
interface Twint {}
|
|
@@ -1524,13 +1440,12 @@ declare module 'stripe' {
|
|
|
1524
1440
|
| 'card_present'
|
|
1525
1441
|
| 'cashapp'
|
|
1526
1442
|
| 'crypto'
|
|
1443
|
+
| 'custom'
|
|
1527
1444
|
| 'customer_balance'
|
|
1528
1445
|
| 'eps'
|
|
1529
1446
|
| 'fpx'
|
|
1530
1447
|
| 'giropay'
|
|
1531
|
-
| 'gopay'
|
|
1532
1448
|
| 'grabpay'
|
|
1533
|
-
| 'id_bank_transfer'
|
|
1534
1449
|
| 'ideal'
|
|
1535
1450
|
| 'interac_present'
|
|
1536
1451
|
| 'kakao_pay'
|
|
@@ -1549,19 +1464,13 @@ declare module 'stripe' {
|
|
|
1549
1464
|
| 'payco'
|
|
1550
1465
|
| 'paynow'
|
|
1551
1466
|
| 'paypal'
|
|
1552
|
-
| 'paypay'
|
|
1553
|
-
| 'payto'
|
|
1554
1467
|
| 'pix'
|
|
1555
1468
|
| 'promptpay'
|
|
1556
|
-
| 'qris'
|
|
1557
|
-
| 'rechnung'
|
|
1558
1469
|
| 'revolut_pay'
|
|
1559
1470
|
| 'samsung_pay'
|
|
1560
1471
|
| 'satispay'
|
|
1561
1472
|
| 'sepa_debit'
|
|
1562
|
-
| 'shopeepay'
|
|
1563
1473
|
| 'sofort'
|
|
1564
|
-
| 'stripe_balance'
|
|
1565
1474
|
| 'swish'
|
|
1566
1475
|
| 'twint'
|
|
1567
1476
|
| 'us_bank_account'
|
|
@@ -1574,11 +1483,6 @@ declare module 'stripe' {
|
|
|
1574
1483
|
*/
|
|
1575
1484
|
account_holder_type: UsBankAccount.AccountHolderType | null;
|
|
1576
1485
|
|
|
1577
|
-
/**
|
|
1578
|
-
* Account number of the bank account.
|
|
1579
|
-
*/
|
|
1580
|
-
account_number?: string | null;
|
|
1581
|
-
|
|
1582
1486
|
/**
|
|
1583
1487
|
* Account type: checkings or savings. Defaults to checking if omitted.
|
|
1584
1488
|
*/
|
|
@@ -88,6 +88,11 @@ declare module 'stripe' {
|
|
|
88
88
|
*/
|
|
89
89
|
crypto?: PaymentMethodCreateParams.Crypto;
|
|
90
90
|
|
|
91
|
+
/**
|
|
92
|
+
* If this is a `custom` PaymentMethod, this hash contains details about the Custom payment method.
|
|
93
|
+
*/
|
|
94
|
+
custom?: PaymentMethodCreateParams.Custom;
|
|
95
|
+
|
|
91
96
|
/**
|
|
92
97
|
* The `Customer` to whom the original PaymentMethod is attached.
|
|
93
98
|
*/
|
|
@@ -118,21 +123,11 @@ declare module 'stripe' {
|
|
|
118
123
|
*/
|
|
119
124
|
giropay?: PaymentMethodCreateParams.Giropay;
|
|
120
125
|
|
|
121
|
-
/**
|
|
122
|
-
* If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
|
|
123
|
-
*/
|
|
124
|
-
gopay?: PaymentMethodCreateParams.Gopay;
|
|
125
|
-
|
|
126
126
|
/**
|
|
127
127
|
* If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
|
|
128
128
|
*/
|
|
129
129
|
grabpay?: PaymentMethodCreateParams.Grabpay;
|
|
130
130
|
|
|
131
|
-
/**
|
|
132
|
-
* If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
|
|
133
|
-
*/
|
|
134
|
-
id_bank_transfer?: PaymentMethodCreateParams.IdBankTransfer;
|
|
135
|
-
|
|
136
131
|
/**
|
|
137
132
|
* If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
|
|
138
133
|
*/
|
|
@@ -233,16 +228,6 @@ declare module 'stripe' {
|
|
|
233
228
|
*/
|
|
234
229
|
paypal?: PaymentMethodCreateParams.Paypal;
|
|
235
230
|
|
|
236
|
-
/**
|
|
237
|
-
* If this is a `paypay` PaymentMethod, this hash contains details about the PayPay payment method.
|
|
238
|
-
*/
|
|
239
|
-
paypay?: PaymentMethodCreateParams.Paypay;
|
|
240
|
-
|
|
241
|
-
/**
|
|
242
|
-
* If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
|
|
243
|
-
*/
|
|
244
|
-
payto?: PaymentMethodCreateParams.Payto;
|
|
245
|
-
|
|
246
231
|
/**
|
|
247
232
|
* If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
|
|
248
233
|
*/
|
|
@@ -253,21 +238,11 @@ declare module 'stripe' {
|
|
|
253
238
|
*/
|
|
254
239
|
promptpay?: PaymentMethodCreateParams.Promptpay;
|
|
255
240
|
|
|
256
|
-
/**
|
|
257
|
-
* If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
|
|
258
|
-
*/
|
|
259
|
-
qris?: PaymentMethodCreateParams.Qris;
|
|
260
|
-
|
|
261
241
|
/**
|
|
262
242
|
* Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
|
|
263
243
|
*/
|
|
264
244
|
radar_options?: PaymentMethodCreateParams.RadarOptions;
|
|
265
245
|
|
|
266
|
-
/**
|
|
267
|
-
* If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
|
|
268
|
-
*/
|
|
269
|
-
rechnung?: PaymentMethodCreateParams.Rechnung;
|
|
270
|
-
|
|
271
246
|
/**
|
|
272
247
|
* If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
|
|
273
248
|
*/
|
|
@@ -288,21 +263,11 @@ declare module 'stripe' {
|
|
|
288
263
|
*/
|
|
289
264
|
sepa_debit?: PaymentMethodCreateParams.SepaDebit;
|
|
290
265
|
|
|
291
|
-
/**
|
|
292
|
-
* If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
|
|
293
|
-
*/
|
|
294
|
-
shopeepay?: PaymentMethodCreateParams.Shopeepay;
|
|
295
|
-
|
|
296
266
|
/**
|
|
297
267
|
* If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
|
|
298
268
|
*/
|
|
299
269
|
sofort?: PaymentMethodCreateParams.Sofort;
|
|
300
270
|
|
|
301
|
-
/**
|
|
302
|
-
* This hash contains details about the Stripe balance payment method.
|
|
303
|
-
*/
|
|
304
|
-
stripe_balance?: PaymentMethodCreateParams.StripeBalance;
|
|
305
|
-
|
|
306
271
|
/**
|
|
307
272
|
* If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
|
|
308
273
|
*/
|
|
@@ -477,6 +442,13 @@ declare module 'stripe' {
|
|
|
477
442
|
|
|
478
443
|
interface Crypto {}
|
|
479
444
|
|
|
445
|
+
interface Custom {
|
|
446
|
+
/**
|
|
447
|
+
* ID of the Dashboard-only CustomPaymentMethodType. This field is used by Stripe products' internal code to support CPMs.
|
|
448
|
+
*/
|
|
449
|
+
type: string;
|
|
450
|
+
}
|
|
451
|
+
|
|
480
452
|
interface CustomerBalance {}
|
|
481
453
|
|
|
482
454
|
interface Eps {
|
|
@@ -560,21 +532,8 @@ declare module 'stripe' {
|
|
|
560
532
|
|
|
561
533
|
interface Giropay {}
|
|
562
534
|
|
|
563
|
-
interface Gopay {}
|
|
564
|
-
|
|
565
535
|
interface Grabpay {}
|
|
566
536
|
|
|
567
|
-
interface IdBankTransfer {
|
|
568
|
-
/**
|
|
569
|
-
* Bank where the account is held.
|
|
570
|
-
*/
|
|
571
|
-
bank?: IdBankTransfer.Bank;
|
|
572
|
-
}
|
|
573
|
-
|
|
574
|
-
namespace IdBankTransfer {
|
|
575
|
-
type Bank = 'bca' | 'bni' | 'bri' | 'cimb' | 'permata';
|
|
576
|
-
}
|
|
577
|
-
|
|
578
537
|
interface Ideal {
|
|
579
538
|
/**
|
|
580
539
|
* The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
|
@@ -732,31 +691,10 @@ declare module 'stripe' {
|
|
|
732
691
|
|
|
733
692
|
interface Paypal {}
|
|
734
693
|
|
|
735
|
-
interface Paypay {}
|
|
736
|
-
|
|
737
|
-
interface Payto {
|
|
738
|
-
/**
|
|
739
|
-
* The account number for the bank account.
|
|
740
|
-
*/
|
|
741
|
-
account_number?: string;
|
|
742
|
-
|
|
743
|
-
/**
|
|
744
|
-
* Bank-State-Branch number of the bank account.
|
|
745
|
-
*/
|
|
746
|
-
bsb_number?: string;
|
|
747
|
-
|
|
748
|
-
/**
|
|
749
|
-
* The PayID alias for the bank account.
|
|
750
|
-
*/
|
|
751
|
-
pay_id?: string;
|
|
752
|
-
}
|
|
753
|
-
|
|
754
694
|
interface Pix {}
|
|
755
695
|
|
|
756
696
|
interface Promptpay {}
|
|
757
697
|
|
|
758
|
-
interface Qris {}
|
|
759
|
-
|
|
760
698
|
interface RadarOptions {
|
|
761
699
|
/**
|
|
762
700
|
* 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.
|
|
@@ -764,32 +702,6 @@ declare module 'stripe' {
|
|
|
764
702
|
session?: string;
|
|
765
703
|
}
|
|
766
704
|
|
|
767
|
-
interface Rechnung {
|
|
768
|
-
/**
|
|
769
|
-
* Customer's date of birth
|
|
770
|
-
*/
|
|
771
|
-
dob: Rechnung.Dob;
|
|
772
|
-
}
|
|
773
|
-
|
|
774
|
-
namespace Rechnung {
|
|
775
|
-
interface Dob {
|
|
776
|
-
/**
|
|
777
|
-
* The day of birth, between 1 and 31.
|
|
778
|
-
*/
|
|
779
|
-
day: number;
|
|
780
|
-
|
|
781
|
-
/**
|
|
782
|
-
* The month of birth, between 1 and 12.
|
|
783
|
-
*/
|
|
784
|
-
month: number;
|
|
785
|
-
|
|
786
|
-
/**
|
|
787
|
-
* The four-digit year of birth.
|
|
788
|
-
*/
|
|
789
|
-
year: number;
|
|
790
|
-
}
|
|
791
|
-
}
|
|
792
|
-
|
|
793
705
|
interface RevolutPay {}
|
|
794
706
|
|
|
795
707
|
interface SamsungPay {}
|
|
@@ -803,8 +715,6 @@ declare module 'stripe' {
|
|
|
803
715
|
iban: string;
|
|
804
716
|
}
|
|
805
717
|
|
|
806
|
-
interface Shopeepay {}
|
|
807
|
-
|
|
808
718
|
interface Sofort {
|
|
809
719
|
/**
|
|
810
720
|
* Two-letter ISO code representing the country the bank account is located in.
|
|
@@ -816,22 +726,6 @@ declare module 'stripe' {
|
|
|
816
726
|
type Country = 'AT' | 'BE' | 'DE' | 'ES' | 'IT' | 'NL';
|
|
817
727
|
}
|
|
818
728
|
|
|
819
|
-
interface StripeBalance {
|
|
820
|
-
/**
|
|
821
|
-
* The connected account ID whose Stripe balance to use as the source of payment
|
|
822
|
-
*/
|
|
823
|
-
account?: string;
|
|
824
|
-
|
|
825
|
-
/**
|
|
826
|
-
* The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
|
|
827
|
-
*/
|
|
828
|
-
source_type?: StripeBalance.SourceType;
|
|
829
|
-
}
|
|
830
|
-
|
|
831
|
-
namespace StripeBalance {
|
|
832
|
-
type SourceType = 'bank_account' | 'card' | 'fpx';
|
|
833
|
-
}
|
|
834
|
-
|
|
835
729
|
interface Swish {}
|
|
836
730
|
|
|
837
731
|
interface Twint {}
|
|
@@ -852,13 +746,12 @@ declare module 'stripe' {
|
|
|
852
746
|
| 'card'
|
|
853
747
|
| 'cashapp'
|
|
854
748
|
| 'crypto'
|
|
749
|
+
| 'custom'
|
|
855
750
|
| 'customer_balance'
|
|
856
751
|
| 'eps'
|
|
857
752
|
| 'fpx'
|
|
858
753
|
| 'giropay'
|
|
859
|
-
| 'gopay'
|
|
860
754
|
| 'grabpay'
|
|
861
|
-
| 'id_bank_transfer'
|
|
862
755
|
| 'ideal'
|
|
863
756
|
| 'kakao_pay'
|
|
864
757
|
| 'klarna'
|
|
@@ -876,19 +769,13 @@ declare module 'stripe' {
|
|
|
876
769
|
| 'payco'
|
|
877
770
|
| 'paynow'
|
|
878
771
|
| 'paypal'
|
|
879
|
-
| 'paypay'
|
|
880
|
-
| 'payto'
|
|
881
772
|
| 'pix'
|
|
882
773
|
| 'promptpay'
|
|
883
|
-
| 'qris'
|
|
884
|
-
| 'rechnung'
|
|
885
774
|
| 'revolut_pay'
|
|
886
775
|
| 'samsung_pay'
|
|
887
776
|
| 'satispay'
|
|
888
777
|
| 'sepa_debit'
|
|
889
|
-
| 'shopeepay'
|
|
890
778
|
| 'sofort'
|
|
891
|
-
| 'stripe_balance'
|
|
892
779
|
| 'swish'
|
|
893
780
|
| 'twint'
|
|
894
781
|
| 'us_bank_account'
|
|
@@ -966,11 +853,6 @@ declare module 'stripe' {
|
|
|
966
853
|
*/
|
|
967
854
|
metadata?: Stripe.Emptyable<Stripe.MetadataParam>;
|
|
968
855
|
|
|
969
|
-
/**
|
|
970
|
-
* If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
|
|
971
|
-
*/
|
|
972
|
-
payto?: PaymentMethodUpdateParams.Payto;
|
|
973
|
-
|
|
974
856
|
/**
|
|
975
857
|
* If this is an `us_bank_account` PaymentMethod, this hash contains details about the US bank account payment method.
|
|
976
858
|
*/
|
|
@@ -1037,23 +919,6 @@ declare module 'stripe' {
|
|
|
1037
919
|
}
|
|
1038
920
|
}
|
|
1039
921
|
|
|
1040
|
-
interface Payto {
|
|
1041
|
-
/**
|
|
1042
|
-
* The account number for the bank account.
|
|
1043
|
-
*/
|
|
1044
|
-
account_number?: string;
|
|
1045
|
-
|
|
1046
|
-
/**
|
|
1047
|
-
* Bank-State-Branch number of the bank account.
|
|
1048
|
-
*/
|
|
1049
|
-
bsb_number?: string;
|
|
1050
|
-
|
|
1051
|
-
/**
|
|
1052
|
-
* The PayID alias for the bank account.
|
|
1053
|
-
*/
|
|
1054
|
-
pay_id?: string;
|
|
1055
|
-
}
|
|
1056
|
-
|
|
1057
922
|
interface UsBankAccount {
|
|
1058
923
|
/**
|
|
1059
924
|
* Bank account holder type.
|
|
@@ -1085,7 +950,7 @@ declare module 'stripe' {
|
|
|
1085
950
|
expand?: Array<string>;
|
|
1086
951
|
|
|
1087
952
|
/**
|
|
1088
|
-
*
|
|
953
|
+
* Filters the list by the object `type` field. Unfiltered, the list returns all payment method types except `custom`. If your integration expects only one type of payment method in the response, specify that type value in the request to reduce your payload.
|
|
1089
954
|
*/
|
|
1090
955
|
type?: PaymentMethodListParams.Type;
|
|
1091
956
|
}
|
|
@@ -1107,13 +972,12 @@ declare module 'stripe' {
|
|
|
1107
972
|
| 'card'
|
|
1108
973
|
| 'cashapp'
|
|
1109
974
|
| 'crypto'
|
|
975
|
+
| 'custom'
|
|
1110
976
|
| 'customer_balance'
|
|
1111
977
|
| 'eps'
|
|
1112
978
|
| 'fpx'
|
|
1113
979
|
| 'giropay'
|
|
1114
|
-
| 'gopay'
|
|
1115
980
|
| 'grabpay'
|
|
1116
|
-
| 'id_bank_transfer'
|
|
1117
981
|
| 'ideal'
|
|
1118
982
|
| 'kakao_pay'
|
|
1119
983
|
| 'klarna'
|
|
@@ -1131,19 +995,13 @@ declare module 'stripe' {
|
|
|
1131
995
|
| 'payco'
|
|
1132
996
|
| 'paynow'
|
|
1133
997
|
| 'paypal'
|
|
1134
|
-
| 'paypay'
|
|
1135
|
-
| 'payto'
|
|
1136
998
|
| 'pix'
|
|
1137
999
|
| 'promptpay'
|
|
1138
|
-
| 'qris'
|
|
1139
|
-
| 'rechnung'
|
|
1140
1000
|
| 'revolut_pay'
|
|
1141
1001
|
| 'samsung_pay'
|
|
1142
1002
|
| 'satispay'
|
|
1143
1003
|
| 'sepa_debit'
|
|
1144
|
-
| 'shopeepay'
|
|
1145
1004
|
| 'sofort'
|
|
1146
|
-
| 'stripe_balance'
|
|
1147
1005
|
| 'swish'
|
|
1148
1006
|
| 'twint'
|
|
1149
1007
|
| 'us_bank_account'
|
|
@@ -1155,12 +1013,7 @@ declare module 'stripe' {
|
|
|
1155
1013
|
/**
|
|
1156
1014
|
* The ID of the customer to which to attach the PaymentMethod.
|
|
1157
1015
|
*/
|
|
1158
|
-
customer
|
|
1159
|
-
|
|
1160
|
-
/**
|
|
1161
|
-
* The ID of the account to which to attach the PaymentMethod.
|
|
1162
|
-
*/
|
|
1163
|
-
customer_account?: string;
|
|
1016
|
+
customer: string;
|
|
1164
1017
|
|
|
1165
1018
|
/**
|
|
1166
1019
|
* Specifies which fields in the response should be expanded.
|
|
@@ -1237,11 +1090,7 @@ declare module 'stripe' {
|
|
|
1237
1090
|
*/
|
|
1238
1091
|
attach(
|
|
1239
1092
|
id: string,
|
|
1240
|
-
params
|
|
1241
|
-
options?: RequestOptions
|
|
1242
|
-
): Promise<Stripe.Response<Stripe.PaymentMethod>>;
|
|
1243
|
-
attach(
|
|
1244
|
-
id: string,
|
|
1093
|
+
params: PaymentMethodAttachParams,
|
|
1245
1094
|
options?: RequestOptions
|
|
1246
1095
|
): Promise<Stripe.Response<Stripe.PaymentMethod>>;
|
|
1247
1096
|
|