stripe 18.5.0 → 18.6.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1364 -33
- package/README.md +4 -5
- 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/Mandates.js +5 -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/Mandates.js +5 -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 +97 -0
- package/types/BalanceSettingsResource.d.ts +119 -0
- package/types/Billing/AlertTriggereds.d.ts +1 -1
- 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 +171 -0
- package/types/ChargesResource.d.ts +1406 -0
- package/types/Checkout/Sessions.d.ts +374 -2
- package/types/Checkout/SessionsResource.d.ts +520 -2
- 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 +79 -0
- 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 +10 -1
- package/types/Invoices.d.ts +171 -3
- package/types/InvoicesResource.d.ts +1533 -22
- 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 +135 -1
- package/types/MandatesResource.d.ts +31 -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 +2321 -0
- package/types/PaymentAttemptRecordsResource.d.ts +52 -0
- package/types/PaymentIntentAmountDetailsLineItems.d.ts +116 -0
- package/types/PaymentIntents.d.ts +836 -3
- package/types/PaymentIntentsResource.d.ts +11610 -5775
- 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 +130 -0
- package/types/PaymentMethodsResource.d.ts +167 -2
- package/types/PaymentRecords.d.ts +2314 -0
- package/types/PaymentRecordsResource.d.ts +476 -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 +1736 -0
- package/types/QuotePreviewSubscriptionSchedules.d.ts +892 -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 +51 -1
- package/types/SetupIntents.d.ts +210 -2
- package/types/SetupIntentsResource.d.ts +938 -4
- 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 +1233 -5
- 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/Configurations.d.ts +9 -0
- package/types/Terminal/ConfigurationsResource.d.ts +28 -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 +3812 -0
- package/types/V2/Core/Accounts.d.ts +8862 -0
- package/types/V2/Core/AccountsResource.d.ts +10704 -0
- package/types/V2/Core/Persons.d.ts +1888 -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 +961 -1
- 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 +585 -0
- package/types/V2/MoneyManagement/FinancialAccountsResource.d.ts +331 -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 +162 -0
- package/types/V2/MoneyManagement/TransactionEntriesResource.d.ts +82 -0
- package/types/V2/MoneyManagement/Transactions.d.ts +177 -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
|
google_pay?: PaymentMethodConfigurationCreateParams.GooglePay;
|
|
120
120
|
|
|
121
|
+
/**
|
|
122
|
+
* GoPay is a [single use](https://stripe.com/docs/payments/payment-methods#usage) digital wallet payment method popular in Indonesia. When paying with GoPay, customers authenticate and approve payments using the Gojek app. Desktop checkout is performed by scanning a QR code. When checking out on mobile, customers are redirected to the Gojek app to confirm payment.
|
|
123
|
+
*/
|
|
124
|
+
gopay?: PaymentMethodConfigurationCreateParams.Gopay;
|
|
125
|
+
|
|
121
126
|
/**
|
|
122
127
|
* GrabPay is a payment method developed by [Grab](https://www.grab.com/sg/consumer/finance/pay/). GrabPay is a digital wallet - customers maintain a balance in their wallets that they pay out with. Check this [page](https://stripe.com/docs/payments/grabpay) for more details.
|
|
123
128
|
*/
|
|
124
129
|
grabpay?: PaymentMethodConfigurationCreateParams.Grabpay;
|
|
125
130
|
|
|
131
|
+
/**
|
|
132
|
+
* Stripe users in Indonesia can receive bank transfers from customers in Indonesia. Bank transfers are a popular B2C and B2B payment method in Indonesia.
|
|
133
|
+
*/
|
|
134
|
+
id_bank_transfer?: PaymentMethodConfigurationCreateParams.IdBankTransfer;
|
|
135
|
+
|
|
126
136
|
/**
|
|
127
137
|
* iDEAL is a Netherlands-based payment method that allows customers to complete transactions online using their bank credentials. All major Dutch banks are members of Currence, the scheme that operates iDEAL, making it the most popular online payment method in the Netherlands with a share of online transactions close to 55%. Check this [page](https://stripe.com/docs/payments/ideal) for more details.
|
|
128
138
|
*/
|
|
@@ -218,6 +228,11 @@ declare module 'stripe' {
|
|
|
218
228
|
*/
|
|
219
229
|
paypal?: PaymentMethodConfigurationCreateParams.Paypal;
|
|
220
230
|
|
|
231
|
+
/**
|
|
232
|
+
* PayTo is a [real-time](https://docs.stripe.com/payments/real-time) payment method that enables customers in Australia to pay by providing their bank account details. Customers must accept a mandate authorizing you to debit their account. Check this [page](https://docs.stripe.com/payments/payto) for more details.
|
|
233
|
+
*/
|
|
234
|
+
payto?: PaymentMethodConfigurationCreateParams.Payto;
|
|
235
|
+
|
|
221
236
|
/**
|
|
222
237
|
* Pix is a payment method popular in Brazil. When paying with Pix, customers authenticate and approve payments by scanning a QR code in their preferred banking app. Check this [page](https://docs.stripe.com/payments/pix) for more details.
|
|
223
238
|
*/
|
|
@@ -228,6 +243,11 @@ declare module 'stripe' {
|
|
|
228
243
|
*/
|
|
229
244
|
promptpay?: PaymentMethodConfigurationCreateParams.Promptpay;
|
|
230
245
|
|
|
246
|
+
/**
|
|
247
|
+
* QRIS is a [real-time](https://docs.stripe.com/payments/real-time) payment method popular in Indonesia. When paying with QRIS, customers authenticate and approve payments by scanning a QR code in their preferred digital wallet app.
|
|
248
|
+
*/
|
|
249
|
+
qris?: PaymentMethodConfigurationCreateParams.Qris;
|
|
250
|
+
|
|
231
251
|
/**
|
|
232
252
|
* Revolut Pay, developed by Revolut, a global finance app, is a digital wallet payment method. Revolut Pay uses the customer's stored balance or cards to fund the payment, and offers the option for non-Revolut customers to save their details after their first purchase.
|
|
233
253
|
*/
|
|
@@ -248,6 +268,11 @@ declare module 'stripe' {
|
|
|
248
268
|
*/
|
|
249
269
|
sepa_debit?: PaymentMethodConfigurationCreateParams.SepaDebit;
|
|
250
270
|
|
|
271
|
+
/**
|
|
272
|
+
* ShopeePay is a [single use](https://stripe.com/docs/payments/payment-methods#usage) digital wallet payment method popular in Indonesia. When paying with GoPay, customers authenticate and approve payments using the Shopee app. Desktop checkout is performed by scanning a QR code. When checking out on mobile, customers are redirected to the Shopee app to confirm payment.
|
|
273
|
+
*/
|
|
274
|
+
shopeepay?: PaymentMethodConfigurationCreateParams.Shopeepay;
|
|
275
|
+
|
|
251
276
|
/**
|
|
252
277
|
* Stripe users in Europe and the United States can use the [Payment Intents API](https://stripe.com/docs/payments/payment-intents)—a single integration path for creating payments using any supported method—to accept [Sofort](https://www.sofort.com/) payments from customers. Check this [page](https://stripe.com/docs/payments/sofort) for more details.
|
|
253
278
|
*/
|
|
@@ -720,6 +745,26 @@ declare module 'stripe' {
|
|
|
720
745
|
}
|
|
721
746
|
}
|
|
722
747
|
|
|
748
|
+
interface Gopay {
|
|
749
|
+
/**
|
|
750
|
+
* Whether or not the payment method should be displayed.
|
|
751
|
+
*/
|
|
752
|
+
display_preference?: Gopay.DisplayPreference;
|
|
753
|
+
}
|
|
754
|
+
|
|
755
|
+
namespace Gopay {
|
|
756
|
+
interface DisplayPreference {
|
|
757
|
+
/**
|
|
758
|
+
* The account's preference for whether or not to display this payment method.
|
|
759
|
+
*/
|
|
760
|
+
preference?: DisplayPreference.Preference;
|
|
761
|
+
}
|
|
762
|
+
|
|
763
|
+
namespace DisplayPreference {
|
|
764
|
+
type Preference = 'none' | 'off' | 'on';
|
|
765
|
+
}
|
|
766
|
+
}
|
|
767
|
+
|
|
723
768
|
interface Grabpay {
|
|
724
769
|
/**
|
|
725
770
|
* Whether or not the payment method should be displayed.
|
|
@@ -740,6 +785,26 @@ declare module 'stripe' {
|
|
|
740
785
|
}
|
|
741
786
|
}
|
|
742
787
|
|
|
788
|
+
interface IdBankTransfer {
|
|
789
|
+
/**
|
|
790
|
+
* Whether or not the payment method should be displayed.
|
|
791
|
+
*/
|
|
792
|
+
display_preference?: IdBankTransfer.DisplayPreference;
|
|
793
|
+
}
|
|
794
|
+
|
|
795
|
+
namespace IdBankTransfer {
|
|
796
|
+
interface DisplayPreference {
|
|
797
|
+
/**
|
|
798
|
+
* The account's preference for whether or not to display this payment method.
|
|
799
|
+
*/
|
|
800
|
+
preference?: DisplayPreference.Preference;
|
|
801
|
+
}
|
|
802
|
+
|
|
803
|
+
namespace DisplayPreference {
|
|
804
|
+
type Preference = 'none' | 'off' | 'on';
|
|
805
|
+
}
|
|
806
|
+
}
|
|
807
|
+
|
|
743
808
|
interface Ideal {
|
|
744
809
|
/**
|
|
745
810
|
* Whether or not the payment method should be displayed.
|
|
@@ -1080,6 +1145,26 @@ declare module 'stripe' {
|
|
|
1080
1145
|
}
|
|
1081
1146
|
}
|
|
1082
1147
|
|
|
1148
|
+
interface Payto {
|
|
1149
|
+
/**
|
|
1150
|
+
* Whether or not the payment method should be displayed.
|
|
1151
|
+
*/
|
|
1152
|
+
display_preference?: Payto.DisplayPreference;
|
|
1153
|
+
}
|
|
1154
|
+
|
|
1155
|
+
namespace Payto {
|
|
1156
|
+
interface DisplayPreference {
|
|
1157
|
+
/**
|
|
1158
|
+
* The account's preference for whether or not to display this payment method.
|
|
1159
|
+
*/
|
|
1160
|
+
preference?: DisplayPreference.Preference;
|
|
1161
|
+
}
|
|
1162
|
+
|
|
1163
|
+
namespace DisplayPreference {
|
|
1164
|
+
type Preference = 'none' | 'off' | 'on';
|
|
1165
|
+
}
|
|
1166
|
+
}
|
|
1167
|
+
|
|
1083
1168
|
interface Pix {
|
|
1084
1169
|
/**
|
|
1085
1170
|
* Whether or not the payment method should be displayed.
|
|
@@ -1120,6 +1205,26 @@ declare module 'stripe' {
|
|
|
1120
1205
|
}
|
|
1121
1206
|
}
|
|
1122
1207
|
|
|
1208
|
+
interface Qris {
|
|
1209
|
+
/**
|
|
1210
|
+
* Whether or not the payment method should be displayed.
|
|
1211
|
+
*/
|
|
1212
|
+
display_preference?: Qris.DisplayPreference;
|
|
1213
|
+
}
|
|
1214
|
+
|
|
1215
|
+
namespace Qris {
|
|
1216
|
+
interface DisplayPreference {
|
|
1217
|
+
/**
|
|
1218
|
+
* The account's preference for whether or not to display this payment method.
|
|
1219
|
+
*/
|
|
1220
|
+
preference?: DisplayPreference.Preference;
|
|
1221
|
+
}
|
|
1222
|
+
|
|
1223
|
+
namespace DisplayPreference {
|
|
1224
|
+
type Preference = 'none' | 'off' | 'on';
|
|
1225
|
+
}
|
|
1226
|
+
}
|
|
1227
|
+
|
|
1123
1228
|
interface RevolutPay {
|
|
1124
1229
|
/**
|
|
1125
1230
|
* Whether or not the payment method should be displayed.
|
|
@@ -1200,6 +1305,26 @@ declare module 'stripe' {
|
|
|
1200
1305
|
}
|
|
1201
1306
|
}
|
|
1202
1307
|
|
|
1308
|
+
interface Shopeepay {
|
|
1309
|
+
/**
|
|
1310
|
+
* Whether or not the payment method should be displayed.
|
|
1311
|
+
*/
|
|
1312
|
+
display_preference?: Shopeepay.DisplayPreference;
|
|
1313
|
+
}
|
|
1314
|
+
|
|
1315
|
+
namespace Shopeepay {
|
|
1316
|
+
interface DisplayPreference {
|
|
1317
|
+
/**
|
|
1318
|
+
* The account's preference for whether or not to display this payment method.
|
|
1319
|
+
*/
|
|
1320
|
+
preference?: DisplayPreference.Preference;
|
|
1321
|
+
}
|
|
1322
|
+
|
|
1323
|
+
namespace DisplayPreference {
|
|
1324
|
+
type Preference = 'none' | 'off' | 'on';
|
|
1325
|
+
}
|
|
1326
|
+
}
|
|
1327
|
+
|
|
1203
1328
|
interface Sofort {
|
|
1204
1329
|
/**
|
|
1205
1330
|
* Whether or not the payment method should be displayed.
|
|
@@ -1449,11 +1574,21 @@ declare module 'stripe' {
|
|
|
1449
1574
|
*/
|
|
1450
1575
|
google_pay?: PaymentMethodConfigurationUpdateParams.GooglePay;
|
|
1451
1576
|
|
|
1577
|
+
/**
|
|
1578
|
+
* GoPay is a [single use](https://stripe.com/docs/payments/payment-methods#usage) digital wallet payment method popular in Indonesia. When paying with GoPay, customers authenticate and approve payments using the Gojek app. Desktop checkout is performed by scanning a QR code. When checking out on mobile, customers are redirected to the Gojek app to confirm payment.
|
|
1579
|
+
*/
|
|
1580
|
+
gopay?: PaymentMethodConfigurationUpdateParams.Gopay;
|
|
1581
|
+
|
|
1452
1582
|
/**
|
|
1453
1583
|
* GrabPay is a payment method developed by [Grab](https://www.grab.com/sg/consumer/finance/pay/). GrabPay is a digital wallet - customers maintain a balance in their wallets that they pay out with. Check this [page](https://stripe.com/docs/payments/grabpay) for more details.
|
|
1454
1584
|
*/
|
|
1455
1585
|
grabpay?: PaymentMethodConfigurationUpdateParams.Grabpay;
|
|
1456
1586
|
|
|
1587
|
+
/**
|
|
1588
|
+
* Stripe users in Indonesia can receive bank transfers from customers in Indonesia. Bank transfers are a popular B2C and B2B payment method in Indonesia.
|
|
1589
|
+
*/
|
|
1590
|
+
id_bank_transfer?: PaymentMethodConfigurationUpdateParams.IdBankTransfer;
|
|
1591
|
+
|
|
1457
1592
|
/**
|
|
1458
1593
|
* iDEAL is a Netherlands-based payment method that allows customers to complete transactions online using their bank credentials. All major Dutch banks are members of Currence, the scheme that operates iDEAL, making it the most popular online payment method in the Netherlands with a share of online transactions close to 55%. Check this [page](https://stripe.com/docs/payments/ideal) for more details.
|
|
1459
1594
|
*/
|
|
@@ -1544,6 +1679,11 @@ declare module 'stripe' {
|
|
|
1544
1679
|
*/
|
|
1545
1680
|
paypal?: PaymentMethodConfigurationUpdateParams.Paypal;
|
|
1546
1681
|
|
|
1682
|
+
/**
|
|
1683
|
+
* PayTo is a [real-time](https://docs.stripe.com/payments/real-time) payment method that enables customers in Australia to pay by providing their bank account details. Customers must accept a mandate authorizing you to debit their account. Check this [page](https://docs.stripe.com/payments/payto) for more details.
|
|
1684
|
+
*/
|
|
1685
|
+
payto?: PaymentMethodConfigurationUpdateParams.Payto;
|
|
1686
|
+
|
|
1547
1687
|
/**
|
|
1548
1688
|
* Pix is a payment method popular in Brazil. When paying with Pix, customers authenticate and approve payments by scanning a QR code in their preferred banking app. Check this [page](https://docs.stripe.com/payments/pix) for more details.
|
|
1549
1689
|
*/
|
|
@@ -1554,6 +1694,11 @@ declare module 'stripe' {
|
|
|
1554
1694
|
*/
|
|
1555
1695
|
promptpay?: PaymentMethodConfigurationUpdateParams.Promptpay;
|
|
1556
1696
|
|
|
1697
|
+
/**
|
|
1698
|
+
* QRIS is a [real-time](https://docs.stripe.com/payments/real-time) payment method popular in Indonesia. When paying with QRIS, customers authenticate and approve payments by scanning a QR code in their preferred digital wallet app.
|
|
1699
|
+
*/
|
|
1700
|
+
qris?: PaymentMethodConfigurationUpdateParams.Qris;
|
|
1701
|
+
|
|
1557
1702
|
/**
|
|
1558
1703
|
* Revolut Pay, developed by Revolut, a global finance app, is a digital wallet payment method. Revolut Pay uses the customer's stored balance or cards to fund the payment, and offers the option for non-Revolut customers to save their details after their first purchase.
|
|
1559
1704
|
*/
|
|
@@ -1574,6 +1719,11 @@ declare module 'stripe' {
|
|
|
1574
1719
|
*/
|
|
1575
1720
|
sepa_debit?: PaymentMethodConfigurationUpdateParams.SepaDebit;
|
|
1576
1721
|
|
|
1722
|
+
/**
|
|
1723
|
+
* ShopeePay is a [single use](https://stripe.com/docs/payments/payment-methods#usage) digital wallet payment method popular in Indonesia. When paying with GoPay, customers authenticate and approve payments using the Shopee app. Desktop checkout is performed by scanning a QR code. When checking out on mobile, customers are redirected to the Shopee app to confirm payment.
|
|
1724
|
+
*/
|
|
1725
|
+
shopeepay?: PaymentMethodConfigurationUpdateParams.Shopeepay;
|
|
1726
|
+
|
|
1577
1727
|
/**
|
|
1578
1728
|
* Stripe users in Europe and the United States can use the [Payment Intents API](https://stripe.com/docs/payments/payment-intents)—a single integration path for creating payments using any supported method—to accept [Sofort](https://www.sofort.com/) payments from customers. Check this [page](https://stripe.com/docs/payments/sofort) for more details.
|
|
1579
1729
|
*/
|
|
@@ -2046,6 +2196,26 @@ declare module 'stripe' {
|
|
|
2046
2196
|
}
|
|
2047
2197
|
}
|
|
2048
2198
|
|
|
2199
|
+
interface Gopay {
|
|
2200
|
+
/**
|
|
2201
|
+
* Whether or not the payment method should be displayed.
|
|
2202
|
+
*/
|
|
2203
|
+
display_preference?: Gopay.DisplayPreference;
|
|
2204
|
+
}
|
|
2205
|
+
|
|
2206
|
+
namespace Gopay {
|
|
2207
|
+
interface DisplayPreference {
|
|
2208
|
+
/**
|
|
2209
|
+
* The account's preference for whether or not to display this payment method.
|
|
2210
|
+
*/
|
|
2211
|
+
preference?: DisplayPreference.Preference;
|
|
2212
|
+
}
|
|
2213
|
+
|
|
2214
|
+
namespace DisplayPreference {
|
|
2215
|
+
type Preference = 'none' | 'off' | 'on';
|
|
2216
|
+
}
|
|
2217
|
+
}
|
|
2218
|
+
|
|
2049
2219
|
interface Grabpay {
|
|
2050
2220
|
/**
|
|
2051
2221
|
* Whether or not the payment method should be displayed.
|
|
@@ -2066,6 +2236,26 @@ declare module 'stripe' {
|
|
|
2066
2236
|
}
|
|
2067
2237
|
}
|
|
2068
2238
|
|
|
2239
|
+
interface IdBankTransfer {
|
|
2240
|
+
/**
|
|
2241
|
+
* Whether or not the payment method should be displayed.
|
|
2242
|
+
*/
|
|
2243
|
+
display_preference?: IdBankTransfer.DisplayPreference;
|
|
2244
|
+
}
|
|
2245
|
+
|
|
2246
|
+
namespace IdBankTransfer {
|
|
2247
|
+
interface DisplayPreference {
|
|
2248
|
+
/**
|
|
2249
|
+
* The account's preference for whether or not to display this payment method.
|
|
2250
|
+
*/
|
|
2251
|
+
preference?: DisplayPreference.Preference;
|
|
2252
|
+
}
|
|
2253
|
+
|
|
2254
|
+
namespace DisplayPreference {
|
|
2255
|
+
type Preference = 'none' | 'off' | 'on';
|
|
2256
|
+
}
|
|
2257
|
+
}
|
|
2258
|
+
|
|
2069
2259
|
interface Ideal {
|
|
2070
2260
|
/**
|
|
2071
2261
|
* Whether or not the payment method should be displayed.
|
|
@@ -2406,6 +2596,26 @@ declare module 'stripe' {
|
|
|
2406
2596
|
}
|
|
2407
2597
|
}
|
|
2408
2598
|
|
|
2599
|
+
interface Payto {
|
|
2600
|
+
/**
|
|
2601
|
+
* Whether or not the payment method should be displayed.
|
|
2602
|
+
*/
|
|
2603
|
+
display_preference?: Payto.DisplayPreference;
|
|
2604
|
+
}
|
|
2605
|
+
|
|
2606
|
+
namespace Payto {
|
|
2607
|
+
interface DisplayPreference {
|
|
2608
|
+
/**
|
|
2609
|
+
* The account's preference for whether or not to display this payment method.
|
|
2610
|
+
*/
|
|
2611
|
+
preference?: DisplayPreference.Preference;
|
|
2612
|
+
}
|
|
2613
|
+
|
|
2614
|
+
namespace DisplayPreference {
|
|
2615
|
+
type Preference = 'none' | 'off' | 'on';
|
|
2616
|
+
}
|
|
2617
|
+
}
|
|
2618
|
+
|
|
2409
2619
|
interface Pix {
|
|
2410
2620
|
/**
|
|
2411
2621
|
* Whether or not the payment method should be displayed.
|
|
@@ -2446,6 +2656,26 @@ declare module 'stripe' {
|
|
|
2446
2656
|
}
|
|
2447
2657
|
}
|
|
2448
2658
|
|
|
2659
|
+
interface Qris {
|
|
2660
|
+
/**
|
|
2661
|
+
* Whether or not the payment method should be displayed.
|
|
2662
|
+
*/
|
|
2663
|
+
display_preference?: Qris.DisplayPreference;
|
|
2664
|
+
}
|
|
2665
|
+
|
|
2666
|
+
namespace Qris {
|
|
2667
|
+
interface DisplayPreference {
|
|
2668
|
+
/**
|
|
2669
|
+
* The account's preference for whether or not to display this payment method.
|
|
2670
|
+
*/
|
|
2671
|
+
preference?: DisplayPreference.Preference;
|
|
2672
|
+
}
|
|
2673
|
+
|
|
2674
|
+
namespace DisplayPreference {
|
|
2675
|
+
type Preference = 'none' | 'off' | 'on';
|
|
2676
|
+
}
|
|
2677
|
+
}
|
|
2678
|
+
|
|
2449
2679
|
interface RevolutPay {
|
|
2450
2680
|
/**
|
|
2451
2681
|
* Whether or not the payment method should be displayed.
|
|
@@ -2526,6 +2756,26 @@ declare module 'stripe' {
|
|
|
2526
2756
|
}
|
|
2527
2757
|
}
|
|
2528
2758
|
|
|
2759
|
+
interface Shopeepay {
|
|
2760
|
+
/**
|
|
2761
|
+
* Whether or not the payment method should be displayed.
|
|
2762
|
+
*/
|
|
2763
|
+
display_preference?: Shopeepay.DisplayPreference;
|
|
2764
|
+
}
|
|
2765
|
+
|
|
2766
|
+
namespace Shopeepay {
|
|
2767
|
+
interface DisplayPreference {
|
|
2768
|
+
/**
|
|
2769
|
+
* The account's preference for whether or not to display this payment method.
|
|
2770
|
+
*/
|
|
2771
|
+
preference?: DisplayPreference.Preference;
|
|
2772
|
+
}
|
|
2773
|
+
|
|
2774
|
+
namespace DisplayPreference {
|
|
2775
|
+
type Preference = 'none' | 'off' | 'on';
|
|
2776
|
+
}
|
|
2777
|
+
}
|
|
2778
|
+
|
|
2529
2779
|
interface Sofort {
|
|
2530
2780
|
/**
|
|
2531
2781
|
* Whether or not the payment method should be displayed.
|
|
@@ -69,6 +69,8 @@ declare module 'stripe' {
|
|
|
69
69
|
*/
|
|
70
70
|
customer: string | Stripe.Customer | null;
|
|
71
71
|
|
|
72
|
+
customer_account?: string | null;
|
|
73
|
+
|
|
72
74
|
customer_balance?: PaymentMethod.CustomerBalance;
|
|
73
75
|
|
|
74
76
|
eps?: PaymentMethod.Eps;
|
|
@@ -77,8 +79,12 @@ declare module 'stripe' {
|
|
|
77
79
|
|
|
78
80
|
giropay?: PaymentMethod.Giropay;
|
|
79
81
|
|
|
82
|
+
gopay?: PaymentMethod.Gopay;
|
|
83
|
+
|
|
80
84
|
grabpay?: PaymentMethod.Grabpay;
|
|
81
85
|
|
|
86
|
+
id_bank_transfer?: PaymentMethod.IdBankTransfer;
|
|
87
|
+
|
|
82
88
|
ideal?: PaymentMethod.Ideal;
|
|
83
89
|
|
|
84
90
|
interac_present?: PaymentMethod.InteracPresent;
|
|
@@ -91,6 +97,11 @@ declare module 'stripe' {
|
|
|
91
97
|
|
|
92
98
|
kr_card?: PaymentMethod.KrCard;
|
|
93
99
|
|
|
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
|
+
|
|
94
105
|
link?: PaymentMethod.Link;
|
|
95
106
|
|
|
96
107
|
/**
|
|
@@ -98,6 +109,8 @@ declare module 'stripe' {
|
|
|
98
109
|
*/
|
|
99
110
|
livemode: boolean;
|
|
100
111
|
|
|
112
|
+
mb_way?: PaymentMethod.MbWay;
|
|
113
|
+
|
|
101
114
|
/**
|
|
102
115
|
* 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.
|
|
103
116
|
*/
|
|
@@ -123,15 +136,21 @@ declare module 'stripe' {
|
|
|
123
136
|
|
|
124
137
|
paypal?: PaymentMethod.Paypal;
|
|
125
138
|
|
|
139
|
+
payto?: PaymentMethod.Payto;
|
|
140
|
+
|
|
126
141
|
pix?: PaymentMethod.Pix;
|
|
127
142
|
|
|
128
143
|
promptpay?: PaymentMethod.Promptpay;
|
|
129
144
|
|
|
145
|
+
qris?: PaymentMethod.Qris;
|
|
146
|
+
|
|
130
147
|
/**
|
|
131
148
|
* Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
|
|
132
149
|
*/
|
|
133
150
|
radar_options?: PaymentMethod.RadarOptions;
|
|
134
151
|
|
|
152
|
+
rechnung?: PaymentMethod.Rechnung;
|
|
153
|
+
|
|
135
154
|
revolut_pay?: PaymentMethod.RevolutPay;
|
|
136
155
|
|
|
137
156
|
samsung_pay?: PaymentMethod.SamsungPay;
|
|
@@ -140,8 +159,12 @@ declare module 'stripe' {
|
|
|
140
159
|
|
|
141
160
|
sepa_debit?: PaymentMethod.SepaDebit;
|
|
142
161
|
|
|
162
|
+
shopeepay?: PaymentMethod.Shopeepay;
|
|
163
|
+
|
|
143
164
|
sofort?: PaymentMethod.Sofort;
|
|
144
165
|
|
|
166
|
+
stripe_balance?: PaymentMethod.StripeBalance;
|
|
167
|
+
|
|
145
168
|
swish?: PaymentMethod.Swish;
|
|
146
169
|
|
|
147
170
|
twint?: PaymentMethod.Twint;
|
|
@@ -160,6 +183,11 @@ declare module 'stripe' {
|
|
|
160
183
|
|
|
161
184
|
namespace PaymentMethod {
|
|
162
185
|
interface AcssDebit {
|
|
186
|
+
/**
|
|
187
|
+
* Account number of the bank account.
|
|
188
|
+
*/
|
|
189
|
+
account_number?: string | null;
|
|
190
|
+
|
|
163
191
|
/**
|
|
164
192
|
* Name of the bank associated with the bank account.
|
|
165
193
|
*/
|
|
@@ -966,8 +994,24 @@ declare module 'stripe' {
|
|
|
966
994
|
|
|
967
995
|
interface Giropay {}
|
|
968
996
|
|
|
997
|
+
interface Gopay {}
|
|
998
|
+
|
|
969
999
|
interface Grabpay {}
|
|
970
1000
|
|
|
1001
|
+
interface IdBankTransfer {
|
|
1002
|
+
bank: IdBankTransfer.Bank | null;
|
|
1003
|
+
|
|
1004
|
+
bank_code: string | null;
|
|
1005
|
+
|
|
1006
|
+
bank_name: string | null;
|
|
1007
|
+
|
|
1008
|
+
display_name: string | null;
|
|
1009
|
+
}
|
|
1010
|
+
|
|
1011
|
+
namespace IdBankTransfer {
|
|
1012
|
+
type Bank = 'bca' | 'bni' | 'bri' | 'cimb' | 'permata';
|
|
1013
|
+
}
|
|
1014
|
+
|
|
971
1015
|
interface Ideal {
|
|
972
1016
|
/**
|
|
973
1017
|
* 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`.
|
|
@@ -1197,6 +1241,8 @@ declare module 'stripe' {
|
|
|
1197
1241
|
persistent_token?: string;
|
|
1198
1242
|
}
|
|
1199
1243
|
|
|
1244
|
+
interface MbWay {}
|
|
1245
|
+
|
|
1200
1246
|
interface Mobilepay {}
|
|
1201
1247
|
|
|
1202
1248
|
interface Multibanco {}
|
|
@@ -1300,6 +1346,11 @@ declare module 'stripe' {
|
|
|
1300
1346
|
*/
|
|
1301
1347
|
country: string | null;
|
|
1302
1348
|
|
|
1349
|
+
/**
|
|
1350
|
+
* Uniquely identifies this particular PayPal account. You can use this attribute to check whether two PayPal accounts are the same.
|
|
1351
|
+
*/
|
|
1352
|
+
fingerprint?: string | null;
|
|
1353
|
+
|
|
1303
1354
|
/**
|
|
1304
1355
|
* Owner's email. Values are provided by PayPal directly
|
|
1305
1356
|
* (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
|
@@ -1310,12 +1361,37 @@ declare module 'stripe' {
|
|
|
1310
1361
|
* PayPal account PayerID. This identifier uniquely identifies the PayPal customer.
|
|
1311
1362
|
*/
|
|
1312
1363
|
payer_id: string | null;
|
|
1364
|
+
|
|
1365
|
+
/**
|
|
1366
|
+
* Owner's verified email. Values are verified or provided by PayPal directly
|
|
1367
|
+
* (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
|
1368
|
+
*/
|
|
1369
|
+
verified_email?: string | null;
|
|
1370
|
+
}
|
|
1371
|
+
|
|
1372
|
+
interface Payto {
|
|
1373
|
+
/**
|
|
1374
|
+
* Bank-State-Branch number of the bank account.
|
|
1375
|
+
*/
|
|
1376
|
+
bsb_number: string | null;
|
|
1377
|
+
|
|
1378
|
+
/**
|
|
1379
|
+
* Last four digits of the bank account number.
|
|
1380
|
+
*/
|
|
1381
|
+
last4: string | null;
|
|
1382
|
+
|
|
1383
|
+
/**
|
|
1384
|
+
* The PayID alias for the bank account.
|
|
1385
|
+
*/
|
|
1386
|
+
pay_id: string | null;
|
|
1313
1387
|
}
|
|
1314
1388
|
|
|
1315
1389
|
interface Pix {}
|
|
1316
1390
|
|
|
1317
1391
|
interface Promptpay {}
|
|
1318
1392
|
|
|
1393
|
+
interface Qris {}
|
|
1394
|
+
|
|
1319
1395
|
interface RadarOptions {
|
|
1320
1396
|
/**
|
|
1321
1397
|
* 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.
|
|
@@ -1323,6 +1399,29 @@ declare module 'stripe' {
|
|
|
1323
1399
|
session?: string;
|
|
1324
1400
|
}
|
|
1325
1401
|
|
|
1402
|
+
interface Rechnung {
|
|
1403
|
+
dob?: Rechnung.Dob;
|
|
1404
|
+
}
|
|
1405
|
+
|
|
1406
|
+
namespace Rechnung {
|
|
1407
|
+
interface Dob {
|
|
1408
|
+
/**
|
|
1409
|
+
* The day of birth, between 1 and 31.
|
|
1410
|
+
*/
|
|
1411
|
+
day: number;
|
|
1412
|
+
|
|
1413
|
+
/**
|
|
1414
|
+
* The month of birth, between 1 and 12.
|
|
1415
|
+
*/
|
|
1416
|
+
month: number;
|
|
1417
|
+
|
|
1418
|
+
/**
|
|
1419
|
+
* The four-digit year of birth.
|
|
1420
|
+
*/
|
|
1421
|
+
year: number;
|
|
1422
|
+
}
|
|
1423
|
+
}
|
|
1424
|
+
|
|
1326
1425
|
interface RevolutPay {}
|
|
1327
1426
|
|
|
1328
1427
|
interface SamsungPay {}
|
|
@@ -1375,6 +1474,8 @@ declare module 'stripe' {
|
|
|
1375
1474
|
}
|
|
1376
1475
|
}
|
|
1377
1476
|
|
|
1477
|
+
interface Shopeepay {}
|
|
1478
|
+
|
|
1378
1479
|
interface Sofort {
|
|
1379
1480
|
/**
|
|
1380
1481
|
* Two-letter ISO code representing the country the bank account is located in.
|
|
@@ -1382,6 +1483,22 @@ declare module 'stripe' {
|
|
|
1382
1483
|
country: string | null;
|
|
1383
1484
|
}
|
|
1384
1485
|
|
|
1486
|
+
interface StripeBalance {
|
|
1487
|
+
/**
|
|
1488
|
+
* The connected account ID whose Stripe balance to use as the source of payment
|
|
1489
|
+
*/
|
|
1490
|
+
account?: string | null;
|
|
1491
|
+
|
|
1492
|
+
/**
|
|
1493
|
+
* The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
|
|
1494
|
+
*/
|
|
1495
|
+
source_type: StripeBalance.SourceType;
|
|
1496
|
+
}
|
|
1497
|
+
|
|
1498
|
+
namespace StripeBalance {
|
|
1499
|
+
type SourceType = 'bank_account' | 'card' | 'fpx';
|
|
1500
|
+
}
|
|
1501
|
+
|
|
1385
1502
|
interface Swish {}
|
|
1386
1503
|
|
|
1387
1504
|
interface Twint {}
|
|
@@ -1407,7 +1524,9 @@ declare module 'stripe' {
|
|
|
1407
1524
|
| 'eps'
|
|
1408
1525
|
| 'fpx'
|
|
1409
1526
|
| 'giropay'
|
|
1527
|
+
| 'gopay'
|
|
1410
1528
|
| 'grabpay'
|
|
1529
|
+
| 'id_bank_transfer'
|
|
1411
1530
|
| 'ideal'
|
|
1412
1531
|
| 'interac_present'
|
|
1413
1532
|
| 'kakao_pay'
|
|
@@ -1415,6 +1534,7 @@ declare module 'stripe' {
|
|
|
1415
1534
|
| 'konbini'
|
|
1416
1535
|
| 'kr_card'
|
|
1417
1536
|
| 'link'
|
|
1537
|
+
| 'mb_way'
|
|
1418
1538
|
| 'mobilepay'
|
|
1419
1539
|
| 'multibanco'
|
|
1420
1540
|
| 'naver_pay'
|
|
@@ -1425,13 +1545,18 @@ declare module 'stripe' {
|
|
|
1425
1545
|
| 'payco'
|
|
1426
1546
|
| 'paynow'
|
|
1427
1547
|
| 'paypal'
|
|
1548
|
+
| 'payto'
|
|
1428
1549
|
| 'pix'
|
|
1429
1550
|
| 'promptpay'
|
|
1551
|
+
| 'qris'
|
|
1552
|
+
| 'rechnung'
|
|
1430
1553
|
| 'revolut_pay'
|
|
1431
1554
|
| 'samsung_pay'
|
|
1432
1555
|
| 'satispay'
|
|
1433
1556
|
| 'sepa_debit'
|
|
1557
|
+
| 'shopeepay'
|
|
1434
1558
|
| 'sofort'
|
|
1559
|
+
| 'stripe_balance'
|
|
1435
1560
|
| 'swish'
|
|
1436
1561
|
| 'twint'
|
|
1437
1562
|
| 'us_bank_account'
|
|
@@ -1444,6 +1569,11 @@ declare module 'stripe' {
|
|
|
1444
1569
|
*/
|
|
1445
1570
|
account_holder_type: UsBankAccount.AccountHolderType | null;
|
|
1446
1571
|
|
|
1572
|
+
/**
|
|
1573
|
+
* Account number of the bank account.
|
|
1574
|
+
*/
|
|
1575
|
+
account_number?: string | null;
|
|
1576
|
+
|
|
1447
1577
|
/**
|
|
1448
1578
|
* Account type: checkings or savings. Defaults to checking if omitted.
|
|
1449
1579
|
*/
|