stripe 19.4.0.pre.beta.1 → 19.4.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 (591) hide show
  1. checksums.yaml +4 -4
  2. data/lib/stripe/api_requestor.rb +2 -63
  3. data/lib/stripe/api_version.rb +2 -1
  4. data/lib/stripe/error_object.rb +43 -19
  5. data/lib/stripe/errors.rb +0 -87
  6. data/lib/stripe/event_types.rb +0 -236
  7. data/lib/stripe/events/unknown_event_notification.rb +0 -1
  8. data/lib/stripe/object_types.rb +0 -60
  9. data/lib/stripe/params/account_create_params.rb +73 -398
  10. data/lib/stripe/params/account_person_create_params.rb +6 -0
  11. data/lib/stripe/params/account_person_update_params.rb +6 -0
  12. data/lib/stripe/params/account_reject_params.rb +4 -1
  13. data/lib/stripe/params/account_session_create_params.rb +21 -230
  14. data/lib/stripe/params/{quote_mark_draft_params.rb → account_unreject_params.rb} +1 -1
  15. data/lib/stripe/params/account_update_params.rb +81 -332
  16. data/lib/stripe/params/billing/alert_create_params.rb +1 -1
  17. data/lib/stripe/params/billing_portal/configuration_create_params.rb +1 -1
  18. data/lib/stripe/params/billing_portal/configuration_update_params.rb +1 -1
  19. data/lib/stripe/params/charge_capture_params.rb +0 -1646
  20. data/lib/stripe/params/charge_update_params.rb +0 -1646
  21. data/lib/stripe/params/checkout/session_create_params.rb +24 -133
  22. data/lib/stripe/params/checkout/session_update_params.rb +1 -176
  23. data/lib/stripe/params/confirmation_token_create_params.rb +0 -78
  24. data/lib/stripe/params/coupon_create_params.rb +1 -17
  25. data/lib/stripe/params/customer_create_params.rb +1 -1
  26. data/lib/stripe/params/customer_session_create_params.rb +1 -32
  27. data/lib/stripe/params/customer_tax_id_create_params.rb +1 -1
  28. data/lib/stripe/params/dispute_update_params.rb +1 -10
  29. data/lib/stripe/params/financial_connections/session_create_params.rb +9 -38
  30. data/lib/stripe/params/invoice_add_lines_params.rb +1 -48
  31. data/lib/stripe/params/invoice_attach_payment_params.rb +1 -43
  32. data/lib/stripe/params/invoice_create_params.rb +2 -70
  33. data/lib/stripe/params/invoice_create_preview_params.rb +16 -844
  34. data/lib/stripe/params/invoice_item_create_params.rb +1 -33
  35. data/lib/stripe/params/invoice_item_update_params.rb +1 -33
  36. data/lib/stripe/params/invoice_line_item_update_params.rb +1 -48
  37. data/lib/stripe/params/invoice_update_lines_params.rb +1 -48
  38. data/lib/stripe/params/invoice_update_params.rb +2 -70
  39. data/lib/stripe/params/issuing/authorization_capture_params.rb +1 -1
  40. data/lib/stripe/params/issuing/authorization_create_params.rb +1 -1
  41. data/lib/stripe/params/issuing/authorization_finalize_amount_params.rb +1 -1
  42. data/lib/stripe/params/issuing/card_create_params.rb +4 -0
  43. data/lib/stripe/params/issuing/card_update_params.rb +4 -0
  44. data/lib/stripe/params/issuing/cardholder_create_params.rb +1 -2
  45. data/lib/stripe/params/issuing/transaction_create_force_capture_params.rb +1 -1
  46. data/lib/stripe/params/issuing/transaction_create_unlinked_refund_params.rb +1 -1
  47. data/lib/stripe/params/issuing/transaction_list_params.rb +0 -4
  48. data/lib/stripe/params/payment_intent_capture_params.rb +1 -1643
  49. data/lib/stripe/params/payment_intent_confirm_params.rb +137 -3047
  50. data/lib/stripe/params/payment_intent_create_params.rb +152 -3062
  51. data/lib/stripe/params/payment_intent_increment_authorization_params.rb +0 -37
  52. data/lib/stripe/params/payment_intent_update_params.rb +105 -3049
  53. data/lib/stripe/params/payment_link_create_params.rb +0 -15
  54. data/lib/stripe/params/payment_link_update_params.rb +58 -0
  55. data/lib/stripe/params/payment_method_configuration_create_params.rb +0 -105
  56. data/lib/stripe/params/payment_method_configuration_update_params.rb +0 -105
  57. data/lib/stripe/params/payment_method_create_params.rb +0 -74
  58. data/lib/stripe/params/{account_notice_list_params.rb → payment_record_list_params.rb} +15 -5
  59. data/lib/stripe/params/plan_create_params.rb +0 -15
  60. data/lib/stripe/params/price_create_params.rb +0 -15
  61. data/lib/stripe/params/price_update_params.rb +0 -19
  62. data/lib/stripe/params/product_create_params.rb +0 -16
  63. data/lib/stripe/params/product_update_params.rb +0 -16
  64. data/lib/stripe/params/promotion_code_create_params.rb +1 -1
  65. data/lib/stripe/params/promotion_code_update_params.rb +1 -1
  66. data/lib/stripe/params/quote_create_params.rb +31 -810
  67. data/lib/stripe/params/quote_list_params.rb +0 -4
  68. data/lib/stripe/params/quote_update_params.rb +32 -818
  69. data/lib/stripe/params/setup_intent_confirm_params.rb +7 -108
  70. data/lib/stripe/params/setup_intent_create_params.rb +7 -108
  71. data/lib/stripe/params/setup_intent_update_params.rb +7 -108
  72. data/lib/stripe/params/subscription_create_params.rb +6 -170
  73. data/lib/stripe/params/subscription_item_create_params.rb +2 -62
  74. data/lib/stripe/params/subscription_item_update_params.rb +1 -45
  75. data/lib/stripe/params/subscription_resume_params.rb +0 -4
  76. data/lib/stripe/params/subscription_schedule_create_params.rb +65 -171
  77. data/lib/stripe/params/subscription_schedule_list_params.rb +1 -1
  78. data/lib/stripe/params/subscription_schedule_update_params.rb +66 -172
  79. data/lib/stripe/params/subscription_update_params.rb +6 -154
  80. data/lib/stripe/params/tax/calculation_create_params.rb +2 -6
  81. data/lib/stripe/params/tax/registration_create_params.rb +12 -90
  82. data/lib/stripe/params/tax_id_create_params.rb +1 -1
  83. data/lib/stripe/params/terminal/configuration_create_params.rb +0 -13
  84. data/lib/stripe/params/terminal/configuration_update_params.rb +0 -13
  85. data/lib/stripe/params/test_helpers/confirmation_token_create_params.rb +0 -78
  86. data/lib/stripe/params/test_helpers/issuing/authorization_capture_params.rb +1 -1
  87. data/lib/stripe/params/test_helpers/issuing/authorization_create_params.rb +1 -1
  88. data/lib/stripe/params/test_helpers/issuing/authorization_finalize_amount_params.rb +1 -1
  89. data/lib/stripe/params/test_helpers/issuing/transaction_create_force_capture_params.rb +1 -1
  90. data/lib/stripe/params/test_helpers/issuing/transaction_create_unlinked_refund_params.rb +1 -1
  91. data/lib/stripe/params/test_helpers/treasury/received_credit_create_params.rb +1 -25
  92. data/lib/stripe/params/test_helpers/treasury/received_debit_create_params.rb +1 -25
  93. data/lib/stripe/params/token_create_params.rb +78 -0
  94. data/lib/stripe/params/transfer_create_params.rb +0 -4
  95. data/lib/stripe/params/treasury/financial_account_create_params.rb +1 -8
  96. data/lib/stripe/params/treasury/financial_account_features_update_params.rb +1 -4
  97. data/lib/stripe/params/treasury/financial_account_update_features_params.rb +1 -4
  98. data/lib/stripe/params/treasury/financial_account_update_params.rb +1 -8
  99. data/lib/stripe/params/treasury/outbound_payment_create_params.rb +0 -4
  100. data/lib/stripe/params/treasury/outbound_transfer_create_params.rb +0 -24
  101. data/lib/stripe/params/treasury/received_credit_create_params.rb +1 -25
  102. data/lib/stripe/params/treasury/received_debit_create_params.rb +1 -25
  103. data/lib/stripe/params/v2/billing/meter_event_create_params.rb +2 -2
  104. data/lib/stripe/params/v2/billing/meter_event_stream_create_params.rb +2 -2
  105. data/lib/stripe/params/v2/core/account_create_params.rb +48 -403
  106. data/lib/stripe/params/v2/core/account_token_create_params.rb +44 -13
  107. data/lib/stripe/params/v2/core/account_update_params.rb +48 -396
  108. data/lib/stripe/params.rb +4 -426
  109. data/lib/stripe/resources/account.rb +87 -265
  110. data/lib/stripe/resources/account_session.rb +8 -81
  111. data/lib/stripe/resources/balance.rb +0 -83
  112. data/lib/stripe/resources/balance_transaction.rb +1 -1
  113. data/lib/stripe/resources/bank_account.rb +2 -2
  114. data/lib/stripe/resources/billing/alert_triggered.rb +0 -4
  115. data/lib/stripe/resources/billing_portal/configuration.rb +1 -1
  116. data/lib/stripe/resources/capability.rb +2 -2
  117. data/lib/stripe/resources/card.rb +1 -18
  118. data/lib/stripe/resources/charge.rb +4 -230
  119. data/lib/stripe/resources/checkout/session.rb +20 -92
  120. data/lib/stripe/resources/confirmation_token.rb +1 -132
  121. data/lib/stripe/resources/coupon.rb +1 -26
  122. data/lib/stripe/resources/credit_note_line_item.rb +0 -18
  123. data/lib/stripe/resources/customer.rb +0 -16
  124. data/lib/stripe/resources/customer_session.rb +0 -36
  125. data/lib/stripe/resources/dispute.rb +4 -24
  126. data/lib/stripe/resources/event.rb +1 -64
  127. data/lib/stripe/resources/financial_connections/account.rb +1 -45
  128. data/lib/stripe/resources/financial_connections/authorization.rb +1 -24
  129. data/lib/stripe/resources/financial_connections/session.rb +25 -91
  130. data/lib/stripe/resources/invoice.rb +2 -118
  131. data/lib/stripe/resources/invoice_item.rb +0 -2
  132. data/lib/stripe/resources/invoice_line_item.rb +0 -40
  133. data/lib/stripe/resources/issuing/authorization.rb +0 -16
  134. data/lib/stripe/resources/issuing/card.rb +2 -16
  135. data/lib/stripe/resources/issuing/cardholder.rb +0 -16
  136. data/lib/stripe/resources/issuing/dispute.rb +1 -16
  137. data/lib/stripe/resources/issuing/transaction.rb +1 -19
  138. data/lib/stripe/resources/line_item.rb +0 -42
  139. data/lib/stripe/resources/mandate.rb +0 -12
  140. data/lib/stripe/resources/payment_attempt_record.rb +3 -179
  141. data/lib/stripe/resources/payment_intent.rb +23 -1574
  142. data/lib/stripe/resources/payment_method.rb +3 -154
  143. data/lib/stripe/resources/payment_method_configuration.rb +0 -170
  144. data/lib/stripe/resources/payment_record.rb +10 -179
  145. data/lib/stripe/resources/person.rb +2 -2
  146. data/lib/stripe/resources/price.rb +0 -20
  147. data/lib/stripe/resources/product.rb +0 -18
  148. data/lib/stripe/resources/quote.rb +23 -569
  149. data/lib/stripe/resources/radar/value_list_item.rb +1 -15
  150. data/lib/stripe/resources/refund.rb +6 -18
  151. data/lib/stripe/resources/reserve/hold.rb +0 -7
  152. data/lib/stripe/resources/reserve/release.rb +0 -12
  153. data/lib/stripe/resources/setup_attempt.rb +0 -35
  154. data/lib/stripe/resources/setup_intent.rb +3 -38
  155. data/lib/stripe/resources/source.rb +0 -54
  156. data/lib/stripe/resources/subscription.rb +0 -167
  157. data/lib/stripe/resources/subscription_item.rb +1 -41
  158. data/lib/stripe/resources/subscription_schedule.rb +49 -200
  159. data/lib/stripe/resources/tax/calculation.rb +1 -1
  160. data/lib/stripe/resources/tax/calculation_line_item.rb +0 -2
  161. data/lib/stripe/resources/tax/registration.rb +10 -106
  162. data/lib/stripe/resources/tax/transaction.rb +1 -1
  163. data/lib/stripe/resources/tax_code.rb +1 -15
  164. data/lib/stripe/resources/tax_id.rb +1 -1
  165. data/lib/stripe/resources/terminal/configuration.rb +0 -16
  166. data/lib/stripe/resources/terminal/reader.rb +0 -8
  167. data/lib/stripe/resources/token.rb +1 -15
  168. data/lib/stripe/resources/topup.rb +31 -1
  169. data/lib/stripe/resources/transfer.rb +0 -2
  170. data/lib/stripe/resources/treasury/financial_account.rb +0 -2
  171. data/lib/stripe/resources/treasury/financial_account_features.rb +0 -2
  172. data/lib/stripe/resources/treasury/outbound_payment.rb +0 -2
  173. data/lib/stripe/resources/treasury/outbound_transfer.rb +0 -30
  174. data/lib/stripe/resources/treasury/received_credit.rb +0 -30
  175. data/lib/stripe/resources/treasury/received_debit.rb +0 -32
  176. data/lib/stripe/resources/v2/billing/meter_event.rb +2 -2
  177. data/lib/stripe/resources/v2/billing/meter_event_adjustment.rb +1 -1
  178. data/lib/stripe/resources/v2/core/account.rb +100 -949
  179. data/lib/stripe/resources/v2/core/event_notification.rb +0 -1
  180. data/lib/stripe/resources.rb +0 -425
  181. data/lib/stripe/services/account_person_service.rb +1 -1
  182. data/lib/stripe/services/account_service.rb +14 -14
  183. data/lib/stripe/services/billing_service.rb +1 -2
  184. data/lib/stripe/services/coupon_service.rb +0 -14
  185. data/lib/stripe/services/customer_service.rb +0 -15
  186. data/lib/stripe/services/dispute_service.rb +1 -1
  187. data/lib/stripe/services/financial_connections/account_service.rb +1 -3
  188. data/lib/stripe/services/financial_connections_service.rb +1 -3
  189. data/lib/stripe/services/invoice_service.rb +0 -11
  190. data/lib/stripe/services/issuing_service.rb +1 -5
  191. data/lib/stripe/services/mandate_service.rb +0 -5
  192. data/lib/stripe/services/payment_intent_service.rb +0 -37
  193. data/lib/stripe/services/payment_method_service.rb +1 -1
  194. data/lib/stripe/services/payment_record_service.rb +11 -0
  195. data/lib/stripe/services/promotion_code_service.rb +0 -29
  196. data/lib/stripe/services/quote_service.rb +1 -49
  197. data/lib/stripe/services/subscription_schedule_service.rb +0 -11
  198. data/lib/stripe/services/subscription_service.rb +0 -56
  199. data/lib/stripe/services/tax_service.rb +1 -3
  200. data/lib/stripe/services/terminal_service.rb +1 -2
  201. data/lib/stripe/services/test_helpers_service.rb +1 -2
  202. data/lib/stripe/services/v1_services.rb +1 -11
  203. data/lib/stripe/services/v2/billing_service.rb +1 -5
  204. data/lib/stripe/services/v2/core_service.rb +1 -3
  205. data/lib/stripe/services/v2_services.rb +1 -8
  206. data/lib/stripe/services.rb +0 -209
  207. data/lib/stripe/stripe_client.rb +1 -8
  208. data/lib/stripe/stripe_configuration.rb +1 -3
  209. data/lib/stripe/stripe_object.rb +1 -1
  210. data/lib/stripe/telemetry_id.rb +65 -0
  211. data/lib/stripe/util.rb +1 -7
  212. data/lib/stripe/version.rb +1 -1
  213. data/lib/stripe.rb +2 -54
  214. data/rbi/stripe/resources/v2/core/event_notification.rbi +0 -3
  215. data/rbi/stripe/stripe_client.rbi +0 -13
  216. data/rbi/stripe.rbi +46727 -112851
  217. metadata +7 -380
  218. data/lib/stripe/events/v2_core_account_including_configuration_money_manager_capability_status_updated_event.rb +0 -63
  219. data/lib/stripe/events/v2_core_account_including_configuration_money_manager_updated_event.rb +0 -44
  220. data/lib/stripe/events/v2_core_batch_job_batch_failed_event.rb +0 -44
  221. data/lib/stripe/events/v2_core_batch_job_canceled_event.rb +0 -44
  222. data/lib/stripe/events/v2_core_batch_job_completed_event.rb +0 -44
  223. data/lib/stripe/events/v2_core_batch_job_created_event.rb +0 -44
  224. data/lib/stripe/events/v2_core_batch_job_ready_for_upload_event.rb +0 -44
  225. data/lib/stripe/events/v2_core_batch_job_timeout_event.rb +0 -44
  226. data/lib/stripe/events/v2_core_batch_job_updated_event.rb +0 -44
  227. data/lib/stripe/events/v2_core_batch_job_upload_timeout_event.rb +0 -44
  228. data/lib/stripe/events/v2_core_batch_job_validating_event.rb +0 -44
  229. data/lib/stripe/events/v2_core_batch_job_validation_failed_event.rb +0 -44
  230. data/lib/stripe/events/v2_core_health_event_generation_failure_resolved_event.rb +0 -78
  231. data/lib/stripe/events/v2_data_reporting_query_run_created_event.rb +0 -44
  232. data/lib/stripe/events/v2_data_reporting_query_run_failed_event.rb +0 -44
  233. data/lib/stripe/events/v2_data_reporting_query_run_succeeded_event.rb +0 -44
  234. data/lib/stripe/events/v2_data_reporting_query_run_updated_event.rb +0 -44
  235. data/lib/stripe/events/v2_extend_workflow_run_failed_event.rb +0 -75
  236. data/lib/stripe/events/v2_extend_workflow_run_started_event.rb +0 -44
  237. data/lib/stripe/events/v2_extend_workflow_run_succeeded_event.rb +0 -44
  238. data/lib/stripe/events/v2_money_management_adjustment_created_event.rb +0 -44
  239. data/lib/stripe/events/v2_money_management_financial_account_created_event.rb +0 -44
  240. data/lib/stripe/events/v2_money_management_financial_account_updated_event.rb +0 -44
  241. data/lib/stripe/events/v2_money_management_financial_address_activated_event.rb +0 -44
  242. data/lib/stripe/events/v2_money_management_financial_address_failed_event.rb +0 -44
  243. data/lib/stripe/events/v2_money_management_inbound_transfer_available_event.rb +0 -61
  244. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_failed_event.rb +0 -44
  245. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_processing_event.rb +0 -44
  246. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_queued_event.rb +0 -44
  247. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_returned_event.rb +0 -44
  248. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_succeeded_event.rb +0 -44
  249. data/lib/stripe/events/v2_money_management_outbound_payment_canceled_event.rb +0 -44
  250. data/lib/stripe/events/v2_money_management_outbound_payment_created_event.rb +0 -44
  251. data/lib/stripe/events/v2_money_management_outbound_payment_failed_event.rb +0 -44
  252. data/lib/stripe/events/v2_money_management_outbound_payment_posted_event.rb +0 -44
  253. data/lib/stripe/events/v2_money_management_outbound_payment_returned_event.rb +0 -44
  254. data/lib/stripe/events/v2_money_management_outbound_payment_under_review_event.rb +0 -44
  255. data/lib/stripe/events/v2_money_management_outbound_payment_updated_event.rb +0 -44
  256. data/lib/stripe/events/v2_money_management_outbound_transfer_canceled_event.rb +0 -44
  257. data/lib/stripe/events/v2_money_management_outbound_transfer_created_event.rb +0 -44
  258. data/lib/stripe/events/v2_money_management_outbound_transfer_failed_event.rb +0 -44
  259. data/lib/stripe/events/v2_money_management_outbound_transfer_posted_event.rb +0 -44
  260. data/lib/stripe/events/v2_money_management_outbound_transfer_returned_event.rb +0 -44
  261. data/lib/stripe/events/v2_money_management_outbound_transfer_under_review_event.rb +0 -44
  262. data/lib/stripe/events/v2_money_management_outbound_transfer_updated_event.rb +0 -44
  263. data/lib/stripe/events/v2_money_management_payout_method_created_event.rb +0 -44
  264. data/lib/stripe/events/v2_money_management_payout_method_updated_event.rb +0 -44
  265. data/lib/stripe/events/v2_money_management_received_credit_available_event.rb +0 -61
  266. data/lib/stripe/events/v2_money_management_received_credit_failed_event.rb +0 -44
  267. data/lib/stripe/events/v2_money_management_received_credit_returned_event.rb +0 -44
  268. data/lib/stripe/events/v2_money_management_received_credit_succeeded_event.rb +0 -44
  269. data/lib/stripe/events/v2_money_management_received_debit_canceled_event.rb +0 -44
  270. data/lib/stripe/events/v2_money_management_received_debit_failed_event.rb +0 -44
  271. data/lib/stripe/events/v2_money_management_received_debit_pending_event.rb +0 -44
  272. data/lib/stripe/events/v2_money_management_received_debit_succeeded_event.rb +0 -44
  273. data/lib/stripe/events/v2_money_management_received_debit_updated_event.rb +0 -44
  274. data/lib/stripe/events/v2_money_management_transaction_created_event.rb +0 -63
  275. data/lib/stripe/events/v2_money_management_transaction_updated_event.rb +0 -44
  276. data/lib/stripe/events/v2_orchestrated_commerce_agreement_confirmed_event.rb +0 -97
  277. data/lib/stripe/events/v2_orchestrated_commerce_agreement_created_event.rb +0 -97
  278. data/lib/stripe/events/v2_orchestrated_commerce_agreement_partially_confirmed_event.rb +0 -97
  279. data/lib/stripe/events/v2_orchestrated_commerce_agreement_terminated_event.rb +0 -97
  280. data/lib/stripe/params/account_notice_retrieve_params.rb +0 -13
  281. data/lib/stripe/params/account_notice_update_params.rb +0 -36
  282. data/lib/stripe/params/billing/analytics/meter_usage_retrieve_params.rb +0 -65
  283. data/lib/stripe/params/capital/financing_offer_list_params.rb +0 -58
  284. data/lib/stripe/params/capital/financing_offer_mark_delivered_params.rb +0 -15
  285. data/lib/stripe/params/capital/financing_offer_retrieve_params.rb +0 -15
  286. data/lib/stripe/params/capital/financing_summary_retrieve_params.rb +0 -15
  287. data/lib/stripe/params/capital/financing_transaction_list_params.rb +0 -45
  288. data/lib/stripe/params/capital/financing_transaction_retrieve_params.rb +0 -15
  289. data/lib/stripe/params/external_account_create_params.rb +0 -134
  290. data/lib/stripe/params/external_account_delete_params.rb +0 -6
  291. data/lib/stripe/params/external_account_list_params.rb +0 -25
  292. data/lib/stripe/params/external_account_retrieve_params.rb +0 -13
  293. data/lib/stripe/params/external_account_update_params.rb +0 -91
  294. data/lib/stripe/params/financial_connections/account_inferred_balance_list_params.rb +0 -24
  295. data/lib/stripe/params/financial_connections/authorization_retrieve_params.rb +0 -15
  296. data/lib/stripe/params/financial_connections/institution_list_params.rb +0 -24
  297. data/lib/stripe/params/financial_connections/institution_retrieve_params.rb +0 -15
  298. data/lib/stripe/params/fx_quote_create_params.rb +0 -73
  299. data/lib/stripe/params/fx_quote_list_params.rb +0 -22
  300. data/lib/stripe/params/fx_quote_retrieve_params.rb +0 -13
  301. data/lib/stripe/params/invoice_detach_payment_params.rb +0 -16
  302. data/lib/stripe/params/issuing/credit_underwriting_record_correct_params.rb +0 -163
  303. data/lib/stripe/params/issuing/credit_underwriting_record_create_from_application_params.rb +0 -50
  304. data/lib/stripe/params/issuing/credit_underwriting_record_create_from_proactive_review_params.rb +0 -128
  305. data/lib/stripe/params/issuing/credit_underwriting_record_list_params.rb +0 -24
  306. data/lib/stripe/params/issuing/credit_underwriting_record_report_decision_params.rb +0 -86
  307. data/lib/stripe/params/issuing/credit_underwriting_record_retrieve_params.rb +0 -15
  308. data/lib/stripe/params/issuing/dispute_settlement_detail_list_params.rb +0 -33
  309. data/lib/stripe/params/issuing/dispute_settlement_detail_retrieve_params.rb +0 -15
  310. data/lib/stripe/params/issuing/fraud_liability_debit_list_params.rb +0 -44
  311. data/lib/stripe/params/issuing/fraud_liability_debit_retrieve_params.rb +0 -15
  312. data/lib/stripe/params/mandate_list_params.rb +0 -39
  313. data/lib/stripe/params/margin_create_params.rb +0 -25
  314. data/lib/stripe/params/margin_list_params.rb +0 -25
  315. data/lib/stripe/params/margin_retrieve_params.rb +0 -13
  316. data/lib/stripe/params/margin_update_params.rb +0 -22
  317. data/lib/stripe/params/order_create_params.rb +0 -2083
  318. data/lib/stripe/params/order_list_params.rb +0 -25
  319. data/lib/stripe/params/order_retrieve_params.rb +0 -13
  320. data/lib/stripe/params/order_submit_params.rb +0 -16
  321. data/lib/stripe/params/order_update_params.rb +0 -2087
  322. data/lib/stripe/params/payment_intent_decrement_authorization_params.rb +0 -297
  323. data/lib/stripe/params/payment_intent_trigger_action_params.rb +0 -27
  324. data/lib/stripe/params/privacy/redaction_job_cancel_params.rb +0 -15
  325. data/lib/stripe/params/privacy/redaction_job_create_params.rb +0 -67
  326. data/lib/stripe/params/privacy/redaction_job_list_params.rb +0 -27
  327. data/lib/stripe/params/privacy/redaction_job_retrieve_params.rb +0 -15
  328. data/lib/stripe/params/privacy/redaction_job_run_params.rb +0 -15
  329. data/lib/stripe/params/privacy/redaction_job_update_params.rb +0 -18
  330. data/lib/stripe/params/privacy/redaction_job_validate_params.rb +0 -15
  331. data/lib/stripe/params/privacy/redaction_job_validation_error_list_params.rb +0 -24
  332. data/lib/stripe/params/product_catalog/trial_offer_create_params.rb +0 -63
  333. data/lib/stripe/params/quote_line_list_params.rb +0 -22
  334. data/lib/stripe/params/quote_list_lines_params.rb +0 -22
  335. data/lib/stripe/params/quote_list_preview_invoice_lines_params.rb +0 -22
  336. data/lib/stripe/params/quote_mark_stale_params.rb +0 -16
  337. data/lib/stripe/params/quote_preview_invoice_list_params.rb +0 -22
  338. data/lib/stripe/params/quote_preview_subscription_schedule_list_params.rb +0 -22
  339. data/lib/stripe/params/quote_reestimate_params.rb +0 -13
  340. data/lib/stripe/params/reserve/hold_list_params.rb +0 -53
  341. data/lib/stripe/params/reserve/hold_retrieve_params.rb +0 -15
  342. data/lib/stripe/params/reserve/plan_retrieve_params.rb +0 -15
  343. data/lib/stripe/params/reserve/release_list_params.rb +0 -41
  344. data/lib/stripe/params/reserve/release_retrieve_params.rb +0 -15
  345. data/lib/stripe/params/shared_payment/granted_token_create_params.rb +0 -47
  346. data/lib/stripe/params/shared_payment/granted_token_retrieve_params.rb +0 -15
  347. data/lib/stripe/params/shared_payment/granted_token_revoke_params.rb +0 -15
  348. data/lib/stripe/params/shared_payment/issued_token_create_params.rb +0 -67
  349. data/lib/stripe/params/shared_payment/issued_token_retrieve_params.rb +0 -15
  350. data/lib/stripe/params/shared_payment/issued_token_revoke_params.rb +0 -15
  351. data/lib/stripe/params/subscription_pause_params.rb +0 -50
  352. data/lib/stripe/params/subscription_schedule_amend_params.rb +0 -578
  353. data/lib/stripe/params/tax/form_list_params.rb +0 -51
  354. data/lib/stripe/params/tax/form_pdf_params.rb +0 -15
  355. data/lib/stripe/params/tax/form_retrieve_params.rb +0 -15
  356. data/lib/stripe/params/tax/location_create_params.rb +0 -54
  357. data/lib/stripe/params/tax/location_list_params.rb +0 -27
  358. data/lib/stripe/params/tax/location_retrieve_params.rb +0 -15
  359. data/lib/stripe/params/terminal/reader_collected_data_retrieve_params.rb +0 -15
  360. data/lib/stripe/params/test_helpers/shared_payment/granted_token_create_params.rb +0 -49
  361. data/lib/stripe/params/test_helpers/shared_payment/granted_token_revoke_params.rb +0 -17
  362. data/lib/stripe/params/v2/billing/bill_setting_create_params.rb +0 -74
  363. data/lib/stripe/params/v2/billing/bill_setting_list_params.rb +0 -21
  364. data/lib/stripe/params/v2/billing/bill_setting_retrieve_params.rb +0 -10
  365. data/lib/stripe/params/v2/billing/bill_setting_update_params.rb +0 -80
  366. data/lib/stripe/params/v2/billing/bill_settings/version_list_params.rb +0 -19
  367. data/lib/stripe/params/v2/billing/bill_settings/version_retrieve_params.rb +0 -12
  368. data/lib/stripe/params/v2/billing/cadence_cancel_params.rb +0 -10
  369. data/lib/stripe/params/v2/billing/cadence_create_params.rb +0 -253
  370. data/lib/stripe/params/v2/billing/cadence_list_params.rb +0 -43
  371. data/lib/stripe/params/v2/billing/cadence_retrieve_params.rb +0 -17
  372. data/lib/stripe/params/v2/billing/cadence_update_params.rb +0 -75
  373. data/lib/stripe/params/v2/billing/collection_setting_create_params.rb +0 -257
  374. data/lib/stripe/params/v2/billing/collection_setting_list_params.rb +0 -21
  375. data/lib/stripe/params/v2/billing/collection_setting_retrieve_params.rb +0 -10
  376. data/lib/stripe/params/v2/billing/collection_setting_update_params.rb +0 -263
  377. data/lib/stripe/params/v2/billing/collection_settings/version_list_params.rb +0 -19
  378. data/lib/stripe/params/v2/billing/collection_settings/version_retrieve_params.rb +0 -12
  379. data/lib/stripe/params/v2/billing/profile_create_params.rb +0 -37
  380. data/lib/stripe/params/v2/billing/profile_list_params.rb +0 -40
  381. data/lib/stripe/params/v2/billing/profile_retrieve_params.rb +0 -10
  382. data/lib/stripe/params/v2/billing/profile_update_params.rb +0 -35
  383. data/lib/stripe/params/v2/core/batch_job_cancel_params.rb +0 -10
  384. data/lib/stripe/params/v2/core/batch_job_create_params.rb +0 -53
  385. data/lib/stripe/params/v2/core/batch_job_retrieve_params.rb +0 -10
  386. data/lib/stripe/params/v2/core/vault/gb_bank_account_acknowledge_confirmation_of_payee_params.rb +0 -12
  387. data/lib/stripe/params/v2/core/vault/gb_bank_account_archive_params.rb +0 -12
  388. data/lib/stripe/params/v2/core/vault/gb_bank_account_create_params.rb +0 -58
  389. data/lib/stripe/params/v2/core/vault/gb_bank_account_initiate_confirmation_of_payee_params.rb +0 -22
  390. data/lib/stripe/params/v2/core/vault/gb_bank_account_list_params.rb +0 -19
  391. data/lib/stripe/params/v2/core/vault/gb_bank_account_retrieve_params.rb +0 -12
  392. data/lib/stripe/params/v2/core/vault/us_bank_account_archive_params.rb +0 -12
  393. data/lib/stripe/params/v2/core/vault/us_bank_account_confirm_microdeposits_params.rb +0 -22
  394. data/lib/stripe/params/v2/core/vault/us_bank_account_create_params.rb +0 -37
  395. data/lib/stripe/params/v2/core/vault/us_bank_account_list_params.rb +0 -22
  396. data/lib/stripe/params/v2/core/vault/us_bank_account_retrieve_params.rb +0 -12
  397. data/lib/stripe/params/v2/core/vault/us_bank_account_send_microdeposits_params.rb +0 -12
  398. data/lib/stripe/params/v2/core/vault/us_bank_account_update_params.rb +0 -22
  399. data/lib/stripe/params/v2/data/reporting/query_run_create_params.rb +0 -31
  400. data/lib/stripe/params/v2/data/reporting/query_run_retrieve_params.rb +0 -12
  401. data/lib/stripe/params/v2/extend/workflow_invoke_params.rb +0 -17
  402. data/lib/stripe/params/v2/extend/workflow_list_params.rb +0 -21
  403. data/lib/stripe/params/v2/extend/workflow_retrieve_params.rb +0 -10
  404. data/lib/stripe/params/v2/extend/workflow_run_list_params.rb +0 -23
  405. data/lib/stripe/params/v2/extend/workflow_run_retrieve_params.rb +0 -10
  406. data/lib/stripe/params/v2/iam/activity_log_list_params.rb +0 -23
  407. data/lib/stripe/params/v2/iam/activity_log_retrieve_params.rb +0 -10
  408. data/lib/stripe/params/v2/money_management/adjustment_list_params.rb +0 -48
  409. data/lib/stripe/params/v2/money_management/adjustment_retrieve_params.rb +0 -10
  410. data/lib/stripe/params/v2/money_management/financial_account_close_params.rb +0 -28
  411. data/lib/stripe/params/v2/money_management/financial_account_create_params.rb +0 -34
  412. data/lib/stripe/params/v2/money_management/financial_account_list_params.rb +0 -20
  413. data/lib/stripe/params/v2/money_management/financial_account_retrieve_params.rb +0 -10
  414. data/lib/stripe/params/v2/money_management/financial_account_update_params.rb +0 -20
  415. data/lib/stripe/params/v2/money_management/financial_address_create_params.rb +0 -20
  416. data/lib/stripe/params/v2/money_management/financial_address_list_params.rb +0 -23
  417. data/lib/stripe/params/v2/money_management/financial_address_retrieve_params.rb +0 -17
  418. data/lib/stripe/params/v2/money_management/inbound_transfer_create_params.rb +0 -50
  419. data/lib/stripe/params/v2/money_management/inbound_transfer_list_params.rb +0 -44
  420. data/lib/stripe/params/v2/money_management/inbound_transfer_retrieve_params.rb +0 -10
  421. data/lib/stripe/params/v2/money_management/outbound_payment_cancel_params.rb +0 -10
  422. data/lib/stripe/params/v2/money_management/outbound_payment_create_params.rb +0 -102
  423. data/lib/stripe/params/v2/money_management/outbound_payment_list_params.rb +0 -52
  424. data/lib/stripe/params/v2/money_management/outbound_payment_quote_create_params.rb +0 -67
  425. data/lib/stripe/params/v2/money_management/outbound_payment_quote_retrieve_params.rb +0 -10
  426. data/lib/stripe/params/v2/money_management/outbound_payment_retrieve_params.rb +0 -10
  427. data/lib/stripe/params/v2/money_management/outbound_setup_intent_cancel_params.rb +0 -10
  428. data/lib/stripe/params/v2/money_management/outbound_setup_intent_create_params.rb +0 -92
  429. data/lib/stripe/params/v2/money_management/outbound_setup_intent_list_params.rb +0 -17
  430. data/lib/stripe/params/v2/money_management/outbound_setup_intent_retrieve_params.rb +0 -10
  431. data/lib/stripe/params/v2/money_management/outbound_setup_intent_update_params.rb +0 -88
  432. data/lib/stripe/params/v2/money_management/outbound_transfer_cancel_params.rb +0 -10
  433. data/lib/stripe/params/v2/money_management/outbound_transfer_create_params.rb +0 -77
  434. data/lib/stripe/params/v2/money_management/outbound_transfer_list_params.rb +0 -48
  435. data/lib/stripe/params/v2/money_management/outbound_transfer_retrieve_params.rb +0 -10
  436. data/lib/stripe/params/v2/money_management/payout_method_archive_params.rb +0 -10
  437. data/lib/stripe/params/v2/money_management/payout_method_list_params.rb +0 -31
  438. data/lib/stripe/params/v2/money_management/payout_method_retrieve_params.rb +0 -10
  439. data/lib/stripe/params/v2/money_management/payout_method_unarchive_params.rb +0 -10
  440. data/lib/stripe/params/v2/money_management/payout_methods_bank_account_spec_retrieve_params.rb +0 -17
  441. data/lib/stripe/params/v2/money_management/received_credit_list_params.rb +0 -44
  442. data/lib/stripe/params/v2/money_management/received_credit_retrieve_params.rb +0 -10
  443. data/lib/stripe/params/v2/money_management/received_debit_list_params.rb +0 -17
  444. data/lib/stripe/params/v2/money_management/received_debit_retrieve_params.rb +0 -10
  445. data/lib/stripe/params/v2/money_management/transaction_entry_list_params.rb +0 -43
  446. data/lib/stripe/params/v2/money_management/transaction_entry_retrieve_params.rb +0 -10
  447. data/lib/stripe/params/v2/money_management/transaction_list_params.rb +0 -47
  448. data/lib/stripe/params/v2/money_management/transaction_retrieve_params.rb +0 -10
  449. data/lib/stripe/params/v2/network/business_profile_me_params.rb +0 -10
  450. data/lib/stripe/params/v2/network/business_profile_retrieve_params.rb +0 -10
  451. data/lib/stripe/params/v2/orchestrated_commerce/agreement_confirm_params.rb +0 -10
  452. data/lib/stripe/params/v2/orchestrated_commerce/agreement_create_params.rb +0 -17
  453. data/lib/stripe/params/v2/orchestrated_commerce/agreement_list_params.rb +0 -20
  454. data/lib/stripe/params/v2/orchestrated_commerce/agreement_retrieve_params.rb +0 -10
  455. data/lib/stripe/params/v2/orchestrated_commerce/agreement_terminate_params.rb +0 -10
  456. data/lib/stripe/params/v2/test_helpers/financial_address_credit_params.rb +0 -23
  457. data/lib/stripe/params/v2/test_helpers/financial_address_generate_microdeposits_params.rb +0 -10
  458. data/lib/stripe/resources/account_notice.rb +0 -94
  459. data/lib/stripe/resources/billing/analytics/meter_usage.rb +0 -33
  460. data/lib/stripe/resources/billing/analytics/meter_usage_row.rb +0 -38
  461. data/lib/stripe/resources/capital/financing_offer.rb +0 -144
  462. data/lib/stripe/resources/capital/financing_summary.rb +0 -84
  463. data/lib/stripe/resources/capital/financing_transaction.rb +0 -99
  464. data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +0 -35
  465. data/lib/stripe/resources/financial_connections/institution.rb +0 -127
  466. data/lib/stripe/resources/fx_quote.rb +0 -147
  467. data/lib/stripe/resources/issuing/credit_underwriting_record.rb +0 -263
  468. data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +0 -71
  469. data/lib/stripe/resources/issuing/fraud_liability_debit.rb +0 -51
  470. data/lib/stripe/resources/issuing/settlement.rb +0 -61
  471. data/lib/stripe/resources/margin.rb +0 -64
  472. data/lib/stripe/resources/order.rb +0 -927
  473. data/lib/stripe/resources/privacy/redaction_job.rb +0 -189
  474. data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +0 -49
  475. data/lib/stripe/resources/product_catalog/trial_offer.rb +0 -106
  476. data/lib/stripe/resources/quote_line.rb +0 -525
  477. data/lib/stripe/resources/quote_preview_invoice.rb +0 -1183
  478. data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -736
  479. data/lib/stripe/resources/shared_payment/granted_token.rb +0 -1801
  480. data/lib/stripe/resources/shared_payment/issued_token.rb +0 -291
  481. data/lib/stripe/resources/tax/form.rb +0 -264
  482. data/lib/stripe/resources/tax/location.rb +0 -72
  483. data/lib/stripe/resources/terminal/reader_collected_data.rb +0 -47
  484. data/lib/stripe/resources/v2/billing/bill_setting.rb +0 -102
  485. data/lib/stripe/resources/v2/billing/bill_setting_version.rb +0 -91
  486. data/lib/stripe/resources/v2/billing/cadence.rb +0 -710
  487. data/lib/stripe/resources/v2/billing/collection_setting.rb +0 -327
  488. data/lib/stripe/resources/v2/billing/collection_setting_version.rb +0 -316
  489. data/lib/stripe/resources/v2/billing/profile.rb +0 -47
  490. data/lib/stripe/resources/v2/core/batch_job.rb +0 -486
  491. data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +0 -136
  492. data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +0 -105
  493. data/lib/stripe/resources/v2/data/reporting/query_run.rb +0 -142
  494. data/lib/stripe/resources/v2/extend/workflow.rb +0 -80
  495. data/lib/stripe/resources/v2/extend/workflow_run.rb +0 -158
  496. data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +0 -29
  497. data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +0 -31
  498. data/lib/stripe/resources/v2/iam/activity_log.rb +0 -187
  499. data/lib/stripe/resources/v2/money_management/adjustment.rb +0 -67
  500. data/lib/stripe/resources/v2/money_management/financial_account.rb +0 -140
  501. data/lib/stripe/resources/v2/money_management/financial_address.rb +0 -160
  502. data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +0 -181
  503. data/lib/stripe/resources/v2/money_management/outbound_payment.rb +0 -234
  504. data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +0 -144
  505. data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +0 -69
  506. data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +0 -211
  507. data/lib/stripe/resources/v2/money_management/payout_method.rb +0 -145
  508. data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +0 -83
  509. data/lib/stripe/resources/v2/money_management/received_credit.rb +0 -232
  510. data/lib/stripe/resources/v2/money_management/received_debit.rb +0 -136
  511. data/lib/stripe/resources/v2/money_management/transaction.rb +0 -135
  512. data/lib/stripe/resources/v2/money_management/transaction_entry.rb +0 -105
  513. data/lib/stripe/resources/v2/network/business_profile.rb +0 -84
  514. data/lib/stripe/resources/v2/orchestrated_commerce/agreement.rb +0 -93
  515. data/lib/stripe/services/account_notice_service.rb +0 -39
  516. data/lib/stripe/services/billing/analytics/meter_usage_service.rb +0 -21
  517. data/lib/stripe/services/billing/analytics_service.rb +0 -15
  518. data/lib/stripe/services/capital/financing_offer_service.rb +0 -42
  519. data/lib/stripe/services/capital/financing_summary_service.rb +0 -19
  520. data/lib/stripe/services/capital/financing_transaction_service.rb +0 -31
  521. data/lib/stripe/services/capital_service.rb +0 -15
  522. data/lib/stripe/services/external_account_service.rb +0 -68
  523. data/lib/stripe/services/financial_connections/account_inferred_balance_service.rb +0 -19
  524. data/lib/stripe/services/financial_connections/authorization_service.rb +0 -19
  525. data/lib/stripe/services/financial_connections/institution_service.rb +0 -30
  526. data/lib/stripe/services/fx_quote_service.rb +0 -27
  527. data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +0 -74
  528. data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +0 -30
  529. data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +0 -30
  530. data/lib/stripe/services/margin_service.rb +0 -50
  531. data/lib/stripe/services/order_service.rb +0 -53
  532. data/lib/stripe/services/privacy/redaction_job_service.rb +0 -104
  533. data/lib/stripe/services/privacy/redaction_job_validation_error_service.rb +0 -19
  534. data/lib/stripe/services/privacy_service.rb +0 -13
  535. data/lib/stripe/services/product_catalog/trial_offer_service.rb +0 -19
  536. data/lib/stripe/services/product_catalog_service.rb +0 -13
  537. data/lib/stripe/services/quote_line_service.rb +0 -17
  538. data/lib/stripe/services/quote_preview_invoice_service.rb +0 -17
  539. data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +0 -17
  540. data/lib/stripe/services/reserve/hold_service.rb +0 -30
  541. data/lib/stripe/services/reserve/plan_service.rb +0 -19
  542. data/lib/stripe/services/reserve/release_service.rb +0 -30
  543. data/lib/stripe/services/reserve_service.rb +0 -15
  544. data/lib/stripe/services/shared_payment/granted_token_service.rb +0 -19
  545. data/lib/stripe/services/shared_payment/issued_token_service.rb +0 -41
  546. data/lib/stripe/services/shared_payment_service.rb +0 -14
  547. data/lib/stripe/services/tax/form_service.rb +0 -37
  548. data/lib/stripe/services/tax/location_service.rb +0 -45
  549. data/lib/stripe/services/terminal/reader_collected_data_service.rb +0 -19
  550. data/lib/stripe/services/test_helpers/shared_payment/granted_token_service.rb +0 -32
  551. data/lib/stripe/services/test_helpers/shared_payment_service.rb +0 -15
  552. data/lib/stripe/services/v2/billing/bill_setting_service.rb +0 -61
  553. data/lib/stripe/services/v2/billing/bill_settings/version_service.rb +0 -34
  554. data/lib/stripe/services/v2/billing/cadence_service.rb +0 -65
  555. data/lib/stripe/services/v2/billing/collection_setting_service.rb +0 -69
  556. data/lib/stripe/services/v2/billing/collection_settings/version_service.rb +0 -34
  557. data/lib/stripe/services/v2/billing/profile_service.rb +0 -54
  558. data/lib/stripe/services/v2/core/batch_job_service.rb +0 -43
  559. data/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb +0 -85
  560. data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +0 -102
  561. data/lib/stripe/services/v2/core/vault_service.rb +0 -18
  562. data/lib/stripe/services/v2/data/reporting/query_run_service.rb +0 -35
  563. data/lib/stripe/services/v2/data/reporting_service.rb +0 -17
  564. data/lib/stripe/services/v2/data_service.rb +0 -15
  565. data/lib/stripe/services/v2/extend/workflow_run_service.rb +0 -32
  566. data/lib/stripe/services/v2/extend/workflow_service.rb +0 -45
  567. data/lib/stripe/services/v2/extend_service.rb +0 -16
  568. data/lib/stripe/services/v2/iam/activity_log_service.rb +0 -32
  569. data/lib/stripe/services/v2/iam_service.rb +0 -15
  570. data/lib/stripe/services/v2/money_management/adjustment_service.rb +0 -32
  571. data/lib/stripe/services/v2/money_management/financial_account_service.rb +0 -70
  572. data/lib/stripe/services/v2/money_management/financial_address_service.rb +0 -46
  573. data/lib/stripe/services/v2/money_management/inbound_transfer_service.rb +0 -45
  574. data/lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb +0 -34
  575. data/lib/stripe/services/v2/money_management/outbound_payment_service.rb +0 -62
  576. data/lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb +0 -75
  577. data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +0 -60
  578. data/lib/stripe/services/v2/money_management/payout_method_service.rb +0 -66
  579. data/lib/stripe/services/v2/money_management/payout_methods_bank_account_spec_service.rb +0 -23
  580. data/lib/stripe/services/v2/money_management/received_credit_service.rb +0 -32
  581. data/lib/stripe/services/v2/money_management/received_debit_service.rb +0 -32
  582. data/lib/stripe/services/v2/money_management/transaction_entry_service.rb +0 -32
  583. data/lib/stripe/services/v2/money_management/transaction_service.rb +0 -32
  584. data/lib/stripe/services/v2/money_management_service.rb +0 -31
  585. data/lib/stripe/services/v2/network/business_profile_service.rb +0 -32
  586. data/lib/stripe/services/v2/network_service.rb +0 -15
  587. data/lib/stripe/services/v2/orchestrated_commerce/agreement_service.rb +0 -65
  588. data/lib/stripe/services/v2/orchestrated_commerce_service.rb +0 -15
  589. data/lib/stripe/services/v2/test_helper_service.rb +0 -15
  590. data/lib/stripe/services/v2/test_helpers/financial_address_service.rb +0 -36
  591. data/lib/stripe/stripe_event_notification_handler.rb +0 -594
@@ -110,8 +110,6 @@ module Stripe
110
110
  attr_accessor :name
111
111
  # Internal-only description of the product sold by, or service provided by, the business. Used by Stripe for risk and underwriting purposes.
112
112
  attr_accessor :product_description
113
- # A link to the business's publicly available terms related to the Specified Commercial Transaction Act. Used by the Checkout product and for Japanese payment methods.
114
- attr_accessor :specified_commercial_transactions_act_url
115
113
  # A publicly available mailing address for sending support issues to.
116
114
  attr_accessor :support_address
117
115
  # A publicly available email address for sending support issues to.
@@ -131,7 +129,6 @@ module Stripe
131
129
  monthly_estimated_revenue: nil,
132
130
  name: nil,
133
131
  product_description: nil,
134
- specified_commercial_transactions_act_url: nil,
135
132
  support_address: nil,
136
133
  support_email: nil,
137
134
  support_phone: nil,
@@ -145,7 +142,6 @@ module Stripe
145
142
  @monthly_estimated_revenue = monthly_estimated_revenue
146
143
  @name = name
147
144
  @product_description = product_description
148
- @specified_commercial_transactions_act_url = specified_commercial_transactions_act_url
149
145
  @support_address = support_address
150
146
  @support_email = support_email
151
147
  @support_phone = support_phone
@@ -218,15 +214,6 @@ module Stripe
218
214
  end
219
215
  end
220
216
 
221
- class AutomaticIndirectTax < ::Stripe::RequestParams
222
- # 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.
223
- attr_accessor :requested
224
-
225
- def initialize(requested: nil)
226
- @requested = requested
227
- end
228
- end
229
-
230
217
  class BacsDebitPayments < ::Stripe::RequestParams
231
218
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
232
219
  attr_accessor :requested
@@ -371,15 +358,6 @@ module Stripe
371
358
  end
372
359
  end
373
360
 
374
- class GopayPayments < ::Stripe::RequestParams
375
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
376
- attr_accessor :requested
377
-
378
- def initialize(requested: nil)
379
- @requested = requested
380
- end
381
- end
382
-
383
361
  class GrabpayPayments < ::Stripe::RequestParams
384
362
  # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
385
363
  attr_accessor :requested
@@ -389,24 +367,6 @@ module Stripe
389
367
  end
390
368
  end
391
369
 
392
- class IdBankTransferPayments < ::Stripe::RequestParams
393
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
394
- attr_accessor :requested
395
-
396
- def initialize(requested: nil)
397
- @requested = requested
398
- end
399
- end
400
-
401
- class IdBankTransferPaymentsBca < ::Stripe::RequestParams
402
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
403
- attr_accessor :requested
404
-
405
- def initialize(requested: nil)
406
- @requested = requested
407
- end
408
- end
409
-
410
370
  class IdealPayments < ::Stripe::RequestParams
411
371
  # 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.
412
372
  attr_accessor :requested
@@ -596,24 +556,6 @@ module Stripe
596
556
  end
597
557
  end
598
558
 
599
- class PaypalPayments < ::Stripe::RequestParams
600
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
601
- attr_accessor :requested
602
-
603
- def initialize(requested: nil)
604
- @requested = requested
605
- end
606
- end
607
-
608
- class PaypayPayments < ::Stripe::RequestParams
609
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
610
- attr_accessor :requested
611
-
612
- def initialize(requested: nil)
613
- @requested = requested
614
- end
615
- end
616
-
617
559
  class PaytoPayments < ::Stripe::RequestParams
618
560
  # 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.
619
561
  attr_accessor :requested
@@ -641,24 +583,6 @@ module Stripe
641
583
  end
642
584
  end
643
585
 
644
- class QrisPayments < ::Stripe::RequestParams
645
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
646
- attr_accessor :requested
647
-
648
- def initialize(requested: nil)
649
- @requested = requested
650
- end
651
- end
652
-
653
- class RechnungPayments < ::Stripe::RequestParams
654
- # 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.
655
- attr_accessor :requested
656
-
657
- def initialize(requested: nil)
658
- @requested = requested
659
- end
660
- end
661
-
662
586
  class RevolutPayPayments < ::Stripe::RequestParams
663
587
  # 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.
664
588
  attr_accessor :requested
@@ -713,15 +637,6 @@ module Stripe
713
637
  end
714
638
  end
715
639
 
716
- class ShopeepayPayments < ::Stripe::RequestParams
717
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
718
- attr_accessor :requested
719
-
720
- def initialize(requested: nil)
721
- @requested = requested
722
- end
723
- end
724
-
725
640
  class SofortPayments < ::Stripe::RequestParams
726
641
  # 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.
727
642
  attr_accessor :requested
@@ -731,15 +646,6 @@ module Stripe
731
646
  end
732
647
  end
733
648
 
734
- class StripeBalancePayments < ::Stripe::RequestParams
735
- # 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.
736
- attr_accessor :requested
737
-
738
- def initialize(requested: nil)
739
- @requested = requested
740
- end
741
- end
742
-
743
649
  class SunbitPayments < ::Stripe::RequestParams
744
650
  # 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.
745
651
  attr_accessor :requested
@@ -794,33 +700,6 @@ module Stripe
794
700
  end
795
701
  end
796
702
 
797
- class TreasuryEvolve < ::Stripe::RequestParams
798
- # 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.
799
- attr_accessor :requested
800
-
801
- def initialize(requested: nil)
802
- @requested = requested
803
- end
804
- end
805
-
806
- class TreasuryFifthThird < ::Stripe::RequestParams
807
- # Passing true requests the capability for the account, if it is not already requested. A requested capability may not immediately become active. Any requirements to activate the capability are returned in the `requirements` arrays.
808
- attr_accessor :requested
809
-
810
- def initialize(requested: nil)
811
- @requested = requested
812
- end
813
- end
814
-
815
- class TreasuryGoldmanSachs < ::Stripe::RequestParams
816
- # 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.
817
- attr_accessor :requested
818
-
819
- def initialize(requested: nil)
820
- @requested = requested
821
- end
822
- end
823
-
824
703
  class TwintPayments < ::Stripe::RequestParams
825
704
  # 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.
826
705
  attr_accessor :requested
@@ -879,8 +758,6 @@ module Stripe
879
758
  attr_accessor :app_distribution
880
759
  # The au_becs_debit_payments capability.
881
760
  attr_accessor :au_becs_debit_payments
882
- # The automatic_indirect_tax capability.
883
- attr_accessor :automatic_indirect_tax
884
761
  # The bacs_debit_payments capability.
885
762
  attr_accessor :bacs_debit_payments
886
763
  # The bancontact_payments capability.
@@ -913,14 +790,8 @@ module Stripe
913
790
  attr_accessor :gb_bank_transfer_payments
914
791
  # The giropay_payments capability.
915
792
  attr_accessor :giropay_payments
916
- # The gopay_payments capability.
917
- attr_accessor :gopay_payments
918
793
  # The grabpay_payments capability.
919
794
  attr_accessor :grabpay_payments
920
- # The id_bank_transfer_payments capability.
921
- attr_accessor :id_bank_transfer_payments
922
- # The id_bank_transfer_payments_bca capability.
923
- attr_accessor :id_bank_transfer_payments_bca
924
795
  # The ideal_payments capability.
925
796
  attr_accessor :ideal_payments
926
797
  # The india_international_payments capability.
@@ -963,20 +834,12 @@ module Stripe
963
834
  attr_accessor :payco_payments
964
835
  # The paynow_payments capability.
965
836
  attr_accessor :paynow_payments
966
- # The paypal_payments capability.
967
- attr_accessor :paypal_payments
968
- # The paypay_payments capability.
969
- attr_accessor :paypay_payments
970
837
  # The payto_payments capability.
971
838
  attr_accessor :payto_payments
972
839
  # The pix_payments capability.
973
840
  attr_accessor :pix_payments
974
841
  # The promptpay_payments capability.
975
842
  attr_accessor :promptpay_payments
976
- # The qris_payments capability.
977
- attr_accessor :qris_payments
978
- # The rechnung_payments capability.
979
- attr_accessor :rechnung_payments
980
843
  # The revolut_pay_payments capability.
981
844
  attr_accessor :revolut_pay_payments
982
845
  # The samsung_pay_payments capability.
@@ -989,12 +852,8 @@ module Stripe
989
852
  attr_accessor :sepa_bank_transfer_payments
990
853
  # The sepa_debit_payments capability.
991
854
  attr_accessor :sepa_debit_payments
992
- # The shopeepay_payments capability.
993
- attr_accessor :shopeepay_payments
994
855
  # The sofort_payments capability.
995
856
  attr_accessor :sofort_payments
996
- # The stripe_balance_payments capability.
997
- attr_accessor :stripe_balance_payments
998
857
  # The sunbit_payments capability.
999
858
  attr_accessor :sunbit_payments
1000
859
  # The swish_payments capability.
@@ -1007,12 +866,6 @@ module Stripe
1007
866
  attr_accessor :transfers
1008
867
  # The treasury capability.
1009
868
  attr_accessor :treasury
1010
- # The treasury_evolve capability.
1011
- attr_accessor :treasury_evolve
1012
- # The treasury_fifth_third capability.
1013
- attr_accessor :treasury_fifth_third
1014
- # The treasury_goldman_sachs capability.
1015
- attr_accessor :treasury_goldman_sachs
1016
869
  # The twint_payments capability.
1017
870
  attr_accessor :twint_payments
1018
871
  # The upi_payments capability.
@@ -1032,7 +885,6 @@ module Stripe
1032
885
  amazon_pay_payments: nil,
1033
886
  app_distribution: nil,
1034
887
  au_becs_debit_payments: nil,
1035
- automatic_indirect_tax: nil,
1036
888
  bacs_debit_payments: nil,
1037
889
  bancontact_payments: nil,
1038
890
  bank_transfer_payments: nil,
@@ -1049,10 +901,7 @@ module Stripe
1049
901
  fpx_payments: nil,
1050
902
  gb_bank_transfer_payments: nil,
1051
903
  giropay_payments: nil,
1052
- gopay_payments: nil,
1053
904
  grabpay_payments: nil,
1054
- id_bank_transfer_payments: nil,
1055
- id_bank_transfer_payments_bca: nil,
1056
905
  ideal_payments: nil,
1057
906
  india_international_payments: nil,
1058
907
  jcb_payments: nil,
@@ -1074,31 +923,22 @@ module Stripe
1074
923
  pay_by_bank_payments: nil,
1075
924
  payco_payments: nil,
1076
925
  paynow_payments: nil,
1077
- paypal_payments: nil,
1078
- paypay_payments: nil,
1079
926
  payto_payments: nil,
1080
927
  pix_payments: nil,
1081
928
  promptpay_payments: nil,
1082
- qris_payments: nil,
1083
- rechnung_payments: nil,
1084
929
  revolut_pay_payments: nil,
1085
930
  samsung_pay_payments: nil,
1086
931
  satispay_payments: nil,
1087
932
  scalapay_payments: nil,
1088
933
  sepa_bank_transfer_payments: nil,
1089
934
  sepa_debit_payments: nil,
1090
- shopeepay_payments: nil,
1091
935
  sofort_payments: nil,
1092
- stripe_balance_payments: nil,
1093
936
  sunbit_payments: nil,
1094
937
  swish_payments: nil,
1095
938
  tax_reporting_us_1099_k: nil,
1096
939
  tax_reporting_us_1099_misc: nil,
1097
940
  transfers: nil,
1098
941
  treasury: nil,
1099
- treasury_evolve: nil,
1100
- treasury_fifth_third: nil,
1101
- treasury_goldman_sachs: nil,
1102
942
  twint_payments: nil,
1103
943
  upi_payments: nil,
1104
944
  us_bank_account_ach_payments: nil,
@@ -1112,7 +952,6 @@ module Stripe
1112
952
  @amazon_pay_payments = amazon_pay_payments
1113
953
  @app_distribution = app_distribution
1114
954
  @au_becs_debit_payments = au_becs_debit_payments
1115
- @automatic_indirect_tax = automatic_indirect_tax
1116
955
  @bacs_debit_payments = bacs_debit_payments
1117
956
  @bancontact_payments = bancontact_payments
1118
957
  @bank_transfer_payments = bank_transfer_payments
@@ -1129,10 +968,7 @@ module Stripe
1129
968
  @fpx_payments = fpx_payments
1130
969
  @gb_bank_transfer_payments = gb_bank_transfer_payments
1131
970
  @giropay_payments = giropay_payments
1132
- @gopay_payments = gopay_payments
1133
971
  @grabpay_payments = grabpay_payments
1134
- @id_bank_transfer_payments = id_bank_transfer_payments
1135
- @id_bank_transfer_payments_bca = id_bank_transfer_payments_bca
1136
972
  @ideal_payments = ideal_payments
1137
973
  @india_international_payments = india_international_payments
1138
974
  @jcb_payments = jcb_payments
@@ -1154,31 +990,22 @@ module Stripe
1154
990
  @pay_by_bank_payments = pay_by_bank_payments
1155
991
  @payco_payments = payco_payments
1156
992
  @paynow_payments = paynow_payments
1157
- @paypal_payments = paypal_payments
1158
- @paypay_payments = paypay_payments
1159
993
  @payto_payments = payto_payments
1160
994
  @pix_payments = pix_payments
1161
995
  @promptpay_payments = promptpay_payments
1162
- @qris_payments = qris_payments
1163
- @rechnung_payments = rechnung_payments
1164
996
  @revolut_pay_payments = revolut_pay_payments
1165
997
  @samsung_pay_payments = samsung_pay_payments
1166
998
  @satispay_payments = satispay_payments
1167
999
  @scalapay_payments = scalapay_payments
1168
1000
  @sepa_bank_transfer_payments = sepa_bank_transfer_payments
1169
1001
  @sepa_debit_payments = sepa_debit_payments
1170
- @shopeepay_payments = shopeepay_payments
1171
1002
  @sofort_payments = sofort_payments
1172
- @stripe_balance_payments = stripe_balance_payments
1173
1003
  @sunbit_payments = sunbit_payments
1174
1004
  @swish_payments = swish_payments
1175
1005
  @tax_reporting_us_1099_k = tax_reporting_us_1099_k
1176
1006
  @tax_reporting_us_1099_misc = tax_reporting_us_1099_misc
1177
1007
  @transfers = transfers
1178
1008
  @treasury = treasury
1179
- @treasury_evolve = treasury_evolve
1180
- @treasury_fifth_third = treasury_fifth_third
1181
- @treasury_goldman_sachs = treasury_goldman_sachs
1182
1009
  @twint_payments = twint_payments
1183
1010
  @upi_payments = upi_payments
1184
1011
  @us_bank_account_ach_payments = us_bank_account_ach_payments
@@ -1371,6 +1198,37 @@ module Stripe
1371
1198
  end
1372
1199
  end
1373
1200
 
1201
+ class AdministrativeAddress < ::Stripe::RequestParams
1202
+ # City, district, suburb, town, or village.
1203
+ attr_accessor :city
1204
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1205
+ attr_accessor :country
1206
+ # Address line 1, such as the street, PO Box, or company name.
1207
+ attr_accessor :line1
1208
+ # Address line 2, such as the apartment, suite, unit, or building.
1209
+ attr_accessor :line2
1210
+ # ZIP or postal code.
1211
+ attr_accessor :postal_code
1212
+ # State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
1213
+ attr_accessor :state
1214
+
1215
+ def initialize(
1216
+ city: nil,
1217
+ country: nil,
1218
+ line1: nil,
1219
+ line2: nil,
1220
+ postal_code: nil,
1221
+ state: nil
1222
+ )
1223
+ @city = city
1224
+ @country = country
1225
+ @line1 = line1
1226
+ @line2 = line2
1227
+ @postal_code = postal_code
1228
+ @state = state
1229
+ end
1230
+ end
1231
+
1374
1232
  class DirectorshipDeclaration < ::Stripe::RequestParams
1375
1233
  # The Unix timestamp marking when the directorship declaration attestation was made.
1376
1234
  attr_accessor :date
@@ -1401,6 +1259,37 @@ module Stripe
1401
1259
  end
1402
1260
  end
1403
1261
 
1262
+ class PrincipalPlaceOfBusiness < ::Stripe::RequestParams
1263
+ # City, district, suburb, town, or village.
1264
+ attr_accessor :city
1265
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1266
+ attr_accessor :country
1267
+ # Address line 1, such as the street, PO Box, or company name.
1268
+ attr_accessor :line1
1269
+ # Address line 2, such as the apartment, suite, unit, or building.
1270
+ attr_accessor :line2
1271
+ # ZIP or postal code.
1272
+ attr_accessor :postal_code
1273
+ # State, county, province, or region ([ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2)).
1274
+ attr_accessor :state
1275
+
1276
+ def initialize(
1277
+ city: nil,
1278
+ country: nil,
1279
+ line1: nil,
1280
+ line2: nil,
1281
+ postal_code: nil,
1282
+ state: nil
1283
+ )
1284
+ @city = city
1285
+ @country = country
1286
+ @line1 = line1
1287
+ @line2 = line2
1288
+ @postal_code = postal_code
1289
+ @state = state
1290
+ end
1291
+ end
1292
+
1404
1293
  class RegistrationDate < ::Stripe::RequestParams
1405
1294
  # The day of registration, between 1 and 31.
1406
1295
  attr_accessor :day
@@ -1456,6 +1345,8 @@ module Stripe
1456
1345
  attr_accessor :address_kana
1457
1346
  # The Kanji variation of the company's primary address (Japan only).
1458
1347
  attr_accessor :address_kanji
1348
+ # Attribute for param field administrative_address
1349
+ attr_accessor :administrative_address
1459
1350
  # Whether the company's directors have been provided. Set this Boolean to `true` after creating all the company's directors with [the Persons API](/api/persons) for accounts with a `relationship.director` requirement. This value is not automatically set to `true` after creating directors, so it needs to be updated to indicate all directors have been provided.
1460
1351
  attr_accessor :directors_provided
1461
1352
  # This hash is used to attest that the directors information provided to Stripe is both current and correct.
@@ -1480,6 +1371,8 @@ module Stripe
1480
1371
  attr_accessor :ownership_exemption_reason
1481
1372
  # The company's phone number (used for verification).
1482
1373
  attr_accessor :phone
1374
+ # Attribute for param field principal_place_of_business
1375
+ attr_accessor :principal_place_of_business
1483
1376
  # When the business was incorporated or registered.
1484
1377
  attr_accessor :registration_date
1485
1378
  # 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).
@@ -1489,6 +1382,8 @@ module Stripe
1489
1382
  # 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.
1490
1383
  attr_accessor :structure
1491
1384
  # The business ID number of the company, as appropriate for the company’s country. (Examples are an Employer ID Number in the U.S., a Business Number in Canada, or a Company Number in the UK.)
1385
+ #
1386
+ # Changing this value requires that the account re-accept the [terms of service](/api/accounts/object#account_object-tos_acceptance).
1492
1387
  attr_accessor :tax_id
1493
1388
  # The jurisdiction in which the `tax_id` is registered (Germany-based companies only).
1494
1389
  attr_accessor :tax_id_registrar
@@ -1501,6 +1396,7 @@ module Stripe
1501
1396
  address: nil,
1502
1397
  address_kana: nil,
1503
1398
  address_kanji: nil,
1399
+ administrative_address: nil,
1504
1400
  directors_provided: nil,
1505
1401
  directorship_declaration: nil,
1506
1402
  executives_provided: nil,
@@ -1513,6 +1409,7 @@ module Stripe
1513
1409
  ownership_declaration: nil,
1514
1410
  ownership_exemption_reason: nil,
1515
1411
  phone: nil,
1412
+ principal_place_of_business: nil,
1516
1413
  registration_date: nil,
1517
1414
  registration_number: nil,
1518
1415
  representative_declaration: nil,
@@ -1525,6 +1422,7 @@ module Stripe
1525
1422
  @address = address
1526
1423
  @address_kana = address_kana
1527
1424
  @address_kanji = address_kanji
1425
+ @administrative_address = administrative_address
1528
1426
  @directors_provided = directors_provided
1529
1427
  @directorship_declaration = directorship_declaration
1530
1428
  @executives_provided = executives_provided
@@ -1537,6 +1435,7 @@ module Stripe
1537
1435
  @ownership_declaration = ownership_declaration
1538
1436
  @ownership_exemption_reason = ownership_exemption_reason
1539
1437
  @phone = phone
1438
+ @principal_place_of_business = principal_place_of_business
1540
1439
  @registration_date = registration_date
1541
1440
  @registration_number = registration_number
1542
1441
  @representative_declaration = representative_declaration
@@ -1549,30 +1448,6 @@ module Stripe
1549
1448
  end
1550
1449
 
1551
1450
  class Controller < ::Stripe::RequestParams
1552
- class Application < ::Stripe::RequestParams
1553
- # Whether the controller is liable for losses on this account. For details, see [Understanding Connect Account Balances](https://docs.stripe.com/connect/account-balances).
1554
- attr_accessor :loss_liable
1555
- # Whether the controller owns onboarding for this account.
1556
- attr_accessor :onboarding_owner
1557
- # Whether the controller has pricing controls for this account.
1558
- attr_accessor :pricing_controls
1559
-
1560
- def initialize(loss_liable: nil, onboarding_owner: nil, pricing_controls: nil)
1561
- @loss_liable = loss_liable
1562
- @onboarding_owner = onboarding_owner
1563
- @pricing_controls = pricing_controls
1564
- end
1565
- end
1566
-
1567
- class Dashboard < ::Stripe::RequestParams
1568
- # 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`.
1569
- attr_accessor :type
1570
-
1571
- def initialize(type: nil)
1572
- @type = type
1573
- end
1574
- end
1575
-
1576
1451
  class Fees < ::Stripe::RequestParams
1577
1452
  # 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).
1578
1453
  attr_accessor :payer
@@ -1599,10 +1474,6 @@ module Stripe
1599
1474
  @type = type
1600
1475
  end
1601
1476
  end
1602
- # A hash of configuration describing the Connect application that controls the account.
1603
- attr_accessor :application
1604
- # Properties of the account's dashboard.
1605
- attr_accessor :dashboard
1606
1477
  # A hash of configuration for who pays Stripe fees for product usage on this account.
1607
1478
  attr_accessor :fees
1608
1479
  # A hash of configuration for products that have negative balance liability, and whether Stripe or a Connect application is responsible for them.
@@ -1612,16 +1483,7 @@ module Stripe
1612
1483
  # A hash of configuration for Stripe-hosted dashboards.
1613
1484
  attr_accessor :stripe_dashboard
1614
1485
 
1615
- def initialize(
1616
- application: nil,
1617
- dashboard: nil,
1618
- fees: nil,
1619
- losses: nil,
1620
- requirement_collection: nil,
1621
- stripe_dashboard: nil
1622
- )
1623
- @application = application
1624
- @dashboard = dashboard
1486
+ def initialize(fees: nil, losses: nil, requirement_collection: nil, stripe_dashboard: nil)
1625
1487
  @fees = fees
1626
1488
  @losses = losses
1627
1489
  @requirement_collection = requirement_collection
@@ -1693,26 +1555,6 @@ module Stripe
1693
1555
  end
1694
1556
  end
1695
1557
 
1696
- class ProofOfRegistration < ::Stripe::RequestParams
1697
- class Signer < ::Stripe::RequestParams
1698
- # The token of the person signing the document, if applicable.
1699
- attr_accessor :person
1700
-
1701
- def initialize(person: nil)
1702
- @person = person
1703
- end
1704
- end
1705
- # One or more document ids returned by a [file upload](https://api.stripe.com#create_file) with a `purpose` value of `account_requirement`.
1706
- attr_accessor :files
1707
- # Information regarding the person signing the document if applicable.
1708
- attr_accessor :signer
1709
-
1710
- def initialize(files: nil, signer: nil)
1711
- @files = files
1712
- @signer = signer
1713
- end
1714
- end
1715
-
1716
1558
  class ProofOfUltimateBeneficialOwnership < ::Stripe::RequestParams
1717
1559
  class Signer < ::Stripe::RequestParams
1718
1560
  # The token of the person signing the document, if applicable.
@@ -1746,8 +1588,6 @@ module Stripe
1746
1588
  attr_accessor :company_tax_id_verification
1747
1589
  # One or more documents that demonstrate proof of address.
1748
1590
  attr_accessor :proof_of_address
1749
- # One or more documents showing the company’s proof of registration with the national business registry.
1750
- attr_accessor :proof_of_registration
1751
1591
  # One or more documents that demonstrate proof of ultimate beneficial ownership.
1752
1592
  attr_accessor :proof_of_ultimate_beneficial_ownership
1753
1593
 
@@ -1759,7 +1599,6 @@ module Stripe
1759
1599
  company_registration_verification: nil,
1760
1600
  company_tax_id_verification: nil,
1761
1601
  proof_of_address: nil,
1762
- proof_of_registration: nil,
1763
1602
  proof_of_ultimate_beneficial_ownership: nil
1764
1603
  )
1765
1604
  @bank_account_ownership_verification = bank_account_ownership_verification
@@ -1769,7 +1608,6 @@ module Stripe
1769
1608
  @company_registration_verification = company_registration_verification
1770
1609
  @company_tax_id_verification = company_tax_id_verification
1771
1610
  @proof_of_address = proof_of_address
1772
- @proof_of_registration = proof_of_registration
1773
1611
  @proof_of_ultimate_beneficial_ownership = proof_of_ultimate_beneficial_ownership
1774
1612
  end
1775
1613
  end
@@ -2090,37 +1928,6 @@ module Stripe
2090
1928
  end
2091
1929
  end
2092
1930
 
2093
- class RiskControls < ::Stripe::RequestParams
2094
- class Charges < ::Stripe::RequestParams
2095
- # To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
2096
- # There can be a delay before the risk control is paused or unpaused.
2097
- attr_accessor :pause_requested
2098
-
2099
- def initialize(pause_requested: nil)
2100
- @pause_requested = pause_requested
2101
- end
2102
- end
2103
-
2104
- class Payouts < ::Stripe::RequestParams
2105
- # To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.
2106
- # There can be a delay before the risk control is paused or unpaused.
2107
- attr_accessor :pause_requested
2108
-
2109
- def initialize(pause_requested: nil)
2110
- @pause_requested = pause_requested
2111
- end
2112
- end
2113
- # Represents the risk control status of charges. Please see [this page for more details](https://docs.stripe.com/connect/pausing-payments-or-payouts-on-connected-accounts).
2114
- attr_accessor :charges
2115
- # Represents the risk control status of payouts. Please see [this page for more details](https://docs.stripe.com/connect/pausing-payments-or-payouts-on-connected-accounts).
2116
- attr_accessor :payouts
2117
-
2118
- def initialize(charges: nil, payouts: nil)
2119
- @charges = charges
2120
- @payouts = payouts
2121
- end
2122
- end
2123
-
2124
1931
  class Settings < ::Stripe::RequestParams
2125
1932
  class BacsDebitPayments < ::Stripe::RequestParams
2126
1933
  # 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.
@@ -2131,18 +1938,6 @@ module Stripe
2131
1938
  end
2132
1939
  end
2133
1940
 
2134
- class BankBcaOnboarding < ::Stripe::RequestParams
2135
- # Bank BCA business account holder name
2136
- attr_accessor :account_holder_name
2137
- # Bank BCA business account number
2138
- attr_accessor :business_account_number
2139
-
2140
- def initialize(account_holder_name: nil, business_account_number: nil)
2141
- @account_holder_name = account_holder_name
2142
- @business_account_number = business_account_number
2143
- end
2144
- end
2145
-
2146
1941
  class Branding < ::Stripe::RequestParams
2147
1942
  # (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.
2148
1943
  attr_accessor :icon
@@ -2161,18 +1956,6 @@ module Stripe
2161
1956
  end
2162
1957
  end
2163
1958
 
2164
- class Capital < ::Stripe::RequestParams
2165
- # Per-currency mapping of user-selected destination accounts used to pay out loans.
2166
- attr_accessor :payout_destination
2167
- # Per-currency mapping of all destination accounts eligible to receive Capital financing payouts.
2168
- attr_accessor :payout_destination_selector
2169
-
2170
- def initialize(payout_destination: nil, payout_destination_selector: nil)
2171
- @payout_destination = payout_destination
2172
- @payout_destination_selector = payout_destination_selector
2173
- end
2174
- end
2175
-
2176
1959
  class CardIssuing < ::Stripe::RequestParams
2177
1960
  class TosAcceptance < ::Stripe::RequestParams
2178
1961
  # The Unix timestamp marking when the account representative accepted the service agreement.
@@ -2240,8 +2023,6 @@ module Stripe
2240
2023
  end
2241
2024
 
2242
2025
  class Payments < ::Stripe::RequestParams
2243
- # When you enable this parameter, the customer of this Account receives an email receipt when their payment succeeds. If this parameter isn't set, the default value is `false`.
2244
- attr_accessor :email_customers_on_successful_payment
2245
2026
  # The default text that appears on statements for non-card charges outside of Japan. For card charges, if you don't set a `statement_descriptor_prefix`, this text is also used as the statement descriptor prefix. In that case, if concatenating the statement descriptor suffix causes the combined statement descriptor to exceed 22 characters, we truncate the `statement_descriptor` text to limit the full descriptor to 22 characters. For more information about statement descriptors and their requirements, see the [account settings documentation](https://docs.stripe.com/get-started/account/statement-descriptors).
2246
2027
  attr_accessor :statement_descriptor
2247
2028
  # The Kana variation of `statement_descriptor` used for charges in Japan. Japanese statement descriptors have [special requirements](https://docs.stripe.com/get-started/account/statement-descriptors#set-japanese-statement-descriptors).
@@ -2250,12 +2031,10 @@ module Stripe
2250
2031
  attr_accessor :statement_descriptor_kanji
2251
2032
 
2252
2033
  def initialize(
2253
- email_customers_on_successful_payment: nil,
2254
2034
  statement_descriptor: nil,
2255
2035
  statement_descriptor_kana: nil,
2256
2036
  statement_descriptor_kanji: nil
2257
2037
  )
2258
- @email_customers_on_successful_payment = email_customers_on_successful_payment
2259
2038
  @statement_descriptor = statement_descriptor
2260
2039
  @statement_descriptor_kana = statement_descriptor_kana
2261
2040
  @statement_descriptor_kanji = statement_descriptor_kanji
@@ -2307,86 +2086,6 @@ module Stripe
2307
2086
  end
2308
2087
  end
2309
2088
 
2310
- class PaypayPayments < ::Stripe::RequestParams
2311
- class Site < ::Stripe::RequestParams
2312
- class Accessible < ::Stripe::RequestParams; end
2313
-
2314
- class InDevelopment < ::Stripe::RequestParams
2315
- # The password needed to access your business's website.
2316
- attr_accessor :password
2317
- # The username needed to access your business's website.
2318
- attr_accessor :username
2319
-
2320
- def initialize(password: nil, username: nil)
2321
- @password = password
2322
- @username = username
2323
- end
2324
- end
2325
-
2326
- class Restricted < ::Stripe::RequestParams
2327
- # The file explaining the payment flow for your business.
2328
- attr_accessor :payment_flow_file
2329
-
2330
- def initialize(payment_flow_file: nil)
2331
- @payment_flow_file = payment_flow_file
2332
- end
2333
- end
2334
- # Additional information about your business's website.
2335
- attr_accessor :accessible
2336
- # Additional information about your business's website.
2337
- attr_accessor :in_development
2338
- # Additional information about your business's website.
2339
- attr_accessor :restricted
2340
- # The status of your business's website.
2341
- attr_accessor :type
2342
-
2343
- def initialize(accessible: nil, in_development: nil, restricted: nil, type: nil)
2344
- @accessible = accessible
2345
- @in_development = in_development
2346
- @restricted = restricted
2347
- @type = type
2348
- end
2349
- end
2350
- # Additional files that are required to support the onboarding process of your business.
2351
- attr_accessor :additional_files
2352
- # The type of goods your business sells. Use `digital_content` if you sell digital content. Use `other` for all other types of goods or services.
2353
- attr_accessor :goods_type
2354
- # Details regarding your business's website.
2355
- attr_accessor :site
2356
-
2357
- def initialize(additional_files: nil, goods_type: nil, site: nil)
2358
- @additional_files = additional_files
2359
- @goods_type = goods_type
2360
- @site = site
2361
- end
2362
- end
2363
-
2364
- class SmartDisputes < ::Stripe::RequestParams
2365
- class AutoRespond < ::Stripe::RequestParams
2366
- # The preference setting for auto-respond. Can be 'on', 'off', or 'inherit'.
2367
- attr_accessor :preference
2368
-
2369
- def initialize(preference: nil)
2370
- @preference = preference
2371
- end
2372
- end
2373
- # Smart Disputes auto-respond settings for the account.
2374
- attr_accessor :auto_respond
2375
-
2376
- def initialize(auto_respond: nil)
2377
- @auto_respond = auto_respond
2378
- end
2379
- end
2380
-
2381
- class TaxForms < ::Stripe::RequestParams
2382
- # Whether the account opted out of receiving their tax forms by postal delivery.
2383
- attr_accessor :consented_to_paperless_delivery
2384
-
2385
- def initialize(consented_to_paperless_delivery: nil)
2386
- @consented_to_paperless_delivery = consented_to_paperless_delivery
2387
- end
2388
- end
2389
-
2390
2089
  class Treasury < ::Stripe::RequestParams
2391
2090
  class TosAcceptance < ::Stripe::RequestParams
2392
2091
  # The Unix timestamp marking when the account representative accepted the service agreement.
@@ -2411,12 +2110,8 @@ module Stripe
2411
2110
  end
2412
2111
  # Settings specific to Bacs Direct Debit.
2413
2112
  attr_accessor :bacs_debit_payments
2414
- # Settings specific to bank BCA onboarding for Indonesia bank transfers payments method.
2415
- attr_accessor :bank_bca_onboarding
2416
2113
  # Settings used to apply the account's branding to email receipts, invoices, Checkout, and other products.
2417
2114
  attr_accessor :branding
2418
- # Settings specific to the account's use of the Capital product.
2419
- attr_accessor :capital
2420
2115
  # Settings specific to the account's use of the Card Issuing product.
2421
2116
  attr_accessor :card_issuing
2422
2117
  # Settings specific to card charging on the account.
@@ -2427,42 +2122,26 @@ module Stripe
2427
2122
  attr_accessor :payments
2428
2123
  # Settings specific to the account's payouts.
2429
2124
  attr_accessor :payouts
2430
- # Settings specific to the PayPay payments method.
2431
- attr_accessor :paypay_payments
2432
- # Settings specific to the account's use of Smart Disputes.
2433
- attr_accessor :smart_disputes
2434
- # Settings specific to the account's tax forms.
2435
- attr_accessor :tax_forms
2436
2125
  # Settings specific to the account's Treasury FinancialAccounts.
2437
2126
  attr_accessor :treasury
2438
2127
 
2439
2128
  def initialize(
2440
2129
  bacs_debit_payments: nil,
2441
- bank_bca_onboarding: nil,
2442
2130
  branding: nil,
2443
- capital: nil,
2444
2131
  card_issuing: nil,
2445
2132
  card_payments: nil,
2446
2133
  invoices: nil,
2447
2134
  payments: nil,
2448
2135
  payouts: nil,
2449
- paypay_payments: nil,
2450
- smart_disputes: nil,
2451
- tax_forms: nil,
2452
2136
  treasury: nil
2453
2137
  )
2454
2138
  @bacs_debit_payments = bacs_debit_payments
2455
- @bank_bca_onboarding = bank_bca_onboarding
2456
2139
  @branding = branding
2457
- @capital = capital
2458
2140
  @card_issuing = card_issuing
2459
2141
  @card_payments = card_payments
2460
2142
  @invoices = invoices
2461
2143
  @payments = payments
2462
2144
  @payouts = payouts
2463
- @paypay_payments = paypay_payments
2464
- @smart_disputes = smart_disputes
2465
- @tax_forms = tax_forms
2466
2145
  @treasury = treasury
2467
2146
  end
2468
2147
  end
@@ -2521,8 +2200,6 @@ module Stripe
2521
2200
  attr_accessor :individual
2522
2201
  # Set of [key-value pairs](https://docs.stripe.com/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`.
2523
2202
  attr_accessor :metadata
2524
- # A hash to configure risk controls on the account. Please see [this page for more details](/connect/pausing-payments-or-payouts-on-connected-accounts).
2525
- attr_accessor :risk_controls
2526
2203
  # Options for customizing how the account functions within Stripe.
2527
2204
  attr_accessor :settings
2528
2205
  # 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.
@@ -2546,7 +2223,6 @@ module Stripe
2546
2223
  groups: nil,
2547
2224
  individual: nil,
2548
2225
  metadata: nil,
2549
- risk_controls: nil,
2550
2226
  settings: nil,
2551
2227
  tos_acceptance: nil,
2552
2228
  type: nil
@@ -2566,7 +2242,6 @@ module Stripe
2566
2242
  @groups = groups
2567
2243
  @individual = individual
2568
2244
  @metadata = metadata
2569
- @risk_controls = risk_controls
2570
2245
  @settings = settings
2571
2246
  @tos_acceptance = tos_acceptance
2572
2247
  @type = type