stripe 17.8.0-beta.1 → 18.0.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 (208) hide show
  1. package/CHANGELOG.md +246 -1075
  2. package/OPENAPI_VERSION +1 -1
  3. package/README.md +0 -1
  4. package/VERSION +1 -1
  5. package/cjs/apiVersion.js +1 -1
  6. package/cjs/resources/FinancialConnections/Accounts.js +0 -5
  7. package/cjs/resources/{PaymentAttemptRecords.js → InvoicePayments.js} +4 -4
  8. package/cjs/resources/Invoices.js +0 -26
  9. package/cjs/resources/PaymentIntents.js +0 -8
  10. package/cjs/resources/Quotes.js +0 -32
  11. package/cjs/resources/SubscriptionItems.js +0 -9
  12. package/cjs/resources/SubscriptionSchedules.js +0 -4
  13. package/cjs/resources/Terminal/Readers.js +0 -12
  14. package/cjs/resources/TestHelpers/Terminal/Readers.js +0 -8
  15. package/cjs/resources.js +12 -48
  16. package/cjs/stripe.core.js +3 -14
  17. package/esm/apiVersion.js +1 -1
  18. package/esm/resources/FinancialConnections/Accounts.js +0 -5
  19. package/esm/resources/{PaymentAttemptRecords.js → InvoicePayments.js} +3 -3
  20. package/esm/resources/Invoices.js +0 -26
  21. package/esm/resources/PaymentIntents.js +0 -8
  22. package/esm/resources/Quotes.js +0 -32
  23. package/esm/resources/SubscriptionItems.js +0 -9
  24. package/esm/resources/SubscriptionSchedules.js +0 -4
  25. package/esm/resources/Terminal/Readers.js +0 -12
  26. package/esm/resources/TestHelpers/Terminal/Readers.js +0 -8
  27. package/esm/resources.js +1 -33
  28. package/esm/stripe.core.js +3 -14
  29. package/package.json +1 -1
  30. package/types/AccountLinksResource.d.ts +1 -5
  31. package/types/AccountSessions.d.ts +0 -45
  32. package/types/AccountSessionsResource.d.ts +0 -243
  33. package/types/Accounts.d.ts +48 -211
  34. package/types/AccountsResource.d.ts +86 -503
  35. package/types/ApplicationFees.d.ts +1 -1
  36. package/types/BalanceTransactions.d.ts +3 -1
  37. package/types/BalanceTransactionsResource.d.ts +1 -1
  38. package/types/BankAccounts.d.ts +9 -1
  39. package/types/Billing/CreditBalanceSummaryResource.d.ts +2 -2
  40. package/types/Billing/CreditGrants.d.ts +2 -2
  41. package/types/Billing/CreditGrantsResource.d.ts +2 -2
  42. package/types/Billing/Meters.d.ts +1 -1
  43. package/types/Billing/MetersResource.d.ts +2 -2
  44. package/types/Capabilities.d.ts +8 -0
  45. package/types/Cards.d.ts +1 -9
  46. package/types/Charges.d.ts +56 -153
  47. package/types/ChargesResource.d.ts +1 -1295
  48. package/types/Checkout/Sessions.d.ts +62 -336
  49. package/types/Checkout/SessionsResource.d.ts +69 -287
  50. package/types/ConfirmationTokens.d.ts +50 -99
  51. package/types/Coupons.d.ts +1 -1
  52. package/types/CouponsResource.d.ts +1 -1
  53. package/types/CreditNoteLineItems.d.ts +24 -22
  54. package/types/CreditNotes.d.ts +26 -23
  55. package/types/CreditNotesResource.d.ts +0 -15
  56. package/types/CustomerBalanceTransactions.d.ts +8 -1
  57. package/types/Customers.d.ts +3 -3
  58. package/types/CustomersResource.d.ts +3 -21
  59. package/types/EventTypes.d.ts +85 -545
  60. package/types/Events.d.ts +8 -93
  61. package/types/FinancialConnections/Accounts.d.ts +1 -29
  62. package/types/FinancialConnections/AccountsResource.d.ts +3 -35
  63. package/types/FinancialConnections/Sessions.d.ts +1 -49
  64. package/types/FinancialConnections/SessionsResource.d.ts +1 -38
  65. package/types/InvoiceItems.d.ts +60 -31
  66. package/types/InvoiceItemsResource.d.ts +26 -120
  67. package/types/InvoiceLineItems.d.ts +154 -91
  68. package/types/InvoicePayments.d.ts +2 -16
  69. package/types/InvoicePaymentsResource.d.ts +74 -0
  70. package/types/Invoices.d.ts +93 -214
  71. package/types/InvoicesResource.d.ts +307 -6599
  72. package/types/Issuing/Authorizations.d.ts +1 -1
  73. package/types/Issuing/AuthorizationsResource.d.ts +1 -1
  74. package/types/Issuing/CardholdersResource.d.ts +1 -2
  75. package/types/Issuing/Transactions.d.ts +0 -2
  76. package/types/Issuing/TransactionsResource.d.ts +0 -5
  77. package/types/LineItems.d.ts +0 -32
  78. package/types/Mandates.d.ts +8 -77
  79. package/types/PaymentIntents.d.ts +56 -648
  80. package/types/PaymentIntentsResource.d.ts +4120 -8122
  81. package/types/PaymentLinks.d.ts +49 -6
  82. package/types/PaymentLinksResource.d.ts +77 -12
  83. package/types/PaymentMethodConfigurations.d.ts +63 -135
  84. package/types/PaymentMethodConfigurationsResource.d.ts +116 -216
  85. package/types/PaymentMethodDomainsResource.d.ts +6 -6
  86. package/types/PaymentMethods.d.ts +50 -99
  87. package/types/PaymentMethodsResource.d.ts +53 -148
  88. package/types/Persons.d.ts +17 -9
  89. package/types/Plans.d.ts +0 -7
  90. package/types/PlansResource.d.ts +0 -7
  91. package/types/Prices.d.ts +0 -33
  92. package/types/PricesResource.d.ts +2 -35
  93. package/types/Products.d.ts +0 -39
  94. package/types/ProductsResource.d.ts +0 -36
  95. package/types/Quotes.d.ts +1 -591
  96. package/types/QuotesResource.d.ts +200 -2532
  97. package/types/Refunds.d.ts +18 -14
  98. package/types/Reviews.d.ts +3 -2
  99. package/types/SetupAttempts.d.ts +15 -38
  100. package/types/SetupIntents.d.ts +3 -111
  101. package/types/SetupIntentsResource.d.ts +155 -642
  102. package/types/Sources.d.ts +0 -29
  103. package/types/SubscriptionItems.d.ts +9 -34
  104. package/types/SubscriptionItemsResource.d.ts +2 -203
  105. package/types/SubscriptionSchedules.d.ts +0 -251
  106. package/types/SubscriptionSchedulesResource.d.ts +9 -1333
  107. package/types/Subscriptions.d.ts +4 -124
  108. package/types/SubscriptionsResource.d.ts +10 -455
  109. package/types/Tax/RegistrationsResource.d.ts +1 -1
  110. package/types/Terminal/Configurations.d.ts +86 -3
  111. package/types/Terminal/ConfigurationsResource.d.ts +192 -2
  112. package/types/Terminal/Readers.d.ts +0 -290
  113. package/types/Terminal/ReadersResource.d.ts +0 -215
  114. package/types/TestHelpers/ConfirmationTokensResource.d.ts +50 -103
  115. package/types/TestHelpers/Terminal/ReadersResource.d.ts +0 -53
  116. package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +0 -26
  117. package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +0 -26
  118. package/types/TokensResource.d.ts +6 -1
  119. package/types/Treasury/FinancialAccountFeatures.d.ts +0 -7
  120. package/types/Treasury/FinancialAccounts.d.ts +0 -5
  121. package/types/Treasury/FinancialAccountsResource.d.ts +1 -38
  122. package/types/Treasury/OutboundTransfers.d.ts +0 -26
  123. package/types/Treasury/OutboundTransfersResource.d.ts +0 -26
  124. package/types/Treasury/ReceivedCredits.d.ts +0 -26
  125. package/types/Treasury/ReceivedDebits.d.ts +0 -31
  126. package/types/V2/Core/EventDestinationsResource.d.ts +0 -5
  127. package/types/V2/Core/EventsResource.d.ts +0 -5
  128. package/types/V2/EventDestinations.d.ts +1 -1
  129. package/types/V2/Events.d.ts +1 -1
  130. package/types/WebhookEndpointsResource.d.ts +19 -71
  131. package/types/index.d.ts +2 -64
  132. package/types/lib.d.ts +1 -1
  133. package/types/test/typescriptTest.ts +3 -6
  134. package/cjs/resources/AccountNotices.js +0 -21
  135. package/cjs/resources/Capital/FinancingOffers.js +0 -21
  136. package/cjs/resources/Capital/FinancingSummary.js +0 -12
  137. package/cjs/resources/Capital/FinancingTransactions.js +0 -17
  138. package/cjs/resources/FinancialConnections/Institutions.js +0 -17
  139. package/cjs/resources/GiftCards/Cards.js +0 -23
  140. package/cjs/resources/GiftCards/Transactions.js +0 -33
  141. package/cjs/resources/Issuing/CreditUnderwritingRecords.js +0 -33
  142. package/cjs/resources/Issuing/DisputeSettlementDetails.js +0 -17
  143. package/cjs/resources/Issuing/FraudLiabilityDebits.js +0 -17
  144. package/cjs/resources/Margins.js +0 -22
  145. package/cjs/resources/Orders.js +0 -24
  146. package/cjs/resources/PaymentRecords.js +0 -29
  147. package/cjs/resources/Tax/Associations.js +0 -9
  148. package/cjs/resources/Tax/Forms.js +0 -20
  149. package/cjs/resources/Terminal/ReaderCollectedData.js +0 -12
  150. package/esm/resources/AccountNotices.js +0 -18
  151. package/esm/resources/Capital/FinancingOffers.js +0 -18
  152. package/esm/resources/Capital/FinancingSummary.js +0 -9
  153. package/esm/resources/Capital/FinancingTransactions.js +0 -14
  154. package/esm/resources/FinancialConnections/Institutions.js +0 -14
  155. package/esm/resources/GiftCards/Cards.js +0 -20
  156. package/esm/resources/GiftCards/Transactions.js +0 -30
  157. package/esm/resources/Issuing/CreditUnderwritingRecords.js +0 -30
  158. package/esm/resources/Issuing/DisputeSettlementDetails.js +0 -14
  159. package/esm/resources/Issuing/FraudLiabilityDebits.js +0 -14
  160. package/esm/resources/Margins.js +0 -19
  161. package/esm/resources/Orders.js +0 -21
  162. package/esm/resources/PaymentRecords.js +0 -26
  163. package/esm/resources/Tax/Associations.js +0 -6
  164. package/esm/resources/Tax/Forms.js +0 -17
  165. package/esm/resources/Terminal/ReaderCollectedData.js +0 -9
  166. package/types/AccountNotices.d.ts +0 -113
  167. package/types/AccountNoticesResource.d.ts +0 -98
  168. package/types/Billing/MeterErrorReports.d.ts +0 -106
  169. package/types/Capital/FinancingOffers.d.ts +0 -188
  170. package/types/Capital/FinancingOffersResource.d.ts +0 -97
  171. package/types/Capital/FinancingSummary.d.ts +0 -106
  172. package/types/Capital/FinancingSummaryResource.d.ts +0 -27
  173. package/types/Capital/FinancingTransactions.d.ts +0 -135
  174. package/types/Capital/FinancingTransactionsResource.d.ts +0 -68
  175. package/types/Deprecations.d.ts +0 -215
  176. package/types/FinancialConnections/AccountInferredBalances.d.ts +0 -38
  177. package/types/FinancialConnections/Institutions.d.ts +0 -93
  178. package/types/FinancialConnections/InstitutionsResource.d.ts +0 -47
  179. package/types/GiftCards/Cards.d.ts +0 -118
  180. package/types/GiftCards/CardsResource.d.ts +0 -159
  181. package/types/GiftCards/Transactions.d.ts +0 -129
  182. package/types/GiftCards/TransactionsResource.d.ts +0 -201
  183. package/types/Issuing/CreditUnderwritingRecords.d.ts +0 -451
  184. package/types/Issuing/CreditUnderwritingRecordsResource.d.ts +0 -1032
  185. package/types/Issuing/DisputeSettlementDetails.d.ts +0 -73
  186. package/types/Issuing/DisputeSettlementDetailsResource.d.ts +0 -52
  187. package/types/Issuing/FraudLiabilityDebits.d.ts +0 -52
  188. package/types/Issuing/FraudLiabilityDebitsResource.d.ts +0 -52
  189. package/types/Issuing/Settlements.d.ts +0 -103
  190. package/types/Margins.d.ts +0 -56
  191. package/types/MarginsResource.d.ts +0 -114
  192. package/types/Orders.d.ts +0 -1189
  193. package/types/OrdersResource.d.ts +0 -2981
  194. package/types/PaymentAttemptRecords.d.ts +0 -242
  195. package/types/PaymentAttemptRecordsResource.d.ts +0 -47
  196. package/types/PaymentRecords.d.ts +0 -242
  197. package/types/PaymentRecordsResource.d.ts +0 -455
  198. package/types/QuoteLines.d.ts +0 -634
  199. package/types/QuotePreviewInvoices.d.ts +0 -1658
  200. package/types/QuotePreviewSubscriptionSchedules.d.ts +0 -824
  201. package/types/Tax/Associations.d.ts +0 -126
  202. package/types/Tax/AssociationsResource.d.ts +0 -29
  203. package/types/Tax/Forms.d.ts +0 -220
  204. package/types/Tax/FormsResource.d.ts +0 -107
  205. package/types/Terminal/ReaderCollectedData.d.ts +0 -51
  206. package/types/Terminal/ReaderCollectedDataResource.d.ts +0 -29
  207. package/types/UsageRecordSummaries.d.ts +0 -56
  208. package/types/UsageRecords.d.ts +0 -45
@@ -59,6 +59,8 @@ declare module 'stripe' {
59
59
 
60
60
  bancontact?: PaymentMethodConfiguration.Bancontact;
61
61
 
62
+ billie?: PaymentMethodConfiguration.Billie;
63
+
62
64
  blik?: PaymentMethodConfiguration.Blik;
63
65
 
64
66
  boleto?: PaymentMethodConfiguration.Boleto;
@@ -79,12 +81,8 @@ declare module 'stripe' {
79
81
 
80
82
  google_pay?: PaymentMethodConfiguration.GooglePay;
81
83
 
82
- gopay?: PaymentMethodConfiguration.Gopay;
83
-
84
84
  grabpay?: PaymentMethodConfiguration.Grabpay;
85
85
 
86
- id_bank_transfer?: PaymentMethodConfiguration.IdBankTransfer;
87
-
88
86
  ideal?: PaymentMethodConfiguration.Ideal;
89
87
 
90
88
  /**
@@ -114,6 +112,8 @@ declare module 'stripe' {
114
112
  */
115
113
  name: string;
116
114
 
115
+ nz_bank_account?: PaymentMethodConfiguration.NzBankAccount;
116
+
117
117
  oxxo?: PaymentMethodConfiguration.Oxxo;
118
118
 
119
119
  p24?: PaymentMethodConfiguration.P24;
@@ -129,17 +129,13 @@ declare module 'stripe' {
129
129
 
130
130
  paypal?: PaymentMethodConfiguration.Paypal;
131
131
 
132
- payto?: PaymentMethodConfiguration.Payto;
133
-
134
132
  promptpay?: PaymentMethodConfiguration.Promptpay;
135
133
 
136
- qris?: PaymentMethodConfiguration.Qris;
137
-
138
134
  revolut_pay?: PaymentMethodConfiguration.RevolutPay;
139
135
 
140
- sepa_debit?: PaymentMethodConfiguration.SepaDebit;
136
+ satispay?: PaymentMethodConfiguration.Satispay;
141
137
 
142
- shopeepay?: PaymentMethodConfiguration.Shopeepay;
138
+ sepa_debit?: PaymentMethodConfiguration.SepaDebit;
143
139
 
144
140
  sofort?: PaymentMethodConfiguration.Sofort;
145
141
 
@@ -495,16 +491,16 @@ declare module 'stripe' {
495
491
  }
496
492
  }
497
493
 
498
- interface Blik {
494
+ interface Billie {
499
495
  /**
500
496
  * Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
501
497
  */
502
498
  available: boolean;
503
499
 
504
- display_preference: Blik.DisplayPreference;
500
+ display_preference: Billie.DisplayPreference;
505
501
  }
506
502
 
507
- namespace Blik {
503
+ namespace Billie {
508
504
  interface DisplayPreference {
509
505
  /**
510
506
  * For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
@@ -529,16 +525,16 @@ declare module 'stripe' {
529
525
  }
530
526
  }
531
527
 
532
- interface Boleto {
528
+ interface Blik {
533
529
  /**
534
530
  * Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
535
531
  */
536
532
  available: boolean;
537
533
 
538
- display_preference: Boleto.DisplayPreference;
534
+ display_preference: Blik.DisplayPreference;
539
535
  }
540
536
 
541
- namespace Boleto {
537
+ namespace Blik {
542
538
  interface DisplayPreference {
543
539
  /**
544
540
  * For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
@@ -563,16 +559,16 @@ declare module 'stripe' {
563
559
  }
564
560
  }
565
561
 
566
- interface Card {
562
+ interface Boleto {
567
563
  /**
568
564
  * Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
569
565
  */
570
566
  available: boolean;
571
567
 
572
- display_preference: Card.DisplayPreference;
568
+ display_preference: Boleto.DisplayPreference;
573
569
  }
574
570
 
575
- namespace Card {
571
+ namespace Boleto {
576
572
  interface DisplayPreference {
577
573
  /**
578
574
  * For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
@@ -597,16 +593,16 @@ declare module 'stripe' {
597
593
  }
598
594
  }
599
595
 
600
- interface CartesBancaires {
596
+ interface Card {
601
597
  /**
602
598
  * Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
603
599
  */
604
600
  available: boolean;
605
601
 
606
- display_preference: CartesBancaires.DisplayPreference;
602
+ display_preference: Card.DisplayPreference;
607
603
  }
608
604
 
609
- namespace CartesBancaires {
605
+ namespace Card {
610
606
  interface DisplayPreference {
611
607
  /**
612
608
  * For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
@@ -631,16 +627,16 @@ declare module 'stripe' {
631
627
  }
632
628
  }
633
629
 
634
- interface Cashapp {
630
+ interface CartesBancaires {
635
631
  /**
636
632
  * Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
637
633
  */
638
634
  available: boolean;
639
635
 
640
- display_preference: Cashapp.DisplayPreference;
636
+ display_preference: CartesBancaires.DisplayPreference;
641
637
  }
642
638
 
643
- namespace Cashapp {
639
+ namespace CartesBancaires {
644
640
  interface DisplayPreference {
645
641
  /**
646
642
  * For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
@@ -665,16 +661,16 @@ declare module 'stripe' {
665
661
  }
666
662
  }
667
663
 
668
- interface CustomerBalance {
664
+ interface Cashapp {
669
665
  /**
670
666
  * Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
671
667
  */
672
668
  available: boolean;
673
669
 
674
- display_preference: CustomerBalance.DisplayPreference;
670
+ display_preference: Cashapp.DisplayPreference;
675
671
  }
676
672
 
677
- namespace CustomerBalance {
673
+ namespace Cashapp {
678
674
  interface DisplayPreference {
679
675
  /**
680
676
  * For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
@@ -699,16 +695,16 @@ declare module 'stripe' {
699
695
  }
700
696
  }
701
697
 
702
- interface Eps {
698
+ interface CustomerBalance {
703
699
  /**
704
700
  * Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
705
701
  */
706
702
  available: boolean;
707
703
 
708
- display_preference: Eps.DisplayPreference;
704
+ display_preference: CustomerBalance.DisplayPreference;
709
705
  }
710
706
 
711
- namespace Eps {
707
+ namespace CustomerBalance {
712
708
  interface DisplayPreference {
713
709
  /**
714
710
  * For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
@@ -733,16 +729,16 @@ declare module 'stripe' {
733
729
  }
734
730
  }
735
731
 
736
- interface Fpx {
732
+ interface Eps {
737
733
  /**
738
734
  * Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
739
735
  */
740
736
  available: boolean;
741
737
 
742
- display_preference: Fpx.DisplayPreference;
738
+ display_preference: Eps.DisplayPreference;
743
739
  }
744
740
 
745
- namespace Fpx {
741
+ namespace Eps {
746
742
  interface DisplayPreference {
747
743
  /**
748
744
  * For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
@@ -767,16 +763,16 @@ declare module 'stripe' {
767
763
  }
768
764
  }
769
765
 
770
- interface Giropay {
766
+ interface Fpx {
771
767
  /**
772
768
  * Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
773
769
  */
774
770
  available: boolean;
775
771
 
776
- display_preference: Giropay.DisplayPreference;
772
+ display_preference: Fpx.DisplayPreference;
777
773
  }
778
774
 
779
- namespace Giropay {
775
+ namespace Fpx {
780
776
  interface DisplayPreference {
781
777
  /**
782
778
  * For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
@@ -801,16 +797,16 @@ declare module 'stripe' {
801
797
  }
802
798
  }
803
799
 
804
- interface GooglePay {
800
+ interface Giropay {
805
801
  /**
806
802
  * Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
807
803
  */
808
804
  available: boolean;
809
805
 
810
- display_preference: GooglePay.DisplayPreference;
806
+ display_preference: Giropay.DisplayPreference;
811
807
  }
812
808
 
813
- namespace GooglePay {
809
+ namespace Giropay {
814
810
  interface DisplayPreference {
815
811
  /**
816
812
  * For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
@@ -835,16 +831,16 @@ declare module 'stripe' {
835
831
  }
836
832
  }
837
833
 
838
- interface Gopay {
834
+ interface GooglePay {
839
835
  /**
840
836
  * Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
841
837
  */
842
838
  available: boolean;
843
839
 
844
- display_preference: Gopay.DisplayPreference;
840
+ display_preference: GooglePay.DisplayPreference;
845
841
  }
846
842
 
847
- namespace Gopay {
843
+ namespace GooglePay {
848
844
  interface DisplayPreference {
849
845
  /**
850
846
  * For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
@@ -903,40 +899,6 @@ declare module 'stripe' {
903
899
  }
904
900
  }
905
901
 
906
- interface IdBankTransfer {
907
- /**
908
- * Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
909
- */
910
- available: boolean;
911
-
912
- display_preference: IdBankTransfer.DisplayPreference;
913
- }
914
-
915
- namespace IdBankTransfer {
916
- interface DisplayPreference {
917
- /**
918
- * For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
919
- */
920
- overridable: boolean | null;
921
-
922
- /**
923
- * The account's display preference.
924
- */
925
- preference: DisplayPreference.Preference;
926
-
927
- /**
928
- * The effective display preference value.
929
- */
930
- value: DisplayPreference.Value;
931
- }
932
-
933
- namespace DisplayPreference {
934
- type Preference = 'none' | 'off' | 'on';
935
-
936
- type Value = 'off' | 'on';
937
- }
938
- }
939
-
940
902
  interface Ideal {
941
903
  /**
942
904
  * Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
@@ -1175,16 +1137,16 @@ declare module 'stripe' {
1175
1137
  }
1176
1138
  }
1177
1139
 
1178
- interface Oxxo {
1140
+ interface NzBankAccount {
1179
1141
  /**
1180
1142
  * Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
1181
1143
  */
1182
1144
  available: boolean;
1183
1145
 
1184
- display_preference: Oxxo.DisplayPreference;
1146
+ display_preference: NzBankAccount.DisplayPreference;
1185
1147
  }
1186
1148
 
1187
- namespace Oxxo {
1149
+ namespace NzBankAccount {
1188
1150
  interface DisplayPreference {
1189
1151
  /**
1190
1152
  * For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
@@ -1209,16 +1171,16 @@ declare module 'stripe' {
1209
1171
  }
1210
1172
  }
1211
1173
 
1212
- interface P24 {
1174
+ interface Oxxo {
1213
1175
  /**
1214
1176
  * Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
1215
1177
  */
1216
1178
  available: boolean;
1217
1179
 
1218
- display_preference: P24.DisplayPreference;
1180
+ display_preference: Oxxo.DisplayPreference;
1219
1181
  }
1220
1182
 
1221
- namespace P24 {
1183
+ namespace Oxxo {
1222
1184
  interface DisplayPreference {
1223
1185
  /**
1224
1186
  * For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
@@ -1243,16 +1205,16 @@ declare module 'stripe' {
1243
1205
  }
1244
1206
  }
1245
1207
 
1246
- interface PayByBank {
1208
+ interface P24 {
1247
1209
  /**
1248
1210
  * Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
1249
1211
  */
1250
1212
  available: boolean;
1251
1213
 
1252
- display_preference: PayByBank.DisplayPreference;
1214
+ display_preference: P24.DisplayPreference;
1253
1215
  }
1254
1216
 
1255
- namespace PayByBank {
1217
+ namespace P24 {
1256
1218
  interface DisplayPreference {
1257
1219
  /**
1258
1220
  * For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
@@ -1277,16 +1239,16 @@ declare module 'stripe' {
1277
1239
  }
1278
1240
  }
1279
1241
 
1280
- interface Paynow {
1242
+ interface PayByBank {
1281
1243
  /**
1282
1244
  * Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
1283
1245
  */
1284
1246
  available: boolean;
1285
1247
 
1286
- display_preference: Paynow.DisplayPreference;
1248
+ display_preference: PayByBank.DisplayPreference;
1287
1249
  }
1288
1250
 
1289
- namespace Paynow {
1251
+ namespace PayByBank {
1290
1252
  interface DisplayPreference {
1291
1253
  /**
1292
1254
  * For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
@@ -1311,16 +1273,16 @@ declare module 'stripe' {
1311
1273
  }
1312
1274
  }
1313
1275
 
1314
- interface Paypal {
1276
+ interface Paynow {
1315
1277
  /**
1316
1278
  * Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
1317
1279
  */
1318
1280
  available: boolean;
1319
1281
 
1320
- display_preference: Paypal.DisplayPreference;
1282
+ display_preference: Paynow.DisplayPreference;
1321
1283
  }
1322
1284
 
1323
- namespace Paypal {
1285
+ namespace Paynow {
1324
1286
  interface DisplayPreference {
1325
1287
  /**
1326
1288
  * For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
@@ -1345,16 +1307,16 @@ declare module 'stripe' {
1345
1307
  }
1346
1308
  }
1347
1309
 
1348
- interface Payto {
1310
+ interface Paypal {
1349
1311
  /**
1350
1312
  * Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
1351
1313
  */
1352
1314
  available: boolean;
1353
1315
 
1354
- display_preference: Payto.DisplayPreference;
1316
+ display_preference: Paypal.DisplayPreference;
1355
1317
  }
1356
1318
 
1357
- namespace Payto {
1319
+ namespace Paypal {
1358
1320
  interface DisplayPreference {
1359
1321
  /**
1360
1322
  * For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
@@ -1413,40 +1375,6 @@ declare module 'stripe' {
1413
1375
  }
1414
1376
  }
1415
1377
 
1416
- interface Qris {
1417
- /**
1418
- * Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
1419
- */
1420
- available: boolean;
1421
-
1422
- display_preference: Qris.DisplayPreference;
1423
- }
1424
-
1425
- namespace Qris {
1426
- interface DisplayPreference {
1427
- /**
1428
- * For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
1429
- */
1430
- overridable: boolean | null;
1431
-
1432
- /**
1433
- * The account's display preference.
1434
- */
1435
- preference: DisplayPreference.Preference;
1436
-
1437
- /**
1438
- * The effective display preference value.
1439
- */
1440
- value: DisplayPreference.Value;
1441
- }
1442
-
1443
- namespace DisplayPreference {
1444
- type Preference = 'none' | 'off' | 'on';
1445
-
1446
- type Value = 'off' | 'on';
1447
- }
1448
- }
1449
-
1450
1378
  interface RevolutPay {
1451
1379
  /**
1452
1380
  * Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
@@ -1481,16 +1409,16 @@ declare module 'stripe' {
1481
1409
  }
1482
1410
  }
1483
1411
 
1484
- interface SepaDebit {
1412
+ interface Satispay {
1485
1413
  /**
1486
1414
  * Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
1487
1415
  */
1488
1416
  available: boolean;
1489
1417
 
1490
- display_preference: SepaDebit.DisplayPreference;
1418
+ display_preference: Satispay.DisplayPreference;
1491
1419
  }
1492
1420
 
1493
- namespace SepaDebit {
1421
+ namespace Satispay {
1494
1422
  interface DisplayPreference {
1495
1423
  /**
1496
1424
  * For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
@@ -1515,16 +1443,16 @@ declare module 'stripe' {
1515
1443
  }
1516
1444
  }
1517
1445
 
1518
- interface Shopeepay {
1446
+ interface SepaDebit {
1519
1447
  /**
1520
1448
  * Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
1521
1449
  */
1522
1450
  available: boolean;
1523
1451
 
1524
- display_preference: Shopeepay.DisplayPreference;
1452
+ display_preference: SepaDebit.DisplayPreference;
1525
1453
  }
1526
1454
 
1527
- namespace Shopeepay {
1455
+ namespace SepaDebit {
1528
1456
  interface DisplayPreference {
1529
1457
  /**
1530
1458
  * For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.