stripe 18.4.0 → 18.5.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1328 -11
- package/OPENAPI_VERSION +1 -1
- package/README.md +1 -0
- package/VERSION +1 -1
- package/cjs/Error.js +107 -1
- package/cjs/apiVersion.js +2 -3
- package/cjs/resources/AccountNotices.js +21 -0
- package/cjs/resources/BalanceSettings.js +10 -0
- package/cjs/resources/Billing/MeterUsage.js +12 -0
- package/cjs/resources/Capital/FinancingOffers.js +21 -0
- package/cjs/resources/Capital/FinancingSummary.js +12 -0
- package/cjs/resources/Capital/FinancingTransactions.js +17 -0
- package/cjs/resources/ExternalAccounts.js +23 -0
- package/cjs/resources/FinancialConnections/Accounts.js +5 -0
- package/cjs/resources/FinancialConnections/Institutions.js +17 -0
- package/cjs/resources/FxQuotes.js +15 -0
- package/cjs/resources/Issuing/CreditUnderwritingRecords.js +33 -0
- package/cjs/resources/Issuing/DisputeSettlementDetails.js +17 -0
- package/cjs/resources/Issuing/FraudLiabilityDebits.js +17 -0
- package/cjs/resources/Margins.js +22 -0
- package/cjs/resources/Orders.js +24 -0
- package/cjs/resources/PaymentAttemptRecords.js +17 -0
- package/cjs/resources/PaymentIntents.js +13 -0
- package/cjs/resources/PaymentRecords.js +29 -0
- package/cjs/resources/Privacy/RedactionJobs.js +42 -0
- package/cjs/resources/Quotes.js +32 -0
- package/cjs/resources/SubscriptionSchedules.js +4 -0
- package/cjs/resources/Tax/Associations.js +9 -0
- package/cjs/resources/Tax/Forms.js +20 -0
- package/cjs/resources/Terminal/OnboardingLinks.js +12 -0
- package/cjs/resources/Terminal/ReaderCollectedData.js +12 -0
- package/cjs/resources/V2/Core/AccountLinks.js +9 -0
- package/cjs/resources/V2/Core/Accounts/Persons.js +29 -0
- package/cjs/resources/V2/Core/Accounts.js +25 -0
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.js +28 -0
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.js +24 -0
- package/cjs/resources/V2/MoneyManagement/Adjustments.js +17 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +25 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js +21 -0
- package/cjs/resources/V2/MoneyManagement/InboundTransfers.js +21 -0
- package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +16 -0
- package/cjs/resources/V2/MoneyManagement/OutboundPayments.js +25 -0
- package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js +29 -0
- package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js +25 -0
- package/cjs/resources/V2/MoneyManagement/PayoutMethods.js +25 -0
- package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +12 -0
- package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js +17 -0
- package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js +17 -0
- package/cjs/resources/V2/MoneyManagement/TransactionEntries.js +17 -0
- package/cjs/resources/V2/MoneyManagement/Transactions.js +17 -0
- package/cjs/resources/V2/Payments/OffSessionPayments.js +25 -0
- package/cjs/resources/V2/TestHelpers/FinancialAddresses.js +16 -0
- package/cjs/resources.js +102 -8
- package/cjs/stripe.core.js +1 -1
- package/esm/Error.js +93 -0
- package/esm/apiVersion.js +1 -2
- package/esm/resources/AccountNotices.js +18 -0
- package/esm/resources/BalanceSettings.js +7 -0
- package/esm/resources/Billing/MeterUsage.js +9 -0
- package/esm/resources/Capital/FinancingOffers.js +18 -0
- package/esm/resources/Capital/FinancingSummary.js +9 -0
- package/esm/resources/Capital/FinancingTransactions.js +14 -0
- package/esm/resources/ExternalAccounts.js +20 -0
- package/esm/resources/FinancialConnections/Accounts.js +5 -0
- package/esm/resources/FinancialConnections/Institutions.js +14 -0
- package/esm/resources/FxQuotes.js +12 -0
- package/esm/resources/Issuing/CreditUnderwritingRecords.js +30 -0
- package/esm/resources/Issuing/DisputeSettlementDetails.js +14 -0
- package/esm/resources/Issuing/FraudLiabilityDebits.js +14 -0
- package/esm/resources/Margins.js +19 -0
- package/esm/resources/Orders.js +21 -0
- package/esm/resources/PaymentAttemptRecords.js +14 -0
- package/esm/resources/PaymentIntents.js +13 -0
- package/esm/resources/PaymentRecords.js +26 -0
- package/esm/resources/Privacy/RedactionJobs.js +39 -0
- package/esm/resources/Quotes.js +32 -0
- package/esm/resources/SubscriptionSchedules.js +4 -0
- package/esm/resources/Tax/Associations.js +6 -0
- package/esm/resources/Tax/Forms.js +17 -0
- package/esm/resources/Terminal/OnboardingLinks.js +9 -0
- package/esm/resources/Terminal/ReaderCollectedData.js +9 -0
- package/esm/resources/V2/Core/AccountLinks.js +6 -0
- package/esm/resources/V2/Core/Accounts/Persons.js +26 -0
- package/esm/resources/V2/Core/Accounts.js +22 -0
- package/esm/resources/V2/Core/Vault/GbBankAccounts.js +25 -0
- package/esm/resources/V2/Core/Vault/UsBankAccounts.js +21 -0
- package/esm/resources/V2/MoneyManagement/Adjustments.js +14 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +22 -0
- package/esm/resources/V2/MoneyManagement/FinancialAddresses.js +18 -0
- package/esm/resources/V2/MoneyManagement/InboundTransfers.js +18 -0
- package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +13 -0
- package/esm/resources/V2/MoneyManagement/OutboundPayments.js +22 -0
- package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js +26 -0
- package/esm/resources/V2/MoneyManagement/OutboundTransfers.js +22 -0
- package/esm/resources/V2/MoneyManagement/PayoutMethods.js +22 -0
- package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +9 -0
- package/esm/resources/V2/MoneyManagement/ReceivedCredits.js +14 -0
- package/esm/resources/V2/MoneyManagement/ReceivedDebits.js +14 -0
- package/esm/resources/V2/MoneyManagement/TransactionEntries.js +14 -0
- package/esm/resources/V2/MoneyManagement/Transactions.js +14 -0
- package/esm/resources/V2/Payments/OffSessionPayments.js +22 -0
- package/esm/resources/V2/TestHelpers/FinancialAddresses.js +13 -0
- package/esm/resources.js +86 -0
- package/esm/stripe.core.js +1 -1
- package/package.json +1 -1
- package/types/AccountLinksResource.d.ts +5 -1
- package/types/AccountNotices.d.ts +113 -0
- package/types/AccountNoticesResource.d.ts +98 -0
- package/types/AccountSessions.d.ts +45 -0
- package/types/AccountSessionsResource.d.ts +264 -0
- package/types/Accounts.d.ts +212 -1
- package/types/AccountsResource.d.ts +544 -0
- package/types/BalanceSettings.d.ts +91 -0
- package/types/BalanceSettingsResource.d.ts +110 -0
- package/types/Billing/CreditBalanceSummary.d.ts +5 -0
- package/types/Billing/CreditBalanceSummaryResource.d.ts +8 -3
- package/types/Billing/CreditBalanceTransactionsResource.d.ts +12 -4
- package/types/Billing/CreditGrants.d.ts +5 -0
- package/types/Billing/CreditGrantsResource.d.ts +11 -1
- package/types/Billing/MeterUsage.d.ts +32 -0
- package/types/Billing/MeterUsageResource.d.ts +685 -0
- package/types/Billing/MeterUsageRows.d.ts +49 -0
- package/types/BillingPortal/Sessions.d.ts +5 -0
- package/types/BillingPortal/SessionsResource.d.ts +12 -4
- package/types/Capital/FinancingOffers.d.ts +188 -0
- package/types/Capital/FinancingOffersResource.d.ts +97 -0
- package/types/Capital/FinancingSummary.d.ts +106 -0
- package/types/Capital/FinancingSummaryResource.d.ts +27 -0
- package/types/Capital/FinancingTransactions.d.ts +135 -0
- package/types/Capital/FinancingTransactionsResource.d.ts +68 -0
- package/types/Cards.d.ts +5 -0
- package/types/CashBalances.d.ts +5 -0
- package/types/Charges.d.ts +166 -0
- package/types/ChargesResource.d.ts +1406 -0
- package/types/Checkout/Sessions.d.ts +314 -1
- package/types/Checkout/SessionsResource.d.ts +414 -1
- package/types/ConfirmationTokens.d.ts +125 -0
- package/types/Coupons.d.ts +33 -0
- package/types/CouponsResource.d.ts +21 -0
- package/types/CreditNoteLineItems.d.ts +17 -0
- package/types/CreditNotes.d.ts +5 -0
- package/types/CreditNotesResource.d.ts +5 -0
- package/types/CustomerBalanceTransactions.d.ts +2 -0
- package/types/CustomerCashBalanceTransactions.d.ts +2 -0
- package/types/CustomerSessions.d.ts +5 -0
- package/types/CustomerSessionsResource.d.ts +6 -1
- package/types/Customers.d.ts +2 -0
- package/types/CustomersResource.d.ts +8 -0
- package/types/Discounts.d.ts +10 -0
- package/types/Disputes.d.ts +29 -0
- package/types/Errors.d.ts +81 -2
- package/types/EventTypes.d.ts +664 -0
- package/types/Events.d.ts +97 -0
- package/types/ExternalAccountsResource.d.ts +304 -0
- package/types/FinancialConnections/AccountInferredBalances.d.ts +38 -0
- package/types/FinancialConnections/Accounts.d.ts +36 -1
- package/types/FinancialConnections/AccountsResource.d.ts +40 -3
- package/types/FinancialConnections/Institutions.d.ts +98 -0
- package/types/FinancialConnections/InstitutionsResource.d.ts +47 -0
- package/types/FinancialConnections/Sessions.d.ts +51 -1
- package/types/FinancialConnections/SessionsResource.d.ts +43 -1
- package/types/FxQuotes.d.ts +155 -0
- package/types/FxQuotesResource.d.ts +130 -0
- package/types/Identity/VerificationSessions.d.ts +5 -0
- package/types/Identity/VerificationSessionsResource.d.ts +7 -0
- package/types/InvoiceItems.d.ts +10 -0
- package/types/InvoiceItemsResource.d.ts +117 -6
- package/types/InvoiceLineItems.d.ts +45 -1
- package/types/InvoicePayments.d.ts +5 -0
- package/types/InvoicePaymentsResource.d.ts +7 -1
- package/types/Invoices.d.ts +171 -3
- package/types/InvoicesResource.d.ts +1537 -26
- package/types/Issuing/CardholdersResource.d.ts +2 -1
- package/types/Issuing/CreditUnderwritingRecords.d.ts +451 -0
- package/types/Issuing/CreditUnderwritingRecordsResource.d.ts +1032 -0
- package/types/Issuing/DisputeSettlementDetails.d.ts +85 -0
- package/types/Issuing/DisputeSettlementDetailsResource.d.ts +52 -0
- package/types/Issuing/FraudLiabilityDebits.d.ts +52 -0
- package/types/Issuing/FraudLiabilityDebitsResource.d.ts +52 -0
- package/types/Issuing/Settlements.d.ts +113 -0
- package/types/Issuing/Transactions.d.ts +5 -0
- package/types/Issuing/TransactionsResource.d.ts +5 -0
- package/types/LineItems.d.ts +49 -0
- package/types/Mandates.d.ts +77 -0
- package/types/Margins.d.ts +56 -0
- package/types/MarginsResource.d.ts +114 -0
- package/types/Orders.d.ts +1163 -0
- package/types/OrdersResource.d.ts +3139 -0
- package/types/PaymentAttemptRecords.d.ts +2166 -0
- package/types/PaymentAttemptRecordsResource.d.ts +47 -0
- package/types/PaymentIntentAmountDetailsLineItems.d.ts +116 -0
- package/types/PaymentIntents.d.ts +768 -2
- package/types/PaymentIntentsResource.d.ts +11341 -5700
- package/types/PaymentLinks.d.ts +6 -0
- package/types/PaymentLinksResource.d.ts +12 -0
- package/types/PaymentMethodConfigurations.d.ts +180 -0
- package/types/PaymentMethodConfigurationsResource.d.ts +250 -0
- package/types/PaymentMethods.d.ts +125 -0
- package/types/PaymentMethodsResource.d.ts +167 -2
- package/types/PaymentRecords.d.ts +2159 -0
- package/types/PaymentRecordsResource.d.ts +455 -0
- package/types/Payouts.d.ts +5 -0
- package/types/PayoutsResource.d.ts +5 -0
- package/types/Prices.d.ts +22 -0
- package/types/PricesResource.d.ts +22 -0
- package/types/Privacy/RedactionJobValidationErrors.d.ts +60 -0
- package/types/Privacy/RedactionJobs.d.ts +111 -0
- package/types/Privacy/RedactionJobsResource.d.ts +230 -0
- package/types/PromotionCodes.d.ts +5 -0
- package/types/PromotionCodesResource.d.ts +10 -0
- package/types/QuoteLines.d.ts +634 -0
- package/types/QuotePreviewInvoices.d.ts +1734 -0
- package/types/QuotePreviewSubscriptionSchedules.d.ts +845 -0
- package/types/Quotes.d.ts +594 -1
- package/types/QuotesResource.d.ts +2577 -232
- package/types/Refunds.d.ts +14 -0
- package/types/SetupAttempts.d.ts +47 -1
- package/types/SetupIntents.d.ts +118 -2
- package/types/SetupIntentsResource.d.ts +730 -3
- package/types/Sources.d.ts +29 -0
- package/types/SubscriptionItems.d.ts +21 -0
- package/types/SubscriptionItemsResource.d.ts +109 -0
- package/types/SubscriptionSchedules.d.ts +205 -0
- package/types/SubscriptionSchedulesResource.d.ts +1237 -9
- package/types/Subscriptions.d.ts +135 -1
- package/types/SubscriptionsResource.d.ts +472 -8
- package/types/Tax/Associations.d.ts +82 -0
- package/types/Tax/AssociationsResource.d.ts +29 -0
- package/types/Tax/Forms.d.ts +220 -0
- package/types/Tax/FormsResource.d.ts +107 -0
- package/types/TaxIds.d.ts +10 -0
- package/types/TaxIdsResource.d.ts +10 -0
- package/types/Terminal/OnboardingLinks.d.ts +57 -0
- package/types/Terminal/OnboardingLinksResource.d.ts +62 -0
- package/types/Terminal/ReaderCollectedData.d.ts +51 -0
- package/types/Terminal/ReaderCollectedDataResource.d.ts +29 -0
- package/types/Terminal/Readers.d.ts +20 -0
- package/types/TestHelpers/ConfirmationTokensResource.d.ts +126 -0
- package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +26 -0
- package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +26 -0
- package/types/Transfers.d.ts +5 -0
- package/types/TransfersResource.d.ts +5 -0
- package/types/Treasury/FinancialAccountFeatures.d.ts +7 -0
- package/types/Treasury/FinancialAccounts.d.ts +5 -0
- package/types/Treasury/FinancialAccountsResource.d.ts +37 -0
- package/types/Treasury/OutboundTransfers.d.ts +26 -0
- package/types/Treasury/OutboundTransfersResource.d.ts +26 -0
- package/types/Treasury/ReceivedCredits.d.ts +26 -0
- package/types/Treasury/ReceivedDebits.d.ts +31 -0
- package/types/V2/Core/AccountLinks.d.ts +168 -0
- package/types/V2/Core/AccountLinksResource.d.ts +152 -0
- package/types/V2/Core/Accounts/PersonsResource.d.ts +3780 -0
- package/types/V2/Core/Accounts.d.ts +8813 -0
- package/types/V2/Core/AccountsResource.d.ts +10626 -0
- package/types/V2/Core/Persons.d.ts +1872 -0
- package/types/V2/Core/Vault/GbBankAccounts.d.ts +160 -0
- package/types/V2/Core/Vault/GbBankAccountsResource.d.ts +172 -0
- package/types/V2/Core/Vault/UsBankAccounts.d.ts +70 -0
- package/types/V2/Core/Vault/UsBankAccountsResource.d.ts +123 -0
- package/types/V2/EventTypes.d.ts +965 -5
- package/types/V2/FinancialAddressCreditSimulations.d.ts +27 -0
- package/types/V2/FinancialAddressGeneratedMicrodeposits.d.ts +32 -0
- package/types/V2/MoneyManagement/Adjustments.d.ts +110 -0
- package/types/V2/MoneyManagement/AdjustmentsResource.d.ts +83 -0
- package/types/V2/MoneyManagement/FinancialAccounts.d.ts +580 -0
- package/types/V2/MoneyManagement/FinancialAccountsResource.d.ts +326 -0
- package/types/V2/MoneyManagement/FinancialAddresses.d.ts +314 -0
- package/types/V2/MoneyManagement/FinancialAddressesResource.d.ts +289 -0
- package/types/V2/MoneyManagement/InboundTransfers.d.ts +206 -0
- package/types/V2/MoneyManagement/InboundTransfersResource.d.ts +144 -0
- package/types/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +168 -0
- package/types/V2/MoneyManagement/OutboundPaymentQuotesResource.d.ts +115 -0
- package/types/V2/MoneyManagement/OutboundPayments.d.ts +278 -0
- package/types/V2/MoneyManagement/OutboundPaymentsResource.d.ts +242 -0
- package/types/V2/MoneyManagement/OutboundSetupIntents.d.ts +97 -0
- package/types/V2/MoneyManagement/OutboundSetupIntentsResource.d.ts +296 -0
- package/types/V2/MoneyManagement/OutboundTransfers.d.ts +251 -0
- package/types/V2/MoneyManagement/OutboundTransfersResource.d.ts +208 -0
- package/types/V2/MoneyManagement/PayoutMethods.d.ts +160 -0
- package/types/V2/MoneyManagement/PayoutMethodsBankAccountSpecResource.d.ts +41 -0
- package/types/V2/MoneyManagement/PayoutMethodsBankAccountSpecs.d.ts +87 -0
- package/types/V2/MoneyManagement/PayoutMethodsResource.d.ts +113 -0
- package/types/V2/MoneyManagement/ReceivedCredits.d.ts +262 -0
- package/types/V2/MoneyManagement/ReceivedCreditsResource.d.ts +78 -0
- package/types/V2/MoneyManagement/ReceivedDebits.d.ts +176 -0
- package/types/V2/MoneyManagement/ReceivedDebitsResource.d.ts +48 -0
- package/types/V2/MoneyManagement/TransactionEntries.d.ts +155 -0
- package/types/V2/MoneyManagement/TransactionEntriesResource.d.ts +82 -0
- package/types/V2/MoneyManagement/Transactions.d.ts +170 -0
- package/types/V2/MoneyManagement/TransactionsResource.d.ts +83 -0
- package/types/V2/Payments/OffSessionPayments.d.ts +179 -0
- package/types/V2/Payments/OffSessionPaymentsResource.d.ts +174 -0
- package/types/V2/TestHelpers/FinancialAddressesResource.d.ts +68 -0
- package/types/WebhookEndpointsResource.d.ts +78 -0
- package/types/index.d.ts +145 -0
- package/types/lib.d.ts +11 -1
- package/types/test/typescriptTest.ts +3 -3
|
@@ -118,11 +118,21 @@ declare module 'stripe' {
|
|
|
118
118
|
*/
|
|
119
119
|
giropay?: PaymentMethodCreateParams.Giropay;
|
|
120
120
|
|
|
121
|
+
/**
|
|
122
|
+
* If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
|
|
123
|
+
*/
|
|
124
|
+
gopay?: PaymentMethodCreateParams.Gopay;
|
|
125
|
+
|
|
121
126
|
/**
|
|
122
127
|
* If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
|
|
123
128
|
*/
|
|
124
129
|
grabpay?: PaymentMethodCreateParams.Grabpay;
|
|
125
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
|
+
|
|
126
136
|
/**
|
|
127
137
|
* If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
|
|
128
138
|
*/
|
|
@@ -158,6 +168,11 @@ declare module 'stripe' {
|
|
|
158
168
|
*/
|
|
159
169
|
link?: PaymentMethodCreateParams.Link;
|
|
160
170
|
|
|
171
|
+
/**
|
|
172
|
+
* If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method.
|
|
173
|
+
*/
|
|
174
|
+
mb_way?: PaymentMethodCreateParams.MbWay;
|
|
175
|
+
|
|
161
176
|
/**
|
|
162
177
|
* 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`.
|
|
163
178
|
*/
|
|
@@ -218,6 +233,11 @@ declare module 'stripe' {
|
|
|
218
233
|
*/
|
|
219
234
|
paypal?: PaymentMethodCreateParams.Paypal;
|
|
220
235
|
|
|
236
|
+
/**
|
|
237
|
+
* If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
|
|
238
|
+
*/
|
|
239
|
+
payto?: PaymentMethodCreateParams.Payto;
|
|
240
|
+
|
|
221
241
|
/**
|
|
222
242
|
* If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
|
|
223
243
|
*/
|
|
@@ -228,11 +248,21 @@ declare module 'stripe' {
|
|
|
228
248
|
*/
|
|
229
249
|
promptpay?: PaymentMethodCreateParams.Promptpay;
|
|
230
250
|
|
|
251
|
+
/**
|
|
252
|
+
* If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
|
|
253
|
+
*/
|
|
254
|
+
qris?: PaymentMethodCreateParams.Qris;
|
|
255
|
+
|
|
231
256
|
/**
|
|
232
257
|
* Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
|
|
233
258
|
*/
|
|
234
259
|
radar_options?: PaymentMethodCreateParams.RadarOptions;
|
|
235
260
|
|
|
261
|
+
/**
|
|
262
|
+
* If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
|
|
263
|
+
*/
|
|
264
|
+
rechnung?: PaymentMethodCreateParams.Rechnung;
|
|
265
|
+
|
|
236
266
|
/**
|
|
237
267
|
* If this is a `revolut_pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
|
|
238
268
|
*/
|
|
@@ -253,11 +283,21 @@ declare module 'stripe' {
|
|
|
253
283
|
*/
|
|
254
284
|
sepa_debit?: PaymentMethodCreateParams.SepaDebit;
|
|
255
285
|
|
|
286
|
+
/**
|
|
287
|
+
* If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
|
|
288
|
+
*/
|
|
289
|
+
shopeepay?: PaymentMethodCreateParams.Shopeepay;
|
|
290
|
+
|
|
256
291
|
/**
|
|
257
292
|
* If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
|
|
258
293
|
*/
|
|
259
294
|
sofort?: PaymentMethodCreateParams.Sofort;
|
|
260
295
|
|
|
296
|
+
/**
|
|
297
|
+
* This hash contains details about the Stripe balance payment method.
|
|
298
|
+
*/
|
|
299
|
+
stripe_balance?: PaymentMethodCreateParams.StripeBalance;
|
|
300
|
+
|
|
261
301
|
/**
|
|
262
302
|
* If this is a `swish` PaymentMethod, this hash contains details about the Swish payment method.
|
|
263
303
|
*/
|
|
@@ -515,8 +555,21 @@ declare module 'stripe' {
|
|
|
515
555
|
|
|
516
556
|
interface Giropay {}
|
|
517
557
|
|
|
558
|
+
interface Gopay {}
|
|
559
|
+
|
|
518
560
|
interface Grabpay {}
|
|
519
561
|
|
|
562
|
+
interface IdBankTransfer {
|
|
563
|
+
/**
|
|
564
|
+
* Bank where the account is held.
|
|
565
|
+
*/
|
|
566
|
+
bank?: IdBankTransfer.Bank;
|
|
567
|
+
}
|
|
568
|
+
|
|
569
|
+
namespace IdBankTransfer {
|
|
570
|
+
type Bank = 'bca' | 'bni' | 'bri' | 'cimb' | 'permata';
|
|
571
|
+
}
|
|
572
|
+
|
|
520
573
|
interface Ideal {
|
|
521
574
|
/**
|
|
522
575
|
* The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
|
|
@@ -581,6 +634,8 @@ declare module 'stripe' {
|
|
|
581
634
|
|
|
582
635
|
interface Link {}
|
|
583
636
|
|
|
637
|
+
interface MbWay {}
|
|
638
|
+
|
|
584
639
|
interface Mobilepay {}
|
|
585
640
|
|
|
586
641
|
interface Multibanco {}
|
|
@@ -672,10 +727,29 @@ declare module 'stripe' {
|
|
|
672
727
|
|
|
673
728
|
interface Paypal {}
|
|
674
729
|
|
|
730
|
+
interface Payto {
|
|
731
|
+
/**
|
|
732
|
+
* The account number for the bank account.
|
|
733
|
+
*/
|
|
734
|
+
account_number?: string;
|
|
735
|
+
|
|
736
|
+
/**
|
|
737
|
+
* Bank-State-Branch number of the bank account.
|
|
738
|
+
*/
|
|
739
|
+
bsb_number?: string;
|
|
740
|
+
|
|
741
|
+
/**
|
|
742
|
+
* The PayID alias for the bank account.
|
|
743
|
+
*/
|
|
744
|
+
pay_id?: string;
|
|
745
|
+
}
|
|
746
|
+
|
|
675
747
|
interface Pix {}
|
|
676
748
|
|
|
677
749
|
interface Promptpay {}
|
|
678
750
|
|
|
751
|
+
interface Qris {}
|
|
752
|
+
|
|
679
753
|
interface RadarOptions {
|
|
680
754
|
/**
|
|
681
755
|
* 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.
|
|
@@ -683,6 +757,32 @@ declare module 'stripe' {
|
|
|
683
757
|
session?: string;
|
|
684
758
|
}
|
|
685
759
|
|
|
760
|
+
interface Rechnung {
|
|
761
|
+
/**
|
|
762
|
+
* Customer's date of birth
|
|
763
|
+
*/
|
|
764
|
+
dob: Rechnung.Dob;
|
|
765
|
+
}
|
|
766
|
+
|
|
767
|
+
namespace Rechnung {
|
|
768
|
+
interface Dob {
|
|
769
|
+
/**
|
|
770
|
+
* The day of birth, between 1 and 31.
|
|
771
|
+
*/
|
|
772
|
+
day: number;
|
|
773
|
+
|
|
774
|
+
/**
|
|
775
|
+
* The month of birth, between 1 and 12.
|
|
776
|
+
*/
|
|
777
|
+
month: number;
|
|
778
|
+
|
|
779
|
+
/**
|
|
780
|
+
* The four-digit year of birth.
|
|
781
|
+
*/
|
|
782
|
+
year: number;
|
|
783
|
+
}
|
|
784
|
+
}
|
|
785
|
+
|
|
686
786
|
interface RevolutPay {}
|
|
687
787
|
|
|
688
788
|
interface SamsungPay {}
|
|
@@ -696,6 +796,8 @@ declare module 'stripe' {
|
|
|
696
796
|
iban: string;
|
|
697
797
|
}
|
|
698
798
|
|
|
799
|
+
interface Shopeepay {}
|
|
800
|
+
|
|
699
801
|
interface Sofort {
|
|
700
802
|
/**
|
|
701
803
|
* Two-letter ISO code representing the country the bank account is located in.
|
|
@@ -707,6 +809,22 @@ declare module 'stripe' {
|
|
|
707
809
|
type Country = 'AT' | 'BE' | 'DE' | 'ES' | 'IT' | 'NL';
|
|
708
810
|
}
|
|
709
811
|
|
|
812
|
+
interface StripeBalance {
|
|
813
|
+
/**
|
|
814
|
+
* The connected account ID whose Stripe balance to use as the source of payment
|
|
815
|
+
*/
|
|
816
|
+
account?: string;
|
|
817
|
+
|
|
818
|
+
/**
|
|
819
|
+
* The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
|
|
820
|
+
*/
|
|
821
|
+
source_type?: StripeBalance.SourceType;
|
|
822
|
+
}
|
|
823
|
+
|
|
824
|
+
namespace StripeBalance {
|
|
825
|
+
type SourceType = 'bank_account' | 'card' | 'fpx';
|
|
826
|
+
}
|
|
827
|
+
|
|
710
828
|
interface Swish {}
|
|
711
829
|
|
|
712
830
|
interface Twint {}
|
|
@@ -731,13 +849,16 @@ declare module 'stripe' {
|
|
|
731
849
|
| 'eps'
|
|
732
850
|
| 'fpx'
|
|
733
851
|
| 'giropay'
|
|
852
|
+
| 'gopay'
|
|
734
853
|
| 'grabpay'
|
|
854
|
+
| 'id_bank_transfer'
|
|
735
855
|
| 'ideal'
|
|
736
856
|
| 'kakao_pay'
|
|
737
857
|
| 'klarna'
|
|
738
858
|
| 'konbini'
|
|
739
859
|
| 'kr_card'
|
|
740
860
|
| 'link'
|
|
861
|
+
| 'mb_way'
|
|
741
862
|
| 'mobilepay'
|
|
742
863
|
| 'multibanco'
|
|
743
864
|
| 'naver_pay'
|
|
@@ -748,13 +869,18 @@ declare module 'stripe' {
|
|
|
748
869
|
| 'payco'
|
|
749
870
|
| 'paynow'
|
|
750
871
|
| 'paypal'
|
|
872
|
+
| 'payto'
|
|
751
873
|
| 'pix'
|
|
752
874
|
| 'promptpay'
|
|
875
|
+
| 'qris'
|
|
876
|
+
| 'rechnung'
|
|
753
877
|
| 'revolut_pay'
|
|
754
878
|
| 'samsung_pay'
|
|
755
879
|
| 'satispay'
|
|
756
880
|
| 'sepa_debit'
|
|
881
|
+
| 'shopeepay'
|
|
757
882
|
| 'sofort'
|
|
883
|
+
| 'stripe_balance'
|
|
758
884
|
| 'swish'
|
|
759
885
|
| 'twint'
|
|
760
886
|
| 'us_bank_account'
|
|
@@ -842,6 +968,11 @@ declare module 'stripe' {
|
|
|
842
968
|
*/
|
|
843
969
|
pay_by_bank?: PaymentMethodUpdateParams.PayByBank;
|
|
844
970
|
|
|
971
|
+
/**
|
|
972
|
+
* If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
|
|
973
|
+
*/
|
|
974
|
+
payto?: PaymentMethodUpdateParams.Payto;
|
|
975
|
+
|
|
845
976
|
/**
|
|
846
977
|
* If this is an `us_bank_account` PaymentMethod, this hash contains details about the US bank account payment method.
|
|
847
978
|
*/
|
|
@@ -912,6 +1043,23 @@ declare module 'stripe' {
|
|
|
912
1043
|
|
|
913
1044
|
interface PayByBank {}
|
|
914
1045
|
|
|
1046
|
+
interface Payto {
|
|
1047
|
+
/**
|
|
1048
|
+
* The account number for the bank account.
|
|
1049
|
+
*/
|
|
1050
|
+
account_number?: string;
|
|
1051
|
+
|
|
1052
|
+
/**
|
|
1053
|
+
* Bank-State-Branch number of the bank account.
|
|
1054
|
+
*/
|
|
1055
|
+
bsb_number?: string;
|
|
1056
|
+
|
|
1057
|
+
/**
|
|
1058
|
+
* The PayID alias for the bank account.
|
|
1059
|
+
*/
|
|
1060
|
+
pay_id?: string;
|
|
1061
|
+
}
|
|
1062
|
+
|
|
915
1063
|
interface UsBankAccount {
|
|
916
1064
|
/**
|
|
917
1065
|
* Bank account holder type.
|
|
@@ -969,13 +1117,16 @@ declare module 'stripe' {
|
|
|
969
1117
|
| 'eps'
|
|
970
1118
|
| 'fpx'
|
|
971
1119
|
| 'giropay'
|
|
1120
|
+
| 'gopay'
|
|
972
1121
|
| 'grabpay'
|
|
1122
|
+
| 'id_bank_transfer'
|
|
973
1123
|
| 'ideal'
|
|
974
1124
|
| 'kakao_pay'
|
|
975
1125
|
| 'klarna'
|
|
976
1126
|
| 'konbini'
|
|
977
1127
|
| 'kr_card'
|
|
978
1128
|
| 'link'
|
|
1129
|
+
| 'mb_way'
|
|
979
1130
|
| 'mobilepay'
|
|
980
1131
|
| 'multibanco'
|
|
981
1132
|
| 'naver_pay'
|
|
@@ -986,13 +1137,18 @@ declare module 'stripe' {
|
|
|
986
1137
|
| 'payco'
|
|
987
1138
|
| 'paynow'
|
|
988
1139
|
| 'paypal'
|
|
1140
|
+
| 'payto'
|
|
989
1141
|
| 'pix'
|
|
990
1142
|
| 'promptpay'
|
|
1143
|
+
| 'qris'
|
|
1144
|
+
| 'rechnung'
|
|
991
1145
|
| 'revolut_pay'
|
|
992
1146
|
| 'samsung_pay'
|
|
993
1147
|
| 'satispay'
|
|
994
1148
|
| 'sepa_debit'
|
|
1149
|
+
| 'shopeepay'
|
|
995
1150
|
| 'sofort'
|
|
1151
|
+
| 'stripe_balance'
|
|
996
1152
|
| 'swish'
|
|
997
1153
|
| 'twint'
|
|
998
1154
|
| 'us_bank_account'
|
|
@@ -1004,7 +1160,12 @@ declare module 'stripe' {
|
|
|
1004
1160
|
/**
|
|
1005
1161
|
* The ID of the customer to which to attach the PaymentMethod.
|
|
1006
1162
|
*/
|
|
1007
|
-
customer
|
|
1163
|
+
customer?: string;
|
|
1164
|
+
|
|
1165
|
+
/**
|
|
1166
|
+
* The ID of the account to which to attach the PaymentMethod.
|
|
1167
|
+
*/
|
|
1168
|
+
customer_account?: string;
|
|
1008
1169
|
|
|
1009
1170
|
/**
|
|
1010
1171
|
* Specifies which fields in the response should be expanded.
|
|
@@ -1081,7 +1242,11 @@ declare module 'stripe' {
|
|
|
1081
1242
|
*/
|
|
1082
1243
|
attach(
|
|
1083
1244
|
id: string,
|
|
1084
|
-
params
|
|
1245
|
+
params?: PaymentMethodAttachParams,
|
|
1246
|
+
options?: RequestOptions
|
|
1247
|
+
): Promise<Stripe.Response<Stripe.PaymentMethod>>;
|
|
1248
|
+
attach(
|
|
1249
|
+
id: string,
|
|
1085
1250
|
options?: RequestOptions
|
|
1086
1251
|
): Promise<Stripe.Response<Stripe.PaymentMethod>>;
|
|
1087
1252
|
|