stripe 19.4.0 → 19.5.0.pre.alpha.2

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 (1408) hide show
  1. checksums.yaml +4 -4
  2. data/lib/stripe/api_requestor.rb +38 -0
  3. data/lib/stripe/api_version.rb +2 -2
  4. data/lib/stripe/connection_manager.rb +30 -0
  5. data/lib/stripe/error_object.rb +5 -0
  6. data/lib/stripe/errors.rb +90 -0
  7. data/lib/stripe/event_types.rb +1383 -0
  8. data/lib/stripe/events/unknown_event_notification.rb +1 -0
  9. data/lib/stripe/events/v1_account_application_authorized_event.rb +20 -0
  10. data/lib/stripe/events/v1_account_application_deauthorized_event.rb +20 -0
  11. data/lib/stripe/events/v1_account_external_account_created_event.rb +20 -0
  12. data/lib/stripe/events/v1_account_external_account_deleted_event.rb +20 -0
  13. data/lib/stripe/events/v1_account_external_account_updated_event.rb +20 -0
  14. data/lib/stripe/events/v1_account_signals_including_delinquency_created_event.rb +68 -0
  15. data/lib/stripe/events/v1_account_updated_event.rb +44 -0
  16. data/lib/stripe/events/v1_application_fee_created_event.rb +44 -0
  17. data/lib/stripe/events/v1_application_fee_refund_updated_event.rb +44 -0
  18. data/lib/stripe/events/v1_application_fee_refunded_event.rb +44 -0
  19. data/lib/stripe/events/v1_balance_available_event.rb +44 -0
  20. data/lib/stripe/events/v1_billing_alert_triggered_event.rb +44 -0
  21. data/lib/stripe/events/v1_billing_portal_configuration_created_event.rb +44 -0
  22. data/lib/stripe/events/v1_billing_portal_configuration_updated_event.rb +44 -0
  23. data/lib/stripe/events/v1_billing_portal_session_created_event.rb +20 -0
  24. data/lib/stripe/events/v1_capability_updated_event.rb +44 -0
  25. data/lib/stripe/events/v1_cash_balance_funds_available_event.rb +44 -0
  26. data/lib/stripe/events/v1_charge_captured_event.rb +44 -0
  27. data/lib/stripe/events/v1_charge_dispute_closed_event.rb +44 -0
  28. data/lib/stripe/events/v1_charge_dispute_created_event.rb +44 -0
  29. data/lib/stripe/events/v1_charge_dispute_funds_reinstated_event.rb +44 -0
  30. data/lib/stripe/events/v1_charge_dispute_funds_withdrawn_event.rb +44 -0
  31. data/lib/stripe/events/v1_charge_dispute_updated_event.rb +44 -0
  32. data/lib/stripe/events/v1_charge_expired_event.rb +44 -0
  33. data/lib/stripe/events/v1_charge_failed_event.rb +44 -0
  34. data/lib/stripe/events/v1_charge_pending_event.rb +44 -0
  35. data/lib/stripe/events/v1_charge_refund_updated_event.rb +44 -0
  36. data/lib/stripe/events/v1_charge_refunded_event.rb +44 -0
  37. data/lib/stripe/events/v1_charge_succeeded_event.rb +44 -0
  38. data/lib/stripe/events/v1_charge_updated_event.rb +44 -0
  39. data/lib/stripe/events/v1_checkout_session_async_payment_failed_event.rb +44 -0
  40. data/lib/stripe/events/v1_checkout_session_async_payment_succeeded_event.rb +44 -0
  41. data/lib/stripe/events/v1_checkout_session_completed_event.rb +44 -0
  42. data/lib/stripe/events/v1_checkout_session_expired_event.rb +44 -0
  43. data/lib/stripe/events/v1_climate_order_canceled_event.rb +44 -0
  44. data/lib/stripe/events/v1_climate_order_created_event.rb +44 -0
  45. data/lib/stripe/events/v1_climate_order_delayed_event.rb +44 -0
  46. data/lib/stripe/events/v1_climate_order_delivered_event.rb +44 -0
  47. data/lib/stripe/events/v1_climate_order_product_substituted_event.rb +44 -0
  48. data/lib/stripe/events/v1_climate_product_created_event.rb +44 -0
  49. data/lib/stripe/events/v1_climate_product_pricing_updated_event.rb +44 -0
  50. data/lib/stripe/events/v1_coupon_created_event.rb +44 -0
  51. data/lib/stripe/events/v1_coupon_deleted_event.rb +44 -0
  52. data/lib/stripe/events/v1_coupon_updated_event.rb +44 -0
  53. data/lib/stripe/events/v1_credit_note_created_event.rb +44 -0
  54. data/lib/stripe/events/v1_credit_note_updated_event.rb +44 -0
  55. data/lib/stripe/events/v1_credit_note_voided_event.rb +44 -0
  56. data/lib/stripe/events/v1_customer_cash_balance_transaction_created_event.rb +44 -0
  57. data/lib/stripe/events/v1_customer_created_event.rb +44 -0
  58. data/lib/stripe/events/v1_customer_deleted_event.rb +44 -0
  59. data/lib/stripe/events/v1_customer_subscription_created_event.rb +44 -0
  60. data/lib/stripe/events/v1_customer_subscription_deleted_event.rb +44 -0
  61. data/lib/stripe/events/v1_customer_subscription_paused_event.rb +44 -0
  62. data/lib/stripe/events/v1_customer_subscription_pending_update_applied_event.rb +44 -0
  63. data/lib/stripe/events/v1_customer_subscription_pending_update_expired_event.rb +44 -0
  64. data/lib/stripe/events/v1_customer_subscription_resumed_event.rb +44 -0
  65. data/lib/stripe/events/v1_customer_subscription_trial_will_end_event.rb +44 -0
  66. data/lib/stripe/events/v1_customer_subscription_updated_event.rb +44 -0
  67. data/lib/stripe/events/v1_customer_tax_id_created_event.rb +44 -0
  68. data/lib/stripe/events/v1_customer_tax_id_deleted_event.rb +44 -0
  69. data/lib/stripe/events/v1_customer_tax_id_updated_event.rb +44 -0
  70. data/lib/stripe/events/v1_customer_updated_event.rb +44 -0
  71. data/lib/stripe/events/v1_entitlements_active_entitlement_summary_updated_event.rb +20 -0
  72. data/lib/stripe/events/v1_file_created_event.rb +44 -0
  73. data/lib/stripe/events/v1_financial_connections_account_created_event.rb +44 -0
  74. data/lib/stripe/events/v1_financial_connections_account_deactivated_event.rb +44 -0
  75. data/lib/stripe/events/v1_financial_connections_account_disconnected_event.rb +44 -0
  76. data/lib/stripe/events/v1_financial_connections_account_reactivated_event.rb +44 -0
  77. data/lib/stripe/events/v1_financial_connections_account_refreshed_balance_event.rb +44 -0
  78. data/lib/stripe/events/v1_financial_connections_account_refreshed_ownership_event.rb +44 -0
  79. data/lib/stripe/events/v1_financial_connections_account_refreshed_transactions_event.rb +44 -0
  80. data/lib/stripe/events/v1_identity_verification_session_canceled_event.rb +44 -0
  81. data/lib/stripe/events/v1_identity_verification_session_created_event.rb +44 -0
  82. data/lib/stripe/events/v1_identity_verification_session_processing_event.rb +44 -0
  83. data/lib/stripe/events/v1_identity_verification_session_redacted_event.rb +44 -0
  84. data/lib/stripe/events/v1_identity_verification_session_requires_input_event.rb +44 -0
  85. data/lib/stripe/events/v1_identity_verification_session_verified_event.rb +44 -0
  86. data/lib/stripe/events/v1_invoice_created_event.rb +44 -0
  87. data/lib/stripe/events/v1_invoice_deleted_event.rb +44 -0
  88. data/lib/stripe/events/v1_invoice_finalization_failed_event.rb +44 -0
  89. data/lib/stripe/events/v1_invoice_finalized_event.rb +44 -0
  90. data/lib/stripe/events/v1_invoice_marked_uncollectible_event.rb +44 -0
  91. data/lib/stripe/events/v1_invoice_overdue_event.rb +44 -0
  92. data/lib/stripe/events/v1_invoice_overpaid_event.rb +44 -0
  93. data/lib/stripe/events/v1_invoice_paid_event.rb +44 -0
  94. data/lib/stripe/events/v1_invoice_payment_action_required_event.rb +44 -0
  95. data/lib/stripe/events/v1_invoice_payment_failed_event.rb +44 -0
  96. data/lib/stripe/events/v1_invoice_payment_paid_event.rb +44 -0
  97. data/lib/stripe/events/v1_invoice_payment_succeeded_event.rb +44 -0
  98. data/lib/stripe/events/v1_invoice_sent_event.rb +44 -0
  99. data/lib/stripe/events/v1_invoice_upcoming_event.rb +44 -0
  100. data/lib/stripe/events/v1_invoice_updated_event.rb +44 -0
  101. data/lib/stripe/events/v1_invoice_voided_event.rb +44 -0
  102. data/lib/stripe/events/v1_invoice_will_be_due_event.rb +44 -0
  103. data/lib/stripe/events/v1_invoiceitem_created_event.rb +44 -0
  104. data/lib/stripe/events/v1_invoiceitem_deleted_event.rb +44 -0
  105. data/lib/stripe/events/v1_issuing_authorization_created_event.rb +44 -0
  106. data/lib/stripe/events/v1_issuing_authorization_request_event.rb +44 -0
  107. data/lib/stripe/events/v1_issuing_authorization_updated_event.rb +44 -0
  108. data/lib/stripe/events/v1_issuing_card_created_event.rb +44 -0
  109. data/lib/stripe/events/v1_issuing_card_updated_event.rb +44 -0
  110. data/lib/stripe/events/v1_issuing_cardholder_created_event.rb +44 -0
  111. data/lib/stripe/events/v1_issuing_cardholder_updated_event.rb +44 -0
  112. data/lib/stripe/events/v1_issuing_dispute_closed_event.rb +44 -0
  113. data/lib/stripe/events/v1_issuing_dispute_created_event.rb +44 -0
  114. data/lib/stripe/events/v1_issuing_dispute_funds_reinstated_event.rb +44 -0
  115. data/lib/stripe/events/v1_issuing_dispute_funds_rescinded_event.rb +44 -0
  116. data/lib/stripe/events/v1_issuing_dispute_submitted_event.rb +44 -0
  117. data/lib/stripe/events/v1_issuing_dispute_updated_event.rb +44 -0
  118. data/lib/stripe/events/v1_issuing_personalization_design_activated_event.rb +44 -0
  119. data/lib/stripe/events/v1_issuing_personalization_design_deactivated_event.rb +44 -0
  120. data/lib/stripe/events/v1_issuing_personalization_design_rejected_event.rb +44 -0
  121. data/lib/stripe/events/v1_issuing_personalization_design_updated_event.rb +44 -0
  122. data/lib/stripe/events/v1_issuing_token_created_event.rb +44 -0
  123. data/lib/stripe/events/v1_issuing_token_updated_event.rb +44 -0
  124. data/lib/stripe/events/v1_issuing_transaction_created_event.rb +44 -0
  125. data/lib/stripe/events/v1_issuing_transaction_purchase_details_receipt_updated_event.rb +44 -0
  126. data/lib/stripe/events/v1_issuing_transaction_updated_event.rb +44 -0
  127. data/lib/stripe/events/v1_mandate_updated_event.rb +44 -0
  128. data/lib/stripe/events/v1_payment_intent_amount_capturable_updated_event.rb +44 -0
  129. data/lib/stripe/events/v1_payment_intent_canceled_event.rb +44 -0
  130. data/lib/stripe/events/v1_payment_intent_created_event.rb +44 -0
  131. data/lib/stripe/events/v1_payment_intent_partially_funded_event.rb +44 -0
  132. data/lib/stripe/events/v1_payment_intent_payment_failed_event.rb +44 -0
  133. data/lib/stripe/events/v1_payment_intent_processing_event.rb +44 -0
  134. data/lib/stripe/events/v1_payment_intent_requires_action_event.rb +44 -0
  135. data/lib/stripe/events/v1_payment_intent_succeeded_event.rb +44 -0
  136. data/lib/stripe/events/v1_payment_link_created_event.rb +44 -0
  137. data/lib/stripe/events/v1_payment_link_updated_event.rb +44 -0
  138. data/lib/stripe/events/v1_payment_method_attached_event.rb +44 -0
  139. data/lib/stripe/events/v1_payment_method_automatically_updated_event.rb +44 -0
  140. data/lib/stripe/events/v1_payment_method_detached_event.rb +44 -0
  141. data/lib/stripe/events/v1_payment_method_updated_event.rb +44 -0
  142. data/lib/stripe/events/v1_payout_canceled_event.rb +44 -0
  143. data/lib/stripe/events/v1_payout_created_event.rb +44 -0
  144. data/lib/stripe/events/v1_payout_failed_event.rb +44 -0
  145. data/lib/stripe/events/v1_payout_paid_event.rb +44 -0
  146. data/lib/stripe/events/v1_payout_reconciliation_completed_event.rb +44 -0
  147. data/lib/stripe/events/v1_payout_updated_event.rb +44 -0
  148. data/lib/stripe/events/v1_person_created_event.rb +44 -0
  149. data/lib/stripe/events/v1_person_deleted_event.rb +44 -0
  150. data/lib/stripe/events/v1_person_updated_event.rb +44 -0
  151. data/lib/stripe/events/v1_plan_created_event.rb +44 -0
  152. data/lib/stripe/events/v1_plan_deleted_event.rb +44 -0
  153. data/lib/stripe/events/v1_plan_updated_event.rb +44 -0
  154. data/lib/stripe/events/v1_price_created_event.rb +44 -0
  155. data/lib/stripe/events/v1_price_deleted_event.rb +44 -0
  156. data/lib/stripe/events/v1_price_updated_event.rb +44 -0
  157. data/lib/stripe/events/v1_product_created_event.rb +44 -0
  158. data/lib/stripe/events/v1_product_deleted_event.rb +44 -0
  159. data/lib/stripe/events/v1_product_updated_event.rb +44 -0
  160. data/lib/stripe/events/v1_promotion_code_created_event.rb +44 -0
  161. data/lib/stripe/events/v1_promotion_code_updated_event.rb +44 -0
  162. data/lib/stripe/events/v1_quote_accepted_event.rb +44 -0
  163. data/lib/stripe/events/v1_quote_canceled_event.rb +44 -0
  164. data/lib/stripe/events/v1_quote_created_event.rb +44 -0
  165. data/lib/stripe/events/v1_quote_finalized_event.rb +44 -0
  166. data/lib/stripe/events/v1_radar_early_fraud_warning_created_event.rb +44 -0
  167. data/lib/stripe/events/v1_radar_early_fraud_warning_updated_event.rb +44 -0
  168. data/lib/stripe/events/v1_refund_created_event.rb +44 -0
  169. data/lib/stripe/events/v1_refund_failed_event.rb +44 -0
  170. data/lib/stripe/events/v1_refund_updated_event.rb +44 -0
  171. data/lib/stripe/events/v1_review_closed_event.rb +44 -0
  172. data/lib/stripe/events/v1_review_opened_event.rb +44 -0
  173. data/lib/stripe/events/v1_setup_intent_canceled_event.rb +44 -0
  174. data/lib/stripe/events/v1_setup_intent_created_event.rb +44 -0
  175. data/lib/stripe/events/v1_setup_intent_requires_action_event.rb +44 -0
  176. data/lib/stripe/events/v1_setup_intent_setup_failed_event.rb +44 -0
  177. data/lib/stripe/events/v1_setup_intent_succeeded_event.rb +44 -0
  178. data/lib/stripe/events/v1_sigma_scheduled_query_run_created_event.rb +44 -0
  179. data/lib/stripe/events/v1_source_canceled_event.rb +44 -0
  180. data/lib/stripe/events/v1_source_chargeable_event.rb +44 -0
  181. data/lib/stripe/events/v1_source_failed_event.rb +44 -0
  182. data/lib/stripe/events/v1_source_refund_attributes_required_event.rb +44 -0
  183. data/lib/stripe/events/v1_subscription_schedule_aborted_event.rb +44 -0
  184. data/lib/stripe/events/v1_subscription_schedule_canceled_event.rb +44 -0
  185. data/lib/stripe/events/v1_subscription_schedule_completed_event.rb +44 -0
  186. data/lib/stripe/events/v1_subscription_schedule_created_event.rb +44 -0
  187. data/lib/stripe/events/v1_subscription_schedule_expiring_event.rb +44 -0
  188. data/lib/stripe/events/v1_subscription_schedule_released_event.rb +44 -0
  189. data/lib/stripe/events/v1_subscription_schedule_updated_event.rb +44 -0
  190. data/lib/stripe/events/v1_tax_rate_created_event.rb +44 -0
  191. data/lib/stripe/events/v1_tax_rate_updated_event.rb +44 -0
  192. data/lib/stripe/events/v1_tax_settings_updated_event.rb +44 -0
  193. data/lib/stripe/events/v1_terminal_reader_action_failed_event.rb +44 -0
  194. data/lib/stripe/events/v1_terminal_reader_action_succeeded_event.rb +44 -0
  195. data/lib/stripe/events/v1_terminal_reader_action_updated_event.rb +44 -0
  196. data/lib/stripe/events/v1_test_helpers_test_clock_advancing_event.rb +44 -0
  197. data/lib/stripe/events/v1_test_helpers_test_clock_created_event.rb +44 -0
  198. data/lib/stripe/events/v1_test_helpers_test_clock_deleted_event.rb +44 -0
  199. data/lib/stripe/events/v1_test_helpers_test_clock_internal_failure_event.rb +44 -0
  200. data/lib/stripe/events/v1_test_helpers_test_clock_ready_event.rb +44 -0
  201. data/lib/stripe/events/v1_topup_canceled_event.rb +44 -0
  202. data/lib/stripe/events/v1_topup_created_event.rb +44 -0
  203. data/lib/stripe/events/v1_topup_failed_event.rb +44 -0
  204. data/lib/stripe/events/v1_topup_reversed_event.rb +44 -0
  205. data/lib/stripe/events/v1_topup_succeeded_event.rb +44 -0
  206. data/lib/stripe/events/v1_transfer_created_event.rb +44 -0
  207. data/lib/stripe/events/v1_transfer_reversed_event.rb +44 -0
  208. data/lib/stripe/events/v1_transfer_updated_event.rb +44 -0
  209. data/lib/stripe/events/v2_billing_cadence_billed_event.rb +61 -0
  210. data/lib/stripe/events/v2_billing_cadence_canceled_event.rb +44 -0
  211. data/lib/stripe/events/v2_billing_cadence_created_event.rb +61 -0
  212. data/lib/stripe/events/v2_billing_contract_activated_event.rb +44 -0
  213. data/lib/stripe/events/v2_billing_contract_canceled_event.rb +44 -0
  214. data/lib/stripe/events/v2_billing_contract_created_event.rb +44 -0
  215. data/lib/stripe/events/v2_billing_contract_ended_event.rb +44 -0
  216. data/lib/stripe/events/v2_billing_contract_updated_event.rb +44 -0
  217. data/lib/stripe/events/v2_billing_license_fee_created_event.rb +44 -0
  218. data/lib/stripe/events/v2_billing_license_fee_updated_event.rb +44 -0
  219. data/lib/stripe/events/v2_billing_license_fee_version_created_event.rb +61 -0
  220. data/lib/stripe/events/v2_billing_licensed_item_created_event.rb +44 -0
  221. data/lib/stripe/events/v2_billing_licensed_item_updated_event.rb +44 -0
  222. data/lib/stripe/events/v2_billing_metered_item_created_event.rb +44 -0
  223. data/lib/stripe/events/v2_billing_metered_item_updated_event.rb +44 -0
  224. data/lib/stripe/events/v2_billing_pricing_plan_component_created_event.rb +61 -0
  225. data/lib/stripe/events/v2_billing_pricing_plan_component_updated_event.rb +61 -0
  226. data/lib/stripe/events/v2_billing_pricing_plan_created_event.rb +44 -0
  227. data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_awaiting_customer_action_event.rb +44 -0
  228. data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_current_event.rb +44 -0
  229. data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_past_due_event.rb +44 -0
  230. data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_paused_event.rb +44 -0
  231. data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_unpaid_event.rb +44 -0
  232. data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_activated_event.rb +44 -0
  233. data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_canceled_event.rb +44 -0
  234. data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_paused_event.rb +44 -0
  235. data/lib/stripe/events/v2_billing_pricing_plan_updated_event.rb +44 -0
  236. data/lib/stripe/events/v2_billing_pricing_plan_version_created_event.rb +61 -0
  237. data/lib/stripe/events/v2_billing_rate_card_created_event.rb +61 -0
  238. data/lib/stripe/events/v2_billing_rate_card_custom_pricing_unit_overage_rate_created_event.rb +67 -0
  239. data/lib/stripe/events/v2_billing_rate_card_rate_created_event.rb +67 -0
  240. data/lib/stripe/events/v2_billing_rate_card_subscription_activated_event.rb +44 -0
  241. data/lib/stripe/events/v2_billing_rate_card_subscription_canceled_event.rb +44 -0
  242. data/lib/stripe/events/v2_billing_rate_card_subscription_collection_awaiting_customer_action_event.rb +44 -0
  243. data/lib/stripe/events/v2_billing_rate_card_subscription_collection_current_event.rb +44 -0
  244. data/lib/stripe/events/v2_billing_rate_card_subscription_collection_past_due_event.rb +44 -0
  245. data/lib/stripe/events/v2_billing_rate_card_subscription_collection_paused_event.rb +44 -0
  246. data/lib/stripe/events/v2_billing_rate_card_subscription_collection_unpaid_event.rb +44 -0
  247. data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_activated_event.rb +44 -0
  248. data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_canceled_event.rb +44 -0
  249. data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_paused_event.rb +44 -0
  250. data/lib/stripe/events/v2_billing_rate_card_updated_event.rb +44 -0
  251. data/lib/stripe/events/v2_billing_rate_card_version_created_event.rb +61 -0
  252. data/lib/stripe/events/v2_core_account_including_configuration_card_creator_capability_status_updated_event.rb +63 -0
  253. data/lib/stripe/events/v2_core_account_including_configuration_card_creator_updated_event.rb +44 -0
  254. data/lib/stripe/events/v2_core_account_including_configuration_money_manager_capability_status_updated_event.rb +63 -0
  255. data/lib/stripe/events/v2_core_account_including_configuration_money_manager_updated_event.rb +44 -0
  256. data/lib/stripe/events/v2_core_account_signals_fraudulent_website_ready_event.rb +48 -0
  257. data/lib/stripe/events/v2_core_approval_request_approved_event.rb +44 -0
  258. data/lib/stripe/events/v2_core_approval_request_canceled_event.rb +44 -0
  259. data/lib/stripe/events/v2_core_approval_request_created_event.rb +44 -0
  260. data/lib/stripe/events/v2_core_approval_request_expired_event.rb +44 -0
  261. data/lib/stripe/events/v2_core_approval_request_failed_event.rb +44 -0
  262. data/lib/stripe/events/v2_core_approval_request_rejected_event.rb +44 -0
  263. data/lib/stripe/events/v2_core_approval_request_succeeded_event.rb +44 -0
  264. data/lib/stripe/events/v2_core_batch_job_batch_failed_event.rb +44 -0
  265. data/lib/stripe/events/v2_core_batch_job_canceled_event.rb +44 -0
  266. data/lib/stripe/events/v2_core_batch_job_completed_event.rb +44 -0
  267. data/lib/stripe/events/v2_core_batch_job_created_event.rb +44 -0
  268. data/lib/stripe/events/v2_core_batch_job_ready_for_upload_event.rb +44 -0
  269. data/lib/stripe/events/v2_core_batch_job_timeout_event.rb +44 -0
  270. data/lib/stripe/events/v2_core_batch_job_updated_event.rb +44 -0
  271. data/lib/stripe/events/v2_core_batch_job_upload_timeout_event.rb +44 -0
  272. data/lib/stripe/events/v2_core_batch_job_validating_event.rb +44 -0
  273. data/lib/stripe/events/v2_core_batch_job_validation_failed_event.rb +44 -0
  274. data/lib/stripe/events/v2_core_claimable_sandbox_claimed_event.rb +44 -0
  275. data/lib/stripe/events/v2_core_claimable_sandbox_created_event.rb +44 -0
  276. data/lib/stripe/events/v2_core_claimable_sandbox_expired_event.rb +44 -0
  277. data/lib/stripe/events/v2_core_claimable_sandbox_expiring_event.rb +44 -0
  278. data/lib/stripe/events/v2_core_claimable_sandbox_updated_event.rb +44 -0
  279. data/lib/stripe/events/v2_core_health_api_error_firing_event.rb +115 -0
  280. data/lib/stripe/events/v2_core_health_api_error_resolved_event.rb +117 -0
  281. data/lib/stripe/events/v2_core_health_api_latency_firing_event.rb +113 -0
  282. data/lib/stripe/events/v2_core_health_api_latency_resolved_event.rb +115 -0
  283. data/lib/stripe/events/v2_core_health_authorization_rate_drop_firing_event.rb +96 -0
  284. data/lib/stripe/events/v2_core_health_authorization_rate_drop_resolved_event.rb +98 -0
  285. data/lib/stripe/events/v2_core_health_elements_error_firing_event.rb +60 -0
  286. data/lib/stripe/events/v2_core_health_elements_error_resolved_event.rb +62 -0
  287. data/lib/stripe/events/v2_core_health_event_generation_failure_resolved_event.rb +78 -0
  288. data/lib/stripe/events/v2_core_health_fraud_rate_increased_event.rb +64 -0
  289. data/lib/stripe/events/v2_core_health_invoice_count_dropped_firing_event.rb +75 -0
  290. data/lib/stripe/events/v2_core_health_invoice_count_dropped_resolved_event.rb +77 -0
  291. data/lib/stripe/events/v2_core_health_issuing_authorization_request_errors_firing_event.rb +64 -0
  292. data/lib/stripe/events/v2_core_health_issuing_authorization_request_errors_resolved_event.rb +66 -0
  293. data/lib/stripe/events/v2_core_health_issuing_authorization_request_timeout_firing_event.rb +64 -0
  294. data/lib/stripe/events/v2_core_health_issuing_authorization_request_timeout_resolved_event.rb +66 -0
  295. data/lib/stripe/events/v2_core_health_meter_event_summaries_delayed_firing_event.rb +58 -0
  296. data/lib/stripe/events/v2_core_health_meter_event_summaries_delayed_resolved_event.rb +60 -0
  297. data/lib/stripe/events/v2_core_health_payment_method_error_firing_event.rb +111 -0
  298. data/lib/stripe/events/v2_core_health_payment_method_error_resolved_event.rb +113 -0
  299. data/lib/stripe/events/v2_core_health_sepa_debit_delayed_firing_event.rb +70 -0
  300. data/lib/stripe/events/v2_core_health_sepa_debit_delayed_resolved_event.rb +72 -0
  301. data/lib/stripe/events/v2_core_health_traffic_volume_drop_firing_event.rb +64 -0
  302. data/lib/stripe/events/v2_core_health_traffic_volume_drop_resolved_event.rb +66 -0
  303. data/lib/stripe/events/v2_core_health_webhook_latency_firing_event.rb +58 -0
  304. data/lib/stripe/events/v2_core_health_webhook_latency_resolved_event.rb +60 -0
  305. data/lib/stripe/events/v2_data_reporting_query_run_created_event.rb +44 -0
  306. data/lib/stripe/events/v2_data_reporting_query_run_failed_event.rb +44 -0
  307. data/lib/stripe/events/v2_data_reporting_query_run_succeeded_event.rb +44 -0
  308. data/lib/stripe/events/v2_data_reporting_query_run_updated_event.rb +44 -0
  309. data/lib/stripe/events/v2_extend_extension_run_failed_event.rb +75 -0
  310. data/lib/stripe/events/v2_extend_workflow_run_failed_event.rb +75 -0
  311. data/lib/stripe/events/v2_extend_workflow_run_started_event.rb +44 -0
  312. data/lib/stripe/events/v2_extend_workflow_run_succeeded_event.rb +44 -0
  313. data/lib/stripe/events/v2_iam_api_key_created_event.rb +38 -0
  314. data/lib/stripe/events/v2_iam_api_key_default_secret_revealed_event.rb +38 -0
  315. data/lib/stripe/events/v2_iam_api_key_expired_event.rb +38 -0
  316. data/lib/stripe/events/v2_iam_api_key_permissions_updated_event.rb +38 -0
  317. data/lib/stripe/events/v2_iam_api_key_rotated_event.rb +40 -0
  318. data/lib/stripe/events/v2_iam_api_key_updated_event.rb +38 -0
  319. data/lib/stripe/events/v2_iam_stripe_access_grant_approved_event.rb +38 -0
  320. data/lib/stripe/events/v2_iam_stripe_access_grant_canceled_event.rb +38 -0
  321. data/lib/stripe/events/v2_iam_stripe_access_grant_denied_event.rb +38 -0
  322. data/lib/stripe/events/v2_iam_stripe_access_grant_removed_event.rb +38 -0
  323. data/lib/stripe/events/v2_iam_stripe_access_grant_requested_event.rb +38 -0
  324. data/lib/stripe/events/v2_iam_stripe_access_grant_updated_event.rb +38 -0
  325. data/lib/stripe/events/v2_money_management_adjustment_created_event.rb +44 -0
  326. data/lib/stripe/events/v2_money_management_debit_dispute_failed_event.rb +44 -0
  327. data/lib/stripe/events/v2_money_management_debit_dispute_submitted_event.rb +44 -0
  328. data/lib/stripe/events/v2_money_management_debit_dispute_succeeded_event.rb +44 -0
  329. data/lib/stripe/events/v2_money_management_financial_account_created_event.rb +44 -0
  330. data/lib/stripe/events/v2_money_management_financial_account_statement_created_event.rb +61 -0
  331. data/lib/stripe/events/v2_money_management_financial_account_statement_restated_event.rb +71 -0
  332. data/lib/stripe/events/v2_money_management_financial_account_updated_event.rb +44 -0
  333. data/lib/stripe/events/v2_money_management_financial_address_activated_event.rb +44 -0
  334. data/lib/stripe/events/v2_money_management_financial_address_failed_event.rb +44 -0
  335. data/lib/stripe/events/v2_money_management_inbound_transfer_available_event.rb +61 -0
  336. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_failed_event.rb +44 -0
  337. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_processing_event.rb +44 -0
  338. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_queued_event.rb +44 -0
  339. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_returned_event.rb +44 -0
  340. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_succeeded_event.rb +44 -0
  341. data/lib/stripe/events/v2_money_management_outbound_payment_canceled_event.rb +44 -0
  342. data/lib/stripe/events/v2_money_management_outbound_payment_created_event.rb +44 -0
  343. data/lib/stripe/events/v2_money_management_outbound_payment_failed_event.rb +44 -0
  344. data/lib/stripe/events/v2_money_management_outbound_payment_posted_event.rb +44 -0
  345. data/lib/stripe/events/v2_money_management_outbound_payment_returned_event.rb +44 -0
  346. data/lib/stripe/events/v2_money_management_outbound_payment_under_review_event.rb +44 -0
  347. data/lib/stripe/events/v2_money_management_outbound_payment_updated_event.rb +44 -0
  348. data/lib/stripe/events/v2_money_management_outbound_transfer_canceled_event.rb +44 -0
  349. data/lib/stripe/events/v2_money_management_outbound_transfer_created_event.rb +44 -0
  350. data/lib/stripe/events/v2_money_management_outbound_transfer_failed_event.rb +44 -0
  351. data/lib/stripe/events/v2_money_management_outbound_transfer_posted_event.rb +44 -0
  352. data/lib/stripe/events/v2_money_management_outbound_transfer_returned_event.rb +44 -0
  353. data/lib/stripe/events/v2_money_management_outbound_transfer_under_review_event.rb +44 -0
  354. data/lib/stripe/events/v2_money_management_outbound_transfer_updated_event.rb +44 -0
  355. data/lib/stripe/events/v2_money_management_payout_method_created_event.rb +44 -0
  356. data/lib/stripe/events/v2_money_management_payout_method_updated_event.rb +44 -0
  357. data/lib/stripe/events/v2_money_management_received_credit_available_event.rb +61 -0
  358. data/lib/stripe/events/v2_money_management_received_credit_failed_event.rb +44 -0
  359. data/lib/stripe/events/v2_money_management_received_credit_returned_event.rb +44 -0
  360. data/lib/stripe/events/v2_money_management_received_credit_succeeded_event.rb +44 -0
  361. data/lib/stripe/events/v2_money_management_received_debit_canceled_event.rb +44 -0
  362. data/lib/stripe/events/v2_money_management_received_debit_created_event.rb +44 -0
  363. data/lib/stripe/events/v2_money_management_received_debit_failed_event.rb +44 -0
  364. data/lib/stripe/events/v2_money_management_received_debit_mandate_canceled_event.rb +44 -0
  365. data/lib/stripe/events/v2_money_management_received_debit_mandate_created_event.rb +44 -0
  366. data/lib/stripe/events/v2_money_management_received_debit_mandate_expired_event.rb +44 -0
  367. data/lib/stripe/events/v2_money_management_received_debit_mandate_pending_cancellation_event.rb +44 -0
  368. data/lib/stripe/events/v2_money_management_received_debit_mandate_updated_event.rb +44 -0
  369. data/lib/stripe/events/v2_money_management_received_debit_pending_event.rb +44 -0
  370. data/lib/stripe/events/v2_money_management_received_debit_scheduled_event.rb +44 -0
  371. data/lib/stripe/events/v2_money_management_received_debit_succeeded_event.rb +44 -0
  372. data/lib/stripe/events/v2_money_management_received_debit_updated_event.rb +44 -0
  373. data/lib/stripe/events/v2_money_management_recipient_verification_created_event.rb +44 -0
  374. data/lib/stripe/events/v2_money_management_recipient_verification_updated_event.rb +44 -0
  375. data/lib/stripe/events/v2_money_management_transaction_created_event.rb +63 -0
  376. data/lib/stripe/events/v2_money_management_transaction_updated_event.rb +44 -0
  377. data/lib/stripe/events/v2_orchestrated_commerce_agreement_confirmed_event.rb +97 -0
  378. data/lib/stripe/events/v2_orchestrated_commerce_agreement_created_event.rb +97 -0
  379. data/lib/stripe/events/v2_orchestrated_commerce_agreement_partially_confirmed_event.rb +97 -0
  380. data/lib/stripe/events/v2_orchestrated_commerce_agreement_terminated_event.rb +97 -0
  381. data/lib/stripe/events/v2_payments_off_session_payment_attempt_failed_event.rb +61 -0
  382. data/lib/stripe/events/v2_payments_off_session_payment_attempt_started_event.rb +46 -0
  383. data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_failed_event.rb +46 -0
  384. data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_started_event.rb +48 -0
  385. data/lib/stripe/events/v2_payments_off_session_payment_canceled_event.rb +44 -0
  386. data/lib/stripe/events/v2_payments_off_session_payment_created_event.rb +44 -0
  387. data/lib/stripe/events/v2_payments_off_session_payment_failed_event.rb +61 -0
  388. data/lib/stripe/events/v2_payments_off_session_payment_paused_event.rb +44 -0
  389. data/lib/stripe/events/v2_payments_off_session_payment_requires_capture_event.rb +44 -0
  390. data/lib/stripe/events/v2_payments_off_session_payment_resumed_event.rb +44 -0
  391. data/lib/stripe/events/v2_payments_off_session_payment_succeeded_event.rb +44 -0
  392. data/lib/stripe/events/v2_payments_settlement_allocation_intent_canceled_event.rb +44 -0
  393. data/lib/stripe/events/v2_payments_settlement_allocation_intent_created_event.rb +44 -0
  394. data/lib/stripe/events/v2_payments_settlement_allocation_intent_errored_event.rb +65 -0
  395. data/lib/stripe/events/v2_payments_settlement_allocation_intent_funds_not_received_event.rb +44 -0
  396. data/lib/stripe/events/v2_payments_settlement_allocation_intent_matched_event.rb +44 -0
  397. data/lib/stripe/events/v2_payments_settlement_allocation_intent_not_found_event.rb +38 -0
  398. data/lib/stripe/events/v2_payments_settlement_allocation_intent_settled_event.rb +44 -0
  399. data/lib/stripe/events/v2_payments_settlement_allocation_intent_split_canceled_event.rb +61 -0
  400. data/lib/stripe/events/v2_payments_settlement_allocation_intent_split_created_event.rb +61 -0
  401. data/lib/stripe/events/v2_payments_settlement_allocation_intent_split_settled_event.rb +61 -0
  402. data/lib/stripe/events/v2_payments_settlement_allocation_intent_submitted_event.rb +44 -0
  403. data/lib/stripe/events/v2_reporting_report_run_created_event.rb +44 -0
  404. data/lib/stripe/events/v2_reporting_report_run_failed_event.rb +44 -0
  405. data/lib/stripe/events/v2_reporting_report_run_succeeded_event.rb +44 -0
  406. data/lib/stripe/events/v2_reporting_report_run_updated_event.rb +44 -0
  407. data/lib/stripe/events/v2_signals_account_evaluation_complete_event.rb +44 -0
  408. data/lib/stripe/events/v2_signals_account_signal_fraudulent_merchant_ready_event.rb +109 -0
  409. data/lib/stripe/events/v2_signals_account_signal_fraudulent_website_ready_event.rb +44 -0
  410. data/lib/stripe/events/v2_signals_account_signal_merchant_delinquency_ready_event.rb +44 -0
  411. data/lib/stripe/events/v2_signals_account_signal_payment_delinquency_exposure_ready_event.rb +44 -0
  412. data/lib/stripe/object_types.rb +143 -0
  413. data/lib/stripe/params/account_create_params.rb +463 -4
  414. data/lib/stripe/params/account_link_create_params.rb +4 -1
  415. data/lib/stripe/params/account_notice_list_params.rb +25 -0
  416. data/lib/stripe/params/account_notice_retrieve_params.rb +13 -0
  417. data/lib/stripe/params/account_notice_update_params.rb +36 -0
  418. data/lib/stripe/params/account_person_create_params.rb +60 -0
  419. data/lib/stripe/params/account_person_update_params.rb +60 -0
  420. data/lib/stripe/params/account_session_create_params.rb +301 -1
  421. data/lib/stripe/params/account_signals_retrieve_params.rb +13 -0
  422. data/lib/stripe/params/account_update_params.rb +425 -3
  423. data/lib/stripe/params/balance_settings_update_params.rb +9 -1
  424. data/lib/stripe/params/balance_transfer_create_params.rb +66 -0
  425. data/lib/stripe/params/billing/alert_create_params.rb +264 -1
  426. data/lib/stripe/params/billing/alert_list_params.rb +4 -0
  427. data/lib/stripe/params/billing/alert_notification_list_params.rb +70 -0
  428. data/lib/stripe/params/billing/analytics/meter_usage_retrieve_params.rb +69 -0
  429. data/lib/stripe/params/billing/credit_balance_summary_retrieve_params.rb +25 -1
  430. data/lib/stripe/params/billing/credit_grant_create_params.rb +60 -2
  431. data/lib/stripe/params/billing/meter_create_params.rb +4 -0
  432. data/lib/stripe/params/billing/meter_event_summary_list_params.rb +20 -0
  433. data/lib/stripe/params/capital/financing_offer_create_params.rb +37 -0
  434. data/lib/stripe/params/capital/financing_offer_list_params.rb +58 -0
  435. data/lib/stripe/params/capital/financing_offer_mark_delivered_params.rb +15 -0
  436. data/lib/stripe/params/capital/financing_offer_refill_params.rb +37 -0
  437. data/lib/stripe/params/capital/financing_offer_retrieve_params.rb +15 -0
  438. data/lib/stripe/params/capital/financing_summary_retrieve_params.rb +15 -0
  439. data/lib/stripe/params/capital/financing_transaction_list_params.rb +45 -0
  440. data/lib/stripe/params/capital/financing_transaction_retrieve_params.rb +15 -0
  441. data/lib/stripe/params/charge_capture_params.rb +1743 -0
  442. data/lib/stripe/params/charge_update_params.rb +1743 -0
  443. data/lib/stripe/params/checkout/session_approve_params.rb +52 -0
  444. data/lib/stripe/params/checkout/session_create_params.rb +573 -7
  445. data/lib/stripe/params/checkout/session_update_params.rb +180 -2
  446. data/lib/stripe/params/confirmation_token_create_params.rb +101 -0
  447. data/lib/stripe/params/coupon_create_params.rb +47 -1
  448. data/lib/stripe/params/crypto/customer_consumer_wallet_list_params.rb +24 -0
  449. data/lib/stripe/params/crypto/customer_payment_token_list_params.rb +24 -0
  450. data/lib/stripe/params/crypto/customer_retrieve_params.rb +15 -0
  451. data/lib/stripe/params/crypto/deposit_address_create_params.rb +24 -0
  452. data/lib/stripe/params/crypto/deposit_address_list_params.rb +45 -0
  453. data/lib/stripe/params/crypto/deposit_address_retrieve_params.rb +15 -0
  454. data/lib/stripe/params/crypto/onramp_session_checkout_params.rb +56 -0
  455. data/lib/stripe/params/crypto/onramp_session_create_params.rb +122 -0
  456. data/lib/stripe/params/crypto/onramp_session_list_params.rb +62 -0
  457. data/lib/stripe/params/crypto/onramp_session_quote_params.rb +15 -0
  458. data/lib/stripe/params/crypto/onramp_session_retrieve_params.rb +15 -0
  459. data/lib/stripe/params/crypto/onramp_transaction_limits_retrieve_params.rb +33 -0
  460. data/lib/stripe/params/customer_session_create_params.rb +32 -1
  461. data/lib/stripe/params/delegated_checkout/order_retrieve_params.rb +15 -0
  462. data/lib/stripe/params/delegated_checkout/requested_session_confirm_params.rb +172 -0
  463. data/lib/stripe/params/delegated_checkout/requested_session_create_params.rb +230 -0
  464. data/lib/stripe/params/delegated_checkout/requested_session_expire_params.rb +15 -0
  465. data/lib/stripe/params/delegated_checkout/requested_session_list_orders_params.rb +24 -0
  466. data/lib/stripe/params/delegated_checkout/requested_session_order_list_params.rb +24 -0
  467. data/lib/stripe/params/delegated_checkout/requested_session_retrieve_params.rb +15 -0
  468. data/lib/stripe/params/delegated_checkout/requested_session_update_params.rb +216 -0
  469. data/lib/stripe/params/dispute_update_params.rb +14 -1
  470. data/lib/stripe/params/external_account_create_params.rb +134 -0
  471. data/lib/stripe/params/external_account_delete_params.rb +6 -0
  472. data/lib/stripe/params/external_account_list_params.rb +25 -0
  473. data/lib/stripe/params/external_account_retrieve_params.rb +13 -0
  474. data/lib/stripe/params/external_account_update_params.rb +91 -0
  475. data/lib/stripe/params/financial_connections/account_inferred_balance_list_params.rb +24 -0
  476. data/lib/stripe/params/financial_connections/authorization_retrieve_params.rb +15 -0
  477. data/lib/stripe/params/financial_connections/institution_list_params.rb +24 -0
  478. data/lib/stripe/params/financial_connections/institution_retrieve_params.rb +15 -0
  479. data/lib/stripe/params/financial_connections/session_create_params.rb +38 -1
  480. data/lib/stripe/params/fx_quote_create_params.rb +73 -0
  481. data/lib/stripe/params/fx_quote_list_params.rb +22 -0
  482. data/lib/stripe/params/fx_quote_retrieve_params.rb +13 -0
  483. data/lib/stripe/params/gift_card_activate_params.rb +30 -0
  484. data/lib/stripe/params/gift_card_cashout_params.rb +16 -0
  485. data/lib/stripe/params/gift_card_check_balance_params.rb +16 -0
  486. data/lib/stripe/params/gift_card_create_params.rb +28 -0
  487. data/lib/stripe/params/gift_card_operation_retrieve_params.rb +13 -0
  488. data/lib/stripe/params/gift_card_reload_params.rb +22 -0
  489. data/lib/stripe/params/gift_card_retrieve_params.rb +13 -0
  490. data/lib/stripe/params/gift_card_void_operation_params.rb +19 -0
  491. data/lib/stripe/params/identity/blocklist_entry_create_params.rb +29 -0
  492. data/lib/stripe/params/identity/blocklist_entry_disable_params.rb +15 -0
  493. data/lib/stripe/params/identity/blocklist_entry_list_params.rb +62 -0
  494. data/lib/stripe/params/identity/blocklist_entry_retrieve_params.rb +15 -0
  495. data/lib/stripe/params/identity/verification_report_list_params.rb +4 -0
  496. data/lib/stripe/params/identity/verification_session_create_params.rb +4 -0
  497. data/lib/stripe/params/identity/verification_session_update_params.rb +11 -1
  498. data/lib/stripe/params/invoice_add_lines_params.rb +48 -1
  499. data/lib/stripe/params/invoice_attach_payment_params.rb +43 -1
  500. data/lib/stripe/params/invoice_create_params.rb +98 -3
  501. data/lib/stripe/params/invoice_create_preview_params.rb +1365 -9
  502. data/lib/stripe/params/invoice_detach_payment_params.rb +16 -0
  503. data/lib/stripe/params/invoice_item_create_params.rb +33 -1
  504. data/lib/stripe/params/invoice_item_update_params.rb +33 -1
  505. data/lib/stripe/params/invoice_line_item_update_params.rb +48 -1
  506. data/lib/stripe/params/invoice_list_params.rb +4 -0
  507. data/lib/stripe/params/invoice_update_lines_params.rb +48 -1
  508. data/lib/stripe/params/invoice_update_params.rb +98 -3
  509. data/lib/stripe/params/issuing/authorization_capture_params.rb +56 -0
  510. data/lib/stripe/params/issuing/authorization_create_params.rb +51 -0
  511. data/lib/stripe/params/issuing/card_create_params.rb +4 -0
  512. data/lib/stripe/params/issuing/card_list_params.rb +34 -1
  513. data/lib/stripe/params/issuing/card_update_params.rb +4 -0
  514. data/lib/stripe/params/issuing/cardholder_create_params.rb +2 -1
  515. data/lib/stripe/params/issuing/cardholder_update_params.rb +4 -0
  516. data/lib/stripe/params/issuing/credit_underwriting_record_correct_params.rb +163 -0
  517. data/lib/stripe/params/issuing/credit_underwriting_record_create_from_application_params.rb +50 -0
  518. data/lib/stripe/params/issuing/credit_underwriting_record_create_from_proactive_review_params.rb +128 -0
  519. data/lib/stripe/params/issuing/credit_underwriting_record_list_params.rb +24 -0
  520. data/lib/stripe/params/issuing/credit_underwriting_record_report_decision_params.rb +86 -0
  521. data/lib/stripe/params/issuing/credit_underwriting_record_report_offer_acceptance_params.rb +15 -0
  522. data/lib/stripe/params/issuing/credit_underwriting_record_retrieve_params.rb +15 -0
  523. data/lib/stripe/params/issuing/dispute_close_params.rb +18 -0
  524. data/lib/stripe/params/issuing/dispute_provisional_credit_params.rb +21 -0
  525. data/lib/stripe/params/issuing/dispute_settlement_detail_list_params.rb +33 -0
  526. data/lib/stripe/params/issuing/dispute_settlement_detail_retrieve_params.rb +15 -0
  527. data/lib/stripe/params/issuing/dispute_simulate_network_lifecycle_dispute_response_params.rb +26 -0
  528. data/lib/stripe/params/issuing/dispute_simulate_network_lifecycle_pre_arbitration_response_params.rb +26 -0
  529. data/lib/stripe/params/issuing/dispute_simulate_network_lifecycle_pre_arbitration_submission_params.rb +26 -0
  530. data/lib/stripe/params/issuing/dispute_update_params.rb +22 -1
  531. data/lib/stripe/params/issuing/fraud_liability_debit_list_params.rb +44 -0
  532. data/lib/stripe/params/issuing/fraud_liability_debit_retrieve_params.rb +15 -0
  533. data/lib/stripe/params/issuing/program_create_params.rb +21 -0
  534. data/lib/stripe/params/issuing/program_list_params.rb +24 -0
  535. data/lib/stripe/params/issuing/program_retrieve_params.rb +15 -0
  536. data/lib/stripe/params/issuing/program_update_params.rb +21 -0
  537. data/lib/stripe/params/issuing/transaction_create_force_capture_params.rb +64 -0
  538. data/lib/stripe/params/issuing/transaction_create_unlinked_refund_params.rb +51 -0
  539. data/lib/stripe/params/issuing/transaction_list_params.rb +4 -0
  540. data/lib/stripe/params/mandate_list_params.rb +39 -0
  541. data/lib/stripe/params/margin_create_params.rb +25 -0
  542. data/lib/stripe/params/margin_list_params.rb +25 -0
  543. data/lib/stripe/params/margin_retrieve_params.rb +13 -0
  544. data/lib/stripe/params/margin_update_params.rb +22 -0
  545. data/lib/stripe/params/orchestration/payment_attempt_retrieve_params.rb +15 -0
  546. data/lib/stripe/params/order_create_params.rb +2117 -0
  547. data/lib/stripe/params/order_list_params.rb +25 -0
  548. data/lib/stripe/params/order_retrieve_params.rb +13 -0
  549. data/lib/stripe/params/order_submit_params.rb +16 -0
  550. data/lib/stripe/params/order_update_params.rb +2121 -0
  551. data/lib/stripe/params/payment_attempt_record_report_authenticated_params.rb +19 -0
  552. data/lib/stripe/params/payment_attempt_record_report_authorized_params.rb +41 -0
  553. data/lib/stripe/params/payment_attempt_record_report_canceled_params.rb +31 -0
  554. data/lib/stripe/params/payment_attempt_record_report_early_fraud_warning_params.rb +22 -0
  555. data/lib/stripe/params/payment_attempt_record_report_failed_params.rb +92 -0
  556. data/lib/stripe/params/payment_attempt_record_report_guaranteed_params.rb +92 -0
  557. data/lib/stripe/params/payment_attempt_record_report_informational_params.rb +93 -0
  558. data/lib/stripe/params/payment_attempt_record_report_refund_params.rb +103 -0
  559. data/lib/stripe/params/payment_intent_capture_params.rb +1815 -3
  560. data/lib/stripe/params/payment_intent_confirm_params.rb +3712 -92
  561. data/lib/stripe/params/payment_intent_create_params.rb +3719 -83
  562. data/lib/stripe/params/payment_intent_decrement_authorization_params.rb +370 -0
  563. data/lib/stripe/params/payment_intent_increment_authorization_params.rb +112 -2
  564. data/lib/stripe/params/payment_intent_reauthorize_params.rb +19 -0
  565. data/lib/stripe/params/payment_intent_simulate_crypto_deposit_params.rb +31 -0
  566. data/lib/stripe/params/payment_intent_trigger_action_params.rb +27 -0
  567. data/lib/stripe/params/payment_intent_update_crypto_refund_address_params.rb +19 -0
  568. data/lib/stripe/params/payment_intent_update_params.rb +3741 -90
  569. data/lib/stripe/params/payment_link_create_params.rb +35 -1
  570. data/lib/stripe/params/payment_link_update_params.rb +1 -1
  571. data/lib/stripe/params/payment_location_capability_list_params.rb +16 -0
  572. data/lib/stripe/params/payment_location_capability_retrieve_params.rb +16 -0
  573. data/lib/stripe/params/payment_location_capability_update_params.rb +19 -0
  574. data/lib/stripe/params/payment_location_create_params.rb +54 -0
  575. data/lib/stripe/params/payment_location_delete_params.rb +6 -0
  576. data/lib/stripe/params/payment_location_list_params.rb +22 -0
  577. data/lib/stripe/params/payment_location_retrieve_params.rb +13 -0
  578. data/lib/stripe/params/payment_location_update_params.rb +63 -0
  579. data/lib/stripe/params/payment_method_check_balance_params.rb +13 -0
  580. data/lib/stripe/params/payment_method_configuration_create_params.rb +126 -0
  581. data/lib/stripe/params/payment_method_configuration_update_params.rb +126 -0
  582. data/lib/stripe/params/payment_method_create_params.rb +97 -0
  583. data/lib/stripe/params/payment_method_update_params.rb +16 -0
  584. data/lib/stripe/params/payment_record_create_params.rb +109 -0
  585. data/lib/stripe/params/payment_record_report_payment_attempt_canceled_params.rb +13 -1
  586. data/lib/stripe/params/payment_record_report_payment_attempt_failed_params.rb +74 -1
  587. data/lib/stripe/params/payment_record_report_payment_attempt_guaranteed_params.rb +70 -1
  588. data/lib/stripe/params/payment_record_report_payment_attempt_params.rb +87 -3
  589. data/lib/stripe/params/payment_record_report_payment_params.rb +87 -3
  590. data/lib/stripe/params/payment_record_report_refund_params.rb +24 -0
  591. data/lib/stripe/params/payment_record_search_params.rb +22 -0
  592. data/lib/stripe/params/plan_create_params.rb +15 -0
  593. data/lib/stripe/params/price_create_params.rb +19 -0
  594. data/lib/stripe/params/price_update_params.rb +23 -0
  595. data/lib/stripe/params/privacy/redaction_job_cancel_params.rb +15 -0
  596. data/lib/stripe/params/privacy/redaction_job_create_params.rb +67 -0
  597. data/lib/stripe/params/privacy/redaction_job_list_params.rb +27 -0
  598. data/lib/stripe/params/privacy/redaction_job_retrieve_params.rb +15 -0
  599. data/lib/stripe/params/privacy/redaction_job_run_params.rb +15 -0
  600. data/lib/stripe/params/privacy/redaction_job_update_params.rb +18 -0
  601. data/lib/stripe/params/privacy/redaction_job_validate_params.rb +15 -0
  602. data/lib/stripe/params/privacy/redaction_job_validation_error_list_params.rb +24 -0
  603. data/lib/stripe/params/product_catalog/trial_offer_create_params.rb +63 -0
  604. data/lib/stripe/params/product_catalog/trial_offer_list_params.rb +54 -0
  605. data/lib/stripe/params/product_catalog/trial_offer_retrieve_params.rb +15 -0
  606. data/lib/stripe/params/product_create_params.rb +47 -0
  607. data/lib/stripe/params/product_update_params.rb +47 -0
  608. data/lib/stripe/params/quote_create_params.rb +1217 -3
  609. data/lib/stripe/params/quote_line_list_params.rb +22 -0
  610. data/lib/stripe/params/quote_list_lines_params.rb +22 -0
  611. data/lib/stripe/params/quote_list_params.rb +4 -0
  612. data/lib/stripe/params/quote_list_preview_invoice_lines_params.rb +22 -0
  613. data/lib/stripe/params/quote_mark_draft_params.rb +13 -0
  614. data/lib/stripe/params/quote_mark_stale_params.rb +16 -0
  615. data/lib/stripe/params/quote_preview_invoice_list_params.rb +22 -0
  616. data/lib/stripe/params/quote_preview_subscription_schedule_list_params.rb +22 -0
  617. data/lib/stripe/params/quote_reestimate_params.rb +13 -0
  618. data/lib/stripe/params/quote_update_params.rb +1225 -4
  619. data/lib/stripe/params/radar/account_evaluation_create_params.rb +115 -0
  620. data/lib/stripe/params/radar/account_evaluation_retrieve_params.rb +15 -0
  621. data/lib/stripe/params/radar/account_evaluation_update_params.rb +72 -0
  622. data/lib/stripe/params/radar/customer_evaluation_create_params.rb +86 -0
  623. data/lib/stripe/params/radar/customer_evaluation_retrieve_params.rb +15 -0
  624. data/lib/stripe/params/radar/customer_evaluation_update_params.rb +21 -0
  625. data/lib/stripe/params/radar/issuing_authorization_evaluation_create_params.rb +197 -0
  626. data/lib/stripe/params/radar/payment_evaluation_create_params.rb +65 -2
  627. data/lib/stripe/params/refund_create_params.rb +8 -0
  628. data/lib/stripe/params/refund_list_params.rb +8 -0
  629. data/lib/stripe/params/reserve/hold_list_params.rb +53 -0
  630. data/lib/stripe/params/reserve/hold_retrieve_params.rb +15 -0
  631. data/lib/stripe/params/reserve/plan_retrieve_params.rb +15 -0
  632. data/lib/stripe/params/reserve/release_list_params.rb +41 -0
  633. data/lib/stripe/params/reserve/release_retrieve_params.rb +15 -0
  634. data/lib/stripe/params/setup_intent_confirm_params.rb +187 -3
  635. data/lib/stripe/params/setup_intent_create_params.rb +187 -3
  636. data/lib/stripe/params/setup_intent_update_params.rb +188 -4
  637. data/lib/stripe/params/shared_payment/granted_token_create_params.rb +50 -0
  638. data/lib/stripe/params/shared_payment/granted_token_retrieve_params.rb +15 -0
  639. data/lib/stripe/params/shared_payment/granted_token_revoke_params.rb +15 -0
  640. data/lib/stripe/params/shared_payment/issued_token_create_params.rb +74 -0
  641. data/lib/stripe/params/shared_payment/issued_token_retrieve_params.rb +15 -0
  642. data/lib/stripe/params/shared_payment/issued_token_revoke_params.rb +15 -0
  643. data/lib/stripe/params/subscription_attach_cadence_params.rb +16 -0
  644. data/lib/stripe/params/subscription_create_params.rb +325 -7
  645. data/lib/stripe/params/subscription_item_create_params.rb +114 -2
  646. data/lib/stripe/params/subscription_item_update_params.rb +97 -1
  647. data/lib/stripe/params/subscription_list_params.rb +4 -0
  648. data/lib/stripe/params/subscription_pause_params.rb +50 -0
  649. data/lib/stripe/params/subscription_resume_params.rb +4 -0
  650. data/lib/stripe/params/subscription_schedule_amend_params.rb +805 -0
  651. data/lib/stripe/params/subscription_schedule_create_params.rb +471 -5
  652. data/lib/stripe/params/subscription_schedule_update_params.rb +471 -5
  653. data/lib/stripe/params/subscription_update_params.rb +308 -6
  654. data/lib/stripe/params/tax/calculation_create_params.rb +46 -0
  655. data/lib/stripe/params/tax/form_list_params.rb +51 -0
  656. data/lib/stripe/params/tax/form_pdf_params.rb +15 -0
  657. data/lib/stripe/params/tax/form_retrieve_params.rb +15 -0
  658. data/lib/stripe/params/tax/location_create_params.rb +54 -0
  659. data/lib/stripe/params/tax/location_list_params.rb +27 -0
  660. data/lib/stripe/params/tax/location_retrieve_params.rb +15 -0
  661. data/lib/stripe/params/tax/registration_create_params.rb +117 -0
  662. data/lib/stripe/params/tax_fund_list_params.rb +42 -0
  663. data/lib/stripe/params/tax_fund_retrieve_params.rb +13 -0
  664. data/lib/stripe/params/terminal/configuration_create_params.rb +13 -0
  665. data/lib/stripe/params/terminal/configuration_update_params.rb +13 -0
  666. data/lib/stripe/params/terminal/reader_activate_gift_card_params.rb +35 -0
  667. data/lib/stripe/params/terminal/reader_cashout_gift_card_params.rb +21 -0
  668. data/lib/stripe/params/terminal/reader_check_gift_card_balance_params.rb +21 -0
  669. data/lib/stripe/params/terminal/reader_collect_payment_method_params.rb +4 -0
  670. data/lib/stripe/params/terminal/reader_collected_data_retrieve_params.rb +15 -0
  671. data/lib/stripe/params/terminal/reader_present_payment_method_params.rb +16 -0
  672. data/lib/stripe/params/terminal/reader_process_payment_intent_params.rb +4 -0
  673. data/lib/stripe/params/terminal/reader_reload_gift_card_params.rb +27 -0
  674. data/lib/stripe/params/test_helpers/capital/financing_offer_create_params.rb +39 -0
  675. data/lib/stripe/params/test_helpers/capital/financing_offer_refill_params.rb +39 -0
  676. data/lib/stripe/params/test_helpers/confirmation_token_create_params.rb +101 -0
  677. data/lib/stripe/params/test_helpers/issuing/authorization_capture_params.rb +56 -0
  678. data/lib/stripe/params/test_helpers/issuing/authorization_create_params.rb +51 -0
  679. data/lib/stripe/params/test_helpers/issuing/dispute_close_params.rb +20 -0
  680. data/lib/stripe/params/test_helpers/issuing/dispute_provisional_credit_params.rb +23 -0
  681. data/lib/stripe/params/test_helpers/issuing/dispute_simulate_network_lifecycle_dispute_response_params.rb +28 -0
  682. data/lib/stripe/params/test_helpers/issuing/dispute_simulate_network_lifecycle_pre_arbitration_response_params.rb +28 -0
  683. data/lib/stripe/params/test_helpers/issuing/dispute_simulate_network_lifecycle_pre_arbitration_submission_params.rb +28 -0
  684. data/lib/stripe/params/test_helpers/issuing/transaction_create_force_capture_params.rb +64 -0
  685. data/lib/stripe/params/test_helpers/issuing/transaction_create_unlinked_refund_params.rb +51 -0
  686. data/lib/stripe/params/test_helpers/payment_intent_simulate_crypto_deposit_params.rb +33 -0
  687. data/lib/stripe/params/test_helpers/shared_payment/granted_token_create_params.rb +52 -0
  688. data/lib/stripe/params/test_helpers/shared_payment/granted_token_revoke_params.rb +17 -0
  689. data/lib/stripe/params/test_helpers/terminal/reader_present_payment_method_params.rb +16 -0
  690. data/lib/stripe/params/test_helpers/treasury/received_credit_create_params.rb +25 -1
  691. data/lib/stripe/params/test_helpers/treasury/received_debit_create_params.rb +25 -1
  692. data/lib/stripe/params/token_create_params.rb +136 -2
  693. data/lib/stripe/params/transfer_create_params.rb +8 -0
  694. data/lib/stripe/params/treasury/financial_account_create_params.rb +8 -1
  695. data/lib/stripe/params/treasury/financial_account_features_update_params.rb +4 -1
  696. data/lib/stripe/params/treasury/financial_account_update_features_params.rb +4 -1
  697. data/lib/stripe/params/treasury/financial_account_update_params.rb +8 -1
  698. data/lib/stripe/params/treasury/outbound_payment_create_params.rb +4 -0
  699. data/lib/stripe/params/treasury/outbound_transfer_create_params.rb +24 -0
  700. data/lib/stripe/params/treasury/received_credit_create_params.rb +25 -1
  701. data/lib/stripe/params/treasury/received_debit_create_params.rb +25 -1
  702. data/lib/stripe/params/v2/billing/bill_setting_create_params.rb +74 -0
  703. data/lib/stripe/params/v2/billing/bill_setting_list_params.rb +21 -0
  704. data/lib/stripe/params/v2/billing/bill_setting_retrieve_params.rb +10 -0
  705. data/lib/stripe/params/v2/billing/bill_setting_update_params.rb +80 -0
  706. data/lib/stripe/params/v2/billing/bill_settings/version_list_params.rb +19 -0
  707. data/lib/stripe/params/v2/billing/bill_settings/version_retrieve_params.rb +12 -0
  708. data/lib/stripe/params/v2/billing/cadence_cancel_params.rb +17 -0
  709. data/lib/stripe/params/v2/billing/cadence_create_params.rb +257 -0
  710. data/lib/stripe/params/v2/billing/cadence_list_params.rb +43 -0
  711. data/lib/stripe/params/v2/billing/cadence_retrieve_params.rb +17 -0
  712. data/lib/stripe/params/v2/billing/cadence_update_params.rb +78 -0
  713. data/lib/stripe/params/v2/billing/cadences/spend_modifier_rule_list_params.rb +22 -0
  714. data/lib/stripe/params/v2/billing/cadences/spend_modifier_rule_retrieve_params.rb +12 -0
  715. data/lib/stripe/params/v2/billing/collection_setting_create_params.rb +257 -0
  716. data/lib/stripe/params/v2/billing/collection_setting_list_params.rb +21 -0
  717. data/lib/stripe/params/v2/billing/collection_setting_retrieve_params.rb +10 -0
  718. data/lib/stripe/params/v2/billing/collection_setting_update_params.rb +263 -0
  719. data/lib/stripe/params/v2/billing/collection_settings/version_list_params.rb +19 -0
  720. data/lib/stripe/params/v2/billing/collection_settings/version_retrieve_params.rb +12 -0
  721. data/lib/stripe/params/v2/billing/contract_activate_params.rb +17 -0
  722. data/lib/stripe/params/v2/billing/contract_cancel_params.rb +39 -0
  723. data/lib/stripe/params/v2/billing/contract_create_params.rb +491 -0
  724. data/lib/stripe/params/v2/billing/contract_delete_params.rb +10 -0
  725. data/lib/stripe/params/v2/billing/contract_list_params.rb +23 -0
  726. data/lib/stripe/params/v2/billing/contract_retrieve_params.rb +17 -0
  727. data/lib/stripe/params/v2/billing/contract_update_params.rb +786 -0
  728. data/lib/stripe/params/v2/billing/contracts/pricing_lines/quantity_change_list_contract_pricing_line_quantity_changes_params.rb +21 -0
  729. data/lib/stripe/params/v2/billing/custom_pricing_unit_create_params.rb +26 -0
  730. data/lib/stripe/params/v2/billing/custom_pricing_unit_list_params.rb +24 -0
  731. data/lib/stripe/params/v2/billing/custom_pricing_unit_retrieve_params.rb +10 -0
  732. data/lib/stripe/params/v2/billing/custom_pricing_unit_update_params.rb +26 -0
  733. data/lib/stripe/params/v2/billing/intent_cancel_params.rb +10 -0
  734. data/lib/stripe/params/v2/billing/intent_commit_params.rb +17 -0
  735. data/lib/stripe/params/v2/billing/intent_create_params.rb +899 -0
  736. data/lib/stripe/params/v2/billing/intent_list_params.rb +17 -0
  737. data/lib/stripe/params/v2/billing/intent_release_reservation_params.rb +10 -0
  738. data/lib/stripe/params/v2/billing/intent_reserve_params.rb +10 -0
  739. data/lib/stripe/params/v2/billing/intent_retrieve_params.rb +10 -0
  740. data/lib/stripe/params/v2/billing/intents/action_list_params.rb +19 -0
  741. data/lib/stripe/params/v2/billing/intents/action_retrieve_params.rb +12 -0
  742. data/lib/stripe/params/v2/billing/license_fee_create_params.rb +121 -0
  743. data/lib/stripe/params/v2/billing/license_fee_list_params.rb +24 -0
  744. data/lib/stripe/params/v2/billing/license_fee_retrieve_params.rb +10 -0
  745. data/lib/stripe/params/v2/billing/license_fee_update_params.rb +102 -0
  746. data/lib/stripe/params/v2/billing/license_fees/version_list_params.rb +19 -0
  747. data/lib/stripe/params/v2/billing/license_fees/version_retrieve_params.rb +12 -0
  748. data/lib/stripe/params/v2/billing/licensed_item_create_params.rb +48 -0
  749. data/lib/stripe/params/v2/billing/licensed_item_list_params.rb +21 -0
  750. data/lib/stripe/params/v2/billing/licensed_item_retrieve_params.rb +10 -0
  751. data/lib/stripe/params/v2/billing/licensed_item_update_params.rb +48 -0
  752. data/lib/stripe/params/v2/billing/metered_item_create_params.rb +73 -0
  753. data/lib/stripe/params/v2/billing/metered_item_list_params.rb +21 -0
  754. data/lib/stripe/params/v2/billing/metered_item_retrieve_params.rb +10 -0
  755. data/lib/stripe/params/v2/billing/metered_item_update_params.rb +50 -0
  756. data/lib/stripe/params/v2/billing/one_time_item_create_params.rb +48 -0
  757. data/lib/stripe/params/v2/billing/one_time_item_list_params.rb +21 -0
  758. data/lib/stripe/params/v2/billing/one_time_item_retrieve_params.rb +10 -0
  759. data/lib/stripe/params/v2/billing/one_time_item_update_params.rb +48 -0
  760. data/lib/stripe/params/v2/billing/pricing_plan_create_params.rb +39 -0
  761. data/lib/stripe/params/v2/billing/pricing_plan_list_params.rb +24 -0
  762. data/lib/stripe/params/v2/billing/pricing_plan_retrieve_params.rb +10 -0
  763. data/lib/stripe/params/v2/billing/pricing_plan_subscription_list_params.rb +54 -0
  764. data/lib/stripe/params/v2/billing/pricing_plan_subscription_remove_discounts_params.rb +17 -0
  765. data/lib/stripe/params/v2/billing/pricing_plan_subscription_retrieve_params.rb +17 -0
  766. data/lib/stripe/params/v2/billing/pricing_plan_subscription_update_params.rb +20 -0
  767. data/lib/stripe/params/v2/billing/pricing_plan_update_params.rb +39 -0
  768. data/lib/stripe/params/v2/billing/pricing_plans/component_create_params.rb +73 -0
  769. data/lib/stripe/params/v2/billing/pricing_plans/component_delete_params.rb +12 -0
  770. data/lib/stripe/params/v2/billing/pricing_plans/component_list_params.rb +27 -0
  771. data/lib/stripe/params/v2/billing/pricing_plans/component_retrieve_params.rb +12 -0
  772. data/lib/stripe/params/v2/billing/pricing_plans/component_update_params.rb +22 -0
  773. data/lib/stripe/params/v2/billing/pricing_plans/version_list_params.rb +19 -0
  774. data/lib/stripe/params/v2/billing/pricing_plans/version_retrieve_params.rb +12 -0
  775. data/lib/stripe/params/v2/billing/profile_create_params.rb +37 -0
  776. data/lib/stripe/params/v2/billing/profile_list_params.rb +40 -0
  777. data/lib/stripe/params/v2/billing/profile_retrieve_params.rb +10 -0
  778. data/lib/stripe/params/v2/billing/profile_update_params.rb +35 -0
  779. data/lib/stripe/params/v2/billing/rate_card_create_params.rb +49 -0
  780. data/lib/stripe/params/v2/billing/rate_card_list_params.rb +24 -0
  781. data/lib/stripe/params/v2/billing/rate_card_modify_rates_params.rb +177 -0
  782. data/lib/stripe/params/v2/billing/rate_card_retrieve_params.rb +10 -0
  783. data/lib/stripe/params/v2/billing/rate_card_subscription_cancel_params.rb +10 -0
  784. data/lib/stripe/params/v2/billing/rate_card_subscription_create_params.rb +26 -0
  785. data/lib/stripe/params/v2/billing/rate_card_subscription_list_params.rb +51 -0
  786. data/lib/stripe/params/v2/billing/rate_card_subscription_retrieve_params.rb +10 -0
  787. data/lib/stripe/params/v2/billing/rate_card_subscription_update_params.rb +17 -0
  788. data/lib/stripe/params/v2/billing/rate_card_update_params.rb +38 -0
  789. data/lib/stripe/params/v2/billing/rate_cards/custom_pricing_unit_overage_rate_create_params.rb +33 -0
  790. data/lib/stripe/params/v2/billing/rate_cards/custom_pricing_unit_overage_rate_delete_params.rb +12 -0
  791. data/lib/stripe/params/v2/billing/rate_cards/custom_pricing_unit_overage_rate_list_params.rb +22 -0
  792. data/lib/stripe/params/v2/billing/rate_cards/custom_pricing_unit_overage_rate_retrieve_params.rb +12 -0
  793. data/lib/stripe/params/v2/billing/rate_cards/rate_create_params.rb +109 -0
  794. data/lib/stripe/params/v2/billing/rate_cards/rate_delete_params.rb +12 -0
  795. data/lib/stripe/params/v2/billing/rate_cards/rate_list_params.rb +25 -0
  796. data/lib/stripe/params/v2/billing/rate_cards/rate_retrieve_params.rb +12 -0
  797. data/lib/stripe/params/v2/billing/rate_cards/version_list_params.rb +19 -0
  798. data/lib/stripe/params/v2/billing/rate_cards/version_retrieve_params.rb +12 -0
  799. data/lib/stripe/params/v2/billing/service_action_create_params.rb +315 -0
  800. data/lib/stripe/params/v2/billing/service_action_retrieve_params.rb +10 -0
  801. data/lib/stripe/params/v2/billing/service_action_update_params.rb +40 -0
  802. data/lib/stripe/params/v2/core/account_create_params.rb +4072 -57
  803. data/lib/stripe/params/v2/core/account_evaluation_create_params.rb +73 -0
  804. data/lib/stripe/params/v2/core/account_link_create_params.rb +81 -1
  805. data/lib/stripe/params/v2/core/account_list_params.rb +9 -1
  806. data/lib/stripe/params/v2/core/account_token_create_params.rb +254 -1
  807. data/lib/stripe/params/v2/core/account_update_params.rb +4051 -57
  808. data/lib/stripe/params/v2/core/approval_request_cancel_params.rb +10 -0
  809. data/lib/stripe/params/v2/core/approval_request_execute_params.rb +10 -0
  810. data/lib/stripe/params/v2/core/approval_request_list_params.rb +17 -0
  811. data/lib/stripe/params/v2/core/approval_request_retrieve_params.rb +10 -0
  812. data/lib/stripe/params/v2/core/approval_request_submit_params.rb +17 -0
  813. data/lib/stripe/params/v2/core/batch_job_cancel_params.rb +10 -0
  814. data/lib/stripe/params/v2/core/batch_job_create_params.rb +53 -0
  815. data/lib/stripe/params/v2/core/batch_job_retrieve_params.rb +10 -0
  816. data/lib/stripe/params/v2/core/claimable_sandbox_create_params.rb +59 -0
  817. data/lib/stripe/params/v2/core/claimable_sandbox_renew_onboarding_link_params.rb +28 -0
  818. data/lib/stripe/params/v2/core/claimable_sandbox_retrieve_params.rb +10 -0
  819. data/lib/stripe/params/v2/core/connection_session_create_params.rb +23 -0
  820. data/lib/stripe/params/v2/core/connection_session_retrieve_params.rb +10 -0
  821. data/lib/stripe/params/v2/core/event_list_params.rb +4 -1
  822. data/lib/stripe/params/v2/core/event_retrieve_params.rb +8 -1
  823. data/lib/stripe/params/v2/core/fee_batch_list_params.rb +43 -0
  824. data/lib/stripe/params/v2/core/fee_batch_retrieve_params.rb +10 -0
  825. data/lib/stripe/params/v2/core/fee_entry_list_params.rb +51 -0
  826. data/lib/stripe/params/v2/core/fee_entry_retrieve_params.rb +10 -0
  827. data/lib/stripe/params/v2/core/health/alert_list_params.rb +53 -0
  828. data/lib/stripe/params/v2/core/health/alert_retrieve_params.rb +12 -0
  829. data/lib/stripe/params/v2/core/health/alerts/history_list_params.rb +21 -0
  830. data/lib/stripe/params/v2/core/vault/gb_bank_account_acknowledge_confirmation_of_payee_params.rb +12 -0
  831. data/lib/stripe/params/v2/core/vault/gb_bank_account_archive_params.rb +12 -0
  832. data/lib/stripe/params/v2/core/vault/gb_bank_account_create_params.rb +58 -0
  833. data/lib/stripe/params/v2/core/vault/gb_bank_account_initiate_confirmation_of_payee_params.rb +22 -0
  834. data/lib/stripe/params/v2/core/vault/gb_bank_account_list_params.rb +19 -0
  835. data/lib/stripe/params/v2/core/vault/gb_bank_account_retrieve_params.rb +12 -0
  836. data/lib/stripe/params/v2/core/vault/us_bank_account_archive_params.rb +12 -0
  837. data/lib/stripe/params/v2/core/vault/us_bank_account_confirm_microdeposits_params.rb +22 -0
  838. data/lib/stripe/params/v2/core/vault/us_bank_account_create_params.rb +37 -0
  839. data/lib/stripe/params/v2/core/vault/us_bank_account_list_params.rb +22 -0
  840. data/lib/stripe/params/v2/core/vault/us_bank_account_retrieve_params.rb +12 -0
  841. data/lib/stripe/params/v2/core/vault/us_bank_account_send_microdeposits_params.rb +12 -0
  842. data/lib/stripe/params/v2/core/vault/us_bank_account_update_params.rb +22 -0
  843. data/lib/stripe/params/v2/data/analytics/metric_query_create_params.rb +68 -0
  844. data/lib/stripe/params/v2/data/reporting/query_run_create_params.rb +31 -0
  845. data/lib/stripe/params/v2/data/reporting/query_run_retrieve_params.rb +19 -0
  846. data/lib/stripe/params/v2/extend/workflow_invoke_params.rb +17 -0
  847. data/lib/stripe/params/v2/extend/workflow_list_params.rb +21 -0
  848. data/lib/stripe/params/v2/extend/workflow_retrieve_params.rb +10 -0
  849. data/lib/stripe/params/v2/extend/workflow_run_list_params.rb +23 -0
  850. data/lib/stripe/params/v2/extend/workflow_run_retrieve_params.rb +10 -0
  851. data/lib/stripe/params/v2/iam/activity_log_list_params.rb +23 -0
  852. data/lib/stripe/params/v2/iam/activity_log_retrieve_params.rb +10 -0
  853. data/lib/stripe/params/v2/iam/api_key_create_params.rb +68 -0
  854. data/lib/stripe/params/v2/iam/api_key_expire_params.rb +10 -0
  855. data/lib/stripe/params/v2/iam/api_key_list_params.rb +20 -0
  856. data/lib/stripe/params/v2/iam/api_key_retrieve_params.rb +10 -0
  857. data/lib/stripe/params/v2/iam/api_key_rotate_params.rb +46 -0
  858. data/lib/stripe/params/v2/iam/api_key_update_params.rb +26 -0
  859. data/lib/stripe/params/v2/money_management/adjustment_list_params.rb +48 -0
  860. data/lib/stripe/params/v2/money_management/adjustment_retrieve_params.rb +10 -0
  861. data/lib/stripe/params/v2/money_management/currency_conversion_create_params.rb +49 -0
  862. data/lib/stripe/params/v2/money_management/currency_conversion_list_params.rb +20 -0
  863. data/lib/stripe/params/v2/money_management/currency_conversion_retrieve_params.rb +10 -0
  864. data/lib/stripe/params/v2/money_management/debit_dispute_create_params.rb +28 -0
  865. data/lib/stripe/params/v2/money_management/debit_dispute_list_params.rb +23 -0
  866. data/lib/stripe/params/v2/money_management/debit_dispute_retrieve_params.rb +10 -0
  867. data/lib/stripe/params/v2/money_management/financial_account_close_params.rb +28 -0
  868. data/lib/stripe/params/v2/money_management/financial_account_create_params.rb +37 -0
  869. data/lib/stripe/params/v2/money_management/financial_account_list_params.rb +26 -0
  870. data/lib/stripe/params/v2/money_management/financial_account_retrieve_params.rb +17 -0
  871. data/lib/stripe/params/v2/money_management/financial_account_update_params.rb +33 -0
  872. data/lib/stripe/params/v2/money_management/financial_accounts/statement_list_params.rb +25 -0
  873. data/lib/stripe/params/v2/money_management/financial_accounts/statement_retrieve_params.rb +19 -0
  874. data/lib/stripe/params/v2/money_management/financial_address_create_params.rb +52 -0
  875. data/lib/stripe/params/v2/money_management/financial_address_list_params.rb +23 -0
  876. data/lib/stripe/params/v2/money_management/financial_address_retrieve_params.rb +17 -0
  877. data/lib/stripe/params/v2/money_management/inbound_transfer_create_params.rb +50 -0
  878. data/lib/stripe/params/v2/money_management/inbound_transfer_list_params.rb +44 -0
  879. data/lib/stripe/params/v2/money_management/inbound_transfer_retrieve_params.rb +10 -0
  880. data/lib/stripe/params/v2/money_management/outbound_payment_cancel_params.rb +10 -0
  881. data/lib/stripe/params/v2/money_management/outbound_payment_create_params.rb +179 -0
  882. data/lib/stripe/params/v2/money_management/outbound_payment_list_params.rb +52 -0
  883. data/lib/stripe/params/v2/money_management/outbound_payment_quote_create_params.rb +70 -0
  884. data/lib/stripe/params/v2/money_management/outbound_payment_quote_retrieve_params.rb +10 -0
  885. data/lib/stripe/params/v2/money_management/outbound_payment_retrieve_params.rb +10 -0
  886. data/lib/stripe/params/v2/money_management/outbound_setup_intent_cancel_params.rb +10 -0
  887. data/lib/stripe/params/v2/money_management/outbound_setup_intent_create_params.rb +110 -0
  888. data/lib/stripe/params/v2/money_management/outbound_setup_intent_list_params.rb +17 -0
  889. data/lib/stripe/params/v2/money_management/outbound_setup_intent_retrieve_params.rb +10 -0
  890. data/lib/stripe/params/v2/money_management/outbound_setup_intent_update_params.rb +88 -0
  891. data/lib/stripe/params/v2/money_management/outbound_transfer_cancel_params.rb +10 -0
  892. data/lib/stripe/params/v2/money_management/outbound_transfer_create_params.rb +104 -0
  893. data/lib/stripe/params/v2/money_management/outbound_transfer_list_params.rb +48 -0
  894. data/lib/stripe/params/v2/money_management/outbound_transfer_retrieve_params.rb +10 -0
  895. data/lib/stripe/params/v2/money_management/payout_intent_cancel_params.rb +10 -0
  896. data/lib/stripe/params/v2/money_management/payout_intent_create_params.rb +138 -0
  897. data/lib/stripe/params/v2/money_management/payout_intent_list_params.rb +17 -0
  898. data/lib/stripe/params/v2/money_management/payout_intent_retrieve_params.rb +10 -0
  899. data/lib/stripe/params/v2/money_management/payout_intent_update_params.rb +138 -0
  900. data/lib/stripe/params/v2/money_management/payout_method_archive_params.rb +10 -0
  901. data/lib/stripe/params/v2/money_management/payout_method_list_params.rb +31 -0
  902. data/lib/stripe/params/v2/money_management/payout_method_retrieve_params.rb +10 -0
  903. data/lib/stripe/params/v2/money_management/payout_method_unarchive_params.rb +10 -0
  904. data/lib/stripe/params/v2/money_management/payout_methods_bank_account_spec_retrieve_params.rb +17 -0
  905. data/lib/stripe/params/v2/money_management/received_credit_list_params.rb +44 -0
  906. data/lib/stripe/params/v2/money_management/received_credit_retrieve_params.rb +10 -0
  907. data/lib/stripe/params/v2/money_management/received_debit_list_params.rb +20 -0
  908. data/lib/stripe/params/v2/money_management/received_debit_mandate_cancel_params.rb +10 -0
  909. data/lib/stripe/params/v2/money_management/received_debit_mandate_list_params.rb +26 -0
  910. data/lib/stripe/params/v2/money_management/received_debit_mandate_retrieve_params.rb +10 -0
  911. data/lib/stripe/params/v2/money_management/received_debit_retrieve_params.rb +10 -0
  912. data/lib/stripe/params/v2/money_management/recipient_verification_acknowledge_params.rb +10 -0
  913. data/lib/stripe/params/v2/money_management/recipient_verification_create_params.rb +20 -0
  914. data/lib/stripe/params/v2/money_management/recipient_verification_retrieve_params.rb +10 -0
  915. data/lib/stripe/params/v2/money_management/test_helpers/financial_address_debit_params.rb +25 -0
  916. data/lib/stripe/params/v2/money_management/transaction_entry_list_params.rb +43 -0
  917. data/lib/stripe/params/v2/money_management/transaction_entry_retrieve_params.rb +10 -0
  918. data/lib/stripe/params/v2/money_management/transaction_list_params.rb +47 -0
  919. data/lib/stripe/params/v2/money_management/transaction_retrieve_params.rb +10 -0
  920. data/lib/stripe/params/v2/network/business_profile_me_params.rb +10 -0
  921. data/lib/stripe/params/v2/network/business_profile_retrieve_params.rb +10 -0
  922. data/lib/stripe/params/v2/orchestrated_commerce/agreement_confirm_params.rb +10 -0
  923. data/lib/stripe/params/v2/orchestrated_commerce/agreement_create_params.rb +17 -0
  924. data/lib/stripe/params/v2/orchestrated_commerce/agreement_list_params.rb +20 -0
  925. data/lib/stripe/params/v2/orchestrated_commerce/agreement_retrieve_params.rb +10 -0
  926. data/lib/stripe/params/v2/orchestrated_commerce/agreement_terminate_params.rb +10 -0
  927. data/lib/stripe/params/v2/payments/off_session_payment_cancel_params.rb +10 -0
  928. data/lib/stripe/params/v2/payments/off_session_payment_capture_params.rb +178 -0
  929. data/lib/stripe/params/v2/payments/off_session_payment_create_params.rb +366 -0
  930. data/lib/stripe/params/v2/payments/off_session_payment_list_params.rb +17 -0
  931. data/lib/stripe/params/v2/payments/off_session_payment_pause_params.rb +10 -0
  932. data/lib/stripe/params/v2/payments/off_session_payment_resume_params.rb +10 -0
  933. data/lib/stripe/params/v2/payments/off_session_payment_retrieve_params.rb +10 -0
  934. data/lib/stripe/params/v2/payments/settlement_allocation_intent_cancel_params.rb +10 -0
  935. data/lib/stripe/params/v2/payments/settlement_allocation_intent_create_params.rb +35 -0
  936. data/lib/stripe/params/v2/payments/settlement_allocation_intent_list_params.rb +47 -0
  937. data/lib/stripe/params/v2/payments/settlement_allocation_intent_retrieve_params.rb +10 -0
  938. data/lib/stripe/params/v2/payments/settlement_allocation_intent_submit_params.rb +10 -0
  939. data/lib/stripe/params/v2/payments/settlement_allocation_intent_update_params.rb +20 -0
  940. data/lib/stripe/params/v2/payments/settlement_allocation_intents/split_cancel_params.rb +12 -0
  941. data/lib/stripe/params/v2/payments/settlement_allocation_intents/split_create_params.rb +28 -0
  942. data/lib/stripe/params/v2/payments/settlement_allocation_intents/split_list_params.rb +22 -0
  943. data/lib/stripe/params/v2/payments/settlement_allocation_intents/split_retrieve_params.rb +12 -0
  944. data/lib/stripe/params/v2/reporting/report_retrieve_params.rb +10 -0
  945. data/lib/stripe/params/v2/reporting/report_run_create_params.rb +33 -0
  946. data/lib/stripe/params/v2/reporting/report_run_retrieve_params.rb +17 -0
  947. data/lib/stripe/params/v2/risk/inquiry_list_params.rb +20 -0
  948. data/lib/stripe/params/v2/risk/inquiry_retrieve_params.rb +10 -0
  949. data/lib/stripe/params/v2/risk/inquiry_update_params.rb +49 -0
  950. data/lib/stripe/params/v2/signals/account_activity_create_params.rb +197 -0
  951. data/lib/stripe/params/v2/signals/account_activity_delete_params.rb +10 -0
  952. data/lib/stripe/params/v2/signals/account_activity_retrieve_params.rb +10 -0
  953. data/lib/stripe/params/v2/signals/account_evaluation_create_params.rb +188 -0
  954. data/lib/stripe/params/v2/signals/account_evaluation_retrieve_params.rb +10 -0
  955. data/lib/stripe/params/v2/signals/account_signal_list_params.rb +35 -0
  956. data/lib/stripe/params/v2/signals/account_signal_retrieve_params.rb +10 -0
  957. data/lib/stripe/params/v2/tax/manual_rule_create_params.rb +124 -0
  958. data/lib/stripe/params/v2/tax/manual_rule_deactivate_params.rb +10 -0
  959. data/lib/stripe/params/v2/tax/manual_rule_list_params.rb +17 -0
  960. data/lib/stripe/params/v2/tax/manual_rule_retrieve_params.rb +10 -0
  961. data/lib/stripe/params/v2/tax/manual_rule_update_params.rb +124 -0
  962. data/lib/stripe/params/v2/test_helpers/financial_address_credit_params.rb +23 -0
  963. data/lib/stripe/params/v2/test_helpers/financial_address_generate_microdeposits_params.rb +10 -0
  964. data/lib/stripe/params/v2/test_helpers/money_management_recipient_verifications_params.rb +24 -0
  965. data/lib/stripe/params.rb +1040 -0
  966. data/lib/stripe/resources/account.rb +273 -1
  967. data/lib/stripe/resources/account_notice.rb +94 -0
  968. data/lib/stripe/resources/account_session.rb +414 -0
  969. data/lib/stripe/resources/account_signals.rb +104 -0
  970. data/lib/stripe/resources/application_fee.rb +24 -1
  971. data/lib/stripe/resources/balance.rb +166 -0
  972. data/lib/stripe/resources/balance_settings.rb +4 -0
  973. data/lib/stripe/resources/balance_transfer.rb +139 -0
  974. data/lib/stripe/resources/billing/alert.rb +277 -1
  975. data/lib/stripe/resources/billing/alert_notification.rb +56 -0
  976. data/lib/stripe/resources/billing/alert_recovered.rb +60 -0
  977. data/lib/stripe/resources/billing/alert_triggered.rb +48 -1
  978. data/lib/stripe/resources/billing/analytics/meter_usage.rb +33 -0
  979. data/lib/stripe/resources/billing/analytics/meter_usage_row.rb +40 -0
  980. data/lib/stripe/resources/billing/credit_balance_summary.rb +172 -3
  981. data/lib/stripe/resources/billing/credit_balance_transaction.rb +145 -2
  982. data/lib/stripe/resources/billing/credit_grant.rb +92 -2
  983. data/lib/stripe/resources/billing/feedback_options.rb +47 -0
  984. data/lib/stripe/resources/billing/meter.rb +2 -0
  985. data/lib/stripe/resources/billing/meter_event_summary.rb +2 -0
  986. data/lib/stripe/resources/billing_portal/configuration.rb +2 -0
  987. data/lib/stripe/resources/capability.rb +36 -1
  988. data/lib/stripe/resources/capital/financing_offer.rb +185 -0
  989. data/lib/stripe/resources/capital/financing_summary.rb +84 -0
  990. data/lib/stripe/resources/capital/financing_transaction.rb +99 -0
  991. data/lib/stripe/resources/card.rb +35 -1
  992. data/lib/stripe/resources/charge.rb +422 -2
  993. data/lib/stripe/resources/checkout/session.rb +689 -3
  994. data/lib/stripe/resources/confirmation_token.rb +255 -1
  995. data/lib/stripe/resources/coupon.rb +60 -1
  996. data/lib/stripe/resources/credit_note_line_item.rb +18 -0
  997. data/lib/stripe/resources/crypto/customer.rb +73 -0
  998. data/lib/stripe/resources/crypto/customer_consumer_wallet.rb +35 -0
  999. data/lib/stripe/resources/crypto/customer_payment_token.rb +84 -0
  1000. data/lib/stripe/resources/crypto/deposit_address.rb +82 -0
  1001. data/lib/stripe/resources/crypto/onramp_session.rb +222 -0
  1002. data/lib/stripe/resources/crypto/onramp_transaction_limits.rb +33 -0
  1003. data/lib/stripe/resources/customer.rb +16 -0
  1004. data/lib/stripe/resources/customer_session.rb +36 -0
  1005. data/lib/stripe/resources/delegated_checkout/order.rb +142 -0
  1006. data/lib/stripe/resources/delegated_checkout/order_event.rb +118 -0
  1007. data/lib/stripe/resources/delegated_checkout/requested_session.rb +895 -0
  1008. data/lib/stripe/resources/discount.rb +20 -1
  1009. data/lib/stripe/resources/dispute.rb +24 -0
  1010. data/lib/stripe/resources/event.rb +64 -1
  1011. data/lib/stripe/resources/financial_connections/account.rb +45 -1
  1012. data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +35 -0
  1013. data/lib/stripe/resources/financial_connections/authorization.rb +24 -1
  1014. data/lib/stripe/resources/financial_connections/institution.rb +127 -0
  1015. data/lib/stripe/resources/financial_connections/session.rb +92 -0
  1016. data/lib/stripe/resources/fx_quote.rb +147 -0
  1017. data/lib/stripe/resources/gift_card.rb +146 -0
  1018. data/lib/stripe/resources/gift_card_operation.rb +280 -0
  1019. data/lib/stripe/resources/identity/blocklist_entry.rb +116 -0
  1020. data/lib/stripe/resources/identity/verification_report.rb +24 -1
  1021. data/lib/stripe/resources/invoice.rb +198 -1
  1022. data/lib/stripe/resources/invoice_item.rb +126 -2
  1023. data/lib/stripe/resources/invoice_line_item.rb +195 -1
  1024. data/lib/stripe/resources/issuing/authorization.rb +530 -1
  1025. data/lib/stripe/resources/issuing/card.rb +42 -0
  1026. data/lib/stripe/resources/issuing/cardholder.rb +16 -0
  1027. data/lib/stripe/resources/issuing/credit_underwriting_record.rb +285 -0
  1028. data/lib/stripe/resources/issuing/dispute.rb +349 -1
  1029. data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +71 -0
  1030. data/lib/stripe/resources/issuing/fraud_liability_debit.rb +51 -0
  1031. data/lib/stripe/resources/issuing/program.rb +69 -0
  1032. data/lib/stripe/resources/issuing/settlement.rb +61 -0
  1033. data/lib/stripe/resources/issuing/token.rb +10 -0
  1034. data/lib/stripe/resources/issuing/transaction.rb +191 -1
  1035. data/lib/stripe/resources/line_item.rb +42 -0
  1036. data/lib/stripe/resources/mandate.rb +30 -0
  1037. data/lib/stripe/resources/margin.rb +64 -0
  1038. data/lib/stripe/resources/orchestration/payment_attempt.rb +31 -0
  1039. data/lib/stripe/resources/order.rb +929 -0
  1040. data/lib/stripe/resources/payment_attempt_record.rb +513 -3
  1041. data/lib/stripe/resources/payment_intent.rb +2584 -20
  1042. data/lib/stripe/resources/payment_intent_amount_details_line_item.rb +48 -1
  1043. data/lib/stripe/resources/payment_link.rb +22 -0
  1044. data/lib/stripe/resources/payment_location.rb +165 -0
  1045. data/lib/stripe/resources/payment_location_capability.rb +94 -0
  1046. data/lib/stripe/resources/payment_method.rb +286 -1
  1047. data/lib/stripe/resources/payment_method_balance.rb +68 -0
  1048. data/lib/stripe/resources/payment_method_configuration.rb +204 -0
  1049. data/lib/stripe/resources/payment_record.rb +379 -3
  1050. data/lib/stripe/resources/person.rb +62 -0
  1051. data/lib/stripe/resources/price.rb +22 -0
  1052. data/lib/stripe/resources/privacy/redaction_job.rb +189 -0
  1053. data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +49 -0
  1054. data/lib/stripe/resources/product.rb +78 -0
  1055. data/lib/stripe/resources/product_catalog/trial_offer.rb +117 -0
  1056. data/lib/stripe/resources/profile.rb +80 -0
  1057. data/lib/stripe/resources/quote.rb +806 -2
  1058. data/lib/stripe/resources/quote_line.rb +731 -0
  1059. data/lib/stripe/resources/quote_preview_invoice.rb +1264 -0
  1060. data/lib/stripe/resources/quote_preview_subscription_schedule.rb +1078 -0
  1061. data/lib/stripe/resources/radar/account_evaluation.rb +180 -0
  1062. data/lib/stripe/resources/radar/customer_evaluation.rb +155 -0
  1063. data/lib/stripe/resources/radar/issuing_authorization_evaluation.rb +245 -0
  1064. data/lib/stripe/resources/radar/payment_evaluation.rb +45 -2
  1065. data/lib/stripe/resources/radar/value_list_item.rb +15 -1
  1066. data/lib/stripe/resources/refund.rb +18 -0
  1067. data/lib/stripe/resources/reserve/hold.rb +7 -0
  1068. data/lib/stripe/resources/reserve/release.rb +12 -0
  1069. data/lib/stripe/resources/risk_signals.rb +24 -0
  1070. data/lib/stripe/resources/setup_attempt.rb +51 -0
  1071. data/lib/stripe/resources/setup_intent.rb +129 -1
  1072. data/lib/stripe/resources/shared_payment/granted_token.rb +683 -0
  1073. data/lib/stripe/resources/shared_payment/issued_token.rb +312 -0
  1074. data/lib/stripe/resources/source.rb +54 -0
  1075. data/lib/stripe/resources/subscription.rb +253 -1
  1076. data/lib/stripe/resources/subscription_item.rb +41 -1
  1077. data/lib/stripe/resources/subscription_schedule.rb +496 -3
  1078. data/lib/stripe/resources/tax/calculation_line_item.rb +43 -1
  1079. data/lib/stripe/resources/tax/form.rb +264 -0
  1080. data/lib/stripe/resources/tax/location.rb +74 -0
  1081. data/lib/stripe/resources/tax/registration.rb +144 -0
  1082. data/lib/stripe/resources/tax_code.rb +15 -1
  1083. data/lib/stripe/resources/tax_fund.rb +179 -0
  1084. data/lib/stripe/resources/terminal/configuration.rb +16 -0
  1085. data/lib/stripe/resources/terminal/reader.rb +181 -0
  1086. data/lib/stripe/resources/terminal/reader_collected_data.rb +47 -0
  1087. data/lib/stripe/resources/token.rb +15 -1
  1088. data/lib/stripe/resources/transfer.rb +6 -0
  1089. data/lib/stripe/resources/transit_balance.rb +45 -0
  1090. data/lib/stripe/resources/treasury/financial_account.rb +2 -0
  1091. data/lib/stripe/resources/treasury/financial_account_features.rb +2 -0
  1092. data/lib/stripe/resources/treasury/outbound_payment.rb +2 -0
  1093. data/lib/stripe/resources/treasury/outbound_transfer.rb +30 -0
  1094. data/lib/stripe/resources/treasury/received_credit.rb +30 -0
  1095. data/lib/stripe/resources/treasury/received_debit.rb +32 -0
  1096. data/lib/stripe/resources/v2/billing/bill_setting.rb +102 -0
  1097. data/lib/stripe/resources/v2/billing/bill_setting_version.rb +91 -0
  1098. data/lib/stripe/resources/v2/billing/cadence.rb +773 -0
  1099. data/lib/stripe/resources/v2/billing/cadence_spend_modifier.rb +103 -0
  1100. data/lib/stripe/resources/v2/billing/collection_setting.rb +327 -0
  1101. data/lib/stripe/resources/v2/billing/collection_setting_version.rb +316 -0
  1102. data/lib/stripe/resources/v2/billing/contract.rb +537 -0
  1103. data/lib/stripe/resources/v2/billing/contract_pricing_line_quantity_change.rb +59 -0
  1104. data/lib/stripe/resources/v2/billing/custom_pricing_unit.rb +43 -0
  1105. data/lib/stripe/resources/v2/billing/intent.rb +358 -0
  1106. data/lib/stripe/resources/v2/billing/intent_action.rb +711 -0
  1107. data/lib/stripe/resources/v2/billing/license_fee.rb +140 -0
  1108. data/lib/stripe/resources/v2/billing/license_fee_version.rb +101 -0
  1109. data/lib/stripe/resources/v2/billing/licensed_item.rb +60 -0
  1110. data/lib/stripe/resources/v2/billing/metered_item.rb +85 -0
  1111. data/lib/stripe/resources/v2/billing/one_time_item.rb +60 -0
  1112. data/lib/stripe/resources/v2/billing/pricing_plan.rb +51 -0
  1113. data/lib/stripe/resources/v2/billing/pricing_plan_component.rb +97 -0
  1114. data/lib/stripe/resources/v2/billing/pricing_plan_subscription.rb +719 -0
  1115. data/lib/stripe/resources/v2/billing/pricing_plan_version.rb +41 -0
  1116. data/lib/stripe/resources/v2/billing/profile.rb +47 -0
  1117. data/lib/stripe/resources/v2/billing/rate_card.rb +71 -0
  1118. data/lib/stripe/resources/v2/billing/rate_card_custom_pricing_unit_overage_rate.rb +48 -0
  1119. data/lib/stripe/resources/v2/billing/rate_card_rate.rb +131 -0
  1120. data/lib/stripe/resources/v2/billing/rate_card_subscription.rb +97 -0
  1121. data/lib/stripe/resources/v2/billing/rate_card_version.rb +37 -0
  1122. data/lib/stripe/resources/v2/billing/service_action.rb +306 -0
  1123. data/lib/stripe/resources/v2/core/account.rb +19747 -1376
  1124. data/lib/stripe/resources/v2/core/account_evaluation.rb +106 -0
  1125. data/lib/stripe/resources/v2/core/account_link.rb +72 -0
  1126. data/lib/stripe/resources/v2/core/approval_request.rb +337 -0
  1127. data/lib/stripe/resources/v2/core/batch_job.rb +565 -0
  1128. data/lib/stripe/resources/v2/core/claimable_sandbox.rb +146 -0
  1129. data/lib/stripe/resources/v2/core/connection_session.rb +58 -0
  1130. data/lib/stripe/resources/v2/core/event.rb +66 -1
  1131. data/lib/stripe/resources/v2/core/event_notification.rb +1 -0
  1132. data/lib/stripe/resources/v2/core/fee_batch.rb +225 -0
  1133. data/lib/stripe/resources/v2/core/fee_entry.rb +173 -0
  1134. data/lib/stripe/resources/v2/core/health/alert.rb +572 -0
  1135. data/lib/stripe/resources/v2/core/health/alert_history_entry.rb +542 -0
  1136. data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +136 -0
  1137. data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +105 -0
  1138. data/lib/stripe/resources/v2/data/analytics/metric_query_result.rb +106 -0
  1139. data/lib/stripe/resources/v2/data/reporting/query_run.rb +159 -0
  1140. data/lib/stripe/resources/v2/extend/workflow.rb +80 -0
  1141. data/lib/stripe/resources/v2/extend/workflow_run.rb +158 -0
  1142. data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +29 -0
  1143. data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +31 -0
  1144. data/lib/stripe/resources/v2/iam/activity_log.rb +189 -0
  1145. data/lib/stripe/resources/v2/iam/api_key.rb +133 -0
  1146. data/lib/stripe/resources/v2/money_management/adjustment.rb +69 -0
  1147. data/lib/stripe/resources/v2/money_management/currency_conversion.rb +66 -0
  1148. data/lib/stripe/resources/v2/money_management/debit_dispute.rb +113 -0
  1149. data/lib/stripe/resources/v2/money_management/financial_account.rb +311 -0
  1150. data/lib/stripe/resources/v2/money_management/financial_account_statement.rb +101 -0
  1151. data/lib/stripe/resources/v2/money_management/financial_address.rb +225 -0
  1152. data/lib/stripe/resources/v2/money_management/financial_address_debit_simulation.rb +31 -0
  1153. data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +181 -0
  1154. data/lib/stripe/resources/v2/money_management/outbound_payment.rb +376 -0
  1155. data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +146 -0
  1156. data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +69 -0
  1157. data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +239 -0
  1158. data/lib/stripe/resources/v2/money_management/payout_intent.rb +245 -0
  1159. data/lib/stripe/resources/v2/money_management/payout_method.rb +185 -0
  1160. data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +83 -0
  1161. data/lib/stripe/resources/v2/money_management/received_credit.rb +434 -0
  1162. data/lib/stripe/resources/v2/money_management/received_debit.rb +293 -0
  1163. data/lib/stripe/resources/v2/money_management/received_debit_mandate.rb +121 -0
  1164. data/lib/stripe/resources/v2/money_management/recipient_verification.rb +83 -0
  1165. data/lib/stripe/resources/v2/money_management/transaction.rb +187 -0
  1166. data/lib/stripe/resources/v2/money_management/transaction_entry.rb +157 -0
  1167. data/lib/stripe/resources/v2/network/business_profile.rb +84 -0
  1168. data/lib/stripe/resources/v2/orchestrated_commerce/agreement.rb +93 -0
  1169. data/lib/stripe/resources/v2/payments/off_session_payment.rb +292 -0
  1170. data/lib/stripe/resources/v2/payments/settlement_allocation_intent.rb +77 -0
  1171. data/lib/stripe/resources/v2/payments/settlement_allocation_intent_split.rb +65 -0
  1172. data/lib/stripe/resources/v2/reporting/report.rb +116 -0
  1173. data/lib/stripe/resources/v2/reporting/report_run.rb +159 -0
  1174. data/lib/stripe/resources/v2/risk/inquiry.rb +89 -0
  1175. data/lib/stripe/resources/v2/signals/account_activity.rb +250 -0
  1176. data/lib/stripe/resources/v2/signals/account_evaluation.rb +247 -0
  1177. data/lib/stripe/resources/v2/signals/account_signal.rb +315 -0
  1178. data/lib/stripe/resources/v2/tax/manual_rule.rb +145 -0
  1179. data/lib/stripe/resources.rb +1860 -0
  1180. data/lib/stripe/services/account_notice_service.rb +39 -0
  1181. data/lib/stripe/services/account_service.rb +46 -1
  1182. data/lib/stripe/services/account_signals_service.rb +17 -0
  1183. data/lib/stripe/services/balance_transfer_service.rb +17 -0
  1184. data/lib/stripe/services/billing/alert_notification_service.rb +19 -0
  1185. data/lib/stripe/services/billing/alert_service.rb +9 -0
  1186. data/lib/stripe/services/billing/analytics/meter_usage_service.rb +21 -0
  1187. data/lib/stripe/services/billing/analytics_service.rb +15 -0
  1188. data/lib/stripe/services/billing/credit_grant_service.rb +4 -0
  1189. data/lib/stripe/services/billing_service.rb +2 -1
  1190. data/lib/stripe/services/capital/financing_offer_service.rb +42 -0
  1191. data/lib/stripe/services/capital/financing_summary_service.rb +19 -0
  1192. data/lib/stripe/services/capital/financing_transaction_service.rb +31 -0
  1193. data/lib/stripe/services/capital_service.rb +15 -0
  1194. data/lib/stripe/services/checkout/session_service.rb +11 -0
  1195. data/lib/stripe/services/coupon_service.rb +44 -0
  1196. data/lib/stripe/services/credit_note_service.rb +14 -0
  1197. data/lib/stripe/services/crypto/customer_consumer_wallet_service.rb +19 -0
  1198. data/lib/stripe/services/crypto/customer_payment_token_service.rb +19 -0
  1199. data/lib/stripe/services/crypto/customer_service.rb +27 -0
  1200. data/lib/stripe/services/crypto/deposit_address_service.rb +43 -0
  1201. data/lib/stripe/services/crypto/onramp_session_service.rb +69 -0
  1202. data/lib/stripe/services/crypto/onramp_transaction_limits_service.rb +19 -0
  1203. data/lib/stripe/services/crypto_service.rb +16 -0
  1204. data/lib/stripe/services/customer_balance_transaction_service.rb +30 -0
  1205. data/lib/stripe/services/customer_cash_balance_service.rb +15 -0
  1206. data/lib/stripe/services/customer_funding_instructions_service.rb +15 -0
  1207. data/lib/stripe/services/customer_payment_source_service.rb +60 -0
  1208. data/lib/stripe/services/customer_service.rb +59 -0
  1209. data/lib/stripe/services/customer_session_service.rb +14 -0
  1210. data/lib/stripe/services/customer_tax_id_service.rb +30 -0
  1211. data/lib/stripe/services/delegated_checkout/order_service.rb +19 -0
  1212. data/lib/stripe/services/delegated_checkout/requested_session_order_service.rb +19 -0
  1213. data/lib/stripe/services/delegated_checkout/requested_session_service.rb +70 -0
  1214. data/lib/stripe/services/delegated_checkout_service.rb +14 -0
  1215. data/lib/stripe/services/dispute_service.rb +15 -0
  1216. data/lib/stripe/services/external_account_service.rb +68 -0
  1217. data/lib/stripe/services/financial_connections/account_inferred_balance_service.rb +19 -0
  1218. data/lib/stripe/services/financial_connections/account_service.rb +3 -1
  1219. data/lib/stripe/services/financial_connections/authorization_service.rb +19 -0
  1220. data/lib/stripe/services/financial_connections/institution_service.rb +30 -0
  1221. data/lib/stripe/services/financial_connections_service.rb +3 -1
  1222. data/lib/stripe/services/fx_quote_service.rb +27 -0
  1223. data/lib/stripe/services/gift_card_operation_service.rb +17 -0
  1224. data/lib/stripe/services/gift_card_service.rb +77 -0
  1225. data/lib/stripe/services/identity/blocklist_entry_service.rb +71 -0
  1226. data/lib/stripe/services/identity_service.rb +2 -1
  1227. data/lib/stripe/services/invoice_item_service.rb +44 -0
  1228. data/lib/stripe/services/invoice_line_item_service.rb +15 -0
  1229. data/lib/stripe/services/invoice_rendering_template_service.rb +30 -0
  1230. data/lib/stripe/services/invoice_service.rb +189 -0
  1231. data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +85 -0
  1232. data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +30 -0
  1233. data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +30 -0
  1234. data/lib/stripe/services/issuing/program_service.rb +52 -0
  1235. data/lib/stripe/services/issuing_service.rb +6 -1
  1236. data/lib/stripe/services/mandate_service.rb +5 -0
  1237. data/lib/stripe/services/margin_service.rb +50 -0
  1238. data/lib/stripe/services/orchestration/payment_attempt_service.rb +19 -0
  1239. data/lib/stripe/services/orchestration_service.rb +13 -0
  1240. data/lib/stripe/services/order_service.rb +53 -0
  1241. data/lib/stripe/services/payment_attempt_record_service.rb +88 -0
  1242. data/lib/stripe/services/payment_intent_service.rb +66 -0
  1243. data/lib/stripe/services/payment_location_capability_service.rb +39 -0
  1244. data/lib/stripe/services/payment_location_service.rb +61 -0
  1245. data/lib/stripe/services/payment_method_service.rb +26 -0
  1246. data/lib/stripe/services/payment_record_service.rb +26 -0
  1247. data/lib/stripe/services/price_service.rb +29 -0
  1248. data/lib/stripe/services/privacy/redaction_job_service.rb +104 -0
  1249. data/lib/stripe/services/privacy/redaction_job_validation_error_service.rb +19 -0
  1250. data/lib/stripe/services/privacy_service.rb +13 -0
  1251. data/lib/stripe/services/product_catalog/trial_offer_service.rb +41 -0
  1252. data/lib/stripe/services/product_catalog_service.rb +13 -0
  1253. data/lib/stripe/services/product_feature_service.rb +30 -0
  1254. data/lib/stripe/services/product_service.rb +44 -0
  1255. data/lib/stripe/services/promotion_code_service.rb +29 -0
  1256. data/lib/stripe/services/quote_line_service.rb +17 -0
  1257. data/lib/stripe/services/quote_preview_invoice_service.rb +17 -0
  1258. data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +17 -0
  1259. data/lib/stripe/services/quote_service.rb +49 -1
  1260. data/lib/stripe/services/radar/account_evaluation_service.rb +41 -0
  1261. data/lib/stripe/services/radar/customer_evaluation_service.rb +41 -0
  1262. data/lib/stripe/services/radar/issuing_authorization_evaluation_service.rb +19 -0
  1263. data/lib/stripe/services/radar/value_list_item_service.rb +14 -0
  1264. data/lib/stripe/services/radar_service.rb +5 -1
  1265. data/lib/stripe/services/refund_service.rb +29 -0
  1266. data/lib/stripe/services/reserve/hold_service.rb +30 -0
  1267. data/lib/stripe/services/reserve/plan_service.rb +19 -0
  1268. data/lib/stripe/services/reserve/release_service.rb +30 -0
  1269. data/lib/stripe/services/reserve_service.rb +15 -0
  1270. data/lib/stripe/services/shared_payment/granted_token_service.rb +19 -0
  1271. data/lib/stripe/services/shared_payment/issued_token_service.rb +41 -0
  1272. data/lib/stripe/services/shared_payment_service.rb +14 -0
  1273. data/lib/stripe/services/subscription_item_service.rb +44 -0
  1274. data/lib/stripe/services/subscription_schedule_service.rb +70 -0
  1275. data/lib/stripe/services/subscription_service.rb +112 -1
  1276. data/lib/stripe/services/tax/form_service.rb +37 -0
  1277. data/lib/stripe/services/tax/location_service.rb +45 -0
  1278. data/lib/stripe/services/tax/registration_service.rb +29 -0
  1279. data/lib/stripe/services/tax/settings_service.rb +14 -0
  1280. data/lib/stripe/services/tax/transaction_service.rb +14 -0
  1281. data/lib/stripe/services/tax_fund_service.rb +22 -0
  1282. data/lib/stripe/services/tax_id_service.rb +14 -0
  1283. data/lib/stripe/services/tax_rate_service.rb +29 -0
  1284. data/lib/stripe/services/tax_service.rb +3 -1
  1285. data/lib/stripe/services/terminal/reader_collected_data_service.rb +19 -0
  1286. data/lib/stripe/services/terminal/reader_service.rb +44 -0
  1287. data/lib/stripe/services/terminal_service.rb +2 -1
  1288. data/lib/stripe/services/test_helpers/capital/financing_offer_service.rb +32 -0
  1289. data/lib/stripe/services/test_helpers/capital_service.rb +15 -0
  1290. data/lib/stripe/services/test_helpers/issuing/dispute_service.rb +65 -0
  1291. data/lib/stripe/services/test_helpers/issuing_service.rb +2 -1
  1292. data/lib/stripe/services/test_helpers/payment_intent_service.rb +19 -0
  1293. data/lib/stripe/services/test_helpers/shared_payment/granted_token_service.rb +32 -0
  1294. data/lib/stripe/services/test_helpers/shared_payment_service.rb +15 -0
  1295. data/lib/stripe/services/test_helpers_service.rb +4 -1
  1296. data/lib/stripe/services/v1_services.rb +20 -1
  1297. data/lib/stripe/services/v2/billing/bill_setting_service.rb +61 -0
  1298. data/lib/stripe/services/v2/billing/bill_settings/version_service.rb +34 -0
  1299. data/lib/stripe/services/v2/billing/cadence_service.rb +73 -0
  1300. data/lib/stripe/services/v2/billing/cadences/spend_modifier_rule_service.rb +34 -0
  1301. data/lib/stripe/services/v2/billing/collection_setting_service.rb +69 -0
  1302. data/lib/stripe/services/v2/billing/collection_settings/version_service.rb +34 -0
  1303. data/lib/stripe/services/v2/billing/contract_service.rb +102 -0
  1304. data/lib/stripe/services/v2/billing/contracts/pricing_lines/quantity_change_service.rb +30 -0
  1305. data/lib/stripe/services/v2/billing/contracts/pricing_lines_service.rb +20 -0
  1306. data/lib/stripe/services/v2/billing/custom_pricing_unit_service.rb +54 -0
  1307. data/lib/stripe/services/v2/billing/intent_service.rb +98 -0
  1308. data/lib/stripe/services/v2/billing/intents/action_service.rb +34 -0
  1309. data/lib/stripe/services/v2/billing/license_fee_service.rb +69 -0
  1310. data/lib/stripe/services/v2/billing/license_fees/version_service.rb +34 -0
  1311. data/lib/stripe/services/v2/billing/licensed_item_service.rb +54 -0
  1312. data/lib/stripe/services/v2/billing/metered_item_service.rb +54 -0
  1313. data/lib/stripe/services/v2/billing/one_time_item_service.rb +54 -0
  1314. data/lib/stripe/services/v2/billing/pricing_plan_service.rb +62 -0
  1315. data/lib/stripe/services/v2/billing/pricing_plan_subscription_service.rb +54 -0
  1316. data/lib/stripe/services/v2/billing/pricing_plans/component_service.rb +67 -0
  1317. data/lib/stripe/services/v2/billing/pricing_plans/version_service.rb +34 -0
  1318. data/lib/stripe/services/v2/billing/profile_service.rb +54 -0
  1319. data/lib/stripe/services/v2/billing/rate_card_service.rb +79 -0
  1320. data/lib/stripe/services/v2/billing/rate_card_subscription_service.rb +65 -0
  1321. data/lib/stripe/services/v2/billing/rate_cards/custom_pricing_unit_overage_rate_service.rb +56 -0
  1322. data/lib/stripe/services/v2/billing/rate_cards/rate_service.rb +61 -0
  1323. data/lib/stripe/services/v2/billing/rate_cards/version_service.rb +34 -0
  1324. data/lib/stripe/services/v2/billing/service_action_service.rb +47 -0
  1325. data/lib/stripe/services/v2/billing_service.rb +18 -1
  1326. data/lib/stripe/services/v2/core/account_evaluation_service.rb +21 -0
  1327. data/lib/stripe/services/v2/core/approval_request_service.rb +70 -0
  1328. data/lib/stripe/services/v2/core/batch_job_service.rb +43 -0
  1329. data/lib/stripe/services/v2/core/claimable_sandbox_service.rb +47 -0
  1330. data/lib/stripe/services/v2/core/connection_session_service.rb +32 -0
  1331. data/lib/stripe/services/v2/core/fee_batch_service.rb +32 -0
  1332. data/lib/stripe/services/v2/core/fee_entry_service.rb +32 -0
  1333. data/lib/stripe/services/v2/core/health/alert_service.rb +41 -0
  1334. data/lib/stripe/services/v2/core/health/alerts/history_service.rb +25 -0
  1335. data/lib/stripe/services/v2/core/health_service.rb +17 -0
  1336. data/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb +85 -0
  1337. data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +106 -0
  1338. data/lib/stripe/services/v2/core/vault_service.rb +18 -0
  1339. data/lib/stripe/services/v2/core_service.rb +10 -1
  1340. data/lib/stripe/services/v2/data/analytics/metric_query_service.rb +23 -0
  1341. data/lib/stripe/services/v2/data/analytics_service.rb +17 -0
  1342. data/lib/stripe/services/v2/data/reporting/query_run_service.rb +35 -0
  1343. data/lib/stripe/services/v2/data/reporting_service.rb +17 -0
  1344. data/lib/stripe/services/v2/data_service.rb +16 -0
  1345. data/lib/stripe/services/v2/extend/workflow_run_service.rb +32 -0
  1346. data/lib/stripe/services/v2/extend/workflow_service.rb +45 -0
  1347. data/lib/stripe/services/v2/extend_service.rb +16 -0
  1348. data/lib/stripe/services/v2/iam/activity_log_service.rb +32 -0
  1349. data/lib/stripe/services/v2/iam/api_key_service.rb +76 -0
  1350. data/lib/stripe/services/v2/iam_service.rb +16 -0
  1351. data/lib/stripe/services/v2/money_management/adjustment_service.rb +32 -0
  1352. data/lib/stripe/services/v2/money_management/currency_conversion_service.rb +46 -0
  1353. data/lib/stripe/services/v2/money_management/debit_dispute_service.rb +43 -0
  1354. data/lib/stripe/services/v2/money_management/financial_account_service.rb +78 -0
  1355. data/lib/stripe/services/v2/money_management/financial_accounts/statement_service.rb +34 -0
  1356. data/lib/stripe/services/v2/money_management/financial_address_service.rb +46 -0
  1357. data/lib/stripe/services/v2/money_management/inbound_transfer_service.rb +45 -0
  1358. data/lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb +34 -0
  1359. data/lib/stripe/services/v2/money_management/outbound_payment_service.rb +62 -0
  1360. data/lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb +75 -0
  1361. data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +60 -0
  1362. data/lib/stripe/services/v2/money_management/payout_intent_service.rb +71 -0
  1363. data/lib/stripe/services/v2/money_management/payout_method_service.rb +66 -0
  1364. data/lib/stripe/services/v2/money_management/payout_methods_bank_account_spec_service.rb +23 -0
  1365. data/lib/stripe/services/v2/money_management/received_credit_service.rb +32 -0
  1366. data/lib/stripe/services/v2/money_management/received_debit_mandate_service.rb +43 -0
  1367. data/lib/stripe/services/v2/money_management/received_debit_service.rb +32 -0
  1368. data/lib/stripe/services/v2/money_management/recipient_verification_service.rb +43 -0
  1369. data/lib/stripe/services/v2/money_management/test_helpers/financial_address_service.rb +23 -0
  1370. data/lib/stripe/services/v2/money_management/test_helpers_service.rb +18 -0
  1371. data/lib/stripe/services/v2/money_management/transaction_entry_service.rb +32 -0
  1372. data/lib/stripe/services/v2/money_management/transaction_service.rb +32 -0
  1373. data/lib/stripe/services/v2/money_management_service.rb +40 -0
  1374. data/lib/stripe/services/v2/network/business_profile_service.rb +32 -0
  1375. data/lib/stripe/services/v2/network_service.rb +15 -0
  1376. data/lib/stripe/services/v2/orchestrated_commerce/agreement_service.rb +65 -0
  1377. data/lib/stripe/services/v2/orchestrated_commerce_service.rb +15 -0
  1378. data/lib/stripe/services/v2/payments/off_session_payment_service.rb +87 -0
  1379. data/lib/stripe/services/v2/payments/settlement_allocation_intent_service.rb +83 -0
  1380. data/lib/stripe/services/v2/payments/settlement_allocation_intents/split_service.rb +56 -0
  1381. data/lib/stripe/services/v2/payments_service.rb +17 -0
  1382. data/lib/stripe/services/v2/reporting/report_run_service.rb +38 -0
  1383. data/lib/stripe/services/v2/reporting/report_service.rb +23 -0
  1384. data/lib/stripe/services/v2/reporting_service.rb +16 -0
  1385. data/lib/stripe/services/v2/risk/inquiry_service.rb +43 -0
  1386. data/lib/stripe/services/v2/risk_service.rb +15 -0
  1387. data/lib/stripe/services/v2/signals/account_activity_service.rb +43 -0
  1388. data/lib/stripe/services/v2/signals/account_evaluation_service.rb +32 -0
  1389. data/lib/stripe/services/v2/signals/account_signal_service.rb +32 -0
  1390. data/lib/stripe/services/v2/signals_service.rb +17 -0
  1391. data/lib/stripe/services/v2/tax/manual_rule_service.rb +73 -0
  1392. data/lib/stripe/services/v2/tax_service.rb +15 -0
  1393. data/lib/stripe/services/v2/test_helper_service.rb +16 -0
  1394. data/lib/stripe/services/v2/test_helpers/financial_address_service.rb +36 -0
  1395. data/lib/stripe/services/v2/test_helpers/money_management_service.rb +21 -0
  1396. data/lib/stripe/services/v2_services.rb +13 -1
  1397. data/lib/stripe/services.rb +452 -0
  1398. data/lib/stripe/stripe_client.rb +8 -1
  1399. data/lib/stripe/stripe_configuration.rb +3 -1
  1400. data/lib/stripe/stripe_event_notification_handler.rb +2640 -0
  1401. data/lib/stripe/stripe_object.rb +1 -1
  1402. data/lib/stripe/util.rb +7 -1
  1403. data/lib/stripe/version.rb +1 -1
  1404. data/lib/stripe.rb +54 -0
  1405. data/rbi/stripe/resources/v2/core/event_notification.rbi +3 -0
  1406. data/rbi/stripe/stripe_client.rbi +13 -0
  1407. data/rbi/stripe.rbi +260886 -113845
  1408. metadata +1141 -4
@@ -6,18 +6,562 @@ module Stripe
6
6
  module Core
7
7
  class AccountUpdateParams < ::Stripe::RequestParams
8
8
  class Configuration < ::Stripe::RequestParams
9
+ class CardCreator < ::Stripe::RequestParams
10
+ class Capabilities < ::Stripe::RequestParams
11
+ class Commercial < ::Stripe::RequestParams
12
+ class Celtic < ::Stripe::RequestParams
13
+ class ChargeCard < ::Stripe::RequestParams
14
+ class Protections < ::Stripe::RequestParams
15
+ class PspMigration < ::Stripe::RequestParams
16
+ # To request a protection, pass true.
17
+ attr_accessor :requested
18
+
19
+ def initialize(requested: nil)
20
+ @requested = requested
21
+ end
22
+ end
23
+ # Parameter to request psp_migration protection.
24
+ attr_accessor :psp_migration
25
+
26
+ def initialize(psp_migration: nil)
27
+ @psp_migration = psp_migration
28
+ end
29
+ end
30
+ # Protection types to request for this capability (e.g. "psp_migration").
31
+ attr_accessor :protections
32
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
33
+ attr_accessor :requested
34
+
35
+ def initialize(protections: nil, requested: nil)
36
+ @protections = protections
37
+ @requested = requested
38
+ end
39
+ end
40
+
41
+ class SpendCard < ::Stripe::RequestParams
42
+ class Protections < ::Stripe::RequestParams
43
+ class PspMigration < ::Stripe::RequestParams
44
+ # To request a protection, pass true.
45
+ attr_accessor :requested
46
+
47
+ def initialize(requested: nil)
48
+ @requested = requested
49
+ end
50
+ end
51
+ # Parameter to request psp_migration protection.
52
+ attr_accessor :psp_migration
53
+
54
+ def initialize(psp_migration: nil)
55
+ @psp_migration = psp_migration
56
+ end
57
+ end
58
+ # Protection types to request for this capability (e.g. "psp_migration").
59
+ attr_accessor :protections
60
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
61
+ attr_accessor :requested
62
+
63
+ def initialize(protections: nil, requested: nil)
64
+ @protections = protections
65
+ @requested = requested
66
+ end
67
+ end
68
+ # Can create commercial issuing charge cards with Celtic as BIN sponsor.
69
+ attr_accessor :charge_card
70
+ # Can create commercial issuing spend cards with Celtic as BIN sponsor.
71
+ attr_accessor :spend_card
72
+
73
+ def initialize(charge_card: nil, spend_card: nil)
74
+ @charge_card = charge_card
75
+ @spend_card = spend_card
76
+ end
77
+ end
78
+
79
+ class CrossRiverBank < ::Stripe::RequestParams
80
+ class ChargeCard < ::Stripe::RequestParams
81
+ class Protections < ::Stripe::RequestParams
82
+ class PspMigration < ::Stripe::RequestParams
83
+ # To request a protection, pass true.
84
+ attr_accessor :requested
85
+
86
+ def initialize(requested: nil)
87
+ @requested = requested
88
+ end
89
+ end
90
+ # Parameter to request psp_migration protection.
91
+ attr_accessor :psp_migration
92
+
93
+ def initialize(psp_migration: nil)
94
+ @psp_migration = psp_migration
95
+ end
96
+ end
97
+ # Protection types to request for this capability (e.g. "psp_migration").
98
+ attr_accessor :protections
99
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
100
+ attr_accessor :requested
101
+
102
+ def initialize(protections: nil, requested: nil)
103
+ @protections = protections
104
+ @requested = requested
105
+ end
106
+ end
107
+
108
+ class PrepaidCard < ::Stripe::RequestParams
109
+ class Protections < ::Stripe::RequestParams
110
+ class PspMigration < ::Stripe::RequestParams
111
+ # To request a protection, pass true.
112
+ attr_accessor :requested
113
+
114
+ def initialize(requested: nil)
115
+ @requested = requested
116
+ end
117
+ end
118
+ # Parameter to request psp_migration protection.
119
+ attr_accessor :psp_migration
120
+
121
+ def initialize(psp_migration: nil)
122
+ @psp_migration = psp_migration
123
+ end
124
+ end
125
+ # Protection types to request for this capability (e.g. "psp_migration").
126
+ attr_accessor :protections
127
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
128
+ attr_accessor :requested
129
+
130
+ def initialize(protections: nil, requested: nil)
131
+ @protections = protections
132
+ @requested = requested
133
+ end
134
+ end
135
+
136
+ class SpendCard < ::Stripe::RequestParams
137
+ class Protections < ::Stripe::RequestParams
138
+ class PspMigration < ::Stripe::RequestParams
139
+ # To request a protection, pass true.
140
+ attr_accessor :requested
141
+
142
+ def initialize(requested: nil)
143
+ @requested = requested
144
+ end
145
+ end
146
+ # Parameter to request psp_migration protection.
147
+ attr_accessor :psp_migration
148
+
149
+ def initialize(psp_migration: nil)
150
+ @psp_migration = psp_migration
151
+ end
152
+ end
153
+ # Protection types to request for this capability (e.g. "psp_migration").
154
+ attr_accessor :protections
155
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
156
+ attr_accessor :requested
157
+
158
+ def initialize(protections: nil, requested: nil)
159
+ @protections = protections
160
+ @requested = requested
161
+ end
162
+ end
163
+ # Can create commercial issuing charge cards with Cross River Bank as BIN sponsor.
164
+ attr_accessor :charge_card
165
+ # Can create commercial issuing prepaid cards with Cross River Bank as BIN sponsor.
166
+ attr_accessor :prepaid_card
167
+ # Can create commercial issuing spend cards with Cross River Bank as BIN sponsor.
168
+ attr_accessor :spend_card
169
+
170
+ def initialize(charge_card: nil, prepaid_card: nil, spend_card: nil)
171
+ @charge_card = charge_card
172
+ @prepaid_card = prepaid_card
173
+ @spend_card = spend_card
174
+ end
175
+ end
176
+
177
+ class FifthThird < ::Stripe::RequestParams
178
+ class ChargeCard < ::Stripe::RequestParams
179
+ class Protections < ::Stripe::RequestParams
180
+ class PspMigration < ::Stripe::RequestParams
181
+ # To request a protection, pass true.
182
+ attr_accessor :requested
183
+
184
+ def initialize(requested: nil)
185
+ @requested = requested
186
+ end
187
+ end
188
+ # Parameter to request psp_migration protection.
189
+ attr_accessor :psp_migration
190
+
191
+ def initialize(psp_migration: nil)
192
+ @psp_migration = psp_migration
193
+ end
194
+ end
195
+ # Protection types to request for this capability (e.g. "psp_migration").
196
+ attr_accessor :protections
197
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
198
+ attr_accessor :requested
199
+
200
+ def initialize(protections: nil, requested: nil)
201
+ @protections = protections
202
+ @requested = requested
203
+ end
204
+ end
205
+ # Can create commercial issuing charge cards with Fifth Third as BIN sponsor.
206
+ attr_accessor :charge_card
207
+
208
+ def initialize(charge_card: nil)
209
+ @charge_card = charge_card
210
+ end
211
+ end
212
+
213
+ class Lead < ::Stripe::RequestParams
214
+ class PrepaidCard < ::Stripe::RequestParams
215
+ class Protections < ::Stripe::RequestParams
216
+ class PspMigration < ::Stripe::RequestParams
217
+ # To request a protection, pass true.
218
+ attr_accessor :requested
219
+
220
+ def initialize(requested: nil)
221
+ @requested = requested
222
+ end
223
+ end
224
+ # Parameter to request psp_migration protection.
225
+ attr_accessor :psp_migration
226
+
227
+ def initialize(psp_migration: nil)
228
+ @psp_migration = psp_migration
229
+ end
230
+ end
231
+ # Protection types to request for this capability (e.g. "psp_migration").
232
+ attr_accessor :protections
233
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
234
+ attr_accessor :requested
235
+
236
+ def initialize(protections: nil, requested: nil)
237
+ @protections = protections
238
+ @requested = requested
239
+ end
240
+ end
241
+ # Can create commercial issuing prepaid cards with Lead as BIN sponsor.
242
+ attr_accessor :prepaid_card
243
+
244
+ def initialize(prepaid_card: nil)
245
+ @prepaid_card = prepaid_card
246
+ end
247
+ end
248
+
249
+ class Stripe < ::Stripe::RequestParams
250
+ class ChargeCard < ::Stripe::RequestParams
251
+ class Protections < ::Stripe::RequestParams
252
+ class PspMigration < ::Stripe::RequestParams
253
+ # To request a protection, pass true.
254
+ attr_accessor :requested
255
+
256
+ def initialize(requested: nil)
257
+ @requested = requested
258
+ end
259
+ end
260
+ # Parameter to request psp_migration protection.
261
+ attr_accessor :psp_migration
262
+
263
+ def initialize(psp_migration: nil)
264
+ @psp_migration = psp_migration
265
+ end
266
+ end
267
+ # Protection types to request for this capability (e.g. "psp_migration").
268
+ attr_accessor :protections
269
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
270
+ attr_accessor :requested
271
+
272
+ def initialize(protections: nil, requested: nil)
273
+ @protections = protections
274
+ @requested = requested
275
+ end
276
+ end
277
+
278
+ class PrepaidCard < ::Stripe::RequestParams
279
+ class Protections < ::Stripe::RequestParams
280
+ class PspMigration < ::Stripe::RequestParams
281
+ # To request a protection, pass true.
282
+ attr_accessor :requested
283
+
284
+ def initialize(requested: nil)
285
+ @requested = requested
286
+ end
287
+ end
288
+ # Parameter to request psp_migration protection.
289
+ attr_accessor :psp_migration
290
+
291
+ def initialize(psp_migration: nil)
292
+ @psp_migration = psp_migration
293
+ end
294
+ end
295
+ # Protection types to request for this capability (e.g. "psp_migration").
296
+ attr_accessor :protections
297
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
298
+ attr_accessor :requested
299
+
300
+ def initialize(protections: nil, requested: nil)
301
+ @protections = protections
302
+ @requested = requested
303
+ end
304
+ end
305
+
306
+ class SpendCard < ::Stripe::RequestParams
307
+ class Protections < ::Stripe::RequestParams
308
+ class PspMigration < ::Stripe::RequestParams
309
+ # To request a protection, pass true.
310
+ attr_accessor :requested
311
+
312
+ def initialize(requested: nil)
313
+ @requested = requested
314
+ end
315
+ end
316
+ # Parameter to request psp_migration protection.
317
+ attr_accessor :psp_migration
318
+
319
+ def initialize(psp_migration: nil)
320
+ @psp_migration = psp_migration
321
+ end
322
+ end
323
+ # Protection types to request for this capability (e.g. "psp_migration").
324
+ attr_accessor :protections
325
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
326
+ attr_accessor :requested
327
+
328
+ def initialize(protections: nil, requested: nil)
329
+ @protections = protections
330
+ @requested = requested
331
+ end
332
+ end
333
+ # Can create commercial issuing charge cards with Stripe as BIN sponsor.
334
+ attr_accessor :charge_card
335
+ # Can create commercial issuing prepaid cards with Stripe as BIN sponsor.
336
+ attr_accessor :prepaid_card
337
+ # Can create commercial issuing spend cards with Stripe as BIN sponsor.
338
+ attr_accessor :spend_card
339
+
340
+ def initialize(charge_card: nil, prepaid_card: nil, spend_card: nil)
341
+ @charge_card = charge_card
342
+ @prepaid_card = prepaid_card
343
+ @spend_card = spend_card
344
+ end
345
+ end
346
+ # Can create commercial issuing cards with Celtic as BIN sponsor.
347
+ attr_accessor :celtic
348
+ # Can create commercial issuing cards with Cross River Bank as BIN sponsor.
349
+ attr_accessor :cross_river_bank
350
+ # Can create commercial issuing cards with Fifth Third as BIN sponsor.
351
+ attr_accessor :fifth_third
352
+ # Can create commercial issuing cards with Lead as BIN sponsor.
353
+ attr_accessor :lead
354
+ # Can create commercial issuing cards with Stripe as BIN sponsor.
355
+ attr_accessor :stripe
356
+
357
+ def initialize(
358
+ celtic: nil,
359
+ cross_river_bank: nil,
360
+ fifth_third: nil,
361
+ lead: nil,
362
+ stripe: nil
363
+ )
364
+ @celtic = celtic
365
+ @cross_river_bank = cross_river_bank
366
+ @fifth_third = fifth_third
367
+ @lead = lead
368
+ @stripe = stripe
369
+ end
370
+ end
371
+
372
+ class Consumer < ::Stripe::RequestParams
373
+ class Celtic < ::Stripe::RequestParams
374
+ class RevolvingCreditCard < ::Stripe::RequestParams
375
+ class Protections < ::Stripe::RequestParams
376
+ class PspMigration < ::Stripe::RequestParams
377
+ # To request a protection, pass true.
378
+ attr_accessor :requested
379
+
380
+ def initialize(requested: nil)
381
+ @requested = requested
382
+ end
383
+ end
384
+ # Parameter to request psp_migration protection.
385
+ attr_accessor :psp_migration
386
+
387
+ def initialize(psp_migration: nil)
388
+ @psp_migration = psp_migration
389
+ end
390
+ end
391
+ # Protection types to request for this capability (e.g. "psp_migration").
392
+ attr_accessor :protections
393
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
394
+ attr_accessor :requested
395
+
396
+ def initialize(protections: nil, requested: nil)
397
+ @protections = protections
398
+ @requested = requested
399
+ end
400
+ end
401
+ # Can create consumer issuing revolving credit cards with Celtic as BIN sponsor.
402
+ attr_accessor :revolving_credit_card
403
+
404
+ def initialize(revolving_credit_card: nil)
405
+ @revolving_credit_card = revolving_credit_card
406
+ end
407
+ end
408
+
409
+ class CrossRiverBank < ::Stripe::RequestParams
410
+ class PrepaidCard < ::Stripe::RequestParams
411
+ class Protections < ::Stripe::RequestParams
412
+ class PspMigration < ::Stripe::RequestParams
413
+ # To request a protection, pass true.
414
+ attr_accessor :requested
415
+
416
+ def initialize(requested: nil)
417
+ @requested = requested
418
+ end
419
+ end
420
+ # Parameter to request psp_migration protection.
421
+ attr_accessor :psp_migration
422
+
423
+ def initialize(psp_migration: nil)
424
+ @psp_migration = psp_migration
425
+ end
426
+ end
427
+ # Protection types to request for this capability (e.g. "psp_migration").
428
+ attr_accessor :protections
429
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
430
+ attr_accessor :requested
431
+
432
+ def initialize(protections: nil, requested: nil)
433
+ @protections = protections
434
+ @requested = requested
435
+ end
436
+ end
437
+ # Can create consumer issuing prepaid cards with Cross River Bank as BIN sponsor.
438
+ attr_accessor :prepaid_card
439
+
440
+ def initialize(prepaid_card: nil)
441
+ @prepaid_card = prepaid_card
442
+ end
443
+ end
444
+
445
+ class Lead < ::Stripe::RequestParams
446
+ class DebitCard < ::Stripe::RequestParams
447
+ class Protections < ::Stripe::RequestParams
448
+ class PspMigration < ::Stripe::RequestParams
449
+ # To request a protection, pass true.
450
+ attr_accessor :requested
451
+
452
+ def initialize(requested: nil)
453
+ @requested = requested
454
+ end
455
+ end
456
+ # Parameter to request psp_migration protection.
457
+ attr_accessor :psp_migration
458
+
459
+ def initialize(psp_migration: nil)
460
+ @psp_migration = psp_migration
461
+ end
462
+ end
463
+ # Protection types to request for this capability (e.g. "psp_migration").
464
+ attr_accessor :protections
465
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
466
+ attr_accessor :requested
467
+
468
+ def initialize(protections: nil, requested: nil)
469
+ @protections = protections
470
+ @requested = requested
471
+ end
472
+ end
473
+
474
+ class PrepaidCard < ::Stripe::RequestParams
475
+ class Protections < ::Stripe::RequestParams
476
+ class PspMigration < ::Stripe::RequestParams
477
+ # To request a protection, pass true.
478
+ attr_accessor :requested
479
+
480
+ def initialize(requested: nil)
481
+ @requested = requested
482
+ end
483
+ end
484
+ # Parameter to request psp_migration protection.
485
+ attr_accessor :psp_migration
486
+
487
+ def initialize(psp_migration: nil)
488
+ @psp_migration = psp_migration
489
+ end
490
+ end
491
+ # Protection types to request for this capability (e.g. "psp_migration").
492
+ attr_accessor :protections
493
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
494
+ attr_accessor :requested
495
+
496
+ def initialize(protections: nil, requested: nil)
497
+ @protections = protections
498
+ @requested = requested
499
+ end
500
+ end
501
+ # Can create consumer issuing debit cards with Lead as BIN sponsor.
502
+ attr_accessor :debit_card
503
+ # Can create consumer issuing prepaid cards with Lead as BIN sponsor.
504
+ attr_accessor :prepaid_card
505
+
506
+ def initialize(debit_card: nil, prepaid_card: nil)
507
+ @debit_card = debit_card
508
+ @prepaid_card = prepaid_card
509
+ end
510
+ end
511
+ # Can create consumer issuing cards with Celtic as BIN sponsor.
512
+ attr_accessor :celtic
513
+ # Can create consumer issuing cards with Cross River Bank as BIN sponsor.
514
+ attr_accessor :cross_river_bank
515
+ # Can create consumer issuing cards with Lead as BIN sponsor.
516
+ attr_accessor :lead
517
+
518
+ def initialize(celtic: nil, cross_river_bank: nil, lead: nil)
519
+ @celtic = celtic
520
+ @cross_river_bank = cross_river_bank
521
+ @lead = lead
522
+ end
523
+ end
524
+ # Can create cards for commercial issuing use cases.
525
+ attr_accessor :commercial
526
+ # Can create cards for consumer issuing use cases.
527
+ attr_accessor :consumer
528
+
529
+ def initialize(commercial: nil, consumer: nil)
530
+ @commercial = commercial
531
+ @consumer = consumer
532
+ end
533
+ end
534
+ # Represents the state of the configuration, and can be updated to deactivate or re-apply a configuration.
535
+ attr_accessor :applied
536
+ # Capabilities to request on the CardCreator Configuration.
537
+ attr_accessor :capabilities
538
+
539
+ def initialize(applied: nil, capabilities: nil)
540
+ @applied = applied
541
+ @capabilities = capabilities
542
+ end
543
+ end
544
+
9
545
  class Customer < ::Stripe::RequestParams
10
546
  class AutomaticIndirectTax < ::Stripe::RequestParams
11
547
  # The customer account's tax exemption status: `none`, `exempt`, or `reverse`. When `reverse`, invoice and receipt PDFs include "Reverse charge".
12
548
  attr_accessor :exempt
13
549
  # A recent IP address of the customer used for tax reporting and tax location inference.
14
550
  attr_accessor :ip_address
551
+ # Data source used to identify the customer account's tax location. Defaults to `identity_address`. Used for automatic indirect tax calculation.
552
+ attr_accessor :location_source
15
553
  # A per-request flag that indicates when Stripe should validate the customer tax location - defaults to `auto`.
16
554
  attr_accessor :validate_location
17
555
 
18
- def initialize(exempt: nil, ip_address: nil, validate_location: nil)
556
+ def initialize(
557
+ exempt: nil,
558
+ ip_address: nil,
559
+ location_source: nil,
560
+ validate_location: nil
561
+ )
19
562
  @exempt = exempt
20
563
  @ip_address = ip_address
564
+ @location_source = location_source
21
565
  @validate_location = validate_location
22
566
  end
23
567
  end
@@ -85,10 +629,29 @@ module Stripe
85
629
 
86
630
  class Capabilities < ::Stripe::RequestParams
87
631
  class AutomaticIndirectTax < ::Stripe::RequestParams
632
+ class Protections < ::Stripe::RequestParams
633
+ class PspMigration < ::Stripe::RequestParams
634
+ # To request a protection, pass true.
635
+ attr_accessor :requested
636
+
637
+ def initialize(requested: nil)
638
+ @requested = requested
639
+ end
640
+ end
641
+ # Parameter to request psp_migration protection.
642
+ attr_accessor :psp_migration
643
+
644
+ def initialize(psp_migration: nil)
645
+ @psp_migration = psp_migration
646
+ end
647
+ end
648
+ # Protection types to request for this capability (e.g. "psp_migration").
649
+ attr_accessor :protections
88
650
  # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
89
651
  attr_accessor :requested
90
652
 
91
- def initialize(requested: nil)
653
+ def initialize(protections: nil, requested: nil)
654
+ @protections = protections
92
655
  @requested = requested
93
656
  end
94
657
  end
@@ -204,406 +767,1261 @@ module Stripe
204
767
 
205
768
  class Capabilities < ::Stripe::RequestParams
206
769
  class AchDebitPayments < ::Stripe::RequestParams
770
+ class Protections < ::Stripe::RequestParams
771
+ class PspMigration < ::Stripe::RequestParams
772
+ # To request a protection, pass true.
773
+ attr_accessor :requested
774
+
775
+ def initialize(requested: nil)
776
+ @requested = requested
777
+ end
778
+ end
779
+ # Parameter to request psp_migration protection.
780
+ attr_accessor :psp_migration
781
+
782
+ def initialize(psp_migration: nil)
783
+ @psp_migration = psp_migration
784
+ end
785
+ end
786
+ # Protection types to request for this capability (e.g. "psp_migration").
787
+ attr_accessor :protections
207
788
  # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
208
789
  attr_accessor :requested
209
790
 
210
- def initialize(requested: nil)
791
+ def initialize(protections: nil, requested: nil)
792
+ @protections = protections
211
793
  @requested = requested
212
794
  end
213
795
  end
214
796
 
215
797
  class AcssDebitPayments < ::Stripe::RequestParams
798
+ class Protections < ::Stripe::RequestParams
799
+ class PspMigration < ::Stripe::RequestParams
800
+ # To request a protection, pass true.
801
+ attr_accessor :requested
802
+
803
+ def initialize(requested: nil)
804
+ @requested = requested
805
+ end
806
+ end
807
+ # Parameter to request psp_migration protection.
808
+ attr_accessor :psp_migration
809
+
810
+ def initialize(psp_migration: nil)
811
+ @psp_migration = psp_migration
812
+ end
813
+ end
814
+ # Protection types to request for this capability (e.g. "psp_migration").
815
+ attr_accessor :protections
216
816
  # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
217
817
  attr_accessor :requested
218
818
 
219
- def initialize(requested: nil)
819
+ def initialize(protections: nil, requested: nil)
820
+ @protections = protections
220
821
  @requested = requested
221
822
  end
222
823
  end
223
824
 
224
825
  class AffirmPayments < ::Stripe::RequestParams
826
+ class Protections < ::Stripe::RequestParams
827
+ class PspMigration < ::Stripe::RequestParams
828
+ # To request a protection, pass true.
829
+ attr_accessor :requested
830
+
831
+ def initialize(requested: nil)
832
+ @requested = requested
833
+ end
834
+ end
835
+ # Parameter to request psp_migration protection.
836
+ attr_accessor :psp_migration
837
+
838
+ def initialize(psp_migration: nil)
839
+ @psp_migration = psp_migration
840
+ end
841
+ end
842
+ # Protection types to request for this capability (e.g. "psp_migration").
843
+ attr_accessor :protections
225
844
  # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
226
845
  attr_accessor :requested
227
846
 
228
- def initialize(requested: nil)
847
+ def initialize(protections: nil, requested: nil)
848
+ @protections = protections
229
849
  @requested = requested
230
850
  end
231
851
  end
232
852
 
233
853
  class AfterpayClearpayPayments < ::Stripe::RequestParams
854
+ class Protections < ::Stripe::RequestParams
855
+ class PspMigration < ::Stripe::RequestParams
856
+ # To request a protection, pass true.
857
+ attr_accessor :requested
858
+
859
+ def initialize(requested: nil)
860
+ @requested = requested
861
+ end
862
+ end
863
+ # Parameter to request psp_migration protection.
864
+ attr_accessor :psp_migration
865
+
866
+ def initialize(psp_migration: nil)
867
+ @psp_migration = psp_migration
868
+ end
869
+ end
870
+ # Protection types to request for this capability (e.g. "psp_migration").
871
+ attr_accessor :protections
234
872
  # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
235
873
  attr_accessor :requested
236
874
 
237
- def initialize(requested: nil)
875
+ def initialize(protections: nil, requested: nil)
876
+ @protections = protections
238
877
  @requested = requested
239
878
  end
240
879
  end
241
880
 
242
881
  class AlmaPayments < ::Stripe::RequestParams
882
+ class Protections < ::Stripe::RequestParams
883
+ class PspMigration < ::Stripe::RequestParams
884
+ # To request a protection, pass true.
885
+ attr_accessor :requested
886
+
887
+ def initialize(requested: nil)
888
+ @requested = requested
889
+ end
890
+ end
891
+ # Parameter to request psp_migration protection.
892
+ attr_accessor :psp_migration
893
+
894
+ def initialize(psp_migration: nil)
895
+ @psp_migration = psp_migration
896
+ end
897
+ end
898
+ # Protection types to request for this capability (e.g. "psp_migration").
899
+ attr_accessor :protections
243
900
  # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
244
901
  attr_accessor :requested
245
902
 
246
- def initialize(requested: nil)
903
+ def initialize(protections: nil, requested: nil)
904
+ @protections = protections
247
905
  @requested = requested
248
906
  end
249
907
  end
250
908
 
251
909
  class AmazonPayPayments < ::Stripe::RequestParams
910
+ class Protections < ::Stripe::RequestParams
911
+ class PspMigration < ::Stripe::RequestParams
912
+ # To request a protection, pass true.
913
+ attr_accessor :requested
914
+
915
+ def initialize(requested: nil)
916
+ @requested = requested
917
+ end
918
+ end
919
+ # Parameter to request psp_migration protection.
920
+ attr_accessor :psp_migration
921
+
922
+ def initialize(psp_migration: nil)
923
+ @psp_migration = psp_migration
924
+ end
925
+ end
926
+ # Protection types to request for this capability (e.g. "psp_migration").
927
+ attr_accessor :protections
252
928
  # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
253
929
  attr_accessor :requested
254
930
 
255
- def initialize(requested: nil)
931
+ def initialize(protections: nil, requested: nil)
932
+ @protections = protections
256
933
  @requested = requested
257
934
  end
258
935
  end
259
936
 
260
937
  class AuBecsDebitPayments < ::Stripe::RequestParams
938
+ class Protections < ::Stripe::RequestParams
939
+ class PspMigration < ::Stripe::RequestParams
940
+ # To request a protection, pass true.
941
+ attr_accessor :requested
942
+
943
+ def initialize(requested: nil)
944
+ @requested = requested
945
+ end
946
+ end
947
+ # Parameter to request psp_migration protection.
948
+ attr_accessor :psp_migration
949
+
950
+ def initialize(psp_migration: nil)
951
+ @psp_migration = psp_migration
952
+ end
953
+ end
954
+ # Protection types to request for this capability (e.g. "psp_migration").
955
+ attr_accessor :protections
261
956
  # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
262
957
  attr_accessor :requested
263
958
 
264
- def initialize(requested: nil)
959
+ def initialize(protections: nil, requested: nil)
960
+ @protections = protections
265
961
  @requested = requested
266
962
  end
267
963
  end
268
964
 
269
965
  class BacsDebitPayments < ::Stripe::RequestParams
966
+ class Protections < ::Stripe::RequestParams
967
+ class PspMigration < ::Stripe::RequestParams
968
+ # To request a protection, pass true.
969
+ attr_accessor :requested
970
+
971
+ def initialize(requested: nil)
972
+ @requested = requested
973
+ end
974
+ end
975
+ # Parameter to request psp_migration protection.
976
+ attr_accessor :psp_migration
977
+
978
+ def initialize(psp_migration: nil)
979
+ @psp_migration = psp_migration
980
+ end
981
+ end
982
+ # Protection types to request for this capability (e.g. "psp_migration").
983
+ attr_accessor :protections
270
984
  # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
271
985
  attr_accessor :requested
272
986
 
273
- def initialize(requested: nil)
987
+ def initialize(protections: nil, requested: nil)
988
+ @protections = protections
274
989
  @requested = requested
275
990
  end
276
991
  end
277
992
 
278
993
  class BancontactPayments < ::Stripe::RequestParams
994
+ class Protections < ::Stripe::RequestParams
995
+ class PspMigration < ::Stripe::RequestParams
996
+ # To request a protection, pass true.
997
+ attr_accessor :requested
998
+
999
+ def initialize(requested: nil)
1000
+ @requested = requested
1001
+ end
1002
+ end
1003
+ # Parameter to request psp_migration protection.
1004
+ attr_accessor :psp_migration
1005
+
1006
+ def initialize(psp_migration: nil)
1007
+ @psp_migration = psp_migration
1008
+ end
1009
+ end
1010
+ # Protection types to request for this capability (e.g. "psp_migration").
1011
+ attr_accessor :protections
279
1012
  # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
280
1013
  attr_accessor :requested
281
1014
 
282
- def initialize(requested: nil)
1015
+ def initialize(protections: nil, requested: nil)
1016
+ @protections = protections
283
1017
  @requested = requested
284
1018
  end
285
1019
  end
286
1020
 
287
1021
  class BlikPayments < ::Stripe::RequestParams
1022
+ class Protections < ::Stripe::RequestParams
1023
+ class PspMigration < ::Stripe::RequestParams
1024
+ # To request a protection, pass true.
1025
+ attr_accessor :requested
1026
+
1027
+ def initialize(requested: nil)
1028
+ @requested = requested
1029
+ end
1030
+ end
1031
+ # Parameter to request psp_migration protection.
1032
+ attr_accessor :psp_migration
1033
+
1034
+ def initialize(psp_migration: nil)
1035
+ @psp_migration = psp_migration
1036
+ end
1037
+ end
1038
+ # Protection types to request for this capability (e.g. "psp_migration").
1039
+ attr_accessor :protections
288
1040
  # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
289
1041
  attr_accessor :requested
290
1042
 
291
- def initialize(requested: nil)
1043
+ def initialize(protections: nil, requested: nil)
1044
+ @protections = protections
292
1045
  @requested = requested
293
1046
  end
294
1047
  end
295
1048
 
296
1049
  class BoletoPayments < ::Stripe::RequestParams
1050
+ class Protections < ::Stripe::RequestParams
1051
+ class PspMigration < ::Stripe::RequestParams
1052
+ # To request a protection, pass true.
1053
+ attr_accessor :requested
1054
+
1055
+ def initialize(requested: nil)
1056
+ @requested = requested
1057
+ end
1058
+ end
1059
+ # Parameter to request psp_migration protection.
1060
+ attr_accessor :psp_migration
1061
+
1062
+ def initialize(psp_migration: nil)
1063
+ @psp_migration = psp_migration
1064
+ end
1065
+ end
1066
+ # Protection types to request for this capability (e.g. "psp_migration").
1067
+ attr_accessor :protections
297
1068
  # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
298
1069
  attr_accessor :requested
299
1070
 
300
- def initialize(requested: nil)
1071
+ def initialize(protections: nil, requested: nil)
1072
+ @protections = protections
301
1073
  @requested = requested
302
1074
  end
303
1075
  end
304
1076
 
305
1077
  class CardPayments < ::Stripe::RequestParams
1078
+ class Protections < ::Stripe::RequestParams
1079
+ class PspMigration < ::Stripe::RequestParams
1080
+ # To request a protection, pass true.
1081
+ attr_accessor :requested
1082
+
1083
+ def initialize(requested: nil)
1084
+ @requested = requested
1085
+ end
1086
+ end
1087
+ # Parameter to request psp_migration protection.
1088
+ attr_accessor :psp_migration
1089
+
1090
+ def initialize(psp_migration: nil)
1091
+ @psp_migration = psp_migration
1092
+ end
1093
+ end
1094
+ # Protection types to request for this capability (e.g. "psp_migration").
1095
+ attr_accessor :protections
306
1096
  # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
307
1097
  attr_accessor :requested
308
1098
 
309
- def initialize(requested: nil)
1099
+ def initialize(protections: nil, requested: nil)
1100
+ @protections = protections
310
1101
  @requested = requested
311
1102
  end
312
1103
  end
313
1104
 
314
1105
  class CartesBancairesPayments < ::Stripe::RequestParams
1106
+ class Protections < ::Stripe::RequestParams
1107
+ class PspMigration < ::Stripe::RequestParams
1108
+ # To request a protection, pass true.
1109
+ attr_accessor :requested
1110
+
1111
+ def initialize(requested: nil)
1112
+ @requested = requested
1113
+ end
1114
+ end
1115
+ # Parameter to request psp_migration protection.
1116
+ attr_accessor :psp_migration
1117
+
1118
+ def initialize(psp_migration: nil)
1119
+ @psp_migration = psp_migration
1120
+ end
1121
+ end
1122
+ # Protection types to request for this capability (e.g. "psp_migration").
1123
+ attr_accessor :protections
315
1124
  # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
316
1125
  attr_accessor :requested
317
1126
 
318
- def initialize(requested: nil)
1127
+ def initialize(protections: nil, requested: nil)
1128
+ @protections = protections
319
1129
  @requested = requested
320
1130
  end
321
1131
  end
322
1132
 
323
1133
  class CashappPayments < ::Stripe::RequestParams
1134
+ class Protections < ::Stripe::RequestParams
1135
+ class PspMigration < ::Stripe::RequestParams
1136
+ # To request a protection, pass true.
1137
+ attr_accessor :requested
1138
+
1139
+ def initialize(requested: nil)
1140
+ @requested = requested
1141
+ end
1142
+ end
1143
+ # Parameter to request psp_migration protection.
1144
+ attr_accessor :psp_migration
1145
+
1146
+ def initialize(psp_migration: nil)
1147
+ @psp_migration = psp_migration
1148
+ end
1149
+ end
1150
+ # Protection types to request for this capability (e.g. "psp_migration").
1151
+ attr_accessor :protections
324
1152
  # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
325
1153
  attr_accessor :requested
326
1154
 
327
- def initialize(requested: nil)
1155
+ def initialize(protections: nil, requested: nil)
1156
+ @protections = protections
328
1157
  @requested = requested
329
1158
  end
330
1159
  end
331
1160
 
332
1161
  class EpsPayments < ::Stripe::RequestParams
1162
+ class Protections < ::Stripe::RequestParams
1163
+ class PspMigration < ::Stripe::RequestParams
1164
+ # To request a protection, pass true.
1165
+ attr_accessor :requested
1166
+
1167
+ def initialize(requested: nil)
1168
+ @requested = requested
1169
+ end
1170
+ end
1171
+ # Parameter to request psp_migration protection.
1172
+ attr_accessor :psp_migration
1173
+
1174
+ def initialize(psp_migration: nil)
1175
+ @psp_migration = psp_migration
1176
+ end
1177
+ end
1178
+ # Protection types to request for this capability (e.g. "psp_migration").
1179
+ attr_accessor :protections
333
1180
  # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
334
1181
  attr_accessor :requested
335
1182
 
336
- def initialize(requested: nil)
1183
+ def initialize(protections: nil, requested: nil)
1184
+ @protections = protections
337
1185
  @requested = requested
338
1186
  end
339
1187
  end
340
1188
 
341
1189
  class FpxPayments < ::Stripe::RequestParams
1190
+ class Protections < ::Stripe::RequestParams
1191
+ class PspMigration < ::Stripe::RequestParams
1192
+ # To request a protection, pass true.
1193
+ attr_accessor :requested
1194
+
1195
+ def initialize(requested: nil)
1196
+ @requested = requested
1197
+ end
1198
+ end
1199
+ # Parameter to request psp_migration protection.
1200
+ attr_accessor :psp_migration
1201
+
1202
+ def initialize(psp_migration: nil)
1203
+ @psp_migration = psp_migration
1204
+ end
1205
+ end
1206
+ # Protection types to request for this capability (e.g. "psp_migration").
1207
+ attr_accessor :protections
342
1208
  # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
343
1209
  attr_accessor :requested
344
1210
 
345
- def initialize(requested: nil)
1211
+ def initialize(protections: nil, requested: nil)
1212
+ @protections = protections
346
1213
  @requested = requested
347
1214
  end
348
1215
  end
349
1216
 
350
1217
  class GbBankTransferPayments < ::Stripe::RequestParams
1218
+ class Protections < ::Stripe::RequestParams
1219
+ class PspMigration < ::Stripe::RequestParams
1220
+ # To request a protection, pass true.
1221
+ attr_accessor :requested
1222
+
1223
+ def initialize(requested: nil)
1224
+ @requested = requested
1225
+ end
1226
+ end
1227
+ # Parameter to request psp_migration protection.
1228
+ attr_accessor :psp_migration
1229
+
1230
+ def initialize(psp_migration: nil)
1231
+ @psp_migration = psp_migration
1232
+ end
1233
+ end
1234
+ # Protection types to request for this capability (e.g. "psp_migration").
1235
+ attr_accessor :protections
351
1236
  # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
352
1237
  attr_accessor :requested
353
1238
 
354
- def initialize(requested: nil)
1239
+ def initialize(protections: nil, requested: nil)
1240
+ @protections = protections
355
1241
  @requested = requested
356
1242
  end
357
1243
  end
358
1244
 
359
1245
  class GrabpayPayments < ::Stripe::RequestParams
1246
+ class Protections < ::Stripe::RequestParams
1247
+ class PspMigration < ::Stripe::RequestParams
1248
+ # To request a protection, pass true.
1249
+ attr_accessor :requested
1250
+
1251
+ def initialize(requested: nil)
1252
+ @requested = requested
1253
+ end
1254
+ end
1255
+ # Parameter to request psp_migration protection.
1256
+ attr_accessor :psp_migration
1257
+
1258
+ def initialize(psp_migration: nil)
1259
+ @psp_migration = psp_migration
1260
+ end
1261
+ end
1262
+ # Protection types to request for this capability (e.g. "psp_migration").
1263
+ attr_accessor :protections
360
1264
  # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
361
1265
  attr_accessor :requested
362
1266
 
363
- def initialize(requested: nil)
1267
+ def initialize(protections: nil, requested: nil)
1268
+ @protections = protections
364
1269
  @requested = requested
365
1270
  end
366
1271
  end
367
1272
 
368
1273
  class IdealPayments < ::Stripe::RequestParams
1274
+ class Protections < ::Stripe::RequestParams
1275
+ class PspMigration < ::Stripe::RequestParams
1276
+ # To request a protection, pass true.
1277
+ attr_accessor :requested
1278
+
1279
+ def initialize(requested: nil)
1280
+ @requested = requested
1281
+ end
1282
+ end
1283
+ # Parameter to request psp_migration protection.
1284
+ attr_accessor :psp_migration
1285
+
1286
+ def initialize(psp_migration: nil)
1287
+ @psp_migration = psp_migration
1288
+ end
1289
+ end
1290
+ # Protection types to request for this capability (e.g. "psp_migration").
1291
+ attr_accessor :protections
369
1292
  # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
370
1293
  attr_accessor :requested
371
1294
 
372
- def initialize(requested: nil)
1295
+ def initialize(protections: nil, requested: nil)
1296
+ @protections = protections
373
1297
  @requested = requested
374
1298
  end
375
1299
  end
376
1300
 
377
1301
  class JcbPayments < ::Stripe::RequestParams
1302
+ class Protections < ::Stripe::RequestParams
1303
+ class PspMigration < ::Stripe::RequestParams
1304
+ # To request a protection, pass true.
1305
+ attr_accessor :requested
1306
+
1307
+ def initialize(requested: nil)
1308
+ @requested = requested
1309
+ end
1310
+ end
1311
+ # Parameter to request psp_migration protection.
1312
+ attr_accessor :psp_migration
1313
+
1314
+ def initialize(psp_migration: nil)
1315
+ @psp_migration = psp_migration
1316
+ end
1317
+ end
1318
+ # Protection types to request for this capability (e.g. "psp_migration").
1319
+ attr_accessor :protections
378
1320
  # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
379
1321
  attr_accessor :requested
380
1322
 
381
- def initialize(requested: nil)
1323
+ def initialize(protections: nil, requested: nil)
1324
+ @protections = protections
382
1325
  @requested = requested
383
1326
  end
384
1327
  end
385
1328
 
386
1329
  class JpBankTransferPayments < ::Stripe::RequestParams
1330
+ class Protections < ::Stripe::RequestParams
1331
+ class PspMigration < ::Stripe::RequestParams
1332
+ # To request a protection, pass true.
1333
+ attr_accessor :requested
1334
+
1335
+ def initialize(requested: nil)
1336
+ @requested = requested
1337
+ end
1338
+ end
1339
+ # Parameter to request psp_migration protection.
1340
+ attr_accessor :psp_migration
1341
+
1342
+ def initialize(psp_migration: nil)
1343
+ @psp_migration = psp_migration
1344
+ end
1345
+ end
1346
+ # Protection types to request for this capability (e.g. "psp_migration").
1347
+ attr_accessor :protections
387
1348
  # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
388
1349
  attr_accessor :requested
389
1350
 
390
- def initialize(requested: nil)
1351
+ def initialize(protections: nil, requested: nil)
1352
+ @protections = protections
391
1353
  @requested = requested
392
1354
  end
393
1355
  end
394
1356
 
395
1357
  class KakaoPayPayments < ::Stripe::RequestParams
1358
+ class Protections < ::Stripe::RequestParams
1359
+ class PspMigration < ::Stripe::RequestParams
1360
+ # To request a protection, pass true.
1361
+ attr_accessor :requested
1362
+
1363
+ def initialize(requested: nil)
1364
+ @requested = requested
1365
+ end
1366
+ end
1367
+ # Parameter to request psp_migration protection.
1368
+ attr_accessor :psp_migration
1369
+
1370
+ def initialize(psp_migration: nil)
1371
+ @psp_migration = psp_migration
1372
+ end
1373
+ end
1374
+ # Protection types to request for this capability (e.g. "psp_migration").
1375
+ attr_accessor :protections
396
1376
  # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
397
1377
  attr_accessor :requested
398
1378
 
399
- def initialize(requested: nil)
1379
+ def initialize(protections: nil, requested: nil)
1380
+ @protections = protections
400
1381
  @requested = requested
401
1382
  end
402
1383
  end
403
1384
 
404
1385
  class KlarnaPayments < ::Stripe::RequestParams
1386
+ class Protections < ::Stripe::RequestParams
1387
+ class PspMigration < ::Stripe::RequestParams
1388
+ # To request a protection, pass true.
1389
+ attr_accessor :requested
1390
+
1391
+ def initialize(requested: nil)
1392
+ @requested = requested
1393
+ end
1394
+ end
1395
+ # Parameter to request psp_migration protection.
1396
+ attr_accessor :psp_migration
1397
+
1398
+ def initialize(psp_migration: nil)
1399
+ @psp_migration = psp_migration
1400
+ end
1401
+ end
1402
+ # Protection types to request for this capability (e.g. "psp_migration").
1403
+ attr_accessor :protections
405
1404
  # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
406
1405
  attr_accessor :requested
407
1406
 
408
- def initialize(requested: nil)
1407
+ def initialize(protections: nil, requested: nil)
1408
+ @protections = protections
409
1409
  @requested = requested
410
1410
  end
411
1411
  end
412
1412
 
413
1413
  class KonbiniPayments < ::Stripe::RequestParams
1414
+ class Protections < ::Stripe::RequestParams
1415
+ class PspMigration < ::Stripe::RequestParams
1416
+ # To request a protection, pass true.
1417
+ attr_accessor :requested
1418
+
1419
+ def initialize(requested: nil)
1420
+ @requested = requested
1421
+ end
1422
+ end
1423
+ # Parameter to request psp_migration protection.
1424
+ attr_accessor :psp_migration
1425
+
1426
+ def initialize(psp_migration: nil)
1427
+ @psp_migration = psp_migration
1428
+ end
1429
+ end
1430
+ # Protection types to request for this capability (e.g. "psp_migration").
1431
+ attr_accessor :protections
414
1432
  # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
415
1433
  attr_accessor :requested
416
1434
 
417
- def initialize(requested: nil)
1435
+ def initialize(protections: nil, requested: nil)
1436
+ @protections = protections
418
1437
  @requested = requested
419
1438
  end
420
1439
  end
421
1440
 
422
1441
  class KrCardPayments < ::Stripe::RequestParams
1442
+ class Protections < ::Stripe::RequestParams
1443
+ class PspMigration < ::Stripe::RequestParams
1444
+ # To request a protection, pass true.
1445
+ attr_accessor :requested
1446
+
1447
+ def initialize(requested: nil)
1448
+ @requested = requested
1449
+ end
1450
+ end
1451
+ # Parameter to request psp_migration protection.
1452
+ attr_accessor :psp_migration
1453
+
1454
+ def initialize(psp_migration: nil)
1455
+ @psp_migration = psp_migration
1456
+ end
1457
+ end
1458
+ # Protection types to request for this capability (e.g. "psp_migration").
1459
+ attr_accessor :protections
423
1460
  # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
424
1461
  attr_accessor :requested
425
1462
 
426
- def initialize(requested: nil)
1463
+ def initialize(protections: nil, requested: nil)
1464
+ @protections = protections
427
1465
  @requested = requested
428
1466
  end
429
1467
  end
430
1468
 
431
1469
  class LinkPayments < ::Stripe::RequestParams
1470
+ class Protections < ::Stripe::RequestParams
1471
+ class PspMigration < ::Stripe::RequestParams
1472
+ # To request a protection, pass true.
1473
+ attr_accessor :requested
1474
+
1475
+ def initialize(requested: nil)
1476
+ @requested = requested
1477
+ end
1478
+ end
1479
+ # Parameter to request psp_migration protection.
1480
+ attr_accessor :psp_migration
1481
+
1482
+ def initialize(psp_migration: nil)
1483
+ @psp_migration = psp_migration
1484
+ end
1485
+ end
1486
+ # Protection types to request for this capability (e.g. "psp_migration").
1487
+ attr_accessor :protections
432
1488
  # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
433
1489
  attr_accessor :requested
434
1490
 
435
- def initialize(requested: nil)
1491
+ def initialize(protections: nil, requested: nil)
1492
+ @protections = protections
436
1493
  @requested = requested
437
1494
  end
438
1495
  end
439
1496
 
440
1497
  class MobilepayPayments < ::Stripe::RequestParams
1498
+ class Protections < ::Stripe::RequestParams
1499
+ class PspMigration < ::Stripe::RequestParams
1500
+ # To request a protection, pass true.
1501
+ attr_accessor :requested
1502
+
1503
+ def initialize(requested: nil)
1504
+ @requested = requested
1505
+ end
1506
+ end
1507
+ # Parameter to request psp_migration protection.
1508
+ attr_accessor :psp_migration
1509
+
1510
+ def initialize(psp_migration: nil)
1511
+ @psp_migration = psp_migration
1512
+ end
1513
+ end
1514
+ # Protection types to request for this capability (e.g. "psp_migration").
1515
+ attr_accessor :protections
441
1516
  # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
442
1517
  attr_accessor :requested
443
1518
 
444
- def initialize(requested: nil)
1519
+ def initialize(protections: nil, requested: nil)
1520
+ @protections = protections
445
1521
  @requested = requested
446
1522
  end
447
1523
  end
448
1524
 
449
1525
  class MultibancoPayments < ::Stripe::RequestParams
1526
+ class Protections < ::Stripe::RequestParams
1527
+ class PspMigration < ::Stripe::RequestParams
1528
+ # To request a protection, pass true.
1529
+ attr_accessor :requested
1530
+
1531
+ def initialize(requested: nil)
1532
+ @requested = requested
1533
+ end
1534
+ end
1535
+ # Parameter to request psp_migration protection.
1536
+ attr_accessor :psp_migration
1537
+
1538
+ def initialize(psp_migration: nil)
1539
+ @psp_migration = psp_migration
1540
+ end
1541
+ end
1542
+ # Protection types to request for this capability (e.g. "psp_migration").
1543
+ attr_accessor :protections
450
1544
  # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
451
1545
  attr_accessor :requested
452
1546
 
453
- def initialize(requested: nil)
1547
+ def initialize(protections: nil, requested: nil)
1548
+ @protections = protections
454
1549
  @requested = requested
455
1550
  end
456
1551
  end
457
1552
 
458
1553
  class MxBankTransferPayments < ::Stripe::RequestParams
1554
+ class Protections < ::Stripe::RequestParams
1555
+ class PspMigration < ::Stripe::RequestParams
1556
+ # To request a protection, pass true.
1557
+ attr_accessor :requested
1558
+
1559
+ def initialize(requested: nil)
1560
+ @requested = requested
1561
+ end
1562
+ end
1563
+ # Parameter to request psp_migration protection.
1564
+ attr_accessor :psp_migration
1565
+
1566
+ def initialize(psp_migration: nil)
1567
+ @psp_migration = psp_migration
1568
+ end
1569
+ end
1570
+ # Protection types to request for this capability (e.g. "psp_migration").
1571
+ attr_accessor :protections
459
1572
  # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
460
1573
  attr_accessor :requested
461
1574
 
462
- def initialize(requested: nil)
1575
+ def initialize(protections: nil, requested: nil)
1576
+ @protections = protections
463
1577
  @requested = requested
464
1578
  end
465
1579
  end
466
1580
 
467
1581
  class NaverPayPayments < ::Stripe::RequestParams
1582
+ class Protections < ::Stripe::RequestParams
1583
+ class PspMigration < ::Stripe::RequestParams
1584
+ # To request a protection, pass true.
1585
+ attr_accessor :requested
1586
+
1587
+ def initialize(requested: nil)
1588
+ @requested = requested
1589
+ end
1590
+ end
1591
+ # Parameter to request psp_migration protection.
1592
+ attr_accessor :psp_migration
1593
+
1594
+ def initialize(psp_migration: nil)
1595
+ @psp_migration = psp_migration
1596
+ end
1597
+ end
1598
+ # Protection types to request for this capability (e.g. "psp_migration").
1599
+ attr_accessor :protections
468
1600
  # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
469
1601
  attr_accessor :requested
470
1602
 
471
- def initialize(requested: nil)
1603
+ def initialize(protections: nil, requested: nil)
1604
+ @protections = protections
472
1605
  @requested = requested
473
1606
  end
474
1607
  end
475
1608
 
476
1609
  class OxxoPayments < ::Stripe::RequestParams
1610
+ class Protections < ::Stripe::RequestParams
1611
+ class PspMigration < ::Stripe::RequestParams
1612
+ # To request a protection, pass true.
1613
+ attr_accessor :requested
1614
+
1615
+ def initialize(requested: nil)
1616
+ @requested = requested
1617
+ end
1618
+ end
1619
+ # Parameter to request psp_migration protection.
1620
+ attr_accessor :psp_migration
1621
+
1622
+ def initialize(psp_migration: nil)
1623
+ @psp_migration = psp_migration
1624
+ end
1625
+ end
1626
+ # Protection types to request for this capability (e.g. "psp_migration").
1627
+ attr_accessor :protections
477
1628
  # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
478
1629
  attr_accessor :requested
479
1630
 
480
- def initialize(requested: nil)
1631
+ def initialize(protections: nil, requested: nil)
1632
+ @protections = protections
481
1633
  @requested = requested
482
1634
  end
483
1635
  end
484
1636
 
485
1637
  class P24Payments < ::Stripe::RequestParams
1638
+ class Protections < ::Stripe::RequestParams
1639
+ class PspMigration < ::Stripe::RequestParams
1640
+ # To request a protection, pass true.
1641
+ attr_accessor :requested
1642
+
1643
+ def initialize(requested: nil)
1644
+ @requested = requested
1645
+ end
1646
+ end
1647
+ # Parameter to request psp_migration protection.
1648
+ attr_accessor :psp_migration
1649
+
1650
+ def initialize(psp_migration: nil)
1651
+ @psp_migration = psp_migration
1652
+ end
1653
+ end
1654
+ # Protection types to request for this capability (e.g. "psp_migration").
1655
+ attr_accessor :protections
486
1656
  # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
487
1657
  attr_accessor :requested
488
1658
 
489
- def initialize(requested: nil)
1659
+ def initialize(protections: nil, requested: nil)
1660
+ @protections = protections
490
1661
  @requested = requested
491
1662
  end
492
1663
  end
493
1664
 
494
1665
  class PayByBankPayments < ::Stripe::RequestParams
1666
+ class Protections < ::Stripe::RequestParams
1667
+ class PspMigration < ::Stripe::RequestParams
1668
+ # To request a protection, pass true.
1669
+ attr_accessor :requested
1670
+
1671
+ def initialize(requested: nil)
1672
+ @requested = requested
1673
+ end
1674
+ end
1675
+ # Parameter to request psp_migration protection.
1676
+ attr_accessor :psp_migration
1677
+
1678
+ def initialize(psp_migration: nil)
1679
+ @psp_migration = psp_migration
1680
+ end
1681
+ end
1682
+ # Protection types to request for this capability (e.g. "psp_migration").
1683
+ attr_accessor :protections
495
1684
  # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
496
1685
  attr_accessor :requested
497
1686
 
498
- def initialize(requested: nil)
1687
+ def initialize(protections: nil, requested: nil)
1688
+ @protections = protections
499
1689
  @requested = requested
500
1690
  end
501
1691
  end
502
1692
 
503
1693
  class PaycoPayments < ::Stripe::RequestParams
1694
+ class Protections < ::Stripe::RequestParams
1695
+ class PspMigration < ::Stripe::RequestParams
1696
+ # To request a protection, pass true.
1697
+ attr_accessor :requested
1698
+
1699
+ def initialize(requested: nil)
1700
+ @requested = requested
1701
+ end
1702
+ end
1703
+ # Parameter to request psp_migration protection.
1704
+ attr_accessor :psp_migration
1705
+
1706
+ def initialize(psp_migration: nil)
1707
+ @psp_migration = psp_migration
1708
+ end
1709
+ end
1710
+ # Protection types to request for this capability (e.g. "psp_migration").
1711
+ attr_accessor :protections
504
1712
  # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
505
1713
  attr_accessor :requested
506
1714
 
507
- def initialize(requested: nil)
1715
+ def initialize(protections: nil, requested: nil)
1716
+ @protections = protections
508
1717
  @requested = requested
509
1718
  end
510
1719
  end
511
1720
 
512
1721
  class PaynowPayments < ::Stripe::RequestParams
1722
+ class Protections < ::Stripe::RequestParams
1723
+ class PspMigration < ::Stripe::RequestParams
1724
+ # To request a protection, pass true.
1725
+ attr_accessor :requested
1726
+
1727
+ def initialize(requested: nil)
1728
+ @requested = requested
1729
+ end
1730
+ end
1731
+ # Parameter to request psp_migration protection.
1732
+ attr_accessor :psp_migration
1733
+
1734
+ def initialize(psp_migration: nil)
1735
+ @psp_migration = psp_migration
1736
+ end
1737
+ end
1738
+ # Protection types to request for this capability (e.g. "psp_migration").
1739
+ attr_accessor :protections
513
1740
  # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
514
1741
  attr_accessor :requested
515
1742
 
516
- def initialize(requested: nil)
1743
+ def initialize(protections: nil, requested: nil)
1744
+ @protections = protections
517
1745
  @requested = requested
518
1746
  end
519
1747
  end
520
1748
 
521
1749
  class PromptpayPayments < ::Stripe::RequestParams
1750
+ class Protections < ::Stripe::RequestParams
1751
+ class PspMigration < ::Stripe::RequestParams
1752
+ # To request a protection, pass true.
1753
+ attr_accessor :requested
1754
+
1755
+ def initialize(requested: nil)
1756
+ @requested = requested
1757
+ end
1758
+ end
1759
+ # Parameter to request psp_migration protection.
1760
+ attr_accessor :psp_migration
1761
+
1762
+ def initialize(psp_migration: nil)
1763
+ @psp_migration = psp_migration
1764
+ end
1765
+ end
1766
+ # Protection types to request for this capability (e.g. "psp_migration").
1767
+ attr_accessor :protections
522
1768
  # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
523
1769
  attr_accessor :requested
524
1770
 
525
- def initialize(requested: nil)
1771
+ def initialize(protections: nil, requested: nil)
1772
+ @protections = protections
526
1773
  @requested = requested
527
1774
  end
528
1775
  end
529
1776
 
530
1777
  class RevolutPayPayments < ::Stripe::RequestParams
1778
+ class Protections < ::Stripe::RequestParams
1779
+ class PspMigration < ::Stripe::RequestParams
1780
+ # To request a protection, pass true.
1781
+ attr_accessor :requested
1782
+
1783
+ def initialize(requested: nil)
1784
+ @requested = requested
1785
+ end
1786
+ end
1787
+ # Parameter to request psp_migration protection.
1788
+ attr_accessor :psp_migration
1789
+
1790
+ def initialize(psp_migration: nil)
1791
+ @psp_migration = psp_migration
1792
+ end
1793
+ end
1794
+ # Protection types to request for this capability (e.g. "psp_migration").
1795
+ attr_accessor :protections
531
1796
  # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
532
1797
  attr_accessor :requested
533
1798
 
534
- def initialize(requested: nil)
1799
+ def initialize(protections: nil, requested: nil)
1800
+ @protections = protections
535
1801
  @requested = requested
536
1802
  end
537
1803
  end
538
1804
 
539
1805
  class SamsungPayPayments < ::Stripe::RequestParams
1806
+ class Protections < ::Stripe::RequestParams
1807
+ class PspMigration < ::Stripe::RequestParams
1808
+ # To request a protection, pass true.
1809
+ attr_accessor :requested
1810
+
1811
+ def initialize(requested: nil)
1812
+ @requested = requested
1813
+ end
1814
+ end
1815
+ # Parameter to request psp_migration protection.
1816
+ attr_accessor :psp_migration
1817
+
1818
+ def initialize(psp_migration: nil)
1819
+ @psp_migration = psp_migration
1820
+ end
1821
+ end
1822
+ # Protection types to request for this capability (e.g. "psp_migration").
1823
+ attr_accessor :protections
540
1824
  # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
541
1825
  attr_accessor :requested
542
1826
 
543
- def initialize(requested: nil)
1827
+ def initialize(protections: nil, requested: nil)
1828
+ @protections = protections
544
1829
  @requested = requested
545
1830
  end
546
1831
  end
547
1832
 
548
1833
  class SepaBankTransferPayments < ::Stripe::RequestParams
1834
+ class Protections < ::Stripe::RequestParams
1835
+ class PspMigration < ::Stripe::RequestParams
1836
+ # To request a protection, pass true.
1837
+ attr_accessor :requested
1838
+
1839
+ def initialize(requested: nil)
1840
+ @requested = requested
1841
+ end
1842
+ end
1843
+ # Parameter to request psp_migration protection.
1844
+ attr_accessor :psp_migration
1845
+
1846
+ def initialize(psp_migration: nil)
1847
+ @psp_migration = psp_migration
1848
+ end
1849
+ end
1850
+ # Protection types to request for this capability (e.g. "psp_migration").
1851
+ attr_accessor :protections
549
1852
  # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
550
1853
  attr_accessor :requested
551
1854
 
552
- def initialize(requested: nil)
1855
+ def initialize(protections: nil, requested: nil)
1856
+ @protections = protections
553
1857
  @requested = requested
554
1858
  end
555
1859
  end
556
1860
 
557
1861
  class SepaDebitPayments < ::Stripe::RequestParams
1862
+ class Protections < ::Stripe::RequestParams
1863
+ class PspMigration < ::Stripe::RequestParams
1864
+ # To request a protection, pass true.
1865
+ attr_accessor :requested
1866
+
1867
+ def initialize(requested: nil)
1868
+ @requested = requested
1869
+ end
1870
+ end
1871
+ # Parameter to request psp_migration protection.
1872
+ attr_accessor :psp_migration
1873
+
1874
+ def initialize(psp_migration: nil)
1875
+ @psp_migration = psp_migration
1876
+ end
1877
+ end
1878
+ # Protection types to request for this capability (e.g. "psp_migration").
1879
+ attr_accessor :protections
558
1880
  # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
559
1881
  attr_accessor :requested
560
1882
 
561
- def initialize(requested: nil)
1883
+ def initialize(protections: nil, requested: nil)
1884
+ @protections = protections
562
1885
  @requested = requested
563
1886
  end
564
1887
  end
565
1888
 
566
1889
  class SunbitPayments < ::Stripe::RequestParams
1890
+ class Protections < ::Stripe::RequestParams
1891
+ class PspMigration < ::Stripe::RequestParams
1892
+ # To request a protection, pass true.
1893
+ attr_accessor :requested
1894
+
1895
+ def initialize(requested: nil)
1896
+ @requested = requested
1897
+ end
1898
+ end
1899
+ # Parameter to request psp_migration protection.
1900
+ attr_accessor :psp_migration
1901
+
1902
+ def initialize(psp_migration: nil)
1903
+ @psp_migration = psp_migration
1904
+ end
1905
+ end
1906
+ # Protection types to request for this capability (e.g. "psp_migration").
1907
+ attr_accessor :protections
567
1908
  # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
568
1909
  attr_accessor :requested
569
1910
 
570
- def initialize(requested: nil)
1911
+ def initialize(protections: nil, requested: nil)
1912
+ @protections = protections
571
1913
  @requested = requested
572
1914
  end
573
1915
  end
574
1916
 
575
1917
  class SwishPayments < ::Stripe::RequestParams
1918
+ class Protections < ::Stripe::RequestParams
1919
+ class PspMigration < ::Stripe::RequestParams
1920
+ # To request a protection, pass true.
1921
+ attr_accessor :requested
1922
+
1923
+ def initialize(requested: nil)
1924
+ @requested = requested
1925
+ end
1926
+ end
1927
+ # Parameter to request psp_migration protection.
1928
+ attr_accessor :psp_migration
1929
+
1930
+ def initialize(psp_migration: nil)
1931
+ @psp_migration = psp_migration
1932
+ end
1933
+ end
1934
+ # Protection types to request for this capability (e.g. "psp_migration").
1935
+ attr_accessor :protections
576
1936
  # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
577
1937
  attr_accessor :requested
578
1938
 
579
- def initialize(requested: nil)
1939
+ def initialize(protections: nil, requested: nil)
1940
+ @protections = protections
580
1941
  @requested = requested
581
1942
  end
582
1943
  end
583
1944
 
584
1945
  class TwintPayments < ::Stripe::RequestParams
1946
+ class Protections < ::Stripe::RequestParams
1947
+ class PspMigration < ::Stripe::RequestParams
1948
+ # To request a protection, pass true.
1949
+ attr_accessor :requested
1950
+
1951
+ def initialize(requested: nil)
1952
+ @requested = requested
1953
+ end
1954
+ end
1955
+ # Parameter to request psp_migration protection.
1956
+ attr_accessor :psp_migration
1957
+
1958
+ def initialize(psp_migration: nil)
1959
+ @psp_migration = psp_migration
1960
+ end
1961
+ end
1962
+ # Protection types to request for this capability (e.g. "psp_migration").
1963
+ attr_accessor :protections
585
1964
  # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
586
1965
  attr_accessor :requested
587
1966
 
588
- def initialize(requested: nil)
1967
+ def initialize(protections: nil, requested: nil)
1968
+ @protections = protections
589
1969
  @requested = requested
590
1970
  end
591
1971
  end
592
1972
 
593
1973
  class UsBankTransferPayments < ::Stripe::RequestParams
1974
+ class Protections < ::Stripe::RequestParams
1975
+ class PspMigration < ::Stripe::RequestParams
1976
+ # To request a protection, pass true.
1977
+ attr_accessor :requested
1978
+
1979
+ def initialize(requested: nil)
1980
+ @requested = requested
1981
+ end
1982
+ end
1983
+ # Parameter to request psp_migration protection.
1984
+ attr_accessor :psp_migration
1985
+
1986
+ def initialize(psp_migration: nil)
1987
+ @psp_migration = psp_migration
1988
+ end
1989
+ end
1990
+ # Protection types to request for this capability (e.g. "psp_migration").
1991
+ attr_accessor :protections
594
1992
  # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
595
1993
  attr_accessor :requested
596
1994
 
597
- def initialize(requested: nil)
1995
+ def initialize(protections: nil, requested: nil)
1996
+ @protections = protections
598
1997
  @requested = requested
599
1998
  end
600
1999
  end
601
2000
 
602
2001
  class ZipPayments < ::Stripe::RequestParams
2002
+ class Protections < ::Stripe::RequestParams
2003
+ class PspMigration < ::Stripe::RequestParams
2004
+ # To request a protection, pass true.
2005
+ attr_accessor :requested
2006
+
2007
+ def initialize(requested: nil)
2008
+ @requested = requested
2009
+ end
2010
+ end
2011
+ # Parameter to request psp_migration protection.
2012
+ attr_accessor :psp_migration
2013
+
2014
+ def initialize(psp_migration: nil)
2015
+ @psp_migration = psp_migration
2016
+ end
2017
+ end
2018
+ # Protection types to request for this capability (e.g. "psp_migration").
2019
+ attr_accessor :protections
603
2020
  # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
604
2021
  attr_accessor :requested
605
2022
 
606
- def initialize(requested: nil)
2023
+ def initialize(protections: nil, requested: nil)
2024
+ @protections = protections
607
2025
  @requested = requested
608
2026
  end
609
2027
  end
@@ -813,9 +2231,21 @@ module Stripe
813
2231
  end
814
2232
  end
815
2233
 
816
- class KonbiniPayments < ::Stripe::RequestParams
817
- class Support < ::Stripe::RequestParams
818
- class Hours < ::Stripe::RequestParams
2234
+ class GrossSettlement < ::Stripe::RequestParams
2235
+ # The ID of the payment method to use for gross settlement payouts.
2236
+ attr_accessor :payment_method
2237
+ # Whether to collect a payment method for gross settlement.
2238
+ attr_accessor :payment_method_collection
2239
+
2240
+ def initialize(payment_method: nil, payment_method_collection: nil)
2241
+ @payment_method = payment_method
2242
+ @payment_method_collection = payment_method_collection
2243
+ end
2244
+ end
2245
+
2246
+ class KonbiniPayments < ::Stripe::RequestParams
2247
+ class Support < ::Stripe::RequestParams
2248
+ class Hours < ::Stripe::RequestParams
819
2249
  # Support hours end time (JST time of day) for in `HH:MM` format.
820
2250
  attr_accessor :end_time
821
2251
  # Support hours start time (JST time of day) for in `HH:MM` format.
@@ -882,6 +2312,23 @@ module Stripe
882
2312
  end
883
2313
  end
884
2314
 
2315
+ class SmartDisputes < ::Stripe::RequestParams
2316
+ class AutoRespond < ::Stripe::RequestParams
2317
+ # The preference for automatic dispute responses.
2318
+ attr_accessor :preference
2319
+
2320
+ def initialize(preference: nil)
2321
+ @preference = preference
2322
+ end
2323
+ end
2324
+ # Settings for Smart Disputes auto_respond.
2325
+ attr_accessor :auto_respond
2326
+
2327
+ def initialize(auto_respond: nil)
2328
+ @auto_respond = auto_respond
2329
+ end
2330
+ end
2331
+
885
2332
  class StatementDescriptor < ::Stripe::RequestParams
886
2333
  # The default text that appears on statements for non-card charges outside of Japan. For card charges, if you don’t set a statement_descriptor_prefix, this text is also used as the statement descriptor prefix. In that case, if concatenating the statement descriptor suffix causes the combined statement descriptor to exceed 22 characters, we truncate the statement_descriptor text to limit the full descriptor to 22 characters. For more information about statement descriptors and their requirements, see the Merchant Configuration settings documentation.
887
2334
  attr_accessor :descriptor
@@ -955,12 +2402,16 @@ module Stripe
955
2402
  attr_accessor :capabilities
956
2403
  # Card payments settings.
957
2404
  attr_accessor :card_payments
2405
+ # Settings for gross settlement.
2406
+ attr_accessor :gross_settlement
958
2407
  # Settings specific to Konbini payments on the account.
959
2408
  attr_accessor :konbini_payments
960
2409
  # The Merchant Category Code (MCC) for the merchant. MCCs classify businesses based on the goods or services they provide.
961
2410
  attr_accessor :mcc
962
2411
  # Settings for the default text that appears on statements for language variations.
963
2412
  attr_accessor :script_statement_descriptor
2413
+ # Settings for Smart Disputes automatic response feature.
2414
+ attr_accessor :smart_disputes
964
2415
  # Settings for the default [statement descriptor](/connect/statement-descriptors) text.
965
2416
  attr_accessor :statement_descriptor
966
2417
  # Publicly available contact information for sending support issues to.
@@ -972,9 +2423,11 @@ module Stripe
972
2423
  branding: nil,
973
2424
  capabilities: nil,
974
2425
  card_payments: nil,
2426
+ gross_settlement: nil,
975
2427
  konbini_payments: nil,
976
2428
  mcc: nil,
977
2429
  script_statement_descriptor: nil,
2430
+ smart_disputes: nil,
978
2431
  statement_descriptor: nil,
979
2432
  support: nil
980
2433
  )
@@ -983,22 +2436,1601 @@ module Stripe
983
2436
  @branding = branding
984
2437
  @capabilities = capabilities
985
2438
  @card_payments = card_payments
2439
+ @gross_settlement = gross_settlement
986
2440
  @konbini_payments = konbini_payments
987
2441
  @mcc = mcc
988
2442
  @script_statement_descriptor = script_statement_descriptor
2443
+ @smart_disputes = smart_disputes
989
2444
  @statement_descriptor = statement_descriptor
990
2445
  @support = support
991
2446
  end
992
2447
  end
993
2448
 
2449
+ class MoneyManager < ::Stripe::RequestParams
2450
+ class Capabilities < ::Stripe::RequestParams
2451
+ class BusinessStorage < ::Stripe::RequestParams
2452
+ class Inbound < ::Stripe::RequestParams
2453
+ class Aud < ::Stripe::RequestParams
2454
+ class Protections < ::Stripe::RequestParams
2455
+ class PspMigration < ::Stripe::RequestParams
2456
+ # To request a protection, pass true.
2457
+ attr_accessor :requested
2458
+
2459
+ def initialize(requested: nil)
2460
+ @requested = requested
2461
+ end
2462
+ end
2463
+ # Parameter to request psp_migration protection.
2464
+ attr_accessor :psp_migration
2465
+
2466
+ def initialize(psp_migration: nil)
2467
+ @psp_migration = psp_migration
2468
+ end
2469
+ end
2470
+ # Protection types to request for this capability (e.g. "psp_migration").
2471
+ attr_accessor :protections
2472
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
2473
+ attr_accessor :requested
2474
+
2475
+ def initialize(protections: nil, requested: nil)
2476
+ @protections = protections
2477
+ @requested = requested
2478
+ end
2479
+ end
2480
+
2481
+ class Cad < ::Stripe::RequestParams
2482
+ class Protections < ::Stripe::RequestParams
2483
+ class PspMigration < ::Stripe::RequestParams
2484
+ # To request a protection, pass true.
2485
+ attr_accessor :requested
2486
+
2487
+ def initialize(requested: nil)
2488
+ @requested = requested
2489
+ end
2490
+ end
2491
+ # Parameter to request psp_migration protection.
2492
+ attr_accessor :psp_migration
2493
+
2494
+ def initialize(psp_migration: nil)
2495
+ @psp_migration = psp_migration
2496
+ end
2497
+ end
2498
+ # Protection types to request for this capability (e.g. "psp_migration").
2499
+ attr_accessor :protections
2500
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
2501
+ attr_accessor :requested
2502
+
2503
+ def initialize(protections: nil, requested: nil)
2504
+ @protections = protections
2505
+ @requested = requested
2506
+ end
2507
+ end
2508
+
2509
+ class Eur < ::Stripe::RequestParams
2510
+ class Protections < ::Stripe::RequestParams
2511
+ class PspMigration < ::Stripe::RequestParams
2512
+ # To request a protection, pass true.
2513
+ attr_accessor :requested
2514
+
2515
+ def initialize(requested: nil)
2516
+ @requested = requested
2517
+ end
2518
+ end
2519
+ # Parameter to request psp_migration protection.
2520
+ attr_accessor :psp_migration
2521
+
2522
+ def initialize(psp_migration: nil)
2523
+ @psp_migration = psp_migration
2524
+ end
2525
+ end
2526
+ # Protection types to request for this capability (e.g. "psp_migration").
2527
+ attr_accessor :protections
2528
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
2529
+ attr_accessor :requested
2530
+
2531
+ def initialize(protections: nil, requested: nil)
2532
+ @protections = protections
2533
+ @requested = requested
2534
+ end
2535
+ end
2536
+
2537
+ class Gbp < ::Stripe::RequestParams
2538
+ class Protections < ::Stripe::RequestParams
2539
+ class PspMigration < ::Stripe::RequestParams
2540
+ # To request a protection, pass true.
2541
+ attr_accessor :requested
2542
+
2543
+ def initialize(requested: nil)
2544
+ @requested = requested
2545
+ end
2546
+ end
2547
+ # Parameter to request psp_migration protection.
2548
+ attr_accessor :psp_migration
2549
+
2550
+ def initialize(psp_migration: nil)
2551
+ @psp_migration = psp_migration
2552
+ end
2553
+ end
2554
+ # Protection types to request for this capability (e.g. "psp_migration").
2555
+ attr_accessor :protections
2556
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
2557
+ attr_accessor :requested
2558
+
2559
+ def initialize(protections: nil, requested: nil)
2560
+ @protections = protections
2561
+ @requested = requested
2562
+ end
2563
+ end
2564
+
2565
+ class Usd < ::Stripe::RequestParams
2566
+ class Protections < ::Stripe::RequestParams
2567
+ class PspMigration < ::Stripe::RequestParams
2568
+ # To request a protection, pass true.
2569
+ attr_accessor :requested
2570
+
2571
+ def initialize(requested: nil)
2572
+ @requested = requested
2573
+ end
2574
+ end
2575
+ # Parameter to request psp_migration protection.
2576
+ attr_accessor :psp_migration
2577
+
2578
+ def initialize(psp_migration: nil)
2579
+ @psp_migration = psp_migration
2580
+ end
2581
+ end
2582
+ # Protection types to request for this capability (e.g. "psp_migration").
2583
+ attr_accessor :protections
2584
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
2585
+ attr_accessor :requested
2586
+
2587
+ def initialize(protections: nil, requested: nil)
2588
+ @protections = protections
2589
+ @requested = requested
2590
+ end
2591
+ end
2592
+
2593
+ class Usdc < ::Stripe::RequestParams
2594
+ class Protections < ::Stripe::RequestParams
2595
+ class PspMigration < ::Stripe::RequestParams
2596
+ # To request a protection, pass true.
2597
+ attr_accessor :requested
2598
+
2599
+ def initialize(requested: nil)
2600
+ @requested = requested
2601
+ end
2602
+ end
2603
+ # Parameter to request psp_migration protection.
2604
+ attr_accessor :psp_migration
2605
+
2606
+ def initialize(psp_migration: nil)
2607
+ @psp_migration = psp_migration
2608
+ end
2609
+ end
2610
+ # Protection types to request for this capability (e.g. "psp_migration").
2611
+ attr_accessor :protections
2612
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
2613
+ attr_accessor :requested
2614
+
2615
+ def initialize(protections: nil, requested: nil)
2616
+ @protections = protections
2617
+ @requested = requested
2618
+ end
2619
+ end
2620
+ # Can receive business storage-type funds on Stripe in AUD.
2621
+ attr_accessor :aud
2622
+ # Can receive business storage-type funds on Stripe in CAD.
2623
+ attr_accessor :cad
2624
+ # Can receive business storage-type funds on Stripe in EUR.
2625
+ attr_accessor :eur
2626
+ # Can receive business storage-type funds on Stripe in GBP.
2627
+ attr_accessor :gbp
2628
+ # Can receive business storage-type funds on Stripe in USD.
2629
+ attr_accessor :usd
2630
+ # Can receive business storage-type funds on Stripe in USDC.
2631
+ attr_accessor :usdc
2632
+
2633
+ def initialize(aud: nil, cad: nil, eur: nil, gbp: nil, usd: nil, usdc: nil)
2634
+ @aud = aud
2635
+ @cad = cad
2636
+ @eur = eur
2637
+ @gbp = gbp
2638
+ @usd = usd
2639
+ @usdc = usdc
2640
+ end
2641
+ end
2642
+
2643
+ class Outbound < ::Stripe::RequestParams
2644
+ class Aud < ::Stripe::RequestParams
2645
+ class Protections < ::Stripe::RequestParams
2646
+ class PspMigration < ::Stripe::RequestParams
2647
+ # To request a protection, pass true.
2648
+ attr_accessor :requested
2649
+
2650
+ def initialize(requested: nil)
2651
+ @requested = requested
2652
+ end
2653
+ end
2654
+ # Parameter to request psp_migration protection.
2655
+ attr_accessor :psp_migration
2656
+
2657
+ def initialize(psp_migration: nil)
2658
+ @psp_migration = psp_migration
2659
+ end
2660
+ end
2661
+ # Protection types to request for this capability (e.g. "psp_migration").
2662
+ attr_accessor :protections
2663
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
2664
+ attr_accessor :requested
2665
+
2666
+ def initialize(protections: nil, requested: nil)
2667
+ @protections = protections
2668
+ @requested = requested
2669
+ end
2670
+ end
2671
+
2672
+ class Cad < ::Stripe::RequestParams
2673
+ class Protections < ::Stripe::RequestParams
2674
+ class PspMigration < ::Stripe::RequestParams
2675
+ # To request a protection, pass true.
2676
+ attr_accessor :requested
2677
+
2678
+ def initialize(requested: nil)
2679
+ @requested = requested
2680
+ end
2681
+ end
2682
+ # Parameter to request psp_migration protection.
2683
+ attr_accessor :psp_migration
2684
+
2685
+ def initialize(psp_migration: nil)
2686
+ @psp_migration = psp_migration
2687
+ end
2688
+ end
2689
+ # Protection types to request for this capability (e.g. "psp_migration").
2690
+ attr_accessor :protections
2691
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
2692
+ attr_accessor :requested
2693
+
2694
+ def initialize(protections: nil, requested: nil)
2695
+ @protections = protections
2696
+ @requested = requested
2697
+ end
2698
+ end
2699
+
2700
+ class Eur < ::Stripe::RequestParams
2701
+ class Protections < ::Stripe::RequestParams
2702
+ class PspMigration < ::Stripe::RequestParams
2703
+ # To request a protection, pass true.
2704
+ attr_accessor :requested
2705
+
2706
+ def initialize(requested: nil)
2707
+ @requested = requested
2708
+ end
2709
+ end
2710
+ # Parameter to request psp_migration protection.
2711
+ attr_accessor :psp_migration
2712
+
2713
+ def initialize(psp_migration: nil)
2714
+ @psp_migration = psp_migration
2715
+ end
2716
+ end
2717
+ # Protection types to request for this capability (e.g. "psp_migration").
2718
+ attr_accessor :protections
2719
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
2720
+ attr_accessor :requested
2721
+
2722
+ def initialize(protections: nil, requested: nil)
2723
+ @protections = protections
2724
+ @requested = requested
2725
+ end
2726
+ end
2727
+
2728
+ class Gbp < ::Stripe::RequestParams
2729
+ class Protections < ::Stripe::RequestParams
2730
+ class PspMigration < ::Stripe::RequestParams
2731
+ # To request a protection, pass true.
2732
+ attr_accessor :requested
2733
+
2734
+ def initialize(requested: nil)
2735
+ @requested = requested
2736
+ end
2737
+ end
2738
+ # Parameter to request psp_migration protection.
2739
+ attr_accessor :psp_migration
2740
+
2741
+ def initialize(psp_migration: nil)
2742
+ @psp_migration = psp_migration
2743
+ end
2744
+ end
2745
+ # Protection types to request for this capability (e.g. "psp_migration").
2746
+ attr_accessor :protections
2747
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
2748
+ attr_accessor :requested
2749
+
2750
+ def initialize(protections: nil, requested: nil)
2751
+ @protections = protections
2752
+ @requested = requested
2753
+ end
2754
+ end
2755
+
2756
+ class Usd < ::Stripe::RequestParams
2757
+ class Protections < ::Stripe::RequestParams
2758
+ class PspMigration < ::Stripe::RequestParams
2759
+ # To request a protection, pass true.
2760
+ attr_accessor :requested
2761
+
2762
+ def initialize(requested: nil)
2763
+ @requested = requested
2764
+ end
2765
+ end
2766
+ # Parameter to request psp_migration protection.
2767
+ attr_accessor :psp_migration
2768
+
2769
+ def initialize(psp_migration: nil)
2770
+ @psp_migration = psp_migration
2771
+ end
2772
+ end
2773
+ # Protection types to request for this capability (e.g. "psp_migration").
2774
+ attr_accessor :protections
2775
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
2776
+ attr_accessor :requested
2777
+
2778
+ def initialize(protections: nil, requested: nil)
2779
+ @protections = protections
2780
+ @requested = requested
2781
+ end
2782
+ end
2783
+
2784
+ class Usdc < ::Stripe::RequestParams
2785
+ class Protections < ::Stripe::RequestParams
2786
+ class PspMigration < ::Stripe::RequestParams
2787
+ # To request a protection, pass true.
2788
+ attr_accessor :requested
2789
+
2790
+ def initialize(requested: nil)
2791
+ @requested = requested
2792
+ end
2793
+ end
2794
+ # Parameter to request psp_migration protection.
2795
+ attr_accessor :psp_migration
2796
+
2797
+ def initialize(psp_migration: nil)
2798
+ @psp_migration = psp_migration
2799
+ end
2800
+ end
2801
+ # Protection types to request for this capability (e.g. "psp_migration").
2802
+ attr_accessor :protections
2803
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
2804
+ attr_accessor :requested
2805
+
2806
+ def initialize(protections: nil, requested: nil)
2807
+ @protections = protections
2808
+ @requested = requested
2809
+ end
2810
+ end
2811
+ # Can send business storage-type funds on Stripe in AUD.
2812
+ attr_accessor :aud
2813
+ # Can send business storage-type funds on Stripe in CAD.
2814
+ attr_accessor :cad
2815
+ # Can send business storage-type funds on Stripe in EUR.
2816
+ attr_accessor :eur
2817
+ # Can send business storage-type funds on Stripe in GBP.
2818
+ attr_accessor :gbp
2819
+ # Can send business storage-type funds on Stripe in USD.
2820
+ attr_accessor :usd
2821
+ # Can send business storage-type funds on Stripe in USDC.
2822
+ attr_accessor :usdc
2823
+
2824
+ def initialize(aud: nil, cad: nil, eur: nil, gbp: nil, usd: nil, usdc: nil)
2825
+ @aud = aud
2826
+ @cad = cad
2827
+ @eur = eur
2828
+ @gbp = gbp
2829
+ @usd = usd
2830
+ @usdc = usdc
2831
+ end
2832
+ end
2833
+ # Can receive business storage-type funds on Stripe.
2834
+ attr_accessor :inbound
2835
+ # Can send business storage-type funds on Stripe.
2836
+ attr_accessor :outbound
2837
+
2838
+ def initialize(inbound: nil, outbound: nil)
2839
+ @inbound = inbound
2840
+ @outbound = outbound
2841
+ end
2842
+ end
2843
+
2844
+ class ConsumerStorage < ::Stripe::RequestParams
2845
+ class Inbound < ::Stripe::RequestParams
2846
+ class Usd < ::Stripe::RequestParams
2847
+ class Protections < ::Stripe::RequestParams
2848
+ class PspMigration < ::Stripe::RequestParams
2849
+ # To request a protection, pass true.
2850
+ attr_accessor :requested
2851
+
2852
+ def initialize(requested: nil)
2853
+ @requested = requested
2854
+ end
2855
+ end
2856
+ # Parameter to request psp_migration protection.
2857
+ attr_accessor :psp_migration
2858
+
2859
+ def initialize(psp_migration: nil)
2860
+ @psp_migration = psp_migration
2861
+ end
2862
+ end
2863
+ # Protection types to request for this capability (e.g. "psp_migration").
2864
+ attr_accessor :protections
2865
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
2866
+ attr_accessor :requested
2867
+
2868
+ def initialize(protections: nil, requested: nil)
2869
+ @protections = protections
2870
+ @requested = requested
2871
+ end
2872
+ end
2873
+
2874
+ class Usdc < ::Stripe::RequestParams
2875
+ class Protections < ::Stripe::RequestParams
2876
+ class PspMigration < ::Stripe::RequestParams
2877
+ # To request a protection, pass true.
2878
+ attr_accessor :requested
2879
+
2880
+ def initialize(requested: nil)
2881
+ @requested = requested
2882
+ end
2883
+ end
2884
+ # Parameter to request psp_migration protection.
2885
+ attr_accessor :psp_migration
2886
+
2887
+ def initialize(psp_migration: nil)
2888
+ @psp_migration = psp_migration
2889
+ end
2890
+ end
2891
+ # Protection types to request for this capability (e.g. "psp_migration").
2892
+ attr_accessor :protections
2893
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
2894
+ attr_accessor :requested
2895
+
2896
+ def initialize(protections: nil, requested: nil)
2897
+ @protections = protections
2898
+ @requested = requested
2899
+ end
2900
+ end
2901
+ # Can receive consumer storage-type funds on Stripe in USD.
2902
+ attr_accessor :usd
2903
+ # Can receive consumer storage-type funds on Stripe in USDC.
2904
+ attr_accessor :usdc
2905
+
2906
+ def initialize(usd: nil, usdc: nil)
2907
+ @usd = usd
2908
+ @usdc = usdc
2909
+ end
2910
+ end
2911
+
2912
+ class Outbound < ::Stripe::RequestParams
2913
+ class Usd < ::Stripe::RequestParams
2914
+ class Protections < ::Stripe::RequestParams
2915
+ class PspMigration < ::Stripe::RequestParams
2916
+ # To request a protection, pass true.
2917
+ attr_accessor :requested
2918
+
2919
+ def initialize(requested: nil)
2920
+ @requested = requested
2921
+ end
2922
+ end
2923
+ # Parameter to request psp_migration protection.
2924
+ attr_accessor :psp_migration
2925
+
2926
+ def initialize(psp_migration: nil)
2927
+ @psp_migration = psp_migration
2928
+ end
2929
+ end
2930
+ # Protection types to request for this capability (e.g. "psp_migration").
2931
+ attr_accessor :protections
2932
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
2933
+ attr_accessor :requested
2934
+
2935
+ def initialize(protections: nil, requested: nil)
2936
+ @protections = protections
2937
+ @requested = requested
2938
+ end
2939
+ end
2940
+
2941
+ class Usdc < ::Stripe::RequestParams
2942
+ class Protections < ::Stripe::RequestParams
2943
+ class PspMigration < ::Stripe::RequestParams
2944
+ # To request a protection, pass true.
2945
+ attr_accessor :requested
2946
+
2947
+ def initialize(requested: nil)
2948
+ @requested = requested
2949
+ end
2950
+ end
2951
+ # Parameter to request psp_migration protection.
2952
+ attr_accessor :psp_migration
2953
+
2954
+ def initialize(psp_migration: nil)
2955
+ @psp_migration = psp_migration
2956
+ end
2957
+ end
2958
+ # Protection types to request for this capability (e.g. "psp_migration").
2959
+ attr_accessor :protections
2960
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
2961
+ attr_accessor :requested
2962
+
2963
+ def initialize(protections: nil, requested: nil)
2964
+ @protections = protections
2965
+ @requested = requested
2966
+ end
2967
+ end
2968
+ # Can send consumer storage-type funds on Stripe in USD.
2969
+ attr_accessor :usd
2970
+ # Can send consumer storage-type funds on Stripe in USDC.
2971
+ attr_accessor :usdc
2972
+
2973
+ def initialize(usd: nil, usdc: nil)
2974
+ @usd = usd
2975
+ @usdc = usdc
2976
+ end
2977
+ end
2978
+ # Can receive consumer storage-type funds on Stripe.
2979
+ attr_accessor :inbound
2980
+ # Can send consumer storage-type funds on Stripe.
2981
+ attr_accessor :outbound
2982
+
2983
+ def initialize(inbound: nil, outbound: nil)
2984
+ @inbound = inbound
2985
+ @outbound = outbound
2986
+ end
2987
+ end
2988
+
2989
+ class InboundTransfers < ::Stripe::RequestParams
2990
+ class BankAccounts < ::Stripe::RequestParams
2991
+ class Protections < ::Stripe::RequestParams
2992
+ class PspMigration < ::Stripe::RequestParams
2993
+ # To request a protection, pass true.
2994
+ attr_accessor :requested
2995
+
2996
+ def initialize(requested: nil)
2997
+ @requested = requested
2998
+ end
2999
+ end
3000
+ # Parameter to request psp_migration protection.
3001
+ attr_accessor :psp_migration
3002
+
3003
+ def initialize(psp_migration: nil)
3004
+ @psp_migration = psp_migration
3005
+ end
3006
+ end
3007
+ # Protection types to request for this capability (e.g. "psp_migration").
3008
+ attr_accessor :protections
3009
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
3010
+ attr_accessor :requested
3011
+
3012
+ def initialize(protections: nil, requested: nil)
3013
+ @protections = protections
3014
+ @requested = requested
3015
+ end
3016
+ end
3017
+ # Can pull funds from an external bank account owned by yourself to a FinancialAccount.
3018
+ attr_accessor :bank_accounts
3019
+
3020
+ def initialize(bank_accounts: nil)
3021
+ @bank_accounts = bank_accounts
3022
+ end
3023
+ end
3024
+
3025
+ class OutboundPayments < ::Stripe::RequestParams
3026
+ class BankAccounts < ::Stripe::RequestParams
3027
+ class Protections < ::Stripe::RequestParams
3028
+ class PspMigration < ::Stripe::RequestParams
3029
+ # To request a protection, pass true.
3030
+ attr_accessor :requested
3031
+
3032
+ def initialize(requested: nil)
3033
+ @requested = requested
3034
+ end
3035
+ end
3036
+ # Parameter to request psp_migration protection.
3037
+ attr_accessor :psp_migration
3038
+
3039
+ def initialize(psp_migration: nil)
3040
+ @psp_migration = psp_migration
3041
+ end
3042
+ end
3043
+ # Protection types to request for this capability (e.g. "psp_migration").
3044
+ attr_accessor :protections
3045
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
3046
+ attr_accessor :requested
3047
+
3048
+ def initialize(protections: nil, requested: nil)
3049
+ @protections = protections
3050
+ @requested = requested
3051
+ end
3052
+ end
3053
+
3054
+ class Cards < ::Stripe::RequestParams
3055
+ class Protections < ::Stripe::RequestParams
3056
+ class PspMigration < ::Stripe::RequestParams
3057
+ # To request a protection, pass true.
3058
+ attr_accessor :requested
3059
+
3060
+ def initialize(requested: nil)
3061
+ @requested = requested
3062
+ end
3063
+ end
3064
+ # Parameter to request psp_migration protection.
3065
+ attr_accessor :psp_migration
3066
+
3067
+ def initialize(psp_migration: nil)
3068
+ @psp_migration = psp_migration
3069
+ end
3070
+ end
3071
+ # Protection types to request for this capability (e.g. "psp_migration").
3072
+ attr_accessor :protections
3073
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
3074
+ attr_accessor :requested
3075
+
3076
+ def initialize(protections: nil, requested: nil)
3077
+ @protections = protections
3078
+ @requested = requested
3079
+ end
3080
+ end
3081
+
3082
+ class CryptoWallets < ::Stripe::RequestParams
3083
+ class Protections < ::Stripe::RequestParams
3084
+ class PspMigration < ::Stripe::RequestParams
3085
+ # To request a protection, pass true.
3086
+ attr_accessor :requested
3087
+
3088
+ def initialize(requested: nil)
3089
+ @requested = requested
3090
+ end
3091
+ end
3092
+ # Parameter to request psp_migration protection.
3093
+ attr_accessor :psp_migration
3094
+
3095
+ def initialize(psp_migration: nil)
3096
+ @psp_migration = psp_migration
3097
+ end
3098
+ end
3099
+ # Protection types to request for this capability (e.g. "psp_migration").
3100
+ attr_accessor :protections
3101
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
3102
+ attr_accessor :requested
3103
+
3104
+ def initialize(protections: nil, requested: nil)
3105
+ @protections = protections
3106
+ @requested = requested
3107
+ end
3108
+ end
3109
+
3110
+ class FinancialAccounts < ::Stripe::RequestParams
3111
+ class Protections < ::Stripe::RequestParams
3112
+ class PspMigration < ::Stripe::RequestParams
3113
+ # To request a protection, pass true.
3114
+ attr_accessor :requested
3115
+
3116
+ def initialize(requested: nil)
3117
+ @requested = requested
3118
+ end
3119
+ end
3120
+ # Parameter to request psp_migration protection.
3121
+ attr_accessor :psp_migration
3122
+
3123
+ def initialize(psp_migration: nil)
3124
+ @psp_migration = psp_migration
3125
+ end
3126
+ end
3127
+ # Protection types to request for this capability (e.g. "psp_migration").
3128
+ attr_accessor :protections
3129
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
3130
+ attr_accessor :requested
3131
+
3132
+ def initialize(protections: nil, requested: nil)
3133
+ @protections = protections
3134
+ @requested = requested
3135
+ end
3136
+ end
3137
+
3138
+ class PaperChecks < ::Stripe::RequestParams
3139
+ class Protections < ::Stripe::RequestParams
3140
+ class PspMigration < ::Stripe::RequestParams
3141
+ # To request a protection, pass true.
3142
+ attr_accessor :requested
3143
+
3144
+ def initialize(requested: nil)
3145
+ @requested = requested
3146
+ end
3147
+ end
3148
+ # Parameter to request psp_migration protection.
3149
+ attr_accessor :psp_migration
3150
+
3151
+ def initialize(psp_migration: nil)
3152
+ @psp_migration = psp_migration
3153
+ end
3154
+ end
3155
+ # Protection types to request for this capability (e.g. "psp_migration").
3156
+ attr_accessor :protections
3157
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
3158
+ attr_accessor :requested
3159
+
3160
+ def initialize(protections: nil, requested: nil)
3161
+ @protections = protections
3162
+ @requested = requested
3163
+ end
3164
+ end
3165
+ # Can send funds from a FinancialAccount to a bank account owned by someone else.
3166
+ attr_accessor :bank_accounts
3167
+ # Can send funds from a FinancialAccount to a debit card owned by someone else.
3168
+ attr_accessor :cards
3169
+ # Can send funds from a FinancialAccount to a crypto wallet owned by someone else.
3170
+ attr_accessor :crypto_wallets
3171
+ # Can send funds from a FinancialAccount to another FinancialAccount owned by someone else.
3172
+ attr_accessor :financial_accounts
3173
+ # Can send funds from a FinancialAccount to someone else via paper check.
3174
+ attr_accessor :paper_checks
3175
+
3176
+ def initialize(
3177
+ bank_accounts: nil,
3178
+ cards: nil,
3179
+ crypto_wallets: nil,
3180
+ financial_accounts: nil,
3181
+ paper_checks: nil
3182
+ )
3183
+ @bank_accounts = bank_accounts
3184
+ @cards = cards
3185
+ @crypto_wallets = crypto_wallets
3186
+ @financial_accounts = financial_accounts
3187
+ @paper_checks = paper_checks
3188
+ end
3189
+ end
3190
+
3191
+ class OutboundTransfers < ::Stripe::RequestParams
3192
+ class BankAccounts < ::Stripe::RequestParams
3193
+ class Protections < ::Stripe::RequestParams
3194
+ class PspMigration < ::Stripe::RequestParams
3195
+ # To request a protection, pass true.
3196
+ attr_accessor :requested
3197
+
3198
+ def initialize(requested: nil)
3199
+ @requested = requested
3200
+ end
3201
+ end
3202
+ # Parameter to request psp_migration protection.
3203
+ attr_accessor :psp_migration
3204
+
3205
+ def initialize(psp_migration: nil)
3206
+ @psp_migration = psp_migration
3207
+ end
3208
+ end
3209
+ # Protection types to request for this capability (e.g. "psp_migration").
3210
+ attr_accessor :protections
3211
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
3212
+ attr_accessor :requested
3213
+
3214
+ def initialize(protections: nil, requested: nil)
3215
+ @protections = protections
3216
+ @requested = requested
3217
+ end
3218
+ end
3219
+
3220
+ class CryptoWallets < ::Stripe::RequestParams
3221
+ class Protections < ::Stripe::RequestParams
3222
+ class PspMigration < ::Stripe::RequestParams
3223
+ # To request a protection, pass true.
3224
+ attr_accessor :requested
3225
+
3226
+ def initialize(requested: nil)
3227
+ @requested = requested
3228
+ end
3229
+ end
3230
+ # Parameter to request psp_migration protection.
3231
+ attr_accessor :psp_migration
3232
+
3233
+ def initialize(psp_migration: nil)
3234
+ @psp_migration = psp_migration
3235
+ end
3236
+ end
3237
+ # Protection types to request for this capability (e.g. "psp_migration").
3238
+ attr_accessor :protections
3239
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
3240
+ attr_accessor :requested
3241
+
3242
+ def initialize(protections: nil, requested: nil)
3243
+ @protections = protections
3244
+ @requested = requested
3245
+ end
3246
+ end
3247
+
3248
+ class FinancialAccounts < ::Stripe::RequestParams
3249
+ class Protections < ::Stripe::RequestParams
3250
+ class PspMigration < ::Stripe::RequestParams
3251
+ # To request a protection, pass true.
3252
+ attr_accessor :requested
3253
+
3254
+ def initialize(requested: nil)
3255
+ @requested = requested
3256
+ end
3257
+ end
3258
+ # Parameter to request psp_migration protection.
3259
+ attr_accessor :psp_migration
3260
+
3261
+ def initialize(psp_migration: nil)
3262
+ @psp_migration = psp_migration
3263
+ end
3264
+ end
3265
+ # Protection types to request for this capability (e.g. "psp_migration").
3266
+ attr_accessor :protections
3267
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
3268
+ attr_accessor :requested
3269
+
3270
+ def initialize(protections: nil, requested: nil)
3271
+ @protections = protections
3272
+ @requested = requested
3273
+ end
3274
+ end
3275
+ # Can send funds from a FinancialAccount to a bank account owned by yourself.
3276
+ attr_accessor :bank_accounts
3277
+ # Can send funds from a FinancialAccount to a crypto wallet owned by yourself.
3278
+ attr_accessor :crypto_wallets
3279
+ # Can send funds from a FinancialAccount to another FinancialAccount owned by yourself.
3280
+ attr_accessor :financial_accounts
3281
+
3282
+ def initialize(bank_accounts: nil, crypto_wallets: nil, financial_accounts: nil)
3283
+ @bank_accounts = bank_accounts
3284
+ @crypto_wallets = crypto_wallets
3285
+ @financial_accounts = financial_accounts
3286
+ end
3287
+ end
3288
+
3289
+ class ReceivedCredits < ::Stripe::RequestParams
3290
+ class BankAccounts < ::Stripe::RequestParams
3291
+ class Protections < ::Stripe::RequestParams
3292
+ class PspMigration < ::Stripe::RequestParams
3293
+ # To request a protection, pass true.
3294
+ attr_accessor :requested
3295
+
3296
+ def initialize(requested: nil)
3297
+ @requested = requested
3298
+ end
3299
+ end
3300
+ # Parameter to request psp_migration protection.
3301
+ attr_accessor :psp_migration
3302
+
3303
+ def initialize(psp_migration: nil)
3304
+ @psp_migration = psp_migration
3305
+ end
3306
+ end
3307
+ # Protection types to request for this capability (e.g. "psp_migration").
3308
+ attr_accessor :protections
3309
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
3310
+ attr_accessor :requested
3311
+
3312
+ def initialize(protections: nil, requested: nil)
3313
+ @protections = protections
3314
+ @requested = requested
3315
+ end
3316
+ end
3317
+
3318
+ class CryptoWallets < ::Stripe::RequestParams
3319
+ class Protections < ::Stripe::RequestParams
3320
+ class PspMigration < ::Stripe::RequestParams
3321
+ # To request a protection, pass true.
3322
+ attr_accessor :requested
3323
+
3324
+ def initialize(requested: nil)
3325
+ @requested = requested
3326
+ end
3327
+ end
3328
+ # Parameter to request psp_migration protection.
3329
+ attr_accessor :psp_migration
3330
+
3331
+ def initialize(psp_migration: nil)
3332
+ @psp_migration = psp_migration
3333
+ end
3334
+ end
3335
+ # Protection types to request for this capability (e.g. "psp_migration").
3336
+ attr_accessor :protections
3337
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
3338
+ attr_accessor :requested
3339
+
3340
+ def initialize(protections: nil, requested: nil)
3341
+ @protections = protections
3342
+ @requested = requested
3343
+ end
3344
+ end
3345
+ # Can receive funds on a bank-account-like financial address (VBAN) to credit a FinancialAccount.
3346
+ attr_accessor :bank_accounts
3347
+ # Can receive funds on a crypto wallet like financial address to credit a FinancialAccount.
3348
+ attr_accessor :crypto_wallets
3349
+
3350
+ def initialize(bank_accounts: nil, crypto_wallets: nil)
3351
+ @bank_accounts = bank_accounts
3352
+ @crypto_wallets = crypto_wallets
3353
+ end
3354
+ end
3355
+
3356
+ class ReceivedDebits < ::Stripe::RequestParams
3357
+ class BankAccounts < ::Stripe::RequestParams
3358
+ class Protections < ::Stripe::RequestParams
3359
+ class PspMigration < ::Stripe::RequestParams
3360
+ # To request a protection, pass true.
3361
+ attr_accessor :requested
3362
+
3363
+ def initialize(requested: nil)
3364
+ @requested = requested
3365
+ end
3366
+ end
3367
+ # Parameter to request psp_migration protection.
3368
+ attr_accessor :psp_migration
3369
+
3370
+ def initialize(psp_migration: nil)
3371
+ @psp_migration = psp_migration
3372
+ end
3373
+ end
3374
+ # Protection types to request for this capability (e.g. "psp_migration").
3375
+ attr_accessor :protections
3376
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
3377
+ attr_accessor :requested
3378
+
3379
+ def initialize(protections: nil, requested: nil)
3380
+ @protections = protections
3381
+ @requested = requested
3382
+ end
3383
+ end
3384
+ # Can receive debits to a FinancialAccount from a bank account.
3385
+ attr_accessor :bank_accounts
3386
+
3387
+ def initialize(bank_accounts: nil)
3388
+ @bank_accounts = bank_accounts
3389
+ end
3390
+ end
3391
+ # Can send or receive business storage-type funds on Stripe.
3392
+ attr_accessor :business_storage
3393
+ # Can send or receive consumer storage-type funds on Stripe.
3394
+ attr_accessor :consumer_storage
3395
+ # Can pull funds from an external source, owned by yourself, to a FinancialAccount.
3396
+ attr_accessor :inbound_transfers
3397
+ # Can send funds from a FinancialAccount to a destination owned by someone else.
3398
+ attr_accessor :outbound_payments
3399
+ # Can send funds from a FinancialAccount to a destination owned by yourself.
3400
+ attr_accessor :outbound_transfers
3401
+ # Can receive funds on a financial address to credit a FinancialAccount.
3402
+ attr_accessor :received_credits
3403
+ # Can receive debits to a FinancialAccount.
3404
+ attr_accessor :received_debits
3405
+
3406
+ def initialize(
3407
+ business_storage: nil,
3408
+ consumer_storage: nil,
3409
+ inbound_transfers: nil,
3410
+ outbound_payments: nil,
3411
+ outbound_transfers: nil,
3412
+ received_credits: nil,
3413
+ received_debits: nil
3414
+ )
3415
+ @business_storage = business_storage
3416
+ @consumer_storage = consumer_storage
3417
+ @inbound_transfers = inbound_transfers
3418
+ @outbound_payments = outbound_payments
3419
+ @outbound_transfers = outbound_transfers
3420
+ @received_credits = received_credits
3421
+ @received_debits = received_debits
3422
+ end
3423
+ end
3424
+
3425
+ class RegulatedActivity < ::Stripe::RequestParams
3426
+ # A detailed description of the regulated activities the business is licensed to conduct.
3427
+ attr_accessor :description
3428
+ # The license number or registration number assigned by the business's primary regulator.
3429
+ attr_accessor :license_number
3430
+ # The country of the primary regulatory authority that oversees the business's regulated activities.
3431
+ attr_accessor :primary_regulatory_authority_country
3432
+ # The name of the primary regulatory authority that oversees the business's regulated activities.
3433
+ attr_accessor :primary_regulatory_authority_name
3434
+
3435
+ def initialize(
3436
+ description: nil,
3437
+ license_number: nil,
3438
+ primary_regulatory_authority_country: nil,
3439
+ primary_regulatory_authority_name: nil
3440
+ )
3441
+ @description = description
3442
+ @license_number = license_number
3443
+ @primary_regulatory_authority_country = primary_regulatory_authority_country
3444
+ @primary_regulatory_authority_name = primary_regulatory_authority_name
3445
+ end
3446
+ end
3447
+ # Represents the state of the configuration, and can be updated to deactivate or re-apply a configuration.
3448
+ attr_accessor :applied
3449
+ # Capabilities to request on the Money Manager Configuration.
3450
+ attr_accessor :capabilities
3451
+ # List of high-risk activities the business is involved in.
3452
+ attr_accessor :high_risk_activities
3453
+ # Description of the high-risk activities the business offers.
3454
+ attr_accessor :high_risk_activities_description
3455
+ # Description of the money services offered by the business.
3456
+ attr_accessor :money_services_description
3457
+ # Does the business operate in any prohibited countries.
3458
+ attr_accessor :operates_in_prohibited_countries
3459
+ # Indicates whether the business participates in any regulated activity.
3460
+ attr_accessor :participates_in_regulated_activity
3461
+ # Primary purpose of the stored funds.
3462
+ attr_accessor :purpose_of_funds
3463
+ # Description of the purpose of the stored funds.
3464
+ attr_accessor :purpose_of_funds_description
3465
+ # Details of the regulated activity if the business participates in one.
3466
+ attr_accessor :regulated_activity
3467
+ # The source of funds for the business, e.g. profits, income, venture capital, etc.
3468
+ attr_accessor :source_of_funds
3469
+ # Description of the source of funds for the business' account.
3470
+ attr_accessor :source_of_funds_description
3471
+
3472
+ def initialize(
3473
+ applied: nil,
3474
+ capabilities: nil,
3475
+ high_risk_activities: nil,
3476
+ high_risk_activities_description: nil,
3477
+ money_services_description: nil,
3478
+ operates_in_prohibited_countries: nil,
3479
+ participates_in_regulated_activity: nil,
3480
+ purpose_of_funds: nil,
3481
+ purpose_of_funds_description: nil,
3482
+ regulated_activity: nil,
3483
+ source_of_funds: nil,
3484
+ source_of_funds_description: nil
3485
+ )
3486
+ @applied = applied
3487
+ @capabilities = capabilities
3488
+ @high_risk_activities = high_risk_activities
3489
+ @high_risk_activities_description = high_risk_activities_description
3490
+ @money_services_description = money_services_description
3491
+ @operates_in_prohibited_countries = operates_in_prohibited_countries
3492
+ @participates_in_regulated_activity = participates_in_regulated_activity
3493
+ @purpose_of_funds = purpose_of_funds
3494
+ @purpose_of_funds_description = purpose_of_funds_description
3495
+ @regulated_activity = regulated_activity
3496
+ @source_of_funds = source_of_funds
3497
+ @source_of_funds_description = source_of_funds_description
3498
+ end
3499
+ end
3500
+
994
3501
  class Recipient < ::Stripe::RequestParams
995
3502
  class Capabilities < ::Stripe::RequestParams
3503
+ class BankAccounts < ::Stripe::RequestParams
3504
+ class Ach < ::Stripe::RequestParams
3505
+ class Protections < ::Stripe::RequestParams
3506
+ class PspMigration < ::Stripe::RequestParams
3507
+ # To request a protection, pass true.
3508
+ attr_accessor :requested
3509
+
3510
+ def initialize(requested: nil)
3511
+ @requested = requested
3512
+ end
3513
+ end
3514
+ # Parameter to request psp_migration protection.
3515
+ attr_accessor :psp_migration
3516
+
3517
+ def initialize(psp_migration: nil)
3518
+ @psp_migration = psp_migration
3519
+ end
3520
+ end
3521
+ # Protection types to request for this capability (e.g. "psp_migration").
3522
+ attr_accessor :protections
3523
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
3524
+ attr_accessor :requested
3525
+
3526
+ def initialize(protections: nil, requested: nil)
3527
+ @protections = protections
3528
+ @requested = requested
3529
+ end
3530
+ end
3531
+
3532
+ class Becs < ::Stripe::RequestParams
3533
+ class Protections < ::Stripe::RequestParams
3534
+ class PspMigration < ::Stripe::RequestParams
3535
+ # To request a protection, pass true.
3536
+ attr_accessor :requested
3537
+
3538
+ def initialize(requested: nil)
3539
+ @requested = requested
3540
+ end
3541
+ end
3542
+ # Parameter to request psp_migration protection.
3543
+ attr_accessor :psp_migration
3544
+
3545
+ def initialize(psp_migration: nil)
3546
+ @psp_migration = psp_migration
3547
+ end
3548
+ end
3549
+ # Protection types to request for this capability (e.g. "psp_migration").
3550
+ attr_accessor :protections
3551
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
3552
+ attr_accessor :requested
3553
+
3554
+ def initialize(protections: nil, requested: nil)
3555
+ @protections = protections
3556
+ @requested = requested
3557
+ end
3558
+ end
3559
+
3560
+ class Eft < ::Stripe::RequestParams
3561
+ class Protections < ::Stripe::RequestParams
3562
+ class PspMigration < ::Stripe::RequestParams
3563
+ # To request a protection, pass true.
3564
+ attr_accessor :requested
3565
+
3566
+ def initialize(requested: nil)
3567
+ @requested = requested
3568
+ end
3569
+ end
3570
+ # Parameter to request psp_migration protection.
3571
+ attr_accessor :psp_migration
3572
+
3573
+ def initialize(psp_migration: nil)
3574
+ @psp_migration = psp_migration
3575
+ end
3576
+ end
3577
+ # Protection types to request for this capability (e.g. "psp_migration").
3578
+ attr_accessor :protections
3579
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
3580
+ attr_accessor :requested
3581
+
3582
+ def initialize(protections: nil, requested: nil)
3583
+ @protections = protections
3584
+ @requested = requested
3585
+ end
3586
+ end
3587
+
3588
+ class Fedwire < ::Stripe::RequestParams
3589
+ class Protections < ::Stripe::RequestParams
3590
+ class PspMigration < ::Stripe::RequestParams
3591
+ # To request a protection, pass true.
3592
+ attr_accessor :requested
3593
+
3594
+ def initialize(requested: nil)
3595
+ @requested = requested
3596
+ end
3597
+ end
3598
+ # Parameter to request psp_migration protection.
3599
+ attr_accessor :psp_migration
3600
+
3601
+ def initialize(psp_migration: nil)
3602
+ @psp_migration = psp_migration
3603
+ end
3604
+ end
3605
+ # Protection types to request for this capability (e.g. "psp_migration").
3606
+ attr_accessor :protections
3607
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
3608
+ attr_accessor :requested
3609
+
3610
+ def initialize(protections: nil, requested: nil)
3611
+ @protections = protections
3612
+ @requested = requested
3613
+ end
3614
+ end
3615
+
3616
+ class Fps < ::Stripe::RequestParams
3617
+ class Protections < ::Stripe::RequestParams
3618
+ class PspMigration < ::Stripe::RequestParams
3619
+ # To request a protection, pass true.
3620
+ attr_accessor :requested
3621
+
3622
+ def initialize(requested: nil)
3623
+ @requested = requested
3624
+ end
3625
+ end
3626
+ # Parameter to request psp_migration protection.
3627
+ attr_accessor :psp_migration
3628
+
3629
+ def initialize(psp_migration: nil)
3630
+ @psp_migration = psp_migration
3631
+ end
3632
+ end
3633
+ # Protection types to request for this capability (e.g. "psp_migration").
3634
+ attr_accessor :protections
3635
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
3636
+ attr_accessor :requested
3637
+
3638
+ def initialize(protections: nil, requested: nil)
3639
+ @protections = protections
3640
+ @requested = requested
3641
+ end
3642
+ end
3643
+
3644
+ class Instant < ::Stripe::RequestParams
3645
+ class Protections < ::Stripe::RequestParams
3646
+ class PspMigration < ::Stripe::RequestParams
3647
+ # To request a protection, pass true.
3648
+ attr_accessor :requested
3649
+
3650
+ def initialize(requested: nil)
3651
+ @requested = requested
3652
+ end
3653
+ end
3654
+ # Parameter to request psp_migration protection.
3655
+ attr_accessor :psp_migration
3656
+
3657
+ def initialize(psp_migration: nil)
3658
+ @psp_migration = psp_migration
3659
+ end
3660
+ end
3661
+ # Protection types to request for this capability (e.g. "psp_migration").
3662
+ attr_accessor :protections
3663
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
3664
+ attr_accessor :requested
3665
+
3666
+ def initialize(protections: nil, requested: nil)
3667
+ @protections = protections
3668
+ @requested = requested
3669
+ end
3670
+ end
3671
+
3672
+ class Local < ::Stripe::RequestParams
3673
+ class Protections < ::Stripe::RequestParams
3674
+ class PspMigration < ::Stripe::RequestParams
3675
+ # To request a protection, pass true.
3676
+ attr_accessor :requested
3677
+
3678
+ def initialize(requested: nil)
3679
+ @requested = requested
3680
+ end
3681
+ end
3682
+ # Parameter to request psp_migration protection.
3683
+ attr_accessor :psp_migration
3684
+
3685
+ def initialize(psp_migration: nil)
3686
+ @psp_migration = psp_migration
3687
+ end
3688
+ end
3689
+ # Protection types to request for this capability (e.g. "psp_migration").
3690
+ attr_accessor :protections
3691
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
3692
+ attr_accessor :requested
3693
+
3694
+ def initialize(protections: nil, requested: nil)
3695
+ @protections = protections
3696
+ @requested = requested
3697
+ end
3698
+ end
3699
+
3700
+ class Npp < ::Stripe::RequestParams
3701
+ class Protections < ::Stripe::RequestParams
3702
+ class PspMigration < ::Stripe::RequestParams
3703
+ # To request a protection, pass true.
3704
+ attr_accessor :requested
3705
+
3706
+ def initialize(requested: nil)
3707
+ @requested = requested
3708
+ end
3709
+ end
3710
+ # Parameter to request psp_migration protection.
3711
+ attr_accessor :psp_migration
3712
+
3713
+ def initialize(psp_migration: nil)
3714
+ @psp_migration = psp_migration
3715
+ end
3716
+ end
3717
+ # Protection types to request for this capability (e.g. "psp_migration").
3718
+ attr_accessor :protections
3719
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
3720
+ attr_accessor :requested
3721
+
3722
+ def initialize(protections: nil, requested: nil)
3723
+ @protections = protections
3724
+ @requested = requested
3725
+ end
3726
+ end
3727
+
3728
+ class Rtp < ::Stripe::RequestParams
3729
+ class Protections < ::Stripe::RequestParams
3730
+ class PspMigration < ::Stripe::RequestParams
3731
+ # To request a protection, pass true.
3732
+ attr_accessor :requested
3733
+
3734
+ def initialize(requested: nil)
3735
+ @requested = requested
3736
+ end
3737
+ end
3738
+ # Parameter to request psp_migration protection.
3739
+ attr_accessor :psp_migration
3740
+
3741
+ def initialize(psp_migration: nil)
3742
+ @psp_migration = psp_migration
3743
+ end
3744
+ end
3745
+ # Protection types to request for this capability (e.g. "psp_migration").
3746
+ attr_accessor :protections
3747
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
3748
+ attr_accessor :requested
3749
+
3750
+ def initialize(protections: nil, requested: nil)
3751
+ @protections = protections
3752
+ @requested = requested
3753
+ end
3754
+ end
3755
+
3756
+ class SepaCredit < ::Stripe::RequestParams
3757
+ class Protections < ::Stripe::RequestParams
3758
+ class PspMigration < ::Stripe::RequestParams
3759
+ # To request a protection, pass true.
3760
+ attr_accessor :requested
3761
+
3762
+ def initialize(requested: nil)
3763
+ @requested = requested
3764
+ end
3765
+ end
3766
+ # Parameter to request psp_migration protection.
3767
+ attr_accessor :psp_migration
3768
+
3769
+ def initialize(psp_migration: nil)
3770
+ @psp_migration = psp_migration
3771
+ end
3772
+ end
3773
+ # Protection types to request for this capability (e.g. "psp_migration").
3774
+ attr_accessor :protections
3775
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
3776
+ attr_accessor :requested
3777
+
3778
+ def initialize(protections: nil, requested: nil)
3779
+ @protections = protections
3780
+ @requested = requested
3781
+ end
3782
+ end
3783
+
3784
+ class SepaInstant < ::Stripe::RequestParams
3785
+ class Protections < ::Stripe::RequestParams
3786
+ class PspMigration < ::Stripe::RequestParams
3787
+ # To request a protection, pass true.
3788
+ attr_accessor :requested
3789
+
3790
+ def initialize(requested: nil)
3791
+ @requested = requested
3792
+ end
3793
+ end
3794
+ # Parameter to request psp_migration protection.
3795
+ attr_accessor :psp_migration
3796
+
3797
+ def initialize(psp_migration: nil)
3798
+ @psp_migration = psp_migration
3799
+ end
3800
+ end
3801
+ # Protection types to request for this capability (e.g. "psp_migration").
3802
+ attr_accessor :protections
3803
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
3804
+ attr_accessor :requested
3805
+
3806
+ def initialize(protections: nil, requested: nil)
3807
+ @protections = protections
3808
+ @requested = requested
3809
+ end
3810
+ end
3811
+
3812
+ class Swift < ::Stripe::RequestParams
3813
+ class Protections < ::Stripe::RequestParams
3814
+ class PspMigration < ::Stripe::RequestParams
3815
+ # To request a protection, pass true.
3816
+ attr_accessor :requested
3817
+
3818
+ def initialize(requested: nil)
3819
+ @requested = requested
3820
+ end
3821
+ end
3822
+ # Parameter to request psp_migration protection.
3823
+ attr_accessor :psp_migration
3824
+
3825
+ def initialize(psp_migration: nil)
3826
+ @psp_migration = psp_migration
3827
+ end
3828
+ end
3829
+ # Protection types to request for this capability (e.g. "psp_migration").
3830
+ attr_accessor :protections
3831
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
3832
+ attr_accessor :requested
3833
+
3834
+ def initialize(protections: nil, requested: nil)
3835
+ @protections = protections
3836
+ @requested = requested
3837
+ end
3838
+ end
3839
+
3840
+ class Wire < ::Stripe::RequestParams
3841
+ class Protections < ::Stripe::RequestParams
3842
+ class PspMigration < ::Stripe::RequestParams
3843
+ # To request a protection, pass true.
3844
+ attr_accessor :requested
3845
+
3846
+ def initialize(requested: nil)
3847
+ @requested = requested
3848
+ end
3849
+ end
3850
+ # Parameter to request psp_migration protection.
3851
+ attr_accessor :psp_migration
3852
+
3853
+ def initialize(psp_migration: nil)
3854
+ @psp_migration = psp_migration
3855
+ end
3856
+ end
3857
+ # Protection types to request for this capability (e.g. "psp_migration").
3858
+ attr_accessor :protections
3859
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
3860
+ attr_accessor :requested
3861
+
3862
+ def initialize(protections: nil, requested: nil)
3863
+ @protections = protections
3864
+ @requested = requested
3865
+ end
3866
+ end
3867
+ # Enables this Account to receive OutboundPayments to linked bank accounts over ACH rails.
3868
+ attr_accessor :ach
3869
+ # Enables this Account to receive OutboundPayments to linked bank accounts over BECS rails.
3870
+ attr_accessor :becs
3871
+ # Enables this Account to receive OutboundPayments to linked bank accounts over EFT rails.
3872
+ attr_accessor :eft
3873
+ # Enables this Account to receive OutboundPayments to linked bank accounts over Fedwire or CHIPS.
3874
+ attr_accessor :fedwire
3875
+ # Enables this Account to receive OutboundPayments to linked bank accounts over FPS rails.
3876
+ attr_accessor :fps
3877
+ # Enables this Account to receive OutboundPayments to linked bank accounts over real time rails.
3878
+ attr_accessor :instant
3879
+ # Enables this Account to receive OutboundPayments to linked bank accounts over local networks.
3880
+ attr_accessor :local
3881
+ # Enables this Account to receive OutboundPayments to linked bank accounts over NPP (real time) rails.
3882
+ attr_accessor :npp
3883
+ # Enables this Account to receive OutboundPayments to linked bank accounts over RTP rails.
3884
+ attr_accessor :rtp
3885
+ # Enables this Account to receive OutboundPayments to linked bank accounts over SEPA credit rails.
3886
+ attr_accessor :sepa_credit
3887
+ # Enables this Account to receive OutboundPayments to linked bank accounts over SEPA instant (real time) rails.
3888
+ attr_accessor :sepa_instant
3889
+ # Enables this Account to receive OutboundPayments to linked bank accounts over SWIFT.
3890
+ attr_accessor :swift
3891
+ # Enables this Account to receive OutboundPayments to linked bank accounts over wire.
3892
+ attr_accessor :wire
3893
+
3894
+ def initialize(
3895
+ ach: nil,
3896
+ becs: nil,
3897
+ eft: nil,
3898
+ fedwire: nil,
3899
+ fps: nil,
3900
+ instant: nil,
3901
+ local: nil,
3902
+ npp: nil,
3903
+ rtp: nil,
3904
+ sepa_credit: nil,
3905
+ sepa_instant: nil,
3906
+ swift: nil,
3907
+ wire: nil
3908
+ )
3909
+ @ach = ach
3910
+ @becs = becs
3911
+ @eft = eft
3912
+ @fedwire = fedwire
3913
+ @fps = fps
3914
+ @instant = instant
3915
+ @local = local
3916
+ @npp = npp
3917
+ @rtp = rtp
3918
+ @sepa_credit = sepa_credit
3919
+ @sepa_instant = sepa_instant
3920
+ @swift = swift
3921
+ @wire = wire
3922
+ end
3923
+ end
3924
+
3925
+ class Cards < ::Stripe::RequestParams
3926
+ class Protections < ::Stripe::RequestParams
3927
+ class PspMigration < ::Stripe::RequestParams
3928
+ # To request a protection, pass true.
3929
+ attr_accessor :requested
3930
+
3931
+ def initialize(requested: nil)
3932
+ @requested = requested
3933
+ end
3934
+ end
3935
+ # Parameter to request psp_migration protection.
3936
+ attr_accessor :psp_migration
3937
+
3938
+ def initialize(psp_migration: nil)
3939
+ @psp_migration = psp_migration
3940
+ end
3941
+ end
3942
+ # Protection types to request for this capability (e.g. "psp_migration").
3943
+ attr_accessor :protections
3944
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
3945
+ attr_accessor :requested
3946
+
3947
+ def initialize(protections: nil, requested: nil)
3948
+ @protections = protections
3949
+ @requested = requested
3950
+ end
3951
+ end
3952
+
3953
+ class CryptoWallets < ::Stripe::RequestParams
3954
+ class Protections < ::Stripe::RequestParams
3955
+ class PspMigration < ::Stripe::RequestParams
3956
+ # To request a protection, pass true.
3957
+ attr_accessor :requested
3958
+
3959
+ def initialize(requested: nil)
3960
+ @requested = requested
3961
+ end
3962
+ end
3963
+ # Parameter to request psp_migration protection.
3964
+ attr_accessor :psp_migration
3965
+
3966
+ def initialize(psp_migration: nil)
3967
+ @psp_migration = psp_migration
3968
+ end
3969
+ end
3970
+ # Protection types to request for this capability (e.g. "psp_migration").
3971
+ attr_accessor :protections
3972
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
3973
+ attr_accessor :requested
3974
+
3975
+ def initialize(protections: nil, requested: nil)
3976
+ @protections = protections
3977
+ @requested = requested
3978
+ end
3979
+ end
3980
+
3981
+ class PaperChecks < ::Stripe::RequestParams
3982
+ class Protections < ::Stripe::RequestParams
3983
+ class PspMigration < ::Stripe::RequestParams
3984
+ # To request a protection, pass true.
3985
+ attr_accessor :requested
3986
+
3987
+ def initialize(requested: nil)
3988
+ @requested = requested
3989
+ end
3990
+ end
3991
+ # Parameter to request psp_migration protection.
3992
+ attr_accessor :psp_migration
3993
+
3994
+ def initialize(psp_migration: nil)
3995
+ @psp_migration = psp_migration
3996
+ end
3997
+ end
3998
+ # Protection types to request for this capability (e.g. "psp_migration").
3999
+ attr_accessor :protections
4000
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
4001
+ attr_accessor :requested
4002
+
4003
+ def initialize(protections: nil, requested: nil)
4004
+ @protections = protections
4005
+ @requested = requested
4006
+ end
4007
+ end
4008
+
996
4009
  class StripeBalance < ::Stripe::RequestParams
997
4010
  class StripeTransfers < ::Stripe::RequestParams
4011
+ class Protections < ::Stripe::RequestParams
4012
+ class PspMigration < ::Stripe::RequestParams
4013
+ # To request a protection, pass true.
4014
+ attr_accessor :requested
4015
+
4016
+ def initialize(requested: nil)
4017
+ @requested = requested
4018
+ end
4019
+ end
4020
+ # Parameter to request psp_migration protection.
4021
+ attr_accessor :psp_migration
4022
+
4023
+ def initialize(psp_migration: nil)
4024
+ @psp_migration = psp_migration
4025
+ end
4026
+ end
4027
+ # Protection types to request for this capability (e.g. "psp_migration").
4028
+ attr_accessor :protections
998
4029
  # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
999
4030
  attr_accessor :requested
1000
4031
 
1001
- def initialize(requested: nil)
4032
+ def initialize(protections: nil, requested: nil)
4033
+ @protections = protections
1002
4034
  @requested = requested
1003
4035
  end
1004
4036
  end
@@ -1009,10 +4041,28 @@ module Stripe
1009
4041
  @stripe_transfers = stripe_transfers
1010
4042
  end
1011
4043
  end
4044
+ # Capabilities that enable OutboundPayments to a bank account linked to this Account.
4045
+ attr_accessor :bank_accounts
4046
+ # Capability that enable OutboundPayments to a debit card linked to this Account.
4047
+ attr_accessor :cards
4048
+ # Capabilities that enable OutboundPayments to a crypto wallet linked to this Account.
4049
+ attr_accessor :crypto_wallets
4050
+ # Capabilities that enable OutboundPayments via paper check.
4051
+ attr_accessor :paper_checks
1012
4052
  # Capabilities that enable the recipient to manage their Stripe Balance (/v1/balance).
1013
4053
  attr_accessor :stripe_balance
1014
4054
 
1015
- def initialize(stripe_balance: nil)
4055
+ def initialize(
4056
+ bank_accounts: nil,
4057
+ cards: nil,
4058
+ crypto_wallets: nil,
4059
+ paper_checks: nil,
4060
+ stripe_balance: nil
4061
+ )
4062
+ @bank_accounts = bank_accounts
4063
+ @cards = cards
4064
+ @crypto_wallets = crypto_wallets
4065
+ @paper_checks = paper_checks
1016
4066
  @stripe_balance = stripe_balance
1017
4067
  end
1018
4068
  end
@@ -1020,22 +4070,37 @@ module Stripe
1020
4070
  attr_accessor :applied
1021
4071
  # Capabilities to request on the Recipient Configuration.
1022
4072
  attr_accessor :capabilities
4073
+ # The payout method id to be used as a default outbound destination. This will allow the PayoutMethod to be omitted on OutboundPayments made through API or sending payouts via dashboard. Can also be explicitly set to `null` to clear the existing default outbound destination. For further details about creating an Outbound Destination, see [Collect recipient's payment details](https://docs.stripe.com/global-payouts-private-preview/quickstart?dashboard-or-api=api#collect-bank-account-details).
4074
+ attr_accessor :default_outbound_destination
1023
4075
 
1024
- def initialize(applied: nil, capabilities: nil)
4076
+ def initialize(applied: nil, capabilities: nil, default_outbound_destination: nil)
1025
4077
  @applied = applied
1026
4078
  @capabilities = capabilities
4079
+ @default_outbound_destination = default_outbound_destination
1027
4080
  end
1028
4081
  end
4082
+ # The CardCreator Configuration allows the Account to create and issue cards to users.
4083
+ attr_accessor :card_creator
1029
4084
  # The Customer Configuration allows the Account to be charged.
1030
4085
  attr_accessor :customer
1031
4086
  # Enables the Account to act as a connected account and collect payments facilitated by a Connect platform. You must onboard your platform to Connect before you can add this configuration to your connected accounts. Utilize this configuration when the Account will be the Merchant of Record, like with Direct charges or Destination Charges with on_behalf_of set.
1032
4087
  attr_accessor :merchant
4088
+ # The Money Manager Configuration allows the Account to store and move funds using FinancialAccounts.
4089
+ attr_accessor :money_manager
1033
4090
  # The Recipient Configuration allows the Account to receive funds. Utilize this configuration if the Account will not be the Merchant of Record, like with Separate Charges & Transfers, or Destination Charges without on_behalf_of set.
1034
4091
  attr_accessor :recipient
1035
4092
 
1036
- def initialize(customer: nil, merchant: nil, recipient: nil)
4093
+ def initialize(
4094
+ card_creator: nil,
4095
+ customer: nil,
4096
+ merchant: nil,
4097
+ money_manager: nil,
4098
+ recipient: nil
4099
+ )
4100
+ @card_creator = card_creator
1037
4101
  @customer = customer
1038
4102
  @merchant = merchant
4103
+ @money_manager = money_manager
1039
4104
  @recipient = recipient
1040
4105
  end
1041
4106
  end
@@ -1061,10 +4126,13 @@ module Stripe
1061
4126
  attr_accessor :fees_collector
1062
4127
  # A value indicating who is responsible for losses when this Account can’t pay back negative balances from payments.
1063
4128
  attr_accessor :losses_collector
4129
+ # A value indicating the party responsible for collecting requirements on this account.
4130
+ attr_accessor :requirements_collector
1064
4131
 
1065
- def initialize(fees_collector: nil, losses_collector: nil)
4132
+ def initialize(fees_collector: nil, losses_collector: nil, requirements_collector: nil)
1066
4133
  @fees_collector = fees_collector
1067
4134
  @losses_collector = losses_collector
4135
+ @requirements_collector = requirements_collector
1068
4136
  end
1069
4137
  end
1070
4138
  # 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).
@@ -1075,12 +4143,21 @@ module Stripe
1075
4143
  attr_accessor :profile
1076
4144
  # Default responsibilities held by either Stripe or the platform.
1077
4145
  attr_accessor :responsibilities
4146
+ # The Account's local timezone. A list of possible time zone values is maintained at the [IANA Time Zone Database](https://www.iana.org/time-zones).
4147
+ attr_accessor :timezone
1078
4148
 
1079
- def initialize(currency: nil, locales: nil, profile: nil, responsibilities: nil)
4149
+ def initialize(
4150
+ currency: nil,
4151
+ locales: nil,
4152
+ profile: nil,
4153
+ responsibilities: nil,
4154
+ timezone: nil
4155
+ )
1080
4156
  @currency = currency
1081
4157
  @locales = locales
1082
4158
  @profile = profile
1083
4159
  @responsibilities = responsibilities
4160
+ @timezone = timezone
1084
4161
  end
1085
4162
  end
1086
4163
 
@@ -1170,6 +4247,903 @@ module Stripe
1170
4247
  end
1171
4248
  end
1172
4249
 
4250
+ class CardCreator < ::Stripe::RequestParams
4251
+ class Commercial < ::Stripe::RequestParams
4252
+ class AccountHolder < ::Stripe::RequestParams
4253
+ # 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.
4254
+ attr_accessor :date
4255
+ # The IP address from which the Account's representative accepted the terms of service.
4256
+ attr_accessor :ip
4257
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
4258
+ attr_accessor :user_agent
4259
+
4260
+ def initialize(date: nil, ip: nil, user_agent: nil)
4261
+ @date = date
4262
+ @ip = ip
4263
+ @user_agent = user_agent
4264
+ end
4265
+ end
4266
+
4267
+ class Celtic < ::Stripe::RequestParams
4268
+ class ApplePay < ::Stripe::RequestParams
4269
+ # 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.
4270
+ attr_accessor :date
4271
+ # The IP address from which the Account's representative accepted the terms of service.
4272
+ attr_accessor :ip
4273
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
4274
+ attr_accessor :user_agent
4275
+
4276
+ def initialize(date: nil, ip: nil, user_agent: nil)
4277
+ @date = date
4278
+ @ip = ip
4279
+ @user_agent = user_agent
4280
+ end
4281
+ end
4282
+
4283
+ class ChargeCard < ::Stripe::RequestParams
4284
+ class BankTerms < ::Stripe::RequestParams
4285
+ # 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.
4286
+ attr_accessor :date
4287
+ # The IP address from which the Account's representative accepted the terms of service.
4288
+ attr_accessor :ip
4289
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
4290
+ attr_accessor :user_agent
4291
+
4292
+ def initialize(date: nil, ip: nil, user_agent: nil)
4293
+ @date = date
4294
+ @ip = ip
4295
+ @user_agent = user_agent
4296
+ end
4297
+ end
4298
+
4299
+ class Platform < ::Stripe::RequestParams
4300
+ # 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.
4301
+ attr_accessor :date
4302
+ # The IP address from which the Account's representative accepted the terms of service.
4303
+ attr_accessor :ip
4304
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
4305
+ attr_accessor :user_agent
4306
+
4307
+ def initialize(date: nil, ip: nil, user_agent: nil)
4308
+ @date = date
4309
+ @ip = ip
4310
+ @user_agent = user_agent
4311
+ end
4312
+ end
4313
+ # Bank terms of service acceptance for commercial issuing charge cards with Celtic as BIN sponsor.
4314
+ attr_accessor :bank_terms
4315
+ # Platform terms of service acceptance for commercial issuing charge cards with Celtic as BIN sponsor.
4316
+ attr_accessor :platform
4317
+
4318
+ def initialize(bank_terms: nil, platform: nil)
4319
+ @bank_terms = bank_terms
4320
+ @platform = platform
4321
+ end
4322
+ end
4323
+
4324
+ class SpendCard < ::Stripe::RequestParams
4325
+ class BankTerms < ::Stripe::RequestParams
4326
+ # 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.
4327
+ attr_accessor :date
4328
+ # The IP address from which the Account's representative accepted the terms of service.
4329
+ attr_accessor :ip
4330
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
4331
+ attr_accessor :user_agent
4332
+
4333
+ def initialize(date: nil, ip: nil, user_agent: nil)
4334
+ @date = date
4335
+ @ip = ip
4336
+ @user_agent = user_agent
4337
+ end
4338
+ end
4339
+
4340
+ class FinancingDisclosures < ::Stripe::RequestParams
4341
+ # 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.
4342
+ attr_accessor :date
4343
+ # The IP address from which the Account's representative accepted the terms of service.
4344
+ attr_accessor :ip
4345
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
4346
+ attr_accessor :user_agent
4347
+
4348
+ def initialize(date: nil, ip: nil, user_agent: nil)
4349
+ @date = date
4350
+ @ip = ip
4351
+ @user_agent = user_agent
4352
+ end
4353
+ end
4354
+
4355
+ class Platform < ::Stripe::RequestParams
4356
+ # 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.
4357
+ attr_accessor :date
4358
+ # The IP address from which the Account's representative accepted the terms of service.
4359
+ attr_accessor :ip
4360
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
4361
+ attr_accessor :user_agent
4362
+
4363
+ def initialize(date: nil, ip: nil, user_agent: nil)
4364
+ @date = date
4365
+ @ip = ip
4366
+ @user_agent = user_agent
4367
+ end
4368
+ end
4369
+ # Bank terms of service acceptance for commercial issuing spend cards with Celtic as BIN sponsor.
4370
+ attr_accessor :bank_terms
4371
+ # Financial disclosures terms of service acceptance for commercial issuing spend cards with Celtic as BIN sponsor.
4372
+ attr_accessor :financing_disclosures
4373
+ # Platform terms of service acceptance for commercial issuing spend cards with Celtic as BIN sponsor.
4374
+ attr_accessor :platform
4375
+
4376
+ def initialize(bank_terms: nil, financing_disclosures: nil, platform: nil)
4377
+ @bank_terms = bank_terms
4378
+ @financing_disclosures = financing_disclosures
4379
+ @platform = platform
4380
+ end
4381
+ end
4382
+ # Terms of service acceptances for commercial issuing Apple Pay cards with Celtic as BIN sponsor.
4383
+ attr_accessor :apple_pay
4384
+ # Terms of service acceptances for commercial issuing charge cards with Celtic as BIN sponsor.
4385
+ attr_accessor :charge_card
4386
+ # Terms of service acceptances for commercial issuing spend cards with Celtic as BIN sponsor.
4387
+ attr_accessor :spend_card
4388
+
4389
+ def initialize(apple_pay: nil, charge_card: nil, spend_card: nil)
4390
+ @apple_pay = apple_pay
4391
+ @charge_card = charge_card
4392
+ @spend_card = spend_card
4393
+ end
4394
+ end
4395
+
4396
+ class CrossRiverBank < ::Stripe::RequestParams
4397
+ class ApplePay < ::Stripe::RequestParams
4398
+ # 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.
4399
+ attr_accessor :date
4400
+ # The IP address from which the Account's representative accepted the terms of service.
4401
+ attr_accessor :ip
4402
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
4403
+ attr_accessor :user_agent
4404
+
4405
+ def initialize(date: nil, ip: nil, user_agent: nil)
4406
+ @date = date
4407
+ @ip = ip
4408
+ @user_agent = user_agent
4409
+ end
4410
+ end
4411
+
4412
+ class ChargeCard < ::Stripe::RequestParams
4413
+ class BankTerms < ::Stripe::RequestParams
4414
+ # 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.
4415
+ attr_accessor :date
4416
+ # The IP address from which the Account's representative accepted the terms of service.
4417
+ attr_accessor :ip
4418
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
4419
+ attr_accessor :user_agent
4420
+
4421
+ def initialize(date: nil, ip: nil, user_agent: nil)
4422
+ @date = date
4423
+ @ip = ip
4424
+ @user_agent = user_agent
4425
+ end
4426
+ end
4427
+
4428
+ class FinancingDisclosures < ::Stripe::RequestParams
4429
+ # 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.
4430
+ attr_accessor :date
4431
+ # The IP address from which the Account's representative accepted the terms of service.
4432
+ attr_accessor :ip
4433
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
4434
+ attr_accessor :user_agent
4435
+
4436
+ def initialize(date: nil, ip: nil, user_agent: nil)
4437
+ @date = date
4438
+ @ip = ip
4439
+ @user_agent = user_agent
4440
+ end
4441
+ end
4442
+
4443
+ class Platform < ::Stripe::RequestParams
4444
+ # 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.
4445
+ attr_accessor :date
4446
+ # The IP address from which the Account's representative accepted the terms of service.
4447
+ attr_accessor :ip
4448
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
4449
+ attr_accessor :user_agent
4450
+
4451
+ def initialize(date: nil, ip: nil, user_agent: nil)
4452
+ @date = date
4453
+ @ip = ip
4454
+ @user_agent = user_agent
4455
+ end
4456
+ end
4457
+ # Bank terms of service acceptance for commercial issuing charge cards with Cross River Bank as BIN sponsor.
4458
+ attr_accessor :bank_terms
4459
+ # Financial disclosures terms of service acceptance for commercial issuing charge cards with Cross River Bank as BIN sponsor.
4460
+ attr_accessor :financing_disclosures
4461
+ # Platform terms of service acceptance for commercial issuing charge cards with Cross River Bank as BIN sponsor.
4462
+ attr_accessor :platform
4463
+
4464
+ def initialize(bank_terms: nil, financing_disclosures: nil, platform: nil)
4465
+ @bank_terms = bank_terms
4466
+ @financing_disclosures = financing_disclosures
4467
+ @platform = platform
4468
+ end
4469
+ end
4470
+
4471
+ class PrepaidCard < ::Stripe::RequestParams
4472
+ class BankTerms < ::Stripe::RequestParams
4473
+ # 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.
4474
+ attr_accessor :date
4475
+ # The IP address from which the Account's representative accepted the terms of service.
4476
+ attr_accessor :ip
4477
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
4478
+ attr_accessor :user_agent
4479
+
4480
+ def initialize(date: nil, ip: nil, user_agent: nil)
4481
+ @date = date
4482
+ @ip = ip
4483
+ @user_agent = user_agent
4484
+ end
4485
+ end
4486
+
4487
+ class Platform < ::Stripe::RequestParams
4488
+ # 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.
4489
+ attr_accessor :date
4490
+ # The IP address from which the Account's representative accepted the terms of service.
4491
+ attr_accessor :ip
4492
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
4493
+ attr_accessor :user_agent
4494
+
4495
+ def initialize(date: nil, ip: nil, user_agent: nil)
4496
+ @date = date
4497
+ @ip = ip
4498
+ @user_agent = user_agent
4499
+ end
4500
+ end
4501
+ # Bank terms of service acceptance for commercial issuing prepaid cards with Cross River Bank as BIN sponsor.
4502
+ attr_accessor :bank_terms
4503
+ # Platform terms of service acceptance for commercial issuing prepaid cards with Cross River Bank as BIN sponsor.
4504
+ attr_accessor :platform
4505
+
4506
+ def initialize(bank_terms: nil, platform: nil)
4507
+ @bank_terms = bank_terms
4508
+ @platform = platform
4509
+ end
4510
+ end
4511
+
4512
+ class SpendCard < ::Stripe::RequestParams
4513
+ class BankTerms < ::Stripe::RequestParams
4514
+ # 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.
4515
+ attr_accessor :date
4516
+ # The IP address from which the Account's representative accepted the terms of service.
4517
+ attr_accessor :ip
4518
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
4519
+ attr_accessor :user_agent
4520
+
4521
+ def initialize(date: nil, ip: nil, user_agent: nil)
4522
+ @date = date
4523
+ @ip = ip
4524
+ @user_agent = user_agent
4525
+ end
4526
+ end
4527
+
4528
+ class FinancingDisclosures < ::Stripe::RequestParams
4529
+ # 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.
4530
+ attr_accessor :date
4531
+ # The IP address from which the Account's representative accepted the terms of service.
4532
+ attr_accessor :ip
4533
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
4534
+ attr_accessor :user_agent
4535
+
4536
+ def initialize(date: nil, ip: nil, user_agent: nil)
4537
+ @date = date
4538
+ @ip = ip
4539
+ @user_agent = user_agent
4540
+ end
4541
+ end
4542
+ # Bank terms of service acceptance for commercial issuing spend cards with Cross River Bank as BIN sponsor.
4543
+ attr_accessor :bank_terms
4544
+ # Financial disclosures terms of service acceptance for commercial issuing spend cards with Cross River Bank as BIN sponsor.
4545
+ attr_accessor :financing_disclosures
4546
+
4547
+ def initialize(bank_terms: nil, financing_disclosures: nil)
4548
+ @bank_terms = bank_terms
4549
+ @financing_disclosures = financing_disclosures
4550
+ end
4551
+ end
4552
+ # Terms of service acceptances for commercial issuing Apple Pay cards with Cross River Bank as BIN sponsor.
4553
+ attr_accessor :apple_pay
4554
+ # Terms of service acceptances for commercial issuing charge cards with Cross River Bank as BIN sponsor.
4555
+ attr_accessor :charge_card
4556
+ # Terms of service acceptances for commercial issuing prepaid cards with Cross River Bank as BIN sponsor.
4557
+ attr_accessor :prepaid_card
4558
+ # Terms of service acceptances for commercial issuing spend cards with Cross River Bank as BIN sponsor.
4559
+ attr_accessor :spend_card
4560
+
4561
+ def initialize(
4562
+ apple_pay: nil,
4563
+ charge_card: nil,
4564
+ prepaid_card: nil,
4565
+ spend_card: nil
4566
+ )
4567
+ @apple_pay = apple_pay
4568
+ @charge_card = charge_card
4569
+ @prepaid_card = prepaid_card
4570
+ @spend_card = spend_card
4571
+ end
4572
+ end
4573
+
4574
+ class FifthThird < ::Stripe::RequestParams
4575
+ class ApplePay < ::Stripe::RequestParams
4576
+ # 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.
4577
+ attr_accessor :date
4578
+ # The IP address from which the Account's representative accepted the terms of service.
4579
+ attr_accessor :ip
4580
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
4581
+ attr_accessor :user_agent
4582
+
4583
+ def initialize(date: nil, ip: nil, user_agent: nil)
4584
+ @date = date
4585
+ @ip = ip
4586
+ @user_agent = user_agent
4587
+ end
4588
+ end
4589
+
4590
+ class ChargeCard < ::Stripe::RequestParams
4591
+ class BankTerms < ::Stripe::RequestParams
4592
+ # 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.
4593
+ attr_accessor :date
4594
+ # The IP address from which the Account's representative accepted the terms of service.
4595
+ attr_accessor :ip
4596
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
4597
+ attr_accessor :user_agent
4598
+
4599
+ def initialize(date: nil, ip: nil, user_agent: nil)
4600
+ @date = date
4601
+ @ip = ip
4602
+ @user_agent = user_agent
4603
+ end
4604
+ end
4605
+
4606
+ class Platform < ::Stripe::RequestParams
4607
+ # 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.
4608
+ attr_accessor :date
4609
+ # The IP address from which the Account's representative accepted the terms of service.
4610
+ attr_accessor :ip
4611
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
4612
+ attr_accessor :user_agent
4613
+
4614
+ def initialize(date: nil, ip: nil, user_agent: nil)
4615
+ @date = date
4616
+ @ip = ip
4617
+ @user_agent = user_agent
4618
+ end
4619
+ end
4620
+ # Bank terms of service acceptance for commercial issuing charge cards with Fifth Third as BIN sponsor.
4621
+ attr_accessor :bank_terms
4622
+ # Platform terms of service acceptance for commercial issuing charge cards with Fifth Third as BIN sponsor.
4623
+ attr_accessor :platform
4624
+
4625
+ def initialize(bank_terms: nil, platform: nil)
4626
+ @bank_terms = bank_terms
4627
+ @platform = platform
4628
+ end
4629
+ end
4630
+ # Terms of service acceptances for commercial issuing Apple Pay cards with Fifth Third as BIN sponsor.
4631
+ attr_accessor :apple_pay
4632
+ # Terms of service acceptances for commercial issuing charge cards with Fifth Third as BIN sponsor.
4633
+ attr_accessor :charge_card
4634
+
4635
+ def initialize(apple_pay: nil, charge_card: nil)
4636
+ @apple_pay = apple_pay
4637
+ @charge_card = charge_card
4638
+ end
4639
+ end
4640
+
4641
+ class GlobalAccountHolder < ::Stripe::RequestParams
4642
+ # 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.
4643
+ attr_accessor :date
4644
+ # The IP address from which the Account's representative accepted the terms of service.
4645
+ attr_accessor :ip
4646
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
4647
+ attr_accessor :user_agent
4648
+
4649
+ def initialize(date: nil, ip: nil, user_agent: nil)
4650
+ @date = date
4651
+ @ip = ip
4652
+ @user_agent = user_agent
4653
+ end
4654
+ end
4655
+
4656
+ class Lead < ::Stripe::RequestParams
4657
+ class ApplePay < ::Stripe::RequestParams
4658
+ # 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.
4659
+ attr_accessor :date
4660
+ # The IP address from which the Account's representative accepted the terms of service.
4661
+ attr_accessor :ip
4662
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
4663
+ attr_accessor :user_agent
4664
+
4665
+ def initialize(date: nil, ip: nil, user_agent: nil)
4666
+ @date = date
4667
+ @ip = ip
4668
+ @user_agent = user_agent
4669
+ end
4670
+ end
4671
+
4672
+ class PrepaidCard < ::Stripe::RequestParams
4673
+ class BankTerms < ::Stripe::RequestParams
4674
+ # 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.
4675
+ attr_accessor :date
4676
+ # The IP address from which the Account's representative accepted the terms of service.
4677
+ attr_accessor :ip
4678
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
4679
+ attr_accessor :user_agent
4680
+
4681
+ def initialize(date: nil, ip: nil, user_agent: nil)
4682
+ @date = date
4683
+ @ip = ip
4684
+ @user_agent = user_agent
4685
+ end
4686
+ end
4687
+
4688
+ class Platform < ::Stripe::RequestParams
4689
+ # 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.
4690
+ attr_accessor :date
4691
+ # The IP address from which the Account's representative accepted the terms of service.
4692
+ attr_accessor :ip
4693
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
4694
+ attr_accessor :user_agent
4695
+
4696
+ def initialize(date: nil, ip: nil, user_agent: nil)
4697
+ @date = date
4698
+ @ip = ip
4699
+ @user_agent = user_agent
4700
+ end
4701
+ end
4702
+ # Bank terms of service acceptance for commercial issuing prepaid cards with Lead as BIN sponsor.
4703
+ attr_accessor :bank_terms
4704
+ # Platform terms of service acceptance for commercial issuing prepaid cards with Lead as BIN sponsor.
4705
+ attr_accessor :platform
4706
+
4707
+ def initialize(bank_terms: nil, platform: nil)
4708
+ @bank_terms = bank_terms
4709
+ @platform = platform
4710
+ end
4711
+ end
4712
+ # Terms of service acceptances for commercial issuing Apple Pay cards with Lead as BIN sponsor.
4713
+ attr_accessor :apple_pay
4714
+ # Terms of service acceptances for commercial issuing prepaid cards with Lead as BIN sponsor.
4715
+ attr_accessor :prepaid_card
4716
+
4717
+ def initialize(apple_pay: nil, prepaid_card: nil)
4718
+ @apple_pay = apple_pay
4719
+ @prepaid_card = prepaid_card
4720
+ end
4721
+ end
4722
+ # Terms of service acceptances for Stripe commercial card issuing.
4723
+ attr_accessor :account_holder
4724
+ # Terms of service acceptances for commercial issuing cards with Celtic as BIN sponsor.
4725
+ attr_accessor :celtic
4726
+ # Terms of service acceptances for commercial issuing cards with Cross River Bank as BIN sponsor.
4727
+ attr_accessor :cross_river_bank
4728
+ # Terms of service acceptances for commercial issuing cards with Fifth Third as BIN sponsor.
4729
+ attr_accessor :fifth_third
4730
+ # Terms of service acceptances for Stripe commercial card Global issuing.
4731
+ attr_accessor :global_account_holder
4732
+ # Terms of service acceptances for commercial issuing cards with Lead as BIN sponsor.
4733
+ attr_accessor :lead
4734
+
4735
+ def initialize(
4736
+ account_holder: nil,
4737
+ celtic: nil,
4738
+ cross_river_bank: nil,
4739
+ fifth_third: nil,
4740
+ global_account_holder: nil,
4741
+ lead: nil
4742
+ )
4743
+ @account_holder = account_holder
4744
+ @celtic = celtic
4745
+ @cross_river_bank = cross_river_bank
4746
+ @fifth_third = fifth_third
4747
+ @global_account_holder = global_account_holder
4748
+ @lead = lead
4749
+ end
4750
+ end
4751
+
4752
+ class Consumer < ::Stripe::RequestParams
4753
+ class AccountHolder < ::Stripe::RequestParams
4754
+ # 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.
4755
+ attr_accessor :date
4756
+ # The IP address from which the Account's representative accepted the terms of service.
4757
+ attr_accessor :ip
4758
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
4759
+ attr_accessor :user_agent
4760
+
4761
+ def initialize(date: nil, ip: nil, user_agent: nil)
4762
+ @date = date
4763
+ @ip = ip
4764
+ @user_agent = user_agent
4765
+ end
4766
+ end
4767
+
4768
+ class Celtic < ::Stripe::RequestParams
4769
+ class ApplePay < ::Stripe::RequestParams
4770
+ # 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.
4771
+ attr_accessor :date
4772
+ # The IP address from which the Account's representative accepted the terms of service.
4773
+ attr_accessor :ip
4774
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
4775
+ attr_accessor :user_agent
4776
+
4777
+ def initialize(date: nil, ip: nil, user_agent: nil)
4778
+ @date = date
4779
+ @ip = ip
4780
+ @user_agent = user_agent
4781
+ end
4782
+ end
4783
+
4784
+ class RevolvingCreditCard < ::Stripe::RequestParams
4785
+ class BankTerms < ::Stripe::RequestParams
4786
+ # 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.
4787
+ attr_accessor :date
4788
+ # The IP address from which the Account's representative accepted the terms of service.
4789
+ attr_accessor :ip
4790
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
4791
+ attr_accessor :user_agent
4792
+
4793
+ def initialize(date: nil, ip: nil, user_agent: nil)
4794
+ @date = date
4795
+ @ip = ip
4796
+ @user_agent = user_agent
4797
+ end
4798
+ end
4799
+
4800
+ class FinancingDisclosures < ::Stripe::RequestParams
4801
+ # 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.
4802
+ attr_accessor :date
4803
+ # The IP address from which the Account's representative accepted the terms of service.
4804
+ attr_accessor :ip
4805
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
4806
+ attr_accessor :user_agent
4807
+
4808
+ def initialize(date: nil, ip: nil, user_agent: nil)
4809
+ @date = date
4810
+ @ip = ip
4811
+ @user_agent = user_agent
4812
+ end
4813
+ end
4814
+
4815
+ class Platform < ::Stripe::RequestParams
4816
+ # 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.
4817
+ attr_accessor :date
4818
+ # The IP address from which the Account's representative accepted the terms of service.
4819
+ attr_accessor :ip
4820
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
4821
+ attr_accessor :user_agent
4822
+
4823
+ def initialize(date: nil, ip: nil, user_agent: nil)
4824
+ @date = date
4825
+ @ip = ip
4826
+ @user_agent = user_agent
4827
+ end
4828
+ end
4829
+ # Bank terms of service acceptance for consumer issuing spend cards with Celtic as BIN sponsor.
4830
+ attr_accessor :bank_terms
4831
+ # Financial disclosures terms of service acceptance for consumer issuing spend cards with Celtic as BIN sponsor.
4832
+ attr_accessor :financing_disclosures
4833
+ # Platform terms of service acceptance for consumer issuing spend cards with Celtic as BIN sponsor.
4834
+ attr_accessor :platform
4835
+
4836
+ def initialize(bank_terms: nil, financing_disclosures: nil, platform: nil)
4837
+ @bank_terms = bank_terms
4838
+ @financing_disclosures = financing_disclosures
4839
+ @platform = platform
4840
+ end
4841
+ end
4842
+ # Terms of service acceptances for consumer issuing Apple Pay cards with Celtic as BIN sponsor.
4843
+ attr_accessor :apple_pay
4844
+ # Terms of service acceptances for consumer issuing revolving credit cards with Celtic as BIN sponsor.
4845
+ attr_accessor :revolving_credit_card
4846
+
4847
+ def initialize(apple_pay: nil, revolving_credit_card: nil)
4848
+ @apple_pay = apple_pay
4849
+ @revolving_credit_card = revolving_credit_card
4850
+ end
4851
+ end
4852
+
4853
+ class CrossRiverBank < ::Stripe::RequestParams
4854
+ class PrepaidCard < ::Stripe::RequestParams
4855
+ class BankTerms < ::Stripe::RequestParams
4856
+ # 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.
4857
+ attr_accessor :date
4858
+ # The IP address from which the Account's representative accepted the terms of service.
4859
+ attr_accessor :ip
4860
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
4861
+ attr_accessor :user_agent
4862
+
4863
+ def initialize(date: nil, ip: nil, user_agent: nil)
4864
+ @date = date
4865
+ @ip = ip
4866
+ @user_agent = user_agent
4867
+ end
4868
+ end
4869
+
4870
+ class FinancingDisclosures < ::Stripe::RequestParams
4871
+ # 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.
4872
+ attr_accessor :date
4873
+ # The IP address from which the Account's representative accepted the terms of service.
4874
+ attr_accessor :ip
4875
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
4876
+ attr_accessor :user_agent
4877
+
4878
+ def initialize(date: nil, ip: nil, user_agent: nil)
4879
+ @date = date
4880
+ @ip = ip
4881
+ @user_agent = user_agent
4882
+ end
4883
+ end
4884
+
4885
+ class Platform < ::Stripe::RequestParams
4886
+ # 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.
4887
+ attr_accessor :date
4888
+ # The IP address from which the Account's representative accepted the terms of service.
4889
+ attr_accessor :ip
4890
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
4891
+ attr_accessor :user_agent
4892
+
4893
+ def initialize(date: nil, ip: nil, user_agent: nil)
4894
+ @date = date
4895
+ @ip = ip
4896
+ @user_agent = user_agent
4897
+ end
4898
+ end
4899
+ # Bank terms of service acceptance for consumer issuing prepaid cards with Cross River Bank as BIN sponsor.
4900
+ attr_accessor :bank_terms
4901
+ # Financial disclosures terms of service acceptance for consumer issuing prepaid cards with Cross River Bank as BIN sponsor.
4902
+ attr_accessor :financing_disclosures
4903
+ # Platform terms of service acceptance for consumer issuing prepaid cards with Cross River Bank as BIN sponsor.
4904
+ attr_accessor :platform
4905
+
4906
+ def initialize(bank_terms: nil, financing_disclosures: nil, platform: nil)
4907
+ @bank_terms = bank_terms
4908
+ @financing_disclosures = financing_disclosures
4909
+ @platform = platform
4910
+ end
4911
+ end
4912
+ # Terms of service acceptances for consumer issuing prepaid cards with Cross River Bank as BIN sponsor.
4913
+ attr_accessor :prepaid_card
4914
+
4915
+ def initialize(prepaid_card: nil)
4916
+ @prepaid_card = prepaid_card
4917
+ end
4918
+ end
4919
+
4920
+ class GlobalAccountHolder < ::Stripe::RequestParams
4921
+ # 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.
4922
+ attr_accessor :date
4923
+ # The IP address from which the Account's representative accepted the terms of service.
4924
+ attr_accessor :ip
4925
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
4926
+ attr_accessor :user_agent
4927
+
4928
+ def initialize(date: nil, ip: nil, user_agent: nil)
4929
+ @date = date
4930
+ @ip = ip
4931
+ @user_agent = user_agent
4932
+ end
4933
+ end
4934
+
4935
+ class Lead < ::Stripe::RequestParams
4936
+ class ApplePay < ::Stripe::RequestParams
4937
+ # 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.
4938
+ attr_accessor :date
4939
+ # The IP address from which the Account's representative accepted the terms of service.
4940
+ attr_accessor :ip
4941
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
4942
+ attr_accessor :user_agent
4943
+
4944
+ def initialize(date: nil, ip: nil, user_agent: nil)
4945
+ @date = date
4946
+ @ip = ip
4947
+ @user_agent = user_agent
4948
+ end
4949
+ end
4950
+
4951
+ class DebitCard < ::Stripe::RequestParams
4952
+ class BankTerms < ::Stripe::RequestParams
4953
+ # 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.
4954
+ attr_accessor :date
4955
+ # The IP address from which the Account's representative accepted the terms of service.
4956
+ attr_accessor :ip
4957
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
4958
+ attr_accessor :user_agent
4959
+
4960
+ def initialize(date: nil, ip: nil, user_agent: nil)
4961
+ @date = date
4962
+ @ip = ip
4963
+ @user_agent = user_agent
4964
+ end
4965
+ end
4966
+
4967
+ class FinancingDisclosures < ::Stripe::RequestParams
4968
+ # 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.
4969
+ attr_accessor :date
4970
+ # The IP address from which the Account's representative accepted the terms of service.
4971
+ attr_accessor :ip
4972
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
4973
+ attr_accessor :user_agent
4974
+
4975
+ def initialize(date: nil, ip: nil, user_agent: nil)
4976
+ @date = date
4977
+ @ip = ip
4978
+ @user_agent = user_agent
4979
+ end
4980
+ end
4981
+
4982
+ class Platform < ::Stripe::RequestParams
4983
+ # 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.
4984
+ attr_accessor :date
4985
+ # The IP address from which the Account's representative accepted the terms of service.
4986
+ attr_accessor :ip
4987
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
4988
+ attr_accessor :user_agent
4989
+
4990
+ def initialize(date: nil, ip: nil, user_agent: nil)
4991
+ @date = date
4992
+ @ip = ip
4993
+ @user_agent = user_agent
4994
+ end
4995
+ end
4996
+ # Bank terms of service acceptance for consumer issuing debit cards with Lead as BIN sponsor.
4997
+ attr_accessor :bank_terms
4998
+ # Financial disclosures terms of service acceptance for consumer issuing debit cards with Lead as BIN sponsor.
4999
+ attr_accessor :financing_disclosures
5000
+ # Platform terms of service acceptance for consumer issuing debit cards with Lead as BIN sponsor.
5001
+ attr_accessor :platform
5002
+
5003
+ def initialize(bank_terms: nil, financing_disclosures: nil, platform: nil)
5004
+ @bank_terms = bank_terms
5005
+ @financing_disclosures = financing_disclosures
5006
+ @platform = platform
5007
+ end
5008
+ end
5009
+
5010
+ class PrepaidCard < ::Stripe::RequestParams
5011
+ class BankTerms < ::Stripe::RequestParams
5012
+ # 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.
5013
+ attr_accessor :date
5014
+ # The IP address from which the Account's representative accepted the terms of service.
5015
+ attr_accessor :ip
5016
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
5017
+ attr_accessor :user_agent
5018
+
5019
+ def initialize(date: nil, ip: nil, user_agent: nil)
5020
+ @date = date
5021
+ @ip = ip
5022
+ @user_agent = user_agent
5023
+ end
5024
+ end
5025
+
5026
+ class FinancingDisclosures < ::Stripe::RequestParams
5027
+ # 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.
5028
+ attr_accessor :date
5029
+ # The IP address from which the Account's representative accepted the terms of service.
5030
+ attr_accessor :ip
5031
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
5032
+ attr_accessor :user_agent
5033
+
5034
+ def initialize(date: nil, ip: nil, user_agent: nil)
5035
+ @date = date
5036
+ @ip = ip
5037
+ @user_agent = user_agent
5038
+ end
5039
+ end
5040
+
5041
+ class Platform < ::Stripe::RequestParams
5042
+ # 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.
5043
+ attr_accessor :date
5044
+ # The IP address from which the Account's representative accepted the terms of service.
5045
+ attr_accessor :ip
5046
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
5047
+ attr_accessor :user_agent
5048
+
5049
+ def initialize(date: nil, ip: nil, user_agent: nil)
5050
+ @date = date
5051
+ @ip = ip
5052
+ @user_agent = user_agent
5053
+ end
5054
+ end
5055
+ # Bank terms of service acceptance for consumer issuing prepaid cards with Lead as BIN sponsor.
5056
+ attr_accessor :bank_terms
5057
+ # Financial disclosures terms of service acceptance for consumer issuing prepaid cards with Lead as BIN sponsor.
5058
+ attr_accessor :financing_disclosures
5059
+ # Platform terms of service acceptance for consumer issuing prepaid cards with Lead as BIN sponsor.
5060
+ attr_accessor :platform
5061
+
5062
+ def initialize(bank_terms: nil, financing_disclosures: nil, platform: nil)
5063
+ @bank_terms = bank_terms
5064
+ @financing_disclosures = financing_disclosures
5065
+ @platform = platform
5066
+ end
5067
+ end
5068
+ # Terms of service acceptances for consumer issuing Apple Pay cards with Lead as BIN sponsor.
5069
+ attr_accessor :apple_pay
5070
+ # Terms of service acceptances for consumer issuing debit cards with Lead as BIN sponsor.
5071
+ attr_accessor :debit_card
5072
+ # Terms of service acceptances for consumer issuing prepaid cards with Lead as BIN sponsor.
5073
+ attr_accessor :prepaid_card
5074
+
5075
+ def initialize(apple_pay: nil, debit_card: nil, prepaid_card: nil)
5076
+ @apple_pay = apple_pay
5077
+ @debit_card = debit_card
5078
+ @prepaid_card = prepaid_card
5079
+ end
5080
+ end
5081
+ # Terms of service acceptances for Stripe consumer card issuing.
5082
+ attr_accessor :account_holder
5083
+ # Terms of service acceptances for consumer issuing cards with Celtic as BIN sponsor.
5084
+ attr_accessor :celtic
5085
+ # Terms of service acceptances for consumer issuing cards with Cross River Bank as BIN sponsor.
5086
+ attr_accessor :cross_river_bank
5087
+ # Terms of service acceptances for Stripe consumer card Global issuing.
5088
+ attr_accessor :global_account_holder
5089
+ # Terms of service acceptances for consumer issuing cards with Lead as BIN sponsor.
5090
+ attr_accessor :lead
5091
+
5092
+ def initialize(
5093
+ account_holder: nil,
5094
+ celtic: nil,
5095
+ cross_river_bank: nil,
5096
+ global_account_holder: nil,
5097
+ lead: nil
5098
+ )
5099
+ @account_holder = account_holder
5100
+ @celtic = celtic
5101
+ @cross_river_bank = cross_river_bank
5102
+ @global_account_holder = global_account_holder
5103
+ @lead = lead
5104
+ end
5105
+ end
5106
+ # Terms of service acceptances to create cards for commercial issuing use cases.
5107
+ attr_accessor :commercial
5108
+ # Terms of service acceptances to create cards for consumer issuing use cases.
5109
+ attr_accessor :consumer
5110
+
5111
+ def initialize(commercial: nil, consumer: nil)
5112
+ @commercial = commercial
5113
+ @consumer = consumer
5114
+ end
5115
+ end
5116
+
5117
+ class ConsumerMoneyManager < ::Stripe::RequestParams
5118
+ # 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.
5119
+ attr_accessor :date
5120
+ # The IP address from which the Account's representative accepted the terms of service.
5121
+ attr_accessor :ip
5122
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
5123
+ attr_accessor :user_agent
5124
+
5125
+ def initialize(date: nil, ip: nil, user_agent: nil)
5126
+ @date = date
5127
+ @ip = ip
5128
+ @user_agent = user_agent
5129
+ end
5130
+ end
5131
+
5132
+ class ConsumerPrivacyDisclosures < ::Stripe::RequestParams
5133
+ # 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.
5134
+ attr_accessor :date
5135
+ # The IP address from which the Account's representative accepted the terms of service.
5136
+ attr_accessor :ip
5137
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
5138
+ attr_accessor :user_agent
5139
+
5140
+ def initialize(date: nil, ip: nil, user_agent: nil)
5141
+ @date = date
5142
+ @ip = ip
5143
+ @user_agent = user_agent
5144
+ end
5145
+ end
5146
+
1173
5147
  class CryptoMoneyManager < ::Stripe::RequestParams
1174
5148
  # 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.
1175
5149
  attr_accessor :date
@@ -1201,13 +5175,29 @@ module Stripe
1201
5175
  end
1202
5176
  # Details on the Account's acceptance of the [Stripe Services Agreement](https://docs.stripe.com/connect/updating-accounts#tos-acceptance).
1203
5177
  attr_accessor :account
5178
+ # Details on the Account's acceptance of Issuing-specific terms of service.
5179
+ attr_accessor :card_creator
5180
+ # Details on the Account's acceptance of Consumer-specific terms of service.
5181
+ attr_accessor :consumer_money_manager
5182
+ # Details on the Account's acceptance of Consumer-privacy-disclosures-specific terms of service.
5183
+ attr_accessor :consumer_privacy_disclosures
1204
5184
  # Details on the Account's acceptance of Crypto-specific terms of service.
1205
5185
  attr_accessor :crypto_money_manager
1206
5186
  # Details on the Account's acceptance of Treasury-specific terms of service.
1207
5187
  attr_accessor :money_manager
1208
5188
 
1209
- def initialize(account: nil, crypto_money_manager: nil, money_manager: nil)
5189
+ def initialize(
5190
+ account: nil,
5191
+ card_creator: nil,
5192
+ consumer_money_manager: nil,
5193
+ consumer_privacy_disclosures: nil,
5194
+ crypto_money_manager: nil,
5195
+ money_manager: nil
5196
+ )
1210
5197
  @account = account
5198
+ @card_creator = card_creator
5199
+ @consumer_money_manager = consumer_money_manager
5200
+ @consumer_privacy_disclosures = consumer_privacy_disclosures
1211
5201
  @crypto_money_manager = crypto_money_manager
1212
5202
  @money_manager = money_manager
1213
5203
  end
@@ -1678,6 +5668,8 @@ module Stripe
1678
5668
  attr_accessor :address
1679
5669
  # The business gross annual revenue for its preceding fiscal year.
1680
5670
  attr_accessor :annual_revenue
5671
+ # A detailed description of the business's compliance and anti-money laundering controls and practices.
5672
+ attr_accessor :compliance_screening_description
1681
5673
  # A document verifying the business.
1682
5674
  attr_accessor :documents
1683
5675
  # Estimated maximum number of workers currently engaged by the business (including employees, contractors, and vendors).
@@ -1703,6 +5695,7 @@ module Stripe
1703
5695
  additional_addresses: nil,
1704
5696
  address: nil,
1705
5697
  annual_revenue: nil,
5698
+ compliance_screening_description: nil,
1706
5699
  documents: nil,
1707
5700
  estimated_worker_count: nil,
1708
5701
  id_numbers: nil,
@@ -1717,6 +5710,7 @@ module Stripe
1717
5710
  @additional_addresses = additional_addresses
1718
5711
  @address = address
1719
5712
  @annual_revenue = annual_revenue
5713
+ @compliance_screening_description = compliance_screening_description
1720
5714
  @documents = documents
1721
5715
  @estimated_worker_count = estimated_worker_count
1722
5716
  @id_numbers = id_numbers