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