stripe 15.4.0.pre.beta.2 → 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 (605) hide show
  1. checksums.yaml +4 -4
  2. data/API_VERSION +1 -1
  3. data/CHANGELOG.md +686 -1602
  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 -32
  8. data/lib/stripe/api_version.rb +2 -1
  9. data/lib/stripe/errors.rb +0 -60
  10. data/lib/stripe/event_types.rb +0 -102
  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 -106
  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 -164
  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_configuration_storer_capability_status_updated_event.rb +0 -23
  463. data/lib/stripe/events/v2_core_account_including_configuration_storer_updated_event.rb +0 -21
  464. data/lib/stripe/events/v2_core_account_including_defaults_updated_event.rb +0 -21
  465. data/lib/stripe/events/v2_core_account_including_identity_updated_event.rb +0 -21
  466. data/lib/stripe/events/v2_core_account_including_requirements_updated_event.rb +0 -21
  467. data/lib/stripe/events/v2_core_account_link_completed_event.rb +0 -13
  468. data/lib/stripe/events/v2_core_account_person_created_event.rb +0 -23
  469. data/lib/stripe/events/v2_core_account_person_deleted_event.rb +0 -23
  470. data/lib/stripe/events/v2_core_account_person_updated_event.rb +0 -23
  471. data/lib/stripe/events/v2_core_account_updated_event.rb +0 -21
  472. data/lib/stripe/events/v2_money_management_adjustment_created_event.rb +0 -21
  473. data/lib/stripe/events/v2_money_management_financial_account_created_event.rb +0 -21
  474. data/lib/stripe/events/v2_money_management_financial_account_updated_event.rb +0 -21
  475. data/lib/stripe/events/v2_money_management_financial_address_activated_event.rb +0 -21
  476. data/lib/stripe/events/v2_money_management_financial_address_failed_event.rb +0 -21
  477. data/lib/stripe/events/v2_money_management_inbound_transfer_available_event.rb +0 -23
  478. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_failed_event.rb +0 -21
  479. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_processing_event.rb +0 -21
  480. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_queued_event.rb +0 -21
  481. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_returned_event.rb +0 -21
  482. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_succeeded_event.rb +0 -21
  483. data/lib/stripe/events/v2_money_management_outbound_payment_canceled_event.rb +0 -21
  484. data/lib/stripe/events/v2_money_management_outbound_payment_created_event.rb +0 -21
  485. data/lib/stripe/events/v2_money_management_outbound_payment_failed_event.rb +0 -21
  486. data/lib/stripe/events/v2_money_management_outbound_payment_posted_event.rb +0 -21
  487. data/lib/stripe/events/v2_money_management_outbound_payment_returned_event.rb +0 -21
  488. data/lib/stripe/events/v2_money_management_outbound_payment_updated_event.rb +0 -21
  489. data/lib/stripe/events/v2_money_management_outbound_transfer_canceled_event.rb +0 -21
  490. data/lib/stripe/events/v2_money_management_outbound_transfer_created_event.rb +0 -21
  491. data/lib/stripe/events/v2_money_management_outbound_transfer_failed_event.rb +0 -21
  492. data/lib/stripe/events/v2_money_management_outbound_transfer_posted_event.rb +0 -21
  493. data/lib/stripe/events/v2_money_management_outbound_transfer_returned_event.rb +0 -21
  494. data/lib/stripe/events/v2_money_management_outbound_transfer_updated_event.rb +0 -21
  495. data/lib/stripe/events/v2_money_management_received_credit_available_event.rb +0 -23
  496. data/lib/stripe/events/v2_money_management_received_credit_failed_event.rb +0 -21
  497. data/lib/stripe/events/v2_money_management_received_credit_returned_event.rb +0 -21
  498. data/lib/stripe/events/v2_money_management_received_credit_succeeded_event.rb +0 -21
  499. data/lib/stripe/events/v2_money_management_received_debit_canceled_event.rb +0 -21
  500. data/lib/stripe/events/v2_money_management_received_debit_failed_event.rb +0 -21
  501. data/lib/stripe/events/v2_money_management_received_debit_pending_event.rb +0 -21
  502. data/lib/stripe/events/v2_money_management_received_debit_succeeded_event.rb +0 -21
  503. data/lib/stripe/events/v2_money_management_received_debit_updated_event.rb +0 -21
  504. data/lib/stripe/events/v2_money_management_transaction_created_event.rb +0 -21
  505. data/lib/stripe/events/v2_money_management_transaction_updated_event.rb +0 -21
  506. data/lib/stripe/events/v2_off_session_payment_requires_capture_event.rb +0 -21
  507. data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_failed_event.rb +0 -21
  508. data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_started_event.rb +0 -21
  509. data/lib/stripe/events/v2_payments_off_session_payment_canceled_event.rb +0 -21
  510. data/lib/stripe/events/v2_payments_off_session_payment_created_event.rb +0 -21
  511. data/lib/stripe/events/v2_payments_off_session_payment_failed_event.rb +0 -21
  512. data/lib/stripe/events/v2_payments_off_session_payment_succeeded_event.rb +0 -21
  513. data/lib/stripe/resources/account_notice.rb +0 -123
  514. data/lib/stripe/resources/balance_settings.rb +0 -105
  515. data/lib/stripe/resources/capital/financing_offer.rb +0 -179
  516. data/lib/stripe/resources/capital/financing_summary.rb +0 -55
  517. data/lib/stripe/resources/capital/financing_transaction.rb +0 -114
  518. data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +0 -27
  519. data/lib/stripe/resources/financial_connections/institution.rb +0 -92
  520. data/lib/stripe/resources/fx_quote.rb +0 -184
  521. data/lib/stripe/resources/issuing/credit_underwriting_record.rb +0 -602
  522. data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +0 -82
  523. data/lib/stripe/resources/issuing/fraud_liability_debit.rb +0 -86
  524. data/lib/stripe/resources/issuing/settlement.rb +0 -53
  525. data/lib/stripe/resources/margin.rb +0 -115
  526. data/lib/stripe/resources/order.rb +0 -2958
  527. data/lib/stripe/resources/payment_attempt_record.rb +0 -1099
  528. data/lib/stripe/resources/payment_intent_amount_details_line_item.rb +0 -72
  529. data/lib/stripe/resources/payment_record.rb +0 -1628
  530. data/lib/stripe/resources/privacy/redaction_job.rb +0 -298
  531. data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +0 -33
  532. data/lib/stripe/resources/quote_line.rb +0 -274
  533. data/lib/stripe/resources/quote_preview_invoice.rb +0 -663
  534. data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -371
  535. data/lib/stripe/resources/tax/association.rb +0 -66
  536. data/lib/stripe/resources/tax/form.rb +0 -211
  537. data/lib/stripe/resources/terminal/reader_collected_data.rb +0 -31
  538. data/lib/stripe/resources/v2/core/account.rb +0 -1919
  539. data/lib/stripe/resources/v2/core/account_link.rb +0 -56
  540. data/lib/stripe/resources/v2/core/person.rb +0 -276
  541. data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +0 -74
  542. data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +0 -39
  543. data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +0 -20
  544. data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +0 -22
  545. data/lib/stripe/resources/v2/money_management/adjustment.rb +0 -51
  546. data/lib/stripe/resources/v2/money_management/financial_account.rb +0 -77
  547. data/lib/stripe/resources/v2/money_management/financial_address.rb +0 -68
  548. data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +0 -94
  549. data/lib/stripe/resources/v2/money_management/outbound_payment.rb +0 -129
  550. data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +0 -82
  551. data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +0 -45
  552. data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +0 -117
  553. data/lib/stripe/resources/v2/money_management/payout_method.rb +0 -75
  554. data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +0 -49
  555. data/lib/stripe/resources/v2/money_management/received_credit.rb +0 -122
  556. data/lib/stripe/resources/v2/money_management/received_debit.rb +0 -84
  557. data/lib/stripe/resources/v2/money_management/transaction.rb +0 -78
  558. data/lib/stripe/resources/v2/money_management/transaction_entry.rb +0 -68
  559. data/lib/stripe/resources/v2/payments/off_session_payment.rb +0 -72
  560. data/lib/stripe/services/account_notice_service.rb +0 -101
  561. data/lib/stripe/services/balance_settings_service.rb +0 -96
  562. data/lib/stripe/services/capital/financing_offer_service.rb +0 -112
  563. data/lib/stripe/services/capital/financing_summary_service.rb +0 -28
  564. data/lib/stripe/services/capital/financing_transaction_service.rb +0 -79
  565. data/lib/stripe/services/capital_service.rb +0 -15
  566. data/lib/stripe/services/fx_quote_service.rb +0 -123
  567. data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +0 -504
  568. data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +0 -66
  569. data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +0 -83
  570. data/lib/stripe/services/margin_service.rb +0 -119
  571. data/lib/stripe/services/order_service.rb +0 -2388
  572. data/lib/stripe/services/payment_attempt_record_service.rb +0 -49
  573. data/lib/stripe/services/payment_record_service.rb +0 -542
  574. data/lib/stripe/services/privacy/redaction_job_service.rb +0 -240
  575. data/lib/stripe/services/privacy_service.rb +0 -13
  576. data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +0 -35
  577. data/lib/stripe/services/tax/association_service.rb +0 -31
  578. data/lib/stripe/services/tax/form_service.rb +0 -100
  579. data/lib/stripe/services/terminal/reader_collected_data_service.rb +0 -28
  580. data/lib/stripe/services/v2/core/account_link_service.rb +0 -76
  581. data/lib/stripe/services/v2/core/account_service.rb +0 -4486
  582. data/lib/stripe/services/v2/core/accounts/person_service.rb +0 -1045
  583. data/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb +0 -130
  584. data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +0 -107
  585. data/lib/stripe/services/v2/core/vault_service.rb +0 -18
  586. data/lib/stripe/services/v2/money_management/adjustment_service.rb +0 -74
  587. data/lib/stripe/services/v2/money_management/financial_account_service.rb +0 -116
  588. data/lib/stripe/services/v2/money_management/financial_address_service.rb +0 -82
  589. data/lib/stripe/services/v2/money_management/inbound_transfer_service.rb +0 -125
  590. data/lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb +0 -95
  591. data/lib/stripe/services/v2/money_management/outbound_payment_service.rb +0 -199
  592. data/lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb +0 -235
  593. data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +0 -172
  594. data/lib/stripe/services/v2/money_management/payout_method_service.rb +0 -90
  595. data/lib/stripe/services/v2/money_management/payout_methods_bank_account_spec_service.rb +0 -32
  596. data/lib/stripe/services/v2/money_management/received_credit_service.rb +0 -70
  597. data/lib/stripe/services/v2/money_management/received_debit_service.rb +0 -43
  598. data/lib/stripe/services/v2/money_management/transaction_entry_service.rb +0 -69
  599. data/lib/stripe/services/v2/money_management/transaction_service.rb +0 -73
  600. data/lib/stripe/services/v2/money_management_service.rb +0 -31
  601. data/lib/stripe/services/v2/payment_service.rb +0 -15
  602. data/lib/stripe/services/v2/payments/off_session_payment_service.rb +0 -137
  603. data/lib/stripe/services/v2/test_helper_service.rb +0 -15
  604. data/lib/stripe/services/v2/test_helpers/financial_address_service.rb +0 -49
  605. data/rbi/stripe.rbi +0 -194513
@@ -124,7 +124,7 @@ module Stripe
124
124
  attr_accessor :estimated_worker_count
125
125
  # [The merchant category code for the account](/connect/setting-mcc). MCCs are used to classify businesses based on the goods or services they provide.
126
126
  attr_accessor :mcc
127
- # Whether the business is a minority-owned, women-owned, and/or LGBTQI+-owned business.
127
+ # Whether the business is a minority-owned, women-owned, and/or LGBTQI+ -owned business.
128
128
  attr_accessor :minority_owned_business_designation
129
129
  # An estimate of the monthly revenue of the business. Only accepted for accounts in Brazil and India.
130
130
  attr_accessor :monthly_estimated_revenue
@@ -227,15 +227,6 @@ module Stripe
227
227
  end
228
228
  end
229
229
 
230
- class AutomaticIndirectTax < Stripe::RequestParams
231
- # 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.
232
- attr_accessor :requested
233
-
234
- def initialize(requested: nil)
235
- @requested = requested
236
- end
237
- end
238
-
239
230
  class BacsDebitPayments < Stripe::RequestParams
240
231
  # 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.
241
232
  attr_accessor :requested
@@ -371,15 +362,6 @@ module Stripe
371
362
  end
372
363
  end
373
364
 
374
- class GopayPayments < Stripe::RequestParams
375
- # 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.
376
- attr_accessor :requested
377
-
378
- def initialize(requested: nil)
379
- @requested = requested
380
- end
381
- end
382
-
383
365
  class GrabpayPayments < Stripe::RequestParams
384
366
  # 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.
385
367
  attr_accessor :requested
@@ -389,24 +371,6 @@ module Stripe
389
371
  end
390
372
  end
391
373
 
392
- class IdBankTransferPayments < Stripe::RequestParams
393
- # 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.
394
- attr_accessor :requested
395
-
396
- def initialize(requested: nil)
397
- @requested = requested
398
- end
399
- end
400
-
401
- class IdBankTransferPaymentsBca < Stripe::RequestParams
402
- # 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.
403
- attr_accessor :requested
404
-
405
- def initialize(requested: nil)
406
- @requested = requested
407
- end
408
- end
409
-
410
374
  class IdealPayments < Stripe::RequestParams
411
375
  # 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.
412
376
  attr_accessor :requested
@@ -497,15 +461,6 @@ module Stripe
497
461
  end
498
462
  end
499
463
 
500
- class MbWayPayments < Stripe::RequestParams
501
- # 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.
502
- attr_accessor :requested
503
-
504
- def initialize(requested: nil)
505
- @requested = requested
506
- end
507
- end
508
-
509
464
  class MobilepayPayments < Stripe::RequestParams
510
465
  # 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.
511
466
  attr_accessor :requested
@@ -596,24 +551,6 @@ module Stripe
596
551
  end
597
552
  end
598
553
 
599
- class PaypalPayments < Stripe::RequestParams
600
- # 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.
601
- attr_accessor :requested
602
-
603
- def initialize(requested: nil)
604
- @requested = requested
605
- end
606
- end
607
-
608
- class PaytoPayments < Stripe::RequestParams
609
- # 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.
610
- attr_accessor :requested
611
-
612
- def initialize(requested: nil)
613
- @requested = requested
614
- end
615
- end
616
-
617
554
  class PixPayments < Stripe::RequestParams
618
555
  # 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.
619
556
  attr_accessor :requested
@@ -632,24 +569,6 @@ module Stripe
632
569
  end
633
570
  end
634
571
 
635
- class QrisPayments < Stripe::RequestParams
636
- # 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.
637
- attr_accessor :requested
638
-
639
- def initialize(requested: nil)
640
- @requested = requested
641
- end
642
- end
643
-
644
- class RechnungPayments < Stripe::RequestParams
645
- # 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.
646
- attr_accessor :requested
647
-
648
- def initialize(requested: nil)
649
- @requested = requested
650
- end
651
- end
652
-
653
572
  class RevolutPayPayments < Stripe::RequestParams
654
573
  # 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.
655
574
  attr_accessor :requested
@@ -695,15 +614,6 @@ module Stripe
695
614
  end
696
615
  end
697
616
 
698
- class ShopeepayPayments < Stripe::RequestParams
699
- # 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.
700
- attr_accessor :requested
701
-
702
- def initialize(requested: nil)
703
- @requested = requested
704
- end
705
- end
706
-
707
617
  class SofortPayments < Stripe::RequestParams
708
618
  # 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.
709
619
  attr_accessor :requested
@@ -713,15 +623,6 @@ module Stripe
713
623
  end
714
624
  end
715
625
 
716
- class StripeBalancePayments < Stripe::RequestParams
717
- # 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.
718
- attr_accessor :requested
719
-
720
- def initialize(requested: nil)
721
- @requested = requested
722
- end
723
- end
724
-
725
626
  class SwishPayments < Stripe::RequestParams
726
627
  # 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.
727
628
  attr_accessor :requested
@@ -767,33 +668,6 @@ module Stripe
767
668
  end
768
669
  end
769
670
 
770
- class TreasuryEvolve < Stripe::RequestParams
771
- # 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.
772
- attr_accessor :requested
773
-
774
- def initialize(requested: nil)
775
- @requested = requested
776
- end
777
- end
778
-
779
- class TreasuryFifthThird < Stripe::RequestParams
780
- # 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.
781
- attr_accessor :requested
782
-
783
- def initialize(requested: nil)
784
- @requested = requested
785
- end
786
- end
787
-
788
- class TreasuryGoldmanSachs < Stripe::RequestParams
789
- # 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.
790
- attr_accessor :requested
791
-
792
- def initialize(requested: nil)
793
- @requested = requested
794
- end
795
- end
796
-
797
671
  class TwintPayments < Stripe::RequestParams
798
672
  # 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.
799
673
  attr_accessor :requested
@@ -841,8 +715,6 @@ module Stripe
841
715
  attr_accessor :amazon_pay_payments
842
716
  # The au_becs_debit_payments capability.
843
717
  attr_accessor :au_becs_debit_payments
844
- # The automatic_indirect_tax capability.
845
- attr_accessor :automatic_indirect_tax
846
718
  # The bacs_debit_payments capability.
847
719
  attr_accessor :bacs_debit_payments
848
720
  # The bancontact_payments capability.
@@ -873,14 +745,8 @@ module Stripe
873
745
  attr_accessor :gb_bank_transfer_payments
874
746
  # The giropay_payments capability.
875
747
  attr_accessor :giropay_payments
876
- # The gopay_payments capability.
877
- attr_accessor :gopay_payments
878
748
  # The grabpay_payments capability.
879
749
  attr_accessor :grabpay_payments
880
- # The id_bank_transfer_payments capability.
881
- attr_accessor :id_bank_transfer_payments
882
- # The id_bank_transfer_payments_bca capability.
883
- attr_accessor :id_bank_transfer_payments_bca
884
750
  # The ideal_payments capability.
885
751
  attr_accessor :ideal_payments
886
752
  # The india_international_payments capability.
@@ -901,8 +767,6 @@ module Stripe
901
767
  attr_accessor :legacy_payments
902
768
  # The link_payments capability.
903
769
  attr_accessor :link_payments
904
- # The mb_way_payments capability.
905
- attr_accessor :mb_way_payments
906
770
  # The mobilepay_payments capability.
907
771
  attr_accessor :mobilepay_payments
908
772
  # The multibanco_payments capability.
@@ -923,18 +787,10 @@ module Stripe
923
787
  attr_accessor :payco_payments
924
788
  # The paynow_payments capability.
925
789
  attr_accessor :paynow_payments
926
- # The paypal_payments capability.
927
- attr_accessor :paypal_payments
928
- # The payto_payments capability.
929
- attr_accessor :payto_payments
930
790
  # The pix_payments capability.
931
791
  attr_accessor :pix_payments
932
792
  # The promptpay_payments capability.
933
793
  attr_accessor :promptpay_payments
934
- # The qris_payments capability.
935
- attr_accessor :qris_payments
936
- # The rechnung_payments capability.
937
- attr_accessor :rechnung_payments
938
794
  # The revolut_pay_payments capability.
939
795
  attr_accessor :revolut_pay_payments
940
796
  # The samsung_pay_payments capability.
@@ -945,12 +801,8 @@ module Stripe
945
801
  attr_accessor :sepa_bank_transfer_payments
946
802
  # The sepa_debit_payments capability.
947
803
  attr_accessor :sepa_debit_payments
948
- # The shopeepay_payments capability.
949
- attr_accessor :shopeepay_payments
950
804
  # The sofort_payments capability.
951
805
  attr_accessor :sofort_payments
952
- # The stripe_balance_payments capability.
953
- attr_accessor :stripe_balance_payments
954
806
  # The swish_payments capability.
955
807
  attr_accessor :swish_payments
956
808
  # The tax_reporting_us_1099_k capability.
@@ -961,12 +813,6 @@ module Stripe
961
813
  attr_accessor :transfers
962
814
  # The treasury capability.
963
815
  attr_accessor :treasury
964
- # The treasury_evolve capability.
965
- attr_accessor :treasury_evolve
966
- # The treasury_fifth_third capability.
967
- attr_accessor :treasury_fifth_third
968
- # The treasury_goldman_sachs capability.
969
- attr_accessor :treasury_goldman_sachs
970
816
  # The twint_payments capability.
971
817
  attr_accessor :twint_payments
972
818
  # The us_bank_account_ach_payments capability.
@@ -983,7 +829,6 @@ module Stripe
983
829
  alma_payments: nil,
984
830
  amazon_pay_payments: nil,
985
831
  au_becs_debit_payments: nil,
986
- automatic_indirect_tax: nil,
987
832
  bacs_debit_payments: nil,
988
833
  bancontact_payments: nil,
989
834
  bank_transfer_payments: nil,
@@ -999,10 +844,7 @@ module Stripe
999
844
  fpx_payments: nil,
1000
845
  gb_bank_transfer_payments: nil,
1001
846
  giropay_payments: nil,
1002
- gopay_payments: nil,
1003
847
  grabpay_payments: nil,
1004
- id_bank_transfer_payments: nil,
1005
- id_bank_transfer_payments_bca: nil,
1006
848
  ideal_payments: nil,
1007
849
  india_international_payments: nil,
1008
850
  jcb_payments: nil,
@@ -1013,7 +855,6 @@ module Stripe
1013
855
  kr_card_payments: nil,
1014
856
  legacy_payments: nil,
1015
857
  link_payments: nil,
1016
- mb_way_payments: nil,
1017
858
  mobilepay_payments: nil,
1018
859
  multibanco_payments: nil,
1019
860
  mx_bank_transfer_payments: nil,
@@ -1024,28 +865,19 @@ module Stripe
1024
865
  pay_by_bank_payments: nil,
1025
866
  payco_payments: nil,
1026
867
  paynow_payments: nil,
1027
- paypal_payments: nil,
1028
- payto_payments: nil,
1029
868
  pix_payments: nil,
1030
869
  promptpay_payments: nil,
1031
- qris_payments: nil,
1032
- rechnung_payments: nil,
1033
870
  revolut_pay_payments: nil,
1034
871
  samsung_pay_payments: nil,
1035
872
  satispay_payments: nil,
1036
873
  sepa_bank_transfer_payments: nil,
1037
874
  sepa_debit_payments: nil,
1038
- shopeepay_payments: nil,
1039
875
  sofort_payments: nil,
1040
- stripe_balance_payments: nil,
1041
876
  swish_payments: nil,
1042
877
  tax_reporting_us_1099_k: nil,
1043
878
  tax_reporting_us_1099_misc: nil,
1044
879
  transfers: nil,
1045
880
  treasury: nil,
1046
- treasury_evolve: nil,
1047
- treasury_fifth_third: nil,
1048
- treasury_goldman_sachs: nil,
1049
881
  twint_payments: nil,
1050
882
  us_bank_account_ach_payments: nil,
1051
883
  us_bank_transfer_payments: nil,
@@ -1057,7 +889,6 @@ module Stripe
1057
889
  @alma_payments = alma_payments
1058
890
  @amazon_pay_payments = amazon_pay_payments
1059
891
  @au_becs_debit_payments = au_becs_debit_payments
1060
- @automatic_indirect_tax = automatic_indirect_tax
1061
892
  @bacs_debit_payments = bacs_debit_payments
1062
893
  @bancontact_payments = bancontact_payments
1063
894
  @bank_transfer_payments = bank_transfer_payments
@@ -1073,10 +904,7 @@ module Stripe
1073
904
  @fpx_payments = fpx_payments
1074
905
  @gb_bank_transfer_payments = gb_bank_transfer_payments
1075
906
  @giropay_payments = giropay_payments
1076
- @gopay_payments = gopay_payments
1077
907
  @grabpay_payments = grabpay_payments
1078
- @id_bank_transfer_payments = id_bank_transfer_payments
1079
- @id_bank_transfer_payments_bca = id_bank_transfer_payments_bca
1080
908
  @ideal_payments = ideal_payments
1081
909
  @india_international_payments = india_international_payments
1082
910
  @jcb_payments = jcb_payments
@@ -1087,7 +915,6 @@ module Stripe
1087
915
  @kr_card_payments = kr_card_payments
1088
916
  @legacy_payments = legacy_payments
1089
917
  @link_payments = link_payments
1090
- @mb_way_payments = mb_way_payments
1091
918
  @mobilepay_payments = mobilepay_payments
1092
919
  @multibanco_payments = multibanco_payments
1093
920
  @mx_bank_transfer_payments = mx_bank_transfer_payments
@@ -1098,28 +925,19 @@ module Stripe
1098
925
  @pay_by_bank_payments = pay_by_bank_payments
1099
926
  @payco_payments = payco_payments
1100
927
  @paynow_payments = paynow_payments
1101
- @paypal_payments = paypal_payments
1102
- @payto_payments = payto_payments
1103
928
  @pix_payments = pix_payments
1104
929
  @promptpay_payments = promptpay_payments
1105
- @qris_payments = qris_payments
1106
- @rechnung_payments = rechnung_payments
1107
930
  @revolut_pay_payments = revolut_pay_payments
1108
931
  @samsung_pay_payments = samsung_pay_payments
1109
932
  @satispay_payments = satispay_payments
1110
933
  @sepa_bank_transfer_payments = sepa_bank_transfer_payments
1111
934
  @sepa_debit_payments = sepa_debit_payments
1112
- @shopeepay_payments = shopeepay_payments
1113
935
  @sofort_payments = sofort_payments
1114
- @stripe_balance_payments = stripe_balance_payments
1115
936
  @swish_payments = swish_payments
1116
937
  @tax_reporting_us_1099_k = tax_reporting_us_1099_k
1117
938
  @tax_reporting_us_1099_misc = tax_reporting_us_1099_misc
1118
939
  @transfers = transfers
1119
940
  @treasury = treasury
1120
- @treasury_evolve = treasury_evolve
1121
- @treasury_fifth_third = treasury_fifth_third
1122
- @treasury_goldman_sachs = treasury_goldman_sachs
1123
941
  @twint_payments = twint_payments
1124
942
  @us_bank_account_ach_payments = us_bank_account_ach_payments
1125
943
  @us_bank_transfer_payments = us_bank_transfer_payments
@@ -1908,37 +1726,6 @@ module Stripe
1908
1726
  end
1909
1727
  end
1910
1728
 
1911
- class RiskControls < Stripe::RequestParams
1912
- class Charges < Stripe::RequestParams
1913
- # To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
1914
- # There can be a delay before the risk control is paused or unpaused.
1915
- attr_accessor :pause_requested
1916
-
1917
- def initialize(pause_requested: nil)
1918
- @pause_requested = pause_requested
1919
- end
1920
- end
1921
-
1922
- class Payouts < Stripe::RequestParams
1923
- # To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
1924
- # There can be a delay before the risk control is paused or unpaused.
1925
- attr_accessor :pause_requested
1926
-
1927
- def initialize(pause_requested: nil)
1928
- @pause_requested = pause_requested
1929
- end
1930
- end
1931
- # 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).
1932
- attr_accessor :charges
1933
- # 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).
1934
- attr_accessor :payouts
1935
-
1936
- def initialize(charges: nil, payouts: nil)
1937
- @charges = charges
1938
- @payouts = payouts
1939
- end
1940
- end
1941
-
1942
1729
  class Settings < Stripe::RequestParams
1943
1730
  class BacsDebitPayments < Stripe::RequestParams
1944
1731
  # 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.
@@ -1949,18 +1736,6 @@ module Stripe
1949
1736
  end
1950
1737
  end
1951
1738
 
1952
- class BankBcaOnboarding < Stripe::RequestParams
1953
- # Bank BCA business account holder name
1954
- attr_accessor :account_holder_name
1955
- # Bank BCA business account number
1956
- attr_accessor :business_account_number
1957
-
1958
- def initialize(account_holder_name: nil, business_account_number: nil)
1959
- @account_holder_name = account_holder_name
1960
- @business_account_number = business_account_number
1961
- end
1962
- end
1963
-
1964
1739
  class Branding < Stripe::RequestParams
1965
1740
  # (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.
1966
1741
  attr_accessor :icon
@@ -1979,18 +1754,6 @@ module Stripe
1979
1754
  end
1980
1755
  end
1981
1756
 
1982
- class Capital < Stripe::RequestParams
1983
- # Per-currency mapping of user-selected destination accounts used to pay out loans.
1984
- attr_accessor :payout_destination
1985
- # Per-currency mapping of all destination accounts eligible to receive Capital financing payouts.
1986
- attr_accessor :payout_destination_selector
1987
-
1988
- def initialize(payout_destination: nil, payout_destination_selector: nil)
1989
- @payout_destination = payout_destination
1990
- @payout_destination_selector = payout_destination_selector
1991
- end
1992
- end
1993
-
1994
1757
  class CardIssuing < Stripe::RequestParams
1995
1758
  class TosAcceptance < Stripe::RequestParams
1996
1759
  # The Unix timestamp marking when the account representative accepted the service agreement.
@@ -2124,15 +1887,6 @@ module Stripe
2124
1887
  end
2125
1888
  end
2126
1889
 
2127
- class TaxForms < Stripe::RequestParams
2128
- # Whether the account opted out of receiving their tax forms by postal delivery.
2129
- attr_accessor :consented_to_paperless_delivery
2130
-
2131
- def initialize(consented_to_paperless_delivery: nil)
2132
- @consented_to_paperless_delivery = consented_to_paperless_delivery
2133
- end
2134
- end
2135
-
2136
1890
  class Treasury < Stripe::RequestParams
2137
1891
  class TosAcceptance < Stripe::RequestParams
2138
1892
  # The Unix timestamp marking when the account representative accepted the service agreement.
@@ -2157,12 +1911,8 @@ module Stripe
2157
1911
  end
2158
1912
  # Settings specific to Bacs Direct Debit payments.
2159
1913
  attr_accessor :bacs_debit_payments
2160
- # Settings specific to bank BCA onboarding for Indonesia bank transfers payments method.
2161
- attr_accessor :bank_bca_onboarding
2162
1914
  # Settings used to apply the account's branding to email receipts, invoices, Checkout, and other products.
2163
1915
  attr_accessor :branding
2164
- # Settings specific to the account's use of the Capital product.
2165
- attr_accessor :capital
2166
1916
  # Settings specific to the account's use of the Card Issuing product.
2167
1917
  attr_accessor :card_issuing
2168
1918
  # Settings specific to card charging on the account.
@@ -2173,34 +1923,26 @@ module Stripe
2173
1923
  attr_accessor :payments
2174
1924
  # Settings specific to the account's payouts.
2175
1925
  attr_accessor :payouts
2176
- # Settings specific to the account's tax forms.
2177
- attr_accessor :tax_forms
2178
1926
  # Settings specific to the account's Treasury FinancialAccounts.
2179
1927
  attr_accessor :treasury
2180
1928
 
2181
1929
  def initialize(
2182
1930
  bacs_debit_payments: nil,
2183
- bank_bca_onboarding: nil,
2184
1931
  branding: nil,
2185
- capital: nil,
2186
1932
  card_issuing: nil,
2187
1933
  card_payments: nil,
2188
1934
  invoices: nil,
2189
1935
  payments: nil,
2190
1936
  payouts: nil,
2191
- tax_forms: nil,
2192
1937
  treasury: nil
2193
1938
  )
2194
1939
  @bacs_debit_payments = bacs_debit_payments
2195
- @bank_bca_onboarding = bank_bca_onboarding
2196
1940
  @branding = branding
2197
- @capital = capital
2198
1941
  @card_issuing = card_issuing
2199
1942
  @card_payments = card_payments
2200
1943
  @invoices = invoices
2201
1944
  @payments = payments
2202
1945
  @payouts = payouts
2203
- @tax_forms = tax_forms
2204
1946
  @treasury = treasury
2205
1947
  end
2206
1948
  end
@@ -2255,8 +1997,6 @@ module Stripe
2255
1997
  attr_accessor :individual
2256
1998
  # 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`.
2257
1999
  attr_accessor :metadata
2258
- # A hash to configure risk controls on the account. Please see [this page for more details](/connect/pausing-payments-or-payouts-on-connected-accounts).
2259
- attr_accessor :risk_controls
2260
2000
  # Options for customizing how the account functions within Stripe.
2261
2001
  attr_accessor :settings
2262
2002
  # 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.
@@ -2276,7 +2016,6 @@ module Stripe
2276
2016
  groups: nil,
2277
2017
  individual: nil,
2278
2018
  metadata: nil,
2279
- risk_controls: nil,
2280
2019
  settings: nil,
2281
2020
  tos_acceptance: nil
2282
2021
  )
@@ -2293,7 +2032,6 @@ module Stripe
2293
2032
  @groups = groups
2294
2033
  @individual = individual
2295
2034
  @metadata = metadata
2296
- @risk_controls = risk_controls
2297
2035
  @settings = settings
2298
2036
  @tos_acceptance = tos_acceptance
2299
2037
  end
@@ -2446,7 +2184,7 @@ module Stripe
2446
2184
  attr_accessor :estimated_worker_count
2447
2185
  # [The merchant category code for the account](/connect/setting-mcc). MCCs are used to classify businesses based on the goods or services they provide.
2448
2186
  attr_accessor :mcc
2449
- # Whether the business is a minority-owned, women-owned, and/or LGBTQI+-owned business.
2187
+ # Whether the business is a minority-owned, women-owned, and/or LGBTQI+ -owned business.
2450
2188
  attr_accessor :minority_owned_business_designation
2451
2189
  # An estimate of the monthly revenue of the business. Only accepted for accounts in Brazil and India.
2452
2190
  attr_accessor :monthly_estimated_revenue
@@ -2549,15 +2287,6 @@ module Stripe
2549
2287
  end
2550
2288
  end
2551
2289
 
2552
- class AutomaticIndirectTax < Stripe::RequestParams
2553
- # 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.
2554
- attr_accessor :requested
2555
-
2556
- def initialize(requested: nil)
2557
- @requested = requested
2558
- end
2559
- end
2560
-
2561
2290
  class BacsDebitPayments < Stripe::RequestParams
2562
2291
  # 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.
2563
2292
  attr_accessor :requested
@@ -2693,15 +2422,6 @@ module Stripe
2693
2422
  end
2694
2423
  end
2695
2424
 
2696
- class GopayPayments < Stripe::RequestParams
2697
- # 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.
2698
- attr_accessor :requested
2699
-
2700
- def initialize(requested: nil)
2701
- @requested = requested
2702
- end
2703
- end
2704
-
2705
2425
  class GrabpayPayments < Stripe::RequestParams
2706
2426
  # 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.
2707
2427
  attr_accessor :requested
@@ -2711,24 +2431,6 @@ module Stripe
2711
2431
  end
2712
2432
  end
2713
2433
 
2714
- class IdBankTransferPayments < Stripe::RequestParams
2715
- # 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.
2716
- attr_accessor :requested
2717
-
2718
- def initialize(requested: nil)
2719
- @requested = requested
2720
- end
2721
- end
2722
-
2723
- class IdBankTransferPaymentsBca < Stripe::RequestParams
2724
- # 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.
2725
- attr_accessor :requested
2726
-
2727
- def initialize(requested: nil)
2728
- @requested = requested
2729
- end
2730
- end
2731
-
2732
2434
  class IdealPayments < Stripe::RequestParams
2733
2435
  # 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.
2734
2436
  attr_accessor :requested
@@ -2819,15 +2521,6 @@ module Stripe
2819
2521
  end
2820
2522
  end
2821
2523
 
2822
- class MbWayPayments < Stripe::RequestParams
2823
- # 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.
2824
- attr_accessor :requested
2825
-
2826
- def initialize(requested: nil)
2827
- @requested = requested
2828
- end
2829
- end
2830
-
2831
2524
  class MobilepayPayments < Stripe::RequestParams
2832
2525
  # 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.
2833
2526
  attr_accessor :requested
@@ -2918,24 +2611,6 @@ module Stripe
2918
2611
  end
2919
2612
  end
2920
2613
 
2921
- class PaypalPayments < Stripe::RequestParams
2922
- # 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.
2923
- attr_accessor :requested
2924
-
2925
- def initialize(requested: nil)
2926
- @requested = requested
2927
- end
2928
- end
2929
-
2930
- class PaytoPayments < Stripe::RequestParams
2931
- # 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.
2932
- attr_accessor :requested
2933
-
2934
- def initialize(requested: nil)
2935
- @requested = requested
2936
- end
2937
- end
2938
-
2939
2614
  class PixPayments < Stripe::RequestParams
2940
2615
  # 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.
2941
2616
  attr_accessor :requested
@@ -2954,24 +2629,6 @@ module Stripe
2954
2629
  end
2955
2630
  end
2956
2631
 
2957
- class QrisPayments < Stripe::RequestParams
2958
- # 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.
2959
- attr_accessor :requested
2960
-
2961
- def initialize(requested: nil)
2962
- @requested = requested
2963
- end
2964
- end
2965
-
2966
- class RechnungPayments < Stripe::RequestParams
2967
- # 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.
2968
- attr_accessor :requested
2969
-
2970
- def initialize(requested: nil)
2971
- @requested = requested
2972
- end
2973
- end
2974
-
2975
2632
  class RevolutPayPayments < Stripe::RequestParams
2976
2633
  # 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.
2977
2634
  attr_accessor :requested
@@ -3017,15 +2674,6 @@ module Stripe
3017
2674
  end
3018
2675
  end
3019
2676
 
3020
- class ShopeepayPayments < Stripe::RequestParams
3021
- # 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.
3022
- attr_accessor :requested
3023
-
3024
- def initialize(requested: nil)
3025
- @requested = requested
3026
- end
3027
- end
3028
-
3029
2677
  class SofortPayments < Stripe::RequestParams
3030
2678
  # 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.
3031
2679
  attr_accessor :requested
@@ -3035,15 +2683,6 @@ module Stripe
3035
2683
  end
3036
2684
  end
3037
2685
 
3038
- class StripeBalancePayments < Stripe::RequestParams
3039
- # 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.
3040
- attr_accessor :requested
3041
-
3042
- def initialize(requested: nil)
3043
- @requested = requested
3044
- end
3045
- end
3046
-
3047
2686
  class SwishPayments < Stripe::RequestParams
3048
2687
  # 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.
3049
2688
  attr_accessor :requested
@@ -3089,33 +2728,6 @@ module Stripe
3089
2728
  end
3090
2729
  end
3091
2730
 
3092
- class TreasuryEvolve < Stripe::RequestParams
3093
- # 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.
3094
- attr_accessor :requested
3095
-
3096
- def initialize(requested: nil)
3097
- @requested = requested
3098
- end
3099
- end
3100
-
3101
- class TreasuryFifthThird < Stripe::RequestParams
3102
- # 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.
3103
- attr_accessor :requested
3104
-
3105
- def initialize(requested: nil)
3106
- @requested = requested
3107
- end
3108
- end
3109
-
3110
- class TreasuryGoldmanSachs < Stripe::RequestParams
3111
- # 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.
3112
- attr_accessor :requested
3113
-
3114
- def initialize(requested: nil)
3115
- @requested = requested
3116
- end
3117
- end
3118
-
3119
2731
  class TwintPayments < Stripe::RequestParams
3120
2732
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
3121
2733
  attr_accessor :requested
@@ -3163,8 +2775,6 @@ module Stripe
3163
2775
  attr_accessor :amazon_pay_payments
3164
2776
  # The au_becs_debit_payments capability.
3165
2777
  attr_accessor :au_becs_debit_payments
3166
- # The automatic_indirect_tax capability.
3167
- attr_accessor :automatic_indirect_tax
3168
2778
  # The bacs_debit_payments capability.
3169
2779
  attr_accessor :bacs_debit_payments
3170
2780
  # The bancontact_payments capability.
@@ -3195,14 +2805,8 @@ module Stripe
3195
2805
  attr_accessor :gb_bank_transfer_payments
3196
2806
  # The giropay_payments capability.
3197
2807
  attr_accessor :giropay_payments
3198
- # The gopay_payments capability.
3199
- attr_accessor :gopay_payments
3200
2808
  # The grabpay_payments capability.
3201
2809
  attr_accessor :grabpay_payments
3202
- # The id_bank_transfer_payments capability.
3203
- attr_accessor :id_bank_transfer_payments
3204
- # The id_bank_transfer_payments_bca capability.
3205
- attr_accessor :id_bank_transfer_payments_bca
3206
2810
  # The ideal_payments capability.
3207
2811
  attr_accessor :ideal_payments
3208
2812
  # The india_international_payments capability.
@@ -3223,8 +2827,6 @@ module Stripe
3223
2827
  attr_accessor :legacy_payments
3224
2828
  # The link_payments capability.
3225
2829
  attr_accessor :link_payments
3226
- # The mb_way_payments capability.
3227
- attr_accessor :mb_way_payments
3228
2830
  # The mobilepay_payments capability.
3229
2831
  attr_accessor :mobilepay_payments
3230
2832
  # The multibanco_payments capability.
@@ -3245,18 +2847,10 @@ module Stripe
3245
2847
  attr_accessor :payco_payments
3246
2848
  # The paynow_payments capability.
3247
2849
  attr_accessor :paynow_payments
3248
- # The paypal_payments capability.
3249
- attr_accessor :paypal_payments
3250
- # The payto_payments capability.
3251
- attr_accessor :payto_payments
3252
2850
  # The pix_payments capability.
3253
2851
  attr_accessor :pix_payments
3254
2852
  # The promptpay_payments capability.
3255
2853
  attr_accessor :promptpay_payments
3256
- # The qris_payments capability.
3257
- attr_accessor :qris_payments
3258
- # The rechnung_payments capability.
3259
- attr_accessor :rechnung_payments
3260
2854
  # The revolut_pay_payments capability.
3261
2855
  attr_accessor :revolut_pay_payments
3262
2856
  # The samsung_pay_payments capability.
@@ -3267,12 +2861,8 @@ module Stripe
3267
2861
  attr_accessor :sepa_bank_transfer_payments
3268
2862
  # The sepa_debit_payments capability.
3269
2863
  attr_accessor :sepa_debit_payments
3270
- # The shopeepay_payments capability.
3271
- attr_accessor :shopeepay_payments
3272
2864
  # The sofort_payments capability.
3273
2865
  attr_accessor :sofort_payments
3274
- # The stripe_balance_payments capability.
3275
- attr_accessor :stripe_balance_payments
3276
2866
  # The swish_payments capability.
3277
2867
  attr_accessor :swish_payments
3278
2868
  # The tax_reporting_us_1099_k capability.
@@ -3283,12 +2873,6 @@ module Stripe
3283
2873
  attr_accessor :transfers
3284
2874
  # The treasury capability.
3285
2875
  attr_accessor :treasury
3286
- # The treasury_evolve capability.
3287
- attr_accessor :treasury_evolve
3288
- # The treasury_fifth_third capability.
3289
- attr_accessor :treasury_fifth_third
3290
- # The treasury_goldman_sachs capability.
3291
- attr_accessor :treasury_goldman_sachs
3292
2876
  # The twint_payments capability.
3293
2877
  attr_accessor :twint_payments
3294
2878
  # The us_bank_account_ach_payments capability.
@@ -3305,7 +2889,6 @@ module Stripe
3305
2889
  alma_payments: nil,
3306
2890
  amazon_pay_payments: nil,
3307
2891
  au_becs_debit_payments: nil,
3308
- automatic_indirect_tax: nil,
3309
2892
  bacs_debit_payments: nil,
3310
2893
  bancontact_payments: nil,
3311
2894
  bank_transfer_payments: nil,
@@ -3321,10 +2904,7 @@ module Stripe
3321
2904
  fpx_payments: nil,
3322
2905
  gb_bank_transfer_payments: nil,
3323
2906
  giropay_payments: nil,
3324
- gopay_payments: nil,
3325
2907
  grabpay_payments: nil,
3326
- id_bank_transfer_payments: nil,
3327
- id_bank_transfer_payments_bca: nil,
3328
2908
  ideal_payments: nil,
3329
2909
  india_international_payments: nil,
3330
2910
  jcb_payments: nil,
@@ -3335,7 +2915,6 @@ module Stripe
3335
2915
  kr_card_payments: nil,
3336
2916
  legacy_payments: nil,
3337
2917
  link_payments: nil,
3338
- mb_way_payments: nil,
3339
2918
  mobilepay_payments: nil,
3340
2919
  multibanco_payments: nil,
3341
2920
  mx_bank_transfer_payments: nil,
@@ -3346,28 +2925,19 @@ module Stripe
3346
2925
  pay_by_bank_payments: nil,
3347
2926
  payco_payments: nil,
3348
2927
  paynow_payments: nil,
3349
- paypal_payments: nil,
3350
- payto_payments: nil,
3351
2928
  pix_payments: nil,
3352
2929
  promptpay_payments: nil,
3353
- qris_payments: nil,
3354
- rechnung_payments: nil,
3355
2930
  revolut_pay_payments: nil,
3356
2931
  samsung_pay_payments: nil,
3357
2932
  satispay_payments: nil,
3358
2933
  sepa_bank_transfer_payments: nil,
3359
2934
  sepa_debit_payments: nil,
3360
- shopeepay_payments: nil,
3361
2935
  sofort_payments: nil,
3362
- stripe_balance_payments: nil,
3363
2936
  swish_payments: nil,
3364
2937
  tax_reporting_us_1099_k: nil,
3365
2938
  tax_reporting_us_1099_misc: nil,
3366
2939
  transfers: nil,
3367
2940
  treasury: nil,
3368
- treasury_evolve: nil,
3369
- treasury_fifth_third: nil,
3370
- treasury_goldman_sachs: nil,
3371
2941
  twint_payments: nil,
3372
2942
  us_bank_account_ach_payments: nil,
3373
2943
  us_bank_transfer_payments: nil,
@@ -3379,7 +2949,6 @@ module Stripe
3379
2949
  @alma_payments = alma_payments
3380
2950
  @amazon_pay_payments = amazon_pay_payments
3381
2951
  @au_becs_debit_payments = au_becs_debit_payments
3382
- @automatic_indirect_tax = automatic_indirect_tax
3383
2952
  @bacs_debit_payments = bacs_debit_payments
3384
2953
  @bancontact_payments = bancontact_payments
3385
2954
  @bank_transfer_payments = bank_transfer_payments
@@ -3395,10 +2964,7 @@ module Stripe
3395
2964
  @fpx_payments = fpx_payments
3396
2965
  @gb_bank_transfer_payments = gb_bank_transfer_payments
3397
2966
  @giropay_payments = giropay_payments
3398
- @gopay_payments = gopay_payments
3399
2967
  @grabpay_payments = grabpay_payments
3400
- @id_bank_transfer_payments = id_bank_transfer_payments
3401
- @id_bank_transfer_payments_bca = id_bank_transfer_payments_bca
3402
2968
  @ideal_payments = ideal_payments
3403
2969
  @india_international_payments = india_international_payments
3404
2970
  @jcb_payments = jcb_payments
@@ -3409,7 +2975,6 @@ module Stripe
3409
2975
  @kr_card_payments = kr_card_payments
3410
2976
  @legacy_payments = legacy_payments
3411
2977
  @link_payments = link_payments
3412
- @mb_way_payments = mb_way_payments
3413
2978
  @mobilepay_payments = mobilepay_payments
3414
2979
  @multibanco_payments = multibanco_payments
3415
2980
  @mx_bank_transfer_payments = mx_bank_transfer_payments
@@ -3420,28 +2985,19 @@ module Stripe
3420
2985
  @pay_by_bank_payments = pay_by_bank_payments
3421
2986
  @payco_payments = payco_payments
3422
2987
  @paynow_payments = paynow_payments
3423
- @paypal_payments = paypal_payments
3424
- @payto_payments = payto_payments
3425
2988
  @pix_payments = pix_payments
3426
2989
  @promptpay_payments = promptpay_payments
3427
- @qris_payments = qris_payments
3428
- @rechnung_payments = rechnung_payments
3429
2990
  @revolut_pay_payments = revolut_pay_payments
3430
2991
  @samsung_pay_payments = samsung_pay_payments
3431
2992
  @satispay_payments = satispay_payments
3432
2993
  @sepa_bank_transfer_payments = sepa_bank_transfer_payments
3433
2994
  @sepa_debit_payments = sepa_debit_payments
3434
- @shopeepay_payments = shopeepay_payments
3435
2995
  @sofort_payments = sofort_payments
3436
- @stripe_balance_payments = stripe_balance_payments
3437
2996
  @swish_payments = swish_payments
3438
2997
  @tax_reporting_us_1099_k = tax_reporting_us_1099_k
3439
2998
  @tax_reporting_us_1099_misc = tax_reporting_us_1099_misc
3440
2999
  @transfers = transfers
3441
3000
  @treasury = treasury
3442
- @treasury_evolve = treasury_evolve
3443
- @treasury_fifth_third = treasury_fifth_third
3444
- @treasury_goldman_sachs = treasury_goldman_sachs
3445
3001
  @twint_payments = twint_payments
3446
3002
  @us_bank_account_ach_payments = us_bank_account_ach_payments
3447
3003
  @us_bank_transfer_payments = us_bank_transfer_payments
@@ -3792,30 +3348,6 @@ module Stripe
3792
3348
  end
3793
3349
 
3794
3350
  class Controller < Stripe::RequestParams
3795
- class Application < Stripe::RequestParams
3796
- # Whether the controller is liable for losses on this account. For details, see [Understanding Connect Account Balances](https://stripe.com/docs/connect/account-balances).
3797
- attr_accessor :loss_liable
3798
- # Whether the controller owns onboarding for this account.
3799
- attr_accessor :onboarding_owner
3800
- # Whether the controller has pricing controls for this account.
3801
- attr_accessor :pricing_controls
3802
-
3803
- def initialize(loss_liable: nil, onboarding_owner: nil, pricing_controls: nil)
3804
- @loss_liable = loss_liable
3805
- @onboarding_owner = onboarding_owner
3806
- @pricing_controls = pricing_controls
3807
- end
3808
- end
3809
-
3810
- class Dashboard < Stripe::RequestParams
3811
- # 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`.
3812
- attr_accessor :type
3813
-
3814
- def initialize(type: nil)
3815
- @type = type
3816
- end
3817
- end
3818
-
3819
3351
  class Fees < Stripe::RequestParams
3820
3352
  # 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).
3821
3353
  attr_accessor :payer
@@ -3842,10 +3374,6 @@ module Stripe
3842
3374
  @type = type
3843
3375
  end
3844
3376
  end
3845
- # A hash of configuration describing the Connect application that controls the account.
3846
- attr_accessor :application
3847
- # Properties of the account's dashboard.
3848
- attr_accessor :dashboard
3849
3377
  # A hash of configuration for who pays Stripe fees for product usage on this account.
3850
3378
  attr_accessor :fees
3851
3379
  # A hash of configuration for products that have negative balance liability, and whether Stripe or a Connect application is responsible for them.
@@ -3855,16 +3383,7 @@ module Stripe
3855
3383
  # A hash of configuration for Stripe-hosted dashboards.
3856
3384
  attr_accessor :stripe_dashboard
3857
3385
 
3858
- def initialize(
3859
- application: nil,
3860
- dashboard: nil,
3861
- fees: nil,
3862
- losses: nil,
3863
- requirement_collection: nil,
3864
- stripe_dashboard: nil
3865
- )
3866
- @application = application
3867
- @dashboard = dashboard
3386
+ def initialize(fees: nil, losses: nil, requirement_collection: nil, stripe_dashboard: nil)
3868
3387
  @fees = fees
3869
3388
  @losses = losses
3870
3389
  @requirement_collection = requirement_collection
@@ -4311,37 +3830,6 @@ module Stripe
4311
3830
  end
4312
3831
  end
4313
3832
 
4314
- class RiskControls < Stripe::RequestParams
4315
- class Charges < Stripe::RequestParams
4316
- # To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
4317
- # There can be a delay before the risk control is paused or unpaused.
4318
- attr_accessor :pause_requested
4319
-
4320
- def initialize(pause_requested: nil)
4321
- @pause_requested = pause_requested
4322
- end
4323
- end
4324
-
4325
- class Payouts < Stripe::RequestParams
4326
- # To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
4327
- # There can be a delay before the risk control is paused or unpaused.
4328
- attr_accessor :pause_requested
4329
-
4330
- def initialize(pause_requested: nil)
4331
- @pause_requested = pause_requested
4332
- end
4333
- end
4334
- # 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).
4335
- attr_accessor :charges
4336
- # 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).
4337
- attr_accessor :payouts
4338
-
4339
- def initialize(charges: nil, payouts: nil)
4340
- @charges = charges
4341
- @payouts = payouts
4342
- end
4343
- end
4344
-
4345
3833
  class Settings < Stripe::RequestParams
4346
3834
  class BacsDebitPayments < Stripe::RequestParams
4347
3835
  # 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.
@@ -4352,18 +3840,6 @@ module Stripe
4352
3840
  end
4353
3841
  end
4354
3842
 
4355
- class BankBcaOnboarding < Stripe::RequestParams
4356
- # Bank BCA business account holder name
4357
- attr_accessor :account_holder_name
4358
- # Bank BCA business account number
4359
- attr_accessor :business_account_number
4360
-
4361
- def initialize(account_holder_name: nil, business_account_number: nil)
4362
- @account_holder_name = account_holder_name
4363
- @business_account_number = business_account_number
4364
- end
4365
- end
4366
-
4367
3843
  class Branding < Stripe::RequestParams
4368
3844
  # (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.
4369
3845
  attr_accessor :icon
@@ -4382,18 +3858,6 @@ module Stripe
4382
3858
  end
4383
3859
  end
4384
3860
 
4385
- class Capital < Stripe::RequestParams
4386
- # Per-currency mapping of user-selected destination accounts used to pay out loans.
4387
- attr_accessor :payout_destination
4388
- # Per-currency mapping of all destination accounts eligible to receive Capital financing payouts.
4389
- attr_accessor :payout_destination_selector
4390
-
4391
- def initialize(payout_destination: nil, payout_destination_selector: nil)
4392
- @payout_destination = payout_destination
4393
- @payout_destination_selector = payout_destination_selector
4394
- end
4395
- end
4396
-
4397
3861
  class CardIssuing < Stripe::RequestParams
4398
3862
  class TosAcceptance < Stripe::RequestParams
4399
3863
  # The Unix timestamp marking when the account representative accepted the service agreement.
@@ -4524,15 +3988,6 @@ module Stripe
4524
3988
  end
4525
3989
  end
4526
3990
 
4527
- class TaxForms < Stripe::RequestParams
4528
- # Whether the account opted out of receiving their tax forms by postal delivery.
4529
- attr_accessor :consented_to_paperless_delivery
4530
-
4531
- def initialize(consented_to_paperless_delivery: nil)
4532
- @consented_to_paperless_delivery = consented_to_paperless_delivery
4533
- end
4534
- end
4535
-
4536
3991
  class Treasury < Stripe::RequestParams
4537
3992
  class TosAcceptance < Stripe::RequestParams
4538
3993
  # The Unix timestamp marking when the account representative accepted the service agreement.
@@ -4557,12 +4012,8 @@ module Stripe
4557
4012
  end
4558
4013
  # Settings specific to Bacs Direct Debit.
4559
4014
  attr_accessor :bacs_debit_payments
4560
- # Settings specific to bank BCA onboarding for Indonesia bank transfers payments method.
4561
- attr_accessor :bank_bca_onboarding
4562
4015
  # Settings used to apply the account's branding to email receipts, invoices, Checkout, and other products.
4563
4016
  attr_accessor :branding
4564
- # Settings specific to the account's use of the Capital product.
4565
- attr_accessor :capital
4566
4017
  # Settings specific to the account's use of the Card Issuing product.
4567
4018
  attr_accessor :card_issuing
4568
4019
  # Settings specific to card charging on the account.
@@ -4573,34 +4024,26 @@ module Stripe
4573
4024
  attr_accessor :payments
4574
4025
  # Settings specific to the account's payouts.
4575
4026
  attr_accessor :payouts
4576
- # Settings specific to the account's tax forms.
4577
- attr_accessor :tax_forms
4578
4027
  # Settings specific to the account's Treasury FinancialAccounts.
4579
4028
  attr_accessor :treasury
4580
4029
 
4581
4030
  def initialize(
4582
4031
  bacs_debit_payments: nil,
4583
- bank_bca_onboarding: nil,
4584
4032
  branding: nil,
4585
- capital: nil,
4586
4033
  card_issuing: nil,
4587
4034
  card_payments: nil,
4588
4035
  invoices: nil,
4589
4036
  payments: nil,
4590
4037
  payouts: nil,
4591
- tax_forms: nil,
4592
4038
  treasury: nil
4593
4039
  )
4594
4040
  @bacs_debit_payments = bacs_debit_payments
4595
- @bank_bca_onboarding = bank_bca_onboarding
4596
4041
  @branding = branding
4597
- @capital = capital
4598
4042
  @card_issuing = card_issuing
4599
4043
  @card_payments = card_payments
4600
4044
  @invoices = invoices
4601
4045
  @payments = payments
4602
4046
  @payouts = payouts
4603
- @tax_forms = tax_forms
4604
4047
  @treasury = treasury
4605
4048
  end
4606
4049
  end
@@ -4659,8 +4102,6 @@ module Stripe
4659
4102
  attr_accessor :individual
4660
4103
  # 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`.
4661
4104
  attr_accessor :metadata
4662
- # A hash to configure risk controls on the account. Please see [this page for more details](/connect/pausing-payments-or-payouts-on-connected-accounts).
4663
- attr_accessor :risk_controls
4664
4105
  # Options for customizing how the account functions within Stripe.
4665
4106
  attr_accessor :settings
4666
4107
  # 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.
@@ -4684,7 +4125,6 @@ module Stripe
4684
4125
  groups: nil,
4685
4126
  individual: nil,
4686
4127
  metadata: nil,
4687
- risk_controls: nil,
4688
4128
  settings: nil,
4689
4129
  tos_acceptance: nil,
4690
4130
  type: nil
@@ -4704,7 +4144,6 @@ module Stripe
4704
4144
  @groups = groups
4705
4145
  @individual = individual
4706
4146
  @metadata = metadata
4707
- @risk_controls = risk_controls
4708
4147
  @settings = settings
4709
4148
  @tos_acceptance = tos_acceptance
4710
4149
  @type = type
@@ -4737,7 +4176,7 @@ module Stripe
4737
4176
  #
4738
4177
  # Test-mode accounts can be deleted at any time.
4739
4178
  #
4740
- # 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.
4179
+ # 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.
4741
4180
  #
4742
4181
  # If you want to delete your own account, use the [account information tab in your account settings](https://dashboard.stripe.com/settings/account) instead.
4743
4182
  def delete(account, params = {}, opts = {})