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
@@ -39,7 +39,7 @@ module Stripe
39
39
  attr_accessor :country
40
40
  # The currency the bank account is in. This must be a country/currency pairing that [Stripe supports.](docs/payouts)
41
41
  attr_accessor :currency
42
- # 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.
42
+ # 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.
43
43
  attr_accessor :routing_number
44
44
 
45
45
  def initialize(
@@ -228,15 +228,6 @@ module Stripe
228
228
  end
229
229
  end
230
230
 
231
- class AutomaticIndirectTax < Stripe::RequestParams
232
- # 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.
233
- attr_accessor :requested
234
-
235
- def initialize(requested: nil)
236
- @requested = requested
237
- end
238
- end
239
-
240
231
  class BacsDebitPayments < Stripe::RequestParams
241
232
  # 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.
242
233
  attr_accessor :requested
@@ -363,15 +354,6 @@ module Stripe
363
354
  end
364
355
  end
365
356
 
366
- class GopayPayments < Stripe::RequestParams
367
- # 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.
368
- attr_accessor :requested
369
-
370
- def initialize(requested: nil)
371
- @requested = requested
372
- end
373
- end
374
-
375
357
  class GrabpayPayments < Stripe::RequestParams
376
358
  # 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.
377
359
  attr_accessor :requested
@@ -381,24 +363,6 @@ module Stripe
381
363
  end
382
364
  end
383
365
 
384
- class IdBankTransferPayments < Stripe::RequestParams
385
- # 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.
386
- attr_accessor :requested
387
-
388
- def initialize(requested: nil)
389
- @requested = requested
390
- end
391
- end
392
-
393
- class IdBankTransferPaymentsBca < Stripe::RequestParams
394
- # 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.
395
- attr_accessor :requested
396
-
397
- def initialize(requested: nil)
398
- @requested = requested
399
- end
400
- end
401
-
402
366
  class IdealPayments < Stripe::RequestParams
403
367
  # 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.
404
368
  attr_accessor :requested
@@ -489,15 +453,6 @@ module Stripe
489
453
  end
490
454
  end
491
455
 
492
- class MbWayPayments < Stripe::RequestParams
493
- # 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.
494
- attr_accessor :requested
495
-
496
- def initialize(requested: nil)
497
- @requested = requested
498
- end
499
- end
500
-
501
456
  class MobilepayPayments < Stripe::RequestParams
502
457
  # 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.
503
458
  attr_accessor :requested
@@ -588,24 +543,6 @@ module Stripe
588
543
  end
589
544
  end
590
545
 
591
- class PaypalPayments < Stripe::RequestParams
592
- # 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.
593
- attr_accessor :requested
594
-
595
- def initialize(requested: nil)
596
- @requested = requested
597
- end
598
- end
599
-
600
- class PaytoPayments < Stripe::RequestParams
601
- # 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.
602
- attr_accessor :requested
603
-
604
- def initialize(requested: nil)
605
- @requested = requested
606
- end
607
- end
608
-
609
546
  class PromptpayPayments < Stripe::RequestParams
610
547
  # 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.
611
548
  attr_accessor :requested
@@ -615,24 +552,6 @@ module Stripe
615
552
  end
616
553
  end
617
554
 
618
- class QrisPayments < Stripe::RequestParams
619
- # 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.
620
- attr_accessor :requested
621
-
622
- def initialize(requested: nil)
623
- @requested = requested
624
- end
625
- end
626
-
627
- class RechnungPayments < Stripe::RequestParams
628
- # 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.
629
- attr_accessor :requested
630
-
631
- def initialize(requested: nil)
632
- @requested = requested
633
- end
634
- end
635
-
636
555
  class RevolutPayPayments < Stripe::RequestParams
637
556
  # 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.
638
557
  attr_accessor :requested
@@ -678,15 +597,6 @@ module Stripe
678
597
  end
679
598
  end
680
599
 
681
- class ShopeepayPayments < Stripe::RequestParams
682
- # 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.
683
- attr_accessor :requested
684
-
685
- def initialize(requested: nil)
686
- @requested = requested
687
- end
688
- end
689
-
690
600
  class SofortPayments < Stripe::RequestParams
691
601
  # 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.
692
602
  attr_accessor :requested
@@ -696,15 +606,6 @@ module Stripe
696
606
  end
697
607
  end
698
608
 
699
- class StripeBalancePayments < Stripe::RequestParams
700
- # 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.
701
- attr_accessor :requested
702
-
703
- def initialize(requested: nil)
704
- @requested = requested
705
- end
706
- end
707
-
708
609
  class SwishPayments < Stripe::RequestParams
709
610
  # 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.
710
611
  attr_accessor :requested
@@ -750,33 +651,6 @@ module Stripe
750
651
  end
751
652
  end
752
653
 
753
- class TreasuryEvolve < Stripe::RequestParams
754
- # 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.
755
- attr_accessor :requested
756
-
757
- def initialize(requested: nil)
758
- @requested = requested
759
- end
760
- end
761
-
762
- class TreasuryFifthThird < Stripe::RequestParams
763
- # 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.
764
- attr_accessor :requested
765
-
766
- def initialize(requested: nil)
767
- @requested = requested
768
- end
769
- end
770
-
771
- class TreasuryGoldmanSachs < Stripe::RequestParams
772
- # 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.
773
- attr_accessor :requested
774
-
775
- def initialize(requested: nil)
776
- @requested = requested
777
- end
778
- end
779
-
780
654
  class TwintPayments < Stripe::RequestParams
781
655
  # 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.
782
656
  attr_accessor :requested
@@ -824,8 +698,6 @@ module Stripe
824
698
  attr_accessor :amazon_pay_payments
825
699
  # The au_becs_debit_payments capability.
826
700
  attr_accessor :au_becs_debit_payments
827
- # The automatic_indirect_tax capability.
828
- attr_accessor :automatic_indirect_tax
829
701
  # The bacs_debit_payments capability.
830
702
  attr_accessor :bacs_debit_payments
831
703
  # The bancontact_payments capability.
@@ -854,14 +726,8 @@ module Stripe
854
726
  attr_accessor :gb_bank_transfer_payments
855
727
  # The giropay_payments capability.
856
728
  attr_accessor :giropay_payments
857
- # The gopay_payments capability.
858
- attr_accessor :gopay_payments
859
729
  # The grabpay_payments capability.
860
730
  attr_accessor :grabpay_payments
861
- # The id_bank_transfer_payments capability.
862
- attr_accessor :id_bank_transfer_payments
863
- # The id_bank_transfer_payments_bca capability.
864
- attr_accessor :id_bank_transfer_payments_bca
865
731
  # The ideal_payments capability.
866
732
  attr_accessor :ideal_payments
867
733
  # The india_international_payments capability.
@@ -882,8 +748,6 @@ module Stripe
882
748
  attr_accessor :legacy_payments
883
749
  # The link_payments capability.
884
750
  attr_accessor :link_payments
885
- # The mb_way_payments capability.
886
- attr_accessor :mb_way_payments
887
751
  # The mobilepay_payments capability.
888
752
  attr_accessor :mobilepay_payments
889
753
  # The multibanco_payments capability.
@@ -904,16 +768,8 @@ module Stripe
904
768
  attr_accessor :payco_payments
905
769
  # The paynow_payments capability.
906
770
  attr_accessor :paynow_payments
907
- # The paypal_payments capability.
908
- attr_accessor :paypal_payments
909
- # The payto_payments capability.
910
- attr_accessor :payto_payments
911
771
  # The promptpay_payments capability.
912
772
  attr_accessor :promptpay_payments
913
- # The qris_payments capability.
914
- attr_accessor :qris_payments
915
- # The rechnung_payments capability.
916
- attr_accessor :rechnung_payments
917
773
  # The revolut_pay_payments capability.
918
774
  attr_accessor :revolut_pay_payments
919
775
  # The samsung_pay_payments capability.
@@ -924,12 +780,8 @@ module Stripe
924
780
  attr_accessor :sepa_bank_transfer_payments
925
781
  # The sepa_debit_payments capability.
926
782
  attr_accessor :sepa_debit_payments
927
- # The shopeepay_payments capability.
928
- attr_accessor :shopeepay_payments
929
783
  # The sofort_payments capability.
930
784
  attr_accessor :sofort_payments
931
- # The stripe_balance_payments capability.
932
- attr_accessor :stripe_balance_payments
933
785
  # The swish_payments capability.
934
786
  attr_accessor :swish_payments
935
787
  # The tax_reporting_us_1099_k capability.
@@ -940,12 +792,6 @@ module Stripe
940
792
  attr_accessor :transfers
941
793
  # The treasury capability.
942
794
  attr_accessor :treasury
943
- # The treasury_evolve capability.
944
- attr_accessor :treasury_evolve
945
- # The treasury_fifth_third capability.
946
- attr_accessor :treasury_fifth_third
947
- # The treasury_goldman_sachs capability.
948
- attr_accessor :treasury_goldman_sachs
949
795
  # The twint_payments capability.
950
796
  attr_accessor :twint_payments
951
797
  # The us_bank_account_ach_payments capability.
@@ -962,7 +808,6 @@ module Stripe
962
808
  alma_payments: nil,
963
809
  amazon_pay_payments: nil,
964
810
  au_becs_debit_payments: nil,
965
- automatic_indirect_tax: nil,
966
811
  bacs_debit_payments: nil,
967
812
  bancontact_payments: nil,
968
813
  bank_transfer_payments: nil,
@@ -977,10 +822,7 @@ module Stripe
977
822
  fpx_payments: nil,
978
823
  gb_bank_transfer_payments: nil,
979
824
  giropay_payments: nil,
980
- gopay_payments: nil,
981
825
  grabpay_payments: nil,
982
- id_bank_transfer_payments: nil,
983
- id_bank_transfer_payments_bca: nil,
984
826
  ideal_payments: nil,
985
827
  india_international_payments: nil,
986
828
  jcb_payments: nil,
@@ -991,7 +833,6 @@ module Stripe
991
833
  kr_card_payments: nil,
992
834
  legacy_payments: nil,
993
835
  link_payments: nil,
994
- mb_way_payments: nil,
995
836
  mobilepay_payments: nil,
996
837
  multibanco_payments: nil,
997
838
  mx_bank_transfer_payments: nil,
@@ -1002,27 +843,18 @@ module Stripe
1002
843
  pay_by_bank_payments: nil,
1003
844
  payco_payments: nil,
1004
845
  paynow_payments: nil,
1005
- paypal_payments: nil,
1006
- payto_payments: nil,
1007
846
  promptpay_payments: nil,
1008
- qris_payments: nil,
1009
- rechnung_payments: nil,
1010
847
  revolut_pay_payments: nil,
1011
848
  samsung_pay_payments: nil,
1012
849
  satispay_payments: nil,
1013
850
  sepa_bank_transfer_payments: nil,
1014
851
  sepa_debit_payments: nil,
1015
- shopeepay_payments: nil,
1016
852
  sofort_payments: nil,
1017
- stripe_balance_payments: nil,
1018
853
  swish_payments: nil,
1019
854
  tax_reporting_us_1099_k: nil,
1020
855
  tax_reporting_us_1099_misc: nil,
1021
856
  transfers: nil,
1022
857
  treasury: nil,
1023
- treasury_evolve: nil,
1024
- treasury_fifth_third: nil,
1025
- treasury_goldman_sachs: nil,
1026
858
  twint_payments: nil,
1027
859
  us_bank_account_ach_payments: nil,
1028
860
  us_bank_transfer_payments: nil,
@@ -1034,7 +866,6 @@ module Stripe
1034
866
  @alma_payments = alma_payments
1035
867
  @amazon_pay_payments = amazon_pay_payments
1036
868
  @au_becs_debit_payments = au_becs_debit_payments
1037
- @automatic_indirect_tax = automatic_indirect_tax
1038
869
  @bacs_debit_payments = bacs_debit_payments
1039
870
  @bancontact_payments = bancontact_payments
1040
871
  @bank_transfer_payments = bank_transfer_payments
@@ -1049,10 +880,7 @@ module Stripe
1049
880
  @fpx_payments = fpx_payments
1050
881
  @gb_bank_transfer_payments = gb_bank_transfer_payments
1051
882
  @giropay_payments = giropay_payments
1052
- @gopay_payments = gopay_payments
1053
883
  @grabpay_payments = grabpay_payments
1054
- @id_bank_transfer_payments = id_bank_transfer_payments
1055
- @id_bank_transfer_payments_bca = id_bank_transfer_payments_bca
1056
884
  @ideal_payments = ideal_payments
1057
885
  @india_international_payments = india_international_payments
1058
886
  @jcb_payments = jcb_payments
@@ -1063,7 +891,6 @@ module Stripe
1063
891
  @kr_card_payments = kr_card_payments
1064
892
  @legacy_payments = legacy_payments
1065
893
  @link_payments = link_payments
1066
- @mb_way_payments = mb_way_payments
1067
894
  @mobilepay_payments = mobilepay_payments
1068
895
  @multibanco_payments = multibanco_payments
1069
896
  @mx_bank_transfer_payments = mx_bank_transfer_payments
@@ -1074,27 +901,18 @@ module Stripe
1074
901
  @pay_by_bank_payments = pay_by_bank_payments
1075
902
  @payco_payments = payco_payments
1076
903
  @paynow_payments = paynow_payments
1077
- @paypal_payments = paypal_payments
1078
- @payto_payments = payto_payments
1079
904
  @promptpay_payments = promptpay_payments
1080
- @qris_payments = qris_payments
1081
- @rechnung_payments = rechnung_payments
1082
905
  @revolut_pay_payments = revolut_pay_payments
1083
906
  @samsung_pay_payments = samsung_pay_payments
1084
907
  @satispay_payments = satispay_payments
1085
908
  @sepa_bank_transfer_payments = sepa_bank_transfer_payments
1086
909
  @sepa_debit_payments = sepa_debit_payments
1087
- @shopeepay_payments = shopeepay_payments
1088
910
  @sofort_payments = sofort_payments
1089
- @stripe_balance_payments = stripe_balance_payments
1090
911
  @swish_payments = swish_payments
1091
912
  @tax_reporting_us_1099_k = tax_reporting_us_1099_k
1092
913
  @tax_reporting_us_1099_misc = tax_reporting_us_1099_misc
1093
914
  @transfers = transfers
1094
915
  @treasury = treasury
1095
- @treasury_evolve = treasury_evolve
1096
- @treasury_fifth_third = treasury_fifth_third
1097
- @treasury_goldman_sachs = treasury_goldman_sachs
1098
916
  @twint_payments = twint_payments
1099
917
  @us_bank_account_ach_payments = us_bank_account_ach_payments
1100
918
  @us_bank_transfer_payments = us_bank_transfer_payments
@@ -1870,37 +1688,6 @@ module Stripe
1870
1688
  end
1871
1689
  end
1872
1690
 
1873
- class RiskControls < Stripe::RequestParams
1874
- class Charges < Stripe::RequestParams
1875
- # To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
1876
- # There can be a delay before the risk control is paused or unpaused.
1877
- attr_accessor :pause_requested
1878
-
1879
- def initialize(pause_requested: nil)
1880
- @pause_requested = pause_requested
1881
- end
1882
- end
1883
-
1884
- class Payouts < Stripe::RequestParams
1885
- # To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
1886
- # There can be a delay before the risk control is paused or unpaused.
1887
- attr_accessor :pause_requested
1888
-
1889
- def initialize(pause_requested: nil)
1890
- @pause_requested = pause_requested
1891
- end
1892
- end
1893
- # 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).
1894
- attr_accessor :charges
1895
- # 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).
1896
- attr_accessor :payouts
1897
-
1898
- def initialize(charges: nil, payouts: nil)
1899
- @charges = charges
1900
- @payouts = payouts
1901
- end
1902
- end
1903
-
1904
1691
  class Settings < Stripe::RequestParams
1905
1692
  class BacsDebitPayments < Stripe::RequestParams
1906
1693
  # 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.
@@ -1911,18 +1698,6 @@ module Stripe
1911
1698
  end
1912
1699
  end
1913
1700
 
1914
- class BankBcaOnboarding < Stripe::RequestParams
1915
- # Bank BCA business account holder name
1916
- attr_accessor :account_holder_name
1917
- # Bank BCA business account number
1918
- attr_accessor :business_account_number
1919
-
1920
- def initialize(account_holder_name: nil, business_account_number: nil)
1921
- @account_holder_name = account_holder_name
1922
- @business_account_number = business_account_number
1923
- end
1924
- end
1925
-
1926
1701
  class Branding < Stripe::RequestParams
1927
1702
  # (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.
1928
1703
  attr_accessor :icon
@@ -1941,18 +1716,6 @@ module Stripe
1941
1716
  end
1942
1717
  end
1943
1718
 
1944
- class Capital < Stripe::RequestParams
1945
- # Per-currency mapping of user-selected destination accounts used to pay out loans.
1946
- attr_accessor :payout_destination
1947
- # Per-currency mapping of all destination accounts eligible to receive Capital financing payouts.
1948
- attr_accessor :payout_destination_selector
1949
-
1950
- def initialize(payout_destination: nil, payout_destination_selector: nil)
1951
- @payout_destination = payout_destination
1952
- @payout_destination_selector = payout_destination_selector
1953
- end
1954
- end
1955
-
1956
1719
  class CardIssuing < Stripe::RequestParams
1957
1720
  class TosAcceptance < Stripe::RequestParams
1958
1721
  # The Unix timestamp marking when the account representative accepted the service agreement.
@@ -2073,15 +1836,6 @@ module Stripe
2073
1836
  end
2074
1837
  end
2075
1838
 
2076
- class TaxForms < Stripe::RequestParams
2077
- # Whether the account opted out of receiving their tax forms by postal delivery.
2078
- attr_accessor :consented_to_paperless_delivery
2079
-
2080
- def initialize(consented_to_paperless_delivery: nil)
2081
- @consented_to_paperless_delivery = consented_to_paperless_delivery
2082
- end
2083
- end
2084
-
2085
1839
  class Treasury < Stripe::RequestParams
2086
1840
  class TosAcceptance < Stripe::RequestParams
2087
1841
  # The Unix timestamp marking when the account representative accepted the service agreement.
@@ -2106,12 +1860,8 @@ module Stripe
2106
1860
  end
2107
1861
  # Settings specific to Bacs Direct Debit payments.
2108
1862
  attr_accessor :bacs_debit_payments
2109
- # Settings specific to bank BCA onboarding for Indonesia bank transfers payments method.
2110
- attr_accessor :bank_bca_onboarding
2111
1863
  # Settings used to apply the account's branding to email receipts, invoices, Checkout, and other products.
2112
1864
  attr_accessor :branding
2113
- # Settings specific to the account's use of the Capital product.
2114
- attr_accessor :capital
2115
1865
  # Settings specific to the account's use of the Card Issuing product.
2116
1866
  attr_accessor :card_issuing
2117
1867
  # Settings specific to card charging on the account.
@@ -2122,34 +1872,26 @@ module Stripe
2122
1872
  attr_accessor :payments
2123
1873
  # Settings specific to the account's payouts.
2124
1874
  attr_accessor :payouts
2125
- # Settings specific to the account's tax forms.
2126
- attr_accessor :tax_forms
2127
1875
  # Settings specific to the account's Treasury FinancialAccounts.
2128
1876
  attr_accessor :treasury
2129
1877
 
2130
1878
  def initialize(
2131
1879
  bacs_debit_payments: nil,
2132
- bank_bca_onboarding: nil,
2133
1880
  branding: nil,
2134
- capital: nil,
2135
1881
  card_issuing: nil,
2136
1882
  card_payments: nil,
2137
1883
  invoices: nil,
2138
1884
  payments: nil,
2139
1885
  payouts: nil,
2140
- tax_forms: nil,
2141
1886
  treasury: nil
2142
1887
  )
2143
1888
  @bacs_debit_payments = bacs_debit_payments
2144
- @bank_bca_onboarding = bank_bca_onboarding
2145
1889
  @branding = branding
2146
- @capital = capital
2147
1890
  @card_issuing = card_issuing
2148
1891
  @card_payments = card_payments
2149
1892
  @invoices = invoices
2150
1893
  @payments = payments
2151
1894
  @payouts = payouts
2152
- @tax_forms = tax_forms
2153
1895
  @treasury = treasury
2154
1896
  end
2155
1897
  end
@@ -2204,8 +1946,6 @@ module Stripe
2204
1946
  attr_accessor :individual
2205
1947
  # 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`.
2206
1948
  attr_accessor :metadata
2207
- # A hash to configure risk controls on the account. Please see [this page for more details](/connect/pausing-payments-or-payouts-on-connected-accounts).
2208
- attr_accessor :risk_controls
2209
1949
  # Options for customizing how the account functions within Stripe.
2210
1950
  attr_accessor :settings
2211
1951
  # 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.
@@ -2225,7 +1965,6 @@ module Stripe
2225
1965
  groups: nil,
2226
1966
  individual: nil,
2227
1967
  metadata: nil,
2228
- risk_controls: nil,
2229
1968
  settings: nil,
2230
1969
  tos_acceptance: nil
2231
1970
  )
@@ -2242,7 +1981,6 @@ module Stripe
2242
1981
  @groups = groups
2243
1982
  @individual = individual
2244
1983
  @metadata = metadata
2245
- @risk_controls = risk_controls
2246
1984
  @settings = settings
2247
1985
  @tos_acceptance = tos_acceptance
2248
1986
  end
@@ -2309,7 +2047,7 @@ module Stripe
2309
2047
  attr_accessor :country
2310
2048
  # The currency the bank account is in. This must be a country/currency pairing that [Stripe supports.](docs/payouts)
2311
2049
  attr_accessor :currency
2312
- # 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.
2050
+ # 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.
2313
2051
  attr_accessor :routing_number
2314
2052
 
2315
2053
  def initialize(
@@ -2498,15 +2236,6 @@ module Stripe
2498
2236
  end
2499
2237
  end
2500
2238
 
2501
- class AutomaticIndirectTax < Stripe::RequestParams
2502
- # 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.
2503
- attr_accessor :requested
2504
-
2505
- def initialize(requested: nil)
2506
- @requested = requested
2507
- end
2508
- end
2509
-
2510
2239
  class BacsDebitPayments < Stripe::RequestParams
2511
2240
  # 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.
2512
2241
  attr_accessor :requested
@@ -2633,15 +2362,6 @@ module Stripe
2633
2362
  end
2634
2363
  end
2635
2364
 
2636
- class GopayPayments < Stripe::RequestParams
2637
- # 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.
2638
- attr_accessor :requested
2639
-
2640
- def initialize(requested: nil)
2641
- @requested = requested
2642
- end
2643
- end
2644
-
2645
2365
  class GrabpayPayments < Stripe::RequestParams
2646
2366
  # 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.
2647
2367
  attr_accessor :requested
@@ -2651,24 +2371,6 @@ module Stripe
2651
2371
  end
2652
2372
  end
2653
2373
 
2654
- class IdBankTransferPayments < Stripe::RequestParams
2655
- # 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.
2656
- attr_accessor :requested
2657
-
2658
- def initialize(requested: nil)
2659
- @requested = requested
2660
- end
2661
- end
2662
-
2663
- class IdBankTransferPaymentsBca < Stripe::RequestParams
2664
- # 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.
2665
- attr_accessor :requested
2666
-
2667
- def initialize(requested: nil)
2668
- @requested = requested
2669
- end
2670
- end
2671
-
2672
2374
  class IdealPayments < Stripe::RequestParams
2673
2375
  # 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.
2674
2376
  attr_accessor :requested
@@ -2759,15 +2461,6 @@ module Stripe
2759
2461
  end
2760
2462
  end
2761
2463
 
2762
- class MbWayPayments < Stripe::RequestParams
2763
- # 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.
2764
- attr_accessor :requested
2765
-
2766
- def initialize(requested: nil)
2767
- @requested = requested
2768
- end
2769
- end
2770
-
2771
2464
  class MobilepayPayments < Stripe::RequestParams
2772
2465
  # 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.
2773
2466
  attr_accessor :requested
@@ -2858,24 +2551,6 @@ module Stripe
2858
2551
  end
2859
2552
  end
2860
2553
 
2861
- class PaypalPayments < Stripe::RequestParams
2862
- # 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.
2863
- attr_accessor :requested
2864
-
2865
- def initialize(requested: nil)
2866
- @requested = requested
2867
- end
2868
- end
2869
-
2870
- class PaytoPayments < Stripe::RequestParams
2871
- # 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.
2872
- attr_accessor :requested
2873
-
2874
- def initialize(requested: nil)
2875
- @requested = requested
2876
- end
2877
- end
2878
-
2879
2554
  class PromptpayPayments < Stripe::RequestParams
2880
2555
  # 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.
2881
2556
  attr_accessor :requested
@@ -2885,24 +2560,6 @@ module Stripe
2885
2560
  end
2886
2561
  end
2887
2562
 
2888
- class QrisPayments < Stripe::RequestParams
2889
- # 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.
2890
- attr_accessor :requested
2891
-
2892
- def initialize(requested: nil)
2893
- @requested = requested
2894
- end
2895
- end
2896
-
2897
- class RechnungPayments < Stripe::RequestParams
2898
- # 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.
2899
- attr_accessor :requested
2900
-
2901
- def initialize(requested: nil)
2902
- @requested = requested
2903
- end
2904
- end
2905
-
2906
2563
  class RevolutPayPayments < Stripe::RequestParams
2907
2564
  # 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.
2908
2565
  attr_accessor :requested
@@ -2948,15 +2605,6 @@ module Stripe
2948
2605
  end
2949
2606
  end
2950
2607
 
2951
- class ShopeepayPayments < Stripe::RequestParams
2952
- # 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.
2953
- attr_accessor :requested
2954
-
2955
- def initialize(requested: nil)
2956
- @requested = requested
2957
- end
2958
- end
2959
-
2960
2608
  class SofortPayments < Stripe::RequestParams
2961
2609
  # 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.
2962
2610
  attr_accessor :requested
@@ -2966,15 +2614,6 @@ module Stripe
2966
2614
  end
2967
2615
  end
2968
2616
 
2969
- class StripeBalancePayments < Stripe::RequestParams
2970
- # 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.
2971
- attr_accessor :requested
2972
-
2973
- def initialize(requested: nil)
2974
- @requested = requested
2975
- end
2976
- end
2977
-
2978
2617
  class SwishPayments < Stripe::RequestParams
2979
2618
  # 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.
2980
2619
  attr_accessor :requested
@@ -3020,33 +2659,6 @@ module Stripe
3020
2659
  end
3021
2660
  end
3022
2661
 
3023
- class TreasuryEvolve < Stripe::RequestParams
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.
3025
- attr_accessor :requested
3026
-
3027
- def initialize(requested: nil)
3028
- @requested = requested
3029
- end
3030
- end
3031
-
3032
- class TreasuryFifthThird < Stripe::RequestParams
3033
- # 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.
3034
- attr_accessor :requested
3035
-
3036
- def initialize(requested: nil)
3037
- @requested = requested
3038
- end
3039
- end
3040
-
3041
- class TreasuryGoldmanSachs < Stripe::RequestParams
3042
- # 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.
3043
- attr_accessor :requested
3044
-
3045
- def initialize(requested: nil)
3046
- @requested = requested
3047
- end
3048
- end
3049
-
3050
2662
  class TwintPayments < Stripe::RequestParams
3051
2663
  # 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.
3052
2664
  attr_accessor :requested
@@ -3094,8 +2706,6 @@ module Stripe
3094
2706
  attr_accessor :amazon_pay_payments
3095
2707
  # The au_becs_debit_payments capability.
3096
2708
  attr_accessor :au_becs_debit_payments
3097
- # The automatic_indirect_tax capability.
3098
- attr_accessor :automatic_indirect_tax
3099
2709
  # The bacs_debit_payments capability.
3100
2710
  attr_accessor :bacs_debit_payments
3101
2711
  # The bancontact_payments capability.
@@ -3124,14 +2734,8 @@ module Stripe
3124
2734
  attr_accessor :gb_bank_transfer_payments
3125
2735
  # The giropay_payments capability.
3126
2736
  attr_accessor :giropay_payments
3127
- # The gopay_payments capability.
3128
- attr_accessor :gopay_payments
3129
2737
  # The grabpay_payments capability.
3130
2738
  attr_accessor :grabpay_payments
3131
- # The id_bank_transfer_payments capability.
3132
- attr_accessor :id_bank_transfer_payments
3133
- # The id_bank_transfer_payments_bca capability.
3134
- attr_accessor :id_bank_transfer_payments_bca
3135
2739
  # The ideal_payments capability.
3136
2740
  attr_accessor :ideal_payments
3137
2741
  # The india_international_payments capability.
@@ -3152,8 +2756,6 @@ module Stripe
3152
2756
  attr_accessor :legacy_payments
3153
2757
  # The link_payments capability.
3154
2758
  attr_accessor :link_payments
3155
- # The mb_way_payments capability.
3156
- attr_accessor :mb_way_payments
3157
2759
  # The mobilepay_payments capability.
3158
2760
  attr_accessor :mobilepay_payments
3159
2761
  # The multibanco_payments capability.
@@ -3174,16 +2776,8 @@ module Stripe
3174
2776
  attr_accessor :payco_payments
3175
2777
  # The paynow_payments capability.
3176
2778
  attr_accessor :paynow_payments
3177
- # The paypal_payments capability.
3178
- attr_accessor :paypal_payments
3179
- # The payto_payments capability.
3180
- attr_accessor :payto_payments
3181
2779
  # The promptpay_payments capability.
3182
2780
  attr_accessor :promptpay_payments
3183
- # The qris_payments capability.
3184
- attr_accessor :qris_payments
3185
- # The rechnung_payments capability.
3186
- attr_accessor :rechnung_payments
3187
2781
  # The revolut_pay_payments capability.
3188
2782
  attr_accessor :revolut_pay_payments
3189
2783
  # The samsung_pay_payments capability.
@@ -3194,12 +2788,8 @@ module Stripe
3194
2788
  attr_accessor :sepa_bank_transfer_payments
3195
2789
  # The sepa_debit_payments capability.
3196
2790
  attr_accessor :sepa_debit_payments
3197
- # The shopeepay_payments capability.
3198
- attr_accessor :shopeepay_payments
3199
2791
  # The sofort_payments capability.
3200
2792
  attr_accessor :sofort_payments
3201
- # The stripe_balance_payments capability.
3202
- attr_accessor :stripe_balance_payments
3203
2793
  # The swish_payments capability.
3204
2794
  attr_accessor :swish_payments
3205
2795
  # The tax_reporting_us_1099_k capability.
@@ -3210,12 +2800,6 @@ module Stripe
3210
2800
  attr_accessor :transfers
3211
2801
  # The treasury capability.
3212
2802
  attr_accessor :treasury
3213
- # The treasury_evolve capability.
3214
- attr_accessor :treasury_evolve
3215
- # The treasury_fifth_third capability.
3216
- attr_accessor :treasury_fifth_third
3217
- # The treasury_goldman_sachs capability.
3218
- attr_accessor :treasury_goldman_sachs
3219
2803
  # The twint_payments capability.
3220
2804
  attr_accessor :twint_payments
3221
2805
  # The us_bank_account_ach_payments capability.
@@ -3232,7 +2816,6 @@ module Stripe
3232
2816
  alma_payments: nil,
3233
2817
  amazon_pay_payments: nil,
3234
2818
  au_becs_debit_payments: nil,
3235
- automatic_indirect_tax: nil,
3236
2819
  bacs_debit_payments: nil,
3237
2820
  bancontact_payments: nil,
3238
2821
  bank_transfer_payments: nil,
@@ -3247,10 +2830,7 @@ module Stripe
3247
2830
  fpx_payments: nil,
3248
2831
  gb_bank_transfer_payments: nil,
3249
2832
  giropay_payments: nil,
3250
- gopay_payments: nil,
3251
2833
  grabpay_payments: nil,
3252
- id_bank_transfer_payments: nil,
3253
- id_bank_transfer_payments_bca: nil,
3254
2834
  ideal_payments: nil,
3255
2835
  india_international_payments: nil,
3256
2836
  jcb_payments: nil,
@@ -3261,7 +2841,6 @@ module Stripe
3261
2841
  kr_card_payments: nil,
3262
2842
  legacy_payments: nil,
3263
2843
  link_payments: nil,
3264
- mb_way_payments: nil,
3265
2844
  mobilepay_payments: nil,
3266
2845
  multibanco_payments: nil,
3267
2846
  mx_bank_transfer_payments: nil,
@@ -3272,27 +2851,18 @@ module Stripe
3272
2851
  pay_by_bank_payments: nil,
3273
2852
  payco_payments: nil,
3274
2853
  paynow_payments: nil,
3275
- paypal_payments: nil,
3276
- payto_payments: nil,
3277
2854
  promptpay_payments: nil,
3278
- qris_payments: nil,
3279
- rechnung_payments: nil,
3280
2855
  revolut_pay_payments: nil,
3281
2856
  samsung_pay_payments: nil,
3282
2857
  satispay_payments: nil,
3283
2858
  sepa_bank_transfer_payments: nil,
3284
2859
  sepa_debit_payments: nil,
3285
- shopeepay_payments: nil,
3286
2860
  sofort_payments: nil,
3287
- stripe_balance_payments: nil,
3288
2861
  swish_payments: nil,
3289
2862
  tax_reporting_us_1099_k: nil,
3290
2863
  tax_reporting_us_1099_misc: nil,
3291
2864
  transfers: nil,
3292
2865
  treasury: nil,
3293
- treasury_evolve: nil,
3294
- treasury_fifth_third: nil,
3295
- treasury_goldman_sachs: nil,
3296
2866
  twint_payments: nil,
3297
2867
  us_bank_account_ach_payments: nil,
3298
2868
  us_bank_transfer_payments: nil,
@@ -3304,7 +2874,6 @@ module Stripe
3304
2874
  @alma_payments = alma_payments
3305
2875
  @amazon_pay_payments = amazon_pay_payments
3306
2876
  @au_becs_debit_payments = au_becs_debit_payments
3307
- @automatic_indirect_tax = automatic_indirect_tax
3308
2877
  @bacs_debit_payments = bacs_debit_payments
3309
2878
  @bancontact_payments = bancontact_payments
3310
2879
  @bank_transfer_payments = bank_transfer_payments
@@ -3319,10 +2888,7 @@ module Stripe
3319
2888
  @fpx_payments = fpx_payments
3320
2889
  @gb_bank_transfer_payments = gb_bank_transfer_payments
3321
2890
  @giropay_payments = giropay_payments
3322
- @gopay_payments = gopay_payments
3323
2891
  @grabpay_payments = grabpay_payments
3324
- @id_bank_transfer_payments = id_bank_transfer_payments
3325
- @id_bank_transfer_payments_bca = id_bank_transfer_payments_bca
3326
2892
  @ideal_payments = ideal_payments
3327
2893
  @india_international_payments = india_international_payments
3328
2894
  @jcb_payments = jcb_payments
@@ -3333,7 +2899,6 @@ module Stripe
3333
2899
  @kr_card_payments = kr_card_payments
3334
2900
  @legacy_payments = legacy_payments
3335
2901
  @link_payments = link_payments
3336
- @mb_way_payments = mb_way_payments
3337
2902
  @mobilepay_payments = mobilepay_payments
3338
2903
  @multibanco_payments = multibanco_payments
3339
2904
  @mx_bank_transfer_payments = mx_bank_transfer_payments
@@ -3344,27 +2909,18 @@ module Stripe
3344
2909
  @pay_by_bank_payments = pay_by_bank_payments
3345
2910
  @payco_payments = payco_payments
3346
2911
  @paynow_payments = paynow_payments
3347
- @paypal_payments = paypal_payments
3348
- @payto_payments = payto_payments
3349
2912
  @promptpay_payments = promptpay_payments
3350
- @qris_payments = qris_payments
3351
- @rechnung_payments = rechnung_payments
3352
2913
  @revolut_pay_payments = revolut_pay_payments
3353
2914
  @samsung_pay_payments = samsung_pay_payments
3354
2915
  @satispay_payments = satispay_payments
3355
2916
  @sepa_bank_transfer_payments = sepa_bank_transfer_payments
3356
2917
  @sepa_debit_payments = sepa_debit_payments
3357
- @shopeepay_payments = shopeepay_payments
3358
2918
  @sofort_payments = sofort_payments
3359
- @stripe_balance_payments = stripe_balance_payments
3360
2919
  @swish_payments = swish_payments
3361
2920
  @tax_reporting_us_1099_k = tax_reporting_us_1099_k
3362
2921
  @tax_reporting_us_1099_misc = tax_reporting_us_1099_misc
3363
2922
  @transfers = transfers
3364
2923
  @treasury = treasury
3365
- @treasury_evolve = treasury_evolve
3366
- @treasury_fifth_third = treasury_fifth_third
3367
- @treasury_goldman_sachs = treasury_goldman_sachs
3368
2924
  @twint_payments = twint_payments
3369
2925
  @us_bank_account_ach_payments = us_bank_account_ach_payments
3370
2926
  @us_bank_transfer_payments = us_bank_transfer_payments
@@ -3715,30 +3271,6 @@ module Stripe
3715
3271
  end
3716
3272
 
3717
3273
  class Controller < Stripe::RequestParams
3718
- class Application < Stripe::RequestParams
3719
- # Whether the controller is liable for losses on this account. For details, see [Understanding Connect Account Balances](https://stripe.com/docs/connect/account-balances).
3720
- attr_accessor :loss_liable
3721
- # Whether the controller owns onboarding for this account.
3722
- attr_accessor :onboarding_owner
3723
- # Whether the controller has pricing controls for this account.
3724
- attr_accessor :pricing_controls
3725
-
3726
- def initialize(loss_liable: nil, onboarding_owner: nil, pricing_controls: nil)
3727
- @loss_liable = loss_liable
3728
- @onboarding_owner = onboarding_owner
3729
- @pricing_controls = pricing_controls
3730
- end
3731
- end
3732
-
3733
- class Dashboard < Stripe::RequestParams
3734
- # 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`.
3735
- attr_accessor :type
3736
-
3737
- def initialize(type: nil)
3738
- @type = type
3739
- end
3740
- end
3741
-
3742
3274
  class Fees < Stripe::RequestParams
3743
3275
  # 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).
3744
3276
  attr_accessor :payer
@@ -3765,10 +3297,6 @@ module Stripe
3765
3297
  @type = type
3766
3298
  end
3767
3299
  end
3768
- # A hash of configuration describing the Connect application that controls the account.
3769
- attr_accessor :application
3770
- # Properties of the account's dashboard.
3771
- attr_accessor :dashboard
3772
3300
  # A hash of configuration for who pays Stripe fees for product usage on this account.
3773
3301
  attr_accessor :fees
3774
3302
  # A hash of configuration for products that have negative balance liability, and whether Stripe or a Connect application is responsible for them.
@@ -3778,16 +3306,7 @@ module Stripe
3778
3306
  # A hash of configuration for Stripe-hosted dashboards.
3779
3307
  attr_accessor :stripe_dashboard
3780
3308
 
3781
- def initialize(
3782
- application: nil,
3783
- dashboard: nil,
3784
- fees: nil,
3785
- losses: nil,
3786
- requirement_collection: nil,
3787
- stripe_dashboard: nil
3788
- )
3789
- @application = application
3790
- @dashboard = dashboard
3309
+ def initialize(fees: nil, losses: nil, requirement_collection: nil, stripe_dashboard: nil)
3791
3310
  @fees = fees
3792
3311
  @losses = losses
3793
3312
  @requirement_collection = requirement_collection
@@ -4221,37 +3740,6 @@ module Stripe
4221
3740
  end
4222
3741
  end
4223
3742
 
4224
- class RiskControls < Stripe::RequestParams
4225
- class Charges < Stripe::RequestParams
4226
- # To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
4227
- # There can be a delay before the risk control is paused or unpaused.
4228
- attr_accessor :pause_requested
4229
-
4230
- def initialize(pause_requested: nil)
4231
- @pause_requested = pause_requested
4232
- end
4233
- end
4234
-
4235
- class Payouts < Stripe::RequestParams
4236
- # To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
4237
- # There can be a delay before the risk control is paused or unpaused.
4238
- attr_accessor :pause_requested
4239
-
4240
- def initialize(pause_requested: nil)
4241
- @pause_requested = pause_requested
4242
- end
4243
- end
4244
- # 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).
4245
- attr_accessor :charges
4246
- # 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).
4247
- attr_accessor :payouts
4248
-
4249
- def initialize(charges: nil, payouts: nil)
4250
- @charges = charges
4251
- @payouts = payouts
4252
- end
4253
- end
4254
-
4255
3743
  class Settings < Stripe::RequestParams
4256
3744
  class BacsDebitPayments < Stripe::RequestParams
4257
3745
  # 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.
@@ -4262,18 +3750,6 @@ module Stripe
4262
3750
  end
4263
3751
  end
4264
3752
 
4265
- class BankBcaOnboarding < Stripe::RequestParams
4266
- # Bank BCA business account holder name
4267
- attr_accessor :account_holder_name
4268
- # Bank BCA business account number
4269
- attr_accessor :business_account_number
4270
-
4271
- def initialize(account_holder_name: nil, business_account_number: nil)
4272
- @account_holder_name = account_holder_name
4273
- @business_account_number = business_account_number
4274
- end
4275
- end
4276
-
4277
3753
  class Branding < Stripe::RequestParams
4278
3754
  # (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.
4279
3755
  attr_accessor :icon
@@ -4292,18 +3768,6 @@ module Stripe
4292
3768
  end
4293
3769
  end
4294
3770
 
4295
- class Capital < Stripe::RequestParams
4296
- # Per-currency mapping of user-selected destination accounts used to pay out loans.
4297
- attr_accessor :payout_destination
4298
- # Per-currency mapping of all destination accounts eligible to receive Capital financing payouts.
4299
- attr_accessor :payout_destination_selector
4300
-
4301
- def initialize(payout_destination: nil, payout_destination_selector: nil)
4302
- @payout_destination = payout_destination
4303
- @payout_destination_selector = payout_destination_selector
4304
- end
4305
- end
4306
-
4307
3771
  class CardIssuing < Stripe::RequestParams
4308
3772
  class TosAcceptance < Stripe::RequestParams
4309
3773
  # The Unix timestamp marking when the account representative accepted the service agreement.
@@ -4421,15 +3885,6 @@ module Stripe
4421
3885
  end
4422
3886
  end
4423
3887
 
4424
- class TaxForms < Stripe::RequestParams
4425
- # Whether the account opted out of receiving their tax forms by postal delivery.
4426
- attr_accessor :consented_to_paperless_delivery
4427
-
4428
- def initialize(consented_to_paperless_delivery: nil)
4429
- @consented_to_paperless_delivery = consented_to_paperless_delivery
4430
- end
4431
- end
4432
-
4433
3888
  class Treasury < Stripe::RequestParams
4434
3889
  class TosAcceptance < Stripe::RequestParams
4435
3890
  # The Unix timestamp marking when the account representative accepted the service agreement.
@@ -4454,12 +3909,8 @@ module Stripe
4454
3909
  end
4455
3910
  # Settings specific to Bacs Direct Debit.
4456
3911
  attr_accessor :bacs_debit_payments
4457
- # Settings specific to bank BCA onboarding for Indonesia bank transfers payments method.
4458
- attr_accessor :bank_bca_onboarding
4459
3912
  # Settings used to apply the account's branding to email receipts, invoices, Checkout, and other products.
4460
3913
  attr_accessor :branding
4461
- # Settings specific to the account's use of the Capital product.
4462
- attr_accessor :capital
4463
3914
  # Settings specific to the account's use of the Card Issuing product.
4464
3915
  attr_accessor :card_issuing
4465
3916
  # Settings specific to card charging on the account.
@@ -4470,34 +3921,26 @@ module Stripe
4470
3921
  attr_accessor :payments
4471
3922
  # Settings specific to the account's payouts.
4472
3923
  attr_accessor :payouts
4473
- # Settings specific to the account's tax forms.
4474
- attr_accessor :tax_forms
4475
3924
  # Settings specific to the account's Treasury FinancialAccounts.
4476
3925
  attr_accessor :treasury
4477
3926
 
4478
3927
  def initialize(
4479
3928
  bacs_debit_payments: nil,
4480
- bank_bca_onboarding: nil,
4481
3929
  branding: nil,
4482
- capital: nil,
4483
3930
  card_issuing: nil,
4484
3931
  card_payments: nil,
4485
3932
  invoices: nil,
4486
3933
  payments: nil,
4487
3934
  payouts: nil,
4488
- tax_forms: nil,
4489
3935
  treasury: nil
4490
3936
  )
4491
3937
  @bacs_debit_payments = bacs_debit_payments
4492
- @bank_bca_onboarding = bank_bca_onboarding
4493
3938
  @branding = branding
4494
- @capital = capital
4495
3939
  @card_issuing = card_issuing
4496
3940
  @card_payments = card_payments
4497
3941
  @invoices = invoices
4498
3942
  @payments = payments
4499
3943
  @payouts = payouts
4500
- @tax_forms = tax_forms
4501
3944
  @treasury = treasury
4502
3945
  end
4503
3946
  end
@@ -4556,8 +3999,6 @@ module Stripe
4556
3999
  attr_accessor :individual
4557
4000
  # 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`.
4558
4001
  attr_accessor :metadata
4559
- # A hash to configure risk controls on the account. Please see [this page for more details](/connect/pausing-payments-or-payouts-on-connected-accounts).
4560
- attr_accessor :risk_controls
4561
4002
  # Options for customizing how the account functions within Stripe.
4562
4003
  attr_accessor :settings
4563
4004
  # 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.
@@ -4581,7 +4022,6 @@ module Stripe
4581
4022
  groups: nil,
4582
4023
  individual: nil,
4583
4024
  metadata: nil,
4584
- risk_controls: nil,
4585
4025
  settings: nil,
4586
4026
  tos_acceptance: nil,
4587
4027
  type: nil
@@ -4601,7 +4041,6 @@ module Stripe
4601
4041
  @groups = groups
4602
4042
  @individual = individual
4603
4043
  @metadata = metadata
4604
- @risk_controls = risk_controls
4605
4044
  @settings = settings
4606
4045
  @tos_acceptance = tos_acceptance
4607
4046
  @type = type