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,18 +6,531 @@ module Stripe
6
6
  module Core
7
7
  class AccountUpdateParams < ::Stripe::RequestParams
8
8
  class Configuration < ::Stripe::RequestParams
9
+ class CardCreator < ::Stripe::RequestParams
10
+ class Capabilities < ::Stripe::RequestParams
11
+ class Commercial < ::Stripe::RequestParams
12
+ class Celtic < ::Stripe::RequestParams
13
+ class ChargeCard < ::Stripe::RequestParams
14
+ class Protections < ::Stripe::RequestParams
15
+ class PspMigration < ::Stripe::RequestParams
16
+ # To request a protection, pass true.
17
+ attr_accessor :requested
18
+
19
+ def initialize(requested: nil)
20
+ @requested = requested
21
+ end
22
+ end
23
+ # Parameter to request psp_migration protection.
24
+ attr_accessor :psp_migration
25
+
26
+ def initialize(psp_migration: nil)
27
+ @psp_migration = psp_migration
28
+ end
29
+ end
30
+ # Protection types to request for this capability (e.g. "psp_migration").
31
+ attr_accessor :protections
32
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
33
+ attr_accessor :requested
34
+
35
+ def initialize(protections: nil, requested: nil)
36
+ @protections = protections
37
+ @requested = requested
38
+ end
39
+ end
40
+
41
+ class SpendCard < ::Stripe::RequestParams
42
+ class Protections < ::Stripe::RequestParams
43
+ class PspMigration < ::Stripe::RequestParams
44
+ # To request a protection, pass true.
45
+ attr_accessor :requested
46
+
47
+ def initialize(requested: nil)
48
+ @requested = requested
49
+ end
50
+ end
51
+ # Parameter to request psp_migration protection.
52
+ attr_accessor :psp_migration
53
+
54
+ def initialize(psp_migration: nil)
55
+ @psp_migration = psp_migration
56
+ end
57
+ end
58
+ # Protection types to request for this capability (e.g. "psp_migration").
59
+ attr_accessor :protections
60
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
61
+ attr_accessor :requested
62
+
63
+ def initialize(protections: nil, requested: nil)
64
+ @protections = protections
65
+ @requested = requested
66
+ end
67
+ end
68
+ # Can create commercial issuing charge cards with Celtic as BIN sponsor.
69
+ attr_accessor :charge_card
70
+ # Can create commercial issuing spend cards with Celtic as BIN sponsor.
71
+ attr_accessor :spend_card
72
+
73
+ def initialize(charge_card: nil, spend_card: nil)
74
+ @charge_card = charge_card
75
+ @spend_card = spend_card
76
+ end
77
+ end
78
+
79
+ class CrossRiverBank < ::Stripe::RequestParams
80
+ class ChargeCard < ::Stripe::RequestParams
81
+ class Protections < ::Stripe::RequestParams
82
+ class PspMigration < ::Stripe::RequestParams
83
+ # To request a protection, pass true.
84
+ attr_accessor :requested
85
+
86
+ def initialize(requested: nil)
87
+ @requested = requested
88
+ end
89
+ end
90
+ # Parameter to request psp_migration protection.
91
+ attr_accessor :psp_migration
92
+
93
+ def initialize(psp_migration: nil)
94
+ @psp_migration = psp_migration
95
+ end
96
+ end
97
+ # Protection types to request for this capability (e.g. "psp_migration").
98
+ attr_accessor :protections
99
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
100
+ attr_accessor :requested
101
+
102
+ def initialize(protections: nil, requested: nil)
103
+ @protections = protections
104
+ @requested = requested
105
+ end
106
+ end
107
+
108
+ class PrepaidCard < ::Stripe::RequestParams
109
+ class Protections < ::Stripe::RequestParams
110
+ class PspMigration < ::Stripe::RequestParams
111
+ # To request a protection, pass true.
112
+ attr_accessor :requested
113
+
114
+ def initialize(requested: nil)
115
+ @requested = requested
116
+ end
117
+ end
118
+ # Parameter to request psp_migration protection.
119
+ attr_accessor :psp_migration
120
+
121
+ def initialize(psp_migration: nil)
122
+ @psp_migration = psp_migration
123
+ end
124
+ end
125
+ # Protection types to request for this capability (e.g. "psp_migration").
126
+ attr_accessor :protections
127
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
128
+ attr_accessor :requested
129
+
130
+ def initialize(protections: nil, requested: nil)
131
+ @protections = protections
132
+ @requested = requested
133
+ end
134
+ end
135
+
136
+ class SpendCard < ::Stripe::RequestParams
137
+ class Protections < ::Stripe::RequestParams
138
+ class PspMigration < ::Stripe::RequestParams
139
+ # To request a protection, pass true.
140
+ attr_accessor :requested
141
+
142
+ def initialize(requested: nil)
143
+ @requested = requested
144
+ end
145
+ end
146
+ # Parameter to request psp_migration protection.
147
+ attr_accessor :psp_migration
148
+
149
+ def initialize(psp_migration: nil)
150
+ @psp_migration = psp_migration
151
+ end
152
+ end
153
+ # Protection types to request for this capability (e.g. "psp_migration").
154
+ attr_accessor :protections
155
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
156
+ attr_accessor :requested
157
+
158
+ def initialize(protections: nil, requested: nil)
159
+ @protections = protections
160
+ @requested = requested
161
+ end
162
+ end
163
+ # Can create commercial issuing charge cards with Cross River Bank as BIN sponsor.
164
+ attr_accessor :charge_card
165
+ # Can create commercial issuing prepaid cards with Cross River Bank as BIN sponsor.
166
+ attr_accessor :prepaid_card
167
+ # Can create commercial issuing spend cards with Cross River Bank as BIN sponsor.
168
+ attr_accessor :spend_card
169
+
170
+ def initialize(charge_card: nil, prepaid_card: nil, spend_card: nil)
171
+ @charge_card = charge_card
172
+ @prepaid_card = prepaid_card
173
+ @spend_card = spend_card
174
+ end
175
+ end
176
+
177
+ class FifthThird < ::Stripe::RequestParams
178
+ class ChargeCard < ::Stripe::RequestParams
179
+ class Protections < ::Stripe::RequestParams
180
+ class PspMigration < ::Stripe::RequestParams
181
+ # To request a protection, pass true.
182
+ attr_accessor :requested
183
+
184
+ def initialize(requested: nil)
185
+ @requested = requested
186
+ end
187
+ end
188
+ # Parameter to request psp_migration protection.
189
+ attr_accessor :psp_migration
190
+
191
+ def initialize(psp_migration: nil)
192
+ @psp_migration = psp_migration
193
+ end
194
+ end
195
+ # Protection types to request for this capability (e.g. "psp_migration").
196
+ attr_accessor :protections
197
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
198
+ attr_accessor :requested
199
+
200
+ def initialize(protections: nil, requested: nil)
201
+ @protections = protections
202
+ @requested = requested
203
+ end
204
+ end
205
+ # Can create commercial issuing charge cards with Fifth Third as BIN sponsor.
206
+ attr_accessor :charge_card
207
+
208
+ def initialize(charge_card: nil)
209
+ @charge_card = charge_card
210
+ end
211
+ end
212
+
213
+ class Lead < ::Stripe::RequestParams
214
+ class PrepaidCard < ::Stripe::RequestParams
215
+ class Protections < ::Stripe::RequestParams
216
+ class PspMigration < ::Stripe::RequestParams
217
+ # To request a protection, pass true.
218
+ attr_accessor :requested
219
+
220
+ def initialize(requested: nil)
221
+ @requested = requested
222
+ end
223
+ end
224
+ # Parameter to request psp_migration protection.
225
+ attr_accessor :psp_migration
226
+
227
+ def initialize(psp_migration: nil)
228
+ @psp_migration = psp_migration
229
+ end
230
+ end
231
+ # Protection types to request for this capability (e.g. "psp_migration").
232
+ attr_accessor :protections
233
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
234
+ attr_accessor :requested
235
+
236
+ def initialize(protections: nil, requested: nil)
237
+ @protections = protections
238
+ @requested = requested
239
+ end
240
+ end
241
+ # Can create commercial issuing prepaid cards with Lead as BIN sponsor.
242
+ attr_accessor :prepaid_card
243
+
244
+ def initialize(prepaid_card: nil)
245
+ @prepaid_card = prepaid_card
246
+ end
247
+ end
248
+
249
+ class Stripe < ::Stripe::RequestParams
250
+ class ChargeCard < ::Stripe::RequestParams
251
+ class Protections < ::Stripe::RequestParams
252
+ class PspMigration < ::Stripe::RequestParams
253
+ # To request a protection, pass true.
254
+ attr_accessor :requested
255
+
256
+ def initialize(requested: nil)
257
+ @requested = requested
258
+ end
259
+ end
260
+ # Parameter to request psp_migration protection.
261
+ attr_accessor :psp_migration
262
+
263
+ def initialize(psp_migration: nil)
264
+ @psp_migration = psp_migration
265
+ end
266
+ end
267
+ # Protection types to request for this capability (e.g. "psp_migration").
268
+ attr_accessor :protections
269
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
270
+ attr_accessor :requested
271
+
272
+ def initialize(protections: nil, requested: nil)
273
+ @protections = protections
274
+ @requested = requested
275
+ end
276
+ end
277
+
278
+ class PrepaidCard < ::Stripe::RequestParams
279
+ class Protections < ::Stripe::RequestParams
280
+ class PspMigration < ::Stripe::RequestParams
281
+ # To request a protection, pass true.
282
+ attr_accessor :requested
283
+
284
+ def initialize(requested: nil)
285
+ @requested = requested
286
+ end
287
+ end
288
+ # Parameter to request psp_migration protection.
289
+ attr_accessor :psp_migration
290
+
291
+ def initialize(psp_migration: nil)
292
+ @psp_migration = psp_migration
293
+ end
294
+ end
295
+ # Protection types to request for this capability (e.g. "psp_migration").
296
+ attr_accessor :protections
297
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
298
+ attr_accessor :requested
299
+
300
+ def initialize(protections: nil, requested: nil)
301
+ @protections = protections
302
+ @requested = requested
303
+ end
304
+ end
305
+ # 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 Lead 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 revolving credit 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
+ # Represents the state of the configuration, and can be updated to deactivate or re-apply a configuration.
504
+ attr_accessor :applied
505
+ # Capabilities to request on the CardCreator Configuration.
506
+ attr_accessor :capabilities
507
+
508
+ def initialize(applied: nil, capabilities: nil)
509
+ @applied = applied
510
+ @capabilities = capabilities
511
+ end
512
+ end
513
+
9
514
  class Customer < ::Stripe::RequestParams
10
515
  class AutomaticIndirectTax < ::Stripe::RequestParams
11
516
  # The customer account's tax exemption status: `none`, `exempt`, or `reverse`. When `reverse`, invoice and receipt PDFs include "Reverse charge".
12
517
  attr_accessor :exempt
13
518
  # A recent IP address of the customer used for tax reporting and tax location inference.
14
519
  attr_accessor :ip_address
520
+ # Data source used to identify the customer account's tax location. Defaults to `identity_address`. Used for automatic indirect tax calculation.
521
+ attr_accessor :location_source
15
522
  # A per-request flag that indicates when Stripe should validate the customer tax location - defaults to `auto`.
16
523
  attr_accessor :validate_location
17
524
 
18
- def initialize(exempt: nil, ip_address: nil, validate_location: nil)
525
+ def initialize(
526
+ exempt: nil,
527
+ ip_address: nil,
528
+ location_source: nil,
529
+ validate_location: nil
530
+ )
19
531
  @exempt = exempt
20
532
  @ip_address = ip_address
533
+ @location_source = location_source
21
534
  @validate_location = validate_location
22
535
  end
23
536
  end
@@ -85,10 +598,29 @@ module Stripe
85
598
 
86
599
  class Capabilities < ::Stripe::RequestParams
87
600
  class AutomaticIndirectTax < ::Stripe::RequestParams
601
+ class Protections < ::Stripe::RequestParams
602
+ class PspMigration < ::Stripe::RequestParams
603
+ # To request a protection, pass true.
604
+ attr_accessor :requested
605
+
606
+ def initialize(requested: nil)
607
+ @requested = requested
608
+ end
609
+ end
610
+ # Parameter to request psp_migration protection.
611
+ attr_accessor :psp_migration
612
+
613
+ def initialize(psp_migration: nil)
614
+ @psp_migration = psp_migration
615
+ end
616
+ end
617
+ # Protection types to request for this capability (e.g. "psp_migration").
618
+ attr_accessor :protections
88
619
  # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
89
620
  attr_accessor :requested
90
621
 
91
- def initialize(requested: nil)
622
+ def initialize(protections: nil, requested: nil)
623
+ @protections = protections
92
624
  @requested = requested
93
625
  end
94
626
  end
@@ -204,406 +736,1261 @@ module Stripe
204
736
 
205
737
  class Capabilities < ::Stripe::RequestParams
206
738
  class AchDebitPayments < ::Stripe::RequestParams
739
+ class Protections < ::Stripe::RequestParams
740
+ class PspMigration < ::Stripe::RequestParams
741
+ # To request a protection, pass true.
742
+ attr_accessor :requested
743
+
744
+ def initialize(requested: nil)
745
+ @requested = requested
746
+ end
747
+ end
748
+ # Parameter to request psp_migration protection.
749
+ attr_accessor :psp_migration
750
+
751
+ def initialize(psp_migration: nil)
752
+ @psp_migration = psp_migration
753
+ end
754
+ end
755
+ # Protection types to request for this capability (e.g. "psp_migration").
756
+ attr_accessor :protections
207
757
  # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
208
758
  attr_accessor :requested
209
759
 
210
- def initialize(requested: nil)
760
+ def initialize(protections: nil, requested: nil)
761
+ @protections = protections
211
762
  @requested = requested
212
763
  end
213
764
  end
214
765
 
215
766
  class AcssDebitPayments < ::Stripe::RequestParams
767
+ class Protections < ::Stripe::RequestParams
768
+ class PspMigration < ::Stripe::RequestParams
769
+ # To request a protection, pass true.
770
+ attr_accessor :requested
771
+
772
+ def initialize(requested: nil)
773
+ @requested = requested
774
+ end
775
+ end
776
+ # Parameter to request psp_migration protection.
777
+ attr_accessor :psp_migration
778
+
779
+ def initialize(psp_migration: nil)
780
+ @psp_migration = psp_migration
781
+ end
782
+ end
783
+ # Protection types to request for this capability (e.g. "psp_migration").
784
+ attr_accessor :protections
216
785
  # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
217
786
  attr_accessor :requested
218
787
 
219
- def initialize(requested: nil)
788
+ def initialize(protections: nil, requested: nil)
789
+ @protections = protections
220
790
  @requested = requested
221
791
  end
222
792
  end
223
793
 
224
794
  class AffirmPayments < ::Stripe::RequestParams
795
+ class Protections < ::Stripe::RequestParams
796
+ class PspMigration < ::Stripe::RequestParams
797
+ # To request a protection, pass true.
798
+ attr_accessor :requested
799
+
800
+ def initialize(requested: nil)
801
+ @requested = requested
802
+ end
803
+ end
804
+ # Parameter to request psp_migration protection.
805
+ attr_accessor :psp_migration
806
+
807
+ def initialize(psp_migration: nil)
808
+ @psp_migration = psp_migration
809
+ end
810
+ end
811
+ # Protection types to request for this capability (e.g. "psp_migration").
812
+ attr_accessor :protections
225
813
  # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
226
814
  attr_accessor :requested
227
815
 
228
- def initialize(requested: nil)
816
+ def initialize(protections: nil, requested: nil)
817
+ @protections = protections
229
818
  @requested = requested
230
819
  end
231
820
  end
232
821
 
233
822
  class AfterpayClearpayPayments < ::Stripe::RequestParams
823
+ class Protections < ::Stripe::RequestParams
824
+ class PspMigration < ::Stripe::RequestParams
825
+ # To request a protection, pass true.
826
+ attr_accessor :requested
827
+
828
+ def initialize(requested: nil)
829
+ @requested = requested
830
+ end
831
+ end
832
+ # Parameter to request psp_migration protection.
833
+ attr_accessor :psp_migration
834
+
835
+ def initialize(psp_migration: nil)
836
+ @psp_migration = psp_migration
837
+ end
838
+ end
839
+ # Protection types to request for this capability (e.g. "psp_migration").
840
+ attr_accessor :protections
234
841
  # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
235
842
  attr_accessor :requested
236
843
 
237
- def initialize(requested: nil)
844
+ def initialize(protections: nil, requested: nil)
845
+ @protections = protections
238
846
  @requested = requested
239
847
  end
240
848
  end
241
849
 
242
850
  class AlmaPayments < ::Stripe::RequestParams
851
+ class Protections < ::Stripe::RequestParams
852
+ class PspMigration < ::Stripe::RequestParams
853
+ # To request a protection, pass true.
854
+ attr_accessor :requested
855
+
856
+ def initialize(requested: nil)
857
+ @requested = requested
858
+ end
859
+ end
860
+ # Parameter to request psp_migration protection.
861
+ attr_accessor :psp_migration
862
+
863
+ def initialize(psp_migration: nil)
864
+ @psp_migration = psp_migration
865
+ end
866
+ end
867
+ # Protection types to request for this capability (e.g. "psp_migration").
868
+ attr_accessor :protections
243
869
  # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
244
870
  attr_accessor :requested
245
871
 
246
- def initialize(requested: nil)
872
+ def initialize(protections: nil, requested: nil)
873
+ @protections = protections
247
874
  @requested = requested
248
875
  end
249
876
  end
250
877
 
251
878
  class AmazonPayPayments < ::Stripe::RequestParams
879
+ class Protections < ::Stripe::RequestParams
880
+ class PspMigration < ::Stripe::RequestParams
881
+ # To request a protection, pass true.
882
+ attr_accessor :requested
883
+
884
+ def initialize(requested: nil)
885
+ @requested = requested
886
+ end
887
+ end
888
+ # Parameter to request psp_migration protection.
889
+ attr_accessor :psp_migration
890
+
891
+ def initialize(psp_migration: nil)
892
+ @psp_migration = psp_migration
893
+ end
894
+ end
895
+ # Protection types to request for this capability (e.g. "psp_migration").
896
+ attr_accessor :protections
252
897
  # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
253
898
  attr_accessor :requested
254
899
 
255
- def initialize(requested: nil)
900
+ def initialize(protections: nil, requested: nil)
901
+ @protections = protections
256
902
  @requested = requested
257
903
  end
258
904
  end
259
905
 
260
906
  class AuBecsDebitPayments < ::Stripe::RequestParams
907
+ class Protections < ::Stripe::RequestParams
908
+ class PspMigration < ::Stripe::RequestParams
909
+ # To request a protection, pass true.
910
+ attr_accessor :requested
911
+
912
+ def initialize(requested: nil)
913
+ @requested = requested
914
+ end
915
+ end
916
+ # Parameter to request psp_migration protection.
917
+ attr_accessor :psp_migration
918
+
919
+ def initialize(psp_migration: nil)
920
+ @psp_migration = psp_migration
921
+ end
922
+ end
923
+ # Protection types to request for this capability (e.g. "psp_migration").
924
+ attr_accessor :protections
261
925
  # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
262
926
  attr_accessor :requested
263
927
 
264
- def initialize(requested: nil)
928
+ def initialize(protections: nil, requested: nil)
929
+ @protections = protections
265
930
  @requested = requested
266
931
  end
267
932
  end
268
933
 
269
934
  class BacsDebitPayments < ::Stripe::RequestParams
935
+ class Protections < ::Stripe::RequestParams
936
+ class PspMigration < ::Stripe::RequestParams
937
+ # To request a protection, pass true.
938
+ attr_accessor :requested
939
+
940
+ def initialize(requested: nil)
941
+ @requested = requested
942
+ end
943
+ end
944
+ # Parameter to request psp_migration protection.
945
+ attr_accessor :psp_migration
946
+
947
+ def initialize(psp_migration: nil)
948
+ @psp_migration = psp_migration
949
+ end
950
+ end
951
+ # Protection types to request for this capability (e.g. "psp_migration").
952
+ attr_accessor :protections
270
953
  # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
271
954
  attr_accessor :requested
272
955
 
273
- def initialize(requested: nil)
956
+ def initialize(protections: nil, requested: nil)
957
+ @protections = protections
274
958
  @requested = requested
275
959
  end
276
960
  end
277
961
 
278
962
  class BancontactPayments < ::Stripe::RequestParams
963
+ class Protections < ::Stripe::RequestParams
964
+ class PspMigration < ::Stripe::RequestParams
965
+ # To request a protection, pass true.
966
+ attr_accessor :requested
967
+
968
+ def initialize(requested: nil)
969
+ @requested = requested
970
+ end
971
+ end
972
+ # Parameter to request psp_migration protection.
973
+ attr_accessor :psp_migration
974
+
975
+ def initialize(psp_migration: nil)
976
+ @psp_migration = psp_migration
977
+ end
978
+ end
979
+ # Protection types to request for this capability (e.g. "psp_migration").
980
+ attr_accessor :protections
279
981
  # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
280
982
  attr_accessor :requested
281
983
 
282
- def initialize(requested: nil)
984
+ def initialize(protections: nil, requested: nil)
985
+ @protections = protections
283
986
  @requested = requested
284
987
  end
285
988
  end
286
989
 
287
990
  class BlikPayments < ::Stripe::RequestParams
991
+ class Protections < ::Stripe::RequestParams
992
+ class PspMigration < ::Stripe::RequestParams
993
+ # To request a protection, pass true.
994
+ attr_accessor :requested
995
+
996
+ def initialize(requested: nil)
997
+ @requested = requested
998
+ end
999
+ end
1000
+ # Parameter to request psp_migration protection.
1001
+ attr_accessor :psp_migration
1002
+
1003
+ def initialize(psp_migration: nil)
1004
+ @psp_migration = psp_migration
1005
+ end
1006
+ end
1007
+ # Protection types to request for this capability (e.g. "psp_migration").
1008
+ attr_accessor :protections
288
1009
  # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
289
1010
  attr_accessor :requested
290
1011
 
291
- def initialize(requested: nil)
1012
+ def initialize(protections: nil, requested: nil)
1013
+ @protections = protections
292
1014
  @requested = requested
293
1015
  end
294
1016
  end
295
1017
 
296
1018
  class BoletoPayments < ::Stripe::RequestParams
1019
+ class Protections < ::Stripe::RequestParams
1020
+ class PspMigration < ::Stripe::RequestParams
1021
+ # To request a protection, pass true.
1022
+ attr_accessor :requested
1023
+
1024
+ def initialize(requested: nil)
1025
+ @requested = requested
1026
+ end
1027
+ end
1028
+ # Parameter to request psp_migration protection.
1029
+ attr_accessor :psp_migration
1030
+
1031
+ def initialize(psp_migration: nil)
1032
+ @psp_migration = psp_migration
1033
+ end
1034
+ end
1035
+ # Protection types to request for this capability (e.g. "psp_migration").
1036
+ attr_accessor :protections
297
1037
  # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
298
1038
  attr_accessor :requested
299
1039
 
300
- def initialize(requested: nil)
1040
+ def initialize(protections: nil, requested: nil)
1041
+ @protections = protections
301
1042
  @requested = requested
302
1043
  end
303
1044
  end
304
1045
 
305
1046
  class CardPayments < ::Stripe::RequestParams
1047
+ class Protections < ::Stripe::RequestParams
1048
+ class PspMigration < ::Stripe::RequestParams
1049
+ # To request a protection, pass true.
1050
+ attr_accessor :requested
1051
+
1052
+ def initialize(requested: nil)
1053
+ @requested = requested
1054
+ end
1055
+ end
1056
+ # Parameter to request psp_migration protection.
1057
+ attr_accessor :psp_migration
1058
+
1059
+ def initialize(psp_migration: nil)
1060
+ @psp_migration = psp_migration
1061
+ end
1062
+ end
1063
+ # Protection types to request for this capability (e.g. "psp_migration").
1064
+ attr_accessor :protections
306
1065
  # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
307
1066
  attr_accessor :requested
308
1067
 
309
- def initialize(requested: nil)
1068
+ def initialize(protections: nil, requested: nil)
1069
+ @protections = protections
310
1070
  @requested = requested
311
1071
  end
312
1072
  end
313
1073
 
314
1074
  class CartesBancairesPayments < ::Stripe::RequestParams
1075
+ class Protections < ::Stripe::RequestParams
1076
+ class PspMigration < ::Stripe::RequestParams
1077
+ # To request a protection, pass true.
1078
+ attr_accessor :requested
1079
+
1080
+ def initialize(requested: nil)
1081
+ @requested = requested
1082
+ end
1083
+ end
1084
+ # Parameter to request psp_migration protection.
1085
+ attr_accessor :psp_migration
1086
+
1087
+ def initialize(psp_migration: nil)
1088
+ @psp_migration = psp_migration
1089
+ end
1090
+ end
1091
+ # Protection types to request for this capability (e.g. "psp_migration").
1092
+ attr_accessor :protections
315
1093
  # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
316
1094
  attr_accessor :requested
317
1095
 
318
- def initialize(requested: nil)
1096
+ def initialize(protections: nil, requested: nil)
1097
+ @protections = protections
319
1098
  @requested = requested
320
1099
  end
321
1100
  end
322
1101
 
323
1102
  class CashappPayments < ::Stripe::RequestParams
1103
+ class Protections < ::Stripe::RequestParams
1104
+ class PspMigration < ::Stripe::RequestParams
1105
+ # To request a protection, pass true.
1106
+ attr_accessor :requested
1107
+
1108
+ def initialize(requested: nil)
1109
+ @requested = requested
1110
+ end
1111
+ end
1112
+ # Parameter to request psp_migration protection.
1113
+ attr_accessor :psp_migration
1114
+
1115
+ def initialize(psp_migration: nil)
1116
+ @psp_migration = psp_migration
1117
+ end
1118
+ end
1119
+ # Protection types to request for this capability (e.g. "psp_migration").
1120
+ attr_accessor :protections
324
1121
  # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
325
1122
  attr_accessor :requested
326
1123
 
327
- def initialize(requested: nil)
1124
+ def initialize(protections: nil, requested: nil)
1125
+ @protections = protections
328
1126
  @requested = requested
329
1127
  end
330
1128
  end
331
1129
 
332
1130
  class EpsPayments < ::Stripe::RequestParams
1131
+ class Protections < ::Stripe::RequestParams
1132
+ class PspMigration < ::Stripe::RequestParams
1133
+ # To request a protection, pass true.
1134
+ attr_accessor :requested
1135
+
1136
+ def initialize(requested: nil)
1137
+ @requested = requested
1138
+ end
1139
+ end
1140
+ # Parameter to request psp_migration protection.
1141
+ attr_accessor :psp_migration
1142
+
1143
+ def initialize(psp_migration: nil)
1144
+ @psp_migration = psp_migration
1145
+ end
1146
+ end
1147
+ # Protection types to request for this capability (e.g. "psp_migration").
1148
+ attr_accessor :protections
333
1149
  # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
334
1150
  attr_accessor :requested
335
1151
 
336
- def initialize(requested: nil)
1152
+ def initialize(protections: nil, requested: nil)
1153
+ @protections = protections
337
1154
  @requested = requested
338
1155
  end
339
1156
  end
340
1157
 
341
1158
  class FpxPayments < ::Stripe::RequestParams
1159
+ class Protections < ::Stripe::RequestParams
1160
+ class PspMigration < ::Stripe::RequestParams
1161
+ # To request a protection, pass true.
1162
+ attr_accessor :requested
1163
+
1164
+ def initialize(requested: nil)
1165
+ @requested = requested
1166
+ end
1167
+ end
1168
+ # Parameter to request psp_migration protection.
1169
+ attr_accessor :psp_migration
1170
+
1171
+ def initialize(psp_migration: nil)
1172
+ @psp_migration = psp_migration
1173
+ end
1174
+ end
1175
+ # Protection types to request for this capability (e.g. "psp_migration").
1176
+ attr_accessor :protections
342
1177
  # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
343
1178
  attr_accessor :requested
344
1179
 
345
- def initialize(requested: nil)
1180
+ def initialize(protections: nil, requested: nil)
1181
+ @protections = protections
346
1182
  @requested = requested
347
1183
  end
348
1184
  end
349
1185
 
350
1186
  class GbBankTransferPayments < ::Stripe::RequestParams
1187
+ class Protections < ::Stripe::RequestParams
1188
+ class PspMigration < ::Stripe::RequestParams
1189
+ # To request a protection, pass true.
1190
+ attr_accessor :requested
1191
+
1192
+ def initialize(requested: nil)
1193
+ @requested = requested
1194
+ end
1195
+ end
1196
+ # Parameter to request psp_migration protection.
1197
+ attr_accessor :psp_migration
1198
+
1199
+ def initialize(psp_migration: nil)
1200
+ @psp_migration = psp_migration
1201
+ end
1202
+ end
1203
+ # Protection types to request for this capability (e.g. "psp_migration").
1204
+ attr_accessor :protections
351
1205
  # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
352
1206
  attr_accessor :requested
353
1207
 
354
- def initialize(requested: nil)
1208
+ def initialize(protections: nil, requested: nil)
1209
+ @protections = protections
355
1210
  @requested = requested
356
1211
  end
357
1212
  end
358
1213
 
359
1214
  class GrabpayPayments < ::Stripe::RequestParams
1215
+ class Protections < ::Stripe::RequestParams
1216
+ class PspMigration < ::Stripe::RequestParams
1217
+ # To request a protection, pass true.
1218
+ attr_accessor :requested
1219
+
1220
+ def initialize(requested: nil)
1221
+ @requested = requested
1222
+ end
1223
+ end
1224
+ # Parameter to request psp_migration protection.
1225
+ attr_accessor :psp_migration
1226
+
1227
+ def initialize(psp_migration: nil)
1228
+ @psp_migration = psp_migration
1229
+ end
1230
+ end
1231
+ # Protection types to request for this capability (e.g. "psp_migration").
1232
+ attr_accessor :protections
360
1233
  # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
361
1234
  attr_accessor :requested
362
1235
 
363
- def initialize(requested: nil)
1236
+ def initialize(protections: nil, requested: nil)
1237
+ @protections = protections
364
1238
  @requested = requested
365
1239
  end
366
1240
  end
367
1241
 
368
1242
  class IdealPayments < ::Stripe::RequestParams
1243
+ class Protections < ::Stripe::RequestParams
1244
+ class PspMigration < ::Stripe::RequestParams
1245
+ # To request a protection, pass true.
1246
+ attr_accessor :requested
1247
+
1248
+ def initialize(requested: nil)
1249
+ @requested = requested
1250
+ end
1251
+ end
1252
+ # Parameter to request psp_migration protection.
1253
+ attr_accessor :psp_migration
1254
+
1255
+ def initialize(psp_migration: nil)
1256
+ @psp_migration = psp_migration
1257
+ end
1258
+ end
1259
+ # Protection types to request for this capability (e.g. "psp_migration").
1260
+ attr_accessor :protections
369
1261
  # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
370
1262
  attr_accessor :requested
371
1263
 
372
- def initialize(requested: nil)
1264
+ def initialize(protections: nil, requested: nil)
1265
+ @protections = protections
373
1266
  @requested = requested
374
1267
  end
375
1268
  end
376
1269
 
377
1270
  class JcbPayments < ::Stripe::RequestParams
1271
+ class Protections < ::Stripe::RequestParams
1272
+ class PspMigration < ::Stripe::RequestParams
1273
+ # To request a protection, pass true.
1274
+ attr_accessor :requested
1275
+
1276
+ def initialize(requested: nil)
1277
+ @requested = requested
1278
+ end
1279
+ end
1280
+ # Parameter to request psp_migration protection.
1281
+ attr_accessor :psp_migration
1282
+
1283
+ def initialize(psp_migration: nil)
1284
+ @psp_migration = psp_migration
1285
+ end
1286
+ end
1287
+ # Protection types to request for this capability (e.g. "psp_migration").
1288
+ attr_accessor :protections
378
1289
  # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
379
1290
  attr_accessor :requested
380
1291
 
381
- def initialize(requested: nil)
1292
+ def initialize(protections: nil, requested: nil)
1293
+ @protections = protections
382
1294
  @requested = requested
383
1295
  end
384
1296
  end
385
1297
 
386
1298
  class JpBankTransferPayments < ::Stripe::RequestParams
1299
+ class Protections < ::Stripe::RequestParams
1300
+ class PspMigration < ::Stripe::RequestParams
1301
+ # To request a protection, pass true.
1302
+ attr_accessor :requested
1303
+
1304
+ def initialize(requested: nil)
1305
+ @requested = requested
1306
+ end
1307
+ end
1308
+ # Parameter to request psp_migration protection.
1309
+ attr_accessor :psp_migration
1310
+
1311
+ def initialize(psp_migration: nil)
1312
+ @psp_migration = psp_migration
1313
+ end
1314
+ end
1315
+ # Protection types to request for this capability (e.g. "psp_migration").
1316
+ attr_accessor :protections
387
1317
  # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
388
1318
  attr_accessor :requested
389
1319
 
390
- def initialize(requested: nil)
1320
+ def initialize(protections: nil, requested: nil)
1321
+ @protections = protections
391
1322
  @requested = requested
392
1323
  end
393
1324
  end
394
1325
 
395
1326
  class KakaoPayPayments < ::Stripe::RequestParams
1327
+ class Protections < ::Stripe::RequestParams
1328
+ class PspMigration < ::Stripe::RequestParams
1329
+ # To request a protection, pass true.
1330
+ attr_accessor :requested
1331
+
1332
+ def initialize(requested: nil)
1333
+ @requested = requested
1334
+ end
1335
+ end
1336
+ # Parameter to request psp_migration protection.
1337
+ attr_accessor :psp_migration
1338
+
1339
+ def initialize(psp_migration: nil)
1340
+ @psp_migration = psp_migration
1341
+ end
1342
+ end
1343
+ # Protection types to request for this capability (e.g. "psp_migration").
1344
+ attr_accessor :protections
396
1345
  # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
397
1346
  attr_accessor :requested
398
1347
 
399
- def initialize(requested: nil)
1348
+ def initialize(protections: nil, requested: nil)
1349
+ @protections = protections
400
1350
  @requested = requested
401
1351
  end
402
1352
  end
403
1353
 
404
1354
  class KlarnaPayments < ::Stripe::RequestParams
1355
+ class Protections < ::Stripe::RequestParams
1356
+ class PspMigration < ::Stripe::RequestParams
1357
+ # To request a protection, pass true.
1358
+ attr_accessor :requested
1359
+
1360
+ def initialize(requested: nil)
1361
+ @requested = requested
1362
+ end
1363
+ end
1364
+ # Parameter to request psp_migration protection.
1365
+ attr_accessor :psp_migration
1366
+
1367
+ def initialize(psp_migration: nil)
1368
+ @psp_migration = psp_migration
1369
+ end
1370
+ end
1371
+ # Protection types to request for this capability (e.g. "psp_migration").
1372
+ attr_accessor :protections
405
1373
  # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
406
1374
  attr_accessor :requested
407
1375
 
408
- def initialize(requested: nil)
1376
+ def initialize(protections: nil, requested: nil)
1377
+ @protections = protections
409
1378
  @requested = requested
410
1379
  end
411
1380
  end
412
1381
 
413
1382
  class KonbiniPayments < ::Stripe::RequestParams
1383
+ class Protections < ::Stripe::RequestParams
1384
+ class PspMigration < ::Stripe::RequestParams
1385
+ # To request a protection, pass true.
1386
+ attr_accessor :requested
1387
+
1388
+ def initialize(requested: nil)
1389
+ @requested = requested
1390
+ end
1391
+ end
1392
+ # Parameter to request psp_migration protection.
1393
+ attr_accessor :psp_migration
1394
+
1395
+ def initialize(psp_migration: nil)
1396
+ @psp_migration = psp_migration
1397
+ end
1398
+ end
1399
+ # Protection types to request for this capability (e.g. "psp_migration").
1400
+ attr_accessor :protections
414
1401
  # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
415
1402
  attr_accessor :requested
416
1403
 
417
- def initialize(requested: nil)
1404
+ def initialize(protections: nil, requested: nil)
1405
+ @protections = protections
418
1406
  @requested = requested
419
1407
  end
420
1408
  end
421
1409
 
422
1410
  class KrCardPayments < ::Stripe::RequestParams
1411
+ class Protections < ::Stripe::RequestParams
1412
+ class PspMigration < ::Stripe::RequestParams
1413
+ # To request a protection, pass true.
1414
+ attr_accessor :requested
1415
+
1416
+ def initialize(requested: nil)
1417
+ @requested = requested
1418
+ end
1419
+ end
1420
+ # Parameter to request psp_migration protection.
1421
+ attr_accessor :psp_migration
1422
+
1423
+ def initialize(psp_migration: nil)
1424
+ @psp_migration = psp_migration
1425
+ end
1426
+ end
1427
+ # Protection types to request for this capability (e.g. "psp_migration").
1428
+ attr_accessor :protections
423
1429
  # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
424
1430
  attr_accessor :requested
425
1431
 
426
- def initialize(requested: nil)
1432
+ def initialize(protections: nil, requested: nil)
1433
+ @protections = protections
427
1434
  @requested = requested
428
1435
  end
429
1436
  end
430
1437
 
431
1438
  class LinkPayments < ::Stripe::RequestParams
1439
+ class Protections < ::Stripe::RequestParams
1440
+ class PspMigration < ::Stripe::RequestParams
1441
+ # To request a protection, pass true.
1442
+ attr_accessor :requested
1443
+
1444
+ def initialize(requested: nil)
1445
+ @requested = requested
1446
+ end
1447
+ end
1448
+ # Parameter to request psp_migration protection.
1449
+ attr_accessor :psp_migration
1450
+
1451
+ def initialize(psp_migration: nil)
1452
+ @psp_migration = psp_migration
1453
+ end
1454
+ end
1455
+ # Protection types to request for this capability (e.g. "psp_migration").
1456
+ attr_accessor :protections
432
1457
  # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
433
1458
  attr_accessor :requested
434
1459
 
435
- def initialize(requested: nil)
1460
+ def initialize(protections: nil, requested: nil)
1461
+ @protections = protections
436
1462
  @requested = requested
437
1463
  end
438
1464
  end
439
1465
 
440
1466
  class MobilepayPayments < ::Stripe::RequestParams
1467
+ class Protections < ::Stripe::RequestParams
1468
+ class PspMigration < ::Stripe::RequestParams
1469
+ # To request a protection, pass true.
1470
+ attr_accessor :requested
1471
+
1472
+ def initialize(requested: nil)
1473
+ @requested = requested
1474
+ end
1475
+ end
1476
+ # Parameter to request psp_migration protection.
1477
+ attr_accessor :psp_migration
1478
+
1479
+ def initialize(psp_migration: nil)
1480
+ @psp_migration = psp_migration
1481
+ end
1482
+ end
1483
+ # Protection types to request for this capability (e.g. "psp_migration").
1484
+ attr_accessor :protections
441
1485
  # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
442
1486
  attr_accessor :requested
443
1487
 
444
- def initialize(requested: nil)
1488
+ def initialize(protections: nil, requested: nil)
1489
+ @protections = protections
445
1490
  @requested = requested
446
1491
  end
447
1492
  end
448
1493
 
449
1494
  class MultibancoPayments < ::Stripe::RequestParams
1495
+ class Protections < ::Stripe::RequestParams
1496
+ class PspMigration < ::Stripe::RequestParams
1497
+ # To request a protection, pass true.
1498
+ attr_accessor :requested
1499
+
1500
+ def initialize(requested: nil)
1501
+ @requested = requested
1502
+ end
1503
+ end
1504
+ # Parameter to request psp_migration protection.
1505
+ attr_accessor :psp_migration
1506
+
1507
+ def initialize(psp_migration: nil)
1508
+ @psp_migration = psp_migration
1509
+ end
1510
+ end
1511
+ # Protection types to request for this capability (e.g. "psp_migration").
1512
+ attr_accessor :protections
450
1513
  # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
451
1514
  attr_accessor :requested
452
1515
 
453
- def initialize(requested: nil)
1516
+ def initialize(protections: nil, requested: nil)
1517
+ @protections = protections
454
1518
  @requested = requested
455
1519
  end
456
1520
  end
457
1521
 
458
1522
  class MxBankTransferPayments < ::Stripe::RequestParams
1523
+ class Protections < ::Stripe::RequestParams
1524
+ class PspMigration < ::Stripe::RequestParams
1525
+ # To request a protection, pass true.
1526
+ attr_accessor :requested
1527
+
1528
+ def initialize(requested: nil)
1529
+ @requested = requested
1530
+ end
1531
+ end
1532
+ # Parameter to request psp_migration protection.
1533
+ attr_accessor :psp_migration
1534
+
1535
+ def initialize(psp_migration: nil)
1536
+ @psp_migration = psp_migration
1537
+ end
1538
+ end
1539
+ # Protection types to request for this capability (e.g. "psp_migration").
1540
+ attr_accessor :protections
459
1541
  # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
460
1542
  attr_accessor :requested
461
1543
 
462
- def initialize(requested: nil)
1544
+ def initialize(protections: nil, requested: nil)
1545
+ @protections = protections
463
1546
  @requested = requested
464
1547
  end
465
1548
  end
466
1549
 
467
1550
  class NaverPayPayments < ::Stripe::RequestParams
1551
+ class Protections < ::Stripe::RequestParams
1552
+ class PspMigration < ::Stripe::RequestParams
1553
+ # To request a protection, pass true.
1554
+ attr_accessor :requested
1555
+
1556
+ def initialize(requested: nil)
1557
+ @requested = requested
1558
+ end
1559
+ end
1560
+ # Parameter to request psp_migration protection.
1561
+ attr_accessor :psp_migration
1562
+
1563
+ def initialize(psp_migration: nil)
1564
+ @psp_migration = psp_migration
1565
+ end
1566
+ end
1567
+ # Protection types to request for this capability (e.g. "psp_migration").
1568
+ attr_accessor :protections
468
1569
  # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
469
1570
  attr_accessor :requested
470
1571
 
471
- def initialize(requested: nil)
1572
+ def initialize(protections: nil, requested: nil)
1573
+ @protections = protections
472
1574
  @requested = requested
473
1575
  end
474
1576
  end
475
1577
 
476
1578
  class OxxoPayments < ::Stripe::RequestParams
1579
+ class Protections < ::Stripe::RequestParams
1580
+ class PspMigration < ::Stripe::RequestParams
1581
+ # To request a protection, pass true.
1582
+ attr_accessor :requested
1583
+
1584
+ def initialize(requested: nil)
1585
+ @requested = requested
1586
+ end
1587
+ end
1588
+ # Parameter to request psp_migration protection.
1589
+ attr_accessor :psp_migration
1590
+
1591
+ def initialize(psp_migration: nil)
1592
+ @psp_migration = psp_migration
1593
+ end
1594
+ end
1595
+ # Protection types to request for this capability (e.g. "psp_migration").
1596
+ attr_accessor :protections
477
1597
  # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
478
1598
  attr_accessor :requested
479
1599
 
480
- def initialize(requested: nil)
1600
+ def initialize(protections: nil, requested: nil)
1601
+ @protections = protections
481
1602
  @requested = requested
482
1603
  end
483
1604
  end
484
1605
 
485
1606
  class P24Payments < ::Stripe::RequestParams
1607
+ class Protections < ::Stripe::RequestParams
1608
+ class PspMigration < ::Stripe::RequestParams
1609
+ # To request a protection, pass true.
1610
+ attr_accessor :requested
1611
+
1612
+ def initialize(requested: nil)
1613
+ @requested = requested
1614
+ end
1615
+ end
1616
+ # Parameter to request psp_migration protection.
1617
+ attr_accessor :psp_migration
1618
+
1619
+ def initialize(psp_migration: nil)
1620
+ @psp_migration = psp_migration
1621
+ end
1622
+ end
1623
+ # Protection types to request for this capability (e.g. "psp_migration").
1624
+ attr_accessor :protections
486
1625
  # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
487
1626
  attr_accessor :requested
488
1627
 
489
- def initialize(requested: nil)
1628
+ def initialize(protections: nil, requested: nil)
1629
+ @protections = protections
490
1630
  @requested = requested
491
1631
  end
492
1632
  end
493
1633
 
494
1634
  class PayByBankPayments < ::Stripe::RequestParams
1635
+ class Protections < ::Stripe::RequestParams
1636
+ class PspMigration < ::Stripe::RequestParams
1637
+ # To request a protection, pass true.
1638
+ attr_accessor :requested
1639
+
1640
+ def initialize(requested: nil)
1641
+ @requested = requested
1642
+ end
1643
+ end
1644
+ # Parameter to request psp_migration protection.
1645
+ attr_accessor :psp_migration
1646
+
1647
+ def initialize(psp_migration: nil)
1648
+ @psp_migration = psp_migration
1649
+ end
1650
+ end
1651
+ # Protection types to request for this capability (e.g. "psp_migration").
1652
+ attr_accessor :protections
495
1653
  # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
496
1654
  attr_accessor :requested
497
1655
 
498
- def initialize(requested: nil)
1656
+ def initialize(protections: nil, requested: nil)
1657
+ @protections = protections
499
1658
  @requested = requested
500
1659
  end
501
1660
  end
502
1661
 
503
1662
  class PaycoPayments < ::Stripe::RequestParams
1663
+ class Protections < ::Stripe::RequestParams
1664
+ class PspMigration < ::Stripe::RequestParams
1665
+ # To request a protection, pass true.
1666
+ attr_accessor :requested
1667
+
1668
+ def initialize(requested: nil)
1669
+ @requested = requested
1670
+ end
1671
+ end
1672
+ # Parameter to request psp_migration protection.
1673
+ attr_accessor :psp_migration
1674
+
1675
+ def initialize(psp_migration: nil)
1676
+ @psp_migration = psp_migration
1677
+ end
1678
+ end
1679
+ # Protection types to request for this capability (e.g. "psp_migration").
1680
+ attr_accessor :protections
504
1681
  # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
505
1682
  attr_accessor :requested
506
1683
 
507
- def initialize(requested: nil)
1684
+ def initialize(protections: nil, requested: nil)
1685
+ @protections = protections
508
1686
  @requested = requested
509
1687
  end
510
1688
  end
511
1689
 
512
1690
  class PaynowPayments < ::Stripe::RequestParams
1691
+ class Protections < ::Stripe::RequestParams
1692
+ class PspMigration < ::Stripe::RequestParams
1693
+ # To request a protection, pass true.
1694
+ attr_accessor :requested
1695
+
1696
+ def initialize(requested: nil)
1697
+ @requested = requested
1698
+ end
1699
+ end
1700
+ # Parameter to request psp_migration protection.
1701
+ attr_accessor :psp_migration
1702
+
1703
+ def initialize(psp_migration: nil)
1704
+ @psp_migration = psp_migration
1705
+ end
1706
+ end
1707
+ # Protection types to request for this capability (e.g. "psp_migration").
1708
+ attr_accessor :protections
513
1709
  # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
514
1710
  attr_accessor :requested
515
1711
 
516
- def initialize(requested: nil)
1712
+ def initialize(protections: nil, requested: nil)
1713
+ @protections = protections
517
1714
  @requested = requested
518
1715
  end
519
1716
  end
520
1717
 
521
1718
  class PromptpayPayments < ::Stripe::RequestParams
1719
+ class Protections < ::Stripe::RequestParams
1720
+ class PspMigration < ::Stripe::RequestParams
1721
+ # To request a protection, pass true.
1722
+ attr_accessor :requested
1723
+
1724
+ def initialize(requested: nil)
1725
+ @requested = requested
1726
+ end
1727
+ end
1728
+ # Parameter to request psp_migration protection.
1729
+ attr_accessor :psp_migration
1730
+
1731
+ def initialize(psp_migration: nil)
1732
+ @psp_migration = psp_migration
1733
+ end
1734
+ end
1735
+ # Protection types to request for this capability (e.g. "psp_migration").
1736
+ attr_accessor :protections
522
1737
  # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
523
1738
  attr_accessor :requested
524
1739
 
525
- def initialize(requested: nil)
1740
+ def initialize(protections: nil, requested: nil)
1741
+ @protections = protections
526
1742
  @requested = requested
527
1743
  end
528
1744
  end
529
1745
 
530
1746
  class RevolutPayPayments < ::Stripe::RequestParams
1747
+ class Protections < ::Stripe::RequestParams
1748
+ class PspMigration < ::Stripe::RequestParams
1749
+ # To request a protection, pass true.
1750
+ attr_accessor :requested
1751
+
1752
+ def initialize(requested: nil)
1753
+ @requested = requested
1754
+ end
1755
+ end
1756
+ # Parameter to request psp_migration protection.
1757
+ attr_accessor :psp_migration
1758
+
1759
+ def initialize(psp_migration: nil)
1760
+ @psp_migration = psp_migration
1761
+ end
1762
+ end
1763
+ # Protection types to request for this capability (e.g. "psp_migration").
1764
+ attr_accessor :protections
531
1765
  # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
532
1766
  attr_accessor :requested
533
1767
 
534
- def initialize(requested: nil)
1768
+ def initialize(protections: nil, requested: nil)
1769
+ @protections = protections
535
1770
  @requested = requested
536
1771
  end
537
1772
  end
538
1773
 
539
1774
  class SamsungPayPayments < ::Stripe::RequestParams
1775
+ class Protections < ::Stripe::RequestParams
1776
+ class PspMigration < ::Stripe::RequestParams
1777
+ # To request a protection, pass true.
1778
+ attr_accessor :requested
1779
+
1780
+ def initialize(requested: nil)
1781
+ @requested = requested
1782
+ end
1783
+ end
1784
+ # Parameter to request psp_migration protection.
1785
+ attr_accessor :psp_migration
1786
+
1787
+ def initialize(psp_migration: nil)
1788
+ @psp_migration = psp_migration
1789
+ end
1790
+ end
1791
+ # Protection types to request for this capability (e.g. "psp_migration").
1792
+ attr_accessor :protections
540
1793
  # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
541
1794
  attr_accessor :requested
542
1795
 
543
- def initialize(requested: nil)
1796
+ def initialize(protections: nil, requested: nil)
1797
+ @protections = protections
544
1798
  @requested = requested
545
1799
  end
546
1800
  end
547
1801
 
548
1802
  class SepaBankTransferPayments < ::Stripe::RequestParams
1803
+ class Protections < ::Stripe::RequestParams
1804
+ class PspMigration < ::Stripe::RequestParams
1805
+ # To request a protection, pass true.
1806
+ attr_accessor :requested
1807
+
1808
+ def initialize(requested: nil)
1809
+ @requested = requested
1810
+ end
1811
+ end
1812
+ # Parameter to request psp_migration protection.
1813
+ attr_accessor :psp_migration
1814
+
1815
+ def initialize(psp_migration: nil)
1816
+ @psp_migration = psp_migration
1817
+ end
1818
+ end
1819
+ # Protection types to request for this capability (e.g. "psp_migration").
1820
+ attr_accessor :protections
549
1821
  # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
550
1822
  attr_accessor :requested
551
1823
 
552
- def initialize(requested: nil)
1824
+ def initialize(protections: nil, requested: nil)
1825
+ @protections = protections
553
1826
  @requested = requested
554
1827
  end
555
1828
  end
556
1829
 
557
1830
  class SepaDebitPayments < ::Stripe::RequestParams
1831
+ class Protections < ::Stripe::RequestParams
1832
+ class PspMigration < ::Stripe::RequestParams
1833
+ # To request a protection, pass true.
1834
+ attr_accessor :requested
1835
+
1836
+ def initialize(requested: nil)
1837
+ @requested = requested
1838
+ end
1839
+ end
1840
+ # Parameter to request psp_migration protection.
1841
+ attr_accessor :psp_migration
1842
+
1843
+ def initialize(psp_migration: nil)
1844
+ @psp_migration = psp_migration
1845
+ end
1846
+ end
1847
+ # Protection types to request for this capability (e.g. "psp_migration").
1848
+ attr_accessor :protections
558
1849
  # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
559
1850
  attr_accessor :requested
560
1851
 
561
- def initialize(requested: nil)
1852
+ def initialize(protections: nil, requested: nil)
1853
+ @protections = protections
562
1854
  @requested = requested
563
1855
  end
564
1856
  end
565
1857
 
566
1858
  class SunbitPayments < ::Stripe::RequestParams
1859
+ class Protections < ::Stripe::RequestParams
1860
+ class PspMigration < ::Stripe::RequestParams
1861
+ # To request a protection, pass true.
1862
+ attr_accessor :requested
1863
+
1864
+ def initialize(requested: nil)
1865
+ @requested = requested
1866
+ end
1867
+ end
1868
+ # Parameter to request psp_migration protection.
1869
+ attr_accessor :psp_migration
1870
+
1871
+ def initialize(psp_migration: nil)
1872
+ @psp_migration = psp_migration
1873
+ end
1874
+ end
1875
+ # Protection types to request for this capability (e.g. "psp_migration").
1876
+ attr_accessor :protections
567
1877
  # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
568
1878
  attr_accessor :requested
569
1879
 
570
- def initialize(requested: nil)
1880
+ def initialize(protections: nil, requested: nil)
1881
+ @protections = protections
571
1882
  @requested = requested
572
1883
  end
573
1884
  end
574
1885
 
575
1886
  class SwishPayments < ::Stripe::RequestParams
1887
+ class Protections < ::Stripe::RequestParams
1888
+ class PspMigration < ::Stripe::RequestParams
1889
+ # To request a protection, pass true.
1890
+ attr_accessor :requested
1891
+
1892
+ def initialize(requested: nil)
1893
+ @requested = requested
1894
+ end
1895
+ end
1896
+ # Parameter to request psp_migration protection.
1897
+ attr_accessor :psp_migration
1898
+
1899
+ def initialize(psp_migration: nil)
1900
+ @psp_migration = psp_migration
1901
+ end
1902
+ end
1903
+ # Protection types to request for this capability (e.g. "psp_migration").
1904
+ attr_accessor :protections
576
1905
  # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
577
1906
  attr_accessor :requested
578
1907
 
579
- def initialize(requested: nil)
1908
+ def initialize(protections: nil, requested: nil)
1909
+ @protections = protections
580
1910
  @requested = requested
581
1911
  end
582
1912
  end
583
1913
 
584
1914
  class TwintPayments < ::Stripe::RequestParams
1915
+ class Protections < ::Stripe::RequestParams
1916
+ class PspMigration < ::Stripe::RequestParams
1917
+ # To request a protection, pass true.
1918
+ attr_accessor :requested
1919
+
1920
+ def initialize(requested: nil)
1921
+ @requested = requested
1922
+ end
1923
+ end
1924
+ # Parameter to request psp_migration protection.
1925
+ attr_accessor :psp_migration
1926
+
1927
+ def initialize(psp_migration: nil)
1928
+ @psp_migration = psp_migration
1929
+ end
1930
+ end
1931
+ # Protection types to request for this capability (e.g. "psp_migration").
1932
+ attr_accessor :protections
585
1933
  # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
586
1934
  attr_accessor :requested
587
1935
 
588
- def initialize(requested: nil)
1936
+ def initialize(protections: nil, requested: nil)
1937
+ @protections = protections
589
1938
  @requested = requested
590
1939
  end
591
1940
  end
592
1941
 
593
1942
  class UsBankTransferPayments < ::Stripe::RequestParams
1943
+ class Protections < ::Stripe::RequestParams
1944
+ class PspMigration < ::Stripe::RequestParams
1945
+ # To request a protection, pass true.
1946
+ attr_accessor :requested
1947
+
1948
+ def initialize(requested: nil)
1949
+ @requested = requested
1950
+ end
1951
+ end
1952
+ # Parameter to request psp_migration protection.
1953
+ attr_accessor :psp_migration
1954
+
1955
+ def initialize(psp_migration: nil)
1956
+ @psp_migration = psp_migration
1957
+ end
1958
+ end
1959
+ # Protection types to request for this capability (e.g. "psp_migration").
1960
+ attr_accessor :protections
594
1961
  # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
595
1962
  attr_accessor :requested
596
1963
 
597
- def initialize(requested: nil)
1964
+ def initialize(protections: nil, requested: nil)
1965
+ @protections = protections
598
1966
  @requested = requested
599
1967
  end
600
1968
  end
601
1969
 
602
1970
  class ZipPayments < ::Stripe::RequestParams
1971
+ class Protections < ::Stripe::RequestParams
1972
+ class PspMigration < ::Stripe::RequestParams
1973
+ # To request a protection, pass true.
1974
+ attr_accessor :requested
1975
+
1976
+ def initialize(requested: nil)
1977
+ @requested = requested
1978
+ end
1979
+ end
1980
+ # Parameter to request psp_migration protection.
1981
+ attr_accessor :psp_migration
1982
+
1983
+ def initialize(psp_migration: nil)
1984
+ @psp_migration = psp_migration
1985
+ end
1986
+ end
1987
+ # Protection types to request for this capability (e.g. "psp_migration").
1988
+ attr_accessor :protections
603
1989
  # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
604
1990
  attr_accessor :requested
605
1991
 
606
- def initialize(requested: nil)
1992
+ def initialize(protections: nil, requested: nil)
1993
+ @protections = protections
607
1994
  @requested = requested
608
1995
  end
609
1996
  end
@@ -882,11 +2269,28 @@ module Stripe
882
2269
  end
883
2270
  end
884
2271
 
885
- class StatementDescriptor < ::Stripe::RequestParams
886
- # The default text that appears on statements for non-card charges outside of Japan. For card charges, if you don’t set a statement_descriptor_prefix, this text is also used as the statement descriptor prefix. In that case, if concatenating the statement descriptor suffix causes the combined statement descriptor to exceed 22 characters, we truncate the statement_descriptor text to limit the full descriptor to 22 characters. For more information about statement descriptors and their requirements, see the Merchant Configuration settings documentation.
887
- attr_accessor :descriptor
888
- # Default text that appears on statements for card charges outside of Japan, prefixing any dynamic statement_descriptor_suffix specified on the charge. To maximize space for the dynamic part of the descriptor, keep this text short. If you don’t specify this value, statement_descriptor is used as the prefix. For more information about statement descriptors and their requirements, see the Merchant Configuration settings documentation.
889
- attr_accessor :prefix
2272
+ class SmartDisputes < ::Stripe::RequestParams
2273
+ class AutoRespond < ::Stripe::RequestParams
2274
+ # The preference for automatic dispute responses.
2275
+ attr_accessor :preference
2276
+
2277
+ def initialize(preference: nil)
2278
+ @preference = preference
2279
+ end
2280
+ end
2281
+ # Settings for Smart Disputes auto_respond.
2282
+ attr_accessor :auto_respond
2283
+
2284
+ def initialize(auto_respond: nil)
2285
+ @auto_respond = auto_respond
2286
+ end
2287
+ end
2288
+
2289
+ class StatementDescriptor < ::Stripe::RequestParams
2290
+ # 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.
2291
+ attr_accessor :descriptor
2292
+ # Default text that appears on statements for card charges outside of Japan, prefixing any dynamic statement_descriptor_suffix specified on the charge. To maximize space for the dynamic part of the descriptor, keep this text short. If you don’t specify this value, statement_descriptor is used as the prefix. For more information about statement descriptors and their requirements, see the Merchant Configuration settings documentation.
2293
+ attr_accessor :prefix
890
2294
 
891
2295
  def initialize(descriptor: nil, prefix: nil)
892
2296
  @descriptor = descriptor
@@ -961,6 +2365,8 @@ module Stripe
961
2365
  attr_accessor :mcc
962
2366
  # Settings for the default text that appears on statements for language variations.
963
2367
  attr_accessor :script_statement_descriptor
2368
+ # Settings for Smart Disputes automatic response feature.
2369
+ attr_accessor :smart_disputes
964
2370
  # Settings for the default [statement descriptor](/connect/statement-descriptors) text.
965
2371
  attr_accessor :statement_descriptor
966
2372
  # Publicly available contact information for sending support issues to.
@@ -975,6 +2381,7 @@ module Stripe
975
2381
  konbini_payments: nil,
976
2382
  mcc: nil,
977
2383
  script_statement_descriptor: nil,
2384
+ smart_disputes: nil,
978
2385
  statement_descriptor: nil,
979
2386
  support: nil
980
2387
  )
@@ -986,19 +2393,1597 @@ module Stripe
986
2393
  @konbini_payments = konbini_payments
987
2394
  @mcc = mcc
988
2395
  @script_statement_descriptor = script_statement_descriptor
2396
+ @smart_disputes = smart_disputes
989
2397
  @statement_descriptor = statement_descriptor
990
2398
  @support = support
991
2399
  end
992
2400
  end
993
2401
 
2402
+ class MoneyManager < ::Stripe::RequestParams
2403
+ class Capabilities < ::Stripe::RequestParams
2404
+ class BusinessStorage < ::Stripe::RequestParams
2405
+ class Inbound < ::Stripe::RequestParams
2406
+ class Aud < ::Stripe::RequestParams
2407
+ class Protections < ::Stripe::RequestParams
2408
+ class PspMigration < ::Stripe::RequestParams
2409
+ # To request a protection, pass true.
2410
+ attr_accessor :requested
2411
+
2412
+ def initialize(requested: nil)
2413
+ @requested = requested
2414
+ end
2415
+ end
2416
+ # Parameter to request psp_migration protection.
2417
+ attr_accessor :psp_migration
2418
+
2419
+ def initialize(psp_migration: nil)
2420
+ @psp_migration = psp_migration
2421
+ end
2422
+ end
2423
+ # Protection types to request for this capability (e.g. "psp_migration").
2424
+ attr_accessor :protections
2425
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
2426
+ attr_accessor :requested
2427
+
2428
+ def initialize(protections: nil, requested: nil)
2429
+ @protections = protections
2430
+ @requested = requested
2431
+ end
2432
+ end
2433
+
2434
+ class Cad < ::Stripe::RequestParams
2435
+ class Protections < ::Stripe::RequestParams
2436
+ class PspMigration < ::Stripe::RequestParams
2437
+ # To request a protection, pass true.
2438
+ attr_accessor :requested
2439
+
2440
+ def initialize(requested: nil)
2441
+ @requested = requested
2442
+ end
2443
+ end
2444
+ # Parameter to request psp_migration protection.
2445
+ attr_accessor :psp_migration
2446
+
2447
+ def initialize(psp_migration: nil)
2448
+ @psp_migration = psp_migration
2449
+ end
2450
+ end
2451
+ # Protection types to request for this capability (e.g. "psp_migration").
2452
+ attr_accessor :protections
2453
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
2454
+ attr_accessor :requested
2455
+
2456
+ def initialize(protections: nil, requested: nil)
2457
+ @protections = protections
2458
+ @requested = requested
2459
+ end
2460
+ end
2461
+
2462
+ class Eur < ::Stripe::RequestParams
2463
+ class Protections < ::Stripe::RequestParams
2464
+ class PspMigration < ::Stripe::RequestParams
2465
+ # To request a protection, pass true.
2466
+ attr_accessor :requested
2467
+
2468
+ def initialize(requested: nil)
2469
+ @requested = requested
2470
+ end
2471
+ end
2472
+ # Parameter to request psp_migration protection.
2473
+ attr_accessor :psp_migration
2474
+
2475
+ def initialize(psp_migration: nil)
2476
+ @psp_migration = psp_migration
2477
+ end
2478
+ end
2479
+ # Protection types to request for this capability (e.g. "psp_migration").
2480
+ attr_accessor :protections
2481
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
2482
+ attr_accessor :requested
2483
+
2484
+ def initialize(protections: nil, requested: nil)
2485
+ @protections = protections
2486
+ @requested = requested
2487
+ end
2488
+ end
2489
+
2490
+ class Gbp < ::Stripe::RequestParams
2491
+ class Protections < ::Stripe::RequestParams
2492
+ class PspMigration < ::Stripe::RequestParams
2493
+ # To request a protection, pass true.
2494
+ attr_accessor :requested
2495
+
2496
+ def initialize(requested: nil)
2497
+ @requested = requested
2498
+ end
2499
+ end
2500
+ # Parameter to request psp_migration protection.
2501
+ attr_accessor :psp_migration
2502
+
2503
+ def initialize(psp_migration: nil)
2504
+ @psp_migration = psp_migration
2505
+ end
2506
+ end
2507
+ # Protection types to request for this capability (e.g. "psp_migration").
2508
+ attr_accessor :protections
2509
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
2510
+ attr_accessor :requested
2511
+
2512
+ def initialize(protections: nil, requested: nil)
2513
+ @protections = protections
2514
+ @requested = requested
2515
+ end
2516
+ end
2517
+
2518
+ class Usd < ::Stripe::RequestParams
2519
+ class Protections < ::Stripe::RequestParams
2520
+ class PspMigration < ::Stripe::RequestParams
2521
+ # To request a protection, pass true.
2522
+ attr_accessor :requested
2523
+
2524
+ def initialize(requested: nil)
2525
+ @requested = requested
2526
+ end
2527
+ end
2528
+ # Parameter to request psp_migration protection.
2529
+ attr_accessor :psp_migration
2530
+
2531
+ def initialize(psp_migration: nil)
2532
+ @psp_migration = psp_migration
2533
+ end
2534
+ end
2535
+ # Protection types to request for this capability (e.g. "psp_migration").
2536
+ attr_accessor :protections
2537
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
2538
+ attr_accessor :requested
2539
+
2540
+ def initialize(protections: nil, requested: nil)
2541
+ @protections = protections
2542
+ @requested = requested
2543
+ end
2544
+ end
2545
+
2546
+ class Usdc < ::Stripe::RequestParams
2547
+ class Protections < ::Stripe::RequestParams
2548
+ class PspMigration < ::Stripe::RequestParams
2549
+ # To request a protection, pass true.
2550
+ attr_accessor :requested
2551
+
2552
+ def initialize(requested: nil)
2553
+ @requested = requested
2554
+ end
2555
+ end
2556
+ # Parameter to request psp_migration protection.
2557
+ attr_accessor :psp_migration
2558
+
2559
+ def initialize(psp_migration: nil)
2560
+ @psp_migration = psp_migration
2561
+ end
2562
+ end
2563
+ # Protection types to request for this capability (e.g. "psp_migration").
2564
+ attr_accessor :protections
2565
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
2566
+ attr_accessor :requested
2567
+
2568
+ def initialize(protections: nil, requested: nil)
2569
+ @protections = protections
2570
+ @requested = requested
2571
+ end
2572
+ end
2573
+ # Can receive business storage-type funds on Stripe in AUD.
2574
+ attr_accessor :aud
2575
+ # Can receive business storage-type funds on Stripe in CAD.
2576
+ attr_accessor :cad
2577
+ # Can receive business storage-type funds on Stripe in EUR.
2578
+ attr_accessor :eur
2579
+ # Can receive business storage-type funds on Stripe in GBP.
2580
+ attr_accessor :gbp
2581
+ # Can receive business storage-type funds on Stripe in USD.
2582
+ attr_accessor :usd
2583
+ # Can receive business storage-type funds on Stripe in USDC.
2584
+ attr_accessor :usdc
2585
+
2586
+ def initialize(aud: nil, cad: nil, eur: nil, gbp: nil, usd: nil, usdc: nil)
2587
+ @aud = aud
2588
+ @cad = cad
2589
+ @eur = eur
2590
+ @gbp = gbp
2591
+ @usd = usd
2592
+ @usdc = usdc
2593
+ end
2594
+ end
2595
+
2596
+ class Outbound < ::Stripe::RequestParams
2597
+ class Aud < ::Stripe::RequestParams
2598
+ class Protections < ::Stripe::RequestParams
2599
+ class PspMigration < ::Stripe::RequestParams
2600
+ # To request a protection, pass true.
2601
+ attr_accessor :requested
2602
+
2603
+ def initialize(requested: nil)
2604
+ @requested = requested
2605
+ end
2606
+ end
2607
+ # Parameter to request psp_migration protection.
2608
+ attr_accessor :psp_migration
2609
+
2610
+ def initialize(psp_migration: nil)
2611
+ @psp_migration = psp_migration
2612
+ end
2613
+ end
2614
+ # Protection types to request for this capability (e.g. "psp_migration").
2615
+ attr_accessor :protections
2616
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
2617
+ attr_accessor :requested
2618
+
2619
+ def initialize(protections: nil, requested: nil)
2620
+ @protections = protections
2621
+ @requested = requested
2622
+ end
2623
+ end
2624
+
2625
+ class Cad < ::Stripe::RequestParams
2626
+ class Protections < ::Stripe::RequestParams
2627
+ class PspMigration < ::Stripe::RequestParams
2628
+ # To request a protection, pass true.
2629
+ attr_accessor :requested
2630
+
2631
+ def initialize(requested: nil)
2632
+ @requested = requested
2633
+ end
2634
+ end
2635
+ # Parameter to request psp_migration protection.
2636
+ attr_accessor :psp_migration
2637
+
2638
+ def initialize(psp_migration: nil)
2639
+ @psp_migration = psp_migration
2640
+ end
2641
+ end
2642
+ # Protection types to request for this capability (e.g. "psp_migration").
2643
+ attr_accessor :protections
2644
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
2645
+ attr_accessor :requested
2646
+
2647
+ def initialize(protections: nil, requested: nil)
2648
+ @protections = protections
2649
+ @requested = requested
2650
+ end
2651
+ end
2652
+
2653
+ class Eur < ::Stripe::RequestParams
2654
+ class Protections < ::Stripe::RequestParams
2655
+ class PspMigration < ::Stripe::RequestParams
2656
+ # To request a protection, pass true.
2657
+ attr_accessor :requested
2658
+
2659
+ def initialize(requested: nil)
2660
+ @requested = requested
2661
+ end
2662
+ end
2663
+ # Parameter to request psp_migration protection.
2664
+ attr_accessor :psp_migration
2665
+
2666
+ def initialize(psp_migration: nil)
2667
+ @psp_migration = psp_migration
2668
+ end
2669
+ end
2670
+ # Protection types to request for this capability (e.g. "psp_migration").
2671
+ attr_accessor :protections
2672
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
2673
+ attr_accessor :requested
2674
+
2675
+ def initialize(protections: nil, requested: nil)
2676
+ @protections = protections
2677
+ @requested = requested
2678
+ end
2679
+ end
2680
+
2681
+ class Gbp < ::Stripe::RequestParams
2682
+ class Protections < ::Stripe::RequestParams
2683
+ class PspMigration < ::Stripe::RequestParams
2684
+ # To request a protection, pass true.
2685
+ attr_accessor :requested
2686
+
2687
+ def initialize(requested: nil)
2688
+ @requested = requested
2689
+ end
2690
+ end
2691
+ # Parameter to request psp_migration protection.
2692
+ attr_accessor :psp_migration
2693
+
2694
+ def initialize(psp_migration: nil)
2695
+ @psp_migration = psp_migration
2696
+ end
2697
+ end
2698
+ # Protection types to request for this capability (e.g. "psp_migration").
2699
+ attr_accessor :protections
2700
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
2701
+ attr_accessor :requested
2702
+
2703
+ def initialize(protections: nil, requested: nil)
2704
+ @protections = protections
2705
+ @requested = requested
2706
+ end
2707
+ end
2708
+
2709
+ class Usd < ::Stripe::RequestParams
2710
+ class Protections < ::Stripe::RequestParams
2711
+ class PspMigration < ::Stripe::RequestParams
2712
+ # To request a protection, pass true.
2713
+ attr_accessor :requested
2714
+
2715
+ def initialize(requested: nil)
2716
+ @requested = requested
2717
+ end
2718
+ end
2719
+ # Parameter to request psp_migration protection.
2720
+ attr_accessor :psp_migration
2721
+
2722
+ def initialize(psp_migration: nil)
2723
+ @psp_migration = psp_migration
2724
+ end
2725
+ end
2726
+ # Protection types to request for this capability (e.g. "psp_migration").
2727
+ attr_accessor :protections
2728
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
2729
+ attr_accessor :requested
2730
+
2731
+ def initialize(protections: nil, requested: nil)
2732
+ @protections = protections
2733
+ @requested = requested
2734
+ end
2735
+ end
2736
+
2737
+ class Usdc < ::Stripe::RequestParams
2738
+ class Protections < ::Stripe::RequestParams
2739
+ class PspMigration < ::Stripe::RequestParams
2740
+ # To request a protection, pass true.
2741
+ attr_accessor :requested
2742
+
2743
+ def initialize(requested: nil)
2744
+ @requested = requested
2745
+ end
2746
+ end
2747
+ # Parameter to request psp_migration protection.
2748
+ attr_accessor :psp_migration
2749
+
2750
+ def initialize(psp_migration: nil)
2751
+ @psp_migration = psp_migration
2752
+ end
2753
+ end
2754
+ # Protection types to request for this capability (e.g. "psp_migration").
2755
+ attr_accessor :protections
2756
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
2757
+ attr_accessor :requested
2758
+
2759
+ def initialize(protections: nil, requested: nil)
2760
+ @protections = protections
2761
+ @requested = requested
2762
+ end
2763
+ end
2764
+ # Can send business storage-type funds on Stripe in AUD.
2765
+ attr_accessor :aud
2766
+ # Can send business storage-type funds on Stripe in CAD.
2767
+ attr_accessor :cad
2768
+ # Can send business storage-type funds on Stripe in EUR.
2769
+ attr_accessor :eur
2770
+ # Can send business storage-type funds on Stripe in GBP.
2771
+ attr_accessor :gbp
2772
+ # Can send business storage-type funds on Stripe in USD.
2773
+ attr_accessor :usd
2774
+ # Can send business storage-type funds on Stripe in USDC.
2775
+ attr_accessor :usdc
2776
+
2777
+ def initialize(aud: nil, cad: nil, eur: nil, gbp: nil, usd: nil, usdc: nil)
2778
+ @aud = aud
2779
+ @cad = cad
2780
+ @eur = eur
2781
+ @gbp = gbp
2782
+ @usd = usd
2783
+ @usdc = usdc
2784
+ end
2785
+ end
2786
+ # Can receive business storage-type funds on Stripe.
2787
+ attr_accessor :inbound
2788
+ # Can send business storage-type funds on Stripe.
2789
+ attr_accessor :outbound
2790
+
2791
+ def initialize(inbound: nil, outbound: nil)
2792
+ @inbound = inbound
2793
+ @outbound = outbound
2794
+ end
2795
+ end
2796
+
2797
+ class ConsumerStorage < ::Stripe::RequestParams
2798
+ class Inbound < ::Stripe::RequestParams
2799
+ class Usd < ::Stripe::RequestParams
2800
+ class Protections < ::Stripe::RequestParams
2801
+ class PspMigration < ::Stripe::RequestParams
2802
+ # To request a protection, pass true.
2803
+ attr_accessor :requested
2804
+
2805
+ def initialize(requested: nil)
2806
+ @requested = requested
2807
+ end
2808
+ end
2809
+ # Parameter to request psp_migration protection.
2810
+ attr_accessor :psp_migration
2811
+
2812
+ def initialize(psp_migration: nil)
2813
+ @psp_migration = psp_migration
2814
+ end
2815
+ end
2816
+ # Protection types to request for this capability (e.g. "psp_migration").
2817
+ attr_accessor :protections
2818
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
2819
+ attr_accessor :requested
2820
+
2821
+ def initialize(protections: nil, requested: nil)
2822
+ @protections = protections
2823
+ @requested = requested
2824
+ end
2825
+ end
2826
+
2827
+ class Usdc < ::Stripe::RequestParams
2828
+ class Protections < ::Stripe::RequestParams
2829
+ class PspMigration < ::Stripe::RequestParams
2830
+ # To request a protection, pass true.
2831
+ attr_accessor :requested
2832
+
2833
+ def initialize(requested: nil)
2834
+ @requested = requested
2835
+ end
2836
+ end
2837
+ # Parameter to request psp_migration protection.
2838
+ attr_accessor :psp_migration
2839
+
2840
+ def initialize(psp_migration: nil)
2841
+ @psp_migration = psp_migration
2842
+ end
2843
+ end
2844
+ # Protection types to request for this capability (e.g. "psp_migration").
2845
+ attr_accessor :protections
2846
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
2847
+ attr_accessor :requested
2848
+
2849
+ def initialize(protections: nil, requested: nil)
2850
+ @protections = protections
2851
+ @requested = requested
2852
+ end
2853
+ end
2854
+ # Can receive consumer storage-type funds on Stripe in USD.
2855
+ attr_accessor :usd
2856
+ # Can receive consumer storage-type funds on Stripe in USDC.
2857
+ attr_accessor :usdc
2858
+
2859
+ def initialize(usd: nil, usdc: nil)
2860
+ @usd = usd
2861
+ @usdc = usdc
2862
+ end
2863
+ end
2864
+
2865
+ class Outbound < ::Stripe::RequestParams
2866
+ class Usd < ::Stripe::RequestParams
2867
+ class Protections < ::Stripe::RequestParams
2868
+ class PspMigration < ::Stripe::RequestParams
2869
+ # To request a protection, pass true.
2870
+ attr_accessor :requested
2871
+
2872
+ def initialize(requested: nil)
2873
+ @requested = requested
2874
+ end
2875
+ end
2876
+ # Parameter to request psp_migration protection.
2877
+ attr_accessor :psp_migration
2878
+
2879
+ def initialize(psp_migration: nil)
2880
+ @psp_migration = psp_migration
2881
+ end
2882
+ end
2883
+ # Protection types to request for this capability (e.g. "psp_migration").
2884
+ attr_accessor :protections
2885
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
2886
+ attr_accessor :requested
2887
+
2888
+ def initialize(protections: nil, requested: nil)
2889
+ @protections = protections
2890
+ @requested = requested
2891
+ end
2892
+ end
2893
+
2894
+ class Usdc < ::Stripe::RequestParams
2895
+ class Protections < ::Stripe::RequestParams
2896
+ class PspMigration < ::Stripe::RequestParams
2897
+ # To request a protection, pass true.
2898
+ attr_accessor :requested
2899
+
2900
+ def initialize(requested: nil)
2901
+ @requested = requested
2902
+ end
2903
+ end
2904
+ # Parameter to request psp_migration protection.
2905
+ attr_accessor :psp_migration
2906
+
2907
+ def initialize(psp_migration: nil)
2908
+ @psp_migration = psp_migration
2909
+ end
2910
+ end
2911
+ # Protection types to request for this capability (e.g. "psp_migration").
2912
+ attr_accessor :protections
2913
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
2914
+ attr_accessor :requested
2915
+
2916
+ def initialize(protections: nil, requested: nil)
2917
+ @protections = protections
2918
+ @requested = requested
2919
+ end
2920
+ end
2921
+ # Can send consumer storage-type funds on Stripe in USD.
2922
+ attr_accessor :usd
2923
+ # Can send consumer storage-type funds on Stripe in USDC.
2924
+ attr_accessor :usdc
2925
+
2926
+ def initialize(usd: nil, usdc: nil)
2927
+ @usd = usd
2928
+ @usdc = usdc
2929
+ end
2930
+ end
2931
+ # Can receive consumer storage-type funds on Stripe.
2932
+ attr_accessor :inbound
2933
+ # Can send consumer storage-type funds on Stripe.
2934
+ attr_accessor :outbound
2935
+
2936
+ def initialize(inbound: nil, outbound: nil)
2937
+ @inbound = inbound
2938
+ @outbound = outbound
2939
+ end
2940
+ end
2941
+
2942
+ class InboundTransfers < ::Stripe::RequestParams
2943
+ class BankAccounts < ::Stripe::RequestParams
2944
+ class Protections < ::Stripe::RequestParams
2945
+ class PspMigration < ::Stripe::RequestParams
2946
+ # To request a protection, pass true.
2947
+ attr_accessor :requested
2948
+
2949
+ def initialize(requested: nil)
2950
+ @requested = requested
2951
+ end
2952
+ end
2953
+ # Parameter to request psp_migration protection.
2954
+ attr_accessor :psp_migration
2955
+
2956
+ def initialize(psp_migration: nil)
2957
+ @psp_migration = psp_migration
2958
+ end
2959
+ end
2960
+ # Protection types to request for this capability (e.g. "psp_migration").
2961
+ attr_accessor :protections
2962
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
2963
+ attr_accessor :requested
2964
+
2965
+ def initialize(protections: nil, requested: nil)
2966
+ @protections = protections
2967
+ @requested = requested
2968
+ end
2969
+ end
2970
+ # Can pull funds from an external bank account owned by yourself to a FinancialAccount.
2971
+ attr_accessor :bank_accounts
2972
+
2973
+ def initialize(bank_accounts: nil)
2974
+ @bank_accounts = bank_accounts
2975
+ end
2976
+ end
2977
+
2978
+ class OutboundPayments < ::Stripe::RequestParams
2979
+ class BankAccounts < ::Stripe::RequestParams
2980
+ class Protections < ::Stripe::RequestParams
2981
+ class PspMigration < ::Stripe::RequestParams
2982
+ # To request a protection, pass true.
2983
+ attr_accessor :requested
2984
+
2985
+ def initialize(requested: nil)
2986
+ @requested = requested
2987
+ end
2988
+ end
2989
+ # Parameter to request psp_migration protection.
2990
+ attr_accessor :psp_migration
2991
+
2992
+ def initialize(psp_migration: nil)
2993
+ @psp_migration = psp_migration
2994
+ end
2995
+ end
2996
+ # Protection types to request for this capability (e.g. "psp_migration").
2997
+ attr_accessor :protections
2998
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
2999
+ attr_accessor :requested
3000
+
3001
+ def initialize(protections: nil, requested: nil)
3002
+ @protections = protections
3003
+ @requested = requested
3004
+ end
3005
+ end
3006
+
3007
+ class Cards < ::Stripe::RequestParams
3008
+ class Protections < ::Stripe::RequestParams
3009
+ class PspMigration < ::Stripe::RequestParams
3010
+ # To request a protection, pass true.
3011
+ attr_accessor :requested
3012
+
3013
+ def initialize(requested: nil)
3014
+ @requested = requested
3015
+ end
3016
+ end
3017
+ # Parameter to request psp_migration protection.
3018
+ attr_accessor :psp_migration
3019
+
3020
+ def initialize(psp_migration: nil)
3021
+ @psp_migration = psp_migration
3022
+ end
3023
+ end
3024
+ # Protection types to request for this capability (e.g. "psp_migration").
3025
+ attr_accessor :protections
3026
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
3027
+ attr_accessor :requested
3028
+
3029
+ def initialize(protections: nil, requested: nil)
3030
+ @protections = protections
3031
+ @requested = requested
3032
+ end
3033
+ end
3034
+
3035
+ class CryptoWallets < ::Stripe::RequestParams
3036
+ class Protections < ::Stripe::RequestParams
3037
+ class PspMigration < ::Stripe::RequestParams
3038
+ # To request a protection, pass true.
3039
+ attr_accessor :requested
3040
+
3041
+ def initialize(requested: nil)
3042
+ @requested = requested
3043
+ end
3044
+ end
3045
+ # Parameter to request psp_migration protection.
3046
+ attr_accessor :psp_migration
3047
+
3048
+ def initialize(psp_migration: nil)
3049
+ @psp_migration = psp_migration
3050
+ end
3051
+ end
3052
+ # Protection types to request for this capability (e.g. "psp_migration").
3053
+ attr_accessor :protections
3054
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
3055
+ attr_accessor :requested
3056
+
3057
+ def initialize(protections: nil, requested: nil)
3058
+ @protections = protections
3059
+ @requested = requested
3060
+ end
3061
+ end
3062
+
3063
+ class FinancialAccounts < ::Stripe::RequestParams
3064
+ class Protections < ::Stripe::RequestParams
3065
+ class PspMigration < ::Stripe::RequestParams
3066
+ # To request a protection, pass true.
3067
+ attr_accessor :requested
3068
+
3069
+ def initialize(requested: nil)
3070
+ @requested = requested
3071
+ end
3072
+ end
3073
+ # Parameter to request psp_migration protection.
3074
+ attr_accessor :psp_migration
3075
+
3076
+ def initialize(psp_migration: nil)
3077
+ @psp_migration = psp_migration
3078
+ end
3079
+ end
3080
+ # Protection types to request for this capability (e.g. "psp_migration").
3081
+ attr_accessor :protections
3082
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
3083
+ attr_accessor :requested
3084
+
3085
+ def initialize(protections: nil, requested: nil)
3086
+ @protections = protections
3087
+ @requested = requested
3088
+ end
3089
+ end
3090
+
3091
+ class PaperChecks < ::Stripe::RequestParams
3092
+ class Protections < ::Stripe::RequestParams
3093
+ class PspMigration < ::Stripe::RequestParams
3094
+ # To request a protection, pass true.
3095
+ attr_accessor :requested
3096
+
3097
+ def initialize(requested: nil)
3098
+ @requested = requested
3099
+ end
3100
+ end
3101
+ # Parameter to request psp_migration protection.
3102
+ attr_accessor :psp_migration
3103
+
3104
+ def initialize(psp_migration: nil)
3105
+ @psp_migration = psp_migration
3106
+ end
3107
+ end
3108
+ # Protection types to request for this capability (e.g. "psp_migration").
3109
+ attr_accessor :protections
3110
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
3111
+ attr_accessor :requested
3112
+
3113
+ def initialize(protections: nil, requested: nil)
3114
+ @protections = protections
3115
+ @requested = requested
3116
+ end
3117
+ end
3118
+ # Can send funds from a FinancialAccount to a bank account owned by someone else.
3119
+ attr_accessor :bank_accounts
3120
+ # Can send funds from a FinancialAccount to a debit card owned by someone else.
3121
+ attr_accessor :cards
3122
+ # Can send funds from a FinancialAccount to a crypto wallet owned by someone else.
3123
+ attr_accessor :crypto_wallets
3124
+ # Can send funds from a FinancialAccount to another FinancialAccount owned by someone else.
3125
+ attr_accessor :financial_accounts
3126
+ # Can send funds from a FinancialAccount to someone else via paper check.
3127
+ attr_accessor :paper_checks
3128
+
3129
+ def initialize(
3130
+ bank_accounts: nil,
3131
+ cards: nil,
3132
+ crypto_wallets: nil,
3133
+ financial_accounts: nil,
3134
+ paper_checks: nil
3135
+ )
3136
+ @bank_accounts = bank_accounts
3137
+ @cards = cards
3138
+ @crypto_wallets = crypto_wallets
3139
+ @financial_accounts = financial_accounts
3140
+ @paper_checks = paper_checks
3141
+ end
3142
+ end
3143
+
3144
+ class OutboundTransfers < ::Stripe::RequestParams
3145
+ class BankAccounts < ::Stripe::RequestParams
3146
+ class Protections < ::Stripe::RequestParams
3147
+ class PspMigration < ::Stripe::RequestParams
3148
+ # To request a protection, pass true.
3149
+ attr_accessor :requested
3150
+
3151
+ def initialize(requested: nil)
3152
+ @requested = requested
3153
+ end
3154
+ end
3155
+ # Parameter to request psp_migration protection.
3156
+ attr_accessor :psp_migration
3157
+
3158
+ def initialize(psp_migration: nil)
3159
+ @psp_migration = psp_migration
3160
+ end
3161
+ end
3162
+ # Protection types to request for this capability (e.g. "psp_migration").
3163
+ attr_accessor :protections
3164
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
3165
+ attr_accessor :requested
3166
+
3167
+ def initialize(protections: nil, requested: nil)
3168
+ @protections = protections
3169
+ @requested = requested
3170
+ end
3171
+ end
3172
+
3173
+ class CryptoWallets < ::Stripe::RequestParams
3174
+ class Protections < ::Stripe::RequestParams
3175
+ class PspMigration < ::Stripe::RequestParams
3176
+ # To request a protection, pass true.
3177
+ attr_accessor :requested
3178
+
3179
+ def initialize(requested: nil)
3180
+ @requested = requested
3181
+ end
3182
+ end
3183
+ # Parameter to request psp_migration protection.
3184
+ attr_accessor :psp_migration
3185
+
3186
+ def initialize(psp_migration: nil)
3187
+ @psp_migration = psp_migration
3188
+ end
3189
+ end
3190
+ # Protection types to request for this capability (e.g. "psp_migration").
3191
+ attr_accessor :protections
3192
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
3193
+ attr_accessor :requested
3194
+
3195
+ def initialize(protections: nil, requested: nil)
3196
+ @protections = protections
3197
+ @requested = requested
3198
+ end
3199
+ end
3200
+
3201
+ class FinancialAccounts < ::Stripe::RequestParams
3202
+ class Protections < ::Stripe::RequestParams
3203
+ class PspMigration < ::Stripe::RequestParams
3204
+ # To request a protection, pass true.
3205
+ attr_accessor :requested
3206
+
3207
+ def initialize(requested: nil)
3208
+ @requested = requested
3209
+ end
3210
+ end
3211
+ # Parameter to request psp_migration protection.
3212
+ attr_accessor :psp_migration
3213
+
3214
+ def initialize(psp_migration: nil)
3215
+ @psp_migration = psp_migration
3216
+ end
3217
+ end
3218
+ # Protection types to request for this capability (e.g. "psp_migration").
3219
+ attr_accessor :protections
3220
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
3221
+ attr_accessor :requested
3222
+
3223
+ def initialize(protections: nil, requested: nil)
3224
+ @protections = protections
3225
+ @requested = requested
3226
+ end
3227
+ end
3228
+ # Can send funds from a FinancialAccount to a bank account owned by yourself.
3229
+ attr_accessor :bank_accounts
3230
+ # Can send funds from a FinancialAccount to a crypto wallet owned by yourself.
3231
+ attr_accessor :crypto_wallets
3232
+ # Can send funds from a FinancialAccount to another FinancialAccount owned by yourself.
3233
+ attr_accessor :financial_accounts
3234
+
3235
+ def initialize(bank_accounts: nil, crypto_wallets: nil, financial_accounts: nil)
3236
+ @bank_accounts = bank_accounts
3237
+ @crypto_wallets = crypto_wallets
3238
+ @financial_accounts = financial_accounts
3239
+ end
3240
+ end
3241
+
3242
+ class ReceivedCredits < ::Stripe::RequestParams
3243
+ class BankAccounts < ::Stripe::RequestParams
3244
+ class Protections < ::Stripe::RequestParams
3245
+ class PspMigration < ::Stripe::RequestParams
3246
+ # To request a protection, pass true.
3247
+ attr_accessor :requested
3248
+
3249
+ def initialize(requested: nil)
3250
+ @requested = requested
3251
+ end
3252
+ end
3253
+ # Parameter to request psp_migration protection.
3254
+ attr_accessor :psp_migration
3255
+
3256
+ def initialize(psp_migration: nil)
3257
+ @psp_migration = psp_migration
3258
+ end
3259
+ end
3260
+ # Protection types to request for this capability (e.g. "psp_migration").
3261
+ attr_accessor :protections
3262
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
3263
+ attr_accessor :requested
3264
+
3265
+ def initialize(protections: nil, requested: nil)
3266
+ @protections = protections
3267
+ @requested = requested
3268
+ end
3269
+ end
3270
+
3271
+ class CryptoWallets < ::Stripe::RequestParams
3272
+ class Protections < ::Stripe::RequestParams
3273
+ class PspMigration < ::Stripe::RequestParams
3274
+ # To request a protection, pass true.
3275
+ attr_accessor :requested
3276
+
3277
+ def initialize(requested: nil)
3278
+ @requested = requested
3279
+ end
3280
+ end
3281
+ # Parameter to request psp_migration protection.
3282
+ attr_accessor :psp_migration
3283
+
3284
+ def initialize(psp_migration: nil)
3285
+ @psp_migration = psp_migration
3286
+ end
3287
+ end
3288
+ # Protection types to request for this capability (e.g. "psp_migration").
3289
+ attr_accessor :protections
3290
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
3291
+ attr_accessor :requested
3292
+
3293
+ def initialize(protections: nil, requested: nil)
3294
+ @protections = protections
3295
+ @requested = requested
3296
+ end
3297
+ end
3298
+ # Can receive funds on a bank-account-like financial address (VBAN) to credit a FinancialAccount.
3299
+ attr_accessor :bank_accounts
3300
+ # Can receive funds on a crypto wallet like financial address to credit a FinancialAccount.
3301
+ attr_accessor :crypto_wallets
3302
+
3303
+ def initialize(bank_accounts: nil, crypto_wallets: nil)
3304
+ @bank_accounts = bank_accounts
3305
+ @crypto_wallets = crypto_wallets
3306
+ end
3307
+ end
3308
+
3309
+ class ReceivedDebits < ::Stripe::RequestParams
3310
+ class BankAccounts < ::Stripe::RequestParams
3311
+ class Protections < ::Stripe::RequestParams
3312
+ class PspMigration < ::Stripe::RequestParams
3313
+ # To request a protection, pass true.
3314
+ attr_accessor :requested
3315
+
3316
+ def initialize(requested: nil)
3317
+ @requested = requested
3318
+ end
3319
+ end
3320
+ # Parameter to request psp_migration protection.
3321
+ attr_accessor :psp_migration
3322
+
3323
+ def initialize(psp_migration: nil)
3324
+ @psp_migration = psp_migration
3325
+ end
3326
+ end
3327
+ # Protection types to request for this capability (e.g. "psp_migration").
3328
+ attr_accessor :protections
3329
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
3330
+ attr_accessor :requested
3331
+
3332
+ def initialize(protections: nil, requested: nil)
3333
+ @protections = protections
3334
+ @requested = requested
3335
+ end
3336
+ end
3337
+ # Can receive debits to a FinancialAccount from a bank account.
3338
+ attr_accessor :bank_accounts
3339
+
3340
+ def initialize(bank_accounts: nil)
3341
+ @bank_accounts = bank_accounts
3342
+ end
3343
+ end
3344
+ # Can send or receive business storage-type funds on Stripe.
3345
+ attr_accessor :business_storage
3346
+ # Can send or receive consumer storage-type funds on Stripe.
3347
+ attr_accessor :consumer_storage
3348
+ # Can pull funds from an external source, owned by yourself, to a FinancialAccount.
3349
+ attr_accessor :inbound_transfers
3350
+ # Can send funds from a FinancialAccount to a destination owned by someone else.
3351
+ attr_accessor :outbound_payments
3352
+ # Can send funds from a FinancialAccount to a destination owned by yourself.
3353
+ attr_accessor :outbound_transfers
3354
+ # Can receive funds on a financial address to credit a FinancialAccount.
3355
+ attr_accessor :received_credits
3356
+ # Can receive debits to a FinancialAccount.
3357
+ attr_accessor :received_debits
3358
+
3359
+ def initialize(
3360
+ business_storage: nil,
3361
+ consumer_storage: nil,
3362
+ inbound_transfers: nil,
3363
+ outbound_payments: nil,
3364
+ outbound_transfers: nil,
3365
+ received_credits: nil,
3366
+ received_debits: nil
3367
+ )
3368
+ @business_storage = business_storage
3369
+ @consumer_storage = consumer_storage
3370
+ @inbound_transfers = inbound_transfers
3371
+ @outbound_payments = outbound_payments
3372
+ @outbound_transfers = outbound_transfers
3373
+ @received_credits = received_credits
3374
+ @received_debits = received_debits
3375
+ end
3376
+ end
3377
+
3378
+ class RegulatedActivity < ::Stripe::RequestParams
3379
+ # A detailed description of the regulated activities the business is licensed to conduct.
3380
+ attr_accessor :description
3381
+ # The license number or registration number assigned by the business's primary regulator.
3382
+ attr_accessor :license_number
3383
+ # The country of the primary regulatory authority that oversees the business's regulated activities.
3384
+ attr_accessor :primary_regulatory_authority_country
3385
+ # The name of the primary regulatory authority that oversees the business's regulated activities.
3386
+ attr_accessor :primary_regulatory_authority_name
3387
+
3388
+ def initialize(
3389
+ description: nil,
3390
+ license_number: nil,
3391
+ primary_regulatory_authority_country: nil,
3392
+ primary_regulatory_authority_name: nil
3393
+ )
3394
+ @description = description
3395
+ @license_number = license_number
3396
+ @primary_regulatory_authority_country = primary_regulatory_authority_country
3397
+ @primary_regulatory_authority_name = primary_regulatory_authority_name
3398
+ end
3399
+ end
3400
+ # Represents the state of the configuration, and can be updated to deactivate or re-apply a configuration.
3401
+ attr_accessor :applied
3402
+ # Capabilities to request on the Money Manager Configuration.
3403
+ attr_accessor :capabilities
3404
+ # List of high-risk activities the business is involved in.
3405
+ attr_accessor :high_risk_activities
3406
+ # Description of the high-risk activities the business offers.
3407
+ attr_accessor :high_risk_activities_description
3408
+ # Description of the money services offered by the business.
3409
+ attr_accessor :money_services_description
3410
+ # Does the business operate in any prohibited countries.
3411
+ attr_accessor :operates_in_prohibited_countries
3412
+ # Indicates whether the business participates in any regulated activity.
3413
+ attr_accessor :participates_in_regulated_activity
3414
+ # Primary purpose of the stored funds.
3415
+ attr_accessor :purpose_of_funds
3416
+ # Description of the purpose of the stored funds.
3417
+ attr_accessor :purpose_of_funds_description
3418
+ # Details of the regulated activity if the business participates in one.
3419
+ attr_accessor :regulated_activity
3420
+ # The source of funds for the business, e.g. profits, income, venture capital, etc.
3421
+ attr_accessor :source_of_funds
3422
+ # Description of the source of funds for the business' account.
3423
+ attr_accessor :source_of_funds_description
3424
+
3425
+ def initialize(
3426
+ applied: nil,
3427
+ capabilities: nil,
3428
+ high_risk_activities: nil,
3429
+ high_risk_activities_description: nil,
3430
+ money_services_description: nil,
3431
+ operates_in_prohibited_countries: nil,
3432
+ participates_in_regulated_activity: nil,
3433
+ purpose_of_funds: nil,
3434
+ purpose_of_funds_description: nil,
3435
+ regulated_activity: nil,
3436
+ source_of_funds: nil,
3437
+ source_of_funds_description: nil
3438
+ )
3439
+ @applied = applied
3440
+ @capabilities = capabilities
3441
+ @high_risk_activities = high_risk_activities
3442
+ @high_risk_activities_description = high_risk_activities_description
3443
+ @money_services_description = money_services_description
3444
+ @operates_in_prohibited_countries = operates_in_prohibited_countries
3445
+ @participates_in_regulated_activity = participates_in_regulated_activity
3446
+ @purpose_of_funds = purpose_of_funds
3447
+ @purpose_of_funds_description = purpose_of_funds_description
3448
+ @regulated_activity = regulated_activity
3449
+ @source_of_funds = source_of_funds
3450
+ @source_of_funds_description = source_of_funds_description
3451
+ end
3452
+ end
3453
+
994
3454
  class Recipient < ::Stripe::RequestParams
995
3455
  class Capabilities < ::Stripe::RequestParams
3456
+ class BankAccounts < ::Stripe::RequestParams
3457
+ class Ach < ::Stripe::RequestParams
3458
+ class Protections < ::Stripe::RequestParams
3459
+ class PspMigration < ::Stripe::RequestParams
3460
+ # To request a protection, pass true.
3461
+ attr_accessor :requested
3462
+
3463
+ def initialize(requested: nil)
3464
+ @requested = requested
3465
+ end
3466
+ end
3467
+ # Parameter to request psp_migration protection.
3468
+ attr_accessor :psp_migration
3469
+
3470
+ def initialize(psp_migration: nil)
3471
+ @psp_migration = psp_migration
3472
+ end
3473
+ end
3474
+ # Protection types to request for this capability (e.g. "psp_migration").
3475
+ attr_accessor :protections
3476
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
3477
+ attr_accessor :requested
3478
+
3479
+ def initialize(protections: nil, requested: nil)
3480
+ @protections = protections
3481
+ @requested = requested
3482
+ end
3483
+ end
3484
+
3485
+ class Becs < ::Stripe::RequestParams
3486
+ class Protections < ::Stripe::RequestParams
3487
+ class PspMigration < ::Stripe::RequestParams
3488
+ # To request a protection, pass true.
3489
+ attr_accessor :requested
3490
+
3491
+ def initialize(requested: nil)
3492
+ @requested = requested
3493
+ end
3494
+ end
3495
+ # Parameter to request psp_migration protection.
3496
+ attr_accessor :psp_migration
3497
+
3498
+ def initialize(psp_migration: nil)
3499
+ @psp_migration = psp_migration
3500
+ end
3501
+ end
3502
+ # Protection types to request for this capability (e.g. "psp_migration").
3503
+ attr_accessor :protections
3504
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
3505
+ attr_accessor :requested
3506
+
3507
+ def initialize(protections: nil, requested: nil)
3508
+ @protections = protections
3509
+ @requested = requested
3510
+ end
3511
+ end
3512
+
3513
+ class Eft < ::Stripe::RequestParams
3514
+ class Protections < ::Stripe::RequestParams
3515
+ class PspMigration < ::Stripe::RequestParams
3516
+ # To request a protection, pass true.
3517
+ attr_accessor :requested
3518
+
3519
+ def initialize(requested: nil)
3520
+ @requested = requested
3521
+ end
3522
+ end
3523
+ # Parameter to request psp_migration protection.
3524
+ attr_accessor :psp_migration
3525
+
3526
+ def initialize(psp_migration: nil)
3527
+ @psp_migration = psp_migration
3528
+ end
3529
+ end
3530
+ # Protection types to request for this capability (e.g. "psp_migration").
3531
+ attr_accessor :protections
3532
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
3533
+ attr_accessor :requested
3534
+
3535
+ def initialize(protections: nil, requested: nil)
3536
+ @protections = protections
3537
+ @requested = requested
3538
+ end
3539
+ end
3540
+
3541
+ class Fedwire < ::Stripe::RequestParams
3542
+ class Protections < ::Stripe::RequestParams
3543
+ class PspMigration < ::Stripe::RequestParams
3544
+ # To request a protection, pass true.
3545
+ attr_accessor :requested
3546
+
3547
+ def initialize(requested: nil)
3548
+ @requested = requested
3549
+ end
3550
+ end
3551
+ # Parameter to request psp_migration protection.
3552
+ attr_accessor :psp_migration
3553
+
3554
+ def initialize(psp_migration: nil)
3555
+ @psp_migration = psp_migration
3556
+ end
3557
+ end
3558
+ # Protection types to request for this capability (e.g. "psp_migration").
3559
+ attr_accessor :protections
3560
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
3561
+ attr_accessor :requested
3562
+
3563
+ def initialize(protections: nil, requested: nil)
3564
+ @protections = protections
3565
+ @requested = requested
3566
+ end
3567
+ end
3568
+
3569
+ class Fps < ::Stripe::RequestParams
3570
+ class Protections < ::Stripe::RequestParams
3571
+ class PspMigration < ::Stripe::RequestParams
3572
+ # To request a protection, pass true.
3573
+ attr_accessor :requested
3574
+
3575
+ def initialize(requested: nil)
3576
+ @requested = requested
3577
+ end
3578
+ end
3579
+ # Parameter to request psp_migration protection.
3580
+ attr_accessor :psp_migration
3581
+
3582
+ def initialize(psp_migration: nil)
3583
+ @psp_migration = psp_migration
3584
+ end
3585
+ end
3586
+ # Protection types to request for this capability (e.g. "psp_migration").
3587
+ attr_accessor :protections
3588
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
3589
+ attr_accessor :requested
3590
+
3591
+ def initialize(protections: nil, requested: nil)
3592
+ @protections = protections
3593
+ @requested = requested
3594
+ end
3595
+ end
3596
+
3597
+ class Instant < ::Stripe::RequestParams
3598
+ class Protections < ::Stripe::RequestParams
3599
+ class PspMigration < ::Stripe::RequestParams
3600
+ # To request a protection, pass true.
3601
+ attr_accessor :requested
3602
+
3603
+ def initialize(requested: nil)
3604
+ @requested = requested
3605
+ end
3606
+ end
3607
+ # Parameter to request psp_migration protection.
3608
+ attr_accessor :psp_migration
3609
+
3610
+ def initialize(psp_migration: nil)
3611
+ @psp_migration = psp_migration
3612
+ end
3613
+ end
3614
+ # Protection types to request for this capability (e.g. "psp_migration").
3615
+ attr_accessor :protections
3616
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
3617
+ attr_accessor :requested
3618
+
3619
+ def initialize(protections: nil, requested: nil)
3620
+ @protections = protections
3621
+ @requested = requested
3622
+ end
3623
+ end
3624
+
3625
+ class Local < ::Stripe::RequestParams
3626
+ class Protections < ::Stripe::RequestParams
3627
+ class PspMigration < ::Stripe::RequestParams
3628
+ # To request a protection, pass true.
3629
+ attr_accessor :requested
3630
+
3631
+ def initialize(requested: nil)
3632
+ @requested = requested
3633
+ end
3634
+ end
3635
+ # Parameter to request psp_migration protection.
3636
+ attr_accessor :psp_migration
3637
+
3638
+ def initialize(psp_migration: nil)
3639
+ @psp_migration = psp_migration
3640
+ end
3641
+ end
3642
+ # Protection types to request for this capability (e.g. "psp_migration").
3643
+ attr_accessor :protections
3644
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
3645
+ attr_accessor :requested
3646
+
3647
+ def initialize(protections: nil, requested: nil)
3648
+ @protections = protections
3649
+ @requested = requested
3650
+ end
3651
+ end
3652
+
3653
+ class Npp < ::Stripe::RequestParams
3654
+ class Protections < ::Stripe::RequestParams
3655
+ class PspMigration < ::Stripe::RequestParams
3656
+ # To request a protection, pass true.
3657
+ attr_accessor :requested
3658
+
3659
+ def initialize(requested: nil)
3660
+ @requested = requested
3661
+ end
3662
+ end
3663
+ # Parameter to request psp_migration protection.
3664
+ attr_accessor :psp_migration
3665
+
3666
+ def initialize(psp_migration: nil)
3667
+ @psp_migration = psp_migration
3668
+ end
3669
+ end
3670
+ # Protection types to request for this capability (e.g. "psp_migration").
3671
+ attr_accessor :protections
3672
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
3673
+ attr_accessor :requested
3674
+
3675
+ def initialize(protections: nil, requested: nil)
3676
+ @protections = protections
3677
+ @requested = requested
3678
+ end
3679
+ end
3680
+
3681
+ class Rtp < ::Stripe::RequestParams
3682
+ class Protections < ::Stripe::RequestParams
3683
+ class PspMigration < ::Stripe::RequestParams
3684
+ # To request a protection, pass true.
3685
+ attr_accessor :requested
3686
+
3687
+ def initialize(requested: nil)
3688
+ @requested = requested
3689
+ end
3690
+ end
3691
+ # Parameter to request psp_migration protection.
3692
+ attr_accessor :psp_migration
3693
+
3694
+ def initialize(psp_migration: nil)
3695
+ @psp_migration = psp_migration
3696
+ end
3697
+ end
3698
+ # Protection types to request for this capability (e.g. "psp_migration").
3699
+ attr_accessor :protections
3700
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
3701
+ attr_accessor :requested
3702
+
3703
+ def initialize(protections: nil, requested: nil)
3704
+ @protections = protections
3705
+ @requested = requested
3706
+ end
3707
+ end
3708
+
3709
+ class SepaCredit < ::Stripe::RequestParams
3710
+ class Protections < ::Stripe::RequestParams
3711
+ class PspMigration < ::Stripe::RequestParams
3712
+ # To request a protection, pass true.
3713
+ attr_accessor :requested
3714
+
3715
+ def initialize(requested: nil)
3716
+ @requested = requested
3717
+ end
3718
+ end
3719
+ # Parameter to request psp_migration protection.
3720
+ attr_accessor :psp_migration
3721
+
3722
+ def initialize(psp_migration: nil)
3723
+ @psp_migration = psp_migration
3724
+ end
3725
+ end
3726
+ # Protection types to request for this capability (e.g. "psp_migration").
3727
+ attr_accessor :protections
3728
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
3729
+ attr_accessor :requested
3730
+
3731
+ def initialize(protections: nil, requested: nil)
3732
+ @protections = protections
3733
+ @requested = requested
3734
+ end
3735
+ end
3736
+
3737
+ class SepaInstant < ::Stripe::RequestParams
3738
+ class Protections < ::Stripe::RequestParams
3739
+ class PspMigration < ::Stripe::RequestParams
3740
+ # To request a protection, pass true.
3741
+ attr_accessor :requested
3742
+
3743
+ def initialize(requested: nil)
3744
+ @requested = requested
3745
+ end
3746
+ end
3747
+ # Parameter to request psp_migration protection.
3748
+ attr_accessor :psp_migration
3749
+
3750
+ def initialize(psp_migration: nil)
3751
+ @psp_migration = psp_migration
3752
+ end
3753
+ end
3754
+ # Protection types to request for this capability (e.g. "psp_migration").
3755
+ attr_accessor :protections
3756
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
3757
+ attr_accessor :requested
3758
+
3759
+ def initialize(protections: nil, requested: nil)
3760
+ @protections = protections
3761
+ @requested = requested
3762
+ end
3763
+ end
3764
+
3765
+ class Swift < ::Stripe::RequestParams
3766
+ class Protections < ::Stripe::RequestParams
3767
+ class PspMigration < ::Stripe::RequestParams
3768
+ # To request a protection, pass true.
3769
+ attr_accessor :requested
3770
+
3771
+ def initialize(requested: nil)
3772
+ @requested = requested
3773
+ end
3774
+ end
3775
+ # Parameter to request psp_migration protection.
3776
+ attr_accessor :psp_migration
3777
+
3778
+ def initialize(psp_migration: nil)
3779
+ @psp_migration = psp_migration
3780
+ end
3781
+ end
3782
+ # Protection types to request for this capability (e.g. "psp_migration").
3783
+ attr_accessor :protections
3784
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
3785
+ attr_accessor :requested
3786
+
3787
+ def initialize(protections: nil, requested: nil)
3788
+ @protections = protections
3789
+ @requested = requested
3790
+ end
3791
+ end
3792
+
3793
+ class Wire < ::Stripe::RequestParams
3794
+ class Protections < ::Stripe::RequestParams
3795
+ class PspMigration < ::Stripe::RequestParams
3796
+ # To request a protection, pass true.
3797
+ attr_accessor :requested
3798
+
3799
+ def initialize(requested: nil)
3800
+ @requested = requested
3801
+ end
3802
+ end
3803
+ # Parameter to request psp_migration protection.
3804
+ attr_accessor :psp_migration
3805
+
3806
+ def initialize(psp_migration: nil)
3807
+ @psp_migration = psp_migration
3808
+ end
3809
+ end
3810
+ # Protection types to request for this capability (e.g. "psp_migration").
3811
+ attr_accessor :protections
3812
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
3813
+ attr_accessor :requested
3814
+
3815
+ def initialize(protections: nil, requested: nil)
3816
+ @protections = protections
3817
+ @requested = requested
3818
+ end
3819
+ end
3820
+ # Enables this Account to receive OutboundPayments to linked bank accounts over ACH rails.
3821
+ attr_accessor :ach
3822
+ # Enables this Account to receive OutboundPayments to linked bank accounts over BECS rails.
3823
+ attr_accessor :becs
3824
+ # Enables this Account to receive OutboundPayments to linked bank accounts over EFT rails.
3825
+ attr_accessor :eft
3826
+ # Enables this Account to receive OutboundPayments to linked bank accounts over Fedwire or CHIPS.
3827
+ attr_accessor :fedwire
3828
+ # Enables this Account to receive OutboundPayments to linked bank accounts over FPS rails.
3829
+ attr_accessor :fps
3830
+ # Enables this Account to receive OutboundPayments to linked bank accounts over real time rails.
3831
+ attr_accessor :instant
3832
+ # Enables this Account to receive OutboundPayments to linked bank accounts over local networks.
3833
+ attr_accessor :local
3834
+ # Enables this Account to receive OutboundPayments to linked bank accounts over NPP (real time) rails.
3835
+ attr_accessor :npp
3836
+ # Enables this Account to receive OutboundPayments to linked bank accounts over RTP rails.
3837
+ attr_accessor :rtp
3838
+ # Enables this Account to receive OutboundPayments to linked bank accounts over SEPA credit rails.
3839
+ attr_accessor :sepa_credit
3840
+ # Enables this Account to receive OutboundPayments to linked bank accounts over SEPA instant (real time) rails.
3841
+ attr_accessor :sepa_instant
3842
+ # Enables this Account to receive OutboundPayments to linked bank accounts over SWIFT.
3843
+ attr_accessor :swift
3844
+ # Enables this Account to receive OutboundPayments to linked bank accounts over wire.
3845
+ attr_accessor :wire
3846
+
3847
+ def initialize(
3848
+ ach: nil,
3849
+ becs: nil,
3850
+ eft: nil,
3851
+ fedwire: nil,
3852
+ fps: nil,
3853
+ instant: nil,
3854
+ local: nil,
3855
+ npp: nil,
3856
+ rtp: nil,
3857
+ sepa_credit: nil,
3858
+ sepa_instant: nil,
3859
+ swift: nil,
3860
+ wire: nil
3861
+ )
3862
+ @ach = ach
3863
+ @becs = becs
3864
+ @eft = eft
3865
+ @fedwire = fedwire
3866
+ @fps = fps
3867
+ @instant = instant
3868
+ @local = local
3869
+ @npp = npp
3870
+ @rtp = rtp
3871
+ @sepa_credit = sepa_credit
3872
+ @sepa_instant = sepa_instant
3873
+ @swift = swift
3874
+ @wire = wire
3875
+ end
3876
+ end
3877
+
3878
+ class Cards < ::Stripe::RequestParams
3879
+ class Protections < ::Stripe::RequestParams
3880
+ class PspMigration < ::Stripe::RequestParams
3881
+ # To request a protection, pass true.
3882
+ attr_accessor :requested
3883
+
3884
+ def initialize(requested: nil)
3885
+ @requested = requested
3886
+ end
3887
+ end
3888
+ # Parameter to request psp_migration protection.
3889
+ attr_accessor :psp_migration
3890
+
3891
+ def initialize(psp_migration: nil)
3892
+ @psp_migration = psp_migration
3893
+ end
3894
+ end
3895
+ # Protection types to request for this capability (e.g. "psp_migration").
3896
+ attr_accessor :protections
3897
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
3898
+ attr_accessor :requested
3899
+
3900
+ def initialize(protections: nil, requested: nil)
3901
+ @protections = protections
3902
+ @requested = requested
3903
+ end
3904
+ end
3905
+
3906
+ class CryptoWallets < ::Stripe::RequestParams
3907
+ class Protections < ::Stripe::RequestParams
3908
+ class PspMigration < ::Stripe::RequestParams
3909
+ # To request a protection, pass true.
3910
+ attr_accessor :requested
3911
+
3912
+ def initialize(requested: nil)
3913
+ @requested = requested
3914
+ end
3915
+ end
3916
+ # Parameter to request psp_migration protection.
3917
+ attr_accessor :psp_migration
3918
+
3919
+ def initialize(psp_migration: nil)
3920
+ @psp_migration = psp_migration
3921
+ end
3922
+ end
3923
+ # Protection types to request for this capability (e.g. "psp_migration").
3924
+ attr_accessor :protections
3925
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
3926
+ attr_accessor :requested
3927
+
3928
+ def initialize(protections: nil, requested: nil)
3929
+ @protections = protections
3930
+ @requested = requested
3931
+ end
3932
+ end
3933
+
3934
+ class PaperChecks < ::Stripe::RequestParams
3935
+ class Protections < ::Stripe::RequestParams
3936
+ class PspMigration < ::Stripe::RequestParams
3937
+ # To request a protection, pass true.
3938
+ attr_accessor :requested
3939
+
3940
+ def initialize(requested: nil)
3941
+ @requested = requested
3942
+ end
3943
+ end
3944
+ # Parameter to request psp_migration protection.
3945
+ attr_accessor :psp_migration
3946
+
3947
+ def initialize(psp_migration: nil)
3948
+ @psp_migration = psp_migration
3949
+ end
3950
+ end
3951
+ # Protection types to request for this capability (e.g. "psp_migration").
3952
+ attr_accessor :protections
3953
+ # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
3954
+ attr_accessor :requested
3955
+
3956
+ def initialize(protections: nil, requested: nil)
3957
+ @protections = protections
3958
+ @requested = requested
3959
+ end
3960
+ end
3961
+
996
3962
  class StripeBalance < ::Stripe::RequestParams
997
3963
  class StripeTransfers < ::Stripe::RequestParams
3964
+ class Protections < ::Stripe::RequestParams
3965
+ class PspMigration < ::Stripe::RequestParams
3966
+ # To request a protection, pass true.
3967
+ attr_accessor :requested
3968
+
3969
+ def initialize(requested: nil)
3970
+ @requested = requested
3971
+ end
3972
+ end
3973
+ # Parameter to request psp_migration protection.
3974
+ attr_accessor :psp_migration
3975
+
3976
+ def initialize(psp_migration: nil)
3977
+ @psp_migration = psp_migration
3978
+ end
3979
+ end
3980
+ # Protection types to request for this capability (e.g. "psp_migration").
3981
+ attr_accessor :protections
998
3982
  # To request a new Capability for an account, pass true. There can be a delay before the requested Capability becomes active.
999
3983
  attr_accessor :requested
1000
3984
 
1001
- def initialize(requested: nil)
3985
+ def initialize(protections: nil, requested: nil)
3986
+ @protections = protections
1002
3987
  @requested = requested
1003
3988
  end
1004
3989
  end
@@ -1009,10 +3994,28 @@ module Stripe
1009
3994
  @stripe_transfers = stripe_transfers
1010
3995
  end
1011
3996
  end
3997
+ # Capabilities that enable OutboundPayments to a bank account linked to this Account.
3998
+ attr_accessor :bank_accounts
3999
+ # Capability that enable OutboundPayments to a debit card linked to this Account.
4000
+ attr_accessor :cards
4001
+ # Capabilities that enable OutboundPayments to a crypto wallet linked to this Account.
4002
+ attr_accessor :crypto_wallets
4003
+ # Capabilities that enable OutboundPayments via paper check.
4004
+ attr_accessor :paper_checks
1012
4005
  # Capabilities that enable the recipient to manage their Stripe Balance (/v1/balance).
1013
4006
  attr_accessor :stripe_balance
1014
4007
 
1015
- def initialize(stripe_balance: nil)
4008
+ def initialize(
4009
+ bank_accounts: nil,
4010
+ cards: nil,
4011
+ crypto_wallets: nil,
4012
+ paper_checks: nil,
4013
+ stripe_balance: nil
4014
+ )
4015
+ @bank_accounts = bank_accounts
4016
+ @cards = cards
4017
+ @crypto_wallets = crypto_wallets
4018
+ @paper_checks = paper_checks
1016
4019
  @stripe_balance = stripe_balance
1017
4020
  end
1018
4021
  end
@@ -1020,22 +4023,37 @@ module Stripe
1020
4023
  attr_accessor :applied
1021
4024
  # Capabilities to request on the Recipient Configuration.
1022
4025
  attr_accessor :capabilities
4026
+ # The payout method id to be used as a default outbound destination. This will allow the PayoutMethod to be omitted on OutboundPayments made through API or sending payouts via dashboard. Can also be explicitly set to `null` to clear the existing default outbound destination. For further details about creating an Outbound Destination, see [Collect recipient's payment details](https://docs.stripe.com/global-payouts-private-preview/quickstart?dashboard-or-api=api#collect-bank-account-details).
4027
+ attr_accessor :default_outbound_destination
1023
4028
 
1024
- def initialize(applied: nil, capabilities: nil)
4029
+ def initialize(applied: nil, capabilities: nil, default_outbound_destination: nil)
1025
4030
  @applied = applied
1026
4031
  @capabilities = capabilities
4032
+ @default_outbound_destination = default_outbound_destination
1027
4033
  end
1028
4034
  end
4035
+ # The CardCreator Configuration allows the Account to create and issue cards to users.
4036
+ attr_accessor :card_creator
1029
4037
  # The Customer Configuration allows the Account to be charged.
1030
4038
  attr_accessor :customer
1031
4039
  # Enables the Account to act as a connected account and collect payments facilitated by a Connect platform. You must onboard your platform to Connect before you can add this configuration to your connected accounts. Utilize this configuration when the Account will be the Merchant of Record, like with Direct charges or Destination Charges with on_behalf_of set.
1032
4040
  attr_accessor :merchant
4041
+ # The Money Manager Configuration allows the Account to store and move funds using FinancialAccounts.
4042
+ attr_accessor :money_manager
1033
4043
  # The Recipient Configuration allows the Account to receive funds. Utilize this configuration if the Account will not be the Merchant of Record, like with Separate Charges & Transfers, or Destination Charges without on_behalf_of set.
1034
4044
  attr_accessor :recipient
1035
4045
 
1036
- def initialize(customer: nil, merchant: nil, recipient: nil)
4046
+ def initialize(
4047
+ card_creator: nil,
4048
+ customer: nil,
4049
+ merchant: nil,
4050
+ money_manager: nil,
4051
+ recipient: nil
4052
+ )
4053
+ @card_creator = card_creator
1037
4054
  @customer = customer
1038
4055
  @merchant = merchant
4056
+ @money_manager = money_manager
1039
4057
  @recipient = recipient
1040
4058
  end
1041
4059
  end
@@ -1061,10 +4079,13 @@ module Stripe
1061
4079
  attr_accessor :fees_collector
1062
4080
  # A value indicating who is responsible for losses when this Account can’t pay back negative balances from payments.
1063
4081
  attr_accessor :losses_collector
4082
+ # A value indicating the party responsible for collecting requirements on this account.
4083
+ attr_accessor :requirements_collector
1064
4084
 
1065
- def initialize(fees_collector: nil, losses_collector: nil)
4085
+ def initialize(fees_collector: nil, losses_collector: nil, requirements_collector: nil)
1066
4086
  @fees_collector = fees_collector
1067
4087
  @losses_collector = losses_collector
4088
+ @requirements_collector = requirements_collector
1068
4089
  end
1069
4090
  end
1070
4091
  # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
@@ -1075,12 +4096,21 @@ module Stripe
1075
4096
  attr_accessor :profile
1076
4097
  # Default responsibilities held by either Stripe or the platform.
1077
4098
  attr_accessor :responsibilities
4099
+ # 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).
4100
+ attr_accessor :timezone
1078
4101
 
1079
- def initialize(currency: nil, locales: nil, profile: nil, responsibilities: nil)
4102
+ def initialize(
4103
+ currency: nil,
4104
+ locales: nil,
4105
+ profile: nil,
4106
+ responsibilities: nil,
4107
+ timezone: nil
4108
+ )
1080
4109
  @currency = currency
1081
4110
  @locales = locales
1082
4111
  @profile = profile
1083
4112
  @responsibilities = responsibilities
4113
+ @timezone = timezone
1084
4114
  end
1085
4115
  end
1086
4116
 
@@ -1170,6 +4200,903 @@ module Stripe
1170
4200
  end
1171
4201
  end
1172
4202
 
4203
+ class CardCreator < ::Stripe::RequestParams
4204
+ class Commercial < ::Stripe::RequestParams
4205
+ class AccountHolder < ::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 Celtic < ::Stripe::RequestParams
4221
+ class ApplePay < ::Stripe::RequestParams
4222
+ # 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.
4223
+ attr_accessor :date
4224
+ # The IP address from which the Account's representative accepted the terms of service.
4225
+ attr_accessor :ip
4226
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
4227
+ attr_accessor :user_agent
4228
+
4229
+ def initialize(date: nil, ip: nil, user_agent: nil)
4230
+ @date = date
4231
+ @ip = ip
4232
+ @user_agent = user_agent
4233
+ end
4234
+ end
4235
+
4236
+ class ChargeCard < ::Stripe::RequestParams
4237
+ class BankTerms < ::Stripe::RequestParams
4238
+ # 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.
4239
+ attr_accessor :date
4240
+ # The IP address from which the Account's representative accepted the terms of service.
4241
+ attr_accessor :ip
4242
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
4243
+ attr_accessor :user_agent
4244
+
4245
+ def initialize(date: nil, ip: nil, user_agent: nil)
4246
+ @date = date
4247
+ @ip = ip
4248
+ @user_agent = user_agent
4249
+ end
4250
+ end
4251
+
4252
+ class Platform < ::Stripe::RequestParams
4253
+ # The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
4254
+ attr_accessor :date
4255
+ # The IP address from which the Account's representative accepted the terms of service.
4256
+ attr_accessor :ip
4257
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
4258
+ attr_accessor :user_agent
4259
+
4260
+ def initialize(date: nil, ip: nil, user_agent: nil)
4261
+ @date = date
4262
+ @ip = ip
4263
+ @user_agent = user_agent
4264
+ end
4265
+ end
4266
+ # Bank terms of service acceptance for commercial issuing charge cards with Celtic as BIN sponsor.
4267
+ attr_accessor :bank_terms
4268
+ # Platform terms of service acceptance for commercial issuing charge cards with Celtic as BIN sponsor.
4269
+ attr_accessor :platform
4270
+
4271
+ def initialize(bank_terms: nil, platform: nil)
4272
+ @bank_terms = bank_terms
4273
+ @platform = platform
4274
+ end
4275
+ end
4276
+
4277
+ class SpendCard < ::Stripe::RequestParams
4278
+ class BankTerms < ::Stripe::RequestParams
4279
+ # 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.
4280
+ attr_accessor :date
4281
+ # The IP address from which the Account's representative accepted the terms of service.
4282
+ attr_accessor :ip
4283
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
4284
+ attr_accessor :user_agent
4285
+
4286
+ def initialize(date: nil, ip: nil, user_agent: nil)
4287
+ @date = date
4288
+ @ip = ip
4289
+ @user_agent = user_agent
4290
+ end
4291
+ end
4292
+
4293
+ class FinancingDisclosures < ::Stripe::RequestParams
4294
+ # 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.
4295
+ attr_accessor :date
4296
+ # The IP address from which the Account's representative accepted the terms of service.
4297
+ attr_accessor :ip
4298
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
4299
+ attr_accessor :user_agent
4300
+
4301
+ def initialize(date: nil, ip: nil, user_agent: nil)
4302
+ @date = date
4303
+ @ip = ip
4304
+ @user_agent = user_agent
4305
+ end
4306
+ end
4307
+
4308
+ class Platform < ::Stripe::RequestParams
4309
+ # 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.
4310
+ attr_accessor :date
4311
+ # The IP address from which the Account's representative accepted the terms of service.
4312
+ attr_accessor :ip
4313
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
4314
+ attr_accessor :user_agent
4315
+
4316
+ def initialize(date: nil, ip: nil, user_agent: nil)
4317
+ @date = date
4318
+ @ip = ip
4319
+ @user_agent = user_agent
4320
+ end
4321
+ end
4322
+ # Bank terms of service acceptance for commercial issuing spend cards with Celtic as BIN sponsor.
4323
+ attr_accessor :bank_terms
4324
+ # Financial disclosures terms of service acceptance for commercial issuing spend cards with Celtic as BIN sponsor.
4325
+ attr_accessor :financing_disclosures
4326
+ # Platform terms of service acceptance for commercial issuing spend cards with Celtic as BIN sponsor.
4327
+ attr_accessor :platform
4328
+
4329
+ def initialize(bank_terms: nil, financing_disclosures: nil, platform: nil)
4330
+ @bank_terms = bank_terms
4331
+ @financing_disclosures = financing_disclosures
4332
+ @platform = platform
4333
+ end
4334
+ end
4335
+ # Terms of service acceptances for commercial issuing Apple Pay cards with Celtic as BIN sponsor.
4336
+ attr_accessor :apple_pay
4337
+ # Terms of service acceptances for commercial issuing charge cards with Celtic as BIN sponsor.
4338
+ attr_accessor :charge_card
4339
+ # Terms of service acceptances for commercial issuing spend cards with Celtic as BIN sponsor.
4340
+ attr_accessor :spend_card
4341
+
4342
+ def initialize(apple_pay: nil, charge_card: nil, spend_card: nil)
4343
+ @apple_pay = apple_pay
4344
+ @charge_card = charge_card
4345
+ @spend_card = spend_card
4346
+ end
4347
+ end
4348
+
4349
+ class CrossRiverBank < ::Stripe::RequestParams
4350
+ class ApplePay < ::Stripe::RequestParams
4351
+ # 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.
4352
+ attr_accessor :date
4353
+ # The IP address from which the Account's representative accepted the terms of service.
4354
+ attr_accessor :ip
4355
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
4356
+ attr_accessor :user_agent
4357
+
4358
+ def initialize(date: nil, ip: nil, user_agent: nil)
4359
+ @date = date
4360
+ @ip = ip
4361
+ @user_agent = user_agent
4362
+ end
4363
+ end
4364
+
4365
+ class ChargeCard < ::Stripe::RequestParams
4366
+ class BankTerms < ::Stripe::RequestParams
4367
+ # 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.
4368
+ attr_accessor :date
4369
+ # The IP address from which the Account's representative accepted the terms of service.
4370
+ attr_accessor :ip
4371
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
4372
+ attr_accessor :user_agent
4373
+
4374
+ def initialize(date: nil, ip: nil, user_agent: nil)
4375
+ @date = date
4376
+ @ip = ip
4377
+ @user_agent = user_agent
4378
+ end
4379
+ end
4380
+
4381
+ class FinancingDisclosures < ::Stripe::RequestParams
4382
+ # 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.
4383
+ attr_accessor :date
4384
+ # The IP address from which the Account's representative accepted the terms of service.
4385
+ attr_accessor :ip
4386
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
4387
+ attr_accessor :user_agent
4388
+
4389
+ def initialize(date: nil, ip: nil, user_agent: nil)
4390
+ @date = date
4391
+ @ip = ip
4392
+ @user_agent = user_agent
4393
+ end
4394
+ end
4395
+
4396
+ class Platform < ::Stripe::RequestParams
4397
+ # 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.
4398
+ attr_accessor :date
4399
+ # The IP address from which the Account's representative accepted the terms of service.
4400
+ attr_accessor :ip
4401
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
4402
+ attr_accessor :user_agent
4403
+
4404
+ def initialize(date: nil, ip: nil, user_agent: nil)
4405
+ @date = date
4406
+ @ip = ip
4407
+ @user_agent = user_agent
4408
+ end
4409
+ end
4410
+ # Bank terms of service acceptance for commercial issuing charge cards with Cross River Bank as BIN sponsor.
4411
+ attr_accessor :bank_terms
4412
+ # Financial disclosures terms of service acceptance for commercial issuing charge cards with Cross River Bank as BIN sponsor.
4413
+ attr_accessor :financing_disclosures
4414
+ # Platform terms of service acceptance for commercial issuing charge cards with Cross River Bank as BIN sponsor.
4415
+ attr_accessor :platform
4416
+
4417
+ def initialize(bank_terms: nil, financing_disclosures: nil, platform: nil)
4418
+ @bank_terms = bank_terms
4419
+ @financing_disclosures = financing_disclosures
4420
+ @platform = platform
4421
+ end
4422
+ end
4423
+
4424
+ class PrepaidCard < ::Stripe::RequestParams
4425
+ class BankTerms < ::Stripe::RequestParams
4426
+ # 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.
4427
+ attr_accessor :date
4428
+ # The IP address from which the Account's representative accepted the terms of service.
4429
+ attr_accessor :ip
4430
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
4431
+ attr_accessor :user_agent
4432
+
4433
+ def initialize(date: nil, ip: nil, user_agent: nil)
4434
+ @date = date
4435
+ @ip = ip
4436
+ @user_agent = user_agent
4437
+ end
4438
+ end
4439
+
4440
+ class Platform < ::Stripe::RequestParams
4441
+ # 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.
4442
+ attr_accessor :date
4443
+ # The IP address from which the Account's representative accepted the terms of service.
4444
+ attr_accessor :ip
4445
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
4446
+ attr_accessor :user_agent
4447
+
4448
+ def initialize(date: nil, ip: nil, user_agent: nil)
4449
+ @date = date
4450
+ @ip = ip
4451
+ @user_agent = user_agent
4452
+ end
4453
+ end
4454
+ # Bank terms of service acceptance for commercial issuing prepaid cards with Cross River Bank as BIN sponsor.
4455
+ attr_accessor :bank_terms
4456
+ # Platform terms of service acceptance for commercial issuing prepaid cards with Cross River Bank as BIN sponsor.
4457
+ attr_accessor :platform
4458
+
4459
+ def initialize(bank_terms: nil, platform: nil)
4460
+ @bank_terms = bank_terms
4461
+ @platform = platform
4462
+ end
4463
+ end
4464
+
4465
+ class SpendCard < ::Stripe::RequestParams
4466
+ class BankTerms < ::Stripe::RequestParams
4467
+ # 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.
4468
+ attr_accessor :date
4469
+ # The IP address from which the Account's representative accepted the terms of service.
4470
+ attr_accessor :ip
4471
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
4472
+ attr_accessor :user_agent
4473
+
4474
+ def initialize(date: nil, ip: nil, user_agent: nil)
4475
+ @date = date
4476
+ @ip = ip
4477
+ @user_agent = user_agent
4478
+ end
4479
+ end
4480
+
4481
+ class FinancingDisclosures < ::Stripe::RequestParams
4482
+ # 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.
4483
+ attr_accessor :date
4484
+ # The IP address from which the Account's representative accepted the terms of service.
4485
+ attr_accessor :ip
4486
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
4487
+ attr_accessor :user_agent
4488
+
4489
+ def initialize(date: nil, ip: nil, user_agent: nil)
4490
+ @date = date
4491
+ @ip = ip
4492
+ @user_agent = user_agent
4493
+ end
4494
+ end
4495
+ # Bank terms of service acceptance for commercial issuing spend cards with Cross River Bank as BIN sponsor.
4496
+ attr_accessor :bank_terms
4497
+ # Financial disclosures terms of service acceptance for commercial issuing spend cards with Cross River Bank as BIN sponsor.
4498
+ attr_accessor :financing_disclosures
4499
+
4500
+ def initialize(bank_terms: nil, financing_disclosures: nil)
4501
+ @bank_terms = bank_terms
4502
+ @financing_disclosures = financing_disclosures
4503
+ end
4504
+ end
4505
+ # Terms of service acceptances for commercial issuing Apple Pay cards with Cross River Bank as BIN sponsor.
4506
+ attr_accessor :apple_pay
4507
+ # Terms of service acceptances for commercial issuing charge cards with Cross River Bank as BIN sponsor.
4508
+ attr_accessor :charge_card
4509
+ # Terms of service acceptances for commercial issuing prepaid cards with Cross River Bank as BIN sponsor.
4510
+ attr_accessor :prepaid_card
4511
+ # Terms of service acceptances for commercial issuing spend cards with Cross River Bank as BIN sponsor.
4512
+ attr_accessor :spend_card
4513
+
4514
+ def initialize(
4515
+ apple_pay: nil,
4516
+ charge_card: nil,
4517
+ prepaid_card: nil,
4518
+ spend_card: nil
4519
+ )
4520
+ @apple_pay = apple_pay
4521
+ @charge_card = charge_card
4522
+ @prepaid_card = prepaid_card
4523
+ @spend_card = spend_card
4524
+ end
4525
+ end
4526
+
4527
+ class FifthThird < ::Stripe::RequestParams
4528
+ class ApplePay < ::Stripe::RequestParams
4529
+ # The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
4530
+ attr_accessor :date
4531
+ # The IP address from which the Account's representative accepted the terms of service.
4532
+ attr_accessor :ip
4533
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
4534
+ attr_accessor :user_agent
4535
+
4536
+ def initialize(date: nil, ip: nil, user_agent: nil)
4537
+ @date = date
4538
+ @ip = ip
4539
+ @user_agent = user_agent
4540
+ end
4541
+ end
4542
+
4543
+ class ChargeCard < ::Stripe::RequestParams
4544
+ class BankTerms < ::Stripe::RequestParams
4545
+ # 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.
4546
+ attr_accessor :date
4547
+ # The IP address from which the Account's representative accepted the terms of service.
4548
+ attr_accessor :ip
4549
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
4550
+ attr_accessor :user_agent
4551
+
4552
+ def initialize(date: nil, ip: nil, user_agent: nil)
4553
+ @date = date
4554
+ @ip = ip
4555
+ @user_agent = user_agent
4556
+ end
4557
+ end
4558
+
4559
+ class Platform < ::Stripe::RequestParams
4560
+ # 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.
4561
+ attr_accessor :date
4562
+ # The IP address from which the Account's representative accepted the terms of service.
4563
+ attr_accessor :ip
4564
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
4565
+ attr_accessor :user_agent
4566
+
4567
+ def initialize(date: nil, ip: nil, user_agent: nil)
4568
+ @date = date
4569
+ @ip = ip
4570
+ @user_agent = user_agent
4571
+ end
4572
+ end
4573
+ # Bank terms of service acceptance for commercial issuing charge cards with Fifth Third as BIN sponsor.
4574
+ attr_accessor :bank_terms
4575
+ # Platform terms of service acceptance for commercial issuing charge cards with Fifth Third as BIN sponsor.
4576
+ attr_accessor :platform
4577
+
4578
+ def initialize(bank_terms: nil, platform: nil)
4579
+ @bank_terms = bank_terms
4580
+ @platform = platform
4581
+ end
4582
+ end
4583
+ # Terms of service acceptances for commercial issuing Apple Pay cards with Fifth Third as BIN sponsor.
4584
+ attr_accessor :apple_pay
4585
+ # Terms of service acceptances for commercial issuing charge cards with Fifth Third as BIN sponsor.
4586
+ attr_accessor :charge_card
4587
+
4588
+ def initialize(apple_pay: nil, charge_card: nil)
4589
+ @apple_pay = apple_pay
4590
+ @charge_card = charge_card
4591
+ end
4592
+ end
4593
+
4594
+ class GlobalAccountHolder < ::Stripe::RequestParams
4595
+ # 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.
4596
+ attr_accessor :date
4597
+ # The IP address from which the Account's representative accepted the terms of service.
4598
+ attr_accessor :ip
4599
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
4600
+ attr_accessor :user_agent
4601
+
4602
+ def initialize(date: nil, ip: nil, user_agent: nil)
4603
+ @date = date
4604
+ @ip = ip
4605
+ @user_agent = user_agent
4606
+ end
4607
+ end
4608
+
4609
+ class Lead < ::Stripe::RequestParams
4610
+ class ApplePay < ::Stripe::RequestParams
4611
+ # 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.
4612
+ attr_accessor :date
4613
+ # The IP address from which the Account's representative accepted the terms of service.
4614
+ attr_accessor :ip
4615
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
4616
+ attr_accessor :user_agent
4617
+
4618
+ def initialize(date: nil, ip: nil, user_agent: nil)
4619
+ @date = date
4620
+ @ip = ip
4621
+ @user_agent = user_agent
4622
+ end
4623
+ end
4624
+
4625
+ class PrepaidCard < ::Stripe::RequestParams
4626
+ class BankTerms < ::Stripe::RequestParams
4627
+ # 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.
4628
+ attr_accessor :date
4629
+ # The IP address from which the Account's representative accepted the terms of service.
4630
+ attr_accessor :ip
4631
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
4632
+ attr_accessor :user_agent
4633
+
4634
+ def initialize(date: nil, ip: nil, user_agent: nil)
4635
+ @date = date
4636
+ @ip = ip
4637
+ @user_agent = user_agent
4638
+ end
4639
+ end
4640
+
4641
+ class Platform < ::Stripe::RequestParams
4642
+ # The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
4643
+ attr_accessor :date
4644
+ # The IP address from which the Account's representative accepted the terms of service.
4645
+ attr_accessor :ip
4646
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
4647
+ attr_accessor :user_agent
4648
+
4649
+ def initialize(date: nil, ip: nil, user_agent: nil)
4650
+ @date = date
4651
+ @ip = ip
4652
+ @user_agent = user_agent
4653
+ end
4654
+ end
4655
+ # Bank terms of service acceptance for commercial issuing prepaid cards with Lead as BIN sponsor.
4656
+ attr_accessor :bank_terms
4657
+ # Platform terms of service acceptance for commercial issuing prepaid cards with Lead as BIN sponsor.
4658
+ attr_accessor :platform
4659
+
4660
+ def initialize(bank_terms: nil, platform: nil)
4661
+ @bank_terms = bank_terms
4662
+ @platform = platform
4663
+ end
4664
+ end
4665
+ # Terms of service acceptances for commercial issuing Apple Pay cards with Lead as BIN sponsor.
4666
+ attr_accessor :apple_pay
4667
+ # Terms of service acceptances for commercial issuing prepaid cards with Lead as BIN sponsor.
4668
+ attr_accessor :prepaid_card
4669
+
4670
+ def initialize(apple_pay: nil, prepaid_card: nil)
4671
+ @apple_pay = apple_pay
4672
+ @prepaid_card = prepaid_card
4673
+ end
4674
+ end
4675
+ # Terms of service acceptances for Stripe commercial card issuing.
4676
+ attr_accessor :account_holder
4677
+ # Terms of service acceptances for commercial issuing cards with Celtic as BIN sponsor.
4678
+ attr_accessor :celtic
4679
+ # Terms of service acceptances for commercial issuing cards with Cross River Bank as BIN sponsor.
4680
+ attr_accessor :cross_river_bank
4681
+ # Terms of service acceptances for commercial issuing cards with Fifth Third as BIN sponsor.
4682
+ attr_accessor :fifth_third
4683
+ # Terms of service acceptances for Stripe commercial card Global issuing.
4684
+ attr_accessor :global_account_holder
4685
+ # Terms of service acceptances for commercial issuing cards with Lead as BIN sponsor.
4686
+ attr_accessor :lead
4687
+
4688
+ def initialize(
4689
+ account_holder: nil,
4690
+ celtic: nil,
4691
+ cross_river_bank: nil,
4692
+ fifth_third: nil,
4693
+ global_account_holder: nil,
4694
+ lead: nil
4695
+ )
4696
+ @account_holder = account_holder
4697
+ @celtic = celtic
4698
+ @cross_river_bank = cross_river_bank
4699
+ @fifth_third = fifth_third
4700
+ @global_account_holder = global_account_holder
4701
+ @lead = lead
4702
+ end
4703
+ end
4704
+
4705
+ class Consumer < ::Stripe::RequestParams
4706
+ class AccountHolder < ::Stripe::RequestParams
4707
+ # 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.
4708
+ attr_accessor :date
4709
+ # The IP address from which the Account's representative accepted the terms of service.
4710
+ attr_accessor :ip
4711
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
4712
+ attr_accessor :user_agent
4713
+
4714
+ def initialize(date: nil, ip: nil, user_agent: nil)
4715
+ @date = date
4716
+ @ip = ip
4717
+ @user_agent = user_agent
4718
+ end
4719
+ end
4720
+
4721
+ class Celtic < ::Stripe::RequestParams
4722
+ class ApplePay < ::Stripe::RequestParams
4723
+ # 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.
4724
+ attr_accessor :date
4725
+ # The IP address from which the Account's representative accepted the terms of service.
4726
+ attr_accessor :ip
4727
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
4728
+ attr_accessor :user_agent
4729
+
4730
+ def initialize(date: nil, ip: nil, user_agent: nil)
4731
+ @date = date
4732
+ @ip = ip
4733
+ @user_agent = user_agent
4734
+ end
4735
+ end
4736
+
4737
+ class RevolvingCreditCard < ::Stripe::RequestParams
4738
+ class BankTerms < ::Stripe::RequestParams
4739
+ # 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.
4740
+ attr_accessor :date
4741
+ # The IP address from which the Account's representative accepted the terms of service.
4742
+ attr_accessor :ip
4743
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
4744
+ attr_accessor :user_agent
4745
+
4746
+ def initialize(date: nil, ip: nil, user_agent: nil)
4747
+ @date = date
4748
+ @ip = ip
4749
+ @user_agent = user_agent
4750
+ end
4751
+ end
4752
+
4753
+ class FinancingDisclosures < ::Stripe::RequestParams
4754
+ # The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
4755
+ attr_accessor :date
4756
+ # The IP address from which the Account's representative accepted the terms of service.
4757
+ attr_accessor :ip
4758
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
4759
+ attr_accessor :user_agent
4760
+
4761
+ def initialize(date: nil, ip: nil, user_agent: nil)
4762
+ @date = date
4763
+ @ip = ip
4764
+ @user_agent = user_agent
4765
+ end
4766
+ end
4767
+
4768
+ class Platform < ::Stripe::RequestParams
4769
+ # 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.
4770
+ attr_accessor :date
4771
+ # The IP address from which the Account's representative accepted the terms of service.
4772
+ attr_accessor :ip
4773
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
4774
+ attr_accessor :user_agent
4775
+
4776
+ def initialize(date: nil, ip: nil, user_agent: nil)
4777
+ @date = date
4778
+ @ip = ip
4779
+ @user_agent = user_agent
4780
+ end
4781
+ end
4782
+ # Bank terms of service acceptance for consumer issuing spend cards with Celtic as BIN sponsor.
4783
+ attr_accessor :bank_terms
4784
+ # Financial disclosures terms of service acceptance for consumer issuing spend cards with Celtic as BIN sponsor.
4785
+ attr_accessor :financing_disclosures
4786
+ # Platform terms of service acceptance for consumer issuing spend cards with Celtic as BIN sponsor.
4787
+ attr_accessor :platform
4788
+
4789
+ def initialize(bank_terms: nil, financing_disclosures: nil, platform: nil)
4790
+ @bank_terms = bank_terms
4791
+ @financing_disclosures = financing_disclosures
4792
+ @platform = platform
4793
+ end
4794
+ end
4795
+ # Terms of service acceptances for consumer issuing Apple Pay cards with Celtic as BIN sponsor.
4796
+ attr_accessor :apple_pay
4797
+ # Terms of service acceptances for consumer issuing revolving credit cards with Celtic as BIN sponsor.
4798
+ attr_accessor :revolving_credit_card
4799
+
4800
+ def initialize(apple_pay: nil, revolving_credit_card: nil)
4801
+ @apple_pay = apple_pay
4802
+ @revolving_credit_card = revolving_credit_card
4803
+ end
4804
+ end
4805
+
4806
+ class CrossRiverBank < ::Stripe::RequestParams
4807
+ class PrepaidCard < ::Stripe::RequestParams
4808
+ class BankTerms < ::Stripe::RequestParams
4809
+ # 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.
4810
+ attr_accessor :date
4811
+ # The IP address from which the Account's representative accepted the terms of service.
4812
+ attr_accessor :ip
4813
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
4814
+ attr_accessor :user_agent
4815
+
4816
+ def initialize(date: nil, ip: nil, user_agent: nil)
4817
+ @date = date
4818
+ @ip = ip
4819
+ @user_agent = user_agent
4820
+ end
4821
+ end
4822
+
4823
+ class FinancingDisclosures < ::Stripe::RequestParams
4824
+ # 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.
4825
+ attr_accessor :date
4826
+ # The IP address from which the Account's representative accepted the terms of service.
4827
+ attr_accessor :ip
4828
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
4829
+ attr_accessor :user_agent
4830
+
4831
+ def initialize(date: nil, ip: nil, user_agent: nil)
4832
+ @date = date
4833
+ @ip = ip
4834
+ @user_agent = user_agent
4835
+ end
4836
+ end
4837
+
4838
+ class Platform < ::Stripe::RequestParams
4839
+ # 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.
4840
+ attr_accessor :date
4841
+ # The IP address from which the Account's representative accepted the terms of service.
4842
+ attr_accessor :ip
4843
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
4844
+ attr_accessor :user_agent
4845
+
4846
+ def initialize(date: nil, ip: nil, user_agent: nil)
4847
+ @date = date
4848
+ @ip = ip
4849
+ @user_agent = user_agent
4850
+ end
4851
+ end
4852
+ # Bank terms of service acceptance for consumer issuing prepaid cards with Cross River Bank as BIN sponsor.
4853
+ attr_accessor :bank_terms
4854
+ # Financial disclosures terms of service acceptance for consumer issuing prepaid cards with Cross River Bank as BIN sponsor.
4855
+ attr_accessor :financing_disclosures
4856
+ # Platform terms of service acceptance for consumer issuing prepaid cards with Cross River Bank as BIN sponsor.
4857
+ attr_accessor :platform
4858
+
4859
+ def initialize(bank_terms: nil, financing_disclosures: nil, platform: nil)
4860
+ @bank_terms = bank_terms
4861
+ @financing_disclosures = financing_disclosures
4862
+ @platform = platform
4863
+ end
4864
+ end
4865
+ # Terms of service acceptances for consumer issuing prepaid cards with Cross River Bank as BIN sponsor.
4866
+ attr_accessor :prepaid_card
4867
+
4868
+ def initialize(prepaid_card: nil)
4869
+ @prepaid_card = prepaid_card
4870
+ end
4871
+ end
4872
+
4873
+ class GlobalAccountHolder < ::Stripe::RequestParams
4874
+ # 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.
4875
+ attr_accessor :date
4876
+ # The IP address from which the Account's representative accepted the terms of service.
4877
+ attr_accessor :ip
4878
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
4879
+ attr_accessor :user_agent
4880
+
4881
+ def initialize(date: nil, ip: nil, user_agent: nil)
4882
+ @date = date
4883
+ @ip = ip
4884
+ @user_agent = user_agent
4885
+ end
4886
+ end
4887
+
4888
+ class Lead < ::Stripe::RequestParams
4889
+ class ApplePay < ::Stripe::RequestParams
4890
+ # 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.
4891
+ attr_accessor :date
4892
+ # The IP address from which the Account's representative accepted the terms of service.
4893
+ attr_accessor :ip
4894
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
4895
+ attr_accessor :user_agent
4896
+
4897
+ def initialize(date: nil, ip: nil, user_agent: nil)
4898
+ @date = date
4899
+ @ip = ip
4900
+ @user_agent = user_agent
4901
+ end
4902
+ end
4903
+
4904
+ class DebitCard < ::Stripe::RequestParams
4905
+ class BankTerms < ::Stripe::RequestParams
4906
+ # 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.
4907
+ attr_accessor :date
4908
+ # The IP address from which the Account's representative accepted the terms of service.
4909
+ attr_accessor :ip
4910
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
4911
+ attr_accessor :user_agent
4912
+
4913
+ def initialize(date: nil, ip: nil, user_agent: nil)
4914
+ @date = date
4915
+ @ip = ip
4916
+ @user_agent = user_agent
4917
+ end
4918
+ end
4919
+
4920
+ class FinancingDisclosures < ::Stripe::RequestParams
4921
+ # The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
4922
+ attr_accessor :date
4923
+ # The IP address from which the Account's representative accepted the terms of service.
4924
+ attr_accessor :ip
4925
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
4926
+ attr_accessor :user_agent
4927
+
4928
+ def initialize(date: nil, ip: nil, user_agent: nil)
4929
+ @date = date
4930
+ @ip = ip
4931
+ @user_agent = user_agent
4932
+ end
4933
+ end
4934
+
4935
+ class Platform < ::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
+ # Bank terms of service acceptance for consumer issuing debit cards with Lead as BIN sponsor.
4950
+ attr_accessor :bank_terms
4951
+ # Financial disclosures terms of service acceptance for consumer issuing debit cards with Lead as BIN sponsor.
4952
+ attr_accessor :financing_disclosures
4953
+ # Platform terms of service acceptance for consumer issuing debit cards with Lead as BIN sponsor.
4954
+ attr_accessor :platform
4955
+
4956
+ def initialize(bank_terms: nil, financing_disclosures: nil, platform: nil)
4957
+ @bank_terms = bank_terms
4958
+ @financing_disclosures = financing_disclosures
4959
+ @platform = platform
4960
+ end
4961
+ end
4962
+
4963
+ class PrepaidCard < ::Stripe::RequestParams
4964
+ class BankTerms < ::Stripe::RequestParams
4965
+ # 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.
4966
+ attr_accessor :date
4967
+ # The IP address from which the Account's representative accepted the terms of service.
4968
+ attr_accessor :ip
4969
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
4970
+ attr_accessor :user_agent
4971
+
4972
+ def initialize(date: nil, ip: nil, user_agent: nil)
4973
+ @date = date
4974
+ @ip = ip
4975
+ @user_agent = user_agent
4976
+ end
4977
+ end
4978
+
4979
+ class FinancingDisclosures < ::Stripe::RequestParams
4980
+ # 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.
4981
+ attr_accessor :date
4982
+ # The IP address from which the Account's representative accepted the terms of service.
4983
+ attr_accessor :ip
4984
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
4985
+ attr_accessor :user_agent
4986
+
4987
+ def initialize(date: nil, ip: nil, user_agent: nil)
4988
+ @date = date
4989
+ @ip = ip
4990
+ @user_agent = user_agent
4991
+ end
4992
+ end
4993
+
4994
+ class Platform < ::Stripe::RequestParams
4995
+ # 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.
4996
+ attr_accessor :date
4997
+ # The IP address from which the Account's representative accepted the terms of service.
4998
+ attr_accessor :ip
4999
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
5000
+ attr_accessor :user_agent
5001
+
5002
+ def initialize(date: nil, ip: nil, user_agent: nil)
5003
+ @date = date
5004
+ @ip = ip
5005
+ @user_agent = user_agent
5006
+ end
5007
+ end
5008
+ # Bank terms of service acceptance for consumer issuing prepaid cards with Lead as BIN sponsor.
5009
+ attr_accessor :bank_terms
5010
+ # Financial disclosures terms of service acceptance for consumer issuing prepaid cards with Lead as BIN sponsor.
5011
+ attr_accessor :financing_disclosures
5012
+ # Platform terms of service acceptance for consumer issuing prepaid cards with Lead as BIN sponsor.
5013
+ attr_accessor :platform
5014
+
5015
+ def initialize(bank_terms: nil, financing_disclosures: nil, platform: nil)
5016
+ @bank_terms = bank_terms
5017
+ @financing_disclosures = financing_disclosures
5018
+ @platform = platform
5019
+ end
5020
+ end
5021
+ # Terms of service acceptances for consumer issuing Apple Pay cards with Lead as BIN sponsor.
5022
+ attr_accessor :apple_pay
5023
+ # Terms of service acceptances for consumer issuing debit cards with Lead as BIN sponsor.
5024
+ attr_accessor :debit_card
5025
+ # Terms of service acceptances for consumer issuing prepaid cards with Lead as BIN sponsor.
5026
+ attr_accessor :prepaid_card
5027
+
5028
+ def initialize(apple_pay: nil, debit_card: nil, prepaid_card: nil)
5029
+ @apple_pay = apple_pay
5030
+ @debit_card = debit_card
5031
+ @prepaid_card = prepaid_card
5032
+ end
5033
+ end
5034
+ # Terms of service acceptances for Stripe consumer card issuing.
5035
+ attr_accessor :account_holder
5036
+ # Terms of service acceptances for consumer issuing cards with Celtic as BIN sponsor.
5037
+ attr_accessor :celtic
5038
+ # Terms of service acceptances for consumer issuing cards with Cross River Bank as BIN sponsor.
5039
+ attr_accessor :cross_river_bank
5040
+ # Terms of service acceptances for Stripe consumer card Global issuing.
5041
+ attr_accessor :global_account_holder
5042
+ # Terms of service acceptances for consumer issuing cards with Lead as BIN sponsor.
5043
+ attr_accessor :lead
5044
+
5045
+ def initialize(
5046
+ account_holder: nil,
5047
+ celtic: nil,
5048
+ cross_river_bank: nil,
5049
+ global_account_holder: nil,
5050
+ lead: nil
5051
+ )
5052
+ @account_holder = account_holder
5053
+ @celtic = celtic
5054
+ @cross_river_bank = cross_river_bank
5055
+ @global_account_holder = global_account_holder
5056
+ @lead = lead
5057
+ end
5058
+ end
5059
+ # Terms of service acceptances to create cards for commercial issuing use cases.
5060
+ attr_accessor :commercial
5061
+ # Terms of service acceptances to create cards for consumer issuing use cases.
5062
+ attr_accessor :consumer
5063
+
5064
+ def initialize(commercial: nil, consumer: nil)
5065
+ @commercial = commercial
5066
+ @consumer = consumer
5067
+ end
5068
+ end
5069
+
5070
+ class ConsumerMoneyManager < ::Stripe::RequestParams
5071
+ # 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.
5072
+ attr_accessor :date
5073
+ # The IP address from which the Account's representative accepted the terms of service.
5074
+ attr_accessor :ip
5075
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
5076
+ attr_accessor :user_agent
5077
+
5078
+ def initialize(date: nil, ip: nil, user_agent: nil)
5079
+ @date = date
5080
+ @ip = ip
5081
+ @user_agent = user_agent
5082
+ end
5083
+ end
5084
+
5085
+ class ConsumerPrivacyDisclosures < ::Stripe::RequestParams
5086
+ # 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.
5087
+ attr_accessor :date
5088
+ # The IP address from which the Account's representative accepted the terms of service.
5089
+ attr_accessor :ip
5090
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
5091
+ attr_accessor :user_agent
5092
+
5093
+ def initialize(date: nil, ip: nil, user_agent: nil)
5094
+ @date = date
5095
+ @ip = ip
5096
+ @user_agent = user_agent
5097
+ end
5098
+ end
5099
+
1173
5100
  class CryptoMoneyManager < ::Stripe::RequestParams
1174
5101
  # The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
1175
5102
  attr_accessor :date
@@ -1201,13 +5128,29 @@ module Stripe
1201
5128
  end
1202
5129
  # Details on the Account's acceptance of the [Stripe Services Agreement](https://docs.stripe.com/connect/updating-accounts#tos-acceptance).
1203
5130
  attr_accessor :account
5131
+ # Details on the Account's acceptance of Issuing-specific terms of service.
5132
+ attr_accessor :card_creator
5133
+ # Details on the Account's acceptance of Consumer-specific terms of service.
5134
+ attr_accessor :consumer_money_manager
5135
+ # Details on the Account's acceptance of Consumer-privacy-disclosures-specific terms of service.
5136
+ attr_accessor :consumer_privacy_disclosures
1204
5137
  # Details on the Account's acceptance of Crypto-specific terms of service.
1205
5138
  attr_accessor :crypto_money_manager
1206
5139
  # Details on the Account's acceptance of Treasury-specific terms of service.
1207
5140
  attr_accessor :money_manager
1208
5141
 
1209
- def initialize(account: nil, crypto_money_manager: nil, money_manager: nil)
5142
+ def initialize(
5143
+ account: nil,
5144
+ card_creator: nil,
5145
+ consumer_money_manager: nil,
5146
+ consumer_privacy_disclosures: nil,
5147
+ crypto_money_manager: nil,
5148
+ money_manager: nil
5149
+ )
1210
5150
  @account = account
5151
+ @card_creator = card_creator
5152
+ @consumer_money_manager = consumer_money_manager
5153
+ @consumer_privacy_disclosures = consumer_privacy_disclosures
1211
5154
  @crypto_money_manager = crypto_money_manager
1212
5155
  @money_manager = money_manager
1213
5156
  end
@@ -1637,6 +5580,8 @@ module Stripe
1637
5580
  attr_accessor :address
1638
5581
  # The business gross annual revenue for its preceding fiscal year.
1639
5582
  attr_accessor :annual_revenue
5583
+ # A detailed description of the business's compliance and anti-money laundering controls and practices.
5584
+ attr_accessor :compliance_screening_description
1640
5585
  # A document verifying the business.
1641
5586
  attr_accessor :documents
1642
5587
  # Estimated maximum number of workers currently engaged by the business (including employees, contractors, and vendors).
@@ -1661,6 +5606,7 @@ module Stripe
1661
5606
  def initialize(
1662
5607
  address: nil,
1663
5608
  annual_revenue: nil,
5609
+ compliance_screening_description: nil,
1664
5610
  documents: nil,
1665
5611
  estimated_worker_count: nil,
1666
5612
  id_numbers: nil,
@@ -1674,6 +5620,7 @@ module Stripe
1674
5620
  )
1675
5621
  @address = address
1676
5622
  @annual_revenue = annual_revenue
5623
+ @compliance_screening_description = compliance_screening_description
1677
5624
  @documents = documents
1678
5625
  @estimated_worker_count = estimated_worker_count
1679
5626
  @id_numbers = id_numbers