stripe 19.2.0 → 19.3.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 +1471 -12
- package/README.md +1 -0
- package/VERSION +1 -1
- package/cjs/Error.js +115 -1
- package/cjs/apiVersion.js +2 -3
- package/cjs/resources/AccountNotices.js +21 -0
- package/cjs/resources/Billing/Analytics/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/PaymentIntents.js +8 -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/Subscriptions.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/Billing/BillSettings/Versions.js +17 -0
- package/cjs/resources/V2/Billing/BillSettings.js +27 -0
- package/cjs/resources/V2/Billing/Cadences.js +23 -0
- package/cjs/resources/V2/Billing/CollectionSettings/Versions.js +17 -0
- package/cjs/resources/V2/Billing/CollectionSettings.js +30 -0
- package/cjs/resources/V2/Billing/Profiles.js +19 -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 +33 -0
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.js +37 -0
- package/cjs/resources/V2/MoneyManagement/Adjustments.js +17 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +29 -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 +29 -0
- package/cjs/resources/V2/TestHelpers/FinancialAddresses.js +16 -0
- package/cjs/resources.js +106 -8
- package/cjs/stripe.core.js +1 -1
- package/esm/Error.js +100 -0
- package/esm/apiVersion.js +1 -2
- package/esm/resources/AccountNotices.js +18 -0
- package/esm/resources/Billing/Analytics/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/PaymentIntents.js +8 -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/Subscriptions.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/Billing/BillSettings/Versions.js +14 -0
- package/esm/resources/V2/Billing/BillSettings.js +24 -0
- package/esm/resources/V2/Billing/Cadences.js +20 -0
- package/esm/resources/V2/Billing/CollectionSettings/Versions.js +14 -0
- package/esm/resources/V2/Billing/CollectionSettings.js +27 -0
- package/esm/resources/V2/Billing/Profiles.js +16 -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 +30 -0
- package/esm/resources/V2/Core/Vault/UsBankAccounts.js +34 -0
- package/esm/resources/V2/MoneyManagement/Adjustments.js +14 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +26 -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 +26 -0
- package/esm/resources/V2/TestHelpers/FinancialAddresses.js +13 -0
- package/esm/resources.js +93 -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 +214 -1
- package/types/AccountsResource.d.ts +544 -0
- package/types/BankAccounts.d.ts +2 -0
- package/types/Billing/AlertTriggereds.d.ts +1 -1
- package/types/Billing/Analytics/MeterUsage.d.ts +31 -0
- package/types/Billing/Analytics/MeterUsageResource.d.ts +689 -0
- package/types/Billing/Analytics/MeterUsageRows.d.ts +51 -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 +13 -3
- package/types/BillingPortal/Sessions.d.ts +5 -0
- package/types/BillingPortal/SessionsResource.d.ts +12 -4
- package/types/Capabilities.d.ts +2 -0
- 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 +176 -0
- package/types/ChargesResource.d.ts +1418 -0
- package/types/Checkout/Sessions.d.ts +369 -2
- package/types/Checkout/SessionsResource.d.ts +632 -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 +46 -0
- package/types/CustomerSessionsResource.d.ts +47 -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 +40 -0
- package/types/DisputesResource.d.ts +11 -0
- package/types/Errors.d.ts +85 -0
- package/types/EventTypes.d.ts +630 -0
- package/types/Events.d.ts +95 -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/Invoices.d.ts +203 -4
- package/types/InvoicesResource.d.ts +1620 -2
- 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 +141 -0
- package/types/PaymentIntents.d.ts +773 -3
- package/types/PaymentIntentsResource.d.ts +9628 -4805
- package/types/PaymentLinks.d.ts +6 -0
- package/types/PaymentLinksResource.d.ts +12 -0
- package/types/PaymentMethodConfigurations.d.ts +216 -0
- package/types/PaymentMethodConfigurationsResource.d.ts +300 -0
- package/types/PaymentMethods.d.ts +130 -0
- package/types/PaymentMethodsResource.d.ts +167 -2
- package/types/PaymentRecords.d.ts +141 -0
- package/types/Persons.d.ts +2 -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 +1771 -0
- package/types/QuotePreviewSubscriptionSchedules.d.ts +908 -0
- package/types/Quotes.d.ts +594 -1
- package/types/QuotesResource.d.ts +2588 -243
- package/types/Refunds.d.ts +14 -0
- package/types/SetupAttempts.d.ts +51 -1
- package/types/SetupIntents.d.ts +218 -2
- package/types/SetupIntentsResource.d.ts +954 -4
- package/types/Sources.d.ts +29 -0
- package/types/SubscriptionItems.d.ts +26 -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 +262 -1
- package/types/SubscriptionsResource.d.ts +745 -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/Billing/BillSettingVersions.d.ts +97 -0
- package/types/V2/Billing/BillSettings/VersionsResource.d.ts +58 -0
- package/types/V2/Billing/BillSettings.d.ts +120 -0
- package/types/V2/Billing/BillSettingsResource.d.ts +241 -0
- package/types/V2/Billing/Cadences.d.ts +686 -0
- package/types/V2/Billing/CadencesResource.d.ts +487 -0
- package/types/V2/Billing/CollectionSettingVersions.d.ts +314 -0
- package/types/V2/Billing/CollectionSettings/VersionsResource.d.ts +62 -0
- package/types/V2/Billing/CollectionSettings.d.ts +337 -0
- package/types/V2/Billing/CollectionSettingsResource.d.ts +675 -0
- package/types/V2/Billing/Profiles.d.ts +70 -0
- package/types/V2/Billing/ProfilesResource.d.ts +150 -0
- package/types/V2/Core/AccountLinks.d.ts +168 -0
- package/types/V2/Core/AccountLinksResource.d.ts +152 -0
- package/types/V2/Core/AccountPersons.d.ts +615 -0
- package/types/V2/Core/Accounts/PersonsResource.d.ts +1153 -0
- package/types/V2/Core/Accounts.d.ts +6010 -0
- package/types/V2/Core/AccountsResource.d.ts +5104 -0
- package/types/V2/Core/EventTypes.d.ts +1623 -9
- package/types/V2/Core/Vault/GbBankAccounts.d.ts +160 -0
- package/types/V2/Core/Vault/GbBankAccountsResource.d.ts +194 -0
- package/types/V2/Core/Vault/UsBankAccounts.d.ts +116 -0
- package/types/V2/Core/Vault/UsBankAccountsResource.d.ts +198 -0
- 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 +148 -0
- package/types/V2/MoneyManagement/FinancialAccountsResource.d.ts +172 -0
- package/types/V2/MoneyManagement/FinancialAddresses.d.ts +178 -0
- package/types/V2/MoneyManagement/FinancialAddressesResource.d.ts +112 -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 +170 -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/PayoutMethodsBankAccountSpec.d.ts +93 -0
- package/types/V2/MoneyManagement/PayoutMethodsBankAccountSpecResource.d.ts +41 -0
- package/types/V2/MoneyManagement/PayoutMethodsResource.d.ts +113 -0
- package/types/V2/MoneyManagement/ReceivedCredits.d.ts +302 -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 +326 -0
- package/types/V2/Payments/OffSessionPaymentsResource.d.ts +401 -0
- package/types/V2/TestHelpers/FinancialAddressesResource.d.ts +68 -0
- package/types/WebhookEndpointsResource.d.ts +74 -0
- package/types/apiVersion.d.ts +1 -2
- package/types/index.d.ts +153 -0
- package/types/lib.d.ts +10 -0
|
@@ -128,11 +128,21 @@ declare module 'stripe' {
|
|
|
128
128
|
*/
|
|
129
129
|
google_pay?: PaymentMethodConfigurationCreateParams.GooglePay;
|
|
130
130
|
|
|
131
|
+
/**
|
|
132
|
+
* 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.
|
|
133
|
+
*/
|
|
134
|
+
gopay?: PaymentMethodConfigurationCreateParams.Gopay;
|
|
135
|
+
|
|
131
136
|
/**
|
|
132
137
|
* 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.
|
|
133
138
|
*/
|
|
134
139
|
grabpay?: PaymentMethodConfigurationCreateParams.Grabpay;
|
|
135
140
|
|
|
141
|
+
/**
|
|
142
|
+
* Stripe users in Indonesia can receive bank transfers from customers in Indonesia. Bank transfers are a popular B2C and B2B payment method in Indonesia.
|
|
143
|
+
*/
|
|
144
|
+
id_bank_transfer?: PaymentMethodConfigurationCreateParams.IdBankTransfer;
|
|
145
|
+
|
|
136
146
|
/**
|
|
137
147
|
* 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.
|
|
138
148
|
*/
|
|
@@ -233,6 +243,16 @@ declare module 'stripe' {
|
|
|
233
243
|
*/
|
|
234
244
|
paypal?: PaymentMethodConfigurationCreateParams.Paypal;
|
|
235
245
|
|
|
246
|
+
/**
|
|
247
|
+
* Customers can pay with PayPay online or using the PayPay app.
|
|
248
|
+
*/
|
|
249
|
+
paypay?: PaymentMethodConfigurationCreateParams.Paypay;
|
|
250
|
+
|
|
251
|
+
/**
|
|
252
|
+
* 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.
|
|
253
|
+
*/
|
|
254
|
+
payto?: PaymentMethodConfigurationCreateParams.Payto;
|
|
255
|
+
|
|
236
256
|
/**
|
|
237
257
|
* 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.
|
|
238
258
|
*/
|
|
@@ -243,6 +263,11 @@ declare module 'stripe' {
|
|
|
243
263
|
*/
|
|
244
264
|
promptpay?: PaymentMethodConfigurationCreateParams.Promptpay;
|
|
245
265
|
|
|
266
|
+
/**
|
|
267
|
+
* 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.
|
|
268
|
+
*/
|
|
269
|
+
qris?: PaymentMethodConfigurationCreateParams.Qris;
|
|
270
|
+
|
|
246
271
|
/**
|
|
247
272
|
* 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.
|
|
248
273
|
*/
|
|
@@ -263,6 +288,11 @@ declare module 'stripe' {
|
|
|
263
288
|
*/
|
|
264
289
|
sepa_debit?: PaymentMethodConfigurationCreateParams.SepaDebit;
|
|
265
290
|
|
|
291
|
+
/**
|
|
292
|
+
* 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.
|
|
293
|
+
*/
|
|
294
|
+
shopeepay?: PaymentMethodConfigurationCreateParams.Shopeepay;
|
|
295
|
+
|
|
266
296
|
/**
|
|
267
297
|
* 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.
|
|
268
298
|
*/
|
|
@@ -775,6 +805,26 @@ declare module 'stripe' {
|
|
|
775
805
|
}
|
|
776
806
|
}
|
|
777
807
|
|
|
808
|
+
interface Gopay {
|
|
809
|
+
/**
|
|
810
|
+
* Whether or not the payment method should be displayed.
|
|
811
|
+
*/
|
|
812
|
+
display_preference?: Gopay.DisplayPreference;
|
|
813
|
+
}
|
|
814
|
+
|
|
815
|
+
namespace Gopay {
|
|
816
|
+
interface DisplayPreference {
|
|
817
|
+
/**
|
|
818
|
+
* The account's preference for whether or not to display this payment method.
|
|
819
|
+
*/
|
|
820
|
+
preference?: DisplayPreference.Preference;
|
|
821
|
+
}
|
|
822
|
+
|
|
823
|
+
namespace DisplayPreference {
|
|
824
|
+
type Preference = 'none' | 'off' | 'on';
|
|
825
|
+
}
|
|
826
|
+
}
|
|
827
|
+
|
|
778
828
|
interface Grabpay {
|
|
779
829
|
/**
|
|
780
830
|
* Whether or not the payment method should be displayed.
|
|
@@ -795,6 +845,26 @@ declare module 'stripe' {
|
|
|
795
845
|
}
|
|
796
846
|
}
|
|
797
847
|
|
|
848
|
+
interface IdBankTransfer {
|
|
849
|
+
/**
|
|
850
|
+
* Whether or not the payment method should be displayed.
|
|
851
|
+
*/
|
|
852
|
+
display_preference?: IdBankTransfer.DisplayPreference;
|
|
853
|
+
}
|
|
854
|
+
|
|
855
|
+
namespace IdBankTransfer {
|
|
856
|
+
interface DisplayPreference {
|
|
857
|
+
/**
|
|
858
|
+
* The account's preference for whether or not to display this payment method.
|
|
859
|
+
*/
|
|
860
|
+
preference?: DisplayPreference.Preference;
|
|
861
|
+
}
|
|
862
|
+
|
|
863
|
+
namespace DisplayPreference {
|
|
864
|
+
type Preference = 'none' | 'off' | 'on';
|
|
865
|
+
}
|
|
866
|
+
}
|
|
867
|
+
|
|
798
868
|
interface Ideal {
|
|
799
869
|
/**
|
|
800
870
|
* Whether or not the payment method should be displayed.
|
|
@@ -1155,6 +1225,46 @@ declare module 'stripe' {
|
|
|
1155
1225
|
}
|
|
1156
1226
|
}
|
|
1157
1227
|
|
|
1228
|
+
interface Paypay {
|
|
1229
|
+
/**
|
|
1230
|
+
* Whether or not the payment method should be displayed.
|
|
1231
|
+
*/
|
|
1232
|
+
display_preference?: Paypay.DisplayPreference;
|
|
1233
|
+
}
|
|
1234
|
+
|
|
1235
|
+
namespace Paypay {
|
|
1236
|
+
interface DisplayPreference {
|
|
1237
|
+
/**
|
|
1238
|
+
* The account's preference for whether or not to display this payment method.
|
|
1239
|
+
*/
|
|
1240
|
+
preference?: DisplayPreference.Preference;
|
|
1241
|
+
}
|
|
1242
|
+
|
|
1243
|
+
namespace DisplayPreference {
|
|
1244
|
+
type Preference = 'none' | 'off' | 'on';
|
|
1245
|
+
}
|
|
1246
|
+
}
|
|
1247
|
+
|
|
1248
|
+
interface Payto {
|
|
1249
|
+
/**
|
|
1250
|
+
* Whether or not the payment method should be displayed.
|
|
1251
|
+
*/
|
|
1252
|
+
display_preference?: Payto.DisplayPreference;
|
|
1253
|
+
}
|
|
1254
|
+
|
|
1255
|
+
namespace Payto {
|
|
1256
|
+
interface DisplayPreference {
|
|
1257
|
+
/**
|
|
1258
|
+
* The account's preference for whether or not to display this payment method.
|
|
1259
|
+
*/
|
|
1260
|
+
preference?: DisplayPreference.Preference;
|
|
1261
|
+
}
|
|
1262
|
+
|
|
1263
|
+
namespace DisplayPreference {
|
|
1264
|
+
type Preference = 'none' | 'off' | 'on';
|
|
1265
|
+
}
|
|
1266
|
+
}
|
|
1267
|
+
|
|
1158
1268
|
interface Pix {
|
|
1159
1269
|
/**
|
|
1160
1270
|
* Whether or not the payment method should be displayed.
|
|
@@ -1195,6 +1305,26 @@ declare module 'stripe' {
|
|
|
1195
1305
|
}
|
|
1196
1306
|
}
|
|
1197
1307
|
|
|
1308
|
+
interface Qris {
|
|
1309
|
+
/**
|
|
1310
|
+
* Whether or not the payment method should be displayed.
|
|
1311
|
+
*/
|
|
1312
|
+
display_preference?: Qris.DisplayPreference;
|
|
1313
|
+
}
|
|
1314
|
+
|
|
1315
|
+
namespace Qris {
|
|
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
|
+
|
|
1198
1328
|
interface RevolutPay {
|
|
1199
1329
|
/**
|
|
1200
1330
|
* Whether or not the payment method should be displayed.
|
|
@@ -1275,6 +1405,26 @@ declare module 'stripe' {
|
|
|
1275
1405
|
}
|
|
1276
1406
|
}
|
|
1277
1407
|
|
|
1408
|
+
interface Shopeepay {
|
|
1409
|
+
/**
|
|
1410
|
+
* Whether or not the payment method should be displayed.
|
|
1411
|
+
*/
|
|
1412
|
+
display_preference?: Shopeepay.DisplayPreference;
|
|
1413
|
+
}
|
|
1414
|
+
|
|
1415
|
+
namespace Shopeepay {
|
|
1416
|
+
interface DisplayPreference {
|
|
1417
|
+
/**
|
|
1418
|
+
* The account's preference for whether or not to display this payment method.
|
|
1419
|
+
*/
|
|
1420
|
+
preference?: DisplayPreference.Preference;
|
|
1421
|
+
}
|
|
1422
|
+
|
|
1423
|
+
namespace DisplayPreference {
|
|
1424
|
+
type Preference = 'none' | 'off' | 'on';
|
|
1425
|
+
}
|
|
1426
|
+
}
|
|
1427
|
+
|
|
1278
1428
|
interface Sofort {
|
|
1279
1429
|
/**
|
|
1280
1430
|
* Whether or not the payment method should be displayed.
|
|
@@ -1534,11 +1684,21 @@ declare module 'stripe' {
|
|
|
1534
1684
|
*/
|
|
1535
1685
|
google_pay?: PaymentMethodConfigurationUpdateParams.GooglePay;
|
|
1536
1686
|
|
|
1687
|
+
/**
|
|
1688
|
+
* 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.
|
|
1689
|
+
*/
|
|
1690
|
+
gopay?: PaymentMethodConfigurationUpdateParams.Gopay;
|
|
1691
|
+
|
|
1537
1692
|
/**
|
|
1538
1693
|
* 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.
|
|
1539
1694
|
*/
|
|
1540
1695
|
grabpay?: PaymentMethodConfigurationUpdateParams.Grabpay;
|
|
1541
1696
|
|
|
1697
|
+
/**
|
|
1698
|
+
* Stripe users in Indonesia can receive bank transfers from customers in Indonesia. Bank transfers are a popular B2C and B2B payment method in Indonesia.
|
|
1699
|
+
*/
|
|
1700
|
+
id_bank_transfer?: PaymentMethodConfigurationUpdateParams.IdBankTransfer;
|
|
1701
|
+
|
|
1542
1702
|
/**
|
|
1543
1703
|
* 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.
|
|
1544
1704
|
*/
|
|
@@ -1634,6 +1794,16 @@ declare module 'stripe' {
|
|
|
1634
1794
|
*/
|
|
1635
1795
|
paypal?: PaymentMethodConfigurationUpdateParams.Paypal;
|
|
1636
1796
|
|
|
1797
|
+
/**
|
|
1798
|
+
* Customers can pay with PayPay online or using the PayPay app.
|
|
1799
|
+
*/
|
|
1800
|
+
paypay?: PaymentMethodConfigurationUpdateParams.Paypay;
|
|
1801
|
+
|
|
1802
|
+
/**
|
|
1803
|
+
* 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.
|
|
1804
|
+
*/
|
|
1805
|
+
payto?: PaymentMethodConfigurationUpdateParams.Payto;
|
|
1806
|
+
|
|
1637
1807
|
/**
|
|
1638
1808
|
* 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.
|
|
1639
1809
|
*/
|
|
@@ -1644,6 +1814,11 @@ declare module 'stripe' {
|
|
|
1644
1814
|
*/
|
|
1645
1815
|
promptpay?: PaymentMethodConfigurationUpdateParams.Promptpay;
|
|
1646
1816
|
|
|
1817
|
+
/**
|
|
1818
|
+
* 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.
|
|
1819
|
+
*/
|
|
1820
|
+
qris?: PaymentMethodConfigurationUpdateParams.Qris;
|
|
1821
|
+
|
|
1647
1822
|
/**
|
|
1648
1823
|
* 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.
|
|
1649
1824
|
*/
|
|
@@ -1664,6 +1839,11 @@ declare module 'stripe' {
|
|
|
1664
1839
|
*/
|
|
1665
1840
|
sepa_debit?: PaymentMethodConfigurationUpdateParams.SepaDebit;
|
|
1666
1841
|
|
|
1842
|
+
/**
|
|
1843
|
+
* 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.
|
|
1844
|
+
*/
|
|
1845
|
+
shopeepay?: PaymentMethodConfigurationUpdateParams.Shopeepay;
|
|
1846
|
+
|
|
1667
1847
|
/**
|
|
1668
1848
|
* 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.
|
|
1669
1849
|
*/
|
|
@@ -2176,6 +2356,26 @@ declare module 'stripe' {
|
|
|
2176
2356
|
}
|
|
2177
2357
|
}
|
|
2178
2358
|
|
|
2359
|
+
interface Gopay {
|
|
2360
|
+
/**
|
|
2361
|
+
* Whether or not the payment method should be displayed.
|
|
2362
|
+
*/
|
|
2363
|
+
display_preference?: Gopay.DisplayPreference;
|
|
2364
|
+
}
|
|
2365
|
+
|
|
2366
|
+
namespace Gopay {
|
|
2367
|
+
interface DisplayPreference {
|
|
2368
|
+
/**
|
|
2369
|
+
* The account's preference for whether or not to display this payment method.
|
|
2370
|
+
*/
|
|
2371
|
+
preference?: DisplayPreference.Preference;
|
|
2372
|
+
}
|
|
2373
|
+
|
|
2374
|
+
namespace DisplayPreference {
|
|
2375
|
+
type Preference = 'none' | 'off' | 'on';
|
|
2376
|
+
}
|
|
2377
|
+
}
|
|
2378
|
+
|
|
2179
2379
|
interface Grabpay {
|
|
2180
2380
|
/**
|
|
2181
2381
|
* Whether or not the payment method should be displayed.
|
|
@@ -2196,6 +2396,26 @@ declare module 'stripe' {
|
|
|
2196
2396
|
}
|
|
2197
2397
|
}
|
|
2198
2398
|
|
|
2399
|
+
interface IdBankTransfer {
|
|
2400
|
+
/**
|
|
2401
|
+
* Whether or not the payment method should be displayed.
|
|
2402
|
+
*/
|
|
2403
|
+
display_preference?: IdBankTransfer.DisplayPreference;
|
|
2404
|
+
}
|
|
2405
|
+
|
|
2406
|
+
namespace IdBankTransfer {
|
|
2407
|
+
interface DisplayPreference {
|
|
2408
|
+
/**
|
|
2409
|
+
* The account's preference for whether or not to display this payment method.
|
|
2410
|
+
*/
|
|
2411
|
+
preference?: DisplayPreference.Preference;
|
|
2412
|
+
}
|
|
2413
|
+
|
|
2414
|
+
namespace DisplayPreference {
|
|
2415
|
+
type Preference = 'none' | 'off' | 'on';
|
|
2416
|
+
}
|
|
2417
|
+
}
|
|
2418
|
+
|
|
2199
2419
|
interface Ideal {
|
|
2200
2420
|
/**
|
|
2201
2421
|
* Whether or not the payment method should be displayed.
|
|
@@ -2556,6 +2776,46 @@ declare module 'stripe' {
|
|
|
2556
2776
|
}
|
|
2557
2777
|
}
|
|
2558
2778
|
|
|
2779
|
+
interface Paypay {
|
|
2780
|
+
/**
|
|
2781
|
+
* Whether or not the payment method should be displayed.
|
|
2782
|
+
*/
|
|
2783
|
+
display_preference?: Paypay.DisplayPreference;
|
|
2784
|
+
}
|
|
2785
|
+
|
|
2786
|
+
namespace Paypay {
|
|
2787
|
+
interface DisplayPreference {
|
|
2788
|
+
/**
|
|
2789
|
+
* The account's preference for whether or not to display this payment method.
|
|
2790
|
+
*/
|
|
2791
|
+
preference?: DisplayPreference.Preference;
|
|
2792
|
+
}
|
|
2793
|
+
|
|
2794
|
+
namespace DisplayPreference {
|
|
2795
|
+
type Preference = 'none' | 'off' | 'on';
|
|
2796
|
+
}
|
|
2797
|
+
}
|
|
2798
|
+
|
|
2799
|
+
interface Payto {
|
|
2800
|
+
/**
|
|
2801
|
+
* Whether or not the payment method should be displayed.
|
|
2802
|
+
*/
|
|
2803
|
+
display_preference?: Payto.DisplayPreference;
|
|
2804
|
+
}
|
|
2805
|
+
|
|
2806
|
+
namespace Payto {
|
|
2807
|
+
interface DisplayPreference {
|
|
2808
|
+
/**
|
|
2809
|
+
* The account's preference for whether or not to display this payment method.
|
|
2810
|
+
*/
|
|
2811
|
+
preference?: DisplayPreference.Preference;
|
|
2812
|
+
}
|
|
2813
|
+
|
|
2814
|
+
namespace DisplayPreference {
|
|
2815
|
+
type Preference = 'none' | 'off' | 'on';
|
|
2816
|
+
}
|
|
2817
|
+
}
|
|
2818
|
+
|
|
2559
2819
|
interface Pix {
|
|
2560
2820
|
/**
|
|
2561
2821
|
* Whether or not the payment method should be displayed.
|
|
@@ -2596,6 +2856,26 @@ declare module 'stripe' {
|
|
|
2596
2856
|
}
|
|
2597
2857
|
}
|
|
2598
2858
|
|
|
2859
|
+
interface Qris {
|
|
2860
|
+
/**
|
|
2861
|
+
* Whether or not the payment method should be displayed.
|
|
2862
|
+
*/
|
|
2863
|
+
display_preference?: Qris.DisplayPreference;
|
|
2864
|
+
}
|
|
2865
|
+
|
|
2866
|
+
namespace Qris {
|
|
2867
|
+
interface DisplayPreference {
|
|
2868
|
+
/**
|
|
2869
|
+
* The account's preference for whether or not to display this payment method.
|
|
2870
|
+
*/
|
|
2871
|
+
preference?: DisplayPreference.Preference;
|
|
2872
|
+
}
|
|
2873
|
+
|
|
2874
|
+
namespace DisplayPreference {
|
|
2875
|
+
type Preference = 'none' | 'off' | 'on';
|
|
2876
|
+
}
|
|
2877
|
+
}
|
|
2878
|
+
|
|
2599
2879
|
interface RevolutPay {
|
|
2600
2880
|
/**
|
|
2601
2881
|
* Whether or not the payment method should be displayed.
|
|
@@ -2676,6 +2956,26 @@ declare module 'stripe' {
|
|
|
2676
2956
|
}
|
|
2677
2957
|
}
|
|
2678
2958
|
|
|
2959
|
+
interface Shopeepay {
|
|
2960
|
+
/**
|
|
2961
|
+
* Whether or not the payment method should be displayed.
|
|
2962
|
+
*/
|
|
2963
|
+
display_preference?: Shopeepay.DisplayPreference;
|
|
2964
|
+
}
|
|
2965
|
+
|
|
2966
|
+
namespace Shopeepay {
|
|
2967
|
+
interface DisplayPreference {
|
|
2968
|
+
/**
|
|
2969
|
+
* The account's preference for whether or not to display this payment method.
|
|
2970
|
+
*/
|
|
2971
|
+
preference?: DisplayPreference.Preference;
|
|
2972
|
+
}
|
|
2973
|
+
|
|
2974
|
+
namespace DisplayPreference {
|
|
2975
|
+
type Preference = 'none' | 'off' | 'on';
|
|
2976
|
+
}
|
|
2977
|
+
}
|
|
2978
|
+
|
|
2679
2979
|
interface Sofort {
|
|
2680
2980
|
/**
|
|
2681
2981
|
* Whether or not the payment method should be displayed.
|
|
@@ -71,6 +71,8 @@ declare module 'stripe' {
|
|
|
71
71
|
*/
|
|
72
72
|
customer: string | Stripe.Customer | null;
|
|
73
73
|
|
|
74
|
+
customer_account?: string | null;
|
|
75
|
+
|
|
74
76
|
customer_balance?: PaymentMethod.CustomerBalance;
|
|
75
77
|
|
|
76
78
|
eps?: PaymentMethod.Eps;
|
|
@@ -79,8 +81,12 @@ declare module 'stripe' {
|
|
|
79
81
|
|
|
80
82
|
giropay?: PaymentMethod.Giropay;
|
|
81
83
|
|
|
84
|
+
gopay?: PaymentMethod.Gopay;
|
|
85
|
+
|
|
82
86
|
grabpay?: PaymentMethod.Grabpay;
|
|
83
87
|
|
|
88
|
+
id_bank_transfer?: PaymentMethod.IdBankTransfer;
|
|
89
|
+
|
|
84
90
|
ideal?: PaymentMethod.Ideal;
|
|
85
91
|
|
|
86
92
|
interac_present?: PaymentMethod.InteracPresent;
|
|
@@ -93,6 +99,11 @@ declare module 'stripe' {
|
|
|
93
99
|
|
|
94
100
|
kr_card?: PaymentMethod.KrCard;
|
|
95
101
|
|
|
102
|
+
/**
|
|
103
|
+
* The Mandate object of the most recently created Mandate associated with this payment method
|
|
104
|
+
*/
|
|
105
|
+
latest_active_mandate?: Stripe.Mandate | null;
|
|
106
|
+
|
|
96
107
|
link?: PaymentMethod.Link;
|
|
97
108
|
|
|
98
109
|
/**
|
|
@@ -127,15 +138,23 @@ declare module 'stripe' {
|
|
|
127
138
|
|
|
128
139
|
paypal?: PaymentMethod.Paypal;
|
|
129
140
|
|
|
141
|
+
paypay?: PaymentMethod.Paypay;
|
|
142
|
+
|
|
143
|
+
payto?: PaymentMethod.Payto;
|
|
144
|
+
|
|
130
145
|
pix?: PaymentMethod.Pix;
|
|
131
146
|
|
|
132
147
|
promptpay?: PaymentMethod.Promptpay;
|
|
133
148
|
|
|
149
|
+
qris?: PaymentMethod.Qris;
|
|
150
|
+
|
|
134
151
|
/**
|
|
135
152
|
* Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
|
|
136
153
|
*/
|
|
137
154
|
radar_options?: PaymentMethod.RadarOptions;
|
|
138
155
|
|
|
156
|
+
rechnung?: PaymentMethod.Rechnung;
|
|
157
|
+
|
|
139
158
|
revolut_pay?: PaymentMethod.RevolutPay;
|
|
140
159
|
|
|
141
160
|
samsung_pay?: PaymentMethod.SamsungPay;
|
|
@@ -144,8 +163,12 @@ declare module 'stripe' {
|
|
|
144
163
|
|
|
145
164
|
sepa_debit?: PaymentMethod.SepaDebit;
|
|
146
165
|
|
|
166
|
+
shopeepay?: PaymentMethod.Shopeepay;
|
|
167
|
+
|
|
147
168
|
sofort?: PaymentMethod.Sofort;
|
|
148
169
|
|
|
170
|
+
stripe_balance?: PaymentMethod.StripeBalance;
|
|
171
|
+
|
|
149
172
|
swish?: PaymentMethod.Swish;
|
|
150
173
|
|
|
151
174
|
twint?: PaymentMethod.Twint;
|
|
@@ -164,6 +187,11 @@ declare module 'stripe' {
|
|
|
164
187
|
|
|
165
188
|
namespace PaymentMethod {
|
|
166
189
|
interface AcssDebit {
|
|
190
|
+
/**
|
|
191
|
+
* Account number of the bank account.
|
|
192
|
+
*/
|
|
193
|
+
account_number?: string | null;
|
|
194
|
+
|
|
167
195
|
/**
|
|
168
196
|
* Name of the bank associated with the bank account.
|
|
169
197
|
*/
|
|
@@ -1001,8 +1029,24 @@ declare module 'stripe' {
|
|
|
1001
1029
|
|
|
1002
1030
|
interface Giropay {}
|
|
1003
1031
|
|
|
1032
|
+
interface Gopay {}
|
|
1033
|
+
|
|
1004
1034
|
interface Grabpay {}
|
|
1005
1035
|
|
|
1036
|
+
interface IdBankTransfer {
|
|
1037
|
+
bank: IdBankTransfer.Bank | null;
|
|
1038
|
+
|
|
1039
|
+
bank_code: string | null;
|
|
1040
|
+
|
|
1041
|
+
bank_name: string | null;
|
|
1042
|
+
|
|
1043
|
+
display_name: string | null;
|
|
1044
|
+
}
|
|
1045
|
+
|
|
1046
|
+
namespace IdBankTransfer {
|
|
1047
|
+
type Bank = 'bca' | 'bni' | 'bri' | 'cimb' | 'permata';
|
|
1048
|
+
}
|
|
1049
|
+
|
|
1006
1050
|
interface Ideal {
|
|
1007
1051
|
/**
|
|
1008
1052
|
* 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`.
|
|
@@ -1337,6 +1381,11 @@ declare module 'stripe' {
|
|
|
1337
1381
|
*/
|
|
1338
1382
|
country: string | null;
|
|
1339
1383
|
|
|
1384
|
+
/**
|
|
1385
|
+
* Uniquely identifies this particular PayPal account. You can use this attribute to check whether two PayPal accounts are the same.
|
|
1386
|
+
*/
|
|
1387
|
+
fingerprint?: string | null;
|
|
1388
|
+
|
|
1340
1389
|
/**
|
|
1341
1390
|
* Owner's email. Values are provided by PayPal directly
|
|
1342
1391
|
* (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
|
@@ -1347,12 +1396,39 @@ declare module 'stripe' {
|
|
|
1347
1396
|
* PayPal account PayerID. This identifier uniquely identifies the PayPal customer.
|
|
1348
1397
|
*/
|
|
1349
1398
|
payer_id: string | null;
|
|
1399
|
+
|
|
1400
|
+
/**
|
|
1401
|
+
* Owner's verified email. Values are verified or provided by PayPal directly
|
|
1402
|
+
* (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
|
1403
|
+
*/
|
|
1404
|
+
verified_email?: string | null;
|
|
1405
|
+
}
|
|
1406
|
+
|
|
1407
|
+
interface Paypay {}
|
|
1408
|
+
|
|
1409
|
+
interface Payto {
|
|
1410
|
+
/**
|
|
1411
|
+
* Bank-State-Branch number of the bank account.
|
|
1412
|
+
*/
|
|
1413
|
+
bsb_number: string | null;
|
|
1414
|
+
|
|
1415
|
+
/**
|
|
1416
|
+
* Last four digits of the bank account number.
|
|
1417
|
+
*/
|
|
1418
|
+
last4: string | null;
|
|
1419
|
+
|
|
1420
|
+
/**
|
|
1421
|
+
* The PayID alias for the bank account.
|
|
1422
|
+
*/
|
|
1423
|
+
pay_id: string | null;
|
|
1350
1424
|
}
|
|
1351
1425
|
|
|
1352
1426
|
interface Pix {}
|
|
1353
1427
|
|
|
1354
1428
|
interface Promptpay {}
|
|
1355
1429
|
|
|
1430
|
+
interface Qris {}
|
|
1431
|
+
|
|
1356
1432
|
interface RadarOptions {
|
|
1357
1433
|
/**
|
|
1358
1434
|
* 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.
|
|
@@ -1360,6 +1436,29 @@ declare module 'stripe' {
|
|
|
1360
1436
|
session?: string;
|
|
1361
1437
|
}
|
|
1362
1438
|
|
|
1439
|
+
interface Rechnung {
|
|
1440
|
+
dob?: Rechnung.Dob;
|
|
1441
|
+
}
|
|
1442
|
+
|
|
1443
|
+
namespace Rechnung {
|
|
1444
|
+
interface Dob {
|
|
1445
|
+
/**
|
|
1446
|
+
* The day of birth, between 1 and 31.
|
|
1447
|
+
*/
|
|
1448
|
+
day: number;
|
|
1449
|
+
|
|
1450
|
+
/**
|
|
1451
|
+
* The month of birth, between 1 and 12.
|
|
1452
|
+
*/
|
|
1453
|
+
month: number;
|
|
1454
|
+
|
|
1455
|
+
/**
|
|
1456
|
+
* The four-digit year of birth.
|
|
1457
|
+
*/
|
|
1458
|
+
year: number;
|
|
1459
|
+
}
|
|
1460
|
+
}
|
|
1461
|
+
|
|
1363
1462
|
interface RevolutPay {}
|
|
1364
1463
|
|
|
1365
1464
|
interface SamsungPay {}
|
|
@@ -1412,6 +1511,8 @@ declare module 'stripe' {
|
|
|
1412
1511
|
}
|
|
1413
1512
|
}
|
|
1414
1513
|
|
|
1514
|
+
interface Shopeepay {}
|
|
1515
|
+
|
|
1415
1516
|
interface Sofort {
|
|
1416
1517
|
/**
|
|
1417
1518
|
* Two-letter ISO code representing the country the bank account is located in.
|
|
@@ -1419,6 +1520,22 @@ declare module 'stripe' {
|
|
|
1419
1520
|
country: string | null;
|
|
1420
1521
|
}
|
|
1421
1522
|
|
|
1523
|
+
interface StripeBalance {
|
|
1524
|
+
/**
|
|
1525
|
+
* The connected account ID whose Stripe balance to use as the source of payment
|
|
1526
|
+
*/
|
|
1527
|
+
account?: string | null;
|
|
1528
|
+
|
|
1529
|
+
/**
|
|
1530
|
+
* The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
|
|
1531
|
+
*/
|
|
1532
|
+
source_type: StripeBalance.SourceType;
|
|
1533
|
+
}
|
|
1534
|
+
|
|
1535
|
+
namespace StripeBalance {
|
|
1536
|
+
type SourceType = 'bank_account' | 'card' | 'fpx';
|
|
1537
|
+
}
|
|
1538
|
+
|
|
1422
1539
|
interface Swish {}
|
|
1423
1540
|
|
|
1424
1541
|
interface Twint {}
|
|
@@ -1445,7 +1562,9 @@ declare module 'stripe' {
|
|
|
1445
1562
|
| 'eps'
|
|
1446
1563
|
| 'fpx'
|
|
1447
1564
|
| 'giropay'
|
|
1565
|
+
| 'gopay'
|
|
1448
1566
|
| 'grabpay'
|
|
1567
|
+
| 'id_bank_transfer'
|
|
1449
1568
|
| 'ideal'
|
|
1450
1569
|
| 'interac_present'
|
|
1451
1570
|
| 'kakao_pay'
|
|
@@ -1464,13 +1583,19 @@ declare module 'stripe' {
|
|
|
1464
1583
|
| 'payco'
|
|
1465
1584
|
| 'paynow'
|
|
1466
1585
|
| 'paypal'
|
|
1586
|
+
| 'paypay'
|
|
1587
|
+
| 'payto'
|
|
1467
1588
|
| 'pix'
|
|
1468
1589
|
| 'promptpay'
|
|
1590
|
+
| 'qris'
|
|
1591
|
+
| 'rechnung'
|
|
1469
1592
|
| 'revolut_pay'
|
|
1470
1593
|
| 'samsung_pay'
|
|
1471
1594
|
| 'satispay'
|
|
1472
1595
|
| 'sepa_debit'
|
|
1596
|
+
| 'shopeepay'
|
|
1473
1597
|
| 'sofort'
|
|
1598
|
+
| 'stripe_balance'
|
|
1474
1599
|
| 'swish'
|
|
1475
1600
|
| 'twint'
|
|
1476
1601
|
| 'us_bank_account'
|
|
@@ -1483,6 +1608,11 @@ declare module 'stripe' {
|
|
|
1483
1608
|
*/
|
|
1484
1609
|
account_holder_type: UsBankAccount.AccountHolderType | null;
|
|
1485
1610
|
|
|
1611
|
+
/**
|
|
1612
|
+
* Account number of the bank account.
|
|
1613
|
+
*/
|
|
1614
|
+
account_number?: string | null;
|
|
1615
|
+
|
|
1486
1616
|
/**
|
|
1487
1617
|
* Account type: checkings or savings. Defaults to checking if omitted.
|
|
1488
1618
|
*/
|