stripe 15.1.0.pre.beta.1 → 15.1.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 (620) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +697 -1533
  3. data/Gemfile +1 -1
  4. data/OPENAPI_VERSION +1 -1
  5. data/README.md +6 -0
  6. data/VERSION +1 -1
  7. data/lib/stripe/api_operations/nested_resource.rb +35 -35
  8. data/lib/stripe/api_requestor.rb +1 -29
  9. data/lib/stripe/api_version.rb +1 -1
  10. data/lib/stripe/connection_manager.rb +1 -3
  11. data/lib/stripe/errors.rb +0 -54
  12. data/lib/stripe/event_types.rb +1 -75
  13. data/lib/stripe/events/v1_billing_meter_error_report_triggered_event.rb +1 -1
  14. data/lib/stripe/events/v1_billing_meter_no_meter_found_event.rb +1 -1
  15. data/lib/stripe/events/{v2_core_account_including_identity_updated_event.rb → v2_core_event_destination_ping_event.rb} +3 -3
  16. data/lib/stripe/oauth.rb +1 -1
  17. data/lib/stripe/object_types.rb +0 -51
  18. data/lib/stripe/resources/account.rb +54 -657
  19. data/lib/stripe/resources/account_session.rb +1 -299
  20. data/lib/stripe/resources/billing/credit_balance_summary.rb +0 -2
  21. data/lib/stripe/resources/billing/credit_balance_transaction.rb +0 -4
  22. data/lib/stripe/resources/billing/credit_grant.rb +0 -10
  23. data/lib/stripe/resources/billing_portal/session.rb +0 -6
  24. data/lib/stripe/resources/card.rb +0 -2
  25. data/lib/stripe/resources/cash_balance.rb +0 -2
  26. data/lib/stripe/resources/charge.rb +2 -1454
  27. data/lib/stripe/resources/checkout/session.rb +5 -258
  28. data/lib/stripe/resources/confirmation_token.rb +9 -178
  29. data/lib/stripe/resources/credit_note.rb +0 -10
  30. data/lib/stripe/resources/credit_note_line_item.rb +0 -9
  31. data/lib/stripe/resources/customer.rb +2 -4
  32. data/lib/stripe/resources/customer_balance_transaction.rb +0 -2
  33. data/lib/stripe/resources/customer_cash_balance_transaction.rb +0 -2
  34. data/lib/stripe/resources/customer_session.rb +1 -6
  35. data/lib/stripe/resources/discount.rb +0 -2
  36. data/lib/stripe/resources/event.rb +0 -31
  37. data/lib/stripe/resources/financial_connections/account.rb +1 -20
  38. data/lib/stripe/resources/financial_connections/session.rb +2 -62
  39. data/lib/stripe/resources/funding_instructions.rb +1 -1
  40. data/lib/stripe/resources/identity/verification_session.rb +0 -10
  41. data/lib/stripe/resources/invoice.rb +17 -1175
  42. data/lib/stripe/resources/invoice_item.rb +2 -78
  43. data/lib/stripe/resources/invoice_line_item.rb +1 -55
  44. data/lib/stripe/resources/invoice_payment.rb +53 -2
  45. data/lib/stripe/resources/issuing/cardholder.rb +1 -2
  46. data/lib/stripe/resources/issuing/transaction.rb +0 -6
  47. data/lib/stripe/resources/line_item.rb +0 -37
  48. data/lib/stripe/resources/mandate.rb +0 -24
  49. data/lib/stripe/resources/payment_intent.rb +333 -5071
  50. data/lib/stripe/resources/payment_method.rb +11 -198
  51. data/lib/stripe/resources/payment_method_configuration.rb +13 -249
  52. data/lib/stripe/resources/payout.rb +0 -6
  53. data/lib/stripe/resources/person.rb +25 -1
  54. data/lib/stripe/resources/price.rb +0 -30
  55. data/lib/stripe/resources/product.rb +0 -59
  56. data/lib/stripe/resources/promotion_code.rb +0 -10
  57. data/lib/stripe/resources/quote.rb +6 -2040
  58. data/lib/stripe/resources/refund.rb +2 -9
  59. data/lib/stripe/resources/setup_attempt.rb +0 -21
  60. data/lib/stripe/resources/setup_intent.rb +21 -599
  61. data/lib/stripe/resources/source.rb +1 -30
  62. data/lib/stripe/resources/subscription.rb +11 -294
  63. data/lib/stripe/resources/subscription_item.rb +3 -84
  64. data/lib/stripe/resources/subscription_schedule.rb +10 -1007
  65. data/lib/stripe/resources/tax/calculation.rb +2 -2
  66. data/lib/stripe/resources/tax/registration.rb +220 -0
  67. data/lib/stripe/resources/tax/transaction.rb +1 -1
  68. data/lib/stripe/resources/tax_id.rb +4 -14
  69. data/lib/stripe/resources/terminal/reader.rb +0 -406
  70. data/lib/stripe/resources/token.rb +61 -0
  71. data/lib/stripe/resources/treasury/financial_account.rb +3 -22
  72. data/lib/stripe/resources/treasury/financial_account_features.rb +0 -2
  73. data/lib/stripe/resources/treasury/outbound_transfer.rb +0 -37
  74. data/lib/stripe/resources/treasury/received_credit.rb +1 -38
  75. data/lib/stripe/resources/treasury/received_debit.rb +1 -40
  76. data/lib/stripe/resources/v2/billing/meter_event.rb +2 -2
  77. data/lib/stripe/resources/v2/billing/meter_event_adjustment.rb +2 -2
  78. data/lib/stripe/resources/v2/billing/meter_event_session.rb +2 -2
  79. data/lib/stripe/resources/v2/event.rb +2 -2
  80. data/lib/stripe/resources/v2/event_destination.rb +2 -2
  81. data/lib/stripe/resources.rb +1 -88
  82. data/lib/stripe/services/account_external_account_service.rb +1 -1
  83. data/lib/stripe/services/account_person_service.rb +84 -0
  84. data/lib/stripe/services/account_service.rb +42 -565
  85. data/lib/stripe/services/account_session_service.rb +1 -269
  86. data/lib/stripe/services/application_fee_service.rb +1 -1
  87. data/lib/stripe/services/apps_service.rb +1 -1
  88. data/lib/stripe/services/billing/credit_balance_summary_service.rb +1 -4
  89. data/lib/stripe/services/billing/credit_balance_transaction_service.rb +0 -4
  90. data/lib/stripe/services/billing/credit_grant_service.rb +0 -8
  91. data/lib/stripe/services/billing/meter_service.rb +1 -1
  92. data/lib/stripe/services/billing_portal/session_service.rb +0 -4
  93. data/lib/stripe/services/billing_portal_service.rb +1 -1
  94. data/lib/stripe/services/billing_service.rb +1 -1
  95. data/lib/stripe/services/charge_service.rb +0 -1334
  96. data/lib/stripe/services/checkout/session_service.rb +5 -175
  97. data/lib/stripe/services/checkout_service.rb +1 -1
  98. data/lib/stripe/services/climate_service.rb +1 -1
  99. data/lib/stripe/services/credit_note_service.rb +1 -5
  100. data/lib/stripe/services/customer_payment_method_service.rb +1 -1
  101. data/lib/stripe/services/customer_service.rb +2 -2
  102. data/lib/stripe/services/customer_session_service.rb +1 -4
  103. data/lib/stripe/services/customer_tax_id_service.rb +1 -1
  104. data/lib/stripe/services/entitlements_service.rb +1 -1
  105. data/lib/stripe/services/financial_connections/account_service.rb +3 -8
  106. data/lib/stripe/services/financial_connections/session_service.rb +2 -34
  107. data/lib/stripe/services/financial_connections_service.rb +2 -3
  108. data/lib/stripe/services/forwarding_service.rb +1 -1
  109. data/lib/stripe/services/identity/verification_session_service.rb +0 -8
  110. data/lib/stripe/services/identity_service.rb +1 -1
  111. data/lib/stripe/services/invoice_item_service.rb +2 -74
  112. data/lib/stripe/services/invoice_line_item_service.rb +1 -33
  113. data/lib/stripe/services/invoice_payment_service.rb +33 -5
  114. data/lib/stripe/services/invoice_service.rb +18 -1089
  115. data/lib/stripe/services/issuing/cardholder_service.rb +1 -2
  116. data/lib/stripe/services/issuing/transaction_service.rb +0 -4
  117. data/lib/stripe/services/issuing_service.rb +2 -6
  118. data/lib/stripe/services/payment_intent_service.rb +290 -4603
  119. data/lib/stripe/services/payment_link_service.rb +1 -1
  120. data/lib/stripe/services/payment_method_configuration_service.rb +10 -178
  121. data/lib/stripe/services/payment_method_service.rb +9 -128
  122. data/lib/stripe/services/payout_service.rb +0 -4
  123. data/lib/stripe/services/price_service.rb +0 -19
  124. data/lib/stripe/services/product_service.rb +1 -39
  125. data/lib/stripe/services/promotion_code_service.rb +0 -8
  126. data/lib/stripe/services/quote_service.rb +8 -1727
  127. data/lib/stripe/services/radar_service.rb +1 -1
  128. data/lib/stripe/services/reporting_service.rb +1 -1
  129. data/lib/stripe/services/setup_intent_service.rb +21 -559
  130. data/lib/stripe/services/sigma_service.rb +1 -1
  131. data/lib/stripe/services/source_service.rb +1 -1
  132. data/lib/stripe/services/subscription_item_service.rb +3 -75
  133. data/lib/stripe/services/subscription_schedule_service.rb +10 -911
  134. data/lib/stripe/services/subscription_service.rb +10 -254
  135. data/lib/stripe/services/tax/calculation_service.rb +2 -2
  136. data/lib/stripe/services/tax/registration_service.rb +143 -0
  137. data/lib/stripe/services/tax/transaction_service.rb +1 -1
  138. data/lib/stripe/services/tax_id_service.rb +3 -9
  139. data/lib/stripe/services/tax_service.rb +2 -4
  140. data/lib/stripe/services/terminal/reader_service.rb +0 -180
  141. data/lib/stripe/services/terminal_service.rb +2 -3
  142. data/lib/stripe/services/test_helpers/confirmation_token_service.rb +7 -107
  143. data/lib/stripe/services/test_helpers/issuing_service.rb +1 -1
  144. data/lib/stripe/services/test_helpers/terminal/reader_service.rb +0 -43
  145. data/lib/stripe/services/test_helpers/terminal_service.rb +1 -1
  146. data/lib/stripe/services/test_helpers/treasury/received_credit_service.rb +1 -25
  147. data/lib/stripe/services/test_helpers/treasury/received_debit_service.rb +1 -25
  148. data/lib/stripe/services/test_helpers/treasury_service.rb +1 -1
  149. data/lib/stripe/services/test_helpers_service.rb +1 -1
  150. data/lib/stripe/services/token_service.rb +61 -0
  151. data/lib/stripe/services/transfer_service.rb +1 -1
  152. data/lib/stripe/services/treasury/financial_account_features_service.rb +1 -4
  153. data/lib/stripe/services/treasury/financial_account_service.rb +3 -17
  154. data/lib/stripe/services/treasury/outbound_transfer_service.rb +0 -24
  155. data/lib/stripe/services/treasury_service.rb +1 -1
  156. data/lib/stripe/services/v1_services.rb +3 -12
  157. data/lib/stripe/services/v2/billing_service.rb +1 -1
  158. data/lib/stripe/services/v2/core_service.rb +2 -5
  159. data/lib/stripe/services/v2_services.rb +3 -5
  160. data/lib/stripe/services.rb +0 -52
  161. data/lib/stripe/stripe_configuration.rb +1 -3
  162. data/lib/stripe/stripe_object.rb +1 -1
  163. data/lib/stripe/util.rb +1 -7
  164. data/lib/stripe/version.rb +1 -1
  165. data/lib/stripe.rb +0 -55
  166. data/rbi/stripe/resources/account.rbi +4903 -0
  167. data/rbi/stripe/resources/account_link.rbi +74 -0
  168. data/rbi/stripe/resources/account_session.rbi +894 -0
  169. data/rbi/stripe/resources/apple_pay_domain.rbi +90 -0
  170. data/rbi/stripe/resources/application.rbi +20 -0
  171. data/rbi/stripe/resources/application_fee.rbi +118 -0
  172. data/rbi/stripe/resources/application_fee_refund.rbi +37 -0
  173. data/rbi/stripe/resources/apps/secret.rbi +195 -0
  174. data/rbi/stripe/resources/balance.rbi +180 -0
  175. data/rbi/stripe/resources/balance_transaction.rbi +144 -0
  176. data/rbi/stripe/resources/bank_account.rbi +127 -0
  177. data/rbi/stripe/resources/billing/alert.rbi +201 -0
  178. data/rbi/stripe/resources/billing/alert_triggered.rbi +28 -0
  179. data/rbi/stripe/resources/billing/credit_balance_summary.rbi +63 -0
  180. data/rbi/stripe/resources/billing/credit_balance_transaction.rbi +147 -0
  181. data/rbi/stripe/resources/billing/credit_grant.rbi +291 -0
  182. data/rbi/stripe/resources/billing/meter.rbi +226 -0
  183. data/rbi/stripe/resources/billing/meter_event.rbi +64 -0
  184. data/rbi/stripe/resources/billing/meter_event_adjustment.rbi +64 -0
  185. data/rbi/stripe/resources/billing/meter_event_summary.rbi +35 -0
  186. data/rbi/stripe/resources/billing_portal/configuration.rbi +645 -0
  187. data/rbi/stripe/resources/billing_portal/session.rbi +345 -0
  188. data/rbi/stripe/resources/capability.rbi +125 -0
  189. data/rbi/stripe/resources/card.rbi +125 -0
  190. data/rbi/stripe/resources/cash_balance.rbi +32 -0
  191. data/rbi/stripe/resources/charge.rbi +2057 -0
  192. data/rbi/stripe/resources/checkout/session.rbi +3988 -0
  193. data/rbi/stripe/resources/climate/order.rbi +245 -0
  194. data/rbi/stripe/resources/climate/product.rbi +75 -0
  195. data/rbi/stripe/resources/climate/supplier.rbi +72 -0
  196. data/rbi/stripe/resources/confirmation_token.rbi +1873 -0
  197. data/rbi/stripe/resources/connect_collection_transfer.rbi +26 -0
  198. data/rbi/stripe/resources/country_spec.rbi +85 -0
  199. data/rbi/stripe/resources/coupon.rbi +252 -0
  200. data/rbi/stripe/resources/credit_note.rbi +747 -0
  201. data/rbi/stripe/resources/credit_note_line_item.rbi +101 -0
  202. data/rbi/stripe/resources/customer.rbi +1009 -0
  203. data/rbi/stripe/resources/customer_balance_transaction.rbi +56 -0
  204. data/rbi/stripe/resources/customer_cash_balance_transaction.rbi +151 -0
  205. data/rbi/stripe/resources/customer_session.rbi +200 -0
  206. data/rbi/stripe/resources/discount.rbi +53 -0
  207. data/rbi/stripe/resources/dispute.rbi +761 -0
  208. data/rbi/stripe/resources/entitlements/active_entitlement.rbi +58 -0
  209. data/rbi/stripe/resources/entitlements/active_entitlement_summary.rbi +23 -0
  210. data/rbi/stripe/resources/entitlements/feature.rbi +117 -0
  211. data/rbi/stripe/resources/ephemeral_key.rbi +44 -0
  212. data/rbi/stripe/resources/event.rbi +149 -0
  213. data/rbi/stripe/resources/exchange_rate.rbi +66 -0
  214. data/rbi/stripe/resources/file.rbi +143 -0
  215. data/rbi/stripe/resources/file_link.rbi +141 -0
  216. data/rbi/stripe/resources/financial_connections/account.rbi +339 -0
  217. data/rbi/stripe/resources/financial_connections/account_owner.rbi +35 -0
  218. data/rbi/stripe/resources/financial_connections/account_ownership.rbi +23 -0
  219. data/rbi/stripe/resources/financial_connections/session.rbi +123 -0
  220. data/rbi/stripe/resources/financial_connections/transaction.rbi +124 -0
  221. data/rbi/stripe/resources/forwarding/request.rbi +216 -0
  222. data/rbi/stripe/resources/funding_instructions.rbi +437 -0
  223. data/rbi/stripe/resources/identity/verification_report.rbi +351 -0
  224. data/rbi/stripe/resources/identity/verification_session.rbi +517 -0
  225. data/rbi/stripe/resources/invoice.rbi +3736 -0
  226. data/rbi/stripe/resources/invoice_item.rbi +475 -0
  227. data/rbi/stripe/resources/invoice_line_item.rbi +432 -0
  228. data/rbi/stripe/resources/invoice_payment.rbi +114 -0
  229. data/rbi/stripe/resources/invoice_rendering_template.rbi +104 -0
  230. data/rbi/stripe/resources/issuing/authorization.rbi +1283 -0
  231. data/rbi/stripe/resources/issuing/card.rbi +741 -0
  232. data/rbi/stripe/resources/issuing/cardholder.rbi +744 -0
  233. data/rbi/stripe/resources/issuing/dispute.rbi +913 -0
  234. data/rbi/stripe/resources/issuing/personalization_design.rbi +338 -0
  235. data/rbi/stripe/resources/issuing/physical_bundle.rbi +79 -0
  236. data/rbi/stripe/resources/issuing/token.rbi +226 -0
  237. data/rbi/stripe/resources/issuing/transaction.rbi +1061 -0
  238. data/rbi/stripe/resources/line_item.rbi +72 -0
  239. data/rbi/stripe/resources/login_link.rbi +19 -0
  240. data/rbi/stripe/resources/mandate.rbi +187 -0
  241. data/rbi/stripe/resources/payment_intent.rbi +9795 -0
  242. data/rbi/stripe/resources/payment_link.rbi +1801 -0
  243. data/rbi/stripe/resources/payment_method.rbi +1831 -0
  244. data/rbi/stripe/resources/payment_method_configuration.rbi +3220 -0
  245. data/rbi/stripe/resources/payment_method_domain.rbi +228 -0
  246. data/rbi/stripe/resources/payout.rbi +300 -0
  247. data/rbi/stripe/resources/person.rbi +401 -0
  248. data/rbi/stripe/resources/plan.rbi +373 -0
  249. data/rbi/stripe/resources/price.rbi +694 -0
  250. data/rbi/stripe/resources/product.rbi +557 -0
  251. data/rbi/stripe/resources/product_feature.rbi +26 -0
  252. data/rbi/stripe/resources/promotion_code.rbi +261 -0
  253. data/rbi/stripe/resources/quote.rbi +1126 -0
  254. data/rbi/stripe/resources/radar/early_fraud_warning.rbi +98 -0
  255. data/rbi/stripe/resources/radar/value_list.rbi +170 -0
  256. data/rbi/stripe/resources/radar/value_list_item.rbi +131 -0
  257. data/rbi/stripe/resources/refund.rbi +519 -0
  258. data/rbi/stripe/resources/reporting/report_run.rbi +191 -0
  259. data/rbi/stripe/resources/reporting/report_type.rbi +57 -0
  260. data/rbi/stripe/resources/reserve_transaction.rbi +23 -0
  261. data/rbi/stripe/resources/reversal.rbi +51 -0
  262. data/rbi/stripe/resources/review.rbi +154 -0
  263. data/rbi/stripe/resources/setup_attempt.rbi +477 -0
  264. data/rbi/stripe/resources/setup_intent.rbi +3869 -0
  265. data/rbi/stripe/resources/shipping_rate.rbi +305 -0
  266. data/rbi/stripe/resources/sigma/scheduled_query_run.rbi +75 -0
  267. data/rbi/stripe/resources/source.rbi +1496 -0
  268. data/rbi/stripe/resources/source_mandate_notification.rbi +77 -0
  269. data/rbi/stripe/resources/source_transaction.rbi +127 -0
  270. data/rbi/stripe/resources/subscription.rbi +1964 -0
  271. data/rbi/stripe/resources/subscription_item.rbi +370 -0
  272. data/rbi/stripe/resources/subscription_schedule.rbi +1495 -0
  273. data/rbi/stripe/resources/tax/calculation.rbi +474 -0
  274. data/rbi/stripe/resources/tax/calculation_line_item.rbi +88 -0
  275. data/rbi/stripe/resources/tax/registration.rbi +2713 -0
  276. data/rbi/stripe/resources/tax/settings.rbi +141 -0
  277. data/rbi/stripe/resources/tax/transaction.rbi +351 -0
  278. data/rbi/stripe/resources/tax/transaction_line_item.rbi +54 -0
  279. data/rbi/stripe/resources/tax_code.rbi +44 -0
  280. data/rbi/stripe/resources/tax_deducted_at_source.rbi +23 -0
  281. data/rbi/stripe/resources/tax_id.rbi +167 -0
  282. data/rbi/stripe/resources/tax_rate.rbi +239 -0
  283. data/rbi/stripe/resources/terminal/configuration.rbi +1388 -0
  284. data/rbi/stripe/resources/terminal/connection_token.rbi +37 -0
  285. data/rbi/stripe/resources/terminal/location.rbi +224 -0
  286. data/rbi/stripe/resources/terminal/reader.rbi +587 -0
  287. data/rbi/stripe/resources/test_helpers/test_clock.rbi +134 -0
  288. data/rbi/stripe/resources/token.rbi +1283 -0
  289. data/rbi/stripe/resources/topup.rbi +222 -0
  290. data/rbi/stripe/resources/transfer.rbi +199 -0
  291. data/rbi/stripe/resources/treasury/credit_reversal.rbi +119 -0
  292. data/rbi/stripe/resources/treasury/debit_reversal.rbi +131 -0
  293. data/rbi/stripe/resources/treasury/financial_account.rbi +865 -0
  294. data/rbi/stripe/resources/treasury/financial_account_features.rbi +260 -0
  295. data/rbi/stripe/resources/treasury/inbound_transfer.rbi +295 -0
  296. data/rbi/stripe/resources/treasury/outbound_payment.rbi +592 -0
  297. data/rbi/stripe/resources/treasury/outbound_transfer.rbi +431 -0
  298. data/rbi/stripe/resources/treasury/received_credit.rbi +302 -0
  299. data/rbi/stripe/resources/treasury/received_debit.rbi +256 -0
  300. data/rbi/stripe/resources/treasury/transaction.rbi +215 -0
  301. data/rbi/stripe/resources/treasury/transaction_entry.rbi +192 -0
  302. data/rbi/stripe/resources/v2/amount.rbi +14 -0
  303. data/rbi/stripe/resources/v2/billing/meter_event.rbi +37 -0
  304. data/rbi/stripe/resources/v2/billing/meter_event_adjustment.rbi +41 -0
  305. data/rbi/stripe/resources/v2/billing/meter_event_session.rbi +31 -0
  306. data/rbi/stripe/resources/v2/event.rbi +48 -0
  307. data/rbi/stripe/resources/v2/event_destination.rbi +91 -0
  308. data/rbi/stripe/resources/webhook_endpoint.rbi +170 -0
  309. data/rbi/stripe/services/account_capability_service.rbi +51 -0
  310. data/{lib/stripe/services/external_account_service.rb → rbi/stripe/services/account_external_account_service.rbi} +124 -136
  311. data/rbi/stripe/services/account_link_service.rbi +58 -0
  312. data/rbi/stripe/services/account_login_link_service.rbi +22 -0
  313. data/rbi/stripe/services/account_person_service.rbi +1013 -0
  314. data/rbi/stripe/services/account_service.rbi +4189 -0
  315. data/rbi/stripe/services/account_session_service.rbi +572 -0
  316. data/rbi/stripe/services/apple_pay_domain_service.rbi +78 -0
  317. data/rbi/stripe/services/application_fee_refund_service.rbi +93 -0
  318. data/rbi/stripe/services/application_fee_service.rbi +78 -0
  319. data/rbi/stripe/services/apps/secret_service.rbi +151 -0
  320. data/rbi/stripe/services/apps_service.rbi +9 -0
  321. data/rbi/stripe/services/balance_service.rbi +21 -0
  322. data/rbi/stripe/services/balance_transaction_service.rbi +93 -0
  323. data/rbi/stripe/services/billing/alert_service.rbi +152 -0
  324. data/rbi/stripe/services/billing/credit_balance_summary_service.rbi +68 -0
  325. data/rbi/stripe/services/billing/credit_balance_transaction_service.rbi +59 -0
  326. data/rbi/stripe/services/billing/credit_grant_service.rbi +211 -0
  327. data/rbi/stripe/services/billing/meter_event_adjustment_service.rbi +42 -0
  328. data/rbi/stripe/services/billing/meter_event_service.rbi +42 -0
  329. data/rbi/stripe/services/billing/meter_event_summary_service.rbi +54 -0
  330. data/rbi/stripe/services/billing/meter_service.rbi +163 -0
  331. data/rbi/stripe/services/billing_portal/configuration_service.rbi +511 -0
  332. data/rbi/stripe/services/billing_portal/session_service.rbi +204 -0
  333. data/rbi/stripe/services/billing_portal_service.rbi +10 -0
  334. data/rbi/stripe/services/billing_service.rbi +15 -0
  335. data/rbi/stripe/services/charge_service.rbi +448 -0
  336. data/rbi/stripe/services/checkout/session_line_item_service.rbi +33 -0
  337. data/rbi/stripe/services/checkout/session_service.rbi +2607 -0
  338. data/rbi/stripe/services/checkout_service.rbi +9 -0
  339. data/rbi/stripe/services/climate/order_service.rbi +142 -0
  340. data/{lib/stripe/services/privacy/redaction_job_validation_error_service.rb → rbi/stripe/services/climate/product_service.rbi} +25 -36
  341. data/{lib/stripe/services/financial_connections/institution_service.rb → rbi/stripe/services/climate/supplier_service.rbi} +25 -36
  342. data/rbi/stripe/services/climate_service.rbi +11 -0
  343. data/rbi/stripe/services/confirmation_token_service.rbi +20 -0
  344. data/rbi/stripe/services/country_spec_service.rbi +44 -0
  345. data/rbi/stripe/services/coupon_service.rbi +196 -0
  346. data/{lib/stripe/services/quote_preview_subscription_schedule_service.rb → rbi/stripe/services/credit_note_line_item_service.rbi} +16 -20
  347. data/rbi/stripe/services/credit_note_preview_lines_service.rbi +167 -0
  348. data/rbi/stripe/services/credit_note_service.rbi +416 -0
  349. data/rbi/stripe/services/customer_balance_transaction_service.rbi +92 -0
  350. data/rbi/stripe/services/customer_cash_balance_service.rbi +45 -0
  351. data/rbi/stripe/services/customer_cash_balance_transaction_service.rbi +44 -0
  352. data/rbi/stripe/services/customer_funding_instructions_service.rbi +59 -0
  353. data/rbi/stripe/services/customer_payment_method_service.rbi +57 -0
  354. data/rbi/stripe/services/customer_payment_source_service.rbi +232 -0
  355. data/rbi/stripe/services/customer_service.rbi +651 -0
  356. data/rbi/stripe/services/customer_session_service.rbi +116 -0
  357. data/rbi/stripe/services/customer_tax_id_service.rbi +72 -0
  358. data/rbi/stripe/services/dispute_service.rbi +424 -0
  359. data/rbi/stripe/services/entitlements/active_entitlement_service.rbi +55 -0
  360. data/rbi/stripe/services/entitlements/feature_service.rbi +107 -0
  361. data/rbi/stripe/services/entitlements_service.rbi +10 -0
  362. data/rbi/stripe/services/ephemeral_key_service.rbi +53 -0
  363. data/rbi/stripe/services/event_service.rbi +83 -0
  364. data/rbi/stripe/services/exchange_rate_service.rbi +44 -0
  365. data/rbi/stripe/services/file_link_service.rbi +124 -0
  366. data/rbi/stripe/services/file_service.rbi +116 -0
  367. data/rbi/stripe/services/financial_connections/account_owner_service.rbi +42 -0
  368. data/rbi/stripe/services/financial_connections/account_service.rbi +133 -0
  369. data/rbi/stripe/services/financial_connections/session_service.rbi +88 -0
  370. data/rbi/stripe/services/financial_connections/transaction_service.rbi +92 -0
  371. data/rbi/stripe/services/financial_connections_service.rbi +11 -0
  372. data/rbi/stripe/services/forwarding/request_service.rbi +134 -0
  373. data/rbi/stripe/services/forwarding_service.rbi +9 -0
  374. data/rbi/stripe/services/identity/verification_report_service.rbi +87 -0
  375. data/rbi/stripe/services/identity/verification_session_service.rbi +323 -0
  376. data/rbi/stripe/services/identity_service.rbi +10 -0
  377. data/rbi/stripe/services/invoice_item_service.rbi +368 -0
  378. data/rbi/stripe/services/invoice_line_item_service.rbi +259 -0
  379. data/rbi/stripe/services/invoice_payment_service.rbi +71 -0
  380. data/rbi/stripe/services/invoice_rendering_template_service.rbi +82 -0
  381. data/rbi/stripe/services/invoice_service.rbi +2920 -0
  382. data/rbi/stripe/services/issuing/authorization_service.rbi +146 -0
  383. data/rbi/stripe/services/issuing/card_service.rbi +495 -0
  384. data/rbi/stripe/services/issuing/cardholder_service.rbi +587 -0
  385. data/rbi/stripe/services/issuing/dispute_service.rbi +707 -0
  386. data/rbi/stripe/services/issuing/personalization_design_service.rbi +243 -0
  387. data/rbi/stripe/services/issuing/physical_bundle_service.rbi +59 -0
  388. data/rbi/stripe/services/issuing/token_service.rbi +99 -0
  389. data/rbi/stripe/services/issuing/transaction_service.rbi +105 -0
  390. data/rbi/stripe/services/issuing_service.rbi +16 -0
  391. data/rbi/stripe/services/mandate_service.rbi +20 -0
  392. data/rbi/stripe/services/payment_intent_service.rbi +7819 -0
  393. data/{lib/stripe/services/quote_line_service.rb → rbi/stripe/services/payment_link_line_item_service.rbi} +16 -20
  394. data/rbi/stripe/services/payment_link_service.rbi +1352 -0
  395. data/rbi/stripe/services/payment_method_configuration_service.rbi +2255 -0
  396. data/rbi/stripe/services/payment_method_domain_service.rbi +112 -0
  397. data/rbi/stripe/services/payment_method_service.rbi +846 -0
  398. data/rbi/stripe/services/payout_service.rbi +205 -0
  399. data/rbi/stripe/services/plan_service.rbi +284 -0
  400. data/rbi/stripe/services/price_service.rbi +546 -0
  401. data/rbi/stripe/services/product_feature_service.rbi +69 -0
  402. data/rbi/stripe/services/product_service.rbi +479 -0
  403. data/rbi/stripe/services/promotion_code_service.rbi +214 -0
  404. data/rbi/stripe/services/quote_computed_upfront_line_items_service.rbi +31 -0
  405. data/{lib/stripe/services/order_line_item_service.rb → rbi/stripe/services/quote_line_item_service.rbi} +16 -20
  406. data/rbi/stripe/services/quote_service.rbi +686 -0
  407. data/rbi/stripe/services/radar/early_fraud_warning_service.rbi +85 -0
  408. data/rbi/stripe/services/radar/value_list_item_service.rbi +111 -0
  409. data/rbi/stripe/services/radar/value_list_service.rbi +143 -0
  410. data/rbi/stripe/services/radar_service.rbi +11 -0
  411. data/rbi/stripe/services/refund_service.rbi +185 -0
  412. data/rbi/stripe/services/reporting/report_run_service.rbi +135 -0
  413. data/rbi/stripe/services/reporting/report_type_service.rbi +35 -0
  414. data/rbi/stripe/services/reporting_service.rbi +10 -0
  415. data/rbi/stripe/services/review_service.rbi +84 -0
  416. data/rbi/stripe/services/setup_attempt_service.rbi +65 -0
  417. data/rbi/stripe/services/setup_intent_service.rbi +3605 -0
  418. data/rbi/stripe/services/shipping_rate_service.rbi +241 -0
  419. data/rbi/stripe/services/sigma/scheduled_query_run_service.rbi +46 -0
  420. data/rbi/stripe/services/sigma_service.rbi +9 -0
  421. data/rbi/stripe/services/source_service.rbi +663 -0
  422. data/{lib/stripe/services/quote_preview_invoice_service.rb → rbi/stripe/services/source_transaction_service.rbi} +16 -20
  423. data/rbi/stripe/services/subscription_item_service.rbi +324 -0
  424. data/rbi/stripe/services/subscription_schedule_service.rbi +1192 -0
  425. data/rbi/stripe/services/subscription_service.rbi +1596 -0
  426. data/rbi/stripe/services/tax/calculation_line_item_service.rbi +33 -0
  427. data/rbi/stripe/services/tax/calculation_service.rbi +230 -0
  428. data/rbi/stripe/services/tax/registration_service.rbi +1845 -0
  429. data/rbi/stripe/services/tax/settings_service.rbi +93 -0
  430. data/{lib/stripe/services/financial_connections/account_inferred_balance_service.rb → rbi/stripe/services/tax/transaction_line_item_service.rbi} +17 -21
  431. data/rbi/stripe/services/tax/transaction_service.rbi +146 -0
  432. data/rbi/stripe/services/tax_code_service.rbi +44 -0
  433. data/rbi/stripe/services/tax_id_service.rbi +112 -0
  434. data/rbi/stripe/services/tax_rate_service.rbi +185 -0
  435. data/rbi/stripe/services/tax_service.rbi +12 -0
  436. data/rbi/stripe/services/terminal/configuration_service.rbi +1120 -0
  437. data/rbi/stripe/services/terminal/connection_token_service.rbi +25 -0
  438. data/rbi/stripe/services/terminal/location_service.rbi +184 -0
  439. data/rbi/stripe/services/terminal/reader_service.rbi +344 -0
  440. data/rbi/stripe/services/terminal_service.rbi +12 -0
  441. data/rbi/stripe/services/test_helpers/confirmation_token_service.rbi +805 -0
  442. data/rbi/stripe/services/test_helpers/customer_service.rbi +33 -0
  443. data/rbi/stripe/services/test_helpers/issuing/authorization_service.rbi +848 -0
  444. data/rbi/stripe/services/test_helpers/issuing/card_service.rbi +76 -0
  445. data/rbi/stripe/services/test_helpers/issuing/personalization_design_service.rbi +69 -0
  446. data/rbi/stripe/services/test_helpers/issuing/transaction_service.rbi +711 -0
  447. data/rbi/stripe/services/test_helpers/issuing_service.rbi +14 -0
  448. data/rbi/stripe/services/test_helpers/refund_service.rbi +22 -0
  449. data/rbi/stripe/services/test_helpers/terminal/reader_service.rbi +62 -0
  450. data/rbi/stripe/services/test_helpers/terminal_service.rbi +11 -0
  451. data/rbi/stripe/services/test_helpers/test_clock_service.rbi +92 -0
  452. data/rbi/stripe/services/test_helpers/treasury/inbound_transfer_service.rbi +64 -0
  453. data/rbi/stripe/services/test_helpers/treasury/outbound_payment_service.rbi +125 -0
  454. data/rbi/stripe/services/test_helpers/treasury/outbound_transfer_service.rbi +125 -0
  455. data/rbi/stripe/services/test_helpers/treasury/received_credit_service.rbi +87 -0
  456. data/rbi/stripe/services/test_helpers/treasury/received_debit_service.rbi +87 -0
  457. data/rbi/stripe/services/test_helpers/treasury_service.rbi +15 -0
  458. data/rbi/stripe/services/test_helpers_service.rbi +15 -0
  459. data/rbi/stripe/services/token_service.rbi +1257 -0
  460. data/rbi/stripe/services/topup_service.rbi +176 -0
  461. data/rbi/stripe/services/transfer_reversal_service.rbi +101 -0
  462. data/rbi/stripe/services/transfer_service.rbi +152 -0
  463. data/rbi/stripe/services/treasury/credit_reversal_service.rbi +84 -0
  464. data/rbi/stripe/services/treasury/debit_reversal_service.rbi +88 -0
  465. data/rbi/stripe/services/treasury/financial_account_features_service.rbi +198 -0
  466. data/rbi/stripe/services/treasury/financial_account_service.rbi +562 -0
  467. data/rbi/stripe/services/treasury/inbound_transfer_service.rbi +117 -0
  468. data/rbi/stripe/services/treasury/outbound_payment_service.rbi +304 -0
  469. data/rbi/stripe/services/treasury/outbound_transfer_service.rbi +157 -0
  470. data/rbi/stripe/services/treasury/received_credit_service.rbi +72 -0
  471. data/rbi/stripe/services/treasury/received_debit_service.rbi +59 -0
  472. data/rbi/stripe/services/treasury/transaction_entry_service.rbi +111 -0
  473. data/rbi/stripe/services/treasury/transaction_service.rbi +122 -0
  474. data/rbi/stripe/services/treasury_service.rbi +18 -0
  475. data/rbi/stripe/services/v1_services.rbi +77 -0
  476. data/rbi/stripe/services/v2/billing/meter_event_adjustment_service.rbi +39 -0
  477. data/rbi/stripe/services/v2/billing/meter_event_service.rbi +42 -0
  478. data/rbi/stripe/services/v2/billing/meter_event_session_service.rbi +20 -0
  479. data/rbi/stripe/services/v2/billing/meter_event_stream_service.rbi +55 -0
  480. data/rbi/stripe/services/v2/billing_service.rbi +14 -0
  481. data/rbi/stripe/services/v2/core/event_destination_service.rbi +200 -0
  482. data/rbi/stripe/services/v2/core/event_service.rbi +38 -0
  483. data/rbi/stripe/services/v2/core_service.rbi +12 -0
  484. data/rbi/stripe/services/v2_services.rbi +10 -0
  485. data/rbi/stripe/services/webhook_endpoint_service.rbi +131 -0
  486. data/stripe.gemspec +1 -4
  487. metadata +325 -146
  488. data/lib/stripe/events/v2_core_account_including_configuration_customer_capability_status_updated_event.rb +0 -23
  489. data/lib/stripe/events/v2_core_account_including_configuration_customer_updated_event.rb +0 -21
  490. data/lib/stripe/events/v2_core_account_including_configuration_merchant_capability_status_updated_event.rb +0 -23
  491. data/lib/stripe/events/v2_core_account_including_configuration_merchant_updated_event.rb +0 -21
  492. data/lib/stripe/events/v2_core_account_including_configuration_recipient_capability_status_updated_event.rb +0 -23
  493. data/lib/stripe/events/v2_core_account_including_configuration_recipient_updated_event.rb +0 -21
  494. data/lib/stripe/events/v2_core_account_including_requirements_updated_event.rb +0 -21
  495. data/lib/stripe/events/v2_core_account_link_completed_event.rb +0 -13
  496. data/lib/stripe/events/v2_core_account_person_created_event.rb +0 -23
  497. data/lib/stripe/events/v2_core_account_person_deleted_event.rb +0 -23
  498. data/lib/stripe/events/v2_core_account_person_updated_event.rb +0 -23
  499. data/lib/stripe/events/v2_money_management_financial_account_created_event.rb +0 -21
  500. data/lib/stripe/events/v2_money_management_financial_address_activated_event.rb +0 -21
  501. data/lib/stripe/events/v2_money_management_financial_address_failed_event.rb +0 -21
  502. data/lib/stripe/events/v2_money_management_inbound_transfer_available_event.rb +0 -23
  503. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_failed_event.rb +0 -21
  504. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_processing_event.rb +0 -21
  505. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_queued_event.rb +0 -21
  506. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_returned_event.rb +0 -21
  507. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_succeeded_event.rb +0 -21
  508. data/lib/stripe/events/v2_money_management_outbound_payment_canceled_event.rb +0 -21
  509. data/lib/stripe/events/v2_money_management_outbound_payment_created_event.rb +0 -21
  510. data/lib/stripe/events/v2_money_management_outbound_payment_failed_event.rb +0 -21
  511. data/lib/stripe/events/v2_money_management_outbound_payment_posted_event.rb +0 -21
  512. data/lib/stripe/events/v2_money_management_outbound_payment_returned_event.rb +0 -21
  513. data/lib/stripe/events/v2_money_management_outbound_transfer_canceled_event.rb +0 -21
  514. data/lib/stripe/events/v2_money_management_outbound_transfer_created_event.rb +0 -21
  515. data/lib/stripe/events/v2_money_management_outbound_transfer_failed_event.rb +0 -21
  516. data/lib/stripe/events/v2_money_management_outbound_transfer_posted_event.rb +0 -21
  517. data/lib/stripe/events/v2_money_management_outbound_transfer_returned_event.rb +0 -21
  518. data/lib/stripe/events/v2_money_management_received_credit_available_event.rb +0 -23
  519. data/lib/stripe/events/v2_money_management_received_credit_failed_event.rb +0 -21
  520. data/lib/stripe/events/v2_money_management_received_credit_returned_event.rb +0 -21
  521. data/lib/stripe/events/v2_money_management_received_credit_succeeded_event.rb +0 -21
  522. data/lib/stripe/events/v2_money_management_received_debit_canceled_event.rb +0 -21
  523. data/lib/stripe/events/v2_money_management_received_debit_failed_event.rb +0 -21
  524. data/lib/stripe/events/v2_money_management_received_debit_pending_event.rb +0 -21
  525. data/lib/stripe/events/v2_money_management_received_debit_succeeded_event.rb +0 -21
  526. data/lib/stripe/events/v2_money_management_received_debit_updated_event.rb +0 -21
  527. data/lib/stripe/request_signing_authenticator.rb +0 -79
  528. data/lib/stripe/resources/account_notice.rb +0 -123
  529. data/lib/stripe/resources/balance_settings.rb +0 -101
  530. data/lib/stripe/resources/billing/meter_error_report.rb +0 -59
  531. data/lib/stripe/resources/capital/financing_offer.rb +0 -179
  532. data/lib/stripe/resources/capital/financing_summary.rb +0 -55
  533. data/lib/stripe/resources/capital/financing_transaction.rb +0 -114
  534. data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +0 -27
  535. data/lib/stripe/resources/financial_connections/institution.rb +0 -90
  536. data/lib/stripe/resources/gift_cards/card.rb +0 -208
  537. data/lib/stripe/resources/gift_cards/transaction.rb +0 -272
  538. data/lib/stripe/resources/issuing/credit_underwriting_record.rb +0 -602
  539. data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +0 -82
  540. data/lib/stripe/resources/issuing/fraud_liability_debit.rb +0 -86
  541. data/lib/stripe/resources/issuing/settlement.rb +0 -53
  542. data/lib/stripe/resources/margin.rb +0 -115
  543. data/lib/stripe/resources/order.rb +0 -2859
  544. data/lib/stripe/resources/payment_attempt_record.rb +0 -1078
  545. data/lib/stripe/resources/payment_record.rb +0 -1607
  546. data/lib/stripe/resources/privacy/redaction_job.rb +0 -251
  547. data/lib/stripe/resources/privacy/redaction_job_root_objects.rb +0 -35
  548. data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +0 -54
  549. data/lib/stripe/resources/quote_line.rb +0 -274
  550. data/lib/stripe/resources/quote_preview_invoice.rb +0 -663
  551. data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -337
  552. data/lib/stripe/resources/tax/association.rb +0 -89
  553. data/lib/stripe/resources/tax/form.rb +0 -211
  554. data/lib/stripe/resources/terminal/reader_collected_data.rb +0 -31
  555. data/lib/stripe/resources/v2/core/account.rb +0 -1715
  556. data/lib/stripe/resources/v2/core/account_link.rb +0 -54
  557. data/lib/stripe/resources/v2/core/person.rb +0 -272
  558. data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +0 -72
  559. data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +0 -37
  560. data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +0 -18
  561. data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +0 -20
  562. data/lib/stripe/resources/v2/money_management/adjustment.rb +0 -49
  563. data/lib/stripe/resources/v2/money_management/financial_account.rb +0 -56
  564. data/lib/stripe/resources/v2/money_management/financial_address.rb +0 -66
  565. data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +0 -92
  566. data/lib/stripe/resources/v2/money_management/outbound_payment.rb +0 -127
  567. data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +0 -74
  568. data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +0 -43
  569. data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +0 -115
  570. data/lib/stripe/resources/v2/money_management/payout_method.rb +0 -73
  571. data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +0 -47
  572. data/lib/stripe/resources/v2/money_management/received_credit.rb +0 -134
  573. data/lib/stripe/resources/v2/money_management/received_debit.rb +0 -106
  574. data/lib/stripe/resources/v2/money_management/transaction.rb +0 -76
  575. data/lib/stripe/resources/v2/money_management/transaction_entry.rb +0 -66
  576. data/lib/stripe/services/account_notice_service.rb +0 -101
  577. data/lib/stripe/services/balance_settings_service.rb +0 -96
  578. data/lib/stripe/services/capital/financing_offer_service.rb +0 -112
  579. data/lib/stripe/services/capital/financing_summary_service.rb +0 -28
  580. data/lib/stripe/services/capital/financing_transaction_service.rb +0 -79
  581. data/lib/stripe/services/capital_service.rb +0 -15
  582. data/lib/stripe/services/gift_cards/card_service.rb +0 -170
  583. data/lib/stripe/services/gift_cards/transaction_service.rb +0 -209
  584. data/lib/stripe/services/gift_cards_service.rb +0 -14
  585. data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +0 -504
  586. data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +0 -66
  587. data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +0 -83
  588. data/lib/stripe/services/margin_service.rb +0 -119
  589. data/lib/stripe/services/order_service.rb +0 -2268
  590. data/lib/stripe/services/payment_attempt_record_service.rb +0 -49
  591. data/lib/stripe/services/payment_record_service.rb +0 -542
  592. data/lib/stripe/services/privacy/redaction_job_service.rb +0 -231
  593. data/lib/stripe/services/privacy_service.rb +0 -13
  594. data/lib/stripe/services/tax/association_service.rb +0 -31
  595. data/lib/stripe/services/tax/form_service.rb +0 -100
  596. data/lib/stripe/services/terminal/reader_collected_data_service.rb +0 -28
  597. data/lib/stripe/services/v2/core/account_link_service.rb +0 -76
  598. data/lib/stripe/services/v2/core/account_service.rb +0 -4130
  599. data/lib/stripe/services/v2/core/accounts/person_service.rb +0 -1040
  600. data/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb +0 -135
  601. data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +0 -109
  602. data/lib/stripe/services/v2/core/vault_service.rb +0 -18
  603. data/lib/stripe/services/v2/money_management/adjustment_service.rb +0 -75
  604. data/lib/stripe/services/v2/money_management/financial_account_service.rb +0 -44
  605. data/lib/stripe/services/v2/money_management/financial_address_service.rb +0 -81
  606. data/lib/stripe/services/v2/money_management/inbound_transfer_service.rb +0 -126
  607. data/lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb +0 -80
  608. data/lib/stripe/services/v2/money_management/outbound_payment_service.rb +0 -202
  609. data/lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb +0 -237
  610. data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +0 -174
  611. data/lib/stripe/services/v2/money_management/payout_method_service.rb +0 -95
  612. data/lib/stripe/services/v2/money_management/payout_methods_bank_account_spec_service.rb +0 -32
  613. data/lib/stripe/services/v2/money_management/received_credit_service.rb +0 -71
  614. data/lib/stripe/services/v2/money_management/received_debit_service.rb +0 -44
  615. data/lib/stripe/services/v2/money_management/transaction_entry_service.rb +0 -70
  616. data/lib/stripe/services/v2/money_management/transaction_service.rb +0 -74
  617. data/lib/stripe/services/v2/money_management_service.rb +0 -31
  618. data/lib/stripe/services/v2/test_helper_service.rb +0 -15
  619. data/lib/stripe/services/v2/test_helpers/financial_address_service.rb +0 -50
  620. data/rbi/stripe.rbi +0 -190156
@@ -104,8 +104,6 @@ module Stripe
104
104
  attr_reader :amazon_pay_payments
105
105
  # The status of the BECS Direct Debit (AU) payments capability of the account, or whether the account can directly process BECS Direct Debit (AU) charges.
106
106
  attr_reader :au_becs_debit_payments
107
- # The status of the automatic_indirect_tax capability of the account.
108
- attr_reader :automatic_indirect_tax
109
107
  # The status of the Bacs Direct Debits payments capability of the account, or whether the account can directly process Bacs Direct Debits charges.
110
108
  attr_reader :bacs_debit_payments
111
109
  # The status of the Bancontact payments capability of the account, or whether the account can directly process Bancontact charges.
@@ -134,14 +132,8 @@ module Stripe
134
132
  attr_reader :gb_bank_transfer_payments
135
133
  # The status of the giropay payments capability of the account, or whether the account can directly process giropay charges.
136
134
  attr_reader :giropay_payments
137
- # The status of the Gopay capability of the account, or whether the account can directly process Gopay payments.
138
- attr_reader :gopay_payments
139
135
  # The status of the GrabPay payments capability of the account, or whether the account can directly process GrabPay charges.
140
136
  attr_reader :grabpay_payments
141
- # The status of the Indonesia Bank Transfer payments capability of the account, or whether the account can directly process Indonesia Bank Transfer charges.
142
- attr_reader :id_bank_transfer_payments
143
- # The status of Bank BCA onboarding of the account.
144
- attr_reader :id_bank_transfer_payments_bca
145
137
  # The status of the iDEAL payments capability of the account, or whether the account can directly process iDEAL charges.
146
138
  attr_reader :ideal_payments
147
139
  # The status of the india_international_payments capability of the account, or whether the account can process international charges (non INR) in India.
@@ -162,8 +154,6 @@ module Stripe
162
154
  attr_reader :legacy_payments
163
155
  # The status of the link_payments capability of the account, or whether the account can directly process Link charges.
164
156
  attr_reader :link_payments
165
- # The status of the MB WAY payments capability of the account, or whether the account can directly process MB WAY charges.
166
- attr_reader :mb_way_payments
167
157
  # The status of the MobilePay capability of the account, or whether the account can directly process MobilePay charges.
168
158
  attr_reader :mobilepay_payments
169
159
  # The status of the Multibanco payments capability of the account, or whether the account can directly process Multibanco charges.
@@ -184,16 +174,8 @@ module Stripe
184
174
  attr_reader :payco_payments
185
175
  # The status of the paynow payments capability of the account, or whether the account can directly process paynow charges.
186
176
  attr_reader :paynow_payments
187
- # The status of the PayPal payments capability of the account, or whether the account can directly process PayPal charges.
188
- attr_reader :paypal_payments
189
- # The status of the PayTo capability of the account, or whether the account can directly process PayTo charges.
190
- attr_reader :payto_payments
191
177
  # The status of the promptpay payments capability of the account, or whether the account can directly process promptpay charges.
192
178
  attr_reader :promptpay_payments
193
- # The status of the Qris capability of the account, or whether the account can directly process Qris payments.
194
- attr_reader :qris_payments
195
- # The status of the Rechnung capability of the account, or whether the account can directly process Rechnung payments.
196
- attr_reader :rechnung_payments
197
179
  # The status of the RevolutPay capability of the account, or whether the account can directly process RevolutPay payments.
198
180
  attr_reader :revolut_pay_payments
199
181
  # The status of the SamsungPay capability of the account, or whether the account can directly process SamsungPay payments.
@@ -204,12 +186,8 @@ module Stripe
204
186
  attr_reader :sepa_bank_transfer_payments
205
187
  # The status of the SEPA Direct Debits payments capability of the account, or whether the account can directly process SEPA Direct Debits charges.
206
188
  attr_reader :sepa_debit_payments
207
- # The status of the ShopeePay capability of the account, or whether the account can directly process ShopeePay payments.
208
- attr_reader :shopeepay_payments
209
189
  # The status of the Sofort payments capability of the account, or whether the account can directly process Sofort charges.
210
190
  attr_reader :sofort_payments
211
- # The status of the stripe_balance payments capability of the account, or whether the account can directly process stripe_balance charges.
212
- attr_reader :stripe_balance_payments
213
191
  # The status of the Swish capability of the account, or whether the account can directly process Swish payments.
214
192
  attr_reader :swish_payments
215
193
  # The status of the tax reporting 1099-K (US) capability of the account.
@@ -220,12 +198,6 @@ module Stripe
220
198
  attr_reader :transfers
221
199
  # The status of the banking capability, or whether the account can have bank accounts.
222
200
  attr_reader :treasury
223
- # The status of the treasury_evolve capability of the account.
224
- attr_reader :treasury_evolve
225
- # The status of the treasury_fifth_third capability of the account.
226
- attr_reader :treasury_fifth_third
227
- # The status of the treasury_goldman_sachs capability of the account.
228
- attr_reader :treasury_goldman_sachs
229
201
  # The status of the TWINT capability of the account, or whether the account can directly process TWINT charges.
230
202
  attr_reader :twint_payments
231
203
  # The status of the US bank account ACH payments capability of the account, or whether the account can directly process US bank account charges.
@@ -304,6 +276,15 @@ module Stripe
304
276
  attr_reader :user_agent
305
277
  end
306
278
 
279
+ class RegistrationDate < Stripe::StripeObject
280
+ # The day of registration, between 1 and 31.
281
+ attr_reader :day
282
+ # The month of registration, between 1 and 12.
283
+ attr_reader :month
284
+ # The four-digit year of registration.
285
+ attr_reader :year
286
+ end
287
+
307
288
  class Verification < Stripe::StripeObject
308
289
  class Document < Stripe::StripeObject
309
290
  # The back of a document returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `additional_verification`.
@@ -348,6 +329,8 @@ module Stripe
348
329
  attr_reader :ownership_exemption_reason
349
330
  # The company's phone number (used for verification).
350
331
  attr_reader :phone
332
+ # Attribute for field registration_date
333
+ attr_reader :registration_date
351
334
  # The category identifying the legal structure of the company or legal entity. Also available for accounts where [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `stripe`. See [Business structure](https://stripe.com/docs/connect/identity-verification#business-structure) for more details.
352
335
  attr_reader :structure
353
336
  # Whether the company's business ID number was provided.
@@ -361,20 +344,6 @@ module Stripe
361
344
  end
362
345
 
363
346
  class Controller < Stripe::StripeObject
364
- class Application < Stripe::StripeObject
365
- # `true` if the Connect application is responsible for negative balances and should manage credit and fraud risk on the account.
366
- attr_reader :loss_liable
367
- # `true` if the Connect application is responsible for onboarding the account.
368
- attr_reader :onboarding_owner
369
- # `true` if the Connect application is responsible for paying Stripe fees on pricing-control eligible products.
370
- attr_reader :pricing_controls
371
- end
372
-
373
- class Dashboard < Stripe::StripeObject
374
- # Whether this account has access to the full Stripe dashboard (`full`), to the Express dashboard (`express`), or to no dashboard (`none`).
375
- attr_reader :type
376
- end
377
-
378
347
  class Fees < Stripe::StripeObject
379
348
  # A value indicating the responsible payer of a bundle of Stripe fees for pricing-control eligible products on this account. Learn more about [fee behavior on connected accounts](https://docs.stripe.com/connect/direct-charges-fee-payer-behavior).
380
349
  attr_reader :payer
@@ -389,10 +358,6 @@ module Stripe
389
358
  # A value indicating the Stripe dashboard this account has access to independent of the Connect application.
390
359
  attr_reader :type
391
360
  end
392
- # Attribute for field application
393
- attr_reader :application
394
- # Attribute for field dashboard
395
- attr_reader :dashboard
396
361
  # Attribute for field fees
397
362
  attr_reader :fees
398
363
  # `true` if the Connect application retrieving the resource controls the account and can therefore exercise [platform controls](https://stripe.com/docs/connect/platform-controls-for-standard-accounts). Otherwise, this field is null.
@@ -480,24 +445,6 @@ module Stripe
480
445
  attr_reader :pending_verification
481
446
  end
482
447
 
483
- class RiskControls < Stripe::StripeObject
484
- class Charges < Stripe::StripeObject
485
- # Whether a pause of the risk control has been requested.
486
- attr_reader :pause_requested
487
- end
488
-
489
- class Payouts < Stripe::StripeObject
490
- # Whether a pause of the risk control has been requested.
491
- attr_reader :pause_requested
492
- end
493
- # Attribute for field charges
494
- attr_reader :charges
495
- # Attribute for field payouts
496
- attr_reader :payouts
497
- # Represents the rejected reason of the account. Empty if account is not rejected, or rejected by Stripe. Please see [this page for more details](https://stripe.com/docs/connect/)
498
- attr_reader :rejected_reason
499
- end
500
-
501
448
  class Settings < Stripe::StripeObject
502
449
  class BacsDebitPayments < Stripe::StripeObject
503
450
  # 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. The fee appears 5 business days after requesting Bacs. 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.
@@ -506,13 +453,6 @@ module Stripe
506
453
  attr_reader :service_user_number
507
454
  end
508
455
 
509
- class BankBcaOnboarding < Stripe::StripeObject
510
- # Bank BCA business account holder name.
511
- attr_reader :account_holder_name
512
- # Bank BCA business account number.
513
- attr_reader :business_account_number
514
- end
515
-
516
456
  class Branding < Stripe::StripeObject
517
457
  # (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.
518
458
  attr_reader :icon
@@ -524,13 +464,6 @@ module Stripe
524
464
  attr_reader :secondary_color
525
465
  end
526
466
 
527
- class Capital < Stripe::StripeObject
528
- # Per-currency mapping of user-selected destination accounts used to pay out loans.
529
- attr_reader :payout_destination
530
- # Per-currency mapping of all destination accounts eligible to receive loan payouts.
531
- attr_reader :payout_destination_selector
532
- end
533
-
534
467
  class CardIssuing < Stripe::StripeObject
535
468
  class TosAcceptance < Stripe::StripeObject
536
469
  # The Unix timestamp marking when the account representative accepted the service agreement.
@@ -612,11 +545,6 @@ module Stripe
612
545
  attr_reader :creditor_id
613
546
  end
614
547
 
615
- class TaxForms < Stripe::StripeObject
616
- # Whether the account opted out of receiving their tax forms by postal delivery.
617
- attr_reader :consented_to_paperless_delivery
618
- end
619
-
620
548
  class Treasury < Stripe::StripeObject
621
549
  class TosAcceptance < Stripe::StripeObject
622
550
  # The Unix timestamp marking when the account representative accepted the service agreement.
@@ -631,12 +559,8 @@ module Stripe
631
559
  end
632
560
  # Attribute for field bacs_debit_payments
633
561
  attr_reader :bacs_debit_payments
634
- # Attribute for field bank_bca_onboarding
635
- attr_reader :bank_bca_onboarding
636
562
  # Attribute for field branding
637
563
  attr_reader :branding
638
- # Attribute for field capital
639
- attr_reader :capital
640
564
  # Attribute for field card_issuing
641
565
  attr_reader :card_issuing
642
566
  # Attribute for field card_payments
@@ -651,8 +575,6 @@ module Stripe
651
575
  attr_reader :payouts
652
576
  # Attribute for field sepa_debit_payments
653
577
  attr_reader :sepa_debit_payments
654
- # Attribute for field tax_forms
655
- attr_reader :tax_forms
656
578
  # Attribute for field treasury
657
579
  attr_reader :treasury
658
580
  end
@@ -685,7 +607,7 @@ module Stripe
685
607
  attr_accessor :country
686
608
  # The currency the bank account is in. This must be a country/currency pairing that [Stripe supports.](docs/payouts)
687
609
  attr_accessor :currency
688
- # The routing number, sort code, or other country-appropriateinstitution number for the bank account. For US bank accounts, this is required and should bethe ACH routing number, not the wire routing number. If you are providing an IBAN for`account_number`, this field is not required.
610
+ # The routing number, sort code, or other country-appropriate institution number for the bank account. For US bank accounts, this is required and should be the ACH routing number, not the wire routing number. If you are providing an IBAN for `account_number`, this field is not required.
689
611
  attr_accessor :routing_number
690
612
 
691
613
  def initialize(
@@ -874,15 +796,6 @@ module Stripe
874
796
  end
875
797
  end
876
798
 
877
- class AutomaticIndirectTax < Stripe::RequestParams
878
- # 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.
879
- attr_accessor :requested
880
-
881
- def initialize(requested: nil)
882
- @requested = requested
883
- end
884
- end
885
-
886
799
  class BacsDebitPayments < Stripe::RequestParams
887
800
  # 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.
888
801
  attr_accessor :requested
@@ -1009,15 +922,6 @@ module Stripe
1009
922
  end
1010
923
  end
1011
924
 
1012
- class GopayPayments < Stripe::RequestParams
1013
- # 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.
1014
- attr_accessor :requested
1015
-
1016
- def initialize(requested: nil)
1017
- @requested = requested
1018
- end
1019
- end
1020
-
1021
925
  class GrabpayPayments < Stripe::RequestParams
1022
926
  # 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.
1023
927
  attr_accessor :requested
@@ -1027,24 +931,6 @@ module Stripe
1027
931
  end
1028
932
  end
1029
933
 
1030
- class IdBankTransferPayments < Stripe::RequestParams
1031
- # 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.
1032
- attr_accessor :requested
1033
-
1034
- def initialize(requested: nil)
1035
- @requested = requested
1036
- end
1037
- end
1038
-
1039
- class IdBankTransferPaymentsBca < Stripe::RequestParams
1040
- # 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.
1041
- attr_accessor :requested
1042
-
1043
- def initialize(requested: nil)
1044
- @requested = requested
1045
- end
1046
- end
1047
-
1048
934
  class IdealPayments < Stripe::RequestParams
1049
935
  # 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.
1050
936
  attr_accessor :requested
@@ -1135,15 +1021,6 @@ module Stripe
1135
1021
  end
1136
1022
  end
1137
1023
 
1138
- class MbWayPayments < Stripe::RequestParams
1139
- # 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.
1140
- attr_accessor :requested
1141
-
1142
- def initialize(requested: nil)
1143
- @requested = requested
1144
- end
1145
- end
1146
-
1147
1024
  class MobilepayPayments < Stripe::RequestParams
1148
1025
  # 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.
1149
1026
  attr_accessor :requested
@@ -1234,24 +1111,6 @@ module Stripe
1234
1111
  end
1235
1112
  end
1236
1113
 
1237
- class PaypalPayments < Stripe::RequestParams
1238
- # 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.
1239
- attr_accessor :requested
1240
-
1241
- def initialize(requested: nil)
1242
- @requested = requested
1243
- end
1244
- end
1245
-
1246
- class PaytoPayments < Stripe::RequestParams
1247
- # 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.
1248
- attr_accessor :requested
1249
-
1250
- def initialize(requested: nil)
1251
- @requested = requested
1252
- end
1253
- end
1254
-
1255
1114
  class PromptpayPayments < Stripe::RequestParams
1256
1115
  # 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.
1257
1116
  attr_accessor :requested
@@ -1261,24 +1120,6 @@ module Stripe
1261
1120
  end
1262
1121
  end
1263
1122
 
1264
- class QrisPayments < Stripe::RequestParams
1265
- # 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.
1266
- attr_accessor :requested
1267
-
1268
- def initialize(requested: nil)
1269
- @requested = requested
1270
- end
1271
- end
1272
-
1273
- class RechnungPayments < Stripe::RequestParams
1274
- # 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.
1275
- attr_accessor :requested
1276
-
1277
- def initialize(requested: nil)
1278
- @requested = requested
1279
- end
1280
- end
1281
-
1282
1123
  class RevolutPayPayments < Stripe::RequestParams
1283
1124
  # 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.
1284
1125
  attr_accessor :requested
@@ -1324,15 +1165,6 @@ module Stripe
1324
1165
  end
1325
1166
  end
1326
1167
 
1327
- class ShopeepayPayments < Stripe::RequestParams
1328
- # 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.
1329
- attr_accessor :requested
1330
-
1331
- def initialize(requested: nil)
1332
- @requested = requested
1333
- end
1334
- end
1335
-
1336
1168
  class SofortPayments < Stripe::RequestParams
1337
1169
  # 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.
1338
1170
  attr_accessor :requested
@@ -1342,15 +1174,6 @@ module Stripe
1342
1174
  end
1343
1175
  end
1344
1176
 
1345
- class StripeBalancePayments < Stripe::RequestParams
1346
- # 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.
1347
- attr_accessor :requested
1348
-
1349
- def initialize(requested: nil)
1350
- @requested = requested
1351
- end
1352
- end
1353
-
1354
1177
  class SwishPayments < Stripe::RequestParams
1355
1178
  # 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.
1356
1179
  attr_accessor :requested
@@ -1396,33 +1219,6 @@ module Stripe
1396
1219
  end
1397
1220
  end
1398
1221
 
1399
- class TreasuryEvolve < Stripe::RequestParams
1400
- # 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.
1401
- attr_accessor :requested
1402
-
1403
- def initialize(requested: nil)
1404
- @requested = requested
1405
- end
1406
- end
1407
-
1408
- class TreasuryFifthThird < Stripe::RequestParams
1409
- # 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.
1410
- attr_accessor :requested
1411
-
1412
- def initialize(requested: nil)
1413
- @requested = requested
1414
- end
1415
- end
1416
-
1417
- class TreasuryGoldmanSachs < Stripe::RequestParams
1418
- # 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.
1419
- attr_accessor :requested
1420
-
1421
- def initialize(requested: nil)
1422
- @requested = requested
1423
- end
1424
- end
1425
-
1426
1222
  class TwintPayments < Stripe::RequestParams
1427
1223
  # 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.
1428
1224
  attr_accessor :requested
@@ -1470,8 +1266,6 @@ module Stripe
1470
1266
  attr_accessor :amazon_pay_payments
1471
1267
  # The au_becs_debit_payments capability.
1472
1268
  attr_accessor :au_becs_debit_payments
1473
- # The automatic_indirect_tax capability.
1474
- attr_accessor :automatic_indirect_tax
1475
1269
  # The bacs_debit_payments capability.
1476
1270
  attr_accessor :bacs_debit_payments
1477
1271
  # The bancontact_payments capability.
@@ -1500,14 +1294,8 @@ module Stripe
1500
1294
  attr_accessor :gb_bank_transfer_payments
1501
1295
  # The giropay_payments capability.
1502
1296
  attr_accessor :giropay_payments
1503
- # The gopay_payments capability.
1504
- attr_accessor :gopay_payments
1505
1297
  # The grabpay_payments capability.
1506
1298
  attr_accessor :grabpay_payments
1507
- # The id_bank_transfer_payments capability.
1508
- attr_accessor :id_bank_transfer_payments
1509
- # The id_bank_transfer_payments_bca capability.
1510
- attr_accessor :id_bank_transfer_payments_bca
1511
1299
  # The ideal_payments capability.
1512
1300
  attr_accessor :ideal_payments
1513
1301
  # The india_international_payments capability.
@@ -1528,8 +1316,6 @@ module Stripe
1528
1316
  attr_accessor :legacy_payments
1529
1317
  # The link_payments capability.
1530
1318
  attr_accessor :link_payments
1531
- # The mb_way_payments capability.
1532
- attr_accessor :mb_way_payments
1533
1319
  # The mobilepay_payments capability.
1534
1320
  attr_accessor :mobilepay_payments
1535
1321
  # The multibanco_payments capability.
@@ -1550,16 +1336,8 @@ module Stripe
1550
1336
  attr_accessor :payco_payments
1551
1337
  # The paynow_payments capability.
1552
1338
  attr_accessor :paynow_payments
1553
- # The paypal_payments capability.
1554
- attr_accessor :paypal_payments
1555
- # The payto_payments capability.
1556
- attr_accessor :payto_payments
1557
1339
  # The promptpay_payments capability.
1558
1340
  attr_accessor :promptpay_payments
1559
- # The qris_payments capability.
1560
- attr_accessor :qris_payments
1561
- # The rechnung_payments capability.
1562
- attr_accessor :rechnung_payments
1563
1341
  # The revolut_pay_payments capability.
1564
1342
  attr_accessor :revolut_pay_payments
1565
1343
  # The samsung_pay_payments capability.
@@ -1570,12 +1348,8 @@ module Stripe
1570
1348
  attr_accessor :sepa_bank_transfer_payments
1571
1349
  # The sepa_debit_payments capability.
1572
1350
  attr_accessor :sepa_debit_payments
1573
- # The shopeepay_payments capability.
1574
- attr_accessor :shopeepay_payments
1575
1351
  # The sofort_payments capability.
1576
1352
  attr_accessor :sofort_payments
1577
- # The stripe_balance_payments capability.
1578
- attr_accessor :stripe_balance_payments
1579
1353
  # The swish_payments capability.
1580
1354
  attr_accessor :swish_payments
1581
1355
  # The tax_reporting_us_1099_k capability.
@@ -1586,12 +1360,6 @@ module Stripe
1586
1360
  attr_accessor :transfers
1587
1361
  # The treasury capability.
1588
1362
  attr_accessor :treasury
1589
- # The treasury_evolve capability.
1590
- attr_accessor :treasury_evolve
1591
- # The treasury_fifth_third capability.
1592
- attr_accessor :treasury_fifth_third
1593
- # The treasury_goldman_sachs capability.
1594
- attr_accessor :treasury_goldman_sachs
1595
1363
  # The twint_payments capability.
1596
1364
  attr_accessor :twint_payments
1597
1365
  # The us_bank_account_ach_payments capability.
@@ -1608,7 +1376,6 @@ module Stripe
1608
1376
  alma_payments: nil,
1609
1377
  amazon_pay_payments: nil,
1610
1378
  au_becs_debit_payments: nil,
1611
- automatic_indirect_tax: nil,
1612
1379
  bacs_debit_payments: nil,
1613
1380
  bancontact_payments: nil,
1614
1381
  bank_transfer_payments: nil,
@@ -1623,10 +1390,7 @@ module Stripe
1623
1390
  fpx_payments: nil,
1624
1391
  gb_bank_transfer_payments: nil,
1625
1392
  giropay_payments: nil,
1626
- gopay_payments: nil,
1627
1393
  grabpay_payments: nil,
1628
- id_bank_transfer_payments: nil,
1629
- id_bank_transfer_payments_bca: nil,
1630
1394
  ideal_payments: nil,
1631
1395
  india_international_payments: nil,
1632
1396
  jcb_payments: nil,
@@ -1637,7 +1401,6 @@ module Stripe
1637
1401
  kr_card_payments: nil,
1638
1402
  legacy_payments: nil,
1639
1403
  link_payments: nil,
1640
- mb_way_payments: nil,
1641
1404
  mobilepay_payments: nil,
1642
1405
  multibanco_payments: nil,
1643
1406
  mx_bank_transfer_payments: nil,
@@ -1648,27 +1411,18 @@ module Stripe
1648
1411
  pay_by_bank_payments: nil,
1649
1412
  payco_payments: nil,
1650
1413
  paynow_payments: nil,
1651
- paypal_payments: nil,
1652
- payto_payments: nil,
1653
1414
  promptpay_payments: nil,
1654
- qris_payments: nil,
1655
- rechnung_payments: nil,
1656
1415
  revolut_pay_payments: nil,
1657
1416
  samsung_pay_payments: nil,
1658
1417
  satispay_payments: nil,
1659
1418
  sepa_bank_transfer_payments: nil,
1660
1419
  sepa_debit_payments: nil,
1661
- shopeepay_payments: nil,
1662
1420
  sofort_payments: nil,
1663
- stripe_balance_payments: nil,
1664
1421
  swish_payments: nil,
1665
1422
  tax_reporting_us_1099_k: nil,
1666
1423
  tax_reporting_us_1099_misc: nil,
1667
1424
  transfers: nil,
1668
1425
  treasury: nil,
1669
- treasury_evolve: nil,
1670
- treasury_fifth_third: nil,
1671
- treasury_goldman_sachs: nil,
1672
1426
  twint_payments: nil,
1673
1427
  us_bank_account_ach_payments: nil,
1674
1428
  us_bank_transfer_payments: nil,
@@ -1680,7 +1434,6 @@ module Stripe
1680
1434
  @alma_payments = alma_payments
1681
1435
  @amazon_pay_payments = amazon_pay_payments
1682
1436
  @au_becs_debit_payments = au_becs_debit_payments
1683
- @automatic_indirect_tax = automatic_indirect_tax
1684
1437
  @bacs_debit_payments = bacs_debit_payments
1685
1438
  @bancontact_payments = bancontact_payments
1686
1439
  @bank_transfer_payments = bank_transfer_payments
@@ -1695,10 +1448,7 @@ module Stripe
1695
1448
  @fpx_payments = fpx_payments
1696
1449
  @gb_bank_transfer_payments = gb_bank_transfer_payments
1697
1450
  @giropay_payments = giropay_payments
1698
- @gopay_payments = gopay_payments
1699
1451
  @grabpay_payments = grabpay_payments
1700
- @id_bank_transfer_payments = id_bank_transfer_payments
1701
- @id_bank_transfer_payments_bca = id_bank_transfer_payments_bca
1702
1452
  @ideal_payments = ideal_payments
1703
1453
  @india_international_payments = india_international_payments
1704
1454
  @jcb_payments = jcb_payments
@@ -1709,7 +1459,6 @@ module Stripe
1709
1459
  @kr_card_payments = kr_card_payments
1710
1460
  @legacy_payments = legacy_payments
1711
1461
  @link_payments = link_payments
1712
- @mb_way_payments = mb_way_payments
1713
1462
  @mobilepay_payments = mobilepay_payments
1714
1463
  @multibanco_payments = multibanco_payments
1715
1464
  @mx_bank_transfer_payments = mx_bank_transfer_payments
@@ -1720,27 +1469,18 @@ module Stripe
1720
1469
  @pay_by_bank_payments = pay_by_bank_payments
1721
1470
  @payco_payments = payco_payments
1722
1471
  @paynow_payments = paynow_payments
1723
- @paypal_payments = paypal_payments
1724
- @payto_payments = payto_payments
1725
1472
  @promptpay_payments = promptpay_payments
1726
- @qris_payments = qris_payments
1727
- @rechnung_payments = rechnung_payments
1728
1473
  @revolut_pay_payments = revolut_pay_payments
1729
1474
  @samsung_pay_payments = samsung_pay_payments
1730
1475
  @satispay_payments = satispay_payments
1731
1476
  @sepa_bank_transfer_payments = sepa_bank_transfer_payments
1732
1477
  @sepa_debit_payments = sepa_debit_payments
1733
- @shopeepay_payments = shopeepay_payments
1734
1478
  @sofort_payments = sofort_payments
1735
- @stripe_balance_payments = stripe_balance_payments
1736
1479
  @swish_payments = swish_payments
1737
1480
  @tax_reporting_us_1099_k = tax_reporting_us_1099_k
1738
1481
  @tax_reporting_us_1099_misc = tax_reporting_us_1099_misc
1739
1482
  @transfers = transfers
1740
1483
  @treasury = treasury
1741
- @treasury_evolve = treasury_evolve
1742
- @treasury_fifth_third = treasury_fifth_third
1743
- @treasury_goldman_sachs = treasury_goldman_sachs
1744
1484
  @twint_payments = twint_payments
1745
1485
  @us_bank_account_ach_payments = us_bank_account_ach_payments
1746
1486
  @us_bank_transfer_payments = us_bank_transfer_payments
@@ -1962,6 +1702,21 @@ module Stripe
1962
1702
  end
1963
1703
  end
1964
1704
 
1705
+ class RegistrationDate < Stripe::RequestParams
1706
+ # The day of registration, between 1 and 31.
1707
+ attr_accessor :day
1708
+ # The month of registration, between 1 and 12.
1709
+ attr_accessor :month
1710
+ # The four-digit year of registration.
1711
+ attr_accessor :year
1712
+
1713
+ def initialize(day: nil, month: nil, year: nil)
1714
+ @day = day
1715
+ @month = month
1716
+ @year = year
1717
+ end
1718
+ end
1719
+
1965
1720
  class Verification < Stripe::RequestParams
1966
1721
  class Document < Stripe::RequestParams
1967
1722
  # The back of a document returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `additional_verification`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
@@ -2011,6 +1766,8 @@ module Stripe
2011
1766
  attr_accessor :ownership_exemption_reason
2012
1767
  # The company's phone number (used for verification).
2013
1768
  attr_accessor :phone
1769
+ # Attribute for param field registration_date
1770
+ attr_accessor :registration_date
2014
1771
  # The identification number given to a company when it is registered or incorporated, if distinct from the identification number used for filing taxes. (Examples are the CIN for companies and LLP IN for partnerships in India, and the Company Registration Number in Hong Kong).
2015
1772
  attr_accessor :registration_number
2016
1773
  # The category identifying the legal structure of the company or legal entity. See [Business structure](/connect/identity-verification#business-structure) for more details. Pass an empty string to unset this value.
@@ -2040,6 +1797,7 @@ module Stripe
2040
1797
  ownership_declaration: nil,
2041
1798
  ownership_exemption_reason: nil,
2042
1799
  phone: nil,
1800
+ registration_date: nil,
2043
1801
  registration_number: nil,
2044
1802
  structure: nil,
2045
1803
  tax_id: nil,
@@ -2062,6 +1820,7 @@ module Stripe
2062
1820
  @ownership_declaration = ownership_declaration
2063
1821
  @ownership_exemption_reason = ownership_exemption_reason
2064
1822
  @phone = phone
1823
+ @registration_date = registration_date
2065
1824
  @registration_number = registration_number
2066
1825
  @structure = structure
2067
1826
  @tax_id = tax_id
@@ -2497,37 +2256,6 @@ module Stripe
2497
2256
  end
2498
2257
  end
2499
2258
 
2500
- class RiskControls < Stripe::RequestParams
2501
- class Charges < Stripe::RequestParams
2502
- # To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
2503
- # There can be a delay before the risk control is paused or unpaused.
2504
- attr_accessor :pause_requested
2505
-
2506
- def initialize(pause_requested: nil)
2507
- @pause_requested = pause_requested
2508
- end
2509
- end
2510
-
2511
- class Payouts < Stripe::RequestParams
2512
- # To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
2513
- # There can be a delay before the risk control is paused or unpaused.
2514
- attr_accessor :pause_requested
2515
-
2516
- def initialize(pause_requested: nil)
2517
- @pause_requested = pause_requested
2518
- end
2519
- end
2520
- # 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).
2521
- attr_accessor :charges
2522
- # 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).
2523
- attr_accessor :payouts
2524
-
2525
- def initialize(charges: nil, payouts: nil)
2526
- @charges = charges
2527
- @payouts = payouts
2528
- end
2529
- end
2530
-
2531
2259
  class Settings < Stripe::RequestParams
2532
2260
  class BacsDebitPayments < Stripe::RequestParams
2533
2261
  # 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.
@@ -2538,18 +2266,6 @@ module Stripe
2538
2266
  end
2539
2267
  end
2540
2268
 
2541
- class BankBcaOnboarding < Stripe::RequestParams
2542
- # Bank BCA business account holder name
2543
- attr_accessor :account_holder_name
2544
- # Bank BCA business account number
2545
- attr_accessor :business_account_number
2546
-
2547
- def initialize(account_holder_name: nil, business_account_number: nil)
2548
- @account_holder_name = account_holder_name
2549
- @business_account_number = business_account_number
2550
- end
2551
- end
2552
-
2553
2269
  class Branding < Stripe::RequestParams
2554
2270
  # (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.
2555
2271
  attr_accessor :icon
@@ -2568,18 +2284,6 @@ module Stripe
2568
2284
  end
2569
2285
  end
2570
2286
 
2571
- class Capital < Stripe::RequestParams
2572
- # Per-currency mapping of user-selected destination accounts used to pay out loans.
2573
- attr_accessor :payout_destination
2574
- # Per-currency mapping of all destination accounts eligible to receive Capital financing payouts.
2575
- attr_accessor :payout_destination_selector
2576
-
2577
- def initialize(payout_destination: nil, payout_destination_selector: nil)
2578
- @payout_destination = payout_destination
2579
- @payout_destination_selector = payout_destination_selector
2580
- end
2581
- end
2582
-
2583
2287
  class CardIssuing < Stripe::RequestParams
2584
2288
  class TosAcceptance < Stripe::RequestParams
2585
2289
  # The Unix timestamp marking when the account representative accepted the service agreement.
@@ -2700,15 +2404,6 @@ module Stripe
2700
2404
  end
2701
2405
  end
2702
2406
 
2703
- class TaxForms < Stripe::RequestParams
2704
- # Whether the account opted out of receiving their tax forms by postal delivery.
2705
- attr_accessor :consented_to_paperless_delivery
2706
-
2707
- def initialize(consented_to_paperless_delivery: nil)
2708
- @consented_to_paperless_delivery = consented_to_paperless_delivery
2709
- end
2710
- end
2711
-
2712
2407
  class Treasury < Stripe::RequestParams
2713
2408
  class TosAcceptance < Stripe::RequestParams
2714
2409
  # The Unix timestamp marking when the account representative accepted the service agreement.
@@ -2733,12 +2428,8 @@ module Stripe
2733
2428
  end
2734
2429
  # Settings specific to Bacs Direct Debit payments.
2735
2430
  attr_accessor :bacs_debit_payments
2736
- # Settings specific to bank BCA onboarding for Indonesia bank transfers payments method.
2737
- attr_accessor :bank_bca_onboarding
2738
2431
  # Settings used to apply the account's branding to email receipts, invoices, Checkout, and other products.
2739
2432
  attr_accessor :branding
2740
- # Settings specific to the account's use of the Capital product.
2741
- attr_accessor :capital
2742
2433
  # Settings specific to the account's use of the Card Issuing product.
2743
2434
  attr_accessor :card_issuing
2744
2435
  # Settings specific to card charging on the account.
@@ -2749,34 +2440,26 @@ module Stripe
2749
2440
  attr_accessor :payments
2750
2441
  # Settings specific to the account's payouts.
2751
2442
  attr_accessor :payouts
2752
- # Settings specific to the account's tax forms.
2753
- attr_accessor :tax_forms
2754
2443
  # Settings specific to the account's Treasury FinancialAccounts.
2755
2444
  attr_accessor :treasury
2756
2445
 
2757
2446
  def initialize(
2758
2447
  bacs_debit_payments: nil,
2759
- bank_bca_onboarding: nil,
2760
2448
  branding: nil,
2761
- capital: nil,
2762
2449
  card_issuing: nil,
2763
2450
  card_payments: nil,
2764
2451
  invoices: nil,
2765
2452
  payments: nil,
2766
2453
  payouts: nil,
2767
- tax_forms: nil,
2768
2454
  treasury: nil
2769
2455
  )
2770
2456
  @bacs_debit_payments = bacs_debit_payments
2771
- @bank_bca_onboarding = bank_bca_onboarding
2772
2457
  @branding = branding
2773
- @capital = capital
2774
2458
  @card_issuing = card_issuing
2775
2459
  @card_payments = card_payments
2776
2460
  @invoices = invoices
2777
2461
  @payments = payments
2778
2462
  @payouts = payouts
2779
- @tax_forms = tax_forms
2780
2463
  @treasury = treasury
2781
2464
  end
2782
2465
  end
@@ -2831,8 +2514,6 @@ module Stripe
2831
2514
  attr_accessor :individual
2832
2515
  # 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`.
2833
2516
  attr_accessor :metadata
2834
- # A hash to configure risk controls on the account. Please see [this page for more details](/connect/pausing-payments-or-payouts-on-connected-accounts).
2835
- attr_accessor :risk_controls
2836
2517
  # Options for customizing how the account functions within Stripe.
2837
2518
  attr_accessor :settings
2838
2519
  # 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.
@@ -2852,7 +2533,6 @@ module Stripe
2852
2533
  groups: nil,
2853
2534
  individual: nil,
2854
2535
  metadata: nil,
2855
- risk_controls: nil,
2856
2536
  settings: nil,
2857
2537
  tos_acceptance: nil
2858
2538
  )
@@ -2869,7 +2549,6 @@ module Stripe
2869
2549
  @groups = groups
2870
2550
  @individual = individual
2871
2551
  @metadata = metadata
2872
- @risk_controls = risk_controls
2873
2552
  @settings = settings
2874
2553
  @tos_acceptance = tos_acceptance
2875
2554
  end
@@ -2927,7 +2606,7 @@ module Stripe
2927
2606
  attr_accessor :country
2928
2607
  # The currency the bank account is in. This must be a country/currency pairing that [Stripe supports.](docs/payouts)
2929
2608
  attr_accessor :currency
2930
- # The routing number, sort code, or other country-appropriateinstitution number for the bank account. For US bank accounts, this is required and should bethe ACH routing number, not the wire routing number. If you are providing an IBAN for`account_number`, this field is not required.
2609
+ # The routing number, sort code, or other country-appropriate institution number for the bank account. For US bank accounts, this is required and should be the ACH routing number, not the wire routing number. If you are providing an IBAN for `account_number`, this field is not required.
2931
2610
  attr_accessor :routing_number
2932
2611
 
2933
2612
  def initialize(
@@ -3116,15 +2795,6 @@ module Stripe
3116
2795
  end
3117
2796
  end
3118
2797
 
3119
- class AutomaticIndirectTax < Stripe::RequestParams
3120
- # 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.
3121
- attr_accessor :requested
3122
-
3123
- def initialize(requested: nil)
3124
- @requested = requested
3125
- end
3126
- end
3127
-
3128
2798
  class BacsDebitPayments < Stripe::RequestParams
3129
2799
  # 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.
3130
2800
  attr_accessor :requested
@@ -3251,15 +2921,6 @@ module Stripe
3251
2921
  end
3252
2922
  end
3253
2923
 
3254
- class GopayPayments < Stripe::RequestParams
3255
- # 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.
3256
- attr_accessor :requested
3257
-
3258
- def initialize(requested: nil)
3259
- @requested = requested
3260
- end
3261
- end
3262
-
3263
2924
  class GrabpayPayments < Stripe::RequestParams
3264
2925
  # 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.
3265
2926
  attr_accessor :requested
@@ -3269,24 +2930,6 @@ module Stripe
3269
2930
  end
3270
2931
  end
3271
2932
 
3272
- class IdBankTransferPayments < Stripe::RequestParams
3273
- # 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.
3274
- attr_accessor :requested
3275
-
3276
- def initialize(requested: nil)
3277
- @requested = requested
3278
- end
3279
- end
3280
-
3281
- class IdBankTransferPaymentsBca < Stripe::RequestParams
3282
- # 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.
3283
- attr_accessor :requested
3284
-
3285
- def initialize(requested: nil)
3286
- @requested = requested
3287
- end
3288
- end
3289
-
3290
2933
  class IdealPayments < Stripe::RequestParams
3291
2934
  # 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.
3292
2935
  attr_accessor :requested
@@ -3377,15 +3020,6 @@ module Stripe
3377
3020
  end
3378
3021
  end
3379
3022
 
3380
- class MbWayPayments < Stripe::RequestParams
3381
- # 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.
3382
- attr_accessor :requested
3383
-
3384
- def initialize(requested: nil)
3385
- @requested = requested
3386
- end
3387
- end
3388
-
3389
3023
  class MobilepayPayments < Stripe::RequestParams
3390
3024
  # 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.
3391
3025
  attr_accessor :requested
@@ -3476,24 +3110,6 @@ module Stripe
3476
3110
  end
3477
3111
  end
3478
3112
 
3479
- class PaypalPayments < Stripe::RequestParams
3480
- # 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.
3481
- attr_accessor :requested
3482
-
3483
- def initialize(requested: nil)
3484
- @requested = requested
3485
- end
3486
- end
3487
-
3488
- class PaytoPayments < Stripe::RequestParams
3489
- # 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.
3490
- attr_accessor :requested
3491
-
3492
- def initialize(requested: nil)
3493
- @requested = requested
3494
- end
3495
- end
3496
-
3497
3113
  class PromptpayPayments < Stripe::RequestParams
3498
3114
  # 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.
3499
3115
  attr_accessor :requested
@@ -3503,24 +3119,6 @@ module Stripe
3503
3119
  end
3504
3120
  end
3505
3121
 
3506
- class QrisPayments < Stripe::RequestParams
3507
- # 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.
3508
- attr_accessor :requested
3509
-
3510
- def initialize(requested: nil)
3511
- @requested = requested
3512
- end
3513
- end
3514
-
3515
- class RechnungPayments < Stripe::RequestParams
3516
- # 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.
3517
- attr_accessor :requested
3518
-
3519
- def initialize(requested: nil)
3520
- @requested = requested
3521
- end
3522
- end
3523
-
3524
3122
  class RevolutPayPayments < Stripe::RequestParams
3525
3123
  # 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.
3526
3124
  attr_accessor :requested
@@ -3566,15 +3164,6 @@ module Stripe
3566
3164
  end
3567
3165
  end
3568
3166
 
3569
- class ShopeepayPayments < Stripe::RequestParams
3570
- # 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.
3571
- attr_accessor :requested
3572
-
3573
- def initialize(requested: nil)
3574
- @requested = requested
3575
- end
3576
- end
3577
-
3578
3167
  class SofortPayments < Stripe::RequestParams
3579
3168
  # 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.
3580
3169
  attr_accessor :requested
@@ -3584,15 +3173,6 @@ module Stripe
3584
3173
  end
3585
3174
  end
3586
3175
 
3587
- class StripeBalancePayments < Stripe::RequestParams
3588
- # 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.
3589
- attr_accessor :requested
3590
-
3591
- def initialize(requested: nil)
3592
- @requested = requested
3593
- end
3594
- end
3595
-
3596
3176
  class SwishPayments < Stripe::RequestParams
3597
3177
  # 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.
3598
3178
  attr_accessor :requested
@@ -3638,33 +3218,6 @@ module Stripe
3638
3218
  end
3639
3219
  end
3640
3220
 
3641
- class TreasuryEvolve < Stripe::RequestParams
3642
- # 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.
3643
- attr_accessor :requested
3644
-
3645
- def initialize(requested: nil)
3646
- @requested = requested
3647
- end
3648
- end
3649
-
3650
- class TreasuryFifthThird < Stripe::RequestParams
3651
- # 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.
3652
- attr_accessor :requested
3653
-
3654
- def initialize(requested: nil)
3655
- @requested = requested
3656
- end
3657
- end
3658
-
3659
- class TreasuryGoldmanSachs < Stripe::RequestParams
3660
- # 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.
3661
- attr_accessor :requested
3662
-
3663
- def initialize(requested: nil)
3664
- @requested = requested
3665
- end
3666
- end
3667
-
3668
3221
  class TwintPayments < Stripe::RequestParams
3669
3222
  # 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.
3670
3223
  attr_accessor :requested
@@ -3712,8 +3265,6 @@ module Stripe
3712
3265
  attr_accessor :amazon_pay_payments
3713
3266
  # The au_becs_debit_payments capability.
3714
3267
  attr_accessor :au_becs_debit_payments
3715
- # The automatic_indirect_tax capability.
3716
- attr_accessor :automatic_indirect_tax
3717
3268
  # The bacs_debit_payments capability.
3718
3269
  attr_accessor :bacs_debit_payments
3719
3270
  # The bancontact_payments capability.
@@ -3742,14 +3293,8 @@ module Stripe
3742
3293
  attr_accessor :gb_bank_transfer_payments
3743
3294
  # The giropay_payments capability.
3744
3295
  attr_accessor :giropay_payments
3745
- # The gopay_payments capability.
3746
- attr_accessor :gopay_payments
3747
3296
  # The grabpay_payments capability.
3748
3297
  attr_accessor :grabpay_payments
3749
- # The id_bank_transfer_payments capability.
3750
- attr_accessor :id_bank_transfer_payments
3751
- # The id_bank_transfer_payments_bca capability.
3752
- attr_accessor :id_bank_transfer_payments_bca
3753
3298
  # The ideal_payments capability.
3754
3299
  attr_accessor :ideal_payments
3755
3300
  # The india_international_payments capability.
@@ -3770,8 +3315,6 @@ module Stripe
3770
3315
  attr_accessor :legacy_payments
3771
3316
  # The link_payments capability.
3772
3317
  attr_accessor :link_payments
3773
- # The mb_way_payments capability.
3774
- attr_accessor :mb_way_payments
3775
3318
  # The mobilepay_payments capability.
3776
3319
  attr_accessor :mobilepay_payments
3777
3320
  # The multibanco_payments capability.
@@ -3792,16 +3335,8 @@ module Stripe
3792
3335
  attr_accessor :payco_payments
3793
3336
  # The paynow_payments capability.
3794
3337
  attr_accessor :paynow_payments
3795
- # The paypal_payments capability.
3796
- attr_accessor :paypal_payments
3797
- # The payto_payments capability.
3798
- attr_accessor :payto_payments
3799
3338
  # The promptpay_payments capability.
3800
3339
  attr_accessor :promptpay_payments
3801
- # The qris_payments capability.
3802
- attr_accessor :qris_payments
3803
- # The rechnung_payments capability.
3804
- attr_accessor :rechnung_payments
3805
3340
  # The revolut_pay_payments capability.
3806
3341
  attr_accessor :revolut_pay_payments
3807
3342
  # The samsung_pay_payments capability.
@@ -3812,12 +3347,8 @@ module Stripe
3812
3347
  attr_accessor :sepa_bank_transfer_payments
3813
3348
  # The sepa_debit_payments capability.
3814
3349
  attr_accessor :sepa_debit_payments
3815
- # The shopeepay_payments capability.
3816
- attr_accessor :shopeepay_payments
3817
3350
  # The sofort_payments capability.
3818
3351
  attr_accessor :sofort_payments
3819
- # The stripe_balance_payments capability.
3820
- attr_accessor :stripe_balance_payments
3821
3352
  # The swish_payments capability.
3822
3353
  attr_accessor :swish_payments
3823
3354
  # The tax_reporting_us_1099_k capability.
@@ -3828,12 +3359,6 @@ module Stripe
3828
3359
  attr_accessor :transfers
3829
3360
  # The treasury capability.
3830
3361
  attr_accessor :treasury
3831
- # The treasury_evolve capability.
3832
- attr_accessor :treasury_evolve
3833
- # The treasury_fifth_third capability.
3834
- attr_accessor :treasury_fifth_third
3835
- # The treasury_goldman_sachs capability.
3836
- attr_accessor :treasury_goldman_sachs
3837
3362
  # The twint_payments capability.
3838
3363
  attr_accessor :twint_payments
3839
3364
  # The us_bank_account_ach_payments capability.
@@ -3850,7 +3375,6 @@ module Stripe
3850
3375
  alma_payments: nil,
3851
3376
  amazon_pay_payments: nil,
3852
3377
  au_becs_debit_payments: nil,
3853
- automatic_indirect_tax: nil,
3854
3378
  bacs_debit_payments: nil,
3855
3379
  bancontact_payments: nil,
3856
3380
  bank_transfer_payments: nil,
@@ -3865,10 +3389,7 @@ module Stripe
3865
3389
  fpx_payments: nil,
3866
3390
  gb_bank_transfer_payments: nil,
3867
3391
  giropay_payments: nil,
3868
- gopay_payments: nil,
3869
3392
  grabpay_payments: nil,
3870
- id_bank_transfer_payments: nil,
3871
- id_bank_transfer_payments_bca: nil,
3872
3393
  ideal_payments: nil,
3873
3394
  india_international_payments: nil,
3874
3395
  jcb_payments: nil,
@@ -3879,7 +3400,6 @@ module Stripe
3879
3400
  kr_card_payments: nil,
3880
3401
  legacy_payments: nil,
3881
3402
  link_payments: nil,
3882
- mb_way_payments: nil,
3883
3403
  mobilepay_payments: nil,
3884
3404
  multibanco_payments: nil,
3885
3405
  mx_bank_transfer_payments: nil,
@@ -3890,27 +3410,18 @@ module Stripe
3890
3410
  pay_by_bank_payments: nil,
3891
3411
  payco_payments: nil,
3892
3412
  paynow_payments: nil,
3893
- paypal_payments: nil,
3894
- payto_payments: nil,
3895
3413
  promptpay_payments: nil,
3896
- qris_payments: nil,
3897
- rechnung_payments: nil,
3898
3414
  revolut_pay_payments: nil,
3899
3415
  samsung_pay_payments: nil,
3900
3416
  satispay_payments: nil,
3901
3417
  sepa_bank_transfer_payments: nil,
3902
3418
  sepa_debit_payments: nil,
3903
- shopeepay_payments: nil,
3904
3419
  sofort_payments: nil,
3905
- stripe_balance_payments: nil,
3906
3420
  swish_payments: nil,
3907
3421
  tax_reporting_us_1099_k: nil,
3908
3422
  tax_reporting_us_1099_misc: nil,
3909
3423
  transfers: nil,
3910
3424
  treasury: nil,
3911
- treasury_evolve: nil,
3912
- treasury_fifth_third: nil,
3913
- treasury_goldman_sachs: nil,
3914
3425
  twint_payments: nil,
3915
3426
  us_bank_account_ach_payments: nil,
3916
3427
  us_bank_transfer_payments: nil,
@@ -3922,7 +3433,6 @@ module Stripe
3922
3433
  @alma_payments = alma_payments
3923
3434
  @amazon_pay_payments = amazon_pay_payments
3924
3435
  @au_becs_debit_payments = au_becs_debit_payments
3925
- @automatic_indirect_tax = automatic_indirect_tax
3926
3436
  @bacs_debit_payments = bacs_debit_payments
3927
3437
  @bancontact_payments = bancontact_payments
3928
3438
  @bank_transfer_payments = bank_transfer_payments
@@ -3937,10 +3447,7 @@ module Stripe
3937
3447
  @fpx_payments = fpx_payments
3938
3448
  @gb_bank_transfer_payments = gb_bank_transfer_payments
3939
3449
  @giropay_payments = giropay_payments
3940
- @gopay_payments = gopay_payments
3941
3450
  @grabpay_payments = grabpay_payments
3942
- @id_bank_transfer_payments = id_bank_transfer_payments
3943
- @id_bank_transfer_payments_bca = id_bank_transfer_payments_bca
3944
3451
  @ideal_payments = ideal_payments
3945
3452
  @india_international_payments = india_international_payments
3946
3453
  @jcb_payments = jcb_payments
@@ -3951,7 +3458,6 @@ module Stripe
3951
3458
  @kr_card_payments = kr_card_payments
3952
3459
  @legacy_payments = legacy_payments
3953
3460
  @link_payments = link_payments
3954
- @mb_way_payments = mb_way_payments
3955
3461
  @mobilepay_payments = mobilepay_payments
3956
3462
  @multibanco_payments = multibanco_payments
3957
3463
  @mx_bank_transfer_payments = mx_bank_transfer_payments
@@ -3962,27 +3468,18 @@ module Stripe
3962
3468
  @pay_by_bank_payments = pay_by_bank_payments
3963
3469
  @payco_payments = payco_payments
3964
3470
  @paynow_payments = paynow_payments
3965
- @paypal_payments = paypal_payments
3966
- @payto_payments = payto_payments
3967
3471
  @promptpay_payments = promptpay_payments
3968
- @qris_payments = qris_payments
3969
- @rechnung_payments = rechnung_payments
3970
3472
  @revolut_pay_payments = revolut_pay_payments
3971
3473
  @samsung_pay_payments = samsung_pay_payments
3972
3474
  @satispay_payments = satispay_payments
3973
3475
  @sepa_bank_transfer_payments = sepa_bank_transfer_payments
3974
3476
  @sepa_debit_payments = sepa_debit_payments
3975
- @shopeepay_payments = shopeepay_payments
3976
3477
  @sofort_payments = sofort_payments
3977
- @stripe_balance_payments = stripe_balance_payments
3978
3478
  @swish_payments = swish_payments
3979
3479
  @tax_reporting_us_1099_k = tax_reporting_us_1099_k
3980
3480
  @tax_reporting_us_1099_misc = tax_reporting_us_1099_misc
3981
3481
  @transfers = transfers
3982
3482
  @treasury = treasury
3983
- @treasury_evolve = treasury_evolve
3984
- @treasury_fifth_third = treasury_fifth_third
3985
- @treasury_goldman_sachs = treasury_goldman_sachs
3986
3483
  @twint_payments = twint_payments
3987
3484
  @us_bank_account_ach_payments = us_bank_account_ach_payments
3988
3485
  @us_bank_transfer_payments = us_bank_transfer_payments
@@ -4204,6 +3701,21 @@ module Stripe
4204
3701
  end
4205
3702
  end
4206
3703
 
3704
+ class RegistrationDate < Stripe::RequestParams
3705
+ # The day of registration, between 1 and 31.
3706
+ attr_accessor :day
3707
+ # The month of registration, between 1 and 12.
3708
+ attr_accessor :month
3709
+ # The four-digit year of registration.
3710
+ attr_accessor :year
3711
+
3712
+ def initialize(day: nil, month: nil, year: nil)
3713
+ @day = day
3714
+ @month = month
3715
+ @year = year
3716
+ end
3717
+ end
3718
+
4207
3719
  class Verification < Stripe::RequestParams
4208
3720
  class Document < Stripe::RequestParams
4209
3721
  # The back of a document returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `additional_verification`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
@@ -4253,6 +3765,8 @@ module Stripe
4253
3765
  attr_accessor :ownership_exemption_reason
4254
3766
  # The company's phone number (used for verification).
4255
3767
  attr_accessor :phone
3768
+ # Attribute for param field registration_date
3769
+ attr_accessor :registration_date
4256
3770
  # The identification number given to a company when it is registered or incorporated, if distinct from the identification number used for filing taxes. (Examples are the CIN for companies and LLP IN for partnerships in India, and the Company Registration Number in Hong Kong).
4257
3771
  attr_accessor :registration_number
4258
3772
  # The category identifying the legal structure of the company or legal entity. See [Business structure](/connect/identity-verification#business-structure) for more details. Pass an empty string to unset this value.
@@ -4282,6 +3796,7 @@ module Stripe
4282
3796
  ownership_declaration: nil,
4283
3797
  ownership_exemption_reason: nil,
4284
3798
  phone: nil,
3799
+ registration_date: nil,
4285
3800
  registration_number: nil,
4286
3801
  structure: nil,
4287
3802
  tax_id: nil,
@@ -4304,6 +3819,7 @@ module Stripe
4304
3819
  @ownership_declaration = ownership_declaration
4305
3820
  @ownership_exemption_reason = ownership_exemption_reason
4306
3821
  @phone = phone
3822
+ @registration_date = registration_date
4307
3823
  @registration_number = registration_number
4308
3824
  @structure = structure
4309
3825
  @tax_id = tax_id
@@ -4314,30 +3830,6 @@ module Stripe
4314
3830
  end
4315
3831
 
4316
3832
  class Controller < Stripe::RequestParams
4317
- class Application < Stripe::RequestParams
4318
- # Whether the controller is liable for losses on this account. For details, see [Understanding Connect Account Balances](https://stripe.com/docs/connect/account-balances).
4319
- attr_accessor :loss_liable
4320
- # Whether the controller owns onboarding for this account.
4321
- attr_accessor :onboarding_owner
4322
- # Whether the controller has pricing controls for this account.
4323
- attr_accessor :pricing_controls
4324
-
4325
- def initialize(loss_liable: nil, onboarding_owner: nil, pricing_controls: nil)
4326
- @loss_liable = loss_liable
4327
- @onboarding_owner = onboarding_owner
4328
- @pricing_controls = pricing_controls
4329
- end
4330
- end
4331
-
4332
- class Dashboard < Stripe::RequestParams
4333
- # 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`.
4334
- attr_accessor :type
4335
-
4336
- def initialize(type: nil)
4337
- @type = type
4338
- end
4339
- end
4340
-
4341
3833
  class Fees < Stripe::RequestParams
4342
3834
  # 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).
4343
3835
  attr_accessor :payer
@@ -4364,10 +3856,6 @@ module Stripe
4364
3856
  @type = type
4365
3857
  end
4366
3858
  end
4367
- # A hash of configuration describing the Connect application that controls the account.
4368
- attr_accessor :application
4369
- # Properties of the account's dashboard.
4370
- attr_accessor :dashboard
4371
3859
  # A hash of configuration for who pays Stripe fees for product usage on this account.
4372
3860
  attr_accessor :fees
4373
3861
  # A hash of configuration for products that have negative balance liability, and whether Stripe or a Connect application is responsible for them.
@@ -4377,16 +3865,7 @@ module Stripe
4377
3865
  # A hash of configuration for Stripe-hosted dashboards.
4378
3866
  attr_accessor :stripe_dashboard
4379
3867
 
4380
- def initialize(
4381
- application: nil,
4382
- dashboard: nil,
4383
- fees: nil,
4384
- losses: nil,
4385
- requirement_collection: nil,
4386
- stripe_dashboard: nil
4387
- )
4388
- @application = application
4389
- @dashboard = dashboard
3868
+ def initialize(fees: nil, losses: nil, requirement_collection: nil, stripe_dashboard: nil)
4390
3869
  @fees = fees
4391
3870
  @losses = losses
4392
3871
  @requirement_collection = requirement_collection
@@ -4820,37 +4299,6 @@ module Stripe
4820
4299
  end
4821
4300
  end
4822
4301
 
4823
- class RiskControls < Stripe::RequestParams
4824
- class Charges < Stripe::RequestParams
4825
- # To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
4826
- # There can be a delay before the risk control is paused or unpaused.
4827
- attr_accessor :pause_requested
4828
-
4829
- def initialize(pause_requested: nil)
4830
- @pause_requested = pause_requested
4831
- end
4832
- end
4833
-
4834
- class Payouts < Stripe::RequestParams
4835
- # To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
4836
- # There can be a delay before the risk control is paused or unpaused.
4837
- attr_accessor :pause_requested
4838
-
4839
- def initialize(pause_requested: nil)
4840
- @pause_requested = pause_requested
4841
- end
4842
- end
4843
- # 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).
4844
- attr_accessor :charges
4845
- # 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).
4846
- attr_accessor :payouts
4847
-
4848
- def initialize(charges: nil, payouts: nil)
4849
- @charges = charges
4850
- @payouts = payouts
4851
- end
4852
- end
4853
-
4854
4302
  class Settings < Stripe::RequestParams
4855
4303
  class BacsDebitPayments < Stripe::RequestParams
4856
4304
  # 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.
@@ -4861,18 +4309,6 @@ module Stripe
4861
4309
  end
4862
4310
  end
4863
4311
 
4864
- class BankBcaOnboarding < Stripe::RequestParams
4865
- # Bank BCA business account holder name
4866
- attr_accessor :account_holder_name
4867
- # Bank BCA business account number
4868
- attr_accessor :business_account_number
4869
-
4870
- def initialize(account_holder_name: nil, business_account_number: nil)
4871
- @account_holder_name = account_holder_name
4872
- @business_account_number = business_account_number
4873
- end
4874
- end
4875
-
4876
4312
  class Branding < Stripe::RequestParams
4877
4313
  # (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.
4878
4314
  attr_accessor :icon
@@ -4891,18 +4327,6 @@ module Stripe
4891
4327
  end
4892
4328
  end
4893
4329
 
4894
- class Capital < Stripe::RequestParams
4895
- # Per-currency mapping of user-selected destination accounts used to pay out loans.
4896
- attr_accessor :payout_destination
4897
- # Per-currency mapping of all destination accounts eligible to receive Capital financing payouts.
4898
- attr_accessor :payout_destination_selector
4899
-
4900
- def initialize(payout_destination: nil, payout_destination_selector: nil)
4901
- @payout_destination = payout_destination
4902
- @payout_destination_selector = payout_destination_selector
4903
- end
4904
- end
4905
-
4906
4330
  class CardIssuing < Stripe::RequestParams
4907
4331
  class TosAcceptance < Stripe::RequestParams
4908
4332
  # The Unix timestamp marking when the account representative accepted the service agreement.
@@ -5020,15 +4444,6 @@ module Stripe
5020
4444
  end
5021
4445
  end
5022
4446
 
5023
- class TaxForms < Stripe::RequestParams
5024
- # Whether the account opted out of receiving their tax forms by postal delivery.
5025
- attr_accessor :consented_to_paperless_delivery
5026
-
5027
- def initialize(consented_to_paperless_delivery: nil)
5028
- @consented_to_paperless_delivery = consented_to_paperless_delivery
5029
- end
5030
- end
5031
-
5032
4447
  class Treasury < Stripe::RequestParams
5033
4448
  class TosAcceptance < Stripe::RequestParams
5034
4449
  # The Unix timestamp marking when the account representative accepted the service agreement.
@@ -5053,12 +4468,8 @@ module Stripe
5053
4468
  end
5054
4469
  # Settings specific to Bacs Direct Debit.
5055
4470
  attr_accessor :bacs_debit_payments
5056
- # Settings specific to bank BCA onboarding for Indonesia bank transfers payments method.
5057
- attr_accessor :bank_bca_onboarding
5058
4471
  # Settings used to apply the account's branding to email receipts, invoices, Checkout, and other products.
5059
4472
  attr_accessor :branding
5060
- # Settings specific to the account's use of the Capital product.
5061
- attr_accessor :capital
5062
4473
  # Settings specific to the account's use of the Card Issuing product.
5063
4474
  attr_accessor :card_issuing
5064
4475
  # Settings specific to card charging on the account.
@@ -5069,34 +4480,26 @@ module Stripe
5069
4480
  attr_accessor :payments
5070
4481
  # Settings specific to the account's payouts.
5071
4482
  attr_accessor :payouts
5072
- # Settings specific to the account's tax forms.
5073
- attr_accessor :tax_forms
5074
4483
  # Settings specific to the account's Treasury FinancialAccounts.
5075
4484
  attr_accessor :treasury
5076
4485
 
5077
4486
  def initialize(
5078
4487
  bacs_debit_payments: nil,
5079
- bank_bca_onboarding: nil,
5080
4488
  branding: nil,
5081
- capital: nil,
5082
4489
  card_issuing: nil,
5083
4490
  card_payments: nil,
5084
4491
  invoices: nil,
5085
4492
  payments: nil,
5086
4493
  payouts: nil,
5087
- tax_forms: nil,
5088
4494
  treasury: nil
5089
4495
  )
5090
4496
  @bacs_debit_payments = bacs_debit_payments
5091
- @bank_bca_onboarding = bank_bca_onboarding
5092
4497
  @branding = branding
5093
- @capital = capital
5094
4498
  @card_issuing = card_issuing
5095
4499
  @card_payments = card_payments
5096
4500
  @invoices = invoices
5097
4501
  @payments = payments
5098
4502
  @payouts = payouts
5099
- @tax_forms = tax_forms
5100
4503
  @treasury = treasury
5101
4504
  end
5102
4505
  end
@@ -5155,8 +4558,6 @@ module Stripe
5155
4558
  attr_accessor :individual
5156
4559
  # 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`.
5157
4560
  attr_accessor :metadata
5158
- # A hash to configure risk controls on the account. Please see [this page for more details](/connect/pausing-payments-or-payouts-on-connected-accounts).
5159
- attr_accessor :risk_controls
5160
4561
  # Options for customizing how the account functions within Stripe.
5161
4562
  attr_accessor :settings
5162
4563
  # 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.
@@ -5180,7 +4581,6 @@ module Stripe
5180
4581
  groups: nil,
5181
4582
  individual: nil,
5182
4583
  metadata: nil,
5183
- risk_controls: nil,
5184
4584
  settings: nil,
5185
4585
  tos_acceptance: nil,
5186
4586
  type: nil
@@ -5200,7 +4600,6 @@ module Stripe
5200
4600
  @groups = groups
5201
4601
  @individual = individual
5202
4602
  @metadata = metadata
5203
- @risk_controls = risk_controls
5204
4603
  @settings = settings
5205
4604
  @tos_acceptance = tos_acceptance
5206
4605
  @type = type
@@ -5319,8 +4718,6 @@ module Stripe
5319
4718
  attr_reader :payouts_enabled
5320
4719
  # Attribute for field requirements
5321
4720
  attr_reader :requirements
5322
- # Attribute for field risk_controls
5323
- attr_reader :risk_controls
5324
4721
  # Options for customizing how the account functions within Stripe.
5325
4722
  attr_reader :settings
5326
4723
  # Attribute for field tos_acceptance
@@ -5466,7 +4863,7 @@ module Stripe
5466
4863
  opts = id
5467
4864
  id = nil
5468
4865
  end
5469
- super(id, opts)
4866
+ super
5470
4867
  end
5471
4868
 
5472
4869
  # We are not adding a helper for capabilities here as the Account object
@@ -5506,7 +4903,7 @@ module Stripe
5506
4903
  entity_update[:additional_owners] =
5507
4904
  serialize_additional_owners(entity, owners)
5508
4905
  end
5509
- if (individual = @values[:individual]) && (individual.is_a?(Person) && !update_hash.key?(:individual))
4906
+ if (individual = @values[:individual]) && individual.is_a?(Person) && !update_hash.key?(:individual)
5510
4907
  update_hash[:individual] = individual.serialize_params(options)
5511
4908
  end
5512
4909
  update_hash