stripe 15.1.0.pre.beta.1 → 15.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (620) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +697 -1533
  3. data/Gemfile +1 -1
  4. data/OPENAPI_VERSION +1 -1
  5. data/README.md +6 -0
  6. data/VERSION +1 -1
  7. data/lib/stripe/api_operations/nested_resource.rb +35 -35
  8. data/lib/stripe/api_requestor.rb +1 -29
  9. data/lib/stripe/api_version.rb +1 -1
  10. data/lib/stripe/connection_manager.rb +1 -3
  11. data/lib/stripe/errors.rb +0 -54
  12. data/lib/stripe/event_types.rb +1 -75
  13. data/lib/stripe/events/v1_billing_meter_error_report_triggered_event.rb +1 -1
  14. data/lib/stripe/events/v1_billing_meter_no_meter_found_event.rb +1 -1
  15. data/lib/stripe/events/{v2_core_account_including_identity_updated_event.rb → v2_core_event_destination_ping_event.rb} +3 -3
  16. data/lib/stripe/oauth.rb +1 -1
  17. data/lib/stripe/object_types.rb +0 -51
  18. data/lib/stripe/resources/account.rb +54 -657
  19. data/lib/stripe/resources/account_session.rb +1 -299
  20. data/lib/stripe/resources/billing/credit_balance_summary.rb +0 -2
  21. data/lib/stripe/resources/billing/credit_balance_transaction.rb +0 -4
  22. data/lib/stripe/resources/billing/credit_grant.rb +0 -10
  23. data/lib/stripe/resources/billing_portal/session.rb +0 -6
  24. data/lib/stripe/resources/card.rb +0 -2
  25. data/lib/stripe/resources/cash_balance.rb +0 -2
  26. data/lib/stripe/resources/charge.rb +2 -1454
  27. data/lib/stripe/resources/checkout/session.rb +5 -258
  28. data/lib/stripe/resources/confirmation_token.rb +9 -178
  29. data/lib/stripe/resources/credit_note.rb +0 -10
  30. data/lib/stripe/resources/credit_note_line_item.rb +0 -9
  31. data/lib/stripe/resources/customer.rb +2 -4
  32. data/lib/stripe/resources/customer_balance_transaction.rb +0 -2
  33. data/lib/stripe/resources/customer_cash_balance_transaction.rb +0 -2
  34. data/lib/stripe/resources/customer_session.rb +1 -6
  35. data/lib/stripe/resources/discount.rb +0 -2
  36. data/lib/stripe/resources/event.rb +0 -31
  37. data/lib/stripe/resources/financial_connections/account.rb +1 -20
  38. data/lib/stripe/resources/financial_connections/session.rb +2 -62
  39. data/lib/stripe/resources/funding_instructions.rb +1 -1
  40. data/lib/stripe/resources/identity/verification_session.rb +0 -10
  41. data/lib/stripe/resources/invoice.rb +17 -1175
  42. data/lib/stripe/resources/invoice_item.rb +2 -78
  43. data/lib/stripe/resources/invoice_line_item.rb +1 -55
  44. data/lib/stripe/resources/invoice_payment.rb +53 -2
  45. data/lib/stripe/resources/issuing/cardholder.rb +1 -2
  46. data/lib/stripe/resources/issuing/transaction.rb +0 -6
  47. data/lib/stripe/resources/line_item.rb +0 -37
  48. data/lib/stripe/resources/mandate.rb +0 -24
  49. data/lib/stripe/resources/payment_intent.rb +333 -5071
  50. data/lib/stripe/resources/payment_method.rb +11 -198
  51. data/lib/stripe/resources/payment_method_configuration.rb +13 -249
  52. data/lib/stripe/resources/payout.rb +0 -6
  53. data/lib/stripe/resources/person.rb +25 -1
  54. data/lib/stripe/resources/price.rb +0 -30
  55. data/lib/stripe/resources/product.rb +0 -59
  56. data/lib/stripe/resources/promotion_code.rb +0 -10
  57. data/lib/stripe/resources/quote.rb +6 -2040
  58. data/lib/stripe/resources/refund.rb +2 -9
  59. data/lib/stripe/resources/setup_attempt.rb +0 -21
  60. data/lib/stripe/resources/setup_intent.rb +21 -599
  61. data/lib/stripe/resources/source.rb +1 -30
  62. data/lib/stripe/resources/subscription.rb +11 -294
  63. data/lib/stripe/resources/subscription_item.rb +3 -84
  64. data/lib/stripe/resources/subscription_schedule.rb +10 -1007
  65. data/lib/stripe/resources/tax/calculation.rb +2 -2
  66. data/lib/stripe/resources/tax/registration.rb +220 -0
  67. data/lib/stripe/resources/tax/transaction.rb +1 -1
  68. data/lib/stripe/resources/tax_id.rb +4 -14
  69. data/lib/stripe/resources/terminal/reader.rb +0 -406
  70. data/lib/stripe/resources/token.rb +61 -0
  71. data/lib/stripe/resources/treasury/financial_account.rb +3 -22
  72. data/lib/stripe/resources/treasury/financial_account_features.rb +0 -2
  73. data/lib/stripe/resources/treasury/outbound_transfer.rb +0 -37
  74. data/lib/stripe/resources/treasury/received_credit.rb +1 -38
  75. data/lib/stripe/resources/treasury/received_debit.rb +1 -40
  76. data/lib/stripe/resources/v2/billing/meter_event.rb +2 -2
  77. data/lib/stripe/resources/v2/billing/meter_event_adjustment.rb +2 -2
  78. data/lib/stripe/resources/v2/billing/meter_event_session.rb +2 -2
  79. data/lib/stripe/resources/v2/event.rb +2 -2
  80. data/lib/stripe/resources/v2/event_destination.rb +2 -2
  81. data/lib/stripe/resources.rb +1 -88
  82. data/lib/stripe/services/account_external_account_service.rb +1 -1
  83. data/lib/stripe/services/account_person_service.rb +84 -0
  84. data/lib/stripe/services/account_service.rb +42 -565
  85. data/lib/stripe/services/account_session_service.rb +1 -269
  86. data/lib/stripe/services/application_fee_service.rb +1 -1
  87. data/lib/stripe/services/apps_service.rb +1 -1
  88. data/lib/stripe/services/billing/credit_balance_summary_service.rb +1 -4
  89. data/lib/stripe/services/billing/credit_balance_transaction_service.rb +0 -4
  90. data/lib/stripe/services/billing/credit_grant_service.rb +0 -8
  91. data/lib/stripe/services/billing/meter_service.rb +1 -1
  92. data/lib/stripe/services/billing_portal/session_service.rb +0 -4
  93. data/lib/stripe/services/billing_portal_service.rb +1 -1
  94. data/lib/stripe/services/billing_service.rb +1 -1
  95. data/lib/stripe/services/charge_service.rb +0 -1334
  96. data/lib/stripe/services/checkout/session_service.rb +5 -175
  97. data/lib/stripe/services/checkout_service.rb +1 -1
  98. data/lib/stripe/services/climate_service.rb +1 -1
  99. data/lib/stripe/services/credit_note_service.rb +1 -5
  100. data/lib/stripe/services/customer_payment_method_service.rb +1 -1
  101. data/lib/stripe/services/customer_service.rb +2 -2
  102. data/lib/stripe/services/customer_session_service.rb +1 -4
  103. data/lib/stripe/services/customer_tax_id_service.rb +1 -1
  104. data/lib/stripe/services/entitlements_service.rb +1 -1
  105. data/lib/stripe/services/financial_connections/account_service.rb +3 -8
  106. data/lib/stripe/services/financial_connections/session_service.rb +2 -34
  107. data/lib/stripe/services/financial_connections_service.rb +2 -3
  108. data/lib/stripe/services/forwarding_service.rb +1 -1
  109. data/lib/stripe/services/identity/verification_session_service.rb +0 -8
  110. data/lib/stripe/services/identity_service.rb +1 -1
  111. data/lib/stripe/services/invoice_item_service.rb +2 -74
  112. data/lib/stripe/services/invoice_line_item_service.rb +1 -33
  113. data/lib/stripe/services/invoice_payment_service.rb +33 -5
  114. data/lib/stripe/services/invoice_service.rb +18 -1089
  115. data/lib/stripe/services/issuing/cardholder_service.rb +1 -2
  116. data/lib/stripe/services/issuing/transaction_service.rb +0 -4
  117. data/lib/stripe/services/issuing_service.rb +2 -6
  118. data/lib/stripe/services/payment_intent_service.rb +290 -4603
  119. data/lib/stripe/services/payment_link_service.rb +1 -1
  120. data/lib/stripe/services/payment_method_configuration_service.rb +10 -178
  121. data/lib/stripe/services/payment_method_service.rb +9 -128
  122. data/lib/stripe/services/payout_service.rb +0 -4
  123. data/lib/stripe/services/price_service.rb +0 -19
  124. data/lib/stripe/services/product_service.rb +1 -39
  125. data/lib/stripe/services/promotion_code_service.rb +0 -8
  126. data/lib/stripe/services/quote_service.rb +8 -1727
  127. data/lib/stripe/services/radar_service.rb +1 -1
  128. data/lib/stripe/services/reporting_service.rb +1 -1
  129. data/lib/stripe/services/setup_intent_service.rb +21 -559
  130. data/lib/stripe/services/sigma_service.rb +1 -1
  131. data/lib/stripe/services/source_service.rb +1 -1
  132. data/lib/stripe/services/subscription_item_service.rb +3 -75
  133. data/lib/stripe/services/subscription_schedule_service.rb +10 -911
  134. data/lib/stripe/services/subscription_service.rb +10 -254
  135. data/lib/stripe/services/tax/calculation_service.rb +2 -2
  136. data/lib/stripe/services/tax/registration_service.rb +143 -0
  137. data/lib/stripe/services/tax/transaction_service.rb +1 -1
  138. data/lib/stripe/services/tax_id_service.rb +3 -9
  139. data/lib/stripe/services/tax_service.rb +2 -4
  140. data/lib/stripe/services/terminal/reader_service.rb +0 -180
  141. data/lib/stripe/services/terminal_service.rb +2 -3
  142. data/lib/stripe/services/test_helpers/confirmation_token_service.rb +7 -107
  143. data/lib/stripe/services/test_helpers/issuing_service.rb +1 -1
  144. data/lib/stripe/services/test_helpers/terminal/reader_service.rb +0 -43
  145. data/lib/stripe/services/test_helpers/terminal_service.rb +1 -1
  146. data/lib/stripe/services/test_helpers/treasury/received_credit_service.rb +1 -25
  147. data/lib/stripe/services/test_helpers/treasury/received_debit_service.rb +1 -25
  148. data/lib/stripe/services/test_helpers/treasury_service.rb +1 -1
  149. data/lib/stripe/services/test_helpers_service.rb +1 -1
  150. data/lib/stripe/services/token_service.rb +61 -0
  151. data/lib/stripe/services/transfer_service.rb +1 -1
  152. data/lib/stripe/services/treasury/financial_account_features_service.rb +1 -4
  153. data/lib/stripe/services/treasury/financial_account_service.rb +3 -17
  154. data/lib/stripe/services/treasury/outbound_transfer_service.rb +0 -24
  155. data/lib/stripe/services/treasury_service.rb +1 -1
  156. data/lib/stripe/services/v1_services.rb +3 -12
  157. data/lib/stripe/services/v2/billing_service.rb +1 -1
  158. data/lib/stripe/services/v2/core_service.rb +2 -5
  159. data/lib/stripe/services/v2_services.rb +3 -5
  160. data/lib/stripe/services.rb +0 -52
  161. data/lib/stripe/stripe_configuration.rb +1 -3
  162. data/lib/stripe/stripe_object.rb +1 -1
  163. data/lib/stripe/util.rb +1 -7
  164. data/lib/stripe/version.rb +1 -1
  165. data/lib/stripe.rb +0 -55
  166. data/rbi/stripe/resources/account.rbi +4903 -0
  167. data/rbi/stripe/resources/account_link.rbi +74 -0
  168. data/rbi/stripe/resources/account_session.rbi +894 -0
  169. data/rbi/stripe/resources/apple_pay_domain.rbi +90 -0
  170. data/rbi/stripe/resources/application.rbi +20 -0
  171. data/rbi/stripe/resources/application_fee.rbi +118 -0
  172. data/rbi/stripe/resources/application_fee_refund.rbi +37 -0
  173. data/rbi/stripe/resources/apps/secret.rbi +195 -0
  174. data/rbi/stripe/resources/balance.rbi +180 -0
  175. data/rbi/stripe/resources/balance_transaction.rbi +144 -0
  176. data/rbi/stripe/resources/bank_account.rbi +127 -0
  177. data/rbi/stripe/resources/billing/alert.rbi +201 -0
  178. data/rbi/stripe/resources/billing/alert_triggered.rbi +28 -0
  179. data/rbi/stripe/resources/billing/credit_balance_summary.rbi +63 -0
  180. data/rbi/stripe/resources/billing/credit_balance_transaction.rbi +147 -0
  181. data/rbi/stripe/resources/billing/credit_grant.rbi +291 -0
  182. data/rbi/stripe/resources/billing/meter.rbi +226 -0
  183. data/rbi/stripe/resources/billing/meter_event.rbi +64 -0
  184. data/rbi/stripe/resources/billing/meter_event_adjustment.rbi +64 -0
  185. data/rbi/stripe/resources/billing/meter_event_summary.rbi +35 -0
  186. data/rbi/stripe/resources/billing_portal/configuration.rbi +645 -0
  187. data/rbi/stripe/resources/billing_portal/session.rbi +345 -0
  188. data/rbi/stripe/resources/capability.rbi +125 -0
  189. data/rbi/stripe/resources/card.rbi +125 -0
  190. data/rbi/stripe/resources/cash_balance.rbi +32 -0
  191. data/rbi/stripe/resources/charge.rbi +2057 -0
  192. data/rbi/stripe/resources/checkout/session.rbi +3988 -0
  193. data/rbi/stripe/resources/climate/order.rbi +245 -0
  194. data/rbi/stripe/resources/climate/product.rbi +75 -0
  195. data/rbi/stripe/resources/climate/supplier.rbi +72 -0
  196. data/rbi/stripe/resources/confirmation_token.rbi +1873 -0
  197. data/rbi/stripe/resources/connect_collection_transfer.rbi +26 -0
  198. data/rbi/stripe/resources/country_spec.rbi +85 -0
  199. data/rbi/stripe/resources/coupon.rbi +252 -0
  200. data/rbi/stripe/resources/credit_note.rbi +747 -0
  201. data/rbi/stripe/resources/credit_note_line_item.rbi +101 -0
  202. data/rbi/stripe/resources/customer.rbi +1009 -0
  203. data/rbi/stripe/resources/customer_balance_transaction.rbi +56 -0
  204. data/rbi/stripe/resources/customer_cash_balance_transaction.rbi +151 -0
  205. data/rbi/stripe/resources/customer_session.rbi +200 -0
  206. data/rbi/stripe/resources/discount.rbi +53 -0
  207. data/rbi/stripe/resources/dispute.rbi +761 -0
  208. data/rbi/stripe/resources/entitlements/active_entitlement.rbi +58 -0
  209. data/rbi/stripe/resources/entitlements/active_entitlement_summary.rbi +23 -0
  210. data/rbi/stripe/resources/entitlements/feature.rbi +117 -0
  211. data/rbi/stripe/resources/ephemeral_key.rbi +44 -0
  212. data/rbi/stripe/resources/event.rbi +149 -0
  213. data/rbi/stripe/resources/exchange_rate.rbi +66 -0
  214. data/rbi/stripe/resources/file.rbi +143 -0
  215. data/rbi/stripe/resources/file_link.rbi +141 -0
  216. data/rbi/stripe/resources/financial_connections/account.rbi +339 -0
  217. data/rbi/stripe/resources/financial_connections/account_owner.rbi +35 -0
  218. data/rbi/stripe/resources/financial_connections/account_ownership.rbi +23 -0
  219. data/rbi/stripe/resources/financial_connections/session.rbi +123 -0
  220. data/rbi/stripe/resources/financial_connections/transaction.rbi +124 -0
  221. data/rbi/stripe/resources/forwarding/request.rbi +216 -0
  222. data/rbi/stripe/resources/funding_instructions.rbi +437 -0
  223. data/rbi/stripe/resources/identity/verification_report.rbi +351 -0
  224. data/rbi/stripe/resources/identity/verification_session.rbi +517 -0
  225. data/rbi/stripe/resources/invoice.rbi +3736 -0
  226. data/rbi/stripe/resources/invoice_item.rbi +475 -0
  227. data/rbi/stripe/resources/invoice_line_item.rbi +432 -0
  228. data/rbi/stripe/resources/invoice_payment.rbi +114 -0
  229. data/rbi/stripe/resources/invoice_rendering_template.rbi +104 -0
  230. data/rbi/stripe/resources/issuing/authorization.rbi +1283 -0
  231. data/rbi/stripe/resources/issuing/card.rbi +741 -0
  232. data/rbi/stripe/resources/issuing/cardholder.rbi +744 -0
  233. data/rbi/stripe/resources/issuing/dispute.rbi +913 -0
  234. data/rbi/stripe/resources/issuing/personalization_design.rbi +338 -0
  235. data/rbi/stripe/resources/issuing/physical_bundle.rbi +79 -0
  236. data/rbi/stripe/resources/issuing/token.rbi +226 -0
  237. data/rbi/stripe/resources/issuing/transaction.rbi +1061 -0
  238. data/rbi/stripe/resources/line_item.rbi +72 -0
  239. data/rbi/stripe/resources/login_link.rbi +19 -0
  240. data/rbi/stripe/resources/mandate.rbi +187 -0
  241. data/rbi/stripe/resources/payment_intent.rbi +9795 -0
  242. data/rbi/stripe/resources/payment_link.rbi +1801 -0
  243. data/rbi/stripe/resources/payment_method.rbi +1831 -0
  244. data/rbi/stripe/resources/payment_method_configuration.rbi +3220 -0
  245. data/rbi/stripe/resources/payment_method_domain.rbi +228 -0
  246. data/rbi/stripe/resources/payout.rbi +300 -0
  247. data/rbi/stripe/resources/person.rbi +401 -0
  248. data/rbi/stripe/resources/plan.rbi +373 -0
  249. data/rbi/stripe/resources/price.rbi +694 -0
  250. data/rbi/stripe/resources/product.rbi +557 -0
  251. data/rbi/stripe/resources/product_feature.rbi +26 -0
  252. data/rbi/stripe/resources/promotion_code.rbi +261 -0
  253. data/rbi/stripe/resources/quote.rbi +1126 -0
  254. data/rbi/stripe/resources/radar/early_fraud_warning.rbi +98 -0
  255. data/rbi/stripe/resources/radar/value_list.rbi +170 -0
  256. data/rbi/stripe/resources/radar/value_list_item.rbi +131 -0
  257. data/rbi/stripe/resources/refund.rbi +519 -0
  258. data/rbi/stripe/resources/reporting/report_run.rbi +191 -0
  259. data/rbi/stripe/resources/reporting/report_type.rbi +57 -0
  260. data/rbi/stripe/resources/reserve_transaction.rbi +23 -0
  261. data/rbi/stripe/resources/reversal.rbi +51 -0
  262. data/rbi/stripe/resources/review.rbi +154 -0
  263. data/rbi/stripe/resources/setup_attempt.rbi +477 -0
  264. data/rbi/stripe/resources/setup_intent.rbi +3869 -0
  265. data/rbi/stripe/resources/shipping_rate.rbi +305 -0
  266. data/rbi/stripe/resources/sigma/scheduled_query_run.rbi +75 -0
  267. data/rbi/stripe/resources/source.rbi +1496 -0
  268. data/rbi/stripe/resources/source_mandate_notification.rbi +77 -0
  269. data/rbi/stripe/resources/source_transaction.rbi +127 -0
  270. data/rbi/stripe/resources/subscription.rbi +1964 -0
  271. data/rbi/stripe/resources/subscription_item.rbi +370 -0
  272. data/rbi/stripe/resources/subscription_schedule.rbi +1495 -0
  273. data/rbi/stripe/resources/tax/calculation.rbi +474 -0
  274. data/rbi/stripe/resources/tax/calculation_line_item.rbi +88 -0
  275. data/rbi/stripe/resources/tax/registration.rbi +2713 -0
  276. data/rbi/stripe/resources/tax/settings.rbi +141 -0
  277. data/rbi/stripe/resources/tax/transaction.rbi +351 -0
  278. data/rbi/stripe/resources/tax/transaction_line_item.rbi +54 -0
  279. data/rbi/stripe/resources/tax_code.rbi +44 -0
  280. data/rbi/stripe/resources/tax_deducted_at_source.rbi +23 -0
  281. data/rbi/stripe/resources/tax_id.rbi +167 -0
  282. data/rbi/stripe/resources/tax_rate.rbi +239 -0
  283. data/rbi/stripe/resources/terminal/configuration.rbi +1388 -0
  284. data/rbi/stripe/resources/terminal/connection_token.rbi +37 -0
  285. data/rbi/stripe/resources/terminal/location.rbi +224 -0
  286. data/rbi/stripe/resources/terminal/reader.rbi +587 -0
  287. data/rbi/stripe/resources/test_helpers/test_clock.rbi +134 -0
  288. data/rbi/stripe/resources/token.rbi +1283 -0
  289. data/rbi/stripe/resources/topup.rbi +222 -0
  290. data/rbi/stripe/resources/transfer.rbi +199 -0
  291. data/rbi/stripe/resources/treasury/credit_reversal.rbi +119 -0
  292. data/rbi/stripe/resources/treasury/debit_reversal.rbi +131 -0
  293. data/rbi/stripe/resources/treasury/financial_account.rbi +865 -0
  294. data/rbi/stripe/resources/treasury/financial_account_features.rbi +260 -0
  295. data/rbi/stripe/resources/treasury/inbound_transfer.rbi +295 -0
  296. data/rbi/stripe/resources/treasury/outbound_payment.rbi +592 -0
  297. data/rbi/stripe/resources/treasury/outbound_transfer.rbi +431 -0
  298. data/rbi/stripe/resources/treasury/received_credit.rbi +302 -0
  299. data/rbi/stripe/resources/treasury/received_debit.rbi +256 -0
  300. data/rbi/stripe/resources/treasury/transaction.rbi +215 -0
  301. data/rbi/stripe/resources/treasury/transaction_entry.rbi +192 -0
  302. data/rbi/stripe/resources/v2/amount.rbi +14 -0
  303. data/rbi/stripe/resources/v2/billing/meter_event.rbi +37 -0
  304. data/rbi/stripe/resources/v2/billing/meter_event_adjustment.rbi +41 -0
  305. data/rbi/stripe/resources/v2/billing/meter_event_session.rbi +31 -0
  306. data/rbi/stripe/resources/v2/event.rbi +48 -0
  307. data/rbi/stripe/resources/v2/event_destination.rbi +91 -0
  308. data/rbi/stripe/resources/webhook_endpoint.rbi +170 -0
  309. data/rbi/stripe/services/account_capability_service.rbi +51 -0
  310. data/{lib/stripe/services/external_account_service.rb → rbi/stripe/services/account_external_account_service.rbi} +124 -136
  311. data/rbi/stripe/services/account_link_service.rbi +58 -0
  312. data/rbi/stripe/services/account_login_link_service.rbi +22 -0
  313. data/rbi/stripe/services/account_person_service.rbi +1013 -0
  314. data/rbi/stripe/services/account_service.rbi +4189 -0
  315. data/rbi/stripe/services/account_session_service.rbi +572 -0
  316. data/rbi/stripe/services/apple_pay_domain_service.rbi +78 -0
  317. data/rbi/stripe/services/application_fee_refund_service.rbi +93 -0
  318. data/rbi/stripe/services/application_fee_service.rbi +78 -0
  319. data/rbi/stripe/services/apps/secret_service.rbi +151 -0
  320. data/rbi/stripe/services/apps_service.rbi +9 -0
  321. data/rbi/stripe/services/balance_service.rbi +21 -0
  322. data/rbi/stripe/services/balance_transaction_service.rbi +93 -0
  323. data/rbi/stripe/services/billing/alert_service.rbi +152 -0
  324. data/rbi/stripe/services/billing/credit_balance_summary_service.rbi +68 -0
  325. data/rbi/stripe/services/billing/credit_balance_transaction_service.rbi +59 -0
  326. data/rbi/stripe/services/billing/credit_grant_service.rbi +211 -0
  327. data/rbi/stripe/services/billing/meter_event_adjustment_service.rbi +42 -0
  328. data/rbi/stripe/services/billing/meter_event_service.rbi +42 -0
  329. data/rbi/stripe/services/billing/meter_event_summary_service.rbi +54 -0
  330. data/rbi/stripe/services/billing/meter_service.rbi +163 -0
  331. data/rbi/stripe/services/billing_portal/configuration_service.rbi +511 -0
  332. data/rbi/stripe/services/billing_portal/session_service.rbi +204 -0
  333. data/rbi/stripe/services/billing_portal_service.rbi +10 -0
  334. data/rbi/stripe/services/billing_service.rbi +15 -0
  335. data/rbi/stripe/services/charge_service.rbi +448 -0
  336. data/rbi/stripe/services/checkout/session_line_item_service.rbi +33 -0
  337. data/rbi/stripe/services/checkout/session_service.rbi +2607 -0
  338. data/rbi/stripe/services/checkout_service.rbi +9 -0
  339. data/rbi/stripe/services/climate/order_service.rbi +142 -0
  340. data/{lib/stripe/services/privacy/redaction_job_validation_error_service.rb → rbi/stripe/services/climate/product_service.rbi} +25 -36
  341. data/{lib/stripe/services/financial_connections/institution_service.rb → rbi/stripe/services/climate/supplier_service.rbi} +25 -36
  342. data/rbi/stripe/services/climate_service.rbi +11 -0
  343. data/rbi/stripe/services/confirmation_token_service.rbi +20 -0
  344. data/rbi/stripe/services/country_spec_service.rbi +44 -0
  345. data/rbi/stripe/services/coupon_service.rbi +196 -0
  346. data/{lib/stripe/services/quote_preview_subscription_schedule_service.rb → rbi/stripe/services/credit_note_line_item_service.rbi} +16 -20
  347. data/rbi/stripe/services/credit_note_preview_lines_service.rbi +167 -0
  348. data/rbi/stripe/services/credit_note_service.rbi +416 -0
  349. data/rbi/stripe/services/customer_balance_transaction_service.rbi +92 -0
  350. data/rbi/stripe/services/customer_cash_balance_service.rbi +45 -0
  351. data/rbi/stripe/services/customer_cash_balance_transaction_service.rbi +44 -0
  352. data/rbi/stripe/services/customer_funding_instructions_service.rbi +59 -0
  353. data/rbi/stripe/services/customer_payment_method_service.rbi +57 -0
  354. data/rbi/stripe/services/customer_payment_source_service.rbi +232 -0
  355. data/rbi/stripe/services/customer_service.rbi +651 -0
  356. data/rbi/stripe/services/customer_session_service.rbi +116 -0
  357. data/rbi/stripe/services/customer_tax_id_service.rbi +72 -0
  358. data/rbi/stripe/services/dispute_service.rbi +424 -0
  359. data/rbi/stripe/services/entitlements/active_entitlement_service.rbi +55 -0
  360. data/rbi/stripe/services/entitlements/feature_service.rbi +107 -0
  361. data/rbi/stripe/services/entitlements_service.rbi +10 -0
  362. data/rbi/stripe/services/ephemeral_key_service.rbi +53 -0
  363. data/rbi/stripe/services/event_service.rbi +83 -0
  364. data/rbi/stripe/services/exchange_rate_service.rbi +44 -0
  365. data/rbi/stripe/services/file_link_service.rbi +124 -0
  366. data/rbi/stripe/services/file_service.rbi +116 -0
  367. data/rbi/stripe/services/financial_connections/account_owner_service.rbi +42 -0
  368. data/rbi/stripe/services/financial_connections/account_service.rbi +133 -0
  369. data/rbi/stripe/services/financial_connections/session_service.rbi +88 -0
  370. data/rbi/stripe/services/financial_connections/transaction_service.rbi +92 -0
  371. data/rbi/stripe/services/financial_connections_service.rbi +11 -0
  372. data/rbi/stripe/services/forwarding/request_service.rbi +134 -0
  373. data/rbi/stripe/services/forwarding_service.rbi +9 -0
  374. data/rbi/stripe/services/identity/verification_report_service.rbi +87 -0
  375. data/rbi/stripe/services/identity/verification_session_service.rbi +323 -0
  376. data/rbi/stripe/services/identity_service.rbi +10 -0
  377. data/rbi/stripe/services/invoice_item_service.rbi +368 -0
  378. data/rbi/stripe/services/invoice_line_item_service.rbi +259 -0
  379. data/rbi/stripe/services/invoice_payment_service.rbi +71 -0
  380. data/rbi/stripe/services/invoice_rendering_template_service.rbi +82 -0
  381. data/rbi/stripe/services/invoice_service.rbi +2920 -0
  382. data/rbi/stripe/services/issuing/authorization_service.rbi +146 -0
  383. data/rbi/stripe/services/issuing/card_service.rbi +495 -0
  384. data/rbi/stripe/services/issuing/cardholder_service.rbi +587 -0
  385. data/rbi/stripe/services/issuing/dispute_service.rbi +707 -0
  386. data/rbi/stripe/services/issuing/personalization_design_service.rbi +243 -0
  387. data/rbi/stripe/services/issuing/physical_bundle_service.rbi +59 -0
  388. data/rbi/stripe/services/issuing/token_service.rbi +99 -0
  389. data/rbi/stripe/services/issuing/transaction_service.rbi +105 -0
  390. data/rbi/stripe/services/issuing_service.rbi +16 -0
  391. data/rbi/stripe/services/mandate_service.rbi +20 -0
  392. data/rbi/stripe/services/payment_intent_service.rbi +7819 -0
  393. data/{lib/stripe/services/quote_line_service.rb → rbi/stripe/services/payment_link_line_item_service.rbi} +16 -20
  394. data/rbi/stripe/services/payment_link_service.rbi +1352 -0
  395. data/rbi/stripe/services/payment_method_configuration_service.rbi +2255 -0
  396. data/rbi/stripe/services/payment_method_domain_service.rbi +112 -0
  397. data/rbi/stripe/services/payment_method_service.rbi +846 -0
  398. data/rbi/stripe/services/payout_service.rbi +205 -0
  399. data/rbi/stripe/services/plan_service.rbi +284 -0
  400. data/rbi/stripe/services/price_service.rbi +546 -0
  401. data/rbi/stripe/services/product_feature_service.rbi +69 -0
  402. data/rbi/stripe/services/product_service.rbi +479 -0
  403. data/rbi/stripe/services/promotion_code_service.rbi +214 -0
  404. data/rbi/stripe/services/quote_computed_upfront_line_items_service.rbi +31 -0
  405. data/{lib/stripe/services/order_line_item_service.rb → rbi/stripe/services/quote_line_item_service.rbi} +16 -20
  406. data/rbi/stripe/services/quote_service.rbi +686 -0
  407. data/rbi/stripe/services/radar/early_fraud_warning_service.rbi +85 -0
  408. data/rbi/stripe/services/radar/value_list_item_service.rbi +111 -0
  409. data/rbi/stripe/services/radar/value_list_service.rbi +143 -0
  410. data/rbi/stripe/services/radar_service.rbi +11 -0
  411. data/rbi/stripe/services/refund_service.rbi +185 -0
  412. data/rbi/stripe/services/reporting/report_run_service.rbi +135 -0
  413. data/rbi/stripe/services/reporting/report_type_service.rbi +35 -0
  414. data/rbi/stripe/services/reporting_service.rbi +10 -0
  415. data/rbi/stripe/services/review_service.rbi +84 -0
  416. data/rbi/stripe/services/setup_attempt_service.rbi +65 -0
  417. data/rbi/stripe/services/setup_intent_service.rbi +3605 -0
  418. data/rbi/stripe/services/shipping_rate_service.rbi +241 -0
  419. data/rbi/stripe/services/sigma/scheduled_query_run_service.rbi +46 -0
  420. data/rbi/stripe/services/sigma_service.rbi +9 -0
  421. data/rbi/stripe/services/source_service.rbi +663 -0
  422. data/{lib/stripe/services/quote_preview_invoice_service.rb → rbi/stripe/services/source_transaction_service.rbi} +16 -20
  423. data/rbi/stripe/services/subscription_item_service.rbi +324 -0
  424. data/rbi/stripe/services/subscription_schedule_service.rbi +1192 -0
  425. data/rbi/stripe/services/subscription_service.rbi +1596 -0
  426. data/rbi/stripe/services/tax/calculation_line_item_service.rbi +33 -0
  427. data/rbi/stripe/services/tax/calculation_service.rbi +230 -0
  428. data/rbi/stripe/services/tax/registration_service.rbi +1845 -0
  429. data/rbi/stripe/services/tax/settings_service.rbi +93 -0
  430. data/{lib/stripe/services/financial_connections/account_inferred_balance_service.rb → rbi/stripe/services/tax/transaction_line_item_service.rbi} +17 -21
  431. data/rbi/stripe/services/tax/transaction_service.rbi +146 -0
  432. data/rbi/stripe/services/tax_code_service.rbi +44 -0
  433. data/rbi/stripe/services/tax_id_service.rbi +112 -0
  434. data/rbi/stripe/services/tax_rate_service.rbi +185 -0
  435. data/rbi/stripe/services/tax_service.rbi +12 -0
  436. data/rbi/stripe/services/terminal/configuration_service.rbi +1120 -0
  437. data/rbi/stripe/services/terminal/connection_token_service.rbi +25 -0
  438. data/rbi/stripe/services/terminal/location_service.rbi +184 -0
  439. data/rbi/stripe/services/terminal/reader_service.rbi +344 -0
  440. data/rbi/stripe/services/terminal_service.rbi +12 -0
  441. data/rbi/stripe/services/test_helpers/confirmation_token_service.rbi +805 -0
  442. data/rbi/stripe/services/test_helpers/customer_service.rbi +33 -0
  443. data/rbi/stripe/services/test_helpers/issuing/authorization_service.rbi +848 -0
  444. data/rbi/stripe/services/test_helpers/issuing/card_service.rbi +76 -0
  445. data/rbi/stripe/services/test_helpers/issuing/personalization_design_service.rbi +69 -0
  446. data/rbi/stripe/services/test_helpers/issuing/transaction_service.rbi +711 -0
  447. data/rbi/stripe/services/test_helpers/issuing_service.rbi +14 -0
  448. data/rbi/stripe/services/test_helpers/refund_service.rbi +22 -0
  449. data/rbi/stripe/services/test_helpers/terminal/reader_service.rbi +62 -0
  450. data/rbi/stripe/services/test_helpers/terminal_service.rbi +11 -0
  451. data/rbi/stripe/services/test_helpers/test_clock_service.rbi +92 -0
  452. data/rbi/stripe/services/test_helpers/treasury/inbound_transfer_service.rbi +64 -0
  453. data/rbi/stripe/services/test_helpers/treasury/outbound_payment_service.rbi +125 -0
  454. data/rbi/stripe/services/test_helpers/treasury/outbound_transfer_service.rbi +125 -0
  455. data/rbi/stripe/services/test_helpers/treasury/received_credit_service.rbi +87 -0
  456. data/rbi/stripe/services/test_helpers/treasury/received_debit_service.rbi +87 -0
  457. data/rbi/stripe/services/test_helpers/treasury_service.rbi +15 -0
  458. data/rbi/stripe/services/test_helpers_service.rbi +15 -0
  459. data/rbi/stripe/services/token_service.rbi +1257 -0
  460. data/rbi/stripe/services/topup_service.rbi +176 -0
  461. data/rbi/stripe/services/transfer_reversal_service.rbi +101 -0
  462. data/rbi/stripe/services/transfer_service.rbi +152 -0
  463. data/rbi/stripe/services/treasury/credit_reversal_service.rbi +84 -0
  464. data/rbi/stripe/services/treasury/debit_reversal_service.rbi +88 -0
  465. data/rbi/stripe/services/treasury/financial_account_features_service.rbi +198 -0
  466. data/rbi/stripe/services/treasury/financial_account_service.rbi +562 -0
  467. data/rbi/stripe/services/treasury/inbound_transfer_service.rbi +117 -0
  468. data/rbi/stripe/services/treasury/outbound_payment_service.rbi +304 -0
  469. data/rbi/stripe/services/treasury/outbound_transfer_service.rbi +157 -0
  470. data/rbi/stripe/services/treasury/received_credit_service.rbi +72 -0
  471. data/rbi/stripe/services/treasury/received_debit_service.rbi +59 -0
  472. data/rbi/stripe/services/treasury/transaction_entry_service.rbi +111 -0
  473. data/rbi/stripe/services/treasury/transaction_service.rbi +122 -0
  474. data/rbi/stripe/services/treasury_service.rbi +18 -0
  475. data/rbi/stripe/services/v1_services.rbi +77 -0
  476. data/rbi/stripe/services/v2/billing/meter_event_adjustment_service.rbi +39 -0
  477. data/rbi/stripe/services/v2/billing/meter_event_service.rbi +42 -0
  478. data/rbi/stripe/services/v2/billing/meter_event_session_service.rbi +20 -0
  479. data/rbi/stripe/services/v2/billing/meter_event_stream_service.rbi +55 -0
  480. data/rbi/stripe/services/v2/billing_service.rbi +14 -0
  481. data/rbi/stripe/services/v2/core/event_destination_service.rbi +200 -0
  482. data/rbi/stripe/services/v2/core/event_service.rbi +38 -0
  483. data/rbi/stripe/services/v2/core_service.rbi +12 -0
  484. data/rbi/stripe/services/v2_services.rbi +10 -0
  485. data/rbi/stripe/services/webhook_endpoint_service.rbi +131 -0
  486. data/stripe.gemspec +1 -4
  487. metadata +325 -146
  488. data/lib/stripe/events/v2_core_account_including_configuration_customer_capability_status_updated_event.rb +0 -23
  489. data/lib/stripe/events/v2_core_account_including_configuration_customer_updated_event.rb +0 -21
  490. data/lib/stripe/events/v2_core_account_including_configuration_merchant_capability_status_updated_event.rb +0 -23
  491. data/lib/stripe/events/v2_core_account_including_configuration_merchant_updated_event.rb +0 -21
  492. data/lib/stripe/events/v2_core_account_including_configuration_recipient_capability_status_updated_event.rb +0 -23
  493. data/lib/stripe/events/v2_core_account_including_configuration_recipient_updated_event.rb +0 -21
  494. data/lib/stripe/events/v2_core_account_including_requirements_updated_event.rb +0 -21
  495. data/lib/stripe/events/v2_core_account_link_completed_event.rb +0 -13
  496. data/lib/stripe/events/v2_core_account_person_created_event.rb +0 -23
  497. data/lib/stripe/events/v2_core_account_person_deleted_event.rb +0 -23
  498. data/lib/stripe/events/v2_core_account_person_updated_event.rb +0 -23
  499. data/lib/stripe/events/v2_money_management_financial_account_created_event.rb +0 -21
  500. data/lib/stripe/events/v2_money_management_financial_address_activated_event.rb +0 -21
  501. data/lib/stripe/events/v2_money_management_financial_address_failed_event.rb +0 -21
  502. data/lib/stripe/events/v2_money_management_inbound_transfer_available_event.rb +0 -23
  503. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_failed_event.rb +0 -21
  504. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_processing_event.rb +0 -21
  505. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_queued_event.rb +0 -21
  506. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_returned_event.rb +0 -21
  507. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_succeeded_event.rb +0 -21
  508. data/lib/stripe/events/v2_money_management_outbound_payment_canceled_event.rb +0 -21
  509. data/lib/stripe/events/v2_money_management_outbound_payment_created_event.rb +0 -21
  510. data/lib/stripe/events/v2_money_management_outbound_payment_failed_event.rb +0 -21
  511. data/lib/stripe/events/v2_money_management_outbound_payment_posted_event.rb +0 -21
  512. data/lib/stripe/events/v2_money_management_outbound_payment_returned_event.rb +0 -21
  513. data/lib/stripe/events/v2_money_management_outbound_transfer_canceled_event.rb +0 -21
  514. data/lib/stripe/events/v2_money_management_outbound_transfer_created_event.rb +0 -21
  515. data/lib/stripe/events/v2_money_management_outbound_transfer_failed_event.rb +0 -21
  516. data/lib/stripe/events/v2_money_management_outbound_transfer_posted_event.rb +0 -21
  517. data/lib/stripe/events/v2_money_management_outbound_transfer_returned_event.rb +0 -21
  518. data/lib/stripe/events/v2_money_management_received_credit_available_event.rb +0 -23
  519. data/lib/stripe/events/v2_money_management_received_credit_failed_event.rb +0 -21
  520. data/lib/stripe/events/v2_money_management_received_credit_returned_event.rb +0 -21
  521. data/lib/stripe/events/v2_money_management_received_credit_succeeded_event.rb +0 -21
  522. data/lib/stripe/events/v2_money_management_received_debit_canceled_event.rb +0 -21
  523. data/lib/stripe/events/v2_money_management_received_debit_failed_event.rb +0 -21
  524. data/lib/stripe/events/v2_money_management_received_debit_pending_event.rb +0 -21
  525. data/lib/stripe/events/v2_money_management_received_debit_succeeded_event.rb +0 -21
  526. data/lib/stripe/events/v2_money_management_received_debit_updated_event.rb +0 -21
  527. data/lib/stripe/request_signing_authenticator.rb +0 -79
  528. data/lib/stripe/resources/account_notice.rb +0 -123
  529. data/lib/stripe/resources/balance_settings.rb +0 -101
  530. data/lib/stripe/resources/billing/meter_error_report.rb +0 -59
  531. data/lib/stripe/resources/capital/financing_offer.rb +0 -179
  532. data/lib/stripe/resources/capital/financing_summary.rb +0 -55
  533. data/lib/stripe/resources/capital/financing_transaction.rb +0 -114
  534. data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +0 -27
  535. data/lib/stripe/resources/financial_connections/institution.rb +0 -90
  536. data/lib/stripe/resources/gift_cards/card.rb +0 -208
  537. data/lib/stripe/resources/gift_cards/transaction.rb +0 -272
  538. data/lib/stripe/resources/issuing/credit_underwriting_record.rb +0 -602
  539. data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +0 -82
  540. data/lib/stripe/resources/issuing/fraud_liability_debit.rb +0 -86
  541. data/lib/stripe/resources/issuing/settlement.rb +0 -53
  542. data/lib/stripe/resources/margin.rb +0 -115
  543. data/lib/stripe/resources/order.rb +0 -2859
  544. data/lib/stripe/resources/payment_attempt_record.rb +0 -1078
  545. data/lib/stripe/resources/payment_record.rb +0 -1607
  546. data/lib/stripe/resources/privacy/redaction_job.rb +0 -251
  547. data/lib/stripe/resources/privacy/redaction_job_root_objects.rb +0 -35
  548. data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +0 -54
  549. data/lib/stripe/resources/quote_line.rb +0 -274
  550. data/lib/stripe/resources/quote_preview_invoice.rb +0 -663
  551. data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -337
  552. data/lib/stripe/resources/tax/association.rb +0 -89
  553. data/lib/stripe/resources/tax/form.rb +0 -211
  554. data/lib/stripe/resources/terminal/reader_collected_data.rb +0 -31
  555. data/lib/stripe/resources/v2/core/account.rb +0 -1715
  556. data/lib/stripe/resources/v2/core/account_link.rb +0 -54
  557. data/lib/stripe/resources/v2/core/person.rb +0 -272
  558. data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +0 -72
  559. data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +0 -37
  560. data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +0 -18
  561. data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +0 -20
  562. data/lib/stripe/resources/v2/money_management/adjustment.rb +0 -49
  563. data/lib/stripe/resources/v2/money_management/financial_account.rb +0 -56
  564. data/lib/stripe/resources/v2/money_management/financial_address.rb +0 -66
  565. data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +0 -92
  566. data/lib/stripe/resources/v2/money_management/outbound_payment.rb +0 -127
  567. data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +0 -74
  568. data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +0 -43
  569. data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +0 -115
  570. data/lib/stripe/resources/v2/money_management/payout_method.rb +0 -73
  571. data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +0 -47
  572. data/lib/stripe/resources/v2/money_management/received_credit.rb +0 -134
  573. data/lib/stripe/resources/v2/money_management/received_debit.rb +0 -106
  574. data/lib/stripe/resources/v2/money_management/transaction.rb +0 -76
  575. data/lib/stripe/resources/v2/money_management/transaction_entry.rb +0 -66
  576. data/lib/stripe/services/account_notice_service.rb +0 -101
  577. data/lib/stripe/services/balance_settings_service.rb +0 -96
  578. data/lib/stripe/services/capital/financing_offer_service.rb +0 -112
  579. data/lib/stripe/services/capital/financing_summary_service.rb +0 -28
  580. data/lib/stripe/services/capital/financing_transaction_service.rb +0 -79
  581. data/lib/stripe/services/capital_service.rb +0 -15
  582. data/lib/stripe/services/gift_cards/card_service.rb +0 -170
  583. data/lib/stripe/services/gift_cards/transaction_service.rb +0 -209
  584. data/lib/stripe/services/gift_cards_service.rb +0 -14
  585. data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +0 -504
  586. data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +0 -66
  587. data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +0 -83
  588. data/lib/stripe/services/margin_service.rb +0 -119
  589. data/lib/stripe/services/order_service.rb +0 -2268
  590. data/lib/stripe/services/payment_attempt_record_service.rb +0 -49
  591. data/lib/stripe/services/payment_record_service.rb +0 -542
  592. data/lib/stripe/services/privacy/redaction_job_service.rb +0 -231
  593. data/lib/stripe/services/privacy_service.rb +0 -13
  594. data/lib/stripe/services/tax/association_service.rb +0 -31
  595. data/lib/stripe/services/tax/form_service.rb +0 -100
  596. data/lib/stripe/services/terminal/reader_collected_data_service.rb +0 -28
  597. data/lib/stripe/services/v2/core/account_link_service.rb +0 -76
  598. data/lib/stripe/services/v2/core/account_service.rb +0 -4130
  599. data/lib/stripe/services/v2/core/accounts/person_service.rb +0 -1040
  600. data/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb +0 -135
  601. data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +0 -109
  602. data/lib/stripe/services/v2/core/vault_service.rb +0 -18
  603. data/lib/stripe/services/v2/money_management/adjustment_service.rb +0 -75
  604. data/lib/stripe/services/v2/money_management/financial_account_service.rb +0 -44
  605. data/lib/stripe/services/v2/money_management/financial_address_service.rb +0 -81
  606. data/lib/stripe/services/v2/money_management/inbound_transfer_service.rb +0 -126
  607. data/lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb +0 -80
  608. data/lib/stripe/services/v2/money_management/outbound_payment_service.rb +0 -202
  609. data/lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb +0 -237
  610. data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +0 -174
  611. data/lib/stripe/services/v2/money_management/payout_method_service.rb +0 -95
  612. data/lib/stripe/services/v2/money_management/payout_methods_bank_account_spec_service.rb +0 -32
  613. data/lib/stripe/services/v2/money_management/received_credit_service.rb +0 -71
  614. data/lib/stripe/services/v2/money_management/received_debit_service.rb +0 -44
  615. data/lib/stripe/services/v2/money_management/transaction_entry_service.rb +0 -70
  616. data/lib/stripe/services/v2/money_management/transaction_service.rb +0 -74
  617. data/lib/stripe/services/v2/money_management_service.rb +0 -31
  618. data/lib/stripe/services/v2/test_helper_service.rb +0 -15
  619. data/lib/stripe/services/v2/test_helpers/financial_address_service.rb +0 -50
  620. data/rbi/stripe.rbi +0 -190156
@@ -6,7 +6,7 @@ module Stripe
6
6
  attr_reader :capabilities, :external_accounts, :login_links, :persons
7
7
 
8
8
  def initialize(requestor)
9
- super(requestor)
9
+ super
10
10
  @capabilities = Stripe::AccountCapabilityService.new(@requestor)
11
11
  @external_accounts = Stripe::AccountExternalAccountService.new(@requestor)
12
12
  @login_links = Stripe::AccountLoginLinkService.new(@requestor)
@@ -39,7 +39,7 @@ module Stripe
39
39
  attr_accessor :country
40
40
  # The currency the bank account is in. This must be a country/currency pairing that [Stripe supports.](docs/payouts)
41
41
  attr_accessor :currency
42
- # The routing number, sort code, or other country-appropriateinstitution number for the bank account. For US bank accounts, this is required and should bethe ACH routing number, not the wire routing number. If you are providing an IBAN for`account_number`, this field is not required.
42
+ # The routing number, sort code, or other country-appropriate institution number for the bank account. For US bank accounts, this is required and should be the ACH routing number, not the wire routing number. If you are providing an IBAN for `account_number`, this field is not required.
43
43
  attr_accessor :routing_number
44
44
 
45
45
  def initialize(
@@ -228,15 +228,6 @@ module Stripe
228
228
  end
229
229
  end
230
230
 
231
- class AutomaticIndirectTax < Stripe::RequestParams
232
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
233
- attr_accessor :requested
234
-
235
- def initialize(requested: nil)
236
- @requested = requested
237
- end
238
- end
239
-
240
231
  class BacsDebitPayments < Stripe::RequestParams
241
232
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
242
233
  attr_accessor :requested
@@ -363,15 +354,6 @@ module Stripe
363
354
  end
364
355
  end
365
356
 
366
- class GopayPayments < Stripe::RequestParams
367
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
368
- attr_accessor :requested
369
-
370
- def initialize(requested: nil)
371
- @requested = requested
372
- end
373
- end
374
-
375
357
  class GrabpayPayments < Stripe::RequestParams
376
358
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
377
359
  attr_accessor :requested
@@ -381,24 +363,6 @@ module Stripe
381
363
  end
382
364
  end
383
365
 
384
- class IdBankTransferPayments < Stripe::RequestParams
385
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
386
- attr_accessor :requested
387
-
388
- def initialize(requested: nil)
389
- @requested = requested
390
- end
391
- end
392
-
393
- class IdBankTransferPaymentsBca < Stripe::RequestParams
394
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
395
- attr_accessor :requested
396
-
397
- def initialize(requested: nil)
398
- @requested = requested
399
- end
400
- end
401
-
402
366
  class IdealPayments < Stripe::RequestParams
403
367
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
404
368
  attr_accessor :requested
@@ -489,15 +453,6 @@ module Stripe
489
453
  end
490
454
  end
491
455
 
492
- class MbWayPayments < Stripe::RequestParams
493
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
494
- attr_accessor :requested
495
-
496
- def initialize(requested: nil)
497
- @requested = requested
498
- end
499
- end
500
-
501
456
  class MobilepayPayments < Stripe::RequestParams
502
457
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
503
458
  attr_accessor :requested
@@ -588,24 +543,6 @@ module Stripe
588
543
  end
589
544
  end
590
545
 
591
- class PaypalPayments < Stripe::RequestParams
592
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
593
- attr_accessor :requested
594
-
595
- def initialize(requested: nil)
596
- @requested = requested
597
- end
598
- end
599
-
600
- class PaytoPayments < Stripe::RequestParams
601
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
602
- attr_accessor :requested
603
-
604
- def initialize(requested: nil)
605
- @requested = requested
606
- end
607
- end
608
-
609
546
  class PromptpayPayments < Stripe::RequestParams
610
547
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
611
548
  attr_accessor :requested
@@ -615,24 +552,6 @@ module Stripe
615
552
  end
616
553
  end
617
554
 
618
- class QrisPayments < Stripe::RequestParams
619
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
620
- attr_accessor :requested
621
-
622
- def initialize(requested: nil)
623
- @requested = requested
624
- end
625
- end
626
-
627
- class RechnungPayments < Stripe::RequestParams
628
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
629
- attr_accessor :requested
630
-
631
- def initialize(requested: nil)
632
- @requested = requested
633
- end
634
- end
635
-
636
555
  class RevolutPayPayments < Stripe::RequestParams
637
556
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
638
557
  attr_accessor :requested
@@ -678,15 +597,6 @@ module Stripe
678
597
  end
679
598
  end
680
599
 
681
- class ShopeepayPayments < Stripe::RequestParams
682
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
683
- attr_accessor :requested
684
-
685
- def initialize(requested: nil)
686
- @requested = requested
687
- end
688
- end
689
-
690
600
  class SofortPayments < Stripe::RequestParams
691
601
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
692
602
  attr_accessor :requested
@@ -696,15 +606,6 @@ module Stripe
696
606
  end
697
607
  end
698
608
 
699
- class StripeBalancePayments < Stripe::RequestParams
700
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
701
- attr_accessor :requested
702
-
703
- def initialize(requested: nil)
704
- @requested = requested
705
- end
706
- end
707
-
708
609
  class SwishPayments < Stripe::RequestParams
709
610
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
710
611
  attr_accessor :requested
@@ -750,33 +651,6 @@ module Stripe
750
651
  end
751
652
  end
752
653
 
753
- class TreasuryEvolve < Stripe::RequestParams
754
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
755
- attr_accessor :requested
756
-
757
- def initialize(requested: nil)
758
- @requested = requested
759
- end
760
- end
761
-
762
- class TreasuryFifthThird < Stripe::RequestParams
763
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
764
- attr_accessor :requested
765
-
766
- def initialize(requested: nil)
767
- @requested = requested
768
- end
769
- end
770
-
771
- class TreasuryGoldmanSachs < Stripe::RequestParams
772
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
773
- attr_accessor :requested
774
-
775
- def initialize(requested: nil)
776
- @requested = requested
777
- end
778
- end
779
-
780
654
  class TwintPayments < Stripe::RequestParams
781
655
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
782
656
  attr_accessor :requested
@@ -824,8 +698,6 @@ module Stripe
824
698
  attr_accessor :amazon_pay_payments
825
699
  # The au_becs_debit_payments capability.
826
700
  attr_accessor :au_becs_debit_payments
827
- # The automatic_indirect_tax capability.
828
- attr_accessor :automatic_indirect_tax
829
701
  # The bacs_debit_payments capability.
830
702
  attr_accessor :bacs_debit_payments
831
703
  # The bancontact_payments capability.
@@ -854,14 +726,8 @@ module Stripe
854
726
  attr_accessor :gb_bank_transfer_payments
855
727
  # The giropay_payments capability.
856
728
  attr_accessor :giropay_payments
857
- # The gopay_payments capability.
858
- attr_accessor :gopay_payments
859
729
  # The grabpay_payments capability.
860
730
  attr_accessor :grabpay_payments
861
- # The id_bank_transfer_payments capability.
862
- attr_accessor :id_bank_transfer_payments
863
- # The id_bank_transfer_payments_bca capability.
864
- attr_accessor :id_bank_transfer_payments_bca
865
731
  # The ideal_payments capability.
866
732
  attr_accessor :ideal_payments
867
733
  # The india_international_payments capability.
@@ -882,8 +748,6 @@ module Stripe
882
748
  attr_accessor :legacy_payments
883
749
  # The link_payments capability.
884
750
  attr_accessor :link_payments
885
- # The mb_way_payments capability.
886
- attr_accessor :mb_way_payments
887
751
  # The mobilepay_payments capability.
888
752
  attr_accessor :mobilepay_payments
889
753
  # The multibanco_payments capability.
@@ -904,16 +768,8 @@ module Stripe
904
768
  attr_accessor :payco_payments
905
769
  # The paynow_payments capability.
906
770
  attr_accessor :paynow_payments
907
- # The paypal_payments capability.
908
- attr_accessor :paypal_payments
909
- # The payto_payments capability.
910
- attr_accessor :payto_payments
911
771
  # The promptpay_payments capability.
912
772
  attr_accessor :promptpay_payments
913
- # The qris_payments capability.
914
- attr_accessor :qris_payments
915
- # The rechnung_payments capability.
916
- attr_accessor :rechnung_payments
917
773
  # The revolut_pay_payments capability.
918
774
  attr_accessor :revolut_pay_payments
919
775
  # The samsung_pay_payments capability.
@@ -924,12 +780,8 @@ module Stripe
924
780
  attr_accessor :sepa_bank_transfer_payments
925
781
  # The sepa_debit_payments capability.
926
782
  attr_accessor :sepa_debit_payments
927
- # The shopeepay_payments capability.
928
- attr_accessor :shopeepay_payments
929
783
  # The sofort_payments capability.
930
784
  attr_accessor :sofort_payments
931
- # The stripe_balance_payments capability.
932
- attr_accessor :stripe_balance_payments
933
785
  # The swish_payments capability.
934
786
  attr_accessor :swish_payments
935
787
  # The tax_reporting_us_1099_k capability.
@@ -940,12 +792,6 @@ module Stripe
940
792
  attr_accessor :transfers
941
793
  # The treasury capability.
942
794
  attr_accessor :treasury
943
- # The treasury_evolve capability.
944
- attr_accessor :treasury_evolve
945
- # The treasury_fifth_third capability.
946
- attr_accessor :treasury_fifth_third
947
- # The treasury_goldman_sachs capability.
948
- attr_accessor :treasury_goldman_sachs
949
795
  # The twint_payments capability.
950
796
  attr_accessor :twint_payments
951
797
  # The us_bank_account_ach_payments capability.
@@ -962,7 +808,6 @@ module Stripe
962
808
  alma_payments: nil,
963
809
  amazon_pay_payments: nil,
964
810
  au_becs_debit_payments: nil,
965
- automatic_indirect_tax: nil,
966
811
  bacs_debit_payments: nil,
967
812
  bancontact_payments: nil,
968
813
  bank_transfer_payments: nil,
@@ -977,10 +822,7 @@ module Stripe
977
822
  fpx_payments: nil,
978
823
  gb_bank_transfer_payments: nil,
979
824
  giropay_payments: nil,
980
- gopay_payments: nil,
981
825
  grabpay_payments: nil,
982
- id_bank_transfer_payments: nil,
983
- id_bank_transfer_payments_bca: nil,
984
826
  ideal_payments: nil,
985
827
  india_international_payments: nil,
986
828
  jcb_payments: nil,
@@ -991,7 +833,6 @@ module Stripe
991
833
  kr_card_payments: nil,
992
834
  legacy_payments: nil,
993
835
  link_payments: nil,
994
- mb_way_payments: nil,
995
836
  mobilepay_payments: nil,
996
837
  multibanco_payments: nil,
997
838
  mx_bank_transfer_payments: nil,
@@ -1002,27 +843,18 @@ module Stripe
1002
843
  pay_by_bank_payments: nil,
1003
844
  payco_payments: nil,
1004
845
  paynow_payments: nil,
1005
- paypal_payments: nil,
1006
- payto_payments: nil,
1007
846
  promptpay_payments: nil,
1008
- qris_payments: nil,
1009
- rechnung_payments: nil,
1010
847
  revolut_pay_payments: nil,
1011
848
  samsung_pay_payments: nil,
1012
849
  satispay_payments: nil,
1013
850
  sepa_bank_transfer_payments: nil,
1014
851
  sepa_debit_payments: nil,
1015
- shopeepay_payments: nil,
1016
852
  sofort_payments: nil,
1017
- stripe_balance_payments: nil,
1018
853
  swish_payments: nil,
1019
854
  tax_reporting_us_1099_k: nil,
1020
855
  tax_reporting_us_1099_misc: nil,
1021
856
  transfers: nil,
1022
857
  treasury: nil,
1023
- treasury_evolve: nil,
1024
- treasury_fifth_third: nil,
1025
- treasury_goldman_sachs: nil,
1026
858
  twint_payments: nil,
1027
859
  us_bank_account_ach_payments: nil,
1028
860
  us_bank_transfer_payments: nil,
@@ -1034,7 +866,6 @@ module Stripe
1034
866
  @alma_payments = alma_payments
1035
867
  @amazon_pay_payments = amazon_pay_payments
1036
868
  @au_becs_debit_payments = au_becs_debit_payments
1037
- @automatic_indirect_tax = automatic_indirect_tax
1038
869
  @bacs_debit_payments = bacs_debit_payments
1039
870
  @bancontact_payments = bancontact_payments
1040
871
  @bank_transfer_payments = bank_transfer_payments
@@ -1049,10 +880,7 @@ module Stripe
1049
880
  @fpx_payments = fpx_payments
1050
881
  @gb_bank_transfer_payments = gb_bank_transfer_payments
1051
882
  @giropay_payments = giropay_payments
1052
- @gopay_payments = gopay_payments
1053
883
  @grabpay_payments = grabpay_payments
1054
- @id_bank_transfer_payments = id_bank_transfer_payments
1055
- @id_bank_transfer_payments_bca = id_bank_transfer_payments_bca
1056
884
  @ideal_payments = ideal_payments
1057
885
  @india_international_payments = india_international_payments
1058
886
  @jcb_payments = jcb_payments
@@ -1063,7 +891,6 @@ module Stripe
1063
891
  @kr_card_payments = kr_card_payments
1064
892
  @legacy_payments = legacy_payments
1065
893
  @link_payments = link_payments
1066
- @mb_way_payments = mb_way_payments
1067
894
  @mobilepay_payments = mobilepay_payments
1068
895
  @multibanco_payments = multibanco_payments
1069
896
  @mx_bank_transfer_payments = mx_bank_transfer_payments
@@ -1074,27 +901,18 @@ module Stripe
1074
901
  @pay_by_bank_payments = pay_by_bank_payments
1075
902
  @payco_payments = payco_payments
1076
903
  @paynow_payments = paynow_payments
1077
- @paypal_payments = paypal_payments
1078
- @payto_payments = payto_payments
1079
904
  @promptpay_payments = promptpay_payments
1080
- @qris_payments = qris_payments
1081
- @rechnung_payments = rechnung_payments
1082
905
  @revolut_pay_payments = revolut_pay_payments
1083
906
  @samsung_pay_payments = samsung_pay_payments
1084
907
  @satispay_payments = satispay_payments
1085
908
  @sepa_bank_transfer_payments = sepa_bank_transfer_payments
1086
909
  @sepa_debit_payments = sepa_debit_payments
1087
- @shopeepay_payments = shopeepay_payments
1088
910
  @sofort_payments = sofort_payments
1089
- @stripe_balance_payments = stripe_balance_payments
1090
911
  @swish_payments = swish_payments
1091
912
  @tax_reporting_us_1099_k = tax_reporting_us_1099_k
1092
913
  @tax_reporting_us_1099_misc = tax_reporting_us_1099_misc
1093
914
  @transfers = transfers
1094
915
  @treasury = treasury
1095
- @treasury_evolve = treasury_evolve
1096
- @treasury_fifth_third = treasury_fifth_third
1097
- @treasury_goldman_sachs = treasury_goldman_sachs
1098
916
  @twint_payments = twint_payments
1099
917
  @us_bank_account_ach_payments = us_bank_account_ach_payments
1100
918
  @us_bank_transfer_payments = us_bank_transfer_payments
@@ -1316,6 +1134,21 @@ module Stripe
1316
1134
  end
1317
1135
  end
1318
1136
 
1137
+ class RegistrationDate < Stripe::RequestParams
1138
+ # The day of registration, between 1 and 31.
1139
+ attr_accessor :day
1140
+ # The month of registration, between 1 and 12.
1141
+ attr_accessor :month
1142
+ # The four-digit year of registration.
1143
+ attr_accessor :year
1144
+
1145
+ def initialize(day: nil, month: nil, year: nil)
1146
+ @day = day
1147
+ @month = month
1148
+ @year = year
1149
+ end
1150
+ end
1151
+
1319
1152
  class Verification < Stripe::RequestParams
1320
1153
  class Document < Stripe::RequestParams
1321
1154
  # The back of a document returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `additional_verification`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
@@ -1365,6 +1198,8 @@ module Stripe
1365
1198
  attr_accessor :ownership_exemption_reason
1366
1199
  # The company's phone number (used for verification).
1367
1200
  attr_accessor :phone
1201
+ # Attribute for param field registration_date
1202
+ attr_accessor :registration_date
1368
1203
  # 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).
1369
1204
  attr_accessor :registration_number
1370
1205
  # The category identifying the legal structure of the company or legal entity. See [Business structure](/connect/identity-verification#business-structure) for more details. Pass an empty string to unset this value.
@@ -1394,6 +1229,7 @@ module Stripe
1394
1229
  ownership_declaration: nil,
1395
1230
  ownership_exemption_reason: nil,
1396
1231
  phone: nil,
1232
+ registration_date: nil,
1397
1233
  registration_number: nil,
1398
1234
  structure: nil,
1399
1235
  tax_id: nil,
@@ -1416,6 +1252,7 @@ module Stripe
1416
1252
  @ownership_declaration = ownership_declaration
1417
1253
  @ownership_exemption_reason = ownership_exemption_reason
1418
1254
  @phone = phone
1255
+ @registration_date = registration_date
1419
1256
  @registration_number = registration_number
1420
1257
  @structure = structure
1421
1258
  @tax_id = tax_id
@@ -1851,37 +1688,6 @@ module Stripe
1851
1688
  end
1852
1689
  end
1853
1690
 
1854
- class RiskControls < Stripe::RequestParams
1855
- class Charges < Stripe::RequestParams
1856
- # To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
1857
- # There can be a delay before the risk control is paused or unpaused.
1858
- attr_accessor :pause_requested
1859
-
1860
- def initialize(pause_requested: nil)
1861
- @pause_requested = pause_requested
1862
- end
1863
- end
1864
-
1865
- class Payouts < Stripe::RequestParams
1866
- # To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
1867
- # There can be a delay before the risk control is paused or unpaused.
1868
- attr_accessor :pause_requested
1869
-
1870
- def initialize(pause_requested: nil)
1871
- @pause_requested = pause_requested
1872
- end
1873
- end
1874
- # 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).
1875
- attr_accessor :charges
1876
- # 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).
1877
- attr_accessor :payouts
1878
-
1879
- def initialize(charges: nil, payouts: nil)
1880
- @charges = charges
1881
- @payouts = payouts
1882
- end
1883
- end
1884
-
1885
1691
  class Settings < Stripe::RequestParams
1886
1692
  class BacsDebitPayments < Stripe::RequestParams
1887
1693
  # The Bacs Direct Debit Display Name for this account. For payments made with Bacs Direct Debit, this name appears on the mandate as the statement descriptor. Mobile banking apps display it as the name of the business. To use custom branding, set the Bacs Direct Debit Display Name during or right after creation. Custom branding incurs an additional monthly fee for the platform. If you don't set the display name before requesting Bacs capability, it's automatically set as "Stripe" and the account is onboarded to Stripe branding, which is free.
@@ -1892,18 +1698,6 @@ module Stripe
1892
1698
  end
1893
1699
  end
1894
1700
 
1895
- class BankBcaOnboarding < Stripe::RequestParams
1896
- # Bank BCA business account holder name
1897
- attr_accessor :account_holder_name
1898
- # Bank BCA business account number
1899
- attr_accessor :business_account_number
1900
-
1901
- def initialize(account_holder_name: nil, business_account_number: nil)
1902
- @account_holder_name = account_holder_name
1903
- @business_account_number = business_account_number
1904
- end
1905
- end
1906
-
1907
1701
  class Branding < Stripe::RequestParams
1908
1702
  # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) An icon for the account. Must be square and at least 128px x 128px.
1909
1703
  attr_accessor :icon
@@ -1922,18 +1716,6 @@ module Stripe
1922
1716
  end
1923
1717
  end
1924
1718
 
1925
- class Capital < Stripe::RequestParams
1926
- # Per-currency mapping of user-selected destination accounts used to pay out loans.
1927
- attr_accessor :payout_destination
1928
- # Per-currency mapping of all destination accounts eligible to receive Capital financing payouts.
1929
- attr_accessor :payout_destination_selector
1930
-
1931
- def initialize(payout_destination: nil, payout_destination_selector: nil)
1932
- @payout_destination = payout_destination
1933
- @payout_destination_selector = payout_destination_selector
1934
- end
1935
- end
1936
-
1937
1719
  class CardIssuing < Stripe::RequestParams
1938
1720
  class TosAcceptance < Stripe::RequestParams
1939
1721
  # The Unix timestamp marking when the account representative accepted the service agreement.
@@ -2054,15 +1836,6 @@ module Stripe
2054
1836
  end
2055
1837
  end
2056
1838
 
2057
- class TaxForms < Stripe::RequestParams
2058
- # Whether the account opted out of receiving their tax forms by postal delivery.
2059
- attr_accessor :consented_to_paperless_delivery
2060
-
2061
- def initialize(consented_to_paperless_delivery: nil)
2062
- @consented_to_paperless_delivery = consented_to_paperless_delivery
2063
- end
2064
- end
2065
-
2066
1839
  class Treasury < Stripe::RequestParams
2067
1840
  class TosAcceptance < Stripe::RequestParams
2068
1841
  # The Unix timestamp marking when the account representative accepted the service agreement.
@@ -2087,12 +1860,8 @@ module Stripe
2087
1860
  end
2088
1861
  # Settings specific to Bacs Direct Debit payments.
2089
1862
  attr_accessor :bacs_debit_payments
2090
- # Settings specific to bank BCA onboarding for Indonesia bank transfers payments method.
2091
- attr_accessor :bank_bca_onboarding
2092
1863
  # Settings used to apply the account's branding to email receipts, invoices, Checkout, and other products.
2093
1864
  attr_accessor :branding
2094
- # Settings specific to the account's use of the Capital product.
2095
- attr_accessor :capital
2096
1865
  # Settings specific to the account's use of the Card Issuing product.
2097
1866
  attr_accessor :card_issuing
2098
1867
  # Settings specific to card charging on the account.
@@ -2103,34 +1872,26 @@ module Stripe
2103
1872
  attr_accessor :payments
2104
1873
  # Settings specific to the account's payouts.
2105
1874
  attr_accessor :payouts
2106
- # Settings specific to the account's tax forms.
2107
- attr_accessor :tax_forms
2108
1875
  # Settings specific to the account's Treasury FinancialAccounts.
2109
1876
  attr_accessor :treasury
2110
1877
 
2111
1878
  def initialize(
2112
1879
  bacs_debit_payments: nil,
2113
- bank_bca_onboarding: nil,
2114
1880
  branding: nil,
2115
- capital: nil,
2116
1881
  card_issuing: nil,
2117
1882
  card_payments: nil,
2118
1883
  invoices: nil,
2119
1884
  payments: nil,
2120
1885
  payouts: nil,
2121
- tax_forms: nil,
2122
1886
  treasury: nil
2123
1887
  )
2124
1888
  @bacs_debit_payments = bacs_debit_payments
2125
- @bank_bca_onboarding = bank_bca_onboarding
2126
1889
  @branding = branding
2127
- @capital = capital
2128
1890
  @card_issuing = card_issuing
2129
1891
  @card_payments = card_payments
2130
1892
  @invoices = invoices
2131
1893
  @payments = payments
2132
1894
  @payouts = payouts
2133
- @tax_forms = tax_forms
2134
1895
  @treasury = treasury
2135
1896
  end
2136
1897
  end
@@ -2185,8 +1946,6 @@ module Stripe
2185
1946
  attr_accessor :individual
2186
1947
  # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
2187
1948
  attr_accessor :metadata
2188
- # A hash to configure risk controls on the account. Please see [this page for more details](/connect/pausing-payments-or-payouts-on-connected-accounts).
2189
- attr_accessor :risk_controls
2190
1949
  # Options for customizing how the account functions within Stripe.
2191
1950
  attr_accessor :settings
2192
1951
  # Details on the account's acceptance of the [Stripe Services Agreement](/connect/updating-accounts#tos-acceptance). This property can only be updated for accounts where [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts. This property defaults to a `full` service agreement when empty.
@@ -2206,7 +1965,6 @@ module Stripe
2206
1965
  groups: nil,
2207
1966
  individual: nil,
2208
1967
  metadata: nil,
2209
- risk_controls: nil,
2210
1968
  settings: nil,
2211
1969
  tos_acceptance: nil
2212
1970
  )
@@ -2223,7 +1981,6 @@ module Stripe
2223
1981
  @groups = groups
2224
1982
  @individual = individual
2225
1983
  @metadata = metadata
2226
- @risk_controls = risk_controls
2227
1984
  @settings = settings
2228
1985
  @tos_acceptance = tos_acceptance
2229
1986
  end
@@ -2290,7 +2047,7 @@ module Stripe
2290
2047
  attr_accessor :country
2291
2048
  # The currency the bank account is in. This must be a country/currency pairing that [Stripe supports.](docs/payouts)
2292
2049
  attr_accessor :currency
2293
- # The routing number, sort code, or other country-appropriateinstitution number for the bank account. For US bank accounts, this is required and should bethe ACH routing number, not the wire routing number. If you are providing an IBAN for`account_number`, this field is not required.
2050
+ # The routing number, sort code, or other country-appropriate institution number for the bank account. For US bank accounts, this is required and should be the ACH routing number, not the wire routing number. If you are providing an IBAN for `account_number`, this field is not required.
2294
2051
  attr_accessor :routing_number
2295
2052
 
2296
2053
  def initialize(
@@ -2479,15 +2236,6 @@ module Stripe
2479
2236
  end
2480
2237
  end
2481
2238
 
2482
- class AutomaticIndirectTax < Stripe::RequestParams
2483
- # 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.
2484
- attr_accessor :requested
2485
-
2486
- def initialize(requested: nil)
2487
- @requested = requested
2488
- end
2489
- end
2490
-
2491
2239
  class BacsDebitPayments < Stripe::RequestParams
2492
2240
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2493
2241
  attr_accessor :requested
@@ -2614,15 +2362,6 @@ module Stripe
2614
2362
  end
2615
2363
  end
2616
2364
 
2617
- class GopayPayments < Stripe::RequestParams
2618
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2619
- attr_accessor :requested
2620
-
2621
- def initialize(requested: nil)
2622
- @requested = requested
2623
- end
2624
- end
2625
-
2626
2365
  class GrabpayPayments < Stripe::RequestParams
2627
2366
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2628
2367
  attr_accessor :requested
@@ -2632,24 +2371,6 @@ module Stripe
2632
2371
  end
2633
2372
  end
2634
2373
 
2635
- class IdBankTransferPayments < Stripe::RequestParams
2636
- # 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.
2637
- attr_accessor :requested
2638
-
2639
- def initialize(requested: nil)
2640
- @requested = requested
2641
- end
2642
- end
2643
-
2644
- class IdBankTransferPaymentsBca < Stripe::RequestParams
2645
- # 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.
2646
- attr_accessor :requested
2647
-
2648
- def initialize(requested: nil)
2649
- @requested = requested
2650
- end
2651
- end
2652
-
2653
2374
  class IdealPayments < Stripe::RequestParams
2654
2375
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2655
2376
  attr_accessor :requested
@@ -2740,15 +2461,6 @@ module Stripe
2740
2461
  end
2741
2462
  end
2742
2463
 
2743
- class MbWayPayments < Stripe::RequestParams
2744
- # 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.
2745
- attr_accessor :requested
2746
-
2747
- def initialize(requested: nil)
2748
- @requested = requested
2749
- end
2750
- end
2751
-
2752
2464
  class MobilepayPayments < Stripe::RequestParams
2753
2465
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2754
2466
  attr_accessor :requested
@@ -2839,24 +2551,6 @@ module Stripe
2839
2551
  end
2840
2552
  end
2841
2553
 
2842
- class PaypalPayments < Stripe::RequestParams
2843
- # 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.
2844
- attr_accessor :requested
2845
-
2846
- def initialize(requested: nil)
2847
- @requested = requested
2848
- end
2849
- end
2850
-
2851
- class PaytoPayments < Stripe::RequestParams
2852
- # 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.
2853
- attr_accessor :requested
2854
-
2855
- def initialize(requested: nil)
2856
- @requested = requested
2857
- end
2858
- end
2859
-
2860
2554
  class PromptpayPayments < Stripe::RequestParams
2861
2555
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2862
2556
  attr_accessor :requested
@@ -2866,24 +2560,6 @@ module Stripe
2866
2560
  end
2867
2561
  end
2868
2562
 
2869
- class QrisPayments < Stripe::RequestParams
2870
- # 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.
2871
- attr_accessor :requested
2872
-
2873
- def initialize(requested: nil)
2874
- @requested = requested
2875
- end
2876
- end
2877
-
2878
- class RechnungPayments < Stripe::RequestParams
2879
- # 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.
2880
- attr_accessor :requested
2881
-
2882
- def initialize(requested: nil)
2883
- @requested = requested
2884
- end
2885
- end
2886
-
2887
2563
  class RevolutPayPayments < Stripe::RequestParams
2888
2564
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2889
2565
  attr_accessor :requested
@@ -2929,15 +2605,6 @@ module Stripe
2929
2605
  end
2930
2606
  end
2931
2607
 
2932
- class ShopeepayPayments < Stripe::RequestParams
2933
- # 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.
2934
- attr_accessor :requested
2935
-
2936
- def initialize(requested: nil)
2937
- @requested = requested
2938
- end
2939
- end
2940
-
2941
2608
  class SofortPayments < Stripe::RequestParams
2942
2609
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2943
2610
  attr_accessor :requested
@@ -2947,15 +2614,6 @@ module Stripe
2947
2614
  end
2948
2615
  end
2949
2616
 
2950
- class StripeBalancePayments < Stripe::RequestParams
2951
- # 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.
2952
- attr_accessor :requested
2953
-
2954
- def initialize(requested: nil)
2955
- @requested = requested
2956
- end
2957
- end
2958
-
2959
2617
  class SwishPayments < Stripe::RequestParams
2960
2618
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
2961
2619
  attr_accessor :requested
@@ -3001,33 +2659,6 @@ module Stripe
3001
2659
  end
3002
2660
  end
3003
2661
 
3004
- class TreasuryEvolve < Stripe::RequestParams
3005
- # 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.
3006
- attr_accessor :requested
3007
-
3008
- def initialize(requested: nil)
3009
- @requested = requested
3010
- end
3011
- end
3012
-
3013
- class TreasuryFifthThird < Stripe::RequestParams
3014
- # 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.
3015
- attr_accessor :requested
3016
-
3017
- def initialize(requested: nil)
3018
- @requested = requested
3019
- end
3020
- end
3021
-
3022
- class TreasuryGoldmanSachs < Stripe::RequestParams
3023
- # 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.
3024
- attr_accessor :requested
3025
-
3026
- def initialize(requested: nil)
3027
- @requested = requested
3028
- end
3029
- end
3030
-
3031
2662
  class TwintPayments < Stripe::RequestParams
3032
2663
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
3033
2664
  attr_accessor :requested
@@ -3075,8 +2706,6 @@ module Stripe
3075
2706
  attr_accessor :amazon_pay_payments
3076
2707
  # The au_becs_debit_payments capability.
3077
2708
  attr_accessor :au_becs_debit_payments
3078
- # The automatic_indirect_tax capability.
3079
- attr_accessor :automatic_indirect_tax
3080
2709
  # The bacs_debit_payments capability.
3081
2710
  attr_accessor :bacs_debit_payments
3082
2711
  # The bancontact_payments capability.
@@ -3105,14 +2734,8 @@ module Stripe
3105
2734
  attr_accessor :gb_bank_transfer_payments
3106
2735
  # The giropay_payments capability.
3107
2736
  attr_accessor :giropay_payments
3108
- # The gopay_payments capability.
3109
- attr_accessor :gopay_payments
3110
2737
  # The grabpay_payments capability.
3111
2738
  attr_accessor :grabpay_payments
3112
- # The id_bank_transfer_payments capability.
3113
- attr_accessor :id_bank_transfer_payments
3114
- # The id_bank_transfer_payments_bca capability.
3115
- attr_accessor :id_bank_transfer_payments_bca
3116
2739
  # The ideal_payments capability.
3117
2740
  attr_accessor :ideal_payments
3118
2741
  # The india_international_payments capability.
@@ -3133,8 +2756,6 @@ module Stripe
3133
2756
  attr_accessor :legacy_payments
3134
2757
  # The link_payments capability.
3135
2758
  attr_accessor :link_payments
3136
- # The mb_way_payments capability.
3137
- attr_accessor :mb_way_payments
3138
2759
  # The mobilepay_payments capability.
3139
2760
  attr_accessor :mobilepay_payments
3140
2761
  # The multibanco_payments capability.
@@ -3155,16 +2776,8 @@ module Stripe
3155
2776
  attr_accessor :payco_payments
3156
2777
  # The paynow_payments capability.
3157
2778
  attr_accessor :paynow_payments
3158
- # The paypal_payments capability.
3159
- attr_accessor :paypal_payments
3160
- # The payto_payments capability.
3161
- attr_accessor :payto_payments
3162
2779
  # The promptpay_payments capability.
3163
2780
  attr_accessor :promptpay_payments
3164
- # The qris_payments capability.
3165
- attr_accessor :qris_payments
3166
- # The rechnung_payments capability.
3167
- attr_accessor :rechnung_payments
3168
2781
  # The revolut_pay_payments capability.
3169
2782
  attr_accessor :revolut_pay_payments
3170
2783
  # The samsung_pay_payments capability.
@@ -3175,12 +2788,8 @@ module Stripe
3175
2788
  attr_accessor :sepa_bank_transfer_payments
3176
2789
  # The sepa_debit_payments capability.
3177
2790
  attr_accessor :sepa_debit_payments
3178
- # The shopeepay_payments capability.
3179
- attr_accessor :shopeepay_payments
3180
2791
  # The sofort_payments capability.
3181
2792
  attr_accessor :sofort_payments
3182
- # The stripe_balance_payments capability.
3183
- attr_accessor :stripe_balance_payments
3184
2793
  # The swish_payments capability.
3185
2794
  attr_accessor :swish_payments
3186
2795
  # The tax_reporting_us_1099_k capability.
@@ -3191,12 +2800,6 @@ module Stripe
3191
2800
  attr_accessor :transfers
3192
2801
  # The treasury capability.
3193
2802
  attr_accessor :treasury
3194
- # The treasury_evolve capability.
3195
- attr_accessor :treasury_evolve
3196
- # The treasury_fifth_third capability.
3197
- attr_accessor :treasury_fifth_third
3198
- # The treasury_goldman_sachs capability.
3199
- attr_accessor :treasury_goldman_sachs
3200
2803
  # The twint_payments capability.
3201
2804
  attr_accessor :twint_payments
3202
2805
  # The us_bank_account_ach_payments capability.
@@ -3213,7 +2816,6 @@ module Stripe
3213
2816
  alma_payments: nil,
3214
2817
  amazon_pay_payments: nil,
3215
2818
  au_becs_debit_payments: nil,
3216
- automatic_indirect_tax: nil,
3217
2819
  bacs_debit_payments: nil,
3218
2820
  bancontact_payments: nil,
3219
2821
  bank_transfer_payments: nil,
@@ -3228,10 +2830,7 @@ module Stripe
3228
2830
  fpx_payments: nil,
3229
2831
  gb_bank_transfer_payments: nil,
3230
2832
  giropay_payments: nil,
3231
- gopay_payments: nil,
3232
2833
  grabpay_payments: nil,
3233
- id_bank_transfer_payments: nil,
3234
- id_bank_transfer_payments_bca: nil,
3235
2834
  ideal_payments: nil,
3236
2835
  india_international_payments: nil,
3237
2836
  jcb_payments: nil,
@@ -3242,7 +2841,6 @@ module Stripe
3242
2841
  kr_card_payments: nil,
3243
2842
  legacy_payments: nil,
3244
2843
  link_payments: nil,
3245
- mb_way_payments: nil,
3246
2844
  mobilepay_payments: nil,
3247
2845
  multibanco_payments: nil,
3248
2846
  mx_bank_transfer_payments: nil,
@@ -3253,27 +2851,18 @@ module Stripe
3253
2851
  pay_by_bank_payments: nil,
3254
2852
  payco_payments: nil,
3255
2853
  paynow_payments: nil,
3256
- paypal_payments: nil,
3257
- payto_payments: nil,
3258
2854
  promptpay_payments: nil,
3259
- qris_payments: nil,
3260
- rechnung_payments: nil,
3261
2855
  revolut_pay_payments: nil,
3262
2856
  samsung_pay_payments: nil,
3263
2857
  satispay_payments: nil,
3264
2858
  sepa_bank_transfer_payments: nil,
3265
2859
  sepa_debit_payments: nil,
3266
- shopeepay_payments: nil,
3267
2860
  sofort_payments: nil,
3268
- stripe_balance_payments: nil,
3269
2861
  swish_payments: nil,
3270
2862
  tax_reporting_us_1099_k: nil,
3271
2863
  tax_reporting_us_1099_misc: nil,
3272
2864
  transfers: nil,
3273
2865
  treasury: nil,
3274
- treasury_evolve: nil,
3275
- treasury_fifth_third: nil,
3276
- treasury_goldman_sachs: nil,
3277
2866
  twint_payments: nil,
3278
2867
  us_bank_account_ach_payments: nil,
3279
2868
  us_bank_transfer_payments: nil,
@@ -3285,7 +2874,6 @@ module Stripe
3285
2874
  @alma_payments = alma_payments
3286
2875
  @amazon_pay_payments = amazon_pay_payments
3287
2876
  @au_becs_debit_payments = au_becs_debit_payments
3288
- @automatic_indirect_tax = automatic_indirect_tax
3289
2877
  @bacs_debit_payments = bacs_debit_payments
3290
2878
  @bancontact_payments = bancontact_payments
3291
2879
  @bank_transfer_payments = bank_transfer_payments
@@ -3300,10 +2888,7 @@ module Stripe
3300
2888
  @fpx_payments = fpx_payments
3301
2889
  @gb_bank_transfer_payments = gb_bank_transfer_payments
3302
2890
  @giropay_payments = giropay_payments
3303
- @gopay_payments = gopay_payments
3304
2891
  @grabpay_payments = grabpay_payments
3305
- @id_bank_transfer_payments = id_bank_transfer_payments
3306
- @id_bank_transfer_payments_bca = id_bank_transfer_payments_bca
3307
2892
  @ideal_payments = ideal_payments
3308
2893
  @india_international_payments = india_international_payments
3309
2894
  @jcb_payments = jcb_payments
@@ -3314,7 +2899,6 @@ module Stripe
3314
2899
  @kr_card_payments = kr_card_payments
3315
2900
  @legacy_payments = legacy_payments
3316
2901
  @link_payments = link_payments
3317
- @mb_way_payments = mb_way_payments
3318
2902
  @mobilepay_payments = mobilepay_payments
3319
2903
  @multibanco_payments = multibanco_payments
3320
2904
  @mx_bank_transfer_payments = mx_bank_transfer_payments
@@ -3325,27 +2909,18 @@ module Stripe
3325
2909
  @pay_by_bank_payments = pay_by_bank_payments
3326
2910
  @payco_payments = payco_payments
3327
2911
  @paynow_payments = paynow_payments
3328
- @paypal_payments = paypal_payments
3329
- @payto_payments = payto_payments
3330
2912
  @promptpay_payments = promptpay_payments
3331
- @qris_payments = qris_payments
3332
- @rechnung_payments = rechnung_payments
3333
2913
  @revolut_pay_payments = revolut_pay_payments
3334
2914
  @samsung_pay_payments = samsung_pay_payments
3335
2915
  @satispay_payments = satispay_payments
3336
2916
  @sepa_bank_transfer_payments = sepa_bank_transfer_payments
3337
2917
  @sepa_debit_payments = sepa_debit_payments
3338
- @shopeepay_payments = shopeepay_payments
3339
2918
  @sofort_payments = sofort_payments
3340
- @stripe_balance_payments = stripe_balance_payments
3341
2919
  @swish_payments = swish_payments
3342
2920
  @tax_reporting_us_1099_k = tax_reporting_us_1099_k
3343
2921
  @tax_reporting_us_1099_misc = tax_reporting_us_1099_misc
3344
2922
  @transfers = transfers
3345
2923
  @treasury = treasury
3346
- @treasury_evolve = treasury_evolve
3347
- @treasury_fifth_third = treasury_fifth_third
3348
- @treasury_goldman_sachs = treasury_goldman_sachs
3349
2924
  @twint_payments = twint_payments
3350
2925
  @us_bank_account_ach_payments = us_bank_account_ach_payments
3351
2926
  @us_bank_transfer_payments = us_bank_transfer_payments
@@ -3567,6 +3142,21 @@ module Stripe
3567
3142
  end
3568
3143
  end
3569
3144
 
3145
+ class RegistrationDate < Stripe::RequestParams
3146
+ # The day of registration, between 1 and 31.
3147
+ attr_accessor :day
3148
+ # The month of registration, between 1 and 12.
3149
+ attr_accessor :month
3150
+ # The four-digit year of registration.
3151
+ attr_accessor :year
3152
+
3153
+ def initialize(day: nil, month: nil, year: nil)
3154
+ @day = day
3155
+ @month = month
3156
+ @year = year
3157
+ end
3158
+ end
3159
+
3570
3160
  class Verification < Stripe::RequestParams
3571
3161
  class Document < Stripe::RequestParams
3572
3162
  # The back of a document returned by a [file upload](https://stripe.com/docs/api#create_file) with a `purpose` value of `additional_verification`. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
@@ -3616,6 +3206,8 @@ module Stripe
3616
3206
  attr_accessor :ownership_exemption_reason
3617
3207
  # The company's phone number (used for verification).
3618
3208
  attr_accessor :phone
3209
+ # Attribute for param field registration_date
3210
+ attr_accessor :registration_date
3619
3211
  # 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).
3620
3212
  attr_accessor :registration_number
3621
3213
  # The category identifying the legal structure of the company or legal entity. See [Business structure](/connect/identity-verification#business-structure) for more details. Pass an empty string to unset this value.
@@ -3645,6 +3237,7 @@ module Stripe
3645
3237
  ownership_declaration: nil,
3646
3238
  ownership_exemption_reason: nil,
3647
3239
  phone: nil,
3240
+ registration_date: nil,
3648
3241
  registration_number: nil,
3649
3242
  structure: nil,
3650
3243
  tax_id: nil,
@@ -3667,6 +3260,7 @@ module Stripe
3667
3260
  @ownership_declaration = ownership_declaration
3668
3261
  @ownership_exemption_reason = ownership_exemption_reason
3669
3262
  @phone = phone
3263
+ @registration_date = registration_date
3670
3264
  @registration_number = registration_number
3671
3265
  @structure = structure
3672
3266
  @tax_id = tax_id
@@ -3677,30 +3271,6 @@ module Stripe
3677
3271
  end
3678
3272
 
3679
3273
  class Controller < Stripe::RequestParams
3680
- class Application < Stripe::RequestParams
3681
- # Whether the controller is liable for losses on this account. For details, see [Understanding Connect Account Balances](https://stripe.com/docs/connect/account-balances).
3682
- attr_accessor :loss_liable
3683
- # Whether the controller owns onboarding for this account.
3684
- attr_accessor :onboarding_owner
3685
- # Whether the controller has pricing controls for this account.
3686
- attr_accessor :pricing_controls
3687
-
3688
- def initialize(loss_liable: nil, onboarding_owner: nil, pricing_controls: nil)
3689
- @loss_liable = loss_liable
3690
- @onboarding_owner = onboarding_owner
3691
- @pricing_controls = pricing_controls
3692
- end
3693
- end
3694
-
3695
- class Dashboard < Stripe::RequestParams
3696
- # 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`.
3697
- attr_accessor :type
3698
-
3699
- def initialize(type: nil)
3700
- @type = type
3701
- end
3702
- end
3703
-
3704
3274
  class Fees < Stripe::RequestParams
3705
3275
  # A value indicating the responsible payer of Stripe fees on this account. Defaults to `account`. Learn more about [fee behavior on connected accounts](https://docs.stripe.com/connect/direct-charges-fee-payer-behavior).
3706
3276
  attr_accessor :payer
@@ -3727,10 +3297,6 @@ module Stripe
3727
3297
  @type = type
3728
3298
  end
3729
3299
  end
3730
- # A hash of configuration describing the Connect application that controls the account.
3731
- attr_accessor :application
3732
- # Properties of the account's dashboard.
3733
- attr_accessor :dashboard
3734
3300
  # A hash of configuration for who pays Stripe fees for product usage on this account.
3735
3301
  attr_accessor :fees
3736
3302
  # A hash of configuration for products that have negative balance liability, and whether Stripe or a Connect application is responsible for them.
@@ -3740,16 +3306,7 @@ module Stripe
3740
3306
  # A hash of configuration for Stripe-hosted dashboards.
3741
3307
  attr_accessor :stripe_dashboard
3742
3308
 
3743
- def initialize(
3744
- application: nil,
3745
- dashboard: nil,
3746
- fees: nil,
3747
- losses: nil,
3748
- requirement_collection: nil,
3749
- stripe_dashboard: nil
3750
- )
3751
- @application = application
3752
- @dashboard = dashboard
3309
+ def initialize(fees: nil, losses: nil, requirement_collection: nil, stripe_dashboard: nil)
3753
3310
  @fees = fees
3754
3311
  @losses = losses
3755
3312
  @requirement_collection = requirement_collection
@@ -4183,37 +3740,6 @@ module Stripe
4183
3740
  end
4184
3741
  end
4185
3742
 
4186
- class RiskControls < Stripe::RequestParams
4187
- class Charges < Stripe::RequestParams
4188
- # To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
4189
- # There can be a delay before the risk control is paused or unpaused.
4190
- attr_accessor :pause_requested
4191
-
4192
- def initialize(pause_requested: nil)
4193
- @pause_requested = pause_requested
4194
- end
4195
- end
4196
-
4197
- class Payouts < Stripe::RequestParams
4198
- # To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
4199
- # There can be a delay before the risk control is paused or unpaused.
4200
- attr_accessor :pause_requested
4201
-
4202
- def initialize(pause_requested: nil)
4203
- @pause_requested = pause_requested
4204
- end
4205
- end
4206
- # 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).
4207
- attr_accessor :charges
4208
- # 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).
4209
- attr_accessor :payouts
4210
-
4211
- def initialize(charges: nil, payouts: nil)
4212
- @charges = charges
4213
- @payouts = payouts
4214
- end
4215
- end
4216
-
4217
3743
  class Settings < Stripe::RequestParams
4218
3744
  class BacsDebitPayments < Stripe::RequestParams
4219
3745
  # The Bacs Direct Debit Display Name for this account. For payments made with Bacs Direct Debit, this name appears on the mandate as the statement descriptor. Mobile banking apps display it as the name of the business. To use custom branding, set the Bacs Direct Debit Display Name during or right after creation. Custom branding incurs an additional monthly fee for the platform. If you don't set the display name before requesting Bacs capability, it's automatically set as "Stripe" and the account is onboarded to Stripe branding, which is free.
@@ -4224,18 +3750,6 @@ module Stripe
4224
3750
  end
4225
3751
  end
4226
3752
 
4227
- class BankBcaOnboarding < Stripe::RequestParams
4228
- # Bank BCA business account holder name
4229
- attr_accessor :account_holder_name
4230
- # Bank BCA business account number
4231
- attr_accessor :business_account_number
4232
-
4233
- def initialize(account_holder_name: nil, business_account_number: nil)
4234
- @account_holder_name = account_holder_name
4235
- @business_account_number = business_account_number
4236
- end
4237
- end
4238
-
4239
3753
  class Branding < Stripe::RequestParams
4240
3754
  # (ID of a [file upload](https://stripe.com/docs/guides/file-upload)) An icon for the account. Must be square and at least 128px x 128px.
4241
3755
  attr_accessor :icon
@@ -4254,18 +3768,6 @@ module Stripe
4254
3768
  end
4255
3769
  end
4256
3770
 
4257
- class Capital < Stripe::RequestParams
4258
- # Per-currency mapping of user-selected destination accounts used to pay out loans.
4259
- attr_accessor :payout_destination
4260
- # Per-currency mapping of all destination accounts eligible to receive Capital financing payouts.
4261
- attr_accessor :payout_destination_selector
4262
-
4263
- def initialize(payout_destination: nil, payout_destination_selector: nil)
4264
- @payout_destination = payout_destination
4265
- @payout_destination_selector = payout_destination_selector
4266
- end
4267
- end
4268
-
4269
3771
  class CardIssuing < Stripe::RequestParams
4270
3772
  class TosAcceptance < Stripe::RequestParams
4271
3773
  # The Unix timestamp marking when the account representative accepted the service agreement.
@@ -4383,15 +3885,6 @@ module Stripe
4383
3885
  end
4384
3886
  end
4385
3887
 
4386
- class TaxForms < Stripe::RequestParams
4387
- # Whether the account opted out of receiving their tax forms by postal delivery.
4388
- attr_accessor :consented_to_paperless_delivery
4389
-
4390
- def initialize(consented_to_paperless_delivery: nil)
4391
- @consented_to_paperless_delivery = consented_to_paperless_delivery
4392
- end
4393
- end
4394
-
4395
3888
  class Treasury < Stripe::RequestParams
4396
3889
  class TosAcceptance < Stripe::RequestParams
4397
3890
  # The Unix timestamp marking when the account representative accepted the service agreement.
@@ -4416,12 +3909,8 @@ module Stripe
4416
3909
  end
4417
3910
  # Settings specific to Bacs Direct Debit.
4418
3911
  attr_accessor :bacs_debit_payments
4419
- # Settings specific to bank BCA onboarding for Indonesia bank transfers payments method.
4420
- attr_accessor :bank_bca_onboarding
4421
3912
  # Settings used to apply the account's branding to email receipts, invoices, Checkout, and other products.
4422
3913
  attr_accessor :branding
4423
- # Settings specific to the account's use of the Capital product.
4424
- attr_accessor :capital
4425
3914
  # Settings specific to the account's use of the Card Issuing product.
4426
3915
  attr_accessor :card_issuing
4427
3916
  # Settings specific to card charging on the account.
@@ -4432,34 +3921,26 @@ module Stripe
4432
3921
  attr_accessor :payments
4433
3922
  # Settings specific to the account's payouts.
4434
3923
  attr_accessor :payouts
4435
- # Settings specific to the account's tax forms.
4436
- attr_accessor :tax_forms
4437
3924
  # Settings specific to the account's Treasury FinancialAccounts.
4438
3925
  attr_accessor :treasury
4439
3926
 
4440
3927
  def initialize(
4441
3928
  bacs_debit_payments: nil,
4442
- bank_bca_onboarding: nil,
4443
3929
  branding: nil,
4444
- capital: nil,
4445
3930
  card_issuing: nil,
4446
3931
  card_payments: nil,
4447
3932
  invoices: nil,
4448
3933
  payments: nil,
4449
3934
  payouts: nil,
4450
- tax_forms: nil,
4451
3935
  treasury: nil
4452
3936
  )
4453
3937
  @bacs_debit_payments = bacs_debit_payments
4454
- @bank_bca_onboarding = bank_bca_onboarding
4455
3938
  @branding = branding
4456
- @capital = capital
4457
3939
  @card_issuing = card_issuing
4458
3940
  @card_payments = card_payments
4459
3941
  @invoices = invoices
4460
3942
  @payments = payments
4461
3943
  @payouts = payouts
4462
- @tax_forms = tax_forms
4463
3944
  @treasury = treasury
4464
3945
  end
4465
3946
  end
@@ -4518,8 +3999,6 @@ module Stripe
4518
3999
  attr_accessor :individual
4519
4000
  # Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
4520
4001
  attr_accessor :metadata
4521
- # A hash to configure risk controls on the account. Please see [this page for more details](/connect/pausing-payments-or-payouts-on-connected-accounts).
4522
- attr_accessor :risk_controls
4523
4002
  # Options for customizing how the account functions within Stripe.
4524
4003
  attr_accessor :settings
4525
4004
  # Details on the account's acceptance of the [Stripe Services Agreement](/connect/updating-accounts#tos-acceptance). This property can only be updated for accounts where [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts. This property defaults to a `full` service agreement when empty.
@@ -4543,7 +4022,6 @@ module Stripe
4543
4022
  groups: nil,
4544
4023
  individual: nil,
4545
4024
  metadata: nil,
4546
- risk_controls: nil,
4547
4025
  settings: nil,
4548
4026
  tos_acceptance: nil,
4549
4027
  type: nil
@@ -4563,7 +4041,6 @@ module Stripe
4563
4041
  @groups = groups
4564
4042
  @individual = individual
4565
4043
  @metadata = metadata
4566
- @risk_controls = risk_controls
4567
4044
  @settings = settings
4568
4045
  @tos_acceptance = tos_acceptance
4569
4046
  @type = type