stripe 15.1.0.pre.beta.2 → 15.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (597) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +696 -1554
  3. data/OPENAPI_VERSION +1 -1
  4. data/README.md +6 -0
  5. data/VERSION +1 -1
  6. data/lib/stripe/api_requestor.rb +0 -28
  7. data/lib/stripe/api_version.rb +1 -1
  8. data/lib/stripe/errors.rb +0 -54
  9. data/lib/stripe/event_types.rb +1 -75
  10. data/lib/stripe/events/v1_billing_meter_error_report_triggered_event.rb +1 -1
  11. data/lib/stripe/events/v1_billing_meter_no_meter_found_event.rb +1 -1
  12. data/lib/stripe/events/{v2_core_account_including_identity_updated_event.rb → v2_core_event_destination_ping_event.rb} +3 -3
  13. data/lib/stripe/object_types.rb +0 -53
  14. data/lib/stripe/resources/account.rb +3 -655
  15. data/lib/stripe/resources/account_session.rb +1 -299
  16. data/lib/stripe/resources/billing/credit_balance_summary.rb +0 -2
  17. data/lib/stripe/resources/billing/credit_balance_transaction.rb +0 -4
  18. data/lib/stripe/resources/billing/credit_grant.rb +0 -10
  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 +0 -1470
  23. data/lib/stripe/resources/checkout/session.rb +3 -327
  24. data/lib/stripe/resources/confirmation_token.rb +3 -177
  25. data/lib/stripe/resources/coupon.rb +1 -30
  26. data/lib/stripe/resources/credit_note.rb +0 -10
  27. data/lib/stripe/resources/credit_note_line_item.rb +0 -9
  28. data/lib/stripe/resources/customer.rb +2 -4
  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/event.rb +0 -31
  34. data/lib/stripe/resources/financial_connections/account.rb +1 -20
  35. data/lib/stripe/resources/financial_connections/session.rb +2 -62
  36. data/lib/stripe/resources/identity/verification_session.rb +0 -10
  37. data/lib/stripe/resources/invoice.rb +17 -1123
  38. data/lib/stripe/resources/invoice_item.rb +2 -78
  39. data/lib/stripe/resources/invoice_line_item.rb +1 -55
  40. data/lib/stripe/resources/invoice_payment.rb +53 -2
  41. data/lib/stripe/resources/issuing/cardholder.rb +1 -2
  42. data/lib/stripe/resources/issuing/transaction.rb +0 -6
  43. data/lib/stripe/resources/line_item.rb +0 -37
  44. data/lib/stripe/resources/mandate.rb +0 -24
  45. data/lib/stripe/resources/payment_intent.rb +331 -5153
  46. data/lib/stripe/resources/payment_method.rb +1 -196
  47. data/lib/stripe/resources/payment_method_configuration.rb +0 -295
  48. data/lib/stripe/resources/payout.rb +0 -6
  49. data/lib/stripe/resources/price.rb +0 -30
  50. data/lib/stripe/resources/product.rb +0 -59
  51. data/lib/stripe/resources/promotion_code.rb +0 -10
  52. data/lib/stripe/resources/quote.rb +6 -2040
  53. data/lib/stripe/resources/refund.rb +0 -9
  54. data/lib/stripe/resources/setup_attempt.rb +0 -21
  55. data/lib/stripe/resources/setup_intent.rb +9 -596
  56. data/lib/stripe/resources/source.rb +0 -29
  57. data/lib/stripe/resources/subscription.rb +11 -294
  58. data/lib/stripe/resources/subscription_item.rb +3 -84
  59. data/lib/stripe/resources/subscription_schedule.rb +10 -1007
  60. data/lib/stripe/resources/tax/calculation.rb +2 -2
  61. data/lib/stripe/resources/tax/registration.rb +60 -0
  62. data/lib/stripe/resources/tax/transaction.rb +1 -1
  63. data/lib/stripe/resources/tax_id.rb +4 -14
  64. data/lib/stripe/resources/terminal/reader.rb +0 -406
  65. data/lib/stripe/resources/transfer.rb +0 -6
  66. data/lib/stripe/resources/treasury/financial_account.rb +3 -22
  67. data/lib/stripe/resources/treasury/financial_account_features.rb +0 -2
  68. data/lib/stripe/resources/treasury/outbound_payment.rb +1 -4
  69. data/lib/stripe/resources/treasury/outbound_transfer.rb +0 -37
  70. data/lib/stripe/resources/treasury/received_credit.rb +1 -38
  71. data/lib/stripe/resources/treasury/received_debit.rb +1 -40
  72. data/lib/stripe/resources/v2/billing/meter_event.rb +2 -2
  73. data/lib/stripe/resources/v2/billing/meter_event_adjustment.rb +2 -2
  74. data/lib/stripe/resources/v2/billing/meter_event_session.rb +2 -2
  75. data/lib/stripe/resources/v2/event.rb +2 -2
  76. data/lib/stripe/resources/v2/event_destination.rb +2 -2
  77. data/lib/stripe/resources.rb +1 -90
  78. data/lib/stripe/services/account_external_account_service.rb +1 -1
  79. data/lib/stripe/services/account_service.rb +3 -564
  80. data/lib/stripe/services/account_session_service.rb +1 -269
  81. data/lib/stripe/services/billing/credit_balance_summary_service.rb +1 -4
  82. data/lib/stripe/services/billing/credit_balance_transaction_service.rb +0 -4
  83. data/lib/stripe/services/billing/credit_grant_service.rb +0 -8
  84. data/lib/stripe/services/billing_portal/session_service.rb +0 -4
  85. data/lib/stripe/services/charge_service.rb +0 -1350
  86. data/lib/stripe/services/checkout/session_service.rb +2 -243
  87. data/lib/stripe/services/coupon_service.rb +1 -17
  88. data/lib/stripe/services/credit_note_service.rb +0 -4
  89. data/lib/stripe/services/customer_payment_method_service.rb +1 -1
  90. data/lib/stripe/services/customer_service.rb +1 -1
  91. data/lib/stripe/services/customer_session_service.rb +1 -4
  92. data/lib/stripe/services/customer_tax_id_service.rb +1 -1
  93. data/lib/stripe/services/financial_connections/account_service.rb +2 -7
  94. data/lib/stripe/services/financial_connections/session_service.rb +2 -34
  95. data/lib/stripe/services/financial_connections_service.rb +1 -2
  96. data/lib/stripe/services/identity/verification_session_service.rb +0 -8
  97. data/lib/stripe/services/invoice_item_service.rb +2 -74
  98. data/lib/stripe/services/invoice_line_item_service.rb +1 -33
  99. data/lib/stripe/services/invoice_payment_service.rb +83 -0
  100. data/lib/stripe/services/invoice_service.rb +16 -1052
  101. data/lib/stripe/services/issuing/cardholder_service.rb +1 -2
  102. data/lib/stripe/services/issuing/transaction_service.rb +0 -4
  103. data/lib/stripe/services/issuing_service.rb +1 -5
  104. data/lib/stripe/services/payment_intent_service.rb +283 -4656
  105. data/lib/stripe/services/payment_method_configuration_service.rb +0 -210
  106. data/lib/stripe/services/payment_method_service.rb +1 -126
  107. data/lib/stripe/services/payout_service.rb +0 -4
  108. data/lib/stripe/services/price_service.rb +0 -19
  109. data/lib/stripe/services/product_service.rb +0 -38
  110. data/lib/stripe/services/promotion_code_service.rb +0 -8
  111. data/lib/stripe/services/quote_service.rb +7 -1726
  112. data/lib/stripe/services/setup_intent_service.rb +9 -556
  113. data/lib/stripe/services/subscription_item_service.rb +3 -75
  114. data/lib/stripe/services/subscription_schedule_service.rb +10 -911
  115. data/lib/stripe/services/subscription_service.rb +10 -254
  116. data/lib/stripe/services/tax/calculation_service.rb +1 -1
  117. data/lib/stripe/services/tax/registration_service.rb +39 -0
  118. data/lib/stripe/services/tax_id_service.rb +3 -9
  119. data/lib/stripe/services/tax_service.rb +1 -3
  120. data/lib/stripe/services/terminal/reader_service.rb +0 -180
  121. data/lib/stripe/services/terminal_service.rb +1 -2
  122. data/lib/stripe/services/test_helpers/confirmation_token_service.rb +3 -106
  123. data/lib/stripe/services/test_helpers/terminal/reader_service.rb +0 -43
  124. data/lib/stripe/services/test_helpers/treasury/received_credit_service.rb +1 -25
  125. data/lib/stripe/services/test_helpers/treasury/received_debit_service.rb +1 -25
  126. data/lib/stripe/services/transfer_service.rb +0 -4
  127. data/lib/stripe/services/treasury/financial_account_features_service.rb +1 -4
  128. data/lib/stripe/services/treasury/financial_account_service.rb +2 -16
  129. data/lib/stripe/services/treasury/outbound_payment_service.rb +1 -4
  130. data/lib/stripe/services/treasury/outbound_transfer_service.rb +0 -24
  131. data/lib/stripe/services/v1_services.rb +2 -12
  132. data/lib/stripe/services/v2/core_service.rb +1 -4
  133. data/lib/stripe/services/v2_services.rb +2 -4
  134. data/lib/stripe/services.rb +1 -54
  135. data/lib/stripe/stripe_configuration.rb +1 -3
  136. data/lib/stripe/stripe_object.rb +1 -1
  137. data/lib/stripe/util.rb +1 -7
  138. data/lib/stripe/version.rb +1 -1
  139. data/lib/stripe.rb +0 -53
  140. data/rbi/stripe/resources/account.rbi +4903 -0
  141. data/rbi/stripe/resources/account_link.rbi +74 -0
  142. data/rbi/stripe/resources/account_session.rbi +894 -0
  143. data/rbi/stripe/resources/apple_pay_domain.rbi +90 -0
  144. data/rbi/stripe/resources/application.rbi +20 -0
  145. data/rbi/stripe/resources/application_fee.rbi +118 -0
  146. data/rbi/stripe/resources/application_fee_refund.rbi +37 -0
  147. data/rbi/stripe/resources/apps/secret.rbi +195 -0
  148. data/rbi/stripe/resources/balance.rbi +180 -0
  149. data/rbi/stripe/resources/balance_transaction.rbi +144 -0
  150. data/rbi/stripe/resources/bank_account.rbi +127 -0
  151. data/rbi/stripe/resources/billing/alert.rbi +201 -0
  152. data/rbi/stripe/resources/billing/alert_triggered.rbi +28 -0
  153. data/rbi/stripe/resources/billing/credit_balance_summary.rbi +63 -0
  154. data/rbi/stripe/resources/billing/credit_balance_transaction.rbi +147 -0
  155. data/rbi/stripe/resources/billing/credit_grant.rbi +291 -0
  156. data/rbi/stripe/resources/billing/meter.rbi +226 -0
  157. data/rbi/stripe/resources/billing/meter_event.rbi +64 -0
  158. data/rbi/stripe/resources/billing/meter_event_adjustment.rbi +64 -0
  159. data/rbi/stripe/resources/billing/meter_event_summary.rbi +35 -0
  160. data/rbi/stripe/resources/billing_portal/configuration.rbi +645 -0
  161. data/rbi/stripe/resources/billing_portal/session.rbi +345 -0
  162. data/rbi/stripe/resources/capability.rbi +125 -0
  163. data/rbi/stripe/resources/card.rbi +125 -0
  164. data/rbi/stripe/resources/cash_balance.rbi +32 -0
  165. data/rbi/stripe/resources/charge.rbi +2057 -0
  166. data/rbi/stripe/resources/checkout/session.rbi +3988 -0
  167. data/rbi/stripe/resources/climate/order.rbi +245 -0
  168. data/rbi/stripe/resources/climate/product.rbi +75 -0
  169. data/rbi/stripe/resources/climate/supplier.rbi +72 -0
  170. data/rbi/stripe/resources/confirmation_token.rbi +1873 -0
  171. data/rbi/stripe/resources/connect_collection_transfer.rbi +26 -0
  172. data/rbi/stripe/resources/country_spec.rbi +85 -0
  173. data/rbi/stripe/resources/coupon.rbi +252 -0
  174. data/rbi/stripe/resources/credit_note.rbi +747 -0
  175. data/rbi/stripe/resources/credit_note_line_item.rbi +101 -0
  176. data/rbi/stripe/resources/customer.rbi +1009 -0
  177. data/rbi/stripe/resources/customer_balance_transaction.rbi +56 -0
  178. data/rbi/stripe/resources/customer_cash_balance_transaction.rbi +151 -0
  179. data/rbi/stripe/resources/customer_session.rbi +200 -0
  180. data/rbi/stripe/resources/discount.rbi +53 -0
  181. data/rbi/stripe/resources/dispute.rbi +761 -0
  182. data/rbi/stripe/resources/entitlements/active_entitlement.rbi +58 -0
  183. data/rbi/stripe/resources/entitlements/active_entitlement_summary.rbi +23 -0
  184. data/rbi/stripe/resources/entitlements/feature.rbi +117 -0
  185. data/rbi/stripe/resources/ephemeral_key.rbi +44 -0
  186. data/rbi/stripe/resources/event.rbi +149 -0
  187. data/rbi/stripe/resources/exchange_rate.rbi +66 -0
  188. data/rbi/stripe/resources/file.rbi +143 -0
  189. data/rbi/stripe/resources/file_link.rbi +141 -0
  190. data/rbi/stripe/resources/financial_connections/account.rbi +339 -0
  191. data/rbi/stripe/resources/financial_connections/account_owner.rbi +35 -0
  192. data/rbi/stripe/resources/financial_connections/account_ownership.rbi +23 -0
  193. data/rbi/stripe/resources/financial_connections/session.rbi +123 -0
  194. data/rbi/stripe/resources/financial_connections/transaction.rbi +124 -0
  195. data/rbi/stripe/resources/forwarding/request.rbi +216 -0
  196. data/rbi/stripe/resources/funding_instructions.rbi +437 -0
  197. data/rbi/stripe/resources/identity/verification_report.rbi +351 -0
  198. data/rbi/stripe/resources/identity/verification_session.rbi +517 -0
  199. data/rbi/stripe/resources/invoice.rbi +3736 -0
  200. data/rbi/stripe/resources/invoice_item.rbi +475 -0
  201. data/rbi/stripe/resources/invoice_line_item.rbi +432 -0
  202. data/rbi/stripe/resources/invoice_payment.rbi +114 -0
  203. data/rbi/stripe/resources/invoice_rendering_template.rbi +104 -0
  204. data/rbi/stripe/resources/issuing/authorization.rbi +1283 -0
  205. data/rbi/stripe/resources/issuing/card.rbi +741 -0
  206. data/rbi/stripe/resources/issuing/cardholder.rbi +744 -0
  207. data/rbi/stripe/resources/issuing/dispute.rbi +913 -0
  208. data/rbi/stripe/resources/issuing/personalization_design.rbi +338 -0
  209. data/rbi/stripe/resources/issuing/physical_bundle.rbi +79 -0
  210. data/rbi/stripe/resources/issuing/token.rbi +226 -0
  211. data/rbi/stripe/resources/issuing/transaction.rbi +1061 -0
  212. data/rbi/stripe/resources/line_item.rbi +72 -0
  213. data/rbi/stripe/resources/login_link.rbi +19 -0
  214. data/rbi/stripe/resources/mandate.rbi +187 -0
  215. data/rbi/stripe/resources/payment_intent.rbi +9795 -0
  216. data/rbi/stripe/resources/payment_link.rbi +1801 -0
  217. data/rbi/stripe/resources/payment_method.rbi +1831 -0
  218. data/rbi/stripe/resources/payment_method_configuration.rbi +3220 -0
  219. data/rbi/stripe/resources/payment_method_domain.rbi +228 -0
  220. data/rbi/stripe/resources/payout.rbi +300 -0
  221. data/rbi/stripe/resources/person.rbi +401 -0
  222. data/rbi/stripe/resources/plan.rbi +373 -0
  223. data/rbi/stripe/resources/price.rbi +694 -0
  224. data/rbi/stripe/resources/product.rbi +557 -0
  225. data/rbi/stripe/resources/product_feature.rbi +26 -0
  226. data/rbi/stripe/resources/promotion_code.rbi +261 -0
  227. data/rbi/stripe/resources/quote.rbi +1126 -0
  228. data/rbi/stripe/resources/radar/early_fraud_warning.rbi +98 -0
  229. data/rbi/stripe/resources/radar/value_list.rbi +170 -0
  230. data/rbi/stripe/resources/radar/value_list_item.rbi +131 -0
  231. data/rbi/stripe/resources/refund.rbi +519 -0
  232. data/rbi/stripe/resources/reporting/report_run.rbi +191 -0
  233. data/rbi/stripe/resources/reporting/report_type.rbi +57 -0
  234. data/rbi/stripe/resources/reserve_transaction.rbi +23 -0
  235. data/rbi/stripe/resources/reversal.rbi +51 -0
  236. data/rbi/stripe/resources/review.rbi +154 -0
  237. data/rbi/stripe/resources/setup_attempt.rbi +477 -0
  238. data/rbi/stripe/resources/setup_intent.rbi +3869 -0
  239. data/rbi/stripe/resources/shipping_rate.rbi +305 -0
  240. data/rbi/stripe/resources/sigma/scheduled_query_run.rbi +75 -0
  241. data/rbi/stripe/resources/source.rbi +1496 -0
  242. data/rbi/stripe/resources/source_mandate_notification.rbi +77 -0
  243. data/rbi/stripe/resources/source_transaction.rbi +127 -0
  244. data/rbi/stripe/resources/subscription.rbi +1964 -0
  245. data/rbi/stripe/resources/subscription_item.rbi +370 -0
  246. data/rbi/stripe/resources/subscription_schedule.rbi +1495 -0
  247. data/rbi/stripe/resources/tax/calculation.rbi +474 -0
  248. data/rbi/stripe/resources/tax/calculation_line_item.rbi +88 -0
  249. data/rbi/stripe/resources/tax/registration.rbi +2713 -0
  250. data/rbi/stripe/resources/tax/settings.rbi +141 -0
  251. data/rbi/stripe/resources/tax/transaction.rbi +351 -0
  252. data/rbi/stripe/resources/tax/transaction_line_item.rbi +54 -0
  253. data/rbi/stripe/resources/tax_code.rbi +44 -0
  254. data/rbi/stripe/resources/tax_deducted_at_source.rbi +23 -0
  255. data/rbi/stripe/resources/tax_id.rbi +167 -0
  256. data/rbi/stripe/resources/tax_rate.rbi +239 -0
  257. data/rbi/stripe/resources/terminal/configuration.rbi +1388 -0
  258. data/rbi/stripe/resources/terminal/connection_token.rbi +37 -0
  259. data/rbi/stripe/resources/terminal/location.rbi +224 -0
  260. data/rbi/stripe/resources/terminal/reader.rbi +587 -0
  261. data/rbi/stripe/resources/test_helpers/test_clock.rbi +134 -0
  262. data/rbi/stripe/resources/token.rbi +1283 -0
  263. data/rbi/stripe/resources/topup.rbi +222 -0
  264. data/rbi/stripe/resources/transfer.rbi +199 -0
  265. data/rbi/stripe/resources/treasury/credit_reversal.rbi +119 -0
  266. data/rbi/stripe/resources/treasury/debit_reversal.rbi +131 -0
  267. data/rbi/stripe/resources/treasury/financial_account.rbi +865 -0
  268. data/rbi/stripe/resources/treasury/financial_account_features.rbi +260 -0
  269. data/rbi/stripe/resources/treasury/inbound_transfer.rbi +295 -0
  270. data/rbi/stripe/resources/treasury/outbound_payment.rbi +592 -0
  271. data/rbi/stripe/resources/treasury/outbound_transfer.rbi +431 -0
  272. data/rbi/stripe/resources/treasury/received_credit.rbi +302 -0
  273. data/rbi/stripe/resources/treasury/received_debit.rbi +256 -0
  274. data/rbi/stripe/resources/treasury/transaction.rbi +215 -0
  275. data/rbi/stripe/resources/treasury/transaction_entry.rbi +192 -0
  276. data/rbi/stripe/resources/v2/amount.rbi +14 -0
  277. data/rbi/stripe/resources/v2/billing/meter_event.rbi +37 -0
  278. data/rbi/stripe/resources/v2/billing/meter_event_adjustment.rbi +41 -0
  279. data/rbi/stripe/resources/v2/billing/meter_event_session.rbi +31 -0
  280. data/rbi/stripe/resources/v2/event.rbi +48 -0
  281. data/rbi/stripe/resources/v2/event_destination.rbi +91 -0
  282. data/rbi/stripe/resources/webhook_endpoint.rbi +170 -0
  283. data/rbi/stripe/services/account_capability_service.rbi +51 -0
  284. data/{lib/stripe/services/external_account_service.rb → rbi/stripe/services/account_external_account_service.rbi} +124 -136
  285. data/rbi/stripe/services/account_link_service.rbi +58 -0
  286. data/rbi/stripe/services/account_login_link_service.rbi +22 -0
  287. data/rbi/stripe/services/account_person_service.rbi +1013 -0
  288. data/rbi/stripe/services/account_service.rbi +4189 -0
  289. data/rbi/stripe/services/account_session_service.rbi +572 -0
  290. data/rbi/stripe/services/apple_pay_domain_service.rbi +78 -0
  291. data/rbi/stripe/services/application_fee_refund_service.rbi +93 -0
  292. data/rbi/stripe/services/application_fee_service.rbi +78 -0
  293. data/rbi/stripe/services/apps/secret_service.rbi +151 -0
  294. data/rbi/stripe/services/apps_service.rbi +9 -0
  295. data/rbi/stripe/services/balance_service.rbi +21 -0
  296. data/rbi/stripe/services/balance_transaction_service.rbi +93 -0
  297. data/rbi/stripe/services/billing/alert_service.rbi +152 -0
  298. data/rbi/stripe/services/billing/credit_balance_summary_service.rbi +68 -0
  299. data/rbi/stripe/services/billing/credit_balance_transaction_service.rbi +59 -0
  300. data/rbi/stripe/services/billing/credit_grant_service.rbi +211 -0
  301. data/rbi/stripe/services/billing/meter_event_adjustment_service.rbi +42 -0
  302. data/rbi/stripe/services/billing/meter_event_service.rbi +42 -0
  303. data/rbi/stripe/services/billing/meter_event_summary_service.rbi +54 -0
  304. data/rbi/stripe/services/billing/meter_service.rbi +163 -0
  305. data/rbi/stripe/services/billing_portal/configuration_service.rbi +511 -0
  306. data/rbi/stripe/services/billing_portal/session_service.rbi +204 -0
  307. data/rbi/stripe/services/billing_portal_service.rbi +10 -0
  308. data/rbi/stripe/services/billing_service.rbi +15 -0
  309. data/rbi/stripe/services/charge_service.rbi +448 -0
  310. data/rbi/stripe/services/checkout/session_line_item_service.rbi +33 -0
  311. data/rbi/stripe/services/checkout/session_service.rbi +2607 -0
  312. data/rbi/stripe/services/checkout_service.rbi +9 -0
  313. data/rbi/stripe/services/climate/order_service.rbi +142 -0
  314. data/{lib/stripe/services/financial_connections/institution_service.rb → rbi/stripe/services/climate/product_service.rbi} +25 -36
  315. data/{lib/stripe/services/privacy/redaction_job_validation_error_service.rb → rbi/stripe/services/climate/supplier_service.rbi} +25 -36
  316. data/rbi/stripe/services/climate_service.rbi +11 -0
  317. data/rbi/stripe/services/confirmation_token_service.rbi +20 -0
  318. data/rbi/stripe/services/country_spec_service.rbi +44 -0
  319. data/rbi/stripe/services/coupon_service.rbi +196 -0
  320. data/{lib/stripe/services/quote_preview_invoice_service.rb → rbi/stripe/services/credit_note_line_item_service.rbi} +16 -20
  321. data/rbi/stripe/services/credit_note_preview_lines_service.rbi +167 -0
  322. data/rbi/stripe/services/credit_note_service.rbi +416 -0
  323. data/rbi/stripe/services/customer_balance_transaction_service.rbi +92 -0
  324. data/rbi/stripe/services/customer_cash_balance_service.rbi +45 -0
  325. data/rbi/stripe/services/customer_cash_balance_transaction_service.rbi +44 -0
  326. data/rbi/stripe/services/customer_funding_instructions_service.rbi +59 -0
  327. data/rbi/stripe/services/customer_payment_method_service.rbi +57 -0
  328. data/rbi/stripe/services/customer_payment_source_service.rbi +232 -0
  329. data/rbi/stripe/services/customer_service.rbi +651 -0
  330. data/rbi/stripe/services/customer_session_service.rbi +116 -0
  331. data/rbi/stripe/services/customer_tax_id_service.rbi +72 -0
  332. data/rbi/stripe/services/dispute_service.rbi +424 -0
  333. data/rbi/stripe/services/entitlements/active_entitlement_service.rbi +55 -0
  334. data/rbi/stripe/services/entitlements/feature_service.rbi +107 -0
  335. data/rbi/stripe/services/entitlements_service.rbi +10 -0
  336. data/rbi/stripe/services/ephemeral_key_service.rbi +53 -0
  337. data/rbi/stripe/services/event_service.rbi +83 -0
  338. data/rbi/stripe/services/exchange_rate_service.rbi +44 -0
  339. data/rbi/stripe/services/file_link_service.rbi +124 -0
  340. data/rbi/stripe/services/file_service.rbi +116 -0
  341. data/rbi/stripe/services/financial_connections/account_owner_service.rbi +42 -0
  342. data/rbi/stripe/services/financial_connections/account_service.rbi +133 -0
  343. data/rbi/stripe/services/financial_connections/session_service.rbi +88 -0
  344. data/rbi/stripe/services/financial_connections/transaction_service.rbi +92 -0
  345. data/rbi/stripe/services/financial_connections_service.rbi +11 -0
  346. data/rbi/stripe/services/forwarding/request_service.rbi +134 -0
  347. data/rbi/stripe/services/forwarding_service.rbi +9 -0
  348. data/rbi/stripe/services/identity/verification_report_service.rbi +87 -0
  349. data/rbi/stripe/services/identity/verification_session_service.rbi +323 -0
  350. data/rbi/stripe/services/identity_service.rbi +10 -0
  351. data/rbi/stripe/services/invoice_item_service.rbi +368 -0
  352. data/rbi/stripe/services/invoice_line_item_service.rbi +259 -0
  353. data/rbi/stripe/services/invoice_payment_service.rbi +71 -0
  354. data/rbi/stripe/services/invoice_rendering_template_service.rbi +82 -0
  355. data/rbi/stripe/services/invoice_service.rbi +2920 -0
  356. data/rbi/stripe/services/issuing/authorization_service.rbi +146 -0
  357. data/rbi/stripe/services/issuing/card_service.rbi +495 -0
  358. data/rbi/stripe/services/issuing/cardholder_service.rbi +587 -0
  359. data/rbi/stripe/services/issuing/dispute_service.rbi +707 -0
  360. data/rbi/stripe/services/issuing/personalization_design_service.rbi +243 -0
  361. data/rbi/stripe/services/issuing/physical_bundle_service.rbi +59 -0
  362. data/rbi/stripe/services/issuing/token_service.rbi +99 -0
  363. data/rbi/stripe/services/issuing/transaction_service.rbi +105 -0
  364. data/rbi/stripe/services/issuing_service.rbi +16 -0
  365. data/rbi/stripe/services/mandate_service.rbi +20 -0
  366. data/rbi/stripe/services/payment_intent_service.rbi +7819 -0
  367. data/{lib/stripe/services/payment_intent_amount_details_line_item_service.rb → rbi/stripe/services/payment_link_line_item_service.rbi} +16 -20
  368. data/rbi/stripe/services/payment_link_service.rbi +1352 -0
  369. data/rbi/stripe/services/payment_method_configuration_service.rbi +2255 -0
  370. data/rbi/stripe/services/payment_method_domain_service.rbi +112 -0
  371. data/rbi/stripe/services/payment_method_service.rbi +846 -0
  372. data/rbi/stripe/services/payout_service.rbi +205 -0
  373. data/rbi/stripe/services/plan_service.rbi +284 -0
  374. data/rbi/stripe/services/price_service.rbi +546 -0
  375. data/rbi/stripe/services/product_feature_service.rbi +69 -0
  376. data/rbi/stripe/services/product_service.rbi +479 -0
  377. data/rbi/stripe/services/promotion_code_service.rbi +214 -0
  378. data/rbi/stripe/services/quote_computed_upfront_line_items_service.rbi +31 -0
  379. data/{lib/stripe/services/order_line_item_service.rb → rbi/stripe/services/quote_line_item_service.rbi} +16 -20
  380. data/rbi/stripe/services/quote_service.rbi +686 -0
  381. data/rbi/stripe/services/radar/early_fraud_warning_service.rbi +85 -0
  382. data/rbi/stripe/services/radar/value_list_item_service.rbi +111 -0
  383. data/rbi/stripe/services/radar/value_list_service.rbi +143 -0
  384. data/rbi/stripe/services/radar_service.rbi +11 -0
  385. data/rbi/stripe/services/refund_service.rbi +185 -0
  386. data/rbi/stripe/services/reporting/report_run_service.rbi +135 -0
  387. data/rbi/stripe/services/reporting/report_type_service.rbi +35 -0
  388. data/rbi/stripe/services/reporting_service.rbi +10 -0
  389. data/rbi/stripe/services/review_service.rbi +84 -0
  390. data/rbi/stripe/services/setup_attempt_service.rbi +65 -0
  391. data/rbi/stripe/services/setup_intent_service.rbi +3605 -0
  392. data/rbi/stripe/services/shipping_rate_service.rbi +241 -0
  393. data/rbi/stripe/services/sigma/scheduled_query_run_service.rbi +46 -0
  394. data/rbi/stripe/services/sigma_service.rbi +9 -0
  395. data/rbi/stripe/services/source_service.rbi +663 -0
  396. data/{lib/stripe/services/quote_line_service.rb → rbi/stripe/services/source_transaction_service.rbi} +16 -20
  397. data/rbi/stripe/services/subscription_item_service.rbi +324 -0
  398. data/rbi/stripe/services/subscription_schedule_service.rbi +1192 -0
  399. data/rbi/stripe/services/subscription_service.rbi +1596 -0
  400. data/rbi/stripe/services/tax/calculation_line_item_service.rbi +33 -0
  401. data/rbi/stripe/services/tax/calculation_service.rbi +230 -0
  402. data/rbi/stripe/services/tax/registration_service.rbi +1845 -0
  403. data/rbi/stripe/services/tax/settings_service.rbi +93 -0
  404. data/{lib/stripe/services/financial_connections/account_inferred_balance_service.rb → rbi/stripe/services/tax/transaction_line_item_service.rbi} +17 -21
  405. data/rbi/stripe/services/tax/transaction_service.rbi +146 -0
  406. data/rbi/stripe/services/tax_code_service.rbi +44 -0
  407. data/rbi/stripe/services/tax_id_service.rbi +112 -0
  408. data/rbi/stripe/services/tax_rate_service.rbi +185 -0
  409. data/rbi/stripe/services/tax_service.rbi +12 -0
  410. data/rbi/stripe/services/terminal/configuration_service.rbi +1120 -0
  411. data/rbi/stripe/services/terminal/connection_token_service.rbi +25 -0
  412. data/rbi/stripe/services/terminal/location_service.rbi +184 -0
  413. data/rbi/stripe/services/terminal/reader_service.rbi +344 -0
  414. data/rbi/stripe/services/terminal_service.rbi +12 -0
  415. data/rbi/stripe/services/test_helpers/confirmation_token_service.rbi +805 -0
  416. data/rbi/stripe/services/test_helpers/customer_service.rbi +33 -0
  417. data/rbi/stripe/services/test_helpers/issuing/authorization_service.rbi +848 -0
  418. data/rbi/stripe/services/test_helpers/issuing/card_service.rbi +76 -0
  419. data/rbi/stripe/services/test_helpers/issuing/personalization_design_service.rbi +69 -0
  420. data/rbi/stripe/services/test_helpers/issuing/transaction_service.rbi +711 -0
  421. data/rbi/stripe/services/test_helpers/issuing_service.rbi +14 -0
  422. data/rbi/stripe/services/test_helpers/refund_service.rbi +22 -0
  423. data/rbi/stripe/services/test_helpers/terminal/reader_service.rbi +62 -0
  424. data/rbi/stripe/services/test_helpers/terminal_service.rbi +11 -0
  425. data/rbi/stripe/services/test_helpers/test_clock_service.rbi +92 -0
  426. data/rbi/stripe/services/test_helpers/treasury/inbound_transfer_service.rbi +64 -0
  427. data/rbi/stripe/services/test_helpers/treasury/outbound_payment_service.rbi +125 -0
  428. data/rbi/stripe/services/test_helpers/treasury/outbound_transfer_service.rbi +125 -0
  429. data/rbi/stripe/services/test_helpers/treasury/received_credit_service.rbi +87 -0
  430. data/rbi/stripe/services/test_helpers/treasury/received_debit_service.rbi +87 -0
  431. data/rbi/stripe/services/test_helpers/treasury_service.rbi +15 -0
  432. data/rbi/stripe/services/test_helpers_service.rbi +15 -0
  433. data/rbi/stripe/services/token_service.rbi +1257 -0
  434. data/rbi/stripe/services/topup_service.rbi +176 -0
  435. data/rbi/stripe/services/transfer_reversal_service.rbi +101 -0
  436. data/rbi/stripe/services/transfer_service.rbi +152 -0
  437. data/rbi/stripe/services/treasury/credit_reversal_service.rbi +84 -0
  438. data/rbi/stripe/services/treasury/debit_reversal_service.rbi +88 -0
  439. data/rbi/stripe/services/treasury/financial_account_features_service.rbi +198 -0
  440. data/rbi/stripe/services/treasury/financial_account_service.rbi +562 -0
  441. data/rbi/stripe/services/treasury/inbound_transfer_service.rbi +117 -0
  442. data/rbi/stripe/services/treasury/outbound_payment_service.rbi +304 -0
  443. data/rbi/stripe/services/treasury/outbound_transfer_service.rbi +157 -0
  444. data/rbi/stripe/services/treasury/received_credit_service.rbi +72 -0
  445. data/rbi/stripe/services/treasury/received_debit_service.rbi +59 -0
  446. data/rbi/stripe/services/treasury/transaction_entry_service.rbi +111 -0
  447. data/rbi/stripe/services/treasury/transaction_service.rbi +122 -0
  448. data/rbi/stripe/services/treasury_service.rbi +18 -0
  449. data/rbi/stripe/services/v1_services.rbi +77 -0
  450. data/rbi/stripe/services/v2/billing/meter_event_adjustment_service.rbi +39 -0
  451. data/rbi/stripe/services/v2/billing/meter_event_service.rbi +42 -0
  452. data/rbi/stripe/services/v2/billing/meter_event_session_service.rbi +20 -0
  453. data/rbi/stripe/services/v2/billing/meter_event_stream_service.rbi +55 -0
  454. data/rbi/stripe/services/v2/billing_service.rbi +14 -0
  455. data/rbi/stripe/services/v2/core/event_destination_service.rbi +200 -0
  456. data/rbi/stripe/services/v2/core/event_service.rbi +38 -0
  457. data/rbi/stripe/services/v2/core_service.rbi +12 -0
  458. data/rbi/stripe/services/v2_services.rbi +10 -0
  459. data/rbi/stripe/services/webhook_endpoint_service.rbi +131 -0
  460. data/stripe.gemspec +1 -4
  461. metadata +326 -149
  462. data/lib/stripe/events/v2_core_account_including_configuration_customer_capability_status_updated_event.rb +0 -23
  463. data/lib/stripe/events/v2_core_account_including_configuration_customer_updated_event.rb +0 -21
  464. data/lib/stripe/events/v2_core_account_including_configuration_merchant_capability_status_updated_event.rb +0 -23
  465. data/lib/stripe/events/v2_core_account_including_configuration_merchant_updated_event.rb +0 -21
  466. data/lib/stripe/events/v2_core_account_including_configuration_recipient_capability_status_updated_event.rb +0 -23
  467. data/lib/stripe/events/v2_core_account_including_configuration_recipient_updated_event.rb +0 -21
  468. data/lib/stripe/events/v2_core_account_including_requirements_updated_event.rb +0 -21
  469. data/lib/stripe/events/v2_core_account_link_completed_event.rb +0 -13
  470. data/lib/stripe/events/v2_core_account_person_created_event.rb +0 -23
  471. data/lib/stripe/events/v2_core_account_person_deleted_event.rb +0 -23
  472. data/lib/stripe/events/v2_core_account_person_updated_event.rb +0 -23
  473. data/lib/stripe/events/v2_money_management_financial_account_created_event.rb +0 -21
  474. data/lib/stripe/events/v2_money_management_financial_address_activated_event.rb +0 -21
  475. data/lib/stripe/events/v2_money_management_financial_address_failed_event.rb +0 -21
  476. data/lib/stripe/events/v2_money_management_inbound_transfer_available_event.rb +0 -23
  477. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_failed_event.rb +0 -21
  478. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_processing_event.rb +0 -21
  479. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_queued_event.rb +0 -21
  480. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_returned_event.rb +0 -21
  481. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_succeeded_event.rb +0 -21
  482. data/lib/stripe/events/v2_money_management_outbound_payment_canceled_event.rb +0 -21
  483. data/lib/stripe/events/v2_money_management_outbound_payment_created_event.rb +0 -21
  484. data/lib/stripe/events/v2_money_management_outbound_payment_failed_event.rb +0 -21
  485. data/lib/stripe/events/v2_money_management_outbound_payment_posted_event.rb +0 -21
  486. data/lib/stripe/events/v2_money_management_outbound_payment_returned_event.rb +0 -21
  487. data/lib/stripe/events/v2_money_management_outbound_transfer_canceled_event.rb +0 -21
  488. data/lib/stripe/events/v2_money_management_outbound_transfer_created_event.rb +0 -21
  489. data/lib/stripe/events/v2_money_management_outbound_transfer_failed_event.rb +0 -21
  490. data/lib/stripe/events/v2_money_management_outbound_transfer_posted_event.rb +0 -21
  491. data/lib/stripe/events/v2_money_management_outbound_transfer_returned_event.rb +0 -21
  492. data/lib/stripe/events/v2_money_management_received_credit_available_event.rb +0 -23
  493. data/lib/stripe/events/v2_money_management_received_credit_failed_event.rb +0 -21
  494. data/lib/stripe/events/v2_money_management_received_credit_returned_event.rb +0 -21
  495. data/lib/stripe/events/v2_money_management_received_credit_succeeded_event.rb +0 -21
  496. data/lib/stripe/events/v2_money_management_received_debit_canceled_event.rb +0 -21
  497. data/lib/stripe/events/v2_money_management_received_debit_failed_event.rb +0 -21
  498. data/lib/stripe/events/v2_money_management_received_debit_pending_event.rb +0 -21
  499. data/lib/stripe/events/v2_money_management_received_debit_succeeded_event.rb +0 -21
  500. data/lib/stripe/events/v2_money_management_received_debit_updated_event.rb +0 -21
  501. data/lib/stripe/resources/account_notice.rb +0 -123
  502. data/lib/stripe/resources/balance_settings.rb +0 -105
  503. data/lib/stripe/resources/billing/meter_error_report.rb +0 -59
  504. data/lib/stripe/resources/capital/financing_offer.rb +0 -179
  505. data/lib/stripe/resources/capital/financing_summary.rb +0 -55
  506. data/lib/stripe/resources/capital/financing_transaction.rb +0 -114
  507. data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +0 -27
  508. data/lib/stripe/resources/financial_connections/institution.rb +0 -90
  509. data/lib/stripe/resources/fx_quote.rb +0 -184
  510. data/lib/stripe/resources/gift_cards/card.rb +0 -208
  511. data/lib/stripe/resources/gift_cards/transaction.rb +0 -272
  512. data/lib/stripe/resources/issuing/credit_underwriting_record.rb +0 -602
  513. data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +0 -82
  514. data/lib/stripe/resources/issuing/fraud_liability_debit.rb +0 -86
  515. data/lib/stripe/resources/issuing/settlement.rb +0 -53
  516. data/lib/stripe/resources/margin.rb +0 -115
  517. data/lib/stripe/resources/order.rb +0 -2859
  518. data/lib/stripe/resources/payment_attempt_record.rb +0 -1078
  519. data/lib/stripe/resources/payment_intent_amount_details_line_item.rb +0 -65
  520. data/lib/stripe/resources/payment_record.rb +0 -1607
  521. data/lib/stripe/resources/privacy/redaction_job.rb +0 -254
  522. data/lib/stripe/resources/privacy/redaction_job_root_objects.rb +0 -35
  523. data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +0 -25
  524. data/lib/stripe/resources/quote_line.rb +0 -274
  525. data/lib/stripe/resources/quote_preview_invoice.rb +0 -663
  526. data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -337
  527. data/lib/stripe/resources/tax/association.rb +0 -89
  528. data/lib/stripe/resources/tax/form.rb +0 -211
  529. data/lib/stripe/resources/terminal/reader_collected_data.rb +0 -31
  530. data/lib/stripe/resources/v2/core/account.rb +0 -1715
  531. data/lib/stripe/resources/v2/core/account_link.rb +0 -54
  532. data/lib/stripe/resources/v2/core/person.rb +0 -272
  533. data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +0 -72
  534. data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +0 -37
  535. data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +0 -18
  536. data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +0 -20
  537. data/lib/stripe/resources/v2/money_management/adjustment.rb +0 -49
  538. data/lib/stripe/resources/v2/money_management/financial_account.rb +0 -56
  539. data/lib/stripe/resources/v2/money_management/financial_address.rb +0 -66
  540. data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +0 -92
  541. data/lib/stripe/resources/v2/money_management/outbound_payment.rb +0 -127
  542. data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +0 -74
  543. data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +0 -43
  544. data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +0 -115
  545. data/lib/stripe/resources/v2/money_management/payout_method.rb +0 -73
  546. data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +0 -47
  547. data/lib/stripe/resources/v2/money_management/received_credit.rb +0 -134
  548. data/lib/stripe/resources/v2/money_management/received_debit.rb +0 -106
  549. data/lib/stripe/resources/v2/money_management/transaction.rb +0 -76
  550. data/lib/stripe/resources/v2/money_management/transaction_entry.rb +0 -66
  551. data/lib/stripe/services/account_notice_service.rb +0 -101
  552. data/lib/stripe/services/balance_settings_service.rb +0 -96
  553. data/lib/stripe/services/capital/financing_offer_service.rb +0 -112
  554. data/lib/stripe/services/capital/financing_summary_service.rb +0 -28
  555. data/lib/stripe/services/capital/financing_transaction_service.rb +0 -79
  556. data/lib/stripe/services/capital_service.rb +0 -15
  557. data/lib/stripe/services/fx_quote_service.rb +0 -123
  558. data/lib/stripe/services/gift_cards/card_service.rb +0 -170
  559. data/lib/stripe/services/gift_cards/transaction_service.rb +0 -209
  560. data/lib/stripe/services/gift_cards_service.rb +0 -14
  561. data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +0 -504
  562. data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +0 -66
  563. data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +0 -83
  564. data/lib/stripe/services/margin_service.rb +0 -119
  565. data/lib/stripe/services/order_service.rb +0 -2268
  566. data/lib/stripe/services/payment_attempt_record_service.rb +0 -49
  567. data/lib/stripe/services/payment_record_service.rb +0 -542
  568. data/lib/stripe/services/privacy/redaction_job_service.rb +0 -231
  569. data/lib/stripe/services/privacy_service.rb +0 -13
  570. data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +0 -35
  571. data/lib/stripe/services/tax/association_service.rb +0 -31
  572. data/lib/stripe/services/tax/form_service.rb +0 -100
  573. data/lib/stripe/services/terminal/reader_collected_data_service.rb +0 -28
  574. data/lib/stripe/services/v2/core/account_link_service.rb +0 -76
  575. data/lib/stripe/services/v2/core/account_service.rb +0 -4130
  576. data/lib/stripe/services/v2/core/accounts/person_service.rb +0 -1040
  577. data/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb +0 -135
  578. data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +0 -109
  579. data/lib/stripe/services/v2/core/vault_service.rb +0 -18
  580. data/lib/stripe/services/v2/money_management/adjustment_service.rb +0 -75
  581. data/lib/stripe/services/v2/money_management/financial_account_service.rb +0 -44
  582. data/lib/stripe/services/v2/money_management/financial_address_service.rb +0 -81
  583. data/lib/stripe/services/v2/money_management/inbound_transfer_service.rb +0 -126
  584. data/lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb +0 -80
  585. data/lib/stripe/services/v2/money_management/outbound_payment_service.rb +0 -202
  586. data/lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb +0 -237
  587. data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +0 -174
  588. data/lib/stripe/services/v2/money_management/payout_method_service.rb +0 -95
  589. data/lib/stripe/services/v2/money_management/payout_methods_bank_account_spec_service.rb +0 -32
  590. data/lib/stripe/services/v2/money_management/received_credit_service.rb +0 -71
  591. data/lib/stripe/services/v2/money_management/received_debit_service.rb +0 -44
  592. data/lib/stripe/services/v2/money_management/transaction_entry_service.rb +0 -70
  593. data/lib/stripe/services/v2/money_management/transaction_service.rb +0 -74
  594. data/lib/stripe/services/v2/money_management_service.rb +0 -31
  595. data/lib/stripe/services/v2/test_helper_service.rb +0 -15
  596. data/lib/stripe/services/v2/test_helpers/financial_address_service.rb +0 -50
  597. data/rbi/stripe.rbi +0 -191592
@@ -104,8 +104,6 @@ module Stripe
104
104
  attr_reader :amazon_pay_payments
105
105
  # The status of the BECS Direct Debit (AU) payments capability of the account, or whether the account can directly process BECS Direct Debit (AU) charges.
106
106
  attr_reader :au_becs_debit_payments
107
- # The status of the automatic_indirect_tax capability of the account.
108
- attr_reader :automatic_indirect_tax
109
107
  # The status of the Bacs Direct Debits payments capability of the account, or whether the account can directly process Bacs Direct Debits charges.
110
108
  attr_reader :bacs_debit_payments
111
109
  # The status of the Bancontact payments capability of the account, or whether the account can directly process Bancontact charges.
@@ -134,14 +132,8 @@ module Stripe
134
132
  attr_reader :gb_bank_transfer_payments
135
133
  # The status of the giropay payments capability of the account, or whether the account can directly process giropay charges.
136
134
  attr_reader :giropay_payments
137
- # The status of the Gopay capability of the account, or whether the account can directly process Gopay payments.
138
- attr_reader :gopay_payments
139
135
  # The status of the GrabPay payments capability of the account, or whether the account can directly process GrabPay charges.
140
136
  attr_reader :grabpay_payments
141
- # The status of the Indonesia Bank Transfer payments capability of the account, or whether the account can directly process Indonesia Bank Transfer charges.
142
- attr_reader :id_bank_transfer_payments
143
- # The status of Bank BCA onboarding of the account.
144
- attr_reader :id_bank_transfer_payments_bca
145
137
  # The status of the iDEAL payments capability of the account, or whether the account can directly process iDEAL charges.
146
138
  attr_reader :ideal_payments
147
139
  # The status of the india_international_payments capability of the account, or whether the account can process international charges (non INR) in India.
@@ -162,8 +154,6 @@ module Stripe
162
154
  attr_reader :legacy_payments
163
155
  # The status of the link_payments capability of the account, or whether the account can directly process Link charges.
164
156
  attr_reader :link_payments
165
- # The status of the MB WAY payments capability of the account, or whether the account can directly process MB WAY charges.
166
- attr_reader :mb_way_payments
167
157
  # The status of the MobilePay capability of the account, or whether the account can directly process MobilePay charges.
168
158
  attr_reader :mobilepay_payments
169
159
  # The status of the Multibanco payments capability of the account, or whether the account can directly process Multibanco charges.
@@ -184,16 +174,8 @@ module Stripe
184
174
  attr_reader :payco_payments
185
175
  # The status of the paynow payments capability of the account, or whether the account can directly process paynow charges.
186
176
  attr_reader :paynow_payments
187
- # The status of the PayPal payments capability of the account, or whether the account can directly process PayPal charges.
188
- attr_reader :paypal_payments
189
- # The status of the PayTo capability of the account, or whether the account can directly process PayTo charges.
190
- attr_reader :payto_payments
191
177
  # The status of the promptpay payments capability of the account, or whether the account can directly process promptpay charges.
192
178
  attr_reader :promptpay_payments
193
- # The status of the Qris capability of the account, or whether the account can directly process Qris payments.
194
- attr_reader :qris_payments
195
- # The status of the Rechnung capability of the account, or whether the account can directly process Rechnung payments.
196
- attr_reader :rechnung_payments
197
179
  # The status of the RevolutPay capability of the account, or whether the account can directly process RevolutPay payments.
198
180
  attr_reader :revolut_pay_payments
199
181
  # The status of the SamsungPay capability of the account, or whether the account can directly process SamsungPay payments.
@@ -204,12 +186,8 @@ module Stripe
204
186
  attr_reader :sepa_bank_transfer_payments
205
187
  # The status of the SEPA Direct Debits payments capability of the account, or whether the account can directly process SEPA Direct Debits charges.
206
188
  attr_reader :sepa_debit_payments
207
- # The status of the ShopeePay capability of the account, or whether the account can directly process ShopeePay payments.
208
- attr_reader :shopeepay_payments
209
189
  # The status of the Sofort payments capability of the account, or whether the account can directly process Sofort charges.
210
190
  attr_reader :sofort_payments
211
- # The status of the stripe_balance payments capability of the account, or whether the account can directly process stripe_balance charges.
212
- attr_reader :stripe_balance_payments
213
191
  # The status of the Swish capability of the account, or whether the account can directly process Swish payments.
214
192
  attr_reader :swish_payments
215
193
  # The status of the tax reporting 1099-K (US) capability of the account.
@@ -220,12 +198,6 @@ module Stripe
220
198
  attr_reader :transfers
221
199
  # The status of the banking capability, or whether the account can have bank accounts.
222
200
  attr_reader :treasury
223
- # The status of the treasury_evolve capability of the account.
224
- attr_reader :treasury_evolve
225
- # The status of the treasury_fifth_third capability of the account.
226
- attr_reader :treasury_fifth_third
227
- # The status of the treasury_goldman_sachs capability of the account.
228
- attr_reader :treasury_goldman_sachs
229
201
  # The status of the TWINT capability of the account, or whether the account can directly process TWINT charges.
230
202
  attr_reader :twint_payments
231
203
  # The status of the US bank account ACH payments capability of the account, or whether the account can directly process US bank account charges.
@@ -372,20 +344,6 @@ module Stripe
372
344
  end
373
345
 
374
346
  class Controller < Stripe::StripeObject
375
- class Application < Stripe::StripeObject
376
- # `true` if the Connect application is responsible for negative balances and should manage credit and fraud risk on the account.
377
- attr_reader :loss_liable
378
- # `true` if the Connect application is responsible for onboarding the account.
379
- attr_reader :onboarding_owner
380
- # `true` if the Connect application is responsible for paying Stripe fees on pricing-control eligible products.
381
- attr_reader :pricing_controls
382
- end
383
-
384
- class Dashboard < Stripe::StripeObject
385
- # Whether this account has access to the full Stripe dashboard (`full`), to the Express dashboard (`express`), or to no dashboard (`none`).
386
- attr_reader :type
387
- end
388
-
389
347
  class Fees < Stripe::StripeObject
390
348
  # A value indicating the responsible payer of a bundle of Stripe fees for pricing-control eligible products on this account. Learn more about [fee behavior on connected accounts](https://docs.stripe.com/connect/direct-charges-fee-payer-behavior).
391
349
  attr_reader :payer
@@ -400,10 +358,6 @@ module Stripe
400
358
  # A value indicating the Stripe dashboard this account has access to independent of the Connect application.
401
359
  attr_reader :type
402
360
  end
403
- # Attribute for field application
404
- attr_reader :application
405
- # Attribute for field dashboard
406
- attr_reader :dashboard
407
361
  # Attribute for field fees
408
362
  attr_reader :fees
409
363
  # `true` if the Connect application retrieving the resource controls the account and can therefore exercise [platform controls](https://stripe.com/docs/connect/platform-controls-for-standard-accounts). Otherwise, this field is null.
@@ -491,24 +445,6 @@ module Stripe
491
445
  attr_reader :pending_verification
492
446
  end
493
447
 
494
- class RiskControls < Stripe::StripeObject
495
- class Charges < Stripe::StripeObject
496
- # Whether a pause of the risk control has been requested.
497
- attr_reader :pause_requested
498
- end
499
-
500
- class Payouts < Stripe::StripeObject
501
- # Whether a pause of the risk control has been requested.
502
- attr_reader :pause_requested
503
- end
504
- # Attribute for field charges
505
- attr_reader :charges
506
- # Attribute for field payouts
507
- attr_reader :payouts
508
- # Represents the rejected reason of the account. Empty if account is not rejected, or rejected by Stripe. Please see [this page for more details](https://stripe.com/docs/connect/)
509
- attr_reader :rejected_reason
510
- end
511
-
512
448
  class Settings < Stripe::StripeObject
513
449
  class BacsDebitPayments < Stripe::StripeObject
514
450
  # The Bacs Direct Debit display name for this account. For payments made with Bacs Direct Debit, this name appears on the mandate as the statement descriptor. Mobile banking apps display it as the name of the business. To use custom branding, set the Bacs Direct Debit Display Name during or right after creation. Custom branding incurs an additional monthly fee for the platform. The fee appears 5 business days after requesting Bacs. If you don't set the display name before requesting Bacs capability, it's automatically set as "Stripe" and the account is onboarded to Stripe branding, which is free.
@@ -517,13 +453,6 @@ module Stripe
517
453
  attr_reader :service_user_number
518
454
  end
519
455
 
520
- class BankBcaOnboarding < Stripe::StripeObject
521
- # Bank BCA business account holder name.
522
- attr_reader :account_holder_name
523
- # Bank BCA business account number.
524
- attr_reader :business_account_number
525
- end
526
-
527
456
  class Branding < Stripe::StripeObject
528
457
  # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) An icon for the account. Must be square and at least 128px x 128px.
529
458
  attr_reader :icon
@@ -535,13 +464,6 @@ module Stripe
535
464
  attr_reader :secondary_color
536
465
  end
537
466
 
538
- class Capital < Stripe::StripeObject
539
- # Per-currency mapping of user-selected destination accounts used to pay out loans.
540
- attr_reader :payout_destination
541
- # Per-currency mapping of all destination accounts eligible to receive loan payouts.
542
- attr_reader :payout_destination_selector
543
- end
544
-
545
467
  class CardIssuing < Stripe::StripeObject
546
468
  class TosAcceptance < Stripe::StripeObject
547
469
  # The Unix timestamp marking when the account representative accepted the service agreement.
@@ -623,11 +545,6 @@ module Stripe
623
545
  attr_reader :creditor_id
624
546
  end
625
547
 
626
- class TaxForms < Stripe::StripeObject
627
- # Whether the account opted out of receiving their tax forms by postal delivery.
628
- attr_reader :consented_to_paperless_delivery
629
- end
630
-
631
548
  class Treasury < Stripe::StripeObject
632
549
  class TosAcceptance < Stripe::StripeObject
633
550
  # The Unix timestamp marking when the account representative accepted the service agreement.
@@ -642,12 +559,8 @@ module Stripe
642
559
  end
643
560
  # Attribute for field bacs_debit_payments
644
561
  attr_reader :bacs_debit_payments
645
- # Attribute for field bank_bca_onboarding
646
- attr_reader :bank_bca_onboarding
647
562
  # Attribute for field branding
648
563
  attr_reader :branding
649
- # Attribute for field capital
650
- attr_reader :capital
651
564
  # Attribute for field card_issuing
652
565
  attr_reader :card_issuing
653
566
  # Attribute for field card_payments
@@ -662,8 +575,6 @@ module Stripe
662
575
  attr_reader :payouts
663
576
  # Attribute for field sepa_debit_payments
664
577
  attr_reader :sepa_debit_payments
665
- # Attribute for field tax_forms
666
- attr_reader :tax_forms
667
578
  # Attribute for field treasury
668
579
  attr_reader :treasury
669
580
  end
@@ -696,7 +607,7 @@ module Stripe
696
607
  attr_accessor :country
697
608
  # The currency the bank account is in. This must be a country/currency pairing that [Stripe supports.](docs/payouts)
698
609
  attr_accessor :currency
699
- # The routing number, sort code, or other country-appropriateinstitution number for the bank account. For US bank accounts, this is required and should bethe ACH routing number, not the wire routing number. If you are providing an IBAN for`account_number`, this field is not required.
610
+ # The routing number, sort code, or other country-appropriate institution number for the bank account. For US bank accounts, this is required and should be the ACH routing number, not the wire routing number. If you are providing an IBAN for `account_number`, this field is not required.
700
611
  attr_accessor :routing_number
701
612
 
702
613
  def initialize(
@@ -885,15 +796,6 @@ module Stripe
885
796
  end
886
797
  end
887
798
 
888
- class AutomaticIndirectTax < Stripe::RequestParams
889
- # 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.
890
- attr_accessor :requested
891
-
892
- def initialize(requested: nil)
893
- @requested = requested
894
- end
895
- end
896
-
897
799
  class BacsDebitPayments < Stripe::RequestParams
898
800
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
899
801
  attr_accessor :requested
@@ -1020,15 +922,6 @@ module Stripe
1020
922
  end
1021
923
  end
1022
924
 
1023
- class GopayPayments < Stripe::RequestParams
1024
- # 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.
1025
- attr_accessor :requested
1026
-
1027
- def initialize(requested: nil)
1028
- @requested = requested
1029
- end
1030
- end
1031
-
1032
925
  class GrabpayPayments < Stripe::RequestParams
1033
926
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
1034
927
  attr_accessor :requested
@@ -1038,24 +931,6 @@ module Stripe
1038
931
  end
1039
932
  end
1040
933
 
1041
- class IdBankTransferPayments < Stripe::RequestParams
1042
- # 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.
1043
- attr_accessor :requested
1044
-
1045
- def initialize(requested: nil)
1046
- @requested = requested
1047
- end
1048
- end
1049
-
1050
- class IdBankTransferPaymentsBca < Stripe::RequestParams
1051
- # 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.
1052
- attr_accessor :requested
1053
-
1054
- def initialize(requested: nil)
1055
- @requested = requested
1056
- end
1057
- end
1058
-
1059
934
  class IdealPayments < Stripe::RequestParams
1060
935
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
1061
936
  attr_accessor :requested
@@ -1146,15 +1021,6 @@ module Stripe
1146
1021
  end
1147
1022
  end
1148
1023
 
1149
- class MbWayPayments < Stripe::RequestParams
1150
- # 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.
1151
- attr_accessor :requested
1152
-
1153
- def initialize(requested: nil)
1154
- @requested = requested
1155
- end
1156
- end
1157
-
1158
1024
  class MobilepayPayments < Stripe::RequestParams
1159
1025
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
1160
1026
  attr_accessor :requested
@@ -1245,24 +1111,6 @@ module Stripe
1245
1111
  end
1246
1112
  end
1247
1113
 
1248
- class PaypalPayments < Stripe::RequestParams
1249
- # 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.
1250
- attr_accessor :requested
1251
-
1252
- def initialize(requested: nil)
1253
- @requested = requested
1254
- end
1255
- end
1256
-
1257
- class PaytoPayments < Stripe::RequestParams
1258
- # 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.
1259
- attr_accessor :requested
1260
-
1261
- def initialize(requested: nil)
1262
- @requested = requested
1263
- end
1264
- end
1265
-
1266
1114
  class PromptpayPayments < Stripe::RequestParams
1267
1115
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
1268
1116
  attr_accessor :requested
@@ -1272,24 +1120,6 @@ module Stripe
1272
1120
  end
1273
1121
  end
1274
1122
 
1275
- class QrisPayments < Stripe::RequestParams
1276
- # 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.
1277
- attr_accessor :requested
1278
-
1279
- def initialize(requested: nil)
1280
- @requested = requested
1281
- end
1282
- end
1283
-
1284
- class RechnungPayments < Stripe::RequestParams
1285
- # 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.
1286
- attr_accessor :requested
1287
-
1288
- def initialize(requested: nil)
1289
- @requested = requested
1290
- end
1291
- end
1292
-
1293
1123
  class RevolutPayPayments < Stripe::RequestParams
1294
1124
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
1295
1125
  attr_accessor :requested
@@ -1335,15 +1165,6 @@ module Stripe
1335
1165
  end
1336
1166
  end
1337
1167
 
1338
- class ShopeepayPayments < Stripe::RequestParams
1339
- # 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.
1340
- attr_accessor :requested
1341
-
1342
- def initialize(requested: nil)
1343
- @requested = requested
1344
- end
1345
- end
1346
-
1347
1168
  class SofortPayments < Stripe::RequestParams
1348
1169
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
1349
1170
  attr_accessor :requested
@@ -1353,15 +1174,6 @@ module Stripe
1353
1174
  end
1354
1175
  end
1355
1176
 
1356
- class StripeBalancePayments < Stripe::RequestParams
1357
- # 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.
1358
- attr_accessor :requested
1359
-
1360
- def initialize(requested: nil)
1361
- @requested = requested
1362
- end
1363
- end
1364
-
1365
1177
  class SwishPayments < Stripe::RequestParams
1366
1178
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
1367
1179
  attr_accessor :requested
@@ -1407,33 +1219,6 @@ module Stripe
1407
1219
  end
1408
1220
  end
1409
1221
 
1410
- class TreasuryEvolve < Stripe::RequestParams
1411
- # 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.
1412
- attr_accessor :requested
1413
-
1414
- def initialize(requested: nil)
1415
- @requested = requested
1416
- end
1417
- end
1418
-
1419
- class TreasuryFifthThird < Stripe::RequestParams
1420
- # 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.
1421
- attr_accessor :requested
1422
-
1423
- def initialize(requested: nil)
1424
- @requested = requested
1425
- end
1426
- end
1427
-
1428
- class TreasuryGoldmanSachs < Stripe::RequestParams
1429
- # 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.
1430
- attr_accessor :requested
1431
-
1432
- def initialize(requested: nil)
1433
- @requested = requested
1434
- end
1435
- end
1436
-
1437
1222
  class TwintPayments < Stripe::RequestParams
1438
1223
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
1439
1224
  attr_accessor :requested
@@ -1481,8 +1266,6 @@ module Stripe
1481
1266
  attr_accessor :amazon_pay_payments
1482
1267
  # The au_becs_debit_payments capability.
1483
1268
  attr_accessor :au_becs_debit_payments
1484
- # The automatic_indirect_tax capability.
1485
- attr_accessor :automatic_indirect_tax
1486
1269
  # The bacs_debit_payments capability.
1487
1270
  attr_accessor :bacs_debit_payments
1488
1271
  # The bancontact_payments capability.
@@ -1511,14 +1294,8 @@ module Stripe
1511
1294
  attr_accessor :gb_bank_transfer_payments
1512
1295
  # The giropay_payments capability.
1513
1296
  attr_accessor :giropay_payments
1514
- # The gopay_payments capability.
1515
- attr_accessor :gopay_payments
1516
1297
  # The grabpay_payments capability.
1517
1298
  attr_accessor :grabpay_payments
1518
- # The id_bank_transfer_payments capability.
1519
- attr_accessor :id_bank_transfer_payments
1520
- # The id_bank_transfer_payments_bca capability.
1521
- attr_accessor :id_bank_transfer_payments_bca
1522
1299
  # The ideal_payments capability.
1523
1300
  attr_accessor :ideal_payments
1524
1301
  # The india_international_payments capability.
@@ -1539,8 +1316,6 @@ module Stripe
1539
1316
  attr_accessor :legacy_payments
1540
1317
  # The link_payments capability.
1541
1318
  attr_accessor :link_payments
1542
- # The mb_way_payments capability.
1543
- attr_accessor :mb_way_payments
1544
1319
  # The mobilepay_payments capability.
1545
1320
  attr_accessor :mobilepay_payments
1546
1321
  # The multibanco_payments capability.
@@ -1561,16 +1336,8 @@ module Stripe
1561
1336
  attr_accessor :payco_payments
1562
1337
  # The paynow_payments capability.
1563
1338
  attr_accessor :paynow_payments
1564
- # The paypal_payments capability.
1565
- attr_accessor :paypal_payments
1566
- # The payto_payments capability.
1567
- attr_accessor :payto_payments
1568
1339
  # The promptpay_payments capability.
1569
1340
  attr_accessor :promptpay_payments
1570
- # The qris_payments capability.
1571
- attr_accessor :qris_payments
1572
- # The rechnung_payments capability.
1573
- attr_accessor :rechnung_payments
1574
1341
  # The revolut_pay_payments capability.
1575
1342
  attr_accessor :revolut_pay_payments
1576
1343
  # The samsung_pay_payments capability.
@@ -1581,12 +1348,8 @@ module Stripe
1581
1348
  attr_accessor :sepa_bank_transfer_payments
1582
1349
  # The sepa_debit_payments capability.
1583
1350
  attr_accessor :sepa_debit_payments
1584
- # The shopeepay_payments capability.
1585
- attr_accessor :shopeepay_payments
1586
1351
  # The sofort_payments capability.
1587
1352
  attr_accessor :sofort_payments
1588
- # The stripe_balance_payments capability.
1589
- attr_accessor :stripe_balance_payments
1590
1353
  # The swish_payments capability.
1591
1354
  attr_accessor :swish_payments
1592
1355
  # The tax_reporting_us_1099_k capability.
@@ -1597,12 +1360,6 @@ module Stripe
1597
1360
  attr_accessor :transfers
1598
1361
  # The treasury capability.
1599
1362
  attr_accessor :treasury
1600
- # The treasury_evolve capability.
1601
- attr_accessor :treasury_evolve
1602
- # The treasury_fifth_third capability.
1603
- attr_accessor :treasury_fifth_third
1604
- # The treasury_goldman_sachs capability.
1605
- attr_accessor :treasury_goldman_sachs
1606
1363
  # The twint_payments capability.
1607
1364
  attr_accessor :twint_payments
1608
1365
  # The us_bank_account_ach_payments capability.
@@ -1619,7 +1376,6 @@ module Stripe
1619
1376
  alma_payments: nil,
1620
1377
  amazon_pay_payments: nil,
1621
1378
  au_becs_debit_payments: nil,
1622
- automatic_indirect_tax: nil,
1623
1379
  bacs_debit_payments: nil,
1624
1380
  bancontact_payments: nil,
1625
1381
  bank_transfer_payments: nil,
@@ -1634,10 +1390,7 @@ module Stripe
1634
1390
  fpx_payments: nil,
1635
1391
  gb_bank_transfer_payments: nil,
1636
1392
  giropay_payments: nil,
1637
- gopay_payments: nil,
1638
1393
  grabpay_payments: nil,
1639
- id_bank_transfer_payments: nil,
1640
- id_bank_transfer_payments_bca: nil,
1641
1394
  ideal_payments: nil,
1642
1395
  india_international_payments: nil,
1643
1396
  jcb_payments: nil,
@@ -1648,7 +1401,6 @@ module Stripe
1648
1401
  kr_card_payments: nil,
1649
1402
  legacy_payments: nil,
1650
1403
  link_payments: nil,
1651
- mb_way_payments: nil,
1652
1404
  mobilepay_payments: nil,
1653
1405
  multibanco_payments: nil,
1654
1406
  mx_bank_transfer_payments: nil,
@@ -1659,27 +1411,18 @@ module Stripe
1659
1411
  pay_by_bank_payments: nil,
1660
1412
  payco_payments: nil,
1661
1413
  paynow_payments: nil,
1662
- paypal_payments: nil,
1663
- payto_payments: nil,
1664
1414
  promptpay_payments: nil,
1665
- qris_payments: nil,
1666
- rechnung_payments: nil,
1667
1415
  revolut_pay_payments: nil,
1668
1416
  samsung_pay_payments: nil,
1669
1417
  satispay_payments: nil,
1670
1418
  sepa_bank_transfer_payments: nil,
1671
1419
  sepa_debit_payments: nil,
1672
- shopeepay_payments: nil,
1673
1420
  sofort_payments: nil,
1674
- stripe_balance_payments: nil,
1675
1421
  swish_payments: nil,
1676
1422
  tax_reporting_us_1099_k: nil,
1677
1423
  tax_reporting_us_1099_misc: nil,
1678
1424
  transfers: nil,
1679
1425
  treasury: nil,
1680
- treasury_evolve: nil,
1681
- treasury_fifth_third: nil,
1682
- treasury_goldman_sachs: nil,
1683
1426
  twint_payments: nil,
1684
1427
  us_bank_account_ach_payments: nil,
1685
1428
  us_bank_transfer_payments: nil,
@@ -1691,7 +1434,6 @@ module Stripe
1691
1434
  @alma_payments = alma_payments
1692
1435
  @amazon_pay_payments = amazon_pay_payments
1693
1436
  @au_becs_debit_payments = au_becs_debit_payments
1694
- @automatic_indirect_tax = automatic_indirect_tax
1695
1437
  @bacs_debit_payments = bacs_debit_payments
1696
1438
  @bancontact_payments = bancontact_payments
1697
1439
  @bank_transfer_payments = bank_transfer_payments
@@ -1706,10 +1448,7 @@ module Stripe
1706
1448
  @fpx_payments = fpx_payments
1707
1449
  @gb_bank_transfer_payments = gb_bank_transfer_payments
1708
1450
  @giropay_payments = giropay_payments
1709
- @gopay_payments = gopay_payments
1710
1451
  @grabpay_payments = grabpay_payments
1711
- @id_bank_transfer_payments = id_bank_transfer_payments
1712
- @id_bank_transfer_payments_bca = id_bank_transfer_payments_bca
1713
1452
  @ideal_payments = ideal_payments
1714
1453
  @india_international_payments = india_international_payments
1715
1454
  @jcb_payments = jcb_payments
@@ -1720,7 +1459,6 @@ module Stripe
1720
1459
  @kr_card_payments = kr_card_payments
1721
1460
  @legacy_payments = legacy_payments
1722
1461
  @link_payments = link_payments
1723
- @mb_way_payments = mb_way_payments
1724
1462
  @mobilepay_payments = mobilepay_payments
1725
1463
  @multibanco_payments = multibanco_payments
1726
1464
  @mx_bank_transfer_payments = mx_bank_transfer_payments
@@ -1731,27 +1469,18 @@ module Stripe
1731
1469
  @pay_by_bank_payments = pay_by_bank_payments
1732
1470
  @payco_payments = payco_payments
1733
1471
  @paynow_payments = paynow_payments
1734
- @paypal_payments = paypal_payments
1735
- @payto_payments = payto_payments
1736
1472
  @promptpay_payments = promptpay_payments
1737
- @qris_payments = qris_payments
1738
- @rechnung_payments = rechnung_payments
1739
1473
  @revolut_pay_payments = revolut_pay_payments
1740
1474
  @samsung_pay_payments = samsung_pay_payments
1741
1475
  @satispay_payments = satispay_payments
1742
1476
  @sepa_bank_transfer_payments = sepa_bank_transfer_payments
1743
1477
  @sepa_debit_payments = sepa_debit_payments
1744
- @shopeepay_payments = shopeepay_payments
1745
1478
  @sofort_payments = sofort_payments
1746
- @stripe_balance_payments = stripe_balance_payments
1747
1479
  @swish_payments = swish_payments
1748
1480
  @tax_reporting_us_1099_k = tax_reporting_us_1099_k
1749
1481
  @tax_reporting_us_1099_misc = tax_reporting_us_1099_misc
1750
1482
  @transfers = transfers
1751
1483
  @treasury = treasury
1752
- @treasury_evolve = treasury_evolve
1753
- @treasury_fifth_third = treasury_fifth_third
1754
- @treasury_goldman_sachs = treasury_goldman_sachs
1755
1484
  @twint_payments = twint_payments
1756
1485
  @us_bank_account_ach_payments = us_bank_account_ach_payments
1757
1486
  @us_bank_transfer_payments = us_bank_transfer_payments
@@ -2527,37 +2256,6 @@ module Stripe
2527
2256
  end
2528
2257
  end
2529
2258
 
2530
- class RiskControls < Stripe::RequestParams
2531
- class Charges < Stripe::RequestParams
2532
- # To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
2533
- # There can be a delay before the risk control is paused or unpaused.
2534
- attr_accessor :pause_requested
2535
-
2536
- def initialize(pause_requested: nil)
2537
- @pause_requested = pause_requested
2538
- end
2539
- end
2540
-
2541
- class Payouts < Stripe::RequestParams
2542
- # To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
2543
- # There can be a delay before the risk control is paused or unpaused.
2544
- attr_accessor :pause_requested
2545
-
2546
- def initialize(pause_requested: nil)
2547
- @pause_requested = pause_requested
2548
- end
2549
- end
2550
- # 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).
2551
- attr_accessor :charges
2552
- # 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).
2553
- attr_accessor :payouts
2554
-
2555
- def initialize(charges: nil, payouts: nil)
2556
- @charges = charges
2557
- @payouts = payouts
2558
- end
2559
- end
2560
-
2561
2259
  class Settings < Stripe::RequestParams
2562
2260
  class BacsDebitPayments < Stripe::RequestParams
2563
2261
  # The Bacs Direct Debit Display Name for this account. For payments made with Bacs Direct Debit, this name appears on the mandate as the statement descriptor. Mobile banking apps display it as the name of the business. To use custom branding, set the Bacs Direct Debit Display Name during or right after creation. Custom branding incurs an additional monthly fee for the platform. If you don't set the display name before requesting Bacs capability, it's automatically set as "Stripe" and the account is onboarded to Stripe branding, which is free.
@@ -2568,18 +2266,6 @@ module Stripe
2568
2266
  end
2569
2267
  end
2570
2268
 
2571
- class BankBcaOnboarding < Stripe::RequestParams
2572
- # Bank BCA business account holder name
2573
- attr_accessor :account_holder_name
2574
- # Bank BCA business account number
2575
- attr_accessor :business_account_number
2576
-
2577
- def initialize(account_holder_name: nil, business_account_number: nil)
2578
- @account_holder_name = account_holder_name
2579
- @business_account_number = business_account_number
2580
- end
2581
- end
2582
-
2583
2269
  class Branding < Stripe::RequestParams
2584
2270
  # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) An icon for the account. Must be square and at least 128px x 128px.
2585
2271
  attr_accessor :icon
@@ -2598,18 +2284,6 @@ module Stripe
2598
2284
  end
2599
2285
  end
2600
2286
 
2601
- class Capital < Stripe::RequestParams
2602
- # Per-currency mapping of user-selected destination accounts used to pay out loans.
2603
- attr_accessor :payout_destination
2604
- # Per-currency mapping of all destination accounts eligible to receive Capital financing payouts.
2605
- attr_accessor :payout_destination_selector
2606
-
2607
- def initialize(payout_destination: nil, payout_destination_selector: nil)
2608
- @payout_destination = payout_destination
2609
- @payout_destination_selector = payout_destination_selector
2610
- end
2611
- end
2612
-
2613
2287
  class CardIssuing < Stripe::RequestParams
2614
2288
  class TosAcceptance < Stripe::RequestParams
2615
2289
  # The Unix timestamp marking when the account representative accepted the service agreement.
@@ -2730,15 +2404,6 @@ module Stripe
2730
2404
  end
2731
2405
  end
2732
2406
 
2733
- class TaxForms < Stripe::RequestParams
2734
- # Whether the account opted out of receiving their tax forms by postal delivery.
2735
- attr_accessor :consented_to_paperless_delivery
2736
-
2737
- def initialize(consented_to_paperless_delivery: nil)
2738
- @consented_to_paperless_delivery = consented_to_paperless_delivery
2739
- end
2740
- end
2741
-
2742
2407
  class Treasury < Stripe::RequestParams
2743
2408
  class TosAcceptance < Stripe::RequestParams
2744
2409
  # The Unix timestamp marking when the account representative accepted the service agreement.
@@ -2763,12 +2428,8 @@ module Stripe
2763
2428
  end
2764
2429
  # Settings specific to Bacs Direct Debit payments.
2765
2430
  attr_accessor :bacs_debit_payments
2766
- # Settings specific to bank BCA onboarding for Indonesia bank transfers payments method.
2767
- attr_accessor :bank_bca_onboarding
2768
2431
  # Settings used to apply the account's branding to email receipts, invoices, Checkout, and other products.
2769
2432
  attr_accessor :branding
2770
- # Settings specific to the account's use of the Capital product.
2771
- attr_accessor :capital
2772
2433
  # Settings specific to the account's use of the Card Issuing product.
2773
2434
  attr_accessor :card_issuing
2774
2435
  # Settings specific to card charging on the account.
@@ -2779,34 +2440,26 @@ module Stripe
2779
2440
  attr_accessor :payments
2780
2441
  # Settings specific to the account's payouts.
2781
2442
  attr_accessor :payouts
2782
- # Settings specific to the account's tax forms.
2783
- attr_accessor :tax_forms
2784
2443
  # Settings specific to the account's Treasury FinancialAccounts.
2785
2444
  attr_accessor :treasury
2786
2445
 
2787
2446
  def initialize(
2788
2447
  bacs_debit_payments: nil,
2789
- bank_bca_onboarding: nil,
2790
2448
  branding: nil,
2791
- capital: nil,
2792
2449
  card_issuing: nil,
2793
2450
  card_payments: nil,
2794
2451
  invoices: nil,
2795
2452
  payments: nil,
2796
2453
  payouts: nil,
2797
- tax_forms: nil,
2798
2454
  treasury: nil
2799
2455
  )
2800
2456
  @bacs_debit_payments = bacs_debit_payments
2801
- @bank_bca_onboarding = bank_bca_onboarding
2802
2457
  @branding = branding
2803
- @capital = capital
2804
2458
  @card_issuing = card_issuing
2805
2459
  @card_payments = card_payments
2806
2460
  @invoices = invoices
2807
2461
  @payments = payments
2808
2462
  @payouts = payouts
2809
- @tax_forms = tax_forms
2810
2463
  @treasury = treasury
2811
2464
  end
2812
2465
  end
@@ -2861,8 +2514,6 @@ module Stripe
2861
2514
  attr_accessor :individual
2862
2515
  # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
2863
2516
  attr_accessor :metadata
2864
- # A hash to configure risk controls on the account. Please see [this page for more details](/connect/pausing-payments-or-payouts-on-connected-accounts).
2865
- attr_accessor :risk_controls
2866
2517
  # Options for customizing how the account functions within Stripe.
2867
2518
  attr_accessor :settings
2868
2519
  # Details on the account's acceptance of the [Stripe Services Agreement](/connect/updating-accounts#tos-acceptance). This property can only be updated for accounts where [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts. This property defaults to a `full` service agreement when empty.
@@ -2882,7 +2533,6 @@ module Stripe
2882
2533
  groups: nil,
2883
2534
  individual: nil,
2884
2535
  metadata: nil,
2885
- risk_controls: nil,
2886
2536
  settings: nil,
2887
2537
  tos_acceptance: nil
2888
2538
  )
@@ -2899,7 +2549,6 @@ module Stripe
2899
2549
  @groups = groups
2900
2550
  @individual = individual
2901
2551
  @metadata = metadata
2902
- @risk_controls = risk_controls
2903
2552
  @settings = settings
2904
2553
  @tos_acceptance = tos_acceptance
2905
2554
  end
@@ -2957,7 +2606,7 @@ module Stripe
2957
2606
  attr_accessor :country
2958
2607
  # The currency the bank account is in. This must be a country/currency pairing that [Stripe supports.](docs/payouts)
2959
2608
  attr_accessor :currency
2960
- # The routing number, sort code, or other country-appropriateinstitution number for the bank account. For US bank accounts, this is required and should bethe ACH routing number, not the wire routing number. If you are providing an IBAN for`account_number`, this field is not required.
2609
+ # The routing number, sort code, or other country-appropriate institution number for the bank account. For US bank accounts, this is required and should be the ACH routing number, not the wire routing number. If you are providing an IBAN for `account_number`, this field is not required.
2961
2610
  attr_accessor :routing_number
2962
2611
 
2963
2612
  def initialize(
@@ -3146,15 +2795,6 @@ module Stripe
3146
2795
  end
3147
2796
  end
3148
2797
 
3149
- class AutomaticIndirectTax < Stripe::RequestParams
3150
- # 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.
3151
- attr_accessor :requested
3152
-
3153
- def initialize(requested: nil)
3154
- @requested = requested
3155
- end
3156
- end
3157
-
3158
2798
  class BacsDebitPayments < Stripe::RequestParams
3159
2799
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
3160
2800
  attr_accessor :requested
@@ -3281,15 +2921,6 @@ module Stripe
3281
2921
  end
3282
2922
  end
3283
2923
 
3284
- class GopayPayments < Stripe::RequestParams
3285
- # 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.
3286
- attr_accessor :requested
3287
-
3288
- def initialize(requested: nil)
3289
- @requested = requested
3290
- end
3291
- end
3292
-
3293
2924
  class GrabpayPayments < Stripe::RequestParams
3294
2925
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
3295
2926
  attr_accessor :requested
@@ -3299,24 +2930,6 @@ module Stripe
3299
2930
  end
3300
2931
  end
3301
2932
 
3302
- class IdBankTransferPayments < Stripe::RequestParams
3303
- # 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.
3304
- attr_accessor :requested
3305
-
3306
- def initialize(requested: nil)
3307
- @requested = requested
3308
- end
3309
- end
3310
-
3311
- class IdBankTransferPaymentsBca < Stripe::RequestParams
3312
- # 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.
3313
- attr_accessor :requested
3314
-
3315
- def initialize(requested: nil)
3316
- @requested = requested
3317
- end
3318
- end
3319
-
3320
2933
  class IdealPayments < Stripe::RequestParams
3321
2934
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
3322
2935
  attr_accessor :requested
@@ -3407,15 +3020,6 @@ module Stripe
3407
3020
  end
3408
3021
  end
3409
3022
 
3410
- class MbWayPayments < Stripe::RequestParams
3411
- # 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.
3412
- attr_accessor :requested
3413
-
3414
- def initialize(requested: nil)
3415
- @requested = requested
3416
- end
3417
- end
3418
-
3419
3023
  class MobilepayPayments < Stripe::RequestParams
3420
3024
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
3421
3025
  attr_accessor :requested
@@ -3506,24 +3110,6 @@ module Stripe
3506
3110
  end
3507
3111
  end
3508
3112
 
3509
- class PaypalPayments < Stripe::RequestParams
3510
- # 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.
3511
- attr_accessor :requested
3512
-
3513
- def initialize(requested: nil)
3514
- @requested = requested
3515
- end
3516
- end
3517
-
3518
- class PaytoPayments < Stripe::RequestParams
3519
- # 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.
3520
- attr_accessor :requested
3521
-
3522
- def initialize(requested: nil)
3523
- @requested = requested
3524
- end
3525
- end
3526
-
3527
3113
  class PromptpayPayments < Stripe::RequestParams
3528
3114
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
3529
3115
  attr_accessor :requested
@@ -3533,24 +3119,6 @@ module Stripe
3533
3119
  end
3534
3120
  end
3535
3121
 
3536
- class QrisPayments < Stripe::RequestParams
3537
- # 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.
3538
- attr_accessor :requested
3539
-
3540
- def initialize(requested: nil)
3541
- @requested = requested
3542
- end
3543
- end
3544
-
3545
- class RechnungPayments < Stripe::RequestParams
3546
- # 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.
3547
- attr_accessor :requested
3548
-
3549
- def initialize(requested: nil)
3550
- @requested = requested
3551
- end
3552
- end
3553
-
3554
3122
  class RevolutPayPayments < Stripe::RequestParams
3555
3123
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
3556
3124
  attr_accessor :requested
@@ -3596,15 +3164,6 @@ module Stripe
3596
3164
  end
3597
3165
  end
3598
3166
 
3599
- class ShopeepayPayments < Stripe::RequestParams
3600
- # 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.
3601
- attr_accessor :requested
3602
-
3603
- def initialize(requested: nil)
3604
- @requested = requested
3605
- end
3606
- end
3607
-
3608
3167
  class SofortPayments < Stripe::RequestParams
3609
3168
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
3610
3169
  attr_accessor :requested
@@ -3614,15 +3173,6 @@ module Stripe
3614
3173
  end
3615
3174
  end
3616
3175
 
3617
- class StripeBalancePayments < Stripe::RequestParams
3618
- # 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.
3619
- attr_accessor :requested
3620
-
3621
- def initialize(requested: nil)
3622
- @requested = requested
3623
- end
3624
- end
3625
-
3626
3176
  class SwishPayments < Stripe::RequestParams
3627
3177
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
3628
3178
  attr_accessor :requested
@@ -3668,33 +3218,6 @@ module Stripe
3668
3218
  end
3669
3219
  end
3670
3220
 
3671
- class TreasuryEvolve < Stripe::RequestParams
3672
- # 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.
3673
- attr_accessor :requested
3674
-
3675
- def initialize(requested: nil)
3676
- @requested = requested
3677
- end
3678
- end
3679
-
3680
- class TreasuryFifthThird < Stripe::RequestParams
3681
- # 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.
3682
- attr_accessor :requested
3683
-
3684
- def initialize(requested: nil)
3685
- @requested = requested
3686
- end
3687
- end
3688
-
3689
- class TreasuryGoldmanSachs < Stripe::RequestParams
3690
- # 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.
3691
- attr_accessor :requested
3692
-
3693
- def initialize(requested: nil)
3694
- @requested = requested
3695
- end
3696
- end
3697
-
3698
3221
  class TwintPayments < Stripe::RequestParams
3699
3222
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
3700
3223
  attr_accessor :requested
@@ -3742,8 +3265,6 @@ module Stripe
3742
3265
  attr_accessor :amazon_pay_payments
3743
3266
  # The au_becs_debit_payments capability.
3744
3267
  attr_accessor :au_becs_debit_payments
3745
- # The automatic_indirect_tax capability.
3746
- attr_accessor :automatic_indirect_tax
3747
3268
  # The bacs_debit_payments capability.
3748
3269
  attr_accessor :bacs_debit_payments
3749
3270
  # The bancontact_payments capability.
@@ -3772,14 +3293,8 @@ module Stripe
3772
3293
  attr_accessor :gb_bank_transfer_payments
3773
3294
  # The giropay_payments capability.
3774
3295
  attr_accessor :giropay_payments
3775
- # The gopay_payments capability.
3776
- attr_accessor :gopay_payments
3777
3296
  # The grabpay_payments capability.
3778
3297
  attr_accessor :grabpay_payments
3779
- # The id_bank_transfer_payments capability.
3780
- attr_accessor :id_bank_transfer_payments
3781
- # The id_bank_transfer_payments_bca capability.
3782
- attr_accessor :id_bank_transfer_payments_bca
3783
3298
  # The ideal_payments capability.
3784
3299
  attr_accessor :ideal_payments
3785
3300
  # The india_international_payments capability.
@@ -3800,8 +3315,6 @@ module Stripe
3800
3315
  attr_accessor :legacy_payments
3801
3316
  # The link_payments capability.
3802
3317
  attr_accessor :link_payments
3803
- # The mb_way_payments capability.
3804
- attr_accessor :mb_way_payments
3805
3318
  # The mobilepay_payments capability.
3806
3319
  attr_accessor :mobilepay_payments
3807
3320
  # The multibanco_payments capability.
@@ -3822,16 +3335,8 @@ module Stripe
3822
3335
  attr_accessor :payco_payments
3823
3336
  # The paynow_payments capability.
3824
3337
  attr_accessor :paynow_payments
3825
- # The paypal_payments capability.
3826
- attr_accessor :paypal_payments
3827
- # The payto_payments capability.
3828
- attr_accessor :payto_payments
3829
3338
  # The promptpay_payments capability.
3830
3339
  attr_accessor :promptpay_payments
3831
- # The qris_payments capability.
3832
- attr_accessor :qris_payments
3833
- # The rechnung_payments capability.
3834
- attr_accessor :rechnung_payments
3835
3340
  # The revolut_pay_payments capability.
3836
3341
  attr_accessor :revolut_pay_payments
3837
3342
  # The samsung_pay_payments capability.
@@ -3842,12 +3347,8 @@ module Stripe
3842
3347
  attr_accessor :sepa_bank_transfer_payments
3843
3348
  # The sepa_debit_payments capability.
3844
3349
  attr_accessor :sepa_debit_payments
3845
- # The shopeepay_payments capability.
3846
- attr_accessor :shopeepay_payments
3847
3350
  # The sofort_payments capability.
3848
3351
  attr_accessor :sofort_payments
3849
- # The stripe_balance_payments capability.
3850
- attr_accessor :stripe_balance_payments
3851
3352
  # The swish_payments capability.
3852
3353
  attr_accessor :swish_payments
3853
3354
  # The tax_reporting_us_1099_k capability.
@@ -3858,12 +3359,6 @@ module Stripe
3858
3359
  attr_accessor :transfers
3859
3360
  # The treasury capability.
3860
3361
  attr_accessor :treasury
3861
- # The treasury_evolve capability.
3862
- attr_accessor :treasury_evolve
3863
- # The treasury_fifth_third capability.
3864
- attr_accessor :treasury_fifth_third
3865
- # The treasury_goldman_sachs capability.
3866
- attr_accessor :treasury_goldman_sachs
3867
3362
  # The twint_payments capability.
3868
3363
  attr_accessor :twint_payments
3869
3364
  # The us_bank_account_ach_payments capability.
@@ -3880,7 +3375,6 @@ module Stripe
3880
3375
  alma_payments: nil,
3881
3376
  amazon_pay_payments: nil,
3882
3377
  au_becs_debit_payments: nil,
3883
- automatic_indirect_tax: nil,
3884
3378
  bacs_debit_payments: nil,
3885
3379
  bancontact_payments: nil,
3886
3380
  bank_transfer_payments: nil,
@@ -3895,10 +3389,7 @@ module Stripe
3895
3389
  fpx_payments: nil,
3896
3390
  gb_bank_transfer_payments: nil,
3897
3391
  giropay_payments: nil,
3898
- gopay_payments: nil,
3899
3392
  grabpay_payments: nil,
3900
- id_bank_transfer_payments: nil,
3901
- id_bank_transfer_payments_bca: nil,
3902
3393
  ideal_payments: nil,
3903
3394
  india_international_payments: nil,
3904
3395
  jcb_payments: nil,
@@ -3909,7 +3400,6 @@ module Stripe
3909
3400
  kr_card_payments: nil,
3910
3401
  legacy_payments: nil,
3911
3402
  link_payments: nil,
3912
- mb_way_payments: nil,
3913
3403
  mobilepay_payments: nil,
3914
3404
  multibanco_payments: nil,
3915
3405
  mx_bank_transfer_payments: nil,
@@ -3920,27 +3410,18 @@ module Stripe
3920
3410
  pay_by_bank_payments: nil,
3921
3411
  payco_payments: nil,
3922
3412
  paynow_payments: nil,
3923
- paypal_payments: nil,
3924
- payto_payments: nil,
3925
3413
  promptpay_payments: nil,
3926
- qris_payments: nil,
3927
- rechnung_payments: nil,
3928
3414
  revolut_pay_payments: nil,
3929
3415
  samsung_pay_payments: nil,
3930
3416
  satispay_payments: nil,
3931
3417
  sepa_bank_transfer_payments: nil,
3932
3418
  sepa_debit_payments: nil,
3933
- shopeepay_payments: nil,
3934
3419
  sofort_payments: nil,
3935
- stripe_balance_payments: nil,
3936
3420
  swish_payments: nil,
3937
3421
  tax_reporting_us_1099_k: nil,
3938
3422
  tax_reporting_us_1099_misc: nil,
3939
3423
  transfers: nil,
3940
3424
  treasury: nil,
3941
- treasury_evolve: nil,
3942
- treasury_fifth_third: nil,
3943
- treasury_goldman_sachs: nil,
3944
3425
  twint_payments: nil,
3945
3426
  us_bank_account_ach_payments: nil,
3946
3427
  us_bank_transfer_payments: nil,
@@ -3952,7 +3433,6 @@ module Stripe
3952
3433
  @alma_payments = alma_payments
3953
3434
  @amazon_pay_payments = amazon_pay_payments
3954
3435
  @au_becs_debit_payments = au_becs_debit_payments
3955
- @automatic_indirect_tax = automatic_indirect_tax
3956
3436
  @bacs_debit_payments = bacs_debit_payments
3957
3437
  @bancontact_payments = bancontact_payments
3958
3438
  @bank_transfer_payments = bank_transfer_payments
@@ -3967,10 +3447,7 @@ module Stripe
3967
3447
  @fpx_payments = fpx_payments
3968
3448
  @gb_bank_transfer_payments = gb_bank_transfer_payments
3969
3449
  @giropay_payments = giropay_payments
3970
- @gopay_payments = gopay_payments
3971
3450
  @grabpay_payments = grabpay_payments
3972
- @id_bank_transfer_payments = id_bank_transfer_payments
3973
- @id_bank_transfer_payments_bca = id_bank_transfer_payments_bca
3974
3451
  @ideal_payments = ideal_payments
3975
3452
  @india_international_payments = india_international_payments
3976
3453
  @jcb_payments = jcb_payments
@@ -3981,7 +3458,6 @@ module Stripe
3981
3458
  @kr_card_payments = kr_card_payments
3982
3459
  @legacy_payments = legacy_payments
3983
3460
  @link_payments = link_payments
3984
- @mb_way_payments = mb_way_payments
3985
3461
  @mobilepay_payments = mobilepay_payments
3986
3462
  @multibanco_payments = multibanco_payments
3987
3463
  @mx_bank_transfer_payments = mx_bank_transfer_payments
@@ -3992,27 +3468,18 @@ module Stripe
3992
3468
  @pay_by_bank_payments = pay_by_bank_payments
3993
3469
  @payco_payments = payco_payments
3994
3470
  @paynow_payments = paynow_payments
3995
- @paypal_payments = paypal_payments
3996
- @payto_payments = payto_payments
3997
3471
  @promptpay_payments = promptpay_payments
3998
- @qris_payments = qris_payments
3999
- @rechnung_payments = rechnung_payments
4000
3472
  @revolut_pay_payments = revolut_pay_payments
4001
3473
  @samsung_pay_payments = samsung_pay_payments
4002
3474
  @satispay_payments = satispay_payments
4003
3475
  @sepa_bank_transfer_payments = sepa_bank_transfer_payments
4004
3476
  @sepa_debit_payments = sepa_debit_payments
4005
- @shopeepay_payments = shopeepay_payments
4006
3477
  @sofort_payments = sofort_payments
4007
- @stripe_balance_payments = stripe_balance_payments
4008
3478
  @swish_payments = swish_payments
4009
3479
  @tax_reporting_us_1099_k = tax_reporting_us_1099_k
4010
3480
  @tax_reporting_us_1099_misc = tax_reporting_us_1099_misc
4011
3481
  @transfers = transfers
4012
3482
  @treasury = treasury
4013
- @treasury_evolve = treasury_evolve
4014
- @treasury_fifth_third = treasury_fifth_third
4015
- @treasury_goldman_sachs = treasury_goldman_sachs
4016
3483
  @twint_payments = twint_payments
4017
3484
  @us_bank_account_ach_payments = us_bank_account_ach_payments
4018
3485
  @us_bank_transfer_payments = us_bank_transfer_payments
@@ -4363,30 +3830,6 @@ module Stripe
4363
3830
  end
4364
3831
 
4365
3832
  class Controller < Stripe::RequestParams
4366
- class Application < Stripe::RequestParams
4367
- # Whether the controller is liable for losses on this account. For details, see [Understanding Connect Account Balances](https://stripe.com/docs/connect/account-balances).
4368
- attr_accessor :loss_liable
4369
- # Whether the controller owns onboarding for this account.
4370
- attr_accessor :onboarding_owner
4371
- # Whether the controller has pricing controls for this account.
4372
- attr_accessor :pricing_controls
4373
-
4374
- def initialize(loss_liable: nil, onboarding_owner: nil, pricing_controls: nil)
4375
- @loss_liable = loss_liable
4376
- @onboarding_owner = onboarding_owner
4377
- @pricing_controls = pricing_controls
4378
- end
4379
- end
4380
-
4381
- class Dashboard < Stripe::RequestParams
4382
- # 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`.
4383
- attr_accessor :type
4384
-
4385
- def initialize(type: nil)
4386
- @type = type
4387
- end
4388
- end
4389
-
4390
3833
  class Fees < Stripe::RequestParams
4391
3834
  # A value indicating the responsible payer of Stripe fees on this account. Defaults to `account`. Learn more about [fee behavior on connected accounts](https://docs.stripe.com/connect/direct-charges-fee-payer-behavior).
4392
3835
  attr_accessor :payer
@@ -4413,10 +3856,6 @@ module Stripe
4413
3856
  @type = type
4414
3857
  end
4415
3858
  end
4416
- # A hash of configuration describing the Connect application that controls the account.
4417
- attr_accessor :application
4418
- # Properties of the account's dashboard.
4419
- attr_accessor :dashboard
4420
3859
  # A hash of configuration for who pays Stripe fees for product usage on this account.
4421
3860
  attr_accessor :fees
4422
3861
  # A hash of configuration for products that have negative balance liability, and whether Stripe or a Connect application is responsible for them.
@@ -4426,16 +3865,7 @@ module Stripe
4426
3865
  # A hash of configuration for Stripe-hosted dashboards.
4427
3866
  attr_accessor :stripe_dashboard
4428
3867
 
4429
- def initialize(
4430
- application: nil,
4431
- dashboard: nil,
4432
- fees: nil,
4433
- losses: nil,
4434
- requirement_collection: nil,
4435
- stripe_dashboard: nil
4436
- )
4437
- @application = application
4438
- @dashboard = dashboard
3868
+ def initialize(fees: nil, losses: nil, requirement_collection: nil, stripe_dashboard: nil)
4439
3869
  @fees = fees
4440
3870
  @losses = losses
4441
3871
  @requirement_collection = requirement_collection
@@ -4869,37 +4299,6 @@ module Stripe
4869
4299
  end
4870
4300
  end
4871
4301
 
4872
- class RiskControls < Stripe::RequestParams
4873
- class Charges < Stripe::RequestParams
4874
- # To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
4875
- # There can be a delay before the risk control is paused or unpaused.
4876
- attr_accessor :pause_requested
4877
-
4878
- def initialize(pause_requested: nil)
4879
- @pause_requested = pause_requested
4880
- end
4881
- end
4882
-
4883
- class Payouts < Stripe::RequestParams
4884
- # To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
4885
- # There can be a delay before the risk control is paused or unpaused.
4886
- attr_accessor :pause_requested
4887
-
4888
- def initialize(pause_requested: nil)
4889
- @pause_requested = pause_requested
4890
- end
4891
- end
4892
- # 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).
4893
- attr_accessor :charges
4894
- # 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).
4895
- attr_accessor :payouts
4896
-
4897
- def initialize(charges: nil, payouts: nil)
4898
- @charges = charges
4899
- @payouts = payouts
4900
- end
4901
- end
4902
-
4903
4302
  class Settings < Stripe::RequestParams
4904
4303
  class BacsDebitPayments < Stripe::RequestParams
4905
4304
  # The Bacs Direct Debit Display Name for this account. For payments made with Bacs Direct Debit, this name appears on the mandate as the statement descriptor. Mobile banking apps display it as the name of the business. To use custom branding, set the Bacs Direct Debit Display Name during or right after creation. Custom branding incurs an additional monthly fee for the platform. If you don't set the display name before requesting Bacs capability, it's automatically set as "Stripe" and the account is onboarded to Stripe branding, which is free.
@@ -4910,18 +4309,6 @@ module Stripe
4910
4309
  end
4911
4310
  end
4912
4311
 
4913
- class BankBcaOnboarding < Stripe::RequestParams
4914
- # Bank BCA business account holder name
4915
- attr_accessor :account_holder_name
4916
- # Bank BCA business account number
4917
- attr_accessor :business_account_number
4918
-
4919
- def initialize(account_holder_name: nil, business_account_number: nil)
4920
- @account_holder_name = account_holder_name
4921
- @business_account_number = business_account_number
4922
- end
4923
- end
4924
-
4925
4312
  class Branding < Stripe::RequestParams
4926
4313
  # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) An icon for the account. Must be square and at least 128px x 128px.
4927
4314
  attr_accessor :icon
@@ -4940,18 +4327,6 @@ module Stripe
4940
4327
  end
4941
4328
  end
4942
4329
 
4943
- class Capital < Stripe::RequestParams
4944
- # Per-currency mapping of user-selected destination accounts used to pay out loans.
4945
- attr_accessor :payout_destination
4946
- # Per-currency mapping of all destination accounts eligible to receive Capital financing payouts.
4947
- attr_accessor :payout_destination_selector
4948
-
4949
- def initialize(payout_destination: nil, payout_destination_selector: nil)
4950
- @payout_destination = payout_destination
4951
- @payout_destination_selector = payout_destination_selector
4952
- end
4953
- end
4954
-
4955
4330
  class CardIssuing < Stripe::RequestParams
4956
4331
  class TosAcceptance < Stripe::RequestParams
4957
4332
  # The Unix timestamp marking when the account representative accepted the service agreement.
@@ -5069,15 +4444,6 @@ module Stripe
5069
4444
  end
5070
4445
  end
5071
4446
 
5072
- class TaxForms < Stripe::RequestParams
5073
- # Whether the account opted out of receiving their tax forms by postal delivery.
5074
- attr_accessor :consented_to_paperless_delivery
5075
-
5076
- def initialize(consented_to_paperless_delivery: nil)
5077
- @consented_to_paperless_delivery = consented_to_paperless_delivery
5078
- end
5079
- end
5080
-
5081
4447
  class Treasury < Stripe::RequestParams
5082
4448
  class TosAcceptance < Stripe::RequestParams
5083
4449
  # The Unix timestamp marking when the account representative accepted the service agreement.
@@ -5102,12 +4468,8 @@ module Stripe
5102
4468
  end
5103
4469
  # Settings specific to Bacs Direct Debit.
5104
4470
  attr_accessor :bacs_debit_payments
5105
- # Settings specific to bank BCA onboarding for Indonesia bank transfers payments method.
5106
- attr_accessor :bank_bca_onboarding
5107
4471
  # Settings used to apply the account's branding to email receipts, invoices, Checkout, and other products.
5108
4472
  attr_accessor :branding
5109
- # Settings specific to the account's use of the Capital product.
5110
- attr_accessor :capital
5111
4473
  # Settings specific to the account's use of the Card Issuing product.
5112
4474
  attr_accessor :card_issuing
5113
4475
  # Settings specific to card charging on the account.
@@ -5118,34 +4480,26 @@ module Stripe
5118
4480
  attr_accessor :payments
5119
4481
  # Settings specific to the account's payouts.
5120
4482
  attr_accessor :payouts
5121
- # Settings specific to the account's tax forms.
5122
- attr_accessor :tax_forms
5123
4483
  # Settings specific to the account's Treasury FinancialAccounts.
5124
4484
  attr_accessor :treasury
5125
4485
 
5126
4486
  def initialize(
5127
4487
  bacs_debit_payments: nil,
5128
- bank_bca_onboarding: nil,
5129
4488
  branding: nil,
5130
- capital: nil,
5131
4489
  card_issuing: nil,
5132
4490
  card_payments: nil,
5133
4491
  invoices: nil,
5134
4492
  payments: nil,
5135
4493
  payouts: nil,
5136
- tax_forms: nil,
5137
4494
  treasury: nil
5138
4495
  )
5139
4496
  @bacs_debit_payments = bacs_debit_payments
5140
- @bank_bca_onboarding = bank_bca_onboarding
5141
4497
  @branding = branding
5142
- @capital = capital
5143
4498
  @card_issuing = card_issuing
5144
4499
  @card_payments = card_payments
5145
4500
  @invoices = invoices
5146
4501
  @payments = payments
5147
4502
  @payouts = payouts
5148
- @tax_forms = tax_forms
5149
4503
  @treasury = treasury
5150
4504
  end
5151
4505
  end
@@ -5204,8 +4558,6 @@ module Stripe
5204
4558
  attr_accessor :individual
5205
4559
  # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
5206
4560
  attr_accessor :metadata
5207
- # A hash to configure risk controls on the account. Please see [this page for more details](/connect/pausing-payments-or-payouts-on-connected-accounts).
5208
- attr_accessor :risk_controls
5209
4561
  # Options for customizing how the account functions within Stripe.
5210
4562
  attr_accessor :settings
5211
4563
  # Details on the account's acceptance of the [Stripe Services Agreement](/connect/updating-accounts#tos-acceptance). This property can only be updated for accounts where [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts. This property defaults to a `full` service agreement when empty.
@@ -5229,7 +4581,6 @@ module Stripe
5229
4581
  groups: nil,
5230
4582
  individual: nil,
5231
4583
  metadata: nil,
5232
- risk_controls: nil,
5233
4584
  settings: nil,
5234
4585
  tos_acceptance: nil,
5235
4586
  type: nil
@@ -5249,7 +4600,6 @@ module Stripe
5249
4600
  @groups = groups
5250
4601
  @individual = individual
5251
4602
  @metadata = metadata
5252
- @risk_controls = risk_controls
5253
4603
  @settings = settings
5254
4604
  @tos_acceptance = tos_acceptance
5255
4605
  @type = type
@@ -5368,8 +4718,6 @@ module Stripe
5368
4718
  attr_reader :payouts_enabled
5369
4719
  # Attribute for field requirements
5370
4720
  attr_reader :requirements
5371
- # Attribute for field risk_controls
5372
- attr_reader :risk_controls
5373
4721
  # Options for customizing how the account functions within Stripe.
5374
4722
  attr_reader :settings
5375
4723
  # Attribute for field tos_acceptance