stripe 18.1.0.pre.alpha.2 → 18.1.0.pre.beta.1

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 (353) hide show
  1. checksums.yaml +4 -4
  2. data/lib/stripe/event_types.rb +0 -284
  3. data/lib/stripe/object_types.rb +0 -33
  4. data/lib/stripe/params/account_create_params.rb +0 -32
  5. data/lib/stripe/params/account_person_create_params.rb +0 -32
  6. data/lib/stripe/params/account_person_update_params.rb +0 -32
  7. data/lib/stripe/params/account_update_params.rb +0 -32
  8. data/lib/stripe/params/billing/alert_create_params.rb +1 -121
  9. data/lib/stripe/params/billing/alert_list_params.rb +0 -4
  10. data/lib/stripe/params/billing/analytics/meter_usage_retrieve_params.rb +1 -5
  11. data/lib/stripe/params/billing/credit_balance_summary_retrieve_params.rb +1 -13
  12. data/lib/stripe/params/billing/credit_grant_create_params.rb +2 -29
  13. data/lib/stripe/params/billing/meter_create_params.rb +0 -4
  14. data/lib/stripe/params/billing/meter_event_summary_list_params.rb +0 -8
  15. data/lib/stripe/params/checkout/session_create_params.rb +1 -80
  16. data/lib/stripe/params/identity/verification_report_list_params.rb +0 -4
  17. data/lib/stripe/params/invoice_create_preview_params.rb +7 -126
  18. data/lib/stripe/params/invoice_list_params.rb +0 -4
  19. data/lib/stripe/params/payment_intent_confirm_params.rb +0 -34
  20. data/lib/stripe/params/payment_intent_create_params.rb +0 -34
  21. data/lib/stripe/params/payment_intent_update_params.rb +0 -34
  22. data/lib/stripe/params/quote_create_params.rb +3 -223
  23. data/lib/stripe/params/quote_update_params.rb +3 -223
  24. data/lib/stripe/params/setup_intent_confirm_params.rb +0 -29
  25. data/lib/stripe/params/setup_intent_create_params.rb +0 -29
  26. data/lib/stripe/params/setup_intent_update_params.rb +1 -30
  27. data/lib/stripe/params/subscription_create_params.rb +1 -17
  28. data/lib/stripe/params/subscription_item_create_params.rb +1 -17
  29. data/lib/stripe/params/subscription_item_update_params.rb +1 -17
  30. data/lib/stripe/params/subscription_schedule_amend_params.rb +3 -42
  31. data/lib/stripe/params/subscription_schedule_create_params.rb +4 -72
  32. data/lib/stripe/params/subscription_schedule_update_params.rb +4 -72
  33. data/lib/stripe/params/subscription_update_params.rb +1 -17
  34. data/lib/stripe/params/token_create_params.rb +0 -64
  35. data/lib/stripe/params/transfer_create_params.rb +0 -4
  36. data/lib/stripe/params/v2/billing/cadence_cancel_params.rb +1 -8
  37. data/lib/stripe/params/v2/billing/cadence_create_params.rb +0 -4
  38. data/lib/stripe/params/v2/billing/cadence_update_params.rb +1 -4
  39. data/lib/stripe/params/v2/core/account_create_params.rb +8 -725
  40. data/lib/stripe/params/v2/core/account_token_create_params.rb +1 -259
  41. data/lib/stripe/params/v2/core/account_update_params.rb +8 -711
  42. data/lib/stripe/params/v2/money_management/financial_address_create_params.rb +1 -12
  43. data/lib/stripe/params/v2/money_management/inbound_transfer_create_params.rb +0 -12
  44. data/lib/stripe/params/v2/money_management/outbound_payment_create_params.rb +0 -16
  45. data/lib/stripe/params/v2/money_management/outbound_payment_quote_create_params.rb +0 -12
  46. data/lib/stripe/params/v2/money_management/outbound_setup_intent_create_params.rb +1 -19
  47. data/lib/stripe/params/v2/money_management/outbound_transfer_create_params.rb +0 -16
  48. data/lib/stripe/params/v2/test_helpers/financial_address_credit_params.rb +0 -11
  49. data/lib/stripe/params.rb +0 -100
  50. data/lib/stripe/resources/application_fee.rb +0 -2
  51. data/lib/stripe/resources/balance.rb +0 -83
  52. data/lib/stripe/resources/billing/alert.rb +1 -105
  53. data/lib/stripe/resources/billing/alert_triggered.rb +0 -6
  54. data/lib/stripe/resources/billing/analytics/meter_usage_row.rb +0 -2
  55. data/lib/stripe/resources/billing/credit_balance_summary.rb +2 -84
  56. data/lib/stripe/resources/billing/credit_balance_transaction.rb +2 -84
  57. data/lib/stripe/resources/billing/credit_grant.rb +2 -58
  58. data/lib/stripe/resources/billing/meter.rb +0 -2
  59. data/lib/stripe/resources/billing/meter_event_summary.rb +0 -2
  60. data/lib/stripe/resources/capital/financing_offer.rb +0 -41
  61. data/lib/stripe/resources/card.rb +1 -18
  62. data/lib/stripe/resources/charge.rb +0 -18
  63. data/lib/stripe/resources/checkout/session.rb +0 -92
  64. data/lib/stripe/resources/confirmation_token.rb +0 -18
  65. data/lib/stripe/resources/discount.rb +0 -2
  66. data/lib/stripe/resources/identity/verification_report.rb +0 -4
  67. data/lib/stripe/resources/invoice.rb +0 -16
  68. data/lib/stripe/resources/invoice_item.rb +2 -106
  69. data/lib/stripe/resources/invoice_line_item.rb +1 -107
  70. data/lib/stripe/resources/payment_intent.rb +0 -44
  71. data/lib/stripe/resources/payment_method.rb +0 -38
  72. data/lib/stripe/resources/person.rb +0 -36
  73. data/lib/stripe/resources/quote.rb +1 -238
  74. data/lib/stripe/resources/quote_line.rb +0 -6
  75. data/lib/stripe/resources/quote_preview_invoice.rb +0 -16
  76. data/lib/stripe/resources/quote_preview_subscription_schedule.rb +0 -94
  77. data/lib/stripe/resources/setup_intent.rb +0 -40
  78. data/lib/stripe/resources/subscription.rb +1 -20
  79. data/lib/stripe/resources/subscription_item.rb +1 -24
  80. data/lib/stripe/resources/subscription_schedule.rb +0 -94
  81. data/lib/stripe/resources/transfer.rb +0 -4
  82. data/lib/stripe/resources/v2/billing/cadence.rb +0 -46
  83. data/lib/stripe/resources/v2/core/account.rb +6 -1095
  84. data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +1 -15
  85. data/lib/stripe/resources/v2/money_management/adjustment.rb +1 -16
  86. data/lib/stripe/resources/v2/money_management/financial_account.rb +1 -49
  87. data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +3 -52
  88. data/lib/stripe/resources/v2/money_management/outbound_payment.rb +2 -48
  89. data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +3 -61
  90. data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +2 -48
  91. data/lib/stripe/resources/v2/money_management/payout_method.rb +1 -29
  92. data/lib/stripe/resources/v2/money_management/received_credit.rb +0 -34
  93. data/lib/stripe/resources/v2/money_management/received_debit.rb +0 -36
  94. data/lib/stripe/resources/v2/money_management/transaction.rb +1 -65
  95. data/lib/stripe/resources/v2/money_management/transaction_entry.rb +1 -49
  96. data/lib/stripe/resources.rb +0 -107
  97. data/lib/stripe/services/identity_service.rb +1 -2
  98. data/lib/stripe/services/issuing_service.rb +1 -2
  99. data/lib/stripe/services/payment_method_service.rb +0 -11
  100. data/lib/stripe/services/radar_service.rb +1 -2
  101. data/lib/stripe/services/test_helpers_service.rb +1 -2
  102. data/lib/stripe/services/v1_services.rb +1 -3
  103. data/lib/stripe/services/v2/billing_service.rb +1 -14
  104. data/lib/stripe/services/v2/core_service.rb +1 -2
  105. data/lib/stripe/services/v2/money_management_service.rb +1 -5
  106. data/lib/stripe/services/v2/test_helper_service.rb +1 -2
  107. data/lib/stripe/services/v2_services.rb +1 -3
  108. data/lib/stripe/services.rb +0 -35
  109. data/lib/stripe/version.rb +1 -1
  110. data/rbi/stripe.rbi +431 -17910
  111. metadata +2 -244
  112. data/lib/stripe/events/v2_billing_cadence_billed_event.rb +0 -61
  113. data/lib/stripe/events/v2_billing_cadence_canceled_event.rb +0 -44
  114. data/lib/stripe/events/v2_billing_cadence_created_event.rb +0 -61
  115. data/lib/stripe/events/v2_billing_license_fee_created_event.rb +0 -44
  116. data/lib/stripe/events/v2_billing_license_fee_updated_event.rb +0 -44
  117. data/lib/stripe/events/v2_billing_license_fee_version_created_event.rb +0 -61
  118. data/lib/stripe/events/v2_billing_licensed_item_created_event.rb +0 -44
  119. data/lib/stripe/events/v2_billing_licensed_item_updated_event.rb +0 -44
  120. data/lib/stripe/events/v2_billing_metered_item_created_event.rb +0 -44
  121. data/lib/stripe/events/v2_billing_metered_item_updated_event.rb +0 -44
  122. data/lib/stripe/events/v2_billing_pricing_plan_component_created_event.rb +0 -61
  123. data/lib/stripe/events/v2_billing_pricing_plan_component_updated_event.rb +0 -61
  124. data/lib/stripe/events/v2_billing_pricing_plan_created_event.rb +0 -44
  125. data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_awaiting_customer_action_event.rb +0 -44
  126. data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_current_event.rb +0 -44
  127. data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_past_due_event.rb +0 -44
  128. data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_paused_event.rb +0 -44
  129. data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_unpaid_event.rb +0 -44
  130. data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_activated_event.rb +0 -44
  131. data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_canceled_event.rb +0 -44
  132. data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_paused_event.rb +0 -44
  133. data/lib/stripe/events/v2_billing_pricing_plan_updated_event.rb +0 -44
  134. data/lib/stripe/events/v2_billing_pricing_plan_version_created_event.rb +0 -61
  135. data/lib/stripe/events/v2_billing_rate_card_created_event.rb +0 -61
  136. data/lib/stripe/events/v2_billing_rate_card_rate_created_event.rb +0 -67
  137. data/lib/stripe/events/v2_billing_rate_card_subscription_activated_event.rb +0 -44
  138. data/lib/stripe/events/v2_billing_rate_card_subscription_canceled_event.rb +0 -44
  139. data/lib/stripe/events/v2_billing_rate_card_subscription_collection_awaiting_customer_action_event.rb +0 -44
  140. data/lib/stripe/events/v2_billing_rate_card_subscription_collection_current_event.rb +0 -44
  141. data/lib/stripe/events/v2_billing_rate_card_subscription_collection_past_due_event.rb +0 -44
  142. data/lib/stripe/events/v2_billing_rate_card_subscription_collection_paused_event.rb +0 -44
  143. data/lib/stripe/events/v2_billing_rate_card_subscription_collection_unpaid_event.rb +0 -44
  144. data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_activated_event.rb +0 -44
  145. data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_canceled_event.rb +0 -44
  146. data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_paused_event.rb +0 -44
  147. data/lib/stripe/events/v2_billing_rate_card_updated_event.rb +0 -44
  148. data/lib/stripe/events/v2_billing_rate_card_version_created_event.rb +0 -61
  149. data/lib/stripe/events/v2_core_account_including_configuration_card_creator_capability_status_updated_event.rb +0 -63
  150. data/lib/stripe/events/v2_core_account_including_configuration_card_creator_updated_event.rb +0 -44
  151. data/lib/stripe/events/v2_core_claimable_sandbox_claimed_event.rb +0 -44
  152. data/lib/stripe/events/v2_core_claimable_sandbox_created_event.rb +0 -44
  153. data/lib/stripe/events/v2_core_claimable_sandbox_expired_event.rb +0 -44
  154. data/lib/stripe/events/v2_core_claimable_sandbox_expiring_event.rb +0 -44
  155. data/lib/stripe/events/v2_core_claimable_sandbox_sandbox_details_owner_account_updated_event.rb +0 -44
  156. data/lib/stripe/events/v2_core_health_api_error_firing_event.rb +0 -68
  157. data/lib/stripe/events/v2_core_health_api_error_resolved_event.rb +0 -68
  158. data/lib/stripe/events/v2_core_health_api_latency_firing_event.rb +0 -66
  159. data/lib/stripe/events/v2_core_health_api_latency_resolved_event.rb +0 -66
  160. data/lib/stripe/events/v2_core_health_authorization_rate_drop_firing_event.rb +0 -80
  161. data/lib/stripe/events/v2_core_health_authorization_rate_drop_resolved_event.rb +0 -80
  162. data/lib/stripe/events/v2_core_health_fraud_rate_increased_event.rb +0 -78
  163. data/lib/stripe/events/v2_core_health_issuing_authorization_request_errors_firing_event.rb +0 -91
  164. data/lib/stripe/events/v2_core_health_issuing_authorization_request_errors_resolved_event.rb +0 -93
  165. data/lib/stripe/events/v2_core_health_issuing_authorization_request_timeout_firing_event.rb +0 -93
  166. data/lib/stripe/events/v2_core_health_issuing_authorization_request_timeout_resolved_event.rb +0 -93
  167. data/lib/stripe/events/v2_core_health_payment_method_error_firing_event.rb +0 -64
  168. data/lib/stripe/events/v2_core_health_payment_method_error_resolved_event.rb +0 -64
  169. data/lib/stripe/events/v2_core_health_traffic_volume_drop_firing_event.rb +0 -62
  170. data/lib/stripe/events/v2_core_health_traffic_volume_drop_resolved_event.rb +0 -62
  171. data/lib/stripe/events/v2_core_health_webhook_latency_firing_event.rb +0 -58
  172. data/lib/stripe/events/v2_core_health_webhook_latency_resolved_event.rb +0 -58
  173. data/lib/stripe/events/v2_money_management_recipient_verification_created_event.rb +0 -44
  174. data/lib/stripe/events/v2_money_management_recipient_verification_updated_event.rb +0 -44
  175. data/lib/stripe/events/v2_payments_off_session_payment_attempt_failed_event.rb +0 -44
  176. data/lib/stripe/events/v2_payments_off_session_payment_attempt_started_event.rb +0 -46
  177. data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_failed_event.rb +0 -46
  178. data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_started_event.rb +0 -48
  179. data/lib/stripe/events/v2_payments_off_session_payment_canceled_event.rb +0 -44
  180. data/lib/stripe/events/v2_payments_off_session_payment_created_event.rb +0 -44
  181. data/lib/stripe/events/v2_payments_off_session_payment_failed_event.rb +0 -44
  182. data/lib/stripe/events/v2_payments_off_session_payment_requires_capture_event.rb +0 -44
  183. data/lib/stripe/events/v2_payments_off_session_payment_succeeded_event.rb +0 -44
  184. data/lib/stripe/events/v2_reporting_report_run_created_event.rb +0 -44
  185. data/lib/stripe/events/v2_reporting_report_run_failed_event.rb +0 -44
  186. data/lib/stripe/events/v2_reporting_report_run_succeeded_event.rb +0 -44
  187. data/lib/stripe/events/v2_reporting_report_run_updated_event.rb +0 -44
  188. data/lib/stripe/params/balance_transfer_create_params.rb +0 -66
  189. data/lib/stripe/params/capital/financing_offer_create_params.rb +0 -37
  190. data/lib/stripe/params/capital/financing_offer_refill_params.rb +0 -37
  191. data/lib/stripe/params/delegated_checkout/requested_session_confirm_params.rb +0 -55
  192. data/lib/stripe/params/delegated_checkout/requested_session_create_params.rb +0 -205
  193. data/lib/stripe/params/delegated_checkout/requested_session_expire_params.rb +0 -15
  194. data/lib/stripe/params/delegated_checkout/requested_session_retrieve_params.rb +0 -15
  195. data/lib/stripe/params/delegated_checkout/requested_session_update_params.rb +0 -209
  196. data/lib/stripe/params/identity/blocklist_entry_create_params.rb +0 -29
  197. data/lib/stripe/params/identity/blocklist_entry_disable_params.rb +0 -15
  198. data/lib/stripe/params/identity/blocklist_entry_list_params.rb +0 -62
  199. data/lib/stripe/params/identity/blocklist_entry_retrieve_params.rb +0 -15
  200. data/lib/stripe/params/issuing/program_create_params.rb +0 -21
  201. data/lib/stripe/params/issuing/program_list_params.rb +0 -24
  202. data/lib/stripe/params/issuing/program_retrieve_params.rb +0 -15
  203. data/lib/stripe/params/issuing/program_update_params.rb +0 -21
  204. data/lib/stripe/params/payment_method_check_balance_params.rb +0 -13
  205. data/lib/stripe/params/radar/account_evaluation_create_params.rb +0 -81
  206. data/lib/stripe/params/radar/account_evaluation_retrieve_params.rb +0 -15
  207. data/lib/stripe/params/radar/account_evaluation_update_params.rb +0 -18
  208. data/lib/stripe/params/test_helpers/capital/financing_offer_create_params.rb +0 -39
  209. data/lib/stripe/params/test_helpers/capital/financing_offer_refill_params.rb +0 -39
  210. data/lib/stripe/params/v2/billing/custom_pricing_unit_create_params.rb +0 -26
  211. data/lib/stripe/params/v2/billing/custom_pricing_unit_list_params.rb +0 -24
  212. data/lib/stripe/params/v2/billing/custom_pricing_unit_retrieve_params.rb +0 -10
  213. data/lib/stripe/params/v2/billing/custom_pricing_unit_update_params.rb +0 -26
  214. data/lib/stripe/params/v2/billing/intent_cancel_params.rb +0 -10
  215. data/lib/stripe/params/v2/billing/intent_commit_params.rb +0 -17
  216. data/lib/stripe/params/v2/billing/intent_create_params.rb +0 -355
  217. data/lib/stripe/params/v2/billing/intent_list_params.rb +0 -17
  218. data/lib/stripe/params/v2/billing/intent_release_reservation_params.rb +0 -10
  219. data/lib/stripe/params/v2/billing/intent_reserve_params.rb +0 -10
  220. data/lib/stripe/params/v2/billing/intent_retrieve_params.rb +0 -10
  221. data/lib/stripe/params/v2/billing/intents/action_list_params.rb +0 -19
  222. data/lib/stripe/params/v2/billing/intents/action_retrieve_params.rb +0 -12
  223. data/lib/stripe/params/v2/billing/license_fee_create_params.rb +0 -103
  224. data/lib/stripe/params/v2/billing/license_fee_list_params.rb +0 -24
  225. data/lib/stripe/params/v2/billing/license_fee_retrieve_params.rb +0 -10
  226. data/lib/stripe/params/v2/billing/license_fee_subscription_retrieve_params.rb +0 -10
  227. data/lib/stripe/params/v2/billing/license_fee_update_params.rb +0 -84
  228. data/lib/stripe/params/v2/billing/license_fees/version_list_params.rb +0 -19
  229. data/lib/stripe/params/v2/billing/license_fees/version_retrieve_params.rb +0 -12
  230. data/lib/stripe/params/v2/billing/licensed_item_create_params.rb +0 -48
  231. data/lib/stripe/params/v2/billing/licensed_item_list_params.rb +0 -21
  232. data/lib/stripe/params/v2/billing/licensed_item_retrieve_params.rb +0 -10
  233. data/lib/stripe/params/v2/billing/licensed_item_update_params.rb +0 -48
  234. data/lib/stripe/params/v2/billing/metered_item_create_params.rb +0 -73
  235. data/lib/stripe/params/v2/billing/metered_item_list_params.rb +0 -21
  236. data/lib/stripe/params/v2/billing/metered_item_retrieve_params.rb +0 -10
  237. data/lib/stripe/params/v2/billing/metered_item_update_params.rb +0 -50
  238. data/lib/stripe/params/v2/billing/pricing_plan_create_params.rb +0 -39
  239. data/lib/stripe/params/v2/billing/pricing_plan_list_params.rb +0 -24
  240. data/lib/stripe/params/v2/billing/pricing_plan_retrieve_params.rb +0 -10
  241. data/lib/stripe/params/v2/billing/pricing_plan_subscription_list_params.rb +0 -50
  242. data/lib/stripe/params/v2/billing/pricing_plan_subscription_retrieve_params.rb +0 -10
  243. data/lib/stripe/params/v2/billing/pricing_plan_subscription_update_params.rb +0 -20
  244. data/lib/stripe/params/v2/billing/pricing_plan_subscriptions/component_retrieve_params.rb +0 -12
  245. data/lib/stripe/params/v2/billing/pricing_plan_update_params.rb +0 -39
  246. data/lib/stripe/params/v2/billing/pricing_plans/component_create_params.rb +0 -73
  247. data/lib/stripe/params/v2/billing/pricing_plans/component_delete_params.rb +0 -12
  248. data/lib/stripe/params/v2/billing/pricing_plans/component_list_params.rb +0 -27
  249. data/lib/stripe/params/v2/billing/pricing_plans/component_retrieve_params.rb +0 -12
  250. data/lib/stripe/params/v2/billing/pricing_plans/component_update_params.rb +0 -22
  251. data/lib/stripe/params/v2/billing/pricing_plans/version_list_params.rb +0 -19
  252. data/lib/stripe/params/v2/billing/pricing_plans/version_retrieve_params.rb +0 -12
  253. data/lib/stripe/params/v2/billing/rate_card_create_params.rb +0 -49
  254. data/lib/stripe/params/v2/billing/rate_card_list_params.rb +0 -24
  255. data/lib/stripe/params/v2/billing/rate_card_retrieve_params.rb +0 -10
  256. data/lib/stripe/params/v2/billing/rate_card_subscription_cancel_params.rb +0 -10
  257. data/lib/stripe/params/v2/billing/rate_card_subscription_create_params.rb +0 -26
  258. data/lib/stripe/params/v2/billing/rate_card_subscription_list_params.rb +0 -51
  259. data/lib/stripe/params/v2/billing/rate_card_subscription_retrieve_params.rb +0 -10
  260. data/lib/stripe/params/v2/billing/rate_card_subscription_update_params.rb +0 -17
  261. data/lib/stripe/params/v2/billing/rate_card_update_params.rb +0 -38
  262. data/lib/stripe/params/v2/billing/rate_cards/rate_create_params.rb +0 -91
  263. data/lib/stripe/params/v2/billing/rate_cards/rate_delete_params.rb +0 -12
  264. data/lib/stripe/params/v2/billing/rate_cards/rate_list_params.rb +0 -25
  265. data/lib/stripe/params/v2/billing/rate_cards/rate_retrieve_params.rb +0 -12
  266. data/lib/stripe/params/v2/billing/rate_cards/version_list_params.rb +0 -19
  267. data/lib/stripe/params/v2/billing/rate_cards/version_retrieve_params.rb +0 -12
  268. data/lib/stripe/params/v2/billing/service_action_create_params.rb +0 -278
  269. data/lib/stripe/params/v2/billing/service_action_retrieve_params.rb +0 -10
  270. data/lib/stripe/params/v2/billing/service_action_update_params.rb +0 -40
  271. data/lib/stripe/params/v2/core/claimable_sandbox_create_params.rb +0 -36
  272. data/lib/stripe/params/v2/core/claimable_sandbox_retrieve_params.rb +0 -10
  273. data/lib/stripe/params/v2/money_management/currency_conversion_create_params.rb +0 -68
  274. data/lib/stripe/params/v2/money_management/currency_conversion_list_params.rb +0 -20
  275. data/lib/stripe/params/v2/money_management/currency_conversion_retrieve_params.rb +0 -10
  276. data/lib/stripe/params/v2/money_management/recipient_verification_acknowledge_params.rb +0 -10
  277. data/lib/stripe/params/v2/money_management/recipient_verification_create_params.rb +0 -20
  278. data/lib/stripe/params/v2/money_management/recipient_verification_retrieve_params.rb +0 -10
  279. data/lib/stripe/params/v2/payments/off_session_payment_cancel_params.rb +0 -10
  280. data/lib/stripe/params/v2/payments/off_session_payment_capture_params.rb +0 -57
  281. data/lib/stripe/params/v2/payments/off_session_payment_create_params.rb +0 -161
  282. data/lib/stripe/params/v2/payments/off_session_payment_list_params.rb +0 -17
  283. data/lib/stripe/params/v2/payments/off_session_payment_retrieve_params.rb +0 -10
  284. data/lib/stripe/params/v2/reporting/report_retrieve_params.rb +0 -10
  285. data/lib/stripe/params/v2/reporting/report_run_create_params.rb +0 -33
  286. data/lib/stripe/params/v2/reporting/report_run_retrieve_params.rb +0 -10
  287. data/lib/stripe/params/v2/test_helpers/money_management_recipient_verifications_params.rb +0 -24
  288. data/lib/stripe/resources/balance_transfer.rb +0 -139
  289. data/lib/stripe/resources/delegated_checkout/requested_session.rb +0 -434
  290. data/lib/stripe/resources/identity/blocklist_entry.rb +0 -116
  291. data/lib/stripe/resources/issuing/program.rb +0 -69
  292. data/lib/stripe/resources/payment_method_balance.rb +0 -68
  293. data/lib/stripe/resources/radar/account_evaluation.rb +0 -116
  294. data/lib/stripe/resources/transit_balance.rb +0 -45
  295. data/lib/stripe/resources/v2/billing/custom_pricing_unit.rb +0 -43
  296. data/lib/stripe/resources/v2/billing/intent.rb +0 -86
  297. data/lib/stripe/resources/v2/billing/intent_action.rb +0 -395
  298. data/lib/stripe/resources/v2/billing/license_fee.rb +0 -104
  299. data/lib/stripe/resources/v2/billing/license_fee_subscription.rb +0 -44
  300. data/lib/stripe/resources/v2/billing/license_fee_version.rb +0 -80
  301. data/lib/stripe/resources/v2/billing/licensed_item.rb +0 -60
  302. data/lib/stripe/resources/v2/billing/metered_item.rb +0 -85
  303. data/lib/stripe/resources/v2/billing/pricing_plan.rb +0 -51
  304. data/lib/stripe/resources/v2/billing/pricing_plan_component.rb +0 -94
  305. data/lib/stripe/resources/v2/billing/pricing_plan_subscription.rb +0 -94
  306. data/lib/stripe/resources/v2/billing/pricing_plan_subscription_components.rb +0 -49
  307. data/lib/stripe/resources/v2/billing/pricing_plan_version.rb +0 -38
  308. data/lib/stripe/resources/v2/billing/rate_card.rb +0 -61
  309. data/lib/stripe/resources/v2/billing/rate_card_rate.rb +0 -110
  310. data/lib/stripe/resources/v2/billing/rate_card_subscription.rb +0 -94
  311. data/lib/stripe/resources/v2/billing/rate_card_version.rb +0 -34
  312. data/lib/stripe/resources/v2/billing/service_action.rb +0 -274
  313. data/lib/stripe/resources/v2/core/claimable_sandbox.rb +0 -105
  314. data/lib/stripe/resources/v2/money_management/currency_conversion.rb +0 -94
  315. data/lib/stripe/resources/v2/money_management/recipient_verification.rb +0 -83
  316. data/lib/stripe/resources/v2/payments/off_session_payment.rb +0 -186
  317. data/lib/stripe/resources/v2/reporting/report.rb +0 -116
  318. data/lib/stripe/resources/v2/reporting/report_run.rb +0 -128
  319. data/lib/stripe/services/balance_transfer_service.rb +0 -17
  320. data/lib/stripe/services/delegated_checkout/requested_session_service.rb +0 -63
  321. data/lib/stripe/services/delegated_checkout_service.rb +0 -13
  322. data/lib/stripe/services/identity/blocklist_entry_service.rb +0 -71
  323. data/lib/stripe/services/issuing/program_service.rb +0 -52
  324. data/lib/stripe/services/radar/account_evaluation_service.rb +0 -41
  325. data/lib/stripe/services/test_helpers/capital/financing_offer_service.rb +0 -32
  326. data/lib/stripe/services/test_helpers/capital_service.rb +0 -15
  327. data/lib/stripe/services/v2/billing/custom_pricing_unit_service.rb +0 -54
  328. data/lib/stripe/services/v2/billing/intent_service.rb +0 -94
  329. data/lib/stripe/services/v2/billing/intents/action_service.rb +0 -34
  330. data/lib/stripe/services/v2/billing/license_fee_service.rb +0 -61
  331. data/lib/stripe/services/v2/billing/license_fee_subscription_service.rb +0 -21
  332. data/lib/stripe/services/v2/billing/license_fees/version_service.rb +0 -34
  333. data/lib/stripe/services/v2/billing/licensed_item_service.rb +0 -54
  334. data/lib/stripe/services/v2/billing/metered_item_service.rb +0 -54
  335. data/lib/stripe/services/v2/billing/pricing_plan_service.rb +0 -62
  336. data/lib/stripe/services/v2/billing/pricing_plan_subscription_service.rb +0 -51
  337. data/lib/stripe/services/v2/billing/pricing_plan_subscriptions/component_service.rb +0 -23
  338. data/lib/stripe/services/v2/billing/pricing_plans/component_service.rb +0 -67
  339. data/lib/stripe/services/v2/billing/pricing_plans/version_service.rb +0 -34
  340. data/lib/stripe/services/v2/billing/rate_card_service.rb +0 -62
  341. data/lib/stripe/services/v2/billing/rate_card_subscription_service.rb +0 -65
  342. data/lib/stripe/services/v2/billing/rate_cards/rate_service.rb +0 -57
  343. data/lib/stripe/services/v2/billing/rate_cards/version_service.rb +0 -34
  344. data/lib/stripe/services/v2/billing/service_action_service.rb +0 -43
  345. data/lib/stripe/services/v2/core/claimable_sandbox_service.rb +0 -35
  346. data/lib/stripe/services/v2/money_management/currency_conversion_service.rb +0 -45
  347. data/lib/stripe/services/v2/money_management/recipient_verification_service.rb +0 -43
  348. data/lib/stripe/services/v2/payment_service.rb +0 -15
  349. data/lib/stripe/services/v2/payments/off_session_payment_service.rb +0 -65
  350. data/lib/stripe/services/v2/reporting/report_run_service.rb +0 -38
  351. data/lib/stripe/services/v2/reporting/report_service.rb +0 -23
  352. data/lib/stripe/services/v2/reporting_service.rb +0 -16
  353. data/lib/stripe/services/v2/test_helpers/money_management_service.rb +0 -21
@@ -6,146 +6,6 @@ module Stripe
6
6
  module Core
7
7
  class AccountUpdateParams < ::Stripe::RequestParams
8
8
  class Configuration < ::Stripe::RequestParams
9
- class CardCreator < ::Stripe::RequestParams
10
- class Capabilities < ::Stripe::RequestParams
11
- class Commercial < ::Stripe::RequestParams
12
- class Celtic < ::Stripe::RequestParams
13
- class ChargeCard < ::Stripe::RequestParams
14
- # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
15
- attr_accessor :requested
16
-
17
- def initialize(requested: nil)
18
- @requested = requested
19
- end
20
- end
21
-
22
- class SpendCard < ::Stripe::RequestParams
23
- # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
24
- attr_accessor :requested
25
-
26
- def initialize(requested: nil)
27
- @requested = requested
28
- end
29
- end
30
- # Can create commercial issuing charge cards with Celtic as BIN sponsor.
31
- attr_accessor :charge_card
32
- # Can create commercial issuing spend cards with Celtic as BIN sponsor.
33
- attr_accessor :spend_card
34
-
35
- def initialize(charge_card: nil, spend_card: nil)
36
- @charge_card = charge_card
37
- @spend_card = spend_card
38
- end
39
- end
40
-
41
- class CrossRiverBank < ::Stripe::RequestParams
42
- class ChargeCard < ::Stripe::RequestParams
43
- # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
44
- attr_accessor :requested
45
-
46
- def initialize(requested: nil)
47
- @requested = requested
48
- end
49
- end
50
-
51
- class SpendCard < ::Stripe::RequestParams
52
- # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
53
- attr_accessor :requested
54
-
55
- def initialize(requested: nil)
56
- @requested = requested
57
- end
58
- end
59
- # Can create commercial issuing charge cards with Cross River Bank as BIN sponsor.
60
- attr_accessor :charge_card
61
- # Can create commercial issuing spend cards with Cross River Bank as BIN sponsor.
62
- attr_accessor :spend_card
63
-
64
- def initialize(charge_card: nil, spend_card: nil)
65
- @charge_card = charge_card
66
- @spend_card = spend_card
67
- end
68
- end
69
-
70
- class Lead < ::Stripe::RequestParams
71
- class PrepaidCard < ::Stripe::RequestParams
72
- # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
73
- attr_accessor :requested
74
-
75
- def initialize(requested: nil)
76
- @requested = requested
77
- end
78
- end
79
- # Can create commercial issuing prepaid cards with Lead as BIN sponsor.
80
- attr_accessor :prepaid_card
81
-
82
- def initialize(prepaid_card: nil)
83
- @prepaid_card = prepaid_card
84
- end
85
- end
86
-
87
- class Stripe < ::Stripe::RequestParams
88
- class ChargeCard < ::Stripe::RequestParams
89
- # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
90
- attr_accessor :requested
91
-
92
- def initialize(requested: nil)
93
- @requested = requested
94
- end
95
- end
96
-
97
- class PrepaidCard < ::Stripe::RequestParams
98
- # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
99
- attr_accessor :requested
100
-
101
- def initialize(requested: nil)
102
- @requested = requested
103
- end
104
- end
105
- # Can create commercial issuing charge cards with Stripe as BIN sponsor.
106
- attr_accessor :charge_card
107
- # Can create commercial issuing prepaid cards with Stripe as BIN sponsor.
108
- attr_accessor :prepaid_card
109
-
110
- def initialize(charge_card: nil, prepaid_card: nil)
111
- @charge_card = charge_card
112
- @prepaid_card = prepaid_card
113
- end
114
- end
115
- # Can create commercial issuing cards with Celtic as BIN sponsor.
116
- attr_accessor :celtic
117
- # Can create commercial issuing cards with Cross River Bank as BIN sponsor.
118
- attr_accessor :cross_river_bank
119
- # Can create commercial issuing cards with Lead as BIN sponsor.
120
- attr_accessor :lead
121
- # Can create commercial issuing cards with Stripe as BIN sponsor.
122
- attr_accessor :stripe
123
-
124
- def initialize(celtic: nil, cross_river_bank: nil, lead: nil, stripe: nil)
125
- @celtic = celtic
126
- @cross_river_bank = cross_river_bank
127
- @lead = lead
128
- @stripe = stripe
129
- end
130
- end
131
- # Can create cards for commercial issuing use cases.
132
- attr_accessor :commercial
133
-
134
- def initialize(commercial: nil)
135
- @commercial = commercial
136
- end
137
- end
138
- # Represents the state of the configuration, and can be updated to deactivate or re-apply a configuration.
139
- attr_accessor :applied
140
- # Capabilities to request on the CardCreator Configuration.
141
- attr_accessor :capabilities
142
-
143
- def initialize(applied: nil, capabilities: nil)
144
- @applied = applied
145
- @capabilities = capabilities
146
- end
147
- end
148
-
149
9
  class Customer < ::Stripe::RequestParams
150
10
  class AutomaticIndirectTax < ::Stripe::RequestParams
151
11
  # Describes the customer's tax exemption status, which is `none`, `exempt`, or `reverse`. When set to reverse, invoice and receipt PDFs include the following text: “Reverse charge”.
@@ -1166,15 +1026,6 @@ module Stripe
1166
1026
  end
1167
1027
  end
1168
1028
 
1169
- class CryptoWallets < ::Stripe::RequestParams
1170
- # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
1171
- attr_accessor :requested
1172
-
1173
- def initialize(requested: nil)
1174
- @requested = requested
1175
- end
1176
- end
1177
-
1178
1029
  class StripeBalance < ::Stripe::RequestParams
1179
1030
  class StripeTransfers < ::Stripe::RequestParams
1180
1031
  # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
@@ -1195,20 +1046,12 @@ module Stripe
1195
1046
  attr_accessor :bank_accounts
1196
1047
  # Capability that enable OutboundPayments to a debit card linked to this Account.
1197
1048
  attr_accessor :cards
1198
- # Capabilities that enable OutboundPayments to a crypto wallet linked to this Account.
1199
- attr_accessor :crypto_wallets
1200
1049
  # Capabilities that enable the recipient to manage their Stripe Balance (/v1/balance).
1201
1050
  attr_accessor :stripe_balance
1202
1051
 
1203
- def initialize(
1204
- bank_accounts: nil,
1205
- cards: nil,
1206
- crypto_wallets: nil,
1207
- stripe_balance: nil
1208
- )
1052
+ def initialize(bank_accounts: nil, cards: nil, stripe_balance: nil)
1209
1053
  @bank_accounts = bank_accounts
1210
1054
  @cards = cards
1211
- @crypto_wallets = crypto_wallets
1212
1055
  @stripe_balance = stripe_balance
1213
1056
  end
1214
1057
  end
@@ -1237,23 +1080,11 @@ module Stripe
1237
1080
  @requested = requested
1238
1081
  end
1239
1082
  end
1240
-
1241
- class CryptoWallets < ::Stripe::RequestParams
1242
- # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
1243
- attr_accessor :requested
1244
-
1245
- def initialize(requested: nil)
1246
- @requested = requested
1247
- end
1248
- end
1249
1083
  # Can provision a bank-account-like financial address (VBAN) to credit/debit a FinancialAccount.
1250
1084
  attr_accessor :bank_accounts
1251
- # Can provision a crypto wallet like financial address to credit a FinancialAccount.
1252
- attr_accessor :crypto_wallets
1253
1085
 
1254
- def initialize(bank_accounts: nil, crypto_wallets: nil)
1086
+ def initialize(bank_accounts: nil)
1255
1087
  @bank_accounts = bank_accounts
1256
- @crypto_wallets = crypto_wallets
1257
1088
  end
1258
1089
  end
1259
1090
 
@@ -1284,29 +1115,17 @@ module Stripe
1284
1115
  @requested = requested
1285
1116
  end
1286
1117
  end
1287
-
1288
- class Usdc < ::Stripe::RequestParams
1289
- # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
1290
- attr_accessor :requested
1291
-
1292
- def initialize(requested: nil)
1293
- @requested = requested
1294
- end
1295
- end
1296
1118
  # Can hold storage-type funds on Stripe in EUR.
1297
1119
  attr_accessor :eur
1298
1120
  # Can hold storage-type funds on Stripe in GBP.
1299
1121
  attr_accessor :gbp
1300
1122
  # Can hold storage-type funds on Stripe in USD.
1301
1123
  attr_accessor :usd
1302
- # Can hold storage-type funds on Stripe in USDC.
1303
- attr_accessor :usdc
1304
1124
 
1305
- def initialize(eur: nil, gbp: nil, usd: nil, usdc: nil)
1125
+ def initialize(eur: nil, gbp: nil, usd: nil)
1306
1126
  @eur = eur
1307
1127
  @gbp = gbp
1308
1128
  @usd = usd
1309
- @usdc = usdc
1310
1129
  end
1311
1130
  end
1312
1131
 
@@ -1346,15 +1165,6 @@ module Stripe
1346
1165
  end
1347
1166
  end
1348
1167
 
1349
- class CryptoWallets < ::Stripe::RequestParams
1350
- # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
1351
- attr_accessor :requested
1352
-
1353
- def initialize(requested: nil)
1354
- @requested = requested
1355
- end
1356
- end
1357
-
1358
1168
  class FinancialAccounts < ::Stripe::RequestParams
1359
1169
  # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
1360
1170
  attr_accessor :requested
@@ -1367,20 +1177,12 @@ module Stripe
1367
1177
  attr_accessor :bank_accounts
1368
1178
  # Can send funds from a FinancialAccount to a debit card owned by someone else.
1369
1179
  attr_accessor :cards
1370
- # Can send funds from a FinancialAccount to a crypto wallet owned by someone else.
1371
- attr_accessor :crypto_wallets
1372
1180
  # Can send funds from a FinancialAccount to another FinancialAccount owned by someone else.
1373
1181
  attr_accessor :financial_accounts
1374
1182
 
1375
- def initialize(
1376
- bank_accounts: nil,
1377
- cards: nil,
1378
- crypto_wallets: nil,
1379
- financial_accounts: nil
1380
- )
1183
+ def initialize(bank_accounts: nil, cards: nil, financial_accounts: nil)
1381
1184
  @bank_accounts = bank_accounts
1382
1185
  @cards = cards
1383
- @crypto_wallets = crypto_wallets
1384
1186
  @financial_accounts = financial_accounts
1385
1187
  end
1386
1188
  end
@@ -1395,15 +1197,6 @@ module Stripe
1395
1197
  end
1396
1198
  end
1397
1199
 
1398
- class CryptoWallets < ::Stripe::RequestParams
1399
- # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
1400
- attr_accessor :requested
1401
-
1402
- def initialize(requested: nil)
1403
- @requested = requested
1404
- end
1405
- end
1406
-
1407
1200
  class FinancialAccounts < ::Stripe::RequestParams
1408
1201
  # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
1409
1202
  attr_accessor :requested
@@ -1414,14 +1207,11 @@ module Stripe
1414
1207
  end
1415
1208
  # Can send funds from a FinancialAccount to a bank account owned by yourself.
1416
1209
  attr_accessor :bank_accounts
1417
- # Can send funds from a FinancialAccount to a crypto wallet owned by yourself.
1418
- attr_accessor :crypto_wallets
1419
1210
  # Can send funds from a FinancialAccount to another FinancialAccount owned by yourself.
1420
1211
  attr_accessor :financial_accounts
1421
1212
 
1422
- def initialize(bank_accounts: nil, crypto_wallets: nil, financial_accounts: nil)
1213
+ def initialize(bank_accounts: nil, financial_accounts: nil)
1423
1214
  @bank_accounts = bank_accounts
1424
- @crypto_wallets = crypto_wallets
1425
1215
  @financial_accounts = financial_accounts
1426
1216
  end
1427
1217
  end
@@ -1450,84 +1240,16 @@ module Stripe
1450
1240
  @outbound_transfers = outbound_transfers
1451
1241
  end
1452
1242
  end
1453
-
1454
- class RegulatedActivity < ::Stripe::RequestParams
1455
- # A detailed description of the regulated activities the business is licensed to conduct.
1456
- attr_accessor :description
1457
- # The license number or registration number assigned by the business's primary regulator.
1458
- attr_accessor :license_number
1459
- # The country of the primary regulatory authority that oversees the business's regulated activities.
1460
- attr_accessor :primary_regulatory_authority_country
1461
- # The name of the primary regulatory authority that oversees the business's regulated activities.
1462
- attr_accessor :primary_regulatory_authority_name
1463
-
1464
- def initialize(
1465
- description: nil,
1466
- license_number: nil,
1467
- primary_regulatory_authority_country: nil,
1468
- primary_regulatory_authority_name: nil
1469
- )
1470
- @description = description
1471
- @license_number = license_number
1472
- @primary_regulatory_authority_country = primary_regulatory_authority_country
1473
- @primary_regulatory_authority_name = primary_regulatory_authority_name
1474
- end
1475
- end
1476
1243
  # Represents the state of the configuration, and can be updated to deactivate or re-apply a configuration.
1477
1244
  attr_accessor :applied
1478
1245
  # Capabilities to request on the Storer Configuration.
1479
1246
  attr_accessor :capabilities
1480
- # List of high-risk activities the business is involved in.
1481
- attr_accessor :high_risk_activities
1482
- # An explanation of the high risk activities that the business performs.
1483
- attr_accessor :high_risk_activities_description
1484
- # Description of the money services offered by the business.
1485
- attr_accessor :money_services_description
1486
- # Does the business operate in any prohibited countries.
1487
- attr_accessor :operates_in_prohibited_countries
1488
- # Does the business participate in any regulated activity.
1489
- attr_accessor :participates_in_regulated_activity
1490
- # Primary purpose of the stored funds.
1491
- attr_accessor :purpose_of_funds
1492
- # Description of the purpose of the stored funds.
1493
- attr_accessor :purpose_of_funds_description
1494
- # Details of the regulated activity if the business participates in one.
1495
- attr_accessor :regulated_activity
1496
- # The source of funds for the business, e.g. profits, income, venture capital, etc.
1497
- attr_accessor :source_of_funds
1498
- # Description of the source of funds for the business' account.
1499
- attr_accessor :source_of_funds_description
1500
1247
 
1501
- def initialize(
1502
- applied: nil,
1503
- capabilities: nil,
1504
- high_risk_activities: nil,
1505
- high_risk_activities_description: nil,
1506
- money_services_description: nil,
1507
- operates_in_prohibited_countries: nil,
1508
- participates_in_regulated_activity: nil,
1509
- purpose_of_funds: nil,
1510
- purpose_of_funds_description: nil,
1511
- regulated_activity: nil,
1512
- source_of_funds: nil,
1513
- source_of_funds_description: nil
1514
- )
1248
+ def initialize(applied: nil, capabilities: nil)
1515
1249
  @applied = applied
1516
1250
  @capabilities = capabilities
1517
- @high_risk_activities = high_risk_activities
1518
- @high_risk_activities_description = high_risk_activities_description
1519
- @money_services_description = money_services_description
1520
- @operates_in_prohibited_countries = operates_in_prohibited_countries
1521
- @participates_in_regulated_activity = participates_in_regulated_activity
1522
- @purpose_of_funds = purpose_of_funds
1523
- @purpose_of_funds_description = purpose_of_funds_description
1524
- @regulated_activity = regulated_activity
1525
- @source_of_funds = source_of_funds
1526
- @source_of_funds_description = source_of_funds_description
1527
1251
  end
1528
1252
  end
1529
- # The CardCreator Configuration allows the Account to create and issue cards to users.
1530
- attr_accessor :card_creator
1531
1253
  # The Customer Configuration allows the Account to be charged.
1532
1254
  attr_accessor :customer
1533
1255
  # The Merchant configuration allows the Account to act as a connected account and collect payments facilitated by a Connect platform. You can add this configuration to your connected accounts only if you’ve completed onboarding as a Connect platform.
@@ -1537,14 +1259,7 @@ module Stripe
1537
1259
  # The Storer Configuration allows the Account to store and move funds using stored-value FinancialAccounts.
1538
1260
  attr_accessor :storer
1539
1261
 
1540
- def initialize(
1541
- card_creator: nil,
1542
- customer: nil,
1543
- merchant: nil,
1544
- recipient: nil,
1545
- storer: nil
1546
- )
1547
- @card_creator = card_creator
1262
+ def initialize(customer: nil, merchant: nil, recipient: nil, storer: nil)
1548
1263
  @customer = customer
1549
1264
  @merchant = merchant
1550
1265
  @recipient = recipient
@@ -1682,395 +1397,6 @@ module Stripe
1682
1397
  end
1683
1398
  end
1684
1399
 
1685
- class CardCreator < ::Stripe::RequestParams
1686
- class Commercial < ::Stripe::RequestParams
1687
- class AccountHolder < ::Stripe::RequestParams
1688
- # The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
1689
- attr_accessor :date
1690
- # The IP address from which the Account's representative accepted the terms of service.
1691
- attr_accessor :ip
1692
- # The user agent of the browser from which the Account's representative accepted the terms of service.
1693
- attr_accessor :user_agent
1694
-
1695
- def initialize(date: nil, ip: nil, user_agent: nil)
1696
- @date = date
1697
- @ip = ip
1698
- @user_agent = user_agent
1699
- end
1700
- end
1701
-
1702
- class Celtic < ::Stripe::RequestParams
1703
- class ApplePay < ::Stripe::RequestParams
1704
- # The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
1705
- attr_accessor :date
1706
- # The IP address from which the Account's representative accepted the terms of service.
1707
- attr_accessor :ip
1708
- # The user agent of the browser from which the Account's representative accepted the terms of service.
1709
- attr_accessor :user_agent
1710
-
1711
- def initialize(date: nil, ip: nil, user_agent: nil)
1712
- @date = date
1713
- @ip = ip
1714
- @user_agent = user_agent
1715
- end
1716
- end
1717
-
1718
- class ChargeCard < ::Stripe::RequestParams
1719
- class BankTerms < ::Stripe::RequestParams
1720
- # The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
1721
- attr_accessor :date
1722
- # The IP address from which the Account's representative accepted the terms of service.
1723
- attr_accessor :ip
1724
- # The user agent of the browser from which the Account's representative accepted the terms of service.
1725
- attr_accessor :user_agent
1726
-
1727
- def initialize(date: nil, ip: nil, user_agent: nil)
1728
- @date = date
1729
- @ip = ip
1730
- @user_agent = user_agent
1731
- end
1732
- end
1733
-
1734
- class Platform < ::Stripe::RequestParams
1735
- # The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
1736
- attr_accessor :date
1737
- # The IP address from which the Account's representative accepted the terms of service.
1738
- attr_accessor :ip
1739
- # The user agent of the browser from which the Account's representative accepted the terms of service.
1740
- attr_accessor :user_agent
1741
-
1742
- def initialize(date: nil, ip: nil, user_agent: nil)
1743
- @date = date
1744
- @ip = ip
1745
- @user_agent = user_agent
1746
- end
1747
- end
1748
- # Bank terms of service acceptance for commercial issuing charge cards with Celtic as BIN sponsor.
1749
- attr_accessor :bank_terms
1750
- # Platform terms of service acceptance for commercial issuing charge cards with Celtic as BIN sponsor.
1751
- attr_accessor :platform
1752
-
1753
- def initialize(bank_terms: nil, platform: nil)
1754
- @bank_terms = bank_terms
1755
- @platform = platform
1756
- end
1757
- end
1758
-
1759
- class SpendCard < ::Stripe::RequestParams
1760
- class BankTerms < ::Stripe::RequestParams
1761
- # The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
1762
- attr_accessor :date
1763
- # The IP address from which the Account's representative accepted the terms of service.
1764
- attr_accessor :ip
1765
- # The user agent of the browser from which the Account's representative accepted the terms of service.
1766
- attr_accessor :user_agent
1767
-
1768
- def initialize(date: nil, ip: nil, user_agent: nil)
1769
- @date = date
1770
- @ip = ip
1771
- @user_agent = user_agent
1772
- end
1773
- end
1774
-
1775
- class FinancingDisclosures < ::Stripe::RequestParams
1776
- # The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
1777
- attr_accessor :date
1778
- # The IP address from which the Account's representative accepted the terms of service.
1779
- attr_accessor :ip
1780
- # The user agent of the browser from which the Account's representative accepted the terms of service.
1781
- attr_accessor :user_agent
1782
-
1783
- def initialize(date: nil, ip: nil, user_agent: nil)
1784
- @date = date
1785
- @ip = ip
1786
- @user_agent = user_agent
1787
- end
1788
- end
1789
-
1790
- class Platform < ::Stripe::RequestParams
1791
- # The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
1792
- attr_accessor :date
1793
- # The IP address from which the Account's representative accepted the terms of service.
1794
- attr_accessor :ip
1795
- # The user agent of the browser from which the Account's representative accepted the terms of service.
1796
- attr_accessor :user_agent
1797
-
1798
- def initialize(date: nil, ip: nil, user_agent: nil)
1799
- @date = date
1800
- @ip = ip
1801
- @user_agent = user_agent
1802
- end
1803
- end
1804
- # Bank terms of service acceptance for commercial issuing spend cards with Celtic as BIN sponsor.
1805
- attr_accessor :bank_terms
1806
- # Financial disclosures terms of service acceptance for commercial issuing spend cards with Celtic as BIN sponsor.
1807
- attr_accessor :financing_disclosures
1808
- # Platform terms of service acceptance for commercial issuing spend cards with Celtic as BIN sponsor.
1809
- attr_accessor :platform
1810
-
1811
- def initialize(bank_terms: nil, financing_disclosures: nil, platform: nil)
1812
- @bank_terms = bank_terms
1813
- @financing_disclosures = financing_disclosures
1814
- @platform = platform
1815
- end
1816
- end
1817
- # Terms of service acceptances for commercial issuing Apple Pay cards with Celtic as BIN sponsor.
1818
- attr_accessor :apple_pay
1819
- # Terms of service acceptances for commercial issuing charge cards with Celtic as BIN sponsor.
1820
- attr_accessor :charge_card
1821
- # Terms of service acceptances for commercial issuing spend cards with Celtic as BIN sponsor.
1822
- attr_accessor :spend_card
1823
-
1824
- def initialize(apple_pay: nil, charge_card: nil, spend_card: nil)
1825
- @apple_pay = apple_pay
1826
- @charge_card = charge_card
1827
- @spend_card = spend_card
1828
- end
1829
- end
1830
-
1831
- class CrossRiverBank < ::Stripe::RequestParams
1832
- class ApplePay < ::Stripe::RequestParams
1833
- # The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
1834
- attr_accessor :date
1835
- # The IP address from which the Account's representative accepted the terms of service.
1836
- attr_accessor :ip
1837
- # The user agent of the browser from which the Account's representative accepted the terms of service.
1838
- attr_accessor :user_agent
1839
-
1840
- def initialize(date: nil, ip: nil, user_agent: nil)
1841
- @date = date
1842
- @ip = ip
1843
- @user_agent = user_agent
1844
- end
1845
- end
1846
-
1847
- class ChargeCard < ::Stripe::RequestParams
1848
- class BankTerms < ::Stripe::RequestParams
1849
- # The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
1850
- attr_accessor :date
1851
- # The IP address from which the Account's representative accepted the terms of service.
1852
- attr_accessor :ip
1853
- # The user agent of the browser from which the Account's representative accepted the terms of service.
1854
- attr_accessor :user_agent
1855
-
1856
- def initialize(date: nil, ip: nil, user_agent: nil)
1857
- @date = date
1858
- @ip = ip
1859
- @user_agent = user_agent
1860
- end
1861
- end
1862
-
1863
- class FinancingDisclosures < ::Stripe::RequestParams
1864
- # The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
1865
- attr_accessor :date
1866
- # The IP address from which the Account's representative accepted the terms of service.
1867
- attr_accessor :ip
1868
- # The user agent of the browser from which the Account's representative accepted the terms of service.
1869
- attr_accessor :user_agent
1870
-
1871
- def initialize(date: nil, ip: nil, user_agent: nil)
1872
- @date = date
1873
- @ip = ip
1874
- @user_agent = user_agent
1875
- end
1876
- end
1877
-
1878
- class Platform < ::Stripe::RequestParams
1879
- # The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
1880
- attr_accessor :date
1881
- # The IP address from which the Account's representative accepted the terms of service.
1882
- attr_accessor :ip
1883
- # The user agent of the browser from which the Account's representative accepted the terms of service.
1884
- attr_accessor :user_agent
1885
-
1886
- def initialize(date: nil, ip: nil, user_agent: nil)
1887
- @date = date
1888
- @ip = ip
1889
- @user_agent = user_agent
1890
- end
1891
- end
1892
- # Bank terms of service acceptance for commercial issuing charge cards with Cross River Bank as BIN sponsor.
1893
- attr_accessor :bank_terms
1894
- # Financial disclosures terms of service acceptance for commercial issuing charge cards with Cross River Bank as BIN sponsor.
1895
- attr_accessor :financing_disclosures
1896
- # Platform terms of service acceptance for commercial issuing charge cards with Cross River Bank as BIN sponsor.
1897
- attr_accessor :platform
1898
-
1899
- def initialize(bank_terms: nil, financing_disclosures: nil, platform: nil)
1900
- @bank_terms = bank_terms
1901
- @financing_disclosures = financing_disclosures
1902
- @platform = platform
1903
- end
1904
- end
1905
-
1906
- class SpendCard < ::Stripe::RequestParams
1907
- class BankTerms < ::Stripe::RequestParams
1908
- # The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
1909
- attr_accessor :date
1910
- # The IP address from which the Account's representative accepted the terms of service.
1911
- attr_accessor :ip
1912
- # The user agent of the browser from which the Account's representative accepted the terms of service.
1913
- attr_accessor :user_agent
1914
-
1915
- def initialize(date: nil, ip: nil, user_agent: nil)
1916
- @date = date
1917
- @ip = ip
1918
- @user_agent = user_agent
1919
- end
1920
- end
1921
-
1922
- class FinancingDisclosures < ::Stripe::RequestParams
1923
- # The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
1924
- attr_accessor :date
1925
- # The IP address from which the Account's representative accepted the terms of service.
1926
- attr_accessor :ip
1927
- # The user agent of the browser from which the Account's representative accepted the terms of service.
1928
- attr_accessor :user_agent
1929
-
1930
- def initialize(date: nil, ip: nil, user_agent: nil)
1931
- @date = date
1932
- @ip = ip
1933
- @user_agent = user_agent
1934
- end
1935
- end
1936
- # Bank terms of service acceptance for commercial issuing spend cards with Cross River Bank as BIN sponsor.
1937
- attr_accessor :bank_terms
1938
- # Financial disclosures terms of service acceptance for commercial issuing spend cards with Cross River Bank as BIN sponsor.
1939
- attr_accessor :financing_disclosures
1940
-
1941
- def initialize(bank_terms: nil, financing_disclosures: nil)
1942
- @bank_terms = bank_terms
1943
- @financing_disclosures = financing_disclosures
1944
- end
1945
- end
1946
- # Terms of service acceptances for commercial issuing Apple Pay cards with Cross River Bank as BIN sponsor.
1947
- attr_accessor :apple_pay
1948
- # Terms of service acceptances for commercial issuing charge cards with Cross River Bank as BIN sponsor.
1949
- attr_accessor :charge_card
1950
- # Terms of service acceptances for commercial issuing spend cards with Cross River Bank as BIN sponsor.
1951
- attr_accessor :spend_card
1952
-
1953
- def initialize(apple_pay: nil, charge_card: nil, spend_card: nil)
1954
- @apple_pay = apple_pay
1955
- @charge_card = charge_card
1956
- @spend_card = spend_card
1957
- end
1958
- end
1959
-
1960
- class GlobalAccountHolder < ::Stripe::RequestParams
1961
- # The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
1962
- attr_accessor :date
1963
- # The IP address from which the Account's representative accepted the terms of service.
1964
- attr_accessor :ip
1965
- # The user agent of the browser from which the Account's representative accepted the terms of service.
1966
- attr_accessor :user_agent
1967
-
1968
- def initialize(date: nil, ip: nil, user_agent: nil)
1969
- @date = date
1970
- @ip = ip
1971
- @user_agent = user_agent
1972
- end
1973
- end
1974
-
1975
- class Lead < ::Stripe::RequestParams
1976
- class ApplePay < ::Stripe::RequestParams
1977
- # The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
1978
- attr_accessor :date
1979
- # The IP address from which the Account's representative accepted the terms of service.
1980
- attr_accessor :ip
1981
- # The user agent of the browser from which the Account's representative accepted the terms of service.
1982
- attr_accessor :user_agent
1983
-
1984
- def initialize(date: nil, ip: nil, user_agent: nil)
1985
- @date = date
1986
- @ip = ip
1987
- @user_agent = user_agent
1988
- end
1989
- end
1990
-
1991
- class PrepaidCard < ::Stripe::RequestParams
1992
- class BankTerms < ::Stripe::RequestParams
1993
- # The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
1994
- attr_accessor :date
1995
- # The IP address from which the Account's representative accepted the terms of service.
1996
- attr_accessor :ip
1997
- # The user agent of the browser from which the Account's representative accepted the terms of service.
1998
- attr_accessor :user_agent
1999
-
2000
- def initialize(date: nil, ip: nil, user_agent: nil)
2001
- @date = date
2002
- @ip = ip
2003
- @user_agent = user_agent
2004
- end
2005
- end
2006
-
2007
- class Platform < ::Stripe::RequestParams
2008
- # The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
2009
- attr_accessor :date
2010
- # The IP address from which the Account's representative accepted the terms of service.
2011
- attr_accessor :ip
2012
- # The user agent of the browser from which the Account's representative accepted the terms of service.
2013
- attr_accessor :user_agent
2014
-
2015
- def initialize(date: nil, ip: nil, user_agent: nil)
2016
- @date = date
2017
- @ip = ip
2018
- @user_agent = user_agent
2019
- end
2020
- end
2021
- # Bank terms of service acceptance for commercial issuing prepaid cards with Lead as BIN sponsor.
2022
- attr_accessor :bank_terms
2023
- # Platform terms of service acceptance for commercial issuing prepaid cards with Lead as BIN sponsor.
2024
- attr_accessor :platform
2025
-
2026
- def initialize(bank_terms: nil, platform: nil)
2027
- @bank_terms = bank_terms
2028
- @platform = platform
2029
- end
2030
- end
2031
- # Terms of service acceptances for commercial issuing Apple Pay cards with Lead as BIN sponsor.
2032
- attr_accessor :apple_pay
2033
- # Terms of service acceptances for commercial issuing prepaid cards with Lead as BIN sponsor.
2034
- attr_accessor :prepaid_card
2035
-
2036
- def initialize(apple_pay: nil, prepaid_card: nil)
2037
- @apple_pay = apple_pay
2038
- @prepaid_card = prepaid_card
2039
- end
2040
- end
2041
- # Terms of service acceptances for Stripe commercial card issuing.
2042
- attr_accessor :account_holder
2043
- # Terms of service acceptances for commercial issuing cards with Celtic as BIN sponsor.
2044
- attr_accessor :celtic
2045
- # Terms of service acceptances for commercial issuing cards with Cross River Bank as BIN sponsor.
2046
- attr_accessor :cross_river_bank
2047
- # Terms of service acceptances for Stripe commercial card Global issuing.
2048
- attr_accessor :global_account_holder
2049
- # Terms of service acceptances for commercial issuing cards with Lead as BIN sponsor.
2050
- attr_accessor :lead
2051
-
2052
- def initialize(
2053
- account_holder: nil,
2054
- celtic: nil,
2055
- cross_river_bank: nil,
2056
- global_account_holder: nil,
2057
- lead: nil
2058
- )
2059
- @account_holder = account_holder
2060
- @celtic = celtic
2061
- @cross_river_bank = cross_river_bank
2062
- @global_account_holder = global_account_holder
2063
- @lead = lead
2064
- end
2065
- end
2066
- # Terms of service acceptances to create cards for commercial issuing use cases.
2067
- attr_accessor :commercial
2068
-
2069
- def initialize(commercial: nil)
2070
- @commercial = commercial
2071
- end
2072
- end
2073
-
2074
1400
  class CryptoStorer < ::Stripe::RequestParams
2075
1401
  # The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
2076
1402
  attr_accessor :date
@@ -2102,16 +1428,13 @@ module Stripe
2102
1428
  end
2103
1429
  # Details on the Account's acceptance of the [Stripe Services Agreement](https://docs.stripe.com/connect/updating-accounts#tos-acceptance).
2104
1430
  attr_accessor :account
2105
- # Details on the Account's acceptance of Issuing-specific terms of service.
2106
- attr_accessor :card_creator
2107
1431
  # Details on the Account's acceptance of Crypto-storer-specific terms of service.
2108
1432
  attr_accessor :crypto_storer
2109
1433
  # Details on the Account's acceptance of Treasury-specific terms of service.
2110
1434
  attr_accessor :storer
2111
1435
 
2112
- def initialize(account: nil, card_creator: nil, crypto_storer: nil, storer: nil)
1436
+ def initialize(account: nil, crypto_storer: nil, storer: nil)
2113
1437
  @account = account
2114
- @card_creator = card_creator
2115
1438
  @crypto_storer = crypto_storer
2116
1439
  @storer = storer
2117
1440
  end
@@ -2179,17 +1502,6 @@ module Stripe
2179
1502
  end
2180
1503
 
2181
1504
  class AnnualRevenue < ::Stripe::RequestParams
2182
- class Amount < ::Stripe::RequestParams
2183
- # A non-negative integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units).
2184
- attr_accessor :value
2185
- # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
2186
- attr_accessor :currency
2187
-
2188
- def initialize(value: nil, currency: nil)
2189
- @value = value
2190
- @currency = currency
2191
- end
2192
- end
2193
1505
  # A non-negative integer representing the amount in the smallest currency unit.
2194
1506
  attr_accessor :amount
2195
1507
  # The close-out date of the preceding fiscal year in ISO 8601 format. E.g. 2023-12-31 for the 31st of December, 2023.
@@ -2394,17 +1706,6 @@ module Stripe
2394
1706
  end
2395
1707
 
2396
1708
  class MonthlyEstimatedRevenue < ::Stripe::RequestParams
2397
- class Amount < ::Stripe::RequestParams
2398
- # A non-negative integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units).
2399
- attr_accessor :value
2400
- # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
2401
- attr_accessor :currency
2402
-
2403
- def initialize(value: nil, currency: nil)
2404
- @value = value
2405
- @currency = currency
2406
- end
2407
- end
2408
1709
  # A non-negative integer representing the amount in the smallest currency unit.
2409
1710
  attr_accessor :amount
2410
1711
 
@@ -2526,8 +1827,6 @@ module Stripe
2526
1827
  attr_accessor :address
2527
1828
  # The business gross annual revenue for its preceding fiscal year.
2528
1829
  attr_accessor :annual_revenue
2529
- # A detailed description of the business's compliance and anti-money laundering controls and practices.
2530
- attr_accessor :compliance_screening_description
2531
1830
  # A document verifying the business.
2532
1831
  attr_accessor :documents
2533
1832
  # An estimated upper bound of employees, contractors, vendors, etc. currently working for the business.
@@ -2550,7 +1849,6 @@ module Stripe
2550
1849
  def initialize(
2551
1850
  address: nil,
2552
1851
  annual_revenue: nil,
2553
- compliance_screening_description: nil,
2554
1852
  documents: nil,
2555
1853
  estimated_worker_count: nil,
2556
1854
  id_numbers: nil,
@@ -2563,7 +1861,6 @@ module Stripe
2563
1861
  )
2564
1862
  @address = address
2565
1863
  @annual_revenue = annual_revenue
2566
- @compliance_screening_description = compliance_screening_description
2567
1864
  @documents = documents
2568
1865
  @estimated_worker_count = estimated_worker_count
2569
1866
  @id_numbers = id_numbers