stripe 17.5.0-beta.3 → 17.5.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.
Files changed (175) hide show
  1. package/CHANGELOG.md +131 -1005
  2. package/README.md +33 -1
  3. package/VERSION +1 -1
  4. package/cjs/resources/FinancialConnections/Accounts.js +0 -5
  5. package/cjs/resources/Invoices.js +0 -17
  6. package/cjs/resources/PaymentIntents.js +0 -8
  7. package/cjs/resources/Quotes.js +0 -32
  8. package/cjs/resources/SubscriptionSchedules.js +0 -4
  9. package/cjs/resources/Terminal/Readers.js +0 -12
  10. package/cjs/resources.js +10 -48
  11. package/cjs/stripe.core.js +1 -1
  12. package/esm/resources/FinancialConnections/Accounts.js +0 -5
  13. package/esm/resources/Invoices.js +0 -17
  14. package/esm/resources/PaymentIntents.js +0 -8
  15. package/esm/resources/Quotes.js +0 -32
  16. package/esm/resources/SubscriptionSchedules.js +0 -4
  17. package/esm/resources/Terminal/Readers.js +0 -12
  18. package/esm/resources.js +0 -33
  19. package/esm/stripe.core.js +1 -1
  20. package/package.json +1 -1
  21. package/types/AccountLinksResource.d.ts +1 -5
  22. package/types/AccountSessions.d.ts +0 -45
  23. package/types/AccountSessionsResource.d.ts +0 -355
  24. package/types/Accounts.d.ts +1 -190
  25. package/types/AccountsResource.d.ts +0 -520
  26. package/types/Charges.d.ts +0 -138
  27. package/types/ChargesResource.d.ts +0 -1294
  28. package/types/Checkout/Sessions.d.ts +6 -340
  29. package/types/Checkout/SessionsResource.d.ts +5 -445
  30. package/types/ConfirmationTokens.d.ts +0 -99
  31. package/types/Coupons.d.ts +1 -1
  32. package/types/CouponsResource.d.ts +1 -1
  33. package/types/CreditNotes.d.ts +0 -21
  34. package/types/CreditNotesResource.d.ts +0 -51
  35. package/types/CustomersResource.d.ts +4 -9
  36. package/types/Disputes.d.ts +2 -2
  37. package/types/DisputesResource.d.ts +2 -2
  38. package/types/EventTypes.d.ts +0 -596
  39. package/types/Events.d.ts +0 -93
  40. package/types/FinancialConnections/Accounts.d.ts +1 -29
  41. package/types/FinancialConnections/AccountsResource.d.ts +3 -35
  42. package/types/FinancialConnections/Sessions.d.ts +1 -49
  43. package/types/FinancialConnections/SessionsResource.d.ts +1 -38
  44. package/types/InvoiceItems.d.ts +0 -5
  45. package/types/InvoiceItemsResource.d.ts +0 -98
  46. package/types/InvoiceLineItems.d.ts +1 -28
  47. package/types/Invoices.d.ts +4 -138
  48. package/types/InvoicesResource.d.ts +1886 -5568
  49. package/types/Issuing/Authorizations.d.ts +0 -1
  50. package/types/Issuing/CardholdersResource.d.ts +1 -2
  51. package/types/Issuing/Transactions.d.ts +0 -2
  52. package/types/Issuing/TransactionsResource.d.ts +0 -5
  53. package/types/LineItems.d.ts +0 -32
  54. package/types/Mandates.d.ts +0 -77
  55. package/types/PaymentIntents.d.ts +1 -644
  56. package/types/PaymentIntentsResource.d.ts +3768 -8055
  57. package/types/PaymentLinks.d.ts +0 -6
  58. package/types/PaymentLinksResource.d.ts +0 -12
  59. package/types/PaymentMethodConfigurations.d.ts +0 -180
  60. package/types/PaymentMethodConfigurationsResource.d.ts +0 -250
  61. package/types/PaymentMethods.d.ts +0 -99
  62. package/types/PaymentMethodsResource.d.ts +0 -133
  63. package/types/Prices.d.ts +0 -22
  64. package/types/PricesResource.d.ts +0 -22
  65. package/types/Products.d.ts +0 -39
  66. package/types/ProductsResource.d.ts +0 -36
  67. package/types/Quotes.d.ts +1 -591
  68. package/types/QuotesResource.d.ts +199 -2531
  69. package/types/Refunds.d.ts +0 -14
  70. package/types/SetupAttempts.d.ts +0 -38
  71. package/types/SetupIntents.d.ts +1 -111
  72. package/types/SetupIntentsResource.d.ts +3 -645
  73. package/types/Sources.d.ts +0 -23
  74. package/types/SubscriptionItems.d.ts +0 -21
  75. package/types/SubscriptionItemsResource.d.ts +0 -109
  76. package/types/SubscriptionSchedules.d.ts +0 -200
  77. package/types/SubscriptionSchedulesResource.d.ts +13 -1231
  78. package/types/Subscriptions.d.ts +1 -91
  79. package/types/SubscriptionsResource.d.ts +2 -369
  80. package/types/Tax/Calculations.d.ts +2 -1
  81. package/types/Tax/CalculationsResource.d.ts +2 -1
  82. package/types/Tax/Registrations.d.ts +189 -0
  83. package/types/Tax/RegistrationsResource.d.ts +252 -0
  84. package/types/Tax/Transactions.d.ts +2 -1
  85. package/types/TaxIds.d.ts +2 -1
  86. package/types/TaxIdsResource.d.ts +2 -1
  87. package/types/Terminal/Readers.d.ts +0 -310
  88. package/types/Terminal/ReadersResource.d.ts +0 -215
  89. package/types/TestHelpers/ConfirmationTokensResource.d.ts +0 -104
  90. package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +0 -26
  91. package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +0 -26
  92. package/types/Treasury/FinancialAccountFeatures.d.ts +0 -7
  93. package/types/Treasury/FinancialAccounts.d.ts +0 -5
  94. package/types/Treasury/FinancialAccountsResource.d.ts +0 -37
  95. package/types/Treasury/OutboundTransfers.d.ts +0 -26
  96. package/types/Treasury/OutboundTransfersResource.d.ts +0 -26
  97. package/types/Treasury/ReceivedCredits.d.ts +0 -26
  98. package/types/Treasury/ReceivedDebits.d.ts +0 -31
  99. package/types/WebhookEndpointsResource.d.ts +0 -70
  100. package/types/index.d.ts +0 -62
  101. package/cjs/resources/AccountNotices.js +0 -21
  102. package/cjs/resources/Capital/FinancingOffers.js +0 -21
  103. package/cjs/resources/Capital/FinancingSummary.js +0 -12
  104. package/cjs/resources/Capital/FinancingTransactions.js +0 -17
  105. package/cjs/resources/FinancialConnections/Institutions.js +0 -17
  106. package/cjs/resources/GiftCards/Cards.js +0 -23
  107. package/cjs/resources/GiftCards/Transactions.js +0 -33
  108. package/cjs/resources/Issuing/CreditUnderwritingRecords.js +0 -33
  109. package/cjs/resources/Issuing/DisputeSettlementDetails.js +0 -17
  110. package/cjs/resources/Issuing/FraudLiabilityDebits.js +0 -17
  111. package/cjs/resources/Margins.js +0 -22
  112. package/cjs/resources/Orders.js +0 -24
  113. package/cjs/resources/PaymentAttemptRecords.js +0 -17
  114. package/cjs/resources/PaymentRecords.js +0 -29
  115. package/cjs/resources/Tax/Associations.js +0 -9
  116. package/cjs/resources/Tax/Forms.js +0 -20
  117. package/cjs/resources/Terminal/ReaderCollectedData.js +0 -12
  118. package/esm/resources/AccountNotices.js +0 -18
  119. package/esm/resources/Capital/FinancingOffers.js +0 -18
  120. package/esm/resources/Capital/FinancingSummary.js +0 -9
  121. package/esm/resources/Capital/FinancingTransactions.js +0 -14
  122. package/esm/resources/FinancialConnections/Institutions.js +0 -14
  123. package/esm/resources/GiftCards/Cards.js +0 -20
  124. package/esm/resources/GiftCards/Transactions.js +0 -30
  125. package/esm/resources/Issuing/CreditUnderwritingRecords.js +0 -30
  126. package/esm/resources/Issuing/DisputeSettlementDetails.js +0 -14
  127. package/esm/resources/Issuing/FraudLiabilityDebits.js +0 -14
  128. package/esm/resources/Margins.js +0 -19
  129. package/esm/resources/Orders.js +0 -21
  130. package/esm/resources/PaymentAttemptRecords.js +0 -14
  131. package/esm/resources/PaymentRecords.js +0 -26
  132. package/esm/resources/Tax/Associations.js +0 -6
  133. package/esm/resources/Tax/Forms.js +0 -17
  134. package/esm/resources/Terminal/ReaderCollectedData.js +0 -9
  135. package/types/AccountNotices.d.ts +0 -113
  136. package/types/AccountNoticesResource.d.ts +0 -98
  137. package/types/Billing/MeterErrorReports.d.ts +0 -106
  138. package/types/Capital/FinancingOffers.d.ts +0 -188
  139. package/types/Capital/FinancingOffersResource.d.ts +0 -97
  140. package/types/Capital/FinancingSummary.d.ts +0 -106
  141. package/types/Capital/FinancingSummaryResource.d.ts +0 -27
  142. package/types/Capital/FinancingTransactions.d.ts +0 -135
  143. package/types/Capital/FinancingTransactionsResource.d.ts +0 -68
  144. package/types/FinancialConnections/AccountInferredBalances.d.ts +0 -38
  145. package/types/FinancialConnections/Institutions.d.ts +0 -93
  146. package/types/FinancialConnections/InstitutionsResource.d.ts +0 -47
  147. package/types/GiftCards/Cards.d.ts +0 -118
  148. package/types/GiftCards/CardsResource.d.ts +0 -159
  149. package/types/GiftCards/Transactions.d.ts +0 -129
  150. package/types/GiftCards/TransactionsResource.d.ts +0 -201
  151. package/types/InvoicePayments.d.ts +0 -113
  152. package/types/Issuing/CreditUnderwritingRecords.d.ts +0 -451
  153. package/types/Issuing/CreditUnderwritingRecordsResource.d.ts +0 -1032
  154. package/types/Issuing/DisputeSettlementDetails.d.ts +0 -73
  155. package/types/Issuing/DisputeSettlementDetailsResource.d.ts +0 -52
  156. package/types/Issuing/FraudLiabilityDebits.d.ts +0 -52
  157. package/types/Issuing/FraudLiabilityDebitsResource.d.ts +0 -52
  158. package/types/Issuing/Settlements.d.ts +0 -103
  159. package/types/Margins.d.ts +0 -56
  160. package/types/MarginsResource.d.ts +0 -114
  161. package/types/Orders.d.ts +0 -1178
  162. package/types/OrdersResource.d.ts +0 -2959
  163. package/types/PaymentAttemptRecords.d.ts +0 -242
  164. package/types/PaymentAttemptRecordsResource.d.ts +0 -47
  165. package/types/PaymentRecords.d.ts +0 -242
  166. package/types/PaymentRecordsResource.d.ts +0 -455
  167. package/types/QuoteLines.d.ts +0 -634
  168. package/types/QuotePreviewInvoices.d.ts +0 -1652
  169. package/types/QuotePreviewSubscriptionSchedules.d.ts +0 -824
  170. package/types/Tax/Associations.d.ts +0 -126
  171. package/types/Tax/AssociationsResource.d.ts +0 -29
  172. package/types/Tax/Forms.d.ts +0 -220
  173. package/types/Tax/FormsResource.d.ts +0 -107
  174. package/types/Terminal/ReaderCollectedData.d.ts +0 -51
  175. package/types/Terminal/ReaderCollectedDataResource.d.ts +0 -29
@@ -73,12 +73,8 @@ 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
- id_bank_transfer?: PaymentMethod.IdBankTransfer;
81
-
82
78
  ideal?: PaymentMethod.Ideal;
83
79
 
84
80
  interac_present?: PaymentMethod.InteracPresent;
@@ -98,8 +94,6 @@ declare module 'stripe' {
98
94
  */
99
95
  livemode: boolean;
100
96
 
101
- mb_way?: PaymentMethod.MbWay;
102
-
103
97
  /**
104
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.
105
99
  */
@@ -121,29 +115,21 @@ declare module 'stripe' {
121
115
 
122
116
  paypal?: PaymentMethod.Paypal;
123
117
 
124
- payto?: PaymentMethod.Payto;
125
-
126
118
  pix?: PaymentMethod.Pix;
127
119
 
128
120
  promptpay?: PaymentMethod.Promptpay;
129
121
 
130
- qris?: PaymentMethod.Qris;
131
-
132
122
  /**
133
123
  * Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
134
124
  */
135
125
  radar_options?: PaymentMethod.RadarOptions;
136
126
 
137
- rechnung?: PaymentMethod.Rechnung;
138
-
139
127
  revolut_pay?: PaymentMethod.RevolutPay;
140
128
 
141
129
  samsung_pay?: PaymentMethod.SamsungPay;
142
130
 
143
131
  sepa_debit?: PaymentMethod.SepaDebit;
144
132
 
145
- shopeepay?: PaymentMethod.Shopeepay;
146
-
147
133
  sofort?: PaymentMethod.Sofort;
148
134
 
149
135
  swish?: PaymentMethod.Swish;
@@ -961,24 +947,8 @@ declare module 'stripe' {
961
947
 
962
948
  interface Giropay {}
963
949
 
964
- interface Gopay {}
965
-
966
950
  interface Grabpay {}
967
951
 
968
- interface IdBankTransfer {
969
- bank: IdBankTransfer.Bank | null;
970
-
971
- bank_code: string | null;
972
-
973
- bank_name: string | null;
974
-
975
- display_name: string | null;
976
- }
977
-
978
- namespace IdBankTransfer {
979
- type Bank = 'bca' | 'bni' | 'bri' | 'cimb' | 'permata';
980
- }
981
-
982
952
  interface Ideal {
983
953
  /**
984
954
  * The customer's bank, if provided. Can be one of `abn_amro`, `asn_bank`, `bunq`, `handelsbanken`, `ing`, `knab`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`.
@@ -1206,8 +1176,6 @@ declare module 'stripe' {
1206
1176
  persistent_token?: string;
1207
1177
  }
1208
1178
 
1209
- interface MbWay {}
1210
-
1211
1179
  interface Mobilepay {}
1212
1180
 
1213
1181
  interface Multibanco {}
@@ -1267,11 +1235,6 @@ declare module 'stripe' {
1267
1235
  interface Paynow {}
1268
1236
 
1269
1237
  interface Paypal {
1270
- /**
1271
- * Uniquely identifies this particular PayPal account. You can use this attribute to check whether two PayPal accounts are the same.
1272
- */
1273
- fingerprint?: string | null;
1274
-
1275
1238
  /**
1276
1239
  * Owner's email. Values are provided by PayPal directly
1277
1240
  * (if supported) at the time of authorization or settlement. They cannot be set or mutated.
@@ -1282,37 +1245,12 @@ declare module 'stripe' {
1282
1245
  * PayPal account PayerID. This identifier uniquely identifies the PayPal customer.
1283
1246
  */
1284
1247
  payer_id: string | null;
1285
-
1286
- /**
1287
- * Owner's verified email. Values are verified or provided by PayPal directly
1288
- * (if supported) at the time of authorization or settlement. They cannot be set or mutated.
1289
- */
1290
- verified_email?: string | null;
1291
- }
1292
-
1293
- interface Payto {
1294
- /**
1295
- * Bank-State-Branch number of the bank account.
1296
- */
1297
- bsb_number: string | null;
1298
-
1299
- /**
1300
- * Last four digits of the bank account number.
1301
- */
1302
- last4: string | null;
1303
-
1304
- /**
1305
- * The PayID alias for the bank account.
1306
- */
1307
- pay_id: string | null;
1308
1248
  }
1309
1249
 
1310
1250
  interface Pix {}
1311
1251
 
1312
1252
  interface Promptpay {}
1313
1253
 
1314
- interface Qris {}
1315
-
1316
1254
  interface RadarOptions {
1317
1255
  /**
1318
1256
  * 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.
@@ -1320,29 +1258,6 @@ declare module 'stripe' {
1320
1258
  session?: string;
1321
1259
  }
1322
1260
 
1323
- interface Rechnung {
1324
- dob?: Rechnung.Dob;
1325
- }
1326
-
1327
- namespace Rechnung {
1328
- interface Dob {
1329
- /**
1330
- * The day of birth, between 1 and 31.
1331
- */
1332
- day: number;
1333
-
1334
- /**
1335
- * The month of birth, between 1 and 12.
1336
- */
1337
- month: number;
1338
-
1339
- /**
1340
- * The four-digit year of birth.
1341
- */
1342
- year: number;
1343
- }
1344
- }
1345
-
1346
1261
  interface RevolutPay {}
1347
1262
 
1348
1263
  interface SamsungPay {}
@@ -1393,8 +1308,6 @@ declare module 'stripe' {
1393
1308
  }
1394
1309
  }
1395
1310
 
1396
- interface Shopeepay {}
1397
-
1398
1311
  interface Sofort {
1399
1312
  /**
1400
1313
  * Two-letter ISO code representing the country the bank account is located in.
@@ -1425,9 +1338,7 @@ declare module 'stripe' {
1425
1338
  | 'eps'
1426
1339
  | 'fpx'
1427
1340
  | 'giropay'
1428
- | 'gopay'
1429
1341
  | 'grabpay'
1430
- | 'id_bank_transfer'
1431
1342
  | 'ideal'
1432
1343
  | 'interac_present'
1433
1344
  | 'kakao_pay'
@@ -1435,7 +1346,6 @@ declare module 'stripe' {
1435
1346
  | 'konbini'
1436
1347
  | 'kr_card'
1437
1348
  | 'link'
1438
- | 'mb_way'
1439
1349
  | 'mobilepay'
1440
1350
  | 'multibanco'
1441
1351
  | 'naver_pay'
@@ -1444,15 +1354,11 @@ declare module 'stripe' {
1444
1354
  | 'payco'
1445
1355
  | 'paynow'
1446
1356
  | 'paypal'
1447
- | 'payto'
1448
1357
  | 'pix'
1449
1358
  | 'promptpay'
1450
- | 'qris'
1451
- | 'rechnung'
1452
1359
  | 'revolut_pay'
1453
1360
  | 'samsung_pay'
1454
1361
  | 'sepa_debit'
1455
- | 'shopeepay'
1456
1362
  | 'sofort'
1457
1363
  | 'swish'
1458
1364
  | 'twint'
@@ -1466,11 +1372,6 @@ declare module 'stripe' {
1466
1372
  */
1467
1373
  account_holder_type: UsBankAccount.AccountHolderType | null;
1468
1374
 
1469
- /**
1470
- * Account number of the bank account.
1471
- */
1472
- account_number?: string | null;
1473
-
1474
1375
  /**
1475
1376
  * Account type: checkings or savings. Defaults to checking if omitted.
1476
1377
  */
@@ -108,21 +108,11 @@ 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
  */
119
114
  grabpay?: PaymentMethodCreateParams.Grabpay;
120
115
 
121
- /**
122
- * If this is an `IdBankTransfer` PaymentMethod, this hash contains details about the IdBankTransfer payment method.
123
- */
124
- id_bank_transfer?: PaymentMethodCreateParams.IdBankTransfer;
125
-
126
116
  /**
127
117
  * If this is an `ideal` PaymentMethod, this hash contains details about the iDEAL payment method.
128
118
  */
@@ -158,11 +148,6 @@ declare module 'stripe' {
158
148
  */
159
149
  link?: PaymentMethodCreateParams.Link;
160
150
 
161
- /**
162
- * If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method.
163
- */
164
- mb_way?: PaymentMethodCreateParams.MbWay;
165
-
166
151
  /**
167
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`.
168
153
  */
@@ -213,11 +198,6 @@ declare module 'stripe' {
213
198
  */
214
199
  paypal?: PaymentMethodCreateParams.Paypal;
215
200
 
216
- /**
217
- * If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
218
- */
219
- payto?: PaymentMethodCreateParams.Payto;
220
-
221
201
  /**
222
202
  * If this is a `pix` PaymentMethod, this hash contains details about the Pix payment method.
223
203
  */
@@ -228,21 +208,11 @@ declare module 'stripe' {
228
208
  */
229
209
  promptpay?: PaymentMethodCreateParams.Promptpay;
230
210
 
231
- /**
232
- * If this is a `qris` PaymentMethod, this hash contains details about the QRIS payment method.
233
- */
234
- qris?: PaymentMethodCreateParams.Qris;
235
-
236
211
  /**
237
212
  * Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
238
213
  */
239
214
  radar_options?: PaymentMethodCreateParams.RadarOptions;
240
215
 
241
- /**
242
- * If this is a `rechnung` PaymentMethod, this hash contains details about the Rechnung payment method.
243
- */
244
- rechnung?: PaymentMethodCreateParams.Rechnung;
245
-
246
216
  /**
247
217
  * If this is a `Revolut Pay` PaymentMethod, this hash contains details about the Revolut Pay payment method.
248
218
  */
@@ -258,11 +228,6 @@ declare module 'stripe' {
258
228
  */
259
229
  sepa_debit?: PaymentMethodCreateParams.SepaDebit;
260
230
 
261
- /**
262
- * If this is a Shopeepay PaymentMethod, this hash contains details about the Shopeepay payment method.
263
- */
264
- shopeepay?: PaymentMethodCreateParams.Shopeepay;
265
-
266
231
  /**
267
232
  * If this is a `sofort` PaymentMethod, this hash contains details about the SOFORT payment method.
268
233
  */
@@ -516,21 +481,8 @@ declare module 'stripe' {
516
481
 
517
482
  interface Giropay {}
518
483
 
519
- interface Gopay {}
520
-
521
484
  interface Grabpay {}
522
485
 
523
- interface IdBankTransfer {
524
- /**
525
- * Bank where the account is held.
526
- */
527
- bank?: IdBankTransfer.Bank;
528
- }
529
-
530
- namespace IdBankTransfer {
531
- type Bank = 'bca' | 'bni' | 'bri' | 'cimb' | 'permata';
532
- }
533
-
534
486
  interface Ideal {
535
487
  /**
536
488
  * The customer's bank. Only use this parameter for existing customers. Don't use it for new customers.
@@ -594,8 +546,6 @@ declare module 'stripe' {
594
546
 
595
547
  interface Link {}
596
548
 
597
- interface MbWay {}
598
-
599
549
  interface Mobilepay {}
600
550
 
601
551
  interface Multibanco {}
@@ -656,29 +606,10 @@ declare module 'stripe' {
656
606
 
657
607
  interface Paypal {}
658
608
 
659
- interface Payto {
660
- /**
661
- * The account number for the bank account.
662
- */
663
- account_number?: string;
664
-
665
- /**
666
- * Bank-State-Branch number of the bank account.
667
- */
668
- bsb_number?: string;
669
-
670
- /**
671
- * The PayID alias for the bank account.
672
- */
673
- pay_id?: string;
674
- }
675
-
676
609
  interface Pix {}
677
610
 
678
611
  interface Promptpay {}
679
612
 
680
- interface Qris {}
681
-
682
613
  interface RadarOptions {
683
614
  /**
684
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.
@@ -686,32 +617,6 @@ declare module 'stripe' {
686
617
  session?: string;
687
618
  }
688
619
 
689
- interface Rechnung {
690
- /**
691
- * Customer's date of birth
692
- */
693
- dob: Rechnung.Dob;
694
- }
695
-
696
- namespace Rechnung {
697
- interface Dob {
698
- /**
699
- * The day of birth, between 1 and 31.
700
- */
701
- day: number;
702
-
703
- /**
704
- * The month of birth, between 1 and 12.
705
- */
706
- month: number;
707
-
708
- /**
709
- * The four-digit year of birth.
710
- */
711
- year: number;
712
- }
713
- }
714
-
715
620
  interface RevolutPay {}
716
621
 
717
622
  interface SamsungPay {}
@@ -723,8 +628,6 @@ declare module 'stripe' {
723
628
  iban: string;
724
629
  }
725
630
 
726
- interface Shopeepay {}
727
-
728
631
  interface Sofort {
729
632
  /**
730
633
  * Two-letter ISO code representing the country the bank account is located in.
@@ -758,16 +661,13 @@ declare module 'stripe' {
758
661
  | 'eps'
759
662
  | 'fpx'
760
663
  | 'giropay'
761
- | 'gopay'
762
664
  | 'grabpay'
763
- | 'id_bank_transfer'
764
665
  | 'ideal'
765
666
  | 'kakao_pay'
766
667
  | 'klarna'
767
668
  | 'konbini'
768
669
  | 'kr_card'
769
670
  | 'link'
770
- | 'mb_way'
771
671
  | 'mobilepay'
772
672
  | 'multibanco'
773
673
  | 'naver_pay'
@@ -776,15 +676,11 @@ declare module 'stripe' {
776
676
  | 'payco'
777
677
  | 'paynow'
778
678
  | 'paypal'
779
- | 'payto'
780
679
  | 'pix'
781
680
  | 'promptpay'
782
- | 'qris'
783
- | 'rechnung'
784
681
  | 'revolut_pay'
785
682
  | 'samsung_pay'
786
683
  | 'sepa_debit'
787
- | 'shopeepay'
788
684
  | 'sofort'
789
685
  | 'swish'
790
686
  | 'twint'
@@ -873,11 +769,6 @@ declare module 'stripe' {
873
769
  */
874
770
  naver_pay?: PaymentMethodUpdateParams.NaverPay;
875
771
 
876
- /**
877
- * If this is a `payto` PaymentMethod, this hash contains details about the PayTo payment method.
878
- */
879
- payto?: PaymentMethodUpdateParams.Payto;
880
-
881
772
  /**
882
773
  * If this is an `us_bank_account` PaymentMethod, this hash contains details about the US bank account payment method.
883
774
  */
@@ -952,23 +843,6 @@ declare module 'stripe' {
952
843
  type Funding = 'card' | 'points';
953
844
  }
954
845
 
955
- interface Payto {
956
- /**
957
- * The account number for the bank account.
958
- */
959
- account_number?: string;
960
-
961
- /**
962
- * Bank-State-Branch number of the bank account.
963
- */
964
- bsb_number?: string;
965
-
966
- /**
967
- * The PayID alias for the bank account.
968
- */
969
- pay_id?: string;
970
- }
971
-
972
846
  interface UsBankAccount {
973
847
  /**
974
848
  * Bank account holder type.
@@ -1024,16 +898,13 @@ declare module 'stripe' {
1024
898
  | 'eps'
1025
899
  | 'fpx'
1026
900
  | 'giropay'
1027
- | 'gopay'
1028
901
  | 'grabpay'
1029
- | 'id_bank_transfer'
1030
902
  | 'ideal'
1031
903
  | 'kakao_pay'
1032
904
  | 'klarna'
1033
905
  | 'konbini'
1034
906
  | 'kr_card'
1035
907
  | 'link'
1036
- | 'mb_way'
1037
908
  | 'mobilepay'
1038
909
  | 'multibanco'
1039
910
  | 'naver_pay'
@@ -1042,15 +913,11 @@ declare module 'stripe' {
1042
913
  | 'payco'
1043
914
  | 'paynow'
1044
915
  | 'paypal'
1045
- | 'payto'
1046
916
  | 'pix'
1047
917
  | 'promptpay'
1048
- | 'qris'
1049
- | 'rechnung'
1050
918
  | 'revolut_pay'
1051
919
  | 'samsung_pay'
1052
920
  | 'sepa_debit'
1053
- | 'shopeepay'
1054
921
  | 'sofort'
1055
922
  | 'swish'
1056
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`.
@@ -372,11 +372,6 @@ declare module 'stripe' {
372
372
  */
373
373
  metadata?: Stripe.Emptyable<Stripe.MetadataParam>;
374
374
 
375
- /**
376
- * If specified, subscriptions using this price will be updated to use the new referenced price.
377
- */
378
- migrate_to?: Stripe.Emptyable<PriceUpdateParams.MigrateTo>;
379
-
380
375
  /**
381
376
  * A brief description of the price, hidden from customers.
382
377
  */
@@ -474,23 +469,6 @@ declare module 'stripe' {
474
469
  }
475
470
  }
476
471
 
477
- interface MigrateTo {
478
- /**
479
- * The behavior controlling the point in the subscription lifecycle after which to migrate the price. Currently must be `at_cycle_end`.
480
- */
481
- behavior: 'at_cycle_end';
482
-
483
- /**
484
- * The time after which subscriptions should start using the new price.
485
- */
486
- effective_after?: number;
487
-
488
- /**
489
- * The ID of the price object.
490
- */
491
- price: string;
492
- }
493
-
494
472
  type TaxBehavior = 'exclusive' | 'inclusive' | 'unspecified';
495
473
  }
496
474
 
@@ -98,11 +98,6 @@ declare module 'stripe' {
98
98
  */
99
99
  package_dimensions: Product.PackageDimensions | null;
100
100
 
101
- /**
102
- * Provisioning configuration for this product.
103
- */
104
- provisioning?: Product.Provisioning | null;
105
-
106
101
  /**
107
102
  * Whether this product is shipped (i.e., physical goods).
108
103
  */
@@ -169,40 +164,6 @@ declare module 'stripe' {
169
164
  width: number;
170
165
  }
171
166
 
172
- interface Provisioning {
173
- gift_card: Provisioning.GiftCard | null;
174
-
175
- /**
176
- * The type of provisioning, only `gift_card` currently supported.
177
- */
178
- type: 'gift_card';
179
- }
180
-
181
- namespace Provisioning {
182
- interface GiftCard {
183
- fixed_amount: GiftCard.FixedAmount | null;
184
-
185
- /**
186
- * The specific type of gift_card provisioning, only `fixed_amount` currently supported.
187
- */
188
- type: 'fixed_amount';
189
- }
190
-
191
- namespace GiftCard {
192
- interface FixedAmount {
193
- /**
194
- * The initial amount with which the provisioned gift card will be created.
195
- */
196
- amount: number;
197
-
198
- /**
199
- * Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
200
- */
201
- currency: string;
202
- }
203
- }
204
- }
205
-
206
167
  type Type = 'good' | 'service';
207
168
  }
208
169
  }
@@ -53,11 +53,6 @@ declare module 'stripe' {
53
53
  */
54
54
  package_dimensions?: ProductCreateParams.PackageDimensions;
55
55
 
56
- /**
57
- * Provisioning configuration for this product.
58
- */
59
- provisioning?: ProductCreateParams.Provisioning;
60
-
61
56
  /**
62
57
  * Whether this product is shipped (i.e., physical goods).
63
58
  */
@@ -283,37 +278,6 @@ declare module 'stripe' {
283
278
  width: number;
284
279
  }
285
280
 
286
- interface Provisioning {
287
- gift_card?: Provisioning.GiftCard;
288
-
289
- /**
290
- * The type of provisioning, only `gift_card` currently supported.
291
- */
292
- type: 'gift_card';
293
- }
294
-
295
- namespace Provisioning {
296
- interface GiftCard {
297
- fixed_amount?: GiftCard.FixedAmount;
298
-
299
- /**
300
- * The specific type of gift_card provisioning, only `fixed_amount` currently supported.
301
- */
302
- type: 'fixed_amount';
303
- }
304
-
305
- namespace GiftCard {
306
- interface FixedAmount {
307
- /**
308
- * The initial amount with which the provisioned gift card will be created.
309
- */
310
- amount: number;
311
-
312
- currency: string;
313
- }
314
- }
315
- }
316
-
317
281
  type Type = 'good' | 'service';
318
282
  }
319
283