stripe 19.2.0-beta.1 → 19.3.0-alpha.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 +300 -1
- package/OPENAPI_VERSION +1 -1
- package/VERSION +1 -1
- package/cjs/resources/DelegatedCheckout/RequestedSessions.js +28 -0
- package/cjs/resources/Identity/BlocklistEntries.js +25 -0
- package/cjs/resources/PaymentMethods.js +4 -0
- package/cjs/resources/PaymentRecords.js +4 -0
- package/cjs/resources/V2/Billing/CustomPricingUnits.js +25 -0
- package/cjs/resources/V2/Billing/Intents/Actions.js +17 -0
- package/cjs/resources/V2/Billing/Intents.js +36 -0
- package/cjs/resources/V2/Billing/LicenseFeeSubscriptions.js +12 -0
- package/cjs/resources/V2/Billing/LicenseFees/Versions.js +17 -0
- package/cjs/resources/V2/Billing/LicenseFees.js +27 -0
- package/cjs/resources/V2/Billing/LicensedItems.js +25 -0
- package/cjs/resources/V2/Billing/MeteredItems.js +22 -0
- package/cjs/resources/V2/Billing/PricingPlanSubscriptions/Components.js +12 -0
- package/cjs/resources/V2/Billing/PricingPlanSubscriptions.js +26 -0
- package/cjs/resources/V2/Billing/PricingPlans/Components.js +29 -0
- package/cjs/resources/V2/Billing/PricingPlans/Versions.js +17 -0
- package/cjs/resources/V2/Billing/PricingPlans.js +29 -0
- package/cjs/resources/V2/Billing/RateCardSubscriptions.js +29 -0
- package/cjs/resources/V2/Billing/RateCards/Rates.js +25 -0
- package/cjs/resources/V2/Billing/RateCards/Versions.js +17 -0
- package/cjs/resources/V2/Billing/RateCards.js +29 -0
- package/cjs/resources/V2/Billing/ServiceActions.js +20 -0
- package/cjs/resources/V2/Core/ClaimableSandboxes.js +16 -0
- package/cjs/resources/V2/Core/Vault/GbBankAccounts.js +5 -0
- package/cjs/resources/V2/Core/Vault/UsBankAccounts.js +13 -0
- package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +4 -0
- package/cjs/resources/V2/MoneyManagement/RecipientVerifications.js +20 -0
- package/cjs/resources/V2/Tax/AutomaticRules.js +22 -0
- package/cjs/resources/V2/TestHelpers/MoneyManagement.js +12 -0
- package/cjs/resources.js +37 -1
- package/cjs/stripe.core.js +1 -1
- package/esm/resources/DelegatedCheckout/RequestedSessions.js +25 -0
- package/esm/resources/Identity/BlocklistEntries.js +22 -0
- package/esm/resources/PaymentMethods.js +4 -0
- package/esm/resources/PaymentRecords.js +4 -0
- package/esm/resources/V2/Billing/CustomPricingUnits.js +22 -0
- package/esm/resources/V2/Billing/Intents/Actions.js +14 -0
- package/esm/resources/V2/Billing/Intents.js +33 -0
- package/esm/resources/V2/Billing/LicenseFeeSubscriptions.js +9 -0
- package/esm/resources/V2/Billing/LicenseFees/Versions.js +14 -0
- package/esm/resources/V2/Billing/LicenseFees.js +24 -0
- package/esm/resources/V2/Billing/LicensedItems.js +22 -0
- package/esm/resources/V2/Billing/MeteredItems.js +19 -0
- package/esm/resources/V2/Billing/PricingPlanSubscriptions/Components.js +9 -0
- package/esm/resources/V2/Billing/PricingPlanSubscriptions.js +23 -0
- package/esm/resources/V2/Billing/PricingPlans/Components.js +26 -0
- package/esm/resources/V2/Billing/PricingPlans/Versions.js +14 -0
- package/esm/resources/V2/Billing/PricingPlans.js +26 -0
- package/esm/resources/V2/Billing/RateCardSubscriptions.js +26 -0
- package/esm/resources/V2/Billing/RateCards/Rates.js +22 -0
- package/esm/resources/V2/Billing/RateCards/Versions.js +14 -0
- package/esm/resources/V2/Billing/RateCards.js +26 -0
- package/esm/resources/V2/Billing/ServiceActions.js +17 -0
- package/esm/resources/V2/Core/ClaimableSandboxes.js +13 -0
- package/esm/resources/V2/Core/Vault/GbBankAccounts.js +5 -0
- package/esm/resources/V2/Core/Vault/UsBankAccounts.js +13 -0
- package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +4 -0
- package/esm/resources/V2/MoneyManagement/RecipientVerifications.js +17 -0
- package/esm/resources/V2/Tax/AutomaticRules.js +19 -0
- package/esm/resources/V2/TestHelpers/MoneyManagement.js +9 -0
- package/esm/resources.js +36 -0
- package/esm/stripe.core.js +1 -1
- package/package.json +1 -1
- package/types/Accounts.d.ts +24 -0
- package/types/AccountsResource.d.ts +44 -0
- package/types/ApplicationFees.d.ts +6 -1
- package/types/Balance.d.ts +82 -0
- package/types/BalanceTransactions.d.ts +2 -1
- package/types/BankAccounts.d.ts +2 -0
- package/types/Billing/AlertTriggereds.d.ts +15 -0
- package/types/Billing/Alerts.d.ts +116 -1
- package/types/Billing/AlertsResource.d.ts +149 -2
- package/types/Billing/Analytics/MeterUsageResource.d.ts +5 -0
- package/types/Billing/Analytics/MeterUsageRows.d.ts +7 -0
- package/types/Billing/CreditBalanceSummary.d.ts +118 -2
- package/types/Billing/CreditBalanceSummaryResource.d.ts +12 -0
- package/types/Billing/CreditBalanceTransactions.d.ts +118 -2
- package/types/Billing/CreditGrants.d.ts +71 -1
- package/types/Billing/CreditGrantsResource.d.ts +34 -3
- package/types/Billing/MeterEventSummaries.d.ts +7 -0
- package/types/Billing/Meters.d.ts +5 -0
- package/types/Billing/MetersResource.d.ts +17 -0
- package/types/BillingPortal/Configurations.d.ts +1 -1
- package/types/BillingPortal/ConfigurationsResource.d.ts +10 -0
- package/types/Capabilities.d.ts +2 -0
- package/types/Cards.d.ts +14 -0
- package/types/Charges.d.ts +16 -2
- package/types/Checkout/Sessions.d.ts +73 -0
- package/types/Checkout/SessionsResource.d.ts +71 -3
- package/types/ConfirmationTokens.d.ts +15 -0
- package/types/CreditNotes.d.ts +26 -0
- package/types/CreditNotesResource.d.ts +78 -0
- package/types/CustomerSessions.d.ts +161 -0
- package/types/CustomerSessionsResource.d.ts +161 -0
- package/types/Customers.d.ts +7 -0
- package/types/CustomersResource.d.ts +1 -0
- package/types/DelegatedCheckout/RequestedSessions.d.ts +292 -0
- package/types/DelegatedCheckout/RequestedSessionsResource.d.ts +593 -0
- package/types/Files.d.ts +1 -0
- package/types/FilesResource.d.ts +2 -0
- package/types/FinancialConnections/AccountsResource.d.ts +1 -1
- package/types/Identity/BlocklistEntries.d.ts +78 -0
- package/types/Identity/BlocklistEntriesResource.d.ts +146 -0
- package/types/Identity/VerificationReports.d.ts +10 -0
- package/types/Identity/VerificationReportsResource.d.ts +5 -0
- package/types/InvoiceItems.d.ts +104 -2
- package/types/InvoiceLineItems.d.ts +113 -2
- package/types/Invoices.d.ts +1 -0
- package/types/InvoicesResource.d.ts +5 -0
- package/types/PaymentAttemptRecords.d.ts +7 -2
- package/types/PaymentAttemptRecordsResource.d.ts +5 -0
- package/types/PaymentIntentAmountDetailsLineItems.d.ts +4 -0
- package/types/PaymentIntents.d.ts +30 -2
- package/types/PaymentIntentsResource.d.ts +88 -0
- package/types/PaymentLinks.d.ts +34 -0
- package/types/PaymentLinksResource.d.ts +88 -0
- package/types/PaymentMethodBalances.d.ts +63 -0
- package/types/PaymentMethodConfigurations.d.ts +72 -0
- package/types/PaymentMethodConfigurationsResource.d.ts +100 -0
- package/types/PaymentMethods.d.ts +48 -0
- package/types/PaymentMethodsResource.d.ts +35 -1
- package/types/PaymentRecords.d.ts +7 -2
- package/types/PaymentRecordsResource.d.ts +89 -0
- package/types/PayoutsResource.d.ts +1 -1
- package/types/Persons.d.ts +2 -0
- package/types/QuotePreviewInvoices.d.ts +1 -0
- package/types/Refunds.d.ts +9 -0
- package/types/SetupAttempts.d.ts +1 -0
- package/types/SetupIntents.d.ts +87 -0
- package/types/SetupIntentsResource.d.ts +220 -0
- package/types/Tax/Registrations.d.ts +9 -0
- package/types/Tax/RegistrationsResource.d.ts +12 -0
- package/types/Terminal/Configurations.d.ts +19 -0
- package/types/Terminal/ConfigurationsResource.d.ts +44 -0
- package/types/Terminal/Readers.d.ts +14 -9
- package/types/Terminal/ReadersResource.d.ts +30 -30
- package/types/TestHelpers/Terminal/ReadersResource.d.ts +1 -1
- package/types/TokensResource.d.ts +22 -0
- package/types/Transfers.d.ts +4 -0
- package/types/TransfersResource.d.ts +2 -0
- package/types/V2/Billing/Cadences.d.ts +47 -2
- package/types/V2/Billing/CadencesResource.d.ts +32 -3
- package/types/V2/Billing/CollectionSettingVersions.d.ts +2 -2
- package/types/V2/Billing/CollectionSettings.d.ts +2 -2
- package/types/V2/Billing/CollectionSettingsResource.d.ts +4 -4
- package/types/V2/Billing/CustomPricingUnits.d.ts +56 -0
- package/types/V2/Billing/CustomPricingUnitsResource.d.ts +122 -0
- package/types/V2/Billing/IntentActions.d.ts +459 -0
- package/types/V2/Billing/Intents/ActionsResource.d.ts +58 -0
- package/types/V2/Billing/Intents.d.ts +117 -0
- package/types/V2/Billing/IntentsResource.d.ts +575 -0
- package/types/V2/Billing/LicenseFeeSubscriptions.d.ts +64 -0
- package/types/V2/Billing/LicenseFeeSubscriptionsResource.d.ts +28 -0
- package/types/V2/Billing/LicenseFeeVersions.d.ts +106 -0
- package/types/V2/Billing/LicenseFees/VersionsResource.d.ts +58 -0
- package/types/V2/Billing/LicenseFees.d.ts +164 -0
- package/types/V2/Billing/LicenseFeesResource.d.ts +290 -0
- package/types/V2/Billing/LicensedItems.d.ts +73 -0
- package/types/V2/Billing/LicensedItemsResource.d.ts +157 -0
- package/types/V2/Billing/MeteredItems.d.ts +101 -0
- package/types/V2/Billing/MeteredItemsResource.d.ts +189 -0
- package/types/V2/Billing/PricingPlanComponents.d.ts +109 -0
- package/types/V2/Billing/PricingPlanSubscriptionComponents.d.ts +57 -0
- package/types/V2/Billing/PricingPlanSubscriptions/ComponentsResource.d.ts +40 -0
- package/types/V2/Billing/PricingPlanSubscriptions.d.ts +144 -0
- package/types/V2/Billing/PricingPlanSubscriptionsResource.d.ts +120 -0
- package/types/V2/Billing/PricingPlanVersions.d.ts +49 -0
- package/types/V2/Billing/PricingPlans/ComponentsResource.d.ts +197 -0
- package/types/V2/Billing/PricingPlans/VersionsResource.d.ts +58 -0
- package/types/V2/Billing/PricingPlans.d.ts +84 -0
- package/types/V2/Billing/PricingPlansResource.d.ts +151 -0
- package/types/V2/Billing/RateCardRates.d.ts +144 -0
- package/types/V2/Billing/RateCardSubscriptions.d.ts +144 -0
- package/types/V2/Billing/RateCardSubscriptionsResource.d.ts +157 -0
- package/types/V2/Billing/RateCardVersions.d.ts +39 -0
- package/types/V2/Billing/RateCards/RatesResource.d.ts +203 -0
- package/types/V2/Billing/RateCards/VersionsResource.d.ts +58 -0
- package/types/V2/Billing/RateCards.d.ts +98 -0
- package/types/V2/Billing/RateCardsResource.d.ts +162 -0
- package/types/V2/Billing/ServiceActions.d.ts +274 -0
- package/types/V2/Billing/ServiceActionsResource.d.ts +370 -0
- package/types/V2/Core/Accounts.d.ts +1394 -29
- package/types/V2/Core/AccountsResource.d.ts +1475 -5
- package/types/V2/Core/ClaimableSandboxes.d.ts +132 -0
- package/types/V2/Core/ClaimableSandboxesResource.d.ts +74 -0
- package/types/V2/Core/EventTypes.d.ts +7308 -367
- package/types/V2/Core/Events.d.ts +12 -0
- package/types/V2/Core/EventsResource.d.ts +29 -3
- package/types/V2/Core/Vault/GbBankAccountsResource.d.ts +22 -0
- package/types/V2/Core/Vault/UsBankAccounts.d.ts +46 -0
- package/types/V2/Core/Vault/UsBankAccountsResource.d.ts +75 -0
- package/types/V2/MoneyManagement/FinancialAccountsResource.d.ts +25 -0
- package/types/V2/MoneyManagement/FinancialAddressesResource.d.ts +14 -0
- package/types/V2/MoneyManagement/OutboundPayments.d.ts +5 -0
- package/types/V2/MoneyManagement/OutboundPaymentsResource.d.ts +6 -1
- package/types/V2/MoneyManagement/OutboundSetupIntentsResource.d.ts +34 -0
- package/types/V2/MoneyManagement/OutboundTransfers.d.ts +5 -0
- package/types/V2/MoneyManagement/OutboundTransfersResource.d.ts +5 -0
- package/types/V2/MoneyManagement/PayoutMethods.d.ts +41 -0
- package/types/V2/MoneyManagement/ReceivedCredits.d.ts +5 -0
- package/types/V2/MoneyManagement/ReceivedDebits.d.ts +10 -0
- package/types/V2/MoneyManagement/RecipientVerifications.d.ts +112 -0
- package/types/V2/MoneyManagement/RecipientVerificationsResource.d.ts +77 -0
- package/types/V2/Tax/AutomaticRules.d.ts +53 -0
- package/types/V2/Tax/AutomaticRulesResource.d.ts +102 -0
- package/types/V2/TestHelpers/FinancialAddressesResource.d.ts +6 -1
- package/types/V2/TestHelpers/MoneyManagementResource.d.ts +49 -0
- package/types/WebhookEndpointsResource.d.ts +2 -1
- package/types/Webhooks.d.ts +2 -0
- package/types/crypto/crypto.d.ts +1 -1
- package/types/index.d.ts +69 -0
|
@@ -46,6 +46,13 @@ declare module 'stripe' {
|
|
|
46
46
|
*/
|
|
47
47
|
description?: string;
|
|
48
48
|
|
|
49
|
+
/**
|
|
50
|
+
* The list of payment method types to exclude from use with this SetupIntent.
|
|
51
|
+
*/
|
|
52
|
+
excluded_payment_method_types?: Array<
|
|
53
|
+
SetupIntentCreateParams.ExcludedPaymentMethodType
|
|
54
|
+
>;
|
|
55
|
+
|
|
49
56
|
/**
|
|
50
57
|
* Specifies which fields in the response should be expanded.
|
|
51
58
|
*/
|
|
@@ -104,6 +111,11 @@ declare module 'stripe' {
|
|
|
104
111
|
*/
|
|
105
112
|
return_url?: string;
|
|
106
113
|
|
|
114
|
+
/**
|
|
115
|
+
* Provides industry-specific information about the SetupIntent.
|
|
116
|
+
*/
|
|
117
|
+
setup_details?: SetupIntentCreateParams.SetupDetails;
|
|
118
|
+
|
|
107
119
|
/**
|
|
108
120
|
* If you populate this hash, this SetupIntent generates a `single_use` mandate after successful completion.
|
|
109
121
|
*
|
|
@@ -141,6 +153,64 @@ declare module 'stripe' {
|
|
|
141
153
|
type AllowRedirects = 'always' | 'never';
|
|
142
154
|
}
|
|
143
155
|
|
|
156
|
+
type ExcludedPaymentMethodType =
|
|
157
|
+
| 'acss_debit'
|
|
158
|
+
| 'affirm'
|
|
159
|
+
| 'afterpay_clearpay'
|
|
160
|
+
| 'alipay'
|
|
161
|
+
| 'alma'
|
|
162
|
+
| 'amazon_pay'
|
|
163
|
+
| 'au_becs_debit'
|
|
164
|
+
| 'bacs_debit'
|
|
165
|
+
| 'bancontact'
|
|
166
|
+
| 'billie'
|
|
167
|
+
| 'blik'
|
|
168
|
+
| 'boleto'
|
|
169
|
+
| 'card'
|
|
170
|
+
| 'cashapp'
|
|
171
|
+
| 'crypto'
|
|
172
|
+
| 'customer_balance'
|
|
173
|
+
| 'eps'
|
|
174
|
+
| 'fpx'
|
|
175
|
+
| 'giropay'
|
|
176
|
+
| 'gopay'
|
|
177
|
+
| 'grabpay'
|
|
178
|
+
| 'id_bank_transfer'
|
|
179
|
+
| 'ideal'
|
|
180
|
+
| 'kakao_pay'
|
|
181
|
+
| 'klarna'
|
|
182
|
+
| 'konbini'
|
|
183
|
+
| 'kr_card'
|
|
184
|
+
| 'mb_way'
|
|
185
|
+
| 'mobilepay'
|
|
186
|
+
| 'multibanco'
|
|
187
|
+
| 'naver_pay'
|
|
188
|
+
| 'nz_bank_account'
|
|
189
|
+
| 'oxxo'
|
|
190
|
+
| 'p24'
|
|
191
|
+
| 'pay_by_bank'
|
|
192
|
+
| 'payco'
|
|
193
|
+
| 'paynow'
|
|
194
|
+
| 'paypal'
|
|
195
|
+
| 'paypay'
|
|
196
|
+
| 'payto'
|
|
197
|
+
| 'pix'
|
|
198
|
+
| 'promptpay'
|
|
199
|
+
| 'qris'
|
|
200
|
+
| 'rechnung'
|
|
201
|
+
| 'revolut_pay'
|
|
202
|
+
| 'samsung_pay'
|
|
203
|
+
| 'satispay'
|
|
204
|
+
| 'sepa_debit'
|
|
205
|
+
| 'shopeepay'
|
|
206
|
+
| 'sofort'
|
|
207
|
+
| 'stripe_balance'
|
|
208
|
+
| 'swish'
|
|
209
|
+
| 'twint'
|
|
210
|
+
| 'us_bank_account'
|
|
211
|
+
| 'wechat_pay'
|
|
212
|
+
| 'zip';
|
|
213
|
+
|
|
144
214
|
type FlowDirection = 'inbound' | 'outbound';
|
|
145
215
|
|
|
146
216
|
interface MandateData {
|
|
@@ -1830,6 +1900,31 @@ declare module 'stripe' {
|
|
|
1830
1900
|
}
|
|
1831
1901
|
}
|
|
1832
1902
|
|
|
1903
|
+
interface SetupDetails {
|
|
1904
|
+
/**
|
|
1905
|
+
* Benefit details for this SetupIntent
|
|
1906
|
+
*/
|
|
1907
|
+
benefit?: SetupDetails.Benefit;
|
|
1908
|
+
}
|
|
1909
|
+
|
|
1910
|
+
namespace SetupDetails {
|
|
1911
|
+
interface Benefit {
|
|
1912
|
+
/**
|
|
1913
|
+
* French meal voucher benefit details for this SetupIntent.
|
|
1914
|
+
*/
|
|
1915
|
+
fr_meal_voucher?: Benefit.FrMealVoucher;
|
|
1916
|
+
}
|
|
1917
|
+
|
|
1918
|
+
namespace Benefit {
|
|
1919
|
+
interface FrMealVoucher {
|
|
1920
|
+
/**
|
|
1921
|
+
* The 14-digit SIRET of the meal voucher acceptor.
|
|
1922
|
+
*/
|
|
1923
|
+
siret: string;
|
|
1924
|
+
}
|
|
1925
|
+
}
|
|
1926
|
+
}
|
|
1927
|
+
|
|
1833
1928
|
interface SingleUse {
|
|
1834
1929
|
/**
|
|
1835
1930
|
* Amount the customer is granting permission to collect later. A positive integer representing how much to charge in the [smallest currency unit](https://stripe.com/docs/currencies#zero-decimal) (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The minimum amount is $0.50 US or [equivalent in charge currency](https://stripe.com/docs/currencies#minimum-and-maximum-charge-amounts). The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99).
|
|
@@ -1884,6 +1979,13 @@ declare module 'stripe' {
|
|
|
1884
1979
|
*/
|
|
1885
1980
|
description?: string;
|
|
1886
1981
|
|
|
1982
|
+
/**
|
|
1983
|
+
* The list of payment method types to exclude from use with this SetupIntent.
|
|
1984
|
+
*/
|
|
1985
|
+
excluded_payment_method_types?: Stripe.Emptyable<
|
|
1986
|
+
Array<SetupIntentUpdateParams.ExcludedPaymentMethodType>
|
|
1987
|
+
>;
|
|
1988
|
+
|
|
1887
1989
|
/**
|
|
1888
1990
|
* Specifies which fields in the response should be expanded.
|
|
1889
1991
|
*/
|
|
@@ -1926,9 +2028,72 @@ declare module 'stripe' {
|
|
|
1926
2028
|
* The list of payment method types (for example, card) that this SetupIntent can set up. If you don't provide this, Stripe will dynamically show relevant payment methods from your [payment method settings](https://dashboard.stripe.com/settings/payment_methods). A list of valid payment method types can be found [here](https://docs.stripe.com/api/payment_methods/object#payment_method_object-type).
|
|
1927
2029
|
*/
|
|
1928
2030
|
payment_method_types?: Array<string>;
|
|
2031
|
+
|
|
2032
|
+
/**
|
|
2033
|
+
* Provides industry-specific information about the SetupIntent.
|
|
2034
|
+
*/
|
|
2035
|
+
setup_details?: SetupIntentUpdateParams.SetupDetails;
|
|
1929
2036
|
}
|
|
1930
2037
|
|
|
1931
2038
|
namespace SetupIntentUpdateParams {
|
|
2039
|
+
type ExcludedPaymentMethodType =
|
|
2040
|
+
| 'acss_debit'
|
|
2041
|
+
| 'affirm'
|
|
2042
|
+
| 'afterpay_clearpay'
|
|
2043
|
+
| 'alipay'
|
|
2044
|
+
| 'alma'
|
|
2045
|
+
| 'amazon_pay'
|
|
2046
|
+
| 'au_becs_debit'
|
|
2047
|
+
| 'bacs_debit'
|
|
2048
|
+
| 'bancontact'
|
|
2049
|
+
| 'billie'
|
|
2050
|
+
| 'blik'
|
|
2051
|
+
| 'boleto'
|
|
2052
|
+
| 'card'
|
|
2053
|
+
| 'cashapp'
|
|
2054
|
+
| 'crypto'
|
|
2055
|
+
| 'customer_balance'
|
|
2056
|
+
| 'eps'
|
|
2057
|
+
| 'fpx'
|
|
2058
|
+
| 'giropay'
|
|
2059
|
+
| 'gopay'
|
|
2060
|
+
| 'grabpay'
|
|
2061
|
+
| 'id_bank_transfer'
|
|
2062
|
+
| 'ideal'
|
|
2063
|
+
| 'kakao_pay'
|
|
2064
|
+
| 'klarna'
|
|
2065
|
+
| 'konbini'
|
|
2066
|
+
| 'kr_card'
|
|
2067
|
+
| 'mb_way'
|
|
2068
|
+
| 'mobilepay'
|
|
2069
|
+
| 'multibanco'
|
|
2070
|
+
| 'naver_pay'
|
|
2071
|
+
| 'nz_bank_account'
|
|
2072
|
+
| 'oxxo'
|
|
2073
|
+
| 'p24'
|
|
2074
|
+
| 'pay_by_bank'
|
|
2075
|
+
| 'payco'
|
|
2076
|
+
| 'paynow'
|
|
2077
|
+
| 'paypal'
|
|
2078
|
+
| 'paypay'
|
|
2079
|
+
| 'payto'
|
|
2080
|
+
| 'pix'
|
|
2081
|
+
| 'promptpay'
|
|
2082
|
+
| 'qris'
|
|
2083
|
+
| 'rechnung'
|
|
2084
|
+
| 'revolut_pay'
|
|
2085
|
+
| 'samsung_pay'
|
|
2086
|
+
| 'satispay'
|
|
2087
|
+
| 'sepa_debit'
|
|
2088
|
+
| 'shopeepay'
|
|
2089
|
+
| 'sofort'
|
|
2090
|
+
| 'stripe_balance'
|
|
2091
|
+
| 'swish'
|
|
2092
|
+
| 'twint'
|
|
2093
|
+
| 'us_bank_account'
|
|
2094
|
+
| 'wechat_pay'
|
|
2095
|
+
| 'zip';
|
|
2096
|
+
|
|
1932
2097
|
type FlowDirection = 'inbound' | 'outbound';
|
|
1933
2098
|
|
|
1934
2099
|
interface PaymentMethodData {
|
|
@@ -3568,6 +3733,31 @@ declare module 'stripe' {
|
|
|
3568
3733
|
type VerificationMethod = 'automatic' | 'instant' | 'microdeposits';
|
|
3569
3734
|
}
|
|
3570
3735
|
}
|
|
3736
|
+
|
|
3737
|
+
interface SetupDetails {
|
|
3738
|
+
/**
|
|
3739
|
+
* Benefit details for this SetupIntent
|
|
3740
|
+
*/
|
|
3741
|
+
benefit?: SetupDetails.Benefit;
|
|
3742
|
+
}
|
|
3743
|
+
|
|
3744
|
+
namespace SetupDetails {
|
|
3745
|
+
interface Benefit {
|
|
3746
|
+
/**
|
|
3747
|
+
* French meal voucher benefit details for this SetupIntent.
|
|
3748
|
+
*/
|
|
3749
|
+
fr_meal_voucher?: Benefit.FrMealVoucher;
|
|
3750
|
+
}
|
|
3751
|
+
|
|
3752
|
+
namespace Benefit {
|
|
3753
|
+
interface FrMealVoucher {
|
|
3754
|
+
/**
|
|
3755
|
+
* The 14-digit SIRET of the meal voucher acceptor.
|
|
3756
|
+
*/
|
|
3757
|
+
siret: string;
|
|
3758
|
+
}
|
|
3759
|
+
}
|
|
3760
|
+
}
|
|
3571
3761
|
}
|
|
3572
3762
|
|
|
3573
3763
|
interface SetupIntentListParams extends PaginationParams {
|
|
@@ -3661,6 +3851,11 @@ declare module 'stripe' {
|
|
|
3661
3851
|
*/
|
|
3662
3852
|
return_url?: string;
|
|
3663
3853
|
|
|
3854
|
+
/**
|
|
3855
|
+
* Provides industry-specific information about the SetupIntent.
|
|
3856
|
+
*/
|
|
3857
|
+
setup_details?: SetupIntentConfirmParams.SetupDetails;
|
|
3858
|
+
|
|
3664
3859
|
/**
|
|
3665
3860
|
* Set to `true` when confirming server-side and using Stripe.js, iOS, or Android client-side SDKs to handle the next actions.
|
|
3666
3861
|
*/
|
|
@@ -5354,6 +5549,31 @@ declare module 'stripe' {
|
|
|
5354
5549
|
type VerificationMethod = 'automatic' | 'instant' | 'microdeposits';
|
|
5355
5550
|
}
|
|
5356
5551
|
}
|
|
5552
|
+
|
|
5553
|
+
interface SetupDetails {
|
|
5554
|
+
/**
|
|
5555
|
+
* Benefit details for this SetupIntent
|
|
5556
|
+
*/
|
|
5557
|
+
benefit?: SetupDetails.Benefit;
|
|
5558
|
+
}
|
|
5559
|
+
|
|
5560
|
+
namespace SetupDetails {
|
|
5561
|
+
interface Benefit {
|
|
5562
|
+
/**
|
|
5563
|
+
* French meal voucher benefit details for this SetupIntent.
|
|
5564
|
+
*/
|
|
5565
|
+
fr_meal_voucher?: Benefit.FrMealVoucher;
|
|
5566
|
+
}
|
|
5567
|
+
|
|
5568
|
+
namespace Benefit {
|
|
5569
|
+
interface FrMealVoucher {
|
|
5570
|
+
/**
|
|
5571
|
+
* The 14-digit SIRET of the meal voucher acceptor.
|
|
5572
|
+
*/
|
|
5573
|
+
siret: string;
|
|
5574
|
+
}
|
|
5575
|
+
}
|
|
5576
|
+
}
|
|
5357
5577
|
}
|
|
5358
5578
|
|
|
5359
5579
|
interface SetupIntentVerifyMicrodepositsParams {
|
|
@@ -234,6 +234,8 @@ declare module 'stripe' {
|
|
|
234
234
|
|
|
235
235
|
tr?: CountryOptions.Tr;
|
|
236
236
|
|
|
237
|
+
tw?: CountryOptions.Tw;
|
|
238
|
+
|
|
237
239
|
tz?: CountryOptions.Tz;
|
|
238
240
|
|
|
239
241
|
ua?: CountryOptions.Ua;
|
|
@@ -1552,6 +1554,13 @@ declare module 'stripe' {
|
|
|
1552
1554
|
type: 'simplified';
|
|
1553
1555
|
}
|
|
1554
1556
|
|
|
1557
|
+
interface Tw {
|
|
1558
|
+
/**
|
|
1559
|
+
* Type of registration in `country`.
|
|
1560
|
+
*/
|
|
1561
|
+
type: 'simplified';
|
|
1562
|
+
}
|
|
1563
|
+
|
|
1555
1564
|
interface Tz {
|
|
1556
1565
|
/**
|
|
1557
1566
|
* Type of registration in `country`.
|
|
@@ -477,6 +477,11 @@ declare module 'stripe' {
|
|
|
477
477
|
*/
|
|
478
478
|
tr?: CountryOptions.Tr;
|
|
479
479
|
|
|
480
|
+
/**
|
|
481
|
+
* Options for the registration in TW.
|
|
482
|
+
*/
|
|
483
|
+
tw?: CountryOptions.Tw;
|
|
484
|
+
|
|
480
485
|
/**
|
|
481
486
|
* Options for the registration in TZ.
|
|
482
487
|
*/
|
|
@@ -2275,6 +2280,13 @@ declare module 'stripe' {
|
|
|
2275
2280
|
type: 'simplified';
|
|
2276
2281
|
}
|
|
2277
2282
|
|
|
2283
|
+
interface Tw {
|
|
2284
|
+
/**
|
|
2285
|
+
* Type of registration to be created in `country`.
|
|
2286
|
+
*/
|
|
2287
|
+
type: 'simplified';
|
|
2288
|
+
}
|
|
2289
|
+
|
|
2278
2290
|
interface Tz {
|
|
2279
2291
|
/**
|
|
2280
2292
|
* Type of registration to be created in `country`.
|
|
@@ -124,6 +124,8 @@ declare module 'stripe' {
|
|
|
124
124
|
|
|
125
125
|
gbp?: Tipping.Gbp;
|
|
126
126
|
|
|
127
|
+
gip?: Tipping.Gip;
|
|
128
|
+
|
|
127
129
|
hkd?: Tipping.Hkd;
|
|
128
130
|
|
|
129
131
|
huf?: Tipping.Huf;
|
|
@@ -303,6 +305,23 @@ declare module 'stripe' {
|
|
|
303
305
|
smart_tip_threshold?: number;
|
|
304
306
|
}
|
|
305
307
|
|
|
308
|
+
interface Gip {
|
|
309
|
+
/**
|
|
310
|
+
* Fixed amounts displayed when collecting a tip
|
|
311
|
+
*/
|
|
312
|
+
fixed_amounts?: Array<number> | null;
|
|
313
|
+
|
|
314
|
+
/**
|
|
315
|
+
* Percentages displayed when collecting a tip
|
|
316
|
+
*/
|
|
317
|
+
percentages?: Array<number> | null;
|
|
318
|
+
|
|
319
|
+
/**
|
|
320
|
+
* Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
|
321
|
+
*/
|
|
322
|
+
smart_tip_threshold?: number;
|
|
323
|
+
}
|
|
324
|
+
|
|
306
325
|
interface Hkd {
|
|
307
326
|
/**
|
|
308
327
|
* Fixed amounts displayed when collecting a tip
|
|
@@ -156,6 +156,11 @@ declare module 'stripe' {
|
|
|
156
156
|
*/
|
|
157
157
|
gbp?: Tipping.Gbp;
|
|
158
158
|
|
|
159
|
+
/**
|
|
160
|
+
* Tipping configuration for GIP
|
|
161
|
+
*/
|
|
162
|
+
gip?: Tipping.Gip;
|
|
163
|
+
|
|
159
164
|
/**
|
|
160
165
|
* Tipping configuration for HKD
|
|
161
166
|
*/
|
|
@@ -371,6 +376,23 @@ declare module 'stripe' {
|
|
|
371
376
|
smart_tip_threshold?: number;
|
|
372
377
|
}
|
|
373
378
|
|
|
379
|
+
interface Gip {
|
|
380
|
+
/**
|
|
381
|
+
* Fixed amounts displayed when collecting a tip
|
|
382
|
+
*/
|
|
383
|
+
fixed_amounts?: Array<number>;
|
|
384
|
+
|
|
385
|
+
/**
|
|
386
|
+
* Percentages displayed when collecting a tip
|
|
387
|
+
*/
|
|
388
|
+
percentages?: Array<number>;
|
|
389
|
+
|
|
390
|
+
/**
|
|
391
|
+
* Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
|
392
|
+
*/
|
|
393
|
+
smart_tip_threshold?: number;
|
|
394
|
+
}
|
|
395
|
+
|
|
374
396
|
interface Hkd {
|
|
375
397
|
/**
|
|
376
398
|
* Fixed amounts displayed when collecting a tip
|
|
@@ -842,6 +864,11 @@ declare module 'stripe' {
|
|
|
842
864
|
*/
|
|
843
865
|
gbp?: Tipping.Gbp;
|
|
844
866
|
|
|
867
|
+
/**
|
|
868
|
+
* Tipping configuration for GIP
|
|
869
|
+
*/
|
|
870
|
+
gip?: Tipping.Gip;
|
|
871
|
+
|
|
845
872
|
/**
|
|
846
873
|
* Tipping configuration for HKD
|
|
847
874
|
*/
|
|
@@ -1057,6 +1084,23 @@ declare module 'stripe' {
|
|
|
1057
1084
|
smart_tip_threshold?: number;
|
|
1058
1085
|
}
|
|
1059
1086
|
|
|
1087
|
+
interface Gip {
|
|
1088
|
+
/**
|
|
1089
|
+
* Fixed amounts displayed when collecting a tip
|
|
1090
|
+
*/
|
|
1091
|
+
fixed_amounts?: Array<number>;
|
|
1092
|
+
|
|
1093
|
+
/**
|
|
1094
|
+
* Percentages displayed when collecting a tip
|
|
1095
|
+
*/
|
|
1096
|
+
percentages?: Array<number>;
|
|
1097
|
+
|
|
1098
|
+
/**
|
|
1099
|
+
* Below this amount, fixed amounts will be displayed; above it, percentages will be displayed
|
|
1100
|
+
*/
|
|
1101
|
+
smart_tip_threshold?: number;
|
|
1102
|
+
}
|
|
1103
|
+
|
|
1060
1104
|
interface Hkd {
|
|
1061
1105
|
/**
|
|
1062
1106
|
* Fixed amounts displayed when collecting a tip
|
|
@@ -69,6 +69,11 @@ declare module 'stripe' {
|
|
|
69
69
|
*/
|
|
70
70
|
label: string;
|
|
71
71
|
|
|
72
|
+
/**
|
|
73
|
+
* The last time this reader reported to Stripe backend.
|
|
74
|
+
*/
|
|
75
|
+
last_seen_at: number | null;
|
|
76
|
+
|
|
72
77
|
/**
|
|
73
78
|
* Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
|
|
74
79
|
*/
|
|
@@ -288,17 +293,17 @@ declare module 'stripe' {
|
|
|
288
293
|
namespace Selection {
|
|
289
294
|
interface Choice {
|
|
290
295
|
/**
|
|
291
|
-
* The
|
|
296
|
+
* The identifier for the selected choice. Maximum 50 characters.
|
|
292
297
|
*/
|
|
293
298
|
id: string | null;
|
|
294
299
|
|
|
295
300
|
/**
|
|
296
|
-
* The button style for the choice
|
|
301
|
+
* The button style for the choice. Can be `primary` or `secondary`.
|
|
297
302
|
*/
|
|
298
303
|
style: Choice.Style | null;
|
|
299
304
|
|
|
300
305
|
/**
|
|
301
|
-
* The text to be selected
|
|
306
|
+
* The text to be selected. Maximum 30 characters.
|
|
302
307
|
*/
|
|
303
308
|
text: string;
|
|
304
309
|
}
|
|
@@ -324,22 +329,22 @@ declare module 'stripe' {
|
|
|
324
329
|
|
|
325
330
|
interface Toggle {
|
|
326
331
|
/**
|
|
327
|
-
* The toggle's default value
|
|
332
|
+
* The toggle's default value. Can be `enabled` or `disabled`.
|
|
328
333
|
*/
|
|
329
334
|
default_value: Toggle.DefaultValue | null;
|
|
330
335
|
|
|
331
336
|
/**
|
|
332
|
-
* The toggle's description text
|
|
337
|
+
* The toggle's description text. Maximum 50 characters.
|
|
333
338
|
*/
|
|
334
339
|
description: string | null;
|
|
335
340
|
|
|
336
341
|
/**
|
|
337
|
-
* The toggle's title text
|
|
342
|
+
* The toggle's title text. Maximum 50 characters.
|
|
338
343
|
*/
|
|
339
344
|
title: string | null;
|
|
340
345
|
|
|
341
346
|
/**
|
|
342
|
-
* The toggle's collected value
|
|
347
|
+
* The toggle's collected value. Can be `enabled` or `disabled`.
|
|
343
348
|
*/
|
|
344
349
|
value: Toggle.Value | null;
|
|
345
350
|
}
|
|
@@ -581,12 +586,12 @@ declare module 'stripe' {
|
|
|
581
586
|
|
|
582
587
|
interface SetReaderDisplay {
|
|
583
588
|
/**
|
|
584
|
-
* Cart object to be displayed by the reader.
|
|
589
|
+
* Cart object to be displayed by the reader, including line items, amounts, and currency.
|
|
585
590
|
*/
|
|
586
591
|
cart: SetReaderDisplay.Cart | null;
|
|
587
592
|
|
|
588
593
|
/**
|
|
589
|
-
* Type of information to be displayed by the reader.
|
|
594
|
+
* Type of information to be displayed by the reader. Only `cart` is currently supported.
|
|
590
595
|
*/
|
|
591
596
|
type: 'cart';
|
|
592
597
|
}
|