stripe 14.1.0.pre.beta.1 → 15.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (574) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +689 -1512
  3. data/OPENAPI_VERSION +1 -1
  4. data/README.md +3 -3
  5. data/VERSION +1 -1
  6. data/lib/stripe/api_operations/save.rb +2 -1
  7. data/lib/stripe/api_operations/singleton_save.rb +2 -1
  8. data/lib/stripe/api_requestor.rb +3 -29
  9. data/lib/stripe/api_resource.rb +10 -3
  10. data/lib/stripe/api_version.rb +1 -1
  11. data/lib/stripe/errors.rb +0 -54
  12. data/lib/stripe/event_types.rb +0 -75
  13. data/lib/stripe/object_types.rb +0 -48
  14. data/lib/stripe/request_options.rb +2 -1
  15. data/lib/stripe/resources/account.rb +1 -653
  16. data/lib/stripe/resources/account_session.rb +1 -247
  17. data/lib/stripe/resources/billing/credit_balance_summary.rb +0 -2
  18. data/lib/stripe/resources/billing/credit_balance_transaction.rb +0 -4
  19. data/lib/stripe/resources/billing/credit_grant.rb +0 -10
  20. data/lib/stripe/resources/billing_portal/session.rb +0 -6
  21. data/lib/stripe/resources/card.rb +0 -2
  22. data/lib/stripe/resources/cash_balance.rb +0 -2
  23. data/lib/stripe/resources/charge.rb +0 -1454
  24. data/lib/stripe/resources/checkout/session.rb +4 -260
  25. data/lib/stripe/resources/confirmation_token.rb +0 -234
  26. data/lib/stripe/resources/coupon.rb +1 -1
  27. data/lib/stripe/resources/credit_note.rb +0 -10
  28. data/lib/stripe/resources/credit_note_line_item.rb +0 -9
  29. data/lib/stripe/resources/customer.rb +0 -2
  30. data/lib/stripe/resources/customer_balance_transaction.rb +0 -2
  31. data/lib/stripe/resources/customer_cash_balance_transaction.rb +0 -2
  32. data/lib/stripe/resources/customer_session.rb +1 -6
  33. data/lib/stripe/resources/discount.rb +0 -2
  34. data/lib/stripe/resources/event.rb +0 -33
  35. data/lib/stripe/resources/financial_connections/account.rb +1 -20
  36. data/lib/stripe/resources/financial_connections/session.rb +2 -62
  37. data/lib/stripe/resources/identity/verification_session.rb +0 -10
  38. data/lib/stripe/resources/invoice.rb +16 -1176
  39. data/lib/stripe/resources/invoice_item.rb +2 -78
  40. data/lib/stripe/resources/invoice_line_item.rb +1 -55
  41. data/lib/stripe/resources/invoice_payment.rb +53 -2
  42. data/lib/stripe/resources/issuing/cardholder.rb +1 -2
  43. data/lib/stripe/resources/issuing/transaction.rb +0 -6
  44. data/lib/stripe/resources/line_item.rb +0 -37
  45. data/lib/stripe/resources/mandate.rb +0 -24
  46. data/lib/stripe/resources/payment_intent.rb +307 -5109
  47. data/lib/stripe/resources/payment_method.rb +1 -196
  48. data/lib/stripe/resources/payment_method_configuration.rb +0 -295
  49. data/lib/stripe/resources/payout.rb +0 -6
  50. data/lib/stripe/resources/price.rb +0 -30
  51. data/lib/stripe/resources/product.rb +0 -59
  52. data/lib/stripe/resources/promotion_code.rb +0 -10
  53. data/lib/stripe/resources/quote.rb +6 -2042
  54. data/lib/stripe/resources/refund.rb +0 -9
  55. data/lib/stripe/resources/setup_attempt.rb +0 -21
  56. data/lib/stripe/resources/setup_intent.rb +9 -596
  57. data/lib/stripe/resources/source.rb +1 -30
  58. data/lib/stripe/resources/subscription.rb +9 -292
  59. data/lib/stripe/resources/subscription_item.rb +3 -84
  60. data/lib/stripe/resources/subscription_schedule.rb +10 -1007
  61. data/lib/stripe/resources/tax_id.rb +2 -12
  62. data/lib/stripe/resources/terminal/reader.rb +0 -406
  63. data/lib/stripe/resources/treasury/financial_account.rb +3 -22
  64. data/lib/stripe/resources/treasury/financial_account_features.rb +0 -2
  65. data/lib/stripe/resources/treasury/outbound_transfer.rb +0 -37
  66. data/lib/stripe/resources/treasury/received_credit.rb +1 -38
  67. data/lib/stripe/resources/treasury/received_debit.rb +1 -40
  68. data/lib/stripe/resources.rb +0 -85
  69. data/lib/stripe/services/account_service.rb +1 -562
  70. data/lib/stripe/services/account_session_service.rb +1 -217
  71. data/lib/stripe/services/billing/credit_balance_summary_service.rb +1 -4
  72. data/lib/stripe/services/billing/credit_balance_transaction_service.rb +0 -4
  73. data/lib/stripe/services/billing/credit_grant_service.rb +0 -8
  74. data/lib/stripe/services/billing_portal/session_service.rb +0 -4
  75. data/lib/stripe/services/charge_service.rb +0 -1334
  76. data/lib/stripe/services/checkout/session_service.rb +2 -172
  77. data/lib/stripe/services/credit_note_service.rb +0 -4
  78. data/lib/stripe/services/customer_session_service.rb +1 -4
  79. data/lib/stripe/services/financial_connections/account_service.rb +2 -7
  80. data/lib/stripe/services/financial_connections/session_service.rb +2 -34
  81. data/lib/stripe/services/financial_connections_service.rb +1 -2
  82. data/lib/stripe/services/identity/verification_session_service.rb +0 -8
  83. data/lib/stripe/services/invoice_item_service.rb +2 -74
  84. data/lib/stripe/services/invoice_line_item_service.rb +1 -33
  85. data/lib/stripe/services/invoice_payment_service.rb +33 -5
  86. data/lib/stripe/services/invoice_service.rb +17 -1088
  87. data/lib/stripe/services/issuing/cardholder_service.rb +1 -2
  88. data/lib/stripe/services/issuing/transaction_service.rb +0 -4
  89. data/lib/stripe/services/issuing_service.rb +1 -5
  90. data/lib/stripe/services/payment_intent_service.rb +264 -4637
  91. data/lib/stripe/services/payment_method_configuration_service.rb +0 -210
  92. data/lib/stripe/services/payment_method_service.rb +1 -126
  93. data/lib/stripe/services/payout_service.rb +0 -4
  94. data/lib/stripe/services/price_service.rb +0 -19
  95. data/lib/stripe/services/product_service.rb +0 -38
  96. data/lib/stripe/services/promotion_code_service.rb +0 -8
  97. data/lib/stripe/services/quote_service.rb +7 -1726
  98. data/lib/stripe/services/setup_intent_service.rb +9 -556
  99. data/lib/stripe/services/subscription_item_service.rb +3 -75
  100. data/lib/stripe/services/subscription_schedule_service.rb +10 -911
  101. data/lib/stripe/services/subscription_service.rb +9 -253
  102. data/lib/stripe/services/tax_id_service.rb +2 -8
  103. data/lib/stripe/services/tax_service.rb +1 -3
  104. data/lib/stripe/services/terminal/reader_service.rb +0 -180
  105. data/lib/stripe/services/terminal_service.rb +1 -2
  106. data/lib/stripe/services/test_helpers/confirmation_token_service.rb +0 -148
  107. data/lib/stripe/services/test_helpers/terminal/reader_service.rb +0 -43
  108. data/lib/stripe/services/test_helpers/treasury/received_credit_service.rb +1 -25
  109. data/lib/stripe/services/test_helpers/treasury/received_debit_service.rb +1 -25
  110. data/lib/stripe/services/treasury/financial_account_features_service.rb +1 -4
  111. data/lib/stripe/services/treasury/financial_account_service.rb +2 -16
  112. data/lib/stripe/services/treasury/outbound_transfer_service.rb +0 -24
  113. data/lib/stripe/services/v1_services.rb +2 -10
  114. data/lib/stripe/services/v2/core/event_service.rb +5 -3
  115. data/lib/stripe/services/v2/core_service.rb +1 -4
  116. data/lib/stripe/services/v2_services.rb +2 -4
  117. data/lib/stripe/services.rb +0 -49
  118. data/lib/stripe/stripe_configuration.rb +1 -3
  119. data/lib/stripe/stripe_object.rb +14 -4
  120. data/lib/stripe/util.rb +12 -7
  121. data/lib/stripe/version.rb +1 -1
  122. data/lib/stripe.rb +0 -55
  123. data/rbi/stripe/resources/account.rbi +4840 -0
  124. data/rbi/stripe/resources/account_link.rbi +74 -0
  125. data/rbi/stripe/resources/account_session.rbi +894 -0
  126. data/rbi/stripe/resources/apple_pay_domain.rbi +90 -0
  127. data/rbi/stripe/resources/application.rbi +20 -0
  128. data/rbi/stripe/resources/application_fee.rbi +118 -0
  129. data/rbi/stripe/resources/application_fee_refund.rbi +37 -0
  130. data/rbi/stripe/resources/apps/secret.rbi +195 -0
  131. data/rbi/stripe/resources/balance.rbi +180 -0
  132. data/rbi/stripe/resources/balance_transaction.rbi +144 -0
  133. data/rbi/stripe/resources/bank_account.rbi +127 -0
  134. data/rbi/stripe/resources/billing/alert.rbi +201 -0
  135. data/rbi/stripe/resources/billing/alert_triggered.rbi +28 -0
  136. data/rbi/stripe/resources/billing/credit_balance_summary.rbi +63 -0
  137. data/rbi/stripe/resources/billing/credit_balance_transaction.rbi +147 -0
  138. data/rbi/stripe/resources/billing/credit_grant.rbi +291 -0
  139. data/rbi/stripe/resources/billing/meter.rbi +226 -0
  140. data/rbi/stripe/resources/billing/meter_event.rbi +64 -0
  141. data/rbi/stripe/resources/billing/meter_event_adjustment.rbi +64 -0
  142. data/rbi/stripe/resources/billing/meter_event_summary.rbi +35 -0
  143. data/rbi/stripe/resources/billing_portal/configuration.rbi +645 -0
  144. data/rbi/stripe/resources/billing_portal/session.rbi +345 -0
  145. data/rbi/stripe/resources/capability.rbi +125 -0
  146. data/rbi/stripe/resources/card.rbi +125 -0
  147. data/rbi/stripe/resources/cash_balance.rbi +32 -0
  148. data/rbi/stripe/resources/charge.rbi +2054 -0
  149. data/rbi/stripe/resources/checkout/session.rbi +3951 -0
  150. data/rbi/stripe/resources/climate/order.rbi +245 -0
  151. data/rbi/stripe/resources/climate/product.rbi +75 -0
  152. data/rbi/stripe/resources/climate/supplier.rbi +72 -0
  153. data/rbi/stripe/resources/confirmation_token.rbi +1793 -0
  154. data/rbi/stripe/resources/connect_collection_transfer.rbi +26 -0
  155. data/rbi/stripe/resources/country_spec.rbi +85 -0
  156. data/rbi/stripe/resources/coupon.rbi +252 -0
  157. data/rbi/stripe/resources/credit_note.rbi +747 -0
  158. data/rbi/stripe/resources/credit_note_line_item.rbi +101 -0
  159. data/rbi/stripe/resources/customer.rbi +1009 -0
  160. data/rbi/stripe/resources/customer_balance_transaction.rbi +56 -0
  161. data/rbi/stripe/resources/customer_cash_balance_transaction.rbi +151 -0
  162. data/rbi/stripe/resources/customer_session.rbi +200 -0
  163. data/rbi/stripe/resources/discount.rbi +53 -0
  164. data/rbi/stripe/resources/dispute.rbi +761 -0
  165. data/rbi/stripe/resources/entitlements/active_entitlement.rbi +58 -0
  166. data/rbi/stripe/resources/entitlements/active_entitlement_summary.rbi +23 -0
  167. data/rbi/stripe/resources/entitlements/feature.rbi +117 -0
  168. data/rbi/stripe/resources/ephemeral_key.rbi +44 -0
  169. data/rbi/stripe/resources/event.rbi +146 -0
  170. data/rbi/stripe/resources/exchange_rate.rbi +66 -0
  171. data/rbi/stripe/resources/file.rbi +143 -0
  172. data/rbi/stripe/resources/file_link.rbi +141 -0
  173. data/rbi/stripe/resources/financial_connections/account.rbi +339 -0
  174. data/rbi/stripe/resources/financial_connections/account_owner.rbi +35 -0
  175. data/rbi/stripe/resources/financial_connections/account_ownership.rbi +23 -0
  176. data/rbi/stripe/resources/financial_connections/session.rbi +123 -0
  177. data/rbi/stripe/resources/financial_connections/transaction.rbi +124 -0
  178. data/rbi/stripe/resources/forwarding/request.rbi +216 -0
  179. data/rbi/stripe/resources/funding_instructions.rbi +437 -0
  180. data/rbi/stripe/resources/identity/verification_report.rbi +351 -0
  181. data/rbi/stripe/resources/identity/verification_session.rbi +517 -0
  182. data/rbi/stripe/resources/invoice.rbi +3733 -0
  183. data/rbi/stripe/resources/invoice_item.rbi +475 -0
  184. data/rbi/stripe/resources/invoice_line_item.rbi +432 -0
  185. data/rbi/stripe/resources/invoice_payment.rbi +114 -0
  186. data/rbi/stripe/resources/invoice_rendering_template.rbi +104 -0
  187. data/rbi/stripe/resources/issuing/authorization.rbi +1283 -0
  188. data/rbi/stripe/resources/issuing/card.rbi +741 -0
  189. data/rbi/stripe/resources/issuing/cardholder.rbi +744 -0
  190. data/rbi/stripe/resources/issuing/dispute.rbi +913 -0
  191. data/rbi/stripe/resources/issuing/personalization_design.rbi +338 -0
  192. data/rbi/stripe/resources/issuing/physical_bundle.rbi +79 -0
  193. data/rbi/stripe/resources/issuing/token.rbi +226 -0
  194. data/rbi/stripe/resources/issuing/transaction.rbi +1061 -0
  195. data/rbi/stripe/resources/line_item.rbi +72 -0
  196. data/rbi/stripe/resources/login_link.rbi +18 -0
  197. data/rbi/stripe/resources/mandate.rbi +187 -0
  198. data/rbi/stripe/resources/payment_intent.rbi +9731 -0
  199. data/rbi/stripe/resources/payment_link.rbi +1801 -0
  200. data/rbi/stripe/resources/payment_method.rbi +1822 -0
  201. data/rbi/stripe/resources/payment_method_configuration.rbi +3154 -0
  202. data/rbi/stripe/resources/payment_method_domain.rbi +212 -0
  203. data/rbi/stripe/resources/payout.rbi +300 -0
  204. data/rbi/stripe/resources/person.rbi +371 -0
  205. data/rbi/stripe/resources/plan.rbi +373 -0
  206. data/rbi/stripe/resources/price.rbi +694 -0
  207. data/rbi/stripe/resources/product.rbi +557 -0
  208. data/rbi/stripe/resources/product_feature.rbi +26 -0
  209. data/rbi/stripe/resources/promotion_code.rbi +261 -0
  210. data/rbi/stripe/resources/quote.rbi +1123 -0
  211. data/rbi/stripe/resources/radar/early_fraud_warning.rbi +98 -0
  212. data/rbi/stripe/resources/radar/value_list.rbi +170 -0
  213. data/rbi/stripe/resources/radar/value_list_item.rbi +131 -0
  214. data/rbi/stripe/resources/refund.rbi +516 -0
  215. data/rbi/stripe/resources/reporting/report_run.rbi +191 -0
  216. data/rbi/stripe/resources/reporting/report_type.rbi +57 -0
  217. data/rbi/stripe/resources/reserve_transaction.rbi +23 -0
  218. data/rbi/stripe/resources/reversal.rbi +51 -0
  219. data/rbi/stripe/resources/review.rbi +154 -0
  220. data/rbi/stripe/resources/setup_attempt.rbi +477 -0
  221. data/rbi/stripe/resources/setup_intent.rbi +3860 -0
  222. data/rbi/stripe/resources/shipping_rate.rbi +305 -0
  223. data/rbi/stripe/resources/sigma/scheduled_query_run.rbi +75 -0
  224. data/rbi/stripe/resources/source.rbi +1496 -0
  225. data/rbi/stripe/resources/source_mandate_notification.rbi +77 -0
  226. data/rbi/stripe/resources/source_transaction.rbi +127 -0
  227. data/rbi/stripe/resources/subscription.rbi +1964 -0
  228. data/rbi/stripe/resources/subscription_item.rbi +370 -0
  229. data/rbi/stripe/resources/subscription_schedule.rbi +1495 -0
  230. data/rbi/stripe/resources/tax/calculation.rbi +474 -0
  231. data/rbi/stripe/resources/tax/calculation_line_item.rbi +88 -0
  232. data/rbi/stripe/resources/tax/registration.rbi +2485 -0
  233. data/rbi/stripe/resources/tax/settings.rbi +141 -0
  234. data/rbi/stripe/resources/tax/transaction.rbi +351 -0
  235. data/rbi/stripe/resources/tax/transaction_line_item.rbi +54 -0
  236. data/rbi/stripe/resources/tax_code.rbi +44 -0
  237. data/rbi/stripe/resources/tax_deducted_at_source.rbi +23 -0
  238. data/rbi/stripe/resources/tax_id.rbi +167 -0
  239. data/rbi/stripe/resources/tax_rate.rbi +239 -0
  240. data/rbi/stripe/resources/terminal/configuration.rbi +1388 -0
  241. data/rbi/stripe/resources/terminal/connection_token.rbi +37 -0
  242. data/rbi/stripe/resources/terminal/location.rbi +224 -0
  243. data/rbi/stripe/resources/terminal/reader.rbi +587 -0
  244. data/rbi/stripe/resources/test_helpers/test_clock.rbi +134 -0
  245. data/rbi/stripe/resources/token.rbi +1217 -0
  246. data/rbi/stripe/resources/topup.rbi +222 -0
  247. data/rbi/stripe/resources/transfer.rbi +199 -0
  248. data/rbi/stripe/resources/treasury/credit_reversal.rbi +119 -0
  249. data/rbi/stripe/resources/treasury/debit_reversal.rbi +131 -0
  250. data/rbi/stripe/resources/treasury/financial_account.rbi +865 -0
  251. data/rbi/stripe/resources/treasury/financial_account_features.rbi +260 -0
  252. data/rbi/stripe/resources/treasury/inbound_transfer.rbi +295 -0
  253. data/rbi/stripe/resources/treasury/outbound_payment.rbi +592 -0
  254. data/rbi/stripe/resources/treasury/outbound_transfer.rbi +431 -0
  255. data/rbi/stripe/resources/treasury/received_credit.rbi +302 -0
  256. data/rbi/stripe/resources/treasury/received_debit.rbi +256 -0
  257. data/rbi/stripe/resources/treasury/transaction.rbi +215 -0
  258. data/rbi/stripe/resources/treasury/transaction_entry.rbi +192 -0
  259. data/rbi/stripe/resources/v2/amount.rbi +14 -0
  260. data/rbi/stripe/resources/v2/billing/meter_event.rbi +37 -0
  261. data/rbi/stripe/resources/v2/billing/meter_event_adjustment.rbi +41 -0
  262. data/rbi/stripe/resources/v2/billing/meter_event_session.rbi +31 -0
  263. data/rbi/stripe/resources/v2/event.rbi +48 -0
  264. data/rbi/stripe/resources/v2/event_destination.rbi +91 -0
  265. data/rbi/stripe/resources/webhook_endpoint.rbi +170 -0
  266. data/rbi/stripe/services/account_capability_service.rbi +51 -0
  267. data/rbi/stripe/services/account_external_account_service.rbi +306 -0
  268. data/rbi/stripe/services/account_link_service.rbi +58 -0
  269. data/rbi/stripe/services/account_login_link_service.rbi +22 -0
  270. data/rbi/stripe/services/account_person_service.rbi +923 -0
  271. data/rbi/stripe/services/account_service.rbi +4143 -0
  272. data/rbi/stripe/services/account_session_service.rbi +572 -0
  273. data/rbi/stripe/services/apple_pay_domain_service.rbi +78 -0
  274. data/rbi/stripe/services/application_fee_refund_service.rbi +93 -0
  275. data/rbi/stripe/services/application_fee_service.rbi +78 -0
  276. data/rbi/stripe/services/apps/secret_service.rbi +151 -0
  277. data/rbi/stripe/services/apps_service.rbi +9 -0
  278. data/rbi/stripe/services/balance_service.rbi +21 -0
  279. data/rbi/stripe/services/balance_transaction_service.rbi +93 -0
  280. data/rbi/stripe/services/billing/alert_service.rbi +152 -0
  281. data/rbi/stripe/services/billing/credit_balance_summary_service.rbi +68 -0
  282. data/rbi/stripe/services/billing/credit_balance_transaction_service.rbi +59 -0
  283. data/rbi/stripe/services/billing/credit_grant_service.rbi +211 -0
  284. data/rbi/stripe/services/billing/meter_event_adjustment_service.rbi +42 -0
  285. data/rbi/stripe/services/billing/meter_event_service.rbi +42 -0
  286. data/rbi/stripe/services/billing/meter_event_summary_service.rbi +54 -0
  287. data/rbi/stripe/services/billing/meter_service.rbi +163 -0
  288. data/rbi/stripe/services/billing_portal/configuration_service.rbi +511 -0
  289. data/rbi/stripe/services/billing_portal/session_service.rbi +204 -0
  290. data/rbi/stripe/services/billing_portal_service.rbi +10 -0
  291. data/rbi/stripe/services/billing_service.rbi +15 -0
  292. data/rbi/stripe/services/charge_service.rbi +448 -0
  293. data/rbi/stripe/services/checkout/session_line_item_service.rbi +33 -0
  294. data/rbi/stripe/services/checkout/session_service.rbi +2585 -0
  295. data/rbi/stripe/services/checkout_service.rbi +9 -0
  296. data/rbi/stripe/services/climate/order_service.rbi +142 -0
  297. data/rbi/stripe/services/climate/product_service.rbi +46 -0
  298. data/{lib/stripe/services/financial_connections/institution_service.rb → rbi/stripe/services/climate/supplier_service.rbi} +25 -36
  299. data/rbi/stripe/services/climate_service.rbi +11 -0
  300. data/rbi/stripe/services/confirmation_token_service.rbi +20 -0
  301. data/rbi/stripe/services/country_spec_service.rbi +44 -0
  302. data/rbi/stripe/services/coupon_service.rbi +196 -0
  303. data/{lib/stripe/services/quote_preview_subscription_schedule_service.rb → rbi/stripe/services/credit_note_line_item_service.rbi} +16 -20
  304. data/rbi/stripe/services/credit_note_preview_lines_service.rbi +167 -0
  305. data/rbi/stripe/services/credit_note_service.rbi +416 -0
  306. data/rbi/stripe/services/customer_balance_transaction_service.rbi +92 -0
  307. data/rbi/stripe/services/customer_cash_balance_service.rbi +45 -0
  308. data/rbi/stripe/services/customer_cash_balance_transaction_service.rbi +44 -0
  309. data/rbi/stripe/services/customer_funding_instructions_service.rbi +59 -0
  310. data/rbi/stripe/services/customer_payment_method_service.rbi +57 -0
  311. data/rbi/stripe/services/customer_payment_source_service.rbi +232 -0
  312. data/rbi/stripe/services/customer_service.rbi +651 -0
  313. data/rbi/stripe/services/customer_session_service.rbi +116 -0
  314. data/rbi/stripe/services/customer_tax_id_service.rbi +72 -0
  315. data/rbi/stripe/services/dispute_service.rbi +424 -0
  316. data/rbi/stripe/services/entitlements/active_entitlement_service.rbi +55 -0
  317. data/rbi/stripe/services/entitlements/feature_service.rbi +107 -0
  318. data/rbi/stripe/services/entitlements_service.rbi +10 -0
  319. data/rbi/stripe/services/ephemeral_key_service.rbi +53 -0
  320. data/rbi/stripe/services/event_service.rbi +83 -0
  321. data/rbi/stripe/services/exchange_rate_service.rbi +44 -0
  322. data/rbi/stripe/services/file_link_service.rbi +124 -0
  323. data/rbi/stripe/services/file_service.rbi +116 -0
  324. data/rbi/stripe/services/financial_connections/account_owner_service.rbi +42 -0
  325. data/rbi/stripe/services/financial_connections/account_service.rbi +133 -0
  326. data/rbi/stripe/services/financial_connections/session_service.rbi +88 -0
  327. data/rbi/stripe/services/financial_connections/transaction_service.rbi +92 -0
  328. data/rbi/stripe/services/financial_connections_service.rbi +11 -0
  329. data/rbi/stripe/services/forwarding/request_service.rbi +134 -0
  330. data/rbi/stripe/services/forwarding_service.rbi +9 -0
  331. data/rbi/stripe/services/identity/verification_report_service.rbi +87 -0
  332. data/rbi/stripe/services/identity/verification_session_service.rbi +323 -0
  333. data/rbi/stripe/services/identity_service.rbi +10 -0
  334. data/rbi/stripe/services/invoice_item_service.rbi +368 -0
  335. data/rbi/stripe/services/invoice_line_item_service.rbi +259 -0
  336. data/rbi/stripe/services/invoice_payment_service.rbi +71 -0
  337. data/rbi/stripe/services/invoice_rendering_template_service.rbi +82 -0
  338. data/rbi/stripe/services/invoice_service.rbi +2920 -0
  339. data/rbi/stripe/services/issuing/authorization_service.rbi +146 -0
  340. data/rbi/stripe/services/issuing/card_service.rbi +495 -0
  341. data/rbi/stripe/services/issuing/cardholder_service.rbi +587 -0
  342. data/rbi/stripe/services/issuing/dispute_service.rbi +707 -0
  343. data/rbi/stripe/services/issuing/personalization_design_service.rbi +243 -0
  344. data/rbi/stripe/services/issuing/physical_bundle_service.rbi +59 -0
  345. data/rbi/stripe/services/issuing/token_service.rbi +99 -0
  346. data/rbi/stripe/services/issuing/transaction_service.rbi +105 -0
  347. data/rbi/stripe/services/issuing_service.rbi +16 -0
  348. data/rbi/stripe/services/mandate_service.rbi +20 -0
  349. data/rbi/stripe/services/payment_intent_service.rbi +7759 -0
  350. data/{lib/stripe/services/quote_line_service.rb → rbi/stripe/services/payment_link_line_item_service.rbi} +16 -20
  351. data/rbi/stripe/services/payment_link_service.rbi +1352 -0
  352. data/rbi/stripe/services/payment_method_configuration_service.rbi +2211 -0
  353. data/rbi/stripe/services/payment_method_domain_service.rbi +112 -0
  354. data/rbi/stripe/services/payment_method_service.rbi +840 -0
  355. data/rbi/stripe/services/payout_service.rbi +205 -0
  356. data/rbi/stripe/services/plan_service.rbi +284 -0
  357. data/rbi/stripe/services/price_service.rbi +546 -0
  358. data/rbi/stripe/services/product_feature_service.rbi +69 -0
  359. data/rbi/stripe/services/product_service.rbi +479 -0
  360. data/rbi/stripe/services/promotion_code_service.rbi +214 -0
  361. data/rbi/stripe/services/quote_computed_upfront_line_items_service.rbi +31 -0
  362. data/{lib/stripe/services/order_line_item_service.rb → rbi/stripe/services/quote_line_item_service.rbi} +16 -20
  363. data/rbi/stripe/services/quote_service.rbi +686 -0
  364. data/rbi/stripe/services/radar/early_fraud_warning_service.rbi +85 -0
  365. data/rbi/stripe/services/radar/value_list_item_service.rbi +111 -0
  366. data/rbi/stripe/services/radar/value_list_service.rbi +143 -0
  367. data/rbi/stripe/services/radar_service.rbi +11 -0
  368. data/rbi/stripe/services/refund_service.rbi +185 -0
  369. data/rbi/stripe/services/reporting/report_run_service.rbi +135 -0
  370. data/rbi/stripe/services/reporting/report_type_service.rbi +35 -0
  371. data/rbi/stripe/services/reporting_service.rbi +10 -0
  372. data/rbi/stripe/services/review_service.rbi +84 -0
  373. data/rbi/stripe/services/setup_attempt_service.rbi +65 -0
  374. data/rbi/stripe/services/setup_intent_service.rbi +3596 -0
  375. data/rbi/stripe/services/shipping_rate_service.rbi +241 -0
  376. data/rbi/stripe/services/sigma/scheduled_query_run_service.rbi +46 -0
  377. data/rbi/stripe/services/sigma_service.rbi +9 -0
  378. data/rbi/stripe/services/source_service.rbi +663 -0
  379. data/{lib/stripe/services/quote_preview_invoice_service.rb → rbi/stripe/services/source_transaction_service.rbi} +16 -20
  380. data/rbi/stripe/services/subscription_item_service.rbi +324 -0
  381. data/rbi/stripe/services/subscription_schedule_service.rbi +1192 -0
  382. data/rbi/stripe/services/subscription_service.rbi +1596 -0
  383. data/rbi/stripe/services/tax/calculation_line_item_service.rbi +33 -0
  384. data/rbi/stripe/services/tax/calculation_service.rbi +230 -0
  385. data/rbi/stripe/services/tax/registration_service.rbi +1689 -0
  386. data/rbi/stripe/services/tax/settings_service.rbi +93 -0
  387. data/{lib/stripe/services/financial_connections/account_inferred_balance_service.rb → rbi/stripe/services/tax/transaction_line_item_service.rbi} +17 -21
  388. data/rbi/stripe/services/tax/transaction_service.rbi +146 -0
  389. data/rbi/stripe/services/tax_code_service.rbi +44 -0
  390. data/rbi/stripe/services/tax_id_service.rbi +112 -0
  391. data/rbi/stripe/services/tax_rate_service.rbi +185 -0
  392. data/rbi/stripe/services/tax_service.rbi +12 -0
  393. data/rbi/stripe/services/terminal/configuration_service.rbi +1120 -0
  394. data/rbi/stripe/services/terminal/connection_token_service.rbi +25 -0
  395. data/rbi/stripe/services/terminal/location_service.rbi +184 -0
  396. data/rbi/stripe/services/terminal/reader_service.rbi +344 -0
  397. data/rbi/stripe/services/terminal_service.rbi +12 -0
  398. data/rbi/stripe/services/test_helpers/confirmation_token_service.rbi +746 -0
  399. data/rbi/stripe/services/test_helpers/customer_service.rbi +33 -0
  400. data/rbi/stripe/services/test_helpers/issuing/authorization_service.rbi +848 -0
  401. data/rbi/stripe/services/test_helpers/issuing/card_service.rbi +76 -0
  402. data/rbi/stripe/services/test_helpers/issuing/personalization_design_service.rbi +69 -0
  403. data/rbi/stripe/services/test_helpers/issuing/transaction_service.rbi +711 -0
  404. data/rbi/stripe/services/test_helpers/issuing_service.rbi +14 -0
  405. data/rbi/stripe/services/test_helpers/refund_service.rbi +22 -0
  406. data/rbi/stripe/services/test_helpers/terminal/reader_service.rbi +62 -0
  407. data/rbi/stripe/services/test_helpers/terminal_service.rbi +11 -0
  408. data/rbi/stripe/services/test_helpers/test_clock_service.rbi +92 -0
  409. data/rbi/stripe/services/test_helpers/treasury/inbound_transfer_service.rbi +64 -0
  410. data/rbi/stripe/services/test_helpers/treasury/outbound_payment_service.rbi +125 -0
  411. data/rbi/stripe/services/test_helpers/treasury/outbound_transfer_service.rbi +125 -0
  412. data/rbi/stripe/services/test_helpers/treasury/received_credit_service.rbi +87 -0
  413. data/rbi/stripe/services/test_helpers/treasury/received_debit_service.rbi +87 -0
  414. data/rbi/stripe/services/test_helpers/treasury_service.rbi +15 -0
  415. data/rbi/stripe/services/test_helpers_service.rbi +15 -0
  416. data/rbi/stripe/services/token_service.rbi +1189 -0
  417. data/rbi/stripe/services/topup_service.rbi +176 -0
  418. data/rbi/stripe/services/transfer_reversal_service.rbi +101 -0
  419. data/rbi/stripe/services/transfer_service.rbi +152 -0
  420. data/rbi/stripe/services/treasury/credit_reversal_service.rbi +84 -0
  421. data/rbi/stripe/services/treasury/debit_reversal_service.rbi +88 -0
  422. data/rbi/stripe/services/treasury/financial_account_features_service.rbi +198 -0
  423. data/rbi/stripe/services/treasury/financial_account_service.rbi +562 -0
  424. data/rbi/stripe/services/treasury/inbound_transfer_service.rbi +117 -0
  425. data/rbi/stripe/services/treasury/outbound_payment_service.rbi +304 -0
  426. data/rbi/stripe/services/treasury/outbound_transfer_service.rbi +157 -0
  427. data/rbi/stripe/services/treasury/received_credit_service.rbi +72 -0
  428. data/rbi/stripe/services/treasury/received_debit_service.rbi +59 -0
  429. data/rbi/stripe/services/treasury/transaction_entry_service.rbi +111 -0
  430. data/rbi/stripe/services/treasury/transaction_service.rbi +122 -0
  431. data/rbi/stripe/services/treasury_service.rbi +18 -0
  432. data/rbi/stripe/services/v1_services.rbi +77 -0
  433. data/rbi/stripe/services/v2/billing/meter_event_adjustment_service.rbi +39 -0
  434. data/rbi/stripe/services/v2/billing/meter_event_service.rbi +42 -0
  435. data/rbi/stripe/services/v2/billing/meter_event_session_service.rbi +20 -0
  436. data/rbi/stripe/services/v2/billing/meter_event_stream_service.rbi +55 -0
  437. data/rbi/stripe/services/v2/billing_service.rbi +14 -0
  438. data/rbi/stripe/services/v2/core/event_destination_service.rbi +200 -0
  439. data/rbi/stripe/services/v2/core/event_service.rbi +38 -0
  440. data/rbi/stripe/services/v2/core_service.rbi +12 -0
  441. data/rbi/stripe/services/v2_services.rbi +10 -0
  442. data/rbi/stripe/services/webhook_endpoint_service.rbi +131 -0
  443. data/stripe.gemspec +1 -4
  444. metadata +324 -140
  445. data/lib/stripe/events/v2_core_account_including_configuration_customer_capability_status_updated_event.rb +0 -23
  446. data/lib/stripe/events/v2_core_account_including_configuration_customer_updated_event.rb +0 -21
  447. data/lib/stripe/events/v2_core_account_including_configuration_merchant_capability_status_updated_event.rb +0 -23
  448. data/lib/stripe/events/v2_core_account_including_configuration_merchant_updated_event.rb +0 -21
  449. data/lib/stripe/events/v2_core_account_including_configuration_recipient_capability_status_updated_event.rb +0 -23
  450. data/lib/stripe/events/v2_core_account_including_configuration_recipient_updated_event.rb +0 -21
  451. data/lib/stripe/events/v2_core_account_including_identity_updated_event.rb +0 -21
  452. data/lib/stripe/events/v2_core_account_including_requirements_updated_event.rb +0 -21
  453. data/lib/stripe/events/v2_core_account_link_completed_event.rb +0 -13
  454. data/lib/stripe/events/v2_core_account_person_created_event.rb +0 -23
  455. data/lib/stripe/events/v2_core_account_person_deleted_event.rb +0 -23
  456. data/lib/stripe/events/v2_core_account_person_updated_event.rb +0 -23
  457. data/lib/stripe/events/v2_money_management_financial_account_created_event.rb +0 -21
  458. data/lib/stripe/events/v2_money_management_financial_address_activated_event.rb +0 -21
  459. data/lib/stripe/events/v2_money_management_financial_address_failed_event.rb +0 -21
  460. data/lib/stripe/events/v2_money_management_inbound_transfer_available_event.rb +0 -23
  461. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_failed_event.rb +0 -21
  462. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_processing_event.rb +0 -21
  463. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_queued_event.rb +0 -21
  464. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_returned_event.rb +0 -21
  465. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_succeeded_event.rb +0 -21
  466. data/lib/stripe/events/v2_money_management_outbound_payment_canceled_event.rb +0 -21
  467. data/lib/stripe/events/v2_money_management_outbound_payment_created_event.rb +0 -21
  468. data/lib/stripe/events/v2_money_management_outbound_payment_failed_event.rb +0 -21
  469. data/lib/stripe/events/v2_money_management_outbound_payment_posted_event.rb +0 -21
  470. data/lib/stripe/events/v2_money_management_outbound_payment_returned_event.rb +0 -21
  471. data/lib/stripe/events/v2_money_management_outbound_transfer_canceled_event.rb +0 -21
  472. data/lib/stripe/events/v2_money_management_outbound_transfer_created_event.rb +0 -21
  473. data/lib/stripe/events/v2_money_management_outbound_transfer_failed_event.rb +0 -21
  474. data/lib/stripe/events/v2_money_management_outbound_transfer_posted_event.rb +0 -21
  475. data/lib/stripe/events/v2_money_management_outbound_transfer_returned_event.rb +0 -21
  476. data/lib/stripe/events/v2_money_management_received_credit_available_event.rb +0 -23
  477. data/lib/stripe/events/v2_money_management_received_credit_failed_event.rb +0 -21
  478. data/lib/stripe/events/v2_money_management_received_credit_returned_event.rb +0 -21
  479. data/lib/stripe/events/v2_money_management_received_credit_succeeded_event.rb +0 -21
  480. data/lib/stripe/events/v2_money_management_received_debit_canceled_event.rb +0 -21
  481. data/lib/stripe/events/v2_money_management_received_debit_failed_event.rb +0 -21
  482. data/lib/stripe/events/v2_money_management_received_debit_pending_event.rb +0 -21
  483. data/lib/stripe/events/v2_money_management_received_debit_succeeded_event.rb +0 -21
  484. data/lib/stripe/events/v2_money_management_received_debit_updated_event.rb +0 -21
  485. data/lib/stripe/request_signing_authenticator.rb +0 -79
  486. data/lib/stripe/resources/account_notice.rb +0 -123
  487. data/lib/stripe/resources/balance_settings.rb +0 -101
  488. data/lib/stripe/resources/billing/meter_error_report.rb +0 -59
  489. data/lib/stripe/resources/capital/financing_offer.rb +0 -179
  490. data/lib/stripe/resources/capital/financing_summary.rb +0 -55
  491. data/lib/stripe/resources/capital/financing_transaction.rb +0 -114
  492. data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +0 -27
  493. data/lib/stripe/resources/financial_connections/institution.rb +0 -90
  494. data/lib/stripe/resources/gift_cards/card.rb +0 -208
  495. data/lib/stripe/resources/gift_cards/transaction.rb +0 -272
  496. data/lib/stripe/resources/issuing/credit_underwriting_record.rb +0 -602
  497. data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +0 -82
  498. data/lib/stripe/resources/issuing/fraud_liability_debit.rb +0 -86
  499. data/lib/stripe/resources/issuing/settlement.rb +0 -53
  500. data/lib/stripe/resources/margin.rb +0 -115
  501. data/lib/stripe/resources/order.rb +0 -2859
  502. data/lib/stripe/resources/payment_attempt_record.rb +0 -1078
  503. data/lib/stripe/resources/payment_record.rb +0 -1607
  504. data/lib/stripe/resources/quote_line.rb +0 -274
  505. data/lib/stripe/resources/quote_preview_invoice.rb +0 -663
  506. data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -337
  507. data/lib/stripe/resources/tax/association.rb +0 -89
  508. data/lib/stripe/resources/tax/form.rb +0 -211
  509. data/lib/stripe/resources/terminal/reader_collected_data.rb +0 -31
  510. data/lib/stripe/resources/v2/core/account.rb +0 -1715
  511. data/lib/stripe/resources/v2/core/account_link.rb +0 -54
  512. data/lib/stripe/resources/v2/core/person.rb +0 -272
  513. data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +0 -72
  514. data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +0 -37
  515. data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +0 -18
  516. data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +0 -20
  517. data/lib/stripe/resources/v2/money_management/adjustment.rb +0 -49
  518. data/lib/stripe/resources/v2/money_management/financial_account.rb +0 -56
  519. data/lib/stripe/resources/v2/money_management/financial_address.rb +0 -66
  520. data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +0 -92
  521. data/lib/stripe/resources/v2/money_management/outbound_payment.rb +0 -127
  522. data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +0 -74
  523. data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +0 -43
  524. data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +0 -115
  525. data/lib/stripe/resources/v2/money_management/payout_method.rb +0 -73
  526. data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +0 -47
  527. data/lib/stripe/resources/v2/money_management/received_credit.rb +0 -134
  528. data/lib/stripe/resources/v2/money_management/received_debit.rb +0 -106
  529. data/lib/stripe/resources/v2/money_management/transaction.rb +0 -76
  530. data/lib/stripe/resources/v2/money_management/transaction_entry.rb +0 -66
  531. data/lib/stripe/services/account_notice_service.rb +0 -101
  532. data/lib/stripe/services/balance_settings_service.rb +0 -96
  533. data/lib/stripe/services/capital/financing_offer_service.rb +0 -112
  534. data/lib/stripe/services/capital/financing_summary_service.rb +0 -28
  535. data/lib/stripe/services/capital/financing_transaction_service.rb +0 -79
  536. data/lib/stripe/services/capital_service.rb +0 -15
  537. data/lib/stripe/services/external_account_service.rb +0 -206
  538. data/lib/stripe/services/gift_cards/card_service.rb +0 -170
  539. data/lib/stripe/services/gift_cards/transaction_service.rb +0 -209
  540. data/lib/stripe/services/gift_cards_service.rb +0 -14
  541. data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +0 -504
  542. data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +0 -66
  543. data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +0 -83
  544. data/lib/stripe/services/margin_service.rb +0 -119
  545. data/lib/stripe/services/order_service.rb +0 -2268
  546. data/lib/stripe/services/payment_attempt_record_service.rb +0 -49
  547. data/lib/stripe/services/payment_record_service.rb +0 -542
  548. data/lib/stripe/services/tax/association_service.rb +0 -31
  549. data/lib/stripe/services/tax/form_service.rb +0 -100
  550. data/lib/stripe/services/terminal/reader_collected_data_service.rb +0 -28
  551. data/lib/stripe/services/v2/core/account_link_service.rb +0 -76
  552. data/lib/stripe/services/v2/core/account_service.rb +0 -4130
  553. data/lib/stripe/services/v2/core/accounts/person_service.rb +0 -1040
  554. data/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb +0 -135
  555. data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +0 -109
  556. data/lib/stripe/services/v2/core/vault_service.rb +0 -18
  557. data/lib/stripe/services/v2/money_management/adjustment_service.rb +0 -75
  558. data/lib/stripe/services/v2/money_management/financial_account_service.rb +0 -44
  559. data/lib/stripe/services/v2/money_management/financial_address_service.rb +0 -81
  560. data/lib/stripe/services/v2/money_management/inbound_transfer_service.rb +0 -126
  561. data/lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb +0 -80
  562. data/lib/stripe/services/v2/money_management/outbound_payment_service.rb +0 -202
  563. data/lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb +0 -237
  564. data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +0 -174
  565. data/lib/stripe/services/v2/money_management/payout_method_service.rb +0 -95
  566. data/lib/stripe/services/v2/money_management/payout_methods_bank_account_spec_service.rb +0 -32
  567. data/lib/stripe/services/v2/money_management/received_credit_service.rb +0 -71
  568. data/lib/stripe/services/v2/money_management/received_debit_service.rb +0 -44
  569. data/lib/stripe/services/v2/money_management/transaction_entry_service.rb +0 -70
  570. data/lib/stripe/services/v2/money_management/transaction_service.rb +0 -74
  571. data/lib/stripe/services/v2/money_management_service.rb +0 -31
  572. data/lib/stripe/services/v2/test_helper_service.rb +0 -15
  573. data/lib/stripe/services/v2/test_helpers/financial_address_service.rb +0 -50
  574. data/rbi/stripe.rbi +0 -189274
@@ -102,8 +102,6 @@ module Stripe
102
102
  attr_reader :amazon_pay_payments
103
103
  # 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.
104
104
  attr_reader :au_becs_debit_payments
105
- # The status of the automatic_indirect_tax capability of the account.
106
- attr_reader :automatic_indirect_tax
107
105
  # The status of the Bacs Direct Debits payments capability of the account, or whether the account can directly process Bacs Direct Debits charges.
108
106
  attr_reader :bacs_debit_payments
109
107
  # The status of the Bancontact payments capability of the account, or whether the account can directly process Bancontact charges.
@@ -132,14 +130,8 @@ module Stripe
132
130
  attr_reader :gb_bank_transfer_payments
133
131
  # The status of the giropay payments capability of the account, or whether the account can directly process giropay charges.
134
132
  attr_reader :giropay_payments
135
- # The status of the Gopay capability of the account, or whether the account can directly process Gopay payments.
136
- attr_reader :gopay_payments
137
133
  # The status of the GrabPay payments capability of the account, or whether the account can directly process GrabPay charges.
138
134
  attr_reader :grabpay_payments
139
- # The status of the Indonesia Bank Transfer payments capability of the account, or whether the account can directly process Indonesia Bank Transfer charges.
140
- attr_reader :id_bank_transfer_payments
141
- # The status of Bank BCA onboarding of the account.
142
- attr_reader :id_bank_transfer_payments_bca
143
135
  # The status of the iDEAL payments capability of the account, or whether the account can directly process iDEAL charges.
144
136
  attr_reader :ideal_payments
145
137
  # The status of the india_international_payments capability of the account, or whether the account can process international charges (non INR) in India.
@@ -160,8 +152,6 @@ module Stripe
160
152
  attr_reader :legacy_payments
161
153
  # The status of the link_payments capability of the account, or whether the account can directly process Link charges.
162
154
  attr_reader :link_payments
163
- # The status of the MB WAY payments capability of the account, or whether the account can directly process MB WAY charges.
164
- attr_reader :mb_way_payments
165
155
  # The status of the MobilePay capability of the account, or whether the account can directly process MobilePay charges.
166
156
  attr_reader :mobilepay_payments
167
157
  # The status of the Multibanco payments capability of the account, or whether the account can directly process Multibanco charges.
@@ -182,16 +172,8 @@ module Stripe
182
172
  attr_reader :payco_payments
183
173
  # The status of the paynow payments capability of the account, or whether the account can directly process paynow charges.
184
174
  attr_reader :paynow_payments
185
- # The status of the PayPal payments capability of the account, or whether the account can directly process PayPal charges.
186
- attr_reader :paypal_payments
187
- # The status of the PayTo capability of the account, or whether the account can directly process PayTo charges.
188
- attr_reader :payto_payments
189
175
  # The status of the promptpay payments capability of the account, or whether the account can directly process promptpay charges.
190
176
  attr_reader :promptpay_payments
191
- # The status of the Qris capability of the account, or whether the account can directly process Qris payments.
192
- attr_reader :qris_payments
193
- # The status of the Rechnung capability of the account, or whether the account can directly process Rechnung payments.
194
- attr_reader :rechnung_payments
195
177
  # The status of the RevolutPay capability of the account, or whether the account can directly process RevolutPay payments.
196
178
  attr_reader :revolut_pay_payments
197
179
  # The status of the SamsungPay capability of the account, or whether the account can directly process SamsungPay payments.
@@ -202,12 +184,8 @@ module Stripe
202
184
  attr_reader :sepa_bank_transfer_payments
203
185
  # The status of the SEPA Direct Debits payments capability of the account, or whether the account can directly process SEPA Direct Debits charges.
204
186
  attr_reader :sepa_debit_payments
205
- # The status of the ShopeePay capability of the account, or whether the account can directly process ShopeePay payments.
206
- attr_reader :shopeepay_payments
207
187
  # The status of the Sofort payments capability of the account, or whether the account can directly process Sofort charges.
208
188
  attr_reader :sofort_payments
209
- # The status of the stripe_balance payments capability of the account, or whether the account can directly process stripe_balance charges.
210
- attr_reader :stripe_balance_payments
211
189
  # The status of the Swish capability of the account, or whether the account can directly process Swish payments.
212
190
  attr_reader :swish_payments
213
191
  # The status of the tax reporting 1099-K (US) capability of the account.
@@ -218,12 +196,6 @@ module Stripe
218
196
  attr_reader :transfers
219
197
  # The status of the banking capability, or whether the account can have bank accounts.
220
198
  attr_reader :treasury
221
- # The status of the treasury_evolve capability of the account.
222
- attr_reader :treasury_evolve
223
- # The status of the treasury_fifth_third capability of the account.
224
- attr_reader :treasury_fifth_third
225
- # The status of the treasury_goldman_sachs capability of the account.
226
- attr_reader :treasury_goldman_sachs
227
199
  # The status of the TWINT capability of the account, or whether the account can directly process TWINT charges.
228
200
  attr_reader :twint_payments
229
201
  # The status of the US bank account ACH payments capability of the account, or whether the account can directly process US bank account charges.
@@ -359,20 +331,6 @@ module Stripe
359
331
  end
360
332
 
361
333
  class Controller < Stripe::StripeObject
362
- class Application < Stripe::StripeObject
363
- # `true` if the Connect application is responsible for negative balances and should manage credit and fraud risk on the account.
364
- attr_reader :loss_liable
365
- # `true` if the Connect application is responsible for onboarding the account.
366
- attr_reader :onboarding_owner
367
- # `true` if the Connect application is responsible for paying Stripe fees on pricing-control eligible products.
368
- attr_reader :pricing_controls
369
- end
370
-
371
- class Dashboard < Stripe::StripeObject
372
- # Whether this account has access to the full Stripe dashboard (`full`), to the Express dashboard (`express`), or to no dashboard (`none`).
373
- attr_reader :type
374
- end
375
-
376
334
  class Fees < Stripe::StripeObject
377
335
  # 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).
378
336
  attr_reader :payer
@@ -387,10 +345,6 @@ module Stripe
387
345
  # A value indicating the Stripe dashboard this account has access to independent of the Connect application.
388
346
  attr_reader :type
389
347
  end
390
- # Attribute for field application
391
- attr_reader :application
392
- # Attribute for field dashboard
393
- attr_reader :dashboard
394
348
  # Attribute for field fees
395
349
  attr_reader :fees
396
350
  # `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.
@@ -478,24 +432,6 @@ module Stripe
478
432
  attr_reader :pending_verification
479
433
  end
480
434
 
481
- class RiskControls < Stripe::StripeObject
482
- class Charges < Stripe::StripeObject
483
- # Whether a pause of the risk control has been requested.
484
- attr_reader :pause_requested
485
- end
486
-
487
- class Payouts < Stripe::StripeObject
488
- # Whether a pause of the risk control has been requested.
489
- attr_reader :pause_requested
490
- end
491
- # Attribute for field charges
492
- attr_reader :charges
493
- # Attribute for field payouts
494
- attr_reader :payouts
495
- # 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/)
496
- attr_reader :rejected_reason
497
- end
498
-
499
435
  class Settings < Stripe::StripeObject
500
436
  class BacsDebitPayments < Stripe::StripeObject
501
437
  # 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.
@@ -504,13 +440,6 @@ module Stripe
504
440
  attr_reader :service_user_number
505
441
  end
506
442
 
507
- class BankBcaOnboarding < Stripe::StripeObject
508
- # Bank BCA business account holder name.
509
- attr_reader :account_holder_name
510
- # Bank BCA business account number.
511
- attr_reader :business_account_number
512
- end
513
-
514
443
  class Branding < Stripe::StripeObject
515
444
  # (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.
516
445
  attr_reader :icon
@@ -522,13 +451,6 @@ module Stripe
522
451
  attr_reader :secondary_color
523
452
  end
524
453
 
525
- class Capital < Stripe::StripeObject
526
- # Per-currency mapping of user-selected destination accounts used to pay out loans.
527
- attr_reader :payout_destination
528
- # Per-currency mapping of all destination accounts eligible to receive loan payouts.
529
- attr_reader :payout_destination_selector
530
- end
531
-
532
454
  class CardIssuing < Stripe::StripeObject
533
455
  class TosAcceptance < Stripe::StripeObject
534
456
  # The Unix timestamp marking when the account representative accepted the service agreement.
@@ -610,11 +532,6 @@ module Stripe
610
532
  attr_reader :creditor_id
611
533
  end
612
534
 
613
- class TaxForms < Stripe::StripeObject
614
- # Whether the account opted out of receiving their tax forms by postal delivery.
615
- attr_reader :consented_to_paperless_delivery
616
- end
617
-
618
535
  class Treasury < Stripe::StripeObject
619
536
  class TosAcceptance < Stripe::StripeObject
620
537
  # The Unix timestamp marking when the account representative accepted the service agreement.
@@ -629,12 +546,8 @@ module Stripe
629
546
  end
630
547
  # Attribute for field bacs_debit_payments
631
548
  attr_reader :bacs_debit_payments
632
- # Attribute for field bank_bca_onboarding
633
- attr_reader :bank_bca_onboarding
634
549
  # Attribute for field branding
635
550
  attr_reader :branding
636
- # Attribute for field capital
637
- attr_reader :capital
638
551
  # Attribute for field card_issuing
639
552
  attr_reader :card_issuing
640
553
  # Attribute for field card_payments
@@ -649,8 +562,6 @@ module Stripe
649
562
  attr_reader :payouts
650
563
  # Attribute for field sepa_debit_payments
651
564
  attr_reader :sepa_debit_payments
652
- # Attribute for field tax_forms
653
- attr_reader :tax_forms
654
565
  # Attribute for field treasury
655
566
  attr_reader :treasury
656
567
  end
@@ -868,15 +779,6 @@ module Stripe
868
779
  end
869
780
  end
870
781
 
871
- class AutomaticIndirectTax < Stripe::RequestParams
872
- # 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.
873
- attr_accessor :requested
874
-
875
- def initialize(requested: nil)
876
- @requested = requested
877
- end
878
- end
879
-
880
782
  class BacsDebitPayments < Stripe::RequestParams
881
783
  # 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.
882
784
  attr_accessor :requested
@@ -1003,15 +905,6 @@ module Stripe
1003
905
  end
1004
906
  end
1005
907
 
1006
- class GopayPayments < Stripe::RequestParams
1007
- # 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.
1008
- attr_accessor :requested
1009
-
1010
- def initialize(requested: nil)
1011
- @requested = requested
1012
- end
1013
- end
1014
-
1015
908
  class GrabpayPayments < Stripe::RequestParams
1016
909
  # 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.
1017
910
  attr_accessor :requested
@@ -1021,24 +914,6 @@ module Stripe
1021
914
  end
1022
915
  end
1023
916
 
1024
- class IdBankTransferPayments < Stripe::RequestParams
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.
1026
- attr_accessor :requested
1027
-
1028
- def initialize(requested: nil)
1029
- @requested = requested
1030
- end
1031
- end
1032
-
1033
- class IdBankTransferPaymentsBca < Stripe::RequestParams
1034
- # 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.
1035
- attr_accessor :requested
1036
-
1037
- def initialize(requested: nil)
1038
- @requested = requested
1039
- end
1040
- end
1041
-
1042
917
  class IdealPayments < Stripe::RequestParams
1043
918
  # 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.
1044
919
  attr_accessor :requested
@@ -1129,15 +1004,6 @@ module Stripe
1129
1004
  end
1130
1005
  end
1131
1006
 
1132
- class MbWayPayments < Stripe::RequestParams
1133
- # 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.
1134
- attr_accessor :requested
1135
-
1136
- def initialize(requested: nil)
1137
- @requested = requested
1138
- end
1139
- end
1140
-
1141
1007
  class MobilepayPayments < Stripe::RequestParams
1142
1008
  # 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.
1143
1009
  attr_accessor :requested
@@ -1228,24 +1094,6 @@ module Stripe
1228
1094
  end
1229
1095
  end
1230
1096
 
1231
- class PaypalPayments < Stripe::RequestParams
1232
- # 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.
1233
- attr_accessor :requested
1234
-
1235
- def initialize(requested: nil)
1236
- @requested = requested
1237
- end
1238
- end
1239
-
1240
- class PaytoPayments < Stripe::RequestParams
1241
- # 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.
1242
- attr_accessor :requested
1243
-
1244
- def initialize(requested: nil)
1245
- @requested = requested
1246
- end
1247
- end
1248
-
1249
1097
  class PromptpayPayments < Stripe::RequestParams
1250
1098
  # 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.
1251
1099
  attr_accessor :requested
@@ -1255,24 +1103,6 @@ module Stripe
1255
1103
  end
1256
1104
  end
1257
1105
 
1258
- class QrisPayments < Stripe::RequestParams
1259
- # 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.
1260
- attr_accessor :requested
1261
-
1262
- def initialize(requested: nil)
1263
- @requested = requested
1264
- end
1265
- end
1266
-
1267
- class RechnungPayments < Stripe::RequestParams
1268
- # 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.
1269
- attr_accessor :requested
1270
-
1271
- def initialize(requested: nil)
1272
- @requested = requested
1273
- end
1274
- end
1275
-
1276
1106
  class RevolutPayPayments < Stripe::RequestParams
1277
1107
  # 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.
1278
1108
  attr_accessor :requested
@@ -1318,15 +1148,6 @@ module Stripe
1318
1148
  end
1319
1149
  end
1320
1150
 
1321
- class ShopeepayPayments < Stripe::RequestParams
1322
- # 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.
1323
- attr_accessor :requested
1324
-
1325
- def initialize(requested: nil)
1326
- @requested = requested
1327
- end
1328
- end
1329
-
1330
1151
  class SofortPayments < Stripe::RequestParams
1331
1152
  # 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.
1332
1153
  attr_accessor :requested
@@ -1336,15 +1157,6 @@ module Stripe
1336
1157
  end
1337
1158
  end
1338
1159
 
1339
- class StripeBalancePayments < Stripe::RequestParams
1340
- # 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.
1341
- attr_accessor :requested
1342
-
1343
- def initialize(requested: nil)
1344
- @requested = requested
1345
- end
1346
- end
1347
-
1348
1160
  class SwishPayments < Stripe::RequestParams
1349
1161
  # 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.
1350
1162
  attr_accessor :requested
@@ -1390,33 +1202,6 @@ module Stripe
1390
1202
  end
1391
1203
  end
1392
1204
 
1393
- class TreasuryEvolve < Stripe::RequestParams
1394
- # 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.
1395
- attr_accessor :requested
1396
-
1397
- def initialize(requested: nil)
1398
- @requested = requested
1399
- end
1400
- end
1401
-
1402
- class TreasuryFifthThird < Stripe::RequestParams
1403
- # 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.
1404
- attr_accessor :requested
1405
-
1406
- def initialize(requested: nil)
1407
- @requested = requested
1408
- end
1409
- end
1410
-
1411
- class TreasuryGoldmanSachs < Stripe::RequestParams
1412
- # 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.
1413
- attr_accessor :requested
1414
-
1415
- def initialize(requested: nil)
1416
- @requested = requested
1417
- end
1418
- end
1419
-
1420
1205
  class TwintPayments < Stripe::RequestParams
1421
1206
  # 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.
1422
1207
  attr_accessor :requested
@@ -1464,8 +1249,6 @@ module Stripe
1464
1249
  attr_accessor :amazon_pay_payments
1465
1250
  # The au_becs_debit_payments capability.
1466
1251
  attr_accessor :au_becs_debit_payments
1467
- # The automatic_indirect_tax capability.
1468
- attr_accessor :automatic_indirect_tax
1469
1252
  # The bacs_debit_payments capability.
1470
1253
  attr_accessor :bacs_debit_payments
1471
1254
  # The bancontact_payments capability.
@@ -1494,14 +1277,8 @@ module Stripe
1494
1277
  attr_accessor :gb_bank_transfer_payments
1495
1278
  # The giropay_payments capability.
1496
1279
  attr_accessor :giropay_payments
1497
- # The gopay_payments capability.
1498
- attr_accessor :gopay_payments
1499
1280
  # The grabpay_payments capability.
1500
1281
  attr_accessor :grabpay_payments
1501
- # The id_bank_transfer_payments capability.
1502
- attr_accessor :id_bank_transfer_payments
1503
- # The id_bank_transfer_payments_bca capability.
1504
- attr_accessor :id_bank_transfer_payments_bca
1505
1282
  # The ideal_payments capability.
1506
1283
  attr_accessor :ideal_payments
1507
1284
  # The india_international_payments capability.
@@ -1522,8 +1299,6 @@ module Stripe
1522
1299
  attr_accessor :legacy_payments
1523
1300
  # The link_payments capability.
1524
1301
  attr_accessor :link_payments
1525
- # The mb_way_payments capability.
1526
- attr_accessor :mb_way_payments
1527
1302
  # The mobilepay_payments capability.
1528
1303
  attr_accessor :mobilepay_payments
1529
1304
  # The multibanco_payments capability.
@@ -1544,16 +1319,8 @@ module Stripe
1544
1319
  attr_accessor :payco_payments
1545
1320
  # The paynow_payments capability.
1546
1321
  attr_accessor :paynow_payments
1547
- # The paypal_payments capability.
1548
- attr_accessor :paypal_payments
1549
- # The payto_payments capability.
1550
- attr_accessor :payto_payments
1551
1322
  # The promptpay_payments capability.
1552
1323
  attr_accessor :promptpay_payments
1553
- # The qris_payments capability.
1554
- attr_accessor :qris_payments
1555
- # The rechnung_payments capability.
1556
- attr_accessor :rechnung_payments
1557
1324
  # The revolut_pay_payments capability.
1558
1325
  attr_accessor :revolut_pay_payments
1559
1326
  # The samsung_pay_payments capability.
@@ -1564,12 +1331,8 @@ module Stripe
1564
1331
  attr_accessor :sepa_bank_transfer_payments
1565
1332
  # The sepa_debit_payments capability.
1566
1333
  attr_accessor :sepa_debit_payments
1567
- # The shopeepay_payments capability.
1568
- attr_accessor :shopeepay_payments
1569
1334
  # The sofort_payments capability.
1570
1335
  attr_accessor :sofort_payments
1571
- # The stripe_balance_payments capability.
1572
- attr_accessor :stripe_balance_payments
1573
1336
  # The swish_payments capability.
1574
1337
  attr_accessor :swish_payments
1575
1338
  # The tax_reporting_us_1099_k capability.
@@ -1580,12 +1343,6 @@ module Stripe
1580
1343
  attr_accessor :transfers
1581
1344
  # The treasury capability.
1582
1345
  attr_accessor :treasury
1583
- # The treasury_evolve capability.
1584
- attr_accessor :treasury_evolve
1585
- # The treasury_fifth_third capability.
1586
- attr_accessor :treasury_fifth_third
1587
- # The treasury_goldman_sachs capability.
1588
- attr_accessor :treasury_goldman_sachs
1589
1346
  # The twint_payments capability.
1590
1347
  attr_accessor :twint_payments
1591
1348
  # The us_bank_account_ach_payments capability.
@@ -1602,7 +1359,6 @@ module Stripe
1602
1359
  alma_payments: nil,
1603
1360
  amazon_pay_payments: nil,
1604
1361
  au_becs_debit_payments: nil,
1605
- automatic_indirect_tax: nil,
1606
1362
  bacs_debit_payments: nil,
1607
1363
  bancontact_payments: nil,
1608
1364
  bank_transfer_payments: nil,
@@ -1617,10 +1373,7 @@ module Stripe
1617
1373
  fpx_payments: nil,
1618
1374
  gb_bank_transfer_payments: nil,
1619
1375
  giropay_payments: nil,
1620
- gopay_payments: nil,
1621
1376
  grabpay_payments: nil,
1622
- id_bank_transfer_payments: nil,
1623
- id_bank_transfer_payments_bca: nil,
1624
1377
  ideal_payments: nil,
1625
1378
  india_international_payments: nil,
1626
1379
  jcb_payments: nil,
@@ -1631,7 +1384,6 @@ module Stripe
1631
1384
  kr_card_payments: nil,
1632
1385
  legacy_payments: nil,
1633
1386
  link_payments: nil,
1634
- mb_way_payments: nil,
1635
1387
  mobilepay_payments: nil,
1636
1388
  multibanco_payments: nil,
1637
1389
  mx_bank_transfer_payments: nil,
@@ -1642,27 +1394,18 @@ module Stripe
1642
1394
  pay_by_bank_payments: nil,
1643
1395
  payco_payments: nil,
1644
1396
  paynow_payments: nil,
1645
- paypal_payments: nil,
1646
- payto_payments: nil,
1647
1397
  promptpay_payments: nil,
1648
- qris_payments: nil,
1649
- rechnung_payments: nil,
1650
1398
  revolut_pay_payments: nil,
1651
1399
  samsung_pay_payments: nil,
1652
1400
  satispay_payments: nil,
1653
1401
  sepa_bank_transfer_payments: nil,
1654
1402
  sepa_debit_payments: nil,
1655
- shopeepay_payments: nil,
1656
1403
  sofort_payments: nil,
1657
- stripe_balance_payments: nil,
1658
1404
  swish_payments: nil,
1659
1405
  tax_reporting_us_1099_k: nil,
1660
1406
  tax_reporting_us_1099_misc: nil,
1661
1407
  transfers: nil,
1662
1408
  treasury: nil,
1663
- treasury_evolve: nil,
1664
- treasury_fifth_third: nil,
1665
- treasury_goldman_sachs: nil,
1666
1409
  twint_payments: nil,
1667
1410
  us_bank_account_ach_payments: nil,
1668
1411
  us_bank_transfer_payments: nil,
@@ -1674,7 +1417,6 @@ module Stripe
1674
1417
  @alma_payments = alma_payments
1675
1418
  @amazon_pay_payments = amazon_pay_payments
1676
1419
  @au_becs_debit_payments = au_becs_debit_payments
1677
- @automatic_indirect_tax = automatic_indirect_tax
1678
1420
  @bacs_debit_payments = bacs_debit_payments
1679
1421
  @bancontact_payments = bancontact_payments
1680
1422
  @bank_transfer_payments = bank_transfer_payments
@@ -1689,10 +1431,7 @@ module Stripe
1689
1431
  @fpx_payments = fpx_payments
1690
1432
  @gb_bank_transfer_payments = gb_bank_transfer_payments
1691
1433
  @giropay_payments = giropay_payments
1692
- @gopay_payments = gopay_payments
1693
1434
  @grabpay_payments = grabpay_payments
1694
- @id_bank_transfer_payments = id_bank_transfer_payments
1695
- @id_bank_transfer_payments_bca = id_bank_transfer_payments_bca
1696
1435
  @ideal_payments = ideal_payments
1697
1436
  @india_international_payments = india_international_payments
1698
1437
  @jcb_payments = jcb_payments
@@ -1703,7 +1442,6 @@ module Stripe
1703
1442
  @kr_card_payments = kr_card_payments
1704
1443
  @legacy_payments = legacy_payments
1705
1444
  @link_payments = link_payments
1706
- @mb_way_payments = mb_way_payments
1707
1445
  @mobilepay_payments = mobilepay_payments
1708
1446
  @multibanco_payments = multibanco_payments
1709
1447
  @mx_bank_transfer_payments = mx_bank_transfer_payments
@@ -1714,27 +1452,18 @@ module Stripe
1714
1452
  @pay_by_bank_payments = pay_by_bank_payments
1715
1453
  @payco_payments = payco_payments
1716
1454
  @paynow_payments = paynow_payments
1717
- @paypal_payments = paypal_payments
1718
- @payto_payments = payto_payments
1719
1455
  @promptpay_payments = promptpay_payments
1720
- @qris_payments = qris_payments
1721
- @rechnung_payments = rechnung_payments
1722
1456
  @revolut_pay_payments = revolut_pay_payments
1723
1457
  @samsung_pay_payments = samsung_pay_payments
1724
1458
  @satispay_payments = satispay_payments
1725
1459
  @sepa_bank_transfer_payments = sepa_bank_transfer_payments
1726
1460
  @sepa_debit_payments = sepa_debit_payments
1727
- @shopeepay_payments = shopeepay_payments
1728
1461
  @sofort_payments = sofort_payments
1729
- @stripe_balance_payments = stripe_balance_payments
1730
1462
  @swish_payments = swish_payments
1731
1463
  @tax_reporting_us_1099_k = tax_reporting_us_1099_k
1732
1464
  @tax_reporting_us_1099_misc = tax_reporting_us_1099_misc
1733
1465
  @transfers = transfers
1734
1466
  @treasury = treasury
1735
- @treasury_evolve = treasury_evolve
1736
- @treasury_fifth_third = treasury_fifth_third
1737
- @treasury_goldman_sachs = treasury_goldman_sachs
1738
1467
  @twint_payments = twint_payments
1739
1468
  @us_bank_account_ach_payments = us_bank_account_ach_payments
1740
1469
  @us_bank_transfer_payments = us_bank_transfer_payments
@@ -2491,37 +2220,6 @@ module Stripe
2491
2220
  end
2492
2221
  end
2493
2222
 
2494
- class RiskControls < Stripe::RequestParams
2495
- class Charges < Stripe::RequestParams
2496
- # To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
2497
- # There can be a delay before the risk control is paused or unpaused.
2498
- attr_accessor :pause_requested
2499
-
2500
- def initialize(pause_requested: nil)
2501
- @pause_requested = pause_requested
2502
- end
2503
- end
2504
-
2505
- class Payouts < Stripe::RequestParams
2506
- # To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
2507
- # There can be a delay before the risk control is paused or unpaused.
2508
- attr_accessor :pause_requested
2509
-
2510
- def initialize(pause_requested: nil)
2511
- @pause_requested = pause_requested
2512
- end
2513
- end
2514
- # 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).
2515
- attr_accessor :charges
2516
- # 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).
2517
- attr_accessor :payouts
2518
-
2519
- def initialize(charges: nil, payouts: nil)
2520
- @charges = charges
2521
- @payouts = payouts
2522
- end
2523
- end
2524
-
2525
2223
  class Settings < Stripe::RequestParams
2526
2224
  class BacsDebitPayments < Stripe::RequestParams
2527
2225
  # 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.
@@ -2532,18 +2230,6 @@ module Stripe
2532
2230
  end
2533
2231
  end
2534
2232
 
2535
- class BankBcaOnboarding < Stripe::RequestParams
2536
- # Bank BCA business account holder name
2537
- attr_accessor :account_holder_name
2538
- # Bank BCA business account number
2539
- attr_accessor :business_account_number
2540
-
2541
- def initialize(account_holder_name: nil, business_account_number: nil)
2542
- @account_holder_name = account_holder_name
2543
- @business_account_number = business_account_number
2544
- end
2545
- end
2546
-
2547
2233
  class Branding < Stripe::RequestParams
2548
2234
  # (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.
2549
2235
  attr_accessor :icon
@@ -2562,18 +2248,6 @@ module Stripe
2562
2248
  end
2563
2249
  end
2564
2250
 
2565
- class Capital < Stripe::RequestParams
2566
- # Per-currency mapping of user-selected destination accounts used to pay out loans.
2567
- attr_accessor :payout_destination
2568
- # Per-currency mapping of all destination accounts eligible to receive Capital financing payouts.
2569
- attr_accessor :payout_destination_selector
2570
-
2571
- def initialize(payout_destination: nil, payout_destination_selector: nil)
2572
- @payout_destination = payout_destination
2573
- @payout_destination_selector = payout_destination_selector
2574
- end
2575
- end
2576
-
2577
2251
  class CardIssuing < Stripe::RequestParams
2578
2252
  class TosAcceptance < Stripe::RequestParams
2579
2253
  # The Unix timestamp marking when the account representative accepted the service agreement.
@@ -2694,15 +2368,6 @@ module Stripe
2694
2368
  end
2695
2369
  end
2696
2370
 
2697
- class TaxForms < Stripe::RequestParams
2698
- # Whether the account opted out of receiving their tax forms by postal delivery.
2699
- attr_accessor :consented_to_paperless_delivery
2700
-
2701
- def initialize(consented_to_paperless_delivery: nil)
2702
- @consented_to_paperless_delivery = consented_to_paperless_delivery
2703
- end
2704
- end
2705
-
2706
2371
  class Treasury < Stripe::RequestParams
2707
2372
  class TosAcceptance < Stripe::RequestParams
2708
2373
  # The Unix timestamp marking when the account representative accepted the service agreement.
@@ -2727,12 +2392,8 @@ module Stripe
2727
2392
  end
2728
2393
  # Settings specific to Bacs Direct Debit payments.
2729
2394
  attr_accessor :bacs_debit_payments
2730
- # Settings specific to bank BCA onboarding for Indonesia bank transfers payments method.
2731
- attr_accessor :bank_bca_onboarding
2732
2395
  # Settings used to apply the account's branding to email receipts, invoices, Checkout, and other products.
2733
2396
  attr_accessor :branding
2734
- # Settings specific to the account's use of the Capital product.
2735
- attr_accessor :capital
2736
2397
  # Settings specific to the account's use of the Card Issuing product.
2737
2398
  attr_accessor :card_issuing
2738
2399
  # Settings specific to card charging on the account.
@@ -2743,34 +2404,26 @@ module Stripe
2743
2404
  attr_accessor :payments
2744
2405
  # Settings specific to the account's payouts.
2745
2406
  attr_accessor :payouts
2746
- # Settings specific to the account's tax forms.
2747
- attr_accessor :tax_forms
2748
2407
  # Settings specific to the account's Treasury FinancialAccounts.
2749
2408
  attr_accessor :treasury
2750
2409
 
2751
2410
  def initialize(
2752
2411
  bacs_debit_payments: nil,
2753
- bank_bca_onboarding: nil,
2754
2412
  branding: nil,
2755
- capital: nil,
2756
2413
  card_issuing: nil,
2757
2414
  card_payments: nil,
2758
2415
  invoices: nil,
2759
2416
  payments: nil,
2760
2417
  payouts: nil,
2761
- tax_forms: nil,
2762
2418
  treasury: nil
2763
2419
  )
2764
2420
  @bacs_debit_payments = bacs_debit_payments
2765
- @bank_bca_onboarding = bank_bca_onboarding
2766
2421
  @branding = branding
2767
- @capital = capital
2768
2422
  @card_issuing = card_issuing
2769
2423
  @card_payments = card_payments
2770
2424
  @invoices = invoices
2771
2425
  @payments = payments
2772
2426
  @payouts = payouts
2773
- @tax_forms = tax_forms
2774
2427
  @treasury = treasury
2775
2428
  end
2776
2429
  end
@@ -2825,8 +2478,6 @@ module Stripe
2825
2478
  attr_accessor :individual
2826
2479
  # 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`.
2827
2480
  attr_accessor :metadata
2828
- # A hash to configure risk controls on the account. Please see [this page for more details](/connect/pausing-payments-or-payouts-on-connected-accounts).
2829
- attr_accessor :risk_controls
2830
2481
  # Options for customizing how the account functions within Stripe.
2831
2482
  attr_accessor :settings
2832
2483
  # 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.
@@ -2846,7 +2497,6 @@ module Stripe
2846
2497
  groups: nil,
2847
2498
  individual: nil,
2848
2499
  metadata: nil,
2849
- risk_controls: nil,
2850
2500
  settings: nil,
2851
2501
  tos_acceptance: nil
2852
2502
  )
@@ -2863,7 +2513,6 @@ module Stripe
2863
2513
  @groups = groups
2864
2514
  @individual = individual
2865
2515
  @metadata = metadata
2866
- @risk_controls = risk_controls
2867
2516
  @settings = settings
2868
2517
  @tos_acceptance = tos_acceptance
2869
2518
  end
@@ -3106,15 +2755,6 @@ module Stripe
3106
2755
  end
3107
2756
  end
3108
2757
 
3109
- class AutomaticIndirectTax < Stripe::RequestParams
3110
- # 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.
3111
- attr_accessor :requested
3112
-
3113
- def initialize(requested: nil)
3114
- @requested = requested
3115
- end
3116
- end
3117
-
3118
2758
  class BacsDebitPayments < Stripe::RequestParams
3119
2759
  # 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.
3120
2760
  attr_accessor :requested
@@ -3241,15 +2881,6 @@ module Stripe
3241
2881
  end
3242
2882
  end
3243
2883
 
3244
- class GopayPayments < Stripe::RequestParams
3245
- # 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.
3246
- attr_accessor :requested
3247
-
3248
- def initialize(requested: nil)
3249
- @requested = requested
3250
- end
3251
- end
3252
-
3253
2884
  class GrabpayPayments < Stripe::RequestParams
3254
2885
  # 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.
3255
2886
  attr_accessor :requested
@@ -3259,24 +2890,6 @@ module Stripe
3259
2890
  end
3260
2891
  end
3261
2892
 
3262
- class IdBankTransferPayments < Stripe::RequestParams
3263
- # 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.
3264
- attr_accessor :requested
3265
-
3266
- def initialize(requested: nil)
3267
- @requested = requested
3268
- end
3269
- end
3270
-
3271
- class IdBankTransferPaymentsBca < Stripe::RequestParams
3272
- # 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.
3273
- attr_accessor :requested
3274
-
3275
- def initialize(requested: nil)
3276
- @requested = requested
3277
- end
3278
- end
3279
-
3280
2893
  class IdealPayments < Stripe::RequestParams
3281
2894
  # 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.
3282
2895
  attr_accessor :requested
@@ -3367,15 +2980,6 @@ module Stripe
3367
2980
  end
3368
2981
  end
3369
2982
 
3370
- class MbWayPayments < Stripe::RequestParams
3371
- # 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.
3372
- attr_accessor :requested
3373
-
3374
- def initialize(requested: nil)
3375
- @requested = requested
3376
- end
3377
- end
3378
-
3379
2983
  class MobilepayPayments < Stripe::RequestParams
3380
2984
  # 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.
3381
2985
  attr_accessor :requested
@@ -3466,24 +3070,6 @@ module Stripe
3466
3070
  end
3467
3071
  end
3468
3072
 
3469
- class PaypalPayments < Stripe::RequestParams
3470
- # 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.
3471
- attr_accessor :requested
3472
-
3473
- def initialize(requested: nil)
3474
- @requested = requested
3475
- end
3476
- end
3477
-
3478
- class PaytoPayments < Stripe::RequestParams
3479
- # 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.
3480
- attr_accessor :requested
3481
-
3482
- def initialize(requested: nil)
3483
- @requested = requested
3484
- end
3485
- end
3486
-
3487
3073
  class PromptpayPayments < Stripe::RequestParams
3488
3074
  # 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.
3489
3075
  attr_accessor :requested
@@ -3493,24 +3079,6 @@ module Stripe
3493
3079
  end
3494
3080
  end
3495
3081
 
3496
- class QrisPayments < Stripe::RequestParams
3497
- # 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.
3498
- attr_accessor :requested
3499
-
3500
- def initialize(requested: nil)
3501
- @requested = requested
3502
- end
3503
- end
3504
-
3505
- class RechnungPayments < Stripe::RequestParams
3506
- # 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.
3507
- attr_accessor :requested
3508
-
3509
- def initialize(requested: nil)
3510
- @requested = requested
3511
- end
3512
- end
3513
-
3514
3082
  class RevolutPayPayments < Stripe::RequestParams
3515
3083
  # 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.
3516
3084
  attr_accessor :requested
@@ -3556,15 +3124,6 @@ module Stripe
3556
3124
  end
3557
3125
  end
3558
3126
 
3559
- class ShopeepayPayments < Stripe::RequestParams
3560
- # 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.
3561
- attr_accessor :requested
3562
-
3563
- def initialize(requested: nil)
3564
- @requested = requested
3565
- end
3566
- end
3567
-
3568
3127
  class SofortPayments < Stripe::RequestParams
3569
3128
  # 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.
3570
3129
  attr_accessor :requested
@@ -3574,15 +3133,6 @@ module Stripe
3574
3133
  end
3575
3134
  end
3576
3135
 
3577
- class StripeBalancePayments < Stripe::RequestParams
3578
- # 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.
3579
- attr_accessor :requested
3580
-
3581
- def initialize(requested: nil)
3582
- @requested = requested
3583
- end
3584
- end
3585
-
3586
3136
  class SwishPayments < Stripe::RequestParams
3587
3137
  # 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.
3588
3138
  attr_accessor :requested
@@ -3628,33 +3178,6 @@ module Stripe
3628
3178
  end
3629
3179
  end
3630
3180
 
3631
- class TreasuryEvolve < Stripe::RequestParams
3632
- # 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.
3633
- attr_accessor :requested
3634
-
3635
- def initialize(requested: nil)
3636
- @requested = requested
3637
- end
3638
- end
3639
-
3640
- class TreasuryFifthThird < Stripe::RequestParams
3641
- # 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.
3642
- attr_accessor :requested
3643
-
3644
- def initialize(requested: nil)
3645
- @requested = requested
3646
- end
3647
- end
3648
-
3649
- class TreasuryGoldmanSachs < Stripe::RequestParams
3650
- # 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.
3651
- attr_accessor :requested
3652
-
3653
- def initialize(requested: nil)
3654
- @requested = requested
3655
- end
3656
- end
3657
-
3658
3181
  class TwintPayments < Stripe::RequestParams
3659
3182
  # 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.
3660
3183
  attr_accessor :requested
@@ -3702,8 +3225,6 @@ module Stripe
3702
3225
  attr_accessor :amazon_pay_payments
3703
3226
  # The au_becs_debit_payments capability.
3704
3227
  attr_accessor :au_becs_debit_payments
3705
- # The automatic_indirect_tax capability.
3706
- attr_accessor :automatic_indirect_tax
3707
3228
  # The bacs_debit_payments capability.
3708
3229
  attr_accessor :bacs_debit_payments
3709
3230
  # The bancontact_payments capability.
@@ -3732,14 +3253,8 @@ module Stripe
3732
3253
  attr_accessor :gb_bank_transfer_payments
3733
3254
  # The giropay_payments capability.
3734
3255
  attr_accessor :giropay_payments
3735
- # The gopay_payments capability.
3736
- attr_accessor :gopay_payments
3737
3256
  # The grabpay_payments capability.
3738
3257
  attr_accessor :grabpay_payments
3739
- # The id_bank_transfer_payments capability.
3740
- attr_accessor :id_bank_transfer_payments
3741
- # The id_bank_transfer_payments_bca capability.
3742
- attr_accessor :id_bank_transfer_payments_bca
3743
3258
  # The ideal_payments capability.
3744
3259
  attr_accessor :ideal_payments
3745
3260
  # The india_international_payments capability.
@@ -3760,8 +3275,6 @@ module Stripe
3760
3275
  attr_accessor :legacy_payments
3761
3276
  # The link_payments capability.
3762
3277
  attr_accessor :link_payments
3763
- # The mb_way_payments capability.
3764
- attr_accessor :mb_way_payments
3765
3278
  # The mobilepay_payments capability.
3766
3279
  attr_accessor :mobilepay_payments
3767
3280
  # The multibanco_payments capability.
@@ -3782,16 +3295,8 @@ module Stripe
3782
3295
  attr_accessor :payco_payments
3783
3296
  # The paynow_payments capability.
3784
3297
  attr_accessor :paynow_payments
3785
- # The paypal_payments capability.
3786
- attr_accessor :paypal_payments
3787
- # The payto_payments capability.
3788
- attr_accessor :payto_payments
3789
3298
  # The promptpay_payments capability.
3790
3299
  attr_accessor :promptpay_payments
3791
- # The qris_payments capability.
3792
- attr_accessor :qris_payments
3793
- # The rechnung_payments capability.
3794
- attr_accessor :rechnung_payments
3795
3300
  # The revolut_pay_payments capability.
3796
3301
  attr_accessor :revolut_pay_payments
3797
3302
  # The samsung_pay_payments capability.
@@ -3802,12 +3307,8 @@ module Stripe
3802
3307
  attr_accessor :sepa_bank_transfer_payments
3803
3308
  # The sepa_debit_payments capability.
3804
3309
  attr_accessor :sepa_debit_payments
3805
- # The shopeepay_payments capability.
3806
- attr_accessor :shopeepay_payments
3807
3310
  # The sofort_payments capability.
3808
3311
  attr_accessor :sofort_payments
3809
- # The stripe_balance_payments capability.
3810
- attr_accessor :stripe_balance_payments
3811
3312
  # The swish_payments capability.
3812
3313
  attr_accessor :swish_payments
3813
3314
  # The tax_reporting_us_1099_k capability.
@@ -3818,12 +3319,6 @@ module Stripe
3818
3319
  attr_accessor :transfers
3819
3320
  # The treasury capability.
3820
3321
  attr_accessor :treasury
3821
- # The treasury_evolve capability.
3822
- attr_accessor :treasury_evolve
3823
- # The treasury_fifth_third capability.
3824
- attr_accessor :treasury_fifth_third
3825
- # The treasury_goldman_sachs capability.
3826
- attr_accessor :treasury_goldman_sachs
3827
3322
  # The twint_payments capability.
3828
3323
  attr_accessor :twint_payments
3829
3324
  # The us_bank_account_ach_payments capability.
@@ -3840,7 +3335,6 @@ module Stripe
3840
3335
  alma_payments: nil,
3841
3336
  amazon_pay_payments: nil,
3842
3337
  au_becs_debit_payments: nil,
3843
- automatic_indirect_tax: nil,
3844
3338
  bacs_debit_payments: nil,
3845
3339
  bancontact_payments: nil,
3846
3340
  bank_transfer_payments: nil,
@@ -3855,10 +3349,7 @@ module Stripe
3855
3349
  fpx_payments: nil,
3856
3350
  gb_bank_transfer_payments: nil,
3857
3351
  giropay_payments: nil,
3858
- gopay_payments: nil,
3859
3352
  grabpay_payments: nil,
3860
- id_bank_transfer_payments: nil,
3861
- id_bank_transfer_payments_bca: nil,
3862
3353
  ideal_payments: nil,
3863
3354
  india_international_payments: nil,
3864
3355
  jcb_payments: nil,
@@ -3869,7 +3360,6 @@ module Stripe
3869
3360
  kr_card_payments: nil,
3870
3361
  legacy_payments: nil,
3871
3362
  link_payments: nil,
3872
- mb_way_payments: nil,
3873
3363
  mobilepay_payments: nil,
3874
3364
  multibanco_payments: nil,
3875
3365
  mx_bank_transfer_payments: nil,
@@ -3880,27 +3370,18 @@ module Stripe
3880
3370
  pay_by_bank_payments: nil,
3881
3371
  payco_payments: nil,
3882
3372
  paynow_payments: nil,
3883
- paypal_payments: nil,
3884
- payto_payments: nil,
3885
3373
  promptpay_payments: nil,
3886
- qris_payments: nil,
3887
- rechnung_payments: nil,
3888
3374
  revolut_pay_payments: nil,
3889
3375
  samsung_pay_payments: nil,
3890
3376
  satispay_payments: nil,
3891
3377
  sepa_bank_transfer_payments: nil,
3892
3378
  sepa_debit_payments: nil,
3893
- shopeepay_payments: nil,
3894
3379
  sofort_payments: nil,
3895
- stripe_balance_payments: nil,
3896
3380
  swish_payments: nil,
3897
3381
  tax_reporting_us_1099_k: nil,
3898
3382
  tax_reporting_us_1099_misc: nil,
3899
3383
  transfers: nil,
3900
3384
  treasury: nil,
3901
- treasury_evolve: nil,
3902
- treasury_fifth_third: nil,
3903
- treasury_goldman_sachs: nil,
3904
3385
  twint_payments: nil,
3905
3386
  us_bank_account_ach_payments: nil,
3906
3387
  us_bank_transfer_payments: nil,
@@ -3912,7 +3393,6 @@ module Stripe
3912
3393
  @alma_payments = alma_payments
3913
3394
  @amazon_pay_payments = amazon_pay_payments
3914
3395
  @au_becs_debit_payments = au_becs_debit_payments
3915
- @automatic_indirect_tax = automatic_indirect_tax
3916
3396
  @bacs_debit_payments = bacs_debit_payments
3917
3397
  @bancontact_payments = bancontact_payments
3918
3398
  @bank_transfer_payments = bank_transfer_payments
@@ -3927,10 +3407,7 @@ module Stripe
3927
3407
  @fpx_payments = fpx_payments
3928
3408
  @gb_bank_transfer_payments = gb_bank_transfer_payments
3929
3409
  @giropay_payments = giropay_payments
3930
- @gopay_payments = gopay_payments
3931
3410
  @grabpay_payments = grabpay_payments
3932
- @id_bank_transfer_payments = id_bank_transfer_payments
3933
- @id_bank_transfer_payments_bca = id_bank_transfer_payments_bca
3934
3411
  @ideal_payments = ideal_payments
3935
3412
  @india_international_payments = india_international_payments
3936
3413
  @jcb_payments = jcb_payments
@@ -3941,7 +3418,6 @@ module Stripe
3941
3418
  @kr_card_payments = kr_card_payments
3942
3419
  @legacy_payments = legacy_payments
3943
3420
  @link_payments = link_payments
3944
- @mb_way_payments = mb_way_payments
3945
3421
  @mobilepay_payments = mobilepay_payments
3946
3422
  @multibanco_payments = multibanco_payments
3947
3423
  @mx_bank_transfer_payments = mx_bank_transfer_payments
@@ -3952,27 +3428,18 @@ module Stripe
3952
3428
  @pay_by_bank_payments = pay_by_bank_payments
3953
3429
  @payco_payments = payco_payments
3954
3430
  @paynow_payments = paynow_payments
3955
- @paypal_payments = paypal_payments
3956
- @payto_payments = payto_payments
3957
3431
  @promptpay_payments = promptpay_payments
3958
- @qris_payments = qris_payments
3959
- @rechnung_payments = rechnung_payments
3960
3432
  @revolut_pay_payments = revolut_pay_payments
3961
3433
  @samsung_pay_payments = samsung_pay_payments
3962
3434
  @satispay_payments = satispay_payments
3963
3435
  @sepa_bank_transfer_payments = sepa_bank_transfer_payments
3964
3436
  @sepa_debit_payments = sepa_debit_payments
3965
- @shopeepay_payments = shopeepay_payments
3966
3437
  @sofort_payments = sofort_payments
3967
- @stripe_balance_payments = stripe_balance_payments
3968
3438
  @swish_payments = swish_payments
3969
3439
  @tax_reporting_us_1099_k = tax_reporting_us_1099_k
3970
3440
  @tax_reporting_us_1099_misc = tax_reporting_us_1099_misc
3971
3441
  @transfers = transfers
3972
3442
  @treasury = treasury
3973
- @treasury_evolve = treasury_evolve
3974
- @treasury_fifth_third = treasury_fifth_third
3975
- @treasury_goldman_sachs = treasury_goldman_sachs
3976
3443
  @twint_payments = twint_payments
3977
3444
  @us_bank_account_ach_payments = us_bank_account_ach_payments
3978
3445
  @us_bank_transfer_payments = us_bank_transfer_payments
@@ -4304,30 +3771,6 @@ module Stripe
4304
3771
  end
4305
3772
 
4306
3773
  class Controller < Stripe::RequestParams
4307
- class Application < Stripe::RequestParams
4308
- # Whether the controller is liable for losses on this account. For details, see [Understanding Connect Account Balances](https://stripe.com/docs/connect/account-balances).
4309
- attr_accessor :loss_liable
4310
- # Whether the controller owns onboarding for this account.
4311
- attr_accessor :onboarding_owner
4312
- # Whether the controller has pricing controls for this account.
4313
- attr_accessor :pricing_controls
4314
-
4315
- def initialize(loss_liable: nil, onboarding_owner: nil, pricing_controls: nil)
4316
- @loss_liable = loss_liable
4317
- @onboarding_owner = onboarding_owner
4318
- @pricing_controls = pricing_controls
4319
- end
4320
- end
4321
-
4322
- class Dashboard < Stripe::RequestParams
4323
- # 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`.
4324
- attr_accessor :type
4325
-
4326
- def initialize(type: nil)
4327
- @type = type
4328
- end
4329
- end
4330
-
4331
3774
  class Fees < Stripe::RequestParams
4332
3775
  # 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).
4333
3776
  attr_accessor :payer
@@ -4354,10 +3797,6 @@ module Stripe
4354
3797
  @type = type
4355
3798
  end
4356
3799
  end
4357
- # A hash of configuration describing the Connect application that controls the account.
4358
- attr_accessor :application
4359
- # Properties of the account's dashboard.
4360
- attr_accessor :dashboard
4361
3800
  # A hash of configuration for who pays Stripe fees for product usage on this account.
4362
3801
  attr_accessor :fees
4363
3802
  # A hash of configuration for products that have negative balance liability, and whether Stripe or a Connect application is responsible for them.
@@ -4367,16 +3806,7 @@ module Stripe
4367
3806
  # A hash of configuration for Stripe-hosted dashboards.
4368
3807
  attr_accessor :stripe_dashboard
4369
3808
 
4370
- def initialize(
4371
- application: nil,
4372
- dashboard: nil,
4373
- fees: nil,
4374
- losses: nil,
4375
- requirement_collection: nil,
4376
- stripe_dashboard: nil
4377
- )
4378
- @application = application
4379
- @dashboard = dashboard
3809
+ def initialize(fees: nil, losses: nil, requirement_collection: nil, stripe_dashboard: nil)
4380
3810
  @fees = fees
4381
3811
  @losses = losses
4382
3812
  @requirement_collection = requirement_collection
@@ -4810,37 +4240,6 @@ module Stripe
4810
4240
  end
4811
4241
  end
4812
4242
 
4813
- class RiskControls < Stripe::RequestParams
4814
- class Charges < Stripe::RequestParams
4815
- # To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
4816
- # There can be a delay before the risk control is paused or unpaused.
4817
- attr_accessor :pause_requested
4818
-
4819
- def initialize(pause_requested: nil)
4820
- @pause_requested = pause_requested
4821
- end
4822
- end
4823
-
4824
- class Payouts < 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
- # 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).
4834
- attr_accessor :charges
4835
- # 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).
4836
- attr_accessor :payouts
4837
-
4838
- def initialize(charges: nil, payouts: nil)
4839
- @charges = charges
4840
- @payouts = payouts
4841
- end
4842
- end
4843
-
4844
4243
  class Settings < Stripe::RequestParams
4845
4244
  class BacsDebitPayments < Stripe::RequestParams
4846
4245
  # 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.
@@ -4851,18 +4250,6 @@ module Stripe
4851
4250
  end
4852
4251
  end
4853
4252
 
4854
- class BankBcaOnboarding < Stripe::RequestParams
4855
- # Bank BCA business account holder name
4856
- attr_accessor :account_holder_name
4857
- # Bank BCA business account number
4858
- attr_accessor :business_account_number
4859
-
4860
- def initialize(account_holder_name: nil, business_account_number: nil)
4861
- @account_holder_name = account_holder_name
4862
- @business_account_number = business_account_number
4863
- end
4864
- end
4865
-
4866
4253
  class Branding < Stripe::RequestParams
4867
4254
  # (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.
4868
4255
  attr_accessor :icon
@@ -4881,18 +4268,6 @@ module Stripe
4881
4268
  end
4882
4269
  end
4883
4270
 
4884
- class Capital < Stripe::RequestParams
4885
- # Per-currency mapping of user-selected destination accounts used to pay out loans.
4886
- attr_accessor :payout_destination
4887
- # Per-currency mapping of all destination accounts eligible to receive Capital financing payouts.
4888
- attr_accessor :payout_destination_selector
4889
-
4890
- def initialize(payout_destination: nil, payout_destination_selector: nil)
4891
- @payout_destination = payout_destination
4892
- @payout_destination_selector = payout_destination_selector
4893
- end
4894
- end
4895
-
4896
4271
  class CardIssuing < Stripe::RequestParams
4897
4272
  class TosAcceptance < Stripe::RequestParams
4898
4273
  # The Unix timestamp marking when the account representative accepted the service agreement.
@@ -5010,15 +4385,6 @@ module Stripe
5010
4385
  end
5011
4386
  end
5012
4387
 
5013
- class TaxForms < Stripe::RequestParams
5014
- # Whether the account opted out of receiving their tax forms by postal delivery.
5015
- attr_accessor :consented_to_paperless_delivery
5016
-
5017
- def initialize(consented_to_paperless_delivery: nil)
5018
- @consented_to_paperless_delivery = consented_to_paperless_delivery
5019
- end
5020
- end
5021
-
5022
4388
  class Treasury < Stripe::RequestParams
5023
4389
  class TosAcceptance < Stripe::RequestParams
5024
4390
  # The Unix timestamp marking when the account representative accepted the service agreement.
@@ -5043,12 +4409,8 @@ module Stripe
5043
4409
  end
5044
4410
  # Settings specific to Bacs Direct Debit.
5045
4411
  attr_accessor :bacs_debit_payments
5046
- # Settings specific to bank BCA onboarding for Indonesia bank transfers payments method.
5047
- attr_accessor :bank_bca_onboarding
5048
4412
  # Settings used to apply the account's branding to email receipts, invoices, Checkout, and other products.
5049
4413
  attr_accessor :branding
5050
- # Settings specific to the account's use of the Capital product.
5051
- attr_accessor :capital
5052
4414
  # Settings specific to the account's use of the Card Issuing product.
5053
4415
  attr_accessor :card_issuing
5054
4416
  # Settings specific to card charging on the account.
@@ -5059,34 +4421,26 @@ module Stripe
5059
4421
  attr_accessor :payments
5060
4422
  # Settings specific to the account's payouts.
5061
4423
  attr_accessor :payouts
5062
- # Settings specific to the account's tax forms.
5063
- attr_accessor :tax_forms
5064
4424
  # Settings specific to the account's Treasury FinancialAccounts.
5065
4425
  attr_accessor :treasury
5066
4426
 
5067
4427
  def initialize(
5068
4428
  bacs_debit_payments: nil,
5069
- bank_bca_onboarding: nil,
5070
4429
  branding: nil,
5071
- capital: nil,
5072
4430
  card_issuing: nil,
5073
4431
  card_payments: nil,
5074
4432
  invoices: nil,
5075
4433
  payments: nil,
5076
4434
  payouts: nil,
5077
- tax_forms: nil,
5078
4435
  treasury: nil
5079
4436
  )
5080
4437
  @bacs_debit_payments = bacs_debit_payments
5081
- @bank_bca_onboarding = bank_bca_onboarding
5082
4438
  @branding = branding
5083
- @capital = capital
5084
4439
  @card_issuing = card_issuing
5085
4440
  @card_payments = card_payments
5086
4441
  @invoices = invoices
5087
4442
  @payments = payments
5088
4443
  @payouts = payouts
5089
- @tax_forms = tax_forms
5090
4444
  @treasury = treasury
5091
4445
  end
5092
4446
  end
@@ -5145,8 +4499,6 @@ module Stripe
5145
4499
  attr_accessor :individual
5146
4500
  # 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`.
5147
4501
  attr_accessor :metadata
5148
- # A hash to configure risk controls on the account. Please see [this page for more details](/connect/pausing-payments-or-payouts-on-connected-accounts).
5149
- attr_accessor :risk_controls
5150
4502
  # Options for customizing how the account functions within Stripe.
5151
4503
  attr_accessor :settings
5152
4504
  # 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.
@@ -5170,7 +4522,6 @@ module Stripe
5170
4522
  groups: nil,
5171
4523
  individual: nil,
5172
4524
  metadata: nil,
5173
- risk_controls: nil,
5174
4525
  settings: nil,
5175
4526
  tos_acceptance: nil,
5176
4527
  type: nil
@@ -5190,7 +4541,6 @@ module Stripe
5190
4541
  @groups = groups
5191
4542
  @individual = individual
5192
4543
  @metadata = metadata
5193
- @risk_controls = risk_controls
5194
4544
  @settings = settings
5195
4545
  @tos_acceptance = tos_acceptance
5196
4546
  @type = type
@@ -5309,8 +4659,6 @@ module Stripe
5309
4659
  attr_reader :payouts_enabled
5310
4660
  # Attribute for field requirements
5311
4661
  attr_reader :requirements
5312
- # Attribute for field risk_controls
5313
- attr_reader :risk_controls
5314
4662
  # Options for customizing how the account functions within Stripe.
5315
4663
  attr_reader :settings
5316
4664
  # Attribute for field tos_acceptance