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
@@ -227,15 +227,6 @@ module Stripe
227
227
  end
228
228
  end
229
229
 
230
- class AutomaticIndirectTax < Stripe::RequestParams
231
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
232
- attr_accessor :requested
233
-
234
- def initialize(requested: nil)
235
- @requested = requested
236
- end
237
- end
238
-
239
230
  class BacsDebitPayments < Stripe::RequestParams
240
231
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
241
232
  attr_accessor :requested
@@ -326,7 +317,7 @@ module Stripe
326
317
  end
327
318
  end
328
319
 
329
- class EpsPayments < Stripe::RequestParams
320
+ class CryptoPayments < Stripe::RequestParams
330
321
  # 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.
331
322
  attr_accessor :requested
332
323
 
@@ -335,7 +326,7 @@ module Stripe
335
326
  end
336
327
  end
337
328
 
338
- class FpxPayments < Stripe::RequestParams
329
+ class EpsPayments < Stripe::RequestParams
339
330
  # 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.
340
331
  attr_accessor :requested
341
332
 
@@ -344,7 +335,7 @@ module Stripe
344
335
  end
345
336
  end
346
337
 
347
- class GbBankTransferPayments < Stripe::RequestParams
338
+ class FpxPayments < Stripe::RequestParams
348
339
  # 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.
349
340
  attr_accessor :requested
350
341
 
@@ -353,7 +344,7 @@ module Stripe
353
344
  end
354
345
  end
355
346
 
356
- class GiropayPayments < Stripe::RequestParams
347
+ class GbBankTransferPayments < Stripe::RequestParams
357
348
  # 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.
358
349
  attr_accessor :requested
359
350
 
@@ -362,7 +353,7 @@ module Stripe
362
353
  end
363
354
  end
364
355
 
365
- class GopayPayments < Stripe::RequestParams
356
+ class GiropayPayments < Stripe::RequestParams
366
357
  # 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.
367
358
  attr_accessor :requested
368
359
 
@@ -380,24 +371,6 @@ module Stripe
380
371
  end
381
372
  end
382
373
 
383
- class IdBankTransferPayments < Stripe::RequestParams
384
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
385
- attr_accessor :requested
386
-
387
- def initialize(requested: nil)
388
- @requested = requested
389
- end
390
- end
391
-
392
- class IdBankTransferPaymentsBca < Stripe::RequestParams
393
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
394
- attr_accessor :requested
395
-
396
- def initialize(requested: nil)
397
- @requested = requested
398
- end
399
- end
400
-
401
374
  class IdealPayments < Stripe::RequestParams
402
375
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
403
376
  attr_accessor :requested
@@ -488,15 +461,6 @@ module Stripe
488
461
  end
489
462
  end
490
463
 
491
- class MbWayPayments < Stripe::RequestParams
492
- # 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.
493
- attr_accessor :requested
494
-
495
- def initialize(requested: nil)
496
- @requested = requested
497
- end
498
- end
499
-
500
464
  class MobilepayPayments < Stripe::RequestParams
501
465
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
502
466
  attr_accessor :requested
@@ -587,24 +551,6 @@ module Stripe
587
551
  end
588
552
  end
589
553
 
590
- class PaypalPayments < Stripe::RequestParams
591
- # 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.
592
- attr_accessor :requested
593
-
594
- def initialize(requested: nil)
595
- @requested = requested
596
- end
597
- end
598
-
599
- class PaytoPayments < Stripe::RequestParams
600
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
601
- attr_accessor :requested
602
-
603
- def initialize(requested: nil)
604
- @requested = requested
605
- end
606
- end
607
-
608
554
  class PixPayments < Stripe::RequestParams
609
555
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
610
556
  attr_accessor :requested
@@ -623,24 +569,6 @@ module Stripe
623
569
  end
624
570
  end
625
571
 
626
- class QrisPayments < Stripe::RequestParams
627
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
628
- attr_accessor :requested
629
-
630
- def initialize(requested: nil)
631
- @requested = requested
632
- end
633
- end
634
-
635
- class RechnungPayments < Stripe::RequestParams
636
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
637
- attr_accessor :requested
638
-
639
- def initialize(requested: nil)
640
- @requested = requested
641
- end
642
- end
643
-
644
572
  class RevolutPayPayments < Stripe::RequestParams
645
573
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
646
574
  attr_accessor :requested
@@ -686,15 +614,6 @@ module Stripe
686
614
  end
687
615
  end
688
616
 
689
- class ShopeepayPayments < Stripe::RequestParams
690
- # 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.
691
- attr_accessor :requested
692
-
693
- def initialize(requested: nil)
694
- @requested = requested
695
- end
696
- end
697
-
698
617
  class SofortPayments < Stripe::RequestParams
699
618
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
700
619
  attr_accessor :requested
@@ -704,15 +623,6 @@ module Stripe
704
623
  end
705
624
  end
706
625
 
707
- class StripeBalancePayments < Stripe::RequestParams
708
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
709
- attr_accessor :requested
710
-
711
- def initialize(requested: nil)
712
- @requested = requested
713
- end
714
- end
715
-
716
626
  class SwishPayments < Stripe::RequestParams
717
627
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
718
628
  attr_accessor :requested
@@ -758,33 +668,6 @@ module Stripe
758
668
  end
759
669
  end
760
670
 
761
- class TreasuryEvolve < Stripe::RequestParams
762
- # 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.
763
- attr_accessor :requested
764
-
765
- def initialize(requested: nil)
766
- @requested = requested
767
- end
768
- end
769
-
770
- class TreasuryFifthThird < Stripe::RequestParams
771
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
772
- attr_accessor :requested
773
-
774
- def initialize(requested: nil)
775
- @requested = requested
776
- end
777
- end
778
-
779
- class TreasuryGoldmanSachs < Stripe::RequestParams
780
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
781
- attr_accessor :requested
782
-
783
- def initialize(requested: nil)
784
- @requested = requested
785
- end
786
- end
787
-
788
671
  class TwintPayments < Stripe::RequestParams
789
672
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
790
673
  attr_accessor :requested
@@ -832,8 +715,6 @@ module Stripe
832
715
  attr_accessor :amazon_pay_payments
833
716
  # The au_becs_debit_payments capability.
834
717
  attr_accessor :au_becs_debit_payments
835
- # The automatic_indirect_tax capability.
836
- attr_accessor :automatic_indirect_tax
837
718
  # The bacs_debit_payments capability.
838
719
  attr_accessor :bacs_debit_payments
839
720
  # The bancontact_payments capability.
@@ -854,6 +735,8 @@ module Stripe
854
735
  attr_accessor :cartes_bancaires_payments
855
736
  # The cashapp_payments capability.
856
737
  attr_accessor :cashapp_payments
738
+ # The crypto_payments capability.
739
+ attr_accessor :crypto_payments
857
740
  # The eps_payments capability.
858
741
  attr_accessor :eps_payments
859
742
  # The fpx_payments capability.
@@ -862,14 +745,8 @@ module Stripe
862
745
  attr_accessor :gb_bank_transfer_payments
863
746
  # The giropay_payments capability.
864
747
  attr_accessor :giropay_payments
865
- # The gopay_payments capability.
866
- attr_accessor :gopay_payments
867
748
  # The grabpay_payments capability.
868
749
  attr_accessor :grabpay_payments
869
- # The id_bank_transfer_payments capability.
870
- attr_accessor :id_bank_transfer_payments
871
- # The id_bank_transfer_payments_bca capability.
872
- attr_accessor :id_bank_transfer_payments_bca
873
750
  # The ideal_payments capability.
874
751
  attr_accessor :ideal_payments
875
752
  # The india_international_payments capability.
@@ -890,8 +767,6 @@ module Stripe
890
767
  attr_accessor :legacy_payments
891
768
  # The link_payments capability.
892
769
  attr_accessor :link_payments
893
- # The mb_way_payments capability.
894
- attr_accessor :mb_way_payments
895
770
  # The mobilepay_payments capability.
896
771
  attr_accessor :mobilepay_payments
897
772
  # The multibanco_payments capability.
@@ -912,18 +787,10 @@ module Stripe
912
787
  attr_accessor :payco_payments
913
788
  # The paynow_payments capability.
914
789
  attr_accessor :paynow_payments
915
- # The paypal_payments capability.
916
- attr_accessor :paypal_payments
917
- # The payto_payments capability.
918
- attr_accessor :payto_payments
919
790
  # The pix_payments capability.
920
791
  attr_accessor :pix_payments
921
792
  # The promptpay_payments capability.
922
793
  attr_accessor :promptpay_payments
923
- # The qris_payments capability.
924
- attr_accessor :qris_payments
925
- # The rechnung_payments capability.
926
- attr_accessor :rechnung_payments
927
794
  # The revolut_pay_payments capability.
928
795
  attr_accessor :revolut_pay_payments
929
796
  # The samsung_pay_payments capability.
@@ -934,12 +801,8 @@ module Stripe
934
801
  attr_accessor :sepa_bank_transfer_payments
935
802
  # The sepa_debit_payments capability.
936
803
  attr_accessor :sepa_debit_payments
937
- # The shopeepay_payments capability.
938
- attr_accessor :shopeepay_payments
939
804
  # The sofort_payments capability.
940
805
  attr_accessor :sofort_payments
941
- # The stripe_balance_payments capability.
942
- attr_accessor :stripe_balance_payments
943
806
  # The swish_payments capability.
944
807
  attr_accessor :swish_payments
945
808
  # The tax_reporting_us_1099_k capability.
@@ -950,12 +813,6 @@ module Stripe
950
813
  attr_accessor :transfers
951
814
  # The treasury capability.
952
815
  attr_accessor :treasury
953
- # The treasury_evolve capability.
954
- attr_accessor :treasury_evolve
955
- # The treasury_fifth_third capability.
956
- attr_accessor :treasury_fifth_third
957
- # The treasury_goldman_sachs capability.
958
- attr_accessor :treasury_goldman_sachs
959
816
  # The twint_payments capability.
960
817
  attr_accessor :twint_payments
961
818
  # The us_bank_account_ach_payments capability.
@@ -972,7 +829,6 @@ module Stripe
972
829
  alma_payments: nil,
973
830
  amazon_pay_payments: nil,
974
831
  au_becs_debit_payments: nil,
975
- automatic_indirect_tax: nil,
976
832
  bacs_debit_payments: nil,
977
833
  bancontact_payments: nil,
978
834
  bank_transfer_payments: nil,
@@ -983,14 +839,12 @@ module Stripe
983
839
  card_payments: nil,
984
840
  cartes_bancaires_payments: nil,
985
841
  cashapp_payments: nil,
842
+ crypto_payments: nil,
986
843
  eps_payments: nil,
987
844
  fpx_payments: nil,
988
845
  gb_bank_transfer_payments: nil,
989
846
  giropay_payments: nil,
990
- gopay_payments: nil,
991
847
  grabpay_payments: nil,
992
- id_bank_transfer_payments: nil,
993
- id_bank_transfer_payments_bca: nil,
994
848
  ideal_payments: nil,
995
849
  india_international_payments: nil,
996
850
  jcb_payments: nil,
@@ -1001,7 +855,6 @@ module Stripe
1001
855
  kr_card_payments: nil,
1002
856
  legacy_payments: nil,
1003
857
  link_payments: nil,
1004
- mb_way_payments: nil,
1005
858
  mobilepay_payments: nil,
1006
859
  multibanco_payments: nil,
1007
860
  mx_bank_transfer_payments: nil,
@@ -1012,28 +865,19 @@ module Stripe
1012
865
  pay_by_bank_payments: nil,
1013
866
  payco_payments: nil,
1014
867
  paynow_payments: nil,
1015
- paypal_payments: nil,
1016
- payto_payments: nil,
1017
868
  pix_payments: nil,
1018
869
  promptpay_payments: nil,
1019
- qris_payments: nil,
1020
- rechnung_payments: nil,
1021
870
  revolut_pay_payments: nil,
1022
871
  samsung_pay_payments: nil,
1023
872
  satispay_payments: nil,
1024
873
  sepa_bank_transfer_payments: nil,
1025
874
  sepa_debit_payments: nil,
1026
- shopeepay_payments: nil,
1027
875
  sofort_payments: nil,
1028
- stripe_balance_payments: nil,
1029
876
  swish_payments: nil,
1030
877
  tax_reporting_us_1099_k: nil,
1031
878
  tax_reporting_us_1099_misc: nil,
1032
879
  transfers: nil,
1033
880
  treasury: nil,
1034
- treasury_evolve: nil,
1035
- treasury_fifth_third: nil,
1036
- treasury_goldman_sachs: nil,
1037
881
  twint_payments: nil,
1038
882
  us_bank_account_ach_payments: nil,
1039
883
  us_bank_transfer_payments: nil,
@@ -1045,7 +889,6 @@ module Stripe
1045
889
  @alma_payments = alma_payments
1046
890
  @amazon_pay_payments = amazon_pay_payments
1047
891
  @au_becs_debit_payments = au_becs_debit_payments
1048
- @automatic_indirect_tax = automatic_indirect_tax
1049
892
  @bacs_debit_payments = bacs_debit_payments
1050
893
  @bancontact_payments = bancontact_payments
1051
894
  @bank_transfer_payments = bank_transfer_payments
@@ -1056,14 +899,12 @@ module Stripe
1056
899
  @card_payments = card_payments
1057
900
  @cartes_bancaires_payments = cartes_bancaires_payments
1058
901
  @cashapp_payments = cashapp_payments
902
+ @crypto_payments = crypto_payments
1059
903
  @eps_payments = eps_payments
1060
904
  @fpx_payments = fpx_payments
1061
905
  @gb_bank_transfer_payments = gb_bank_transfer_payments
1062
906
  @giropay_payments = giropay_payments
1063
- @gopay_payments = gopay_payments
1064
907
  @grabpay_payments = grabpay_payments
1065
- @id_bank_transfer_payments = id_bank_transfer_payments
1066
- @id_bank_transfer_payments_bca = id_bank_transfer_payments_bca
1067
908
  @ideal_payments = ideal_payments
1068
909
  @india_international_payments = india_international_payments
1069
910
  @jcb_payments = jcb_payments
@@ -1074,7 +915,6 @@ module Stripe
1074
915
  @kr_card_payments = kr_card_payments
1075
916
  @legacy_payments = legacy_payments
1076
917
  @link_payments = link_payments
1077
- @mb_way_payments = mb_way_payments
1078
918
  @mobilepay_payments = mobilepay_payments
1079
919
  @multibanco_payments = multibanco_payments
1080
920
  @mx_bank_transfer_payments = mx_bank_transfer_payments
@@ -1085,28 +925,19 @@ module Stripe
1085
925
  @pay_by_bank_payments = pay_by_bank_payments
1086
926
  @payco_payments = payco_payments
1087
927
  @paynow_payments = paynow_payments
1088
- @paypal_payments = paypal_payments
1089
- @payto_payments = payto_payments
1090
928
  @pix_payments = pix_payments
1091
929
  @promptpay_payments = promptpay_payments
1092
- @qris_payments = qris_payments
1093
- @rechnung_payments = rechnung_payments
1094
930
  @revolut_pay_payments = revolut_pay_payments
1095
931
  @samsung_pay_payments = samsung_pay_payments
1096
932
  @satispay_payments = satispay_payments
1097
933
  @sepa_bank_transfer_payments = sepa_bank_transfer_payments
1098
934
  @sepa_debit_payments = sepa_debit_payments
1099
- @shopeepay_payments = shopeepay_payments
1100
935
  @sofort_payments = sofort_payments
1101
- @stripe_balance_payments = stripe_balance_payments
1102
936
  @swish_payments = swish_payments
1103
937
  @tax_reporting_us_1099_k = tax_reporting_us_1099_k
1104
938
  @tax_reporting_us_1099_misc = tax_reporting_us_1099_misc
1105
939
  @transfers = transfers
1106
940
  @treasury = treasury
1107
- @treasury_evolve = treasury_evolve
1108
- @treasury_fifth_third = treasury_fifth_third
1109
- @treasury_goldman_sachs = treasury_goldman_sachs
1110
941
  @twint_payments = twint_payments
1111
942
  @us_bank_account_ach_payments = us_bank_account_ach_payments
1112
943
  @us_bank_transfer_payments = us_bank_transfer_payments
@@ -1511,6 +1342,15 @@ module Stripe
1511
1342
  end
1512
1343
  end
1513
1344
 
1345
+ class ProofOfAddress < Stripe::RequestParams
1346
+ # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.
1347
+ attr_accessor :files
1348
+
1349
+ def initialize(files: nil)
1350
+ @files = files
1351
+ end
1352
+ end
1353
+
1514
1354
  class ProofOfRegistration < Stripe::RequestParams
1515
1355
  # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.
1516
1356
  attr_accessor :files
@@ -1540,6 +1380,8 @@ module Stripe
1540
1380
  attr_accessor :company_registration_verification
1541
1381
  # One or more documents that demonstrate proof of a company's tax ID.
1542
1382
  attr_accessor :company_tax_id_verification
1383
+ # One or more documents that demonstrate proof of address.
1384
+ attr_accessor :proof_of_address
1543
1385
  # One or more documents showing the company’s proof of registration with the national business registry.
1544
1386
  attr_accessor :proof_of_registration
1545
1387
  # One or more documents that demonstrate proof of ultimate beneficial ownership.
@@ -1552,6 +1394,7 @@ module Stripe
1552
1394
  company_ministerial_decree: nil,
1553
1395
  company_registration_verification: nil,
1554
1396
  company_tax_id_verification: nil,
1397
+ proof_of_address: nil,
1555
1398
  proof_of_registration: nil,
1556
1399
  proof_of_ultimate_beneficial_ownership: nil
1557
1400
  )
@@ -1561,6 +1404,7 @@ module Stripe
1561
1404
  @company_ministerial_decree = company_ministerial_decree
1562
1405
  @company_registration_verification = company_registration_verification
1563
1406
  @company_tax_id_verification = company_tax_id_verification
1407
+ @proof_of_address = proof_of_address
1564
1408
  @proof_of_registration = proof_of_registration
1565
1409
  @proof_of_ultimate_beneficial_ownership = proof_of_ultimate_beneficial_ownership
1566
1410
  end
@@ -1882,37 +1726,6 @@ module Stripe
1882
1726
  end
1883
1727
  end
1884
1728
 
1885
- class RiskControls < Stripe::RequestParams
1886
- class Charges < Stripe::RequestParams
1887
- # To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
1888
- # There can be a delay before the risk control is paused or unpaused.
1889
- attr_accessor :pause_requested
1890
-
1891
- def initialize(pause_requested: nil)
1892
- @pause_requested = pause_requested
1893
- end
1894
- end
1895
-
1896
- class Payouts < Stripe::RequestParams
1897
- # To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
1898
- # There can be a delay before the risk control is paused or unpaused.
1899
- attr_accessor :pause_requested
1900
-
1901
- def initialize(pause_requested: nil)
1902
- @pause_requested = pause_requested
1903
- end
1904
- end
1905
- # 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).
1906
- attr_accessor :charges
1907
- # 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).
1908
- attr_accessor :payouts
1909
-
1910
- def initialize(charges: nil, payouts: nil)
1911
- @charges = charges
1912
- @payouts = payouts
1913
- end
1914
- end
1915
-
1916
1729
  class Settings < Stripe::RequestParams
1917
1730
  class BacsDebitPayments < Stripe::RequestParams
1918
1731
  # The Bacs Direct Debit Display Name for this account. For payments made with Bacs Direct Debit, this name appears on the mandate as the statement descriptor. Mobile banking apps display it as the name of the business. To use custom branding, set the Bacs Direct Debit Display Name during or right after creation. Custom branding incurs an additional monthly fee for the platform. If you don't set the display name before requesting Bacs capability, it's automatically set as "Stripe" and the account is onboarded to Stripe branding, which is free.
@@ -1923,18 +1736,6 @@ module Stripe
1923
1736
  end
1924
1737
  end
1925
1738
 
1926
- class BankBcaOnboarding < Stripe::RequestParams
1927
- # Bank BCA business account holder name
1928
- attr_accessor :account_holder_name
1929
- # Bank BCA business account number
1930
- attr_accessor :business_account_number
1931
-
1932
- def initialize(account_holder_name: nil, business_account_number: nil)
1933
- @account_holder_name = account_holder_name
1934
- @business_account_number = business_account_number
1935
- end
1936
- end
1937
-
1938
1739
  class Branding < Stripe::RequestParams
1939
1740
  # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) An icon for the account. Must be square and at least 128px x 128px.
1940
1741
  attr_accessor :icon
@@ -1953,18 +1754,6 @@ module Stripe
1953
1754
  end
1954
1755
  end
1955
1756
 
1956
- class Capital < Stripe::RequestParams
1957
- # Per-currency mapping of user-selected destination accounts used to pay out loans.
1958
- attr_accessor :payout_destination
1959
- # Per-currency mapping of all destination accounts eligible to receive Capital financing payouts.
1960
- attr_accessor :payout_destination_selector
1961
-
1962
- def initialize(payout_destination: nil, payout_destination_selector: nil)
1963
- @payout_destination = payout_destination
1964
- @payout_destination_selector = payout_destination_selector
1965
- end
1966
- end
1967
-
1968
1757
  class CardIssuing < Stripe::RequestParams
1969
1758
  class TosAcceptance < Stripe::RequestParams
1970
1759
  # The Unix timestamp marking when the account representative accepted the service agreement.
@@ -2061,14 +1850,27 @@ module Stripe
2061
1850
  attr_accessor :interval
2062
1851
  # 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`.
2063
1852
  attr_accessor :monthly_anchor
1853
+ # 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.
1854
+ attr_accessor :monthly_payout_days
2064
1855
  # The day of the week when available funds are paid out, specified as `monday`, `tuesday`, etc. (required and applicable only if `interval` is `weekly`.)
2065
1856
  attr_accessor :weekly_anchor
2066
-
2067
- def initialize(delay_days: nil, interval: nil, monthly_anchor: nil, weekly_anchor: nil)
1857
+ # 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.)
1858
+ attr_accessor :weekly_payout_days
1859
+
1860
+ def initialize(
1861
+ delay_days: nil,
1862
+ interval: nil,
1863
+ monthly_anchor: nil,
1864
+ monthly_payout_days: nil,
1865
+ weekly_anchor: nil,
1866
+ weekly_payout_days: nil
1867
+ )
2068
1868
  @delay_days = delay_days
2069
1869
  @interval = interval
2070
1870
  @monthly_anchor = monthly_anchor
1871
+ @monthly_payout_days = monthly_payout_days
2071
1872
  @weekly_anchor = weekly_anchor
1873
+ @weekly_payout_days = weekly_payout_days
2072
1874
  end
2073
1875
  end
2074
1876
  # 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).
@@ -2085,15 +1887,6 @@ module Stripe
2085
1887
  end
2086
1888
  end
2087
1889
 
2088
- class TaxForms < Stripe::RequestParams
2089
- # Whether the account opted out of receiving their tax forms by postal delivery.
2090
- attr_accessor :consented_to_paperless_delivery
2091
-
2092
- def initialize(consented_to_paperless_delivery: nil)
2093
- @consented_to_paperless_delivery = consented_to_paperless_delivery
2094
- end
2095
- end
2096
-
2097
1890
  class Treasury < Stripe::RequestParams
2098
1891
  class TosAcceptance < Stripe::RequestParams
2099
1892
  # The Unix timestamp marking when the account representative accepted the service agreement.
@@ -2118,12 +1911,8 @@ module Stripe
2118
1911
  end
2119
1912
  # Settings specific to Bacs Direct Debit payments.
2120
1913
  attr_accessor :bacs_debit_payments
2121
- # Settings specific to bank BCA onboarding for Indonesia bank transfers payments method.
2122
- attr_accessor :bank_bca_onboarding
2123
1914
  # Settings used to apply the account's branding to email receipts, invoices, Checkout, and other products.
2124
1915
  attr_accessor :branding
2125
- # Settings specific to the account's use of the Capital product.
2126
- attr_accessor :capital
2127
1916
  # Settings specific to the account's use of the Card Issuing product.
2128
1917
  attr_accessor :card_issuing
2129
1918
  # Settings specific to card charging on the account.
@@ -2134,34 +1923,26 @@ module Stripe
2134
1923
  attr_accessor :payments
2135
1924
  # Settings specific to the account's payouts.
2136
1925
  attr_accessor :payouts
2137
- # Settings specific to the account's tax forms.
2138
- attr_accessor :tax_forms
2139
1926
  # Settings specific to the account's Treasury FinancialAccounts.
2140
1927
  attr_accessor :treasury
2141
1928
 
2142
1929
  def initialize(
2143
1930
  bacs_debit_payments: nil,
2144
- bank_bca_onboarding: nil,
2145
1931
  branding: nil,
2146
- capital: nil,
2147
1932
  card_issuing: nil,
2148
1933
  card_payments: nil,
2149
1934
  invoices: nil,
2150
1935
  payments: nil,
2151
1936
  payouts: nil,
2152
- tax_forms: nil,
2153
1937
  treasury: nil
2154
1938
  )
2155
1939
  @bacs_debit_payments = bacs_debit_payments
2156
- @bank_bca_onboarding = bank_bca_onboarding
2157
1940
  @branding = branding
2158
- @capital = capital
2159
1941
  @card_issuing = card_issuing
2160
1942
  @card_payments = card_payments
2161
1943
  @invoices = invoices
2162
1944
  @payments = payments
2163
1945
  @payouts = payouts
2164
- @tax_forms = tax_forms
2165
1946
  @treasury = treasury
2166
1947
  end
2167
1948
  end
@@ -2216,8 +1997,6 @@ module Stripe
2216
1997
  attr_accessor :individual
2217
1998
  # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
2218
1999
  attr_accessor :metadata
2219
- # A hash to configure risk controls on the account. Please see [this page for more details](/connect/pausing-payments-or-payouts-on-connected-accounts).
2220
- attr_accessor :risk_controls
2221
2000
  # Options for customizing how the account functions within Stripe.
2222
2001
  attr_accessor :settings
2223
2002
  # Details on the account's acceptance of the [Stripe Services Agreement](/connect/updating-accounts#tos-acceptance). This property can only be updated for accounts where [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts. This property defaults to a `full` service agreement when empty.
@@ -2237,7 +2016,6 @@ module Stripe
2237
2016
  groups: nil,
2238
2017
  individual: nil,
2239
2018
  metadata: nil,
2240
- risk_controls: nil,
2241
2019
  settings: nil,
2242
2020
  tos_acceptance: nil
2243
2021
  )
@@ -2254,7 +2032,6 @@ module Stripe
2254
2032
  @groups = groups
2255
2033
  @individual = individual
2256
2034
  @metadata = metadata
2257
- @risk_controls = risk_controls
2258
2035
  @settings = settings
2259
2036
  @tos_acceptance = tos_acceptance
2260
2037
  end
@@ -2510,15 +2287,6 @@ module Stripe
2510
2287
  end
2511
2288
  end
2512
2289
 
2513
- class AutomaticIndirectTax < Stripe::RequestParams
2514
- # 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.
2515
- attr_accessor :requested
2516
-
2517
- def initialize(requested: nil)
2518
- @requested = requested
2519
- end
2520
- end
2521
-
2522
2290
  class BacsDebitPayments < Stripe::RequestParams
2523
2291
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2524
2292
  attr_accessor :requested
@@ -2609,7 +2377,7 @@ module Stripe
2609
2377
  end
2610
2378
  end
2611
2379
 
2612
- class EpsPayments < Stripe::RequestParams
2380
+ class CryptoPayments < Stripe::RequestParams
2613
2381
  # 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.
2614
2382
  attr_accessor :requested
2615
2383
 
@@ -2618,7 +2386,7 @@ module Stripe
2618
2386
  end
2619
2387
  end
2620
2388
 
2621
- class FpxPayments < Stripe::RequestParams
2389
+ class EpsPayments < Stripe::RequestParams
2622
2390
  # 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.
2623
2391
  attr_accessor :requested
2624
2392
 
@@ -2627,7 +2395,7 @@ module Stripe
2627
2395
  end
2628
2396
  end
2629
2397
 
2630
- class GbBankTransferPayments < Stripe::RequestParams
2398
+ class FpxPayments < Stripe::RequestParams
2631
2399
  # 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.
2632
2400
  attr_accessor :requested
2633
2401
 
@@ -2636,7 +2404,7 @@ module Stripe
2636
2404
  end
2637
2405
  end
2638
2406
 
2639
- class GiropayPayments < Stripe::RequestParams
2407
+ class GbBankTransferPayments < Stripe::RequestParams
2640
2408
  # 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.
2641
2409
  attr_accessor :requested
2642
2410
 
@@ -2645,7 +2413,7 @@ module Stripe
2645
2413
  end
2646
2414
  end
2647
2415
 
2648
- class GopayPayments < Stripe::RequestParams
2416
+ class GiropayPayments < Stripe::RequestParams
2649
2417
  # 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.
2650
2418
  attr_accessor :requested
2651
2419
 
@@ -2663,24 +2431,6 @@ module Stripe
2663
2431
  end
2664
2432
  end
2665
2433
 
2666
- class IdBankTransferPayments < Stripe::RequestParams
2667
- # 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.
2668
- attr_accessor :requested
2669
-
2670
- def initialize(requested: nil)
2671
- @requested = requested
2672
- end
2673
- end
2674
-
2675
- class IdBankTransferPaymentsBca < Stripe::RequestParams
2676
- # 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.
2677
- attr_accessor :requested
2678
-
2679
- def initialize(requested: nil)
2680
- @requested = requested
2681
- end
2682
- end
2683
-
2684
2434
  class IdealPayments < Stripe::RequestParams
2685
2435
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2686
2436
  attr_accessor :requested
@@ -2771,15 +2521,6 @@ module Stripe
2771
2521
  end
2772
2522
  end
2773
2523
 
2774
- class MbWayPayments < Stripe::RequestParams
2775
- # 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.
2776
- attr_accessor :requested
2777
-
2778
- def initialize(requested: nil)
2779
- @requested = requested
2780
- end
2781
- end
2782
-
2783
2524
  class MobilepayPayments < Stripe::RequestParams
2784
2525
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2785
2526
  attr_accessor :requested
@@ -2870,24 +2611,6 @@ module Stripe
2870
2611
  end
2871
2612
  end
2872
2613
 
2873
- class PaypalPayments < Stripe::RequestParams
2874
- # 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.
2875
- attr_accessor :requested
2876
-
2877
- def initialize(requested: nil)
2878
- @requested = requested
2879
- end
2880
- end
2881
-
2882
- class PaytoPayments < Stripe::RequestParams
2883
- # 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.
2884
- attr_accessor :requested
2885
-
2886
- def initialize(requested: nil)
2887
- @requested = requested
2888
- end
2889
- end
2890
-
2891
2614
  class PixPayments < Stripe::RequestParams
2892
2615
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2893
2616
  attr_accessor :requested
@@ -2906,24 +2629,6 @@ module Stripe
2906
2629
  end
2907
2630
  end
2908
2631
 
2909
- class QrisPayments < Stripe::RequestParams
2910
- # 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.
2911
- attr_accessor :requested
2912
-
2913
- def initialize(requested: nil)
2914
- @requested = requested
2915
- end
2916
- end
2917
-
2918
- class RechnungPayments < Stripe::RequestParams
2919
- # 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.
2920
- attr_accessor :requested
2921
-
2922
- def initialize(requested: nil)
2923
- @requested = requested
2924
- end
2925
- end
2926
-
2927
2632
  class RevolutPayPayments < Stripe::RequestParams
2928
2633
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2929
2634
  attr_accessor :requested
@@ -2969,15 +2674,6 @@ module Stripe
2969
2674
  end
2970
2675
  end
2971
2676
 
2972
- class ShopeepayPayments < Stripe::RequestParams
2973
- # 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.
2974
- attr_accessor :requested
2975
-
2976
- def initialize(requested: nil)
2977
- @requested = requested
2978
- end
2979
- end
2980
-
2981
2677
  class SofortPayments < Stripe::RequestParams
2982
2678
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2983
2679
  attr_accessor :requested
@@ -2987,15 +2683,6 @@ module Stripe
2987
2683
  end
2988
2684
  end
2989
2685
 
2990
- class StripeBalancePayments < Stripe::RequestParams
2991
- # 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.
2992
- attr_accessor :requested
2993
-
2994
- def initialize(requested: nil)
2995
- @requested = requested
2996
- end
2997
- end
2998
-
2999
2686
  class SwishPayments < Stripe::RequestParams
3000
2687
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
3001
2688
  attr_accessor :requested
@@ -3041,33 +2728,6 @@ module Stripe
3041
2728
  end
3042
2729
  end
3043
2730
 
3044
- class TreasuryEvolve < Stripe::RequestParams
3045
- # 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.
3046
- attr_accessor :requested
3047
-
3048
- def initialize(requested: nil)
3049
- @requested = requested
3050
- end
3051
- end
3052
-
3053
- class TreasuryFifthThird < Stripe::RequestParams
3054
- # 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.
3055
- attr_accessor :requested
3056
-
3057
- def initialize(requested: nil)
3058
- @requested = requested
3059
- end
3060
- end
3061
-
3062
- class TreasuryGoldmanSachs < Stripe::RequestParams
3063
- # 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.
3064
- attr_accessor :requested
3065
-
3066
- def initialize(requested: nil)
3067
- @requested = requested
3068
- end
3069
- end
3070
-
3071
2731
  class TwintPayments < Stripe::RequestParams
3072
2732
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
3073
2733
  attr_accessor :requested
@@ -3115,8 +2775,6 @@ module Stripe
3115
2775
  attr_accessor :amazon_pay_payments
3116
2776
  # The au_becs_debit_payments capability.
3117
2777
  attr_accessor :au_becs_debit_payments
3118
- # The automatic_indirect_tax capability.
3119
- attr_accessor :automatic_indirect_tax
3120
2778
  # The bacs_debit_payments capability.
3121
2779
  attr_accessor :bacs_debit_payments
3122
2780
  # The bancontact_payments capability.
@@ -3137,6 +2795,8 @@ module Stripe
3137
2795
  attr_accessor :cartes_bancaires_payments
3138
2796
  # The cashapp_payments capability.
3139
2797
  attr_accessor :cashapp_payments
2798
+ # The crypto_payments capability.
2799
+ attr_accessor :crypto_payments
3140
2800
  # The eps_payments capability.
3141
2801
  attr_accessor :eps_payments
3142
2802
  # The fpx_payments capability.
@@ -3145,14 +2805,8 @@ module Stripe
3145
2805
  attr_accessor :gb_bank_transfer_payments
3146
2806
  # The giropay_payments capability.
3147
2807
  attr_accessor :giropay_payments
3148
- # The gopay_payments capability.
3149
- attr_accessor :gopay_payments
3150
2808
  # The grabpay_payments capability.
3151
2809
  attr_accessor :grabpay_payments
3152
- # The id_bank_transfer_payments capability.
3153
- attr_accessor :id_bank_transfer_payments
3154
- # The id_bank_transfer_payments_bca capability.
3155
- attr_accessor :id_bank_transfer_payments_bca
3156
2810
  # The ideal_payments capability.
3157
2811
  attr_accessor :ideal_payments
3158
2812
  # The india_international_payments capability.
@@ -3173,8 +2827,6 @@ module Stripe
3173
2827
  attr_accessor :legacy_payments
3174
2828
  # The link_payments capability.
3175
2829
  attr_accessor :link_payments
3176
- # The mb_way_payments capability.
3177
- attr_accessor :mb_way_payments
3178
2830
  # The mobilepay_payments capability.
3179
2831
  attr_accessor :mobilepay_payments
3180
2832
  # The multibanco_payments capability.
@@ -3195,18 +2847,10 @@ module Stripe
3195
2847
  attr_accessor :payco_payments
3196
2848
  # The paynow_payments capability.
3197
2849
  attr_accessor :paynow_payments
3198
- # The paypal_payments capability.
3199
- attr_accessor :paypal_payments
3200
- # The payto_payments capability.
3201
- attr_accessor :payto_payments
3202
2850
  # The pix_payments capability.
3203
2851
  attr_accessor :pix_payments
3204
2852
  # The promptpay_payments capability.
3205
2853
  attr_accessor :promptpay_payments
3206
- # The qris_payments capability.
3207
- attr_accessor :qris_payments
3208
- # The rechnung_payments capability.
3209
- attr_accessor :rechnung_payments
3210
2854
  # The revolut_pay_payments capability.
3211
2855
  attr_accessor :revolut_pay_payments
3212
2856
  # The samsung_pay_payments capability.
@@ -3217,12 +2861,8 @@ module Stripe
3217
2861
  attr_accessor :sepa_bank_transfer_payments
3218
2862
  # The sepa_debit_payments capability.
3219
2863
  attr_accessor :sepa_debit_payments
3220
- # The shopeepay_payments capability.
3221
- attr_accessor :shopeepay_payments
3222
2864
  # The sofort_payments capability.
3223
2865
  attr_accessor :sofort_payments
3224
- # The stripe_balance_payments capability.
3225
- attr_accessor :stripe_balance_payments
3226
2866
  # The swish_payments capability.
3227
2867
  attr_accessor :swish_payments
3228
2868
  # The tax_reporting_us_1099_k capability.
@@ -3233,12 +2873,6 @@ module Stripe
3233
2873
  attr_accessor :transfers
3234
2874
  # The treasury capability.
3235
2875
  attr_accessor :treasury
3236
- # The treasury_evolve capability.
3237
- attr_accessor :treasury_evolve
3238
- # The treasury_fifth_third capability.
3239
- attr_accessor :treasury_fifth_third
3240
- # The treasury_goldman_sachs capability.
3241
- attr_accessor :treasury_goldman_sachs
3242
2876
  # The twint_payments capability.
3243
2877
  attr_accessor :twint_payments
3244
2878
  # The us_bank_account_ach_payments capability.
@@ -3255,7 +2889,6 @@ module Stripe
3255
2889
  alma_payments: nil,
3256
2890
  amazon_pay_payments: nil,
3257
2891
  au_becs_debit_payments: nil,
3258
- automatic_indirect_tax: nil,
3259
2892
  bacs_debit_payments: nil,
3260
2893
  bancontact_payments: nil,
3261
2894
  bank_transfer_payments: nil,
@@ -3266,14 +2899,12 @@ module Stripe
3266
2899
  card_payments: nil,
3267
2900
  cartes_bancaires_payments: nil,
3268
2901
  cashapp_payments: nil,
2902
+ crypto_payments: nil,
3269
2903
  eps_payments: nil,
3270
2904
  fpx_payments: nil,
3271
2905
  gb_bank_transfer_payments: nil,
3272
2906
  giropay_payments: nil,
3273
- gopay_payments: nil,
3274
2907
  grabpay_payments: nil,
3275
- id_bank_transfer_payments: nil,
3276
- id_bank_transfer_payments_bca: nil,
3277
2908
  ideal_payments: nil,
3278
2909
  india_international_payments: nil,
3279
2910
  jcb_payments: nil,
@@ -3284,7 +2915,6 @@ module Stripe
3284
2915
  kr_card_payments: nil,
3285
2916
  legacy_payments: nil,
3286
2917
  link_payments: nil,
3287
- mb_way_payments: nil,
3288
2918
  mobilepay_payments: nil,
3289
2919
  multibanco_payments: nil,
3290
2920
  mx_bank_transfer_payments: nil,
@@ -3295,28 +2925,19 @@ module Stripe
3295
2925
  pay_by_bank_payments: nil,
3296
2926
  payco_payments: nil,
3297
2927
  paynow_payments: nil,
3298
- paypal_payments: nil,
3299
- payto_payments: nil,
3300
2928
  pix_payments: nil,
3301
2929
  promptpay_payments: nil,
3302
- qris_payments: nil,
3303
- rechnung_payments: nil,
3304
2930
  revolut_pay_payments: nil,
3305
2931
  samsung_pay_payments: nil,
3306
2932
  satispay_payments: nil,
3307
2933
  sepa_bank_transfer_payments: nil,
3308
2934
  sepa_debit_payments: nil,
3309
- shopeepay_payments: nil,
3310
2935
  sofort_payments: nil,
3311
- stripe_balance_payments: nil,
3312
2936
  swish_payments: nil,
3313
2937
  tax_reporting_us_1099_k: nil,
3314
2938
  tax_reporting_us_1099_misc: nil,
3315
2939
  transfers: nil,
3316
2940
  treasury: nil,
3317
- treasury_evolve: nil,
3318
- treasury_fifth_third: nil,
3319
- treasury_goldman_sachs: nil,
3320
2941
  twint_payments: nil,
3321
2942
  us_bank_account_ach_payments: nil,
3322
2943
  us_bank_transfer_payments: nil,
@@ -3328,7 +2949,6 @@ module Stripe
3328
2949
  @alma_payments = alma_payments
3329
2950
  @amazon_pay_payments = amazon_pay_payments
3330
2951
  @au_becs_debit_payments = au_becs_debit_payments
3331
- @automatic_indirect_tax = automatic_indirect_tax
3332
2952
  @bacs_debit_payments = bacs_debit_payments
3333
2953
  @bancontact_payments = bancontact_payments
3334
2954
  @bank_transfer_payments = bank_transfer_payments
@@ -3339,14 +2959,12 @@ module Stripe
3339
2959
  @card_payments = card_payments
3340
2960
  @cartes_bancaires_payments = cartes_bancaires_payments
3341
2961
  @cashapp_payments = cashapp_payments
2962
+ @crypto_payments = crypto_payments
3342
2963
  @eps_payments = eps_payments
3343
2964
  @fpx_payments = fpx_payments
3344
2965
  @gb_bank_transfer_payments = gb_bank_transfer_payments
3345
2966
  @giropay_payments = giropay_payments
3346
- @gopay_payments = gopay_payments
3347
2967
  @grabpay_payments = grabpay_payments
3348
- @id_bank_transfer_payments = id_bank_transfer_payments
3349
- @id_bank_transfer_payments_bca = id_bank_transfer_payments_bca
3350
2968
  @ideal_payments = ideal_payments
3351
2969
  @india_international_payments = india_international_payments
3352
2970
  @jcb_payments = jcb_payments
@@ -3357,7 +2975,6 @@ module Stripe
3357
2975
  @kr_card_payments = kr_card_payments
3358
2976
  @legacy_payments = legacy_payments
3359
2977
  @link_payments = link_payments
3360
- @mb_way_payments = mb_way_payments
3361
2978
  @mobilepay_payments = mobilepay_payments
3362
2979
  @multibanco_payments = multibanco_payments
3363
2980
  @mx_bank_transfer_payments = mx_bank_transfer_payments
@@ -3368,28 +2985,19 @@ module Stripe
3368
2985
  @pay_by_bank_payments = pay_by_bank_payments
3369
2986
  @payco_payments = payco_payments
3370
2987
  @paynow_payments = paynow_payments
3371
- @paypal_payments = paypal_payments
3372
- @payto_payments = payto_payments
3373
2988
  @pix_payments = pix_payments
3374
2989
  @promptpay_payments = promptpay_payments
3375
- @qris_payments = qris_payments
3376
- @rechnung_payments = rechnung_payments
3377
2990
  @revolut_pay_payments = revolut_pay_payments
3378
2991
  @samsung_pay_payments = samsung_pay_payments
3379
2992
  @satispay_payments = satispay_payments
3380
2993
  @sepa_bank_transfer_payments = sepa_bank_transfer_payments
3381
2994
  @sepa_debit_payments = sepa_debit_payments
3382
- @shopeepay_payments = shopeepay_payments
3383
2995
  @sofort_payments = sofort_payments
3384
- @stripe_balance_payments = stripe_balance_payments
3385
2996
  @swish_payments = swish_payments
3386
2997
  @tax_reporting_us_1099_k = tax_reporting_us_1099_k
3387
2998
  @tax_reporting_us_1099_misc = tax_reporting_us_1099_misc
3388
2999
  @transfers = transfers
3389
3000
  @treasury = treasury
3390
- @treasury_evolve = treasury_evolve
3391
- @treasury_fifth_third = treasury_fifth_third
3392
- @treasury_goldman_sachs = treasury_goldman_sachs
3393
3001
  @twint_payments = twint_payments
3394
3002
  @us_bank_account_ach_payments = us_bank_account_ach_payments
3395
3003
  @us_bank_transfer_payments = us_bank_transfer_payments
@@ -3675,7 +3283,7 @@ module Stripe
3675
3283
  attr_accessor :ownership_exemption_reason
3676
3284
  # The company's phone number (used for verification).
3677
3285
  attr_accessor :phone
3678
- # Attribute for param field registration_date
3286
+ # When the business was incorporated or registered.
3679
3287
  attr_accessor :registration_date
3680
3288
  # 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).
3681
3289
  attr_accessor :registration_number
@@ -3740,30 +3348,6 @@ module Stripe
3740
3348
  end
3741
3349
 
3742
3350
  class Controller < Stripe::RequestParams
3743
- class Application < Stripe::RequestParams
3744
- # Whether the controller is liable for losses on this account. For details, see [Understanding Connect Account Balances](https://stripe.com/docs/connect/account-balances).
3745
- attr_accessor :loss_liable
3746
- # Whether the controller owns onboarding for this account.
3747
- attr_accessor :onboarding_owner
3748
- # Whether the controller has pricing controls for this account.
3749
- attr_accessor :pricing_controls
3750
-
3751
- def initialize(loss_liable: nil, onboarding_owner: nil, pricing_controls: nil)
3752
- @loss_liable = loss_liable
3753
- @onboarding_owner = onboarding_owner
3754
- @pricing_controls = pricing_controls
3755
- end
3756
- end
3757
-
3758
- class Dashboard < Stripe::RequestParams
3759
- # 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`.
3760
- attr_accessor :type
3761
-
3762
- def initialize(type: nil)
3763
- @type = type
3764
- end
3765
- end
3766
-
3767
3351
  class Fees < Stripe::RequestParams
3768
3352
  # A value indicating the responsible payer of Stripe fees on this account. Defaults to `account`. Learn more about [fee behavior on connected accounts](https://docs.stripe.com/connect/direct-charges-fee-payer-behavior).
3769
3353
  attr_accessor :payer
@@ -3790,10 +3374,6 @@ module Stripe
3790
3374
  @type = type
3791
3375
  end
3792
3376
  end
3793
- # A hash of configuration describing the Connect application that controls the account.
3794
- attr_accessor :application
3795
- # Properties of the account's dashboard.
3796
- attr_accessor :dashboard
3797
3377
  # A hash of configuration for who pays Stripe fees for product usage on this account.
3798
3378
  attr_accessor :fees
3799
3379
  # A hash of configuration for products that have negative balance liability, and whether Stripe or a Connect application is responsible for them.
@@ -3803,16 +3383,7 @@ module Stripe
3803
3383
  # A hash of configuration for Stripe-hosted dashboards.
3804
3384
  attr_accessor :stripe_dashboard
3805
3385
 
3806
- def initialize(
3807
- application: nil,
3808
- dashboard: nil,
3809
- fees: nil,
3810
- losses: nil,
3811
- requirement_collection: nil,
3812
- stripe_dashboard: nil
3813
- )
3814
- @application = application
3815
- @dashboard = dashboard
3386
+ def initialize(fees: nil, losses: nil, requirement_collection: nil, stripe_dashboard: nil)
3816
3387
  @fees = fees
3817
3388
  @losses = losses
3818
3389
  @requirement_collection = requirement_collection
@@ -3875,6 +3446,15 @@ module Stripe
3875
3446
  end
3876
3447
  end
3877
3448
 
3449
+ class ProofOfAddress < Stripe::RequestParams
3450
+ # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.
3451
+ attr_accessor :files
3452
+
3453
+ def initialize(files: nil)
3454
+ @files = files
3455
+ end
3456
+ end
3457
+
3878
3458
  class ProofOfRegistration < Stripe::RequestParams
3879
3459
  # One or more document ids returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `account_requirement`.
3880
3460
  attr_accessor :files
@@ -3904,6 +3484,8 @@ module Stripe
3904
3484
  attr_accessor :company_registration_verification
3905
3485
  # One or more documents that demonstrate proof of a company's tax ID.
3906
3486
  attr_accessor :company_tax_id_verification
3487
+ # One or more documents that demonstrate proof of address.
3488
+ attr_accessor :proof_of_address
3907
3489
  # One or more documents showing the company’s proof of registration with the national business registry.
3908
3490
  attr_accessor :proof_of_registration
3909
3491
  # One or more documents that demonstrate proof of ultimate beneficial ownership.
@@ -3916,6 +3498,7 @@ module Stripe
3916
3498
  company_ministerial_decree: nil,
3917
3499
  company_registration_verification: nil,
3918
3500
  company_tax_id_verification: nil,
3501
+ proof_of_address: nil,
3919
3502
  proof_of_registration: nil,
3920
3503
  proof_of_ultimate_beneficial_ownership: nil
3921
3504
  )
@@ -3925,6 +3508,7 @@ module Stripe
3925
3508
  @company_ministerial_decree = company_ministerial_decree
3926
3509
  @company_registration_verification = company_registration_verification
3927
3510
  @company_tax_id_verification = company_tax_id_verification
3511
+ @proof_of_address = proof_of_address
3928
3512
  @proof_of_registration = proof_of_registration
3929
3513
  @proof_of_ultimate_beneficial_ownership = proof_of_ultimate_beneficial_ownership
3930
3514
  end
@@ -4246,37 +3830,6 @@ module Stripe
4246
3830
  end
4247
3831
  end
4248
3832
 
4249
- class RiskControls < Stripe::RequestParams
4250
- class Charges < Stripe::RequestParams
4251
- # To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
4252
- # There can be a delay before the risk control is paused or unpaused.
4253
- attr_accessor :pause_requested
4254
-
4255
- def initialize(pause_requested: nil)
4256
- @pause_requested = pause_requested
4257
- end
4258
- end
4259
-
4260
- class Payouts < Stripe::RequestParams
4261
- # To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
4262
- # There can be a delay before the risk control is paused or unpaused.
4263
- attr_accessor :pause_requested
4264
-
4265
- def initialize(pause_requested: nil)
4266
- @pause_requested = pause_requested
4267
- end
4268
- end
4269
- # 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).
4270
- attr_accessor :charges
4271
- # 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).
4272
- attr_accessor :payouts
4273
-
4274
- def initialize(charges: nil, payouts: nil)
4275
- @charges = charges
4276
- @payouts = payouts
4277
- end
4278
- end
4279
-
4280
3833
  class Settings < Stripe::RequestParams
4281
3834
  class BacsDebitPayments < Stripe::RequestParams
4282
3835
  # The Bacs Direct Debit Display Name for this account. For payments made with Bacs Direct Debit, this name appears on the mandate as the statement descriptor. Mobile banking apps display it as the name of the business. To use custom branding, set the Bacs Direct Debit Display Name during or right after creation. Custom branding incurs an additional monthly fee for the platform. If you don't set the display name before requesting Bacs capability, it's automatically set as "Stripe" and the account is onboarded to Stripe branding, which is free.
@@ -4287,18 +3840,6 @@ module Stripe
4287
3840
  end
4288
3841
  end
4289
3842
 
4290
- class BankBcaOnboarding < Stripe::RequestParams
4291
- # Bank BCA business account holder name
4292
- attr_accessor :account_holder_name
4293
- # Bank BCA business account number
4294
- attr_accessor :business_account_number
4295
-
4296
- def initialize(account_holder_name: nil, business_account_number: nil)
4297
- @account_holder_name = account_holder_name
4298
- @business_account_number = business_account_number
4299
- end
4300
- end
4301
-
4302
3843
  class Branding < Stripe::RequestParams
4303
3844
  # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) An icon for the account. Must be square and at least 128px x 128px.
4304
3845
  attr_accessor :icon
@@ -4317,18 +3858,6 @@ module Stripe
4317
3858
  end
4318
3859
  end
4319
3860
 
4320
- class Capital < Stripe::RequestParams
4321
- # Per-currency mapping of user-selected destination accounts used to pay out loans.
4322
- attr_accessor :payout_destination
4323
- # Per-currency mapping of all destination accounts eligible to receive Capital financing payouts.
4324
- attr_accessor :payout_destination_selector
4325
-
4326
- def initialize(payout_destination: nil, payout_destination_selector: nil)
4327
- @payout_destination = payout_destination
4328
- @payout_destination_selector = payout_destination_selector
4329
- end
4330
- end
4331
-
4332
3861
  class CardIssuing < Stripe::RequestParams
4333
3862
  class TosAcceptance < Stripe::RequestParams
4334
3863
  # The Unix timestamp marking when the account representative accepted the service agreement.
@@ -4422,14 +3951,27 @@ module Stripe
4422
3951
  attr_accessor :interval
4423
3952
  # 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`.
4424
3953
  attr_accessor :monthly_anchor
3954
+ # 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.
3955
+ attr_accessor :monthly_payout_days
4425
3956
  # The day of the week when available funds are paid out, specified as `monday`, `tuesday`, etc. (required and applicable only if `interval` is `weekly`.)
4426
3957
  attr_accessor :weekly_anchor
4427
-
4428
- def initialize(delay_days: nil, interval: nil, monthly_anchor: nil, weekly_anchor: nil)
3958
+ # 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.)
3959
+ attr_accessor :weekly_payout_days
3960
+
3961
+ def initialize(
3962
+ delay_days: nil,
3963
+ interval: nil,
3964
+ monthly_anchor: nil,
3965
+ monthly_payout_days: nil,
3966
+ weekly_anchor: nil,
3967
+ weekly_payout_days: nil
3968
+ )
4429
3969
  @delay_days = delay_days
4430
3970
  @interval = interval
4431
3971
  @monthly_anchor = monthly_anchor
3972
+ @monthly_payout_days = monthly_payout_days
4432
3973
  @weekly_anchor = weekly_anchor
3974
+ @weekly_payout_days = weekly_payout_days
4433
3975
  end
4434
3976
  end
4435
3977
  # 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).
@@ -4446,15 +3988,6 @@ module Stripe
4446
3988
  end
4447
3989
  end
4448
3990
 
4449
- class TaxForms < Stripe::RequestParams
4450
- # Whether the account opted out of receiving their tax forms by postal delivery.
4451
- attr_accessor :consented_to_paperless_delivery
4452
-
4453
- def initialize(consented_to_paperless_delivery: nil)
4454
- @consented_to_paperless_delivery = consented_to_paperless_delivery
4455
- end
4456
- end
4457
-
4458
3991
  class Treasury < Stripe::RequestParams
4459
3992
  class TosAcceptance < Stripe::RequestParams
4460
3993
  # The Unix timestamp marking when the account representative accepted the service agreement.
@@ -4479,12 +4012,8 @@ module Stripe
4479
4012
  end
4480
4013
  # Settings specific to Bacs Direct Debit.
4481
4014
  attr_accessor :bacs_debit_payments
4482
- # Settings specific to bank BCA onboarding for Indonesia bank transfers payments method.
4483
- attr_accessor :bank_bca_onboarding
4484
4015
  # Settings used to apply the account's branding to email receipts, invoices, Checkout, and other products.
4485
4016
  attr_accessor :branding
4486
- # Settings specific to the account's use of the Capital product.
4487
- attr_accessor :capital
4488
4017
  # Settings specific to the account's use of the Card Issuing product.
4489
4018
  attr_accessor :card_issuing
4490
4019
  # Settings specific to card charging on the account.
@@ -4495,34 +4024,26 @@ module Stripe
4495
4024
  attr_accessor :payments
4496
4025
  # Settings specific to the account's payouts.
4497
4026
  attr_accessor :payouts
4498
- # Settings specific to the account's tax forms.
4499
- attr_accessor :tax_forms
4500
4027
  # Settings specific to the account's Treasury FinancialAccounts.
4501
4028
  attr_accessor :treasury
4502
4029
 
4503
4030
  def initialize(
4504
4031
  bacs_debit_payments: nil,
4505
- bank_bca_onboarding: nil,
4506
4032
  branding: nil,
4507
- capital: nil,
4508
4033
  card_issuing: nil,
4509
4034
  card_payments: nil,
4510
4035
  invoices: nil,
4511
4036
  payments: nil,
4512
4037
  payouts: nil,
4513
- tax_forms: nil,
4514
4038
  treasury: nil
4515
4039
  )
4516
4040
  @bacs_debit_payments = bacs_debit_payments
4517
- @bank_bca_onboarding = bank_bca_onboarding
4518
4041
  @branding = branding
4519
- @capital = capital
4520
4042
  @card_issuing = card_issuing
4521
4043
  @card_payments = card_payments
4522
4044
  @invoices = invoices
4523
4045
  @payments = payments
4524
4046
  @payouts = payouts
4525
- @tax_forms = tax_forms
4526
4047
  @treasury = treasury
4527
4048
  end
4528
4049
  end
@@ -4581,8 +4102,6 @@ module Stripe
4581
4102
  attr_accessor :individual
4582
4103
  # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
4583
4104
  attr_accessor :metadata
4584
- # A hash to configure risk controls on the account. Please see [this page for more details](/connect/pausing-payments-or-payouts-on-connected-accounts).
4585
- attr_accessor :risk_controls
4586
4105
  # Options for customizing how the account functions within Stripe.
4587
4106
  attr_accessor :settings
4588
4107
  # Details on the account's acceptance of the [Stripe Services Agreement](/connect/updating-accounts#tos-acceptance). This property can only be updated for accounts where [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts. This property defaults to a `full` service agreement when empty.
@@ -4606,7 +4125,6 @@ module Stripe
4606
4125
  groups: nil,
4607
4126
  individual: nil,
4608
4127
  metadata: nil,
4609
- risk_controls: nil,
4610
4128
  settings: nil,
4611
4129
  tos_acceptance: nil,
4612
4130
  type: nil
@@ -4626,7 +4144,6 @@ module Stripe
4626
4144
  @groups = groups
4627
4145
  @individual = individual
4628
4146
  @metadata = metadata
4629
- @risk_controls = risk_controls
4630
4147
  @settings = settings
4631
4148
  @tos_acceptance = tos_acceptance
4632
4149
  @type = type