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,143 +6,6 @@ module Stripe
6
6
  module Core
7
7
  class AccountCreateParams < ::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 Stripe 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
- # Capabilities to request on the CardCreator Configuration.
139
- attr_accessor :capabilities
140
-
141
- def initialize(capabilities: nil)
142
- @capabilities = capabilities
143
- end
144
- end
145
-
146
9
  class Customer < ::Stripe::RequestParams
147
10
  class AutomaticIndirectTax < ::Stripe::RequestParams
148
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”.
@@ -1144,15 +1007,6 @@ module Stripe
1144
1007
  end
1145
1008
  end
1146
1009
 
1147
- class CryptoWallets < ::Stripe::RequestParams
1148
- # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
1149
- attr_accessor :requested
1150
-
1151
- def initialize(requested: nil)
1152
- @requested = requested
1153
- end
1154
- end
1155
-
1156
1010
  class StripeBalance < ::Stripe::RequestParams
1157
1011
  class StripeTransfers < ::Stripe::RequestParams
1158
1012
  # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
@@ -1173,20 +1027,12 @@ module Stripe
1173
1027
  attr_accessor :bank_accounts
1174
1028
  # Capabilities that enable OutboundPayments to a card linked to this Account.
1175
1029
  attr_accessor :cards
1176
- # Capabilities that enable OutboundPayments to a crypto wallet linked to this Account.
1177
- attr_accessor :crypto_wallets
1178
1030
  # Capabilities that enable the recipient to manage their Stripe Balance (/v1/balance).
1179
1031
  attr_accessor :stripe_balance
1180
1032
 
1181
- def initialize(
1182
- bank_accounts: nil,
1183
- cards: nil,
1184
- crypto_wallets: nil,
1185
- stripe_balance: nil
1186
- )
1033
+ def initialize(bank_accounts: nil, cards: nil, stripe_balance: nil)
1187
1034
  @bank_accounts = bank_accounts
1188
1035
  @cards = cards
1189
- @crypto_wallets = crypto_wallets
1190
1036
  @stripe_balance = stripe_balance
1191
1037
  end
1192
1038
  end
@@ -1209,23 +1055,11 @@ module Stripe
1209
1055
  @requested = requested
1210
1056
  end
1211
1057
  end
1212
-
1213
- class CryptoWallets < ::Stripe::RequestParams
1214
- # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
1215
- attr_accessor :requested
1216
-
1217
- def initialize(requested: nil)
1218
- @requested = requested
1219
- end
1220
- end
1221
1058
  # Can provision a bank-account-like financial address (VBAN) to credit/debit a FinancialAccount.
1222
1059
  attr_accessor :bank_accounts
1223
- # Can provision a crypto wallet like financial address to credit a FinancialAccount.
1224
- attr_accessor :crypto_wallets
1225
1060
 
1226
- def initialize(bank_accounts: nil, crypto_wallets: nil)
1061
+ def initialize(bank_accounts: nil)
1227
1062
  @bank_accounts = bank_accounts
1228
- @crypto_wallets = crypto_wallets
1229
1063
  end
1230
1064
  end
1231
1065
 
@@ -1256,29 +1090,17 @@ module Stripe
1256
1090
  @requested = requested
1257
1091
  end
1258
1092
  end
1259
-
1260
- class Usdc < ::Stripe::RequestParams
1261
- # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
1262
- attr_accessor :requested
1263
-
1264
- def initialize(requested: nil)
1265
- @requested = requested
1266
- end
1267
- end
1268
1093
  # Can hold storage-type funds on Stripe in EUR.
1269
1094
  attr_accessor :eur
1270
1095
  # Can hold storage-type funds on Stripe in GBP.
1271
1096
  attr_accessor :gbp
1272
1097
  # Can hold storage-type funds on Stripe in USD.
1273
1098
  attr_accessor :usd
1274
- # Can hold storage-type funds on Stripe in USDC.
1275
- attr_accessor :usdc
1276
1099
 
1277
- def initialize(eur: nil, gbp: nil, usd: nil, usdc: nil)
1100
+ def initialize(eur: nil, gbp: nil, usd: nil)
1278
1101
  @eur = eur
1279
1102
  @gbp = gbp
1280
1103
  @usd = usd
1281
- @usdc = usdc
1282
1104
  end
1283
1105
  end
1284
1106
 
@@ -1318,15 +1140,6 @@ module Stripe
1318
1140
  end
1319
1141
  end
1320
1142
 
1321
- class CryptoWallets < ::Stripe::RequestParams
1322
- # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
1323
- attr_accessor :requested
1324
-
1325
- def initialize(requested: nil)
1326
- @requested = requested
1327
- end
1328
- end
1329
-
1330
1143
  class FinancialAccounts < ::Stripe::RequestParams
1331
1144
  # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
1332
1145
  attr_accessor :requested
@@ -1339,20 +1152,12 @@ module Stripe
1339
1152
  attr_accessor :bank_accounts
1340
1153
  # Can send funds from a FinancialAccount to a debit card owned by someone else.
1341
1154
  attr_accessor :cards
1342
- # Can send funds from a FinancialAccount to a crypto wallet owned by someone else.
1343
- attr_accessor :crypto_wallets
1344
1155
  # Can send funds from a FinancialAccount to another FinancialAccount owned by someone else.
1345
1156
  attr_accessor :financial_accounts
1346
1157
 
1347
- def initialize(
1348
- bank_accounts: nil,
1349
- cards: nil,
1350
- crypto_wallets: nil,
1351
- financial_accounts: nil
1352
- )
1158
+ def initialize(bank_accounts: nil, cards: nil, financial_accounts: nil)
1353
1159
  @bank_accounts = bank_accounts
1354
1160
  @cards = cards
1355
- @crypto_wallets = crypto_wallets
1356
1161
  @financial_accounts = financial_accounts
1357
1162
  end
1358
1163
  end
@@ -1367,15 +1172,6 @@ module Stripe
1367
1172
  end
1368
1173
  end
1369
1174
 
1370
- class CryptoWallets < ::Stripe::RequestParams
1371
- # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
1372
- attr_accessor :requested
1373
-
1374
- def initialize(requested: nil)
1375
- @requested = requested
1376
- end
1377
- end
1378
-
1379
1175
  class FinancialAccounts < ::Stripe::RequestParams
1380
1176
  # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
1381
1177
  attr_accessor :requested
@@ -1386,14 +1182,11 @@ module Stripe
1386
1182
  end
1387
1183
  # Can send funds from a FinancialAccount to a bank account owned by yourself.
1388
1184
  attr_accessor :bank_accounts
1389
- # Can send funds from a FinancialAccount to a crypto wallet owned by yourself.
1390
- attr_accessor :crypto_wallets
1391
1185
  # Can send funds from a FinancialAccount to another FinancialAccount owned by yourself.
1392
1186
  attr_accessor :financial_accounts
1393
1187
 
1394
- def initialize(bank_accounts: nil, crypto_wallets: nil, financial_accounts: nil)
1188
+ def initialize(bank_accounts: nil, financial_accounts: nil)
1395
1189
  @bank_accounts = bank_accounts
1396
- @crypto_wallets = crypto_wallets
1397
1190
  @financial_accounts = financial_accounts
1398
1191
  end
1399
1192
  end
@@ -1422,80 +1215,13 @@ module Stripe
1422
1215
  @outbound_transfers = outbound_transfers
1423
1216
  end
1424
1217
  end
1425
-
1426
- class RegulatedActivity < ::Stripe::RequestParams
1427
- # A detailed description of the regulated activities the business is licensed to conduct.
1428
- attr_accessor :description
1429
- # The license number or registration number assigned by the business's primary regulator.
1430
- attr_accessor :license_number
1431
- # The country of the primary regulatory authority that oversees the business's regulated activities.
1432
- attr_accessor :primary_regulatory_authority_country
1433
- # The name of the primary regulatory authority that oversees the business's regulated activities.
1434
- attr_accessor :primary_regulatory_authority_name
1435
-
1436
- def initialize(
1437
- description: nil,
1438
- license_number: nil,
1439
- primary_regulatory_authority_country: nil,
1440
- primary_regulatory_authority_name: nil
1441
- )
1442
- @description = description
1443
- @license_number = license_number
1444
- @primary_regulatory_authority_country = primary_regulatory_authority_country
1445
- @primary_regulatory_authority_name = primary_regulatory_authority_name
1446
- end
1447
- end
1448
1218
  # Capabilities to request on the Storer Configuration.
1449
1219
  attr_accessor :capabilities
1450
- # List of high-risk activities the business is involved in.
1451
- attr_accessor :high_risk_activities
1452
- # An explanation of the high risk activities that the business performs.
1453
- attr_accessor :high_risk_activities_description
1454
- # Description of the money services offered by the business.
1455
- attr_accessor :money_services_description
1456
- # Does the business operate in any prohibited countries.
1457
- attr_accessor :operates_in_prohibited_countries
1458
- # Does the business participate in any regulated activity.
1459
- attr_accessor :participates_in_regulated_activity
1460
- # Primary purpose of the stored funds.
1461
- attr_accessor :purpose_of_funds
1462
- # Description of the purpose of the stored funds.
1463
- attr_accessor :purpose_of_funds_description
1464
- # Details of the regulated activity if the business participates in one.
1465
- attr_accessor :regulated_activity
1466
- # The source of funds for the business, e.g. profits, income, venture capital, etc.
1467
- attr_accessor :source_of_funds
1468
- # Description of the source of funds for the business' account.
1469
- attr_accessor :source_of_funds_description
1470
1220
 
1471
- def initialize(
1472
- capabilities: nil,
1473
- high_risk_activities: nil,
1474
- high_risk_activities_description: nil,
1475
- money_services_description: nil,
1476
- operates_in_prohibited_countries: nil,
1477
- participates_in_regulated_activity: nil,
1478
- purpose_of_funds: nil,
1479
- purpose_of_funds_description: nil,
1480
- regulated_activity: nil,
1481
- source_of_funds: nil,
1482
- source_of_funds_description: nil
1483
- )
1221
+ def initialize(capabilities: nil)
1484
1222
  @capabilities = capabilities
1485
- @high_risk_activities = high_risk_activities
1486
- @high_risk_activities_description = high_risk_activities_description
1487
- @money_services_description = money_services_description
1488
- @operates_in_prohibited_countries = operates_in_prohibited_countries
1489
- @participates_in_regulated_activity = participates_in_regulated_activity
1490
- @purpose_of_funds = purpose_of_funds
1491
- @purpose_of_funds_description = purpose_of_funds_description
1492
- @regulated_activity = regulated_activity
1493
- @source_of_funds = source_of_funds
1494
- @source_of_funds_description = source_of_funds_description
1495
1223
  end
1496
1224
  end
1497
- # The CardCreator Configuration allows the Account to create and issue cards to users.
1498
- attr_accessor :card_creator
1499
1225
  # The Customer Configuration allows the Account to be used in inbound payment flows.
1500
1226
  attr_accessor :customer
1501
1227
  # 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.
@@ -1505,14 +1231,7 @@ module Stripe
1505
1231
  # The Storer Configuration allows the Account to store and move funds using stored-value FinancialAccounts.
1506
1232
  attr_accessor :storer
1507
1233
 
1508
- def initialize(
1509
- card_creator: nil,
1510
- customer: nil,
1511
- merchant: nil,
1512
- recipient: nil,
1513
- storer: nil
1514
- )
1515
- @card_creator = card_creator
1234
+ def initialize(customer: nil, merchant: nil, recipient: nil, storer: nil)
1516
1235
  @customer = customer
1517
1236
  @merchant = merchant
1518
1237
  @recipient = recipient
@@ -1650,410 +1369,6 @@ module Stripe
1650
1369
  end
1651
1370
  end
1652
1371
 
1653
- class CardCreator < ::Stripe::RequestParams
1654
- class Commercial < ::Stripe::RequestParams
1655
- class AccountHolder < ::Stripe::RequestParams
1656
- # 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.
1657
- attr_accessor :date
1658
- # The IP address from which the Account's representative accepted the terms of service.
1659
- attr_accessor :ip
1660
- # The user agent of the browser from which the Account's representative accepted the terms of service.
1661
- attr_accessor :user_agent
1662
-
1663
- def initialize(date: nil, ip: nil, user_agent: nil)
1664
- @date = date
1665
- @ip = ip
1666
- @user_agent = user_agent
1667
- end
1668
- end
1669
-
1670
- class Celtic < ::Stripe::RequestParams
1671
- class ApplePay < ::Stripe::RequestParams
1672
- # 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.
1673
- attr_accessor :date
1674
- # The IP address from which the Account's representative accepted the terms of service.
1675
- attr_accessor :ip
1676
- # The user agent of the browser from which the Account's representative accepted the terms of service.
1677
- attr_accessor :user_agent
1678
-
1679
- def initialize(date: nil, ip: nil, user_agent: nil)
1680
- @date = date
1681
- @ip = ip
1682
- @user_agent = user_agent
1683
- end
1684
- end
1685
-
1686
- class ChargeCard < ::Stripe::RequestParams
1687
- class BankTerms < ::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 Platform < ::Stripe::RequestParams
1703
- # 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.
1704
- attr_accessor :date
1705
- # The IP address from which the Account's representative accepted the terms of service.
1706
- attr_accessor :ip
1707
- # The user agent of the browser from which the Account's representative accepted the terms of service.
1708
- attr_accessor :user_agent
1709
-
1710
- def initialize(date: nil, ip: nil, user_agent: nil)
1711
- @date = date
1712
- @ip = ip
1713
- @user_agent = user_agent
1714
- end
1715
- end
1716
- # Bank terms of service acceptance for commercial issuing charge cards with Celtic as BIN sponsor.
1717
- attr_accessor :bank_terms
1718
- # Platform terms of service acceptance for commercial issuing charge cards with Celtic as BIN sponsor.
1719
- attr_accessor :platform
1720
-
1721
- def initialize(bank_terms: nil, platform: nil)
1722
- @bank_terms = bank_terms
1723
- @platform = platform
1724
- end
1725
- end
1726
-
1727
- class SpendCard < ::Stripe::RequestParams
1728
- class BankTerms < ::Stripe::RequestParams
1729
- # 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.
1730
- attr_accessor :date
1731
- # The IP address from which the Account's representative accepted the terms of service.
1732
- attr_accessor :ip
1733
- # The user agent of the browser from which the Account's representative accepted the terms of service.
1734
- attr_accessor :user_agent
1735
-
1736
- def initialize(date: nil, ip: nil, user_agent: nil)
1737
- @date = date
1738
- @ip = ip
1739
- @user_agent = user_agent
1740
- end
1741
- end
1742
-
1743
- class FinancingDisclosures < ::Stripe::RequestParams
1744
- # 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.
1745
- attr_accessor :date
1746
- # The IP address from which the Account's representative accepted the terms of service.
1747
- attr_accessor :ip
1748
- # The user agent of the browser from which the Account's representative accepted the terms of service.
1749
- attr_accessor :user_agent
1750
-
1751
- def initialize(date: nil, ip: nil, user_agent: nil)
1752
- @date = date
1753
- @ip = ip
1754
- @user_agent = user_agent
1755
- end
1756
- end
1757
-
1758
- class Platform < ::Stripe::RequestParams
1759
- # 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.
1760
- attr_accessor :date
1761
- # The IP address from which the Account's representative accepted the terms of service.
1762
- attr_accessor :ip
1763
- # The user agent of the browser from which the Account's representative accepted the terms of service.
1764
- attr_accessor :user_agent
1765
-
1766
- def initialize(date: nil, ip: nil, user_agent: nil)
1767
- @date = date
1768
- @ip = ip
1769
- @user_agent = user_agent
1770
- end
1771
- end
1772
- # Bank terms of service acceptance for commercial issuing spend cards with Celtic as BIN sponsor.
1773
- attr_accessor :bank_terms
1774
- # Financial disclosures terms of service acceptance for commercial issuing spend cards with Celtic as BIN sponsor.
1775
- attr_accessor :financing_disclosures
1776
- # Platform terms of service acceptance for commercial issuing spend cards with Celtic as BIN sponsor.
1777
- attr_accessor :platform
1778
-
1779
- def initialize(bank_terms: nil, financing_disclosures: nil, platform: nil)
1780
- @bank_terms = bank_terms
1781
- @financing_disclosures = financing_disclosures
1782
- @platform = platform
1783
- end
1784
- end
1785
- # Terms of service acceptances for commercial issuing Apple Pay cards with Celtic as BIN sponsor.
1786
- attr_accessor :apple_pay
1787
- # Terms of service acceptances for commercial issuing charge cards with Celtic as BIN sponsor.
1788
- attr_accessor :charge_card
1789
- # Terms of service acceptances for commercial issuing spend cards with Celtic as BIN sponsor.
1790
- attr_accessor :spend_card
1791
-
1792
- def initialize(apple_pay: nil, charge_card: nil, spend_card: nil)
1793
- @apple_pay = apple_pay
1794
- @charge_card = charge_card
1795
- @spend_card = spend_card
1796
- end
1797
- end
1798
-
1799
- class CrossRiverBank < ::Stripe::RequestParams
1800
- class ApplePay < ::Stripe::RequestParams
1801
- # 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.
1802
- attr_accessor :date
1803
- # The IP address from which the Account's representative accepted the terms of service.
1804
- attr_accessor :ip
1805
- # The user agent of the browser from which the Account's representative accepted the terms of service.
1806
- attr_accessor :user_agent
1807
-
1808
- def initialize(date: nil, ip: nil, user_agent: nil)
1809
- @date = date
1810
- @ip = ip
1811
- @user_agent = user_agent
1812
- end
1813
- end
1814
-
1815
- class ChargeCard < ::Stripe::RequestParams
1816
- class BankTerms < ::Stripe::RequestParams
1817
- # 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.
1818
- attr_accessor :date
1819
- # The IP address from which the Account's representative accepted the terms of service.
1820
- attr_accessor :ip
1821
- # The user agent of the browser from which the Account's representative accepted the terms of service.
1822
- attr_accessor :user_agent
1823
-
1824
- def initialize(date: nil, ip: nil, user_agent: nil)
1825
- @date = date
1826
- @ip = ip
1827
- @user_agent = user_agent
1828
- end
1829
- end
1830
-
1831
- class FinancingDisclosures < ::Stripe::RequestParams
1832
- # 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.
1833
- attr_accessor :date
1834
- # The IP address from which the Account's representative accepted the terms of service.
1835
- attr_accessor :ip
1836
- # The user agent of the browser from which the Account's representative accepted the terms of service.
1837
- attr_accessor :user_agent
1838
-
1839
- def initialize(date: nil, ip: nil, user_agent: nil)
1840
- @date = date
1841
- @ip = ip
1842
- @user_agent = user_agent
1843
- end
1844
- end
1845
-
1846
- class Platform < ::Stripe::RequestParams
1847
- # 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.
1848
- attr_accessor :date
1849
- # The IP address from which the Account's representative accepted the terms of service.
1850
- attr_accessor :ip
1851
- # The user agent of the browser from which the Account's representative accepted the terms of service.
1852
- attr_accessor :user_agent
1853
-
1854
- def initialize(date: nil, ip: nil, user_agent: nil)
1855
- @date = date
1856
- @ip = ip
1857
- @user_agent = user_agent
1858
- end
1859
- end
1860
- # Bank terms of service acceptance for commercial issuing charge cards with Cross River Bank as BIN sponsor.
1861
- attr_accessor :bank_terms
1862
- # Financial disclosures terms of service acceptance for commercial issuing charge cards with Cross River Bank as BIN sponsor.
1863
- attr_accessor :financing_disclosures
1864
- # Platform terms of service acceptance for commercial issuing charge cards with Cross River Bank as BIN sponsor.
1865
- attr_accessor :platform
1866
-
1867
- def initialize(bank_terms: nil, financing_disclosures: nil, platform: nil)
1868
- @bank_terms = bank_terms
1869
- @financing_disclosures = financing_disclosures
1870
- @platform = platform
1871
- end
1872
- end
1873
-
1874
- class SpendCard < ::Stripe::RequestParams
1875
- class BankTerms < ::Stripe::RequestParams
1876
- # 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.
1877
- attr_accessor :date
1878
- # The IP address from which the Account's representative accepted the terms of service.
1879
- attr_accessor :ip
1880
- # The user agent of the browser from which the Account's representative accepted the terms of service.
1881
- attr_accessor :user_agent
1882
-
1883
- def initialize(date: nil, ip: nil, user_agent: nil)
1884
- @date = date
1885
- @ip = ip
1886
- @user_agent = user_agent
1887
- end
1888
- end
1889
-
1890
- class FinancingDisclosures < ::Stripe::RequestParams
1891
- # 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.
1892
- attr_accessor :date
1893
- # The IP address from which the Account's representative accepted the terms of service.
1894
- attr_accessor :ip
1895
- # The user agent of the browser from which the Account's representative accepted the terms of service.
1896
- attr_accessor :user_agent
1897
-
1898
- def initialize(date: nil, ip: nil, user_agent: nil)
1899
- @date = date
1900
- @ip = ip
1901
- @user_agent = user_agent
1902
- end
1903
- end
1904
- # Bank terms of service acceptance for commercial issuing spend cards with Cross River Bank as BIN sponsor.
1905
- attr_accessor :bank_terms
1906
- # Financial disclosures terms of service acceptance for commercial issuing spend cards with Cross River Bank as BIN sponsor.
1907
- attr_accessor :financing_disclosures
1908
-
1909
- def initialize(bank_terms: nil, financing_disclosures: nil)
1910
- @bank_terms = bank_terms
1911
- @financing_disclosures = financing_disclosures
1912
- end
1913
- end
1914
- # Terms of service acceptances for commercial issuing Apple Pay cards with Cross River Bank as BIN sponsor.
1915
- attr_accessor :apple_pay
1916
- # Terms of service acceptances for commercial issuing charge cards with Cross River Bank as BIN sponsor.
1917
- attr_accessor :charge_card
1918
- # Terms of service acceptances for commercial issuing spend cards with Cross River Bank as BIN sponsor.
1919
- attr_accessor :spend_card
1920
-
1921
- def initialize(apple_pay: nil, charge_card: nil, spend_card: nil)
1922
- @apple_pay = apple_pay
1923
- @charge_card = charge_card
1924
- @spend_card = spend_card
1925
- end
1926
- end
1927
-
1928
- class GlobalAccountHolder < ::Stripe::RequestParams
1929
- # 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.
1930
- attr_accessor :date
1931
- # The IP address from which the Account's representative accepted the terms of service.
1932
- attr_accessor :ip
1933
- # The user agent of the browser from which the Account's representative accepted the terms of service.
1934
- attr_accessor :user_agent
1935
-
1936
- def initialize(date: nil, ip: nil, user_agent: nil)
1937
- @date = date
1938
- @ip = ip
1939
- @user_agent = user_agent
1940
- end
1941
- end
1942
-
1943
- class Lead < ::Stripe::RequestParams
1944
- class ApplePay < ::Stripe::RequestParams
1945
- # 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.
1946
- attr_accessor :date
1947
- # The IP address from which the Account's representative accepted the terms of service.
1948
- attr_accessor :ip
1949
- # The user agent of the browser from which the Account's representative accepted the terms of service.
1950
- attr_accessor :user_agent
1951
-
1952
- def initialize(date: nil, ip: nil, user_agent: nil)
1953
- @date = date
1954
- @ip = ip
1955
- @user_agent = user_agent
1956
- end
1957
- end
1958
-
1959
- class PrepaidCard < ::Stripe::RequestParams
1960
- class BankTerms < ::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 Platform < ::Stripe::RequestParams
1976
- # 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.
1977
- attr_accessor :date
1978
- # The IP address from which the Account's representative accepted the terms of service.
1979
- attr_accessor :ip
1980
- # The user agent of the browser from which the Account's representative accepted the terms of service.
1981
- attr_accessor :user_agent
1982
-
1983
- def initialize(date: nil, ip: nil, user_agent: nil)
1984
- @date = date
1985
- @ip = ip
1986
- @user_agent = user_agent
1987
- end
1988
- end
1989
- # Bank terms of service acceptance for commercial issuing prepaid cards with Lead as BIN sponsor.
1990
- attr_accessor :bank_terms
1991
- # Platform terms of service acceptance for commercial issuing prepaid cards with Lead as BIN sponsor.
1992
- attr_accessor :platform
1993
-
1994
- def initialize(bank_terms: nil, platform: nil)
1995
- @bank_terms = bank_terms
1996
- @platform = platform
1997
- end
1998
- end
1999
- # Terms of service acceptances for commercial issuing Apple Pay cards with Lead as BIN sponsor.
2000
- attr_accessor :apple_pay
2001
- # Terms of service acceptances for commercial issuing prepaid cards with Lead as BIN sponsor.
2002
- attr_accessor :prepaid_card
2003
-
2004
- def initialize(apple_pay: nil, prepaid_card: nil)
2005
- @apple_pay = apple_pay
2006
- @prepaid_card = prepaid_card
2007
- end
2008
- end
2009
- # Terms of service acceptances for Stripe commercial card issuing.
2010
- attr_accessor :account_holder
2011
- # Terms of service acceptances for commercial issuing cards with Celtic as BIN sponsor.
2012
- attr_accessor :celtic
2013
- # Terms of service acceptances for commercial issuing cards with Cross River Bank as BIN sponsor.
2014
- attr_accessor :cross_river_bank
2015
- # Terms of service acceptances for Stripe commercial card Global issuing.
2016
- attr_accessor :global_account_holder
2017
- # Terms of service acceptances for commercial issuing cards with Lead as BIN sponsor.
2018
- attr_accessor :lead
2019
-
2020
- def initialize(
2021
- account_holder: nil,
2022
- celtic: nil,
2023
- cross_river_bank: nil,
2024
- global_account_holder: nil,
2025
- lead: nil
2026
- )
2027
- @account_holder = account_holder
2028
- @celtic = celtic
2029
- @cross_river_bank = cross_river_bank
2030
- @global_account_holder = global_account_holder
2031
- @lead = lead
2032
- end
2033
- end
2034
- # Terms of service acceptances to create cards for commercial issuing use cases.
2035
- attr_accessor :commercial
2036
-
2037
- def initialize(commercial: nil)
2038
- @commercial = commercial
2039
- end
2040
- end
2041
-
2042
- class CryptoStorer < ::Stripe::RequestParams
2043
- # 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.
2044
- attr_accessor :date
2045
- # The IP address from which the Account's representative accepted the terms of service.
2046
- attr_accessor :ip
2047
- # The user agent of the browser from which the Account's representative accepted the terms of service.
2048
- attr_accessor :user_agent
2049
-
2050
- def initialize(date: nil, ip: nil, user_agent: nil)
2051
- @date = date
2052
- @ip = ip
2053
- @user_agent = user_agent
2054
- end
2055
- end
2056
-
2057
1372
  class Storer < ::Stripe::RequestParams
2058
1373
  # 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.
2059
1374
  attr_accessor :date
@@ -2070,17 +1385,11 @@ module Stripe
2070
1385
  end
2071
1386
  # Details on the Account's acceptance of the [Stripe Services Agreement](https://docs.stripe.com/connect/updating-accounts#tos-acceptance).
2072
1387
  attr_accessor :account
2073
- # Details on the Account's acceptance of Issuing-specific terms of service.
2074
- attr_accessor :card_creator
2075
- # Details on the Account's acceptance of Crypto-storer-specific terms of service.
2076
- attr_accessor :crypto_storer
2077
1388
  # Details on the Account's acceptance of Treasury-specific terms of service.
2078
1389
  attr_accessor :storer
2079
1390
 
2080
- def initialize(account: nil, card_creator: nil, crypto_storer: nil, storer: nil)
1391
+ def initialize(account: nil, storer: nil)
2081
1392
  @account = account
2082
- @card_creator = card_creator
2083
- @crypto_storer = crypto_storer
2084
1393
  @storer = storer
2085
1394
  end
2086
1395
  end
@@ -2147,17 +1456,6 @@ module Stripe
2147
1456
  end
2148
1457
 
2149
1458
  class AnnualRevenue < ::Stripe::RequestParams
2150
- class Amount < ::Stripe::RequestParams
2151
- # A non-negative integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units).
2152
- attr_accessor :value
2153
- # 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).
2154
- attr_accessor :currency
2155
-
2156
- def initialize(value: nil, currency: nil)
2157
- @value = value
2158
- @currency = currency
2159
- end
2160
- end
2161
1459
  # A non-negative integer representing the amount in the smallest currency unit.
2162
1460
  attr_accessor :amount
2163
1461
  # The close-out date of the preceding fiscal year in ISO 8601 format. E.g. 2023-12-31 for the 31st of December, 2023.
@@ -2362,17 +1660,6 @@ module Stripe
2362
1660
  end
2363
1661
 
2364
1662
  class MonthlyEstimatedRevenue < ::Stripe::RequestParams
2365
- class Amount < ::Stripe::RequestParams
2366
- # A non-negative integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units).
2367
- attr_accessor :value
2368
- # 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).
2369
- attr_accessor :currency
2370
-
2371
- def initialize(value: nil, currency: nil)
2372
- @value = value
2373
- @currency = currency
2374
- end
2375
- end
2376
1663
  # A non-negative integer representing the amount in the smallest currency unit.
2377
1664
  attr_accessor :amount
2378
1665
 
@@ -2494,8 +1781,6 @@ module Stripe
2494
1781
  attr_accessor :address
2495
1782
  # The business gross annual revenue for its preceding fiscal year.
2496
1783
  attr_accessor :annual_revenue
2497
- # A detailed description of the business's compliance and anti-money laundering controls and practices.
2498
- attr_accessor :compliance_screening_description
2499
1784
  # A document verifying the business.
2500
1785
  attr_accessor :documents
2501
1786
  # An estimated upper bound of employees, contractors, vendors, etc. currently working for the business.
@@ -2518,7 +1803,6 @@ module Stripe
2518
1803
  def initialize(
2519
1804
  address: nil,
2520
1805
  annual_revenue: nil,
2521
- compliance_screening_description: nil,
2522
1806
  documents: nil,
2523
1807
  estimated_worker_count: nil,
2524
1808
  id_numbers: nil,
@@ -2531,7 +1815,6 @@ module Stripe
2531
1815
  )
2532
1816
  @address = address
2533
1817
  @annual_revenue = annual_revenue
2534
- @compliance_screening_description = compliance_screening_description
2535
1818
  @documents = documents
2536
1819
  @estimated_worker_count = estimated_worker_count
2537
1820
  @id_numbers = id_numbers