stripe 17.2.0-beta.2 → 17.2.0
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 +112 -900
- package/README.md +4 -4
- package/VERSION +1 -1
- package/cjs/resources/FinancialConnections/Accounts.js +0 -5
- package/cjs/resources/Invoices.js +0 -17
- package/cjs/resources/PaymentIntents.js +0 -4
- package/cjs/resources/Quotes.js +0 -32
- package/cjs/resources/SubscriptionSchedules.js +0 -4
- package/cjs/resources/Terminal/Readers.js +0 -12
- package/cjs/resources/TestHelpers/Issuing/Cards.js +0 -4
- package/cjs/resources/V2/Core/Events.js +50 -7
- package/cjs/resources.js +10 -42
- package/cjs/stripe.core.js +1 -1
- package/esm/resources/FinancialConnections/Accounts.js +0 -5
- package/esm/resources/Invoices.js +0 -17
- package/esm/resources/PaymentIntents.js +0 -4
- package/esm/resources/Quotes.js +0 -32
- package/esm/resources/SubscriptionSchedules.js +0 -4
- package/esm/resources/Terminal/Readers.js +0 -12
- package/esm/resources/TestHelpers/Issuing/Cards.js +0 -4
- package/esm/resources/V2/Core/Events.js +50 -7
- package/esm/resources.js +0 -29
- package/esm/stripe.core.js +1 -1
- package/package.json +1 -1
- package/types/AccountLinksResource.d.ts +1 -5
- package/types/AccountSessions.d.ts +5 -75
- package/types/AccountSessionsResource.d.ts +5 -354
- package/types/Accounts.d.ts +3 -127
- package/types/AccountsResource.d.ts +2 -296
- package/types/Billing/CreditGrants.d.ts +2 -2
- package/types/Billing/CreditGrantsResource.d.ts +2 -2
- package/types/Billing/Meters.d.ts +0 -2
- package/types/Charges.d.ts +0 -152
- package/types/ChargesResource.d.ts +0 -1294
- package/types/Checkout/Sessions.d.ts +5 -309
- package/types/Checkout/SessionsResource.d.ts +5 -356
- package/types/ConfirmationTokens.d.ts +0 -137
- package/types/Coupons.d.ts +1 -1
- package/types/CouponsResource.d.ts +1 -1
- package/types/CreditNotes.d.ts +0 -21
- package/types/CreditNotesResource.d.ts +0 -51
- package/types/CustomersResource.d.ts +2 -22
- package/types/Disputes.d.ts +0 -152
- package/types/DisputesResource.d.ts +0 -120
- package/types/EventTypes.d.ts +2 -564
- package/types/Events.d.ts +0 -91
- package/types/FinancialConnections/Accounts.d.ts +1 -29
- package/types/FinancialConnections/AccountsResource.d.ts +3 -35
- package/types/FinancialConnections/Sessions.d.ts +1 -49
- package/types/FinancialConnections/SessionsResource.d.ts +1 -38
- package/types/Forwarding/Requests.d.ts +0 -5
- package/types/InvoiceItems.d.ts +0 -5
- package/types/InvoiceItemsResource.d.ts +0 -98
- package/types/InvoiceLineItems.d.ts +1 -31
- package/types/Invoices.d.ts +3 -134
- package/types/InvoicesResource.d.ts +1836 -5515
- package/types/Issuing/Authorizations.d.ts +1 -1
- package/types/Issuing/AuthorizationsResource.d.ts +1 -1
- package/types/Issuing/CardholdersResource.d.ts +1 -2
- package/types/Issuing/Transactions.d.ts +0 -2
- package/types/Issuing/TransactionsResource.d.ts +0 -5
- package/types/LineItems.d.ts +0 -7
- package/types/Mandates.d.ts +0 -85
- package/types/PaymentIntents.d.ts +1 -643
- package/types/PaymentIntentsResource.d.ts +3463 -7739
- package/types/PaymentLinks.d.ts +0 -3
- package/types/PaymentLinksResource.d.ts +0 -6
- package/types/PaymentMethodConfigurations.d.ts +0 -36
- package/types/PaymentMethodConfigurationsResource.d.ts +2 -52
- package/types/PaymentMethods.d.ts +0 -137
- package/types/PaymentMethodsResource.d.ts +0 -158
- package/types/Persons.d.ts +1 -1
- package/types/Prices.d.ts +0 -22
- package/types/PricesResource.d.ts +0 -22
- package/types/Products.d.ts +0 -39
- package/types/ProductsResource.d.ts +0 -36
- package/types/Quotes.d.ts +1 -591
- package/types/QuotesResource.d.ts +199 -2531
- package/types/SetupAttempts.d.ts +0 -19
- package/types/SetupIntents.d.ts +1 -112
- package/types/SetupIntentsResource.d.ts +3 -669
- package/types/Sources.d.ts +0 -23
- package/types/SubscriptionItems.d.ts +0 -21
- package/types/SubscriptionItemsResource.d.ts +0 -109
- package/types/SubscriptionSchedules.d.ts +0 -200
- package/types/SubscriptionSchedulesResource.d.ts +13 -1231
- package/types/Subscriptions.d.ts +1 -82
- package/types/SubscriptionsResource.d.ts +3 -348
- package/types/Tax/CalculationLineItems.d.ts +0 -1
- package/types/Tax/Calculations.d.ts +1 -33
- package/types/Tax/CalculationsResource.d.ts +1 -7
- package/types/Tax/Registrations.d.ts +0 -82
- package/types/Tax/RegistrationsResource.d.ts +0 -109
- package/types/Tax/Transactions.d.ts +1 -8
- package/types/TaxIds.d.ts +1 -7
- package/types/TaxIdsResource.d.ts +1 -7
- package/types/TaxRates.d.ts +0 -25
- package/types/TaxRatesResource.d.ts +0 -2
- package/types/Terminal/Readers.d.ts +0 -278
- package/types/Terminal/ReadersResource.d.ts +0 -215
- package/types/TestHelpers/ConfirmationTokensResource.d.ts +0 -112
- package/types/TestHelpers/Issuing/CardsResource.d.ts +0 -22
- package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +0 -26
- package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +0 -26
- package/types/TokensResource.d.ts +1 -1
- package/types/Treasury/FinancialAccounts.d.ts +1 -6
- package/types/Treasury/FinancialAccountsResource.d.ts +0 -10
- package/types/Treasury/OutboundTransfers.d.ts +0 -26
- package/types/Treasury/OutboundTransfersResource.d.ts +0 -26
- package/types/Treasury/ReceivedCredits.d.ts +0 -26
- package/types/Treasury/ReceivedDebits.d.ts +0 -31
- package/types/UsageRecordSummaries.d.ts +1 -1
- package/types/V2/EventTypes.d.ts +3 -1
- package/types/WebhookEndpointsResource.d.ts +0 -66
- package/types/index.d.ts +0 -53
- package/cjs/resources/AccountNotices.js +0 -21
- package/cjs/resources/Capital/FinancingOffers.js +0 -21
- package/cjs/resources/Capital/FinancingSummary.js +0 -12
- package/cjs/resources/Capital/FinancingTransactions.js +0 -17
- package/cjs/resources/FinancialConnections/Institutions.js +0 -17
- package/cjs/resources/GiftCards/Cards.js +0 -23
- package/cjs/resources/GiftCards/Transactions.js +0 -33
- package/cjs/resources/Issuing/CreditUnderwritingRecords.js +0 -33
- package/cjs/resources/Issuing/DisputeSettlementDetails.js +0 -17
- package/cjs/resources/Margins.js +0 -22
- package/cjs/resources/Orders.js +0 -24
- package/cjs/resources/Tax/Associations.js +0 -9
- package/cjs/resources/Tax/Forms.js +0 -20
- package/cjs/resources/Terminal/ReaderCollectedData.js +0 -12
- package/esm/resources/AccountNotices.js +0 -18
- package/esm/resources/Capital/FinancingOffers.js +0 -18
- package/esm/resources/Capital/FinancingSummary.js +0 -9
- package/esm/resources/Capital/FinancingTransactions.js +0 -14
- package/esm/resources/FinancialConnections/Institutions.js +0 -14
- package/esm/resources/GiftCards/Cards.js +0 -20
- package/esm/resources/GiftCards/Transactions.js +0 -30
- package/esm/resources/Issuing/CreditUnderwritingRecords.js +0 -30
- package/esm/resources/Issuing/DisputeSettlementDetails.js +0 -14
- package/esm/resources/Margins.js +0 -19
- package/esm/resources/Orders.js +0 -21
- package/esm/resources/Tax/Associations.js +0 -6
- package/esm/resources/Tax/Forms.js +0 -17
- package/esm/resources/Terminal/ReaderCollectedData.js +0 -9
- package/types/AccountNotices.d.ts +0 -113
- package/types/AccountNoticesResource.d.ts +0 -98
- package/types/Billing/MeterErrorReports.d.ts +0 -106
- package/types/Capital/FinancingOffers.d.ts +0 -188
- package/types/Capital/FinancingOffersResource.d.ts +0 -97
- package/types/Capital/FinancingSummary.d.ts +0 -106
- package/types/Capital/FinancingSummaryResource.d.ts +0 -27
- package/types/Capital/FinancingTransactions.d.ts +0 -135
- package/types/Capital/FinancingTransactionsResource.d.ts +0 -68
- package/types/FinancialConnections/AccountInferredBalances.d.ts +0 -38
- package/types/FinancialConnections/Institutions.d.ts +0 -93
- package/types/FinancialConnections/InstitutionsResource.d.ts +0 -47
- package/types/GiftCards/Cards.d.ts +0 -118
- package/types/GiftCards/CardsResource.d.ts +0 -159
- package/types/GiftCards/Transactions.d.ts +0 -129
- package/types/GiftCards/TransactionsResource.d.ts +0 -201
- package/types/InvoicePayments.d.ts +0 -138
- package/types/Issuing/CreditUnderwritingRecords.d.ts +0 -451
- package/types/Issuing/CreditUnderwritingRecordsResource.d.ts +0 -1032
- package/types/Issuing/DisputeSettlementDetails.d.ts +0 -73
- package/types/Issuing/DisputeSettlementDetailsResource.d.ts +0 -52
- package/types/Issuing/Settlements.d.ts +0 -103
- package/types/Margins.d.ts +0 -56
- package/types/MarginsResource.d.ts +0 -114
- package/types/Orders.d.ts +0 -1154
- package/types/OrdersResource.d.ts +0 -2911
- package/types/QuoteLines.d.ts +0 -634
- package/types/QuotePreviewInvoices.d.ts +0 -1596
- package/types/QuotePreviewSubscriptionSchedules.d.ts +0 -814
- package/types/Tax/Associations.d.ts +0 -126
- package/types/Tax/AssociationsResource.d.ts +0 -29
- package/types/Tax/Forms.d.ts +0 -133
- package/types/Tax/FormsResource.d.ts +0 -90
- package/types/Terminal/ReaderCollectedData.d.ts +0 -51
- package/types/Terminal/ReaderCollectedDataResource.d.ts +0 -29
package/types/PaymentLinks.d.ts
CHANGED
|
@@ -557,17 +557,14 @@ declare module 'stripe' {
|
|
|
557
557
|
| 'klarna'
|
|
558
558
|
| 'konbini'
|
|
559
559
|
| 'link'
|
|
560
|
-
| 'mb_way'
|
|
561
560
|
| 'mobilepay'
|
|
562
561
|
| 'multibanco'
|
|
563
562
|
| 'oxxo'
|
|
564
563
|
| 'p24'
|
|
565
564
|
| 'paynow'
|
|
566
565
|
| 'paypal'
|
|
567
|
-
| 'payto'
|
|
568
566
|
| 'pix'
|
|
569
567
|
| 'promptpay'
|
|
570
|
-
| 'rechnung'
|
|
571
568
|
| 'sepa_debit'
|
|
572
569
|
| 'sofort'
|
|
573
570
|
| 'swish'
|
|
@@ -616,17 +616,14 @@ declare module 'stripe' {
|
|
|
616
616
|
| 'klarna'
|
|
617
617
|
| 'konbini'
|
|
618
618
|
| 'link'
|
|
619
|
-
| 'mb_way'
|
|
620
619
|
| 'mobilepay'
|
|
621
620
|
| 'multibanco'
|
|
622
621
|
| 'oxxo'
|
|
623
622
|
| 'p24'
|
|
624
623
|
| 'paynow'
|
|
625
624
|
| 'paypal'
|
|
626
|
-
| 'payto'
|
|
627
625
|
| 'pix'
|
|
628
626
|
| 'promptpay'
|
|
629
|
-
| 'rechnung'
|
|
630
627
|
| 'sepa_debit'
|
|
631
628
|
| 'sofort'
|
|
632
629
|
| 'swish'
|
|
@@ -1543,17 +1540,14 @@ declare module 'stripe' {
|
|
|
1543
1540
|
| 'klarna'
|
|
1544
1541
|
| 'konbini'
|
|
1545
1542
|
| 'link'
|
|
1546
|
-
| 'mb_way'
|
|
1547
1543
|
| 'mobilepay'
|
|
1548
1544
|
| 'multibanco'
|
|
1549
1545
|
| 'oxxo'
|
|
1550
1546
|
| 'p24'
|
|
1551
1547
|
| 'paynow'
|
|
1552
1548
|
| 'paypal'
|
|
1553
|
-
| 'payto'
|
|
1554
1549
|
| 'pix'
|
|
1555
1550
|
| 'promptpay'
|
|
1556
|
-
| 'rechnung'
|
|
1557
1551
|
| 'sepa_debit'
|
|
1558
1552
|
| 'sofort'
|
|
1559
1553
|
| 'swish'
|
|
@@ -121,8 +121,6 @@ declare module 'stripe' {
|
|
|
121
121
|
|
|
122
122
|
paypal?: PaymentMethodConfiguration.Paypal;
|
|
123
123
|
|
|
124
|
-
payto?: PaymentMethodConfiguration.Payto;
|
|
125
|
-
|
|
126
124
|
promptpay?: PaymentMethodConfiguration.Promptpay;
|
|
127
125
|
|
|
128
126
|
revolut_pay?: PaymentMethodConfiguration.RevolutPay;
|
|
@@ -1197,40 +1195,6 @@ declare module 'stripe' {
|
|
|
1197
1195
|
}
|
|
1198
1196
|
}
|
|
1199
1197
|
|
|
1200
|
-
interface Payto {
|
|
1201
|
-
/**
|
|
1202
|
-
* Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
|
1203
|
-
*/
|
|
1204
|
-
available: boolean;
|
|
1205
|
-
|
|
1206
|
-
display_preference: Payto.DisplayPreference;
|
|
1207
|
-
}
|
|
1208
|
-
|
|
1209
|
-
namespace Payto {
|
|
1210
|
-
interface DisplayPreference {
|
|
1211
|
-
/**
|
|
1212
|
-
* For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
|
1213
|
-
*/
|
|
1214
|
-
overridable: boolean | null;
|
|
1215
|
-
|
|
1216
|
-
/**
|
|
1217
|
-
* The account's display preference.
|
|
1218
|
-
*/
|
|
1219
|
-
preference: DisplayPreference.Preference;
|
|
1220
|
-
|
|
1221
|
-
/**
|
|
1222
|
-
* The effective display preference value.
|
|
1223
|
-
*/
|
|
1224
|
-
value: DisplayPreference.Value;
|
|
1225
|
-
}
|
|
1226
|
-
|
|
1227
|
-
namespace DisplayPreference {
|
|
1228
|
-
type Preference = 'none' | 'off' | 'on';
|
|
1229
|
-
|
|
1230
|
-
type Value = 'off' | 'on';
|
|
1231
|
-
}
|
|
1232
|
-
}
|
|
1233
|
-
|
|
1234
1198
|
interface Promptpay {
|
|
1235
1199
|
/**
|
|
1236
1200
|
* Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
|
@@ -178,11 +178,6 @@ declare module 'stripe' {
|
|
|
178
178
|
*/
|
|
179
179
|
paypal?: PaymentMethodConfigurationCreateParams.Paypal;
|
|
180
180
|
|
|
181
|
-
/**
|
|
182
|
-
* 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.
|
|
183
|
-
*/
|
|
184
|
-
payto?: PaymentMethodConfigurationCreateParams.Payto;
|
|
185
|
-
|
|
186
181
|
/**
|
|
187
182
|
* PromptPay is a Thailand-based payment method that allows customers to make a payment using their preferred app from participating banks. Check this [page](https://stripe.com/docs/payments/promptpay) for more details.
|
|
188
183
|
*/
|
|
@@ -214,7 +209,7 @@ declare module 'stripe' {
|
|
|
214
209
|
twint?: PaymentMethodConfigurationCreateParams.Twint;
|
|
215
210
|
|
|
216
211
|
/**
|
|
217
|
-
* Stripe users in the United States can accept ACH direct debit payments from customers with a US bank account using the Automated Clearing House (ACH) payments system operated by Nacha. Check this [page](https://stripe.com/docs/payments/ach-
|
|
212
|
+
* Stripe users in the United States can accept ACH direct debit payments from customers with a US bank account using the Automated Clearing House (ACH) payments system operated by Nacha. Check this [page](https://stripe.com/docs/payments/ach-debit) for more details.
|
|
218
213
|
*/
|
|
219
214
|
us_bank_account?: PaymentMethodConfigurationCreateParams.UsBankAccount;
|
|
220
215
|
|
|
@@ -870,26 +865,6 @@ declare module 'stripe' {
|
|
|
870
865
|
}
|
|
871
866
|
}
|
|
872
867
|
|
|
873
|
-
interface Payto {
|
|
874
|
-
/**
|
|
875
|
-
* Whether or not the payment method should be displayed.
|
|
876
|
-
*/
|
|
877
|
-
display_preference?: Payto.DisplayPreference;
|
|
878
|
-
}
|
|
879
|
-
|
|
880
|
-
namespace Payto {
|
|
881
|
-
interface DisplayPreference {
|
|
882
|
-
/**
|
|
883
|
-
* The account's preference for whether or not to display this payment method.
|
|
884
|
-
*/
|
|
885
|
-
preference?: DisplayPreference.Preference;
|
|
886
|
-
}
|
|
887
|
-
|
|
888
|
-
namespace DisplayPreference {
|
|
889
|
-
type Preference = 'none' | 'off' | 'on';
|
|
890
|
-
}
|
|
891
|
-
}
|
|
892
|
-
|
|
893
868
|
interface Promptpay {
|
|
894
869
|
/**
|
|
895
870
|
* Whether or not the payment method should be displayed.
|
|
@@ -1254,11 +1229,6 @@ declare module 'stripe' {
|
|
|
1254
1229
|
*/
|
|
1255
1230
|
paypal?: PaymentMethodConfigurationUpdateParams.Paypal;
|
|
1256
1231
|
|
|
1257
|
-
/**
|
|
1258
|
-
* 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.
|
|
1259
|
-
*/
|
|
1260
|
-
payto?: PaymentMethodConfigurationUpdateParams.Payto;
|
|
1261
|
-
|
|
1262
1232
|
/**
|
|
1263
1233
|
* PromptPay is a Thailand-based payment method that allows customers to make a payment using their preferred app from participating banks. Check this [page](https://stripe.com/docs/payments/promptpay) for more details.
|
|
1264
1234
|
*/
|
|
@@ -1290,7 +1260,7 @@ declare module 'stripe' {
|
|
|
1290
1260
|
twint?: PaymentMethodConfigurationUpdateParams.Twint;
|
|
1291
1261
|
|
|
1292
1262
|
/**
|
|
1293
|
-
* Stripe users in the United States can accept ACH direct debit payments from customers with a US bank account using the Automated Clearing House (ACH) payments system operated by Nacha. Check this [page](https://stripe.com/docs/payments/ach-
|
|
1263
|
+
* Stripe users in the United States can accept ACH direct debit payments from customers with a US bank account using the Automated Clearing House (ACH) payments system operated by Nacha. Check this [page](https://stripe.com/docs/payments/ach-debit) for more details.
|
|
1294
1264
|
*/
|
|
1295
1265
|
us_bank_account?: PaymentMethodConfigurationUpdateParams.UsBankAccount;
|
|
1296
1266
|
|
|
@@ -1946,26 +1916,6 @@ declare module 'stripe' {
|
|
|
1946
1916
|
}
|
|
1947
1917
|
}
|
|
1948
1918
|
|
|
1949
|
-
interface Payto {
|
|
1950
|
-
/**
|
|
1951
|
-
* Whether or not the payment method should be displayed.
|
|
1952
|
-
*/
|
|
1953
|
-
display_preference?: Payto.DisplayPreference;
|
|
1954
|
-
}
|
|
1955
|
-
|
|
1956
|
-
namespace Payto {
|
|
1957
|
-
interface DisplayPreference {
|
|
1958
|
-
/**
|
|
1959
|
-
* The account's preference for whether or not to display this payment method.
|
|
1960
|
-
*/
|
|
1961
|
-
preference?: DisplayPreference.Preference;
|
|
1962
|
-
}
|
|
1963
|
-
|
|
1964
|
-
namespace DisplayPreference {
|
|
1965
|
-
type Preference = 'none' | 'off' | 'on';
|
|
1966
|
-
}
|
|
1967
|
-
}
|
|
1968
|
-
|
|
1969
1919
|
interface Promptpay {
|
|
1970
1920
|
/**
|
|
1971
1921
|
* Whether or not the payment method should be displayed.
|
|
@@ -77,14 +77,10 @@ declare module 'stripe' {
|
|
|
77
77
|
|
|
78
78
|
interac_present?: PaymentMethod.InteracPresent;
|
|
79
79
|
|
|
80
|
-
kakao_pay?: PaymentMethod.KakaoPay;
|
|
81
|
-
|
|
82
80
|
klarna?: PaymentMethod.Klarna;
|
|
83
81
|
|
|
84
82
|
konbini?: PaymentMethod.Konbini;
|
|
85
83
|
|
|
86
|
-
kr_card?: PaymentMethod.KrCard;
|
|
87
|
-
|
|
88
84
|
link?: PaymentMethod.Link;
|
|
89
85
|
|
|
90
86
|
/**
|
|
@@ -92,8 +88,6 @@ declare module 'stripe' {
|
|
|
92
88
|
*/
|
|
93
89
|
livemode: boolean;
|
|
94
90
|
|
|
95
|
-
mb_way?: PaymentMethod.MbWay;
|
|
96
|
-
|
|
97
91
|
/**
|
|
98
92
|
* Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
|
|
99
93
|
*/
|
|
@@ -103,20 +97,14 @@ declare module 'stripe' {
|
|
|
103
97
|
|
|
104
98
|
multibanco?: PaymentMethod.Multibanco;
|
|
105
99
|
|
|
106
|
-
naver_pay?: PaymentMethod.NaverPay;
|
|
107
|
-
|
|
108
100
|
oxxo?: PaymentMethod.Oxxo;
|
|
109
101
|
|
|
110
102
|
p24?: PaymentMethod.P24;
|
|
111
103
|
|
|
112
|
-
payco?: PaymentMethod.Payco;
|
|
113
|
-
|
|
114
104
|
paynow?: PaymentMethod.Paynow;
|
|
115
105
|
|
|
116
106
|
paypal?: PaymentMethod.Paypal;
|
|
117
107
|
|
|
118
|
-
payto?: PaymentMethod.Payto;
|
|
119
|
-
|
|
120
108
|
pix?: PaymentMethod.Pix;
|
|
121
109
|
|
|
122
110
|
promptpay?: PaymentMethod.Promptpay;
|
|
@@ -126,12 +114,8 @@ declare module 'stripe' {
|
|
|
126
114
|
*/
|
|
127
115
|
radar_options?: PaymentMethod.RadarOptions;
|
|
128
116
|
|
|
129
|
-
rechnung?: PaymentMethod.Rechnung;
|
|
130
|
-
|
|
131
117
|
revolut_pay?: PaymentMethod.RevolutPay;
|
|
132
118
|
|
|
133
|
-
samsung_pay?: PaymentMethod.SamsungPay;
|
|
134
|
-
|
|
135
119
|
sepa_debit?: PaymentMethod.SepaDebit;
|
|
136
120
|
|
|
137
121
|
sofort?: PaymentMethod.Sofort;
|
|
@@ -1090,8 +1074,6 @@ declare module 'stripe' {
|
|
|
1090
1074
|
| 'magnetic_stripe_track2';
|
|
1091
1075
|
}
|
|
1092
1076
|
|
|
1093
|
-
interface KakaoPay {}
|
|
1094
|
-
|
|
1095
1077
|
interface Klarna {
|
|
1096
1078
|
/**
|
|
1097
1079
|
* The customer's date of birth, if provided.
|
|
@@ -1120,44 +1102,6 @@ declare module 'stripe' {
|
|
|
1120
1102
|
|
|
1121
1103
|
interface Konbini {}
|
|
1122
1104
|
|
|
1123
|
-
interface KrCard {
|
|
1124
|
-
/**
|
|
1125
|
-
* The local credit or debit card brand.
|
|
1126
|
-
*/
|
|
1127
|
-
brand: KrCard.Brand | null;
|
|
1128
|
-
|
|
1129
|
-
/**
|
|
1130
|
-
* The last four digits of the card. This may not be present for American Express cards.
|
|
1131
|
-
*/
|
|
1132
|
-
last4: string | null;
|
|
1133
|
-
}
|
|
1134
|
-
|
|
1135
|
-
namespace KrCard {
|
|
1136
|
-
type Brand =
|
|
1137
|
-
| 'bc'
|
|
1138
|
-
| 'citi'
|
|
1139
|
-
| 'hana'
|
|
1140
|
-
| 'hyundai'
|
|
1141
|
-
| 'jeju'
|
|
1142
|
-
| 'jeonbuk'
|
|
1143
|
-
| 'kakaobank'
|
|
1144
|
-
| 'kbank'
|
|
1145
|
-
| 'kdbbank'
|
|
1146
|
-
| 'kookmin'
|
|
1147
|
-
| 'kwangju'
|
|
1148
|
-
| 'lotte'
|
|
1149
|
-
| 'mg'
|
|
1150
|
-
| 'nh'
|
|
1151
|
-
| 'post'
|
|
1152
|
-
| 'samsung'
|
|
1153
|
-
| 'savingsbank'
|
|
1154
|
-
| 'shinhan'
|
|
1155
|
-
| 'shinhyup'
|
|
1156
|
-
| 'suhyup'
|
|
1157
|
-
| 'tossbank'
|
|
1158
|
-
| 'woori';
|
|
1159
|
-
}
|
|
1160
|
-
|
|
1161
1105
|
interface Link {
|
|
1162
1106
|
/**
|
|
1163
1107
|
* Account owner's email address.
|
|
@@ -1171,23 +1115,10 @@ declare module 'stripe' {
|
|
|
1171
1115
|
persistent_token?: string;
|
|
1172
1116
|
}
|
|
1173
1117
|
|
|
1174
|
-
interface MbWay {}
|
|
1175
|
-
|
|
1176
1118
|
interface Mobilepay {}
|
|
1177
1119
|
|
|
1178
1120
|
interface Multibanco {}
|
|
1179
1121
|
|
|
1180
|
-
interface NaverPay {
|
|
1181
|
-
/**
|
|
1182
|
-
* Whether to fund this transaction with Naver Pay points or a card.
|
|
1183
|
-
*/
|
|
1184
|
-
funding: NaverPay.Funding;
|
|
1185
|
-
}
|
|
1186
|
-
|
|
1187
|
-
namespace NaverPay {
|
|
1188
|
-
type Funding = 'card' | 'points';
|
|
1189
|
-
}
|
|
1190
|
-
|
|
1191
1122
|
interface Oxxo {}
|
|
1192
1123
|
|
|
1193
1124
|
interface P24 {
|
|
@@ -1227,16 +1158,9 @@ declare module 'stripe' {
|
|
|
1227
1158
|
| 'volkswagen_bank';
|
|
1228
1159
|
}
|
|
1229
1160
|
|
|
1230
|
-
interface Payco {}
|
|
1231
|
-
|
|
1232
1161
|
interface Paynow {}
|
|
1233
1162
|
|
|
1234
1163
|
interface Paypal {
|
|
1235
|
-
/**
|
|
1236
|
-
* Uniquely identifies this particular PayPal account. You can use this attribute to check whether two PayPal accounts are the same.
|
|
1237
|
-
*/
|
|
1238
|
-
fingerprint?: string | null;
|
|
1239
|
-
|
|
1240
1164
|
/**
|
|
1241
1165
|
* Owner's email. Values are provided by PayPal directly
|
|
1242
1166
|
* (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
|
@@ -1247,29 +1171,6 @@ declare module 'stripe' {
|
|
|
1247
1171
|
* PayPal account PayerID. This identifier uniquely identifies the PayPal customer.
|
|
1248
1172
|
*/
|
|
1249
1173
|
payer_id: string | null;
|
|
1250
|
-
|
|
1251
|
-
/**
|
|
1252
|
-
* Owner's verified email. Values are verified or provided by PayPal directly
|
|
1253
|
-
* (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
|
1254
|
-
*/
|
|
1255
|
-
verified_email?: string | null;
|
|
1256
|
-
}
|
|
1257
|
-
|
|
1258
|
-
interface Payto {
|
|
1259
|
-
/**
|
|
1260
|
-
* Bank-State-Branch number of the bank account.
|
|
1261
|
-
*/
|
|
1262
|
-
bsb_number: string | null;
|
|
1263
|
-
|
|
1264
|
-
/**
|
|
1265
|
-
* Last four digits of the bank account number.
|
|
1266
|
-
*/
|
|
1267
|
-
last4: string | null;
|
|
1268
|
-
|
|
1269
|
-
/**
|
|
1270
|
-
* The PayID alias for the bank account.
|
|
1271
|
-
*/
|
|
1272
|
-
pay_id: string | null;
|
|
1273
1174
|
}
|
|
1274
1175
|
|
|
1275
1176
|
interface Pix {}
|
|
@@ -1283,33 +1184,8 @@ declare module 'stripe' {
|
|
|
1283
1184
|
session?: string;
|
|
1284
1185
|
}
|
|
1285
1186
|
|
|
1286
|
-
interface Rechnung {
|
|
1287
|
-
dob?: Rechnung.Dob;
|
|
1288
|
-
}
|
|
1289
|
-
|
|
1290
|
-
namespace Rechnung {
|
|
1291
|
-
interface Dob {
|
|
1292
|
-
/**
|
|
1293
|
-
* The day of birth, between 1 and 31.
|
|
1294
|
-
*/
|
|
1295
|
-
day: number;
|
|
1296
|
-
|
|
1297
|
-
/**
|
|
1298
|
-
* The month of birth, between 1 and 12.
|
|
1299
|
-
*/
|
|
1300
|
-
month: number;
|
|
1301
|
-
|
|
1302
|
-
/**
|
|
1303
|
-
* The four-digit year of birth.
|
|
1304
|
-
*/
|
|
1305
|
-
year: number;
|
|
1306
|
-
}
|
|
1307
|
-
}
|
|
1308
|
-
|
|
1309
1187
|
interface RevolutPay {}
|
|
1310
1188
|
|
|
1311
|
-
interface SamsungPay {}
|
|
1312
|
-
|
|
1313
1189
|
interface SepaDebit {
|
|
1314
1190
|
/**
|
|
1315
1191
|
* Bank code of bank associated with the bank account.
|
|
@@ -1388,26 +1264,18 @@ declare module 'stripe' {
|
|
|
1388
1264
|
| 'grabpay'
|
|
1389
1265
|
| 'ideal'
|
|
1390
1266
|
| 'interac_present'
|
|
1391
|
-
| 'kakao_pay'
|
|
1392
1267
|
| 'klarna'
|
|
1393
1268
|
| 'konbini'
|
|
1394
|
-
| 'kr_card'
|
|
1395
1269
|
| 'link'
|
|
1396
|
-
| 'mb_way'
|
|
1397
1270
|
| 'mobilepay'
|
|
1398
1271
|
| 'multibanco'
|
|
1399
|
-
| 'naver_pay'
|
|
1400
1272
|
| 'oxxo'
|
|
1401
1273
|
| 'p24'
|
|
1402
|
-
| 'payco'
|
|
1403
1274
|
| 'paynow'
|
|
1404
1275
|
| 'paypal'
|
|
1405
|
-
| 'payto'
|
|
1406
1276
|
| 'pix'
|
|
1407
1277
|
| 'promptpay'
|
|
1408
|
-
| 'rechnung'
|
|
1409
1278
|
| 'revolut_pay'
|
|
1410
|
-
| 'samsung_pay'
|
|
1411
1279
|
| 'sepa_debit'
|
|
1412
1280
|
| 'sofort'
|
|
1413
1281
|
| 'swish'
|
|
@@ -1422,11 +1290,6 @@ declare module 'stripe' {
|
|
|
1422
1290
|
*/
|
|
1423
1291
|
account_holder_type: UsBankAccount.AccountHolderType | null;
|
|
1424
1292
|
|
|
1425
|
-
/**
|
|
1426
|
-
* Account number of the bank account.
|
|
1427
|
-
*/
|
|
1428
|
-
account_number?: string | null;
|
|
1429
|
-
|
|
1430
1293
|
/**
|
|
1431
1294
|
* Account type: checkings or savings. Defaults to checking if omitted.
|
|
1432
1295
|
*/
|