stripe 13.6.0.pre.beta.1 → 14.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 (556) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +699 -1457
  3. data/OPENAPI_VERSION +1 -1
  4. data/README.md +29 -0
  5. data/VERSION +1 -1
  6. data/lib/stripe/api_requestor.rb +2 -0
  7. data/lib/stripe/api_version.rb +1 -1
  8. data/lib/stripe/errors.rb +0 -7
  9. data/lib/stripe/object_types.rb +0 -26
  10. data/lib/stripe/resources/account.rb +83 -614
  11. data/lib/stripe/resources/account_session.rb +1 -247
  12. data/lib/stripe/resources/apple_pay_domain.rb +0 -9
  13. data/lib/stripe/resources/application_fee.rb +1 -10
  14. data/lib/stripe/resources/balance.rb +0 -9
  15. data/lib/stripe/resources/balance_transaction.rb +2 -11
  16. data/lib/stripe/resources/bank_account.rb +1 -1
  17. data/lib/stripe/resources/billing/alert.rb +0 -9
  18. data/lib/stripe/resources/billing/credit_balance_summary.rb +0 -48
  19. data/lib/stripe/resources/billing/credit_balance_transaction.rb +0 -9
  20. data/lib/stripe/resources/billing/credit_grant.rb +4 -13
  21. data/lib/stripe/resources/billing/meter.rb +1 -10
  22. data/lib/stripe/resources/billing_portal/configuration.rb +0 -9
  23. data/lib/stripe/resources/card.rb +2 -4
  24. data/lib/stripe/resources/charge.rb +35 -1457
  25. data/lib/stripe/resources/checkout/session.rb +100 -293
  26. data/lib/stripe/resources/climate/order.rb +0 -9
  27. data/lib/stripe/resources/climate/product.rb +0 -9
  28. data/lib/stripe/resources/climate/supplier.rb +0 -9
  29. data/lib/stripe/resources/confirmation_token.rb +74 -156
  30. data/lib/stripe/resources/country_spec.rb +0 -9
  31. data/lib/stripe/resources/coupon.rb +0 -9
  32. data/lib/stripe/resources/credit_note.rb +14 -35
  33. data/lib/stripe/resources/credit_note_line_item.rb +14 -12
  34. data/lib/stripe/resources/customer.rb +12 -28
  35. data/lib/stripe/resources/customer_balance_transaction.rb +3 -1
  36. data/lib/stripe/resources/dispute.rb +0 -9
  37. data/lib/stripe/resources/entitlements/active_entitlement.rb +0 -9
  38. data/lib/stripe/resources/entitlements/feature.rb +0 -9
  39. data/lib/stripe/resources/event.rb +0 -40
  40. data/lib/stripe/resources/exchange_rate.rb +0 -9
  41. data/lib/stripe/resources/file.rb +0 -9
  42. data/lib/stripe/resources/file_link.rb +0 -9
  43. data/lib/stripe/resources/financial_connections/account.rb +0 -23
  44. data/lib/stripe/resources/financial_connections/session.rb +1 -65
  45. data/lib/stripe/resources/financial_connections/transaction.rb +0 -9
  46. data/lib/stripe/resources/forwarding/request.rb +0 -9
  47. data/lib/stripe/resources/identity/verification_report.rb +0 -9
  48. data/lib/stripe/resources/identity/verification_session.rb +0 -9
  49. data/lib/stripe/resources/invoice.rb +225 -5120
  50. data/lib/stripe/resources/invoice_item.rb +65 -110
  51. data/lib/stripe/resources/invoice_line_item.rb +106 -89
  52. data/lib/stripe/resources/invoice_payment.rb +53 -4
  53. data/lib/stripe/resources/invoice_rendering_template.rb +0 -12
  54. data/lib/stripe/resources/issuing/authorization.rb +0 -9
  55. data/lib/stripe/resources/issuing/card.rb +0 -9
  56. data/lib/stripe/resources/issuing/cardholder.rb +1 -11
  57. data/lib/stripe/resources/issuing/dispute.rb +0 -9
  58. data/lib/stripe/resources/issuing/personalization_design.rb +0 -9
  59. data/lib/stripe/resources/issuing/physical_bundle.rb +0 -9
  60. data/lib/stripe/resources/issuing/token.rb +0 -9
  61. data/lib/stripe/resources/issuing/transaction.rb +0 -15
  62. data/lib/stripe/resources/line_item.rb +0 -28
  63. data/lib/stripe/resources/mandate.rb +6 -33
  64. data/lib/stripe/resources/payment_intent.rb +642 -4975
  65. data/lib/stripe/resources/payment_link.rb +84 -15
  66. data/lib/stripe/resources/payment_method.rb +74 -187
  67. data/lib/stripe/resources/payment_method_configuration.rb +87 -214
  68. data/lib/stripe/resources/payment_method_domain.rb +9 -18
  69. data/lib/stripe/resources/payout.rb +0 -9
  70. data/lib/stripe/resources/person.rb +9 -9
  71. data/lib/stripe/resources/plan.rb +0 -15
  72. data/lib/stripe/resources/price.rb +2 -47
  73. data/lib/stripe/resources/product.rb +0 -68
  74. data/lib/stripe/resources/promotion_code.rb +0 -9
  75. data/lib/stripe/resources/quote.rb +8 -2037
  76. data/lib/stripe/resources/radar/early_fraud_warning.rb +0 -9
  77. data/lib/stripe/resources/radar/value_list.rb +0 -9
  78. data/lib/stripe/resources/radar/value_list_item.rb +0 -9
  79. data/lib/stripe/resources/refund.rb +13 -18
  80. data/lib/stripe/resources/reporting/report_run.rb +0 -9
  81. data/lib/stripe/resources/reporting/report_type.rb +0 -9
  82. data/lib/stripe/resources/review.rb +2 -11
  83. data/lib/stripe/resources/setup_attempt.rb +11 -16
  84. data/lib/stripe/resources/setup_intent.rb +158 -540
  85. data/lib/stripe/resources/shipping_rate.rb +0 -9
  86. data/lib/stripe/resources/sigma/scheduled_query_run.rb +0 -9
  87. data/lib/stripe/resources/source.rb +0 -41
  88. data/lib/stripe/resources/subscription.rb +14 -385
  89. data/lib/stripe/resources/subscription_item.rb +9 -134
  90. data/lib/stripe/resources/subscription_schedule.rb +14 -1135
  91. data/lib/stripe/resources/tax/calculation.rb +0 -9
  92. data/lib/stripe/resources/tax/registration.rb +1 -10
  93. data/lib/stripe/resources/tax/settings.rb +0 -9
  94. data/lib/stripe/resources/tax/transaction.rb +0 -9
  95. data/lib/stripe/resources/tax_code.rb +0 -9
  96. data/lib/stripe/resources/tax_id.rb +0 -9
  97. data/lib/stripe/resources/tax_rate.rb +0 -9
  98. data/lib/stripe/resources/terminal/configuration.rb +214 -14
  99. data/lib/stripe/resources/terminal/location.rb +0 -9
  100. data/lib/stripe/resources/terminal/reader.rb +0 -408
  101. data/lib/stripe/resources/test_helpers/test_clock.rb +0 -9
  102. data/lib/stripe/resources/token.rb +1 -10
  103. data/lib/stripe/resources/topup.rb +0 -9
  104. data/lib/stripe/resources/transfer.rb +0 -9
  105. data/lib/stripe/resources/treasury/credit_reversal.rb +0 -9
  106. data/lib/stripe/resources/treasury/debit_reversal.rb +0 -9
  107. data/lib/stripe/resources/treasury/financial_account.rb +4 -32
  108. data/lib/stripe/resources/treasury/financial_account_features.rb +0 -2
  109. data/lib/stripe/resources/treasury/inbound_transfer.rb +0 -9
  110. data/lib/stripe/resources/treasury/outbound_payment.rb +0 -9
  111. data/lib/stripe/resources/treasury/outbound_transfer.rb +0 -46
  112. data/lib/stripe/resources/treasury/received_credit.rb +1 -47
  113. data/lib/stripe/resources/treasury/received_debit.rb +1 -49
  114. data/lib/stripe/resources/treasury/transaction.rb +0 -9
  115. data/lib/stripe/resources/treasury/transaction_entry.rb +0 -9
  116. data/lib/stripe/resources/v2/event.rb +1 -0
  117. data/lib/stripe/resources/v2/event_destination.rb +1 -0
  118. data/lib/stripe/resources/webhook_endpoint.rb +0 -9
  119. data/lib/stripe/resources.rb +0 -25
  120. data/lib/stripe/services/account_external_account_service.rb +1 -1
  121. data/lib/stripe/services/account_service.rb +68 -509
  122. data/lib/stripe/services/account_session_service.rb +1 -217
  123. data/lib/stripe/services/balance_transaction_service.rb +1 -1
  124. data/lib/stripe/services/billing/credit_balance_summary_service.rb +2 -2
  125. data/lib/stripe/services/billing/credit_grant_service.rb +2 -2
  126. data/lib/stripe/services/billing/meter_service.rb +1 -1
  127. data/lib/stripe/services/charge_service.rb +1 -1335
  128. data/lib/stripe/services/checkout/session_service.rb +60 -168
  129. data/lib/stripe/services/credit_note_preview_lines_service.rb +0 -4
  130. data/lib/stripe/services/credit_note_service.rb +0 -8
  131. data/lib/stripe/services/customer_service.rb +0 -16
  132. data/lib/stripe/services/financial_connections/account_service.rb +1 -3
  133. data/lib/stripe/services/financial_connections/session_service.rb +1 -30
  134. data/lib/stripe/services/financial_connections_service.rb +1 -2
  135. data/lib/stripe/services/invoice_item_service.rb +34 -88
  136. data/lib/stripe/services/invoice_line_item_service.rb +25 -41
  137. data/lib/stripe/services/invoice_payment_service.rb +33 -5
  138. data/lib/stripe/services/invoice_service.rb +210 -3147
  139. data/lib/stripe/services/issuing/cardholder_service.rb +1 -2
  140. data/lib/stripe/services/issuing/transaction_service.rb +0 -4
  141. data/lib/stripe/services/issuing_service.rb +1 -5
  142. data/lib/stripe/services/payment_intent_service.rb +568 -4513
  143. data/lib/stripe/services/payment_link_service.rb +59 -6
  144. data/lib/stripe/services/payment_method_configuration_service.rb +62 -146
  145. data/lib/stripe/services/payment_method_domain_service.rb +6 -6
  146. data/lib/stripe/services/payment_method_service.rb +49 -119
  147. data/lib/stripe/services/plan_service.rb +0 -4
  148. data/lib/stripe/services/price_service.rb +2 -25
  149. data/lib/stripe/services/product_service.rb +0 -38
  150. data/lib/stripe/services/quote_service.rb +9 -1716
  151. data/lib/stripe/services/setup_intent_service.rb +158 -492
  152. data/lib/stripe/services/subscription_item_service.rb +5 -111
  153. data/lib/stripe/services/subscription_schedule_service.rb +14 -1005
  154. data/lib/stripe/services/subscription_service.rb +13 -323
  155. data/lib/stripe/services/tax/registration_service.rb +1 -1
  156. data/lib/stripe/services/tax_service.rb +1 -3
  157. data/lib/stripe/services/terminal/configuration_service.rb +170 -4
  158. data/lib/stripe/services/terminal/reader_service.rb +0 -177
  159. data/lib/stripe/services/terminal_service.rb +1 -2
  160. data/lib/stripe/services/test_helpers/confirmation_token_service.rb +49 -87
  161. data/lib/stripe/services/test_helpers/terminal/reader_service.rb +0 -43
  162. data/lib/stripe/services/test_helpers/treasury/received_credit_service.rb +1 -25
  163. data/lib/stripe/services/test_helpers/treasury/received_debit_service.rb +1 -25
  164. data/lib/stripe/services/token_service.rb +1 -1
  165. data/lib/stripe/services/treasury/financial_account_features_service.rb +1 -4
  166. data/lib/stripe/services/treasury/financial_account_service.rb +3 -17
  167. data/lib/stripe/services/treasury/outbound_transfer_service.rb +0 -24
  168. data/lib/stripe/services/v1_services.rb +2 -8
  169. data/lib/stripe/services/v2/core/event_destination_service.rb +1 -4
  170. data/lib/stripe/services/v2/core/event_service.rb +1 -4
  171. data/lib/stripe/services.rb +0 -27
  172. data/lib/stripe/stripe_client.rb +1 -0
  173. data/lib/stripe/stripe_configuration.rb +1 -3
  174. data/lib/stripe/util.rb +1 -7
  175. data/lib/stripe/version.rb +1 -1
  176. data/lib/stripe.rb +0 -45
  177. data/rbi/stripe/resources/account.rbi +1131 -1479
  178. data/rbi/stripe/resources/account_link.rbi +9 -9
  179. data/rbi/stripe/resources/account_session.rbi +118 -367
  180. data/rbi/stripe/resources/apple_pay_domain.rbi +8 -15
  181. data/rbi/stripe/resources/application_fee.rbi +15 -20
  182. data/rbi/stripe/resources/apps/secret.rbi +20 -20
  183. data/rbi/stripe/resources/balance.rbi +0 -7
  184. data/rbi/stripe/resources/balance_transaction.rbi +19 -24
  185. data/rbi/stripe/resources/bank_account.rbi +1 -1
  186. data/rbi/stripe/resources/billing/alert.rbi +23 -28
  187. data/rbi/stripe/resources/billing/credit_balance_summary.rbi +0 -53
  188. data/rbi/stripe/resources/billing/credit_balance_transaction.rbi +6 -13
  189. data/rbi/stripe/resources/billing/credit_grant.rbi +30 -37
  190. data/rbi/stripe/resources/billing/meter.rbi +19 -26
  191. data/rbi/stripe/resources/billing/meter_event.rbi +4 -4
  192. data/rbi/stripe/resources/billing/meter_event_adjustment.rbi +5 -5
  193. data/rbi/stripe/resources/billing_portal/configuration.rbi +86 -81
  194. data/rbi/stripe/resources/billing_portal/session.rbi +31 -27
  195. data/rbi/stripe/resources/card.rbi +2 -5
  196. data/rbi/stripe/resources/charge.rbi +136 -1576
  197. data/rbi/stripe/resources/checkout/session.rbi +631 -748
  198. data/rbi/stripe/resources/climate/order.rbi +20 -25
  199. data/rbi/stripe/resources/climate/product.rbi +5 -12
  200. data/rbi/stripe/resources/climate/supplier.rbi +5 -12
  201. data/rbi/stripe/resources/confirmation_token.rbi +274 -268
  202. data/rbi/stripe/resources/country_spec.rbi +5 -12
  203. data/rbi/stripe/resources/coupon.rbi +34 -39
  204. data/rbi/stripe/resources/credit_note.rbi +134 -146
  205. data/rbi/stripe/resources/credit_note_line_item.rbi +20 -18
  206. data/rbi/stripe/resources/customer.rbi +172 -164
  207. data/rbi/stripe/resources/customer_balance_transaction.rbi +4 -1
  208. data/rbi/stripe/resources/customer_session.rbi +19 -15
  209. data/rbi/stripe/resources/dispute.rbi +92 -95
  210. data/rbi/stripe/resources/entitlements/active_entitlement.rbi +5 -12
  211. data/rbi/stripe/resources/entitlements/feature.rbi +15 -22
  212. data/rbi/stripe/resources/ephemeral_key.rbi +2 -2
  213. data/rbi/stripe/resources/event.rbi +16 -60
  214. data/rbi/stripe/resources/exchange_rate.rbi +5 -12
  215. data/rbi/stripe/resources/file.rbi +20 -25
  216. data/rbi/stripe/resources/file_link.rbi +23 -28
  217. data/rbi/stripe/resources/financial_connections/account.rbi +25 -44
  218. data/rbi/stripe/resources/financial_connections/session.rbi +12 -75
  219. data/rbi/stripe/resources/financial_connections/transaction.rbi +16 -19
  220. data/rbi/stripe/resources/forwarding/request.rbi +21 -24
  221. data/rbi/stripe/resources/identity/verification_report.rbi +18 -21
  222. data/rbi/stripe/resources/identity/verification_session.rbi +60 -61
  223. data/rbi/stripe/resources/invoice.rbi +723 -5918
  224. data/rbi/stripe/resources/invoice_item.rbi +138 -177
  225. data/rbi/stripe/resources/invoice_line_item.rbi +199 -264
  226. data/rbi/stripe/resources/invoice_payment.rbi +51 -7
  227. data/rbi/stripe/resources/invoice_rendering_template.rbi +10 -20
  228. data/rbi/stripe/resources/issuing/authorization.rbi +216 -199
  229. data/rbi/stripe/resources/issuing/card.rbi +104 -101
  230. data/rbi/stripe/resources/issuing/cardholder.rbi +120 -108
  231. data/rbi/stripe/resources/issuing/dispute.rbi +164 -151
  232. data/rbi/stripe/resources/issuing/personalization_design.rbi +61 -56
  233. data/rbi/stripe/resources/issuing/physical_bundle.rbi +7 -14
  234. data/rbi/stripe/resources/issuing/token.rbi +16 -21
  235. data/rbi/stripe/resources/issuing/transaction.rbi +180 -176
  236. data/rbi/stripe/resources/line_item.rbi +0 -36
  237. data/rbi/stripe/resources/mandate.rbi +8 -40
  238. data/rbi/stripe/resources/payment_intent.rbi +2252 -6482
  239. data/rbi/stripe/resources/payment_link.rbi +346 -211
  240. data/rbi/stripe/resources/payment_method.rbi +226 -330
  241. data/rbi/stripe/resources/payment_method_configuration.rbi +602 -685
  242. data/rbi/stripe/resources/payment_method_domain.rbi +26 -31
  243. data/rbi/stripe/resources/payout.rbi +43 -42
  244. data/rbi/stripe/resources/person.rbi +9 -9
  245. data/rbi/stripe/resources/plan.rbi +51 -63
  246. data/rbi/stripe/resources/price.rbi +114 -151
  247. data/rbi/stripe/resources/product.rbi +90 -152
  248. data/rbi/stripe/resources/promotion_code.rbi +42 -47
  249. data/rbi/stripe/resources/quote.rbi +168 -2231
  250. data/rbi/stripe/resources/radar/early_fraud_warning.rbi +17 -20
  251. data/rbi/stripe/resources/radar/value_list.rbi +24 -29
  252. data/rbi/stripe/resources/radar/value_list_item.rbi +18 -21
  253. data/rbi/stripe/resources/refund.rbi +52 -51
  254. data/rbi/stripe/resources/reporting/report_run.rbi +27 -30
  255. data/rbi/stripe/resources/reporting/report_type.rbi +2 -9
  256. data/rbi/stripe/resources/review.rbi +17 -22
  257. data/rbi/stripe/resources/setup_attempt.rbi +25 -32
  258. data/rbi/stripe/resources/setup_intent.rbi +900 -1102
  259. data/rbi/stripe/resources/shipping_rate.rbi +41 -46
  260. data/rbi/stripe/resources/sigma/scheduled_query_run.rbi +5 -12
  261. data/rbi/stripe/resources/source.rbi +132 -179
  262. data/rbi/stripe/resources/subscription.rbi +363 -707
  263. data/rbi/stripe/resources/subscription_item.rbi +69 -177
  264. data/rbi/stripe/resources/subscription_schedule.rbi +289 -1447
  265. data/rbi/stripe/resources/tax/calculation.rbi +43 -48
  266. data/rbi/stripe/resources/tax/registration.rbi +217 -170
  267. data/rbi/stripe/resources/tax/settings.rbi +14 -21
  268. data/rbi/stripe/resources/tax/transaction.rbi +20 -25
  269. data/rbi/stripe/resources/tax_code.rbi +5 -12
  270. data/rbi/stripe/resources/tax_id.rbi +15 -22
  271. data/rbi/stripe/resources/tax_rate.rbi +34 -39
  272. data/rbi/stripe/resources/terminal/configuration.rbi +457 -212
  273. data/rbi/stripe/resources/terminal/connection_token.rbi +3 -3
  274. data/rbi/stripe/resources/terminal/location.rbi +28 -35
  275. data/rbi/stripe/resources/terminal/reader.rbi +71 -441
  276. data/rbi/stripe/resources/test_helpers/test_clock.rbi +12 -17
  277. data/rbi/stripe/resources/token.rbi +288 -263
  278. data/rbi/stripe/resources/topup.rbi +35 -38
  279. data/rbi/stripe/resources/transfer.rbi +27 -32
  280. data/rbi/stripe/resources/treasury/credit_reversal.rbi +10 -17
  281. data/rbi/stripe/resources/treasury/debit_reversal.rbi +11 -18
  282. data/rbi/stripe/resources/treasury/financial_account.rbi +125 -130
  283. data/rbi/stripe/resources/treasury/financial_account_features.rbi +0 -3
  284. data/rbi/stripe/resources/treasury/inbound_transfer.rbi +22 -29
  285. data/rbi/stripe/resources/treasury/outbound_payment.rbi +82 -79
  286. data/rbi/stripe/resources/treasury/outbound_transfer.rbi +44 -86
  287. data/rbi/stripe/resources/treasury/received_credit.rbi +18 -64
  288. data/rbi/stripe/resources/treasury/received_debit.rbi +17 -66
  289. data/rbi/stripe/resources/treasury/transaction.rbi +27 -28
  290. data/rbi/stripe/resources/treasury/transaction_entry.rbi +25 -26
  291. data/rbi/stripe/resources/v2/amount.rbi +1 -1
  292. data/rbi/stripe/resources/v2/event.rbi +1 -0
  293. data/rbi/stripe/resources/v2/event_destination.rbi +1 -0
  294. data/rbi/stripe/resources/webhook_endpoint.rbi +18 -25
  295. data/rbi/stripe/services/account_capability_service.rbi +7 -7
  296. data/rbi/stripe/services/account_external_account_service.rbi +52 -52
  297. data/rbi/stripe/services/account_link_service.rbi +9 -9
  298. data/rbi/stripe/services/account_login_link_service.rbi +2 -2
  299. data/rbi/stripe/services/account_person_service.rbi +221 -201
  300. data/rbi/stripe/services/account_service.rbi +1221 -1345
  301. data/rbi/stripe/services/account_session_service.rbi +115 -346
  302. data/rbi/stripe/services/apple_pay_domain_service.rbi +10 -10
  303. data/rbi/stripe/services/application_fee_refund_service.rbi +16 -14
  304. data/rbi/stripe/services/application_fee_service.rbi +18 -14
  305. data/rbi/stripe/services/apps/secret_service.rbi +20 -20
  306. data/rbi/stripe/services/balance_service.rbi +2 -2
  307. data/rbi/stripe/services/balance_transaction_service.rbi +22 -18
  308. data/rbi/stripe/services/billing/alert_service.rbi +23 -23
  309. data/rbi/stripe/services/billing/credit_balance_summary_service.rbi +10 -10
  310. data/rbi/stripe/services/billing/credit_balance_transaction_service.rbi +8 -8
  311. data/rbi/stripe/services/billing/credit_grant_service.rbi +32 -30
  312. data/rbi/stripe/services/billing/meter_event_adjustment_service.rbi +7 -5
  313. data/rbi/stripe/services/billing/meter_event_service.rbi +4 -4
  314. data/rbi/stripe/services/billing/meter_event_summary_service.rbi +6 -6
  315. data/rbi/stripe/services/billing/meter_service.rbi +21 -21
  316. data/rbi/stripe/services/billing_portal/configuration_service.rbi +90 -76
  317. data/rbi/stripe/services/billing_portal/session_service.rbi +29 -27
  318. data/rbi/stripe/services/charge_service.rbi +96 -1464
  319. data/rbi/stripe/services/checkout/session_line_item_service.rbi +5 -5
  320. data/rbi/stripe/services/checkout/session_service.rbi +555 -591
  321. data/rbi/stripe/services/climate/order_service.rbi +22 -20
  322. data/rbi/stripe/services/climate/product_service.rbi +7 -7
  323. data/rbi/stripe/services/climate/supplier_service.rbi +7 -7
  324. data/rbi/stripe/services/confirmation_token_service.rbi +2 -2
  325. data/rbi/stripe/services/country_spec_service.rbi +7 -7
  326. data/rbi/stripe/services/coupon_service.rbi +40 -34
  327. data/rbi/stripe/services/credit_note_line_item_service.rbi +5 -5
  328. data/rbi/stripe/services/credit_note_preview_lines_service.rbi +35 -35
  329. data/rbi/stripe/services/credit_note_service.rbi +81 -85
  330. data/rbi/stripe/services/customer_balance_transaction_service.rbi +15 -15
  331. data/rbi/stripe/services/customer_cash_balance_service.rbi +7 -7
  332. data/rbi/stripe/services/customer_cash_balance_transaction_service.rbi +7 -7
  333. data/rbi/stripe/services/customer_funding_instructions_service.rbi +5 -5
  334. data/rbi/stripe/services/customer_payment_method_service.rbi +9 -9
  335. data/rbi/stripe/services/customer_payment_source_service.rbi +48 -44
  336. data/rbi/stripe/services/customer_service.rbi +143 -139
  337. data/rbi/stripe/services/customer_session_service.rbi +21 -15
  338. data/rbi/stripe/services/customer_tax_id_service.rbi +9 -9
  339. data/rbi/stripe/services/dispute_service.rbi +92 -90
  340. data/rbi/stripe/services/entitlements/active_entitlement_service.rbi +7 -7
  341. data/rbi/stripe/services/entitlements/feature_service.rbi +17 -17
  342. data/rbi/stripe/services/ephemeral_key_service.rbi +8 -8
  343. data/rbi/stripe/services/event_service.rbi +18 -16
  344. data/rbi/stripe/services/exchange_rate_service.rbi +7 -7
  345. data/rbi/stripe/services/file_link_service.rbi +25 -23
  346. data/rbi/stripe/services/file_service.rbi +22 -20
  347. data/rbi/stripe/services/financial_connections/account_owner_service.rbi +5 -5
  348. data/rbi/stripe/services/financial_connections/account_service.rbi +22 -21
  349. data/rbi/stripe/services/financial_connections/session_service.rbi +16 -39
  350. data/rbi/stripe/services/financial_connections/transaction_service.rbi +16 -14
  351. data/rbi/stripe/services/financial_connections_service.rbi +0 -1
  352. data/rbi/stripe/services/forwarding/request_service.rbi +21 -19
  353. data/rbi/stripe/services/identity/verification_report_service.rbi +18 -16
  354. data/rbi/stripe/services/identity/verification_session_service.rbi +62 -56
  355. data/rbi/stripe/services/invoice_item_service.rbi +99 -155
  356. data/rbi/stripe/services/invoice_line_item_service.rbi +71 -82
  357. data/rbi/stripe/services/invoice_payment_service.rbi +39 -12
  358. data/rbi/stripe/services/invoice_rendering_template_service.rbi +13 -13
  359. data/rbi/stripe/services/invoice_service.rbi +679 -3799
  360. data/rbi/stripe/services/issuing/authorization_service.rbi +32 -26
  361. data/rbi/stripe/services/issuing/card_service.rbi +102 -86
  362. data/rbi/stripe/services/issuing/cardholder_service.rbi +122 -103
  363. data/rbi/stripe/services/issuing/dispute_service.rbi +152 -146
  364. data/rbi/stripe/services/issuing/personalization_design_service.rbi +52 -42
  365. data/rbi/stripe/services/issuing/physical_bundle_service.rbi +9 -9
  366. data/rbi/stripe/services/issuing/token_service.rbi +20 -16
  367. data/rbi/stripe/services/issuing/transaction_service.rbi +25 -23
  368. data/rbi/stripe/services/issuing_service.rbi +0 -3
  369. data/rbi/stripe/services/mandate_service.rbi +2 -2
  370. data/rbi/stripe/services/payment_intent_service.rbi +2312 -6081
  371. data/rbi/stripe/services/payment_link_line_item_service.rbi +5 -5
  372. data/rbi/stripe/services/payment_link_service.rbi +303 -201
  373. data/rbi/stripe/services/payment_method_configuration_service.rbi +616 -620
  374. data/rbi/stripe/services/payment_method_domain_service.rbi +25 -23
  375. data/rbi/stripe/services/payment_method_service.rbi +192 -249
  376. data/rbi/stripe/services/payout_service.rbi +45 -37
  377. data/rbi/stripe/services/plan_service.rbi +53 -55
  378. data/rbi/stripe/services/price_service.rbi +124 -129
  379. data/rbi/stripe/services/product_feature_service.rbi +9 -9
  380. data/rbi/stripe/services/product_service.rbi +94 -122
  381. data/rbi/stripe/services/promotion_code_service.rbi +46 -42
  382. data/rbi/stripe/services/quote_computed_upfront_line_items_service.rbi +5 -5
  383. data/rbi/stripe/services/quote_line_item_service.rbi +5 -5
  384. data/rbi/stripe/services/quote_service.rbi +159 -1863
  385. data/rbi/stripe/services/radar/early_fraud_warning_service.rbi +17 -15
  386. data/rbi/stripe/services/radar/value_list_item_service.rbi +20 -16
  387. data/rbi/stripe/services/radar/value_list_service.rbi +28 -24
  388. data/rbi/stripe/services/refund_service.rbi +37 -33
  389. data/rbi/stripe/services/reporting/report_run_service.rbi +29 -25
  390. data/rbi/stripe/services/reporting/report_type_service.rbi +4 -4
  391. data/rbi/stripe/services/review_service.rbi +17 -15
  392. data/rbi/stripe/services/setup_attempt_service.rbi +13 -11
  393. data/rbi/stripe/services/setup_intent_service.rbi +1028 -1062
  394. data/rbi/stripe/services/shipping_rate_service.rbi +47 -41
  395. data/rbi/stripe/services/sigma/scheduled_query_run_service.rbi +7 -7
  396. data/rbi/stripe/services/source_service.rbi +149 -133
  397. data/rbi/stripe/services/source_transaction_service.rbi +5 -5
  398. data/rbi/stripe/services/subscription_item_service.rbi +61 -159
  399. data/rbi/stripe/services/subscription_schedule_service.rbi +289 -1305
  400. data/rbi/stripe/services/subscription_service.rbi +366 -640
  401. data/rbi/stripe/services/tax/calculation_line_item_service.rbi +5 -5
  402. data/rbi/stripe/services/tax/calculation_service.rbi +40 -38
  403. data/rbi/stripe/services/tax/registration_service.rbi +337 -165
  404. data/rbi/stripe/services/tax/settings_service.rbi +16 -16
  405. data/rbi/stripe/services/tax/transaction_line_item_service.rbi +5 -5
  406. data/rbi/stripe/services/tax/transaction_service.rbi +19 -15
  407. data/rbi/stripe/services/tax_code_service.rbi +7 -7
  408. data/rbi/stripe/services/tax_id_service.rbi +17 -17
  409. data/rbi/stripe/services/tax_rate_service.rbi +36 -34
  410. data/rbi/stripe/services/tax_service.rbi +0 -2
  411. data/rbi/stripe/services/terminal/configuration_service.rbi +464 -204
  412. data/rbi/stripe/services/terminal/connection_token_service.rbi +3 -3
  413. data/rbi/stripe/services/terminal/location_service.rbi +30 -30
  414. data/rbi/stripe/services/terminal/reader_service.rbi +57 -226
  415. data/rbi/stripe/services/terminal_service.rbi +0 -1
  416. data/rbi/stripe/services/test_helpers/confirmation_token_service.rbi +157 -198
  417. data/rbi/stripe/services/test_helpers/customer_service.rbi +3 -3
  418. data/rbi/stripe/services/test_helpers/issuing/authorization_service.rbi +180 -168
  419. data/rbi/stripe/services/test_helpers/issuing/card_service.rbi +10 -10
  420. data/rbi/stripe/services/test_helpers/issuing/personalization_design_service.rbi +11 -9
  421. data/rbi/stripe/services/test_helpers/issuing/transaction_service.rbi +151 -145
  422. data/rbi/stripe/services/test_helpers/refund_service.rbi +2 -2
  423. data/rbi/stripe/services/test_helpers/terminal/reader_service.rbi +10 -39
  424. data/rbi/stripe/services/test_helpers/test_clock_service.rbi +14 -12
  425. data/rbi/stripe/services/test_helpers/treasury/inbound_transfer_service.rbi +9 -9
  426. data/rbi/stripe/services/test_helpers/treasury/outbound_payment_service.rbi +20 -18
  427. data/rbi/stripe/services/test_helpers/treasury/outbound_transfer_service.rbi +20 -18
  428. data/rbi/stripe/services/test_helpers/treasury/received_credit_service.rbi +11 -38
  429. data/rbi/stripe/services/test_helpers/treasury/received_debit_service.rbi +11 -38
  430. data/rbi/stripe/services/token_service.rbi +292 -258
  431. data/rbi/stripe/services/topup_service.rbi +37 -33
  432. data/rbi/stripe/services/transfer_reversal_service.rbi +18 -16
  433. data/rbi/stripe/services/transfer_service.rbi +29 -27
  434. data/rbi/stripe/services/treasury/credit_reversal_service.rbi +12 -12
  435. data/rbi/stripe/services/treasury/debit_reversal_service.rbi +13 -13
  436. data/rbi/stripe/services/treasury/financial_account_features_service.rbi +23 -26
  437. data/rbi/stripe/services/treasury/financial_account_service.rbi +92 -96
  438. data/rbi/stripe/services/treasury/inbound_transfer_service.rbi +15 -15
  439. data/rbi/stripe/services/treasury/outbound_payment_service.rbi +60 -56
  440. data/rbi/stripe/services/treasury/outbound_transfer_service.rbi +24 -49
  441. data/rbi/stripe/services/treasury/received_credit_service.rbi +11 -9
  442. data/rbi/stripe/services/treasury/received_debit_service.rbi +8 -8
  443. data/rbi/stripe/services/treasury/transaction_entry_service.rbi +25 -21
  444. data/rbi/stripe/services/treasury/transaction_service.rbi +31 -23
  445. data/rbi/stripe/services/v1_services.rbi +1 -7
  446. data/rbi/stripe/services/v2/billing/meter_event_service.rbi +3 -3
  447. data/rbi/stripe/services/v2/billing/meter_event_stream_service.rbi +3 -3
  448. data/rbi/stripe/services/v2/core/event_destination_service.rbi +21 -24
  449. data/rbi/stripe/services/v2/core/event_service.rbi +3 -6
  450. data/rbi/stripe/services/webhook_endpoint_service.rbi +20 -20
  451. metadata +4 -109
  452. data/lib/stripe/request_signing_authenticator.rb +0 -79
  453. data/lib/stripe/resources/account_notice.rb +0 -132
  454. data/lib/stripe/resources/billing/meter_error_report.rb +0 -59
  455. data/lib/stripe/resources/capital/financing_offer.rb +0 -188
  456. data/lib/stripe/resources/capital/financing_summary.rb +0 -64
  457. data/lib/stripe/resources/capital/financing_transaction.rb +0 -123
  458. data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +0 -27
  459. data/lib/stripe/resources/financial_connections/institution.rb +0 -99
  460. data/lib/stripe/resources/gift_cards/card.rb +0 -217
  461. data/lib/stripe/resources/gift_cards/transaction.rb +0 -281
  462. data/lib/stripe/resources/issuing/credit_underwriting_record.rb +0 -611
  463. data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +0 -84
  464. data/lib/stripe/resources/issuing/fraud_liability_debit.rb +0 -95
  465. data/lib/stripe/resources/issuing/settlement.rb +0 -49
  466. data/lib/stripe/resources/margin.rb +0 -124
  467. data/lib/stripe/resources/order.rb +0 -2868
  468. data/lib/stripe/resources/payment_attempt_record.rb +0 -184
  469. data/lib/stripe/resources/payment_record.rb +0 -715
  470. data/lib/stripe/resources/quote_line.rb +0 -274
  471. data/lib/stripe/resources/quote_preview_invoice.rb +0 -652
  472. data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -362
  473. data/lib/stripe/resources/tax/association.rb +0 -89
  474. data/lib/stripe/resources/tax/form.rb +0 -220
  475. data/lib/stripe/resources/terminal/reader_collected_data.rb +0 -40
  476. data/lib/stripe/resources/usage_record.rb +0 -30
  477. data/lib/stripe/resources/usage_record_summary.rb +0 -33
  478. data/lib/stripe/services/account_notice_service.rb +0 -101
  479. data/lib/stripe/services/capital/financing_offer_service.rb +0 -112
  480. data/lib/stripe/services/capital/financing_summary_service.rb +0 -28
  481. data/lib/stripe/services/capital/financing_transaction_service.rb +0 -79
  482. data/lib/stripe/services/capital_service.rb +0 -15
  483. data/lib/stripe/services/financial_connections/account_inferred_balance_service.rb +0 -37
  484. data/lib/stripe/services/financial_connections/institution_service.rb +0 -57
  485. data/lib/stripe/services/gift_cards/card_service.rb +0 -170
  486. data/lib/stripe/services/gift_cards/transaction_service.rb +0 -209
  487. data/lib/stripe/services/gift_cards_service.rb +0 -14
  488. data/lib/stripe/services/invoice_upcoming_lines_service.rb +0 -1881
  489. data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +0 -504
  490. data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +0 -66
  491. data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +0 -83
  492. data/lib/stripe/services/margin_service.rb +0 -119
  493. data/lib/stripe/services/order_line_item_service.rb +0 -35
  494. data/lib/stripe/services/order_service.rb +0 -2268
  495. data/lib/stripe/services/payment_attempt_record_service.rb +0 -49
  496. data/lib/stripe/services/payment_record_service.rb +0 -542
  497. data/lib/stripe/services/quote_line_service.rb +0 -35
  498. data/lib/stripe/services/quote_preview_invoice_service.rb +0 -35
  499. data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +0 -35
  500. data/lib/stripe/services/subscription_item_usage_record_service.rb +0 -41
  501. data/lib/stripe/services/subscription_item_usage_record_summary_service.rb +0 -37
  502. data/lib/stripe/services/tax/association_service.rb +0 -31
  503. data/lib/stripe/services/tax/form_service.rb +0 -100
  504. data/lib/stripe/services/terminal/reader_collected_data_service.rb +0 -28
  505. data/rbi/stripe/resources/account_notice.rbi +0 -139
  506. data/rbi/stripe/resources/billing/meter_error_report.rbi +0 -71
  507. data/rbi/stripe/resources/capital/financing_offer.rbi +0 -190
  508. data/rbi/stripe/resources/capital/financing_summary.rbi +0 -74
  509. data/rbi/stripe/resources/capital/financing_transaction.rbi +0 -130
  510. data/rbi/stripe/resources/financial_connections/account_inferred_balance.rbi +0 -27
  511. data/rbi/stripe/resources/financial_connections/institution.rbi +0 -99
  512. data/rbi/stripe/resources/gift_cards/card.rbi +0 -206
  513. data/rbi/stripe/resources/gift_cards/transaction.rbi +0 -257
  514. data/rbi/stripe/resources/issuing/credit_underwriting_record.rbi +0 -622
  515. data/rbi/stripe/resources/issuing/dispute_settlement_detail.rbi +0 -83
  516. data/rbi/stripe/resources/issuing/fraud_liability_debit.rbi +0 -90
  517. data/rbi/stripe/resources/issuing/settlement.rbi +0 -62
  518. data/rbi/stripe/resources/margin.rbi +0 -127
  519. data/rbi/stripe/resources/order.rbi +0 -3036
  520. data/rbi/stripe/resources/payment_attempt_record.rbi +0 -215
  521. data/rbi/stripe/resources/payment_record.rbi +0 -722
  522. data/rbi/stripe/resources/quote_line.rbi +0 -350
  523. data/rbi/stripe/resources/quote_preview_invoice.rbi +0 -850
  524. data/rbi/stripe/resources/quote_preview_subscription_schedule.rbi +0 -474
  525. data/rbi/stripe/resources/tax/association.rbi +0 -94
  526. data/rbi/stripe/resources/tax/form.rbi +0 -224
  527. data/rbi/stripe/resources/terminal/reader_collected_data.rbi +0 -41
  528. data/rbi/stripe/resources/usage_record.rbi +0 -32
  529. data/rbi/stripe/resources/usage_record_summary.rbi +0 -38
  530. data/rbi/stripe/services/account_notice_service.rbi +0 -90
  531. data/rbi/stripe/services/capital/financing_offer_service.rbi +0 -95
  532. data/rbi/stripe/services/capital/financing_summary_service.rbi +0 -22
  533. data/rbi/stripe/services/capital/financing_transaction_service.rbi +0 -68
  534. data/rbi/stripe/services/capital_service.rbi +0 -11
  535. data/rbi/stripe/services/financial_connections/account_inferred_balance_service.rbi +0 -33
  536. data/rbi/stripe/services/financial_connections/institution_service.rbi +0 -46
  537. data/rbi/stripe/services/gift_cards/card_service.rbi +0 -142
  538. data/rbi/stripe/services/gift_cards/transaction_service.rbi +0 -174
  539. data/rbi/stripe/services/gift_cards_service.rbi +0 -10
  540. data/rbi/stripe/services/invoice_upcoming_lines_service.rbi +0 -2023
  541. data/rbi/stripe/services/issuing/credit_underwriting_record_service.rbi +0 -498
  542. data/rbi/stripe/services/issuing/dispute_settlement_detail_service.rbi +0 -55
  543. data/rbi/stripe/services/issuing/fraud_liability_debit_service.rbi +0 -73
  544. data/rbi/stripe/services/margin_service.rbi +0 -104
  545. data/rbi/stripe/services/order_line_item_service.rbi +0 -31
  546. data/rbi/stripe/services/order_service.rbi +0 -2320
  547. data/rbi/stripe/services/payment_attempt_record_service.rbi +0 -36
  548. data/rbi/stripe/services/payment_record_service.rbi +0 -521
  549. data/rbi/stripe/services/quote_line_service.rbi +0 -31
  550. data/rbi/stripe/services/quote_preview_invoice_service.rbi +0 -31
  551. data/rbi/stripe/services/quote_preview_subscription_schedule_service.rbi +0 -31
  552. data/rbi/stripe/services/subscription_item_usage_record_service.rbi +0 -37
  553. data/rbi/stripe/services/subscription_item_usage_record_summary_service.rbi +0 -33
  554. data/rbi/stripe/services/tax/association_service.rbi +0 -25
  555. data/rbi/stripe/services/tax/form_service.rbi +0 -85
  556. data/rbi/stripe/services/terminal/reader_collected_data_service.rbi +0 -22
@@ -224,7 +224,7 @@ module Stripe
224
224
  end
225
225
  end
226
226
 
227
- class AutomaticIndirectTax < Stripe::RequestParams
227
+ class BacsDebitPayments < Stripe::RequestParams
228
228
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
229
229
  attr_accessor :requested
230
230
 
@@ -233,7 +233,7 @@ module Stripe
233
233
  end
234
234
  end
235
235
 
236
- class BacsDebitPayments < Stripe::RequestParams
236
+ class BancontactPayments < Stripe::RequestParams
237
237
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
238
238
  attr_accessor :requested
239
239
 
@@ -242,7 +242,7 @@ module Stripe
242
242
  end
243
243
  end
244
244
 
245
- class BancontactPayments < Stripe::RequestParams
245
+ class BankTransferPayments < Stripe::RequestParams
246
246
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
247
247
  attr_accessor :requested
248
248
 
@@ -251,7 +251,7 @@ module Stripe
251
251
  end
252
252
  end
253
253
 
254
- class BankTransferPayments < Stripe::RequestParams
254
+ class BilliePayments < Stripe::RequestParams
255
255
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
256
256
  attr_accessor :requested
257
257
 
@@ -350,15 +350,6 @@ module Stripe
350
350
  end
351
351
  end
352
352
 
353
- class GopayPayments < Stripe::RequestParams
354
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
355
- attr_accessor :requested
356
-
357
- def initialize(requested: nil)
358
- @requested = requested
359
- end
360
- end
361
-
362
353
  class GrabpayPayments < Stripe::RequestParams
363
354
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
364
355
  attr_accessor :requested
@@ -368,24 +359,6 @@ module Stripe
368
359
  end
369
360
  end
370
361
 
371
- class IdBankTransferPayments < Stripe::RequestParams
372
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
373
- attr_accessor :requested
374
-
375
- def initialize(requested: nil)
376
- @requested = requested
377
- end
378
- end
379
-
380
- class IdBankTransferPaymentsBca < Stripe::RequestParams
381
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
382
- attr_accessor :requested
383
-
384
- def initialize(requested: nil)
385
- @requested = requested
386
- end
387
- end
388
-
389
362
  class IdealPayments < Stripe::RequestParams
390
363
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
391
364
  attr_accessor :requested
@@ -476,7 +449,7 @@ module Stripe
476
449
  end
477
450
  end
478
451
 
479
- class MbWayPayments < Stripe::RequestParams
452
+ class MobilepayPayments < Stripe::RequestParams
480
453
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
481
454
  attr_accessor :requested
482
455
 
@@ -485,7 +458,7 @@ module Stripe
485
458
  end
486
459
  end
487
460
 
488
- class MobilepayPayments < Stripe::RequestParams
461
+ class MultibancoPayments < Stripe::RequestParams
489
462
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
490
463
  attr_accessor :requested
491
464
 
@@ -494,7 +467,7 @@ module Stripe
494
467
  end
495
468
  end
496
469
 
497
- class MultibancoPayments < Stripe::RequestParams
470
+ class MxBankTransferPayments < Stripe::RequestParams
498
471
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
499
472
  attr_accessor :requested
500
473
 
@@ -503,7 +476,7 @@ module Stripe
503
476
  end
504
477
  end
505
478
 
506
- class MxBankTransferPayments < Stripe::RequestParams
479
+ class NaverPayPayments < Stripe::RequestParams
507
480
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
508
481
  attr_accessor :requested
509
482
 
@@ -512,7 +485,7 @@ module Stripe
512
485
  end
513
486
  end
514
487
 
515
- class NaverPayPayments < Stripe::RequestParams
488
+ class NzBankAccountBecsDebitPayments < Stripe::RequestParams
516
489
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
517
490
  attr_accessor :requested
518
491
 
@@ -566,24 +539,6 @@ module Stripe
566
539
  end
567
540
  end
568
541
 
569
- class PaypalPayments < Stripe::RequestParams
570
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
571
- attr_accessor :requested
572
-
573
- def initialize(requested: nil)
574
- @requested = requested
575
- end
576
- end
577
-
578
- class PaytoPayments < Stripe::RequestParams
579
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
580
- attr_accessor :requested
581
-
582
- def initialize(requested: nil)
583
- @requested = requested
584
- end
585
- end
586
-
587
542
  class PromptpayPayments < Stripe::RequestParams
588
543
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
589
544
  attr_accessor :requested
@@ -593,24 +548,6 @@ module Stripe
593
548
  end
594
549
  end
595
550
 
596
- class QrisPayments < Stripe::RequestParams
597
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
598
- attr_accessor :requested
599
-
600
- def initialize(requested: nil)
601
- @requested = requested
602
- end
603
- end
604
-
605
- class RechnungPayments < Stripe::RequestParams
606
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
607
- attr_accessor :requested
608
-
609
- def initialize(requested: nil)
610
- @requested = requested
611
- end
612
- end
613
-
614
551
  class RevolutPayPayments < Stripe::RequestParams
615
552
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
616
553
  attr_accessor :requested
@@ -629,7 +566,7 @@ module Stripe
629
566
  end
630
567
  end
631
568
 
632
- class SepaBankTransferPayments < Stripe::RequestParams
569
+ class SatispayPayments < Stripe::RequestParams
633
570
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
634
571
  attr_accessor :requested
635
572
 
@@ -638,7 +575,7 @@ module Stripe
638
575
  end
639
576
  end
640
577
 
641
- class SepaDebitPayments < Stripe::RequestParams
578
+ class SepaBankTransferPayments < Stripe::RequestParams
642
579
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
643
580
  attr_accessor :requested
644
581
 
@@ -647,7 +584,7 @@ module Stripe
647
584
  end
648
585
  end
649
586
 
650
- class ShopeepayPayments < Stripe::RequestParams
587
+ class SepaDebitPayments < Stripe::RequestParams
651
588
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
652
589
  attr_accessor :requested
653
590
 
@@ -710,33 +647,6 @@ module Stripe
710
647
  end
711
648
  end
712
649
 
713
- class TreasuryEvolve < Stripe::RequestParams
714
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
715
- attr_accessor :requested
716
-
717
- def initialize(requested: nil)
718
- @requested = requested
719
- end
720
- end
721
-
722
- class TreasuryFifthThird < Stripe::RequestParams
723
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
724
- attr_accessor :requested
725
-
726
- def initialize(requested: nil)
727
- @requested = requested
728
- end
729
- end
730
-
731
- class TreasuryGoldmanSachs < Stripe::RequestParams
732
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
733
- attr_accessor :requested
734
-
735
- def initialize(requested: nil)
736
- @requested = requested
737
- end
738
- end
739
-
740
650
  class TwintPayments < Stripe::RequestParams
741
651
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
742
652
  attr_accessor :requested
@@ -784,14 +694,14 @@ module Stripe
784
694
  attr_accessor :amazon_pay_payments
785
695
  # The au_becs_debit_payments capability.
786
696
  attr_accessor :au_becs_debit_payments
787
- # The automatic_indirect_tax capability.
788
- attr_accessor :automatic_indirect_tax
789
697
  # The bacs_debit_payments capability.
790
698
  attr_accessor :bacs_debit_payments
791
699
  # The bancontact_payments capability.
792
700
  attr_accessor :bancontact_payments
793
701
  # The bank_transfer_payments capability.
794
702
  attr_accessor :bank_transfer_payments
703
+ # The billie_payments capability.
704
+ attr_accessor :billie_payments
795
705
  # The blik_payments capability.
796
706
  attr_accessor :blik_payments
797
707
  # The boleto_payments capability.
@@ -812,14 +722,8 @@ module Stripe
812
722
  attr_accessor :gb_bank_transfer_payments
813
723
  # The giropay_payments capability.
814
724
  attr_accessor :giropay_payments
815
- # The gopay_payments capability.
816
- attr_accessor :gopay_payments
817
725
  # The grabpay_payments capability.
818
726
  attr_accessor :grabpay_payments
819
- # The id_bank_transfer_payments capability.
820
- attr_accessor :id_bank_transfer_payments
821
- # The id_bank_transfer_payments_bca capability.
822
- attr_accessor :id_bank_transfer_payments_bca
823
727
  # The ideal_payments capability.
824
728
  attr_accessor :ideal_payments
825
729
  # The india_international_payments capability.
@@ -840,8 +744,6 @@ module Stripe
840
744
  attr_accessor :legacy_payments
841
745
  # The link_payments capability.
842
746
  attr_accessor :link_payments
843
- # The mb_way_payments capability.
844
- attr_accessor :mb_way_payments
845
747
  # The mobilepay_payments capability.
846
748
  attr_accessor :mobilepay_payments
847
749
  # The multibanco_payments capability.
@@ -850,6 +752,8 @@ module Stripe
850
752
  attr_accessor :mx_bank_transfer_payments
851
753
  # The naver_pay_payments capability.
852
754
  attr_accessor :naver_pay_payments
755
+ # The nz_bank_account_becs_debit_payments capability.
756
+ attr_accessor :nz_bank_account_becs_debit_payments
853
757
  # The oxxo_payments capability.
854
758
  attr_accessor :oxxo_payments
855
759
  # The p24_payments capability.
@@ -860,26 +764,18 @@ module Stripe
860
764
  attr_accessor :payco_payments
861
765
  # The paynow_payments capability.
862
766
  attr_accessor :paynow_payments
863
- # The paypal_payments capability.
864
- attr_accessor :paypal_payments
865
- # The payto_payments capability.
866
- attr_accessor :payto_payments
867
767
  # The promptpay_payments capability.
868
768
  attr_accessor :promptpay_payments
869
- # The qris_payments capability.
870
- attr_accessor :qris_payments
871
- # The rechnung_payments capability.
872
- attr_accessor :rechnung_payments
873
769
  # The revolut_pay_payments capability.
874
770
  attr_accessor :revolut_pay_payments
875
771
  # The samsung_pay_payments capability.
876
772
  attr_accessor :samsung_pay_payments
773
+ # The satispay_payments capability.
774
+ attr_accessor :satispay_payments
877
775
  # The sepa_bank_transfer_payments capability.
878
776
  attr_accessor :sepa_bank_transfer_payments
879
777
  # The sepa_debit_payments capability.
880
778
  attr_accessor :sepa_debit_payments
881
- # The shopeepay_payments capability.
882
- attr_accessor :shopeepay_payments
883
779
  # The sofort_payments capability.
884
780
  attr_accessor :sofort_payments
885
781
  # The swish_payments capability.
@@ -892,12 +788,6 @@ module Stripe
892
788
  attr_accessor :transfers
893
789
  # The treasury capability.
894
790
  attr_accessor :treasury
895
- # The treasury_evolve capability.
896
- attr_accessor :treasury_evolve
897
- # The treasury_fifth_third capability.
898
- attr_accessor :treasury_fifth_third
899
- # The treasury_goldman_sachs capability.
900
- attr_accessor :treasury_goldman_sachs
901
791
  # The twint_payments capability.
902
792
  attr_accessor :twint_payments
903
793
  # The us_bank_account_ach_payments capability.
@@ -914,10 +804,10 @@ module Stripe
914
804
  alma_payments: nil,
915
805
  amazon_pay_payments: nil,
916
806
  au_becs_debit_payments: nil,
917
- automatic_indirect_tax: nil,
918
807
  bacs_debit_payments: nil,
919
808
  bancontact_payments: nil,
920
809
  bank_transfer_payments: nil,
810
+ billie_payments: nil,
921
811
  blik_payments: nil,
922
812
  boleto_payments: nil,
923
813
  card_issuing: nil,
@@ -928,10 +818,7 @@ module Stripe
928
818
  fpx_payments: nil,
929
819
  gb_bank_transfer_payments: nil,
930
820
  giropay_payments: nil,
931
- gopay_payments: nil,
932
821
  grabpay_payments: nil,
933
- id_bank_transfer_payments: nil,
934
- id_bank_transfer_payments_bca: nil,
935
822
  ideal_payments: nil,
936
823
  india_international_payments: nil,
937
824
  jcb_payments: nil,
@@ -942,35 +829,28 @@ module Stripe
942
829
  kr_card_payments: nil,
943
830
  legacy_payments: nil,
944
831
  link_payments: nil,
945
- mb_way_payments: nil,
946
832
  mobilepay_payments: nil,
947
833
  multibanco_payments: nil,
948
834
  mx_bank_transfer_payments: nil,
949
835
  naver_pay_payments: nil,
836
+ nz_bank_account_becs_debit_payments: nil,
950
837
  oxxo_payments: nil,
951
838
  p24_payments: nil,
952
839
  pay_by_bank_payments: nil,
953
840
  payco_payments: nil,
954
841
  paynow_payments: nil,
955
- paypal_payments: nil,
956
- payto_payments: nil,
957
842
  promptpay_payments: nil,
958
- qris_payments: nil,
959
- rechnung_payments: nil,
960
843
  revolut_pay_payments: nil,
961
844
  samsung_pay_payments: nil,
845
+ satispay_payments: nil,
962
846
  sepa_bank_transfer_payments: nil,
963
847
  sepa_debit_payments: nil,
964
- shopeepay_payments: nil,
965
848
  sofort_payments: nil,
966
849
  swish_payments: nil,
967
850
  tax_reporting_us_1099_k: nil,
968
851
  tax_reporting_us_1099_misc: nil,
969
852
  transfers: nil,
970
853
  treasury: nil,
971
- treasury_evolve: nil,
972
- treasury_fifth_third: nil,
973
- treasury_goldman_sachs: nil,
974
854
  twint_payments: nil,
975
855
  us_bank_account_ach_payments: nil,
976
856
  us_bank_transfer_payments: nil,
@@ -982,10 +862,10 @@ module Stripe
982
862
  @alma_payments = alma_payments
983
863
  @amazon_pay_payments = amazon_pay_payments
984
864
  @au_becs_debit_payments = au_becs_debit_payments
985
- @automatic_indirect_tax = automatic_indirect_tax
986
865
  @bacs_debit_payments = bacs_debit_payments
987
866
  @bancontact_payments = bancontact_payments
988
867
  @bank_transfer_payments = bank_transfer_payments
868
+ @billie_payments = billie_payments
989
869
  @blik_payments = blik_payments
990
870
  @boleto_payments = boleto_payments
991
871
  @card_issuing = card_issuing
@@ -996,10 +876,7 @@ module Stripe
996
876
  @fpx_payments = fpx_payments
997
877
  @gb_bank_transfer_payments = gb_bank_transfer_payments
998
878
  @giropay_payments = giropay_payments
999
- @gopay_payments = gopay_payments
1000
879
  @grabpay_payments = grabpay_payments
1001
- @id_bank_transfer_payments = id_bank_transfer_payments
1002
- @id_bank_transfer_payments_bca = id_bank_transfer_payments_bca
1003
880
  @ideal_payments = ideal_payments
1004
881
  @india_international_payments = india_international_payments
1005
882
  @jcb_payments = jcb_payments
@@ -1010,35 +887,28 @@ module Stripe
1010
887
  @kr_card_payments = kr_card_payments
1011
888
  @legacy_payments = legacy_payments
1012
889
  @link_payments = link_payments
1013
- @mb_way_payments = mb_way_payments
1014
890
  @mobilepay_payments = mobilepay_payments
1015
891
  @multibanco_payments = multibanco_payments
1016
892
  @mx_bank_transfer_payments = mx_bank_transfer_payments
1017
893
  @naver_pay_payments = naver_pay_payments
894
+ @nz_bank_account_becs_debit_payments = nz_bank_account_becs_debit_payments
1018
895
  @oxxo_payments = oxxo_payments
1019
896
  @p24_payments = p24_payments
1020
897
  @pay_by_bank_payments = pay_by_bank_payments
1021
898
  @payco_payments = payco_payments
1022
899
  @paynow_payments = paynow_payments
1023
- @paypal_payments = paypal_payments
1024
- @payto_payments = payto_payments
1025
900
  @promptpay_payments = promptpay_payments
1026
- @qris_payments = qris_payments
1027
- @rechnung_payments = rechnung_payments
1028
901
  @revolut_pay_payments = revolut_pay_payments
1029
902
  @samsung_pay_payments = samsung_pay_payments
903
+ @satispay_payments = satispay_payments
1030
904
  @sepa_bank_transfer_payments = sepa_bank_transfer_payments
1031
905
  @sepa_debit_payments = sepa_debit_payments
1032
- @shopeepay_payments = shopeepay_payments
1033
906
  @sofort_payments = sofort_payments
1034
907
  @swish_payments = swish_payments
1035
908
  @tax_reporting_us_1099_k = tax_reporting_us_1099_k
1036
909
  @tax_reporting_us_1099_misc = tax_reporting_us_1099_misc
1037
910
  @transfers = transfers
1038
911
  @treasury = treasury
1039
- @treasury_evolve = treasury_evolve
1040
- @treasury_fifth_third = treasury_fifth_third
1041
- @treasury_goldman_sachs = treasury_goldman_sachs
1042
912
  @twint_payments = twint_payments
1043
913
  @us_bank_account_ach_payments = us_bank_account_ach_payments
1044
914
  @us_bank_transfer_payments = us_bank_transfer_payments
@@ -1305,7 +1175,7 @@ module Stripe
1305
1175
  attr_accessor :owners_provided
1306
1176
  # This hash is used to attest that the beneficial owner information provided to Stripe is both current and correct.
1307
1177
  attr_accessor :ownership_declaration
1308
- # Attribute for param field ownership_exemption_reason
1178
+ # This value is used to determine if a business is exempt from providing ultimate beneficial owners. See [this support article](https://support.stripe.com/questions/exemption-from-providing-ownership-details) and [changelog](https://docs.stripe.com/changelog/acacia/2025-01-27/ownership-exemption-reason-accounts-api) for more details.
1309
1179
  attr_accessor :ownership_exemption_reason
1310
1180
  # The company's phone number (used for verification).
1311
1181
  attr_accessor :phone
@@ -1795,37 +1665,6 @@ module Stripe
1795
1665
  end
1796
1666
  end
1797
1667
 
1798
- class RiskControls < Stripe::RequestParams
1799
- class Charges < Stripe::RequestParams
1800
- # To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
1801
- # There can be a delay before the risk control is paused or unpaused.
1802
- attr_accessor :pause_requested
1803
-
1804
- def initialize(pause_requested: nil)
1805
- @pause_requested = pause_requested
1806
- end
1807
- end
1808
-
1809
- class Payouts < Stripe::RequestParams
1810
- # To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
1811
- # There can be a delay before the risk control is paused or unpaused.
1812
- attr_accessor :pause_requested
1813
-
1814
- def initialize(pause_requested: nil)
1815
- @pause_requested = pause_requested
1816
- end
1817
- end
1818
- # Represents the risk control status of charges. Please see [this page for more details](https://stripe.com/docs/connect/pausing-payments-or-payouts-on-connected-accounts).
1819
- attr_accessor :charges
1820
- # Represents the risk control status of payouts. Please see [this page for more details](https://stripe.com/docs/connect/pausing-payments-or-payouts-on-connected-accounts).
1821
- attr_accessor :payouts
1822
-
1823
- def initialize(charges: nil, payouts: nil)
1824
- @charges = charges
1825
- @payouts = payouts
1826
- end
1827
- end
1828
-
1829
1668
  class Settings < Stripe::RequestParams
1830
1669
  class BacsDebitPayments < Stripe::RequestParams
1831
1670
  # The Bacs Direct Debit Display Name for this account. For payments made with Bacs Direct Debit, this name appears on the mandate as the statement descriptor. Mobile banking apps display it as the name of the business. To use custom branding, set the Bacs Direct Debit Display Name during or right after creation. Custom branding incurs an additional monthly fee for the platform. If you don't set the display name before requesting Bacs capability, it's automatically set as "Stripe" and the account is onboarded to Stripe branding, which is free.
@@ -1836,18 +1675,6 @@ module Stripe
1836
1675
  end
1837
1676
  end
1838
1677
 
1839
- class BankBcaOnboarding < Stripe::RequestParams
1840
- # Bank BCA business account holder name
1841
- attr_accessor :account_holder_name
1842
- # Bank BCA business account number
1843
- attr_accessor :business_account_number
1844
-
1845
- def initialize(account_holder_name: nil, business_account_number: nil)
1846
- @account_holder_name = account_holder_name
1847
- @business_account_number = business_account_number
1848
- end
1849
- end
1850
-
1851
1678
  class Branding < Stripe::RequestParams
1852
1679
  # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) An icon for the account. Must be square and at least 128px x 128px.
1853
1680
  attr_accessor :icon
@@ -1866,18 +1693,6 @@ module Stripe
1866
1693
  end
1867
1694
  end
1868
1695
 
1869
- class Capital < Stripe::RequestParams
1870
- # Per-currency mapping of user-selected destination accounts used to pay out loans.
1871
- attr_accessor :payout_destination
1872
- # Per-currency mapping of all destination accounts eligible to receive Capital financing payouts.
1873
- attr_accessor :payout_destination_selector
1874
-
1875
- def initialize(payout_destination: nil, payout_destination_selector: nil)
1876
- @payout_destination = payout_destination
1877
- @payout_destination_selector = payout_destination_selector
1878
- end
1879
- end
1880
-
1881
1696
  class CardIssuing < Stripe::RequestParams
1882
1697
  class TosAcceptance < Stripe::RequestParams
1883
1698
  # The Unix timestamp marking when the account representative accepted the service agreement.
@@ -1938,9 +1753,12 @@ module Stripe
1938
1753
  class Invoices < Stripe::RequestParams
1939
1754
  # The list of default Account Tax IDs to automatically include on invoices. Account Tax IDs get added when an invoice is finalized.
1940
1755
  attr_accessor :default_account_tax_ids
1756
+ # Whether payment methods should be saved when a payment is completed for a one-time invoices on a hosted invoice page.
1757
+ attr_accessor :hosted_payment_method_save
1941
1758
 
1942
- def initialize(default_account_tax_ids: nil)
1759
+ def initialize(default_account_tax_ids: nil, hosted_payment_method_save: nil)
1943
1760
  @default_account_tax_ids = default_account_tax_ids
1761
+ @hosted_payment_method_save = hosted_payment_method_save
1944
1762
  end
1945
1763
  end
1946
1764
 
@@ -1995,15 +1813,6 @@ module Stripe
1995
1813
  end
1996
1814
  end
1997
1815
 
1998
- class TaxForms < Stripe::RequestParams
1999
- # Whether the account opted out of receiving their tax forms by postal delivery.
2000
- attr_accessor :consented_to_paperless_delivery
2001
-
2002
- def initialize(consented_to_paperless_delivery: nil)
2003
- @consented_to_paperless_delivery = consented_to_paperless_delivery
2004
- end
2005
- end
2006
-
2007
1816
  class Treasury < Stripe::RequestParams
2008
1817
  class TosAcceptance < Stripe::RequestParams
2009
1818
  # The Unix timestamp marking when the account representative accepted the service agreement.
@@ -2028,12 +1837,8 @@ module Stripe
2028
1837
  end
2029
1838
  # Settings specific to Bacs Direct Debit payments.
2030
1839
  attr_accessor :bacs_debit_payments
2031
- # Settings specific to bank BCA onboarding for Indonesia bank transfers payments method.
2032
- attr_accessor :bank_bca_onboarding
2033
1840
  # Settings used to apply the account's branding to email receipts, invoices, Checkout, and other products.
2034
1841
  attr_accessor :branding
2035
- # Settings specific to the account's use of the Capital product.
2036
- attr_accessor :capital
2037
1842
  # Settings specific to the account's use of the Card Issuing product.
2038
1843
  attr_accessor :card_issuing
2039
1844
  # Settings specific to card charging on the account.
@@ -2044,34 +1849,26 @@ module Stripe
2044
1849
  attr_accessor :payments
2045
1850
  # Settings specific to the account's payouts.
2046
1851
  attr_accessor :payouts
2047
- # Settings specific to the account's tax forms.
2048
- attr_accessor :tax_forms
2049
1852
  # Settings specific to the account's Treasury FinancialAccounts.
2050
1853
  attr_accessor :treasury
2051
1854
 
2052
1855
  def initialize(
2053
1856
  bacs_debit_payments: nil,
2054
- bank_bca_onboarding: nil,
2055
1857
  branding: nil,
2056
- capital: nil,
2057
1858
  card_issuing: nil,
2058
1859
  card_payments: nil,
2059
1860
  invoices: nil,
2060
1861
  payments: nil,
2061
1862
  payouts: nil,
2062
- tax_forms: nil,
2063
1863
  treasury: nil
2064
1864
  )
2065
1865
  @bacs_debit_payments = bacs_debit_payments
2066
- @bank_bca_onboarding = bank_bca_onboarding
2067
1866
  @branding = branding
2068
- @capital = capital
2069
1867
  @card_issuing = card_issuing
2070
1868
  @card_payments = card_payments
2071
1869
  @invoices = invoices
2072
1870
  @payments = payments
2073
1871
  @payouts = payouts
2074
- @tax_forms = tax_forms
2075
1872
  @treasury = treasury
2076
1873
  end
2077
1874
  end
@@ -2126,8 +1923,6 @@ module Stripe
2126
1923
  attr_accessor :individual
2127
1924
  # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
2128
1925
  attr_accessor :metadata
2129
- # A hash to configure risk controls on the account. Please see [this page for more details](/connect/pausing-payments-or-payouts-on-connected-accounts).
2130
- attr_accessor :risk_controls
2131
1926
  # Options for customizing how the account functions within Stripe.
2132
1927
  attr_accessor :settings
2133
1928
  # Details on the account's acceptance of the [Stripe Services Agreement](/connect/updating-accounts#tos-acceptance). This property can only be updated for accounts where [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts. This property defaults to a `full` service agreement when empty.
@@ -2147,7 +1942,6 @@ module Stripe
2147
1942
  groups: nil,
2148
1943
  individual: nil,
2149
1944
  metadata: nil,
2150
- risk_controls: nil,
2151
1945
  settings: nil,
2152
1946
  tos_acceptance: nil
2153
1947
  )
@@ -2164,7 +1958,6 @@ module Stripe
2164
1958
  @groups = groups
2165
1959
  @individual = individual
2166
1960
  @metadata = metadata
2167
- @risk_controls = risk_controls
2168
1961
  @settings = settings
2169
1962
  @tos_acceptance = tos_acceptance
2170
1963
  end
@@ -2416,7 +2209,7 @@ module Stripe
2416
2209
  end
2417
2210
  end
2418
2211
 
2419
- class AutomaticIndirectTax < Stripe::RequestParams
2212
+ class BacsDebitPayments < Stripe::RequestParams
2420
2213
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2421
2214
  attr_accessor :requested
2422
2215
 
@@ -2425,7 +2218,7 @@ module Stripe
2425
2218
  end
2426
2219
  end
2427
2220
 
2428
- class BacsDebitPayments < Stripe::RequestParams
2221
+ class BancontactPayments < Stripe::RequestParams
2429
2222
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2430
2223
  attr_accessor :requested
2431
2224
 
@@ -2434,7 +2227,7 @@ module Stripe
2434
2227
  end
2435
2228
  end
2436
2229
 
2437
- class BancontactPayments < Stripe::RequestParams
2230
+ class BankTransferPayments < Stripe::RequestParams
2438
2231
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2439
2232
  attr_accessor :requested
2440
2233
 
@@ -2443,7 +2236,7 @@ module Stripe
2443
2236
  end
2444
2237
  end
2445
2238
 
2446
- class BankTransferPayments < Stripe::RequestParams
2239
+ class BilliePayments < Stripe::RequestParams
2447
2240
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2448
2241
  attr_accessor :requested
2449
2242
 
@@ -2542,15 +2335,6 @@ module Stripe
2542
2335
  end
2543
2336
  end
2544
2337
 
2545
- class GopayPayments < Stripe::RequestParams
2546
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2547
- attr_accessor :requested
2548
-
2549
- def initialize(requested: nil)
2550
- @requested = requested
2551
- end
2552
- end
2553
-
2554
2338
  class GrabpayPayments < Stripe::RequestParams
2555
2339
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2556
2340
  attr_accessor :requested
@@ -2560,24 +2344,6 @@ module Stripe
2560
2344
  end
2561
2345
  end
2562
2346
 
2563
- class IdBankTransferPayments < Stripe::RequestParams
2564
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2565
- attr_accessor :requested
2566
-
2567
- def initialize(requested: nil)
2568
- @requested = requested
2569
- end
2570
- end
2571
-
2572
- class IdBankTransferPaymentsBca < Stripe::RequestParams
2573
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2574
- attr_accessor :requested
2575
-
2576
- def initialize(requested: nil)
2577
- @requested = requested
2578
- end
2579
- end
2580
-
2581
2347
  class IdealPayments < Stripe::RequestParams
2582
2348
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2583
2349
  attr_accessor :requested
@@ -2668,7 +2434,7 @@ module Stripe
2668
2434
  end
2669
2435
  end
2670
2436
 
2671
- class MbWayPayments < Stripe::RequestParams
2437
+ class MobilepayPayments < Stripe::RequestParams
2672
2438
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2673
2439
  attr_accessor :requested
2674
2440
 
@@ -2677,7 +2443,7 @@ module Stripe
2677
2443
  end
2678
2444
  end
2679
2445
 
2680
- class MobilepayPayments < Stripe::RequestParams
2446
+ class MultibancoPayments < Stripe::RequestParams
2681
2447
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2682
2448
  attr_accessor :requested
2683
2449
 
@@ -2686,7 +2452,7 @@ module Stripe
2686
2452
  end
2687
2453
  end
2688
2454
 
2689
- class MultibancoPayments < Stripe::RequestParams
2455
+ class MxBankTransferPayments < Stripe::RequestParams
2690
2456
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2691
2457
  attr_accessor :requested
2692
2458
 
@@ -2695,7 +2461,7 @@ module Stripe
2695
2461
  end
2696
2462
  end
2697
2463
 
2698
- class MxBankTransferPayments < Stripe::RequestParams
2464
+ class NaverPayPayments < Stripe::RequestParams
2699
2465
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2700
2466
  attr_accessor :requested
2701
2467
 
@@ -2704,7 +2470,7 @@ module Stripe
2704
2470
  end
2705
2471
  end
2706
2472
 
2707
- class NaverPayPayments < Stripe::RequestParams
2473
+ class NzBankAccountBecsDebitPayments < Stripe::RequestParams
2708
2474
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2709
2475
  attr_accessor :requested
2710
2476
 
@@ -2758,24 +2524,6 @@ module Stripe
2758
2524
  end
2759
2525
  end
2760
2526
 
2761
- class PaypalPayments < Stripe::RequestParams
2762
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2763
- attr_accessor :requested
2764
-
2765
- def initialize(requested: nil)
2766
- @requested = requested
2767
- end
2768
- end
2769
-
2770
- class PaytoPayments < Stripe::RequestParams
2771
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2772
- attr_accessor :requested
2773
-
2774
- def initialize(requested: nil)
2775
- @requested = requested
2776
- end
2777
- end
2778
-
2779
2527
  class PromptpayPayments < Stripe::RequestParams
2780
2528
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2781
2529
  attr_accessor :requested
@@ -2785,24 +2533,6 @@ module Stripe
2785
2533
  end
2786
2534
  end
2787
2535
 
2788
- class QrisPayments < Stripe::RequestParams
2789
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2790
- attr_accessor :requested
2791
-
2792
- def initialize(requested: nil)
2793
- @requested = requested
2794
- end
2795
- end
2796
-
2797
- class RechnungPayments < Stripe::RequestParams
2798
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2799
- attr_accessor :requested
2800
-
2801
- def initialize(requested: nil)
2802
- @requested = requested
2803
- end
2804
- end
2805
-
2806
2536
  class RevolutPayPayments < Stripe::RequestParams
2807
2537
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2808
2538
  attr_accessor :requested
@@ -2821,7 +2551,7 @@ module Stripe
2821
2551
  end
2822
2552
  end
2823
2553
 
2824
- class SepaBankTransferPayments < Stripe::RequestParams
2554
+ class SatispayPayments < Stripe::RequestParams
2825
2555
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2826
2556
  attr_accessor :requested
2827
2557
 
@@ -2830,7 +2560,7 @@ module Stripe
2830
2560
  end
2831
2561
  end
2832
2562
 
2833
- class SepaDebitPayments < Stripe::RequestParams
2563
+ class SepaBankTransferPayments < Stripe::RequestParams
2834
2564
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2835
2565
  attr_accessor :requested
2836
2566
 
@@ -2839,7 +2569,7 @@ module Stripe
2839
2569
  end
2840
2570
  end
2841
2571
 
2842
- class ShopeepayPayments < Stripe::RequestParams
2572
+ class SepaDebitPayments < Stripe::RequestParams
2843
2573
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2844
2574
  attr_accessor :requested
2845
2575
 
@@ -2902,33 +2632,6 @@ module Stripe
2902
2632
  end
2903
2633
  end
2904
2634
 
2905
- class TreasuryEvolve < Stripe::RequestParams
2906
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2907
- attr_accessor :requested
2908
-
2909
- def initialize(requested: nil)
2910
- @requested = requested
2911
- end
2912
- end
2913
-
2914
- class TreasuryFifthThird < Stripe::RequestParams
2915
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2916
- attr_accessor :requested
2917
-
2918
- def initialize(requested: nil)
2919
- @requested = requested
2920
- end
2921
- end
2922
-
2923
- class TreasuryGoldmanSachs < Stripe::RequestParams
2924
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2925
- attr_accessor :requested
2926
-
2927
- def initialize(requested: nil)
2928
- @requested = requested
2929
- end
2930
- end
2931
-
2932
2635
  class TwintPayments < Stripe::RequestParams
2933
2636
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2934
2637
  attr_accessor :requested
@@ -2976,14 +2679,14 @@ module Stripe
2976
2679
  attr_accessor :amazon_pay_payments
2977
2680
  # The au_becs_debit_payments capability.
2978
2681
  attr_accessor :au_becs_debit_payments
2979
- # The automatic_indirect_tax capability.
2980
- attr_accessor :automatic_indirect_tax
2981
2682
  # The bacs_debit_payments capability.
2982
2683
  attr_accessor :bacs_debit_payments
2983
2684
  # The bancontact_payments capability.
2984
2685
  attr_accessor :bancontact_payments
2985
2686
  # The bank_transfer_payments capability.
2986
2687
  attr_accessor :bank_transfer_payments
2688
+ # The billie_payments capability.
2689
+ attr_accessor :billie_payments
2987
2690
  # The blik_payments capability.
2988
2691
  attr_accessor :blik_payments
2989
2692
  # The boleto_payments capability.
@@ -3004,14 +2707,8 @@ module Stripe
3004
2707
  attr_accessor :gb_bank_transfer_payments
3005
2708
  # The giropay_payments capability.
3006
2709
  attr_accessor :giropay_payments
3007
- # The gopay_payments capability.
3008
- attr_accessor :gopay_payments
3009
2710
  # The grabpay_payments capability.
3010
2711
  attr_accessor :grabpay_payments
3011
- # The id_bank_transfer_payments capability.
3012
- attr_accessor :id_bank_transfer_payments
3013
- # The id_bank_transfer_payments_bca capability.
3014
- attr_accessor :id_bank_transfer_payments_bca
3015
2712
  # The ideal_payments capability.
3016
2713
  attr_accessor :ideal_payments
3017
2714
  # The india_international_payments capability.
@@ -3032,8 +2729,6 @@ module Stripe
3032
2729
  attr_accessor :legacy_payments
3033
2730
  # The link_payments capability.
3034
2731
  attr_accessor :link_payments
3035
- # The mb_way_payments capability.
3036
- attr_accessor :mb_way_payments
3037
2732
  # The mobilepay_payments capability.
3038
2733
  attr_accessor :mobilepay_payments
3039
2734
  # The multibanco_payments capability.
@@ -3042,6 +2737,8 @@ module Stripe
3042
2737
  attr_accessor :mx_bank_transfer_payments
3043
2738
  # The naver_pay_payments capability.
3044
2739
  attr_accessor :naver_pay_payments
2740
+ # The nz_bank_account_becs_debit_payments capability.
2741
+ attr_accessor :nz_bank_account_becs_debit_payments
3045
2742
  # The oxxo_payments capability.
3046
2743
  attr_accessor :oxxo_payments
3047
2744
  # The p24_payments capability.
@@ -3052,26 +2749,18 @@ module Stripe
3052
2749
  attr_accessor :payco_payments
3053
2750
  # The paynow_payments capability.
3054
2751
  attr_accessor :paynow_payments
3055
- # The paypal_payments capability.
3056
- attr_accessor :paypal_payments
3057
- # The payto_payments capability.
3058
- attr_accessor :payto_payments
3059
2752
  # The promptpay_payments capability.
3060
2753
  attr_accessor :promptpay_payments
3061
- # The qris_payments capability.
3062
- attr_accessor :qris_payments
3063
- # The rechnung_payments capability.
3064
- attr_accessor :rechnung_payments
3065
2754
  # The revolut_pay_payments capability.
3066
2755
  attr_accessor :revolut_pay_payments
3067
2756
  # The samsung_pay_payments capability.
3068
2757
  attr_accessor :samsung_pay_payments
2758
+ # The satispay_payments capability.
2759
+ attr_accessor :satispay_payments
3069
2760
  # The sepa_bank_transfer_payments capability.
3070
2761
  attr_accessor :sepa_bank_transfer_payments
3071
2762
  # The sepa_debit_payments capability.
3072
2763
  attr_accessor :sepa_debit_payments
3073
- # The shopeepay_payments capability.
3074
- attr_accessor :shopeepay_payments
3075
2764
  # The sofort_payments capability.
3076
2765
  attr_accessor :sofort_payments
3077
2766
  # The swish_payments capability.
@@ -3084,12 +2773,6 @@ module Stripe
3084
2773
  attr_accessor :transfers
3085
2774
  # The treasury capability.
3086
2775
  attr_accessor :treasury
3087
- # The treasury_evolve capability.
3088
- attr_accessor :treasury_evolve
3089
- # The treasury_fifth_third capability.
3090
- attr_accessor :treasury_fifth_third
3091
- # The treasury_goldman_sachs capability.
3092
- attr_accessor :treasury_goldman_sachs
3093
2776
  # The twint_payments capability.
3094
2777
  attr_accessor :twint_payments
3095
2778
  # The us_bank_account_ach_payments capability.
@@ -3106,10 +2789,10 @@ module Stripe
3106
2789
  alma_payments: nil,
3107
2790
  amazon_pay_payments: nil,
3108
2791
  au_becs_debit_payments: nil,
3109
- automatic_indirect_tax: nil,
3110
2792
  bacs_debit_payments: nil,
3111
2793
  bancontact_payments: nil,
3112
2794
  bank_transfer_payments: nil,
2795
+ billie_payments: nil,
3113
2796
  blik_payments: nil,
3114
2797
  boleto_payments: nil,
3115
2798
  card_issuing: nil,
@@ -3120,10 +2803,7 @@ module Stripe
3120
2803
  fpx_payments: nil,
3121
2804
  gb_bank_transfer_payments: nil,
3122
2805
  giropay_payments: nil,
3123
- gopay_payments: nil,
3124
2806
  grabpay_payments: nil,
3125
- id_bank_transfer_payments: nil,
3126
- id_bank_transfer_payments_bca: nil,
3127
2807
  ideal_payments: nil,
3128
2808
  india_international_payments: nil,
3129
2809
  jcb_payments: nil,
@@ -3134,35 +2814,28 @@ module Stripe
3134
2814
  kr_card_payments: nil,
3135
2815
  legacy_payments: nil,
3136
2816
  link_payments: nil,
3137
- mb_way_payments: nil,
3138
2817
  mobilepay_payments: nil,
3139
2818
  multibanco_payments: nil,
3140
2819
  mx_bank_transfer_payments: nil,
3141
2820
  naver_pay_payments: nil,
2821
+ nz_bank_account_becs_debit_payments: nil,
3142
2822
  oxxo_payments: nil,
3143
2823
  p24_payments: nil,
3144
2824
  pay_by_bank_payments: nil,
3145
2825
  payco_payments: nil,
3146
2826
  paynow_payments: nil,
3147
- paypal_payments: nil,
3148
- payto_payments: nil,
3149
2827
  promptpay_payments: nil,
3150
- qris_payments: nil,
3151
- rechnung_payments: nil,
3152
2828
  revolut_pay_payments: nil,
3153
2829
  samsung_pay_payments: nil,
2830
+ satispay_payments: nil,
3154
2831
  sepa_bank_transfer_payments: nil,
3155
2832
  sepa_debit_payments: nil,
3156
- shopeepay_payments: nil,
3157
2833
  sofort_payments: nil,
3158
2834
  swish_payments: nil,
3159
2835
  tax_reporting_us_1099_k: nil,
3160
2836
  tax_reporting_us_1099_misc: nil,
3161
2837
  transfers: nil,
3162
2838
  treasury: nil,
3163
- treasury_evolve: nil,
3164
- treasury_fifth_third: nil,
3165
- treasury_goldman_sachs: nil,
3166
2839
  twint_payments: nil,
3167
2840
  us_bank_account_ach_payments: nil,
3168
2841
  us_bank_transfer_payments: nil,
@@ -3174,10 +2847,10 @@ module Stripe
3174
2847
  @alma_payments = alma_payments
3175
2848
  @amazon_pay_payments = amazon_pay_payments
3176
2849
  @au_becs_debit_payments = au_becs_debit_payments
3177
- @automatic_indirect_tax = automatic_indirect_tax
3178
2850
  @bacs_debit_payments = bacs_debit_payments
3179
2851
  @bancontact_payments = bancontact_payments
3180
2852
  @bank_transfer_payments = bank_transfer_payments
2853
+ @billie_payments = billie_payments
3181
2854
  @blik_payments = blik_payments
3182
2855
  @boleto_payments = boleto_payments
3183
2856
  @card_issuing = card_issuing
@@ -3188,10 +2861,7 @@ module Stripe
3188
2861
  @fpx_payments = fpx_payments
3189
2862
  @gb_bank_transfer_payments = gb_bank_transfer_payments
3190
2863
  @giropay_payments = giropay_payments
3191
- @gopay_payments = gopay_payments
3192
2864
  @grabpay_payments = grabpay_payments
3193
- @id_bank_transfer_payments = id_bank_transfer_payments
3194
- @id_bank_transfer_payments_bca = id_bank_transfer_payments_bca
3195
2865
  @ideal_payments = ideal_payments
3196
2866
  @india_international_payments = india_international_payments
3197
2867
  @jcb_payments = jcb_payments
@@ -3202,35 +2872,28 @@ module Stripe
3202
2872
  @kr_card_payments = kr_card_payments
3203
2873
  @legacy_payments = legacy_payments
3204
2874
  @link_payments = link_payments
3205
- @mb_way_payments = mb_way_payments
3206
2875
  @mobilepay_payments = mobilepay_payments
3207
2876
  @multibanco_payments = multibanco_payments
3208
2877
  @mx_bank_transfer_payments = mx_bank_transfer_payments
3209
2878
  @naver_pay_payments = naver_pay_payments
2879
+ @nz_bank_account_becs_debit_payments = nz_bank_account_becs_debit_payments
3210
2880
  @oxxo_payments = oxxo_payments
3211
2881
  @p24_payments = p24_payments
3212
2882
  @pay_by_bank_payments = pay_by_bank_payments
3213
2883
  @payco_payments = payco_payments
3214
2884
  @paynow_payments = paynow_payments
3215
- @paypal_payments = paypal_payments
3216
- @payto_payments = payto_payments
3217
2885
  @promptpay_payments = promptpay_payments
3218
- @qris_payments = qris_payments
3219
- @rechnung_payments = rechnung_payments
3220
2886
  @revolut_pay_payments = revolut_pay_payments
3221
2887
  @samsung_pay_payments = samsung_pay_payments
2888
+ @satispay_payments = satispay_payments
3222
2889
  @sepa_bank_transfer_payments = sepa_bank_transfer_payments
3223
2890
  @sepa_debit_payments = sepa_debit_payments
3224
- @shopeepay_payments = shopeepay_payments
3225
2891
  @sofort_payments = sofort_payments
3226
2892
  @swish_payments = swish_payments
3227
2893
  @tax_reporting_us_1099_k = tax_reporting_us_1099_k
3228
2894
  @tax_reporting_us_1099_misc = tax_reporting_us_1099_misc
3229
2895
  @transfers = transfers
3230
2896
  @treasury = treasury
3231
- @treasury_evolve = treasury_evolve
3232
- @treasury_fifth_third = treasury_fifth_third
3233
- @treasury_goldman_sachs = treasury_goldman_sachs
3234
2897
  @twint_payments = twint_payments
3235
2898
  @us_bank_account_ach_payments = us_bank_account_ach_payments
3236
2899
  @us_bank_transfer_payments = us_bank_transfer_payments
@@ -3497,7 +3160,7 @@ module Stripe
3497
3160
  attr_accessor :owners_provided
3498
3161
  # This hash is used to attest that the beneficial owner information provided to Stripe is both current and correct.
3499
3162
  attr_accessor :ownership_declaration
3500
- # Attribute for param field ownership_exemption_reason
3163
+ # This value is used to determine if a business is exempt from providing ultimate beneficial owners. See [this support article](https://support.stripe.com/questions/exemption-from-providing-ownership-details) and [changelog](https://docs.stripe.com/changelog/acacia/2025-01-27/ownership-exemption-reason-accounts-api) for more details.
3501
3164
  attr_accessor :ownership_exemption_reason
3502
3165
  # The company's phone number (used for verification).
3503
3166
  attr_accessor :phone
@@ -3562,30 +3225,6 @@ module Stripe
3562
3225
  end
3563
3226
 
3564
3227
  class Controller < Stripe::RequestParams
3565
- class Application < Stripe::RequestParams
3566
- # Whether the controller is liable for losses on this account. For details, see [Understanding Connect Account Balances](https://stripe.com/docs/connect/account-balances).
3567
- attr_accessor :loss_liable
3568
- # Whether the controller owns onboarding for this account.
3569
- attr_accessor :onboarding_owner
3570
- # Whether the controller has pricing controls for this account.
3571
- attr_accessor :pricing_controls
3572
-
3573
- def initialize(loss_liable: nil, onboarding_owner: nil, pricing_controls: nil)
3574
- @loss_liable = loss_liable
3575
- @onboarding_owner = onboarding_owner
3576
- @pricing_controls = pricing_controls
3577
- end
3578
- end
3579
-
3580
- class Dashboard < Stripe::RequestParams
3581
- # Whether this account should have access to the full Stripe Dashboard (`full`), to the Express Dashboard (`express`), or to no Stripe-hosted dashboard (`none`). Defaults to `full`.
3582
- attr_accessor :type
3583
-
3584
- def initialize(type: nil)
3585
- @type = type
3586
- end
3587
- end
3588
-
3589
3228
  class Fees < Stripe::RequestParams
3590
3229
  # A value indicating the responsible payer of Stripe fees on this account. Defaults to `account`. Learn more about [fee behavior on connected accounts](https://docs.stripe.com/connect/direct-charges-fee-payer-behavior).
3591
3230
  attr_accessor :payer
@@ -3612,10 +3251,6 @@ module Stripe
3612
3251
  @type = type
3613
3252
  end
3614
3253
  end
3615
- # A hash of configuration describing the Connect application that controls the account.
3616
- attr_accessor :application
3617
- # Properties of the account's dashboard.
3618
- attr_accessor :dashboard
3619
3254
  # A hash of configuration for who pays Stripe fees for product usage on this account.
3620
3255
  attr_accessor :fees
3621
3256
  # A hash of configuration for products that have negative balance liability, and whether Stripe or a Connect application is responsible for them.
@@ -3625,16 +3260,7 @@ module Stripe
3625
3260
  # A hash of configuration for Stripe-hosted dashboards.
3626
3261
  attr_accessor :stripe_dashboard
3627
3262
 
3628
- def initialize(
3629
- application: nil,
3630
- dashboard: nil,
3631
- fees: nil,
3632
- losses: nil,
3633
- requirement_collection: nil,
3634
- stripe_dashboard: nil
3635
- )
3636
- @application = application
3637
- @dashboard = dashboard
3263
+ def initialize(fees: nil, losses: nil, requirement_collection: nil, stripe_dashboard: nil)
3638
3264
  @fees = fees
3639
3265
  @losses = losses
3640
3266
  @requirement_collection = requirement_collection
@@ -4068,37 +3694,6 @@ module Stripe
4068
3694
  end
4069
3695
  end
4070
3696
 
4071
- class RiskControls < Stripe::RequestParams
4072
- class Charges < Stripe::RequestParams
4073
- # To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
4074
- # There can be a delay before the risk control is paused or unpaused.
4075
- attr_accessor :pause_requested
4076
-
4077
- def initialize(pause_requested: nil)
4078
- @pause_requested = pause_requested
4079
- end
4080
- end
4081
-
4082
- class Payouts < Stripe::RequestParams
4083
- # To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
4084
- # There can be a delay before the risk control is paused or unpaused.
4085
- attr_accessor :pause_requested
4086
-
4087
- def initialize(pause_requested: nil)
4088
- @pause_requested = pause_requested
4089
- end
4090
- end
4091
- # Represents the risk control status of charges. Please see [this page for more details](https://stripe.com/docs/connect/pausing-payments-or-payouts-on-connected-accounts).
4092
- attr_accessor :charges
4093
- # Represents the risk control status of payouts. Please see [this page for more details](https://stripe.com/docs/connect/pausing-payments-or-payouts-on-connected-accounts).
4094
- attr_accessor :payouts
4095
-
4096
- def initialize(charges: nil, payouts: nil)
4097
- @charges = charges
4098
- @payouts = payouts
4099
- end
4100
- end
4101
-
4102
3697
  class Settings < Stripe::RequestParams
4103
3698
  class BacsDebitPayments < Stripe::RequestParams
4104
3699
  # The Bacs Direct Debit Display Name for this account. For payments made with Bacs Direct Debit, this name appears on the mandate as the statement descriptor. Mobile banking apps display it as the name of the business. To use custom branding, set the Bacs Direct Debit Display Name during or right after creation. Custom branding incurs an additional monthly fee for the platform. If you don't set the display name before requesting Bacs capability, it's automatically set as "Stripe" and the account is onboarded to Stripe branding, which is free.
@@ -4109,18 +3704,6 @@ module Stripe
4109
3704
  end
4110
3705
  end
4111
3706
 
4112
- class BankBcaOnboarding < Stripe::RequestParams
4113
- # Bank BCA business account holder name
4114
- attr_accessor :account_holder_name
4115
- # Bank BCA business account number
4116
- attr_accessor :business_account_number
4117
-
4118
- def initialize(account_holder_name: nil, business_account_number: nil)
4119
- @account_holder_name = account_holder_name
4120
- @business_account_number = business_account_number
4121
- end
4122
- end
4123
-
4124
3707
  class Branding < Stripe::RequestParams
4125
3708
  # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) An icon for the account. Must be square and at least 128px x 128px.
4126
3709
  attr_accessor :icon
@@ -4139,18 +3722,6 @@ module Stripe
4139
3722
  end
4140
3723
  end
4141
3724
 
4142
- class Capital < Stripe::RequestParams
4143
- # Per-currency mapping of user-selected destination accounts used to pay out loans.
4144
- attr_accessor :payout_destination
4145
- # Per-currency mapping of all destination accounts eligible to receive Capital financing payouts.
4146
- attr_accessor :payout_destination_selector
4147
-
4148
- def initialize(payout_destination: nil, payout_destination_selector: nil)
4149
- @payout_destination = payout_destination
4150
- @payout_destination_selector = payout_destination_selector
4151
- end
4152
- end
4153
-
4154
3725
  class CardIssuing < Stripe::RequestParams
4155
3726
  class TosAcceptance < Stripe::RequestParams
4156
3727
  # The Unix timestamp marking when the account representative accepted the service agreement.
@@ -4208,6 +3779,15 @@ module Stripe
4208
3779
  end
4209
3780
  end
4210
3781
 
3782
+ class Invoices < Stripe::RequestParams
3783
+ # Whether payment methods should be saved when a payment is completed for a one-time invoices on a hosted invoice page.
3784
+ attr_accessor :hosted_payment_method_save
3785
+
3786
+ def initialize(hosted_payment_method_save: nil)
3787
+ @hosted_payment_method_save = hosted_payment_method_save
3788
+ end
3789
+ end
3790
+
4211
3791
  class Payments < Stripe::RequestParams
4212
3792
  # The default text that appears on statements for non-card charges outside of Japan. For card charges, if you don't set a `statement_descriptor_prefix`, this text is also used as the statement descriptor prefix. In that case, if concatenating the statement descriptor suffix causes the combined statement descriptor to exceed 22 characters, we truncate the `statement_descriptor` text to limit the full descriptor to 22 characters. For more information about statement descriptors and their requirements, see the [account settings documentation](https://docs.stripe.com/get-started/account/statement-descriptors).
4213
3793
  attr_accessor :statement_descriptor
@@ -4259,15 +3839,6 @@ module Stripe
4259
3839
  end
4260
3840
  end
4261
3841
 
4262
- class TaxForms < Stripe::RequestParams
4263
- # Whether the account opted out of receiving their tax forms by postal delivery.
4264
- attr_accessor :consented_to_paperless_delivery
4265
-
4266
- def initialize(consented_to_paperless_delivery: nil)
4267
- @consented_to_paperless_delivery = consented_to_paperless_delivery
4268
- end
4269
- end
4270
-
4271
3842
  class Treasury < Stripe::RequestParams
4272
3843
  class TosAcceptance < Stripe::RequestParams
4273
3844
  # The Unix timestamp marking when the account representative accepted the service agreement.
@@ -4292,46 +3863,38 @@ module Stripe
4292
3863
  end
4293
3864
  # Settings specific to Bacs Direct Debit.
4294
3865
  attr_accessor :bacs_debit_payments
4295
- # Settings specific to bank BCA onboarding for Indonesia bank transfers payments method.
4296
- attr_accessor :bank_bca_onboarding
4297
3866
  # Settings used to apply the account's branding to email receipts, invoices, Checkout, and other products.
4298
3867
  attr_accessor :branding
4299
- # Settings specific to the account's use of the Capital product.
4300
- attr_accessor :capital
4301
3868
  # Settings specific to the account's use of the Card Issuing product.
4302
3869
  attr_accessor :card_issuing
4303
3870
  # Settings specific to card charging on the account.
4304
3871
  attr_accessor :card_payments
3872
+ # Settings specific to the account’s use of Invoices.
3873
+ attr_accessor :invoices
4305
3874
  # Settings that apply across payment methods for charging on the account.
4306
3875
  attr_accessor :payments
4307
3876
  # Settings specific to the account's payouts.
4308
3877
  attr_accessor :payouts
4309
- # Settings specific to the account's tax forms.
4310
- attr_accessor :tax_forms
4311
3878
  # Settings specific to the account's Treasury FinancialAccounts.
4312
3879
  attr_accessor :treasury
4313
3880
 
4314
3881
  def initialize(
4315
3882
  bacs_debit_payments: nil,
4316
- bank_bca_onboarding: nil,
4317
3883
  branding: nil,
4318
- capital: nil,
4319
3884
  card_issuing: nil,
4320
3885
  card_payments: nil,
3886
+ invoices: nil,
4321
3887
  payments: nil,
4322
3888
  payouts: nil,
4323
- tax_forms: nil,
4324
3889
  treasury: nil
4325
3890
  )
4326
3891
  @bacs_debit_payments = bacs_debit_payments
4327
- @bank_bca_onboarding = bank_bca_onboarding
4328
3892
  @branding = branding
4329
- @capital = capital
4330
3893
  @card_issuing = card_issuing
4331
3894
  @card_payments = card_payments
3895
+ @invoices = invoices
4332
3896
  @payments = payments
4333
3897
  @payouts = payouts
4334
- @tax_forms = tax_forms
4335
3898
  @treasury = treasury
4336
3899
  end
4337
3900
  end
@@ -4390,8 +3953,6 @@ module Stripe
4390
3953
  attr_accessor :individual
4391
3954
  # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
4392
3955
  attr_accessor :metadata
4393
- # A hash to configure risk controls on the account. Please see [this page for more details](/connect/pausing-payments-or-payouts-on-connected-accounts).
4394
- attr_accessor :risk_controls
4395
3956
  # Options for customizing how the account functions within Stripe.
4396
3957
  attr_accessor :settings
4397
3958
  # Details on the account's acceptance of the [Stripe Services Agreement](/connect/updating-accounts#tos-acceptance). This property can only be updated for accounts where [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts. This property defaults to a `full` service agreement when empty.
@@ -4415,7 +3976,6 @@ module Stripe
4415
3976
  groups: nil,
4416
3977
  individual: nil,
4417
3978
  metadata: nil,
4418
- risk_controls: nil,
4419
3979
  settings: nil,
4420
3980
  tos_acceptance: nil,
4421
3981
  type: nil
@@ -4435,7 +3995,6 @@ module Stripe
4435
3995
  @groups = groups
4436
3996
  @individual = individual
4437
3997
  @metadata = metadata
4438
- @risk_controls = risk_controls
4439
3998
  @settings = settings
4440
3999
  @tos_acceptance = tos_acceptance
4441
4000
  @type = type