stripe 18.5.0.pre.alpha.4 → 18.5.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 (596) hide show
  1. checksums.yaml +4 -4
  2. data/lib/stripe/api_requestor.rb +41 -34
  3. data/lib/stripe/api_version.rb +1 -1
  4. data/lib/stripe/event_types.rb +0 -383
  5. data/lib/stripe/events/v1_billing_meter_error_report_triggered_event.rb +2 -2
  6. data/lib/stripe/events/v2_core_account_closed_event.rb +2 -2
  7. data/lib/stripe/events/v2_core_account_created_event.rb +2 -2
  8. data/lib/stripe/events/v2_core_account_including_configuration_customer_capability_status_updated_event.rb +2 -2
  9. data/lib/stripe/events/v2_core_account_including_configuration_customer_updated_event.rb +2 -2
  10. data/lib/stripe/events/v2_core_account_including_configuration_merchant_capability_status_updated_event.rb +2 -2
  11. data/lib/stripe/events/v2_core_account_including_configuration_merchant_updated_event.rb +2 -2
  12. data/lib/stripe/events/v2_core_account_including_configuration_recipient_capability_status_updated_event.rb +2 -2
  13. data/lib/stripe/events/v2_core_account_including_configuration_recipient_updated_event.rb +2 -2
  14. data/lib/stripe/events/v2_core_account_including_configuration_storer_capability_status_updated_event.rb +2 -2
  15. data/lib/stripe/events/v2_core_account_including_configuration_storer_updated_event.rb +2 -2
  16. data/lib/stripe/events/v2_core_account_including_defaults_updated_event.rb +2 -2
  17. data/lib/stripe/events/v2_core_account_including_future_requirements_updated_event.rb +2 -2
  18. data/lib/stripe/events/v2_core_account_including_identity_updated_event.rb +2 -2
  19. data/lib/stripe/events/v2_core_account_including_requirements_updated_event.rb +2 -2
  20. data/lib/stripe/events/v2_core_account_person_created_event.rb +2 -2
  21. data/lib/stripe/events/v2_core_account_person_deleted_event.rb +2 -2
  22. data/lib/stripe/events/v2_core_account_person_updated_event.rb +2 -2
  23. data/lib/stripe/events/v2_core_account_updated_event.rb +2 -2
  24. data/lib/stripe/events/v2_core_event_destination_ping_event.rb +2 -2
  25. data/lib/stripe/events/v2_money_management_adjustment_created_event.rb +2 -2
  26. data/lib/stripe/events/v2_money_management_financial_account_created_event.rb +2 -2
  27. data/lib/stripe/events/v2_money_management_financial_account_updated_event.rb +2 -2
  28. data/lib/stripe/events/v2_money_management_financial_address_activated_event.rb +2 -2
  29. data/lib/stripe/events/v2_money_management_financial_address_failed_event.rb +2 -2
  30. data/lib/stripe/events/v2_money_management_inbound_transfer_available_event.rb +2 -2
  31. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_failed_event.rb +2 -2
  32. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_processing_event.rb +2 -2
  33. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_queued_event.rb +2 -2
  34. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_returned_event.rb +2 -2
  35. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_succeeded_event.rb +2 -2
  36. data/lib/stripe/events/v2_money_management_outbound_payment_canceled_event.rb +2 -2
  37. data/lib/stripe/events/v2_money_management_outbound_payment_created_event.rb +2 -2
  38. data/lib/stripe/events/v2_money_management_outbound_payment_failed_event.rb +2 -2
  39. data/lib/stripe/events/v2_money_management_outbound_payment_posted_event.rb +2 -2
  40. data/lib/stripe/events/v2_money_management_outbound_payment_returned_event.rb +2 -2
  41. data/lib/stripe/events/v2_money_management_outbound_payment_updated_event.rb +2 -2
  42. data/lib/stripe/events/v2_money_management_outbound_transfer_canceled_event.rb +2 -2
  43. data/lib/stripe/events/v2_money_management_outbound_transfer_created_event.rb +2 -2
  44. data/lib/stripe/events/v2_money_management_outbound_transfer_failed_event.rb +2 -2
  45. data/lib/stripe/events/v2_money_management_outbound_transfer_posted_event.rb +2 -2
  46. data/lib/stripe/events/v2_money_management_outbound_transfer_returned_event.rb +2 -2
  47. data/lib/stripe/events/v2_money_management_outbound_transfer_updated_event.rb +2 -2
  48. data/lib/stripe/events/v2_money_management_payout_method_created_event.rb +2 -2
  49. data/lib/stripe/events/v2_money_management_payout_method_updated_event.rb +2 -2
  50. data/lib/stripe/events/v2_money_management_received_credit_available_event.rb +2 -2
  51. data/lib/stripe/events/v2_money_management_received_credit_failed_event.rb +2 -2
  52. data/lib/stripe/events/v2_money_management_received_credit_returned_event.rb +2 -2
  53. data/lib/stripe/events/v2_money_management_received_credit_succeeded_event.rb +2 -2
  54. data/lib/stripe/events/v2_money_management_received_debit_canceled_event.rb +2 -2
  55. data/lib/stripe/events/v2_money_management_received_debit_failed_event.rb +2 -2
  56. data/lib/stripe/events/v2_money_management_received_debit_pending_event.rb +2 -2
  57. data/lib/stripe/events/v2_money_management_received_debit_succeeded_event.rb +2 -2
  58. data/lib/stripe/events/v2_money_management_received_debit_updated_event.rb +2 -2
  59. data/lib/stripe/events/v2_money_management_transaction_created_event.rb +2 -2
  60. data/lib/stripe/events/v2_money_management_transaction_updated_event.rb +2 -2
  61. data/lib/stripe/object_types.rb +0 -53
  62. data/lib/stripe/params/account_create_params.rb +0 -32
  63. data/lib/stripe/params/account_link_create_params.rb +1 -4
  64. data/lib/stripe/params/account_person_create_params.rb +0 -32
  65. data/lib/stripe/params/account_person_update_params.rb +0 -32
  66. data/lib/stripe/params/account_session_create_params.rb +1 -76
  67. data/lib/stripe/params/account_update_params.rb +0 -32
  68. data/lib/stripe/params/billing/alert_create_params.rb +1 -203
  69. data/lib/stripe/params/billing/alert_list_params.rb +0 -4
  70. data/lib/stripe/params/billing/analytics/meter_usage_retrieve_params.rb +1 -5
  71. data/lib/stripe/params/billing/credit_balance_summary_retrieve_params.rb +1 -13
  72. data/lib/stripe/params/billing/credit_grant_create_params.rb +2 -29
  73. data/lib/stripe/params/billing/meter_create_params.rb +0 -4
  74. data/lib/stripe/params/billing/meter_event_summary_list_params.rb +0 -8
  75. data/lib/stripe/params/checkout/session_create_params.rb +1 -103
  76. data/lib/stripe/params/checkout/session_update_params.rb +0 -15
  77. data/lib/stripe/params/coupon_create_params.rb +1 -31
  78. data/lib/stripe/params/dispute_update_params.rb +1 -5
  79. data/lib/stripe/params/financial_connections/session_create_params.rb +1 -18
  80. data/lib/stripe/params/identity/verification_report_list_params.rb +0 -4
  81. data/lib/stripe/params/invoice_add_lines_params.rb +0 -15
  82. data/lib/stripe/params/invoice_create_preview_params.rb +13 -565
  83. data/lib/stripe/params/invoice_line_item_update_params.rb +0 -15
  84. data/lib/stripe/params/invoice_list_params.rb +0 -4
  85. data/lib/stripe/params/invoice_update_lines_params.rb +0 -15
  86. data/lib/stripe/params/issuing/card_list_params.rb +1 -34
  87. data/lib/stripe/params/payment_intent_confirm_params.rb +3 -63
  88. data/lib/stripe/params/payment_intent_create_params.rb +3 -76
  89. data/lib/stripe/params/payment_intent_update_params.rb +3 -59
  90. data/lib/stripe/params/payment_link_create_params.rb +0 -15
  91. data/lib/stripe/params/payment_method_update_params.rb +0 -16
  92. data/lib/stripe/params/payment_record_report_payment_attempt_failed_params.rb +1 -4
  93. data/lib/stripe/params/payment_record_report_payment_attempt_params.rb +1 -4
  94. data/lib/stripe/params/payment_record_report_payment_params.rb +1 -4
  95. data/lib/stripe/params/plan_create_params.rb +0 -15
  96. data/lib/stripe/params/price_create_params.rb +0 -15
  97. data/lib/stripe/params/product_create_params.rb +0 -16
  98. data/lib/stripe/params/product_update_params.rb +0 -16
  99. data/lib/stripe/params/quote_create_params.rb +8 -424
  100. data/lib/stripe/params/quote_update_params.rb +8 -424
  101. data/lib/stripe/params/setup_intent_confirm_params.rb +0 -29
  102. data/lib/stripe/params/setup_intent_create_params.rb +0 -29
  103. data/lib/stripe/params/setup_intent_update_params.rb +1 -30
  104. data/lib/stripe/params/subscription_create_params.rb +3 -130
  105. data/lib/stripe/params/subscription_item_create_params.rb +1 -69
  106. data/lib/stripe/params/subscription_item_update_params.rb +1 -69
  107. data/lib/stripe/params/subscription_list_params.rb +0 -4
  108. data/lib/stripe/params/subscription_schedule_amend_params.rb +8 -243
  109. data/lib/stripe/params/subscription_schedule_create_params.rb +3 -175
  110. data/lib/stripe/params/subscription_schedule_update_params.rb +3 -175
  111. data/lib/stripe/params/subscription_update_params.rb +3 -130
  112. data/lib/stripe/params/tax/calculation_create_params.rb +0 -4
  113. data/lib/stripe/params/tax/registration_create_params.rb +1 -14
  114. data/lib/stripe/params/token_create_params.rb +0 -64
  115. data/lib/stripe/params/transfer_create_params.rb +0 -4
  116. data/lib/stripe/params/v2/billing/cadence_cancel_params.rb +1 -8
  117. data/lib/stripe/params/v2/billing/cadence_create_params.rb +0 -4
  118. data/lib/stripe/params/v2/billing/cadence_update_params.rb +1 -4
  119. data/lib/stripe/params/v2/core/account_create_params.rb +9 -1267
  120. data/lib/stripe/params/v2/core/account_link_create_params.rb +1 -81
  121. data/lib/stripe/params/v2/core/account_token_create_params.rb +1 -237
  122. data/lib/stripe/params/v2/core/account_update_params.rb +9 -1253
  123. data/lib/stripe/params/v2/core/event_list_params.rb +1 -4
  124. data/lib/stripe/params/v2/core/event_retrieve_params.rb +1 -8
  125. data/lib/stripe/params/v2/money_management/financial_account_create_params.rb +1 -4
  126. data/lib/stripe/params/v2/money_management/financial_account_list_params.rb +1 -4
  127. data/lib/stripe/params/v2/money_management/financial_address_create_params.rb +1 -12
  128. data/lib/stripe/params/v2/money_management/outbound_payment_create_params.rb +1 -25
  129. data/lib/stripe/params/v2/money_management/outbound_payment_quote_create_params.rb +1 -4
  130. data/lib/stripe/params/v2/money_management/outbound_setup_intent_create_params.rb +1 -19
  131. data/lib/stripe/params/v2/money_management/outbound_transfer_create_params.rb +0 -4
  132. data/lib/stripe/params.rb +0 -163
  133. data/lib/stripe/request_params.rb +8 -5
  134. data/lib/stripe/resources/account.rb +0 -10
  135. data/lib/stripe/resources/account_session.rb +0 -135
  136. data/lib/stripe/resources/alipay_account.rb +34 -0
  137. data/lib/stripe/resources/application_fee.rb +1 -22
  138. data/lib/stripe/resources/balance.rb +0 -83
  139. data/lib/stripe/resources/billing/alert.rb +1 -215
  140. data/lib/stripe/resources/billing/alert_triggered.rb +1 -44
  141. data/lib/stripe/resources/billing/analytics/meter_usage_row.rb +0 -2
  142. data/lib/stripe/resources/billing/credit_balance_summary.rb +3 -118
  143. data/lib/stripe/resources/billing/credit_balance_transaction.rb +2 -84
  144. data/lib/stripe/resources/billing/credit_grant.rb +2 -58
  145. data/lib/stripe/resources/billing/meter.rb +0 -2
  146. data/lib/stripe/resources/billing/meter_event_summary.rb +0 -2
  147. data/lib/stripe/resources/capital/financing_offer.rb +0 -41
  148. data/lib/stripe/resources/card.rb +1 -18
  149. data/lib/stripe/resources/charge.rb +1 -59
  150. data/lib/stripe/resources/checkout/session.rb +0 -280
  151. data/lib/stripe/resources/confirmation_token.rb +1 -41
  152. data/lib/stripe/resources/coupon.rb +0 -34
  153. data/lib/stripe/resources/discount.rb +1 -20
  154. data/lib/stripe/resources/dispute.rb +0 -2
  155. data/lib/stripe/resources/financial_connections/session.rb +0 -22
  156. data/lib/stripe/resources/identity/verification_report.rb +0 -4
  157. data/lib/stripe/resources/invoice.rb +0 -34
  158. data/lib/stripe/resources/invoice_item.rb +2 -122
  159. data/lib/stripe/resources/invoice_line_item.rb +1 -155
  160. data/lib/stripe/resources/issuing/authorization.rb +0 -120
  161. data/lib/stripe/resources/issuing/card.rb +0 -4
  162. data/lib/stripe/resources/payment_attempt_record.rb +1 -143
  163. data/lib/stripe/resources/payment_intent.rb +1 -266
  164. data/lib/stripe/resources/payment_method.rb +1 -65
  165. data/lib/stripe/resources/payment_record.rb +1 -23
  166. data/lib/stripe/resources/person.rb +0 -36
  167. data/lib/stripe/resources/plan.rb +0 -2
  168. data/lib/stripe/resources/price.rb +0 -2
  169. data/lib/stripe/resources/quote.rb +1 -238
  170. data/lib/stripe/resources/quote_line.rb +4 -214
  171. data/lib/stripe/resources/quote_preview_invoice.rb +0 -34
  172. data/lib/stripe/resources/quote_preview_subscription_schedule.rb +2 -198
  173. data/lib/stripe/resources/recipient_transfer.rb +7 -0
  174. data/lib/stripe/resources/setup_intent.rb +0 -40
  175. data/lib/stripe/resources/subscription.rb +1 -64
  176. data/lib/stripe/resources/subscription_item.rb +1 -24
  177. data/lib/stripe/resources/subscription_schedule.rb +2 -198
  178. data/lib/stripe/resources/tax/calculation_line_item.rb +0 -2
  179. data/lib/stripe/resources/tax/registration.rb +0 -144
  180. data/lib/stripe/resources/tax_code.rb +1 -15
  181. data/lib/stripe/resources/transfer.rb +0 -4
  182. data/lib/stripe/resources/v2/billing/cadence.rb +0 -46
  183. data/lib/stripe/resources/v2/core/account.rb +11 -1847
  184. data/lib/stripe/resources/v2/core/account_link.rb +0 -72
  185. data/lib/stripe/resources/v2/core/event.rb +1 -50
  186. data/lib/stripe/resources/v2/core/event_notification.rb +1 -2
  187. data/lib/stripe/resources/v2/money_management/adjustment.rb +0 -2
  188. data/lib/stripe/resources/v2/money_management/financial_account.rb +0 -85
  189. data/lib/stripe/resources/v2/money_management/outbound_payment.rb +2 -88
  190. data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +0 -2
  191. data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +1 -3
  192. data/lib/stripe/resources/v2/money_management/payout_method.rb +0 -24
  193. data/lib/stripe/resources/v2/money_management/received_credit.rb +0 -79
  194. data/lib/stripe/resources/v2/money_management/received_debit.rb +1 -134
  195. data/lib/stripe/resources/v2/money_management/transaction.rb +0 -22
  196. data/lib/stripe/resources/v2/money_management/transaction_entry.rb +0 -22
  197. data/lib/stripe/resources.rb +0 -151
  198. data/lib/stripe/services/account_service.rb +1 -2
  199. data/lib/stripe/services/checkout/session_service.rb +0 -11
  200. data/lib/stripe/services/identity_service.rb +1 -2
  201. data/lib/stripe/services/issuing_service.rb +1 -2
  202. data/lib/stripe/services/payment_attempt_record_service.rb +0 -66
  203. data/lib/stripe/services/payment_intent_service.rb +0 -18
  204. data/lib/stripe/services/payment_method_service.rb +0 -11
  205. data/lib/stripe/services/radar_service.rb +1 -5
  206. data/lib/stripe/services/subscription_service.rb +0 -22
  207. data/lib/stripe/services/tax_service.rb +1 -2
  208. data/lib/stripe/services/test_helpers_service.rb +1 -4
  209. data/lib/stripe/services/v1_services.rb +1 -7
  210. data/lib/stripe/services/v2/billing/cadence_service.rb +0 -8
  211. data/lib/stripe/services/v2/billing_service.rb +1 -15
  212. data/lib/stripe/services/v2/core_service.rb +1 -3
  213. data/lib/stripe/services/v2/money_management_service.rb +1 -5
  214. data/lib/stripe/services/v2/test_helper_service.rb +1 -2
  215. data/lib/stripe/services/v2_services.rb +1 -5
  216. data/lib/stripe/services.rb +0 -59
  217. data/lib/stripe/stripe_client.rb +8 -1
  218. data/lib/stripe/stripe_event_notification_handler.rb +431 -0
  219. data/lib/stripe/version.rb +1 -1
  220. data/lib/stripe.rb +1 -0
  221. data/rbi/stripe/stripe_client.rbi +13 -0
  222. data/rbi/stripe.rbi +7870 -40572
  223. metadata +5 -375
  224. data/lib/stripe/events/v2_billing_cadence_billed_event.rb +0 -61
  225. data/lib/stripe/events/v2_billing_cadence_canceled_event.rb +0 -44
  226. data/lib/stripe/events/v2_billing_cadence_created_event.rb +0 -61
  227. data/lib/stripe/events/v2_billing_license_fee_created_event.rb +0 -44
  228. data/lib/stripe/events/v2_billing_license_fee_updated_event.rb +0 -44
  229. data/lib/stripe/events/v2_billing_license_fee_version_created_event.rb +0 -61
  230. data/lib/stripe/events/v2_billing_licensed_item_created_event.rb +0 -44
  231. data/lib/stripe/events/v2_billing_licensed_item_updated_event.rb +0 -44
  232. data/lib/stripe/events/v2_billing_metered_item_created_event.rb +0 -44
  233. data/lib/stripe/events/v2_billing_metered_item_updated_event.rb +0 -44
  234. data/lib/stripe/events/v2_billing_pricing_plan_component_created_event.rb +0 -61
  235. data/lib/stripe/events/v2_billing_pricing_plan_component_updated_event.rb +0 -61
  236. data/lib/stripe/events/v2_billing_pricing_plan_created_event.rb +0 -44
  237. data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_awaiting_customer_action_event.rb +0 -44
  238. data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_current_event.rb +0 -44
  239. data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_past_due_event.rb +0 -44
  240. data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_paused_event.rb +0 -44
  241. data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_unpaid_event.rb +0 -44
  242. data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_activated_event.rb +0 -44
  243. data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_canceled_event.rb +0 -44
  244. data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_paused_event.rb +0 -44
  245. data/lib/stripe/events/v2_billing_pricing_plan_updated_event.rb +0 -44
  246. data/lib/stripe/events/v2_billing_pricing_plan_version_created_event.rb +0 -61
  247. data/lib/stripe/events/v2_billing_rate_card_created_event.rb +0 -61
  248. data/lib/stripe/events/v2_billing_rate_card_custom_pricing_unit_overage_rate_created_event.rb +0 -67
  249. data/lib/stripe/events/v2_billing_rate_card_rate_created_event.rb +0 -67
  250. data/lib/stripe/events/v2_billing_rate_card_subscription_activated_event.rb +0 -44
  251. data/lib/stripe/events/v2_billing_rate_card_subscription_canceled_event.rb +0 -44
  252. data/lib/stripe/events/v2_billing_rate_card_subscription_collection_awaiting_customer_action_event.rb +0 -44
  253. data/lib/stripe/events/v2_billing_rate_card_subscription_collection_current_event.rb +0 -44
  254. data/lib/stripe/events/v2_billing_rate_card_subscription_collection_past_due_event.rb +0 -44
  255. data/lib/stripe/events/v2_billing_rate_card_subscription_collection_paused_event.rb +0 -44
  256. data/lib/stripe/events/v2_billing_rate_card_subscription_collection_unpaid_event.rb +0 -44
  257. data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_activated_event.rb +0 -44
  258. data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_canceled_event.rb +0 -44
  259. data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_paused_event.rb +0 -44
  260. data/lib/stripe/events/v2_billing_rate_card_updated_event.rb +0 -44
  261. data/lib/stripe/events/v2_billing_rate_card_version_created_event.rb +0 -61
  262. data/lib/stripe/events/v2_core_account_including_configuration_card_creator_capability_status_updated_event.rb +0 -63
  263. data/lib/stripe/events/v2_core_account_including_configuration_card_creator_updated_event.rb +0 -44
  264. data/lib/stripe/events/v2_core_claimable_sandbox_claimed_event.rb +0 -44
  265. data/lib/stripe/events/v2_core_claimable_sandbox_created_event.rb +0 -44
  266. data/lib/stripe/events/v2_core_claimable_sandbox_expired_event.rb +0 -44
  267. data/lib/stripe/events/v2_core_claimable_sandbox_expiring_event.rb +0 -44
  268. data/lib/stripe/events/v2_core_claimable_sandbox_sandbox_details_owner_account_updated_event.rb +0 -44
  269. data/lib/stripe/events/v2_core_health_api_error_firing_event.rb +0 -86
  270. data/lib/stripe/events/v2_core_health_api_error_resolved_event.rb +0 -86
  271. data/lib/stripe/events/v2_core_health_api_latency_firing_event.rb +0 -84
  272. data/lib/stripe/events/v2_core_health_api_latency_resolved_event.rb +0 -84
  273. data/lib/stripe/events/v2_core_health_authorization_rate_drop_firing_event.rb +0 -80
  274. data/lib/stripe/events/v2_core_health_authorization_rate_drop_resolved_event.rb +0 -80
  275. data/lib/stripe/events/v2_core_health_fraud_rate_increased_event.rb +0 -78
  276. data/lib/stripe/events/v2_core_health_issuing_authorization_request_errors_firing_event.rb +0 -91
  277. data/lib/stripe/events/v2_core_health_issuing_authorization_request_errors_resolved_event.rb +0 -93
  278. data/lib/stripe/events/v2_core_health_issuing_authorization_request_timeout_firing_event.rb +0 -93
  279. data/lib/stripe/events/v2_core_health_issuing_authorization_request_timeout_resolved_event.rb +0 -93
  280. data/lib/stripe/events/v2_core_health_payment_method_error_firing_event.rb +0 -82
  281. data/lib/stripe/events/v2_core_health_payment_method_error_resolved_event.rb +0 -82
  282. data/lib/stripe/events/v2_core_health_sepa_debit_delayed_firing_event.rb +0 -58
  283. data/lib/stripe/events/v2_core_health_sepa_debit_delayed_resolved_event.rb +0 -60
  284. data/lib/stripe/events/v2_core_health_traffic_volume_drop_firing_event.rb +0 -62
  285. data/lib/stripe/events/v2_core_health_traffic_volume_drop_resolved_event.rb +0 -62
  286. data/lib/stripe/events/v2_core_health_webhook_latency_firing_event.rb +0 -58
  287. data/lib/stripe/events/v2_core_health_webhook_latency_resolved_event.rb +0 -58
  288. data/lib/stripe/events/v2_iam_api_key_created_event.rb +0 -20
  289. data/lib/stripe/events/v2_iam_api_key_default_secret_revealed_event.rb +0 -20
  290. data/lib/stripe/events/v2_iam_api_key_expired_event.rb +0 -20
  291. data/lib/stripe/events/v2_iam_api_key_permissions_updated_event.rb +0 -20
  292. data/lib/stripe/events/v2_iam_api_key_rotated_event.rb +0 -38
  293. data/lib/stripe/events/v2_iam_api_key_updated_event.rb +0 -20
  294. data/lib/stripe/events/v2_iam_stripe_access_grant_approved_event.rb +0 -20
  295. data/lib/stripe/events/v2_iam_stripe_access_grant_canceled_event.rb +0 -20
  296. data/lib/stripe/events/v2_iam_stripe_access_grant_denied_event.rb +0 -20
  297. data/lib/stripe/events/v2_iam_stripe_access_grant_removed_event.rb +0 -20
  298. data/lib/stripe/events/v2_iam_stripe_access_grant_requested_event.rb +0 -20
  299. data/lib/stripe/events/v2_iam_stripe_access_grant_updated_event.rb +0 -20
  300. data/lib/stripe/events/v2_money_management_recipient_verification_created_event.rb +0 -44
  301. data/lib/stripe/events/v2_money_management_recipient_verification_updated_event.rb +0 -44
  302. data/lib/stripe/events/v2_payments_off_session_payment_attempt_failed_event.rb +0 -44
  303. data/lib/stripe/events/v2_payments_off_session_payment_attempt_started_event.rb +0 -46
  304. data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_failed_event.rb +0 -46
  305. data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_started_event.rb +0 -48
  306. data/lib/stripe/events/v2_payments_off_session_payment_canceled_event.rb +0 -44
  307. data/lib/stripe/events/v2_payments_off_session_payment_created_event.rb +0 -44
  308. data/lib/stripe/events/v2_payments_off_session_payment_failed_event.rb +0 -44
  309. data/lib/stripe/events/v2_payments_off_session_payment_requires_capture_event.rb +0 -44
  310. data/lib/stripe/events/v2_payments_off_session_payment_succeeded_event.rb +0 -44
  311. data/lib/stripe/events/v2_payments_settlement_allocation_intent_canceled_event.rb +0 -44
  312. data/lib/stripe/events/v2_payments_settlement_allocation_intent_created_event.rb +0 -44
  313. data/lib/stripe/events/v2_payments_settlement_allocation_intent_errored_event.rb +0 -65
  314. data/lib/stripe/events/v2_payments_settlement_allocation_intent_funds_not_received_event.rb +0 -44
  315. data/lib/stripe/events/v2_payments_settlement_allocation_intent_matched_event.rb +0 -44
  316. data/lib/stripe/events/v2_payments_settlement_allocation_intent_not_found_event.rb +0 -38
  317. data/lib/stripe/events/v2_payments_settlement_allocation_intent_settled_event.rb +0 -44
  318. data/lib/stripe/events/v2_payments_settlement_allocation_intent_split_canceled_event.rb +0 -61
  319. data/lib/stripe/events/v2_payments_settlement_allocation_intent_split_created_event.rb +0 -61
  320. data/lib/stripe/events/v2_payments_settlement_allocation_intent_split_settled_event.rb +0 -61
  321. data/lib/stripe/events/v2_payments_settlement_allocation_intent_submitted_event.rb +0 -44
  322. data/lib/stripe/events/v2_reporting_report_run_created_event.rb +0 -44
  323. data/lib/stripe/events/v2_reporting_report_run_failed_event.rb +0 -44
  324. data/lib/stripe/events/v2_reporting_report_run_succeeded_event.rb +0 -44
  325. data/lib/stripe/events/v2_reporting_report_run_updated_event.rb +0 -44
  326. data/lib/stripe/params/account_signals_retrieve_params.rb +0 -13
  327. data/lib/stripe/params/balance_transfer_create_params.rb +0 -66
  328. data/lib/stripe/params/capital/financing_offer_create_params.rb +0 -37
  329. data/lib/stripe/params/capital/financing_offer_refill_params.rb +0 -37
  330. data/lib/stripe/params/checkout/session_approve_params.rb +0 -52
  331. data/lib/stripe/params/delegated_checkout/requested_session_confirm_params.rb +0 -212
  332. data/lib/stripe/params/delegated_checkout/requested_session_create_params.rb +0 -274
  333. data/lib/stripe/params/delegated_checkout/requested_session_expire_params.rb +0 -15
  334. data/lib/stripe/params/delegated_checkout/requested_session_retrieve_params.rb +0 -15
  335. data/lib/stripe/params/delegated_checkout/requested_session_update_params.rb +0 -260
  336. data/lib/stripe/params/fr_meal_vouchers_onboarding_create_params.rb +0 -25
  337. data/lib/stripe/params/fr_meal_vouchers_onboarding_list_params.rb +0 -22
  338. data/lib/stripe/params/fr_meal_vouchers_onboarding_retrieve_params.rb +0 -13
  339. data/lib/stripe/params/fr_meal_vouchers_onboarding_update_params.rb +0 -16
  340. data/lib/stripe/params/identity/blocklist_entry_create_params.rb +0 -29
  341. data/lib/stripe/params/identity/blocklist_entry_disable_params.rb +0 -15
  342. data/lib/stripe/params/identity/blocklist_entry_list_params.rb +0 -62
  343. data/lib/stripe/params/identity/blocklist_entry_retrieve_params.rb +0 -15
  344. data/lib/stripe/params/issuing/program_create_params.rb +0 -21
  345. data/lib/stripe/params/issuing/program_list_params.rb +0 -24
  346. data/lib/stripe/params/issuing/program_retrieve_params.rb +0 -15
  347. data/lib/stripe/params/issuing/program_update_params.rb +0 -21
  348. data/lib/stripe/params/orchestration/payment_attempt_retrieve_params.rb +0 -15
  349. data/lib/stripe/params/payment_attempt_record_report_authenticated_params.rb +0 -19
  350. data/lib/stripe/params/payment_attempt_record_report_canceled_params.rb +0 -19
  351. data/lib/stripe/params/payment_attempt_record_report_failed_params.rb +0 -22
  352. data/lib/stripe/params/payment_attempt_record_report_guaranteed_params.rb +0 -19
  353. data/lib/stripe/params/payment_attempt_record_report_informational_params.rb +0 -93
  354. data/lib/stripe/params/payment_attempt_record_report_refund_params.rb +0 -79
  355. data/lib/stripe/params/payment_intent_reauthorize_params.rb +0 -19
  356. data/lib/stripe/params/payment_intent_simulate_crypto_deposit_params.rb +0 -31
  357. data/lib/stripe/params/payment_method_check_balance_params.rb +0 -13
  358. data/lib/stripe/params/product_catalog/trial_offer_create_params.rb +0 -63
  359. data/lib/stripe/params/radar/account_evaluation_create_params.rb +0 -81
  360. data/lib/stripe/params/radar/account_evaluation_retrieve_params.rb +0 -15
  361. data/lib/stripe/params/radar/account_evaluation_update_params.rb +0 -41
  362. data/lib/stripe/params/radar/customer_evaluation_create_params.rb +0 -69
  363. data/lib/stripe/params/radar/customer_evaluation_update_params.rb +0 -59
  364. data/lib/stripe/params/radar/issuing_authorization_evaluation_create_params.rb +0 -197
  365. data/lib/stripe/params/shared_payment/granted_token_create_params.rb +0 -50
  366. data/lib/stripe/params/shared_payment/granted_token_retrieve_params.rb +0 -15
  367. data/lib/stripe/params/shared_payment/granted_token_revoke_params.rb +0 -15
  368. data/lib/stripe/params/subscription_attach_cadence_params.rb +0 -16
  369. data/lib/stripe/params/subscription_pause_params.rb +0 -50
  370. data/lib/stripe/params/tax/location_create_params.rb +0 -54
  371. data/lib/stripe/params/tax/location_list_params.rb +0 -27
  372. data/lib/stripe/params/tax/location_retrieve_params.rb +0 -15
  373. data/lib/stripe/params/test_helpers/capital/financing_offer_create_params.rb +0 -39
  374. data/lib/stripe/params/test_helpers/capital/financing_offer_refill_params.rb +0 -39
  375. data/lib/stripe/params/test_helpers/payment_intent_simulate_crypto_deposit_params.rb +0 -33
  376. data/lib/stripe/params/test_helpers/shared_payment/granted_token_create_params.rb +0 -52
  377. data/lib/stripe/params/test_helpers/shared_payment/granted_token_revoke_params.rb +0 -17
  378. data/lib/stripe/params/v2/billing/cadences/spend_modifier_rule_list_params.rb +0 -22
  379. data/lib/stripe/params/v2/billing/cadences/spend_modifier_rule_retrieve_params.rb +0 -12
  380. data/lib/stripe/params/v2/billing/custom_pricing_unit_create_params.rb +0 -26
  381. data/lib/stripe/params/v2/billing/custom_pricing_unit_list_params.rb +0 -24
  382. data/lib/stripe/params/v2/billing/custom_pricing_unit_retrieve_params.rb +0 -10
  383. data/lib/stripe/params/v2/billing/custom_pricing_unit_update_params.rb +0 -26
  384. data/lib/stripe/params/v2/billing/intent_cancel_params.rb +0 -10
  385. data/lib/stripe/params/v2/billing/intent_commit_params.rb +0 -17
  386. data/lib/stripe/params/v2/billing/intent_create_params.rb +0 -793
  387. data/lib/stripe/params/v2/billing/intent_list_params.rb +0 -17
  388. data/lib/stripe/params/v2/billing/intent_release_reservation_params.rb +0 -10
  389. data/lib/stripe/params/v2/billing/intent_reserve_params.rb +0 -10
  390. data/lib/stripe/params/v2/billing/intent_retrieve_params.rb +0 -10
  391. data/lib/stripe/params/v2/billing/intents/action_list_params.rb +0 -19
  392. data/lib/stripe/params/v2/billing/intents/action_retrieve_params.rb +0 -12
  393. data/lib/stripe/params/v2/billing/license_fee_create_params.rb +0 -103
  394. data/lib/stripe/params/v2/billing/license_fee_list_params.rb +0 -24
  395. data/lib/stripe/params/v2/billing/license_fee_retrieve_params.rb +0 -10
  396. data/lib/stripe/params/v2/billing/license_fee_subscription_retrieve_params.rb +0 -10
  397. data/lib/stripe/params/v2/billing/license_fee_update_params.rb +0 -84
  398. data/lib/stripe/params/v2/billing/license_fees/version_list_params.rb +0 -19
  399. data/lib/stripe/params/v2/billing/license_fees/version_retrieve_params.rb +0 -12
  400. data/lib/stripe/params/v2/billing/licensed_item_create_params.rb +0 -48
  401. data/lib/stripe/params/v2/billing/licensed_item_list_params.rb +0 -21
  402. data/lib/stripe/params/v2/billing/licensed_item_retrieve_params.rb +0 -10
  403. data/lib/stripe/params/v2/billing/licensed_item_update_params.rb +0 -48
  404. data/lib/stripe/params/v2/billing/metered_item_create_params.rb +0 -73
  405. data/lib/stripe/params/v2/billing/metered_item_list_params.rb +0 -21
  406. data/lib/stripe/params/v2/billing/metered_item_retrieve_params.rb +0 -10
  407. data/lib/stripe/params/v2/billing/metered_item_update_params.rb +0 -50
  408. data/lib/stripe/params/v2/billing/one_time_item_create_params.rb +0 -48
  409. data/lib/stripe/params/v2/billing/one_time_item_list_params.rb +0 -21
  410. data/lib/stripe/params/v2/billing/one_time_item_retrieve_params.rb +0 -10
  411. data/lib/stripe/params/v2/billing/one_time_item_update_params.rb +0 -48
  412. data/lib/stripe/params/v2/billing/pricing_plan_create_params.rb +0 -39
  413. data/lib/stripe/params/v2/billing/pricing_plan_list_params.rb +0 -24
  414. data/lib/stripe/params/v2/billing/pricing_plan_retrieve_params.rb +0 -10
  415. data/lib/stripe/params/v2/billing/pricing_plan_subscription_list_params.rb +0 -50
  416. data/lib/stripe/params/v2/billing/pricing_plan_subscription_retrieve_params.rb +0 -10
  417. data/lib/stripe/params/v2/billing/pricing_plan_subscription_update_params.rb +0 -20
  418. data/lib/stripe/params/v2/billing/pricing_plan_subscriptions/component_retrieve_params.rb +0 -12
  419. data/lib/stripe/params/v2/billing/pricing_plan_update_params.rb +0 -39
  420. data/lib/stripe/params/v2/billing/pricing_plans/component_create_params.rb +0 -73
  421. data/lib/stripe/params/v2/billing/pricing_plans/component_delete_params.rb +0 -12
  422. data/lib/stripe/params/v2/billing/pricing_plans/component_list_params.rb +0 -27
  423. data/lib/stripe/params/v2/billing/pricing_plans/component_retrieve_params.rb +0 -12
  424. data/lib/stripe/params/v2/billing/pricing_plans/component_update_params.rb +0 -22
  425. data/lib/stripe/params/v2/billing/pricing_plans/version_list_params.rb +0 -19
  426. data/lib/stripe/params/v2/billing/pricing_plans/version_retrieve_params.rb +0 -12
  427. data/lib/stripe/params/v2/billing/rate_card_create_params.rb +0 -49
  428. data/lib/stripe/params/v2/billing/rate_card_list_params.rb +0 -24
  429. data/lib/stripe/params/v2/billing/rate_card_retrieve_params.rb +0 -10
  430. data/lib/stripe/params/v2/billing/rate_card_subscription_cancel_params.rb +0 -10
  431. data/lib/stripe/params/v2/billing/rate_card_subscription_create_params.rb +0 -26
  432. data/lib/stripe/params/v2/billing/rate_card_subscription_list_params.rb +0 -51
  433. data/lib/stripe/params/v2/billing/rate_card_subscription_retrieve_params.rb +0 -10
  434. data/lib/stripe/params/v2/billing/rate_card_subscription_update_params.rb +0 -17
  435. data/lib/stripe/params/v2/billing/rate_card_update_params.rb +0 -38
  436. data/lib/stripe/params/v2/billing/rate_cards/custom_pricing_unit_overage_rate_create_params.rb +0 -33
  437. data/lib/stripe/params/v2/billing/rate_cards/custom_pricing_unit_overage_rate_delete_params.rb +0 -12
  438. data/lib/stripe/params/v2/billing/rate_cards/custom_pricing_unit_overage_rate_list_params.rb +0 -22
  439. data/lib/stripe/params/v2/billing/rate_cards/custom_pricing_unit_overage_rate_retrieve_params.rb +0 -12
  440. data/lib/stripe/params/v2/billing/rate_cards/rate_create_params.rb +0 -91
  441. data/lib/stripe/params/v2/billing/rate_cards/rate_delete_params.rb +0 -12
  442. data/lib/stripe/params/v2/billing/rate_cards/rate_list_params.rb +0 -25
  443. data/lib/stripe/params/v2/billing/rate_cards/rate_retrieve_params.rb +0 -12
  444. data/lib/stripe/params/v2/billing/rate_cards/version_list_params.rb +0 -19
  445. data/lib/stripe/params/v2/billing/rate_cards/version_retrieve_params.rb +0 -12
  446. data/lib/stripe/params/v2/billing/service_action_create_params.rb +0 -278
  447. data/lib/stripe/params/v2/billing/service_action_retrieve_params.rb +0 -10
  448. data/lib/stripe/params/v2/billing/service_action_update_params.rb +0 -40
  449. data/lib/stripe/params/v2/core/claimable_sandbox_create_params.rb +0 -36
  450. data/lib/stripe/params/v2/core/claimable_sandbox_retrieve_params.rb +0 -10
  451. data/lib/stripe/params/v2/core/connection_session_create_params.rb +0 -23
  452. data/lib/stripe/params/v2/core/connection_session_retrieve_params.rb +0 -10
  453. data/lib/stripe/params/v2/iam/api_key_create_params.rb +0 -51
  454. data/lib/stripe/params/v2/iam/api_key_expire_params.rb +0 -10
  455. data/lib/stripe/params/v2/iam/api_key_list_params.rb +0 -20
  456. data/lib/stripe/params/v2/iam/api_key_retrieve_params.rb +0 -10
  457. data/lib/stripe/params/v2/iam/api_key_rotate_params.rb +0 -46
  458. data/lib/stripe/params/v2/iam/api_key_update_params.rb +0 -20
  459. data/lib/stripe/params/v2/money_management/currency_conversion_create_params.rb +0 -68
  460. data/lib/stripe/params/v2/money_management/currency_conversion_list_params.rb +0 -20
  461. data/lib/stripe/params/v2/money_management/currency_conversion_retrieve_params.rb +0 -10
  462. data/lib/stripe/params/v2/money_management/recipient_verification_acknowledge_params.rb +0 -10
  463. data/lib/stripe/params/v2/money_management/recipient_verification_create_params.rb +0 -20
  464. data/lib/stripe/params/v2/money_management/recipient_verification_retrieve_params.rb +0 -10
  465. data/lib/stripe/params/v2/payments/off_session_payment_cancel_params.rb +0 -10
  466. data/lib/stripe/params/v2/payments/off_session_payment_capture_params.rb +0 -57
  467. data/lib/stripe/params/v2/payments/off_session_payment_create_params.rb +0 -245
  468. data/lib/stripe/params/v2/payments/off_session_payment_list_params.rb +0 -17
  469. data/lib/stripe/params/v2/payments/off_session_payment_retrieve_params.rb +0 -10
  470. data/lib/stripe/params/v2/payments/settlement_allocation_intent_cancel_params.rb +0 -10
  471. data/lib/stripe/params/v2/payments/settlement_allocation_intent_create_params.rb +0 -46
  472. data/lib/stripe/params/v2/payments/settlement_allocation_intent_list_params.rb +0 -47
  473. data/lib/stripe/params/v2/payments/settlement_allocation_intent_retrieve_params.rb +0 -10
  474. data/lib/stripe/params/v2/payments/settlement_allocation_intent_submit_params.rb +0 -10
  475. data/lib/stripe/params/v2/payments/settlement_allocation_intent_update_params.rb +0 -31
  476. data/lib/stripe/params/v2/payments/settlement_allocation_intents/split_cancel_params.rb +0 -12
  477. data/lib/stripe/params/v2/payments/settlement_allocation_intents/split_create_params.rb +0 -39
  478. data/lib/stripe/params/v2/payments/settlement_allocation_intents/split_list_params.rb +0 -22
  479. data/lib/stripe/params/v2/payments/settlement_allocation_intents/split_retrieve_params.rb +0 -12
  480. data/lib/stripe/params/v2/reporting/report_retrieve_params.rb +0 -10
  481. data/lib/stripe/params/v2/reporting/report_run_create_params.rb +0 -33
  482. data/lib/stripe/params/v2/reporting/report_run_retrieve_params.rb +0 -10
  483. data/lib/stripe/params/v2/tax/manual_rule_create_params.rb +0 -94
  484. data/lib/stripe/params/v2/tax/manual_rule_deactivate_params.rb +0 -10
  485. data/lib/stripe/params/v2/tax/manual_rule_list_params.rb +0 -17
  486. data/lib/stripe/params/v2/tax/manual_rule_retrieve_params.rb +0 -10
  487. data/lib/stripe/params/v2/tax/manual_rule_update_params.rb +0 -94
  488. data/lib/stripe/params/v2/test_helpers/money_management_recipient_verifications_params.rb +0 -24
  489. data/lib/stripe/resources/account_signals.rb +0 -65
  490. data/lib/stripe/resources/balance_transfer.rb +0 -139
  491. data/lib/stripe/resources/billing/alert_recovered.rb +0 -40
  492. data/lib/stripe/resources/delegated_checkout/requested_session.rb +0 -633
  493. data/lib/stripe/resources/fr_meal_vouchers_onboarding.rb +0 -153
  494. data/lib/stripe/resources/identity/blocklist_entry.rb +0 -116
  495. data/lib/stripe/resources/issuing/program.rb +0 -69
  496. data/lib/stripe/resources/orchestration/payment_attempt.rb +0 -31
  497. data/lib/stripe/resources/payment_method_balance.rb +0 -68
  498. data/lib/stripe/resources/product_catalog/trial_offer.rb +0 -103
  499. data/lib/stripe/resources/profile.rb +0 -80
  500. data/lib/stripe/resources/radar/account_evaluation.rb +0 -145
  501. data/lib/stripe/resources/radar/customer_evaluation.rb +0 -153
  502. data/lib/stripe/resources/radar/issuing_authorization_evaluation.rb +0 -245
  503. data/lib/stripe/resources/shared_payment/granted_token.rb +0 -126
  504. data/lib/stripe/resources/tax/location.rb +0 -72
  505. data/lib/stripe/resources/transit_balance.rb +0 -45
  506. data/lib/stripe/resources/v2/billing/cadence_spend_modifier.rb +0 -101
  507. data/lib/stripe/resources/v2/billing/custom_pricing_unit.rb +0 -43
  508. data/lib/stripe/resources/v2/billing/intent.rb +0 -352
  509. data/lib/stripe/resources/v2/billing/intent_action.rb +0 -616
  510. data/lib/stripe/resources/v2/billing/license_fee.rb +0 -107
  511. data/lib/stripe/resources/v2/billing/license_fee_subscription.rb +0 -47
  512. data/lib/stripe/resources/v2/billing/license_fee_version.rb +0 -83
  513. data/lib/stripe/resources/v2/billing/licensed_item.rb +0 -60
  514. data/lib/stripe/resources/v2/billing/metered_item.rb +0 -85
  515. data/lib/stripe/resources/v2/billing/one_time_item.rb +0 -60
  516. data/lib/stripe/resources/v2/billing/pricing_plan.rb +0 -54
  517. data/lib/stripe/resources/v2/billing/pricing_plan_component.rb +0 -97
  518. data/lib/stripe/resources/v2/billing/pricing_plan_subscription.rb +0 -117
  519. data/lib/stripe/resources/v2/billing/pricing_plan_subscription_components.rb +0 -49
  520. data/lib/stripe/resources/v2/billing/pricing_plan_version.rb +0 -41
  521. data/lib/stripe/resources/v2/billing/rate_card.rb +0 -61
  522. data/lib/stripe/resources/v2/billing/rate_card_custom_pricing_unit_overage_rate.rb +0 -48
  523. data/lib/stripe/resources/v2/billing/rate_card_rate.rb +0 -113
  524. data/lib/stripe/resources/v2/billing/rate_card_subscription.rb +0 -97
  525. data/lib/stripe/resources/v2/billing/rate_card_version.rb +0 -37
  526. data/lib/stripe/resources/v2/billing/service_action.rb +0 -275
  527. data/lib/stripe/resources/v2/core/claimable_sandbox.rb +0 -105
  528. data/lib/stripe/resources/v2/core/connection_session.rb +0 -57
  529. data/lib/stripe/resources/v2/iam/api_key.rb +0 -129
  530. data/lib/stripe/resources/v2/money_management/currency_conversion.rb +0 -94
  531. data/lib/stripe/resources/v2/money_management/recipient_verification.rb +0 -83
  532. data/lib/stripe/resources/v2/payments/off_session_payment.rb +0 -191
  533. data/lib/stripe/resources/v2/payments/settlement_allocation_intent.rb +0 -92
  534. data/lib/stripe/resources/v2/payments/settlement_allocation_intent_split.rb +0 -78
  535. data/lib/stripe/resources/v2/reporting/report.rb +0 -116
  536. data/lib/stripe/resources/v2/reporting/report_run.rb +0 -128
  537. data/lib/stripe/resources/v2/tax/manual_rule.rb +0 -115
  538. data/lib/stripe/services/account_signals_service.rb +0 -17
  539. data/lib/stripe/services/balance_transfer_service.rb +0 -17
  540. data/lib/stripe/services/delegated_checkout/requested_session_service.rb +0 -63
  541. data/lib/stripe/services/delegated_checkout_service.rb +0 -13
  542. data/lib/stripe/services/fr_meal_vouchers_onboarding_service.rb +0 -57
  543. data/lib/stripe/services/identity/blocklist_entry_service.rb +0 -71
  544. data/lib/stripe/services/issuing/program_service.rb +0 -52
  545. data/lib/stripe/services/orchestration/payment_attempt_service.rb +0 -19
  546. data/lib/stripe/services/orchestration_service.rb +0 -13
  547. data/lib/stripe/services/product_catalog/trial_offer_service.rb +0 -19
  548. data/lib/stripe/services/product_catalog_service.rb +0 -13
  549. data/lib/stripe/services/radar/account_evaluation_service.rb +0 -41
  550. data/lib/stripe/services/radar/customer_evaluation_service.rb +0 -30
  551. data/lib/stripe/services/radar/issuing_authorization_evaluation_service.rb +0 -19
  552. data/lib/stripe/services/shared_payment/granted_token_service.rb +0 -19
  553. data/lib/stripe/services/shared_payment_service.rb +0 -13
  554. data/lib/stripe/services/tax/location_service.rb +0 -45
  555. data/lib/stripe/services/test_helpers/capital/financing_offer_service.rb +0 -32
  556. data/lib/stripe/services/test_helpers/capital_service.rb +0 -15
  557. data/lib/stripe/services/test_helpers/payment_intent_service.rb +0 -19
  558. data/lib/stripe/services/test_helpers/shared_payment/granted_token_service.rb +0 -32
  559. data/lib/stripe/services/test_helpers/shared_payment_service.rb +0 -15
  560. data/lib/stripe/services/v2/billing/cadences/spend_modifier_rule_service.rb +0 -34
  561. data/lib/stripe/services/v2/billing/custom_pricing_unit_service.rb +0 -54
  562. data/lib/stripe/services/v2/billing/intent_service.rb +0 -94
  563. data/lib/stripe/services/v2/billing/intents/action_service.rb +0 -34
  564. data/lib/stripe/services/v2/billing/license_fee_service.rb +0 -61
  565. data/lib/stripe/services/v2/billing/license_fee_subscription_service.rb +0 -21
  566. data/lib/stripe/services/v2/billing/license_fees/version_service.rb +0 -34
  567. data/lib/stripe/services/v2/billing/licensed_item_service.rb +0 -54
  568. data/lib/stripe/services/v2/billing/metered_item_service.rb +0 -54
  569. data/lib/stripe/services/v2/billing/one_time_item_service.rb +0 -54
  570. data/lib/stripe/services/v2/billing/pricing_plan_service.rb +0 -62
  571. data/lib/stripe/services/v2/billing/pricing_plan_subscription_service.rb +0 -51
  572. data/lib/stripe/services/v2/billing/pricing_plan_subscriptions/component_service.rb +0 -23
  573. data/lib/stripe/services/v2/billing/pricing_plans/component_service.rb +0 -67
  574. data/lib/stripe/services/v2/billing/pricing_plans/version_service.rb +0 -34
  575. data/lib/stripe/services/v2/billing/rate_card_service.rb +0 -64
  576. data/lib/stripe/services/v2/billing/rate_card_subscription_service.rb +0 -65
  577. data/lib/stripe/services/v2/billing/rate_cards/custom_pricing_unit_overage_rate_service.rb +0 -56
  578. data/lib/stripe/services/v2/billing/rate_cards/rate_service.rb +0 -57
  579. data/lib/stripe/services/v2/billing/rate_cards/version_service.rb +0 -34
  580. data/lib/stripe/services/v2/billing/service_action_service.rb +0 -43
  581. data/lib/stripe/services/v2/core/claimable_sandbox_service.rb +0 -35
  582. data/lib/stripe/services/v2/core/connection_session_service.rb +0 -32
  583. data/lib/stripe/services/v2/iam/api_key_service.rb +0 -76
  584. data/lib/stripe/services/v2/iam_service.rb +0 -15
  585. data/lib/stripe/services/v2/money_management/currency_conversion_service.rb +0 -45
  586. data/lib/stripe/services/v2/money_management/recipient_verification_service.rb +0 -43
  587. data/lib/stripe/services/v2/payment_service.rb +0 -17
  588. data/lib/stripe/services/v2/payments/off_session_payment_service.rb +0 -65
  589. data/lib/stripe/services/v2/payments/settlement_allocation_intent_service.rb +0 -83
  590. data/lib/stripe/services/v2/payments/settlement_allocation_intents/split_service.rb +0 -56
  591. data/lib/stripe/services/v2/reporting/report_run_service.rb +0 -38
  592. data/lib/stripe/services/v2/reporting/report_service.rb +0 -23
  593. data/lib/stripe/services/v2/reporting_service.rb +0 -16
  594. data/lib/stripe/services/v2/tax/manual_rule_service.rb +0 -65
  595. data/lib/stripe/services/v2/tax_service.rb +0 -15
  596. data/lib/stripe/services/v2/test_helpers/money_management_service.rb +0 -21
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 74579c8b43ee61e3a3f44eac160fd911fbb05be52bae41d01b6a264fff38e348
4
- data.tar.gz: dc8208a7dc5edd9550f382a96a29e8d6a600c76b9e0d94c2b6d1b101bdc2e383
3
+ metadata.gz: 9ea2ce6a86b7d2a4fc5435157627b1162bac8c97ea07950c0c105b88788fa36f
4
+ data.tar.gz: e2888b130278667dc66f74b43635045dc6f88d562b3c2595b64a42931c83b056
5
5
  SHA512:
6
- metadata.gz: 6f4546d6e56098b72019a2839faf49756af82f956165579efc238905f711acfb682ea299f398bdd43e5404f09c5fff765eb608d3f145e45ab42c3ede9a68bf5e
7
- data.tar.gz: 8d2aebdd16da9a183f24e9a90320eafdc2d32e246c0eae300b71f2a111eed00e739cb998622628fc00734ca47d8d4f8997d3bac832f2600638640e304153959d
6
+ metadata.gz: 5936c3378542389ff151a5ba0a8239cfd8583fe2721c2cce735e407f92b68b37af2ed9bba76ee81fd34c799a71ab06b920122c6f9279490680cbf9b970510a66
7
+ data.tar.gz: 0420b4467bcac07f2d984cb03da3440513b6996b5f0f016f23c7aa87e7723bf0a432ac0e2927faa977c576669606865bc600c0b5ef6385469d8f7b1b45b0d56a
@@ -15,6 +15,7 @@ module Stripe
15
15
 
16
16
  # Initializes a new APIRequestor
17
17
  def initialize(config_arg = {})
18
+ @system_profiler = SystemProfiler.new
18
19
  @last_request_metrics = Queue.new
19
20
 
20
21
  @config = case config_arg
@@ -109,7 +110,7 @@ module Stripe
109
110
  return false if num_retries >= config.max_network_retries
110
111
 
111
112
  case error
112
- when Net::OpenTimeout, Net::ReadTimeout, Net::HTTPFatalError
113
+ when Net::OpenTimeout, Net::ReadTimeout
113
114
  # Retry on timeout-related problems (either on open or read).
114
115
  true
115
116
  when EOFError, Errno::ECONNREFUSED, Errno::ECONNRESET, # rubocop:todo Lint/DuplicateBranch
@@ -349,7 +350,6 @@ module Stripe
349
350
  Errno::ETIMEDOUT => ERROR_MESSAGE_TIMEOUT_CONNECT,
350
351
  SocketError => ERROR_MESSAGE_CONNECTION,
351
352
 
352
- Net::HTTPFatalError => ERROR_MESSAGE_CONNECTION,
353
353
  Net::OpenTimeout => ERROR_MESSAGE_TIMEOUT_CONNECT,
354
354
  Net::ReadTimeout => ERROR_MESSAGE_TIMEOUT_READ,
355
355
 
@@ -964,9 +964,6 @@ module Stripe
964
964
  user_agent = "Stripe/#{api_mode} RubyBindings/#{Stripe::VERSION}"
965
965
  user_agent += " " + format_app_info(Stripe.app_info) unless Stripe.app_info.nil?
966
966
 
967
- ai_agent = SystemProfiler.detect_ai_agent
968
- user_agent += " AIAgent/#{ai_agent}" unless ai_agent.empty?
969
-
970
967
  headers = {
971
968
  "User-Agent" => user_agent,
972
969
  "Authorization" => "Bearer #{req_opts[:api_key]}",
@@ -995,7 +992,7 @@ module Stripe
995
992
  headers["Stripe-Account"] = req_opts[:stripe_account] if req_opts[:stripe_account]
996
993
  headers["Stripe-Context"] = req_opts[:stripe_context] if req_opts[:stripe_context]
997
994
 
998
- user_agent = SystemProfiler.user_agent
995
+ user_agent = @system_profiler.user_agent
999
996
  begin
1000
997
  headers.update(
1001
998
  "X-Stripe-Client-User-Agent" => JSON.generate(user_agent)
@@ -1097,46 +1094,56 @@ module Stripe
1097
1094
  # in so that we can generate a rich user agent header to help debug
1098
1095
  # integrations.
1099
1096
  class SystemProfiler
1100
- AI_AGENTS = [
1101
- # aiAgents: The beginning of the section generated from our OpenAPI spec
1102
- %w[ANTIGRAVITY_CLI_ALIAS antigravity],
1103
- %w[CLAUDECODE claude_code],
1104
- %w[CLINE_ACTIVE cline],
1105
- %w[CODEX_SANDBOX codex_cli],
1106
- %w[CODEX_THREAD_ID codex_cli],
1107
- %w[CODEX_SANDBOX_NETWORK_DISABLED codex_cli],
1108
- %w[CODEX_CI codex_cli],
1109
- %w[CURSOR_AGENT cursor],
1110
- %w[GEMINI_CLI gemini_cli],
1111
- %w[OPENCODE open_code],
1112
- # aiAgents: The end of the section generated from our OpenAPI spec
1113
- ].freeze
1114
-
1115
- def self.detect_ai_agent(env = ENV)
1116
- AI_AGENTS.each do |env_var, agent_name|
1117
- return agent_name if env[env_var] && !env[env_var].empty?
1097
+ def self.uname
1098
+ if ::File.exist?("/proc/version")
1099
+ ::File.read("/proc/version").strip
1100
+ else
1101
+ case RbConfig::CONFIG["host_os"]
1102
+ when /linux|darwin|bsd|sunos|solaris|cygwin/i
1103
+ uname_from_system
1104
+ when /mswin|mingw/i
1105
+ uname_from_system_ver
1106
+ else
1107
+ "unknown platform"
1108
+ end
1118
1109
  end
1119
- ""
1120
1110
  end
1121
1111
 
1122
- def self.user_agent
1112
+ def self.uname_from_system
1113
+ (`uname -a 2>/dev/null` || "").strip
1114
+ rescue Errno::ENOENT
1115
+ "uname executable not found"
1116
+ rescue Errno::ENOMEM # couldn't create subprocess
1117
+ "uname lookup failed"
1118
+ end
1119
+
1120
+ def self.uname_from_system_ver
1121
+ (`ver` || "").strip
1122
+ rescue Errno::ENOENT
1123
+ "ver executable not found"
1124
+ rescue Errno::ENOMEM # couldn't create subprocess
1125
+ "uname lookup failed"
1126
+ end
1127
+
1128
+ def initialize
1129
+ @uname = self.class.uname
1130
+ end
1131
+
1132
+ def user_agent
1123
1133
  lang_version = "#{RUBY_VERSION} p#{RUBY_PATCHLEVEL} " \
1124
1134
  "(#{RUBY_RELEASE_DATE})"
1125
1135
 
1126
- ua = {
1136
+ {
1127
1137
  application: Stripe.app_info,
1128
1138
  bindings_version: Stripe::VERSION,
1129
1139
  lang: "ruby",
1130
1140
  lang_version: lang_version,
1141
+ platform: RUBY_PLATFORM,
1131
1142
  engine: defined?(RUBY_ENGINE) ? RUBY_ENGINE : "",
1143
+ publisher: "stripe",
1144
+ uname: @uname,
1145
+ hostname: Socket.gethostname,
1132
1146
  }.delete_if { |_k, v| v.nil? }
1133
-
1134
- ua[:platform] = RUBY_PLATFORM if Stripe.enable_telemetry?
1135
-
1136
- ai_agent = detect_ai_agent
1137
- ua[:ai_agent] = ai_agent unless ai_agent.empty?
1138
-
1139
- ua
1140
1147
  end
1141
1148
  end
1142
1149
 
@@ -3,6 +3,6 @@
3
3
 
4
4
  module Stripe
5
5
  module ApiVersion
6
- CURRENT = "2026-03-04.preview"
6
+ CURRENT = "2026-02-25.preview"
7
7
  end
8
8
  end
@@ -8,74 +8,8 @@ module Stripe
8
8
  Events::V1BillingMeterErrorReportTriggeredEvent.lookup_type =>
9
9
  Events::V1BillingMeterErrorReportTriggeredEvent,
10
10
  Events::V1BillingMeterNoMeterFoundEvent.lookup_type => Events::V1BillingMeterNoMeterFoundEvent,
11
- Events::V2BillingCadenceBilledEvent.lookup_type => Events::V2BillingCadenceBilledEvent,
12
- Events::V2BillingCadenceCanceledEvent.lookup_type => Events::V2BillingCadenceCanceledEvent,
13
- Events::V2BillingCadenceCreatedEvent.lookup_type => Events::V2BillingCadenceCreatedEvent,
14
- Events::V2BillingLicenseFeeCreatedEvent.lookup_type => Events::V2BillingLicenseFeeCreatedEvent,
15
- Events::V2BillingLicenseFeeUpdatedEvent.lookup_type => Events::V2BillingLicenseFeeUpdatedEvent,
16
- Events::V2BillingLicenseFeeVersionCreatedEvent.lookup_type =>
17
- Events::V2BillingLicenseFeeVersionCreatedEvent,
18
- Events::V2BillingLicensedItemCreatedEvent.lookup_type => Events::V2BillingLicensedItemCreatedEvent,
19
- Events::V2BillingLicensedItemUpdatedEvent.lookup_type => Events::V2BillingLicensedItemUpdatedEvent,
20
- Events::V2BillingMeteredItemCreatedEvent.lookup_type => Events::V2BillingMeteredItemCreatedEvent,
21
- Events::V2BillingMeteredItemUpdatedEvent.lookup_type => Events::V2BillingMeteredItemUpdatedEvent,
22
- Events::V2BillingPricingPlanComponentCreatedEvent.lookup_type =>
23
- Events::V2BillingPricingPlanComponentCreatedEvent,
24
- Events::V2BillingPricingPlanComponentUpdatedEvent.lookup_type =>
25
- Events::V2BillingPricingPlanComponentUpdatedEvent,
26
- Events::V2BillingPricingPlanCreatedEvent.lookup_type => Events::V2BillingPricingPlanCreatedEvent,
27
- Events::V2BillingPricingPlanSubscriptionCollectionAwaitingCustomerActionEvent.lookup_type =>
28
- Events::V2BillingPricingPlanSubscriptionCollectionAwaitingCustomerActionEvent,
29
- Events::V2BillingPricingPlanSubscriptionCollectionCurrentEvent.lookup_type =>
30
- Events::V2BillingPricingPlanSubscriptionCollectionCurrentEvent,
31
- Events::V2BillingPricingPlanSubscriptionCollectionPastDueEvent.lookup_type =>
32
- Events::V2BillingPricingPlanSubscriptionCollectionPastDueEvent,
33
- Events::V2BillingPricingPlanSubscriptionCollectionPausedEvent.lookup_type =>
34
- Events::V2BillingPricingPlanSubscriptionCollectionPausedEvent,
35
- Events::V2BillingPricingPlanSubscriptionCollectionUnpaidEvent.lookup_type =>
36
- Events::V2BillingPricingPlanSubscriptionCollectionUnpaidEvent,
37
- Events::V2BillingPricingPlanSubscriptionServicingActivatedEvent.lookup_type =>
38
- Events::V2BillingPricingPlanSubscriptionServicingActivatedEvent,
39
- Events::V2BillingPricingPlanSubscriptionServicingCanceledEvent.lookup_type =>
40
- Events::V2BillingPricingPlanSubscriptionServicingCanceledEvent,
41
- Events::V2BillingPricingPlanSubscriptionServicingPausedEvent.lookup_type =>
42
- Events::V2BillingPricingPlanSubscriptionServicingPausedEvent,
43
- Events::V2BillingPricingPlanUpdatedEvent.lookup_type => Events::V2BillingPricingPlanUpdatedEvent,
44
- Events::V2BillingPricingPlanVersionCreatedEvent.lookup_type =>
45
- Events::V2BillingPricingPlanVersionCreatedEvent,
46
- Events::V2BillingRateCardCreatedEvent.lookup_type => Events::V2BillingRateCardCreatedEvent,
47
- Events::V2BillingRateCardCustomPricingUnitOverageRateCreatedEvent.lookup_type =>
48
- Events::V2BillingRateCardCustomPricingUnitOverageRateCreatedEvent,
49
- Events::V2BillingRateCardRateCreatedEvent.lookup_type => Events::V2BillingRateCardRateCreatedEvent,
50
- Events::V2BillingRateCardSubscriptionActivatedEvent.lookup_type =>
51
- Events::V2BillingRateCardSubscriptionActivatedEvent,
52
- Events::V2BillingRateCardSubscriptionCanceledEvent.lookup_type =>
53
- Events::V2BillingRateCardSubscriptionCanceledEvent,
54
- Events::V2BillingRateCardSubscriptionCollectionAwaitingCustomerActionEvent.lookup_type =>
55
- Events::V2BillingRateCardSubscriptionCollectionAwaitingCustomerActionEvent,
56
- Events::V2BillingRateCardSubscriptionCollectionCurrentEvent.lookup_type =>
57
- Events::V2BillingRateCardSubscriptionCollectionCurrentEvent,
58
- Events::V2BillingRateCardSubscriptionCollectionPastDueEvent.lookup_type =>
59
- Events::V2BillingRateCardSubscriptionCollectionPastDueEvent,
60
- Events::V2BillingRateCardSubscriptionCollectionPausedEvent.lookup_type =>
61
- Events::V2BillingRateCardSubscriptionCollectionPausedEvent,
62
- Events::V2BillingRateCardSubscriptionCollectionUnpaidEvent.lookup_type =>
63
- Events::V2BillingRateCardSubscriptionCollectionUnpaidEvent,
64
- Events::V2BillingRateCardSubscriptionServicingActivatedEvent.lookup_type =>
65
- Events::V2BillingRateCardSubscriptionServicingActivatedEvent,
66
- Events::V2BillingRateCardSubscriptionServicingCanceledEvent.lookup_type =>
67
- Events::V2BillingRateCardSubscriptionServicingCanceledEvent,
68
- Events::V2BillingRateCardSubscriptionServicingPausedEvent.lookup_type =>
69
- Events::V2BillingRateCardSubscriptionServicingPausedEvent,
70
- Events::V2BillingRateCardUpdatedEvent.lookup_type => Events::V2BillingRateCardUpdatedEvent,
71
- Events::V2BillingRateCardVersionCreatedEvent.lookup_type =>
72
- Events::V2BillingRateCardVersionCreatedEvent,
73
11
  Events::V2CoreAccountClosedEvent.lookup_type => Events::V2CoreAccountClosedEvent,
74
12
  Events::V2CoreAccountCreatedEvent.lookup_type => Events::V2CoreAccountCreatedEvent,
75
- Events::V2CoreAccountIncludingConfigurationCardCreatorCapabilityStatusUpdatedEvent.lookup_type =>
76
- Events::V2CoreAccountIncludingConfigurationCardCreatorCapabilityStatusUpdatedEvent,
77
- Events::V2CoreAccountIncludingConfigurationCardCreatorUpdatedEvent.lookup_type =>
78
- Events::V2CoreAccountIncludingConfigurationCardCreatorUpdatedEvent,
79
13
  Events::V2CoreAccountIncludingConfigurationCustomerCapabilityStatusUpdatedEvent.lookup_type =>
80
14
  Events::V2CoreAccountIncludingConfigurationCustomerCapabilityStatusUpdatedEvent,
81
15
  Events::V2CoreAccountIncludingConfigurationCustomerUpdatedEvent.lookup_type =>
@@ -105,73 +39,9 @@ module Stripe
105
39
  Events::V2CoreAccountPersonDeletedEvent.lookup_type => Events::V2CoreAccountPersonDeletedEvent,
106
40
  Events::V2CoreAccountPersonUpdatedEvent.lookup_type => Events::V2CoreAccountPersonUpdatedEvent,
107
41
  Events::V2CoreAccountUpdatedEvent.lookup_type => Events::V2CoreAccountUpdatedEvent,
108
- Events::V2CoreClaimableSandboxClaimedEvent.lookup_type =>
109
- Events::V2CoreClaimableSandboxClaimedEvent,
110
- Events::V2CoreClaimableSandboxCreatedEvent.lookup_type =>
111
- Events::V2CoreClaimableSandboxCreatedEvent,
112
- Events::V2CoreClaimableSandboxExpiredEvent.lookup_type =>
113
- Events::V2CoreClaimableSandboxExpiredEvent,
114
- Events::V2CoreClaimableSandboxExpiringEvent.lookup_type =>
115
- Events::V2CoreClaimableSandboxExpiringEvent,
116
- Events::V2CoreClaimableSandboxSandboxDetailsOwnerAccountUpdatedEvent.lookup_type =>
117
- Events::V2CoreClaimableSandboxSandboxDetailsOwnerAccountUpdatedEvent,
118
42
  Events::V2CoreEventDestinationPingEvent.lookup_type => Events::V2CoreEventDestinationPingEvent,
119
- Events::V2CoreHealthApiErrorFiringEvent.lookup_type => Events::V2CoreHealthApiErrorFiringEvent,
120
- Events::V2CoreHealthApiErrorResolvedEvent.lookup_type => Events::V2CoreHealthApiErrorResolvedEvent,
121
- Events::V2CoreHealthApiLatencyFiringEvent.lookup_type => Events::V2CoreHealthApiLatencyFiringEvent,
122
- Events::V2CoreHealthApiLatencyResolvedEvent.lookup_type =>
123
- Events::V2CoreHealthApiLatencyResolvedEvent,
124
- Events::V2CoreHealthAuthorizationRateDropFiringEvent.lookup_type =>
125
- Events::V2CoreHealthAuthorizationRateDropFiringEvent,
126
- Events::V2CoreHealthAuthorizationRateDropResolvedEvent.lookup_type =>
127
- Events::V2CoreHealthAuthorizationRateDropResolvedEvent,
128
43
  Events::V2CoreHealthEventGenerationFailureResolvedEvent.lookup_type =>
129
44
  Events::V2CoreHealthEventGenerationFailureResolvedEvent,
130
- Events::V2CoreHealthFraudRateIncreasedEvent.lookup_type =>
131
- Events::V2CoreHealthFraudRateIncreasedEvent,
132
- Events::V2CoreHealthIssuingAuthorizationRequestErrorsFiringEvent.lookup_type =>
133
- Events::V2CoreHealthIssuingAuthorizationRequestErrorsFiringEvent,
134
- Events::V2CoreHealthIssuingAuthorizationRequestErrorsResolvedEvent.lookup_type =>
135
- Events::V2CoreHealthIssuingAuthorizationRequestErrorsResolvedEvent,
136
- Events::V2CoreHealthIssuingAuthorizationRequestTimeoutFiringEvent.lookup_type =>
137
- Events::V2CoreHealthIssuingAuthorizationRequestTimeoutFiringEvent,
138
- Events::V2CoreHealthIssuingAuthorizationRequestTimeoutResolvedEvent.lookup_type =>
139
- Events::V2CoreHealthIssuingAuthorizationRequestTimeoutResolvedEvent,
140
- Events::V2CoreHealthPaymentMethodErrorFiringEvent.lookup_type =>
141
- Events::V2CoreHealthPaymentMethodErrorFiringEvent,
142
- Events::V2CoreHealthPaymentMethodErrorResolvedEvent.lookup_type =>
143
- Events::V2CoreHealthPaymentMethodErrorResolvedEvent,
144
- Events::V2CoreHealthSepaDebitDelayedFiringEvent.lookup_type =>
145
- Events::V2CoreHealthSepaDebitDelayedFiringEvent,
146
- Events::V2CoreHealthSepaDebitDelayedResolvedEvent.lookup_type =>
147
- Events::V2CoreHealthSepaDebitDelayedResolvedEvent,
148
- Events::V2CoreHealthTrafficVolumeDropFiringEvent.lookup_type =>
149
- Events::V2CoreHealthTrafficVolumeDropFiringEvent,
150
- Events::V2CoreHealthTrafficVolumeDropResolvedEvent.lookup_type =>
151
- Events::V2CoreHealthTrafficVolumeDropResolvedEvent,
152
- Events::V2CoreHealthWebhookLatencyFiringEvent.lookup_type =>
153
- Events::V2CoreHealthWebhookLatencyFiringEvent,
154
- Events::V2CoreHealthWebhookLatencyResolvedEvent.lookup_type =>
155
- Events::V2CoreHealthWebhookLatencyResolvedEvent,
156
- Events::V2IamApiKeyCreatedEvent.lookup_type => Events::V2IamApiKeyCreatedEvent,
157
- Events::V2IamApiKeyDefaultSecretRevealedEvent.lookup_type =>
158
- Events::V2IamApiKeyDefaultSecretRevealedEvent,
159
- Events::V2IamApiKeyExpiredEvent.lookup_type => Events::V2IamApiKeyExpiredEvent,
160
- Events::V2IamApiKeyPermissionsUpdatedEvent.lookup_type =>
161
- Events::V2IamApiKeyPermissionsUpdatedEvent,
162
- Events::V2IamApiKeyRotatedEvent.lookup_type => Events::V2IamApiKeyRotatedEvent,
163
- Events::V2IamApiKeyUpdatedEvent.lookup_type => Events::V2IamApiKeyUpdatedEvent,
164
- Events::V2IamStripeAccessGrantApprovedEvent.lookup_type =>
165
- Events::V2IamStripeAccessGrantApprovedEvent,
166
- Events::V2IamStripeAccessGrantCanceledEvent.lookup_type =>
167
- Events::V2IamStripeAccessGrantCanceledEvent,
168
- Events::V2IamStripeAccessGrantDeniedEvent.lookup_type => Events::V2IamStripeAccessGrantDeniedEvent,
169
- Events::V2IamStripeAccessGrantRemovedEvent.lookup_type =>
170
- Events::V2IamStripeAccessGrantRemovedEvent,
171
- Events::V2IamStripeAccessGrantRequestedEvent.lookup_type =>
172
- Events::V2IamStripeAccessGrantRequestedEvent,
173
- Events::V2IamStripeAccessGrantUpdatedEvent.lookup_type =>
174
- Events::V2IamStripeAccessGrantUpdatedEvent,
175
45
  Events::V2MoneyManagementAdjustmentCreatedEvent.lookup_type =>
176
46
  Events::V2MoneyManagementAdjustmentCreatedEvent,
177
47
  Events::V2MoneyManagementFinancialAccountCreatedEvent.lookup_type =>
@@ -240,59 +110,10 @@ module Stripe
240
110
  Events::V2MoneyManagementReceivedDebitSucceededEvent,
241
111
  Events::V2MoneyManagementReceivedDebitUpdatedEvent.lookup_type =>
242
112
  Events::V2MoneyManagementReceivedDebitUpdatedEvent,
243
- Events::V2MoneyManagementRecipientVerificationCreatedEvent.lookup_type =>
244
- Events::V2MoneyManagementRecipientVerificationCreatedEvent,
245
- Events::V2MoneyManagementRecipientVerificationUpdatedEvent.lookup_type =>
246
- Events::V2MoneyManagementRecipientVerificationUpdatedEvent,
247
113
  Events::V2MoneyManagementTransactionCreatedEvent.lookup_type =>
248
114
  Events::V2MoneyManagementTransactionCreatedEvent,
249
115
  Events::V2MoneyManagementTransactionUpdatedEvent.lookup_type =>
250
116
  Events::V2MoneyManagementTransactionUpdatedEvent,
251
- Events::V2PaymentsOffSessionPaymentAttemptFailedEvent.lookup_type =>
252
- Events::V2PaymentsOffSessionPaymentAttemptFailedEvent,
253
- Events::V2PaymentsOffSessionPaymentAttemptStartedEvent.lookup_type =>
254
- Events::V2PaymentsOffSessionPaymentAttemptStartedEvent,
255
- Events::V2PaymentsOffSessionPaymentAuthorizationAttemptFailedEvent.lookup_type =>
256
- Events::V2PaymentsOffSessionPaymentAuthorizationAttemptFailedEvent,
257
- Events::V2PaymentsOffSessionPaymentAuthorizationAttemptStartedEvent.lookup_type =>
258
- Events::V2PaymentsOffSessionPaymentAuthorizationAttemptStartedEvent,
259
- Events::V2PaymentsOffSessionPaymentCanceledEvent.lookup_type =>
260
- Events::V2PaymentsOffSessionPaymentCanceledEvent,
261
- Events::V2PaymentsOffSessionPaymentCreatedEvent.lookup_type =>
262
- Events::V2PaymentsOffSessionPaymentCreatedEvent,
263
- Events::V2PaymentsOffSessionPaymentFailedEvent.lookup_type =>
264
- Events::V2PaymentsOffSessionPaymentFailedEvent,
265
- Events::V2PaymentsOffSessionPaymentRequiresCaptureEvent.lookup_type =>
266
- Events::V2PaymentsOffSessionPaymentRequiresCaptureEvent,
267
- Events::V2PaymentsOffSessionPaymentSucceededEvent.lookup_type =>
268
- Events::V2PaymentsOffSessionPaymentSucceededEvent,
269
- Events::V2PaymentsSettlementAllocationIntentCanceledEvent.lookup_type =>
270
- Events::V2PaymentsSettlementAllocationIntentCanceledEvent,
271
- Events::V2PaymentsSettlementAllocationIntentCreatedEvent.lookup_type =>
272
- Events::V2PaymentsSettlementAllocationIntentCreatedEvent,
273
- Events::V2PaymentsSettlementAllocationIntentErroredEvent.lookup_type =>
274
- Events::V2PaymentsSettlementAllocationIntentErroredEvent,
275
- Events::V2PaymentsSettlementAllocationIntentFundsNotReceivedEvent.lookup_type =>
276
- Events::V2PaymentsSettlementAllocationIntentFundsNotReceivedEvent,
277
- Events::V2PaymentsSettlementAllocationIntentMatchedEvent.lookup_type =>
278
- Events::V2PaymentsSettlementAllocationIntentMatchedEvent,
279
- Events::V2PaymentsSettlementAllocationIntentNotFoundEvent.lookup_type =>
280
- Events::V2PaymentsSettlementAllocationIntentNotFoundEvent,
281
- Events::V2PaymentsSettlementAllocationIntentSettledEvent.lookup_type =>
282
- Events::V2PaymentsSettlementAllocationIntentSettledEvent,
283
- Events::V2PaymentsSettlementAllocationIntentSplitCanceledEvent.lookup_type =>
284
- Events::V2PaymentsSettlementAllocationIntentSplitCanceledEvent,
285
- Events::V2PaymentsSettlementAllocationIntentSplitCreatedEvent.lookup_type =>
286
- Events::V2PaymentsSettlementAllocationIntentSplitCreatedEvent,
287
- Events::V2PaymentsSettlementAllocationIntentSplitSettledEvent.lookup_type =>
288
- Events::V2PaymentsSettlementAllocationIntentSplitSettledEvent,
289
- Events::V2PaymentsSettlementAllocationIntentSubmittedEvent.lookup_type =>
290
- Events::V2PaymentsSettlementAllocationIntentSubmittedEvent,
291
- Events::V2ReportingReportRunCreatedEvent.lookup_type => Events::V2ReportingReportRunCreatedEvent,
292
- Events::V2ReportingReportRunFailedEvent.lookup_type => Events::V2ReportingReportRunFailedEvent,
293
- Events::V2ReportingReportRunSucceededEvent.lookup_type =>
294
- Events::V2ReportingReportRunSucceededEvent,
295
- Events::V2ReportingReportRunUpdatedEvent.lookup_type => Events::V2ReportingReportRunUpdatedEvent,
296
117
  # v2 event types: The end of the section generated from our OpenAPI spec
297
118
  }
298
119
  end
@@ -304,90 +125,10 @@ module Stripe
304
125
  Events::V1BillingMeterErrorReportTriggeredEventNotification,
305
126
  Events::V1BillingMeterNoMeterFoundEventNotification.lookup_type =>
306
127
  Events::V1BillingMeterNoMeterFoundEventNotification,
307
- Events::V2BillingCadenceBilledEventNotification.lookup_type =>
308
- Events::V2BillingCadenceBilledEventNotification,
309
- Events::V2BillingCadenceCanceledEventNotification.lookup_type =>
310
- Events::V2BillingCadenceCanceledEventNotification,
311
- Events::V2BillingCadenceCreatedEventNotification.lookup_type =>
312
- Events::V2BillingCadenceCreatedEventNotification,
313
- Events::V2BillingLicenseFeeCreatedEventNotification.lookup_type =>
314
- Events::V2BillingLicenseFeeCreatedEventNotification,
315
- Events::V2BillingLicenseFeeUpdatedEventNotification.lookup_type =>
316
- Events::V2BillingLicenseFeeUpdatedEventNotification,
317
- Events::V2BillingLicenseFeeVersionCreatedEventNotification.lookup_type =>
318
- Events::V2BillingLicenseFeeVersionCreatedEventNotification,
319
- Events::V2BillingLicensedItemCreatedEventNotification.lookup_type =>
320
- Events::V2BillingLicensedItemCreatedEventNotification,
321
- Events::V2BillingLicensedItemUpdatedEventNotification.lookup_type =>
322
- Events::V2BillingLicensedItemUpdatedEventNotification,
323
- Events::V2BillingMeteredItemCreatedEventNotification.lookup_type =>
324
- Events::V2BillingMeteredItemCreatedEventNotification,
325
- Events::V2BillingMeteredItemUpdatedEventNotification.lookup_type =>
326
- Events::V2BillingMeteredItemUpdatedEventNotification,
327
- Events::V2BillingPricingPlanComponentCreatedEventNotification.lookup_type =>
328
- Events::V2BillingPricingPlanComponentCreatedEventNotification,
329
- Events::V2BillingPricingPlanComponentUpdatedEventNotification.lookup_type =>
330
- Events::V2BillingPricingPlanComponentUpdatedEventNotification,
331
- Events::V2BillingPricingPlanCreatedEventNotification.lookup_type =>
332
- Events::V2BillingPricingPlanCreatedEventNotification,
333
- Events::V2BillingPricingPlanSubscriptionCollectionAwaitingCustomerActionEventNotification.lookup_type =>
334
- Events::V2BillingPricingPlanSubscriptionCollectionAwaitingCustomerActionEventNotification,
335
- Events::V2BillingPricingPlanSubscriptionCollectionCurrentEventNotification.lookup_type =>
336
- Events::V2BillingPricingPlanSubscriptionCollectionCurrentEventNotification,
337
- Events::V2BillingPricingPlanSubscriptionCollectionPastDueEventNotification.lookup_type =>
338
- Events::V2BillingPricingPlanSubscriptionCollectionPastDueEventNotification,
339
- Events::V2BillingPricingPlanSubscriptionCollectionPausedEventNotification.lookup_type =>
340
- Events::V2BillingPricingPlanSubscriptionCollectionPausedEventNotification,
341
- Events::V2BillingPricingPlanSubscriptionCollectionUnpaidEventNotification.lookup_type =>
342
- Events::V2BillingPricingPlanSubscriptionCollectionUnpaidEventNotification,
343
- Events::V2BillingPricingPlanSubscriptionServicingActivatedEventNotification.lookup_type =>
344
- Events::V2BillingPricingPlanSubscriptionServicingActivatedEventNotification,
345
- Events::V2BillingPricingPlanSubscriptionServicingCanceledEventNotification.lookup_type =>
346
- Events::V2BillingPricingPlanSubscriptionServicingCanceledEventNotification,
347
- Events::V2BillingPricingPlanSubscriptionServicingPausedEventNotification.lookup_type =>
348
- Events::V2BillingPricingPlanSubscriptionServicingPausedEventNotification,
349
- Events::V2BillingPricingPlanUpdatedEventNotification.lookup_type =>
350
- Events::V2BillingPricingPlanUpdatedEventNotification,
351
- Events::V2BillingPricingPlanVersionCreatedEventNotification.lookup_type =>
352
- Events::V2BillingPricingPlanVersionCreatedEventNotification,
353
- Events::V2BillingRateCardCreatedEventNotification.lookup_type =>
354
- Events::V2BillingRateCardCreatedEventNotification,
355
- Events::V2BillingRateCardCustomPricingUnitOverageRateCreatedEventNotification.lookup_type =>
356
- Events::V2BillingRateCardCustomPricingUnitOverageRateCreatedEventNotification,
357
- Events::V2BillingRateCardRateCreatedEventNotification.lookup_type =>
358
- Events::V2BillingRateCardRateCreatedEventNotification,
359
- Events::V2BillingRateCardSubscriptionActivatedEventNotification.lookup_type =>
360
- Events::V2BillingRateCardSubscriptionActivatedEventNotification,
361
- Events::V2BillingRateCardSubscriptionCanceledEventNotification.lookup_type =>
362
- Events::V2BillingRateCardSubscriptionCanceledEventNotification,
363
- Events::V2BillingRateCardSubscriptionCollectionAwaitingCustomerActionEventNotification.lookup_type =>
364
- Events::V2BillingRateCardSubscriptionCollectionAwaitingCustomerActionEventNotification,
365
- Events::V2BillingRateCardSubscriptionCollectionCurrentEventNotification.lookup_type =>
366
- Events::V2BillingRateCardSubscriptionCollectionCurrentEventNotification,
367
- Events::V2BillingRateCardSubscriptionCollectionPastDueEventNotification.lookup_type =>
368
- Events::V2BillingRateCardSubscriptionCollectionPastDueEventNotification,
369
- Events::V2BillingRateCardSubscriptionCollectionPausedEventNotification.lookup_type =>
370
- Events::V2BillingRateCardSubscriptionCollectionPausedEventNotification,
371
- Events::V2BillingRateCardSubscriptionCollectionUnpaidEventNotification.lookup_type =>
372
- Events::V2BillingRateCardSubscriptionCollectionUnpaidEventNotification,
373
- Events::V2BillingRateCardSubscriptionServicingActivatedEventNotification.lookup_type =>
374
- Events::V2BillingRateCardSubscriptionServicingActivatedEventNotification,
375
- Events::V2BillingRateCardSubscriptionServicingCanceledEventNotification.lookup_type =>
376
- Events::V2BillingRateCardSubscriptionServicingCanceledEventNotification,
377
- Events::V2BillingRateCardSubscriptionServicingPausedEventNotification.lookup_type =>
378
- Events::V2BillingRateCardSubscriptionServicingPausedEventNotification,
379
- Events::V2BillingRateCardUpdatedEventNotification.lookup_type =>
380
- Events::V2BillingRateCardUpdatedEventNotification,
381
- Events::V2BillingRateCardVersionCreatedEventNotification.lookup_type =>
382
- Events::V2BillingRateCardVersionCreatedEventNotification,
383
128
  Events::V2CoreAccountClosedEventNotification.lookup_type =>
384
129
  Events::V2CoreAccountClosedEventNotification,
385
130
  Events::V2CoreAccountCreatedEventNotification.lookup_type =>
386
131
  Events::V2CoreAccountCreatedEventNotification,
387
- Events::V2CoreAccountIncludingConfigurationCardCreatorCapabilityStatusUpdatedEventNotification.lookup_type =>
388
- Events::V2CoreAccountIncludingConfigurationCardCreatorCapabilityStatusUpdatedEventNotification,
389
- Events::V2CoreAccountIncludingConfigurationCardCreatorUpdatedEventNotification.lookup_type =>
390
- Events::V2CoreAccountIncludingConfigurationCardCreatorUpdatedEventNotification,
391
132
  Events::V2CoreAccountIncludingConfigurationCustomerCapabilityStatusUpdatedEventNotification.lookup_type =>
392
133
  Events::V2CoreAccountIncludingConfigurationCustomerCapabilityStatusUpdatedEventNotification,
393
134
  Events::V2CoreAccountIncludingConfigurationCustomerUpdatedEventNotification.lookup_type =>
@@ -422,82 +163,10 @@ module Stripe
422
163
  Events::V2CoreAccountPersonUpdatedEventNotification,
423
164
  Events::V2CoreAccountUpdatedEventNotification.lookup_type =>
424
165
  Events::V2CoreAccountUpdatedEventNotification,
425
- Events::V2CoreClaimableSandboxClaimedEventNotification.lookup_type =>
426
- Events::V2CoreClaimableSandboxClaimedEventNotification,
427
- Events::V2CoreClaimableSandboxCreatedEventNotification.lookup_type =>
428
- Events::V2CoreClaimableSandboxCreatedEventNotification,
429
- Events::V2CoreClaimableSandboxExpiredEventNotification.lookup_type =>
430
- Events::V2CoreClaimableSandboxExpiredEventNotification,
431
- Events::V2CoreClaimableSandboxExpiringEventNotification.lookup_type =>
432
- Events::V2CoreClaimableSandboxExpiringEventNotification,
433
- Events::V2CoreClaimableSandboxSandboxDetailsOwnerAccountUpdatedEventNotification.lookup_type =>
434
- Events::V2CoreClaimableSandboxSandboxDetailsOwnerAccountUpdatedEventNotification,
435
166
  Events::V2CoreEventDestinationPingEventNotification.lookup_type =>
436
167
  Events::V2CoreEventDestinationPingEventNotification,
437
- Events::V2CoreHealthApiErrorFiringEventNotification.lookup_type =>
438
- Events::V2CoreHealthApiErrorFiringEventNotification,
439
- Events::V2CoreHealthApiErrorResolvedEventNotification.lookup_type =>
440
- Events::V2CoreHealthApiErrorResolvedEventNotification,
441
- Events::V2CoreHealthApiLatencyFiringEventNotification.lookup_type =>
442
- Events::V2CoreHealthApiLatencyFiringEventNotification,
443
- Events::V2CoreHealthApiLatencyResolvedEventNotification.lookup_type =>
444
- Events::V2CoreHealthApiLatencyResolvedEventNotification,
445
- Events::V2CoreHealthAuthorizationRateDropFiringEventNotification.lookup_type =>
446
- Events::V2CoreHealthAuthorizationRateDropFiringEventNotification,
447
- Events::V2CoreHealthAuthorizationRateDropResolvedEventNotification.lookup_type =>
448
- Events::V2CoreHealthAuthorizationRateDropResolvedEventNotification,
449
168
  Events::V2CoreHealthEventGenerationFailureResolvedEventNotification.lookup_type =>
450
169
  Events::V2CoreHealthEventGenerationFailureResolvedEventNotification,
451
- Events::V2CoreHealthFraudRateIncreasedEventNotification.lookup_type =>
452
- Events::V2CoreHealthFraudRateIncreasedEventNotification,
453
- Events::V2CoreHealthIssuingAuthorizationRequestErrorsFiringEventNotification.lookup_type =>
454
- Events::V2CoreHealthIssuingAuthorizationRequestErrorsFiringEventNotification,
455
- Events::V2CoreHealthIssuingAuthorizationRequestErrorsResolvedEventNotification.lookup_type =>
456
- Events::V2CoreHealthIssuingAuthorizationRequestErrorsResolvedEventNotification,
457
- Events::V2CoreHealthIssuingAuthorizationRequestTimeoutFiringEventNotification.lookup_type =>
458
- Events::V2CoreHealthIssuingAuthorizationRequestTimeoutFiringEventNotification,
459
- Events::V2CoreHealthIssuingAuthorizationRequestTimeoutResolvedEventNotification.lookup_type =>
460
- Events::V2CoreHealthIssuingAuthorizationRequestTimeoutResolvedEventNotification,
461
- Events::V2CoreHealthPaymentMethodErrorFiringEventNotification.lookup_type =>
462
- Events::V2CoreHealthPaymentMethodErrorFiringEventNotification,
463
- Events::V2CoreHealthPaymentMethodErrorResolvedEventNotification.lookup_type =>
464
- Events::V2CoreHealthPaymentMethodErrorResolvedEventNotification,
465
- Events::V2CoreHealthSepaDebitDelayedFiringEventNotification.lookup_type =>
466
- Events::V2CoreHealthSepaDebitDelayedFiringEventNotification,
467
- Events::V2CoreHealthSepaDebitDelayedResolvedEventNotification.lookup_type =>
468
- Events::V2CoreHealthSepaDebitDelayedResolvedEventNotification,
469
- Events::V2CoreHealthTrafficVolumeDropFiringEventNotification.lookup_type =>
470
- Events::V2CoreHealthTrafficVolumeDropFiringEventNotification,
471
- Events::V2CoreHealthTrafficVolumeDropResolvedEventNotification.lookup_type =>
472
- Events::V2CoreHealthTrafficVolumeDropResolvedEventNotification,
473
- Events::V2CoreHealthWebhookLatencyFiringEventNotification.lookup_type =>
474
- Events::V2CoreHealthWebhookLatencyFiringEventNotification,
475
- Events::V2CoreHealthWebhookLatencyResolvedEventNotification.lookup_type =>
476
- Events::V2CoreHealthWebhookLatencyResolvedEventNotification,
477
- Events::V2IamApiKeyCreatedEventNotification.lookup_type =>
478
- Events::V2IamApiKeyCreatedEventNotification,
479
- Events::V2IamApiKeyDefaultSecretRevealedEventNotification.lookup_type =>
480
- Events::V2IamApiKeyDefaultSecretRevealedEventNotification,
481
- Events::V2IamApiKeyExpiredEventNotification.lookup_type =>
482
- Events::V2IamApiKeyExpiredEventNotification,
483
- Events::V2IamApiKeyPermissionsUpdatedEventNotification.lookup_type =>
484
- Events::V2IamApiKeyPermissionsUpdatedEventNotification,
485
- Events::V2IamApiKeyRotatedEventNotification.lookup_type =>
486
- Events::V2IamApiKeyRotatedEventNotification,
487
- Events::V2IamApiKeyUpdatedEventNotification.lookup_type =>
488
- Events::V2IamApiKeyUpdatedEventNotification,
489
- Events::V2IamStripeAccessGrantApprovedEventNotification.lookup_type =>
490
- Events::V2IamStripeAccessGrantApprovedEventNotification,
491
- Events::V2IamStripeAccessGrantCanceledEventNotification.lookup_type =>
492
- Events::V2IamStripeAccessGrantCanceledEventNotification,
493
- Events::V2IamStripeAccessGrantDeniedEventNotification.lookup_type =>
494
- Events::V2IamStripeAccessGrantDeniedEventNotification,
495
- Events::V2IamStripeAccessGrantRemovedEventNotification.lookup_type =>
496
- Events::V2IamStripeAccessGrantRemovedEventNotification,
497
- Events::V2IamStripeAccessGrantRequestedEventNotification.lookup_type =>
498
- Events::V2IamStripeAccessGrantRequestedEventNotification,
499
- Events::V2IamStripeAccessGrantUpdatedEventNotification.lookup_type =>
500
- Events::V2IamStripeAccessGrantUpdatedEventNotification,
501
170
  Events::V2MoneyManagementAdjustmentCreatedEventNotification.lookup_type =>
502
171
  Events::V2MoneyManagementAdjustmentCreatedEventNotification,
503
172
  Events::V2MoneyManagementFinancialAccountCreatedEventNotification.lookup_type =>
@@ -566,62 +235,10 @@ module Stripe
566
235
  Events::V2MoneyManagementReceivedDebitSucceededEventNotification,
567
236
  Events::V2MoneyManagementReceivedDebitUpdatedEventNotification.lookup_type =>
568
237
  Events::V2MoneyManagementReceivedDebitUpdatedEventNotification,
569
- Events::V2MoneyManagementRecipientVerificationCreatedEventNotification.lookup_type =>
570
- Events::V2MoneyManagementRecipientVerificationCreatedEventNotification,
571
- Events::V2MoneyManagementRecipientVerificationUpdatedEventNotification.lookup_type =>
572
- Events::V2MoneyManagementRecipientVerificationUpdatedEventNotification,
573
238
  Events::V2MoneyManagementTransactionCreatedEventNotification.lookup_type =>
574
239
  Events::V2MoneyManagementTransactionCreatedEventNotification,
575
240
  Events::V2MoneyManagementTransactionUpdatedEventNotification.lookup_type =>
576
241
  Events::V2MoneyManagementTransactionUpdatedEventNotification,
577
- Events::V2PaymentsOffSessionPaymentAttemptFailedEventNotification.lookup_type =>
578
- Events::V2PaymentsOffSessionPaymentAttemptFailedEventNotification,
579
- Events::V2PaymentsOffSessionPaymentAttemptStartedEventNotification.lookup_type =>
580
- Events::V2PaymentsOffSessionPaymentAttemptStartedEventNotification,
581
- Events::V2PaymentsOffSessionPaymentAuthorizationAttemptFailedEventNotification.lookup_type =>
582
- Events::V2PaymentsOffSessionPaymentAuthorizationAttemptFailedEventNotification,
583
- Events::V2PaymentsOffSessionPaymentAuthorizationAttemptStartedEventNotification.lookup_type =>
584
- Events::V2PaymentsOffSessionPaymentAuthorizationAttemptStartedEventNotification,
585
- Events::V2PaymentsOffSessionPaymentCanceledEventNotification.lookup_type =>
586
- Events::V2PaymentsOffSessionPaymentCanceledEventNotification,
587
- Events::V2PaymentsOffSessionPaymentCreatedEventNotification.lookup_type =>
588
- Events::V2PaymentsOffSessionPaymentCreatedEventNotification,
589
- Events::V2PaymentsOffSessionPaymentFailedEventNotification.lookup_type =>
590
- Events::V2PaymentsOffSessionPaymentFailedEventNotification,
591
- Events::V2PaymentsOffSessionPaymentRequiresCaptureEventNotification.lookup_type =>
592
- Events::V2PaymentsOffSessionPaymentRequiresCaptureEventNotification,
593
- Events::V2PaymentsOffSessionPaymentSucceededEventNotification.lookup_type =>
594
- Events::V2PaymentsOffSessionPaymentSucceededEventNotification,
595
- Events::V2PaymentsSettlementAllocationIntentCanceledEventNotification.lookup_type =>
596
- Events::V2PaymentsSettlementAllocationIntentCanceledEventNotification,
597
- Events::V2PaymentsSettlementAllocationIntentCreatedEventNotification.lookup_type =>
598
- Events::V2PaymentsSettlementAllocationIntentCreatedEventNotification,
599
- Events::V2PaymentsSettlementAllocationIntentErroredEventNotification.lookup_type =>
600
- Events::V2PaymentsSettlementAllocationIntentErroredEventNotification,
601
- Events::V2PaymentsSettlementAllocationIntentFundsNotReceivedEventNotification.lookup_type =>
602
- Events::V2PaymentsSettlementAllocationIntentFundsNotReceivedEventNotification,
603
- Events::V2PaymentsSettlementAllocationIntentMatchedEventNotification.lookup_type =>
604
- Events::V2PaymentsSettlementAllocationIntentMatchedEventNotification,
605
- Events::V2PaymentsSettlementAllocationIntentNotFoundEventNotification.lookup_type =>
606
- Events::V2PaymentsSettlementAllocationIntentNotFoundEventNotification,
607
- Events::V2PaymentsSettlementAllocationIntentSettledEventNotification.lookup_type =>
608
- Events::V2PaymentsSettlementAllocationIntentSettledEventNotification,
609
- Events::V2PaymentsSettlementAllocationIntentSplitCanceledEventNotification.lookup_type =>
610
- Events::V2PaymentsSettlementAllocationIntentSplitCanceledEventNotification,
611
- Events::V2PaymentsSettlementAllocationIntentSplitCreatedEventNotification.lookup_type =>
612
- Events::V2PaymentsSettlementAllocationIntentSplitCreatedEventNotification,
613
- Events::V2PaymentsSettlementAllocationIntentSplitSettledEventNotification.lookup_type =>
614
- Events::V2PaymentsSettlementAllocationIntentSplitSettledEventNotification,
615
- Events::V2PaymentsSettlementAllocationIntentSubmittedEventNotification.lookup_type =>
616
- Events::V2PaymentsSettlementAllocationIntentSubmittedEventNotification,
617
- Events::V2ReportingReportRunCreatedEventNotification.lookup_type =>
618
- Events::V2ReportingReportRunCreatedEventNotification,
619
- Events::V2ReportingReportRunFailedEventNotification.lookup_type =>
620
- Events::V2ReportingReportRunFailedEventNotification,
621
- Events::V2ReportingReportRunSucceededEventNotification.lookup_type =>
622
- Events::V2ReportingReportRunSucceededEventNotification,
623
- Events::V2ReportingReportRunUpdatedEventNotification.lookup_type =>
624
- Events::V2ReportingReportRunUpdatedEventNotification,
625
242
  # event notification types: The end of the section generated from our OpenAPI spec
626
243
  }
627
244
  end
@@ -95,7 +95,7 @@ module Stripe
95
95
  method: :get,
96
96
  path: related_object.url,
97
97
  base_address: :api,
98
- opts: { stripe_context: context, "Stripe-Request-Trigger": "event=#{id}" }
98
+ opts: { stripe_context: context }
99
99
  )
100
100
  end
101
101
  end
@@ -113,7 +113,7 @@ module Stripe
113
113
  resp = @client.raw_request(
114
114
  :get,
115
115
  related_object.url,
116
- opts: { stripe_context: context, "Stripe-Request-Trigger": "event=#{id}" },
116
+ opts: { stripe_context: context },
117
117
  usage: ["fetch_related_object"]
118
118
  )
119
119
  @client.deserialize(resp.http_body, api_mode: Util.get_api_mode(related_object.url))
@@ -15,7 +15,7 @@ module Stripe
15
15
  method: :get,
16
16
  path: related_object.url,
17
17
  base_address: :api,
18
- opts: { stripe_context: context, "Stripe-Request-Trigger": "event=#{id}" }
18
+ opts: { stripe_context: context }
19
19
  )
20
20
  end
21
21
  attr_reader :related_object
@@ -34,7 +34,7 @@ module Stripe
34
34
  resp = @client.raw_request(
35
35
  :get,
36
36
  related_object.url,
37
- opts: { stripe_context: context, "Stripe-Request-Trigger": "event=#{id}" },
37
+ opts: { stripe_context: context },
38
38
  usage: ["fetch_related_object"]
39
39
  )
40
40
  @client.deserialize(resp.http_body, api_mode: Util.get_api_mode(related_object.url))
@@ -15,7 +15,7 @@ module Stripe
15
15
  method: :get,
16
16
  path: related_object.url,
17
17
  base_address: :api,
18
- opts: { stripe_context: context, "Stripe-Request-Trigger": "event=#{id}" }
18
+ opts: { stripe_context: context }
19
19
  )
20
20
  end
21
21
  attr_reader :related_object
@@ -34,7 +34,7 @@ module Stripe
34
34
  resp = @client.raw_request(
35
35
  :get,
36
36
  related_object.url,
37
- opts: { stripe_context: context, "Stripe-Request-Trigger": "event=#{id}" },
37
+ opts: { stripe_context: context },
38
38
  usage: ["fetch_related_object"]
39
39
  )
40
40
  @client.deserialize(resp.http_body, api_mode: Util.get_api_mode(related_object.url))