stripe 17.7.0 → 17.8.0-beta.1

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 +1077 -109
  2. package/OPENAPI_VERSION +1 -1
  3. package/README.md +1 -0
  4. package/VERSION +1 -1
  5. package/cjs/resources/AccountNotices.js +21 -0
  6. package/cjs/resources/Capital/FinancingOffers.js +21 -0
  7. package/cjs/resources/Capital/FinancingSummary.js +12 -0
  8. package/cjs/resources/Capital/FinancingTransactions.js +17 -0
  9. package/cjs/resources/FinancialConnections/Accounts.js +5 -0
  10. package/cjs/resources/FinancialConnections/Institutions.js +17 -0
  11. package/cjs/resources/GiftCards/Cards.js +23 -0
  12. package/cjs/resources/GiftCards/Transactions.js +33 -0
  13. package/cjs/resources/Invoices.js +17 -0
  14. package/cjs/resources/Issuing/CreditUnderwritingRecords.js +33 -0
  15. package/cjs/resources/Issuing/DisputeSettlementDetails.js +17 -0
  16. package/cjs/resources/Issuing/FraudLiabilityDebits.js +17 -0
  17. package/cjs/resources/Margins.js +22 -0
  18. package/cjs/resources/Orders.js +24 -0
  19. package/cjs/resources/PaymentAttemptRecords.js +17 -0
  20. package/cjs/resources/PaymentIntents.js +8 -0
  21. package/cjs/resources/PaymentRecords.js +29 -0
  22. package/cjs/resources/Quotes.js +32 -0
  23. package/cjs/resources/SubscriptionSchedules.js +4 -0
  24. package/cjs/resources/Tax/Associations.js +9 -0
  25. package/cjs/resources/Tax/Forms.js +20 -0
  26. package/cjs/resources/Terminal/ReaderCollectedData.js +12 -0
  27. package/cjs/resources/Terminal/Readers.js +12 -0
  28. package/cjs/resources/TestHelpers/Terminal/Readers.js +8 -0
  29. package/cjs/resources.js +48 -10
  30. package/cjs/stripe.core.js +1 -1
  31. package/esm/resources/AccountNotices.js +18 -0
  32. package/esm/resources/Capital/FinancingOffers.js +18 -0
  33. package/esm/resources/Capital/FinancingSummary.js +9 -0
  34. package/esm/resources/Capital/FinancingTransactions.js +14 -0
  35. package/esm/resources/FinancialConnections/Accounts.js +5 -0
  36. package/esm/resources/FinancialConnections/Institutions.js +14 -0
  37. package/esm/resources/GiftCards/Cards.js +20 -0
  38. package/esm/resources/GiftCards/Transactions.js +30 -0
  39. package/esm/resources/Invoices.js +17 -0
  40. package/esm/resources/Issuing/CreditUnderwritingRecords.js +30 -0
  41. package/esm/resources/Issuing/DisputeSettlementDetails.js +14 -0
  42. package/esm/resources/Issuing/FraudLiabilityDebits.js +14 -0
  43. package/esm/resources/Margins.js +19 -0
  44. package/esm/resources/Orders.js +21 -0
  45. package/esm/resources/PaymentAttemptRecords.js +14 -0
  46. package/esm/resources/PaymentIntents.js +8 -0
  47. package/esm/resources/PaymentRecords.js +26 -0
  48. package/esm/resources/Quotes.js +32 -0
  49. package/esm/resources/SubscriptionSchedules.js +4 -0
  50. package/esm/resources/Tax/Associations.js +6 -0
  51. package/esm/resources/Tax/Forms.js +17 -0
  52. package/esm/resources/Terminal/ReaderCollectedData.js +9 -0
  53. package/esm/resources/Terminal/Readers.js +12 -0
  54. package/esm/resources/TestHelpers/Terminal/Readers.js +8 -0
  55. package/esm/resources.js +33 -0
  56. package/esm/stripe.core.js +1 -1
  57. package/package.json +1 -1
  58. package/types/AccountLinksResource.d.ts +5 -1
  59. package/types/AccountNotices.d.ts +113 -0
  60. package/types/AccountNoticesResource.d.ts +98 -0
  61. package/types/AccountSessions.d.ts +45 -0
  62. package/types/AccountSessionsResource.d.ts +243 -0
  63. package/types/Accounts.d.ts +205 -1
  64. package/types/AccountsResource.d.ts +526 -2
  65. package/types/Billing/MeterErrorReports.d.ts +106 -0
  66. package/types/Capital/FinancingOffers.d.ts +188 -0
  67. package/types/Capital/FinancingOffersResource.d.ts +97 -0
  68. package/types/Capital/FinancingSummary.d.ts +106 -0
  69. package/types/Capital/FinancingSummaryResource.d.ts +27 -0
  70. package/types/Capital/FinancingTransactions.d.ts +135 -0
  71. package/types/Capital/FinancingTransactionsResource.d.ts +68 -0
  72. package/types/Cards.d.ts +5 -0
  73. package/types/Charges.d.ts +148 -0
  74. package/types/ChargesResource.d.ts +1294 -0
  75. package/types/Checkout/Sessions.d.ts +304 -6
  76. package/types/Checkout/SessionsResource.d.ts +440 -5
  77. package/types/ConfirmationTokens.d.ts +99 -0
  78. package/types/Coupons.d.ts +1 -1
  79. package/types/CouponsResource.d.ts +1 -1
  80. package/types/CreditNotes.d.ts +21 -0
  81. package/types/CreditNotesResource.d.ts +51 -0
  82. package/types/CustomersResource.d.ts +7 -0
  83. package/types/EventTypes.d.ts +597 -1
  84. package/types/Events.d.ts +93 -0
  85. package/types/FinancialConnections/AccountInferredBalances.d.ts +38 -0
  86. package/types/FinancialConnections/Accounts.d.ts +29 -1
  87. package/types/FinancialConnections/AccountsResource.d.ts +35 -3
  88. package/types/FinancialConnections/Institutions.d.ts +93 -0
  89. package/types/FinancialConnections/InstitutionsResource.d.ts +47 -0
  90. package/types/FinancialConnections/Sessions.d.ts +49 -1
  91. package/types/FinancialConnections/SessionsResource.d.ts +38 -1
  92. package/types/GiftCards/Cards.d.ts +118 -0
  93. package/types/GiftCards/CardsResource.d.ts +159 -0
  94. package/types/GiftCards/Transactions.d.ts +129 -0
  95. package/types/GiftCards/TransactionsResource.d.ts +201 -0
  96. package/types/Identity/VerificationSessions.d.ts +1 -1
  97. package/types/Identity/VerificationSessionsResource.d.ts +1 -1
  98. package/types/InvoiceItems.d.ts +5 -0
  99. package/types/InvoiceItemsResource.d.ts +98 -0
  100. package/types/InvoiceLineItems.d.ts +28 -1
  101. package/types/InvoicePayments.d.ts +113 -0
  102. package/types/Invoices.d.ts +137 -2
  103. package/types/InvoicesResource.d.ts +4618 -933
  104. package/types/Issuing/Authorizations.d.ts +1 -0
  105. package/types/Issuing/CardholdersResource.d.ts +2 -1
  106. package/types/Issuing/CreditUnderwritingRecords.d.ts +451 -0
  107. package/types/Issuing/CreditUnderwritingRecordsResource.d.ts +1032 -0
  108. package/types/Issuing/DisputeSettlementDetails.d.ts +73 -0
  109. package/types/Issuing/DisputeSettlementDetailsResource.d.ts +52 -0
  110. package/types/Issuing/FraudLiabilityDebits.d.ts +52 -0
  111. package/types/Issuing/FraudLiabilityDebitsResource.d.ts +52 -0
  112. package/types/Issuing/Settlements.d.ts +103 -0
  113. package/types/Issuing/Transactions.d.ts +2 -0
  114. package/types/Issuing/TransactionsResource.d.ts +5 -0
  115. package/types/LineItems.d.ts +32 -0
  116. package/types/Mandates.d.ts +77 -0
  117. package/types/Margins.d.ts +56 -0
  118. package/types/MarginsResource.d.ts +114 -0
  119. package/types/Orders.d.ts +1189 -0
  120. package/types/OrdersResource.d.ts +2981 -0
  121. package/types/PaymentAttemptRecords.d.ts +242 -0
  122. package/types/PaymentAttemptRecordsResource.d.ts +47 -0
  123. package/types/PaymentIntents.d.ts +644 -1
  124. package/types/PaymentIntentsResource.d.ts +8103 -3816
  125. package/types/PaymentLinks.d.ts +6 -0
  126. package/types/PaymentLinksResource.d.ts +12 -0
  127. package/types/PaymentMethodConfigurations.d.ts +180 -0
  128. package/types/PaymentMethodConfigurationsResource.d.ts +250 -0
  129. package/types/PaymentMethods.d.ts +99 -0
  130. package/types/PaymentMethodsResource.d.ts +133 -0
  131. package/types/PaymentRecords.d.ts +242 -0
  132. package/types/PaymentRecordsResource.d.ts +455 -0
  133. package/types/Prices.d.ts +22 -0
  134. package/types/PricesResource.d.ts +22 -0
  135. package/types/Products.d.ts +39 -0
  136. package/types/ProductsResource.d.ts +36 -0
  137. package/types/QuoteLines.d.ts +634 -0
  138. package/types/QuotePreviewInvoices.d.ts +1658 -0
  139. package/types/QuotePreviewSubscriptionSchedules.d.ts +824 -0
  140. package/types/Quotes.d.ts +591 -1
  141. package/types/QuotesResource.d.ts +2526 -194
  142. package/types/Refunds.d.ts +14 -0
  143. package/types/SetupAttempts.d.ts +38 -0
  144. package/types/SetupIntents.d.ts +111 -1
  145. package/types/SetupIntentsResource.d.ts +645 -3
  146. package/types/Sources.d.ts +29 -0
  147. package/types/SubscriptionItems.d.ts +21 -0
  148. package/types/SubscriptionItemsResource.d.ts +109 -0
  149. package/types/SubscriptionSchedules.d.ts +200 -0
  150. package/types/SubscriptionSchedulesResource.d.ts +1234 -16
  151. package/types/Subscriptions.d.ts +91 -1
  152. package/types/SubscriptionsResource.d.ts +369 -2
  153. package/types/Tax/Associations.d.ts +126 -0
  154. package/types/Tax/AssociationsResource.d.ts +29 -0
  155. package/types/Tax/Calculations.d.ts +1 -1
  156. package/types/Tax/Forms.d.ts +220 -0
  157. package/types/Tax/FormsResource.d.ts +107 -0
  158. package/types/TaxRates.d.ts +1 -1
  159. package/types/Terminal/ReaderCollectedData.d.ts +51 -0
  160. package/types/Terminal/ReaderCollectedDataResource.d.ts +29 -0
  161. package/types/Terminal/Readers.d.ts +290 -0
  162. package/types/Terminal/ReadersResource.d.ts +215 -0
  163. package/types/TestHelpers/ConfirmationTokensResource.d.ts +104 -0
  164. package/types/TestHelpers/Terminal/ReadersResource.d.ts +53 -0
  165. package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +26 -0
  166. package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +26 -0
  167. package/types/Treasury/FinancialAccountFeatures.d.ts +7 -0
  168. package/types/Treasury/FinancialAccounts.d.ts +5 -0
  169. package/types/Treasury/FinancialAccountsResource.d.ts +37 -0
  170. package/types/Treasury/OutboundTransfers.d.ts +26 -0
  171. package/types/Treasury/OutboundTransfersResource.d.ts +26 -0
  172. package/types/Treasury/ReceivedCredits.d.ts +26 -0
  173. package/types/Treasury/ReceivedDebits.d.ts +31 -0
  174. package/types/WebhookEndpointsResource.d.ts +70 -0
  175. package/types/index.d.ts +62 -0
@@ -553,11 +553,13 @@ declare module 'stripe' {
553
553
  | 'eps'
554
554
  | 'fpx'
555
555
  | 'giropay'
556
+ | 'gopay'
556
557
  | 'grabpay'
557
558
  | 'ideal'
558
559
  | 'klarna'
559
560
  | 'konbini'
560
561
  | 'link'
562
+ | 'mb_way'
561
563
  | 'mobilepay'
562
564
  | 'multibanco'
563
565
  | 'oxxo'
@@ -565,9 +567,13 @@ declare module 'stripe' {
565
567
  | 'pay_by_bank'
566
568
  | 'paynow'
567
569
  | 'paypal'
570
+ | 'payto'
568
571
  | 'pix'
569
572
  | 'promptpay'
573
+ | 'qris'
574
+ | 'rechnung'
570
575
  | 'sepa_debit'
576
+ | 'shopeepay'
571
577
  | 'sofort'
572
578
  | 'swish'
573
579
  | 'twint'
@@ -614,11 +614,13 @@ declare module 'stripe' {
614
614
  | 'eps'
615
615
  | 'fpx'
616
616
  | 'giropay'
617
+ | 'gopay'
617
618
  | 'grabpay'
618
619
  | 'ideal'
619
620
  | 'klarna'
620
621
  | 'konbini'
621
622
  | 'link'
623
+ | 'mb_way'
622
624
  | 'mobilepay'
623
625
  | 'multibanco'
624
626
  | 'oxxo'
@@ -626,9 +628,13 @@ declare module 'stripe' {
626
628
  | 'pay_by_bank'
627
629
  | 'paynow'
628
630
  | 'paypal'
631
+ | 'payto'
629
632
  | 'pix'
630
633
  | 'promptpay'
634
+ | 'qris'
635
+ | 'rechnung'
631
636
  | 'sepa_debit'
637
+ | 'shopeepay'
632
638
  | 'sofort'
633
639
  | 'swish'
634
640
  | 'twint'
@@ -1555,11 +1561,13 @@ declare module 'stripe' {
1555
1561
  | 'eps'
1556
1562
  | 'fpx'
1557
1563
  | 'giropay'
1564
+ | 'gopay'
1558
1565
  | 'grabpay'
1559
1566
  | 'ideal'
1560
1567
  | 'klarna'
1561
1568
  | 'konbini'
1562
1569
  | 'link'
1570
+ | 'mb_way'
1563
1571
  | 'mobilepay'
1564
1572
  | 'multibanco'
1565
1573
  | 'oxxo'
@@ -1567,9 +1575,13 @@ declare module 'stripe' {
1567
1575
  | 'pay_by_bank'
1568
1576
  | 'paynow'
1569
1577
  | 'paypal'
1578
+ | 'payto'
1570
1579
  | 'pix'
1571
1580
  | 'promptpay'
1581
+ | 'qris'
1582
+ | 'rechnung'
1572
1583
  | 'sepa_debit'
1584
+ | 'shopeepay'
1573
1585
  | 'sofort'
1574
1586
  | 'swish'
1575
1587
  | 'twint'
@@ -79,8 +79,12 @@ declare module 'stripe' {
79
79
 
80
80
  google_pay?: PaymentMethodConfiguration.GooglePay;
81
81
 
82
+ gopay?: PaymentMethodConfiguration.Gopay;
83
+
82
84
  grabpay?: PaymentMethodConfiguration.Grabpay;
83
85
 
86
+ id_bank_transfer?: PaymentMethodConfiguration.IdBankTransfer;
87
+
84
88
  ideal?: PaymentMethodConfiguration.Ideal;
85
89
 
86
90
  /**
@@ -125,12 +129,18 @@ declare module 'stripe' {
125
129
 
126
130
  paypal?: PaymentMethodConfiguration.Paypal;
127
131
 
132
+ payto?: PaymentMethodConfiguration.Payto;
133
+
128
134
  promptpay?: PaymentMethodConfiguration.Promptpay;
129
135
 
136
+ qris?: PaymentMethodConfiguration.Qris;
137
+
130
138
  revolut_pay?: PaymentMethodConfiguration.RevolutPay;
131
139
 
132
140
  sepa_debit?: PaymentMethodConfiguration.SepaDebit;
133
141
 
142
+ shopeepay?: PaymentMethodConfiguration.Shopeepay;
143
+
134
144
  sofort?: PaymentMethodConfiguration.Sofort;
135
145
 
136
146
  swish?: PaymentMethodConfiguration.Swish;
@@ -825,6 +835,40 @@ declare module 'stripe' {
825
835
  }
826
836
  }
827
837
 
838
+ interface Gopay {
839
+ /**
840
+ * Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
841
+ */
842
+ available: boolean;
843
+
844
+ display_preference: Gopay.DisplayPreference;
845
+ }
846
+
847
+ namespace Gopay {
848
+ interface DisplayPreference {
849
+ /**
850
+ * For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
851
+ */
852
+ overridable: boolean | null;
853
+
854
+ /**
855
+ * The account's display preference.
856
+ */
857
+ preference: DisplayPreference.Preference;
858
+
859
+ /**
860
+ * The effective display preference value.
861
+ */
862
+ value: DisplayPreference.Value;
863
+ }
864
+
865
+ namespace DisplayPreference {
866
+ type Preference = 'none' | 'off' | 'on';
867
+
868
+ type Value = 'off' | 'on';
869
+ }
870
+ }
871
+
828
872
  interface Grabpay {
829
873
  /**
830
874
  * Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
@@ -859,6 +903,40 @@ declare module 'stripe' {
859
903
  }
860
904
  }
861
905
 
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
+
862
940
  interface Ideal {
863
941
  /**
864
942
  * Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
@@ -1267,6 +1345,40 @@ declare module 'stripe' {
1267
1345
  }
1268
1346
  }
1269
1347
 
1348
+ interface Payto {
1349
+ /**
1350
+ * Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
1351
+ */
1352
+ available: boolean;
1353
+
1354
+ display_preference: Payto.DisplayPreference;
1355
+ }
1356
+
1357
+ namespace Payto {
1358
+ interface DisplayPreference {
1359
+ /**
1360
+ * For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
1361
+ */
1362
+ overridable: boolean | null;
1363
+
1364
+ /**
1365
+ * The account's display preference.
1366
+ */
1367
+ preference: DisplayPreference.Preference;
1368
+
1369
+ /**
1370
+ * The effective display preference value.
1371
+ */
1372
+ value: DisplayPreference.Value;
1373
+ }
1374
+
1375
+ namespace DisplayPreference {
1376
+ type Preference = 'none' | 'off' | 'on';
1377
+
1378
+ type Value = 'off' | 'on';
1379
+ }
1380
+ }
1381
+
1270
1382
  interface Promptpay {
1271
1383
  /**
1272
1384
  * Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
@@ -1301,6 +1413,40 @@ declare module 'stripe' {
1301
1413
  }
1302
1414
  }
1303
1415
 
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
+
1304
1450
  interface RevolutPay {
1305
1451
  /**
1306
1452
  * Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
@@ -1369,6 +1515,40 @@ declare module 'stripe' {
1369
1515
  }
1370
1516
  }
1371
1517
 
1518
+ interface Shopeepay {
1519
+ /**
1520
+ * Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
1521
+ */
1522
+ available: boolean;
1523
+
1524
+ display_preference: Shopeepay.DisplayPreference;
1525
+ }
1526
+
1527
+ namespace Shopeepay {
1528
+ interface DisplayPreference {
1529
+ /**
1530
+ * For child configs, whether or not the account's preference will be observed. If `false`, the parent configuration's default is used.
1531
+ */
1532
+ overridable: boolean | null;
1533
+
1534
+ /**
1535
+ * The account's display preference.
1536
+ */
1537
+ preference: DisplayPreference.Preference;
1538
+
1539
+ /**
1540
+ * The effective display preference value.
1541
+ */
1542
+ value: DisplayPreference.Value;
1543
+ }
1544
+
1545
+ namespace DisplayPreference {
1546
+ type Preference = 'none' | 'off' | 'on';
1547
+
1548
+ type Value = 'off' | 'on';
1549
+ }
1550
+ }
1551
+
1372
1552
  interface Sofort {
1373
1553
  /**
1374
1554
  * Whether this payment method may be offered at checkout. True if `display_preference` is `on` and the payment method's capability is active.
@@ -113,11 +113,21 @@ 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
+
116
121
  /**
117
122
  * 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.
118
123
  */
119
124
  grabpay?: PaymentMethodConfigurationCreateParams.Grabpay;
120
125
 
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
+
121
131
  /**
122
132
  * 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.
123
133
  */
@@ -188,11 +198,21 @@ declare module 'stripe' {
188
198
  */
189
199
  paypal?: PaymentMethodConfigurationCreateParams.Paypal;
190
200
 
201
+ /**
202
+ * 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.
203
+ */
204
+ payto?: PaymentMethodConfigurationCreateParams.Payto;
205
+
191
206
  /**
192
207
  * PromptPay is a Thailand-based payment method that allows customers to make a payment using their preferred app from participating banks. Check this [page](https://stripe.com/docs/payments/promptpay) for more details.
193
208
  */
194
209
  promptpay?: PaymentMethodConfigurationCreateParams.Promptpay;
195
210
 
211
+ /**
212
+ * 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.
213
+ */
214
+ qris?: PaymentMethodConfigurationCreateParams.Qris;
215
+
196
216
  /**
197
217
  * 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.
198
218
  */
@@ -203,6 +223,11 @@ declare module 'stripe' {
203
223
  */
204
224
  sepa_debit?: PaymentMethodConfigurationCreateParams.SepaDebit;
205
225
 
226
+ /**
227
+ * 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.
228
+ */
229
+ shopeepay?: PaymentMethodConfigurationCreateParams.Shopeepay;
230
+
206
231
  /**
207
232
  * 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.
208
233
  */
@@ -655,6 +680,26 @@ declare module 'stripe' {
655
680
  }
656
681
  }
657
682
 
683
+ interface Gopay {
684
+ /**
685
+ * Whether or not the payment method should be displayed.
686
+ */
687
+ display_preference?: Gopay.DisplayPreference;
688
+ }
689
+
690
+ namespace Gopay {
691
+ interface DisplayPreference {
692
+ /**
693
+ * The account's preference for whether or not to display this payment method.
694
+ */
695
+ preference?: DisplayPreference.Preference;
696
+ }
697
+
698
+ namespace DisplayPreference {
699
+ type Preference = 'none' | 'off' | 'on';
700
+ }
701
+ }
702
+
658
703
  interface Grabpay {
659
704
  /**
660
705
  * Whether or not the payment method should be displayed.
@@ -675,6 +720,26 @@ declare module 'stripe' {
675
720
  }
676
721
  }
677
722
 
723
+ interface IdBankTransfer {
724
+ /**
725
+ * Whether or not the payment method should be displayed.
726
+ */
727
+ display_preference?: IdBankTransfer.DisplayPreference;
728
+ }
729
+
730
+ namespace IdBankTransfer {
731
+ interface DisplayPreference {
732
+ /**
733
+ * The account's preference for whether or not to display this payment method.
734
+ */
735
+ preference?: DisplayPreference.Preference;
736
+ }
737
+
738
+ namespace DisplayPreference {
739
+ type Preference = 'none' | 'off' | 'on';
740
+ }
741
+ }
742
+
678
743
  interface Ideal {
679
744
  /**
680
745
  * Whether or not the payment method should be displayed.
@@ -915,6 +980,26 @@ declare module 'stripe' {
915
980
  }
916
981
  }
917
982
 
983
+ interface Payto {
984
+ /**
985
+ * Whether or not the payment method should be displayed.
986
+ */
987
+ display_preference?: Payto.DisplayPreference;
988
+ }
989
+
990
+ namespace Payto {
991
+ interface DisplayPreference {
992
+ /**
993
+ * The account's preference for whether or not to display this payment method.
994
+ */
995
+ preference?: DisplayPreference.Preference;
996
+ }
997
+
998
+ namespace DisplayPreference {
999
+ type Preference = 'none' | 'off' | 'on';
1000
+ }
1001
+ }
1002
+
918
1003
  interface Promptpay {
919
1004
  /**
920
1005
  * Whether or not the payment method should be displayed.
@@ -935,6 +1020,26 @@ declare module 'stripe' {
935
1020
  }
936
1021
  }
937
1022
 
1023
+ interface Qris {
1024
+ /**
1025
+ * Whether or not the payment method should be displayed.
1026
+ */
1027
+ display_preference?: Qris.DisplayPreference;
1028
+ }
1029
+
1030
+ namespace Qris {
1031
+ interface DisplayPreference {
1032
+ /**
1033
+ * The account's preference for whether or not to display this payment method.
1034
+ */
1035
+ preference?: DisplayPreference.Preference;
1036
+ }
1037
+
1038
+ namespace DisplayPreference {
1039
+ type Preference = 'none' | 'off' | 'on';
1040
+ }
1041
+ }
1042
+
938
1043
  interface RevolutPay {
939
1044
  /**
940
1045
  * Whether or not the payment method should be displayed.
@@ -975,6 +1080,26 @@ declare module 'stripe' {
975
1080
  }
976
1081
  }
977
1082
 
1083
+ interface Shopeepay {
1084
+ /**
1085
+ * Whether or not the payment method should be displayed.
1086
+ */
1087
+ display_preference?: Shopeepay.DisplayPreference;
1088
+ }
1089
+
1090
+ namespace Shopeepay {
1091
+ interface DisplayPreference {
1092
+ /**
1093
+ * The account's preference for whether or not to display this payment method.
1094
+ */
1095
+ preference?: DisplayPreference.Preference;
1096
+ }
1097
+
1098
+ namespace DisplayPreference {
1099
+ type Preference = 'none' | 'off' | 'on';
1100
+ }
1101
+ }
1102
+
978
1103
  interface Sofort {
979
1104
  /**
980
1105
  * Whether or not the payment method should be displayed.
@@ -1219,11 +1344,21 @@ declare module 'stripe' {
1219
1344
  */
1220
1345
  google_pay?: PaymentMethodConfigurationUpdateParams.GooglePay;
1221
1346
 
1347
+ /**
1348
+ * 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.
1349
+ */
1350
+ gopay?: PaymentMethodConfigurationUpdateParams.Gopay;
1351
+
1222
1352
  /**
1223
1353
  * 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.
1224
1354
  */
1225
1355
  grabpay?: PaymentMethodConfigurationUpdateParams.Grabpay;
1226
1356
 
1357
+ /**
1358
+ * Stripe users in Indonesia can receive bank transfers from customers in Indonesia. Bank transfers are a popular B2C and B2B payment method in Indonesia.
1359
+ */
1360
+ id_bank_transfer?: PaymentMethodConfigurationUpdateParams.IdBankTransfer;
1361
+
1227
1362
  /**
1228
1363
  * 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.
1229
1364
  */
@@ -1289,11 +1424,21 @@ declare module 'stripe' {
1289
1424
  */
1290
1425
  paypal?: PaymentMethodConfigurationUpdateParams.Paypal;
1291
1426
 
1427
+ /**
1428
+ * 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.
1429
+ */
1430
+ payto?: PaymentMethodConfigurationUpdateParams.Payto;
1431
+
1292
1432
  /**
1293
1433
  * PromptPay is a Thailand-based payment method that allows customers to make a payment using their preferred app from participating banks. Check this [page](https://stripe.com/docs/payments/promptpay) for more details.
1294
1434
  */
1295
1435
  promptpay?: PaymentMethodConfigurationUpdateParams.Promptpay;
1296
1436
 
1437
+ /**
1438
+ * 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.
1439
+ */
1440
+ qris?: PaymentMethodConfigurationUpdateParams.Qris;
1441
+
1297
1442
  /**
1298
1443
  * 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.
1299
1444
  */
@@ -1304,6 +1449,11 @@ declare module 'stripe' {
1304
1449
  */
1305
1450
  sepa_debit?: PaymentMethodConfigurationUpdateParams.SepaDebit;
1306
1451
 
1452
+ /**
1453
+ * 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.
1454
+ */
1455
+ shopeepay?: PaymentMethodConfigurationUpdateParams.Shopeepay;
1456
+
1307
1457
  /**
1308
1458
  * 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.
1309
1459
  */
@@ -1756,6 +1906,26 @@ declare module 'stripe' {
1756
1906
  }
1757
1907
  }
1758
1908
 
1909
+ interface Gopay {
1910
+ /**
1911
+ * Whether or not the payment method should be displayed.
1912
+ */
1913
+ display_preference?: Gopay.DisplayPreference;
1914
+ }
1915
+
1916
+ namespace Gopay {
1917
+ interface DisplayPreference {
1918
+ /**
1919
+ * The account's preference for whether or not to display this payment method.
1920
+ */
1921
+ preference?: DisplayPreference.Preference;
1922
+ }
1923
+
1924
+ namespace DisplayPreference {
1925
+ type Preference = 'none' | 'off' | 'on';
1926
+ }
1927
+ }
1928
+
1759
1929
  interface Grabpay {
1760
1930
  /**
1761
1931
  * Whether or not the payment method should be displayed.
@@ -1776,6 +1946,26 @@ declare module 'stripe' {
1776
1946
  }
1777
1947
  }
1778
1948
 
1949
+ interface IdBankTransfer {
1950
+ /**
1951
+ * Whether or not the payment method should be displayed.
1952
+ */
1953
+ display_preference?: IdBankTransfer.DisplayPreference;
1954
+ }
1955
+
1956
+ namespace IdBankTransfer {
1957
+ interface DisplayPreference {
1958
+ /**
1959
+ * The account's preference for whether or not to display this payment method.
1960
+ */
1961
+ preference?: DisplayPreference.Preference;
1962
+ }
1963
+
1964
+ namespace DisplayPreference {
1965
+ type Preference = 'none' | 'off' | 'on';
1966
+ }
1967
+ }
1968
+
1779
1969
  interface Ideal {
1780
1970
  /**
1781
1971
  * Whether or not the payment method should be displayed.
@@ -2016,6 +2206,26 @@ declare module 'stripe' {
2016
2206
  }
2017
2207
  }
2018
2208
 
2209
+ interface Payto {
2210
+ /**
2211
+ * Whether or not the payment method should be displayed.
2212
+ */
2213
+ display_preference?: Payto.DisplayPreference;
2214
+ }
2215
+
2216
+ namespace Payto {
2217
+ interface DisplayPreference {
2218
+ /**
2219
+ * The account's preference for whether or not to display this payment method.
2220
+ */
2221
+ preference?: DisplayPreference.Preference;
2222
+ }
2223
+
2224
+ namespace DisplayPreference {
2225
+ type Preference = 'none' | 'off' | 'on';
2226
+ }
2227
+ }
2228
+
2019
2229
  interface Promptpay {
2020
2230
  /**
2021
2231
  * Whether or not the payment method should be displayed.
@@ -2036,6 +2246,26 @@ declare module 'stripe' {
2036
2246
  }
2037
2247
  }
2038
2248
 
2249
+ interface Qris {
2250
+ /**
2251
+ * Whether or not the payment method should be displayed.
2252
+ */
2253
+ display_preference?: Qris.DisplayPreference;
2254
+ }
2255
+
2256
+ namespace Qris {
2257
+ interface DisplayPreference {
2258
+ /**
2259
+ * The account's preference for whether or not to display this payment method.
2260
+ */
2261
+ preference?: DisplayPreference.Preference;
2262
+ }
2263
+
2264
+ namespace DisplayPreference {
2265
+ type Preference = 'none' | 'off' | 'on';
2266
+ }
2267
+ }
2268
+
2039
2269
  interface RevolutPay {
2040
2270
  /**
2041
2271
  * Whether or not the payment method should be displayed.
@@ -2076,6 +2306,26 @@ declare module 'stripe' {
2076
2306
  }
2077
2307
  }
2078
2308
 
2309
+ interface Shopeepay {
2310
+ /**
2311
+ * Whether or not the payment method should be displayed.
2312
+ */
2313
+ display_preference?: Shopeepay.DisplayPreference;
2314
+ }
2315
+
2316
+ namespace Shopeepay {
2317
+ interface DisplayPreference {
2318
+ /**
2319
+ * The account's preference for whether or not to display this payment method.
2320
+ */
2321
+ preference?: DisplayPreference.Preference;
2322
+ }
2323
+
2324
+ namespace DisplayPreference {
2325
+ type Preference = 'none' | 'off' | 'on';
2326
+ }
2327
+ }
2328
+
2079
2329
  interface Sofort {
2080
2330
  /**
2081
2331
  * Whether or not the payment method should be displayed.