stripe 17.3.0-beta.1 → 17.3.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 +152 -925
- package/README.md +4 -4
- package/VERSION +1 -1
- package/cjs/apiVersion.js +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/V2/Core/EventDestinations.js +41 -0
- package/cjs/resources/V2/Core.js +2 -0
- package/cjs/resources.js +10 -42
- package/cjs/stripe.core.js +1 -1
- package/esm/apiVersion.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/V2/Core/EventDestinations.js +38 -0
- package/esm/resources/V2/Core.js +2 -0
- 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 +0 -45
- package/types/AccountSessionsResource.d.ts +0 -324
- package/types/Accounts.d.ts +1 -155
- package/types/AccountsResource.d.ts +1 -415
- package/types/Charges.d.ts +0 -83
- package/types/ChargesResource.d.ts +0 -1294
- package/types/Checkout/Sessions.d.ts +79 -302
- package/types/Checkout/SessionsResource.d.ts +85 -354
- package/types/ConfirmationTokens.d.ts +0 -82
- 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 +0 -6
- package/types/Disputes.d.ts +3 -3
- package/types/EventTypes.d.ts +18 -545
- package/types/Events.d.ts +1 -90
- 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/InvoiceItems.d.ts +0 -5
- package/types/InvoiceItemsResource.d.ts +0 -98
- package/types/InvoiceLineItems.d.ts +1 -28
- package/types/Invoices.d.ts +2 -124
- package/types/InvoicesResource.d.ts +1855 -5503
- 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 -77
- package/types/PaymentIntents.d.ts +1 -613
- package/types/PaymentIntentsResource.d.ts +3687 -7740
- package/types/PaymentLinks.d.ts +0 -6
- package/types/PaymentLinksResource.d.ts +0 -12
- package/types/PaymentMethodConfigurations.d.ts +0 -36
- package/types/PaymentMethodConfigurationsResource.d.ts +0 -50
- package/types/PaymentMethods.d.ts +0 -82
- package/types/PaymentMethodsResource.d.ts +0 -115
- 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/Refunds.d.ts +1 -4
- package/types/SetupAttempts.d.ts +0 -11
- package/types/SetupIntents.d.ts +1 -112
- package/types/SetupIntentsResource.d.ts +3 -594
- 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 +2 -347
- package/types/Terminal/Readers.d.ts +0 -278
- package/types/Terminal/ReadersResource.d.ts +0 -215
- package/types/TestHelpers/ConfirmationTokensResource.d.ts +0 -87
- package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +0 -26
- package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +0 -26
- package/types/Treasury/FinancialAccountFeatures.d.ts +0 -7
- package/types/Treasury/FinancialAccounts.d.ts +0 -5
- package/types/Treasury/FinancialAccountsResource.d.ts +0 -37
- 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/V2/Core/EventDestinationsResource.d.ts +281 -0
- package/types/V2/Core/EventsResource.d.ts +1 -1
- package/types/V2/CoreResource.d.ts +1 -0
- package/types/V2/EventDestinations.d.ts +164 -0
- package/types/WebhookEndpointsResource.d.ts +4 -65
- package/types/index.d.ts +2 -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 -1601
- 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 -220
- package/types/Tax/FormsResource.d.ts +0 -107
- package/types/Terminal/ReaderCollectedData.d.ts +0 -51
- package/types/Terminal/ReaderCollectedDataResource.d.ts +0 -29
package/types/PaymentLinks.d.ts
CHANGED
|
@@ -553,26 +553,20 @@ declare module 'stripe' {
|
|
|
553
553
|
| 'eps'
|
|
554
554
|
| 'fpx'
|
|
555
555
|
| 'giropay'
|
|
556
|
-
| 'gopay'
|
|
557
556
|
| 'grabpay'
|
|
558
557
|
| 'ideal'
|
|
559
558
|
| 'klarna'
|
|
560
559
|
| 'konbini'
|
|
561
560
|
| 'link'
|
|
562
|
-
| 'mb_way'
|
|
563
561
|
| 'mobilepay'
|
|
564
562
|
| 'multibanco'
|
|
565
563
|
| 'oxxo'
|
|
566
564
|
| 'p24'
|
|
567
565
|
| 'paynow'
|
|
568
566
|
| 'paypal'
|
|
569
|
-
| 'payto'
|
|
570
567
|
| 'pix'
|
|
571
568
|
| 'promptpay'
|
|
572
|
-
| 'qris'
|
|
573
|
-
| 'rechnung'
|
|
574
569
|
| 'sepa_debit'
|
|
575
|
-
| 'shopeepay'
|
|
576
570
|
| 'sofort'
|
|
577
571
|
| 'swish'
|
|
578
572
|
| 'twint'
|
|
@@ -612,26 +612,20 @@ declare module 'stripe' {
|
|
|
612
612
|
| 'eps'
|
|
613
613
|
| 'fpx'
|
|
614
614
|
| 'giropay'
|
|
615
|
-
| 'gopay'
|
|
616
615
|
| 'grabpay'
|
|
617
616
|
| 'ideal'
|
|
618
617
|
| 'klarna'
|
|
619
618
|
| 'konbini'
|
|
620
619
|
| 'link'
|
|
621
|
-
| 'mb_way'
|
|
622
620
|
| 'mobilepay'
|
|
623
621
|
| 'multibanco'
|
|
624
622
|
| 'oxxo'
|
|
625
623
|
| 'p24'
|
|
626
624
|
| 'paynow'
|
|
627
625
|
| 'paypal'
|
|
628
|
-
| 'payto'
|
|
629
626
|
| 'pix'
|
|
630
627
|
| 'promptpay'
|
|
631
|
-
| 'qris'
|
|
632
|
-
| 'rechnung'
|
|
633
628
|
| 'sepa_debit'
|
|
634
|
-
| 'shopeepay'
|
|
635
629
|
| 'sofort'
|
|
636
630
|
| 'swish'
|
|
637
631
|
| 'twint'
|
|
@@ -1543,26 +1537,20 @@ declare module 'stripe' {
|
|
|
1543
1537
|
| 'eps'
|
|
1544
1538
|
| 'fpx'
|
|
1545
1539
|
| 'giropay'
|
|
1546
|
-
| 'gopay'
|
|
1547
1540
|
| 'grabpay'
|
|
1548
1541
|
| 'ideal'
|
|
1549
1542
|
| 'klarna'
|
|
1550
1543
|
| 'konbini'
|
|
1551
1544
|
| 'link'
|
|
1552
|
-
| 'mb_way'
|
|
1553
1545
|
| 'mobilepay'
|
|
1554
1546
|
| 'multibanco'
|
|
1555
1547
|
| 'oxxo'
|
|
1556
1548
|
| 'p24'
|
|
1557
1549
|
| 'paynow'
|
|
1558
1550
|
| 'paypal'
|
|
1559
|
-
| 'payto'
|
|
1560
1551
|
| 'pix'
|
|
1561
1552
|
| 'promptpay'
|
|
1562
|
-
| 'qris'
|
|
1563
|
-
| 'rechnung'
|
|
1564
1553
|
| 'sepa_debit'
|
|
1565
|
-
| 'shopeepay'
|
|
1566
1554
|
| 'sofort'
|
|
1567
1555
|
| 'swish'
|
|
1568
1556
|
| 'twint'
|
|
@@ -123,8 +123,6 @@ declare module 'stripe' {
|
|
|
123
123
|
|
|
124
124
|
paypal?: PaymentMethodConfiguration.Paypal;
|
|
125
125
|
|
|
126
|
-
payto?: PaymentMethodConfiguration.Payto;
|
|
127
|
-
|
|
128
126
|
promptpay?: PaymentMethodConfiguration.Promptpay;
|
|
129
127
|
|
|
130
128
|
revolut_pay?: PaymentMethodConfiguration.RevolutPay;
|
|
@@ -1233,40 +1231,6 @@ declare module 'stripe' {
|
|
|
1233
1231
|
}
|
|
1234
1232
|
}
|
|
1235
1233
|
|
|
1236
|
-
interface Payto {
|
|
1237
|
-
/**
|
|
1238
|
-
* Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
|
1239
|
-
*/
|
|
1240
|
-
available: boolean;
|
|
1241
|
-
|
|
1242
|
-
display_preference: Payto.DisplayPreference;
|
|
1243
|
-
}
|
|
1244
|
-
|
|
1245
|
-
namespace Payto {
|
|
1246
|
-
interface DisplayPreference {
|
|
1247
|
-
/**
|
|
1248
|
-
* For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
|
|
1249
|
-
*/
|
|
1250
|
-
overridable: boolean | null;
|
|
1251
|
-
|
|
1252
|
-
/**
|
|
1253
|
-
* The account's display preference.
|
|
1254
|
-
*/
|
|
1255
|
-
preference: DisplayPreference.Preference;
|
|
1256
|
-
|
|
1257
|
-
/**
|
|
1258
|
-
* The effective display preference value.
|
|
1259
|
-
*/
|
|
1260
|
-
value: DisplayPreference.Value;
|
|
1261
|
-
}
|
|
1262
|
-
|
|
1263
|
-
namespace DisplayPreference {
|
|
1264
|
-
type Preference = 'none' | 'off' | 'on';
|
|
1265
|
-
|
|
1266
|
-
type Value = 'off' | 'on';
|
|
1267
|
-
}
|
|
1268
|
-
}
|
|
1269
|
-
|
|
1270
1234
|
interface Promptpay {
|
|
1271
1235
|
/**
|
|
1272
1236
|
* Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
|
|
@@ -183,11 +183,6 @@ declare module 'stripe' {
|
|
|
183
183
|
*/
|
|
184
184
|
paypal?: PaymentMethodConfigurationCreateParams.Paypal;
|
|
185
185
|
|
|
186
|
-
/**
|
|
187
|
-
* 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.
|
|
188
|
-
*/
|
|
189
|
-
payto?: PaymentMethodConfigurationCreateParams.Payto;
|
|
190
|
-
|
|
191
186
|
/**
|
|
192
187
|
* 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.
|
|
193
188
|
*/
|
|
@@ -895,26 +890,6 @@ declare module 'stripe' {
|
|
|
895
890
|
}
|
|
896
891
|
}
|
|
897
892
|
|
|
898
|
-
interface Payto {
|
|
899
|
-
/**
|
|
900
|
-
* Whether or not the payment method should be displayed.
|
|
901
|
-
*/
|
|
902
|
-
display_preference?: Payto.DisplayPreference;
|
|
903
|
-
}
|
|
904
|
-
|
|
905
|
-
namespace Payto {
|
|
906
|
-
interface DisplayPreference {
|
|
907
|
-
/**
|
|
908
|
-
* The account's preference for whether or not to display this payment method.
|
|
909
|
-
*/
|
|
910
|
-
preference?: DisplayPreference.Preference;
|
|
911
|
-
}
|
|
912
|
-
|
|
913
|
-
namespace DisplayPreference {
|
|
914
|
-
type Preference = 'none' | 'off' | 'on';
|
|
915
|
-
}
|
|
916
|
-
}
|
|
917
|
-
|
|
918
893
|
interface Promptpay {
|
|
919
894
|
/**
|
|
920
895
|
* Whether or not the payment method should be displayed.
|
|
@@ -1284,11 +1259,6 @@ declare module 'stripe' {
|
|
|
1284
1259
|
*/
|
|
1285
1260
|
paypal?: PaymentMethodConfigurationUpdateParams.Paypal;
|
|
1286
1261
|
|
|
1287
|
-
/**
|
|
1288
|
-
* 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.
|
|
1289
|
-
*/
|
|
1290
|
-
payto?: PaymentMethodConfigurationUpdateParams.Payto;
|
|
1291
|
-
|
|
1292
1262
|
/**
|
|
1293
1263
|
* 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.
|
|
1294
1264
|
*/
|
|
@@ -1996,26 +1966,6 @@ declare module 'stripe' {
|
|
|
1996
1966
|
}
|
|
1997
1967
|
}
|
|
1998
1968
|
|
|
1999
|
-
interface Payto {
|
|
2000
|
-
/**
|
|
2001
|
-
* Whether or not the payment method should be displayed.
|
|
2002
|
-
*/
|
|
2003
|
-
display_preference?: Payto.DisplayPreference;
|
|
2004
|
-
}
|
|
2005
|
-
|
|
2006
|
-
namespace Payto {
|
|
2007
|
-
interface DisplayPreference {
|
|
2008
|
-
/**
|
|
2009
|
-
* The account's preference for whether or not to display this payment method.
|
|
2010
|
-
*/
|
|
2011
|
-
preference?: DisplayPreference.Preference;
|
|
2012
|
-
}
|
|
2013
|
-
|
|
2014
|
-
namespace DisplayPreference {
|
|
2015
|
-
type Preference = 'none' | 'off' | 'on';
|
|
2016
|
-
}
|
|
2017
|
-
}
|
|
2018
|
-
|
|
2019
1969
|
interface Promptpay {
|
|
2020
1970
|
/**
|
|
2021
1971
|
* Whether or not the payment method should be displayed.
|
|
@@ -73,8 +73,6 @@ declare module 'stripe' {
|
|
|
73
73
|
|
|
74
74
|
giropay?: PaymentMethod.Giropay;
|
|
75
75
|
|
|
76
|
-
gopay?: PaymentMethod.Gopay;
|
|
77
|
-
|
|
78
76
|
grabpay?: PaymentMethod.Grabpay;
|
|
79
77
|
|
|
80
78
|
ideal?: PaymentMethod.Ideal;
|
|
@@ -96,8 +94,6 @@ declare module 'stripe' {
|
|
|
96
94
|
*/
|
|
97
95
|
livemode: boolean;
|
|
98
96
|
|
|
99
|
-
mb_way?: PaymentMethod.MbWay;
|
|
100
|
-
|
|
101
97
|
/**
|
|
102
98
|
* Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
|
|
103
99
|
*/
|
|
@@ -119,29 +115,21 @@ declare module 'stripe' {
|
|
|
119
115
|
|
|
120
116
|
paypal?: PaymentMethod.Paypal;
|
|
121
117
|
|
|
122
|
-
payto?: PaymentMethod.Payto;
|
|
123
|
-
|
|
124
118
|
pix?: PaymentMethod.Pix;
|
|
125
119
|
|
|
126
120
|
promptpay?: PaymentMethod.Promptpay;
|
|
127
121
|
|
|
128
|
-
qris?: PaymentMethod.Qris;
|
|
129
|
-
|
|
130
122
|
/**
|
|
131
123
|
* Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
|
|
132
124
|
*/
|
|
133
125
|
radar_options?: PaymentMethod.RadarOptions;
|
|
134
126
|
|
|
135
|
-
rechnung?: PaymentMethod.Rechnung;
|
|
136
|
-
|
|
137
127
|
revolut_pay?: PaymentMethod.RevolutPay;
|
|
138
128
|
|
|
139
129
|
samsung_pay?: PaymentMethod.SamsungPay;
|
|
140
130
|
|
|
141
131
|
sepa_debit?: PaymentMethod.SepaDebit;
|
|
142
132
|
|
|
143
|
-
shopeepay?: PaymentMethod.Shopeepay;
|
|
144
|
-
|
|
145
133
|
sofort?: PaymentMethod.Sofort;
|
|
146
134
|
|
|
147
135
|
swish?: PaymentMethod.Swish;
|
|
@@ -952,8 +940,6 @@ declare module 'stripe' {
|
|
|
952
940
|
|
|
953
941
|
interface Giropay {}
|
|
954
942
|
|
|
955
|
-
interface Gopay {}
|
|
956
|
-
|
|
957
943
|
interface Grabpay {}
|
|
958
944
|
|
|
959
945
|
interface Ideal {
|
|
@@ -1183,8 +1169,6 @@ declare module 'stripe' {
|
|
|
1183
1169
|
persistent_token?: string;
|
|
1184
1170
|
}
|
|
1185
1171
|
|
|
1186
|
-
interface MbWay {}
|
|
1187
|
-
|
|
1188
1172
|
interface Mobilepay {}
|
|
1189
1173
|
|
|
1190
1174
|
interface Multibanco {}
|
|
@@ -1244,11 +1228,6 @@ declare module 'stripe' {
|
|
|
1244
1228
|
interface Paynow {}
|
|
1245
1229
|
|
|
1246
1230
|
interface Paypal {
|
|
1247
|
-
/**
|
|
1248
|
-
* Uniquely identifies this particular PayPal account. You can use this attribute to check whether two PayPal accounts are the same.
|
|
1249
|
-
*/
|
|
1250
|
-
fingerprint?: string | null;
|
|
1251
|
-
|
|
1252
1231
|
/**
|
|
1253
1232
|
* Owner's email. Values are provided by PayPal directly
|
|
1254
1233
|
* (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
|
@@ -1259,37 +1238,12 @@ declare module 'stripe' {
|
|
|
1259
1238
|
* PayPal account PayerID. This identifier uniquely identifies the PayPal customer.
|
|
1260
1239
|
*/
|
|
1261
1240
|
payer_id: string | null;
|
|
1262
|
-
|
|
1263
|
-
/**
|
|
1264
|
-
* Owner's verified email. Values are verified or provided by PayPal directly
|
|
1265
|
-
* (if supported) at the time of authorization or settlement. They cannot be set or mutated.
|
|
1266
|
-
*/
|
|
1267
|
-
verified_email?: string | null;
|
|
1268
|
-
}
|
|
1269
|
-
|
|
1270
|
-
interface Payto {
|
|
1271
|
-
/**
|
|
1272
|
-
* Bank-State-Branch number of the bank account.
|
|
1273
|
-
*/
|
|
1274
|
-
bsb_number: string | null;
|
|
1275
|
-
|
|
1276
|
-
/**
|
|
1277
|
-
* Last four digits of the bank account number.
|
|
1278
|
-
*/
|
|
1279
|
-
last4: string | null;
|
|
1280
|
-
|
|
1281
|
-
/**
|
|
1282
|
-
* The PayID alias for the bank account.
|
|
1283
|
-
*/
|
|
1284
|
-
pay_id: string | null;
|
|
1285
1241
|
}
|
|
1286
1242
|
|
|
1287
1243
|
interface Pix {}
|
|
1288
1244
|
|
|
1289
1245
|
interface Promptpay {}
|
|
1290
1246
|
|
|
1291
|
-
interface Qris {}
|
|
1292
|
-
|
|
1293
1247
|
interface RadarOptions {
|
|
1294
1248
|
/**
|
|
1295
1249
|
* 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.
|
|
@@ -1297,29 +1251,6 @@ declare module 'stripe' {
|
|
|
1297
1251
|
session?: string;
|
|
1298
1252
|
}
|
|
1299
1253
|
|
|
1300
|
-
interface Rechnung {
|
|
1301
|
-
dob?: Rechnung.Dob;
|
|
1302
|
-
}
|
|
1303
|
-
|
|
1304
|
-
namespace Rechnung {
|
|
1305
|
-
interface Dob {
|
|
1306
|
-
/**
|
|
1307
|
-
* The day of birth, between 1 and 31.
|
|
1308
|
-
*/
|
|
1309
|
-
day: number;
|
|
1310
|
-
|
|
1311
|
-
/**
|
|
1312
|
-
* The month of birth, between 1 and 12.
|
|
1313
|
-
*/
|
|
1314
|
-
month: number;
|
|
1315
|
-
|
|
1316
|
-
/**
|
|
1317
|
-
* The four-digit year of birth.
|
|
1318
|
-
*/
|
|
1319
|
-
year: number;
|
|
1320
|
-
}
|
|
1321
|
-
}
|
|
1322
|
-
|
|
1323
1254
|
interface RevolutPay {}
|
|
1324
1255
|
|
|
1325
1256
|
interface SamsungPay {}
|
|
@@ -1370,8 +1301,6 @@ declare module 'stripe' {
|
|
|
1370
1301
|
}
|
|
1371
1302
|
}
|
|
1372
1303
|
|
|
1373
|
-
interface Shopeepay {}
|
|
1374
|
-
|
|
1375
1304
|
interface Sofort {
|
|
1376
1305
|
/**
|
|
1377
1306
|
* Two-letter ISO code representing the country the bank account is located in.
|
|
@@ -1402,7 +1331,6 @@ declare module 'stripe' {
|
|
|
1402
1331
|
| 'eps'
|
|
1403
1332
|
| 'fpx'
|
|
1404
1333
|
| 'giropay'
|
|
1405
|
-
| 'gopay'
|
|
1406
1334
|
| 'grabpay'
|
|
1407
1335
|
| 'ideal'
|
|
1408
1336
|
| 'interac_present'
|
|
@@ -1411,7 +1339,6 @@ declare module 'stripe' {
|
|
|
1411
1339
|
| 'konbini'
|
|
1412
1340
|
| 'kr_card'
|
|
1413
1341
|
| 'link'
|
|
1414
|
-
| 'mb_way'
|
|
1415
1342
|
| 'mobilepay'
|
|
1416
1343
|
| 'multibanco'
|
|
1417
1344
|
| 'naver_pay'
|
|
@@ -1420,15 +1347,11 @@ declare module 'stripe' {
|
|
|
1420
1347
|
| 'payco'
|
|
1421
1348
|
| 'paynow'
|
|
1422
1349
|
| 'paypal'
|
|
1423
|
-
| 'payto'
|
|
1424
1350
|
| 'pix'
|
|
1425
1351
|
| 'promptpay'
|
|
1426
|
-
| 'qris'
|
|
1427
|
-
| 'rechnung'
|
|
1428
1352
|
| 'revolut_pay'
|
|
1429
1353
|
| 'samsung_pay'
|
|
1430
1354
|
| 'sepa_debit'
|
|
1431
|
-
| 'shopeepay'
|
|
1432
1355
|
| 'sofort'
|
|
1433
1356
|
| 'swish'
|
|
1434
1357
|
| 'twint'
|
|
@@ -1442,11 +1365,6 @@ declare module 'stripe' {
|
|
|
1442
1365
|
*/
|
|
1443
1366
|
account_holder_type: UsBankAccount.AccountHolderType | null;
|
|
1444
1367
|
|
|
1445
|
-
/**
|
|
1446
|
-
* Account number of the bank account.
|
|
1447
|
-
*/
|
|
1448
|
-
account_number?: string | null;
|
|
1449
|
-
|
|
1450
1368
|
/**
|
|
1451
1369
|
* Account type: checkings or savings. Defaults to checking if omitted.
|
|
1452
1370
|
*/
|
|
@@ -108,11 +108,6 @@ declare module 'stripe' {
|
|
|
108
108
|
*/
|
|
109
109
|
giropay?: PaymentMethodCreateParams.Giropay;
|
|
110
110
|
|
|
111
|
-
/**
|
|
112
|
-
* If this is a Gopay PaymentMethod, this hash contains details about the Gopay payment method.
|
|
113
|
-
*/
|
|
114
|
-
gopay?: PaymentMethodCreateParams.Gopay;
|
|
115
|
-
|
|
116
111
|
/**
|
|
117
112
|
* If this is a `grabpay` PaymentMethod, this hash contains details about the GrabPay payment method.
|
|
118
113
|
*/
|
|
@@ -153,11 +148,6 @@ declare module 'stripe' {
|
|
|
153
148
|
*/
|
|
154
149
|
link?: PaymentMethodCreateParams.Link;
|
|
155
150
|
|
|
156
|
-
/**
|
|
157
|
-
* If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method.
|
|
158
|
-
*/
|
|
159
|
-
mb_way?: PaymentMethodCreateParams.MbWay;
|
|
160
|
-
|
|
161
151
|
/**
|
|
162
152
|
* 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. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
|
|
163
153
|
*/
|
|
@@ -208,11 +198,6 @@ declare module 'stripe' {
|
|
|
208
198
|
*/
|
|
209
199
|
paypal?: PaymentMethodCreateParams.Paypal;
|
|
210
200
|
|
|
211
|
-
/**
|
|
212
|
-
* If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
|
|
213
|
-
*/
|
|
214
|
-
payto?: PaymentMethodCreateParams.Payto;
|
|
215
|
-
|
|
216
201
|
/**
|
|
217
202
|
* If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
|
|
218
203
|
*/
|
|
@@ -223,21 +208,11 @@ declare module 'stripe' {
|
|
|
223
208
|
*/
|
|
224
209
|
promptpay?: PaymentMethodCreateParams.Promptpay;
|
|
225
210
|
|
|
226
|
-
/**
|
|
227
|
-
* If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
|
|
228
|
-
*/
|
|
229
|
-
qris?: PaymentMethodCreateParams.Qris;
|
|
230
|
-
|
|
231
211
|
/**
|
|
232
212
|
* Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
|
|
233
213
|
*/
|
|
234
214
|
radar_options?: PaymentMethodCreateParams.RadarOptions;
|
|
235
215
|
|
|
236
|
-
/**
|
|
237
|
-
* If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
|
|
238
|
-
*/
|
|
239
|
-
rechnung?: PaymentMethodCreateParams.Rechnung;
|
|
240
|
-
|
|
241
216
|
/**
|
|
242
217
|
* If this is a `Revolut Pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
|
|
243
218
|
*/
|
|
@@ -253,11 +228,6 @@ declare module 'stripe' {
|
|
|
253
228
|
*/
|
|
254
229
|
sepa_debit?: PaymentMethodCreateParams.SepaDebit;
|
|
255
230
|
|
|
256
|
-
/**
|
|
257
|
-
* If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
|
|
258
|
-
*/
|
|
259
|
-
shopeepay?: PaymentMethodCreateParams.Shopeepay;
|
|
260
|
-
|
|
261
231
|
/**
|
|
262
232
|
* If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
|
|
263
233
|
*/
|
|
@@ -511,8 +481,6 @@ declare module 'stripe' {
|
|
|
511
481
|
|
|
512
482
|
interface Giropay {}
|
|
513
483
|
|
|
514
|
-
interface Gopay {}
|
|
515
|
-
|
|
516
484
|
interface Grabpay {}
|
|
517
485
|
|
|
518
486
|
interface Ideal {
|
|
@@ -578,8 +546,6 @@ declare module 'stripe' {
|
|
|
578
546
|
|
|
579
547
|
interface Link {}
|
|
580
548
|
|
|
581
|
-
interface MbWay {}
|
|
582
|
-
|
|
583
549
|
interface Mobilepay {}
|
|
584
550
|
|
|
585
551
|
interface Multibanco {}
|
|
@@ -640,29 +606,10 @@ declare module 'stripe' {
|
|
|
640
606
|
|
|
641
607
|
interface Paypal {}
|
|
642
608
|
|
|
643
|
-
interface Payto {
|
|
644
|
-
/**
|
|
645
|
-
* The account number for the bank account.
|
|
646
|
-
*/
|
|
647
|
-
account_number?: string;
|
|
648
|
-
|
|
649
|
-
/**
|
|
650
|
-
* Bank-State-Branch number of the bank account.
|
|
651
|
-
*/
|
|
652
|
-
bsb_number?: string;
|
|
653
|
-
|
|
654
|
-
/**
|
|
655
|
-
* The PayID alias for the bank account.
|
|
656
|
-
*/
|
|
657
|
-
pay_id?: string;
|
|
658
|
-
}
|
|
659
|
-
|
|
660
609
|
interface Pix {}
|
|
661
610
|
|
|
662
611
|
interface Promptpay {}
|
|
663
612
|
|
|
664
|
-
interface Qris {}
|
|
665
|
-
|
|
666
613
|
interface RadarOptions {
|
|
667
614
|
/**
|
|
668
615
|
* 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.
|
|
@@ -670,32 +617,6 @@ declare module 'stripe' {
|
|
|
670
617
|
session?: string;
|
|
671
618
|
}
|
|
672
619
|
|
|
673
|
-
interface Rechnung {
|
|
674
|
-
/**
|
|
675
|
-
* Customer's date of birth
|
|
676
|
-
*/
|
|
677
|
-
dob: Rechnung.Dob;
|
|
678
|
-
}
|
|
679
|
-
|
|
680
|
-
namespace Rechnung {
|
|
681
|
-
interface Dob {
|
|
682
|
-
/**
|
|
683
|
-
* The day of birth, between 1 and 31.
|
|
684
|
-
*/
|
|
685
|
-
day: number;
|
|
686
|
-
|
|
687
|
-
/**
|
|
688
|
-
* The month of birth, between 1 and 12.
|
|
689
|
-
*/
|
|
690
|
-
month: number;
|
|
691
|
-
|
|
692
|
-
/**
|
|
693
|
-
* The four-digit year of birth.
|
|
694
|
-
*/
|
|
695
|
-
year: number;
|
|
696
|
-
}
|
|
697
|
-
}
|
|
698
|
-
|
|
699
620
|
interface RevolutPay {}
|
|
700
621
|
|
|
701
622
|
interface SamsungPay {}
|
|
@@ -707,8 +628,6 @@ declare module 'stripe' {
|
|
|
707
628
|
iban: string;
|
|
708
629
|
}
|
|
709
630
|
|
|
710
|
-
interface Shopeepay {}
|
|
711
|
-
|
|
712
631
|
interface Sofort {
|
|
713
632
|
/**
|
|
714
633
|
* Two-letter ISO code representing the country the bank account is located in.
|
|
@@ -742,7 +661,6 @@ declare module 'stripe' {
|
|
|
742
661
|
| 'eps'
|
|
743
662
|
| 'fpx'
|
|
744
663
|
| 'giropay'
|
|
745
|
-
| 'gopay'
|
|
746
664
|
| 'grabpay'
|
|
747
665
|
| 'ideal'
|
|
748
666
|
| 'kakao_pay'
|
|
@@ -750,7 +668,6 @@ declare module 'stripe' {
|
|
|
750
668
|
| 'konbini'
|
|
751
669
|
| 'kr_card'
|
|
752
670
|
| 'link'
|
|
753
|
-
| 'mb_way'
|
|
754
671
|
| 'mobilepay'
|
|
755
672
|
| 'multibanco'
|
|
756
673
|
| 'naver_pay'
|
|
@@ -759,15 +676,11 @@ declare module 'stripe' {
|
|
|
759
676
|
| 'payco'
|
|
760
677
|
| 'paynow'
|
|
761
678
|
| 'paypal'
|
|
762
|
-
| 'payto'
|
|
763
679
|
| 'pix'
|
|
764
680
|
| 'promptpay'
|
|
765
|
-
| 'qris'
|
|
766
|
-
| 'rechnung'
|
|
767
681
|
| 'revolut_pay'
|
|
768
682
|
| 'samsung_pay'
|
|
769
683
|
| 'sepa_debit'
|
|
770
|
-
| 'shopeepay'
|
|
771
684
|
| 'sofort'
|
|
772
685
|
| 'swish'
|
|
773
686
|
| 'twint'
|
|
@@ -856,11 +769,6 @@ declare module 'stripe' {
|
|
|
856
769
|
*/
|
|
857
770
|
naver_pay?: PaymentMethodUpdateParams.NaverPay;
|
|
858
771
|
|
|
859
|
-
/**
|
|
860
|
-
* If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
|
|
861
|
-
*/
|
|
862
|
-
payto?: PaymentMethodUpdateParams.Payto;
|
|
863
|
-
|
|
864
772
|
/**
|
|
865
773
|
* If this is an `us_bank_account` PaymentMethod, this hash contains details about the US bank account payment method.
|
|
866
774
|
*/
|
|
@@ -935,23 +843,6 @@ declare module 'stripe' {
|
|
|
935
843
|
type Funding = 'card' | 'points';
|
|
936
844
|
}
|
|
937
845
|
|
|
938
|
-
interface Payto {
|
|
939
|
-
/**
|
|
940
|
-
* The account number for the bank account.
|
|
941
|
-
*/
|
|
942
|
-
account_number?: string;
|
|
943
|
-
|
|
944
|
-
/**
|
|
945
|
-
* Bank-State-Branch number of the bank account.
|
|
946
|
-
*/
|
|
947
|
-
bsb_number?: string;
|
|
948
|
-
|
|
949
|
-
/**
|
|
950
|
-
* The PayID alias for the bank account.
|
|
951
|
-
*/
|
|
952
|
-
pay_id?: string;
|
|
953
|
-
}
|
|
954
|
-
|
|
955
846
|
interface UsBankAccount {
|
|
956
847
|
/**
|
|
957
848
|
* Bank account holder type.
|
|
@@ -1007,7 +898,6 @@ declare module 'stripe' {
|
|
|
1007
898
|
| 'eps'
|
|
1008
899
|
| 'fpx'
|
|
1009
900
|
| 'giropay'
|
|
1010
|
-
| 'gopay'
|
|
1011
901
|
| 'grabpay'
|
|
1012
902
|
| 'ideal'
|
|
1013
903
|
| 'kakao_pay'
|
|
@@ -1015,7 +905,6 @@ declare module 'stripe' {
|
|
|
1015
905
|
| 'konbini'
|
|
1016
906
|
| 'kr_card'
|
|
1017
907
|
| 'link'
|
|
1018
|
-
| 'mb_way'
|
|
1019
908
|
| 'mobilepay'
|
|
1020
909
|
| 'multibanco'
|
|
1021
910
|
| 'naver_pay'
|
|
@@ -1024,15 +913,11 @@ declare module 'stripe' {
|
|
|
1024
913
|
| 'payco'
|
|
1025
914
|
| 'paynow'
|
|
1026
915
|
| 'paypal'
|
|
1027
|
-
| 'payto'
|
|
1028
916
|
| 'pix'
|
|
1029
917
|
| 'promptpay'
|
|
1030
|
-
| 'qris'
|
|
1031
|
-
| 'rechnung'
|
|
1032
918
|
| 'revolut_pay'
|
|
1033
919
|
| 'samsung_pay'
|
|
1034
920
|
| 'sepa_debit'
|
|
1035
|
-
| 'shopeepay'
|
|
1036
921
|
| 'sofort'
|
|
1037
922
|
| 'swish'
|
|
1038
923
|
| 'twint'
|
package/types/Prices.d.ts
CHANGED
|
@@ -93,11 +93,6 @@ declare module 'stripe' {
|
|
|
93
93
|
*/
|
|
94
94
|
metadata: Stripe.Metadata;
|
|
95
95
|
|
|
96
|
-
/**
|
|
97
|
-
* Subscriptions using this price will be migrated to use the new referenced price.
|
|
98
|
-
*/
|
|
99
|
-
migrate_to?: Price.MigrateTo | null;
|
|
100
|
-
|
|
101
96
|
/**
|
|
102
97
|
* A brief description of the price, hidden from customers.
|
|
103
98
|
*/
|
|
@@ -244,23 +239,6 @@ declare module 'stripe' {
|
|
|
244
239
|
preset: number | null;
|
|
245
240
|
}
|
|
246
241
|
|
|
247
|
-
interface MigrateTo {
|
|
248
|
-
/**
|
|
249
|
-
* The behavior controlling at what point in the subscription lifecycle to migrate the price
|
|
250
|
-
*/
|
|
251
|
-
behavior: 'at_cycle_end';
|
|
252
|
-
|
|
253
|
-
/**
|
|
254
|
-
* The unix timestamp after at which subscriptions will start to migrate to the new price.
|
|
255
|
-
*/
|
|
256
|
-
effective_after: number;
|
|
257
|
-
|
|
258
|
-
/**
|
|
259
|
-
* The id of the price being migrated to
|
|
260
|
-
*/
|
|
261
|
-
price: string;
|
|
262
|
-
}
|
|
263
|
-
|
|
264
242
|
interface Recurring {
|
|
265
243
|
/**
|
|
266
244
|
* Specifies a usage aggregation strategy for prices of `usage_type=metered`. Defaults to `sum`.
|