stripe 17.5.0-beta.2 → 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 (186) hide show
  1. package/CHANGELOG.md +132 -996
  2. package/README.md +33 -1
  3. package/VERSION +1 -1
  4. package/cjs/apiVersion.js +1 -1
  5. package/cjs/resources/FinancialConnections/Accounts.js +0 -5
  6. package/cjs/resources/Invoices.js +0 -17
  7. package/cjs/resources/PaymentIntents.js +0 -8
  8. package/cjs/resources/Quotes.js +0 -32
  9. package/cjs/resources/SubscriptionSchedules.js +0 -4
  10. package/cjs/resources/Terminal/Readers.js +0 -12
  11. package/cjs/resources.js +10 -48
  12. package/cjs/stripe.core.js +1 -1
  13. package/esm/apiVersion.js +1 -1
  14. package/esm/resources/FinancialConnections/Accounts.js +0 -5
  15. package/esm/resources/Invoices.js +0 -17
  16. package/esm/resources/PaymentIntents.js +0 -8
  17. package/esm/resources/Quotes.js +0 -32
  18. package/esm/resources/SubscriptionSchedules.js +0 -4
  19. package/esm/resources/Terminal/Readers.js +0 -12
  20. package/esm/resources.js +0 -33
  21. package/esm/stripe.core.js +1 -1
  22. package/package.json +1 -1
  23. package/types/AccountLinksResource.d.ts +1 -5
  24. package/types/AccountSessions.d.ts +5 -50
  25. package/types/AccountSessionsResource.d.ts +5 -360
  26. package/types/Accounts.d.ts +5 -194
  27. package/types/AccountsResource.d.ts +0 -520
  28. package/types/Billing/CreditBalanceTransactions.d.ts +20 -1
  29. package/types/Capabilities.d.ts +2 -2
  30. package/types/Cards.d.ts +14 -0
  31. package/types/Charges.d.ts +10 -136
  32. package/types/ChargesResource.d.ts +0 -1294
  33. package/types/Checkout/Sessions.d.ts +25 -323
  34. package/types/Checkout/SessionsResource.d.ts +5 -445
  35. package/types/ConfirmationTokens.d.ts +7 -99
  36. package/types/Coupons.d.ts +1 -1
  37. package/types/CouponsResource.d.ts +1 -1
  38. package/types/CreditNotes.d.ts +0 -21
  39. package/types/CreditNotesResource.d.ts +0 -51
  40. package/types/CustomersResource.d.ts +42 -11
  41. package/types/Disputes.d.ts +22 -0
  42. package/types/DisputesResource.d.ts +12 -0
  43. package/types/EventTypes.d.ts +0 -596
  44. package/types/Events.d.ts +0 -93
  45. package/types/FinancialConnections/Accounts.d.ts +1 -29
  46. package/types/FinancialConnections/AccountsResource.d.ts +3 -35
  47. package/types/FinancialConnections/Sessions.d.ts +1 -49
  48. package/types/FinancialConnections/SessionsResource.d.ts +1 -38
  49. package/types/Forwarding/Requests.d.ts +2 -1
  50. package/types/Forwarding/RequestsResource.d.ts +2 -1
  51. package/types/InvoiceItems.d.ts +0 -5
  52. package/types/InvoiceItemsResource.d.ts +0 -98
  53. package/types/InvoiceLineItems.d.ts +1 -28
  54. package/types/Invoices.d.ts +23 -139
  55. package/types/InvoicesResource.d.ts +1907 -5535
  56. package/types/Issuing/Authorizations.d.ts +5 -0
  57. package/types/Issuing/CardholdersResource.d.ts +1 -2
  58. package/types/Issuing/Transactions.d.ts +5 -2
  59. package/types/Issuing/TransactionsResource.d.ts +0 -5
  60. package/types/LineItems.d.ts +0 -32
  61. package/types/Mandates.d.ts +0 -77
  62. package/types/PaymentIntents.d.ts +1 -644
  63. package/types/PaymentIntentsResource.d.ts +3768 -8055
  64. package/types/PaymentLinks.d.ts +0 -6
  65. package/types/PaymentLinksResource.d.ts +0 -12
  66. package/types/PaymentMethodConfigurations.d.ts +0 -180
  67. package/types/PaymentMethodConfigurationsResource.d.ts +0 -250
  68. package/types/PaymentMethods.d.ts +7 -99
  69. package/types/PaymentMethodsResource.d.ts +0 -133
  70. package/types/Payouts.d.ts +1 -1
  71. package/types/Persons.d.ts +2 -2
  72. package/types/Prices.d.ts +0 -22
  73. package/types/PricesResource.d.ts +0 -22
  74. package/types/Products.d.ts +0 -39
  75. package/types/ProductsResource.d.ts +0 -36
  76. package/types/Quotes.d.ts +1 -591
  77. package/types/QuotesResource.d.ts +199 -2531
  78. package/types/Refunds.d.ts +0 -14
  79. package/types/SetupAttempts.d.ts +0 -38
  80. package/types/SetupIntents.d.ts +1 -111
  81. package/types/SetupIntentsResource.d.ts +3 -645
  82. package/types/Sources.d.ts +7 -23
  83. package/types/SubscriptionItems.d.ts +0 -21
  84. package/types/SubscriptionItemsResource.d.ts +0 -109
  85. package/types/SubscriptionSchedules.d.ts +0 -200
  86. package/types/SubscriptionSchedulesResource.d.ts +13 -1231
  87. package/types/Subscriptions.d.ts +1 -91
  88. package/types/SubscriptionsResource.d.ts +2 -369
  89. package/types/Tax/Calculations.d.ts +21 -2
  90. package/types/Tax/CalculationsResource.d.ts +21 -2
  91. package/types/Tax/Registrations.d.ts +189 -0
  92. package/types/Tax/RegistrationsResource.d.ts +252 -0
  93. package/types/Tax/Transactions.d.ts +21 -2
  94. package/types/TaxIds.d.ts +21 -2
  95. package/types/TaxIdsResource.d.ts +21 -2
  96. package/types/Terminal/Readers.d.ts +0 -278
  97. package/types/Terminal/ReadersResource.d.ts +0 -215
  98. package/types/TestHelpers/ConfirmationTokensResource.d.ts +0 -104
  99. package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +0 -26
  100. package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +0 -26
  101. package/types/Treasury/FinancialAccountFeatures.d.ts +0 -7
  102. package/types/Treasury/FinancialAccounts.d.ts +0 -5
  103. package/types/Treasury/FinancialAccountsResource.d.ts +0 -37
  104. package/types/Treasury/OutboundTransfers.d.ts +0 -26
  105. package/types/Treasury/OutboundTransfersResource.d.ts +0 -26
  106. package/types/Treasury/ReceivedCredits.d.ts +0 -26
  107. package/types/Treasury/ReceivedDebits.d.ts +0 -31
  108. package/types/WebhookEndpointsResource.d.ts +2 -71
  109. package/types/index.d.ts +0 -62
  110. package/types/lib.d.ts +1 -1
  111. package/types/test/typescriptTest.ts +3 -3
  112. package/cjs/resources/AccountNotices.js +0 -21
  113. package/cjs/resources/Capital/FinancingOffers.js +0 -21
  114. package/cjs/resources/Capital/FinancingSummary.js +0 -12
  115. package/cjs/resources/Capital/FinancingTransactions.js +0 -17
  116. package/cjs/resources/FinancialConnections/Institutions.js +0 -17
  117. package/cjs/resources/GiftCards/Cards.js +0 -23
  118. package/cjs/resources/GiftCards/Transactions.js +0 -33
  119. package/cjs/resources/Issuing/CreditUnderwritingRecords.js +0 -33
  120. package/cjs/resources/Issuing/DisputeSettlementDetails.js +0 -17
  121. package/cjs/resources/Issuing/FraudLiabilityDebits.js +0 -17
  122. package/cjs/resources/Margins.js +0 -22
  123. package/cjs/resources/Orders.js +0 -24
  124. package/cjs/resources/PaymentAttemptRecords.js +0 -17
  125. package/cjs/resources/PaymentRecords.js +0 -29
  126. package/cjs/resources/Tax/Associations.js +0 -9
  127. package/cjs/resources/Tax/Forms.js +0 -20
  128. package/cjs/resources/Terminal/ReaderCollectedData.js +0 -12
  129. package/esm/resources/AccountNotices.js +0 -18
  130. package/esm/resources/Capital/FinancingOffers.js +0 -18
  131. package/esm/resources/Capital/FinancingSummary.js +0 -9
  132. package/esm/resources/Capital/FinancingTransactions.js +0 -14
  133. package/esm/resources/FinancialConnections/Institutions.js +0 -14
  134. package/esm/resources/GiftCards/Cards.js +0 -20
  135. package/esm/resources/GiftCards/Transactions.js +0 -30
  136. package/esm/resources/Issuing/CreditUnderwritingRecords.js +0 -30
  137. package/esm/resources/Issuing/DisputeSettlementDetails.js +0 -14
  138. package/esm/resources/Issuing/FraudLiabilityDebits.js +0 -14
  139. package/esm/resources/Margins.js +0 -19
  140. package/esm/resources/Orders.js +0 -21
  141. package/esm/resources/PaymentAttemptRecords.js +0 -14
  142. package/esm/resources/PaymentRecords.js +0 -26
  143. package/esm/resources/Tax/Associations.js +0 -6
  144. package/esm/resources/Tax/Forms.js +0 -17
  145. package/esm/resources/Terminal/ReaderCollectedData.js +0 -9
  146. package/types/AccountNotices.d.ts +0 -113
  147. package/types/AccountNoticesResource.d.ts +0 -98
  148. package/types/Billing/MeterErrorReports.d.ts +0 -106
  149. package/types/Capital/FinancingOffers.d.ts +0 -188
  150. package/types/Capital/FinancingOffersResource.d.ts +0 -97
  151. package/types/Capital/FinancingSummary.d.ts +0 -106
  152. package/types/Capital/FinancingSummaryResource.d.ts +0 -27
  153. package/types/Capital/FinancingTransactions.d.ts +0 -135
  154. package/types/Capital/FinancingTransactionsResource.d.ts +0 -68
  155. package/types/FinancialConnections/AccountInferredBalances.d.ts +0 -38
  156. package/types/FinancialConnections/Institutions.d.ts +0 -93
  157. package/types/FinancialConnections/InstitutionsResource.d.ts +0 -47
  158. package/types/GiftCards/Cards.d.ts +0 -118
  159. package/types/GiftCards/CardsResource.d.ts +0 -159
  160. package/types/GiftCards/Transactions.d.ts +0 -129
  161. package/types/GiftCards/TransactionsResource.d.ts +0 -201
  162. package/types/InvoicePayments.d.ts +0 -113
  163. package/types/Issuing/CreditUnderwritingRecords.d.ts +0 -451
  164. package/types/Issuing/CreditUnderwritingRecordsResource.d.ts +0 -1032
  165. package/types/Issuing/DisputeSettlementDetails.d.ts +0 -73
  166. package/types/Issuing/DisputeSettlementDetailsResource.d.ts +0 -52
  167. package/types/Issuing/FraudLiabilityDebits.d.ts +0 -52
  168. package/types/Issuing/FraudLiabilityDebitsResource.d.ts +0 -52
  169. package/types/Issuing/Settlements.d.ts +0 -103
  170. package/types/Margins.d.ts +0 -56
  171. package/types/MarginsResource.d.ts +0 -114
  172. package/types/Orders.d.ts +0 -1160
  173. package/types/OrdersResource.d.ts +0 -2923
  174. package/types/PaymentAttemptRecords.d.ts +0 -242
  175. package/types/PaymentAttemptRecordsResource.d.ts +0 -47
  176. package/types/PaymentRecords.d.ts +0 -259
  177. package/types/PaymentRecordsResource.d.ts +0 -455
  178. package/types/QuoteLines.d.ts +0 -634
  179. package/types/QuotePreviewInvoices.d.ts +0 -1634
  180. package/types/QuotePreviewSubscriptionSchedules.d.ts +0 -824
  181. package/types/Tax/Associations.d.ts +0 -126
  182. package/types/Tax/AssociationsResource.d.ts +0 -29
  183. package/types/Tax/Forms.d.ts +0 -220
  184. package/types/Tax/FormsResource.d.ts +0 -107
  185. package/types/Terminal/ReaderCollectedData.d.ts +0 -51
  186. package/types/Terminal/ReaderCollectedDataResource.d.ts +0 -29
@@ -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'
@@ -614,26 +614,20 @@ declare module 'stripe' {
614
614
  | 'eps'
615
615
  | 'fpx'
616
616
  | 'giropay'
617
- | 'gopay'
618
617
  | 'grabpay'
619
618
  | 'ideal'
620
619
  | 'klarna'
621
620
  | 'konbini'
622
621
  | 'link'
623
- | 'mb_way'
624
622
  | 'mobilepay'
625
623
  | 'multibanco'
626
624
  | 'oxxo'
627
625
  | 'p24'
628
626
  | 'paynow'
629
627
  | 'paypal'
630
- | 'payto'
631
628
  | 'pix'
632
629
  | 'promptpay'
633
- | 'qris'
634
- | 'rechnung'
635
630
  | 'sepa_debit'
636
- | 'shopeepay'
637
631
  | 'sofort'
638
632
  | 'swish'
639
633
  | 'twint'
@@ -1552,26 +1546,20 @@ declare module 'stripe' {
1552
1546
  | 'eps'
1553
1547
  | 'fpx'
1554
1548
  | 'giropay'
1555
- | 'gopay'
1556
1549
  | 'grabpay'
1557
1550
  | 'ideal'
1558
1551
  | 'klarna'
1559
1552
  | 'konbini'
1560
1553
  | 'link'
1561
- | 'mb_way'
1562
1554
  | 'mobilepay'
1563
1555
  | 'multibanco'
1564
1556
  | 'oxxo'
1565
1557
  | 'p24'
1566
1558
  | 'paynow'
1567
1559
  | 'paypal'
1568
- | 'payto'
1569
1560
  | 'pix'
1570
1561
  | 'promptpay'
1571
- | 'qris'
1572
- | 'rechnung'
1573
1562
  | 'sepa_debit'
1574
- | 'shopeepay'
1575
1563
  | 'sofort'
1576
1564
  | 'swish'
1577
1565
  | 'twint'
@@ -79,12 +79,8 @@ declare module 'stripe' {
79
79
 
80
80
  google_pay?: PaymentMethodConfiguration.GooglePay;
81
81
 
82
- gopay?: PaymentMethodConfiguration.Gopay;
83
-
84
82
  grabpay?: PaymentMethodConfiguration.Grabpay;
85
83
 
86
- id_bank_transfer?: PaymentMethodConfiguration.IdBankTransfer;
87
-
88
84
  ideal?: PaymentMethodConfiguration.Ideal;
89
85
 
90
86
  /**
@@ -127,18 +123,12 @@ declare module 'stripe' {
127
123
 
128
124
  paypal?: PaymentMethodConfiguration.Paypal;
129
125
 
130
- payto?: PaymentMethodConfiguration.Payto;
131
-
132
126
  promptpay?: PaymentMethodConfiguration.Promptpay;
133
127
 
134
- qris?: PaymentMethodConfiguration.Qris;
135
-
136
128
  revolut_pay?: PaymentMethodConfiguration.RevolutPay;
137
129
 
138
130
  sepa_debit?: PaymentMethodConfiguration.SepaDebit;
139
131
 
140
- shopeepay?: PaymentMethodConfiguration.Shopeepay;
141
-
142
132
  sofort?: PaymentMethodConfiguration.Sofort;
143
133
 
144
134
  swish?: PaymentMethodConfiguration.Swish;
@@ -833,40 +823,6 @@ declare module 'stripe' {
833
823
  }
834
824
  }
835
825
 
836
- interface Gopay {
837
- /**
838
- * Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
839
- */
840
- available: boolean;
841
-
842
- display_preference: Gopay.DisplayPreference;
843
- }
844
-
845
- namespace Gopay {
846
- interface DisplayPreference {
847
- /**
848
- * For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
849
- */
850
- overridable: boolean | null;
851
-
852
- /**
853
- * The account's display preference.
854
- */
855
- preference: DisplayPreference.Preference;
856
-
857
- /**
858
- * The effective display preference value.
859
- */
860
- value: DisplayPreference.Value;
861
- }
862
-
863
- namespace DisplayPreference {
864
- type Preference = 'none' | 'off' | 'on';
865
-
866
- type Value = 'off' | 'on';
867
- }
868
- }
869
-
870
826
  interface Grabpay {
871
827
  /**
872
828
  * Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
@@ -901,40 +857,6 @@ declare module 'stripe' {
901
857
  }
902
858
  }
903
859
 
904
- interface IdBankTransfer {
905
- /**
906
- * Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
907
- */
908
- available: boolean;
909
-
910
- display_preference: IdBankTransfer.DisplayPreference;
911
- }
912
-
913
- namespace IdBankTransfer {
914
- interface DisplayPreference {
915
- /**
916
- * For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
917
- */
918
- overridable: boolean | null;
919
-
920
- /**
921
- * The account's display preference.
922
- */
923
- preference: DisplayPreference.Preference;
924
-
925
- /**
926
- * The effective display preference value.
927
- */
928
- value: DisplayPreference.Value;
929
- }
930
-
931
- namespace DisplayPreference {
932
- type Preference = 'none' | 'off' | 'on';
933
-
934
- type Value = 'off' | 'on';
935
- }
936
- }
937
-
938
860
  interface Ideal {
939
861
  /**
940
862
  * Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
@@ -1309,40 +1231,6 @@ declare module 'stripe' {
1309
1231
  }
1310
1232
  }
1311
1233
 
1312
- interface Payto {
1313
- /**
1314
- * Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
1315
- */
1316
- available: boolean;
1317
-
1318
- display_preference: Payto.DisplayPreference;
1319
- }
1320
-
1321
- namespace Payto {
1322
- interface DisplayPreference {
1323
- /**
1324
- * For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
1325
- */
1326
- overridable: boolean | null;
1327
-
1328
- /**
1329
- * The account's display preference.
1330
- */
1331
- preference: DisplayPreference.Preference;
1332
-
1333
- /**
1334
- * The effective display preference value.
1335
- */
1336
- value: DisplayPreference.Value;
1337
- }
1338
-
1339
- namespace DisplayPreference {
1340
- type Preference = 'none' | 'off' | 'on';
1341
-
1342
- type Value = 'off' | 'on';
1343
- }
1344
- }
1345
-
1346
1234
  interface Promptpay {
1347
1235
  /**
1348
1236
  * Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
@@ -1377,40 +1265,6 @@ declare module 'stripe' {
1377
1265
  }
1378
1266
  }
1379
1267
 
1380
- interface Qris {
1381
- /**
1382
- * Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
1383
- */
1384
- available: boolean;
1385
-
1386
- display_preference: Qris.DisplayPreference;
1387
- }
1388
-
1389
- namespace Qris {
1390
- interface DisplayPreference {
1391
- /**
1392
- * For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
1393
- */
1394
- overridable: boolean | null;
1395
-
1396
- /**
1397
- * The account's display preference.
1398
- */
1399
- preference: DisplayPreference.Preference;
1400
-
1401
- /**
1402
- * The effective display preference value.
1403
- */
1404
- value: DisplayPreference.Value;
1405
- }
1406
-
1407
- namespace DisplayPreference {
1408
- type Preference = 'none' | 'off' | 'on';
1409
-
1410
- type Value = 'off' | 'on';
1411
- }
1412
- }
1413
-
1414
1268
  interface RevolutPay {
1415
1269
  /**
1416
1270
  * Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
@@ -1479,40 +1333,6 @@ declare module 'stripe' {
1479
1333
  }
1480
1334
  }
1481
1335
 
1482
- interface Shopeepay {
1483
- /**
1484
- * Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
1485
- */
1486
- available: boolean;
1487
-
1488
- display_preference: Shopeepay.DisplayPreference;
1489
- }
1490
-
1491
- namespace Shopeepay {
1492
- interface DisplayPreference {
1493
- /**
1494
- * For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
1495
- */
1496
- overridable: boolean | null;
1497
-
1498
- /**
1499
- * The account's display preference.
1500
- */
1501
- preference: DisplayPreference.Preference;
1502
-
1503
- /**
1504
- * The effective display preference value.
1505
- */
1506
- value: DisplayPreference.Value;
1507
- }
1508
-
1509
- namespace DisplayPreference {
1510
- type Preference = 'none' | 'off' | 'on';
1511
-
1512
- type Value = 'off' | 'on';
1513
- }
1514
- }
1515
-
1516
1336
  interface Sofort {
1517
1337
  /**
1518
1338
  * Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
@@ -113,21 +113,11 @@ declare module 'stripe' {
113
113
  */
114
114
  google_pay?: PaymentMethodConfigurationCreateParams.GooglePay;
115
115
 
116
- /**
117
- * GoPay is a [single use](https://stripe.com/docs/payments/payment-methods#usage) digital wallet payment method popular in Indonesia. When paying with GoPay, customers authenticate and approve payments using the Gojek app. Desktop checkout is performed by scanning a QR code. When checking out on mobile, customers are redirected to the Gojek app to confirm payment.
118
- */
119
- gopay?: PaymentMethodConfigurationCreateParams.Gopay;
120
-
121
116
  /**
122
117
  * GrabPay is a payment method developed by [Grab](https://www.grab.com/sg/consumer/finance/pay/). GrabPay is a digital wallet - customers maintain a balance in their wallets that they pay out with. Check this [page](https://stripe.com/docs/payments/grabpay) for more details.
123
118
  */
124
119
  grabpay?: PaymentMethodConfigurationCreateParams.Grabpay;
125
120
 
126
- /**
127
- * Stripe users in Indonesia can receive bank transfers from customers in Indonesia. Bank transfers are a popular B2C and B2B payment method in Indonesia.
128
- */
129
- id_bank_transfer?: PaymentMethodConfigurationCreateParams.IdBankTransfer;
130
-
131
121
  /**
132
122
  * iDEAL is a Netherlands-based payment method that allows customers to complete transactions online using their bank credentials. All major Dutch banks are members of Currence, the scheme that operates iDEAL, making it the most popular online payment method in the Netherlands with a share of online transactions close to 55%. Check this [page](https://stripe.com/docs/payments/ideal) for more details.
133
123
  */
@@ -193,21 +183,11 @@ declare module 'stripe' {
193
183
  */
194
184
  paypal?: PaymentMethodConfigurationCreateParams.Paypal;
195
185
 
196
- /**
197
- * 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.
198
- */
199
- payto?: PaymentMethodConfigurationCreateParams.Payto;
200
-
201
186
  /**
202
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.
203
188
  */
204
189
  promptpay?: PaymentMethodConfigurationCreateParams.Promptpay;
205
190
 
206
- /**
207
- * QRIS is a [real-time](https://docs.stripe.com/payments/real-time) payment method popular in Indonesia. When paying with QRIS, customers authenticate and approve payments by scanning a QR code in their preferred digital wallet app.
208
- */
209
- qris?: PaymentMethodConfigurationCreateParams.Qris;
210
-
211
191
  /**
212
192
  * Revolut Pay, developed by Revolut, a global finance app, is a digital wallet payment method. Revolut Pay uses the customer's stored balance or cards to fund the payment, and offers the option for non-Revolut customers to save their details after their first purchase.
213
193
  */
@@ -218,11 +198,6 @@ declare module 'stripe' {
218
198
  */
219
199
  sepa_debit?: PaymentMethodConfigurationCreateParams.SepaDebit;
220
200
 
221
- /**
222
- * ShopeePay is a [single use](https://stripe.com/docs/payments/payment-methods#usage) digital wallet payment method popular in Indonesia. When paying with GoPay, customers authenticate and approve payments using the Shopee app. Desktop checkout is performed by scanning a QR code. When checking out on mobile, customers are redirected to the Shopee app to confirm payment.
223
- */
224
- shopeepay?: PaymentMethodConfigurationCreateParams.Shopeepay;
225
-
226
201
  /**
227
202
  * Stripe users in Europe and the United States can use the [Payment Intents API](https://stripe.com/docs/payments/payment-intents)—a single integration path for creating payments using any supported method—to accept [Sofort](https://www.sofort.com/) payments from customers. Check this [page](https://stripe.com/docs/payments/sofort) for more details.
228
203
  */
@@ -675,26 +650,6 @@ declare module 'stripe' {
675
650
  }
676
651
  }
677
652
 
678
- interface Gopay {
679
- /**
680
- * Whether or not the payment method should be displayed.
681
- */
682
- display_preference?: Gopay.DisplayPreference;
683
- }
684
-
685
- namespace Gopay {
686
- interface DisplayPreference {
687
- /**
688
- * The account's preference for whether or not to display this payment method.
689
- */
690
- preference?: DisplayPreference.Preference;
691
- }
692
-
693
- namespace DisplayPreference {
694
- type Preference = 'none' | 'off' | 'on';
695
- }
696
- }
697
-
698
653
  interface Grabpay {
699
654
  /**
700
655
  * Whether or not the payment method should be displayed.
@@ -715,26 +670,6 @@ declare module 'stripe' {
715
670
  }
716
671
  }
717
672
 
718
- interface IdBankTransfer {
719
- /**
720
- * Whether or not the payment method should be displayed.
721
- */
722
- display_preference?: IdBankTransfer.DisplayPreference;
723
- }
724
-
725
- namespace IdBankTransfer {
726
- interface DisplayPreference {
727
- /**
728
- * The account's preference for whether or not to display this payment method.
729
- */
730
- preference?: DisplayPreference.Preference;
731
- }
732
-
733
- namespace DisplayPreference {
734
- type Preference = 'none' | 'off' | 'on';
735
- }
736
- }
737
-
738
673
  interface Ideal {
739
674
  /**
740
675
  * Whether or not the payment method should be displayed.
@@ -955,26 +890,6 @@ declare module 'stripe' {
955
890
  }
956
891
  }
957
892
 
958
- interface Payto {
959
- /**
960
- * Whether or not the payment method should be displayed.
961
- */
962
- display_preference?: Payto.DisplayPreference;
963
- }
964
-
965
- namespace Payto {
966
- interface DisplayPreference {
967
- /**
968
- * The account's preference for whether or not to display this payment method.
969
- */
970
- preference?: DisplayPreference.Preference;
971
- }
972
-
973
- namespace DisplayPreference {
974
- type Preference = 'none' | 'off' | 'on';
975
- }
976
- }
977
-
978
893
  interface Promptpay {
979
894
  /**
980
895
  * Whether or not the payment method should be displayed.
@@ -995,26 +910,6 @@ declare module 'stripe' {
995
910
  }
996
911
  }
997
912
 
998
- interface Qris {
999
- /**
1000
- * Whether or not the payment method should be displayed.
1001
- */
1002
- display_preference?: Qris.DisplayPreference;
1003
- }
1004
-
1005
- namespace Qris {
1006
- interface DisplayPreference {
1007
- /**
1008
- * The account's preference for whether or not to display this payment method.
1009
- */
1010
- preference?: DisplayPreference.Preference;
1011
- }
1012
-
1013
- namespace DisplayPreference {
1014
- type Preference = 'none' | 'off' | 'on';
1015
- }
1016
- }
1017
-
1018
913
  interface RevolutPay {
1019
914
  /**
1020
915
  * Whether or not the payment method should be displayed.
@@ -1055,26 +950,6 @@ declare module 'stripe' {
1055
950
  }
1056
951
  }
1057
952
 
1058
- interface Shopeepay {
1059
- /**
1060
- * Whether or not the payment method should be displayed.
1061
- */
1062
- display_preference?: Shopeepay.DisplayPreference;
1063
- }
1064
-
1065
- namespace Shopeepay {
1066
- interface DisplayPreference {
1067
- /**
1068
- * The account's preference for whether or not to display this payment method.
1069
- */
1070
- preference?: DisplayPreference.Preference;
1071
- }
1072
-
1073
- namespace DisplayPreference {
1074
- type Preference = 'none' | 'off' | 'on';
1075
- }
1076
- }
1077
-
1078
953
  interface Sofort {
1079
954
  /**
1080
955
  * Whether or not the payment method should be displayed.
@@ -1319,21 +1194,11 @@ declare module 'stripe' {
1319
1194
  */
1320
1195
  google_pay?: PaymentMethodConfigurationUpdateParams.GooglePay;
1321
1196
 
1322
- /**
1323
- * GoPay is a [single use](https://stripe.com/docs/payments/payment-methods#usage) digital wallet payment method popular in Indonesia. When paying with GoPay, customers authenticate and approve payments using the Gojek app. Desktop checkout is performed by scanning a QR code. When checking out on mobile, customers are redirected to the Gojek app to confirm payment.
1324
- */
1325
- gopay?: PaymentMethodConfigurationUpdateParams.Gopay;
1326
-
1327
1197
  /**
1328
1198
  * GrabPay is a payment method developed by [Grab](https://www.grab.com/sg/consumer/finance/pay/). GrabPay is a digital wallet - customers maintain a balance in their wallets that they pay out with. Check this [page](https://stripe.com/docs/payments/grabpay) for more details.
1329
1199
  */
1330
1200
  grabpay?: PaymentMethodConfigurationUpdateParams.Grabpay;
1331
1201
 
1332
- /**
1333
- * Stripe users in Indonesia can receive bank transfers from customers in Indonesia. Bank transfers are a popular B2C and B2B payment method in Indonesia.
1334
- */
1335
- id_bank_transfer?: PaymentMethodConfigurationUpdateParams.IdBankTransfer;
1336
-
1337
1202
  /**
1338
1203
  * iDEAL is a Netherlands-based payment method that allows customers to complete transactions online using their bank credentials. All major Dutch banks are members of Currence, the scheme that operates iDEAL, making it the most popular online payment method in the Netherlands with a share of online transactions close to 55%. Check this [page](https://stripe.com/docs/payments/ideal) for more details.
1339
1204
  */
@@ -1394,21 +1259,11 @@ declare module 'stripe' {
1394
1259
  */
1395
1260
  paypal?: PaymentMethodConfigurationUpdateParams.Paypal;
1396
1261
 
1397
- /**
1398
- * 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.
1399
- */
1400
- payto?: PaymentMethodConfigurationUpdateParams.Payto;
1401
-
1402
1262
  /**
1403
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.
1404
1264
  */
1405
1265
  promptpay?: PaymentMethodConfigurationUpdateParams.Promptpay;
1406
1266
 
1407
- /**
1408
- * QRIS is a [real-time](https://docs.stripe.com/payments/real-time) payment method popular in Indonesia. When paying with QRIS, customers authenticate and approve payments by scanning a QR code in their preferred digital wallet app.
1409
- */
1410
- qris?: PaymentMethodConfigurationUpdateParams.Qris;
1411
-
1412
1267
  /**
1413
1268
  * Revolut Pay, developed by Revolut, a global finance app, is a digital wallet payment method. Revolut Pay uses the customer's stored balance or cards to fund the payment, and offers the option for non-Revolut customers to save their details after their first purchase.
1414
1269
  */
@@ -1419,11 +1274,6 @@ declare module 'stripe' {
1419
1274
  */
1420
1275
  sepa_debit?: PaymentMethodConfigurationUpdateParams.SepaDebit;
1421
1276
 
1422
- /**
1423
- * ShopeePay is a [single use](https://stripe.com/docs/payments/payment-methods#usage) digital wallet payment method popular in Indonesia. When paying with GoPay, customers authenticate and approve payments using the Shopee app. Desktop checkout is performed by scanning a QR code. When checking out on mobile, customers are redirected to the Shopee app to confirm payment.
1424
- */
1425
- shopeepay?: PaymentMethodConfigurationUpdateParams.Shopeepay;
1426
-
1427
1277
  /**
1428
1278
  * Stripe users in Europe and the United States can use the [Payment Intents API](https://stripe.com/docs/payments/payment-intents)—a single integration path for creating payments using any supported method—to accept [Sofort](https://www.sofort.com/) payments from customers. Check this [page](https://stripe.com/docs/payments/sofort) for more details.
1429
1279
  */
@@ -1876,26 +1726,6 @@ declare module 'stripe' {
1876
1726
  }
1877
1727
  }
1878
1728
 
1879
- interface Gopay {
1880
- /**
1881
- * Whether or not the payment method should be displayed.
1882
- */
1883
- display_preference?: Gopay.DisplayPreference;
1884
- }
1885
-
1886
- namespace Gopay {
1887
- interface DisplayPreference {
1888
- /**
1889
- * The account's preference for whether or not to display this payment method.
1890
- */
1891
- preference?: DisplayPreference.Preference;
1892
- }
1893
-
1894
- namespace DisplayPreference {
1895
- type Preference = 'none' | 'off' | 'on';
1896
- }
1897
- }
1898
-
1899
1729
  interface Grabpay {
1900
1730
  /**
1901
1731
  * Whether or not the payment method should be displayed.
@@ -1916,26 +1746,6 @@ declare module 'stripe' {
1916
1746
  }
1917
1747
  }
1918
1748
 
1919
- interface IdBankTransfer {
1920
- /**
1921
- * Whether or not the payment method should be displayed.
1922
- */
1923
- display_preference?: IdBankTransfer.DisplayPreference;
1924
- }
1925
-
1926
- namespace IdBankTransfer {
1927
- interface DisplayPreference {
1928
- /**
1929
- * The account's preference for whether or not to display this payment method.
1930
- */
1931
- preference?: DisplayPreference.Preference;
1932
- }
1933
-
1934
- namespace DisplayPreference {
1935
- type Preference = 'none' | 'off' | 'on';
1936
- }
1937
- }
1938
-
1939
1749
  interface Ideal {
1940
1750
  /**
1941
1751
  * Whether or not the payment method should be displayed.
@@ -2156,26 +1966,6 @@ declare module 'stripe' {
2156
1966
  }
2157
1967
  }
2158
1968
 
2159
- interface Payto {
2160
- /**
2161
- * Whether or not the payment method should be displayed.
2162
- */
2163
- display_preference?: Payto.DisplayPreference;
2164
- }
2165
-
2166
- namespace Payto {
2167
- interface DisplayPreference {
2168
- /**
2169
- * The account's preference for whether or not to display this payment method.
2170
- */
2171
- preference?: DisplayPreference.Preference;
2172
- }
2173
-
2174
- namespace DisplayPreference {
2175
- type Preference = 'none' | 'off' | 'on';
2176
- }
2177
- }
2178
-
2179
1969
  interface Promptpay {
2180
1970
  /**
2181
1971
  * Whether or not the payment method should be displayed.
@@ -2196,26 +1986,6 @@ declare module 'stripe' {
2196
1986
  }
2197
1987
  }
2198
1988
 
2199
- interface Qris {
2200
- /**
2201
- * Whether or not the payment method should be displayed.
2202
- */
2203
- display_preference?: Qris.DisplayPreference;
2204
- }
2205
-
2206
- namespace Qris {
2207
- interface DisplayPreference {
2208
- /**
2209
- * The account's preference for whether or not to display this payment method.
2210
- */
2211
- preference?: DisplayPreference.Preference;
2212
- }
2213
-
2214
- namespace DisplayPreference {
2215
- type Preference = 'none' | 'off' | 'on';
2216
- }
2217
- }
2218
-
2219
1989
  interface RevolutPay {
2220
1990
  /**
2221
1991
  * Whether or not the payment method should be displayed.
@@ -2256,26 +2026,6 @@ declare module 'stripe' {
2256
2026
  }
2257
2027
  }
2258
2028
 
2259
- interface Shopeepay {
2260
- /**
2261
- * Whether or not the payment method should be displayed.
2262
- */
2263
- display_preference?: Shopeepay.DisplayPreference;
2264
- }
2265
-
2266
- namespace Shopeepay {
2267
- interface DisplayPreference {
2268
- /**
2269
- * The account's preference for whether or not to display this payment method.
2270
- */
2271
- preference?: DisplayPreference.Preference;
2272
- }
2273
-
2274
- namespace DisplayPreference {
2275
- type Preference = 'none' | 'off' | 'on';
2276
- }
2277
- }
2278
-
2279
2029
  interface Sofort {
2280
2030
  /**
2281
2031
  * Whether or not the payment method should be displayed.