stripe 15.3.0.pre.beta.1 → 15.3.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 (600) hide show
  1. checksums.yaml +4 -4
  2. data/API_VERSION +1 -0
  3. data/CHANGELOG.md +683 -1581
  4. data/OPENAPI_VERSION +1 -1
  5. data/README.md +14 -50
  6. data/VERSION +1 -1
  7. data/lib/stripe/api_requestor.rb +0 -28
  8. data/lib/stripe/api_version.rb +2 -1
  9. data/lib/stripe/errors.rb +0 -54
  10. data/lib/stripe/event_types.rb +0 -98
  11. data/lib/stripe/events/v2_core_event_destination_ping_event.rb +1 -1
  12. data/lib/stripe/object_types.rb +0 -50
  13. data/lib/stripe/resources/account.rb +82 -650
  14. data/lib/stripe/resources/account_session.rb +80 -335
  15. data/lib/stripe/resources/billing/credit_balance_summary.rb +0 -2
  16. data/lib/stripe/resources/billing/credit_balance_transaction.rb +0 -4
  17. data/lib/stripe/resources/billing/credit_grant.rb +0 -10
  18. data/lib/stripe/resources/billing_portal/session.rb +2 -8
  19. data/lib/stripe/resources/card.rb +0 -2
  20. data/lib/stripe/resources/cash_balance.rb +0 -2
  21. data/lib/stripe/resources/charge.rb +28 -1553
  22. data/lib/stripe/resources/checkout/session.rb +55 -333
  23. data/lib/stripe/resources/confirmation_token.rb +19 -181
  24. data/lib/stripe/resources/coupon.rb +1 -30
  25. data/lib/stripe/resources/credit_note.rb +9 -15
  26. data/lib/stripe/resources/credit_note_line_item.rb +0 -9
  27. data/lib/stripe/resources/customer.rb +0 -2
  28. data/lib/stripe/resources/customer_balance_transaction.rb +0 -2
  29. data/lib/stripe/resources/customer_cash_balance_transaction.rb +0 -2
  30. data/lib/stripe/resources/customer_session.rb +3 -8
  31. data/lib/stripe/resources/discount.rb +0 -2
  32. data/lib/stripe/resources/event.rb +1 -32
  33. data/lib/stripe/resources/financial_connections/account.rb +1 -22
  34. data/lib/stripe/resources/financial_connections/session.rb +2 -62
  35. data/lib/stripe/resources/identity/verification_session.rb +34 -10
  36. data/lib/stripe/resources/invoice.rb +33 -1062
  37. data/lib/stripe/resources/invoice_item.rb +3 -82
  38. data/lib/stripe/resources/invoice_line_item.rb +1 -55
  39. data/lib/stripe/resources/invoice_payment.rb +53 -2
  40. data/lib/stripe/resources/issuing/cardholder.rb +1 -2
  41. data/lib/stripe/resources/issuing/transaction.rb +0 -6
  42. data/lib/stripe/resources/line_item.rb +0 -37
  43. data/lib/stripe/resources/mandate.rb +3 -24
  44. data/lib/stripe/resources/payment_intent.rb +875 -5512
  45. data/lib/stripe/resources/payment_method.rb +18 -201
  46. data/lib/stripe/resources/payment_method_configuration.rb +0 -295
  47. data/lib/stripe/resources/payout.rb +0 -6
  48. data/lib/stripe/resources/price.rb +0 -30
  49. data/lib/stripe/resources/promotion_code.rb +0 -10
  50. data/lib/stripe/resources/quote.rb +16 -2033
  51. data/lib/stripe/resources/refund.rb +0 -9
  52. data/lib/stripe/resources/setup_attempt.rb +1 -22
  53. data/lib/stripe/resources/setup_intent.rb +294 -581
  54. data/lib/stripe/resources/source.rb +0 -29
  55. data/lib/stripe/resources/subscription.rb +36 -298
  56. data/lib/stripe/resources/subscription_item.rb +3 -84
  57. data/lib/stripe/resources/subscription_schedule.rb +27 -1008
  58. data/lib/stripe/resources/tax/registration.rb +20 -0
  59. data/lib/stripe/resources/tax_id.rb +2 -12
  60. data/lib/stripe/resources/terminal/configuration.rb +1 -0
  61. data/lib/stripe/resources/terminal/reader.rb +10 -18
  62. data/lib/stripe/resources/token.rb +1 -1
  63. data/lib/stripe/resources/transfer.rb +0 -6
  64. data/lib/stripe/resources/treasury/financial_account.rb +8 -23
  65. data/lib/stripe/resources/treasury/financial_account_features.rb +0 -2
  66. data/lib/stripe/resources/treasury/outbound_transfer.rb +0 -37
  67. data/lib/stripe/resources/treasury/received_credit.rb +1 -38
  68. data/lib/stripe/resources/treasury/received_debit.rb +1 -40
  69. data/lib/stripe/resources.rb +0 -104
  70. data/lib/stripe/services/account_service.rb +76 -559
  71. data/lib/stripe/services/account_session_service.rb +49 -274
  72. data/lib/stripe/services/billing/credit_balance_summary_service.rb +1 -4
  73. data/lib/stripe/services/billing/credit_balance_transaction_service.rb +0 -4
  74. data/lib/stripe/services/billing/credit_grant_service.rb +0 -8
  75. data/lib/stripe/services/billing_portal/session_service.rb +1 -5
  76. data/lib/stripe/services/charge_service.rb +0 -1418
  77. data/lib/stripe/services/checkout/session_service.rb +55 -250
  78. data/lib/stripe/services/coupon_service.rb +1 -17
  79. data/lib/stripe/services/credit_note_preview_lines_service.rb +3 -3
  80. data/lib/stripe/services/credit_note_service.rb +6 -10
  81. data/lib/stripe/services/customer_session_service.rb +2 -5
  82. data/lib/stripe/services/financial_connections/account_service.rb +2 -7
  83. data/lib/stripe/services/financial_connections/session_service.rb +2 -34
  84. data/lib/stripe/services/financial_connections_service.rb +1 -2
  85. data/lib/stripe/services/identity/verification_session_service.rb +16 -8
  86. data/lib/stripe/services/invoice_item_service.rb +2 -74
  87. data/lib/stripe/services/invoice_line_item_service.rb +1 -33
  88. data/lib/stripe/services/invoice_payment_service.rb +83 -0
  89. data/lib/stripe/services/invoice_service.rb +33 -1013
  90. data/lib/stripe/services/issuing/cardholder_service.rb +1 -2
  91. data/lib/stripe/services/issuing/transaction_service.rb +0 -4
  92. data/lib/stripe/services/issuing_service.rb +1 -5
  93. data/lib/stripe/services/payment_intent_service.rb +650 -4832
  94. data/lib/stripe/services/payment_method_configuration_service.rb +0 -210
  95. data/lib/stripe/services/payment_method_service.rb +6 -120
  96. data/lib/stripe/services/payout_service.rb +0 -4
  97. data/lib/stripe/services/price_service.rb +0 -19
  98. data/lib/stripe/services/promotion_code_service.rb +0 -8
  99. data/lib/stripe/services/quote_service.rb +13 -1719
  100. data/lib/stripe/services/setup_intent_service.rb +284 -540
  101. data/lib/stripe/services/subscription_item_service.rb +3 -75
  102. data/lib/stripe/services/subscription_schedule_service.rb +19 -911
  103. data/lib/stripe/services/subscription_service.rb +30 -253
  104. data/lib/stripe/services/tax/registration_service.rb +13 -0
  105. data/lib/stripe/services/tax_id_service.rb +2 -8
  106. data/lib/stripe/services/tax_service.rb +1 -3
  107. data/lib/stripe/services/terminal/reader_service.rb +4 -4
  108. data/lib/stripe/services/terminal_service.rb +1 -2
  109. data/lib/stripe/services/test_helpers/confirmation_token_service.rb +6 -98
  110. data/lib/stripe/services/test_helpers/treasury/received_credit_service.rb +1 -25
  111. data/lib/stripe/services/test_helpers/treasury/received_debit_service.rb +1 -25
  112. data/lib/stripe/services/token_service.rb +1 -1
  113. data/lib/stripe/services/transfer_service.rb +0 -4
  114. data/lib/stripe/services/treasury/financial_account_features_service.rb +1 -4
  115. data/lib/stripe/services/treasury/financial_account_service.rb +7 -17
  116. data/lib/stripe/services/treasury/outbound_transfer_service.rb +0 -24
  117. data/lib/stripe/services/v1_services.rb +2 -11
  118. data/lib/stripe/services/v2/billing_service.rb +2 -2
  119. data/lib/stripe/services/v2/core/event_destination_service.rb +16 -16
  120. data/lib/stripe/services/v2/core_service.rb +1 -4
  121. data/lib/stripe/services/v2_services.rb +2 -5
  122. data/lib/stripe/services.rb +1 -53
  123. data/lib/stripe/stripe_configuration.rb +1 -3
  124. data/lib/stripe/stripe_object.rb +1 -1
  125. data/lib/stripe/util.rb +1 -7
  126. data/lib/stripe/version.rb +1 -1
  127. data/lib/stripe/webhook.rb +1 -1
  128. data/lib/stripe.rb +0 -53
  129. data/rbi/stripe/resources/account.rbi +4995 -0
  130. data/rbi/stripe/resources/account_link.rbi +74 -0
  131. data/rbi/stripe/resources/account_session.rbi +1013 -0
  132. data/rbi/stripe/resources/apple_pay_domain.rbi +88 -0
  133. data/rbi/stripe/resources/application.rbi +20 -0
  134. data/rbi/stripe/resources/application_fee.rbi +118 -0
  135. data/rbi/stripe/resources/application_fee_refund.rbi +37 -0
  136. data/rbi/stripe/resources/apps/secret.rbi +195 -0
  137. data/rbi/stripe/resources/balance.rbi +235 -0
  138. data/rbi/stripe/resources/balance_transaction.rbi +147 -0
  139. data/rbi/stripe/resources/bank_account.rbi +127 -0
  140. data/rbi/stripe/resources/billing/alert.rbi +201 -0
  141. data/rbi/stripe/resources/billing/alert_triggered.rbi +28 -0
  142. data/rbi/stripe/resources/billing/credit_balance_summary.rbi +63 -0
  143. data/rbi/stripe/resources/billing/credit_balance_transaction.rbi +147 -0
  144. data/rbi/stripe/resources/billing/credit_grant.rbi +291 -0
  145. data/rbi/stripe/resources/billing/meter.rbi +226 -0
  146. data/rbi/stripe/resources/billing/meter_event.rbi +64 -0
  147. data/rbi/stripe/resources/billing/meter_event_adjustment.rbi +64 -0
  148. data/rbi/stripe/resources/billing/meter_event_summary.rbi +35 -0
  149. data/rbi/stripe/resources/billing_portal/configuration.rbi +645 -0
  150. data/rbi/stripe/resources/billing_portal/session.rbi +345 -0
  151. data/rbi/stripe/resources/capability.rbi +125 -0
  152. data/rbi/stripe/resources/card.rbi +125 -0
  153. data/rbi/stripe/resources/cash_balance.rbi +32 -0
  154. data/rbi/stripe/resources/charge.rbi +2086 -0
  155. data/rbi/stripe/resources/checkout/session.rbi +4060 -0
  156. data/rbi/stripe/resources/climate/order.rbi +245 -0
  157. data/rbi/stripe/resources/climate/product.rbi +75 -0
  158. data/rbi/stripe/resources/climate/supplier.rbi +72 -0
  159. data/rbi/stripe/resources/confirmation_token.rbi +1818 -0
  160. data/rbi/stripe/resources/connect_collection_transfer.rbi +26 -0
  161. data/rbi/stripe/resources/country_spec.rbi +85 -0
  162. data/rbi/stripe/resources/coupon.rbi +250 -0
  163. data/rbi/stripe/resources/credit_note.rbi +752 -0
  164. data/rbi/stripe/resources/credit_note_line_item.rbi +101 -0
  165. data/rbi/stripe/resources/customer.rbi +1005 -0
  166. data/rbi/stripe/resources/customer_balance_transaction.rbi +56 -0
  167. data/rbi/stripe/resources/customer_cash_balance_transaction.rbi +151 -0
  168. data/rbi/stripe/resources/customer_session.rbi +200 -0
  169. data/rbi/stripe/resources/discount.rbi +53 -0
  170. data/rbi/stripe/resources/dispute.rbi +761 -0
  171. data/rbi/stripe/resources/entitlements/active_entitlement.rbi +58 -0
  172. data/rbi/stripe/resources/entitlements/active_entitlement_summary.rbi +23 -0
  173. data/rbi/stripe/resources/entitlements/feature.rbi +117 -0
  174. data/rbi/stripe/resources/ephemeral_key.rbi +44 -0
  175. data/rbi/stripe/resources/event.rbi +149 -0
  176. data/rbi/stripe/resources/exchange_rate.rbi +66 -0
  177. data/rbi/stripe/resources/file.rbi +143 -0
  178. data/rbi/stripe/resources/file_link.rbi +141 -0
  179. data/rbi/stripe/resources/financial_connections/account.rbi +339 -0
  180. data/rbi/stripe/resources/financial_connections/account_owner.rbi +35 -0
  181. data/rbi/stripe/resources/financial_connections/account_ownership.rbi +23 -0
  182. data/rbi/stripe/resources/financial_connections/session.rbi +123 -0
  183. data/rbi/stripe/resources/financial_connections/transaction.rbi +124 -0
  184. data/rbi/stripe/resources/forwarding/request.rbi +216 -0
  185. data/rbi/stripe/resources/funding_instructions.rbi +437 -0
  186. data/rbi/stripe/resources/identity/verification_report.rbi +360 -0
  187. data/rbi/stripe/resources/identity/verification_session.rbi +564 -0
  188. data/rbi/stripe/resources/invoice.rbi +3842 -0
  189. data/rbi/stripe/resources/invoice_item.rbi +470 -0
  190. data/rbi/stripe/resources/invoice_line_item.rbi +432 -0
  191. data/rbi/stripe/resources/invoice_payment.rbi +121 -0
  192. data/rbi/stripe/resources/invoice_rendering_template.rbi +104 -0
  193. data/rbi/stripe/resources/issuing/authorization.rbi +1283 -0
  194. data/rbi/stripe/resources/issuing/card.rbi +741 -0
  195. data/rbi/stripe/resources/issuing/cardholder.rbi +744 -0
  196. data/rbi/stripe/resources/issuing/dispute.rbi +913 -0
  197. data/rbi/stripe/resources/issuing/personalization_design.rbi +338 -0
  198. data/rbi/stripe/resources/issuing/physical_bundle.rbi +79 -0
  199. data/rbi/stripe/resources/issuing/token.rbi +226 -0
  200. data/rbi/stripe/resources/issuing/transaction.rbi +1061 -0
  201. data/rbi/stripe/resources/line_item.rbi +72 -0
  202. data/rbi/stripe/resources/login_link.rbi +19 -0
  203. data/rbi/stripe/resources/mandate.rbi +191 -0
  204. data/rbi/stripe/resources/payment_intent.rbi +9987 -0
  205. data/rbi/stripe/resources/payment_link.rbi +1801 -0
  206. data/rbi/stripe/resources/payment_method.rbi +1770 -0
  207. data/rbi/stripe/resources/payment_method_configuration.rbi +3550 -0
  208. data/rbi/stripe/resources/payment_method_domain.rbi +228 -0
  209. data/rbi/stripe/resources/payout.rbi +300 -0
  210. data/rbi/stripe/resources/person.rbi +401 -0
  211. data/rbi/stripe/resources/plan.rbi +371 -0
  212. data/rbi/stripe/resources/price.rbi +694 -0
  213. data/rbi/stripe/resources/product.rbi +555 -0
  214. data/rbi/stripe/resources/product_feature.rbi +26 -0
  215. data/rbi/stripe/resources/promotion_code.rbi +261 -0
  216. data/rbi/stripe/resources/quote.rbi +1145 -0
  217. data/rbi/stripe/resources/radar/early_fraud_warning.rbi +98 -0
  218. data/rbi/stripe/resources/radar/value_list.rbi +168 -0
  219. data/rbi/stripe/resources/radar/value_list_item.rbi +129 -0
  220. data/rbi/stripe/resources/refund.rbi +523 -0
  221. data/rbi/stripe/resources/reporting/report_run.rbi +191 -0
  222. data/rbi/stripe/resources/reporting/report_type.rbi +57 -0
  223. data/rbi/stripe/resources/reserve_transaction.rbi +23 -0
  224. data/rbi/stripe/resources/reversal.rbi +51 -0
  225. data/rbi/stripe/resources/review.rbi +154 -0
  226. data/rbi/stripe/resources/setup_attempt.rbi +477 -0
  227. data/rbi/stripe/resources/setup_intent.rbi +3978 -0
  228. data/rbi/stripe/resources/shipping_rate.rbi +305 -0
  229. data/rbi/stripe/resources/sigma/scheduled_query_run.rbi +75 -0
  230. data/rbi/stripe/resources/source.rbi +1496 -0
  231. data/rbi/stripe/resources/source_mandate_notification.rbi +77 -0
  232. data/rbi/stripe/resources/source_transaction.rbi +127 -0
  233. data/rbi/stripe/resources/subscription.rbi +2080 -0
  234. data/rbi/stripe/resources/subscription_item.rbi +404 -0
  235. data/rbi/stripe/resources/subscription_schedule.rbi +1645 -0
  236. data/rbi/stripe/resources/tax/calculation.rbi +478 -0
  237. data/rbi/stripe/resources/tax/calculation_line_item.rbi +91 -0
  238. data/rbi/stripe/resources/tax/registration.rbi +2732 -0
  239. data/rbi/stripe/resources/tax/settings.rbi +141 -0
  240. data/rbi/stripe/resources/tax/transaction.rbi +351 -0
  241. data/rbi/stripe/resources/tax/transaction_line_item.rbi +54 -0
  242. data/rbi/stripe/resources/tax_code.rbi +44 -0
  243. data/rbi/stripe/resources/tax_deducted_at_source.rbi +23 -0
  244. data/rbi/stripe/resources/tax_id.rbi +165 -0
  245. data/rbi/stripe/resources/tax_rate.rbi +239 -0
  246. data/rbi/stripe/resources/terminal/configuration.rbi +1387 -0
  247. data/rbi/stripe/resources/terminal/connection_token.rbi +37 -0
  248. data/rbi/stripe/resources/terminal/location.rbi +222 -0
  249. data/rbi/stripe/resources/terminal/reader.rbi +994 -0
  250. data/rbi/stripe/resources/test_helpers/test_clock.rbi +132 -0
  251. data/rbi/stripe/resources/token.rbi +1283 -0
  252. data/rbi/stripe/resources/topup.rbi +222 -0
  253. data/rbi/stripe/resources/transfer.rbi +199 -0
  254. data/rbi/stripe/resources/treasury/credit_reversal.rbi +119 -0
  255. data/rbi/stripe/resources/treasury/debit_reversal.rbi +131 -0
  256. data/rbi/stripe/resources/treasury/financial_account.rbi +869 -0
  257. data/rbi/stripe/resources/treasury/financial_account_features.rbi +260 -0
  258. data/rbi/stripe/resources/treasury/inbound_transfer.rbi +295 -0
  259. data/rbi/stripe/resources/treasury/outbound_payment.rbi +592 -0
  260. data/rbi/stripe/resources/treasury/outbound_transfer.rbi +431 -0
  261. data/rbi/stripe/resources/treasury/received_credit.rbi +302 -0
  262. data/rbi/stripe/resources/treasury/received_debit.rbi +256 -0
  263. data/rbi/stripe/resources/treasury/transaction.rbi +215 -0
  264. data/rbi/stripe/resources/treasury/transaction_entry.rbi +192 -0
  265. data/rbi/stripe/resources/v2/amount.rbi +14 -0
  266. data/rbi/stripe/resources/v2/billing/meter_event.rbi +37 -0
  267. data/rbi/stripe/resources/v2/billing/meter_event_adjustment.rbi +41 -0
  268. data/rbi/stripe/resources/v2/billing/meter_event_session.rbi +31 -0
  269. data/rbi/stripe/resources/v2/event.rbi +48 -0
  270. data/rbi/stripe/resources/v2/event_destination.rbi +91 -0
  271. data/rbi/stripe/resources/webhook_endpoint.rbi +168 -0
  272. data/rbi/stripe/services/account_capability_service.rbi +51 -0
  273. data/{lib/stripe/services/external_account_service.rb → rbi/stripe/services/account_external_account_service.rbi} +122 -135
  274. data/rbi/stripe/services/account_link_service.rbi +58 -0
  275. data/rbi/stripe/services/account_login_link_service.rbi +22 -0
  276. data/rbi/stripe/services/account_person_service.rbi +1011 -0
  277. data/rbi/stripe/services/account_service.rbi +4281 -0
  278. data/rbi/stripe/services/account_session_service.rbi +646 -0
  279. data/rbi/stripe/services/apple_pay_domain_service.rbi +76 -0
  280. data/rbi/stripe/services/application_fee_refund_service.rbi +93 -0
  281. data/rbi/stripe/services/application_fee_service.rbi +78 -0
  282. data/rbi/stripe/services/apps/secret_service.rbi +151 -0
  283. data/rbi/stripe/services/apps_service.rbi +9 -0
  284. data/rbi/stripe/services/balance_service.rbi +21 -0
  285. data/rbi/stripe/services/balance_transaction_service.rbi +93 -0
  286. data/rbi/stripe/services/billing/alert_service.rbi +152 -0
  287. data/rbi/stripe/services/billing/credit_balance_summary_service.rbi +68 -0
  288. data/rbi/stripe/services/billing/credit_balance_transaction_service.rbi +59 -0
  289. data/rbi/stripe/services/billing/credit_grant_service.rbi +211 -0
  290. data/rbi/stripe/services/billing/meter_event_adjustment_service.rbi +42 -0
  291. data/rbi/stripe/services/billing/meter_event_service.rbi +42 -0
  292. data/rbi/stripe/services/billing/meter_event_summary_service.rbi +54 -0
  293. data/rbi/stripe/services/billing/meter_service.rbi +163 -0
  294. data/rbi/stripe/services/billing_portal/configuration_service.rbi +511 -0
  295. data/rbi/stripe/services/billing_portal/session_service.rbi +204 -0
  296. data/rbi/stripe/services/billing_portal_service.rbi +10 -0
  297. data/rbi/stripe/services/billing_service.rbi +15 -0
  298. data/rbi/stripe/services/charge_service.rbi +448 -0
  299. data/rbi/stripe/services/checkout/session_line_item_service.rbi +33 -0
  300. data/rbi/stripe/services/checkout/session_service.rbi +2670 -0
  301. data/rbi/stripe/services/checkout_service.rbi +9 -0
  302. data/rbi/stripe/services/climate/order_service.rbi +142 -0
  303. data/rbi/stripe/services/climate/product_service.rbi +46 -0
  304. data/{lib/stripe/services/financial_connections/institution_service.rb → rbi/stripe/services/climate/supplier_service.rbi} +25 -36
  305. data/rbi/stripe/services/climate_service.rbi +11 -0
  306. data/rbi/stripe/services/confirmation_token_service.rbi +20 -0
  307. data/rbi/stripe/services/country_spec_service.rbi +44 -0
  308. data/rbi/stripe/services/coupon_service.rbi +194 -0
  309. data/{lib/stripe/services/quote_preview_invoice_service.rb → rbi/stripe/services/credit_note_line_item_service.rbi} +16 -20
  310. data/rbi/stripe/services/credit_note_preview_lines_service.rbi +167 -0
  311. data/rbi/stripe/services/credit_note_service.rbi +415 -0
  312. data/rbi/stripe/services/customer_balance_transaction_service.rbi +92 -0
  313. data/rbi/stripe/services/customer_cash_balance_service.rbi +45 -0
  314. data/rbi/stripe/services/customer_cash_balance_transaction_service.rbi +44 -0
  315. data/rbi/stripe/services/customer_funding_instructions_service.rbi +59 -0
  316. data/rbi/stripe/services/customer_payment_method_service.rbi +57 -0
  317. data/rbi/stripe/services/customer_payment_source_service.rbi +232 -0
  318. data/rbi/stripe/services/customer_service.rbi +647 -0
  319. data/rbi/stripe/services/customer_session_service.rbi +116 -0
  320. data/rbi/stripe/services/customer_tax_id_service.rbi +70 -0
  321. data/rbi/stripe/services/dispute_service.rbi +424 -0
  322. data/rbi/stripe/services/entitlements/active_entitlement_service.rbi +55 -0
  323. data/rbi/stripe/services/entitlements/feature_service.rbi +107 -0
  324. data/rbi/stripe/services/entitlements_service.rbi +10 -0
  325. data/rbi/stripe/services/ephemeral_key_service.rbi +53 -0
  326. data/rbi/stripe/services/event_service.rbi +83 -0
  327. data/rbi/stripe/services/exchange_rate_service.rbi +44 -0
  328. data/rbi/stripe/services/file_link_service.rbi +124 -0
  329. data/rbi/stripe/services/file_service.rbi +116 -0
  330. data/rbi/stripe/services/financial_connections/account_owner_service.rbi +42 -0
  331. data/rbi/stripe/services/financial_connections/account_service.rbi +133 -0
  332. data/rbi/stripe/services/financial_connections/session_service.rbi +88 -0
  333. data/rbi/stripe/services/financial_connections/transaction_service.rbi +92 -0
  334. data/rbi/stripe/services/financial_connections_service.rbi +11 -0
  335. data/rbi/stripe/services/forwarding/request_service.rbi +134 -0
  336. data/rbi/stripe/services/forwarding_service.rbi +9 -0
  337. data/rbi/stripe/services/identity/verification_report_service.rbi +87 -0
  338. data/rbi/stripe/services/identity/verification_session_service.rbi +339 -0
  339. data/rbi/stripe/services/identity_service.rbi +10 -0
  340. data/rbi/stripe/services/invoice_item_service.rbi +366 -0
  341. data/rbi/stripe/services/invoice_line_item_service.rbi +259 -0
  342. data/rbi/stripe/services/invoice_payment_service.rbi +71 -0
  343. data/rbi/stripe/services/invoice_rendering_template_service.rbi +82 -0
  344. data/rbi/stripe/services/invoice_service.rbi +3011 -0
  345. data/rbi/stripe/services/issuing/authorization_service.rbi +146 -0
  346. data/rbi/stripe/services/issuing/card_service.rbi +495 -0
  347. data/rbi/stripe/services/issuing/cardholder_service.rbi +587 -0
  348. data/rbi/stripe/services/issuing/dispute_service.rbi +707 -0
  349. data/rbi/stripe/services/issuing/personalization_design_service.rbi +243 -0
  350. data/rbi/stripe/services/issuing/physical_bundle_service.rbi +59 -0
  351. data/rbi/stripe/services/issuing/token_service.rbi +99 -0
  352. data/rbi/stripe/services/issuing/transaction_service.rbi +105 -0
  353. data/rbi/stripe/services/issuing_service.rbi +16 -0
  354. data/rbi/stripe/services/mandate_service.rbi +20 -0
  355. data/rbi/stripe/services/payment_intent_service.rbi +7989 -0
  356. data/{lib/stripe/services/payment_intent_amount_details_line_item_service.rb → rbi/stripe/services/payment_link_line_item_service.rbi} +16 -20
  357. data/rbi/stripe/services/payment_link_service.rbi +1352 -0
  358. data/rbi/stripe/services/payment_method_configuration_service.rbi +2487 -0
  359. data/rbi/stripe/services/payment_method_domain_service.rbi +112 -0
  360. data/rbi/stripe/services/payment_method_service.rbi +781 -0
  361. data/rbi/stripe/services/payout_service.rbi +205 -0
  362. data/rbi/stripe/services/plan_service.rbi +282 -0
  363. data/rbi/stripe/services/price_service.rbi +546 -0
  364. data/rbi/stripe/services/product_feature_service.rbi +67 -0
  365. data/rbi/stripe/services/product_service.rbi +477 -0
  366. data/rbi/stripe/services/promotion_code_service.rbi +214 -0
  367. data/rbi/stripe/services/quote_computed_upfront_line_items_service.rbi +31 -0
  368. data/{lib/stripe/services/order_line_item_service.rb → rbi/stripe/services/quote_line_item_service.rbi} +16 -20
  369. data/rbi/stripe/services/quote_service.rbi +699 -0
  370. data/rbi/stripe/services/radar/early_fraud_warning_service.rbi +85 -0
  371. data/rbi/stripe/services/radar/value_list_item_service.rbi +109 -0
  372. data/rbi/stripe/services/radar/value_list_service.rbi +141 -0
  373. data/rbi/stripe/services/radar_service.rbi +11 -0
  374. data/rbi/stripe/services/refund_service.rbi +185 -0
  375. data/rbi/stripe/services/reporting/report_run_service.rbi +135 -0
  376. data/rbi/stripe/services/reporting/report_type_service.rbi +35 -0
  377. data/rbi/stripe/services/reporting_service.rbi +10 -0
  378. data/rbi/stripe/services/review_service.rbi +84 -0
  379. data/rbi/stripe/services/setup_attempt_service.rbi +65 -0
  380. data/rbi/stripe/services/setup_intent_service.rbi +3709 -0
  381. data/rbi/stripe/services/shipping_rate_service.rbi +241 -0
  382. data/rbi/stripe/services/sigma/scheduled_query_run_service.rbi +46 -0
  383. data/rbi/stripe/services/sigma_service.rbi +9 -0
  384. data/rbi/stripe/services/source_service.rbi +663 -0
  385. data/{lib/stripe/services/quote_line_service.rb → rbi/stripe/services/source_transaction_service.rbi} +16 -20
  386. data/rbi/stripe/services/subscription_item_service.rbi +350 -0
  387. data/rbi/stripe/services/subscription_schedule_service.rbi +1301 -0
  388. data/rbi/stripe/services/subscription_service.rbi +1684 -0
  389. data/{lib/stripe/services/financial_connections/account_inferred_balance_service.rb → rbi/stripe/services/tax/calculation_line_item_service.rbi} +17 -21
  390. data/rbi/stripe/services/tax/calculation_service.rbi +234 -0
  391. data/rbi/stripe/services/tax/registration_service.rbi +1858 -0
  392. data/rbi/stripe/services/tax/settings_service.rbi +93 -0
  393. data/{lib/stripe/services/privacy/redaction_job_validation_error_service.rb → rbi/stripe/services/tax/transaction_line_item_service.rbi} +17 -21
  394. data/rbi/stripe/services/tax/transaction_service.rbi +146 -0
  395. data/rbi/stripe/services/tax_code_service.rbi +44 -0
  396. data/rbi/stripe/services/tax_id_service.rbi +110 -0
  397. data/rbi/stripe/services/tax_rate_service.rbi +185 -0
  398. data/rbi/stripe/services/tax_service.rbi +12 -0
  399. data/rbi/stripe/services/terminal/configuration_service.rbi +1118 -0
  400. data/rbi/stripe/services/terminal/connection_token_service.rbi +25 -0
  401. data/rbi/stripe/services/terminal/location_service.rbi +182 -0
  402. data/rbi/stripe/services/terminal/reader_service.rbi +540 -0
  403. data/rbi/stripe/services/terminal_service.rbi +12 -0
  404. data/rbi/stripe/services/test_helpers/confirmation_token_service.rbi +746 -0
  405. data/rbi/stripe/services/test_helpers/customer_service.rbi +33 -0
  406. data/rbi/stripe/services/test_helpers/issuing/authorization_service.rbi +848 -0
  407. data/rbi/stripe/services/test_helpers/issuing/card_service.rbi +76 -0
  408. data/rbi/stripe/services/test_helpers/issuing/personalization_design_service.rbi +69 -0
  409. data/rbi/stripe/services/test_helpers/issuing/transaction_service.rbi +711 -0
  410. data/rbi/stripe/services/test_helpers/issuing_service.rbi +14 -0
  411. data/rbi/stripe/services/test_helpers/refund_service.rbi +22 -0
  412. data/rbi/stripe/services/test_helpers/terminal/reader_service.rbi +93 -0
  413. data/rbi/stripe/services/test_helpers/terminal_service.rbi +11 -0
  414. data/rbi/stripe/services/test_helpers/test_clock_service.rbi +90 -0
  415. data/rbi/stripe/services/test_helpers/treasury/inbound_transfer_service.rbi +64 -0
  416. data/rbi/stripe/services/test_helpers/treasury/outbound_payment_service.rbi +125 -0
  417. data/rbi/stripe/services/test_helpers/treasury/outbound_transfer_service.rbi +125 -0
  418. data/rbi/stripe/services/test_helpers/treasury/received_credit_service.rbi +87 -0
  419. data/rbi/stripe/services/test_helpers/treasury/received_debit_service.rbi +87 -0
  420. data/rbi/stripe/services/test_helpers/treasury_service.rbi +15 -0
  421. data/rbi/stripe/services/test_helpers_service.rbi +15 -0
  422. data/rbi/stripe/services/token_service.rbi +1257 -0
  423. data/rbi/stripe/services/topup_service.rbi +176 -0
  424. data/rbi/stripe/services/transfer_reversal_service.rbi +101 -0
  425. data/rbi/stripe/services/transfer_service.rbi +152 -0
  426. data/rbi/stripe/services/treasury/credit_reversal_service.rbi +84 -0
  427. data/rbi/stripe/services/treasury/debit_reversal_service.rbi +88 -0
  428. data/rbi/stripe/services/treasury/financial_account_features_service.rbi +198 -0
  429. data/rbi/stripe/services/treasury/financial_account_service.rbi +566 -0
  430. data/rbi/stripe/services/treasury/inbound_transfer_service.rbi +117 -0
  431. data/rbi/stripe/services/treasury/outbound_payment_service.rbi +304 -0
  432. data/rbi/stripe/services/treasury/outbound_transfer_service.rbi +157 -0
  433. data/rbi/stripe/services/treasury/received_credit_service.rbi +72 -0
  434. data/rbi/stripe/services/treasury/received_debit_service.rbi +59 -0
  435. data/rbi/stripe/services/treasury/transaction_entry_service.rbi +111 -0
  436. data/rbi/stripe/services/treasury/transaction_service.rbi +122 -0
  437. data/rbi/stripe/services/treasury_service.rbi +18 -0
  438. data/rbi/stripe/services/v1_services.rbi +77 -0
  439. data/rbi/stripe/services/v2/billing/meter_event_adjustment_service.rbi +39 -0
  440. data/rbi/stripe/services/v2/billing/meter_event_service.rbi +42 -0
  441. data/rbi/stripe/services/v2/billing/meter_event_session_service.rbi +18 -0
  442. data/rbi/stripe/services/v2/billing/meter_event_stream_service.rbi +55 -0
  443. data/rbi/stripe/services/v2/billing_service.rbi +14 -0
  444. data/rbi/stripe/services/v2/core/event_destination_service.rbi +192 -0
  445. data/rbi/stripe/services/v2/core/event_service.rbi +36 -0
  446. data/rbi/stripe/services/v2/core_service.rbi +12 -0
  447. data/rbi/stripe/services/v2_services.rbi +10 -0
  448. data/rbi/stripe/services/webhook_endpoint_service.rbi +129 -0
  449. data/stripe.gemspec +1 -4
  450. metadata +326 -162
  451. data/lib/stripe/events/v2_core_account_closed_event.rb +0 -21
  452. data/lib/stripe/events/v2_core_account_created_event.rb +0 -21
  453. data/lib/stripe/events/v2_core_account_including_configuration_customer_capability_status_updated_event.rb +0 -23
  454. data/lib/stripe/events/v2_core_account_including_configuration_customer_updated_event.rb +0 -21
  455. data/lib/stripe/events/v2_core_account_including_configuration_merchant_capability_status_updated_event.rb +0 -23
  456. data/lib/stripe/events/v2_core_account_including_configuration_merchant_updated_event.rb +0 -21
  457. data/lib/stripe/events/v2_core_account_including_configuration_recipient_capability_status_updated_event.rb +0 -23
  458. data/lib/stripe/events/v2_core_account_including_configuration_recipient_updated_event.rb +0 -21
  459. data/lib/stripe/events/v2_core_account_including_defaults_updated_event.rb +0 -21
  460. data/lib/stripe/events/v2_core_account_including_identity_updated_event.rb +0 -21
  461. data/lib/stripe/events/v2_core_account_including_requirements_updated_event.rb +0 -21
  462. data/lib/stripe/events/v2_core_account_link_completed_event.rb +0 -13
  463. data/lib/stripe/events/v2_core_account_person_created_event.rb +0 -23
  464. data/lib/stripe/events/v2_core_account_person_deleted_event.rb +0 -23
  465. data/lib/stripe/events/v2_core_account_person_updated_event.rb +0 -23
  466. data/lib/stripe/events/v2_core_account_updated_event.rb +0 -21
  467. data/lib/stripe/events/v2_money_management_adjustment_created_event.rb +0 -21
  468. data/lib/stripe/events/v2_money_management_financial_account_created_event.rb +0 -21
  469. data/lib/stripe/events/v2_money_management_financial_account_updated_event.rb +0 -21
  470. data/lib/stripe/events/v2_money_management_financial_address_activated_event.rb +0 -21
  471. data/lib/stripe/events/v2_money_management_financial_address_failed_event.rb +0 -21
  472. data/lib/stripe/events/v2_money_management_inbound_transfer_available_event.rb +0 -23
  473. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_failed_event.rb +0 -21
  474. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_processing_event.rb +0 -21
  475. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_queued_event.rb +0 -21
  476. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_returned_event.rb +0 -21
  477. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_succeeded_event.rb +0 -21
  478. data/lib/stripe/events/v2_money_management_outbound_payment_canceled_event.rb +0 -21
  479. data/lib/stripe/events/v2_money_management_outbound_payment_created_event.rb +0 -21
  480. data/lib/stripe/events/v2_money_management_outbound_payment_failed_event.rb +0 -21
  481. data/lib/stripe/events/v2_money_management_outbound_payment_posted_event.rb +0 -21
  482. data/lib/stripe/events/v2_money_management_outbound_payment_returned_event.rb +0 -21
  483. data/lib/stripe/events/v2_money_management_outbound_payment_updated_event.rb +0 -21
  484. data/lib/stripe/events/v2_money_management_outbound_transfer_canceled_event.rb +0 -21
  485. data/lib/stripe/events/v2_money_management_outbound_transfer_created_event.rb +0 -21
  486. data/lib/stripe/events/v2_money_management_outbound_transfer_failed_event.rb +0 -21
  487. data/lib/stripe/events/v2_money_management_outbound_transfer_posted_event.rb +0 -21
  488. data/lib/stripe/events/v2_money_management_outbound_transfer_returned_event.rb +0 -21
  489. data/lib/stripe/events/v2_money_management_outbound_transfer_updated_event.rb +0 -21
  490. data/lib/stripe/events/v2_money_management_received_credit_available_event.rb +0 -23
  491. data/lib/stripe/events/v2_money_management_received_credit_failed_event.rb +0 -21
  492. data/lib/stripe/events/v2_money_management_received_credit_returned_event.rb +0 -21
  493. data/lib/stripe/events/v2_money_management_received_credit_succeeded_event.rb +0 -21
  494. data/lib/stripe/events/v2_money_management_received_debit_canceled_event.rb +0 -21
  495. data/lib/stripe/events/v2_money_management_received_debit_failed_event.rb +0 -21
  496. data/lib/stripe/events/v2_money_management_received_debit_pending_event.rb +0 -21
  497. data/lib/stripe/events/v2_money_management_received_debit_succeeded_event.rb +0 -21
  498. data/lib/stripe/events/v2_money_management_received_debit_updated_event.rb +0 -21
  499. data/lib/stripe/events/v2_money_management_transaction_created_event.rb +0 -21
  500. data/lib/stripe/events/v2_money_management_transaction_updated_event.rb +0 -21
  501. data/lib/stripe/events/v2_off_session_payment_requires_capture_event.rb +0 -21
  502. data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_failed_event.rb +0 -21
  503. data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_started_event.rb +0 -21
  504. data/lib/stripe/events/v2_payments_off_session_payment_canceled_event.rb +0 -21
  505. data/lib/stripe/events/v2_payments_off_session_payment_created_event.rb +0 -21
  506. data/lib/stripe/events/v2_payments_off_session_payment_failed_event.rb +0 -21
  507. data/lib/stripe/events/v2_payments_off_session_payment_succeeded_event.rb +0 -21
  508. data/lib/stripe/resources/account_notice.rb +0 -123
  509. data/lib/stripe/resources/balance_settings.rb +0 -105
  510. data/lib/stripe/resources/capital/financing_offer.rb +0 -179
  511. data/lib/stripe/resources/capital/financing_summary.rb +0 -55
  512. data/lib/stripe/resources/capital/financing_transaction.rb +0 -114
  513. data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +0 -27
  514. data/lib/stripe/resources/financial_connections/institution.rb +0 -92
  515. data/lib/stripe/resources/fx_quote.rb +0 -184
  516. data/lib/stripe/resources/issuing/credit_underwriting_record.rb +0 -602
  517. data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +0 -82
  518. data/lib/stripe/resources/issuing/fraud_liability_debit.rb +0 -86
  519. data/lib/stripe/resources/issuing/settlement.rb +0 -53
  520. data/lib/stripe/resources/margin.rb +0 -115
  521. data/lib/stripe/resources/order.rb +0 -2806
  522. data/lib/stripe/resources/payment_attempt_record.rb +0 -1086
  523. data/lib/stripe/resources/payment_intent_amount_details_line_item.rb +0 -72
  524. data/lib/stripe/resources/payment_record.rb +0 -1615
  525. data/lib/stripe/resources/privacy/redaction_job.rb +0 -298
  526. data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +0 -33
  527. data/lib/stripe/resources/quote_line.rb +0 -274
  528. data/lib/stripe/resources/quote_preview_invoice.rb +0 -663
  529. data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -364
  530. data/lib/stripe/resources/tax/association.rb +0 -66
  531. data/lib/stripe/resources/tax/form.rb +0 -211
  532. data/lib/stripe/resources/terminal/reader_collected_data.rb +0 -31
  533. data/lib/stripe/resources/v2/core/account.rb +0 -1746
  534. data/lib/stripe/resources/v2/core/account_link.rb +0 -56
  535. data/lib/stripe/resources/v2/core/person.rb +0 -276
  536. data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +0 -74
  537. data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +0 -39
  538. data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +0 -20
  539. data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +0 -22
  540. data/lib/stripe/resources/v2/money_management/adjustment.rb +0 -51
  541. data/lib/stripe/resources/v2/money_management/financial_account.rb +0 -58
  542. data/lib/stripe/resources/v2/money_management/financial_address.rb +0 -68
  543. data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +0 -94
  544. data/lib/stripe/resources/v2/money_management/outbound_payment.rb +0 -129
  545. data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +0 -82
  546. data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +0 -45
  547. data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +0 -117
  548. data/lib/stripe/resources/v2/money_management/payout_method.rb +0 -75
  549. data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +0 -49
  550. data/lib/stripe/resources/v2/money_management/received_credit.rb +0 -116
  551. data/lib/stripe/resources/v2/money_management/received_debit.rb +0 -84
  552. data/lib/stripe/resources/v2/money_management/transaction.rb +0 -78
  553. data/lib/stripe/resources/v2/money_management/transaction_entry.rb +0 -68
  554. data/lib/stripe/resources/v2/payments/off_session_payment.rb +0 -74
  555. data/lib/stripe/services/account_notice_service.rb +0 -101
  556. data/lib/stripe/services/balance_settings_service.rb +0 -96
  557. data/lib/stripe/services/capital/financing_offer_service.rb +0 -112
  558. data/lib/stripe/services/capital/financing_summary_service.rb +0 -28
  559. data/lib/stripe/services/capital/financing_transaction_service.rb +0 -79
  560. data/lib/stripe/services/capital_service.rb +0 -15
  561. data/lib/stripe/services/fx_quote_service.rb +0 -123
  562. data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +0 -504
  563. data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +0 -66
  564. data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +0 -83
  565. data/lib/stripe/services/margin_service.rb +0 -119
  566. data/lib/stripe/services/order_service.rb +0 -2236
  567. data/lib/stripe/services/payment_attempt_record_service.rb +0 -49
  568. data/lib/stripe/services/payment_record_service.rb +0 -542
  569. data/lib/stripe/services/privacy/redaction_job_service.rb +0 -240
  570. data/lib/stripe/services/privacy_service.rb +0 -13
  571. data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +0 -35
  572. data/lib/stripe/services/tax/association_service.rb +0 -31
  573. data/lib/stripe/services/tax/form_service.rb +0 -100
  574. data/lib/stripe/services/terminal/reader_collected_data_service.rb +0 -28
  575. data/lib/stripe/services/v2/core/account_link_service.rb +0 -76
  576. data/lib/stripe/services/v2/core/account_service.rb +0 -4138
  577. data/lib/stripe/services/v2/core/accounts/person_service.rb +0 -1046
  578. data/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb +0 -131
  579. data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +0 -107
  580. data/lib/stripe/services/v2/core/vault_service.rb +0 -18
  581. data/lib/stripe/services/v2/money_management/adjustment_service.rb +0 -74
  582. data/lib/stripe/services/v2/money_management/financial_account_service.rb +0 -43
  583. data/lib/stripe/services/v2/money_management/financial_address_service.rb +0 -81
  584. data/lib/stripe/services/v2/money_management/inbound_transfer_service.rb +0 -125
  585. data/lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb +0 -95
  586. data/lib/stripe/services/v2/money_management/outbound_payment_service.rb +0 -200
  587. data/lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb +0 -235
  588. data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +0 -172
  589. data/lib/stripe/services/v2/money_management/payout_method_service.rb +0 -91
  590. data/lib/stripe/services/v2/money_management/payout_methods_bank_account_spec_service.rb +0 -32
  591. data/lib/stripe/services/v2/money_management/received_credit_service.rb +0 -70
  592. data/lib/stripe/services/v2/money_management/received_debit_service.rb +0 -43
  593. data/lib/stripe/services/v2/money_management/transaction_entry_service.rb +0 -69
  594. data/lib/stripe/services/v2/money_management/transaction_service.rb +0 -73
  595. data/lib/stripe/services/v2/money_management_service.rb +0 -31
  596. data/lib/stripe/services/v2/payment_service.rb +0 -15
  597. data/lib/stripe/services/v2/payments/off_session_payment_service.rb +0 -138
  598. data/lib/stripe/services/v2/test_helper_service.rb +0 -15
  599. data/lib/stripe/services/v2/test_helpers/financial_address_service.rb +0 -49
  600. data/rbi/stripe.rbi +0 -191639
@@ -104,8 +104,6 @@ module Stripe
104
104
  attr_reader :amazon_pay_payments
105
105
  # The status of the BECS Direct Debit (AU) payments capability of the account, or whether the account can directly process BECS Direct Debit (AU) charges.
106
106
  attr_reader :au_becs_debit_payments
107
- # The status of the automatic_indirect_tax capability of the account.
108
- attr_reader :automatic_indirect_tax
109
107
  # The status of the Bacs Direct Debits payments capability of the account, or whether the account can directly process Bacs Direct Debits charges.
110
108
  attr_reader :bacs_debit_payments
111
109
  # The status of the Bancontact payments capability of the account, or whether the account can directly process Bancontact charges.
@@ -126,6 +124,8 @@ module Stripe
126
124
  attr_reader :cartes_bancaires_payments
127
125
  # The status of the Cash App Pay capability of the account, or whether the account can directly process Cash App Pay payments.
128
126
  attr_reader :cashapp_payments
127
+ # The status of the Crypto capability of the account, or whether the account can directly process Crypto payments.
128
+ attr_reader :crypto_payments
129
129
  # The status of the EPS payments capability of the account, or whether the account can directly process EPS charges.
130
130
  attr_reader :eps_payments
131
131
  # The status of the FPX payments capability of the account, or whether the account can directly process FPX charges.
@@ -134,14 +134,8 @@ module Stripe
134
134
  attr_reader :gb_bank_transfer_payments
135
135
  # The status of the giropay payments capability of the account, or whether the account can directly process giropay charges.
136
136
  attr_reader :giropay_payments
137
- # The status of the Gopay capability of the account, or whether the account can directly process Gopay payments.
138
- attr_reader :gopay_payments
139
137
  # The status of the GrabPay payments capability of the account, or whether the account can directly process GrabPay charges.
140
138
  attr_reader :grabpay_payments
141
- # The status of the Indonesia Bank Transfer payments capability of the account, or whether the account can directly process Indonesia Bank Transfer charges.
142
- attr_reader :id_bank_transfer_payments
143
- # The status of Bank BCA onboarding of the account.
144
- attr_reader :id_bank_transfer_payments_bca
145
139
  # The status of the iDEAL payments capability of the account, or whether the account can directly process iDEAL charges.
146
140
  attr_reader :ideal_payments
147
141
  # The status of the india_international_payments capability of the account, or whether the account can process international charges (non INR) in India.
@@ -162,8 +156,6 @@ module Stripe
162
156
  attr_reader :legacy_payments
163
157
  # The status of the link_payments capability of the account, or whether the account can directly process Link charges.
164
158
  attr_reader :link_payments
165
- # The status of the MB WAY payments capability of the account, or whether the account can directly process MB WAY charges.
166
- attr_reader :mb_way_payments
167
159
  # The status of the MobilePay capability of the account, or whether the account can directly process MobilePay charges.
168
160
  attr_reader :mobilepay_payments
169
161
  # The status of the Multibanco payments capability of the account, or whether the account can directly process Multibanco charges.
@@ -184,18 +176,10 @@ module Stripe
184
176
  attr_reader :payco_payments
185
177
  # The status of the paynow payments capability of the account, or whether the account can directly process paynow charges.
186
178
  attr_reader :paynow_payments
187
- # The status of the PayPal payments capability of the account, or whether the account can directly process PayPal charges.
188
- attr_reader :paypal_payments
189
- # The status of the PayTo capability of the account, or whether the account can directly process PayTo charges.
190
- attr_reader :payto_payments
191
179
  # The status of the pix payments capability of the account, or whether the account can directly process pix charges.
192
180
  attr_reader :pix_payments
193
181
  # The status of the promptpay payments capability of the account, or whether the account can directly process promptpay charges.
194
182
  attr_reader :promptpay_payments
195
- # The status of the Qris capability of the account, or whether the account can directly process Qris payments.
196
- attr_reader :qris_payments
197
- # The status of the Rechnung capability of the account, or whether the account can directly process Rechnung payments.
198
- attr_reader :rechnung_payments
199
183
  # The status of the RevolutPay capability of the account, or whether the account can directly process RevolutPay payments.
200
184
  attr_reader :revolut_pay_payments
201
185
  # The status of the SamsungPay capability of the account, or whether the account can directly process SamsungPay payments.
@@ -206,12 +190,8 @@ module Stripe
206
190
  attr_reader :sepa_bank_transfer_payments
207
191
  # The status of the SEPA Direct Debits payments capability of the account, or whether the account can directly process SEPA Direct Debits charges.
208
192
  attr_reader :sepa_debit_payments
209
- # The status of the ShopeePay capability of the account, or whether the account can directly process ShopeePay payments.
210
- attr_reader :shopeepay_payments
211
193
  # The status of the Sofort payments capability of the account, or whether the account can directly process Sofort charges.
212
194
  attr_reader :sofort_payments
213
- # The status of the stripe_balance payments capability of the account, or whether the account can directly process stripe_balance charges.
214
- attr_reader :stripe_balance_payments
215
195
  # The status of the Swish capability of the account, or whether the account can directly process Swish payments.
216
196
  attr_reader :swish_payments
217
197
  # The status of the tax reporting 1099-K (US) capability of the account.
@@ -222,12 +202,6 @@ module Stripe
222
202
  attr_reader :transfers
223
203
  # The status of the banking capability, or whether the account can have bank accounts.
224
204
  attr_reader :treasury
225
- # The status of the treasury_evolve capability of the account.
226
- attr_reader :treasury_evolve
227
- # The status of the treasury_fifth_third capability of the account.
228
- attr_reader :treasury_fifth_third
229
- # The status of the treasury_goldman_sachs capability of the account.
230
- attr_reader :treasury_goldman_sachs
231
205
  # The status of the TWINT capability of the account, or whether the account can directly process TWINT charges.
232
206
  attr_reader :twint_payments
233
207
  # The status of the US bank account ACH payments capability of the account, or whether the account can directly process US bank account charges.
@@ -374,20 +348,6 @@ module Stripe
374
348
  end
375
349
 
376
350
  class Controller < Stripe::StripeObject
377
- class Application < Stripe::StripeObject
378
- # `true` if the Connect application is responsible for negative balances and should manage credit and fraud risk on the account.
379
- attr_reader :loss_liable
380
- # `true` if the Connect application is responsible for onboarding the account.
381
- attr_reader :onboarding_owner
382
- # `true` if the Connect application is responsible for paying Stripe fees on pricing-control eligible products.
383
- attr_reader :pricing_controls
384
- end
385
-
386
- class Dashboard < Stripe::StripeObject
387
- # Whether this account has access to the full Stripe dashboard (`full`), to the Express dashboard (`express`), or to no dashboard (`none`).
388
- attr_reader :type
389
- end
390
-
391
351
  class Fees < Stripe::StripeObject
392
352
  # A value indicating the responsible payer of a bundle of Stripe fees for pricing-control eligible products on this account. Learn more about [fee behavior on connected accounts](https://docs.stripe.com/connect/direct-charges-fee-payer-behavior).
393
353
  attr_reader :payer
@@ -402,10 +362,6 @@ module Stripe
402
362
  # A value indicating the Stripe dashboard this account has access to independent of the Connect application.
403
363
  attr_reader :type
404
364
  end
405
- # Attribute for field application
406
- attr_reader :application
407
- # Attribute for field dashboard
408
- attr_reader :dashboard
409
365
  # Attribute for field fees
410
366
  attr_reader :fees
411
367
  # `true` if the Connect application retrieving the resource controls the account and can therefore exercise [platform controls](https://stripe.com/docs/connect/platform-controls-for-standard-accounts). Otherwise, this field is null.
@@ -493,24 +449,6 @@ module Stripe
493
449
  attr_reader :pending_verification
494
450
  end
495
451
 
496
- class RiskControls < Stripe::StripeObject
497
- class Charges < Stripe::StripeObject
498
- # Whether a pause of the risk control has been requested.
499
- attr_reader :pause_requested
500
- end
501
-
502
- class Payouts < Stripe::StripeObject
503
- # Whether a pause of the risk control has been requested.
504
- attr_reader :pause_requested
505
- end
506
- # Attribute for field charges
507
- attr_reader :charges
508
- # Attribute for field payouts
509
- attr_reader :payouts
510
- # Represents the rejected reason of the account. Empty if account is not rejected, or rejected by Stripe. Please see [this page for more details](https://stripe.com/docs/connect/)
511
- attr_reader :rejected_reason
512
- end
513
-
514
452
  class Settings < Stripe::StripeObject
515
453
  class BacsDebitPayments < Stripe::StripeObject
516
454
  # The Bacs Direct Debit display name for this account. For payments made with Bacs Direct Debit, this name appears on the mandate as the statement descriptor. Mobile banking apps display it as the name of the business. To use custom branding, set the Bacs Direct Debit Display Name during or right after creation. Custom branding incurs an additional monthly fee for the platform. The fee appears 5 business days after requesting Bacs. If you don't set the display name before requesting Bacs capability, it's automatically set as "Stripe" and the account is onboarded to Stripe branding, which is free.
@@ -519,13 +457,6 @@ module Stripe
519
457
  attr_reader :service_user_number
520
458
  end
521
459
 
522
- class BankBcaOnboarding < Stripe::StripeObject
523
- # Bank BCA business account holder name.
524
- attr_reader :account_holder_name
525
- # Bank BCA business account number.
526
- attr_reader :business_account_number
527
- end
528
-
529
460
  class Branding < Stripe::StripeObject
530
461
  # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) An icon for the account. Must be square and at least 128px x 128px.
531
462
  attr_reader :icon
@@ -537,13 +468,6 @@ module Stripe
537
468
  attr_reader :secondary_color
538
469
  end
539
470
 
540
- class Capital < Stripe::StripeObject
541
- # Per-currency mapping of user-selected destination accounts used to pay out loans.
542
- attr_reader :payout_destination
543
- # Per-currency mapping of all destination accounts eligible to receive loan payouts.
544
- attr_reader :payout_destination_selector
545
- end
546
-
547
471
  class CardIssuing < Stripe::StripeObject
548
472
  class TosAcceptance < Stripe::StripeObject
549
473
  # The Unix timestamp marking when the account representative accepted the service agreement.
@@ -609,8 +533,12 @@ module Stripe
609
533
  attr_reader :interval
610
534
  # The day of the month funds will be paid out. Only shown if `interval` is monthly. Payouts scheduled between the 29th and 31st of the month are sent on the last day of shorter months.
611
535
  attr_reader :monthly_anchor
536
+ # The days of the month funds will be paid out. Only shown if `interval` is monthly. Payouts scheduled between the 29th and 31st of the month are sent on the last day of shorter months.
537
+ attr_reader :monthly_payout_days
612
538
  # The day of the week funds will be paid out, of the style 'monday', 'tuesday', etc. Only shown if `interval` is weekly.
613
539
  attr_reader :weekly_anchor
540
+ # The days of the week when available funds are paid out, specified as an array, for example, [`monday`, `tuesday`]. Only shown if `interval` is weekly.
541
+ attr_reader :weekly_payout_days
614
542
  end
615
543
  # A Boolean indicating if Stripe should try to reclaim negative balances from an attached bank account. See [Understanding Connect account balances](/connect/account-balances) for details. The default value is `false` when [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts, otherwise `true`.
616
544
  attr_reader :debit_negative_balances
@@ -625,11 +553,6 @@ module Stripe
625
553
  attr_reader :creditor_id
626
554
  end
627
555
 
628
- class TaxForms < Stripe::StripeObject
629
- # Whether the account opted out of receiving their tax forms by postal delivery.
630
- attr_reader :consented_to_paperless_delivery
631
- end
632
-
633
556
  class Treasury < Stripe::StripeObject
634
557
  class TosAcceptance < Stripe::StripeObject
635
558
  # The Unix timestamp marking when the account representative accepted the service agreement.
@@ -644,12 +567,8 @@ module Stripe
644
567
  end
645
568
  # Attribute for field bacs_debit_payments
646
569
  attr_reader :bacs_debit_payments
647
- # Attribute for field bank_bca_onboarding
648
- attr_reader :bank_bca_onboarding
649
570
  # Attribute for field branding
650
571
  attr_reader :branding
651
- # Attribute for field capital
652
- attr_reader :capital
653
572
  # Attribute for field card_issuing
654
573
  attr_reader :card_issuing
655
574
  # Attribute for field card_payments
@@ -664,8 +583,6 @@ module Stripe
664
583
  attr_reader :payouts
665
584
  # Attribute for field sepa_debit_payments
666
585
  attr_reader :sepa_debit_payments
667
- # Attribute for field tax_forms
668
- attr_reader :tax_forms
669
586
  # Attribute for field treasury
670
587
  attr_reader :treasury
671
588
  end
@@ -886,15 +803,6 @@ module Stripe
886
803
  end
887
804
  end
888
805
 
889
- class AutomaticIndirectTax < Stripe::RequestParams
890
- # 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.
891
- attr_accessor :requested
892
-
893
- def initialize(requested: nil)
894
- @requested = requested
895
- end
896
- end
897
-
898
806
  class BacsDebitPayments < Stripe::RequestParams
899
807
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
900
808
  attr_accessor :requested
@@ -985,7 +893,7 @@ module Stripe
985
893
  end
986
894
  end
987
895
 
988
- class EpsPayments < Stripe::RequestParams
896
+ class CryptoPayments < Stripe::RequestParams
989
897
  # 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.
990
898
  attr_accessor :requested
991
899
 
@@ -994,7 +902,7 @@ module Stripe
994
902
  end
995
903
  end
996
904
 
997
- class FpxPayments < Stripe::RequestParams
905
+ class EpsPayments < Stripe::RequestParams
998
906
  # 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.
999
907
  attr_accessor :requested
1000
908
 
@@ -1003,7 +911,7 @@ module Stripe
1003
911
  end
1004
912
  end
1005
913
 
1006
- class GbBankTransferPayments < Stripe::RequestParams
914
+ class FpxPayments < Stripe::RequestParams
1007
915
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
1008
916
  attr_accessor :requested
1009
917
 
@@ -1012,7 +920,7 @@ module Stripe
1012
920
  end
1013
921
  end
1014
922
 
1015
- class GiropayPayments < Stripe::RequestParams
923
+ class GbBankTransferPayments < Stripe::RequestParams
1016
924
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
1017
925
  attr_accessor :requested
1018
926
 
@@ -1021,7 +929,7 @@ module Stripe
1021
929
  end
1022
930
  end
1023
931
 
1024
- class GopayPayments < Stripe::RequestParams
932
+ class GiropayPayments < Stripe::RequestParams
1025
933
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
1026
934
  attr_accessor :requested
1027
935
 
@@ -1039,24 +947,6 @@ module Stripe
1039
947
  end
1040
948
  end
1041
949
 
1042
- class IdBankTransferPayments < Stripe::RequestParams
1043
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
1044
- attr_accessor :requested
1045
-
1046
- def initialize(requested: nil)
1047
- @requested = requested
1048
- end
1049
- end
1050
-
1051
- class IdBankTransferPaymentsBca < Stripe::RequestParams
1052
- # 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.
1053
- attr_accessor :requested
1054
-
1055
- def initialize(requested: nil)
1056
- @requested = requested
1057
- end
1058
- end
1059
-
1060
950
  class IdealPayments < Stripe::RequestParams
1061
951
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
1062
952
  attr_accessor :requested
@@ -1147,15 +1037,6 @@ module Stripe
1147
1037
  end
1148
1038
  end
1149
1039
 
1150
- class MbWayPayments < Stripe::RequestParams
1151
- # 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.
1152
- attr_accessor :requested
1153
-
1154
- def initialize(requested: nil)
1155
- @requested = requested
1156
- end
1157
- end
1158
-
1159
1040
  class MobilepayPayments < Stripe::RequestParams
1160
1041
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
1161
1042
  attr_accessor :requested
@@ -1246,24 +1127,6 @@ module Stripe
1246
1127
  end
1247
1128
  end
1248
1129
 
1249
- class PaypalPayments < Stripe::RequestParams
1250
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
1251
- attr_accessor :requested
1252
-
1253
- def initialize(requested: nil)
1254
- @requested = requested
1255
- end
1256
- end
1257
-
1258
- class PaytoPayments < Stripe::RequestParams
1259
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
1260
- attr_accessor :requested
1261
-
1262
- def initialize(requested: nil)
1263
- @requested = requested
1264
- end
1265
- end
1266
-
1267
1130
  class PixPayments < Stripe::RequestParams
1268
1131
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
1269
1132
  attr_accessor :requested
@@ -1282,24 +1145,6 @@ module Stripe
1282
1145
  end
1283
1146
  end
1284
1147
 
1285
- class QrisPayments < Stripe::RequestParams
1286
- # 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.
1287
- attr_accessor :requested
1288
-
1289
- def initialize(requested: nil)
1290
- @requested = requested
1291
- end
1292
- end
1293
-
1294
- class RechnungPayments < Stripe::RequestParams
1295
- # 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.
1296
- attr_accessor :requested
1297
-
1298
- def initialize(requested: nil)
1299
- @requested = requested
1300
- end
1301
- end
1302
-
1303
1148
  class RevolutPayPayments < Stripe::RequestParams
1304
1149
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
1305
1150
  attr_accessor :requested
@@ -1345,15 +1190,6 @@ module Stripe
1345
1190
  end
1346
1191
  end
1347
1192
 
1348
- class ShopeepayPayments < Stripe::RequestParams
1349
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
1350
- attr_accessor :requested
1351
-
1352
- def initialize(requested: nil)
1353
- @requested = requested
1354
- end
1355
- end
1356
-
1357
1193
  class SofortPayments < Stripe::RequestParams
1358
1194
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
1359
1195
  attr_accessor :requested
@@ -1363,15 +1199,6 @@ module Stripe
1363
1199
  end
1364
1200
  end
1365
1201
 
1366
- class StripeBalancePayments < Stripe::RequestParams
1367
- # 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.
1368
- attr_accessor :requested
1369
-
1370
- def initialize(requested: nil)
1371
- @requested = requested
1372
- end
1373
- end
1374
-
1375
1202
  class SwishPayments < Stripe::RequestParams
1376
1203
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
1377
1204
  attr_accessor :requested
@@ -1417,33 +1244,6 @@ module Stripe
1417
1244
  end
1418
1245
  end
1419
1246
 
1420
- class TreasuryEvolve < Stripe::RequestParams
1421
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
1422
- attr_accessor :requested
1423
-
1424
- def initialize(requested: nil)
1425
- @requested = requested
1426
- end
1427
- end
1428
-
1429
- class TreasuryFifthThird < Stripe::RequestParams
1430
- # 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.
1431
- attr_accessor :requested
1432
-
1433
- def initialize(requested: nil)
1434
- @requested = requested
1435
- end
1436
- end
1437
-
1438
- class TreasuryGoldmanSachs < Stripe::RequestParams
1439
- # 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.
1440
- attr_accessor :requested
1441
-
1442
- def initialize(requested: nil)
1443
- @requested = requested
1444
- end
1445
- end
1446
-
1447
1247
  class TwintPayments < Stripe::RequestParams
1448
1248
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
1449
1249
  attr_accessor :requested
@@ -1491,8 +1291,6 @@ module Stripe
1491
1291
  attr_accessor :amazon_pay_payments
1492
1292
  # The au_becs_debit_payments capability.
1493
1293
  attr_accessor :au_becs_debit_payments
1494
- # The automatic_indirect_tax capability.
1495
- attr_accessor :automatic_indirect_tax
1496
1294
  # The bacs_debit_payments capability.
1497
1295
  attr_accessor :bacs_debit_payments
1498
1296
  # The bancontact_payments capability.
@@ -1513,6 +1311,8 @@ module Stripe
1513
1311
  attr_accessor :cartes_bancaires_payments
1514
1312
  # The cashapp_payments capability.
1515
1313
  attr_accessor :cashapp_payments
1314
+ # The crypto_payments capability.
1315
+ attr_accessor :crypto_payments
1516
1316
  # The eps_payments capability.
1517
1317
  attr_accessor :eps_payments
1518
1318
  # The fpx_payments capability.
@@ -1521,14 +1321,8 @@ module Stripe
1521
1321
  attr_accessor :gb_bank_transfer_payments
1522
1322
  # The giropay_payments capability.
1523
1323
  attr_accessor :giropay_payments
1524
- # The gopay_payments capability.
1525
- attr_accessor :gopay_payments
1526
1324
  # The grabpay_payments capability.
1527
1325
  attr_accessor :grabpay_payments
1528
- # The id_bank_transfer_payments capability.
1529
- attr_accessor :id_bank_transfer_payments
1530
- # The id_bank_transfer_payments_bca capability.
1531
- attr_accessor :id_bank_transfer_payments_bca
1532
1326
  # The ideal_payments capability.
1533
1327
  attr_accessor :ideal_payments
1534
1328
  # The india_international_payments capability.
@@ -1549,8 +1343,6 @@ module Stripe
1549
1343
  attr_accessor :legacy_payments
1550
1344
  # The link_payments capability.
1551
1345
  attr_accessor :link_payments
1552
- # The mb_way_payments capability.
1553
- attr_accessor :mb_way_payments
1554
1346
  # The mobilepay_payments capability.
1555
1347
  attr_accessor :mobilepay_payments
1556
1348
  # The multibanco_payments capability.
@@ -1571,18 +1363,10 @@ module Stripe
1571
1363
  attr_accessor :payco_payments
1572
1364
  # The paynow_payments capability.
1573
1365
  attr_accessor :paynow_payments
1574
- # The paypal_payments capability.
1575
- attr_accessor :paypal_payments
1576
- # The payto_payments capability.
1577
- attr_accessor :payto_payments
1578
1366
  # The pix_payments capability.
1579
1367
  attr_accessor :pix_payments
1580
1368
  # The promptpay_payments capability.
1581
1369
  attr_accessor :promptpay_payments
1582
- # The qris_payments capability.
1583
- attr_accessor :qris_payments
1584
- # The rechnung_payments capability.
1585
- attr_accessor :rechnung_payments
1586
1370
  # The revolut_pay_payments capability.
1587
1371
  attr_accessor :revolut_pay_payments
1588
1372
  # The samsung_pay_payments capability.
@@ -1593,12 +1377,8 @@ module Stripe
1593
1377
  attr_accessor :sepa_bank_transfer_payments
1594
1378
  # The sepa_debit_payments capability.
1595
1379
  attr_accessor :sepa_debit_payments
1596
- # The shopeepay_payments capability.
1597
- attr_accessor :shopeepay_payments
1598
1380
  # The sofort_payments capability.
1599
1381
  attr_accessor :sofort_payments
1600
- # The stripe_balance_payments capability.
1601
- attr_accessor :stripe_balance_payments
1602
1382
  # The swish_payments capability.
1603
1383
  attr_accessor :swish_payments
1604
1384
  # The tax_reporting_us_1099_k capability.
@@ -1609,12 +1389,6 @@ module Stripe
1609
1389
  attr_accessor :transfers
1610
1390
  # The treasury capability.
1611
1391
  attr_accessor :treasury
1612
- # The treasury_evolve capability.
1613
- attr_accessor :treasury_evolve
1614
- # The treasury_fifth_third capability.
1615
- attr_accessor :treasury_fifth_third
1616
- # The treasury_goldman_sachs capability.
1617
- attr_accessor :treasury_goldman_sachs
1618
1392
  # The twint_payments capability.
1619
1393
  attr_accessor :twint_payments
1620
1394
  # The us_bank_account_ach_payments capability.
@@ -1631,7 +1405,6 @@ module Stripe
1631
1405
  alma_payments: nil,
1632
1406
  amazon_pay_payments: nil,
1633
1407
  au_becs_debit_payments: nil,
1634
- automatic_indirect_tax: nil,
1635
1408
  bacs_debit_payments: nil,
1636
1409
  bancontact_payments: nil,
1637
1410
  bank_transfer_payments: nil,
@@ -1642,14 +1415,12 @@ module Stripe
1642
1415
  card_payments: nil,
1643
1416
  cartes_bancaires_payments: nil,
1644
1417
  cashapp_payments: nil,
1418
+ crypto_payments: nil,
1645
1419
  eps_payments: nil,
1646
1420
  fpx_payments: nil,
1647
1421
  gb_bank_transfer_payments: nil,
1648
1422
  giropay_payments: nil,
1649
- gopay_payments: nil,
1650
1423
  grabpay_payments: nil,
1651
- id_bank_transfer_payments: nil,
1652
- id_bank_transfer_payments_bca: nil,
1653
1424
  ideal_payments: nil,
1654
1425
  india_international_payments: nil,
1655
1426
  jcb_payments: nil,
@@ -1660,7 +1431,6 @@ module Stripe
1660
1431
  kr_card_payments: nil,
1661
1432
  legacy_payments: nil,
1662
1433
  link_payments: nil,
1663
- mb_way_payments: nil,
1664
1434
  mobilepay_payments: nil,
1665
1435
  multibanco_payments: nil,
1666
1436
  mx_bank_transfer_payments: nil,
@@ -1671,28 +1441,19 @@ module Stripe
1671
1441
  pay_by_bank_payments: nil,
1672
1442
  payco_payments: nil,
1673
1443
  paynow_payments: nil,
1674
- paypal_payments: nil,
1675
- payto_payments: nil,
1676
1444
  pix_payments: nil,
1677
1445
  promptpay_payments: nil,
1678
- qris_payments: nil,
1679
- rechnung_payments: nil,
1680
1446
  revolut_pay_payments: nil,
1681
1447
  samsung_pay_payments: nil,
1682
1448
  satispay_payments: nil,
1683
1449
  sepa_bank_transfer_payments: nil,
1684
1450
  sepa_debit_payments: nil,
1685
- shopeepay_payments: nil,
1686
1451
  sofort_payments: nil,
1687
- stripe_balance_payments: nil,
1688
1452
  swish_payments: nil,
1689
1453
  tax_reporting_us_1099_k: nil,
1690
1454
  tax_reporting_us_1099_misc: nil,
1691
1455
  transfers: nil,
1692
1456
  treasury: nil,
1693
- treasury_evolve: nil,
1694
- treasury_fifth_third: nil,
1695
- treasury_goldman_sachs: nil,
1696
1457
  twint_payments: nil,
1697
1458
  us_bank_account_ach_payments: nil,
1698
1459
  us_bank_transfer_payments: nil,
@@ -1704,7 +1465,6 @@ module Stripe
1704
1465
  @alma_payments = alma_payments
1705
1466
  @amazon_pay_payments = amazon_pay_payments
1706
1467
  @au_becs_debit_payments = au_becs_debit_payments
1707
- @automatic_indirect_tax = automatic_indirect_tax
1708
1468
  @bacs_debit_payments = bacs_debit_payments
1709
1469
  @bancontact_payments = bancontact_payments
1710
1470
  @bank_transfer_payments = bank_transfer_payments
@@ -1715,14 +1475,12 @@ module Stripe
1715
1475
  @card_payments = card_payments
1716
1476
  @cartes_bancaires_payments = cartes_bancaires_payments
1717
1477
  @cashapp_payments = cashapp_payments
1478
+ @crypto_payments = crypto_payments
1718
1479
  @eps_payments = eps_payments
1719
1480
  @fpx_payments = fpx_payments
1720
1481
  @gb_bank_transfer_payments = gb_bank_transfer_payments
1721
1482
  @giropay_payments = giropay_payments
1722
- @gopay_payments = gopay_payments
1723
1483
  @grabpay_payments = grabpay_payments
1724
- @id_bank_transfer_payments = id_bank_transfer_payments
1725
- @id_bank_transfer_payments_bca = id_bank_transfer_payments_bca
1726
1484
  @ideal_payments = ideal_payments
1727
1485
  @india_international_payments = india_international_payments
1728
1486
  @jcb_payments = jcb_payments
@@ -1733,7 +1491,6 @@ module Stripe
1733
1491
  @kr_card_payments = kr_card_payments
1734
1492
  @legacy_payments = legacy_payments
1735
1493
  @link_payments = link_payments
1736
- @mb_way_payments = mb_way_payments
1737
1494
  @mobilepay_payments = mobilepay_payments
1738
1495
  @multibanco_payments = multibanco_payments
1739
1496
  @mx_bank_transfer_payments = mx_bank_transfer_payments
@@ -1744,28 +1501,19 @@ module Stripe
1744
1501
  @pay_by_bank_payments = pay_by_bank_payments
1745
1502
  @payco_payments = payco_payments
1746
1503
  @paynow_payments = paynow_payments
1747
- @paypal_payments = paypal_payments
1748
- @payto_payments = payto_payments
1749
1504
  @pix_payments = pix_payments
1750
1505
  @promptpay_payments = promptpay_payments
1751
- @qris_payments = qris_payments
1752
- @rechnung_payments = rechnung_payments
1753
1506
  @revolut_pay_payments = revolut_pay_payments
1754
1507
  @samsung_pay_payments = samsung_pay_payments
1755
1508
  @satispay_payments = satispay_payments
1756
1509
  @sepa_bank_transfer_payments = sepa_bank_transfer_payments
1757
1510
  @sepa_debit_payments = sepa_debit_payments
1758
- @shopeepay_payments = shopeepay_payments
1759
1511
  @sofort_payments = sofort_payments
1760
- @stripe_balance_payments = stripe_balance_payments
1761
1512
  @swish_payments = swish_payments
1762
1513
  @tax_reporting_us_1099_k = tax_reporting_us_1099_k
1763
1514
  @tax_reporting_us_1099_misc = tax_reporting_us_1099_misc
1764
1515
  @transfers = transfers
1765
1516
  @treasury = treasury
1766
- @treasury_evolve = treasury_evolve
1767
- @treasury_fifth_third = treasury_fifth_third
1768
- @treasury_goldman_sachs = treasury_goldman_sachs
1769
1517
  @twint_payments = twint_payments
1770
1518
  @us_bank_account_ach_payments = us_bank_account_ach_payments
1771
1519
  @us_bank_transfer_payments = us_bank_transfer_payments
@@ -2170,6 +1918,15 @@ module Stripe
2170
1918
  end
2171
1919
  end
2172
1920
 
1921
+ class ProofOfAddress < Stripe::RequestParams
1922
+ # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.
1923
+ attr_accessor :files
1924
+
1925
+ def initialize(files: nil)
1926
+ @files = files
1927
+ end
1928
+ end
1929
+
2173
1930
  class ProofOfRegistration < Stripe::RequestParams
2174
1931
  # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.
2175
1932
  attr_accessor :files
@@ -2199,6 +1956,8 @@ module Stripe
2199
1956
  attr_accessor :company_registration_verification
2200
1957
  # One or more documents that demonstrate proof of a company's tax ID.
2201
1958
  attr_accessor :company_tax_id_verification
1959
+ # One or more documents that demonstrate proof of address.
1960
+ attr_accessor :proof_of_address
2202
1961
  # One or more documents showing the company’s proof of registration with the national business registry.
2203
1962
  attr_accessor :proof_of_registration
2204
1963
  # One or more documents that demonstrate proof of ultimate beneficial ownership.
@@ -2211,6 +1970,7 @@ module Stripe
2211
1970
  company_ministerial_decree: nil,
2212
1971
  company_registration_verification: nil,
2213
1972
  company_tax_id_verification: nil,
1973
+ proof_of_address: nil,
2214
1974
  proof_of_registration: nil,
2215
1975
  proof_of_ultimate_beneficial_ownership: nil
2216
1976
  )
@@ -2220,6 +1980,7 @@ module Stripe
2220
1980
  @company_ministerial_decree = company_ministerial_decree
2221
1981
  @company_registration_verification = company_registration_verification
2222
1982
  @company_tax_id_verification = company_tax_id_verification
1983
+ @proof_of_address = proof_of_address
2223
1984
  @proof_of_registration = proof_of_registration
2224
1985
  @proof_of_ultimate_beneficial_ownership = proof_of_ultimate_beneficial_ownership
2225
1986
  end
@@ -2541,37 +2302,6 @@ module Stripe
2541
2302
  end
2542
2303
  end
2543
2304
 
2544
- class RiskControls < Stripe::RequestParams
2545
- class Charges < Stripe::RequestParams
2546
- # To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
2547
- # There can be a delay before the risk control is paused or unpaused.
2548
- attr_accessor :pause_requested
2549
-
2550
- def initialize(pause_requested: nil)
2551
- @pause_requested = pause_requested
2552
- end
2553
- end
2554
-
2555
- class Payouts < Stripe::RequestParams
2556
- # To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
2557
- # There can be a delay before the risk control is paused or unpaused.
2558
- attr_accessor :pause_requested
2559
-
2560
- def initialize(pause_requested: nil)
2561
- @pause_requested = pause_requested
2562
- end
2563
- end
2564
- # 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).
2565
- attr_accessor :charges
2566
- # 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).
2567
- attr_accessor :payouts
2568
-
2569
- def initialize(charges: nil, payouts: nil)
2570
- @charges = charges
2571
- @payouts = payouts
2572
- end
2573
- end
2574
-
2575
2305
  class Settings < Stripe::RequestParams
2576
2306
  class BacsDebitPayments < Stripe::RequestParams
2577
2307
  # The Bacs Direct Debit Display Name for this account. For payments made with Bacs Direct Debit, this name appears on the mandate as the statement descriptor. Mobile banking apps display it as the name of the business. To use custom branding, set the Bacs Direct Debit Display Name during or right after creation. Custom branding incurs an additional monthly fee for the platform. If you don't set the display name before requesting Bacs capability, it's automatically set as "Stripe" and the account is onboarded to Stripe branding, which is free.
@@ -2582,18 +2312,6 @@ module Stripe
2582
2312
  end
2583
2313
  end
2584
2314
 
2585
- class BankBcaOnboarding < Stripe::RequestParams
2586
- # Bank BCA business account holder name
2587
- attr_accessor :account_holder_name
2588
- # Bank BCA business account number
2589
- attr_accessor :business_account_number
2590
-
2591
- def initialize(account_holder_name: nil, business_account_number: nil)
2592
- @account_holder_name = account_holder_name
2593
- @business_account_number = business_account_number
2594
- end
2595
- end
2596
-
2597
2315
  class Branding < Stripe::RequestParams
2598
2316
  # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) An icon for the account. Must be square and at least 128px x 128px.
2599
2317
  attr_accessor :icon
@@ -2612,18 +2330,6 @@ module Stripe
2612
2330
  end
2613
2331
  end
2614
2332
 
2615
- class Capital < Stripe::RequestParams
2616
- # Per-currency mapping of user-selected destination accounts used to pay out loans.
2617
- attr_accessor :payout_destination
2618
- # Per-currency mapping of all destination accounts eligible to receive Capital financing payouts.
2619
- attr_accessor :payout_destination_selector
2620
-
2621
- def initialize(payout_destination: nil, payout_destination_selector: nil)
2622
- @payout_destination = payout_destination
2623
- @payout_destination_selector = payout_destination_selector
2624
- end
2625
- end
2626
-
2627
2333
  class CardIssuing < Stripe::RequestParams
2628
2334
  class TosAcceptance < Stripe::RequestParams
2629
2335
  # The Unix timestamp marking when the account representative accepted the service agreement.
@@ -2720,14 +2426,27 @@ module Stripe
2720
2426
  attr_accessor :interval
2721
2427
  # The day of the month when available funds are paid out, specified as a number between 1--31. Payouts nominally scheduled between the 29th and 31st of the month are instead sent on the last day of a shorter month. Required and applicable only if `interval` is `monthly`.
2722
2428
  attr_accessor :monthly_anchor
2429
+ # The days of the month when available funds are paid out, specified as an array of numbers between 1--31. Payouts nominally scheduled between the 29th and 31st of the month are instead sent on the last day of a shorter month. Required and applicable only if `interval` is `monthly` and `monthly_anchor` is not set.
2430
+ attr_accessor :monthly_payout_days
2723
2431
  # The day of the week when available funds are paid out, specified as `monday`, `tuesday`, etc. (required and applicable only if `interval` is `weekly`.)
2724
2432
  attr_accessor :weekly_anchor
2725
-
2726
- def initialize(delay_days: nil, interval: nil, monthly_anchor: nil, weekly_anchor: nil)
2433
+ # The days of the week when available funds are paid out, specified as an array, e.g., [`monday`, `tuesday`]. (required and applicable only if `interval` is `weekly` and `weekly_anchor` is not set.)
2434
+ attr_accessor :weekly_payout_days
2435
+
2436
+ def initialize(
2437
+ delay_days: nil,
2438
+ interval: nil,
2439
+ monthly_anchor: nil,
2440
+ monthly_payout_days: nil,
2441
+ weekly_anchor: nil,
2442
+ weekly_payout_days: nil
2443
+ )
2727
2444
  @delay_days = delay_days
2728
2445
  @interval = interval
2729
2446
  @monthly_anchor = monthly_anchor
2447
+ @monthly_payout_days = monthly_payout_days
2730
2448
  @weekly_anchor = weekly_anchor
2449
+ @weekly_payout_days = weekly_payout_days
2731
2450
  end
2732
2451
  end
2733
2452
  # A Boolean indicating whether Stripe should try to reclaim negative balances from an attached bank account. For details, see [Understanding Connect Account Balances](/connect/account-balances).
@@ -2744,15 +2463,6 @@ module Stripe
2744
2463
  end
2745
2464
  end
2746
2465
 
2747
- class TaxForms < Stripe::RequestParams
2748
- # Whether the account opted out of receiving their tax forms by postal delivery.
2749
- attr_accessor :consented_to_paperless_delivery
2750
-
2751
- def initialize(consented_to_paperless_delivery: nil)
2752
- @consented_to_paperless_delivery = consented_to_paperless_delivery
2753
- end
2754
- end
2755
-
2756
2466
  class Treasury < Stripe::RequestParams
2757
2467
  class TosAcceptance < Stripe::RequestParams
2758
2468
  # The Unix timestamp marking when the account representative accepted the service agreement.
@@ -2777,12 +2487,8 @@ module Stripe
2777
2487
  end
2778
2488
  # Settings specific to Bacs Direct Debit payments.
2779
2489
  attr_accessor :bacs_debit_payments
2780
- # Settings specific to bank BCA onboarding for Indonesia bank transfers payments method.
2781
- attr_accessor :bank_bca_onboarding
2782
2490
  # Settings used to apply the account's branding to email receipts, invoices, Checkout, and other products.
2783
2491
  attr_accessor :branding
2784
- # Settings specific to the account's use of the Capital product.
2785
- attr_accessor :capital
2786
2492
  # Settings specific to the account's use of the Card Issuing product.
2787
2493
  attr_accessor :card_issuing
2788
2494
  # Settings specific to card charging on the account.
@@ -2793,34 +2499,26 @@ module Stripe
2793
2499
  attr_accessor :payments
2794
2500
  # Settings specific to the account's payouts.
2795
2501
  attr_accessor :payouts
2796
- # Settings specific to the account's tax forms.
2797
- attr_accessor :tax_forms
2798
2502
  # Settings specific to the account's Treasury FinancialAccounts.
2799
2503
  attr_accessor :treasury
2800
2504
 
2801
2505
  def initialize(
2802
2506
  bacs_debit_payments: nil,
2803
- bank_bca_onboarding: nil,
2804
2507
  branding: nil,
2805
- capital: nil,
2806
2508
  card_issuing: nil,
2807
2509
  card_payments: nil,
2808
2510
  invoices: nil,
2809
2511
  payments: nil,
2810
2512
  payouts: nil,
2811
- tax_forms: nil,
2812
2513
  treasury: nil
2813
2514
  )
2814
2515
  @bacs_debit_payments = bacs_debit_payments
2815
- @bank_bca_onboarding = bank_bca_onboarding
2816
2516
  @branding = branding
2817
- @capital = capital
2818
2517
  @card_issuing = card_issuing
2819
2518
  @card_payments = card_payments
2820
2519
  @invoices = invoices
2821
2520
  @payments = payments
2822
2521
  @payouts = payouts
2823
- @tax_forms = tax_forms
2824
2522
  @treasury = treasury
2825
2523
  end
2826
2524
  end
@@ -2875,8 +2573,6 @@ module Stripe
2875
2573
  attr_accessor :individual
2876
2574
  # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
2877
2575
  attr_accessor :metadata
2878
- # A hash to configure risk controls on the account. Please see [this page for more details](/connect/pausing-payments-or-payouts-on-connected-accounts).
2879
- attr_accessor :risk_controls
2880
2576
  # Options for customizing how the account functions within Stripe.
2881
2577
  attr_accessor :settings
2882
2578
  # Details on the account's acceptance of the [Stripe Services Agreement](/connect/updating-accounts#tos-acceptance). This property can only be updated for accounts where [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts. This property defaults to a `full` service agreement when empty.
@@ -2896,7 +2592,6 @@ module Stripe
2896
2592
  groups: nil,
2897
2593
  individual: nil,
2898
2594
  metadata: nil,
2899
- risk_controls: nil,
2900
2595
  settings: nil,
2901
2596
  tos_acceptance: nil
2902
2597
  )
@@ -2913,7 +2608,6 @@ module Stripe
2913
2608
  @groups = groups
2914
2609
  @individual = individual
2915
2610
  @metadata = metadata
2916
- @risk_controls = risk_controls
2917
2611
  @settings = settings
2918
2612
  @tos_acceptance = tos_acceptance
2919
2613
  end
@@ -3160,15 +2854,6 @@ module Stripe
3160
2854
  end
3161
2855
  end
3162
2856
 
3163
- class AutomaticIndirectTax < Stripe::RequestParams
3164
- # 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.
3165
- attr_accessor :requested
3166
-
3167
- def initialize(requested: nil)
3168
- @requested = requested
3169
- end
3170
- end
3171
-
3172
2857
  class BacsDebitPayments < Stripe::RequestParams
3173
2858
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
3174
2859
  attr_accessor :requested
@@ -3259,7 +2944,7 @@ module Stripe
3259
2944
  end
3260
2945
  end
3261
2946
 
3262
- class EpsPayments < Stripe::RequestParams
2947
+ class CryptoPayments < Stripe::RequestParams
3263
2948
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
3264
2949
  attr_accessor :requested
3265
2950
 
@@ -3268,7 +2953,7 @@ module Stripe
3268
2953
  end
3269
2954
  end
3270
2955
 
3271
- class FpxPayments < Stripe::RequestParams
2956
+ class EpsPayments < Stripe::RequestParams
3272
2957
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
3273
2958
  attr_accessor :requested
3274
2959
 
@@ -3277,7 +2962,7 @@ module Stripe
3277
2962
  end
3278
2963
  end
3279
2964
 
3280
- class GbBankTransferPayments < Stripe::RequestParams
2965
+ class FpxPayments < Stripe::RequestParams
3281
2966
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
3282
2967
  attr_accessor :requested
3283
2968
 
@@ -3286,7 +2971,7 @@ module Stripe
3286
2971
  end
3287
2972
  end
3288
2973
 
3289
- class GiropayPayments < Stripe::RequestParams
2974
+ class GbBankTransferPayments < Stripe::RequestParams
3290
2975
  # 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.
3291
2976
  attr_accessor :requested
3292
2977
 
@@ -3295,7 +2980,7 @@ module Stripe
3295
2980
  end
3296
2981
  end
3297
2982
 
3298
- class GopayPayments < Stripe::RequestParams
2983
+ class GiropayPayments < Stripe::RequestParams
3299
2984
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
3300
2985
  attr_accessor :requested
3301
2986
 
@@ -3313,24 +2998,6 @@ module Stripe
3313
2998
  end
3314
2999
  end
3315
3000
 
3316
- class IdBankTransferPayments < Stripe::RequestParams
3317
- # 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.
3318
- attr_accessor :requested
3319
-
3320
- def initialize(requested: nil)
3321
- @requested = requested
3322
- end
3323
- end
3324
-
3325
- class IdBankTransferPaymentsBca < Stripe::RequestParams
3326
- # 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.
3327
- attr_accessor :requested
3328
-
3329
- def initialize(requested: nil)
3330
- @requested = requested
3331
- end
3332
- end
3333
-
3334
3001
  class IdealPayments < Stripe::RequestParams
3335
3002
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
3336
3003
  attr_accessor :requested
@@ -3421,15 +3088,6 @@ module Stripe
3421
3088
  end
3422
3089
  end
3423
3090
 
3424
- class MbWayPayments < Stripe::RequestParams
3425
- # 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.
3426
- attr_accessor :requested
3427
-
3428
- def initialize(requested: nil)
3429
- @requested = requested
3430
- end
3431
- end
3432
-
3433
3091
  class MobilepayPayments < Stripe::RequestParams
3434
3092
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
3435
3093
  attr_accessor :requested
@@ -3520,24 +3178,6 @@ module Stripe
3520
3178
  end
3521
3179
  end
3522
3180
 
3523
- class PaypalPayments < Stripe::RequestParams
3524
- # 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.
3525
- attr_accessor :requested
3526
-
3527
- def initialize(requested: nil)
3528
- @requested = requested
3529
- end
3530
- end
3531
-
3532
- class PaytoPayments < Stripe::RequestParams
3533
- # 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.
3534
- attr_accessor :requested
3535
-
3536
- def initialize(requested: nil)
3537
- @requested = requested
3538
- end
3539
- end
3540
-
3541
3181
  class PixPayments < Stripe::RequestParams
3542
3182
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
3543
3183
  attr_accessor :requested
@@ -3556,24 +3196,6 @@ module Stripe
3556
3196
  end
3557
3197
  end
3558
3198
 
3559
- class QrisPayments < Stripe::RequestParams
3560
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
3561
- attr_accessor :requested
3562
-
3563
- def initialize(requested: nil)
3564
- @requested = requested
3565
- end
3566
- end
3567
-
3568
- class RechnungPayments < Stripe::RequestParams
3569
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
3570
- attr_accessor :requested
3571
-
3572
- def initialize(requested: nil)
3573
- @requested = requested
3574
- end
3575
- end
3576
-
3577
3199
  class RevolutPayPayments < Stripe::RequestParams
3578
3200
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
3579
3201
  attr_accessor :requested
@@ -3619,15 +3241,6 @@ module Stripe
3619
3241
  end
3620
3242
  end
3621
3243
 
3622
- class ShopeepayPayments < Stripe::RequestParams
3623
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
3624
- attr_accessor :requested
3625
-
3626
- def initialize(requested: nil)
3627
- @requested = requested
3628
- end
3629
- end
3630
-
3631
3244
  class SofortPayments < Stripe::RequestParams
3632
3245
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
3633
3246
  attr_accessor :requested
@@ -3637,15 +3250,6 @@ module Stripe
3637
3250
  end
3638
3251
  end
3639
3252
 
3640
- class StripeBalancePayments < Stripe::RequestParams
3641
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
3642
- attr_accessor :requested
3643
-
3644
- def initialize(requested: nil)
3645
- @requested = requested
3646
- end
3647
- end
3648
-
3649
3253
  class SwishPayments < Stripe::RequestParams
3650
3254
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
3651
3255
  attr_accessor :requested
@@ -3691,33 +3295,6 @@ module Stripe
3691
3295
  end
3692
3296
  end
3693
3297
 
3694
- class TreasuryEvolve < Stripe::RequestParams
3695
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
3696
- attr_accessor :requested
3697
-
3698
- def initialize(requested: nil)
3699
- @requested = requested
3700
- end
3701
- end
3702
-
3703
- class TreasuryFifthThird < Stripe::RequestParams
3704
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
3705
- attr_accessor :requested
3706
-
3707
- def initialize(requested: nil)
3708
- @requested = requested
3709
- end
3710
- end
3711
-
3712
- class TreasuryGoldmanSachs < Stripe::RequestParams
3713
- # 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.
3714
- attr_accessor :requested
3715
-
3716
- def initialize(requested: nil)
3717
- @requested = requested
3718
- end
3719
- end
3720
-
3721
3298
  class TwintPayments < Stripe::RequestParams
3722
3299
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
3723
3300
  attr_accessor :requested
@@ -3765,8 +3342,6 @@ module Stripe
3765
3342
  attr_accessor :amazon_pay_payments
3766
3343
  # The au_becs_debit_payments capability.
3767
3344
  attr_accessor :au_becs_debit_payments
3768
- # The automatic_indirect_tax capability.
3769
- attr_accessor :automatic_indirect_tax
3770
3345
  # The bacs_debit_payments capability.
3771
3346
  attr_accessor :bacs_debit_payments
3772
3347
  # The bancontact_payments capability.
@@ -3787,6 +3362,8 @@ module Stripe
3787
3362
  attr_accessor :cartes_bancaires_payments
3788
3363
  # The cashapp_payments capability.
3789
3364
  attr_accessor :cashapp_payments
3365
+ # The crypto_payments capability.
3366
+ attr_accessor :crypto_payments
3790
3367
  # The eps_payments capability.
3791
3368
  attr_accessor :eps_payments
3792
3369
  # The fpx_payments capability.
@@ -3795,14 +3372,8 @@ module Stripe
3795
3372
  attr_accessor :gb_bank_transfer_payments
3796
3373
  # The giropay_payments capability.
3797
3374
  attr_accessor :giropay_payments
3798
- # The gopay_payments capability.
3799
- attr_accessor :gopay_payments
3800
3375
  # The grabpay_payments capability.
3801
3376
  attr_accessor :grabpay_payments
3802
- # The id_bank_transfer_payments capability.
3803
- attr_accessor :id_bank_transfer_payments
3804
- # The id_bank_transfer_payments_bca capability.
3805
- attr_accessor :id_bank_transfer_payments_bca
3806
3377
  # The ideal_payments capability.
3807
3378
  attr_accessor :ideal_payments
3808
3379
  # The india_international_payments capability.
@@ -3823,8 +3394,6 @@ module Stripe
3823
3394
  attr_accessor :legacy_payments
3824
3395
  # The link_payments capability.
3825
3396
  attr_accessor :link_payments
3826
- # The mb_way_payments capability.
3827
- attr_accessor :mb_way_payments
3828
3397
  # The mobilepay_payments capability.
3829
3398
  attr_accessor :mobilepay_payments
3830
3399
  # The multibanco_payments capability.
@@ -3845,18 +3414,10 @@ module Stripe
3845
3414
  attr_accessor :payco_payments
3846
3415
  # The paynow_payments capability.
3847
3416
  attr_accessor :paynow_payments
3848
- # The paypal_payments capability.
3849
- attr_accessor :paypal_payments
3850
- # The payto_payments capability.
3851
- attr_accessor :payto_payments
3852
3417
  # The pix_payments capability.
3853
3418
  attr_accessor :pix_payments
3854
3419
  # The promptpay_payments capability.
3855
3420
  attr_accessor :promptpay_payments
3856
- # The qris_payments capability.
3857
- attr_accessor :qris_payments
3858
- # The rechnung_payments capability.
3859
- attr_accessor :rechnung_payments
3860
3421
  # The revolut_pay_payments capability.
3861
3422
  attr_accessor :revolut_pay_payments
3862
3423
  # The samsung_pay_payments capability.
@@ -3867,12 +3428,8 @@ module Stripe
3867
3428
  attr_accessor :sepa_bank_transfer_payments
3868
3429
  # The sepa_debit_payments capability.
3869
3430
  attr_accessor :sepa_debit_payments
3870
- # The shopeepay_payments capability.
3871
- attr_accessor :shopeepay_payments
3872
3431
  # The sofort_payments capability.
3873
3432
  attr_accessor :sofort_payments
3874
- # The stripe_balance_payments capability.
3875
- attr_accessor :stripe_balance_payments
3876
3433
  # The swish_payments capability.
3877
3434
  attr_accessor :swish_payments
3878
3435
  # The tax_reporting_us_1099_k capability.
@@ -3883,12 +3440,6 @@ module Stripe
3883
3440
  attr_accessor :transfers
3884
3441
  # The treasury capability.
3885
3442
  attr_accessor :treasury
3886
- # The treasury_evolve capability.
3887
- attr_accessor :treasury_evolve
3888
- # The treasury_fifth_third capability.
3889
- attr_accessor :treasury_fifth_third
3890
- # The treasury_goldman_sachs capability.
3891
- attr_accessor :treasury_goldman_sachs
3892
3443
  # The twint_payments capability.
3893
3444
  attr_accessor :twint_payments
3894
3445
  # The us_bank_account_ach_payments capability.
@@ -3905,7 +3456,6 @@ module Stripe
3905
3456
  alma_payments: nil,
3906
3457
  amazon_pay_payments: nil,
3907
3458
  au_becs_debit_payments: nil,
3908
- automatic_indirect_tax: nil,
3909
3459
  bacs_debit_payments: nil,
3910
3460
  bancontact_payments: nil,
3911
3461
  bank_transfer_payments: nil,
@@ -3916,14 +3466,12 @@ module Stripe
3916
3466
  card_payments: nil,
3917
3467
  cartes_bancaires_payments: nil,
3918
3468
  cashapp_payments: nil,
3469
+ crypto_payments: nil,
3919
3470
  eps_payments: nil,
3920
3471
  fpx_payments: nil,
3921
3472
  gb_bank_transfer_payments: nil,
3922
3473
  giropay_payments: nil,
3923
- gopay_payments: nil,
3924
3474
  grabpay_payments: nil,
3925
- id_bank_transfer_payments: nil,
3926
- id_bank_transfer_payments_bca: nil,
3927
3475
  ideal_payments: nil,
3928
3476
  india_international_payments: nil,
3929
3477
  jcb_payments: nil,
@@ -3934,7 +3482,6 @@ module Stripe
3934
3482
  kr_card_payments: nil,
3935
3483
  legacy_payments: nil,
3936
3484
  link_payments: nil,
3937
- mb_way_payments: nil,
3938
3485
  mobilepay_payments: nil,
3939
3486
  multibanco_payments: nil,
3940
3487
  mx_bank_transfer_payments: nil,
@@ -3945,28 +3492,19 @@ module Stripe
3945
3492
  pay_by_bank_payments: nil,
3946
3493
  payco_payments: nil,
3947
3494
  paynow_payments: nil,
3948
- paypal_payments: nil,
3949
- payto_payments: nil,
3950
3495
  pix_payments: nil,
3951
3496
  promptpay_payments: nil,
3952
- qris_payments: nil,
3953
- rechnung_payments: nil,
3954
3497
  revolut_pay_payments: nil,
3955
3498
  samsung_pay_payments: nil,
3956
3499
  satispay_payments: nil,
3957
3500
  sepa_bank_transfer_payments: nil,
3958
3501
  sepa_debit_payments: nil,
3959
- shopeepay_payments: nil,
3960
3502
  sofort_payments: nil,
3961
- stripe_balance_payments: nil,
3962
3503
  swish_payments: nil,
3963
3504
  tax_reporting_us_1099_k: nil,
3964
3505
  tax_reporting_us_1099_misc: nil,
3965
3506
  transfers: nil,
3966
3507
  treasury: nil,
3967
- treasury_evolve: nil,
3968
- treasury_fifth_third: nil,
3969
- treasury_goldman_sachs: nil,
3970
3508
  twint_payments: nil,
3971
3509
  us_bank_account_ach_payments: nil,
3972
3510
  us_bank_transfer_payments: nil,
@@ -3978,7 +3516,6 @@ module Stripe
3978
3516
  @alma_payments = alma_payments
3979
3517
  @amazon_pay_payments = amazon_pay_payments
3980
3518
  @au_becs_debit_payments = au_becs_debit_payments
3981
- @automatic_indirect_tax = automatic_indirect_tax
3982
3519
  @bacs_debit_payments = bacs_debit_payments
3983
3520
  @bancontact_payments = bancontact_payments
3984
3521
  @bank_transfer_payments = bank_transfer_payments
@@ -3989,14 +3526,12 @@ module Stripe
3989
3526
  @card_payments = card_payments
3990
3527
  @cartes_bancaires_payments = cartes_bancaires_payments
3991
3528
  @cashapp_payments = cashapp_payments
3529
+ @crypto_payments = crypto_payments
3992
3530
  @eps_payments = eps_payments
3993
3531
  @fpx_payments = fpx_payments
3994
3532
  @gb_bank_transfer_payments = gb_bank_transfer_payments
3995
3533
  @giropay_payments = giropay_payments
3996
- @gopay_payments = gopay_payments
3997
3534
  @grabpay_payments = grabpay_payments
3998
- @id_bank_transfer_payments = id_bank_transfer_payments
3999
- @id_bank_transfer_payments_bca = id_bank_transfer_payments_bca
4000
3535
  @ideal_payments = ideal_payments
4001
3536
  @india_international_payments = india_international_payments
4002
3537
  @jcb_payments = jcb_payments
@@ -4007,7 +3542,6 @@ module Stripe
4007
3542
  @kr_card_payments = kr_card_payments
4008
3543
  @legacy_payments = legacy_payments
4009
3544
  @link_payments = link_payments
4010
- @mb_way_payments = mb_way_payments
4011
3545
  @mobilepay_payments = mobilepay_payments
4012
3546
  @multibanco_payments = multibanco_payments
4013
3547
  @mx_bank_transfer_payments = mx_bank_transfer_payments
@@ -4018,28 +3552,19 @@ module Stripe
4018
3552
  @pay_by_bank_payments = pay_by_bank_payments
4019
3553
  @payco_payments = payco_payments
4020
3554
  @paynow_payments = paynow_payments
4021
- @paypal_payments = paypal_payments
4022
- @payto_payments = payto_payments
4023
3555
  @pix_payments = pix_payments
4024
3556
  @promptpay_payments = promptpay_payments
4025
- @qris_payments = qris_payments
4026
- @rechnung_payments = rechnung_payments
4027
3557
  @revolut_pay_payments = revolut_pay_payments
4028
3558
  @samsung_pay_payments = samsung_pay_payments
4029
3559
  @satispay_payments = satispay_payments
4030
3560
  @sepa_bank_transfer_payments = sepa_bank_transfer_payments
4031
3561
  @sepa_debit_payments = sepa_debit_payments
4032
- @shopeepay_payments = shopeepay_payments
4033
3562
  @sofort_payments = sofort_payments
4034
- @stripe_balance_payments = stripe_balance_payments
4035
3563
  @swish_payments = swish_payments
4036
3564
  @tax_reporting_us_1099_k = tax_reporting_us_1099_k
4037
3565
  @tax_reporting_us_1099_misc = tax_reporting_us_1099_misc
4038
3566
  @transfers = transfers
4039
3567
  @treasury = treasury
4040
- @treasury_evolve = treasury_evolve
4041
- @treasury_fifth_third = treasury_fifth_third
4042
- @treasury_goldman_sachs = treasury_goldman_sachs
4043
3568
  @twint_payments = twint_payments
4044
3569
  @us_bank_account_ach_payments = us_bank_account_ach_payments
4045
3570
  @us_bank_transfer_payments = us_bank_transfer_payments
@@ -4325,7 +3850,7 @@ module Stripe
4325
3850
  attr_accessor :ownership_exemption_reason
4326
3851
  # The company's phone number (used for verification).
4327
3852
  attr_accessor :phone
4328
- # Attribute for param field registration_date
3853
+ # When the business was incorporated or registered.
4329
3854
  attr_accessor :registration_date
4330
3855
  # The identification number given to a company when it is registered or incorporated, if distinct from the identification number used for filing taxes. (Examples are the CIN for companies and LLP IN for partnerships in India, and the Company Registration Number in Hong Kong).
4331
3856
  attr_accessor :registration_number
@@ -4390,30 +3915,6 @@ module Stripe
4390
3915
  end
4391
3916
 
4392
3917
  class Controller < Stripe::RequestParams
4393
- class Application < Stripe::RequestParams
4394
- # Whether the controller is liable for losses on this account. For details, see [Understanding Connect Account Balances](https://stripe.com/docs/connect/account-balances).
4395
- attr_accessor :loss_liable
4396
- # Whether the controller owns onboarding for this account.
4397
- attr_accessor :onboarding_owner
4398
- # Whether the controller has pricing controls for this account.
4399
- attr_accessor :pricing_controls
4400
-
4401
- def initialize(loss_liable: nil, onboarding_owner: nil, pricing_controls: nil)
4402
- @loss_liable = loss_liable
4403
- @onboarding_owner = onboarding_owner
4404
- @pricing_controls = pricing_controls
4405
- end
4406
- end
4407
-
4408
- class Dashboard < Stripe::RequestParams
4409
- # 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`.
4410
- attr_accessor :type
4411
-
4412
- def initialize(type: nil)
4413
- @type = type
4414
- end
4415
- end
4416
-
4417
3918
  class Fees < Stripe::RequestParams
4418
3919
  # A value indicating the responsible payer of Stripe fees on this account. Defaults to `account`. Learn more about [fee behavior on connected accounts](https://docs.stripe.com/connect/direct-charges-fee-payer-behavior).
4419
3920
  attr_accessor :payer
@@ -4440,10 +3941,6 @@ module Stripe
4440
3941
  @type = type
4441
3942
  end
4442
3943
  end
4443
- # A hash of configuration describing the Connect application that controls the account.
4444
- attr_accessor :application
4445
- # Properties of the account's dashboard.
4446
- attr_accessor :dashboard
4447
3944
  # A hash of configuration for who pays Stripe fees for product usage on this account.
4448
3945
  attr_accessor :fees
4449
3946
  # A hash of configuration for products that have negative balance liability, and whether Stripe or a Connect application is responsible for them.
@@ -4453,16 +3950,7 @@ module Stripe
4453
3950
  # A hash of configuration for Stripe-hosted dashboards.
4454
3951
  attr_accessor :stripe_dashboard
4455
3952
 
4456
- def initialize(
4457
- application: nil,
4458
- dashboard: nil,
4459
- fees: nil,
4460
- losses: nil,
4461
- requirement_collection: nil,
4462
- stripe_dashboard: nil
4463
- )
4464
- @application = application
4465
- @dashboard = dashboard
3953
+ def initialize(fees: nil, losses: nil, requirement_collection: nil, stripe_dashboard: nil)
4466
3954
  @fees = fees
4467
3955
  @losses = losses
4468
3956
  @requirement_collection = requirement_collection
@@ -4525,6 +4013,15 @@ module Stripe
4525
4013
  end
4526
4014
  end
4527
4015
 
4016
+ class ProofOfAddress < Stripe::RequestParams
4017
+ # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.
4018
+ attr_accessor :files
4019
+
4020
+ def initialize(files: nil)
4021
+ @files = files
4022
+ end
4023
+ end
4024
+
4528
4025
  class ProofOfRegistration < Stripe::RequestParams
4529
4026
  # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.
4530
4027
  attr_accessor :files
@@ -4554,6 +4051,8 @@ module Stripe
4554
4051
  attr_accessor :company_registration_verification
4555
4052
  # One or more documents that demonstrate proof of a company's tax ID.
4556
4053
  attr_accessor :company_tax_id_verification
4054
+ # One or more documents that demonstrate proof of address.
4055
+ attr_accessor :proof_of_address
4557
4056
  # One or more documents showing the company’s proof of registration with the national business registry.
4558
4057
  attr_accessor :proof_of_registration
4559
4058
  # One or more documents that demonstrate proof of ultimate beneficial ownership.
@@ -4566,6 +4065,7 @@ module Stripe
4566
4065
  company_ministerial_decree: nil,
4567
4066
  company_registration_verification: nil,
4568
4067
  company_tax_id_verification: nil,
4068
+ proof_of_address: nil,
4569
4069
  proof_of_registration: nil,
4570
4070
  proof_of_ultimate_beneficial_ownership: nil
4571
4071
  )
@@ -4575,6 +4075,7 @@ module Stripe
4575
4075
  @company_ministerial_decree = company_ministerial_decree
4576
4076
  @company_registration_verification = company_registration_verification
4577
4077
  @company_tax_id_verification = company_tax_id_verification
4078
+ @proof_of_address = proof_of_address
4578
4079
  @proof_of_registration = proof_of_registration
4579
4080
  @proof_of_ultimate_beneficial_ownership = proof_of_ultimate_beneficial_ownership
4580
4081
  end
@@ -4896,37 +4397,6 @@ module Stripe
4896
4397
  end
4897
4398
  end
4898
4399
 
4899
- class RiskControls < Stripe::RequestParams
4900
- class Charges < Stripe::RequestParams
4901
- # To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
4902
- # There can be a delay before the risk control is paused or unpaused.
4903
- attr_accessor :pause_requested
4904
-
4905
- def initialize(pause_requested: nil)
4906
- @pause_requested = pause_requested
4907
- end
4908
- end
4909
-
4910
- class Payouts < Stripe::RequestParams
4911
- # To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
4912
- # There can be a delay before the risk control is paused or unpaused.
4913
- attr_accessor :pause_requested
4914
-
4915
- def initialize(pause_requested: nil)
4916
- @pause_requested = pause_requested
4917
- end
4918
- end
4919
- # 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).
4920
- attr_accessor :charges
4921
- # 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).
4922
- attr_accessor :payouts
4923
-
4924
- def initialize(charges: nil, payouts: nil)
4925
- @charges = charges
4926
- @payouts = payouts
4927
- end
4928
- end
4929
-
4930
4400
  class Settings < Stripe::RequestParams
4931
4401
  class BacsDebitPayments < Stripe::RequestParams
4932
4402
  # The Bacs Direct Debit Display Name for this account. For payments made with Bacs Direct Debit, this name appears on the mandate as the statement descriptor. Mobile banking apps display it as the name of the business. To use custom branding, set the Bacs Direct Debit Display Name during or right after creation. Custom branding incurs an additional monthly fee for the platform. If you don't set the display name before requesting Bacs capability, it's automatically set as "Stripe" and the account is onboarded to Stripe branding, which is free.
@@ -4937,18 +4407,6 @@ module Stripe
4937
4407
  end
4938
4408
  end
4939
4409
 
4940
- class BankBcaOnboarding < Stripe::RequestParams
4941
- # Bank BCA business account holder name
4942
- attr_accessor :account_holder_name
4943
- # Bank BCA business account number
4944
- attr_accessor :business_account_number
4945
-
4946
- def initialize(account_holder_name: nil, business_account_number: nil)
4947
- @account_holder_name = account_holder_name
4948
- @business_account_number = business_account_number
4949
- end
4950
- end
4951
-
4952
4410
  class Branding < Stripe::RequestParams
4953
4411
  # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) An icon for the account. Must be square and at least 128px x 128px.
4954
4412
  attr_accessor :icon
@@ -4967,18 +4425,6 @@ module Stripe
4967
4425
  end
4968
4426
  end
4969
4427
 
4970
- class Capital < Stripe::RequestParams
4971
- # Per-currency mapping of user-selected destination accounts used to pay out loans.
4972
- attr_accessor :payout_destination
4973
- # Per-currency mapping of all destination accounts eligible to receive Capital financing payouts.
4974
- attr_accessor :payout_destination_selector
4975
-
4976
- def initialize(payout_destination: nil, payout_destination_selector: nil)
4977
- @payout_destination = payout_destination
4978
- @payout_destination_selector = payout_destination_selector
4979
- end
4980
- end
4981
-
4982
4428
  class CardIssuing < Stripe::RequestParams
4983
4429
  class TosAcceptance < Stripe::RequestParams
4984
4430
  # The Unix timestamp marking when the account representative accepted the service agreement.
@@ -5072,14 +4518,27 @@ module Stripe
5072
4518
  attr_accessor :interval
5073
4519
  # The day of the month when available funds are paid out, specified as a number between 1--31. Payouts nominally scheduled between the 29th and 31st of the month are instead sent on the last day of a shorter month. Required and applicable only if `interval` is `monthly`.
5074
4520
  attr_accessor :monthly_anchor
4521
+ # The days of the month when available funds are paid out, specified as an array of numbers between 1--31. Payouts nominally scheduled between the 29th and 31st of the month are instead sent on the last day of a shorter month. Required and applicable only if `interval` is `monthly` and `monthly_anchor` is not set.
4522
+ attr_accessor :monthly_payout_days
5075
4523
  # The day of the week when available funds are paid out, specified as `monday`, `tuesday`, etc. (required and applicable only if `interval` is `weekly`.)
5076
4524
  attr_accessor :weekly_anchor
5077
-
5078
- def initialize(delay_days: nil, interval: nil, monthly_anchor: nil, weekly_anchor: nil)
4525
+ # The days of the week when available funds are paid out, specified as an array, e.g., [`monday`, `tuesday`]. (required and applicable only if `interval` is `weekly` and `weekly_anchor` is not set.)
4526
+ attr_accessor :weekly_payout_days
4527
+
4528
+ def initialize(
4529
+ delay_days: nil,
4530
+ interval: nil,
4531
+ monthly_anchor: nil,
4532
+ monthly_payout_days: nil,
4533
+ weekly_anchor: nil,
4534
+ weekly_payout_days: nil
4535
+ )
5079
4536
  @delay_days = delay_days
5080
4537
  @interval = interval
5081
4538
  @monthly_anchor = monthly_anchor
4539
+ @monthly_payout_days = monthly_payout_days
5082
4540
  @weekly_anchor = weekly_anchor
4541
+ @weekly_payout_days = weekly_payout_days
5083
4542
  end
5084
4543
  end
5085
4544
  # A Boolean indicating whether Stripe should try to reclaim negative balances from an attached bank account. For details, see [Understanding Connect Account Balances](/connect/account-balances).
@@ -5096,15 +4555,6 @@ module Stripe
5096
4555
  end
5097
4556
  end
5098
4557
 
5099
- class TaxForms < Stripe::RequestParams
5100
- # Whether the account opted out of receiving their tax forms by postal delivery.
5101
- attr_accessor :consented_to_paperless_delivery
5102
-
5103
- def initialize(consented_to_paperless_delivery: nil)
5104
- @consented_to_paperless_delivery = consented_to_paperless_delivery
5105
- end
5106
- end
5107
-
5108
4558
  class Treasury < Stripe::RequestParams
5109
4559
  class TosAcceptance < Stripe::RequestParams
5110
4560
  # The Unix timestamp marking when the account representative accepted the service agreement.
@@ -5129,12 +4579,8 @@ module Stripe
5129
4579
  end
5130
4580
  # Settings specific to Bacs Direct Debit.
5131
4581
  attr_accessor :bacs_debit_payments
5132
- # Settings specific to bank BCA onboarding for Indonesia bank transfers payments method.
5133
- attr_accessor :bank_bca_onboarding
5134
4582
  # Settings used to apply the account's branding to email receipts, invoices, Checkout, and other products.
5135
4583
  attr_accessor :branding
5136
- # Settings specific to the account's use of the Capital product.
5137
- attr_accessor :capital
5138
4584
  # Settings specific to the account's use of the Card Issuing product.
5139
4585
  attr_accessor :card_issuing
5140
4586
  # Settings specific to card charging on the account.
@@ -5145,34 +4591,26 @@ module Stripe
5145
4591
  attr_accessor :payments
5146
4592
  # Settings specific to the account's payouts.
5147
4593
  attr_accessor :payouts
5148
- # Settings specific to the account's tax forms.
5149
- attr_accessor :tax_forms
5150
4594
  # Settings specific to the account's Treasury FinancialAccounts.
5151
4595
  attr_accessor :treasury
5152
4596
 
5153
4597
  def initialize(
5154
4598
  bacs_debit_payments: nil,
5155
- bank_bca_onboarding: nil,
5156
4599
  branding: nil,
5157
- capital: nil,
5158
4600
  card_issuing: nil,
5159
4601
  card_payments: nil,
5160
4602
  invoices: nil,
5161
4603
  payments: nil,
5162
4604
  payouts: nil,
5163
- tax_forms: nil,
5164
4605
  treasury: nil
5165
4606
  )
5166
4607
  @bacs_debit_payments = bacs_debit_payments
5167
- @bank_bca_onboarding = bank_bca_onboarding
5168
4608
  @branding = branding
5169
- @capital = capital
5170
4609
  @card_issuing = card_issuing
5171
4610
  @card_payments = card_payments
5172
4611
  @invoices = invoices
5173
4612
  @payments = payments
5174
4613
  @payouts = payouts
5175
- @tax_forms = tax_forms
5176
4614
  @treasury = treasury
5177
4615
  end
5178
4616
  end
@@ -5231,8 +4669,6 @@ module Stripe
5231
4669
  attr_accessor :individual
5232
4670
  # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
5233
4671
  attr_accessor :metadata
5234
- # A hash to configure risk controls on the account. Please see [this page for more details](/connect/pausing-payments-or-payouts-on-connected-accounts).
5235
- attr_accessor :risk_controls
5236
4672
  # Options for customizing how the account functions within Stripe.
5237
4673
  attr_accessor :settings
5238
4674
  # Details on the account's acceptance of the [Stripe Services Agreement](/connect/updating-accounts#tos-acceptance). This property can only be updated for accounts where [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts. This property defaults to a `full` service agreement when empty.
@@ -5256,7 +4692,6 @@ module Stripe
5256
4692
  groups: nil,
5257
4693
  individual: nil,
5258
4694
  metadata: nil,
5259
- risk_controls: nil,
5260
4695
  settings: nil,
5261
4696
  tos_acceptance: nil,
5262
4697
  type: nil
@@ -5276,7 +4711,6 @@ module Stripe
5276
4711
  @groups = groups
5277
4712
  @individual = individual
5278
4713
  @metadata = metadata
5279
- @risk_controls = risk_controls
5280
4714
  @settings = settings
5281
4715
  @tos_acceptance = tos_acceptance
5282
4716
  @type = type
@@ -5395,8 +4829,6 @@ module Stripe
5395
4829
  attr_reader :payouts_enabled
5396
4830
  # Attribute for field requirements
5397
4831
  attr_reader :requirements
5398
- # Attribute for field risk_controls
5399
- attr_reader :risk_controls
5400
4832
  # Options for customizing how the account functions within Stripe.
5401
4833
  attr_reader :settings
5402
4834
  # Attribute for field tos_acceptance