stripe 18.3.0 → 18.4.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 +1296 -12
- 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/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/{InvoicePayments.js → PaymentAttemptRecords.js} +4 -4
- 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/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 +98 -10
- 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/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/{InvoicePayments.js → PaymentAttemptRecords.js} +3 -3
- 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/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 +82 -1
- 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 +89 -0
- package/types/BalanceSettingsResource.d.ts +108 -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/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 +333 -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 +7 -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 +153 -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/Invoices.d.ts +133 -3
- package/types/InvoicesResource.d.ts +1447 -16
- 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 +2161 -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 +8808 -4088
- 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 +2154 -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 +1696 -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 +97 -1
- package/types/SubscriptionsResource.d.ts +396 -10
- 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/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 +106 -0
- package/types/V2/Core/AccountLinksResource.d.ts +90 -0
- package/types/V2/Core/Accounts/PersonsResource.d.ts +3780 -0
- package/types/V2/Core/Accounts.d.ts +8791 -0
- package/types/V2/Core/AccountsResource.d.ts +10582 -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 +958 -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 +151 -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 +162 -0
- package/types/V2/Payments/OffSessionPaymentsResource.d.ts +159 -0
- package/types/V2/TestHelpers/FinancialAddressesResource.d.ts +66 -0
- package/types/WebhookEndpointsResource.d.ts +78 -0
- package/types/index.d.ts +138 -2
- package/types/lib.d.ts +11 -1
- package/types/test/typescriptTest.ts +3 -3
- package/types/InvoicePaymentsResource.d.ts +0 -74
|
@@ -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;
|
|
@@ -98,6 +104,8 @@ declare module 'stripe' {
|
|
|
98
104
|
*/
|
|
99
105
|
livemode: boolean;
|
|
100
106
|
|
|
107
|
+
mb_way?: PaymentMethod.MbWay;
|
|
108
|
+
|
|
101
109
|
/**
|
|
102
110
|
* 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
111
|
*/
|
|
@@ -123,15 +131,21 @@ declare module 'stripe' {
|
|
|
123
131
|
|
|
124
132
|
paypal?: PaymentMethod.Paypal;
|
|
125
133
|
|
|
134
|
+
payto?: PaymentMethod.Payto;
|
|
135
|
+
|
|
126
136
|
pix?: PaymentMethod.Pix;
|
|
127
137
|
|
|
128
138
|
promptpay?: PaymentMethod.Promptpay;
|
|
129
139
|
|
|
140
|
+
qris?: PaymentMethod.Qris;
|
|
141
|
+
|
|
130
142
|
/**
|
|
131
143
|
* Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
|
|
132
144
|
*/
|
|
133
145
|
radar_options?: PaymentMethod.RadarOptions;
|
|
134
146
|
|
|
147
|
+
rechnung?: PaymentMethod.Rechnung;
|
|
148
|
+
|
|
135
149
|
revolut_pay?: PaymentMethod.RevolutPay;
|
|
136
150
|
|
|
137
151
|
samsung_pay?: PaymentMethod.SamsungPay;
|
|
@@ -140,8 +154,12 @@ declare module 'stripe' {
|
|
|
140
154
|
|
|
141
155
|
sepa_debit?: PaymentMethod.SepaDebit;
|
|
142
156
|
|
|
157
|
+
shopeepay?: PaymentMethod.Shopeepay;
|
|
158
|
+
|
|
143
159
|
sofort?: PaymentMethod.Sofort;
|
|
144
160
|
|
|
161
|
+
stripe_balance?: PaymentMethod.StripeBalance;
|
|
162
|
+
|
|
145
163
|
swish?: PaymentMethod.Swish;
|
|
146
164
|
|
|
147
165
|
twint?: PaymentMethod.Twint;
|
|
@@ -160,6 +178,11 @@ declare module 'stripe' {
|
|
|
160
178
|
|
|
161
179
|
namespace PaymentMethod {
|
|
162
180
|
interface AcssDebit {
|
|
181
|
+
/**
|
|
182
|
+
* Account number of the bank account.
|
|
183
|
+
*/
|
|
184
|
+
account_number?: string | null;
|
|
185
|
+
|
|
163
186
|
/**
|
|
164
187
|
* Name of the bank associated with the bank account.
|
|
165
188
|
*/
|
|
@@ -966,8 +989,24 @@ declare module 'stripe' {
|
|
|
966
989
|
|
|
967
990
|
interface Giropay {}
|
|
968
991
|
|
|
992
|
+
interface Gopay {}
|
|
993
|
+
|
|
969
994
|
interface Grabpay {}
|
|
970
995
|
|
|
996
|
+
interface IdBankTransfer {
|
|
997
|
+
bank: IdBankTransfer.Bank | null;
|
|
998
|
+
|
|
999
|
+
bank_code: string | null;
|
|
1000
|
+
|
|
1001
|
+
bank_name: string | null;
|
|
1002
|
+
|
|
1003
|
+
display_name: string | null;
|
|
1004
|
+
}
|
|
1005
|
+
|
|
1006
|
+
namespace IdBankTransfer {
|
|
1007
|
+
type Bank = 'bca' | 'bni' | 'bri' | 'cimb' | 'permata';
|
|
1008
|
+
}
|
|
1009
|
+
|
|
971
1010
|
interface Ideal {
|
|
972
1011
|
/**
|
|
973
1012
|
* 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 +1236,8 @@ declare module 'stripe' {
|
|
|
1197
1236
|
persistent_token?: string;
|
|
1198
1237
|
}
|
|
1199
1238
|
|
|
1239
|
+
interface MbWay {}
|
|
1240
|
+
|
|
1200
1241
|
interface Mobilepay {}
|
|
1201
1242
|
|
|
1202
1243
|
interface Multibanco {}
|
|
@@ -1300,6 +1341,11 @@ declare module 'stripe' {
|
|
|
1300
1341
|
*/
|
|
1301
1342
|
country: string | null;
|
|
1302
1343
|
|
|
1344
|
+
/**
|
|
1345
|
+
* Uniquely identifies this particular PayPal account. You can use this attribute to check whether two PayPal accounts are the same.
|
|
1346
|
+
*/
|
|
1347
|
+
fingerprint?: string | null;
|
|
1348
|
+
|
|
1303
1349
|
/**
|
|
1304
1350
|
* Owner's email. Values are provided by PayPal directly
|
|
1305
1351
|
* (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
|
@@ -1310,12 +1356,37 @@ declare module 'stripe' {
|
|
|
1310
1356
|
* PayPal account PayerID. This identifier uniquely identifies the PayPal customer.
|
|
1311
1357
|
*/
|
|
1312
1358
|
payer_id: string | null;
|
|
1359
|
+
|
|
1360
|
+
/**
|
|
1361
|
+
* Owner's verified email. Values are verified or provided by PayPal directly
|
|
1362
|
+
* (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
|
1363
|
+
*/
|
|
1364
|
+
verified_email?: string | null;
|
|
1365
|
+
}
|
|
1366
|
+
|
|
1367
|
+
interface Payto {
|
|
1368
|
+
/**
|
|
1369
|
+
* Bank-State-Branch number of the bank account.
|
|
1370
|
+
*/
|
|
1371
|
+
bsb_number: string | null;
|
|
1372
|
+
|
|
1373
|
+
/**
|
|
1374
|
+
* Last four digits of the bank account number.
|
|
1375
|
+
*/
|
|
1376
|
+
last4: string | null;
|
|
1377
|
+
|
|
1378
|
+
/**
|
|
1379
|
+
* The PayID alias for the bank account.
|
|
1380
|
+
*/
|
|
1381
|
+
pay_id: string | null;
|
|
1313
1382
|
}
|
|
1314
1383
|
|
|
1315
1384
|
interface Pix {}
|
|
1316
1385
|
|
|
1317
1386
|
interface Promptpay {}
|
|
1318
1387
|
|
|
1388
|
+
interface Qris {}
|
|
1389
|
+
|
|
1319
1390
|
interface RadarOptions {
|
|
1320
1391
|
/**
|
|
1321
1392
|
* 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 +1394,29 @@ declare module 'stripe' {
|
|
|
1323
1394
|
session?: string;
|
|
1324
1395
|
}
|
|
1325
1396
|
|
|
1397
|
+
interface Rechnung {
|
|
1398
|
+
dob?: Rechnung.Dob;
|
|
1399
|
+
}
|
|
1400
|
+
|
|
1401
|
+
namespace Rechnung {
|
|
1402
|
+
interface Dob {
|
|
1403
|
+
/**
|
|
1404
|
+
* The day of birth, between 1 and 31.
|
|
1405
|
+
*/
|
|
1406
|
+
day: number;
|
|
1407
|
+
|
|
1408
|
+
/**
|
|
1409
|
+
* The month of birth, between 1 and 12.
|
|
1410
|
+
*/
|
|
1411
|
+
month: number;
|
|
1412
|
+
|
|
1413
|
+
/**
|
|
1414
|
+
* The four-digit year of birth.
|
|
1415
|
+
*/
|
|
1416
|
+
year: number;
|
|
1417
|
+
}
|
|
1418
|
+
}
|
|
1419
|
+
|
|
1326
1420
|
interface RevolutPay {}
|
|
1327
1421
|
|
|
1328
1422
|
interface SamsungPay {}
|
|
@@ -1375,6 +1469,8 @@ declare module 'stripe' {
|
|
|
1375
1469
|
}
|
|
1376
1470
|
}
|
|
1377
1471
|
|
|
1472
|
+
interface Shopeepay {}
|
|
1473
|
+
|
|
1378
1474
|
interface Sofort {
|
|
1379
1475
|
/**
|
|
1380
1476
|
* Two-letter ISO code representing the country the bank account is located in.
|
|
@@ -1382,6 +1478,22 @@ declare module 'stripe' {
|
|
|
1382
1478
|
country: string | null;
|
|
1383
1479
|
}
|
|
1384
1480
|
|
|
1481
|
+
interface StripeBalance {
|
|
1482
|
+
/**
|
|
1483
|
+
* The connected account ID whose Stripe balance to use as the source of payment
|
|
1484
|
+
*/
|
|
1485
|
+
account?: string | null;
|
|
1486
|
+
|
|
1487
|
+
/**
|
|
1488
|
+
* The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
|
|
1489
|
+
*/
|
|
1490
|
+
source_type: StripeBalance.SourceType;
|
|
1491
|
+
}
|
|
1492
|
+
|
|
1493
|
+
namespace StripeBalance {
|
|
1494
|
+
type SourceType = 'bank_account' | 'card' | 'fpx';
|
|
1495
|
+
}
|
|
1496
|
+
|
|
1385
1497
|
interface Swish {}
|
|
1386
1498
|
|
|
1387
1499
|
interface Twint {}
|
|
@@ -1407,7 +1519,9 @@ declare module 'stripe' {
|
|
|
1407
1519
|
| 'eps'
|
|
1408
1520
|
| 'fpx'
|
|
1409
1521
|
| 'giropay'
|
|
1522
|
+
| 'gopay'
|
|
1410
1523
|
| 'grabpay'
|
|
1524
|
+
| 'id_bank_transfer'
|
|
1411
1525
|
| 'ideal'
|
|
1412
1526
|
| 'interac_present'
|
|
1413
1527
|
| 'kakao_pay'
|
|
@@ -1415,6 +1529,7 @@ declare module 'stripe' {
|
|
|
1415
1529
|
| 'konbini'
|
|
1416
1530
|
| 'kr_card'
|
|
1417
1531
|
| 'link'
|
|
1532
|
+
| 'mb_way'
|
|
1418
1533
|
| 'mobilepay'
|
|
1419
1534
|
| 'multibanco'
|
|
1420
1535
|
| 'naver_pay'
|
|
@@ -1425,13 +1540,18 @@ declare module 'stripe' {
|
|
|
1425
1540
|
| 'payco'
|
|
1426
1541
|
| 'paynow'
|
|
1427
1542
|
| 'paypal'
|
|
1543
|
+
| 'payto'
|
|
1428
1544
|
| 'pix'
|
|
1429
1545
|
| 'promptpay'
|
|
1546
|
+
| 'qris'
|
|
1547
|
+
| 'rechnung'
|
|
1430
1548
|
| 'revolut_pay'
|
|
1431
1549
|
| 'samsung_pay'
|
|
1432
1550
|
| 'satispay'
|
|
1433
1551
|
| 'sepa_debit'
|
|
1552
|
+
| 'shopeepay'
|
|
1434
1553
|
| 'sofort'
|
|
1554
|
+
| 'stripe_balance'
|
|
1435
1555
|
| 'swish'
|
|
1436
1556
|
| 'twint'
|
|
1437
1557
|
| 'us_bank_account'
|
|
@@ -1444,6 +1564,11 @@ declare module 'stripe' {
|
|
|
1444
1564
|
*/
|
|
1445
1565
|
account_holder_type: UsBankAccount.AccountHolderType | null;
|
|
1446
1566
|
|
|
1567
|
+
/**
|
|
1568
|
+
* Account number of the bank account.
|
|
1569
|
+
*/
|
|
1570
|
+
account_number?: string | null;
|
|
1571
|
+
|
|
1447
1572
|
/**
|
|
1448
1573
|
* Account type: checkings or savings. Defaults to checking if omitted.
|
|
1449
1574
|
*/
|