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
package/types/PaymentLinks.d.ts
CHANGED
|
@@ -640,6 +640,7 @@ declare module 'stripe' {
|
|
|
640
640
|
| 'eps'
|
|
641
641
|
| 'fpx'
|
|
642
642
|
| 'giropay'
|
|
643
|
+
| 'gopay'
|
|
643
644
|
| 'grabpay'
|
|
644
645
|
| 'ideal'
|
|
645
646
|
| 'klarna'
|
|
@@ -653,10 +654,15 @@ declare module 'stripe' {
|
|
|
653
654
|
| 'pay_by_bank'
|
|
654
655
|
| 'paynow'
|
|
655
656
|
| 'paypal'
|
|
657
|
+
| 'paypay'
|
|
658
|
+
| 'payto'
|
|
656
659
|
| 'pix'
|
|
657
660
|
| 'promptpay'
|
|
661
|
+
| 'qris'
|
|
662
|
+
| 'rechnung'
|
|
658
663
|
| 'satispay'
|
|
659
664
|
| 'sepa_debit'
|
|
665
|
+
| 'shopeepay'
|
|
660
666
|
| 'sofort'
|
|
661
667
|
| 'swish'
|
|
662
668
|
| 'twint'
|
|
@@ -815,6 +815,7 @@ declare module 'stripe' {
|
|
|
815
815
|
| 'eps'
|
|
816
816
|
| 'fpx'
|
|
817
817
|
| 'giropay'
|
|
818
|
+
| 'gopay'
|
|
818
819
|
| 'grabpay'
|
|
819
820
|
| 'ideal'
|
|
820
821
|
| 'klarna'
|
|
@@ -828,10 +829,15 @@ declare module 'stripe' {
|
|
|
828
829
|
| 'pay_by_bank'
|
|
829
830
|
| 'paynow'
|
|
830
831
|
| 'paypal'
|
|
832
|
+
| 'paypay'
|
|
833
|
+
| 'payto'
|
|
831
834
|
| 'pix'
|
|
832
835
|
| 'promptpay'
|
|
836
|
+
| 'qris'
|
|
837
|
+
| 'rechnung'
|
|
833
838
|
| 'satispay'
|
|
834
839
|
| 'sepa_debit'
|
|
840
|
+
| 'shopeepay'
|
|
835
841
|
| 'sofort'
|
|
836
842
|
| 'swish'
|
|
837
843
|
| 'twint'
|
|
@@ -1824,6 +1830,7 @@ declare module 'stripe' {
|
|
|
1824
1830
|
| 'eps'
|
|
1825
1831
|
| 'fpx'
|
|
1826
1832
|
| 'giropay'
|
|
1833
|
+
| 'gopay'
|
|
1827
1834
|
| 'grabpay'
|
|
1828
1835
|
| 'ideal'
|
|
1829
1836
|
| 'klarna'
|
|
@@ -1837,10 +1844,15 @@ declare module 'stripe' {
|
|
|
1837
1844
|
| 'pay_by_bank'
|
|
1838
1845
|
| 'paynow'
|
|
1839
1846
|
| 'paypal'
|
|
1847
|
+
| 'paypay'
|
|
1848
|
+
| 'payto'
|
|
1840
1849
|
| 'pix'
|
|
1841
1850
|
| 'promptpay'
|
|
1851
|
+
| 'qris'
|
|
1852
|
+
| 'rechnung'
|
|
1842
1853
|
| 'satispay'
|
|
1843
1854
|
| 'sepa_debit'
|
|
1855
|
+
| 'shopeepay'
|
|
1844
1856
|
| 'sofort'
|
|
1845
1857
|
| 'swish'
|
|
1846
1858
|
| 'twint'
|
|
@@ -83,8 +83,12 @@ declare module 'stripe' {
|
|
|
83
83
|
|
|
84
84
|
google_pay?: PaymentMethodConfiguration.GooglePay;
|
|
85
85
|
|
|
86
|
+
gopay?: PaymentMethodConfiguration.Gopay;
|
|
87
|
+
|
|
86
88
|
grabpay?: PaymentMethodConfiguration.Grabpay;
|
|
87
89
|
|
|
90
|
+
id_bank_transfer?: PaymentMethodConfiguration.IdBankTransfer;
|
|
91
|
+
|
|
88
92
|
ideal?: PaymentMethodConfiguration.Ideal;
|
|
89
93
|
|
|
90
94
|
/**
|
|
@@ -141,10 +145,16 @@ declare module 'stripe' {
|
|
|
141
145
|
|
|
142
146
|
paypal?: PaymentMethodConfiguration.Paypal;
|
|
143
147
|
|
|
148
|
+
paypay?: PaymentMethodConfiguration.Paypay;
|
|
149
|
+
|
|
150
|
+
payto?: PaymentMethodConfiguration.Payto;
|
|
151
|
+
|
|
144
152
|
pix?: PaymentMethodConfiguration.Pix;
|
|
145
153
|
|
|
146
154
|
promptpay?: PaymentMethodConfiguration.Promptpay;
|
|
147
155
|
|
|
156
|
+
qris?: PaymentMethodConfiguration.Qris;
|
|
157
|
+
|
|
148
158
|
revolut_pay?: PaymentMethodConfiguration.RevolutPay;
|
|
149
159
|
|
|
150
160
|
samsung_pay?: PaymentMethodConfiguration.SamsungPay;
|
|
@@ -153,6 +163,8 @@ declare module 'stripe' {
|
|
|
153
163
|
|
|
154
164
|
sepa_debit?: PaymentMethodConfiguration.SepaDebit;
|
|
155
165
|
|
|
166
|
+
shopeepay?: PaymentMethodConfiguration.Shopeepay;
|
|
167
|
+
|
|
156
168
|
sofort?: PaymentMethodConfiguration.Sofort;
|
|
157
169
|
|
|
158
170
|
swish?: PaymentMethodConfiguration.Swish;
|
|
@@ -915,6 +927,40 @@ declare module 'stripe' {
|
|
|
915
927
|
}
|
|
916
928
|
}
|
|
917
929
|
|
|
930
|
+
interface Gopay {
|
|
931
|
+
/**
|
|
932
|
+
* Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
|
933
|
+
*/
|
|
934
|
+
available: boolean;
|
|
935
|
+
|
|
936
|
+
display_preference: Gopay.DisplayPreference;
|
|
937
|
+
}
|
|
938
|
+
|
|
939
|
+
namespace Gopay {
|
|
940
|
+
interface DisplayPreference {
|
|
941
|
+
/**
|
|
942
|
+
* For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
|
943
|
+
*/
|
|
944
|
+
overridable: boolean | null;
|
|
945
|
+
|
|
946
|
+
/**
|
|
947
|
+
* The account's display preference.
|
|
948
|
+
*/
|
|
949
|
+
preference: DisplayPreference.Preference;
|
|
950
|
+
|
|
951
|
+
/**
|
|
952
|
+
* The effective display preference value.
|
|
953
|
+
*/
|
|
954
|
+
value: DisplayPreference.Value;
|
|
955
|
+
}
|
|
956
|
+
|
|
957
|
+
namespace DisplayPreference {
|
|
958
|
+
type Preference = 'none' | 'off' | 'on';
|
|
959
|
+
|
|
960
|
+
type Value = 'off' | 'on';
|
|
961
|
+
}
|
|
962
|
+
}
|
|
963
|
+
|
|
918
964
|
interface Grabpay {
|
|
919
965
|
/**
|
|
920
966
|
* Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
|
@@ -949,6 +995,40 @@ declare module 'stripe' {
|
|
|
949
995
|
}
|
|
950
996
|
}
|
|
951
997
|
|
|
998
|
+
interface IdBankTransfer {
|
|
999
|
+
/**
|
|
1000
|
+
* Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
|
1001
|
+
*/
|
|
1002
|
+
available: boolean;
|
|
1003
|
+
|
|
1004
|
+
display_preference: IdBankTransfer.DisplayPreference;
|
|
1005
|
+
}
|
|
1006
|
+
|
|
1007
|
+
namespace IdBankTransfer {
|
|
1008
|
+
interface DisplayPreference {
|
|
1009
|
+
/**
|
|
1010
|
+
* For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
|
1011
|
+
*/
|
|
1012
|
+
overridable: boolean | null;
|
|
1013
|
+
|
|
1014
|
+
/**
|
|
1015
|
+
* The account's display preference.
|
|
1016
|
+
*/
|
|
1017
|
+
preference: DisplayPreference.Preference;
|
|
1018
|
+
|
|
1019
|
+
/**
|
|
1020
|
+
* The effective display preference value.
|
|
1021
|
+
*/
|
|
1022
|
+
value: DisplayPreference.Value;
|
|
1023
|
+
}
|
|
1024
|
+
|
|
1025
|
+
namespace DisplayPreference {
|
|
1026
|
+
type Preference = 'none' | 'off' | 'on';
|
|
1027
|
+
|
|
1028
|
+
type Value = 'off' | 'on';
|
|
1029
|
+
}
|
|
1030
|
+
}
|
|
1031
|
+
|
|
952
1032
|
interface Ideal {
|
|
953
1033
|
/**
|
|
954
1034
|
* Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
|
@@ -1561,6 +1641,74 @@ declare module 'stripe' {
|
|
|
1561
1641
|
}
|
|
1562
1642
|
}
|
|
1563
1643
|
|
|
1644
|
+
interface Paypay {
|
|
1645
|
+
/**
|
|
1646
|
+
* Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
|
1647
|
+
*/
|
|
1648
|
+
available: boolean;
|
|
1649
|
+
|
|
1650
|
+
display_preference: Paypay.DisplayPreference;
|
|
1651
|
+
}
|
|
1652
|
+
|
|
1653
|
+
namespace Paypay {
|
|
1654
|
+
interface DisplayPreference {
|
|
1655
|
+
/**
|
|
1656
|
+
* For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
|
1657
|
+
*/
|
|
1658
|
+
overridable: boolean | null;
|
|
1659
|
+
|
|
1660
|
+
/**
|
|
1661
|
+
* The account's display preference.
|
|
1662
|
+
*/
|
|
1663
|
+
preference: DisplayPreference.Preference;
|
|
1664
|
+
|
|
1665
|
+
/**
|
|
1666
|
+
* The effective display preference value.
|
|
1667
|
+
*/
|
|
1668
|
+
value: DisplayPreference.Value;
|
|
1669
|
+
}
|
|
1670
|
+
|
|
1671
|
+
namespace DisplayPreference {
|
|
1672
|
+
type Preference = 'none' | 'off' | 'on';
|
|
1673
|
+
|
|
1674
|
+
type Value = 'off' | 'on';
|
|
1675
|
+
}
|
|
1676
|
+
}
|
|
1677
|
+
|
|
1678
|
+
interface Payto {
|
|
1679
|
+
/**
|
|
1680
|
+
* Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
|
1681
|
+
*/
|
|
1682
|
+
available: boolean;
|
|
1683
|
+
|
|
1684
|
+
display_preference: Payto.DisplayPreference;
|
|
1685
|
+
}
|
|
1686
|
+
|
|
1687
|
+
namespace Payto {
|
|
1688
|
+
interface DisplayPreference {
|
|
1689
|
+
/**
|
|
1690
|
+
* For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
|
1691
|
+
*/
|
|
1692
|
+
overridable: boolean | null;
|
|
1693
|
+
|
|
1694
|
+
/**
|
|
1695
|
+
* The account's display preference.
|
|
1696
|
+
*/
|
|
1697
|
+
preference: DisplayPreference.Preference;
|
|
1698
|
+
|
|
1699
|
+
/**
|
|
1700
|
+
* The effective display preference value.
|
|
1701
|
+
*/
|
|
1702
|
+
value: DisplayPreference.Value;
|
|
1703
|
+
}
|
|
1704
|
+
|
|
1705
|
+
namespace DisplayPreference {
|
|
1706
|
+
type Preference = 'none' | 'off' | 'on';
|
|
1707
|
+
|
|
1708
|
+
type Value = 'off' | 'on';
|
|
1709
|
+
}
|
|
1710
|
+
}
|
|
1711
|
+
|
|
1564
1712
|
interface Pix {
|
|
1565
1713
|
/**
|
|
1566
1714
|
* Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
|
@@ -1629,6 +1777,40 @@ declare module 'stripe' {
|
|
|
1629
1777
|
}
|
|
1630
1778
|
}
|
|
1631
1779
|
|
|
1780
|
+
interface Qris {
|
|
1781
|
+
/**
|
|
1782
|
+
* Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
|
1783
|
+
*/
|
|
1784
|
+
available: boolean;
|
|
1785
|
+
|
|
1786
|
+
display_preference: Qris.DisplayPreference;
|
|
1787
|
+
}
|
|
1788
|
+
|
|
1789
|
+
namespace Qris {
|
|
1790
|
+
interface DisplayPreference {
|
|
1791
|
+
/**
|
|
1792
|
+
* For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
|
1793
|
+
*/
|
|
1794
|
+
overridable: boolean | null;
|
|
1795
|
+
|
|
1796
|
+
/**
|
|
1797
|
+
* The account's display preference.
|
|
1798
|
+
*/
|
|
1799
|
+
preference: DisplayPreference.Preference;
|
|
1800
|
+
|
|
1801
|
+
/**
|
|
1802
|
+
* The effective display preference value.
|
|
1803
|
+
*/
|
|
1804
|
+
value: DisplayPreference.Value;
|
|
1805
|
+
}
|
|
1806
|
+
|
|
1807
|
+
namespace DisplayPreference {
|
|
1808
|
+
type Preference = 'none' | 'off' | 'on';
|
|
1809
|
+
|
|
1810
|
+
type Value = 'off' | 'on';
|
|
1811
|
+
}
|
|
1812
|
+
}
|
|
1813
|
+
|
|
1632
1814
|
interface RevolutPay {
|
|
1633
1815
|
/**
|
|
1634
1816
|
* Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
|
@@ -1765,6 +1947,40 @@ declare module 'stripe' {
|
|
|
1765
1947
|
}
|
|
1766
1948
|
}
|
|
1767
1949
|
|
|
1950
|
+
interface Shopeepay {
|
|
1951
|
+
/**
|
|
1952
|
+
* Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
|
1953
|
+
*/
|
|
1954
|
+
available: boolean;
|
|
1955
|
+
|
|
1956
|
+
display_preference: Shopeepay.DisplayPreference;
|
|
1957
|
+
}
|
|
1958
|
+
|
|
1959
|
+
namespace Shopeepay {
|
|
1960
|
+
interface DisplayPreference {
|
|
1961
|
+
/**
|
|
1962
|
+
* For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
|
1963
|
+
*/
|
|
1964
|
+
overridable: boolean | null;
|
|
1965
|
+
|
|
1966
|
+
/**
|
|
1967
|
+
* The account's display preference.
|
|
1968
|
+
*/
|
|
1969
|
+
preference: DisplayPreference.Preference;
|
|
1970
|
+
|
|
1971
|
+
/**
|
|
1972
|
+
* The effective display preference value.
|
|
1973
|
+
*/
|
|
1974
|
+
value: DisplayPreference.Value;
|
|
1975
|
+
}
|
|
1976
|
+
|
|
1977
|
+
namespace DisplayPreference {
|
|
1978
|
+
type Preference = 'none' | 'off' | 'on';
|
|
1979
|
+
|
|
1980
|
+
type Value = 'off' | 'on';
|
|
1981
|
+
}
|
|
1982
|
+
}
|
|
1983
|
+
|
|
1768
1984
|
interface Sofort {
|
|
1769
1985
|
/**
|
|
1770
1986
|
* Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|