stripe 15.4.0.pre.beta.1 → 15.4.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 (603) hide show
  1. checksums.yaml +4 -4
  2. data/API_VERSION +1 -1
  3. data/CHANGELOG.md +686 -1593
  4. data/OPENAPI_VERSION +1 -1
  5. data/README.md +1 -1
  6. data/VERSION +1 -1
  7. data/lib/stripe/api_requestor.rb +0 -28
  8. data/lib/stripe/api_version.rb +2 -1
  9. data/lib/stripe/errors.rb +0 -54
  10. data/lib/stripe/event_types.rb +0 -98
  11. data/lib/stripe/object_types.rb +0 -50
  12. data/lib/stripe/resources/account.rb +6 -658
  13. data/lib/stripe/resources/account_link.rb +3 -1
  14. data/lib/stripe/resources/account_session.rb +52 -256
  15. data/lib/stripe/resources/billing/credit_balance_summary.rb +0 -2
  16. data/lib/stripe/resources/billing/credit_balance_transaction.rb +0 -4
  17. data/lib/stripe/resources/billing/credit_grant.rb +1 -11
  18. data/lib/stripe/resources/billing_portal/configuration.rb +46 -2
  19. data/lib/stripe/resources/billing_portal/session.rb +0 -6
  20. data/lib/stripe/resources/card.rb +0 -2
  21. data/lib/stripe/resources/cash_balance.rb +0 -2
  22. data/lib/stripe/resources/charge.rb +7 -1543
  23. data/lib/stripe/resources/checkout/session.rb +24 -320
  24. data/lib/stripe/resources/confirmation_token.rb +3 -173
  25. data/lib/stripe/resources/coupon.rb +1 -30
  26. data/lib/stripe/resources/credit_note.rb +0 -6
  27. data/lib/stripe/resources/credit_note_line_item.rb +0 -9
  28. data/lib/stripe/resources/customer.rb +1 -3
  29. data/lib/stripe/resources/customer_balance_transaction.rb +0 -2
  30. data/lib/stripe/resources/customer_cash_balance_transaction.rb +0 -2
  31. data/lib/stripe/resources/customer_session.rb +1 -6
  32. data/lib/stripe/resources/discount.rb +0 -2
  33. data/lib/stripe/resources/dispute.rb +1 -3
  34. data/lib/stripe/resources/event.rb +14 -57
  35. data/lib/stripe/resources/financial_connections/account.rb +1 -22
  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 +40 -1071
  39. data/lib/stripe/resources/invoice_item.rb +3 -79
  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 +297 -5243
  47. data/lib/stripe/resources/payment_link.rb +83 -5
  48. data/lib/stripe/resources/payment_method.rb +5 -196
  49. data/lib/stripe/resources/payment_method_configuration.rb +0 -295
  50. data/lib/stripe/resources/payout.rb +0 -6
  51. data/lib/stripe/resources/price.rb +0 -30
  52. data/lib/stripe/resources/promotion_code.rb +0 -10
  53. data/lib/stripe/resources/quote.rb +8 -2039
  54. data/lib/stripe/resources/radar/value_list.rb +2 -2
  55. data/lib/stripe/resources/refund.rb +1 -10
  56. data/lib/stripe/resources/review.rb +2 -2
  57. data/lib/stripe/resources/setup_attempt.rb +1 -22
  58. data/lib/stripe/resources/setup_intent.rb +9 -578
  59. data/lib/stripe/resources/source.rb +0 -29
  60. data/lib/stripe/resources/subscription.rb +11 -290
  61. data/lib/stripe/resources/subscription_item.rb +5 -86
  62. data/lib/stripe/resources/subscription_schedule.rb +45 -1010
  63. data/lib/stripe/resources/tax/registration.rb +408 -30
  64. data/lib/stripe/resources/tax_id.rb +2 -12
  65. data/lib/stripe/resources/terminal/configuration.rb +196 -0
  66. data/lib/stripe/resources/terminal/reader.rb +0 -8
  67. data/lib/stripe/resources/transfer.rb +0 -6
  68. data/lib/stripe/resources/treasury/financial_account.rb +3 -22
  69. data/lib/stripe/resources/treasury/financial_account_features.rb +0 -2
  70. data/lib/stripe/resources/treasury/outbound_transfer.rb +0 -37
  71. data/lib/stripe/resources/treasury/received_credit.rb +1 -38
  72. data/lib/stripe/resources/treasury/received_debit.rb +1 -40
  73. data/lib/stripe/resources.rb +0 -104
  74. data/lib/stripe/services/account_link_service.rb +3 -1
  75. data/lib/stripe/services/account_service.rb +4 -565
  76. data/lib/stripe/services/account_session_service.rb +35 -226
  77. data/lib/stripe/services/billing/credit_balance_summary_service.rb +1 -4
  78. data/lib/stripe/services/billing/credit_balance_transaction_service.rb +0 -4
  79. data/lib/stripe/services/billing/credit_grant_service.rb +1 -9
  80. data/lib/stripe/services/billing_portal/configuration_service.rb +36 -2
  81. data/lib/stripe/services/billing_portal/session_service.rb +0 -4
  82. data/lib/stripe/services/charge_service.rb +0 -1418
  83. data/lib/stripe/services/checkout/session_service.rb +16 -241
  84. data/lib/stripe/services/coupon_service.rb +1 -17
  85. data/lib/stripe/services/credit_note_service.rb +0 -4
  86. data/lib/stripe/services/customer_session_service.rb +1 -4
  87. data/lib/stripe/services/financial_connections/account_service.rb +2 -7
  88. data/lib/stripe/services/financial_connections/session_service.rb +2 -34
  89. data/lib/stripe/services/financial_connections_service.rb +1 -2
  90. data/lib/stripe/services/identity/verification_session_service.rb +0 -8
  91. data/lib/stripe/services/invoice_item_service.rb +3 -75
  92. data/lib/stripe/services/invoice_line_item_service.rb +1 -33
  93. data/lib/stripe/services/invoice_payment_service.rb +83 -0
  94. data/lib/stripe/services/invoice_service.rb +40 -1022
  95. data/lib/stripe/services/issuing/cardholder_service.rb +1 -2
  96. data/lib/stripe/services/issuing/transaction_service.rb +0 -4
  97. data/lib/stripe/services/issuing_service.rb +1 -5
  98. data/lib/stripe/services/payment_intent_service.rb +399 -4882
  99. data/lib/stripe/services/payment_link_service.rb +81 -5
  100. data/lib/stripe/services/payment_method_configuration_service.rb +0 -210
  101. data/lib/stripe/services/payment_method_service.rb +2 -121
  102. data/lib/stripe/services/payout_service.rb +0 -4
  103. data/lib/stripe/services/price_service.rb +0 -19
  104. data/lib/stripe/services/promotion_code_service.rb +0 -8
  105. data/lib/stripe/services/quote_service.rb +9 -1724
  106. data/lib/stripe/services/radar/value_list_service.rb +1 -1
  107. data/lib/stripe/services/setup_intent_service.rb +9 -538
  108. data/lib/stripe/services/subscription_item_service.rb +5 -77
  109. data/lib/stripe/services/subscription_schedule_service.rb +45 -914
  110. data/lib/stripe/services/subscription_service.rb +11 -251
  111. data/lib/stripe/services/tax/registration_service.rb +360 -30
  112. data/lib/stripe/services/tax_id_service.rb +2 -8
  113. data/lib/stripe/services/tax_service.rb +1 -3
  114. data/lib/stripe/services/terminal/configuration_service.rb +152 -0
  115. data/lib/stripe/services/terminal_service.rb +1 -2
  116. data/lib/stripe/services/test_helpers/confirmation_token_service.rb +0 -97
  117. data/lib/stripe/services/test_helpers/treasury/received_credit_service.rb +1 -25
  118. data/lib/stripe/services/test_helpers/treasury/received_debit_service.rb +1 -25
  119. data/lib/stripe/services/transfer_service.rb +0 -4
  120. data/lib/stripe/services/treasury/financial_account_features_service.rb +1 -4
  121. data/lib/stripe/services/treasury/financial_account_service.rb +2 -16
  122. data/lib/stripe/services/treasury/outbound_transfer_service.rb +0 -24
  123. data/lib/stripe/services/v1_services.rb +2 -11
  124. data/lib/stripe/services/v2/core_service.rb +1 -4
  125. data/lib/stripe/services/v2_services.rb +1 -4
  126. data/lib/stripe/services.rb +1 -53
  127. data/lib/stripe/stripe_configuration.rb +1 -3
  128. data/lib/stripe/stripe_object.rb +1 -1
  129. data/lib/stripe/util.rb +1 -7
  130. data/lib/stripe/version.rb +1 -1
  131. data/lib/stripe.rb +0 -53
  132. data/rbi/stripe/resources/account.rbi +4995 -0
  133. data/rbi/stripe/resources/account_link.rbi +76 -0
  134. data/rbi/stripe/resources/account_session.rbi +1074 -0
  135. data/rbi/stripe/resources/apple_pay_domain.rbi +88 -0
  136. data/rbi/stripe/resources/application.rbi +20 -0
  137. data/rbi/stripe/resources/application_fee.rbi +118 -0
  138. data/rbi/stripe/resources/application_fee_refund.rbi +37 -0
  139. data/rbi/stripe/resources/apps/secret.rbi +195 -0
  140. data/rbi/stripe/resources/balance.rbi +235 -0
  141. data/rbi/stripe/resources/balance_transaction.rbi +147 -0
  142. data/rbi/stripe/resources/bank_account.rbi +127 -0
  143. data/rbi/stripe/resources/billing/alert.rbi +201 -0
  144. data/rbi/stripe/resources/billing/alert_triggered.rbi +28 -0
  145. data/rbi/stripe/resources/billing/credit_balance_summary.rbi +63 -0
  146. data/rbi/stripe/resources/billing/credit_balance_transaction.rbi +147 -0
  147. data/rbi/stripe/resources/billing/credit_grant.rbi +291 -0
  148. data/rbi/stripe/resources/billing/meter.rbi +226 -0
  149. data/rbi/stripe/resources/billing/meter_event.rbi +64 -0
  150. data/rbi/stripe/resources/billing/meter_event_adjustment.rbi +64 -0
  151. data/rbi/stripe/resources/billing/meter_event_summary.rbi +35 -0
  152. data/rbi/stripe/resources/billing_portal/configuration.rbi +703 -0
  153. data/rbi/stripe/resources/billing_portal/session.rbi +345 -0
  154. data/rbi/stripe/resources/capability.rbi +125 -0
  155. data/rbi/stripe/resources/card.rbi +125 -0
  156. data/rbi/stripe/resources/cash_balance.rbi +32 -0
  157. data/rbi/stripe/resources/charge.rbi +2089 -0
  158. data/rbi/stripe/resources/checkout/session.rbi +4095 -0
  159. data/rbi/stripe/resources/climate/order.rbi +245 -0
  160. data/rbi/stripe/resources/climate/product.rbi +75 -0
  161. data/rbi/stripe/resources/climate/supplier.rbi +72 -0
  162. data/rbi/stripe/resources/confirmation_token.rbi +1818 -0
  163. data/rbi/stripe/resources/connect_collection_transfer.rbi +26 -0
  164. data/rbi/stripe/resources/country_spec.rbi +85 -0
  165. data/rbi/stripe/resources/coupon.rbi +250 -0
  166. data/rbi/stripe/resources/credit_note.rbi +752 -0
  167. data/rbi/stripe/resources/credit_note_line_item.rbi +101 -0
  168. data/rbi/stripe/resources/customer.rbi +1005 -0
  169. data/rbi/stripe/resources/customer_balance_transaction.rbi +56 -0
  170. data/rbi/stripe/resources/customer_cash_balance_transaction.rbi +151 -0
  171. data/rbi/stripe/resources/customer_session.rbi +200 -0
  172. data/rbi/stripe/resources/discount.rbi +53 -0
  173. data/rbi/stripe/resources/dispute.rbi +761 -0
  174. data/rbi/stripe/resources/entitlements/active_entitlement.rbi +58 -0
  175. data/rbi/stripe/resources/entitlements/active_entitlement_summary.rbi +23 -0
  176. data/rbi/stripe/resources/entitlements/feature.rbi +117 -0
  177. data/rbi/stripe/resources/ephemeral_key.rbi +44 -0
  178. data/rbi/stripe/resources/event.rbi +137 -0
  179. data/rbi/stripe/resources/exchange_rate.rbi +66 -0
  180. data/rbi/stripe/resources/file.rbi +143 -0
  181. data/rbi/stripe/resources/file_link.rbi +141 -0
  182. data/rbi/stripe/resources/financial_connections/account.rbi +339 -0
  183. data/rbi/stripe/resources/financial_connections/account_owner.rbi +35 -0
  184. data/rbi/stripe/resources/financial_connections/account_ownership.rbi +23 -0
  185. data/rbi/stripe/resources/financial_connections/session.rbi +123 -0
  186. data/rbi/stripe/resources/financial_connections/transaction.rbi +124 -0
  187. data/rbi/stripe/resources/forwarding/request.rbi +216 -0
  188. data/rbi/stripe/resources/funding_instructions.rbi +437 -0
  189. data/rbi/stripe/resources/identity/verification_report.rbi +360 -0
  190. data/rbi/stripe/resources/identity/verification_session.rbi +564 -0
  191. data/rbi/stripe/resources/invoice.rbi +3858 -0
  192. data/rbi/stripe/resources/invoice_item.rbi +470 -0
  193. data/rbi/stripe/resources/invoice_line_item.rbi +432 -0
  194. data/rbi/stripe/resources/invoice_payment.rbi +121 -0
  195. data/rbi/stripe/resources/invoice_rendering_template.rbi +104 -0
  196. data/rbi/stripe/resources/issuing/authorization.rbi +1283 -0
  197. data/rbi/stripe/resources/issuing/card.rbi +741 -0
  198. data/rbi/stripe/resources/issuing/cardholder.rbi +744 -0
  199. data/rbi/stripe/resources/issuing/dispute.rbi +913 -0
  200. data/rbi/stripe/resources/issuing/personalization_design.rbi +338 -0
  201. data/rbi/stripe/resources/issuing/physical_bundle.rbi +79 -0
  202. data/rbi/stripe/resources/issuing/token.rbi +226 -0
  203. data/rbi/stripe/resources/issuing/transaction.rbi +1061 -0
  204. data/rbi/stripe/resources/line_item.rbi +72 -0
  205. data/rbi/stripe/resources/login_link.rbi +19 -0
  206. data/rbi/stripe/resources/mandate.rbi +191 -0
  207. data/rbi/stripe/resources/payment_intent.rbi +9997 -0
  208. data/rbi/stripe/resources/payment_link.rbi +1893 -0
  209. data/rbi/stripe/resources/payment_method.rbi +1770 -0
  210. data/rbi/stripe/resources/payment_method_configuration.rbi +3550 -0
  211. data/rbi/stripe/resources/payment_method_domain.rbi +228 -0
  212. data/rbi/stripe/resources/payout.rbi +300 -0
  213. data/rbi/stripe/resources/person.rbi +401 -0
  214. data/rbi/stripe/resources/plan.rbi +371 -0
  215. data/rbi/stripe/resources/price.rbi +694 -0
  216. data/rbi/stripe/resources/product.rbi +555 -0
  217. data/rbi/stripe/resources/product_feature.rbi +26 -0
  218. data/rbi/stripe/resources/promotion_code.rbi +261 -0
  219. data/rbi/stripe/resources/quote.rbi +1145 -0
  220. data/rbi/stripe/resources/radar/early_fraud_warning.rbi +98 -0
  221. data/rbi/stripe/resources/radar/value_list.rbi +168 -0
  222. data/rbi/stripe/resources/radar/value_list_item.rbi +129 -0
  223. data/rbi/stripe/resources/refund.rbi +523 -0
  224. data/rbi/stripe/resources/reporting/report_run.rbi +191 -0
  225. data/rbi/stripe/resources/reporting/report_type.rbi +57 -0
  226. data/rbi/stripe/resources/reserve_transaction.rbi +23 -0
  227. data/rbi/stripe/resources/reversal.rbi +51 -0
  228. data/rbi/stripe/resources/review.rbi +154 -0
  229. data/rbi/stripe/resources/setup_attempt.rbi +477 -0
  230. data/rbi/stripe/resources/setup_intent.rbi +3978 -0
  231. data/rbi/stripe/resources/shipping_rate.rbi +305 -0
  232. data/rbi/stripe/resources/sigma/scheduled_query_run.rbi +75 -0
  233. data/rbi/stripe/resources/source.rbi +1496 -0
  234. data/rbi/stripe/resources/source_mandate_notification.rbi +77 -0
  235. data/rbi/stripe/resources/source_transaction.rbi +127 -0
  236. data/rbi/stripe/resources/subscription.rbi +2080 -0
  237. data/rbi/stripe/resources/subscription_item.rbi +404 -0
  238. data/rbi/stripe/resources/subscription_schedule.rbi +1673 -0
  239. data/rbi/stripe/resources/tax/calculation.rbi +478 -0
  240. data/rbi/stripe/resources/tax/calculation_line_item.rbi +91 -0
  241. data/rbi/stripe/resources/tax/registration.rbi +3216 -0
  242. data/rbi/stripe/resources/tax/settings.rbi +141 -0
  243. data/rbi/stripe/resources/tax/transaction.rbi +351 -0
  244. data/rbi/stripe/resources/tax/transaction_line_item.rbi +54 -0
  245. data/rbi/stripe/resources/tax_code.rbi +44 -0
  246. data/rbi/stripe/resources/tax_deducted_at_source.rbi +23 -0
  247. data/rbi/stripe/resources/tax_id.rbi +165 -0
  248. data/rbi/stripe/resources/tax_rate.rbi +239 -0
  249. data/rbi/stripe/resources/terminal/configuration.rbi +1595 -0
  250. data/rbi/stripe/resources/terminal/connection_token.rbi +37 -0
  251. data/rbi/stripe/resources/terminal/location.rbi +222 -0
  252. data/rbi/stripe/resources/terminal/reader.rbi +994 -0
  253. data/rbi/stripe/resources/test_helpers/test_clock.rbi +132 -0
  254. data/rbi/stripe/resources/token.rbi +1283 -0
  255. data/rbi/stripe/resources/topup.rbi +222 -0
  256. data/rbi/stripe/resources/transfer.rbi +199 -0
  257. data/rbi/stripe/resources/treasury/credit_reversal.rbi +119 -0
  258. data/rbi/stripe/resources/treasury/debit_reversal.rbi +131 -0
  259. data/rbi/stripe/resources/treasury/financial_account.rbi +869 -0
  260. data/rbi/stripe/resources/treasury/financial_account_features.rbi +260 -0
  261. data/rbi/stripe/resources/treasury/inbound_transfer.rbi +295 -0
  262. data/rbi/stripe/resources/treasury/outbound_payment.rbi +592 -0
  263. data/rbi/stripe/resources/treasury/outbound_transfer.rbi +431 -0
  264. data/rbi/stripe/resources/treasury/received_credit.rbi +302 -0
  265. data/rbi/stripe/resources/treasury/received_debit.rbi +256 -0
  266. data/rbi/stripe/resources/treasury/transaction.rbi +215 -0
  267. data/rbi/stripe/resources/treasury/transaction_entry.rbi +192 -0
  268. data/rbi/stripe/resources/v2/amount.rbi +14 -0
  269. data/rbi/stripe/resources/v2/billing/meter_event.rbi +37 -0
  270. data/rbi/stripe/resources/v2/billing/meter_event_adjustment.rbi +41 -0
  271. data/rbi/stripe/resources/v2/billing/meter_event_session.rbi +31 -0
  272. data/rbi/stripe/resources/v2/event.rbi +48 -0
  273. data/rbi/stripe/resources/v2/event_destination.rbi +91 -0
  274. data/rbi/stripe/resources/webhook_endpoint.rbi +168 -0
  275. data/rbi/stripe/services/account_capability_service.rbi +51 -0
  276. data/{lib/stripe/services/external_account_service.rb → rbi/stripe/services/account_external_account_service.rbi} +122 -135
  277. data/rbi/stripe/services/account_link_service.rbi +60 -0
  278. data/rbi/stripe/services/account_login_link_service.rbi +22 -0
  279. data/rbi/stripe/services/account_person_service.rbi +1011 -0
  280. data/rbi/stripe/services/account_service.rbi +4281 -0
  281. data/rbi/stripe/services/account_session_service.rbi +685 -0
  282. data/rbi/stripe/services/apple_pay_domain_service.rbi +76 -0
  283. data/rbi/stripe/services/application_fee_refund_service.rbi +93 -0
  284. data/rbi/stripe/services/application_fee_service.rbi +78 -0
  285. data/rbi/stripe/services/apps/secret_service.rbi +151 -0
  286. data/rbi/stripe/services/apps_service.rbi +9 -0
  287. data/rbi/stripe/services/balance_service.rbi +21 -0
  288. data/rbi/stripe/services/balance_transaction_service.rbi +93 -0
  289. data/rbi/stripe/services/billing/alert_service.rbi +152 -0
  290. data/rbi/stripe/services/billing/credit_balance_summary_service.rbi +68 -0
  291. data/rbi/stripe/services/billing/credit_balance_transaction_service.rbi +59 -0
  292. data/rbi/stripe/services/billing/credit_grant_service.rbi +211 -0
  293. data/rbi/stripe/services/billing/meter_event_adjustment_service.rbi +42 -0
  294. data/rbi/stripe/services/billing/meter_event_service.rbi +42 -0
  295. data/rbi/stripe/services/billing/meter_event_summary_service.rbi +54 -0
  296. data/rbi/stripe/services/billing/meter_service.rbi +163 -0
  297. data/rbi/stripe/services/billing_portal/configuration_service.rbi +555 -0
  298. data/rbi/stripe/services/billing_portal/session_service.rbi +204 -0
  299. data/rbi/stripe/services/billing_portal_service.rbi +10 -0
  300. data/rbi/stripe/services/billing_service.rbi +15 -0
  301. data/rbi/stripe/services/charge_service.rbi +448 -0
  302. data/rbi/stripe/services/checkout/session_line_item_service.rbi +33 -0
  303. data/rbi/stripe/services/checkout/session_service.rbi +2690 -0
  304. data/rbi/stripe/services/checkout_service.rbi +9 -0
  305. data/rbi/stripe/services/climate/order_service.rbi +142 -0
  306. data/rbi/stripe/services/climate/product_service.rbi +46 -0
  307. data/{lib/stripe/services/financial_connections/institution_service.rb → rbi/stripe/services/climate/supplier_service.rbi} +25 -36
  308. data/rbi/stripe/services/climate_service.rbi +11 -0
  309. data/rbi/stripe/services/confirmation_token_service.rbi +20 -0
  310. data/rbi/stripe/services/country_spec_service.rbi +44 -0
  311. data/rbi/stripe/services/coupon_service.rbi +194 -0
  312. data/{lib/stripe/services/quote_preview_invoice_service.rb → rbi/stripe/services/credit_note_line_item_service.rbi} +16 -20
  313. data/rbi/stripe/services/credit_note_preview_lines_service.rbi +167 -0
  314. data/rbi/stripe/services/credit_note_service.rbi +415 -0
  315. data/rbi/stripe/services/customer_balance_transaction_service.rbi +92 -0
  316. data/rbi/stripe/services/customer_cash_balance_service.rbi +45 -0
  317. data/rbi/stripe/services/customer_cash_balance_transaction_service.rbi +44 -0
  318. data/rbi/stripe/services/customer_funding_instructions_service.rbi +59 -0
  319. data/rbi/stripe/services/customer_payment_method_service.rbi +57 -0
  320. data/rbi/stripe/services/customer_payment_source_service.rbi +232 -0
  321. data/rbi/stripe/services/customer_service.rbi +647 -0
  322. data/rbi/stripe/services/customer_session_service.rbi +116 -0
  323. data/rbi/stripe/services/customer_tax_id_service.rbi +70 -0
  324. data/rbi/stripe/services/dispute_service.rbi +424 -0
  325. data/rbi/stripe/services/entitlements/active_entitlement_service.rbi +55 -0
  326. data/rbi/stripe/services/entitlements/feature_service.rbi +107 -0
  327. data/rbi/stripe/services/entitlements_service.rbi +10 -0
  328. data/rbi/stripe/services/ephemeral_key_service.rbi +53 -0
  329. data/rbi/stripe/services/event_service.rbi +83 -0
  330. data/rbi/stripe/services/exchange_rate_service.rbi +44 -0
  331. data/rbi/stripe/services/file_link_service.rbi +124 -0
  332. data/rbi/stripe/services/file_service.rbi +116 -0
  333. data/rbi/stripe/services/financial_connections/account_owner_service.rbi +42 -0
  334. data/rbi/stripe/services/financial_connections/account_service.rbi +133 -0
  335. data/rbi/stripe/services/financial_connections/session_service.rbi +88 -0
  336. data/rbi/stripe/services/financial_connections/transaction_service.rbi +92 -0
  337. data/rbi/stripe/services/financial_connections_service.rbi +11 -0
  338. data/rbi/stripe/services/forwarding/request_service.rbi +134 -0
  339. data/rbi/stripe/services/forwarding_service.rbi +9 -0
  340. data/rbi/stripe/services/identity/verification_report_service.rbi +87 -0
  341. data/rbi/stripe/services/identity/verification_session_service.rbi +339 -0
  342. data/rbi/stripe/services/identity_service.rbi +10 -0
  343. data/rbi/stripe/services/invoice_item_service.rbi +366 -0
  344. data/rbi/stripe/services/invoice_line_item_service.rbi +259 -0
  345. data/rbi/stripe/services/invoice_payment_service.rbi +71 -0
  346. data/rbi/stripe/services/invoice_rendering_template_service.rbi +82 -0
  347. data/rbi/stripe/services/invoice_service.rbi +3027 -0
  348. data/rbi/stripe/services/issuing/authorization_service.rbi +146 -0
  349. data/rbi/stripe/services/issuing/card_service.rbi +495 -0
  350. data/rbi/stripe/services/issuing/cardholder_service.rbi +587 -0
  351. data/rbi/stripe/services/issuing/dispute_service.rbi +707 -0
  352. data/rbi/stripe/services/issuing/personalization_design_service.rbi +243 -0
  353. data/rbi/stripe/services/issuing/physical_bundle_service.rbi +59 -0
  354. data/rbi/stripe/services/issuing/token_service.rbi +99 -0
  355. data/rbi/stripe/services/issuing/transaction_service.rbi +105 -0
  356. data/rbi/stripe/services/issuing_service.rbi +16 -0
  357. data/rbi/stripe/services/mandate_service.rbi +20 -0
  358. data/rbi/stripe/services/payment_intent_service.rbi +7994 -0
  359. data/{lib/stripe/services/payment_intent_amount_details_line_item_service.rb → rbi/stripe/services/payment_link_line_item_service.rbi} +16 -20
  360. data/rbi/stripe/services/payment_link_service.rbi +1441 -0
  361. data/rbi/stripe/services/payment_method_configuration_service.rbi +2487 -0
  362. data/rbi/stripe/services/payment_method_domain_service.rbi +112 -0
  363. data/rbi/stripe/services/payment_method_service.rbi +781 -0
  364. data/rbi/stripe/services/payout_service.rbi +205 -0
  365. data/rbi/stripe/services/plan_service.rbi +282 -0
  366. data/rbi/stripe/services/price_service.rbi +546 -0
  367. data/rbi/stripe/services/product_feature_service.rbi +67 -0
  368. data/rbi/stripe/services/product_service.rbi +477 -0
  369. data/rbi/stripe/services/promotion_code_service.rbi +214 -0
  370. data/rbi/stripe/services/quote_computed_upfront_line_items_service.rbi +31 -0
  371. data/{lib/stripe/services/order_line_item_service.rb → rbi/stripe/services/quote_line_item_service.rbi} +16 -20
  372. data/rbi/stripe/services/quote_service.rbi +699 -0
  373. data/rbi/stripe/services/radar/early_fraud_warning_service.rbi +85 -0
  374. data/rbi/stripe/services/radar/value_list_item_service.rbi +109 -0
  375. data/rbi/stripe/services/radar/value_list_service.rbi +141 -0
  376. data/rbi/stripe/services/radar_service.rbi +11 -0
  377. data/rbi/stripe/services/refund_service.rbi +185 -0
  378. data/rbi/stripe/services/reporting/report_run_service.rbi +135 -0
  379. data/rbi/stripe/services/reporting/report_type_service.rbi +35 -0
  380. data/rbi/stripe/services/reporting_service.rbi +10 -0
  381. data/rbi/stripe/services/review_service.rbi +84 -0
  382. data/rbi/stripe/services/setup_attempt_service.rbi +65 -0
  383. data/rbi/stripe/services/setup_intent_service.rbi +3709 -0
  384. data/rbi/stripe/services/shipping_rate_service.rbi +241 -0
  385. data/rbi/stripe/services/sigma/scheduled_query_run_service.rbi +46 -0
  386. data/rbi/stripe/services/sigma_service.rbi +9 -0
  387. data/rbi/stripe/services/source_service.rbi +663 -0
  388. data/{lib/stripe/services/quote_line_service.rb → rbi/stripe/services/source_transaction_service.rbi} +16 -20
  389. data/rbi/stripe/services/subscription_item_service.rbi +350 -0
  390. data/rbi/stripe/services/subscription_schedule_service.rbi +1333 -0
  391. data/rbi/stripe/services/subscription_service.rbi +1684 -0
  392. data/{lib/stripe/services/financial_connections/account_inferred_balance_service.rb → rbi/stripe/services/tax/calculation_line_item_service.rbi} +17 -21
  393. data/rbi/stripe/services/tax/calculation_service.rbi +234 -0
  394. data/rbi/stripe/services/tax/registration_service.rbi +2278 -0
  395. data/rbi/stripe/services/tax/settings_service.rbi +93 -0
  396. data/{lib/stripe/services/privacy/redaction_job_validation_error_service.rb → rbi/stripe/services/tax/transaction_line_item_service.rbi} +17 -21
  397. data/rbi/stripe/services/tax/transaction_service.rbi +146 -0
  398. data/rbi/stripe/services/tax_code_service.rbi +44 -0
  399. data/rbi/stripe/services/tax_id_service.rbi +110 -0
  400. data/rbi/stripe/services/tax_rate_service.rbi +185 -0
  401. data/rbi/stripe/services/tax_service.rbi +12 -0
  402. data/rbi/stripe/services/terminal/configuration_service.rbi +1286 -0
  403. data/rbi/stripe/services/terminal/connection_token_service.rbi +25 -0
  404. data/rbi/stripe/services/terminal/location_service.rbi +182 -0
  405. data/rbi/stripe/services/terminal/reader_service.rbi +540 -0
  406. data/rbi/stripe/services/terminal_service.rbi +12 -0
  407. data/rbi/stripe/services/test_helpers/confirmation_token_service.rbi +746 -0
  408. data/rbi/stripe/services/test_helpers/customer_service.rbi +33 -0
  409. data/rbi/stripe/services/test_helpers/issuing/authorization_service.rbi +848 -0
  410. data/rbi/stripe/services/test_helpers/issuing/card_service.rbi +76 -0
  411. data/rbi/stripe/services/test_helpers/issuing/personalization_design_service.rbi +69 -0
  412. data/rbi/stripe/services/test_helpers/issuing/transaction_service.rbi +711 -0
  413. data/rbi/stripe/services/test_helpers/issuing_service.rbi +14 -0
  414. data/rbi/stripe/services/test_helpers/refund_service.rbi +22 -0
  415. data/rbi/stripe/services/test_helpers/terminal/reader_service.rbi +93 -0
  416. data/rbi/stripe/services/test_helpers/terminal_service.rbi +11 -0
  417. data/rbi/stripe/services/test_helpers/test_clock_service.rbi +90 -0
  418. data/rbi/stripe/services/test_helpers/treasury/inbound_transfer_service.rbi +64 -0
  419. data/rbi/stripe/services/test_helpers/treasury/outbound_payment_service.rbi +125 -0
  420. data/rbi/stripe/services/test_helpers/treasury/outbound_transfer_service.rbi +125 -0
  421. data/rbi/stripe/services/test_helpers/treasury/received_credit_service.rbi +87 -0
  422. data/rbi/stripe/services/test_helpers/treasury/received_debit_service.rbi +87 -0
  423. data/rbi/stripe/services/test_helpers/treasury_service.rbi +15 -0
  424. data/rbi/stripe/services/test_helpers_service.rbi +15 -0
  425. data/rbi/stripe/services/token_service.rbi +1257 -0
  426. data/rbi/stripe/services/topup_service.rbi +176 -0
  427. data/rbi/stripe/services/transfer_reversal_service.rbi +101 -0
  428. data/rbi/stripe/services/transfer_service.rbi +152 -0
  429. data/rbi/stripe/services/treasury/credit_reversal_service.rbi +84 -0
  430. data/rbi/stripe/services/treasury/debit_reversal_service.rbi +88 -0
  431. data/rbi/stripe/services/treasury/financial_account_features_service.rbi +198 -0
  432. data/rbi/stripe/services/treasury/financial_account_service.rbi +566 -0
  433. data/rbi/stripe/services/treasury/inbound_transfer_service.rbi +117 -0
  434. data/rbi/stripe/services/treasury/outbound_payment_service.rbi +304 -0
  435. data/rbi/stripe/services/treasury/outbound_transfer_service.rbi +157 -0
  436. data/rbi/stripe/services/treasury/received_credit_service.rbi +72 -0
  437. data/rbi/stripe/services/treasury/received_debit_service.rbi +59 -0
  438. data/rbi/stripe/services/treasury/transaction_entry_service.rbi +111 -0
  439. data/rbi/stripe/services/treasury/transaction_service.rbi +122 -0
  440. data/rbi/stripe/services/treasury_service.rbi +18 -0
  441. data/rbi/stripe/services/v1_services.rbi +77 -0
  442. data/rbi/stripe/services/v2/billing/meter_event_adjustment_service.rbi +39 -0
  443. data/rbi/stripe/services/v2/billing/meter_event_service.rbi +42 -0
  444. data/rbi/stripe/services/v2/billing/meter_event_session_service.rbi +18 -0
  445. data/rbi/stripe/services/v2/billing/meter_event_stream_service.rbi +55 -0
  446. data/rbi/stripe/services/v2/billing_service.rbi +14 -0
  447. data/rbi/stripe/services/v2/core/event_destination_service.rbi +192 -0
  448. data/rbi/stripe/services/v2/core/event_service.rbi +36 -0
  449. data/rbi/stripe/services/v2/core_service.rbi +12 -0
  450. data/rbi/stripe/services/v2_services.rbi +10 -0
  451. data/rbi/stripe/services/webhook_endpoint_service.rbi +129 -0
  452. data/stripe.gemspec +1 -4
  453. metadata +325 -162
  454. data/lib/stripe/events/v2_core_account_closed_event.rb +0 -21
  455. data/lib/stripe/events/v2_core_account_created_event.rb +0 -21
  456. data/lib/stripe/events/v2_core_account_including_configuration_customer_capability_status_updated_event.rb +0 -23
  457. data/lib/stripe/events/v2_core_account_including_configuration_customer_updated_event.rb +0 -21
  458. data/lib/stripe/events/v2_core_account_including_configuration_merchant_capability_status_updated_event.rb +0 -23
  459. data/lib/stripe/events/v2_core_account_including_configuration_merchant_updated_event.rb +0 -21
  460. data/lib/stripe/events/v2_core_account_including_configuration_recipient_capability_status_updated_event.rb +0 -23
  461. data/lib/stripe/events/v2_core_account_including_configuration_recipient_updated_event.rb +0 -21
  462. data/lib/stripe/events/v2_core_account_including_defaults_updated_event.rb +0 -21
  463. data/lib/stripe/events/v2_core_account_including_identity_updated_event.rb +0 -21
  464. data/lib/stripe/events/v2_core_account_including_requirements_updated_event.rb +0 -21
  465. data/lib/stripe/events/v2_core_account_link_completed_event.rb +0 -13
  466. data/lib/stripe/events/v2_core_account_person_created_event.rb +0 -23
  467. data/lib/stripe/events/v2_core_account_person_deleted_event.rb +0 -23
  468. data/lib/stripe/events/v2_core_account_person_updated_event.rb +0 -23
  469. data/lib/stripe/events/v2_core_account_updated_event.rb +0 -21
  470. data/lib/stripe/events/v2_money_management_adjustment_created_event.rb +0 -21
  471. data/lib/stripe/events/v2_money_management_financial_account_created_event.rb +0 -21
  472. data/lib/stripe/events/v2_money_management_financial_account_updated_event.rb +0 -21
  473. data/lib/stripe/events/v2_money_management_financial_address_activated_event.rb +0 -21
  474. data/lib/stripe/events/v2_money_management_financial_address_failed_event.rb +0 -21
  475. data/lib/stripe/events/v2_money_management_inbound_transfer_available_event.rb +0 -23
  476. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_failed_event.rb +0 -21
  477. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_processing_event.rb +0 -21
  478. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_queued_event.rb +0 -21
  479. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_returned_event.rb +0 -21
  480. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_succeeded_event.rb +0 -21
  481. data/lib/stripe/events/v2_money_management_outbound_payment_canceled_event.rb +0 -21
  482. data/lib/stripe/events/v2_money_management_outbound_payment_created_event.rb +0 -21
  483. data/lib/stripe/events/v2_money_management_outbound_payment_failed_event.rb +0 -21
  484. data/lib/stripe/events/v2_money_management_outbound_payment_posted_event.rb +0 -21
  485. data/lib/stripe/events/v2_money_management_outbound_payment_returned_event.rb +0 -21
  486. data/lib/stripe/events/v2_money_management_outbound_payment_updated_event.rb +0 -21
  487. data/lib/stripe/events/v2_money_management_outbound_transfer_canceled_event.rb +0 -21
  488. data/lib/stripe/events/v2_money_management_outbound_transfer_created_event.rb +0 -21
  489. data/lib/stripe/events/v2_money_management_outbound_transfer_failed_event.rb +0 -21
  490. data/lib/stripe/events/v2_money_management_outbound_transfer_posted_event.rb +0 -21
  491. data/lib/stripe/events/v2_money_management_outbound_transfer_returned_event.rb +0 -21
  492. data/lib/stripe/events/v2_money_management_outbound_transfer_updated_event.rb +0 -21
  493. data/lib/stripe/events/v2_money_management_received_credit_available_event.rb +0 -23
  494. data/lib/stripe/events/v2_money_management_received_credit_failed_event.rb +0 -21
  495. data/lib/stripe/events/v2_money_management_received_credit_returned_event.rb +0 -21
  496. data/lib/stripe/events/v2_money_management_received_credit_succeeded_event.rb +0 -21
  497. data/lib/stripe/events/v2_money_management_received_debit_canceled_event.rb +0 -21
  498. data/lib/stripe/events/v2_money_management_received_debit_failed_event.rb +0 -21
  499. data/lib/stripe/events/v2_money_management_received_debit_pending_event.rb +0 -21
  500. data/lib/stripe/events/v2_money_management_received_debit_succeeded_event.rb +0 -21
  501. data/lib/stripe/events/v2_money_management_received_debit_updated_event.rb +0 -21
  502. data/lib/stripe/events/v2_money_management_transaction_created_event.rb +0 -21
  503. data/lib/stripe/events/v2_money_management_transaction_updated_event.rb +0 -21
  504. data/lib/stripe/events/v2_off_session_payment_requires_capture_event.rb +0 -21
  505. data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_failed_event.rb +0 -21
  506. data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_started_event.rb +0 -21
  507. data/lib/stripe/events/v2_payments_off_session_payment_canceled_event.rb +0 -21
  508. data/lib/stripe/events/v2_payments_off_session_payment_created_event.rb +0 -21
  509. data/lib/stripe/events/v2_payments_off_session_payment_failed_event.rb +0 -21
  510. data/lib/stripe/events/v2_payments_off_session_payment_succeeded_event.rb +0 -21
  511. data/lib/stripe/resources/account_notice.rb +0 -123
  512. data/lib/stripe/resources/balance_settings.rb +0 -105
  513. data/lib/stripe/resources/capital/financing_offer.rb +0 -179
  514. data/lib/stripe/resources/capital/financing_summary.rb +0 -55
  515. data/lib/stripe/resources/capital/financing_transaction.rb +0 -114
  516. data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +0 -27
  517. data/lib/stripe/resources/financial_connections/institution.rb +0 -92
  518. data/lib/stripe/resources/fx_quote.rb +0 -184
  519. data/lib/stripe/resources/issuing/credit_underwriting_record.rb +0 -602
  520. data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +0 -82
  521. data/lib/stripe/resources/issuing/fraud_liability_debit.rb +0 -86
  522. data/lib/stripe/resources/issuing/settlement.rb +0 -53
  523. data/lib/stripe/resources/margin.rb +0 -115
  524. data/lib/stripe/resources/order.rb +0 -2958
  525. data/lib/stripe/resources/payment_attempt_record.rb +0 -1099
  526. data/lib/stripe/resources/payment_intent_amount_details_line_item.rb +0 -72
  527. data/lib/stripe/resources/payment_record.rb +0 -1628
  528. data/lib/stripe/resources/privacy/redaction_job.rb +0 -298
  529. data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +0 -33
  530. data/lib/stripe/resources/quote_line.rb +0 -274
  531. data/lib/stripe/resources/quote_preview_invoice.rb +0 -663
  532. data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -371
  533. data/lib/stripe/resources/tax/association.rb +0 -66
  534. data/lib/stripe/resources/tax/form.rb +0 -211
  535. data/lib/stripe/resources/terminal/reader_collected_data.rb +0 -31
  536. data/lib/stripe/resources/v2/core/account.rb +0 -1755
  537. data/lib/stripe/resources/v2/core/account_link.rb +0 -56
  538. data/lib/stripe/resources/v2/core/person.rb +0 -276
  539. data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +0 -74
  540. data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +0 -39
  541. data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +0 -20
  542. data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +0 -22
  543. data/lib/stripe/resources/v2/money_management/adjustment.rb +0 -51
  544. data/lib/stripe/resources/v2/money_management/financial_account.rb +0 -58
  545. data/lib/stripe/resources/v2/money_management/financial_address.rb +0 -68
  546. data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +0 -94
  547. data/lib/stripe/resources/v2/money_management/outbound_payment.rb +0 -129
  548. data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +0 -82
  549. data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +0 -45
  550. data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +0 -117
  551. data/lib/stripe/resources/v2/money_management/payout_method.rb +0 -75
  552. data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +0 -49
  553. data/lib/stripe/resources/v2/money_management/received_credit.rb +0 -122
  554. data/lib/stripe/resources/v2/money_management/received_debit.rb +0 -84
  555. data/lib/stripe/resources/v2/money_management/transaction.rb +0 -78
  556. data/lib/stripe/resources/v2/money_management/transaction_entry.rb +0 -68
  557. data/lib/stripe/resources/v2/payments/off_session_payment.rb +0 -72
  558. data/lib/stripe/services/account_notice_service.rb +0 -101
  559. data/lib/stripe/services/balance_settings_service.rb +0 -96
  560. data/lib/stripe/services/capital/financing_offer_service.rb +0 -112
  561. data/lib/stripe/services/capital/financing_summary_service.rb +0 -28
  562. data/lib/stripe/services/capital/financing_transaction_service.rb +0 -79
  563. data/lib/stripe/services/capital_service.rb +0 -15
  564. data/lib/stripe/services/fx_quote_service.rb +0 -123
  565. data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +0 -504
  566. data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +0 -66
  567. data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +0 -83
  568. data/lib/stripe/services/margin_service.rb +0 -119
  569. data/lib/stripe/services/order_service.rb +0 -2388
  570. data/lib/stripe/services/payment_attempt_record_service.rb +0 -49
  571. data/lib/stripe/services/payment_record_service.rb +0 -542
  572. data/lib/stripe/services/privacy/redaction_job_service.rb +0 -240
  573. data/lib/stripe/services/privacy_service.rb +0 -13
  574. data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +0 -35
  575. data/lib/stripe/services/tax/association_service.rb +0 -31
  576. data/lib/stripe/services/tax/form_service.rb +0 -100
  577. data/lib/stripe/services/terminal/reader_collected_data_service.rb +0 -28
  578. data/lib/stripe/services/v2/core/account_link_service.rb +0 -76
  579. data/lib/stripe/services/v2/core/account_service.rb +0 -4170
  580. data/lib/stripe/services/v2/core/accounts/person_service.rb +0 -1045
  581. data/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb +0 -130
  582. data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +0 -107
  583. data/lib/stripe/services/v2/core/vault_service.rb +0 -18
  584. data/lib/stripe/services/v2/money_management/adjustment_service.rb +0 -74
  585. data/lib/stripe/services/v2/money_management/financial_account_service.rb +0 -43
  586. data/lib/stripe/services/v2/money_management/financial_address_service.rb +0 -82
  587. data/lib/stripe/services/v2/money_management/inbound_transfer_service.rb +0 -125
  588. data/lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb +0 -95
  589. data/lib/stripe/services/v2/money_management/outbound_payment_service.rb +0 -199
  590. data/lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb +0 -235
  591. data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +0 -172
  592. data/lib/stripe/services/v2/money_management/payout_method_service.rb +0 -90
  593. data/lib/stripe/services/v2/money_management/payout_methods_bank_account_spec_service.rb +0 -32
  594. data/lib/stripe/services/v2/money_management/received_credit_service.rb +0 -70
  595. data/lib/stripe/services/v2/money_management/received_debit_service.rb +0 -43
  596. data/lib/stripe/services/v2/money_management/transaction_entry_service.rb +0 -69
  597. data/lib/stripe/services/v2/money_management/transaction_service.rb +0 -73
  598. data/lib/stripe/services/v2/money_management_service.rb +0 -31
  599. data/lib/stripe/services/v2/payment_service.rb +0 -15
  600. data/lib/stripe/services/v2/payments/off_session_payment_service.rb +0 -137
  601. data/lib/stripe/services/v2/test_helper_service.rb +0 -15
  602. data/lib/stripe/services/v2/test_helpers/financial_address_service.rb +0 -49
  603. data/rbi/stripe.rbi +0 -193855
@@ -71,7 +71,7 @@ module Stripe
71
71
  attr_reader :estimated_worker_count
72
72
  # [The merchant category code for the account](/connect/setting-mcc). MCCs are used to classify businesses based on the goods or services they provide.
73
73
  attr_reader :mcc
74
- # Whether the business is a minority-owned, women-owned, and/or LGBTQI+-owned business.
74
+ # Whether the business is a minority-owned, women-owned, and/or LGBTQI+ -owned business.
75
75
  attr_reader :minority_owned_business_designation
76
76
  # Attribute for field monthly_estimated_revenue
77
77
  attr_reader :monthly_estimated_revenue
@@ -104,8 +104,6 @@ module Stripe
104
104
  attr_reader :amazon_pay_payments
105
105
  # The status of the BECS Direct Debit (AU) payments capability of the account, or whether the account can directly process BECS Direct Debit (AU) charges.
106
106
  attr_reader :au_becs_debit_payments
107
- # The status of the automatic_indirect_tax capability of the account.
108
- attr_reader :automatic_indirect_tax
109
107
  # The status of the Bacs Direct Debits payments capability of the account, or whether the account can directly process Bacs Direct Debits charges.
110
108
  attr_reader :bacs_debit_payments
111
109
  # The status of the Bancontact payments capability of the account, or whether the account can directly process Bancontact charges.
@@ -136,14 +134,8 @@ module Stripe
136
134
  attr_reader :gb_bank_transfer_payments
137
135
  # The status of the giropay payments capability of the account, or whether the account can directly process giropay charges.
138
136
  attr_reader :giropay_payments
139
- # The status of the Gopay capability of the account, or whether the account can directly process Gopay payments.
140
- attr_reader :gopay_payments
141
137
  # The status of the GrabPay payments capability of the account, or whether the account can directly process GrabPay charges.
142
138
  attr_reader :grabpay_payments
143
- # The status of the Indonesia Bank Transfer payments capability of the account, or whether the account can directly process Indonesia Bank Transfer charges.
144
- attr_reader :id_bank_transfer_payments
145
- # The status of Bank BCA onboarding of the account.
146
- attr_reader :id_bank_transfer_payments_bca
147
139
  # The status of the iDEAL payments capability of the account, or whether the account can directly process iDEAL charges.
148
140
  attr_reader :ideal_payments
149
141
  # The status of the india_international_payments capability of the account, or whether the account can process international charges (non INR) in India.
@@ -164,8 +156,6 @@ module Stripe
164
156
  attr_reader :legacy_payments
165
157
  # The status of the link_payments capability of the account, or whether the account can directly process Link charges.
166
158
  attr_reader :link_payments
167
- # The status of the MB WAY payments capability of the account, or whether the account can directly process MB WAY charges.
168
- attr_reader :mb_way_payments
169
159
  # The status of the MobilePay capability of the account, or whether the account can directly process MobilePay charges.
170
160
  attr_reader :mobilepay_payments
171
161
  # The status of the Multibanco payments capability of the account, or whether the account can directly process Multibanco charges.
@@ -186,18 +176,10 @@ module Stripe
186
176
  attr_reader :payco_payments
187
177
  # The status of the paynow payments capability of the account, or whether the account can directly process paynow charges.
188
178
  attr_reader :paynow_payments
189
- # The status of the PayPal payments capability of the account, or whether the account can directly process PayPal charges.
190
- attr_reader :paypal_payments
191
- # The status of the PayTo capability of the account, or whether the account can directly process PayTo charges.
192
- attr_reader :payto_payments
193
179
  # The status of the pix payments capability of the account, or whether the account can directly process pix charges.
194
180
  attr_reader :pix_payments
195
181
  # The status of the promptpay payments capability of the account, or whether the account can directly process promptpay charges.
196
182
  attr_reader :promptpay_payments
197
- # The status of the Qris capability of the account, or whether the account can directly process Qris payments.
198
- attr_reader :qris_payments
199
- # The status of the Rechnung capability of the account, or whether the account can directly process Rechnung payments.
200
- attr_reader :rechnung_payments
201
183
  # The status of the RevolutPay capability of the account, or whether the account can directly process RevolutPay payments.
202
184
  attr_reader :revolut_pay_payments
203
185
  # The status of the SamsungPay capability of the account, or whether the account can directly process SamsungPay payments.
@@ -208,12 +190,8 @@ module Stripe
208
190
  attr_reader :sepa_bank_transfer_payments
209
191
  # The status of the SEPA Direct Debits payments capability of the account, or whether the account can directly process SEPA Direct Debits charges.
210
192
  attr_reader :sepa_debit_payments
211
- # The status of the ShopeePay capability of the account, or whether the account can directly process ShopeePay payments.
212
- attr_reader :shopeepay_payments
213
193
  # The status of the Sofort payments capability of the account, or whether the account can directly process Sofort charges.
214
194
  attr_reader :sofort_payments
215
- # The status of the stripe_balance payments capability of the account, or whether the account can directly process stripe_balance charges.
216
- attr_reader :stripe_balance_payments
217
195
  # The status of the Swish capability of the account, or whether the account can directly process Swish payments.
218
196
  attr_reader :swish_payments
219
197
  # The status of the tax reporting 1099-K (US) capability of the account.
@@ -224,12 +202,6 @@ module Stripe
224
202
  attr_reader :transfers
225
203
  # The status of the banking capability, or whether the account can have bank accounts.
226
204
  attr_reader :treasury
227
- # The status of the treasury_evolve capability of the account.
228
- attr_reader :treasury_evolve
229
- # The status of the treasury_fifth_third capability of the account.
230
- attr_reader :treasury_fifth_third
231
- # The status of the treasury_goldman_sachs capability of the account.
232
- attr_reader :treasury_goldman_sachs
233
205
  # The status of the TWINT capability of the account, or whether the account can directly process TWINT charges.
234
206
  attr_reader :twint_payments
235
207
  # The status of the US bank account ACH payments capability of the account, or whether the account can directly process US bank account charges.
@@ -376,20 +348,6 @@ module Stripe
376
348
  end
377
349
 
378
350
  class Controller < Stripe::StripeObject
379
- class Application < Stripe::StripeObject
380
- # `true` if the Connect application is responsible for negative balances and should manage credit and fraud risk on the account.
381
- attr_reader :loss_liable
382
- # `true` if the Connect application is responsible for onboarding the account.
383
- attr_reader :onboarding_owner
384
- # `true` if the Connect application is responsible for paying Stripe fees on pricing-control eligible products.
385
- attr_reader :pricing_controls
386
- end
387
-
388
- class Dashboard < Stripe::StripeObject
389
- # Whether this account has access to the full Stripe dashboard (`full`), to the Express dashboard (`express`), or to no dashboard (`none`).
390
- attr_reader :type
391
- end
392
-
393
351
  class Fees < Stripe::StripeObject
394
352
  # 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).
395
353
  attr_reader :payer
@@ -404,10 +362,6 @@ module Stripe
404
362
  # A value indicating the Stripe dashboard this account has access to independent of the Connect application.
405
363
  attr_reader :type
406
364
  end
407
- # Attribute for field application
408
- attr_reader :application
409
- # Attribute for field dashboard
410
- attr_reader :dashboard
411
365
  # Attribute for field fees
412
366
  attr_reader :fees
413
367
  # `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.
@@ -495,24 +449,6 @@ module Stripe
495
449
  attr_reader :pending_verification
496
450
  end
497
451
 
498
- class RiskControls < Stripe::StripeObject
499
- class Charges < Stripe::StripeObject
500
- # Whether a pause of the risk control has been requested.
501
- attr_reader :pause_requested
502
- end
503
-
504
- class Payouts < Stripe::StripeObject
505
- # Whether a pause of the risk control has been requested.
506
- attr_reader :pause_requested
507
- end
508
- # Attribute for field charges
509
- attr_reader :charges
510
- # Attribute for field payouts
511
- attr_reader :payouts
512
- # 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/)
513
- attr_reader :rejected_reason
514
- end
515
-
516
452
  class Settings < Stripe::StripeObject
517
453
  class BacsDebitPayments < Stripe::StripeObject
518
454
  # 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.
@@ -521,13 +457,6 @@ module Stripe
521
457
  attr_reader :service_user_number
522
458
  end
523
459
 
524
- class BankBcaOnboarding < Stripe::StripeObject
525
- # Bank BCA business account holder name.
526
- attr_reader :account_holder_name
527
- # Bank BCA business account number.
528
- attr_reader :business_account_number
529
- end
530
-
531
460
  class Branding < Stripe::StripeObject
532
461
  # (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.
533
462
  attr_reader :icon
@@ -539,13 +468,6 @@ module Stripe
539
468
  attr_reader :secondary_color
540
469
  end
541
470
 
542
- class Capital < Stripe::StripeObject
543
- # Per-currency mapping of user-selected destination accounts used to pay out loans.
544
- attr_reader :payout_destination
545
- # Per-currency mapping of all destination accounts eligible to receive loan payouts.
546
- attr_reader :payout_destination_selector
547
- end
548
-
549
471
  class CardIssuing < Stripe::StripeObject
550
472
  class TosAcceptance < Stripe::StripeObject
551
473
  # The Unix timestamp marking when the account representative accepted the service agreement.
@@ -631,11 +553,6 @@ module Stripe
631
553
  attr_reader :creditor_id
632
554
  end
633
555
 
634
- class TaxForms < Stripe::StripeObject
635
- # Whether the account opted out of receiving their tax forms by postal delivery.
636
- attr_reader :consented_to_paperless_delivery
637
- end
638
-
639
556
  class Treasury < Stripe::StripeObject
640
557
  class TosAcceptance < Stripe::StripeObject
641
558
  # The Unix timestamp marking when the account representative accepted the service agreement.
@@ -650,12 +567,8 @@ module Stripe
650
567
  end
651
568
  # Attribute for field bacs_debit_payments
652
569
  attr_reader :bacs_debit_payments
653
- # Attribute for field bank_bca_onboarding
654
- attr_reader :bank_bca_onboarding
655
570
  # Attribute for field branding
656
571
  attr_reader :branding
657
- # Attribute for field capital
658
- attr_reader :capital
659
572
  # Attribute for field card_issuing
660
573
  attr_reader :card_issuing
661
574
  # Attribute for field card_payments
@@ -670,8 +583,6 @@ module Stripe
670
583
  attr_reader :payouts
671
584
  # Attribute for field sepa_debit_payments
672
585
  attr_reader :sepa_debit_payments
673
- # Attribute for field tax_forms
674
- attr_reader :tax_forms
675
586
  # Attribute for field treasury
676
587
  attr_reader :treasury
677
588
  end
@@ -789,7 +700,7 @@ module Stripe
789
700
  attr_accessor :estimated_worker_count
790
701
  # [The merchant category code for the account](/connect/setting-mcc). MCCs are used to classify businesses based on the goods or services they provide.
791
702
  attr_accessor :mcc
792
- # Whether the business is a minority-owned, women-owned, and/or LGBTQI+-owned business.
703
+ # Whether the business is a minority-owned, women-owned, and/or LGBTQI+ -owned business.
793
704
  attr_accessor :minority_owned_business_designation
794
705
  # An estimate of the monthly revenue of the business. Only accepted for accounts in Brazil and India.
795
706
  attr_accessor :monthly_estimated_revenue
@@ -892,15 +803,6 @@ module Stripe
892
803
  end
893
804
  end
894
805
 
895
- class AutomaticIndirectTax < Stripe::RequestParams
896
- # 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.
897
- attr_accessor :requested
898
-
899
- def initialize(requested: nil)
900
- @requested = requested
901
- end
902
- end
903
-
904
806
  class BacsDebitPayments < Stripe::RequestParams
905
807
  # 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.
906
808
  attr_accessor :requested
@@ -1036,15 +938,6 @@ module Stripe
1036
938
  end
1037
939
  end
1038
940
 
1039
- class GopayPayments < Stripe::RequestParams
1040
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
1041
- attr_accessor :requested
1042
-
1043
- def initialize(requested: nil)
1044
- @requested = requested
1045
- end
1046
- end
1047
-
1048
941
  class GrabpayPayments < Stripe::RequestParams
1049
942
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
1050
943
  attr_accessor :requested
@@ -1054,24 +947,6 @@ module Stripe
1054
947
  end
1055
948
  end
1056
949
 
1057
- class IdBankTransferPayments < Stripe::RequestParams
1058
- # 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.
1059
- attr_accessor :requested
1060
-
1061
- def initialize(requested: nil)
1062
- @requested = requested
1063
- end
1064
- end
1065
-
1066
- class IdBankTransferPaymentsBca < Stripe::RequestParams
1067
- # 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.
1068
- attr_accessor :requested
1069
-
1070
- def initialize(requested: nil)
1071
- @requested = requested
1072
- end
1073
- end
1074
-
1075
950
  class IdealPayments < Stripe::RequestParams
1076
951
  # 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.
1077
952
  attr_accessor :requested
@@ -1162,15 +1037,6 @@ module Stripe
1162
1037
  end
1163
1038
  end
1164
1039
 
1165
- class MbWayPayments < Stripe::RequestParams
1166
- # 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.
1167
- attr_accessor :requested
1168
-
1169
- def initialize(requested: nil)
1170
- @requested = requested
1171
- end
1172
- end
1173
-
1174
1040
  class MobilepayPayments < Stripe::RequestParams
1175
1041
  # 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.
1176
1042
  attr_accessor :requested
@@ -1261,24 +1127,6 @@ module Stripe
1261
1127
  end
1262
1128
  end
1263
1129
 
1264
- class PaypalPayments < Stripe::RequestParams
1265
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
1266
- attr_accessor :requested
1267
-
1268
- def initialize(requested: nil)
1269
- @requested = requested
1270
- end
1271
- end
1272
-
1273
- class PaytoPayments < Stripe::RequestParams
1274
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
1275
- attr_accessor :requested
1276
-
1277
- def initialize(requested: nil)
1278
- @requested = requested
1279
- end
1280
- end
1281
-
1282
1130
  class PixPayments < Stripe::RequestParams
1283
1131
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
1284
1132
  attr_accessor :requested
@@ -1297,24 +1145,6 @@ module Stripe
1297
1145
  end
1298
1146
  end
1299
1147
 
1300
- class QrisPayments < Stripe::RequestParams
1301
- # 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.
1302
- attr_accessor :requested
1303
-
1304
- def initialize(requested: nil)
1305
- @requested = requested
1306
- end
1307
- end
1308
-
1309
- class RechnungPayments < Stripe::RequestParams
1310
- # 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.
1311
- attr_accessor :requested
1312
-
1313
- def initialize(requested: nil)
1314
- @requested = requested
1315
- end
1316
- end
1317
-
1318
1148
  class RevolutPayPayments < Stripe::RequestParams
1319
1149
  # 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.
1320
1150
  attr_accessor :requested
@@ -1360,15 +1190,6 @@ module Stripe
1360
1190
  end
1361
1191
  end
1362
1192
 
1363
- class ShopeepayPayments < Stripe::RequestParams
1364
- # 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.
1365
- attr_accessor :requested
1366
-
1367
- def initialize(requested: nil)
1368
- @requested = requested
1369
- end
1370
- end
1371
-
1372
1193
  class SofortPayments < Stripe::RequestParams
1373
1194
  # 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.
1374
1195
  attr_accessor :requested
@@ -1378,15 +1199,6 @@ module Stripe
1378
1199
  end
1379
1200
  end
1380
1201
 
1381
- class StripeBalancePayments < Stripe::RequestParams
1382
- # 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.
1383
- attr_accessor :requested
1384
-
1385
- def initialize(requested: nil)
1386
- @requested = requested
1387
- end
1388
- end
1389
-
1390
1202
  class SwishPayments < Stripe::RequestParams
1391
1203
  # 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.
1392
1204
  attr_accessor :requested
@@ -1432,33 +1244,6 @@ module Stripe
1432
1244
  end
1433
1245
  end
1434
1246
 
1435
- class TreasuryEvolve < Stripe::RequestParams
1436
- # 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.
1437
- attr_accessor :requested
1438
-
1439
- def initialize(requested: nil)
1440
- @requested = requested
1441
- end
1442
- end
1443
-
1444
- class TreasuryFifthThird < Stripe::RequestParams
1445
- # 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.
1446
- attr_accessor :requested
1447
-
1448
- def initialize(requested: nil)
1449
- @requested = requested
1450
- end
1451
- end
1452
-
1453
- class TreasuryGoldmanSachs < Stripe::RequestParams
1454
- # 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.
1455
- attr_accessor :requested
1456
-
1457
- def initialize(requested: nil)
1458
- @requested = requested
1459
- end
1460
- end
1461
-
1462
1247
  class TwintPayments < Stripe::RequestParams
1463
1248
  # 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.
1464
1249
  attr_accessor :requested
@@ -1506,8 +1291,6 @@ module Stripe
1506
1291
  attr_accessor :amazon_pay_payments
1507
1292
  # The au_becs_debit_payments capability.
1508
1293
  attr_accessor :au_becs_debit_payments
1509
- # The automatic_indirect_tax capability.
1510
- attr_accessor :automatic_indirect_tax
1511
1294
  # The bacs_debit_payments capability.
1512
1295
  attr_accessor :bacs_debit_payments
1513
1296
  # The bancontact_payments capability.
@@ -1538,14 +1321,8 @@ module Stripe
1538
1321
  attr_accessor :gb_bank_transfer_payments
1539
1322
  # The giropay_payments capability.
1540
1323
  attr_accessor :giropay_payments
1541
- # The gopay_payments capability.
1542
- attr_accessor :gopay_payments
1543
1324
  # The grabpay_payments capability.
1544
1325
  attr_accessor :grabpay_payments
1545
- # The id_bank_transfer_payments capability.
1546
- attr_accessor :id_bank_transfer_payments
1547
- # The id_bank_transfer_payments_bca capability.
1548
- attr_accessor :id_bank_transfer_payments_bca
1549
1326
  # The ideal_payments capability.
1550
1327
  attr_accessor :ideal_payments
1551
1328
  # The india_international_payments capability.
@@ -1566,8 +1343,6 @@ module Stripe
1566
1343
  attr_accessor :legacy_payments
1567
1344
  # The link_payments capability.
1568
1345
  attr_accessor :link_payments
1569
- # The mb_way_payments capability.
1570
- attr_accessor :mb_way_payments
1571
1346
  # The mobilepay_payments capability.
1572
1347
  attr_accessor :mobilepay_payments
1573
1348
  # The multibanco_payments capability.
@@ -1588,18 +1363,10 @@ module Stripe
1588
1363
  attr_accessor :payco_payments
1589
1364
  # The paynow_payments capability.
1590
1365
  attr_accessor :paynow_payments
1591
- # The paypal_payments capability.
1592
- attr_accessor :paypal_payments
1593
- # The payto_payments capability.
1594
- attr_accessor :payto_payments
1595
1366
  # The pix_payments capability.
1596
1367
  attr_accessor :pix_payments
1597
1368
  # The promptpay_payments capability.
1598
1369
  attr_accessor :promptpay_payments
1599
- # The qris_payments capability.
1600
- attr_accessor :qris_payments
1601
- # The rechnung_payments capability.
1602
- attr_accessor :rechnung_payments
1603
1370
  # The revolut_pay_payments capability.
1604
1371
  attr_accessor :revolut_pay_payments
1605
1372
  # The samsung_pay_payments capability.
@@ -1610,12 +1377,8 @@ module Stripe
1610
1377
  attr_accessor :sepa_bank_transfer_payments
1611
1378
  # The sepa_debit_payments capability.
1612
1379
  attr_accessor :sepa_debit_payments
1613
- # The shopeepay_payments capability.
1614
- attr_accessor :shopeepay_payments
1615
1380
  # The sofort_payments capability.
1616
1381
  attr_accessor :sofort_payments
1617
- # The stripe_balance_payments capability.
1618
- attr_accessor :stripe_balance_payments
1619
1382
  # The swish_payments capability.
1620
1383
  attr_accessor :swish_payments
1621
1384
  # The tax_reporting_us_1099_k capability.
@@ -1626,12 +1389,6 @@ module Stripe
1626
1389
  attr_accessor :transfers
1627
1390
  # The treasury capability.
1628
1391
  attr_accessor :treasury
1629
- # The treasury_evolve capability.
1630
- attr_accessor :treasury_evolve
1631
- # The treasury_fifth_third capability.
1632
- attr_accessor :treasury_fifth_third
1633
- # The treasury_goldman_sachs capability.
1634
- attr_accessor :treasury_goldman_sachs
1635
1392
  # The twint_payments capability.
1636
1393
  attr_accessor :twint_payments
1637
1394
  # The us_bank_account_ach_payments capability.
@@ -1648,7 +1405,6 @@ module Stripe
1648
1405
  alma_payments: nil,
1649
1406
  amazon_pay_payments: nil,
1650
1407
  au_becs_debit_payments: nil,
1651
- automatic_indirect_tax: nil,
1652
1408
  bacs_debit_payments: nil,
1653
1409
  bancontact_payments: nil,
1654
1410
  bank_transfer_payments: nil,
@@ -1664,10 +1420,7 @@ module Stripe
1664
1420
  fpx_payments: nil,
1665
1421
  gb_bank_transfer_payments: nil,
1666
1422
  giropay_payments: nil,
1667
- gopay_payments: nil,
1668
1423
  grabpay_payments: nil,
1669
- id_bank_transfer_payments: nil,
1670
- id_bank_transfer_payments_bca: nil,
1671
1424
  ideal_payments: nil,
1672
1425
  india_international_payments: nil,
1673
1426
  jcb_payments: nil,
@@ -1678,7 +1431,6 @@ module Stripe
1678
1431
  kr_card_payments: nil,
1679
1432
  legacy_payments: nil,
1680
1433
  link_payments: nil,
1681
- mb_way_payments: nil,
1682
1434
  mobilepay_payments: nil,
1683
1435
  multibanco_payments: nil,
1684
1436
  mx_bank_transfer_payments: nil,
@@ -1689,28 +1441,19 @@ module Stripe
1689
1441
  pay_by_bank_payments: nil,
1690
1442
  payco_payments: nil,
1691
1443
  paynow_payments: nil,
1692
- paypal_payments: nil,
1693
- payto_payments: nil,
1694
1444
  pix_payments: nil,
1695
1445
  promptpay_payments: nil,
1696
- qris_payments: nil,
1697
- rechnung_payments: nil,
1698
1446
  revolut_pay_payments: nil,
1699
1447
  samsung_pay_payments: nil,
1700
1448
  satispay_payments: nil,
1701
1449
  sepa_bank_transfer_payments: nil,
1702
1450
  sepa_debit_payments: nil,
1703
- shopeepay_payments: nil,
1704
1451
  sofort_payments: nil,
1705
- stripe_balance_payments: nil,
1706
1452
  swish_payments: nil,
1707
1453
  tax_reporting_us_1099_k: nil,
1708
1454
  tax_reporting_us_1099_misc: nil,
1709
1455
  transfers: nil,
1710
1456
  treasury: nil,
1711
- treasury_evolve: nil,
1712
- treasury_fifth_third: nil,
1713
- treasury_goldman_sachs: nil,
1714
1457
  twint_payments: nil,
1715
1458
  us_bank_account_ach_payments: nil,
1716
1459
  us_bank_transfer_payments: nil,
@@ -1722,7 +1465,6 @@ module Stripe
1722
1465
  @alma_payments = alma_payments
1723
1466
  @amazon_pay_payments = amazon_pay_payments
1724
1467
  @au_becs_debit_payments = au_becs_debit_payments
1725
- @automatic_indirect_tax = automatic_indirect_tax
1726
1468
  @bacs_debit_payments = bacs_debit_payments
1727
1469
  @bancontact_payments = bancontact_payments
1728
1470
  @bank_transfer_payments = bank_transfer_payments
@@ -1738,10 +1480,7 @@ module Stripe
1738
1480
  @fpx_payments = fpx_payments
1739
1481
  @gb_bank_transfer_payments = gb_bank_transfer_payments
1740
1482
  @giropay_payments = giropay_payments
1741
- @gopay_payments = gopay_payments
1742
1483
  @grabpay_payments = grabpay_payments
1743
- @id_bank_transfer_payments = id_bank_transfer_payments
1744
- @id_bank_transfer_payments_bca = id_bank_transfer_payments_bca
1745
1484
  @ideal_payments = ideal_payments
1746
1485
  @india_international_payments = india_international_payments
1747
1486
  @jcb_payments = jcb_payments
@@ -1752,7 +1491,6 @@ module Stripe
1752
1491
  @kr_card_payments = kr_card_payments
1753
1492
  @legacy_payments = legacy_payments
1754
1493
  @link_payments = link_payments
1755
- @mb_way_payments = mb_way_payments
1756
1494
  @mobilepay_payments = mobilepay_payments
1757
1495
  @multibanco_payments = multibanco_payments
1758
1496
  @mx_bank_transfer_payments = mx_bank_transfer_payments
@@ -1763,28 +1501,19 @@ module Stripe
1763
1501
  @pay_by_bank_payments = pay_by_bank_payments
1764
1502
  @payco_payments = payco_payments
1765
1503
  @paynow_payments = paynow_payments
1766
- @paypal_payments = paypal_payments
1767
- @payto_payments = payto_payments
1768
1504
  @pix_payments = pix_payments
1769
1505
  @promptpay_payments = promptpay_payments
1770
- @qris_payments = qris_payments
1771
- @rechnung_payments = rechnung_payments
1772
1506
  @revolut_pay_payments = revolut_pay_payments
1773
1507
  @samsung_pay_payments = samsung_pay_payments
1774
1508
  @satispay_payments = satispay_payments
1775
1509
  @sepa_bank_transfer_payments = sepa_bank_transfer_payments
1776
1510
  @sepa_debit_payments = sepa_debit_payments
1777
- @shopeepay_payments = shopeepay_payments
1778
1511
  @sofort_payments = sofort_payments
1779
- @stripe_balance_payments = stripe_balance_payments
1780
1512
  @swish_payments = swish_payments
1781
1513
  @tax_reporting_us_1099_k = tax_reporting_us_1099_k
1782
1514
  @tax_reporting_us_1099_misc = tax_reporting_us_1099_misc
1783
1515
  @transfers = transfers
1784
1516
  @treasury = treasury
1785
- @treasury_evolve = treasury_evolve
1786
- @treasury_fifth_third = treasury_fifth_third
1787
- @treasury_goldman_sachs = treasury_goldman_sachs
1788
1517
  @twint_payments = twint_payments
1789
1518
  @us_bank_account_ach_payments = us_bank_account_ach_payments
1790
1519
  @us_bank_transfer_payments = us_bank_transfer_payments
@@ -2573,37 +2302,6 @@ module Stripe
2573
2302
  end
2574
2303
  end
2575
2304
 
2576
- class RiskControls < Stripe::RequestParams
2577
- class Charges < Stripe::RequestParams
2578
- # To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
2579
- # There can be a delay before the risk control is paused or unpaused.
2580
- attr_accessor :pause_requested
2581
-
2582
- def initialize(pause_requested: nil)
2583
- @pause_requested = pause_requested
2584
- end
2585
- end
2586
-
2587
- class Payouts < Stripe::RequestParams
2588
- # To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
2589
- # There can be a delay before the risk control is paused or unpaused.
2590
- attr_accessor :pause_requested
2591
-
2592
- def initialize(pause_requested: nil)
2593
- @pause_requested = pause_requested
2594
- end
2595
- end
2596
- # 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).
2597
- attr_accessor :charges
2598
- # 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).
2599
- attr_accessor :payouts
2600
-
2601
- def initialize(charges: nil, payouts: nil)
2602
- @charges = charges
2603
- @payouts = payouts
2604
- end
2605
- end
2606
-
2607
2305
  class Settings < Stripe::RequestParams
2608
2306
  class BacsDebitPayments < Stripe::RequestParams
2609
2307
  # 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.
@@ -2614,18 +2312,6 @@ module Stripe
2614
2312
  end
2615
2313
  end
2616
2314
 
2617
- class BankBcaOnboarding < Stripe::RequestParams
2618
- # Bank BCA business account holder name
2619
- attr_accessor :account_holder_name
2620
- # Bank BCA business account number
2621
- attr_accessor :business_account_number
2622
-
2623
- def initialize(account_holder_name: nil, business_account_number: nil)
2624
- @account_holder_name = account_holder_name
2625
- @business_account_number = business_account_number
2626
- end
2627
- end
2628
-
2629
2315
  class Branding < Stripe::RequestParams
2630
2316
  # (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.
2631
2317
  attr_accessor :icon
@@ -2644,18 +2330,6 @@ module Stripe
2644
2330
  end
2645
2331
  end
2646
2332
 
2647
- class Capital < Stripe::RequestParams
2648
- # Per-currency mapping of user-selected destination accounts used to pay out loans.
2649
- attr_accessor :payout_destination
2650
- # Per-currency mapping of all destination accounts eligible to receive Capital financing payouts.
2651
- attr_accessor :payout_destination_selector
2652
-
2653
- def initialize(payout_destination: nil, payout_destination_selector: nil)
2654
- @payout_destination = payout_destination
2655
- @payout_destination_selector = payout_destination_selector
2656
- end
2657
- end
2658
-
2659
2333
  class CardIssuing < Stripe::RequestParams
2660
2334
  class TosAcceptance < Stripe::RequestParams
2661
2335
  # The Unix timestamp marking when the account representative accepted the service agreement.
@@ -2789,15 +2463,6 @@ module Stripe
2789
2463
  end
2790
2464
  end
2791
2465
 
2792
- class TaxForms < Stripe::RequestParams
2793
- # Whether the account opted out of receiving their tax forms by postal delivery.
2794
- attr_accessor :consented_to_paperless_delivery
2795
-
2796
- def initialize(consented_to_paperless_delivery: nil)
2797
- @consented_to_paperless_delivery = consented_to_paperless_delivery
2798
- end
2799
- end
2800
-
2801
2466
  class Treasury < Stripe::RequestParams
2802
2467
  class TosAcceptance < Stripe::RequestParams
2803
2468
  # The Unix timestamp marking when the account representative accepted the service agreement.
@@ -2822,12 +2487,8 @@ module Stripe
2822
2487
  end
2823
2488
  # Settings specific to Bacs Direct Debit payments.
2824
2489
  attr_accessor :bacs_debit_payments
2825
- # Settings specific to bank BCA onboarding for Indonesia bank transfers payments method.
2826
- attr_accessor :bank_bca_onboarding
2827
2490
  # Settings used to apply the account's branding to email receipts, invoices, Checkout, and other products.
2828
2491
  attr_accessor :branding
2829
- # Settings specific to the account's use of the Capital product.
2830
- attr_accessor :capital
2831
2492
  # Settings specific to the account's use of the Card Issuing product.
2832
2493
  attr_accessor :card_issuing
2833
2494
  # Settings specific to card charging on the account.
@@ -2838,34 +2499,26 @@ module Stripe
2838
2499
  attr_accessor :payments
2839
2500
  # Settings specific to the account's payouts.
2840
2501
  attr_accessor :payouts
2841
- # Settings specific to the account's tax forms.
2842
- attr_accessor :tax_forms
2843
2502
  # Settings specific to the account's Treasury FinancialAccounts.
2844
2503
  attr_accessor :treasury
2845
2504
 
2846
2505
  def initialize(
2847
2506
  bacs_debit_payments: nil,
2848
- bank_bca_onboarding: nil,
2849
2507
  branding: nil,
2850
- capital: nil,
2851
2508
  card_issuing: nil,
2852
2509
  card_payments: nil,
2853
2510
  invoices: nil,
2854
2511
  payments: nil,
2855
2512
  payouts: nil,
2856
- tax_forms: nil,
2857
2513
  treasury: nil
2858
2514
  )
2859
2515
  @bacs_debit_payments = bacs_debit_payments
2860
- @bank_bca_onboarding = bank_bca_onboarding
2861
2516
  @branding = branding
2862
- @capital = capital
2863
2517
  @card_issuing = card_issuing
2864
2518
  @card_payments = card_payments
2865
2519
  @invoices = invoices
2866
2520
  @payments = payments
2867
2521
  @payouts = payouts
2868
- @tax_forms = tax_forms
2869
2522
  @treasury = treasury
2870
2523
  end
2871
2524
  end
@@ -2920,8 +2573,6 @@ module Stripe
2920
2573
  attr_accessor :individual
2921
2574
  # 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`.
2922
2575
  attr_accessor :metadata
2923
- # A hash to configure risk controls on the account. Please see [this page for more details](/connect/pausing-payments-or-payouts-on-connected-accounts).
2924
- attr_accessor :risk_controls
2925
2576
  # Options for customizing how the account functions within Stripe.
2926
2577
  attr_accessor :settings
2927
2578
  # 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.
@@ -2941,7 +2592,6 @@ module Stripe
2941
2592
  groups: nil,
2942
2593
  individual: nil,
2943
2594
  metadata: nil,
2944
- risk_controls: nil,
2945
2595
  settings: nil,
2946
2596
  tos_acceptance: nil
2947
2597
  )
@@ -2958,7 +2608,6 @@ module Stripe
2958
2608
  @groups = groups
2959
2609
  @individual = individual
2960
2610
  @metadata = metadata
2961
- @risk_controls = risk_controls
2962
2611
  @settings = settings
2963
2612
  @tos_acceptance = tos_acceptance
2964
2613
  end
@@ -3102,7 +2751,7 @@ module Stripe
3102
2751
  attr_accessor :estimated_worker_count
3103
2752
  # [The merchant category code for the account](/connect/setting-mcc). MCCs are used to classify businesses based on the goods or services they provide.
3104
2753
  attr_accessor :mcc
3105
- # Whether the business is a minority-owned, women-owned, and/or LGBTQI+-owned business.
2754
+ # Whether the business is a minority-owned, women-owned, and/or LGBTQI+ -owned business.
3106
2755
  attr_accessor :minority_owned_business_designation
3107
2756
  # An estimate of the monthly revenue of the business. Only accepted for accounts in Brazil and India.
3108
2757
  attr_accessor :monthly_estimated_revenue
@@ -3205,15 +2854,6 @@ module Stripe
3205
2854
  end
3206
2855
  end
3207
2856
 
3208
- class AutomaticIndirectTax < Stripe::RequestParams
3209
- # 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.
3210
- attr_accessor :requested
3211
-
3212
- def initialize(requested: nil)
3213
- @requested = requested
3214
- end
3215
- end
3216
-
3217
2857
  class BacsDebitPayments < Stripe::RequestParams
3218
2858
  # 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.
3219
2859
  attr_accessor :requested
@@ -3349,15 +2989,6 @@ module Stripe
3349
2989
  end
3350
2990
  end
3351
2991
 
3352
- class GopayPayments < Stripe::RequestParams
3353
- # 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.
3354
- attr_accessor :requested
3355
-
3356
- def initialize(requested: nil)
3357
- @requested = requested
3358
- end
3359
- end
3360
-
3361
2992
  class GrabpayPayments < Stripe::RequestParams
3362
2993
  # 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.
3363
2994
  attr_accessor :requested
@@ -3367,24 +2998,6 @@ module Stripe
3367
2998
  end
3368
2999
  end
3369
3000
 
3370
- class IdBankTransferPayments < 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
- class IdBankTransferPaymentsBca < Stripe::RequestParams
3380
- # 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
- attr_accessor :requested
3382
-
3383
- def initialize(requested: nil)
3384
- @requested = requested
3385
- end
3386
- end
3387
-
3388
3001
  class IdealPayments < Stripe::RequestParams
3389
3002
  # 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.
3390
3003
  attr_accessor :requested
@@ -3475,15 +3088,6 @@ module Stripe
3475
3088
  end
3476
3089
  end
3477
3090
 
3478
- class MbWayPayments < 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
3091
  class MobilepayPayments < Stripe::RequestParams
3488
3092
  # 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
3093
  attr_accessor :requested
@@ -3574,24 +3178,6 @@ module Stripe
3574
3178
  end
3575
3179
  end
3576
3180
 
3577
- class PaypalPayments < 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
- class PaytoPayments < Stripe::RequestParams
3587
- # 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
- attr_accessor :requested
3589
-
3590
- def initialize(requested: nil)
3591
- @requested = requested
3592
- end
3593
- end
3594
-
3595
3181
  class PixPayments < Stripe::RequestParams
3596
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.
3597
3183
  attr_accessor :requested
@@ -3610,24 +3196,6 @@ module Stripe
3610
3196
  end
3611
3197
  end
3612
3198
 
3613
- class QrisPayments < Stripe::RequestParams
3614
- # 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.
3615
- attr_accessor :requested
3616
-
3617
- def initialize(requested: nil)
3618
- @requested = requested
3619
- end
3620
- end
3621
-
3622
- class RechnungPayments < Stripe::RequestParams
3623
- # 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.
3624
- attr_accessor :requested
3625
-
3626
- def initialize(requested: nil)
3627
- @requested = requested
3628
- end
3629
- end
3630
-
3631
3199
  class RevolutPayPayments < Stripe::RequestParams
3632
3200
  # 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
3201
  attr_accessor :requested
@@ -3673,15 +3241,6 @@ module Stripe
3673
3241
  end
3674
3242
  end
3675
3243
 
3676
- class ShopeepayPayments < Stripe::RequestParams
3677
- # 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.
3678
- attr_accessor :requested
3679
-
3680
- def initialize(requested: nil)
3681
- @requested = requested
3682
- end
3683
- end
3684
-
3685
3244
  class SofortPayments < Stripe::RequestParams
3686
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.
3687
3246
  attr_accessor :requested
@@ -3691,15 +3250,6 @@ module Stripe
3691
3250
  end
3692
3251
  end
3693
3252
 
3694
- class StripeBalancePayments < Stripe::RequestParams
3695
- # 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.
3696
- attr_accessor :requested
3697
-
3698
- def initialize(requested: nil)
3699
- @requested = requested
3700
- end
3701
- end
3702
-
3703
3253
  class SwishPayments < Stripe::RequestParams
3704
3254
  # 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.
3705
3255
  attr_accessor :requested
@@ -3745,33 +3295,6 @@ module Stripe
3745
3295
  end
3746
3296
  end
3747
3297
 
3748
- class TreasuryEvolve < Stripe::RequestParams
3749
- # 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.
3750
- attr_accessor :requested
3751
-
3752
- def initialize(requested: nil)
3753
- @requested = requested
3754
- end
3755
- end
3756
-
3757
- class TreasuryFifthThird < Stripe::RequestParams
3758
- # 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.
3759
- attr_accessor :requested
3760
-
3761
- def initialize(requested: nil)
3762
- @requested = requested
3763
- end
3764
- end
3765
-
3766
- class TreasuryGoldmanSachs < Stripe::RequestParams
3767
- # 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.
3768
- attr_accessor :requested
3769
-
3770
- def initialize(requested: nil)
3771
- @requested = requested
3772
- end
3773
- end
3774
-
3775
3298
  class TwintPayments < Stripe::RequestParams
3776
3299
  # 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.
3777
3300
  attr_accessor :requested
@@ -3819,8 +3342,6 @@ module Stripe
3819
3342
  attr_accessor :amazon_pay_payments
3820
3343
  # The au_becs_debit_payments capability.
3821
3344
  attr_accessor :au_becs_debit_payments
3822
- # The automatic_indirect_tax capability.
3823
- attr_accessor :automatic_indirect_tax
3824
3345
  # The bacs_debit_payments capability.
3825
3346
  attr_accessor :bacs_debit_payments
3826
3347
  # The bancontact_payments capability.
@@ -3851,14 +3372,8 @@ module Stripe
3851
3372
  attr_accessor :gb_bank_transfer_payments
3852
3373
  # The giropay_payments capability.
3853
3374
  attr_accessor :giropay_payments
3854
- # The gopay_payments capability.
3855
- attr_accessor :gopay_payments
3856
3375
  # The grabpay_payments capability.
3857
3376
  attr_accessor :grabpay_payments
3858
- # The id_bank_transfer_payments capability.
3859
- attr_accessor :id_bank_transfer_payments
3860
- # The id_bank_transfer_payments_bca capability.
3861
- attr_accessor :id_bank_transfer_payments_bca
3862
3377
  # The ideal_payments capability.
3863
3378
  attr_accessor :ideal_payments
3864
3379
  # The india_international_payments capability.
@@ -3879,8 +3394,6 @@ module Stripe
3879
3394
  attr_accessor :legacy_payments
3880
3395
  # The link_payments capability.
3881
3396
  attr_accessor :link_payments
3882
- # The mb_way_payments capability.
3883
- attr_accessor :mb_way_payments
3884
3397
  # The mobilepay_payments capability.
3885
3398
  attr_accessor :mobilepay_payments
3886
3399
  # The multibanco_payments capability.
@@ -3901,18 +3414,10 @@ module Stripe
3901
3414
  attr_accessor :payco_payments
3902
3415
  # The paynow_payments capability.
3903
3416
  attr_accessor :paynow_payments
3904
- # The paypal_payments capability.
3905
- attr_accessor :paypal_payments
3906
- # The payto_payments capability.
3907
- attr_accessor :payto_payments
3908
3417
  # The pix_payments capability.
3909
3418
  attr_accessor :pix_payments
3910
3419
  # The promptpay_payments capability.
3911
3420
  attr_accessor :promptpay_payments
3912
- # The qris_payments capability.
3913
- attr_accessor :qris_payments
3914
- # The rechnung_payments capability.
3915
- attr_accessor :rechnung_payments
3916
3421
  # The revolut_pay_payments capability.
3917
3422
  attr_accessor :revolut_pay_payments
3918
3423
  # The samsung_pay_payments capability.
@@ -3923,12 +3428,8 @@ module Stripe
3923
3428
  attr_accessor :sepa_bank_transfer_payments
3924
3429
  # The sepa_debit_payments capability.
3925
3430
  attr_accessor :sepa_debit_payments
3926
- # The shopeepay_payments capability.
3927
- attr_accessor :shopeepay_payments
3928
3431
  # The sofort_payments capability.
3929
3432
  attr_accessor :sofort_payments
3930
- # The stripe_balance_payments capability.
3931
- attr_accessor :stripe_balance_payments
3932
3433
  # The swish_payments capability.
3933
3434
  attr_accessor :swish_payments
3934
3435
  # The tax_reporting_us_1099_k capability.
@@ -3939,12 +3440,6 @@ module Stripe
3939
3440
  attr_accessor :transfers
3940
3441
  # The treasury capability.
3941
3442
  attr_accessor :treasury
3942
- # The treasury_evolve capability.
3943
- attr_accessor :treasury_evolve
3944
- # The treasury_fifth_third capability.
3945
- attr_accessor :treasury_fifth_third
3946
- # The treasury_goldman_sachs capability.
3947
- attr_accessor :treasury_goldman_sachs
3948
3443
  # The twint_payments capability.
3949
3444
  attr_accessor :twint_payments
3950
3445
  # The us_bank_account_ach_payments capability.
@@ -3961,7 +3456,6 @@ module Stripe
3961
3456
  alma_payments: nil,
3962
3457
  amazon_pay_payments: nil,
3963
3458
  au_becs_debit_payments: nil,
3964
- automatic_indirect_tax: nil,
3965
3459
  bacs_debit_payments: nil,
3966
3460
  bancontact_payments: nil,
3967
3461
  bank_transfer_payments: nil,
@@ -3977,10 +3471,7 @@ module Stripe
3977
3471
  fpx_payments: nil,
3978
3472
  gb_bank_transfer_payments: nil,
3979
3473
  giropay_payments: nil,
3980
- gopay_payments: nil,
3981
3474
  grabpay_payments: nil,
3982
- id_bank_transfer_payments: nil,
3983
- id_bank_transfer_payments_bca: nil,
3984
3475
  ideal_payments: nil,
3985
3476
  india_international_payments: nil,
3986
3477
  jcb_payments: nil,
@@ -3991,7 +3482,6 @@ module Stripe
3991
3482
  kr_card_payments: nil,
3992
3483
  legacy_payments: nil,
3993
3484
  link_payments: nil,
3994
- mb_way_payments: nil,
3995
3485
  mobilepay_payments: nil,
3996
3486
  multibanco_payments: nil,
3997
3487
  mx_bank_transfer_payments: nil,
@@ -4002,28 +3492,19 @@ module Stripe
4002
3492
  pay_by_bank_payments: nil,
4003
3493
  payco_payments: nil,
4004
3494
  paynow_payments: nil,
4005
- paypal_payments: nil,
4006
- payto_payments: nil,
4007
3495
  pix_payments: nil,
4008
3496
  promptpay_payments: nil,
4009
- qris_payments: nil,
4010
- rechnung_payments: nil,
4011
3497
  revolut_pay_payments: nil,
4012
3498
  samsung_pay_payments: nil,
4013
3499
  satispay_payments: nil,
4014
3500
  sepa_bank_transfer_payments: nil,
4015
3501
  sepa_debit_payments: nil,
4016
- shopeepay_payments: nil,
4017
3502
  sofort_payments: nil,
4018
- stripe_balance_payments: nil,
4019
3503
  swish_payments: nil,
4020
3504
  tax_reporting_us_1099_k: nil,
4021
3505
  tax_reporting_us_1099_misc: nil,
4022
3506
  transfers: nil,
4023
3507
  treasury: nil,
4024
- treasury_evolve: nil,
4025
- treasury_fifth_third: nil,
4026
- treasury_goldman_sachs: nil,
4027
3508
  twint_payments: nil,
4028
3509
  us_bank_account_ach_payments: nil,
4029
3510
  us_bank_transfer_payments: nil,
@@ -4035,7 +3516,6 @@ module Stripe
4035
3516
  @alma_payments = alma_payments
4036
3517
  @amazon_pay_payments = amazon_pay_payments
4037
3518
  @au_becs_debit_payments = au_becs_debit_payments
4038
- @automatic_indirect_tax = automatic_indirect_tax
4039
3519
  @bacs_debit_payments = bacs_debit_payments
4040
3520
  @bancontact_payments = bancontact_payments
4041
3521
  @bank_transfer_payments = bank_transfer_payments
@@ -4051,10 +3531,7 @@ module Stripe
4051
3531
  @fpx_payments = fpx_payments
4052
3532
  @gb_bank_transfer_payments = gb_bank_transfer_payments
4053
3533
  @giropay_payments = giropay_payments
4054
- @gopay_payments = gopay_payments
4055
3534
  @grabpay_payments = grabpay_payments
4056
- @id_bank_transfer_payments = id_bank_transfer_payments
4057
- @id_bank_transfer_payments_bca = id_bank_transfer_payments_bca
4058
3535
  @ideal_payments = ideal_payments
4059
3536
  @india_international_payments = india_international_payments
4060
3537
  @jcb_payments = jcb_payments
@@ -4065,7 +3542,6 @@ module Stripe
4065
3542
  @kr_card_payments = kr_card_payments
4066
3543
  @legacy_payments = legacy_payments
4067
3544
  @link_payments = link_payments
4068
- @mb_way_payments = mb_way_payments
4069
3545
  @mobilepay_payments = mobilepay_payments
4070
3546
  @multibanco_payments = multibanco_payments
4071
3547
  @mx_bank_transfer_payments = mx_bank_transfer_payments
@@ -4076,28 +3552,19 @@ module Stripe
4076
3552
  @pay_by_bank_payments = pay_by_bank_payments
4077
3553
  @payco_payments = payco_payments
4078
3554
  @paynow_payments = paynow_payments
4079
- @paypal_payments = paypal_payments
4080
- @payto_payments = payto_payments
4081
3555
  @pix_payments = pix_payments
4082
3556
  @promptpay_payments = promptpay_payments
4083
- @qris_payments = qris_payments
4084
- @rechnung_payments = rechnung_payments
4085
3557
  @revolut_pay_payments = revolut_pay_payments
4086
3558
  @samsung_pay_payments = samsung_pay_payments
4087
3559
  @satispay_payments = satispay_payments
4088
3560
  @sepa_bank_transfer_payments = sepa_bank_transfer_payments
4089
3561
  @sepa_debit_payments = sepa_debit_payments
4090
- @shopeepay_payments = shopeepay_payments
4091
3562
  @sofort_payments = sofort_payments
4092
- @stripe_balance_payments = stripe_balance_payments
4093
3563
  @swish_payments = swish_payments
4094
3564
  @tax_reporting_us_1099_k = tax_reporting_us_1099_k
4095
3565
  @tax_reporting_us_1099_misc = tax_reporting_us_1099_misc
4096
3566
  @transfers = transfers
4097
3567
  @treasury = treasury
4098
- @treasury_evolve = treasury_evolve
4099
- @treasury_fifth_third = treasury_fifth_third
4100
- @treasury_goldman_sachs = treasury_goldman_sachs
4101
3568
  @twint_payments = twint_payments
4102
3569
  @us_bank_account_ach_payments = us_bank_account_ach_payments
4103
3570
  @us_bank_transfer_payments = us_bank_transfer_payments
@@ -4448,30 +3915,6 @@ module Stripe
4448
3915
  end
4449
3916
 
4450
3917
  class Controller < Stripe::RequestParams
4451
- class Application < Stripe::RequestParams
4452
- # Whether the controller is liable for losses on this account. For details, see [Understanding Connect Account Balances](https://stripe.com/docs/connect/account-balances).
4453
- attr_accessor :loss_liable
4454
- # Whether the controller owns onboarding for this account.
4455
- attr_accessor :onboarding_owner
4456
- # Whether the controller has pricing controls for this account.
4457
- attr_accessor :pricing_controls
4458
-
4459
- def initialize(loss_liable: nil, onboarding_owner: nil, pricing_controls: nil)
4460
- @loss_liable = loss_liable
4461
- @onboarding_owner = onboarding_owner
4462
- @pricing_controls = pricing_controls
4463
- end
4464
- end
4465
-
4466
- class Dashboard < Stripe::RequestParams
4467
- # 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`.
4468
- attr_accessor :type
4469
-
4470
- def initialize(type: nil)
4471
- @type = type
4472
- end
4473
- end
4474
-
4475
3918
  class Fees < Stripe::RequestParams
4476
3919
  # 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).
4477
3920
  attr_accessor :payer
@@ -4498,10 +3941,6 @@ module Stripe
4498
3941
  @type = type
4499
3942
  end
4500
3943
  end
4501
- # A hash of configuration describing the Connect application that controls the account.
4502
- attr_accessor :application
4503
- # Properties of the account's dashboard.
4504
- attr_accessor :dashboard
4505
3944
  # A hash of configuration for who pays Stripe fees for product usage on this account.
4506
3945
  attr_accessor :fees
4507
3946
  # A hash of configuration for products that have negative balance liability, and whether Stripe or a Connect application is responsible for them.
@@ -4511,16 +3950,7 @@ module Stripe
4511
3950
  # A hash of configuration for Stripe-hosted dashboards.
4512
3951
  attr_accessor :stripe_dashboard
4513
3952
 
4514
- def initialize(
4515
- application: nil,
4516
- dashboard: nil,
4517
- fees: nil,
4518
- losses: nil,
4519
- requirement_collection: nil,
4520
- stripe_dashboard: nil
4521
- )
4522
- @application = application
4523
- @dashboard = dashboard
3953
+ def initialize(fees: nil, losses: nil, requirement_collection: nil, stripe_dashboard: nil)
4524
3954
  @fees = fees
4525
3955
  @losses = losses
4526
3956
  @requirement_collection = requirement_collection
@@ -4967,37 +4397,6 @@ module Stripe
4967
4397
  end
4968
4398
  end
4969
4399
 
4970
- class RiskControls < Stripe::RequestParams
4971
- class Charges < Stripe::RequestParams
4972
- # To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
4973
- # There can be a delay before the risk control is paused or unpaused.
4974
- attr_accessor :pause_requested
4975
-
4976
- def initialize(pause_requested: nil)
4977
- @pause_requested = pause_requested
4978
- end
4979
- end
4980
-
4981
- class Payouts < Stripe::RequestParams
4982
- # To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
4983
- # There can be a delay before the risk control is paused or unpaused.
4984
- attr_accessor :pause_requested
4985
-
4986
- def initialize(pause_requested: nil)
4987
- @pause_requested = pause_requested
4988
- end
4989
- end
4990
- # 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).
4991
- attr_accessor :charges
4992
- # 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).
4993
- attr_accessor :payouts
4994
-
4995
- def initialize(charges: nil, payouts: nil)
4996
- @charges = charges
4997
- @payouts = payouts
4998
- end
4999
- end
5000
-
5001
4400
  class Settings < Stripe::RequestParams
5002
4401
  class BacsDebitPayments < Stripe::RequestParams
5003
4402
  # 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.
@@ -5008,18 +4407,6 @@ module Stripe
5008
4407
  end
5009
4408
  end
5010
4409
 
5011
- class BankBcaOnboarding < Stripe::RequestParams
5012
- # Bank BCA business account holder name
5013
- attr_accessor :account_holder_name
5014
- # Bank BCA business account number
5015
- attr_accessor :business_account_number
5016
-
5017
- def initialize(account_holder_name: nil, business_account_number: nil)
5018
- @account_holder_name = account_holder_name
5019
- @business_account_number = business_account_number
5020
- end
5021
- end
5022
-
5023
4410
  class Branding < Stripe::RequestParams
5024
4411
  # (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.
5025
4412
  attr_accessor :icon
@@ -5038,18 +4425,6 @@ module Stripe
5038
4425
  end
5039
4426
  end
5040
4427
 
5041
- class Capital < Stripe::RequestParams
5042
- # Per-currency mapping of user-selected destination accounts used to pay out loans.
5043
- attr_accessor :payout_destination
5044
- # Per-currency mapping of all destination accounts eligible to receive Capital financing payouts.
5045
- attr_accessor :payout_destination_selector
5046
-
5047
- def initialize(payout_destination: nil, payout_destination_selector: nil)
5048
- @payout_destination = payout_destination
5049
- @payout_destination_selector = payout_destination_selector
5050
- end
5051
- end
5052
-
5053
4428
  class CardIssuing < Stripe::RequestParams
5054
4429
  class TosAcceptance < Stripe::RequestParams
5055
4430
  # The Unix timestamp marking when the account representative accepted the service agreement.
@@ -5180,15 +4555,6 @@ module Stripe
5180
4555
  end
5181
4556
  end
5182
4557
 
5183
- class TaxForms < Stripe::RequestParams
5184
- # Whether the account opted out of receiving their tax forms by postal delivery.
5185
- attr_accessor :consented_to_paperless_delivery
5186
-
5187
- def initialize(consented_to_paperless_delivery: nil)
5188
- @consented_to_paperless_delivery = consented_to_paperless_delivery
5189
- end
5190
- end
5191
-
5192
4558
  class Treasury < Stripe::RequestParams
5193
4559
  class TosAcceptance < Stripe::RequestParams
5194
4560
  # The Unix timestamp marking when the account representative accepted the service agreement.
@@ -5213,12 +4579,8 @@ module Stripe
5213
4579
  end
5214
4580
  # Settings specific to Bacs Direct Debit.
5215
4581
  attr_accessor :bacs_debit_payments
5216
- # Settings specific to bank BCA onboarding for Indonesia bank transfers payments method.
5217
- attr_accessor :bank_bca_onboarding
5218
4582
  # Settings used to apply the account's branding to email receipts, invoices, Checkout, and other products.
5219
4583
  attr_accessor :branding
5220
- # Settings specific to the account's use of the Capital product.
5221
- attr_accessor :capital
5222
4584
  # Settings specific to the account's use of the Card Issuing product.
5223
4585
  attr_accessor :card_issuing
5224
4586
  # Settings specific to card charging on the account.
@@ -5229,34 +4591,26 @@ module Stripe
5229
4591
  attr_accessor :payments
5230
4592
  # Settings specific to the account's payouts.
5231
4593
  attr_accessor :payouts
5232
- # Settings specific to the account's tax forms.
5233
- attr_accessor :tax_forms
5234
4594
  # Settings specific to the account's Treasury FinancialAccounts.
5235
4595
  attr_accessor :treasury
5236
4596
 
5237
4597
  def initialize(
5238
4598
  bacs_debit_payments: nil,
5239
- bank_bca_onboarding: nil,
5240
4599
  branding: nil,
5241
- capital: nil,
5242
4600
  card_issuing: nil,
5243
4601
  card_payments: nil,
5244
4602
  invoices: nil,
5245
4603
  payments: nil,
5246
4604
  payouts: nil,
5247
- tax_forms: nil,
5248
4605
  treasury: nil
5249
4606
  )
5250
4607
  @bacs_debit_payments = bacs_debit_payments
5251
- @bank_bca_onboarding = bank_bca_onboarding
5252
4608
  @branding = branding
5253
- @capital = capital
5254
4609
  @card_issuing = card_issuing
5255
4610
  @card_payments = card_payments
5256
4611
  @invoices = invoices
5257
4612
  @payments = payments
5258
4613
  @payouts = payouts
5259
- @tax_forms = tax_forms
5260
4614
  @treasury = treasury
5261
4615
  end
5262
4616
  end
@@ -5315,8 +4669,6 @@ module Stripe
5315
4669
  attr_accessor :individual
5316
4670
  # 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`.
5317
4671
  attr_accessor :metadata
5318
- # A hash to configure risk controls on the account. Please see [this page for more details](/connect/pausing-payments-or-payouts-on-connected-accounts).
5319
- attr_accessor :risk_controls
5320
4672
  # Options for customizing how the account functions within Stripe.
5321
4673
  attr_accessor :settings
5322
4674
  # 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.
@@ -5340,7 +4692,6 @@ module Stripe
5340
4692
  groups: nil,
5341
4693
  individual: nil,
5342
4694
  metadata: nil,
5343
- risk_controls: nil,
5344
4695
  settings: nil,
5345
4696
  tos_acceptance: nil,
5346
4697
  type: nil
@@ -5360,7 +4711,6 @@ module Stripe
5360
4711
  @groups = groups
5361
4712
  @individual = individual
5362
4713
  @metadata = metadata
5363
- @risk_controls = risk_controls
5364
4714
  @settings = settings
5365
4715
  @tos_acceptance = tos_acceptance
5366
4716
  @type = type
@@ -5479,8 +4829,6 @@ module Stripe
5479
4829
  attr_reader :payouts_enabled
5480
4830
  # Attribute for field requirements
5481
4831
  attr_reader :requirements
5482
- # Attribute for field risk_controls
5483
- attr_reader :risk_controls
5484
4832
  # Options for customizing how the account functions within Stripe.
5485
4833
  attr_reader :settings
5486
4834
  # Attribute for field tos_acceptance
@@ -5504,7 +4852,7 @@ module Stripe
5504
4852
  #
5505
4853
  # Test-mode accounts can be deleted at any time.
5506
4854
  #
5507
- # Live-mode accounts where Stripe is responsible for negative account balances cannot be deleted, which includes Standard accounts. Live-mode accounts where your platform is liable for negative account balances, which includes Custom and Express accounts, can be deleted when all [balances](https://docs.stripe.com/api/balance/balance_object) are zero.
4855
+ # Live-mode accounts that have access to the standard dashboard and Stripe is responsible for negative account balances cannot be deleted, which includes Standard accounts. All other Live-mode accounts, can be deleted when all [balances](https://docs.stripe.com/api/balance/balance_object) are zero.
5508
4856
  #
5509
4857
  # If you want to delete your own account, use the [account information tab in your account settings](https://dashboard.stripe.com/settings/account) instead.
5510
4858
  def self.delete(account, params = {}, opts = {})
@@ -5520,7 +4868,7 @@ module Stripe
5520
4868
  #
5521
4869
  # Test-mode accounts can be deleted at any time.
5522
4870
  #
5523
- # Live-mode accounts where Stripe is responsible for negative account balances cannot be deleted, which includes Standard accounts. Live-mode accounts where your platform is liable for negative account balances, which includes Custom and Express accounts, can be deleted when all [balances](https://docs.stripe.com/api/balance/balance_object) are zero.
4871
+ # Live-mode accounts that have access to the standard dashboard and Stripe is responsible for negative account balances cannot be deleted, which includes Standard accounts. All other Live-mode accounts, can be deleted when all [balances](https://docs.stripe.com/api/balance/balance_object) are zero.
5524
4872
  #
5525
4873
  # If you want to delete your own account, use the [account information tab in your account settings](https://dashboard.stripe.com/settings/account) instead.
5526
4874
  def delete(params = {}, opts = {})