stripe 18.1.0 → 18.2.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 (301) hide show
  1. package/CHANGELOG.md +1220 -140
  2. package/README.md +1 -0
  3. package/VERSION +1 -1
  4. package/cjs/Error.js +91 -1
  5. package/cjs/apiVersion.js +1 -1
  6. package/cjs/resources/AccountNotices.js +21 -0
  7. package/cjs/resources/BalanceSettings.js +10 -0
  8. package/cjs/resources/Capital/FinancingOffers.js +21 -0
  9. package/cjs/resources/Capital/FinancingSummary.js +12 -0
  10. package/cjs/resources/Capital/FinancingTransactions.js +17 -0
  11. package/cjs/resources/ExternalAccounts.js +23 -0
  12. package/cjs/resources/FinancialConnections/Accounts.js +5 -0
  13. package/cjs/resources/FinancialConnections/Institutions.js +17 -0
  14. package/cjs/resources/FxQuotes.js +15 -0
  15. package/cjs/resources/GiftCards/Cards.js +23 -0
  16. package/cjs/resources/GiftCards/Transactions.js +33 -0
  17. package/cjs/resources/Invoices.js +4 -0
  18. package/cjs/resources/Issuing/CreditUnderwritingRecords.js +33 -0
  19. package/cjs/resources/Issuing/DisputeSettlementDetails.js +17 -0
  20. package/cjs/resources/Issuing/FraudLiabilityDebits.js +17 -0
  21. package/cjs/resources/Margins.js +22 -0
  22. package/cjs/resources/Orders.js +24 -0
  23. package/cjs/resources/{InvoicePayments.js → PaymentAttemptRecords.js} +4 -4
  24. package/cjs/resources/PaymentIntents.js +13 -0
  25. package/cjs/resources/PaymentRecords.js +29 -0
  26. package/cjs/resources/Privacy/RedactionJobs.js +42 -0
  27. package/cjs/resources/Quotes.js +32 -0
  28. package/cjs/resources/SubscriptionSchedules.js +4 -0
  29. package/cjs/resources/Tax/Associations.js +9 -0
  30. package/cjs/resources/Tax/Forms.js +20 -0
  31. package/cjs/resources/Terminal/ReaderCollectedData.js +12 -0
  32. package/cjs/resources/Terminal/Readers.js +12 -0
  33. package/cjs/resources/TestHelpers/Terminal/Readers.js +8 -0
  34. package/cjs/resources/V2/Core/AccountLinks.js +9 -0
  35. package/cjs/resources/V2/Core/Accounts/Persons.js +29 -0
  36. package/cjs/resources/V2/Core/Accounts.js +25 -0
  37. package/cjs/resources/V2/Core/Vault/GbBankAccounts.js +28 -0
  38. package/cjs/resources/V2/Core/Vault/UsBankAccounts.js +24 -0
  39. package/cjs/resources/V2/MoneyManagement/Adjustments.js +17 -0
  40. package/cjs/resources/V2/MoneyManagement/FinancialAccounts.js +17 -0
  41. package/cjs/resources/V2/MoneyManagement/FinancialAddresses.js +21 -0
  42. package/cjs/resources/V2/MoneyManagement/InboundTransfers.js +21 -0
  43. package/cjs/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +16 -0
  44. package/cjs/resources/V2/MoneyManagement/OutboundPayments.js +25 -0
  45. package/cjs/resources/V2/MoneyManagement/OutboundSetupIntents.js +29 -0
  46. package/cjs/resources/V2/MoneyManagement/OutboundTransfers.js +25 -0
  47. package/cjs/resources/V2/MoneyManagement/PayoutMethods.js +25 -0
  48. package/cjs/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +12 -0
  49. package/cjs/resources/V2/MoneyManagement/ReceivedCredits.js +17 -0
  50. package/cjs/resources/V2/MoneyManagement/ReceivedDebits.js +17 -0
  51. package/cjs/resources/V2/MoneyManagement/TransactionEntries.js +17 -0
  52. package/cjs/resources/V2/MoneyManagement/Transactions.js +17 -0
  53. package/cjs/resources/V2/TestHelpers/FinancialAddresses.js +16 -0
  54. package/cjs/resources.js +108 -18
  55. package/cjs/stripe.core.js +1 -1
  56. package/esm/Error.js +79 -0
  57. package/esm/apiVersion.js +1 -1
  58. package/esm/resources/AccountNotices.js +18 -0
  59. package/esm/resources/BalanceSettings.js +7 -0
  60. package/esm/resources/Capital/FinancingOffers.js +18 -0
  61. package/esm/resources/Capital/FinancingSummary.js +9 -0
  62. package/esm/resources/Capital/FinancingTransactions.js +14 -0
  63. package/esm/resources/ExternalAccounts.js +20 -0
  64. package/esm/resources/FinancialConnections/Accounts.js +5 -0
  65. package/esm/resources/FinancialConnections/Institutions.js +14 -0
  66. package/esm/resources/FxQuotes.js +12 -0
  67. package/esm/resources/GiftCards/Cards.js +20 -0
  68. package/esm/resources/GiftCards/Transactions.js +30 -0
  69. package/esm/resources/Invoices.js +4 -0
  70. package/esm/resources/Issuing/CreditUnderwritingRecords.js +30 -0
  71. package/esm/resources/Issuing/DisputeSettlementDetails.js +14 -0
  72. package/esm/resources/Issuing/FraudLiabilityDebits.js +14 -0
  73. package/esm/resources/Margins.js +19 -0
  74. package/esm/resources/Orders.js +21 -0
  75. package/esm/resources/{InvoicePayments.js → PaymentAttemptRecords.js} +3 -3
  76. package/esm/resources/PaymentIntents.js +13 -0
  77. package/esm/resources/PaymentRecords.js +26 -0
  78. package/esm/resources/Privacy/RedactionJobs.js +39 -0
  79. package/esm/resources/Quotes.js +32 -0
  80. package/esm/resources/SubscriptionSchedules.js +4 -0
  81. package/esm/resources/Tax/Associations.js +6 -0
  82. package/esm/resources/Tax/Forms.js +17 -0
  83. package/esm/resources/Terminal/ReaderCollectedData.js +9 -0
  84. package/esm/resources/Terminal/Readers.js +12 -0
  85. package/esm/resources/TestHelpers/Terminal/Readers.js +8 -0
  86. package/esm/resources/V2/Core/AccountLinks.js +6 -0
  87. package/esm/resources/V2/Core/Accounts/Persons.js +26 -0
  88. package/esm/resources/V2/Core/Accounts.js +22 -0
  89. package/esm/resources/V2/Core/Vault/GbBankAccounts.js +25 -0
  90. package/esm/resources/V2/Core/Vault/UsBankAccounts.js +21 -0
  91. package/esm/resources/V2/MoneyManagement/Adjustments.js +14 -0
  92. package/esm/resources/V2/MoneyManagement/FinancialAccounts.js +14 -0
  93. package/esm/resources/V2/MoneyManagement/FinancialAddresses.js +18 -0
  94. package/esm/resources/V2/MoneyManagement/InboundTransfers.js +18 -0
  95. package/esm/resources/V2/MoneyManagement/OutboundPaymentQuotes.js +13 -0
  96. package/esm/resources/V2/MoneyManagement/OutboundPayments.js +22 -0
  97. package/esm/resources/V2/MoneyManagement/OutboundSetupIntents.js +26 -0
  98. package/esm/resources/V2/MoneyManagement/OutboundTransfers.js +22 -0
  99. package/esm/resources/V2/MoneyManagement/PayoutMethods.js +22 -0
  100. package/esm/resources/V2/MoneyManagement/PayoutMethodsBankAccountSpec.js +9 -0
  101. package/esm/resources/V2/MoneyManagement/ReceivedCredits.js +14 -0
  102. package/esm/resources/V2/MoneyManagement/ReceivedDebits.js +14 -0
  103. package/esm/resources/V2/MoneyManagement/TransactionEntries.js +14 -0
  104. package/esm/resources/V2/MoneyManagement/Transactions.js +14 -0
  105. package/esm/resources/V2/TestHelpers/FinancialAddresses.js +13 -0
  106. package/esm/resources.js +84 -1
  107. package/esm/stripe.core.js +1 -1
  108. package/package.json +1 -1
  109. package/types/AccountLinksResource.d.ts +5 -1
  110. package/types/AccountNotices.d.ts +113 -0
  111. package/types/AccountNoticesResource.d.ts +98 -0
  112. package/types/AccountSessions.d.ts +45 -0
  113. package/types/AccountSessionsResource.d.ts +300 -0
  114. package/types/Accounts.d.ts +212 -1
  115. package/types/AccountsResource.d.ts +544 -0
  116. package/types/BalanceSettings.d.ts +89 -0
  117. package/types/BalanceSettingsResource.d.ts +108 -0
  118. package/types/Billing/CreditBalanceSummary.d.ts +5 -0
  119. package/types/Billing/CreditBalanceSummaryResource.d.ts +8 -3
  120. package/types/Billing/CreditBalanceTransactionsResource.d.ts +12 -4
  121. package/types/Billing/CreditGrants.d.ts +5 -0
  122. package/types/Billing/CreditGrantsResource.d.ts +11 -1
  123. package/types/Billing/MeterErrorReports.d.ts +106 -0
  124. package/types/BillingPortal/Sessions.d.ts +5 -0
  125. package/types/BillingPortal/SessionsResource.d.ts +12 -4
  126. package/types/Capital/FinancingOffers.d.ts +188 -0
  127. package/types/Capital/FinancingOffersResource.d.ts +97 -0
  128. package/types/Capital/FinancingSummary.d.ts +106 -0
  129. package/types/Capital/FinancingSummaryResource.d.ts +27 -0
  130. package/types/Capital/FinancingTransactions.d.ts +135 -0
  131. package/types/Capital/FinancingTransactionsResource.d.ts +68 -0
  132. package/types/Cards.d.ts +5 -0
  133. package/types/CashBalances.d.ts +5 -0
  134. package/types/Charges.d.ts +166 -0
  135. package/types/ChargesResource.d.ts +1314 -0
  136. package/types/Checkout/Sessions.d.ts +315 -2
  137. package/types/Checkout/SessionsResource.d.ts +340 -1
  138. package/types/ConfirmationTokens.d.ts +125 -0
  139. package/types/Coupons.d.ts +33 -0
  140. package/types/CouponsResource.d.ts +21 -0
  141. package/types/CreditNoteLineItems.d.ts +17 -0
  142. package/types/CreditNotes.d.ts +9 -0
  143. package/types/CreditNotesResource.d.ts +5 -0
  144. package/types/CustomerBalanceTransactions.d.ts +2 -0
  145. package/types/CustomerCashBalanceTransactions.d.ts +2 -0
  146. package/types/CustomerSessions.d.ts +5 -0
  147. package/types/CustomerSessionsResource.d.ts +6 -1
  148. package/types/Customers.d.ts +2 -0
  149. package/types/CustomersResource.d.ts +8 -0
  150. package/types/Discounts.d.ts +10 -0
  151. package/types/Errors.d.ts +69 -2
  152. package/types/EventTypes.d.ts +698 -0
  153. package/types/Events.d.ts +99 -0
  154. package/types/ExternalAccountsResource.d.ts +304 -0
  155. package/types/FinancialConnections/AccountInferredBalances.d.ts +38 -0
  156. package/types/FinancialConnections/Accounts.d.ts +31 -1
  157. package/types/FinancialConnections/AccountsResource.d.ts +40 -3
  158. package/types/FinancialConnections/Institutions.d.ts +93 -0
  159. package/types/FinancialConnections/InstitutionsResource.d.ts +47 -0
  160. package/types/FinancialConnections/Sessions.d.ts +51 -1
  161. package/types/FinancialConnections/SessionsResource.d.ts +43 -1
  162. package/types/FxQuotes.d.ts +153 -0
  163. package/types/FxQuotesResource.d.ts +130 -0
  164. package/types/GiftCards/Cards.d.ts +118 -0
  165. package/types/GiftCards/CardsResource.d.ts +159 -0
  166. package/types/GiftCards/Transactions.d.ts +129 -0
  167. package/types/GiftCards/TransactionsResource.d.ts +201 -0
  168. package/types/Identity/VerificationSessions.d.ts +5 -0
  169. package/types/Identity/VerificationSessionsResource.d.ts +7 -0
  170. package/types/InvoiceItems.d.ts +10 -0
  171. package/types/InvoiceItemsResource.d.ts +117 -6
  172. package/types/InvoiceLineItems.d.ts +45 -1
  173. package/types/InvoicePayments.d.ts +5 -0
  174. package/types/Invoices.d.ts +136 -3
  175. package/types/InvoicesResource.d.ts +1483 -3
  176. package/types/Issuing/CardholdersResource.d.ts +2 -1
  177. package/types/Issuing/CreditUnderwritingRecords.d.ts +451 -0
  178. package/types/Issuing/CreditUnderwritingRecordsResource.d.ts +1032 -0
  179. package/types/Issuing/DisputeSettlementDetails.d.ts +85 -0
  180. package/types/Issuing/DisputeSettlementDetailsResource.d.ts +52 -0
  181. package/types/Issuing/FraudLiabilityDebits.d.ts +52 -0
  182. package/types/Issuing/FraudLiabilityDebitsResource.d.ts +52 -0
  183. package/types/Issuing/Settlements.d.ts +113 -0
  184. package/types/Issuing/Transactions.d.ts +5 -0
  185. package/types/Issuing/TransactionsResource.d.ts +5 -0
  186. package/types/LineItems.d.ts +49 -0
  187. package/types/Mandates.d.ts +77 -0
  188. package/types/Margins.d.ts +56 -0
  189. package/types/MarginsResource.d.ts +114 -0
  190. package/types/Orders.d.ts +1199 -0
  191. package/types/OrdersResource.d.ts +3001 -0
  192. package/types/PaymentAttemptRecords.d.ts +2112 -0
  193. package/types/PaymentAttemptRecordsResource.d.ts +47 -0
  194. package/types/PaymentIntentAmountDetailsLineItems.d.ts +110 -0
  195. package/types/PaymentIntents.d.ts +728 -2
  196. package/types/PaymentIntentsResource.d.ts +8618 -4094
  197. package/types/PaymentLinks.d.ts +6 -0
  198. package/types/PaymentLinksResource.d.ts +12 -0
  199. package/types/PaymentMethodConfigurations.d.ts +180 -0
  200. package/types/PaymentMethodConfigurationsResource.d.ts +250 -0
  201. package/types/PaymentMethods.d.ts +125 -0
  202. package/types/PaymentMethodsResource.d.ts +167 -2
  203. package/types/PaymentRecords.d.ts +2105 -0
  204. package/types/PaymentRecordsResource.d.ts +455 -0
  205. package/types/Payouts.d.ts +5 -0
  206. package/types/PayoutsResource.d.ts +5 -0
  207. package/types/Prices.d.ts +22 -0
  208. package/types/PricesResource.d.ts +22 -0
  209. package/types/Privacy/RedactionJobValidationErrors.d.ts +30 -0
  210. package/types/Privacy/RedactionJobs.d.ts +65 -0
  211. package/types/Privacy/RedactionJobsResource.d.ts +218 -0
  212. package/types/Products.d.ts +39 -0
  213. package/types/ProductsResource.d.ts +36 -0
  214. package/types/PromotionCodes.d.ts +5 -0
  215. package/types/PromotionCodesResource.d.ts +10 -0
  216. package/types/QuoteLines.d.ts +634 -0
  217. package/types/QuotePreviewInvoices.d.ts +1697 -0
  218. package/types/QuotePreviewSubscriptionSchedules.d.ts +785 -0
  219. package/types/Quotes.d.ts +603 -1
  220. package/types/QuotesResource.d.ts +2572 -218
  221. package/types/Refunds.d.ts +14 -0
  222. package/types/SetupAttempts.d.ts +50 -1
  223. package/types/SetupIntents.d.ts +121 -2
  224. package/types/SetupIntentsResource.d.ts +730 -3
  225. package/types/Sources.d.ts +29 -0
  226. package/types/SubscriptionItems.d.ts +23 -0
  227. package/types/SubscriptionItemsResource.d.ts +109 -0
  228. package/types/SubscriptionSchedules.d.ts +212 -0
  229. package/types/SubscriptionSchedulesResource.d.ts +1240 -5
  230. package/types/Subscriptions.d.ts +104 -1
  231. package/types/SubscriptionsResource.d.ts +397 -8
  232. package/types/Tax/Associations.d.ts +126 -0
  233. package/types/Tax/AssociationsResource.d.ts +29 -0
  234. package/types/Tax/Forms.d.ts +220 -0
  235. package/types/Tax/FormsResource.d.ts +107 -0
  236. package/types/TaxIds.d.ts +10 -0
  237. package/types/TaxIdsResource.d.ts +10 -0
  238. package/types/Terminal/ReaderCollectedData.d.ts +51 -0
  239. package/types/Terminal/ReaderCollectedDataResource.d.ts +29 -0
  240. package/types/Terminal/Readers.d.ts +300 -0
  241. package/types/Terminal/ReadersResource.d.ts +220 -0
  242. package/types/TestHelpers/ConfirmationTokensResource.d.ts +126 -0
  243. package/types/TestHelpers/Terminal/ReadersResource.d.ts +53 -0
  244. package/types/TestHelpers/Treasury/ReceivedCreditsResource.d.ts +26 -0
  245. package/types/TestHelpers/Treasury/ReceivedDebitsResource.d.ts +26 -0
  246. package/types/Transfers.d.ts +5 -0
  247. package/types/TransfersResource.d.ts +5 -0
  248. package/types/Treasury/FinancialAccountFeatures.d.ts +7 -0
  249. package/types/Treasury/FinancialAccounts.d.ts +5 -0
  250. package/types/Treasury/FinancialAccountsResource.d.ts +37 -0
  251. package/types/Treasury/OutboundTransfers.d.ts +26 -0
  252. package/types/Treasury/OutboundTransfersResource.d.ts +26 -0
  253. package/types/Treasury/ReceivedCredits.d.ts +26 -0
  254. package/types/Treasury/ReceivedDebits.d.ts +31 -0
  255. package/types/V2/Core/AccountLinks.d.ts +106 -0
  256. package/types/V2/Core/AccountLinksResource.d.ts +90 -0
  257. package/types/V2/Core/Accounts/PersonsResource.d.ts +3770 -0
  258. package/types/V2/Core/Accounts.d.ts +8169 -0
  259. package/types/V2/Core/AccountsResource.d.ts +10203 -0
  260. package/types/V2/Core/Persons.d.ts +1867 -0
  261. package/types/V2/Core/Vault/GbBankAccounts.d.ts +160 -0
  262. package/types/V2/Core/Vault/GbBankAccountsResource.d.ts +172 -0
  263. package/types/V2/Core/Vault/UsBankAccounts.d.ts +70 -0
  264. package/types/V2/Core/Vault/UsBankAccountsResource.d.ts +123 -0
  265. package/types/V2/EventTypes.d.ts +812 -1
  266. package/types/V2/FinancialAddressCreditSimulations.d.ts +27 -0
  267. package/types/V2/FinancialAddressGeneratedMicrodeposits.d.ts +32 -0
  268. package/types/V2/MoneyManagement/Adjustments.d.ts +110 -0
  269. package/types/V2/MoneyManagement/AdjustmentsResource.d.ts +83 -0
  270. package/types/V2/MoneyManagement/FinancialAccounts.d.ts +546 -0
  271. package/types/V2/MoneyManagement/FinancialAccountsResource.d.ts +52 -0
  272. package/types/V2/MoneyManagement/FinancialAddresses.d.ts +314 -0
  273. package/types/V2/MoneyManagement/FinancialAddressesResource.d.ts +288 -0
  274. package/types/V2/MoneyManagement/InboundTransfers.d.ts +206 -0
  275. package/types/V2/MoneyManagement/InboundTransfersResource.d.ts +144 -0
  276. package/types/V2/MoneyManagement/OutboundPaymentQuotes.d.ts +168 -0
  277. package/types/V2/MoneyManagement/OutboundPaymentQuotesResource.d.ts +115 -0
  278. package/types/V2/MoneyManagement/OutboundPayments.d.ts +278 -0
  279. package/types/V2/MoneyManagement/OutboundPaymentsResource.d.ts +242 -0
  280. package/types/V2/MoneyManagement/OutboundSetupIntents.d.ts +97 -0
  281. package/types/V2/MoneyManagement/OutboundSetupIntentsResource.d.ts +296 -0
  282. package/types/V2/MoneyManagement/OutboundTransfers.d.ts +251 -0
  283. package/types/V2/MoneyManagement/OutboundTransfersResource.d.ts +207 -0
  284. package/types/V2/MoneyManagement/PayoutMethods.d.ts +151 -0
  285. package/types/V2/MoneyManagement/PayoutMethodsBankAccountSpecResource.d.ts +41 -0
  286. package/types/V2/MoneyManagement/PayoutMethodsBankAccountSpecs.d.ts +87 -0
  287. package/types/V2/MoneyManagement/PayoutMethodsResource.d.ts +113 -0
  288. package/types/V2/MoneyManagement/ReceivedCredits.d.ts +285 -0
  289. package/types/V2/MoneyManagement/ReceivedCreditsResource.d.ts +78 -0
  290. package/types/V2/MoneyManagement/ReceivedDebits.d.ts +224 -0
  291. package/types/V2/MoneyManagement/ReceivedDebitsResource.d.ts +48 -0
  292. package/types/V2/MoneyManagement/TransactionEntries.d.ts +155 -0
  293. package/types/V2/MoneyManagement/TransactionEntriesResource.d.ts +82 -0
  294. package/types/V2/MoneyManagement/Transactions.d.ts +170 -0
  295. package/types/V2/MoneyManagement/TransactionsResource.d.ts +83 -0
  296. package/types/V2/TestHelpers/FinancialAddressesResource.d.ts +66 -0
  297. package/types/WebhookEndpointsResource.d.ts +82 -0
  298. package/types/index.d.ts +145 -5
  299. package/types/lib.d.ts +11 -1
  300. package/types/test/typescriptTest.ts +3 -3
  301. package/types/InvoicePaymentsResource.d.ts +0 -74
@@ -118,11 +118,21 @@ declare module 'stripe' {
118
118
  */
119
119
  google_pay?: PaymentMethodConfigurationCreateParams.GooglePay;
120
120
 
121
+ /**
122
+ * 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.
123
+ */
124
+ gopay?: PaymentMethodConfigurationCreateParams.Gopay;
125
+
121
126
  /**
122
127
  * 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
128
  */
124
129
  grabpay?: PaymentMethodConfigurationCreateParams.Grabpay;
125
130
 
131
+ /**
132
+ * Stripe users in Indonesia can receive bank transfers from customers in Indonesia. Bank transfers are a popular B2C and B2B payment method in Indonesia.
133
+ */
134
+ id_bank_transfer?: PaymentMethodConfigurationCreateParams.IdBankTransfer;
135
+
126
136
  /**
127
137
  * 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.
128
138
  */
@@ -198,6 +208,11 @@ declare module 'stripe' {
198
208
  */
199
209
  paypal?: PaymentMethodConfigurationCreateParams.Paypal;
200
210
 
211
+ /**
212
+ * 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.
213
+ */
214
+ payto?: PaymentMethodConfigurationCreateParams.Payto;
215
+
201
216
  /**
202
217
  * Pix is a payment method popular in Brazil. When paying with Pix, customers authenticate and approve payments by scanning a QR code in their preferred banking app. Check this [page](https://docs.stripe.com/payments/pix) for more details.
203
218
  */
@@ -208,6 +223,11 @@ declare module 'stripe' {
208
223
  */
209
224
  promptpay?: PaymentMethodConfigurationCreateParams.Promptpay;
210
225
 
226
+ /**
227
+ * 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.
228
+ */
229
+ qris?: PaymentMethodConfigurationCreateParams.Qris;
230
+
211
231
  /**
212
232
  * 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
233
  */
@@ -223,6 +243,11 @@ declare module 'stripe' {
223
243
  */
224
244
  sepa_debit?: PaymentMethodConfigurationCreateParams.SepaDebit;
225
245
 
246
+ /**
247
+ * 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.
248
+ */
249
+ shopeepay?: PaymentMethodConfigurationCreateParams.Shopeepay;
250
+
226
251
  /**
227
252
  * 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
253
  */
@@ -695,6 +720,26 @@ declare module 'stripe' {
695
720
  }
696
721
  }
697
722
 
723
+ interface Gopay {
724
+ /**
725
+ * Whether or not the payment method should be displayed.
726
+ */
727
+ display_preference?: Gopay.DisplayPreference;
728
+ }
729
+
730
+ namespace Gopay {
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
+
698
743
  interface Grabpay {
699
744
  /**
700
745
  * Whether or not the payment method should be displayed.
@@ -715,6 +760,26 @@ declare module 'stripe' {
715
760
  }
716
761
  }
717
762
 
763
+ interface IdBankTransfer {
764
+ /**
765
+ * Whether or not the payment method should be displayed.
766
+ */
767
+ display_preference?: IdBankTransfer.DisplayPreference;
768
+ }
769
+
770
+ namespace IdBankTransfer {
771
+ interface DisplayPreference {
772
+ /**
773
+ * The account's preference for whether or not to display this payment method.
774
+ */
775
+ preference?: DisplayPreference.Preference;
776
+ }
777
+
778
+ namespace DisplayPreference {
779
+ type Preference = 'none' | 'off' | 'on';
780
+ }
781
+ }
782
+
718
783
  interface Ideal {
719
784
  /**
720
785
  * Whether or not the payment method should be displayed.
@@ -975,6 +1040,26 @@ declare module 'stripe' {
975
1040
  }
976
1041
  }
977
1042
 
1043
+ interface Payto {
1044
+ /**
1045
+ * Whether or not the payment method should be displayed.
1046
+ */
1047
+ display_preference?: Payto.DisplayPreference;
1048
+ }
1049
+
1050
+ namespace Payto {
1051
+ interface DisplayPreference {
1052
+ /**
1053
+ * The account's preference for whether or not to display this payment method.
1054
+ */
1055
+ preference?: DisplayPreference.Preference;
1056
+ }
1057
+
1058
+ namespace DisplayPreference {
1059
+ type Preference = 'none' | 'off' | 'on';
1060
+ }
1061
+ }
1062
+
978
1063
  interface Pix {
979
1064
  /**
980
1065
  * Whether or not the payment method should be displayed.
@@ -1015,6 +1100,26 @@ declare module 'stripe' {
1015
1100
  }
1016
1101
  }
1017
1102
 
1103
+ interface Qris {
1104
+ /**
1105
+ * Whether or not the payment method should be displayed.
1106
+ */
1107
+ display_preference?: Qris.DisplayPreference;
1108
+ }
1109
+
1110
+ namespace Qris {
1111
+ interface DisplayPreference {
1112
+ /**
1113
+ * The account's preference for whether or not to display this payment method.
1114
+ */
1115
+ preference?: DisplayPreference.Preference;
1116
+ }
1117
+
1118
+ namespace DisplayPreference {
1119
+ type Preference = 'none' | 'off' | 'on';
1120
+ }
1121
+ }
1122
+
1018
1123
  interface RevolutPay {
1019
1124
  /**
1020
1125
  * Whether or not the payment method should be displayed.
@@ -1075,6 +1180,26 @@ declare module 'stripe' {
1075
1180
  }
1076
1181
  }
1077
1182
 
1183
+ interface Shopeepay {
1184
+ /**
1185
+ * Whether or not the payment method should be displayed.
1186
+ */
1187
+ display_preference?: Shopeepay.DisplayPreference;
1188
+ }
1189
+
1190
+ namespace Shopeepay {
1191
+ interface DisplayPreference {
1192
+ /**
1193
+ * The account's preference for whether or not to display this payment method.
1194
+ */
1195
+ preference?: DisplayPreference.Preference;
1196
+ }
1197
+
1198
+ namespace DisplayPreference {
1199
+ type Preference = 'none' | 'off' | 'on';
1200
+ }
1201
+ }
1202
+
1078
1203
  interface Sofort {
1079
1204
  /**
1080
1205
  * Whether or not the payment method should be displayed.
@@ -1324,11 +1449,21 @@ declare module 'stripe' {
1324
1449
  */
1325
1450
  google_pay?: PaymentMethodConfigurationUpdateParams.GooglePay;
1326
1451
 
1452
+ /**
1453
+ * 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.
1454
+ */
1455
+ gopay?: PaymentMethodConfigurationUpdateParams.Gopay;
1456
+
1327
1457
  /**
1328
1458
  * 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
1459
  */
1330
1460
  grabpay?: PaymentMethodConfigurationUpdateParams.Grabpay;
1331
1461
 
1462
+ /**
1463
+ * Stripe users in Indonesia can receive bank transfers from customers in Indonesia. Bank transfers are a popular B2C and B2B payment method in Indonesia.
1464
+ */
1465
+ id_bank_transfer?: PaymentMethodConfigurationUpdateParams.IdBankTransfer;
1466
+
1332
1467
  /**
1333
1468
  * 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.
1334
1469
  */
@@ -1399,6 +1534,11 @@ declare module 'stripe' {
1399
1534
  */
1400
1535
  paypal?: PaymentMethodConfigurationUpdateParams.Paypal;
1401
1536
 
1537
+ /**
1538
+ * 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.
1539
+ */
1540
+ payto?: PaymentMethodConfigurationUpdateParams.Payto;
1541
+
1402
1542
  /**
1403
1543
  * Pix is a payment method popular in Brazil. When paying with Pix, customers authenticate and approve payments by scanning a QR code in their preferred banking app. Check this [page](https://docs.stripe.com/payments/pix) for more details.
1404
1544
  */
@@ -1409,6 +1549,11 @@ declare module 'stripe' {
1409
1549
  */
1410
1550
  promptpay?: PaymentMethodConfigurationUpdateParams.Promptpay;
1411
1551
 
1552
+ /**
1553
+ * 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.
1554
+ */
1555
+ qris?: PaymentMethodConfigurationUpdateParams.Qris;
1556
+
1412
1557
  /**
1413
1558
  * 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
1559
  */
@@ -1424,6 +1569,11 @@ declare module 'stripe' {
1424
1569
  */
1425
1570
  sepa_debit?: PaymentMethodConfigurationUpdateParams.SepaDebit;
1426
1571
 
1572
+ /**
1573
+ * 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.
1574
+ */
1575
+ shopeepay?: PaymentMethodConfigurationUpdateParams.Shopeepay;
1576
+
1427
1577
  /**
1428
1578
  * 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
1579
  */
@@ -1896,6 +2046,26 @@ declare module 'stripe' {
1896
2046
  }
1897
2047
  }
1898
2048
 
2049
+ interface Gopay {
2050
+ /**
2051
+ * Whether or not the payment method should be displayed.
2052
+ */
2053
+ display_preference?: Gopay.DisplayPreference;
2054
+ }
2055
+
2056
+ namespace Gopay {
2057
+ interface DisplayPreference {
2058
+ /**
2059
+ * The account's preference for whether or not to display this payment method.
2060
+ */
2061
+ preference?: DisplayPreference.Preference;
2062
+ }
2063
+
2064
+ namespace DisplayPreference {
2065
+ type Preference = 'none' | 'off' | 'on';
2066
+ }
2067
+ }
2068
+
1899
2069
  interface Grabpay {
1900
2070
  /**
1901
2071
  * Whether or not the payment method should be displayed.
@@ -1916,6 +2086,26 @@ declare module 'stripe' {
1916
2086
  }
1917
2087
  }
1918
2088
 
2089
+ interface IdBankTransfer {
2090
+ /**
2091
+ * Whether or not the payment method should be displayed.
2092
+ */
2093
+ display_preference?: IdBankTransfer.DisplayPreference;
2094
+ }
2095
+
2096
+ namespace IdBankTransfer {
2097
+ interface DisplayPreference {
2098
+ /**
2099
+ * The account's preference for whether or not to display this payment method.
2100
+ */
2101
+ preference?: DisplayPreference.Preference;
2102
+ }
2103
+
2104
+ namespace DisplayPreference {
2105
+ type Preference = 'none' | 'off' | 'on';
2106
+ }
2107
+ }
2108
+
1919
2109
  interface Ideal {
1920
2110
  /**
1921
2111
  * Whether or not the payment method should be displayed.
@@ -2176,6 +2366,26 @@ declare module 'stripe' {
2176
2366
  }
2177
2367
  }
2178
2368
 
2369
+ interface Payto {
2370
+ /**
2371
+ * Whether or not the payment method should be displayed.
2372
+ */
2373
+ display_preference?: Payto.DisplayPreference;
2374
+ }
2375
+
2376
+ namespace Payto {
2377
+ interface DisplayPreference {
2378
+ /**
2379
+ * The account's preference for whether or not to display this payment method.
2380
+ */
2381
+ preference?: DisplayPreference.Preference;
2382
+ }
2383
+
2384
+ namespace DisplayPreference {
2385
+ type Preference = 'none' | 'off' | 'on';
2386
+ }
2387
+ }
2388
+
2179
2389
  interface Pix {
2180
2390
  /**
2181
2391
  * Whether or not the payment method should be displayed.
@@ -2216,6 +2426,26 @@ declare module 'stripe' {
2216
2426
  }
2217
2427
  }
2218
2428
 
2429
+ interface Qris {
2430
+ /**
2431
+ * Whether or not the payment method should be displayed.
2432
+ */
2433
+ display_preference?: Qris.DisplayPreference;
2434
+ }
2435
+
2436
+ namespace Qris {
2437
+ interface DisplayPreference {
2438
+ /**
2439
+ * The account's preference for whether or not to display this payment method.
2440
+ */
2441
+ preference?: DisplayPreference.Preference;
2442
+ }
2443
+
2444
+ namespace DisplayPreference {
2445
+ type Preference = 'none' | 'off' | 'on';
2446
+ }
2447
+ }
2448
+
2219
2449
  interface RevolutPay {
2220
2450
  /**
2221
2451
  * Whether or not the payment method should be displayed.
@@ -2276,6 +2506,26 @@ declare module 'stripe' {
2276
2506
  }
2277
2507
  }
2278
2508
 
2509
+ interface Shopeepay {
2510
+ /**
2511
+ * Whether or not the payment method should be displayed.
2512
+ */
2513
+ display_preference?: Shopeepay.DisplayPreference;
2514
+ }
2515
+
2516
+ namespace Shopeepay {
2517
+ interface DisplayPreference {
2518
+ /**
2519
+ * The account's preference for whether or not to display this payment method.
2520
+ */
2521
+ preference?: DisplayPreference.Preference;
2522
+ }
2523
+
2524
+ namespace DisplayPreference {
2525
+ type Preference = 'none' | 'off' | 'on';
2526
+ }
2527
+ }
2528
+
2279
2529
  interface Sofort {
2280
2530
  /**
2281
2531
  * Whether or not the payment method should be displayed.
@@ -67,6 +67,8 @@ declare module 'stripe' {
67
67
  */
68
68
  customer: string | Stripe.Customer | null;
69
69
 
70
+ customer_account?: string | null;
71
+
70
72
  customer_balance?: PaymentMethod.CustomerBalance;
71
73
 
72
74
  eps?: PaymentMethod.Eps;
@@ -75,8 +77,12 @@ declare module 'stripe' {
75
77
 
76
78
  giropay?: PaymentMethod.Giropay;
77
79
 
80
+ gopay?: PaymentMethod.Gopay;
81
+
78
82
  grabpay?: PaymentMethod.Grabpay;
79
83
 
84
+ id_bank_transfer?: PaymentMethod.IdBankTransfer;
85
+
80
86
  ideal?: PaymentMethod.Ideal;
81
87
 
82
88
  interac_present?: PaymentMethod.InteracPresent;
@@ -96,6 +102,8 @@ declare module 'stripe' {
96
102
  */
97
103
  livemode: boolean;
98
104
 
105
+ mb_way?: PaymentMethod.MbWay;
106
+
99
107
  /**
100
108
  * Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
101
109
  */
@@ -121,15 +129,21 @@ declare module 'stripe' {
121
129
 
122
130
  paypal?: PaymentMethod.Paypal;
123
131
 
132
+ payto?: PaymentMethod.Payto;
133
+
124
134
  pix?: PaymentMethod.Pix;
125
135
 
126
136
  promptpay?: PaymentMethod.Promptpay;
127
137
 
138
+ qris?: PaymentMethod.Qris;
139
+
128
140
  /**
129
141
  * Options to configure Radar. See [Radar Session](https://stripe.com/docs/radar/radar-session) for more information.
130
142
  */
131
143
  radar_options?: PaymentMethod.RadarOptions;
132
144
 
145
+ rechnung?: PaymentMethod.Rechnung;
146
+
133
147
  revolut_pay?: PaymentMethod.RevolutPay;
134
148
 
135
149
  samsung_pay?: PaymentMethod.SamsungPay;
@@ -138,8 +152,12 @@ declare module 'stripe' {
138
152
 
139
153
  sepa_debit?: PaymentMethod.SepaDebit;
140
154
 
155
+ shopeepay?: PaymentMethod.Shopeepay;
156
+
141
157
  sofort?: PaymentMethod.Sofort;
142
158
 
159
+ stripe_balance?: PaymentMethod.StripeBalance;
160
+
143
161
  swish?: PaymentMethod.Swish;
144
162
 
145
163
  twint?: PaymentMethod.Twint;
@@ -158,6 +176,11 @@ declare module 'stripe' {
158
176
 
159
177
  namespace PaymentMethod {
160
178
  interface AcssDebit {
179
+ /**
180
+ * Account number of the bank account.
181
+ */
182
+ account_number?: string | null;
183
+
161
184
  /**
162
185
  * Name of the bank associated with the bank account.
163
186
  */
@@ -962,8 +985,24 @@ declare module 'stripe' {
962
985
 
963
986
  interface Giropay {}
964
987
 
988
+ interface Gopay {}
989
+
965
990
  interface Grabpay {}
966
991
 
992
+ interface IdBankTransfer {
993
+ bank: IdBankTransfer.Bank | null;
994
+
995
+ bank_code: string | null;
996
+
997
+ bank_name: string | null;
998
+
999
+ display_name: string | null;
1000
+ }
1001
+
1002
+ namespace IdBankTransfer {
1003
+ type Bank = 'bca' | 'bni' | 'bri' | 'cimb' | 'permata';
1004
+ }
1005
+
967
1006
  interface Ideal {
968
1007
  /**
969
1008
  * The customer's bank, if provided. Can be one of `abn_amro`, `asn_bank`, `bunq`, `handelsbanken`, `ing`, `knab`, `moneyou`, `n26`, `nn`, `rabobank`, `regiobank`, `revolut`, `sns_bank`, `triodos_bank`, `van_lanschot`, or `yoursafe`.
@@ -1191,6 +1230,8 @@ declare module 'stripe' {
1191
1230
  persistent_token?: string;
1192
1231
  }
1193
1232
 
1233
+ interface MbWay {}
1234
+
1194
1235
  interface Mobilepay {}
1195
1236
 
1196
1237
  interface Multibanco {}
@@ -1294,6 +1335,11 @@ declare module 'stripe' {
1294
1335
  */
1295
1336
  country: string | null;
1296
1337
 
1338
+ /**
1339
+ * Uniquely identifies this particular PayPal account. You can use this attribute to check whether two PayPal accounts are the same.
1340
+ */
1341
+ fingerprint?: string | null;
1342
+
1297
1343
  /**
1298
1344
  * Owner's email. Values are provided by PayPal directly
1299
1345
  * (if supported) at the time of authorization or settlement. They cannot be set or mutated.
@@ -1304,12 +1350,37 @@ declare module 'stripe' {
1304
1350
  * PayPal account PayerID. This identifier uniquely identifies the PayPal customer.
1305
1351
  */
1306
1352
  payer_id: string | null;
1353
+
1354
+ /**
1355
+ * Owner's verified email. Values are verified or provided by PayPal directly
1356
+ * (if supported) at the time of authorization or settlement. They cannot be set or mutated.
1357
+ */
1358
+ verified_email?: string | null;
1359
+ }
1360
+
1361
+ interface Payto {
1362
+ /**
1363
+ * Bank-State-Branch number of the bank account.
1364
+ */
1365
+ bsb_number: string | null;
1366
+
1367
+ /**
1368
+ * Last four digits of the bank account number.
1369
+ */
1370
+ last4: string | null;
1371
+
1372
+ /**
1373
+ * The PayID alias for the bank account.
1374
+ */
1375
+ pay_id: string | null;
1307
1376
  }
1308
1377
 
1309
1378
  interface Pix {}
1310
1379
 
1311
1380
  interface Promptpay {}
1312
1381
 
1382
+ interface Qris {}
1383
+
1313
1384
  interface RadarOptions {
1314
1385
  /**
1315
1386
  * A [Radar Session](https://stripe.com/docs/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
@@ -1317,6 +1388,29 @@ declare module 'stripe' {
1317
1388
  session?: string;
1318
1389
  }
1319
1390
 
1391
+ interface Rechnung {
1392
+ dob?: Rechnung.Dob;
1393
+ }
1394
+
1395
+ namespace Rechnung {
1396
+ interface Dob {
1397
+ /**
1398
+ * The day of birth, between 1 and 31.
1399
+ */
1400
+ day: number;
1401
+
1402
+ /**
1403
+ * The month of birth, between 1 and 12.
1404
+ */
1405
+ month: number;
1406
+
1407
+ /**
1408
+ * The four-digit year of birth.
1409
+ */
1410
+ year: number;
1411
+ }
1412
+ }
1413
+
1320
1414
  interface RevolutPay {}
1321
1415
 
1322
1416
  interface SamsungPay {}
@@ -1369,6 +1463,8 @@ declare module 'stripe' {
1369
1463
  }
1370
1464
  }
1371
1465
 
1466
+ interface Shopeepay {}
1467
+
1372
1468
  interface Sofort {
1373
1469
  /**
1374
1470
  * Two-letter ISO code representing the country the bank account is located in.
@@ -1376,6 +1472,22 @@ declare module 'stripe' {
1376
1472
  country: string | null;
1377
1473
  }
1378
1474
 
1475
+ interface StripeBalance {
1476
+ /**
1477
+ * The connected account ID whose Stripe balance to use as the source of payment
1478
+ */
1479
+ account?: string | null;
1480
+
1481
+ /**
1482
+ * The [source_type](https://docs.stripe.com/api/balance/balance_object#balance_object-available-source_types) of the balance
1483
+ */
1484
+ source_type: StripeBalance.SourceType;
1485
+ }
1486
+
1487
+ namespace StripeBalance {
1488
+ type SourceType = 'bank_account' | 'card' | 'fpx';
1489
+ }
1490
+
1379
1491
  interface Swish {}
1380
1492
 
1381
1493
  interface Twint {}
@@ -1400,7 +1512,9 @@ declare module 'stripe' {
1400
1512
  | 'eps'
1401
1513
  | 'fpx'
1402
1514
  | 'giropay'
1515
+ | 'gopay'
1403
1516
  | 'grabpay'
1517
+ | 'id_bank_transfer'
1404
1518
  | 'ideal'
1405
1519
  | 'interac_present'
1406
1520
  | 'kakao_pay'
@@ -1408,6 +1522,7 @@ declare module 'stripe' {
1408
1522
  | 'konbini'
1409
1523
  | 'kr_card'
1410
1524
  | 'link'
1525
+ | 'mb_way'
1411
1526
  | 'mobilepay'
1412
1527
  | 'multibanco'
1413
1528
  | 'naver_pay'
@@ -1418,13 +1533,18 @@ declare module 'stripe' {
1418
1533
  | 'payco'
1419
1534
  | 'paynow'
1420
1535
  | 'paypal'
1536
+ | 'payto'
1421
1537
  | 'pix'
1422
1538
  | 'promptpay'
1539
+ | 'qris'
1540
+ | 'rechnung'
1423
1541
  | 'revolut_pay'
1424
1542
  | 'samsung_pay'
1425
1543
  | 'satispay'
1426
1544
  | 'sepa_debit'
1545
+ | 'shopeepay'
1427
1546
  | 'sofort'
1547
+ | 'stripe_balance'
1428
1548
  | 'swish'
1429
1549
  | 'twint'
1430
1550
  | 'us_bank_account'
@@ -1437,6 +1557,11 @@ declare module 'stripe' {
1437
1557
  */
1438
1558
  account_holder_type: UsBankAccount.AccountHolderType | null;
1439
1559
 
1560
+ /**
1561
+ * Account number of the bank account.
1562
+ */
1563
+ account_number?: string | null;
1564
+
1440
1565
  /**
1441
1566
  * Account type: checkings or savings. Defaults to checking if omitted.
1442
1567
  */