stripe 19.2.0 → 19.3.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 (1271) 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 +1308 -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_storer_capability_status_updated_event.rb +63 -0
  248. data/lib/stripe/events/v2_core_account_including_configuration_storer_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_financial_account_created_event.rb +44 -0
  320. data/lib/stripe/events/v2_money_management_financial_account_statement_created_event.rb +61 -0
  321. data/lib/stripe/events/v2_money_management_financial_account_statement_restated_event.rb +71 -0
  322. data/lib/stripe/events/v2_money_management_financial_account_updated_event.rb +44 -0
  323. data/lib/stripe/events/v2_money_management_financial_address_activated_event.rb +44 -0
  324. data/lib/stripe/events/v2_money_management_financial_address_failed_event.rb +44 -0
  325. data/lib/stripe/events/v2_money_management_inbound_transfer_available_event.rb +61 -0
  326. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_failed_event.rb +44 -0
  327. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_processing_event.rb +44 -0
  328. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_queued_event.rb +44 -0
  329. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_returned_event.rb +44 -0
  330. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_succeeded_event.rb +44 -0
  331. data/lib/stripe/events/v2_money_management_outbound_payment_canceled_event.rb +44 -0
  332. data/lib/stripe/events/v2_money_management_outbound_payment_created_event.rb +44 -0
  333. data/lib/stripe/events/v2_money_management_outbound_payment_failed_event.rb +44 -0
  334. data/lib/stripe/events/v2_money_management_outbound_payment_posted_event.rb +44 -0
  335. data/lib/stripe/events/v2_money_management_outbound_payment_returned_event.rb +44 -0
  336. data/lib/stripe/events/v2_money_management_outbound_payment_updated_event.rb +44 -0
  337. data/lib/stripe/events/v2_money_management_outbound_transfer_canceled_event.rb +44 -0
  338. data/lib/stripe/events/v2_money_management_outbound_transfer_created_event.rb +44 -0
  339. data/lib/stripe/events/v2_money_management_outbound_transfer_failed_event.rb +44 -0
  340. data/lib/stripe/events/v2_money_management_outbound_transfer_posted_event.rb +44 -0
  341. data/lib/stripe/events/v2_money_management_outbound_transfer_returned_event.rb +44 -0
  342. data/lib/stripe/events/v2_money_management_outbound_transfer_updated_event.rb +44 -0
  343. data/lib/stripe/events/v2_money_management_payout_method_created_event.rb +44 -0
  344. data/lib/stripe/events/v2_money_management_payout_method_updated_event.rb +44 -0
  345. data/lib/stripe/events/v2_money_management_received_credit_available_event.rb +61 -0
  346. data/lib/stripe/events/v2_money_management_received_credit_failed_event.rb +44 -0
  347. data/lib/stripe/events/v2_money_management_received_credit_returned_event.rb +44 -0
  348. data/lib/stripe/events/v2_money_management_received_credit_succeeded_event.rb +44 -0
  349. data/lib/stripe/events/v2_money_management_received_debit_canceled_event.rb +44 -0
  350. data/lib/stripe/events/v2_money_management_received_debit_failed_event.rb +44 -0
  351. data/lib/stripe/events/v2_money_management_received_debit_pending_event.rb +44 -0
  352. data/lib/stripe/events/v2_money_management_received_debit_succeeded_event.rb +44 -0
  353. data/lib/stripe/events/v2_money_management_received_debit_updated_event.rb +44 -0
  354. data/lib/stripe/events/v2_money_management_recipient_verification_created_event.rb +44 -0
  355. data/lib/stripe/events/v2_money_management_recipient_verification_updated_event.rb +44 -0
  356. data/lib/stripe/events/v2_money_management_transaction_created_event.rb +63 -0
  357. data/lib/stripe/events/v2_money_management_transaction_updated_event.rb +44 -0
  358. data/lib/stripe/events/v2_orchestrated_commerce_agreement_confirmed_event.rb +97 -0
  359. data/lib/stripe/events/v2_orchestrated_commerce_agreement_created_event.rb +97 -0
  360. data/lib/stripe/events/v2_orchestrated_commerce_agreement_partially_confirmed_event.rb +97 -0
  361. data/lib/stripe/events/v2_orchestrated_commerce_agreement_terminated_event.rb +97 -0
  362. data/lib/stripe/events/v2_payments_off_session_payment_attempt_failed_event.rb +61 -0
  363. data/lib/stripe/events/v2_payments_off_session_payment_attempt_started_event.rb +46 -0
  364. data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_failed_event.rb +46 -0
  365. data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_started_event.rb +48 -0
  366. data/lib/stripe/events/v2_payments_off_session_payment_canceled_event.rb +44 -0
  367. data/lib/stripe/events/v2_payments_off_session_payment_created_event.rb +44 -0
  368. data/lib/stripe/events/v2_payments_off_session_payment_failed_event.rb +61 -0
  369. data/lib/stripe/events/v2_payments_off_session_payment_paused_event.rb +44 -0
  370. data/lib/stripe/events/v2_payments_off_session_payment_requires_capture_event.rb +44 -0
  371. data/lib/stripe/events/v2_payments_off_session_payment_resumed_event.rb +44 -0
  372. data/lib/stripe/events/v2_payments_off_session_payment_succeeded_event.rb +44 -0
  373. data/lib/stripe/events/v2_payments_settlement_allocation_intent_canceled_event.rb +44 -0
  374. data/lib/stripe/events/v2_payments_settlement_allocation_intent_created_event.rb +44 -0
  375. data/lib/stripe/events/v2_payments_settlement_allocation_intent_errored_event.rb +65 -0
  376. data/lib/stripe/events/v2_payments_settlement_allocation_intent_funds_not_received_event.rb +44 -0
  377. data/lib/stripe/events/v2_payments_settlement_allocation_intent_matched_event.rb +44 -0
  378. data/lib/stripe/events/v2_payments_settlement_allocation_intent_not_found_event.rb +38 -0
  379. data/lib/stripe/events/v2_payments_settlement_allocation_intent_settled_event.rb +44 -0
  380. data/lib/stripe/events/v2_payments_settlement_allocation_intent_split_canceled_event.rb +61 -0
  381. data/lib/stripe/events/v2_payments_settlement_allocation_intent_split_created_event.rb +61 -0
  382. data/lib/stripe/events/v2_payments_settlement_allocation_intent_split_settled_event.rb +61 -0
  383. data/lib/stripe/events/v2_payments_settlement_allocation_intent_submitted_event.rb +44 -0
  384. data/lib/stripe/events/v2_reporting_report_run_created_event.rb +44 -0
  385. data/lib/stripe/events/v2_reporting_report_run_failed_event.rb +44 -0
  386. data/lib/stripe/events/v2_reporting_report_run_succeeded_event.rb +44 -0
  387. data/lib/stripe/events/v2_reporting_report_run_updated_event.rb +44 -0
  388. data/lib/stripe/events/v2_signals_account_signal_fraudulent_merchant_ready_event.rb +88 -0
  389. data/lib/stripe/events/v2_signals_account_signal_merchant_delinquency_ready_event.rb +44 -0
  390. data/lib/stripe/object_types.rb +125 -0
  391. data/lib/stripe/params/account_create_params.rb +461 -2
  392. data/lib/stripe/params/account_link_create_params.rb +4 -1
  393. data/lib/stripe/params/account_notice_list_params.rb +25 -0
  394. data/lib/stripe/params/account_notice_retrieve_params.rb +13 -0
  395. data/lib/stripe/params/account_notice_update_params.rb +36 -0
  396. data/lib/stripe/params/account_person_create_params.rb +60 -0
  397. data/lib/stripe/params/account_person_update_params.rb +60 -0
  398. data/lib/stripe/params/account_session_create_params.rb +301 -1
  399. data/lib/stripe/params/account_signals_retrieve_params.rb +13 -0
  400. data/lib/stripe/params/account_update_params.rb +423 -1
  401. data/lib/stripe/params/balance_settings_update_params.rb +9 -1
  402. data/lib/stripe/params/balance_transfer_create_params.rb +66 -0
  403. data/lib/stripe/params/billing/alert_create_params.rb +264 -1
  404. data/lib/stripe/params/billing/alert_list_params.rb +4 -0
  405. data/lib/stripe/params/billing/analytics/meter_usage_retrieve_params.rb +69 -0
  406. data/lib/stripe/params/billing/credit_balance_summary_retrieve_params.rb +13 -1
  407. data/lib/stripe/params/billing/credit_grant_create_params.rb +48 -2
  408. data/lib/stripe/params/billing/meter_create_params.rb +4 -0
  409. data/lib/stripe/params/billing/meter_event_summary_list_params.rb +20 -0
  410. data/lib/stripe/params/capital/financing_offer_create_params.rb +37 -0
  411. data/lib/stripe/params/capital/financing_offer_list_params.rb +58 -0
  412. data/lib/stripe/params/capital/financing_offer_mark_delivered_params.rb +15 -0
  413. data/lib/stripe/params/capital/financing_offer_refill_params.rb +37 -0
  414. data/lib/stripe/params/capital/financing_offer_retrieve_params.rb +15 -0
  415. data/lib/stripe/params/capital/financing_summary_retrieve_params.rb +15 -0
  416. data/lib/stripe/params/capital/financing_transaction_list_params.rb +45 -0
  417. data/lib/stripe/params/capital/financing_transaction_retrieve_params.rb +15 -0
  418. data/lib/stripe/params/charge_capture_params.rb +1912 -0
  419. data/lib/stripe/params/charge_update_params.rb +1912 -0
  420. data/lib/stripe/params/checkout/session_approve_params.rb +52 -0
  421. data/lib/stripe/params/checkout/session_create_params.rb +255 -4
  422. data/lib/stripe/params/checkout/session_update_params.rb +176 -1
  423. data/lib/stripe/params/confirmation_token_create_params.rb +91 -0
  424. data/lib/stripe/params/coupon_create_params.rb +47 -1
  425. data/lib/stripe/params/customer_session_create_params.rb +32 -1
  426. data/lib/stripe/params/delegated_checkout/order_retrieve_params.rb +15 -0
  427. data/lib/stripe/params/delegated_checkout/requested_session_confirm_params.rb +168 -0
  428. data/lib/stripe/params/delegated_checkout/requested_session_create_params.rb +230 -0
  429. data/lib/stripe/params/delegated_checkout/requested_session_expire_params.rb +15 -0
  430. data/lib/stripe/params/delegated_checkout/requested_session_list_orders_params.rb +24 -0
  431. data/lib/stripe/params/delegated_checkout/requested_session_order_list_params.rb +24 -0
  432. data/lib/stripe/params/delegated_checkout/requested_session_retrieve_params.rb +15 -0
  433. data/lib/stripe/params/delegated_checkout/requested_session_update_params.rb +216 -0
  434. data/lib/stripe/params/dispute_update_params.rb +14 -1
  435. data/lib/stripe/params/external_account_create_params.rb +134 -0
  436. data/lib/stripe/params/external_account_delete_params.rb +6 -0
  437. data/lib/stripe/params/external_account_list_params.rb +25 -0
  438. data/lib/stripe/params/external_account_retrieve_params.rb +13 -0
  439. data/lib/stripe/params/external_account_update_params.rb +91 -0
  440. data/lib/stripe/params/financial_connections/account_inferred_balance_list_params.rb +24 -0
  441. data/lib/stripe/params/financial_connections/authorization_retrieve_params.rb +15 -0
  442. data/lib/stripe/params/financial_connections/institution_list_params.rb +24 -0
  443. data/lib/stripe/params/financial_connections/institution_retrieve_params.rb +15 -0
  444. data/lib/stripe/params/financial_connections/session_create_params.rb +64 -2
  445. data/lib/stripe/params/fr_meal_vouchers_onboarding_create_params.rb +25 -0
  446. data/lib/stripe/params/fr_meal_vouchers_onboarding_list_params.rb +22 -0
  447. data/lib/stripe/params/fr_meal_vouchers_onboarding_retrieve_params.rb +13 -0
  448. data/lib/stripe/params/fr_meal_vouchers_onboarding_update_params.rb +16 -0
  449. data/lib/stripe/params/fx_quote_create_params.rb +73 -0
  450. data/lib/stripe/params/fx_quote_list_params.rb +22 -0
  451. data/lib/stripe/params/fx_quote_retrieve_params.rb +13 -0
  452. data/lib/stripe/params/identity/blocklist_entry_create_params.rb +29 -0
  453. data/lib/stripe/params/identity/blocklist_entry_disable_params.rb +15 -0
  454. data/lib/stripe/params/identity/blocklist_entry_list_params.rb +62 -0
  455. data/lib/stripe/params/identity/blocklist_entry_retrieve_params.rb +15 -0
  456. data/lib/stripe/params/identity/verification_report_list_params.rb +4 -0
  457. data/lib/stripe/params/identity/verification_session_create_params.rb +4 -0
  458. data/lib/stripe/params/identity/verification_session_update_params.rb +11 -1
  459. data/lib/stripe/params/invoice_add_lines_params.rb +48 -1
  460. data/lib/stripe/params/invoice_attach_payment_params.rb +43 -1
  461. data/lib/stripe/params/invoice_create_params.rb +98 -3
  462. data/lib/stripe/params/invoice_create_preview_params.rb +1314 -9
  463. data/lib/stripe/params/invoice_detach_payment_params.rb +16 -0
  464. data/lib/stripe/params/invoice_item_create_params.rb +33 -1
  465. data/lib/stripe/params/invoice_item_update_params.rb +33 -1
  466. data/lib/stripe/params/invoice_line_item_update_params.rb +48 -1
  467. data/lib/stripe/params/invoice_list_params.rb +4 -0
  468. data/lib/stripe/params/invoice_update_lines_params.rb +48 -1
  469. data/lib/stripe/params/invoice_update_params.rb +98 -3
  470. data/lib/stripe/params/issuing/authorization_create_params.rb +8 -0
  471. data/lib/stripe/params/issuing/card_list_params.rb +34 -1
  472. data/lib/stripe/params/issuing/cardholder_create_params.rb +2 -1
  473. data/lib/stripe/params/issuing/credit_underwriting_record_correct_params.rb +163 -0
  474. data/lib/stripe/params/issuing/credit_underwriting_record_create_from_application_params.rb +50 -0
  475. data/lib/stripe/params/issuing/credit_underwriting_record_create_from_proactive_review_params.rb +128 -0
  476. data/lib/stripe/params/issuing/credit_underwriting_record_list_params.rb +24 -0
  477. data/lib/stripe/params/issuing/credit_underwriting_record_report_decision_params.rb +86 -0
  478. data/lib/stripe/params/issuing/credit_underwriting_record_retrieve_params.rb +15 -0
  479. data/lib/stripe/params/issuing/dispute_close_params.rb +18 -0
  480. data/lib/stripe/params/issuing/dispute_settlement_detail_list_params.rb +33 -0
  481. data/lib/stripe/params/issuing/dispute_settlement_detail_retrieve_params.rb +15 -0
  482. data/lib/stripe/params/issuing/dispute_simulate_network_lifecycle_dispute_response_params.rb +26 -0
  483. data/lib/stripe/params/issuing/dispute_simulate_network_lifecycle_pre_arbitration_response_params.rb +26 -0
  484. data/lib/stripe/params/issuing/dispute_simulate_network_lifecycle_pre_arbitration_submission_params.rb +26 -0
  485. data/lib/stripe/params/issuing/fraud_liability_debit_list_params.rb +44 -0
  486. data/lib/stripe/params/issuing/fraud_liability_debit_retrieve_params.rb +15 -0
  487. data/lib/stripe/params/issuing/program_create_params.rb +21 -0
  488. data/lib/stripe/params/issuing/program_list_params.rb +24 -0
  489. data/lib/stripe/params/issuing/program_retrieve_params.rb +15 -0
  490. data/lib/stripe/params/issuing/program_update_params.rb +21 -0
  491. data/lib/stripe/params/issuing/transaction_create_force_capture_params.rb +8 -0
  492. data/lib/stripe/params/issuing/transaction_create_unlinked_refund_params.rb +8 -0
  493. data/lib/stripe/params/issuing/transaction_list_params.rb +4 -0
  494. data/lib/stripe/params/mandate_list_params.rb +39 -0
  495. data/lib/stripe/params/margin_create_params.rb +25 -0
  496. data/lib/stripe/params/margin_list_params.rb +25 -0
  497. data/lib/stripe/params/margin_retrieve_params.rb +13 -0
  498. data/lib/stripe/params/margin_update_params.rb +22 -0
  499. data/lib/stripe/params/orchestration/payment_attempt_retrieve_params.rb +15 -0
  500. data/lib/stripe/params/order_create_params.rb +2114 -0
  501. data/lib/stripe/params/order_list_params.rb +25 -0
  502. data/lib/stripe/params/order_retrieve_params.rb +13 -0
  503. data/lib/stripe/params/order_submit_params.rb +16 -0
  504. data/lib/stripe/params/order_update_params.rb +2118 -0
  505. data/lib/stripe/params/payment_attempt_record_report_authenticated_params.rb +19 -0
  506. data/lib/stripe/params/payment_attempt_record_report_authorized_params.rb +41 -0
  507. data/lib/stripe/params/payment_attempt_record_report_canceled_params.rb +22 -0
  508. data/lib/stripe/params/payment_attempt_record_report_failed_params.rb +54 -0
  509. data/lib/stripe/params/payment_attempt_record_report_guaranteed_params.rb +50 -0
  510. data/lib/stripe/params/payment_attempt_record_report_informational_params.rb +93 -0
  511. data/lib/stripe/params/payment_attempt_record_report_refund_params.rb +79 -0
  512. data/lib/stripe/params/payment_intent_capture_params.rb +1928 -2
  513. data/lib/stripe/params/payment_intent_confirm_params.rb +3659 -158
  514. data/lib/stripe/params/payment_intent_create_params.rb +3639 -122
  515. data/lib/stripe/params/payment_intent_decrement_authorization_params.rb +315 -0
  516. data/lib/stripe/params/payment_intent_increment_authorization_params.rb +56 -1
  517. data/lib/stripe/params/payment_intent_reauthorize_params.rb +19 -0
  518. data/lib/stripe/params/payment_intent_simulate_crypto_deposit_params.rb +31 -0
  519. data/lib/stripe/params/payment_intent_trigger_action_params.rb +27 -0
  520. data/lib/stripe/params/payment_intent_update_params.rb +3680 -148
  521. data/lib/stripe/params/payment_link_create_params.rb +34 -0
  522. data/lib/stripe/params/payment_location_capability_list_params.rb +16 -0
  523. data/lib/stripe/params/payment_location_capability_retrieve_params.rb +16 -0
  524. data/lib/stripe/params/payment_location_capability_update_params.rb +19 -0
  525. data/lib/stripe/params/payment_location_create_params.rb +54 -0
  526. data/lib/stripe/params/payment_location_delete_params.rb +6 -0
  527. data/lib/stripe/params/payment_location_list_params.rb +22 -0
  528. data/lib/stripe/params/payment_location_retrieve_params.rb +13 -0
  529. data/lib/stripe/params/payment_location_update_params.rb +63 -0
  530. data/lib/stripe/params/payment_method_check_balance_params.rb +13 -0
  531. data/lib/stripe/params/payment_method_configuration_create_params.rb +105 -0
  532. data/lib/stripe/params/payment_method_configuration_update_params.rb +105 -0
  533. data/lib/stripe/params/payment_method_create_params.rb +87 -0
  534. data/lib/stripe/params/payment_method_update_params.rb +16 -0
  535. data/lib/stripe/params/payment_record_report_payment_attempt_canceled_params.rb +4 -1
  536. data/lib/stripe/params/payment_record_report_payment_attempt_failed_params.rb +36 -1
  537. data/lib/stripe/params/payment_record_report_payment_attempt_guaranteed_params.rb +32 -1
  538. data/lib/stripe/params/payment_record_report_payment_attempt_params.rb +60 -2
  539. data/lib/stripe/params/payment_record_report_payment_params.rb +60 -2
  540. data/lib/stripe/params/plan_create_params.rb +15 -0
  541. data/lib/stripe/params/price_create_params.rb +19 -0
  542. data/lib/stripe/params/price_update_params.rb +23 -0
  543. data/lib/stripe/params/privacy/redaction_job_cancel_params.rb +15 -0
  544. data/lib/stripe/params/privacy/redaction_job_create_params.rb +67 -0
  545. data/lib/stripe/params/privacy/redaction_job_list_params.rb +27 -0
  546. data/lib/stripe/params/privacy/redaction_job_retrieve_params.rb +15 -0
  547. data/lib/stripe/params/privacy/redaction_job_run_params.rb +15 -0
  548. data/lib/stripe/params/privacy/redaction_job_update_params.rb +18 -0
  549. data/lib/stripe/params/privacy/redaction_job_validate_params.rb +15 -0
  550. data/lib/stripe/params/privacy/redaction_job_validation_error_list_params.rb +24 -0
  551. data/lib/stripe/params/product_catalog/trial_offer_create_params.rb +63 -0
  552. data/lib/stripe/params/product_create_params.rb +47 -0
  553. data/lib/stripe/params/product_update_params.rb +47 -0
  554. data/lib/stripe/params/quote_create_params.rb +1217 -3
  555. data/lib/stripe/params/quote_line_list_params.rb +22 -0
  556. data/lib/stripe/params/quote_list_lines_params.rb +22 -0
  557. data/lib/stripe/params/quote_list_params.rb +4 -0
  558. data/lib/stripe/params/quote_list_preview_invoice_lines_params.rb +22 -0
  559. data/lib/stripe/params/quote_mark_draft_params.rb +13 -0
  560. data/lib/stripe/params/quote_mark_stale_params.rb +16 -0
  561. data/lib/stripe/params/quote_preview_invoice_list_params.rb +22 -0
  562. data/lib/stripe/params/quote_preview_subscription_schedule_list_params.rb +22 -0
  563. data/lib/stripe/params/quote_reestimate_params.rb +13 -0
  564. data/lib/stripe/params/quote_update_params.rb +1225 -4
  565. data/lib/stripe/params/radar/account_evaluation_create_params.rb +81 -0
  566. data/lib/stripe/params/radar/account_evaluation_retrieve_params.rb +15 -0
  567. data/lib/stripe/params/radar/account_evaluation_update_params.rb +72 -0
  568. data/lib/stripe/params/radar/customer_evaluation_create_params.rb +69 -0
  569. data/lib/stripe/params/radar/customer_evaluation_update_params.rb +21 -0
  570. data/lib/stripe/params/radar/issuing_authorization_evaluation_create_params.rb +197 -0
  571. data/lib/stripe/params/radar/payment_evaluation_create_params.rb +30 -1
  572. data/lib/stripe/params/reserve/hold_list_params.rb +53 -0
  573. data/lib/stripe/params/reserve/hold_retrieve_params.rb +15 -0
  574. data/lib/stripe/params/reserve/plan_retrieve_params.rb +15 -0
  575. data/lib/stripe/params/reserve/release_list_params.rb +41 -0
  576. data/lib/stripe/params/reserve/release_retrieve_params.rb +15 -0
  577. data/lib/stripe/params/setup_intent_confirm_params.rb +177 -3
  578. data/lib/stripe/params/setup_intent_create_params.rb +177 -3
  579. data/lib/stripe/params/setup_intent_update_params.rb +178 -4
  580. data/lib/stripe/params/shared_payment/granted_token_create_params.rb +50 -0
  581. data/lib/stripe/params/shared_payment/granted_token_retrieve_params.rb +15 -0
  582. data/lib/stripe/params/shared_payment/granted_token_revoke_params.rb +15 -0
  583. data/lib/stripe/params/shared_payment/issued_token_create_params.rb +70 -0
  584. data/lib/stripe/params/shared_payment/issued_token_retrieve_params.rb +15 -0
  585. data/lib/stripe/params/shared_payment/issued_token_revoke_params.rb +15 -0
  586. data/lib/stripe/params/subscription_attach_cadence_params.rb +16 -0
  587. data/lib/stripe/params/subscription_create_params.rb +325 -7
  588. data/lib/stripe/params/subscription_item_create_params.rb +114 -2
  589. data/lib/stripe/params/subscription_item_update_params.rb +97 -1
  590. data/lib/stripe/params/subscription_list_params.rb +4 -0
  591. data/lib/stripe/params/subscription_pause_params.rb +50 -0
  592. data/lib/stripe/params/subscription_resume_params.rb +4 -0
  593. data/lib/stripe/params/subscription_schedule_amend_params.rb +805 -0
  594. data/lib/stripe/params/subscription_schedule_create_params.rb +335 -5
  595. data/lib/stripe/params/subscription_schedule_update_params.rb +335 -5
  596. data/lib/stripe/params/subscription_update_params.rb +308 -6
  597. data/lib/stripe/params/tax/calculation_create_params.rb +4 -0
  598. data/lib/stripe/params/tax/form_list_params.rb +51 -0
  599. data/lib/stripe/params/tax/form_pdf_params.rb +15 -0
  600. data/lib/stripe/params/tax/form_retrieve_params.rb +15 -0
  601. data/lib/stripe/params/tax/location_create_params.rb +54 -0
  602. data/lib/stripe/params/tax/location_list_params.rb +27 -0
  603. data/lib/stripe/params/tax/location_retrieve_params.rb +15 -0
  604. data/lib/stripe/params/tax/registration_create_params.rb +117 -0
  605. data/lib/stripe/params/terminal/configuration_create_params.rb +13 -0
  606. data/lib/stripe/params/terminal/configuration_update_params.rb +13 -0
  607. data/lib/stripe/params/terminal/reader_collected_data_retrieve_params.rb +15 -0
  608. data/lib/stripe/params/test_helpers/capital/financing_offer_create_params.rb +39 -0
  609. data/lib/stripe/params/test_helpers/capital/financing_offer_refill_params.rb +39 -0
  610. data/lib/stripe/params/test_helpers/confirmation_token_create_params.rb +91 -0
  611. data/lib/stripe/params/test_helpers/issuing/authorization_create_params.rb +8 -0
  612. data/lib/stripe/params/test_helpers/issuing/dispute_close_params.rb +20 -0
  613. data/lib/stripe/params/test_helpers/issuing/dispute_simulate_network_lifecycle_dispute_response_params.rb +28 -0
  614. data/lib/stripe/params/test_helpers/issuing/dispute_simulate_network_lifecycle_pre_arbitration_response_params.rb +28 -0
  615. data/lib/stripe/params/test_helpers/issuing/dispute_simulate_network_lifecycle_pre_arbitration_submission_params.rb +28 -0
  616. data/lib/stripe/params/test_helpers/issuing/transaction_create_force_capture_params.rb +8 -0
  617. data/lib/stripe/params/test_helpers/issuing/transaction_create_unlinked_refund_params.rb +8 -0
  618. data/lib/stripe/params/test_helpers/payment_intent_simulate_crypto_deposit_params.rb +33 -0
  619. data/lib/stripe/params/test_helpers/shared_payment/granted_token_create_params.rb +52 -0
  620. data/lib/stripe/params/test_helpers/shared_payment/granted_token_revoke_params.rb +17 -0
  621. data/lib/stripe/params/test_helpers/treasury/received_credit_create_params.rb +25 -1
  622. data/lib/stripe/params/test_helpers/treasury/received_debit_create_params.rb +25 -1
  623. data/lib/stripe/params/token_create_params.rb +134 -0
  624. data/lib/stripe/params/transfer_create_params.rb +8 -0
  625. data/lib/stripe/params/treasury/financial_account_create_params.rb +8 -1
  626. data/lib/stripe/params/treasury/financial_account_features_update_params.rb +4 -1
  627. data/lib/stripe/params/treasury/financial_account_update_features_params.rb +4 -1
  628. data/lib/stripe/params/treasury/financial_account_update_params.rb +8 -1
  629. data/lib/stripe/params/treasury/outbound_payment_create_params.rb +4 -0
  630. data/lib/stripe/params/treasury/outbound_transfer_create_params.rb +24 -0
  631. data/lib/stripe/params/treasury/received_credit_create_params.rb +25 -1
  632. data/lib/stripe/params/treasury/received_debit_create_params.rb +25 -1
  633. data/lib/stripe/params/v2/billing/bill_setting_create_params.rb +74 -0
  634. data/lib/stripe/params/v2/billing/bill_setting_list_params.rb +21 -0
  635. data/lib/stripe/params/v2/billing/bill_setting_retrieve_params.rb +10 -0
  636. data/lib/stripe/params/v2/billing/bill_setting_update_params.rb +80 -0
  637. data/lib/stripe/params/v2/billing/bill_settings/version_list_params.rb +19 -0
  638. data/lib/stripe/params/v2/billing/bill_settings/version_retrieve_params.rb +12 -0
  639. data/lib/stripe/params/v2/billing/cadence_cancel_params.rb +17 -0
  640. data/lib/stripe/params/v2/billing/cadence_create_params.rb +257 -0
  641. data/lib/stripe/params/v2/billing/cadence_list_params.rb +43 -0
  642. data/lib/stripe/params/v2/billing/cadence_retrieve_params.rb +17 -0
  643. data/lib/stripe/params/v2/billing/cadence_update_params.rb +78 -0
  644. data/lib/stripe/params/v2/billing/cadences/spend_modifier_rule_list_params.rb +22 -0
  645. data/lib/stripe/params/v2/billing/cadences/spend_modifier_rule_retrieve_params.rb +12 -0
  646. data/lib/stripe/params/v2/billing/collection_setting_create_params.rb +257 -0
  647. data/lib/stripe/params/v2/billing/collection_setting_list_params.rb +21 -0
  648. data/lib/stripe/params/v2/billing/collection_setting_retrieve_params.rb +10 -0
  649. data/lib/stripe/params/v2/billing/collection_setting_update_params.rb +263 -0
  650. data/lib/stripe/params/v2/billing/collection_settings/version_list_params.rb +19 -0
  651. data/lib/stripe/params/v2/billing/collection_settings/version_retrieve_params.rb +12 -0
  652. data/lib/stripe/params/v2/billing/contract_activate_params.rb +17 -0
  653. data/lib/stripe/params/v2/billing/contract_cancel_params.rb +17 -0
  654. data/lib/stripe/params/v2/billing/contract_create_params.rb +831 -0
  655. data/lib/stripe/params/v2/billing/contract_list_params.rb +20 -0
  656. data/lib/stripe/params/v2/billing/contract_retrieve_params.rb +17 -0
  657. data/lib/stripe/params/v2/billing/contract_update_params.rb +522 -0
  658. data/lib/stripe/params/v2/billing/contracts/license_pricing/quantity_change_list_quantity_changes_params.rb +21 -0
  659. data/lib/stripe/params/v2/billing/custom_pricing_unit_create_params.rb +26 -0
  660. data/lib/stripe/params/v2/billing/custom_pricing_unit_list_params.rb +24 -0
  661. data/lib/stripe/params/v2/billing/custom_pricing_unit_retrieve_params.rb +10 -0
  662. data/lib/stripe/params/v2/billing/custom_pricing_unit_update_params.rb +26 -0
  663. data/lib/stripe/params/v2/billing/intent_cancel_params.rb +10 -0
  664. data/lib/stripe/params/v2/billing/intent_commit_params.rb +17 -0
  665. data/lib/stripe/params/v2/billing/intent_create_params.rb +899 -0
  666. data/lib/stripe/params/v2/billing/intent_list_params.rb +17 -0
  667. data/lib/stripe/params/v2/billing/intent_release_reservation_params.rb +10 -0
  668. data/lib/stripe/params/v2/billing/intent_reserve_params.rb +10 -0
  669. data/lib/stripe/params/v2/billing/intent_retrieve_params.rb +10 -0
  670. data/lib/stripe/params/v2/billing/intents/action_list_params.rb +19 -0
  671. data/lib/stripe/params/v2/billing/intents/action_retrieve_params.rb +12 -0
  672. data/lib/stripe/params/v2/billing/license_fee_create_params.rb +121 -0
  673. data/lib/stripe/params/v2/billing/license_fee_list_params.rb +24 -0
  674. data/lib/stripe/params/v2/billing/license_fee_retrieve_params.rb +10 -0
  675. data/lib/stripe/params/v2/billing/license_fee_update_params.rb +102 -0
  676. data/lib/stripe/params/v2/billing/license_fees/version_list_params.rb +19 -0
  677. data/lib/stripe/params/v2/billing/license_fees/version_retrieve_params.rb +12 -0
  678. data/lib/stripe/params/v2/billing/licensed_item_create_params.rb +48 -0
  679. data/lib/stripe/params/v2/billing/licensed_item_list_params.rb +21 -0
  680. data/lib/stripe/params/v2/billing/licensed_item_retrieve_params.rb +10 -0
  681. data/lib/stripe/params/v2/billing/licensed_item_update_params.rb +48 -0
  682. data/lib/stripe/params/v2/billing/metered_item_create_params.rb +73 -0
  683. data/lib/stripe/params/v2/billing/metered_item_list_params.rb +21 -0
  684. data/lib/stripe/params/v2/billing/metered_item_retrieve_params.rb +10 -0
  685. data/lib/stripe/params/v2/billing/metered_item_update_params.rb +50 -0
  686. data/lib/stripe/params/v2/billing/one_time_item_create_params.rb +48 -0
  687. data/lib/stripe/params/v2/billing/one_time_item_list_params.rb +21 -0
  688. data/lib/stripe/params/v2/billing/one_time_item_retrieve_params.rb +10 -0
  689. data/lib/stripe/params/v2/billing/one_time_item_update_params.rb +48 -0
  690. data/lib/stripe/params/v2/billing/pricing_plan_create_params.rb +39 -0
  691. data/lib/stripe/params/v2/billing/pricing_plan_list_params.rb +24 -0
  692. data/lib/stripe/params/v2/billing/pricing_plan_retrieve_params.rb +10 -0
  693. data/lib/stripe/params/v2/billing/pricing_plan_subscription_list_params.rb +54 -0
  694. data/lib/stripe/params/v2/billing/pricing_plan_subscription_remove_discounts_params.rb +17 -0
  695. data/lib/stripe/params/v2/billing/pricing_plan_subscription_retrieve_params.rb +17 -0
  696. data/lib/stripe/params/v2/billing/pricing_plan_subscription_update_params.rb +20 -0
  697. data/lib/stripe/params/v2/billing/pricing_plan_update_params.rb +39 -0
  698. data/lib/stripe/params/v2/billing/pricing_plans/component_create_params.rb +73 -0
  699. data/lib/stripe/params/v2/billing/pricing_plans/component_delete_params.rb +12 -0
  700. data/lib/stripe/params/v2/billing/pricing_plans/component_list_params.rb +27 -0
  701. data/lib/stripe/params/v2/billing/pricing_plans/component_retrieve_params.rb +12 -0
  702. data/lib/stripe/params/v2/billing/pricing_plans/component_update_params.rb +22 -0
  703. data/lib/stripe/params/v2/billing/pricing_plans/version_list_params.rb +19 -0
  704. data/lib/stripe/params/v2/billing/pricing_plans/version_retrieve_params.rb +12 -0
  705. data/lib/stripe/params/v2/billing/profile_create_params.rb +37 -0
  706. data/lib/stripe/params/v2/billing/profile_list_params.rb +40 -0
  707. data/lib/stripe/params/v2/billing/profile_retrieve_params.rb +10 -0
  708. data/lib/stripe/params/v2/billing/profile_update_params.rb +35 -0
  709. data/lib/stripe/params/v2/billing/rate_card_create_params.rb +49 -0
  710. data/lib/stripe/params/v2/billing/rate_card_list_params.rb +24 -0
  711. data/lib/stripe/params/v2/billing/rate_card_modify_rates_params.rb +177 -0
  712. data/lib/stripe/params/v2/billing/rate_card_retrieve_params.rb +10 -0
  713. data/lib/stripe/params/v2/billing/rate_card_subscription_cancel_params.rb +10 -0
  714. data/lib/stripe/params/v2/billing/rate_card_subscription_create_params.rb +26 -0
  715. data/lib/stripe/params/v2/billing/rate_card_subscription_list_params.rb +51 -0
  716. data/lib/stripe/params/v2/billing/rate_card_subscription_retrieve_params.rb +10 -0
  717. data/lib/stripe/params/v2/billing/rate_card_subscription_update_params.rb +17 -0
  718. data/lib/stripe/params/v2/billing/rate_card_update_params.rb +38 -0
  719. data/lib/stripe/params/v2/billing/rate_cards/custom_pricing_unit_overage_rate_create_params.rb +33 -0
  720. data/lib/stripe/params/v2/billing/rate_cards/custom_pricing_unit_overage_rate_delete_params.rb +12 -0
  721. data/lib/stripe/params/v2/billing/rate_cards/custom_pricing_unit_overage_rate_list_params.rb +22 -0
  722. data/lib/stripe/params/v2/billing/rate_cards/custom_pricing_unit_overage_rate_retrieve_params.rb +12 -0
  723. data/lib/stripe/params/v2/billing/rate_cards/rate_create_params.rb +109 -0
  724. data/lib/stripe/params/v2/billing/rate_cards/rate_delete_params.rb +12 -0
  725. data/lib/stripe/params/v2/billing/rate_cards/rate_list_params.rb +25 -0
  726. data/lib/stripe/params/v2/billing/rate_cards/rate_retrieve_params.rb +12 -0
  727. data/lib/stripe/params/v2/billing/rate_cards/version_list_params.rb +19 -0
  728. data/lib/stripe/params/v2/billing/rate_cards/version_retrieve_params.rb +12 -0
  729. data/lib/stripe/params/v2/billing/service_action_create_params.rb +315 -0
  730. data/lib/stripe/params/v2/billing/service_action_retrieve_params.rb +10 -0
  731. data/lib/stripe/params/v2/billing/service_action_update_params.rb +40 -0
  732. data/lib/stripe/params/v2/core/account_create_params.rb +1687 -6
  733. data/lib/stripe/params/v2/core/account_evaluation_create_params.rb +73 -0
  734. data/lib/stripe/params/v2/core/account_link_create_params.rb +81 -1
  735. data/lib/stripe/params/v2/core/account_token_create_params.rb +250 -2
  736. data/lib/stripe/params/v2/core/account_update_params.rb +1667 -7
  737. data/lib/stripe/params/v2/core/approval_request_cancel_params.rb +10 -0
  738. data/lib/stripe/params/v2/core/approval_request_execute_params.rb +10 -0
  739. data/lib/stripe/params/v2/core/approval_request_list_params.rb +17 -0
  740. data/lib/stripe/params/v2/core/approval_request_retrieve_params.rb +10 -0
  741. data/lib/stripe/params/v2/core/approval_request_submit_params.rb +17 -0
  742. data/lib/stripe/params/v2/core/batch_job_cancel_params.rb +10 -0
  743. data/lib/stripe/params/v2/core/batch_job_create_params.rb +58 -0
  744. data/lib/stripe/params/v2/core/batch_job_retrieve_params.rb +10 -0
  745. data/lib/stripe/params/v2/core/claimable_sandbox_create_params.rb +59 -0
  746. data/lib/stripe/params/v2/core/claimable_sandbox_renew_onboarding_link_params.rb +28 -0
  747. data/lib/stripe/params/v2/core/claimable_sandbox_retrieve_params.rb +10 -0
  748. data/lib/stripe/params/v2/core/connection_session_create_params.rb +23 -0
  749. data/lib/stripe/params/v2/core/connection_session_retrieve_params.rb +10 -0
  750. data/lib/stripe/params/v2/core/event_list_params.rb +4 -1
  751. data/lib/stripe/params/v2/core/event_retrieve_params.rb +8 -1
  752. data/lib/stripe/params/v2/core/fee_batch_list_params.rb +43 -0
  753. data/lib/stripe/params/v2/core/fee_batch_retrieve_params.rb +10 -0
  754. data/lib/stripe/params/v2/core/fee_entry_list_params.rb +51 -0
  755. data/lib/stripe/params/v2/core/fee_entry_retrieve_params.rb +10 -0
  756. data/lib/stripe/params/v2/core/vault/gb_bank_account_acknowledge_confirmation_of_payee_params.rb +12 -0
  757. data/lib/stripe/params/v2/core/vault/gb_bank_account_archive_params.rb +12 -0
  758. data/lib/stripe/params/v2/core/vault/gb_bank_account_create_params.rb +58 -0
  759. data/lib/stripe/params/v2/core/vault/gb_bank_account_initiate_confirmation_of_payee_params.rb +22 -0
  760. data/lib/stripe/params/v2/core/vault/gb_bank_account_list_params.rb +19 -0
  761. data/lib/stripe/params/v2/core/vault/gb_bank_account_retrieve_params.rb +12 -0
  762. data/lib/stripe/params/v2/core/vault/us_bank_account_archive_params.rb +12 -0
  763. data/lib/stripe/params/v2/core/vault/us_bank_account_confirm_microdeposits_params.rb +22 -0
  764. data/lib/stripe/params/v2/core/vault/us_bank_account_create_params.rb +37 -0
  765. data/lib/stripe/params/v2/core/vault/us_bank_account_list_params.rb +22 -0
  766. data/lib/stripe/params/v2/core/vault/us_bank_account_retrieve_params.rb +12 -0
  767. data/lib/stripe/params/v2/core/vault/us_bank_account_send_microdeposits_params.rb +12 -0
  768. data/lib/stripe/params/v2/core/vault/us_bank_account_update_params.rb +22 -0
  769. data/lib/stripe/params/v2/data/analytics/metric_query_create_params.rb +68 -0
  770. data/lib/stripe/params/v2/data/reporting/query_run_create_params.rb +31 -0
  771. data/lib/stripe/params/v2/data/reporting/query_run_retrieve_params.rb +19 -0
  772. data/lib/stripe/params/v2/extend/workflow_invoke_params.rb +17 -0
  773. data/lib/stripe/params/v2/extend/workflow_list_params.rb +21 -0
  774. data/lib/stripe/params/v2/extend/workflow_retrieve_params.rb +10 -0
  775. data/lib/stripe/params/v2/extend/workflow_run_list_params.rb +23 -0
  776. data/lib/stripe/params/v2/extend/workflow_run_retrieve_params.rb +10 -0
  777. data/lib/stripe/params/v2/iam/activity_log_list_params.rb +23 -0
  778. data/lib/stripe/params/v2/iam/activity_log_retrieve_params.rb +10 -0
  779. data/lib/stripe/params/v2/iam/api_key_create_params.rb +51 -0
  780. data/lib/stripe/params/v2/iam/api_key_expire_params.rb +10 -0
  781. data/lib/stripe/params/v2/iam/api_key_list_params.rb +20 -0
  782. data/lib/stripe/params/v2/iam/api_key_retrieve_params.rb +10 -0
  783. data/lib/stripe/params/v2/iam/api_key_rotate_params.rb +46 -0
  784. data/lib/stripe/params/v2/iam/api_key_update_params.rb +20 -0
  785. data/lib/stripe/params/v2/money_management/adjustment_list_params.rb +48 -0
  786. data/lib/stripe/params/v2/money_management/adjustment_retrieve_params.rb +10 -0
  787. data/lib/stripe/params/v2/money_management/currency_conversion_create_params.rb +49 -0
  788. data/lib/stripe/params/v2/money_management/currency_conversion_list_params.rb +20 -0
  789. data/lib/stripe/params/v2/money_management/currency_conversion_retrieve_params.rb +10 -0
  790. data/lib/stripe/params/v2/money_management/debit_dispute_create_params.rb +28 -0
  791. data/lib/stripe/params/v2/money_management/debit_dispute_list_params.rb +23 -0
  792. data/lib/stripe/params/v2/money_management/debit_dispute_retrieve_params.rb +10 -0
  793. data/lib/stripe/params/v2/money_management/financial_account_close_params.rb +28 -0
  794. data/lib/stripe/params/v2/money_management/financial_account_create_params.rb +37 -0
  795. data/lib/stripe/params/v2/money_management/financial_account_list_params.rb +26 -0
  796. data/lib/stripe/params/v2/money_management/financial_account_retrieve_params.rb +17 -0
  797. data/lib/stripe/params/v2/money_management/financial_account_update_params.rb +33 -0
  798. data/lib/stripe/params/v2/money_management/financial_accounts/statement_list_params.rb +22 -0
  799. data/lib/stripe/params/v2/money_management/financial_accounts/statement_retrieve_params.rb +19 -0
  800. data/lib/stripe/params/v2/money_management/financial_address_create_params.rb +52 -0
  801. data/lib/stripe/params/v2/money_management/financial_address_list_params.rb +23 -0
  802. data/lib/stripe/params/v2/money_management/financial_address_retrieve_params.rb +17 -0
  803. data/lib/stripe/params/v2/money_management/inbound_transfer_create_params.rb +50 -0
  804. data/lib/stripe/params/v2/money_management/inbound_transfer_list_params.rb +44 -0
  805. data/lib/stripe/params/v2/money_management/inbound_transfer_retrieve_params.rb +10 -0
  806. data/lib/stripe/params/v2/money_management/outbound_payment_cancel_params.rb +10 -0
  807. data/lib/stripe/params/v2/money_management/outbound_payment_create_params.rb +130 -0
  808. data/lib/stripe/params/v2/money_management/outbound_payment_list_params.rb +52 -0
  809. data/lib/stripe/params/v2/money_management/outbound_payment_quote_create_params.rb +70 -0
  810. data/lib/stripe/params/v2/money_management/outbound_payment_quote_retrieve_params.rb +10 -0
  811. data/lib/stripe/params/v2/money_management/outbound_payment_retrieve_params.rb +10 -0
  812. data/lib/stripe/params/v2/money_management/outbound_setup_intent_cancel_params.rb +10 -0
  813. data/lib/stripe/params/v2/money_management/outbound_setup_intent_create_params.rb +110 -0
  814. data/lib/stripe/params/v2/money_management/outbound_setup_intent_list_params.rb +17 -0
  815. data/lib/stripe/params/v2/money_management/outbound_setup_intent_retrieve_params.rb +10 -0
  816. data/lib/stripe/params/v2/money_management/outbound_setup_intent_update_params.rb +88 -0
  817. data/lib/stripe/params/v2/money_management/outbound_transfer_cancel_params.rb +10 -0
  818. data/lib/stripe/params/v2/money_management/outbound_transfer_create_params.rb +85 -0
  819. data/lib/stripe/params/v2/money_management/outbound_transfer_list_params.rb +48 -0
  820. data/lib/stripe/params/v2/money_management/outbound_transfer_retrieve_params.rb +10 -0
  821. data/lib/stripe/params/v2/money_management/payout_method_archive_params.rb +10 -0
  822. data/lib/stripe/params/v2/money_management/payout_method_list_params.rb +31 -0
  823. data/lib/stripe/params/v2/money_management/payout_method_retrieve_params.rb +10 -0
  824. data/lib/stripe/params/v2/money_management/payout_method_unarchive_params.rb +10 -0
  825. data/lib/stripe/params/v2/money_management/payout_methods_bank_account_spec_retrieve_params.rb +17 -0
  826. data/lib/stripe/params/v2/money_management/received_credit_list_params.rb +44 -0
  827. data/lib/stripe/params/v2/money_management/received_credit_retrieve_params.rb +10 -0
  828. data/lib/stripe/params/v2/money_management/received_debit_list_params.rb +17 -0
  829. data/lib/stripe/params/v2/money_management/received_debit_retrieve_params.rb +10 -0
  830. data/lib/stripe/params/v2/money_management/recipient_verification_acknowledge_params.rb +10 -0
  831. data/lib/stripe/params/v2/money_management/recipient_verification_create_params.rb +20 -0
  832. data/lib/stripe/params/v2/money_management/recipient_verification_retrieve_params.rb +10 -0
  833. data/lib/stripe/params/v2/money_management/transaction_entry_list_params.rb +43 -0
  834. data/lib/stripe/params/v2/money_management/transaction_entry_retrieve_params.rb +10 -0
  835. data/lib/stripe/params/v2/money_management/transaction_list_params.rb +47 -0
  836. data/lib/stripe/params/v2/money_management/transaction_retrieve_params.rb +10 -0
  837. data/lib/stripe/params/v2/network/business_profile_me_params.rb +10 -0
  838. data/lib/stripe/params/v2/network/business_profile_retrieve_params.rb +10 -0
  839. data/lib/stripe/params/v2/orchestrated_commerce/agreement_confirm_params.rb +10 -0
  840. data/lib/stripe/params/v2/orchestrated_commerce/agreement_create_params.rb +17 -0
  841. data/lib/stripe/params/v2/orchestrated_commerce/agreement_list_params.rb +20 -0
  842. data/lib/stripe/params/v2/orchestrated_commerce/agreement_retrieve_params.rb +10 -0
  843. data/lib/stripe/params/v2/orchestrated_commerce/agreement_terminate_params.rb +10 -0
  844. data/lib/stripe/params/v2/payments/off_session_payment_cancel_params.rb +10 -0
  845. data/lib/stripe/params/v2/payments/off_session_payment_capture_params.rb +178 -0
  846. data/lib/stripe/params/v2/payments/off_session_payment_create_params.rb +362 -0
  847. data/lib/stripe/params/v2/payments/off_session_payment_list_params.rb +17 -0
  848. data/lib/stripe/params/v2/payments/off_session_payment_pause_params.rb +10 -0
  849. data/lib/stripe/params/v2/payments/off_session_payment_resume_params.rb +10 -0
  850. data/lib/stripe/params/v2/payments/off_session_payment_retrieve_params.rb +10 -0
  851. data/lib/stripe/params/v2/payments/settlement_allocation_intent_cancel_params.rb +10 -0
  852. data/lib/stripe/params/v2/payments/settlement_allocation_intent_create_params.rb +35 -0
  853. data/lib/stripe/params/v2/payments/settlement_allocation_intent_list_params.rb +47 -0
  854. data/lib/stripe/params/v2/payments/settlement_allocation_intent_retrieve_params.rb +10 -0
  855. data/lib/stripe/params/v2/payments/settlement_allocation_intent_submit_params.rb +10 -0
  856. data/lib/stripe/params/v2/payments/settlement_allocation_intent_update_params.rb +20 -0
  857. data/lib/stripe/params/v2/payments/settlement_allocation_intents/split_cancel_params.rb +12 -0
  858. data/lib/stripe/params/v2/payments/settlement_allocation_intents/split_create_params.rb +28 -0
  859. data/lib/stripe/params/v2/payments/settlement_allocation_intents/split_list_params.rb +22 -0
  860. data/lib/stripe/params/v2/payments/settlement_allocation_intents/split_retrieve_params.rb +12 -0
  861. data/lib/stripe/params/v2/reporting/report_retrieve_params.rb +10 -0
  862. data/lib/stripe/params/v2/reporting/report_run_create_params.rb +33 -0
  863. data/lib/stripe/params/v2/reporting/report_run_retrieve_params.rb +17 -0
  864. data/lib/stripe/params/v2/signals/account_signal_list_params.rb +35 -0
  865. data/lib/stripe/params/v2/signals/account_signal_retrieve_params.rb +10 -0
  866. data/lib/stripe/params/v2/tax/manual_rule_create_params.rb +124 -0
  867. data/lib/stripe/params/v2/tax/manual_rule_deactivate_params.rb +10 -0
  868. data/lib/stripe/params/v2/tax/manual_rule_list_params.rb +17 -0
  869. data/lib/stripe/params/v2/tax/manual_rule_retrieve_params.rb +10 -0
  870. data/lib/stripe/params/v2/tax/manual_rule_update_params.rb +124 -0
  871. data/lib/stripe/params/v2/test_helpers/financial_address_credit_params.rb +23 -0
  872. data/lib/stripe/params/v2/test_helpers/financial_address_generate_microdeposits_params.rb +10 -0
  873. data/lib/stripe/params/v2/test_helpers/money_management_recipient_verifications_params.rb +24 -0
  874. data/lib/stripe/params.rb +909 -0
  875. data/lib/stripe/resources/account.rb +271 -1
  876. data/lib/stripe/resources/account_notice.rb +94 -0
  877. data/lib/stripe/resources/account_session.rb +302 -0
  878. data/lib/stripe/resources/account_signals.rb +104 -0
  879. data/lib/stripe/resources/application_fee.rb +24 -1
  880. data/lib/stripe/resources/balance.rb +166 -0
  881. data/lib/stripe/resources/balance_settings.rb +4 -0
  882. data/lib/stripe/resources/balance_transfer.rb +139 -0
  883. data/lib/stripe/resources/billing/alert.rb +274 -1
  884. data/lib/stripe/resources/billing/alert_recovered.rb +44 -0
  885. data/lib/stripe/resources/billing/alert_triggered.rb +48 -1
  886. data/lib/stripe/resources/billing/analytics/meter_usage.rb +33 -0
  887. data/lib/stripe/resources/billing/analytics/meter_usage_row.rb +40 -0
  888. data/lib/stripe/resources/billing/credit_balance_summary.rb +172 -3
  889. data/lib/stripe/resources/billing/credit_balance_transaction.rb +145 -2
  890. data/lib/stripe/resources/billing/credit_grant.rb +77 -2
  891. data/lib/stripe/resources/billing/meter.rb +2 -0
  892. data/lib/stripe/resources/billing/meter_event_summary.rb +2 -0
  893. data/lib/stripe/resources/capability.rb +36 -1
  894. data/lib/stripe/resources/capital/financing_offer.rb +183 -0
  895. data/lib/stripe/resources/capital/financing_summary.rb +82 -0
  896. data/lib/stripe/resources/capital/financing_transaction.rb +99 -0
  897. data/lib/stripe/resources/card.rb +20 -1
  898. data/lib/stripe/resources/charge.rb +328 -2
  899. data/lib/stripe/resources/checkout/session.rb +529 -3
  900. data/lib/stripe/resources/confirmation_token.rb +200 -1
  901. data/lib/stripe/resources/coupon.rb +60 -1
  902. data/lib/stripe/resources/credit_note_line_item.rb +18 -0
  903. data/lib/stripe/resources/customer_session.rb +36 -0
  904. data/lib/stripe/resources/delegated_checkout/order.rb +142 -0
  905. data/lib/stripe/resources/delegated_checkout/order_event.rb +118 -0
  906. data/lib/stripe/resources/delegated_checkout/requested_session.rb +895 -0
  907. data/lib/stripe/resources/discount.rb +20 -1
  908. data/lib/stripe/resources/dispute.rb +24 -0
  909. data/lib/stripe/resources/event.rb +64 -1
  910. data/lib/stripe/resources/financial_connections/account.rb +57 -0
  911. data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +35 -0
  912. data/lib/stripe/resources/financial_connections/authorization.rb +82 -0
  913. data/lib/stripe/resources/financial_connections/institution.rb +127 -0
  914. data/lib/stripe/resources/financial_connections/session.rb +125 -1
  915. data/lib/stripe/resources/fr_meal_vouchers_onboarding.rb +153 -0
  916. data/lib/stripe/resources/fx_quote.rb +147 -0
  917. data/lib/stripe/resources/identity/blocklist_entry.rb +116 -0
  918. data/lib/stripe/resources/identity/verification_report.rb +24 -1
  919. data/lib/stripe/resources/invoice.rb +195 -1
  920. data/lib/stripe/resources/invoice_item.rb +126 -2
  921. data/lib/stripe/resources/invoice_line_item.rb +195 -1
  922. data/lib/stripe/resources/issuing/authorization.rb +268 -0
  923. data/lib/stripe/resources/issuing/card.rb +4 -0
  924. data/lib/stripe/resources/issuing/credit_underwriting_record.rb +263 -0
  925. data/lib/stripe/resources/issuing/dispute.rb +289 -1
  926. data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +71 -0
  927. data/lib/stripe/resources/issuing/fraud_liability_debit.rb +51 -0
  928. data/lib/stripe/resources/issuing/program.rb +69 -0
  929. data/lib/stripe/resources/issuing/settlement.rb +61 -0
  930. data/lib/stripe/resources/issuing/token.rb +8 -0
  931. data/lib/stripe/resources/issuing/transaction.rb +124 -0
  932. data/lib/stripe/resources/line_item.rb +42 -0
  933. data/lib/stripe/resources/mandate.rb +12 -0
  934. data/lib/stripe/resources/margin.rb +64 -0
  935. data/lib/stripe/resources/orchestration/payment_attempt.rb +31 -0
  936. data/lib/stripe/resources/order.rb +927 -0
  937. data/lib/stripe/resources/payment_attempt_record.rb +382 -2
  938. data/lib/stripe/resources/payment_intent.rb +2269 -47
  939. data/lib/stripe/resources/payment_intent_amount_details_line_item.rb +19 -1
  940. data/lib/stripe/resources/payment_link.rb +22 -0
  941. data/lib/stripe/resources/payment_location.rb +165 -0
  942. data/lib/stripe/resources/payment_location_capability.rb +94 -0
  943. data/lib/stripe/resources/payment_method.rb +228 -1
  944. data/lib/stripe/resources/payment_method_balance.rb +68 -0
  945. data/lib/stripe/resources/payment_method_configuration.rb +170 -0
  946. data/lib/stripe/resources/payment_record.rb +242 -2
  947. data/lib/stripe/resources/person.rb +62 -0
  948. data/lib/stripe/resources/price.rb +22 -0
  949. data/lib/stripe/resources/privacy/redaction_job.rb +189 -0
  950. data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +49 -0
  951. data/lib/stripe/resources/product.rb +46 -0
  952. data/lib/stripe/resources/product_catalog/trial_offer.rb +106 -0
  953. data/lib/stripe/resources/profile.rb +80 -0
  954. data/lib/stripe/resources/quote.rb +806 -2
  955. data/lib/stripe/resources/quote_line.rb +731 -0
  956. data/lib/stripe/resources/quote_preview_invoice.rb +1261 -0
  957. data/lib/stripe/resources/quote_preview_subscription_schedule.rb +911 -0
  958. data/lib/stripe/resources/radar/account_evaluation.rb +180 -0
  959. data/lib/stripe/resources/radar/customer_evaluation.rb +155 -0
  960. data/lib/stripe/resources/radar/issuing_authorization_evaluation.rb +245 -0
  961. data/lib/stripe/resources/radar/payment_evaluation.rb +23 -1
  962. data/lib/stripe/resources/refund.rb +18 -0
  963. data/lib/stripe/resources/reserve/hold.rb +7 -0
  964. data/lib/stripe/resources/reserve/release.rb +12 -0
  965. data/lib/stripe/resources/risk_signals.rb +24 -0
  966. data/lib/stripe/resources/setup_attempt.rb +35 -0
  967. data/lib/stripe/resources/setup_intent.rb +92 -1
  968. data/lib/stripe/resources/shared_payment/granted_token.rb +1822 -0
  969. data/lib/stripe/resources/shared_payment/issued_token.rb +293 -0
  970. data/lib/stripe/resources/source.rb +38 -0
  971. data/lib/stripe/resources/subscription.rb +250 -0
  972. data/lib/stripe/resources/subscription_item.rb +41 -1
  973. data/lib/stripe/resources/subscription_schedule.rb +373 -3
  974. data/lib/stripe/resources/tax/calculation_line_item.rb +2 -0
  975. data/lib/stripe/resources/tax/form.rb +264 -0
  976. data/lib/stripe/resources/tax/location.rb +72 -0
  977. data/lib/stripe/resources/tax/registration.rb +144 -0
  978. data/lib/stripe/resources/tax_code.rb +15 -1
  979. data/lib/stripe/resources/terminal/configuration.rb +16 -0
  980. data/lib/stripe/resources/terminal/reader.rb +8 -0
  981. data/lib/stripe/resources/terminal/reader_collected_data.rb +47 -0
  982. data/lib/stripe/resources/transfer.rb +6 -0
  983. data/lib/stripe/resources/transit_balance.rb +45 -0
  984. data/lib/stripe/resources/treasury/financial_account.rb +2 -0
  985. data/lib/stripe/resources/treasury/financial_account_features.rb +2 -0
  986. data/lib/stripe/resources/treasury/outbound_payment.rb +2 -0
  987. data/lib/stripe/resources/treasury/outbound_transfer.rb +30 -0
  988. data/lib/stripe/resources/treasury/received_credit.rb +30 -0
  989. data/lib/stripe/resources/treasury/received_debit.rb +32 -0
  990. data/lib/stripe/resources/v2/billing/bill_setting.rb +102 -0
  991. data/lib/stripe/resources/v2/billing/bill_setting_version.rb +91 -0
  992. data/lib/stripe/resources/v2/billing/cadence.rb +773 -0
  993. data/lib/stripe/resources/v2/billing/cadence_spend_modifier.rb +103 -0
  994. data/lib/stripe/resources/v2/billing/collection_setting.rb +327 -0
  995. data/lib/stripe/resources/v2/billing/collection_setting_version.rb +316 -0
  996. data/lib/stripe/resources/v2/billing/contract.rb +978 -0
  997. data/lib/stripe/resources/v2/billing/contract_license_pricing_quantity_change.rb +43 -0
  998. data/lib/stripe/resources/v2/billing/custom_pricing_unit.rb +43 -0
  999. data/lib/stripe/resources/v2/billing/intent.rb +354 -0
  1000. data/lib/stripe/resources/v2/billing/intent_action.rb +711 -0
  1001. data/lib/stripe/resources/v2/billing/license_fee.rb +140 -0
  1002. data/lib/stripe/resources/v2/billing/license_fee_version.rb +101 -0
  1003. data/lib/stripe/resources/v2/billing/licensed_item.rb +60 -0
  1004. data/lib/stripe/resources/v2/billing/metered_item.rb +85 -0
  1005. data/lib/stripe/resources/v2/billing/one_time_item.rb +60 -0
  1006. data/lib/stripe/resources/v2/billing/pricing_plan.rb +51 -0
  1007. data/lib/stripe/resources/v2/billing/pricing_plan_component.rb +97 -0
  1008. data/lib/stripe/resources/v2/billing/pricing_plan_subscription.rb +719 -0
  1009. data/lib/stripe/resources/v2/billing/pricing_plan_version.rb +41 -0
  1010. data/lib/stripe/resources/v2/billing/profile.rb +47 -0
  1011. data/lib/stripe/resources/v2/billing/rate_card.rb +71 -0
  1012. data/lib/stripe/resources/v2/billing/rate_card_custom_pricing_unit_overage_rate.rb +48 -0
  1013. data/lib/stripe/resources/v2/billing/rate_card_rate.rb +131 -0
  1014. data/lib/stripe/resources/v2/billing/rate_card_subscription.rb +97 -0
  1015. data/lib/stripe/resources/v2/billing/rate_card_version.rb +37 -0
  1016. data/lib/stripe/resources/v2/billing/service_action.rb +306 -0
  1017. data/lib/stripe/resources/v2/core/account.rb +2668 -20
  1018. data/lib/stripe/resources/v2/core/account_evaluation.rb +106 -0
  1019. data/lib/stripe/resources/v2/core/account_link.rb +72 -0
  1020. data/lib/stripe/resources/v2/core/approval_request.rb +337 -0
  1021. data/lib/stripe/resources/v2/core/batch_job.rb +567 -0
  1022. data/lib/stripe/resources/v2/core/claimable_sandbox.rb +146 -0
  1023. data/lib/stripe/resources/v2/core/connection_session.rb +58 -0
  1024. data/lib/stripe/resources/v2/core/event.rb +66 -1
  1025. data/lib/stripe/resources/v2/core/event_notification.rb +1 -0
  1026. data/lib/stripe/resources/v2/core/fee_batch.rb +142 -0
  1027. data/lib/stripe/resources/v2/core/fee_entry.rb +135 -0
  1028. data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +136 -0
  1029. data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +105 -0
  1030. data/lib/stripe/resources/v2/data/analytics/metric_query_result.rb +106 -0
  1031. data/lib/stripe/resources/v2/data/reporting/query_run.rb +159 -0
  1032. data/lib/stripe/resources/v2/extend/workflow.rb +80 -0
  1033. data/lib/stripe/resources/v2/extend/workflow_run.rb +158 -0
  1034. data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +29 -0
  1035. data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +31 -0
  1036. data/lib/stripe/resources/v2/iam/activity_log.rb +187 -0
  1037. data/lib/stripe/resources/v2/iam/api_key.rb +129 -0
  1038. data/lib/stripe/resources/v2/money_management/adjustment.rb +69 -0
  1039. data/lib/stripe/resources/v2/money_management/currency_conversion.rb +66 -0
  1040. data/lib/stripe/resources/v2/money_management/debit_dispute.rb +113 -0
  1041. data/lib/stripe/resources/v2/money_management/financial_account.rb +284 -0
  1042. data/lib/stripe/resources/v2/money_management/financial_account_statement.rb +101 -0
  1043. data/lib/stripe/resources/v2/money_management/financial_address.rb +225 -0
  1044. data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +181 -0
  1045. data/lib/stripe/resources/v2/money_management/outbound_payment.rb +303 -0
  1046. data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +146 -0
  1047. data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +69 -0
  1048. data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +198 -0
  1049. data/lib/stripe/resources/v2/money_management/payout_method.rb +169 -0
  1050. data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +83 -0
  1051. data/lib/stripe/resources/v2/money_management/received_credit.rb +402 -0
  1052. data/lib/stripe/resources/v2/money_management/received_debit.rb +243 -0
  1053. data/lib/stripe/resources/v2/money_management/recipient_verification.rb +83 -0
  1054. data/lib/stripe/resources/v2/money_management/transaction.rb +177 -0
  1055. data/lib/stripe/resources/v2/money_management/transaction_entry.rb +147 -0
  1056. data/lib/stripe/resources/v2/network/business_profile.rb +84 -0
  1057. data/lib/stripe/resources/v2/orchestrated_commerce/agreement.rb +93 -0
  1058. data/lib/stripe/resources/v2/payments/off_session_payment.rb +288 -0
  1059. data/lib/stripe/resources/v2/payments/settlement_allocation_intent.rb +77 -0
  1060. data/lib/stripe/resources/v2/payments/settlement_allocation_intent_split.rb +65 -0
  1061. data/lib/stripe/resources/v2/reporting/report.rb +116 -0
  1062. data/lib/stripe/resources/v2/reporting/report_run.rb +159 -0
  1063. data/lib/stripe/resources/v2/signals/account_signal.rb +144 -0
  1064. data/lib/stripe/resources/v2/tax/manual_rule.rb +145 -0
  1065. data/lib/stripe/resources.rb +1729 -0
  1066. data/lib/stripe/services/account_notice_service.rb +39 -0
  1067. data/lib/stripe/services/account_service.rb +46 -1
  1068. data/lib/stripe/services/account_signals_service.rb +17 -0
  1069. data/lib/stripe/services/balance_transfer_service.rb +17 -0
  1070. data/lib/stripe/services/billing/alert_service.rb +2 -0
  1071. data/lib/stripe/services/billing/analytics/meter_usage_service.rb +21 -0
  1072. data/lib/stripe/services/billing/analytics_service.rb +15 -0
  1073. data/lib/stripe/services/billing/credit_grant_service.rb +4 -0
  1074. data/lib/stripe/services/billing_service.rb +2 -1
  1075. data/lib/stripe/services/capital/financing_offer_service.rb +42 -0
  1076. data/lib/stripe/services/capital/financing_summary_service.rb +19 -0
  1077. data/lib/stripe/services/capital/financing_transaction_service.rb +31 -0
  1078. data/lib/stripe/services/capital_service.rb +15 -0
  1079. data/lib/stripe/services/checkout/session_service.rb +11 -0
  1080. data/lib/stripe/services/coupon_service.rb +44 -0
  1081. data/lib/stripe/services/credit_note_service.rb +14 -0
  1082. data/lib/stripe/services/customer_balance_transaction_service.rb +30 -0
  1083. data/lib/stripe/services/customer_cash_balance_service.rb +15 -0
  1084. data/lib/stripe/services/customer_funding_instructions_service.rb +15 -0
  1085. data/lib/stripe/services/customer_payment_source_service.rb +60 -0
  1086. data/lib/stripe/services/customer_service.rb +59 -0
  1087. data/lib/stripe/services/customer_session_service.rb +14 -0
  1088. data/lib/stripe/services/customer_tax_id_service.rb +30 -0
  1089. data/lib/stripe/services/delegated_checkout/order_service.rb +19 -0
  1090. data/lib/stripe/services/delegated_checkout/requested_session_order_service.rb +19 -0
  1091. data/lib/stripe/services/delegated_checkout/requested_session_service.rb +70 -0
  1092. data/lib/stripe/services/delegated_checkout_service.rb +14 -0
  1093. data/lib/stripe/services/dispute_service.rb +15 -0
  1094. data/lib/stripe/services/external_account_service.rb +68 -0
  1095. data/lib/stripe/services/financial_connections/account_inferred_balance_service.rb +19 -0
  1096. data/lib/stripe/services/financial_connections/account_service.rb +3 -1
  1097. data/lib/stripe/services/financial_connections/authorization_service.rb +19 -0
  1098. data/lib/stripe/services/financial_connections/institution_service.rb +30 -0
  1099. data/lib/stripe/services/financial_connections_service.rb +3 -1
  1100. data/lib/stripe/services/fr_meal_vouchers_onboarding_service.rb +57 -0
  1101. data/lib/stripe/services/fx_quote_service.rb +27 -0
  1102. data/lib/stripe/services/identity/blocklist_entry_service.rb +71 -0
  1103. data/lib/stripe/services/identity_service.rb +2 -1
  1104. data/lib/stripe/services/invoice_item_service.rb +44 -0
  1105. data/lib/stripe/services/invoice_line_item_service.rb +15 -0
  1106. data/lib/stripe/services/invoice_rendering_template_service.rb +30 -0
  1107. data/lib/stripe/services/invoice_service.rb +189 -0
  1108. data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +74 -0
  1109. data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +30 -0
  1110. data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +30 -0
  1111. data/lib/stripe/services/issuing/program_service.rb +52 -0
  1112. data/lib/stripe/services/issuing_service.rb +6 -1
  1113. data/lib/stripe/services/mandate_service.rb +5 -0
  1114. data/lib/stripe/services/margin_service.rb +50 -0
  1115. data/lib/stripe/services/orchestration/payment_attempt_service.rb +19 -0
  1116. data/lib/stripe/services/orchestration_service.rb +13 -0
  1117. data/lib/stripe/services/order_service.rb +53 -0
  1118. data/lib/stripe/services/payment_attempt_record_service.rb +77 -0
  1119. data/lib/stripe/services/payment_intent_service.rb +55 -0
  1120. data/lib/stripe/services/payment_location_capability_service.rb +39 -0
  1121. data/lib/stripe/services/payment_location_service.rb +61 -0
  1122. data/lib/stripe/services/payment_method_service.rb +26 -0
  1123. data/lib/stripe/services/price_service.rb +29 -0
  1124. data/lib/stripe/services/privacy/redaction_job_service.rb +104 -0
  1125. data/lib/stripe/services/privacy/redaction_job_validation_error_service.rb +19 -0
  1126. data/lib/stripe/services/privacy_service.rb +13 -0
  1127. data/lib/stripe/services/product_catalog/trial_offer_service.rb +19 -0
  1128. data/lib/stripe/services/product_catalog_service.rb +13 -0
  1129. data/lib/stripe/services/product_feature_service.rb +30 -0
  1130. data/lib/stripe/services/product_service.rb +44 -0
  1131. data/lib/stripe/services/promotion_code_service.rb +29 -0
  1132. data/lib/stripe/services/quote_line_service.rb +17 -0
  1133. data/lib/stripe/services/quote_preview_invoice_service.rb +17 -0
  1134. data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +17 -0
  1135. data/lib/stripe/services/quote_service.rb +49 -1
  1136. data/lib/stripe/services/radar/account_evaluation_service.rb +41 -0
  1137. data/lib/stripe/services/radar/customer_evaluation_service.rb +30 -0
  1138. data/lib/stripe/services/radar/issuing_authorization_evaluation_service.rb +19 -0
  1139. data/lib/stripe/services/radar/value_list_item_service.rb +14 -0
  1140. data/lib/stripe/services/radar_service.rb +5 -1
  1141. data/lib/stripe/services/refund_service.rb +29 -0
  1142. data/lib/stripe/services/reserve/hold_service.rb +30 -0
  1143. data/lib/stripe/services/reserve/plan_service.rb +19 -0
  1144. data/lib/stripe/services/reserve/release_service.rb +30 -0
  1145. data/lib/stripe/services/reserve_service.rb +15 -0
  1146. data/lib/stripe/services/shared_payment/granted_token_service.rb +19 -0
  1147. data/lib/stripe/services/shared_payment/issued_token_service.rb +41 -0
  1148. data/lib/stripe/services/shared_payment_service.rb +14 -0
  1149. data/lib/stripe/services/subscription_item_service.rb +44 -0
  1150. data/lib/stripe/services/subscription_schedule_service.rb +70 -0
  1151. data/lib/stripe/services/subscription_service.rb +111 -0
  1152. data/lib/stripe/services/tax/form_service.rb +37 -0
  1153. data/lib/stripe/services/tax/location_service.rb +45 -0
  1154. data/lib/stripe/services/tax/registration_service.rb +29 -0
  1155. data/lib/stripe/services/tax/settings_service.rb +14 -0
  1156. data/lib/stripe/services/tax/transaction_service.rb +14 -0
  1157. data/lib/stripe/services/tax_id_service.rb +14 -0
  1158. data/lib/stripe/services/tax_rate_service.rb +29 -0
  1159. data/lib/stripe/services/tax_service.rb +3 -1
  1160. data/lib/stripe/services/terminal/reader_collected_data_service.rb +19 -0
  1161. data/lib/stripe/services/terminal_service.rb +2 -1
  1162. data/lib/stripe/services/test_helpers/capital/financing_offer_service.rb +32 -0
  1163. data/lib/stripe/services/test_helpers/capital_service.rb +15 -0
  1164. data/lib/stripe/services/test_helpers/issuing/dispute_service.rb +54 -0
  1165. data/lib/stripe/services/test_helpers/issuing_service.rb +2 -1
  1166. data/lib/stripe/services/test_helpers/payment_intent_service.rb +19 -0
  1167. data/lib/stripe/services/test_helpers/shared_payment/granted_token_service.rb +32 -0
  1168. data/lib/stripe/services/test_helpers/shared_payment_service.rb +15 -0
  1169. data/lib/stripe/services/test_helpers_service.rb +4 -1
  1170. data/lib/stripe/services/v1_services.rb +17 -1
  1171. data/lib/stripe/services/v2/billing/bill_setting_service.rb +61 -0
  1172. data/lib/stripe/services/v2/billing/bill_settings/version_service.rb +34 -0
  1173. data/lib/stripe/services/v2/billing/cadence_service.rb +73 -0
  1174. data/lib/stripe/services/v2/billing/cadences/spend_modifier_rule_service.rb +34 -0
  1175. data/lib/stripe/services/v2/billing/collection_setting_service.rb +69 -0
  1176. data/lib/stripe/services/v2/billing/collection_settings/version_service.rb +34 -0
  1177. data/lib/stripe/services/v2/billing/contract_service.rb +91 -0
  1178. data/lib/stripe/services/v2/billing/contracts/license_pricing/quantity_change_service.rb +25 -0
  1179. data/lib/stripe/services/v2/billing/contracts/license_pricing_service.rb +20 -0
  1180. data/lib/stripe/services/v2/billing/custom_pricing_unit_service.rb +54 -0
  1181. data/lib/stripe/services/v2/billing/intent_service.rb +98 -0
  1182. data/lib/stripe/services/v2/billing/intents/action_service.rb +34 -0
  1183. data/lib/stripe/services/v2/billing/license_fee_service.rb +69 -0
  1184. data/lib/stripe/services/v2/billing/license_fees/version_service.rb +34 -0
  1185. data/lib/stripe/services/v2/billing/licensed_item_service.rb +54 -0
  1186. data/lib/stripe/services/v2/billing/metered_item_service.rb +54 -0
  1187. data/lib/stripe/services/v2/billing/one_time_item_service.rb +54 -0
  1188. data/lib/stripe/services/v2/billing/pricing_plan_service.rb +62 -0
  1189. data/lib/stripe/services/v2/billing/pricing_plan_subscription_service.rb +54 -0
  1190. data/lib/stripe/services/v2/billing/pricing_plans/component_service.rb +67 -0
  1191. data/lib/stripe/services/v2/billing/pricing_plans/version_service.rb +34 -0
  1192. data/lib/stripe/services/v2/billing/profile_service.rb +54 -0
  1193. data/lib/stripe/services/v2/billing/rate_card_service.rb +79 -0
  1194. data/lib/stripe/services/v2/billing/rate_card_subscription_service.rb +65 -0
  1195. data/lib/stripe/services/v2/billing/rate_cards/custom_pricing_unit_overage_rate_service.rb +56 -0
  1196. data/lib/stripe/services/v2/billing/rate_cards/rate_service.rb +61 -0
  1197. data/lib/stripe/services/v2/billing/rate_cards/version_service.rb +34 -0
  1198. data/lib/stripe/services/v2/billing/service_action_service.rb +47 -0
  1199. data/lib/stripe/services/v2/billing_service.rb +18 -1
  1200. data/lib/stripe/services/v2/core/account_evaluation_service.rb +21 -0
  1201. data/lib/stripe/services/v2/core/approval_request_service.rb +70 -0
  1202. data/lib/stripe/services/v2/core/batch_job_service.rb +43 -0
  1203. data/lib/stripe/services/v2/core/claimable_sandbox_service.rb +47 -0
  1204. data/lib/stripe/services/v2/core/connection_session_service.rb +32 -0
  1205. data/lib/stripe/services/v2/core/fee_batch_service.rb +32 -0
  1206. data/lib/stripe/services/v2/core/fee_entry_service.rb +32 -0
  1207. data/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb +85 -0
  1208. data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +101 -0
  1209. data/lib/stripe/services/v2/core/vault_service.rb +18 -0
  1210. data/lib/stripe/services/v2/core_service.rb +9 -1
  1211. data/lib/stripe/services/v2/data/analytics/metric_query_service.rb +23 -0
  1212. data/lib/stripe/services/v2/data/analytics_service.rb +17 -0
  1213. data/lib/stripe/services/v2/data/reporting/query_run_service.rb +35 -0
  1214. data/lib/stripe/services/v2/data/reporting_service.rb +17 -0
  1215. data/lib/stripe/services/v2/data_service.rb +16 -0
  1216. data/lib/stripe/services/v2/extend/workflow_run_service.rb +32 -0
  1217. data/lib/stripe/services/v2/extend/workflow_service.rb +45 -0
  1218. data/lib/stripe/services/v2/extend_service.rb +16 -0
  1219. data/lib/stripe/services/v2/iam/activity_log_service.rb +32 -0
  1220. data/lib/stripe/services/v2/iam/api_key_service.rb +76 -0
  1221. data/lib/stripe/services/v2/iam_service.rb +16 -0
  1222. data/lib/stripe/services/v2/money_management/adjustment_service.rb +32 -0
  1223. data/lib/stripe/services/v2/money_management/currency_conversion_service.rb +46 -0
  1224. data/lib/stripe/services/v2/money_management/debit_dispute_service.rb +43 -0
  1225. data/lib/stripe/services/v2/money_management/financial_account_service.rb +78 -0
  1226. data/lib/stripe/services/v2/money_management/financial_accounts/statement_service.rb +34 -0
  1227. data/lib/stripe/services/v2/money_management/financial_address_service.rb +46 -0
  1228. data/lib/stripe/services/v2/money_management/inbound_transfer_service.rb +45 -0
  1229. data/lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb +34 -0
  1230. data/lib/stripe/services/v2/money_management/outbound_payment_service.rb +62 -0
  1231. data/lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb +75 -0
  1232. data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +60 -0
  1233. data/lib/stripe/services/v2/money_management/payout_method_service.rb +66 -0
  1234. data/lib/stripe/services/v2/money_management/payout_methods_bank_account_spec_service.rb +23 -0
  1235. data/lib/stripe/services/v2/money_management/received_credit_service.rb +32 -0
  1236. data/lib/stripe/services/v2/money_management/received_debit_service.rb +32 -0
  1237. data/lib/stripe/services/v2/money_management/recipient_verification_service.rb +43 -0
  1238. data/lib/stripe/services/v2/money_management/transaction_entry_service.rb +32 -0
  1239. data/lib/stripe/services/v2/money_management/transaction_service.rb +32 -0
  1240. data/lib/stripe/services/v2/money_management_service.rb +36 -0
  1241. data/lib/stripe/services/v2/network/business_profile_service.rb +32 -0
  1242. data/lib/stripe/services/v2/network_service.rb +15 -0
  1243. data/lib/stripe/services/v2/orchestrated_commerce/agreement_service.rb +65 -0
  1244. data/lib/stripe/services/v2/orchestrated_commerce_service.rb +15 -0
  1245. data/lib/stripe/services/v2/payments/off_session_payment_service.rb +87 -0
  1246. data/lib/stripe/services/v2/payments/settlement_allocation_intent_service.rb +83 -0
  1247. data/lib/stripe/services/v2/payments/settlement_allocation_intents/split_service.rb +56 -0
  1248. data/lib/stripe/services/v2/payments_service.rb +17 -0
  1249. data/lib/stripe/services/v2/reporting/report_run_service.rb +38 -0
  1250. data/lib/stripe/services/v2/reporting/report_service.rb +23 -0
  1251. data/lib/stripe/services/v2/reporting_service.rb +16 -0
  1252. data/lib/stripe/services/v2/signals/account_signal_service.rb +32 -0
  1253. data/lib/stripe/services/v2/signals_service.rb +15 -0
  1254. data/lib/stripe/services/v2/tax/manual_rule_service.rb +73 -0
  1255. data/lib/stripe/services/v2/tax_service.rb +15 -0
  1256. data/lib/stripe/services/v2/test_helper_service.rb +16 -0
  1257. data/lib/stripe/services/v2/test_helpers/financial_address_service.rb +36 -0
  1258. data/lib/stripe/services/v2/test_helpers/money_management_service.rb +21 -0
  1259. data/lib/stripe/services/v2_services.rb +12 -1
  1260. data/lib/stripe/services.rb +396 -0
  1261. data/lib/stripe/stripe_client.rb +8 -1
  1262. data/lib/stripe/stripe_configuration.rb +3 -1
  1263. data/lib/stripe/stripe_event_notification_handler.rb +2520 -0
  1264. data/lib/stripe/stripe_object.rb +1 -1
  1265. data/lib/stripe/util.rb +7 -1
  1266. data/lib/stripe/version.rb +1 -1
  1267. data/lib/stripe.rb +54 -0
  1268. data/rbi/stripe/resources/v2/core/event_notification.rbi +3 -0
  1269. data/rbi/stripe/stripe_client.rbi +13 -0
  1270. data/rbi/stripe.rbi +219739 -104589
  1271. metadata +1029 -4
@@ -13,6 +13,567 @@ module Stripe
13
13
  end
14
14
 
15
15
  class Configuration < ::Stripe::StripeObject
16
+ class CardCreator < ::Stripe::StripeObject
17
+ class Capabilities < ::Stripe::StripeObject
18
+ class Commercial < ::Stripe::StripeObject
19
+ class Celtic < ::Stripe::StripeObject
20
+ class ChargeCard < ::Stripe::StripeObject
21
+ class StatusDetail < ::Stripe::StripeObject
22
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
23
+ attr_reader :code
24
+ # Machine-readable code explaining how to make the Capability active.
25
+ attr_reader :resolution
26
+
27
+ def self.inner_class_types
28
+ @inner_class_types = {}
29
+ end
30
+
31
+ def self.field_remappings
32
+ @field_remappings = {}
33
+ end
34
+ end
35
+ # The status of the Capability.
36
+ attr_reader :status
37
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
38
+ attr_reader :status_details
39
+
40
+ def self.inner_class_types
41
+ @inner_class_types = { status_details: StatusDetail }
42
+ end
43
+
44
+ def self.field_remappings
45
+ @field_remappings = {}
46
+ end
47
+ end
48
+
49
+ class SpendCard < ::Stripe::StripeObject
50
+ class StatusDetail < ::Stripe::StripeObject
51
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
52
+ attr_reader :code
53
+ # Machine-readable code explaining how to make the Capability active.
54
+ attr_reader :resolution
55
+
56
+ def self.inner_class_types
57
+ @inner_class_types = {}
58
+ end
59
+
60
+ def self.field_remappings
61
+ @field_remappings = {}
62
+ end
63
+ end
64
+ # The status of the Capability.
65
+ attr_reader :status
66
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
67
+ attr_reader :status_details
68
+
69
+ def self.inner_class_types
70
+ @inner_class_types = { status_details: StatusDetail }
71
+ end
72
+
73
+ def self.field_remappings
74
+ @field_remappings = {}
75
+ end
76
+ end
77
+ # Can create commercial issuing charge cards with Celtic as BIN sponsor.
78
+ attr_reader :charge_card
79
+ # Can create commercial issuing spend cards with Celtic as BIN sponsor.
80
+ attr_reader :spend_card
81
+
82
+ def self.inner_class_types
83
+ @inner_class_types = { charge_card: ChargeCard, spend_card: SpendCard }
84
+ end
85
+
86
+ def self.field_remappings
87
+ @field_remappings = {}
88
+ end
89
+ end
90
+
91
+ class CrossRiverBank < ::Stripe::StripeObject
92
+ class ChargeCard < ::Stripe::StripeObject
93
+ class StatusDetail < ::Stripe::StripeObject
94
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
95
+ attr_reader :code
96
+ # Machine-readable code explaining how to make the Capability active.
97
+ attr_reader :resolution
98
+
99
+ def self.inner_class_types
100
+ @inner_class_types = {}
101
+ end
102
+
103
+ def self.field_remappings
104
+ @field_remappings = {}
105
+ end
106
+ end
107
+ # The status of the Capability.
108
+ attr_reader :status
109
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
110
+ attr_reader :status_details
111
+
112
+ def self.inner_class_types
113
+ @inner_class_types = { status_details: StatusDetail }
114
+ end
115
+
116
+ def self.field_remappings
117
+ @field_remappings = {}
118
+ end
119
+ end
120
+
121
+ class PrepaidCard < ::Stripe::StripeObject
122
+ class StatusDetail < ::Stripe::StripeObject
123
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
124
+ attr_reader :code
125
+ # Machine-readable code explaining how to make the Capability active.
126
+ attr_reader :resolution
127
+
128
+ def self.inner_class_types
129
+ @inner_class_types = {}
130
+ end
131
+
132
+ def self.field_remappings
133
+ @field_remappings = {}
134
+ end
135
+ end
136
+ # The status of the Capability.
137
+ attr_reader :status
138
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
139
+ attr_reader :status_details
140
+
141
+ def self.inner_class_types
142
+ @inner_class_types = { status_details: StatusDetail }
143
+ end
144
+
145
+ def self.field_remappings
146
+ @field_remappings = {}
147
+ end
148
+ end
149
+
150
+ class SpendCard < ::Stripe::StripeObject
151
+ class StatusDetail < ::Stripe::StripeObject
152
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
153
+ attr_reader :code
154
+ # Machine-readable code explaining how to make the Capability active.
155
+ attr_reader :resolution
156
+
157
+ def self.inner_class_types
158
+ @inner_class_types = {}
159
+ end
160
+
161
+ def self.field_remappings
162
+ @field_remappings = {}
163
+ end
164
+ end
165
+ # The status of the Capability.
166
+ attr_reader :status
167
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
168
+ attr_reader :status_details
169
+
170
+ def self.inner_class_types
171
+ @inner_class_types = { status_details: StatusDetail }
172
+ end
173
+
174
+ def self.field_remappings
175
+ @field_remappings = {}
176
+ end
177
+ end
178
+ # Can create commercial issuing charge cards with Cross River Bank as BIN sponsor.
179
+ attr_reader :charge_card
180
+ # Can create commercial issuing prepaid cards with Cross River Bank as BIN sponsor.
181
+ attr_reader :prepaid_card
182
+ # Can create commercial issuing spend cards with Cross River Bank as BIN sponsor.
183
+ attr_reader :spend_card
184
+
185
+ def self.inner_class_types
186
+ @inner_class_types = {
187
+ charge_card: ChargeCard,
188
+ prepaid_card: PrepaidCard,
189
+ spend_card: SpendCard,
190
+ }
191
+ end
192
+
193
+ def self.field_remappings
194
+ @field_remappings = {}
195
+ end
196
+ end
197
+
198
+ class FifthThird < ::Stripe::StripeObject
199
+ class ChargeCard < ::Stripe::StripeObject
200
+ class StatusDetail < ::Stripe::StripeObject
201
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
202
+ attr_reader :code
203
+ # Machine-readable code explaining how to make the Capability active.
204
+ attr_reader :resolution
205
+
206
+ def self.inner_class_types
207
+ @inner_class_types = {}
208
+ end
209
+
210
+ def self.field_remappings
211
+ @field_remappings = {}
212
+ end
213
+ end
214
+ # The status of the Capability.
215
+ attr_reader :status
216
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
217
+ attr_reader :status_details
218
+
219
+ def self.inner_class_types
220
+ @inner_class_types = { status_details: StatusDetail }
221
+ end
222
+
223
+ def self.field_remappings
224
+ @field_remappings = {}
225
+ end
226
+ end
227
+ # Can create commercial issuing charge cards with Fifth Third Bank as BIN sponsor.
228
+ attr_reader :charge_card
229
+
230
+ def self.inner_class_types
231
+ @inner_class_types = { charge_card: ChargeCard }
232
+ end
233
+
234
+ def self.field_remappings
235
+ @field_remappings = {}
236
+ end
237
+ end
238
+
239
+ class Lead < ::Stripe::StripeObject
240
+ class PrepaidCard < ::Stripe::StripeObject
241
+ class StatusDetail < ::Stripe::StripeObject
242
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
243
+ attr_reader :code
244
+ # Machine-readable code explaining how to make the Capability active.
245
+ attr_reader :resolution
246
+
247
+ def self.inner_class_types
248
+ @inner_class_types = {}
249
+ end
250
+
251
+ def self.field_remappings
252
+ @field_remappings = {}
253
+ end
254
+ end
255
+ # The status of the Capability.
256
+ attr_reader :status
257
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
258
+ attr_reader :status_details
259
+
260
+ def self.inner_class_types
261
+ @inner_class_types = { status_details: StatusDetail }
262
+ end
263
+
264
+ def self.field_remappings
265
+ @field_remappings = {}
266
+ end
267
+ end
268
+ # Can create commercial Global(cross border) issuing prepaid cards with Lead as BIN sponsor.
269
+ attr_reader :prepaid_card
270
+
271
+ def self.inner_class_types
272
+ @inner_class_types = { prepaid_card: PrepaidCard }
273
+ end
274
+
275
+ def self.field_remappings
276
+ @field_remappings = {}
277
+ end
278
+ end
279
+
280
+ class Stripe < ::Stripe::StripeObject
281
+ class ChargeCard < ::Stripe::StripeObject
282
+ class StatusDetail < ::Stripe::StripeObject
283
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
284
+ attr_reader :code
285
+ # Machine-readable code explaining how to make the Capability active.
286
+ attr_reader :resolution
287
+
288
+ def self.inner_class_types
289
+ @inner_class_types = {}
290
+ end
291
+
292
+ def self.field_remappings
293
+ @field_remappings = {}
294
+ end
295
+ end
296
+ # The status of the Capability.
297
+ attr_reader :status
298
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
299
+ attr_reader :status_details
300
+
301
+ def self.inner_class_types
302
+ @inner_class_types = { status_details: StatusDetail }
303
+ end
304
+
305
+ def self.field_remappings
306
+ @field_remappings = {}
307
+ end
308
+ end
309
+
310
+ class PrepaidCard < ::Stripe::StripeObject
311
+ class StatusDetail < ::Stripe::StripeObject
312
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
313
+ attr_reader :code
314
+ # Machine-readable code explaining how to make the Capability active.
315
+ attr_reader :resolution
316
+
317
+ def self.inner_class_types
318
+ @inner_class_types = {}
319
+ end
320
+
321
+ def self.field_remappings
322
+ @field_remappings = {}
323
+ end
324
+ end
325
+ # The status of the Capability.
326
+ attr_reader :status
327
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
328
+ attr_reader :status_details
329
+
330
+ def self.inner_class_types
331
+ @inner_class_types = { status_details: StatusDetail }
332
+ end
333
+
334
+ def self.field_remappings
335
+ @field_remappings = {}
336
+ end
337
+ end
338
+ # Can create commercial issuing charge cards with Stripe as BIN sponsor.
339
+ attr_reader :charge_card
340
+ # Can create commercial issuing prepaid cards with Stripe as BIN sponsor.
341
+ attr_reader :prepaid_card
342
+
343
+ def self.inner_class_types
344
+ @inner_class_types = { charge_card: ChargeCard, prepaid_card: PrepaidCard }
345
+ end
346
+
347
+ def self.field_remappings
348
+ @field_remappings = {}
349
+ end
350
+ end
351
+ # Can create commercial issuing cards with Celtic as BIN sponsor.
352
+ attr_reader :celtic
353
+ # Can create commercial issuing cards with Cross River Bank as BIN sponsor.
354
+ attr_reader :cross_river_bank
355
+ # Can create commercial issuing cards with Fifth Third as a BIN sponsor.
356
+ attr_reader :fifth_third
357
+ # Can create commercial issuing cards with Lead as a BIN sponsor.
358
+ attr_reader :lead
359
+ # Can create commercial issuing cards with Stripe as a BIN sponsor.
360
+ attr_reader :stripe
361
+
362
+ def self.inner_class_types
363
+ @inner_class_types = {
364
+ celtic: Celtic,
365
+ cross_river_bank: CrossRiverBank,
366
+ fifth_third: FifthThird,
367
+ lead: Lead,
368
+ stripe: Stripe,
369
+ }
370
+ end
371
+
372
+ def self.field_remappings
373
+ @field_remappings = {}
374
+ end
375
+ end
376
+
377
+ class Consumer < ::Stripe::StripeObject
378
+ class Celtic < ::Stripe::StripeObject
379
+ class RevolvingCreditCard < ::Stripe::StripeObject
380
+ class StatusDetail < ::Stripe::StripeObject
381
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
382
+ attr_reader :code
383
+ # Machine-readable code explaining how to make the Capability active.
384
+ attr_reader :resolution
385
+
386
+ def self.inner_class_types
387
+ @inner_class_types = {}
388
+ end
389
+
390
+ def self.field_remappings
391
+ @field_remappings = {}
392
+ end
393
+ end
394
+ # The status of the Capability.
395
+ attr_reader :status
396
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
397
+ attr_reader :status_details
398
+
399
+ def self.inner_class_types
400
+ @inner_class_types = { status_details: StatusDetail }
401
+ end
402
+
403
+ def self.field_remappings
404
+ @field_remappings = {}
405
+ end
406
+ end
407
+ # Can create consumer issuing charge cards with Celtic as BIN sponsor.
408
+ attr_reader :revolving_credit_card
409
+
410
+ def self.inner_class_types
411
+ @inner_class_types = { revolving_credit_card: RevolvingCreditCard }
412
+ end
413
+
414
+ def self.field_remappings
415
+ @field_remappings = {}
416
+ end
417
+ end
418
+
419
+ class CrossRiverBank < ::Stripe::StripeObject
420
+ class PrepaidCard < ::Stripe::StripeObject
421
+ class StatusDetail < ::Stripe::StripeObject
422
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
423
+ attr_reader :code
424
+ # Machine-readable code explaining how to make the Capability active.
425
+ attr_reader :resolution
426
+
427
+ def self.inner_class_types
428
+ @inner_class_types = {}
429
+ end
430
+
431
+ def self.field_remappings
432
+ @field_remappings = {}
433
+ end
434
+ end
435
+ # The status of the Capability.
436
+ attr_reader :status
437
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
438
+ attr_reader :status_details
439
+
440
+ def self.inner_class_types
441
+ @inner_class_types = { status_details: StatusDetail }
442
+ end
443
+
444
+ def self.field_remappings
445
+ @field_remappings = {}
446
+ end
447
+ end
448
+ # Can create consumer issuing prepaid cards with Cross River Bank as BIN sponsor.
449
+ attr_reader :prepaid_card
450
+
451
+ def self.inner_class_types
452
+ @inner_class_types = { prepaid_card: PrepaidCard }
453
+ end
454
+
455
+ def self.field_remappings
456
+ @field_remappings = {}
457
+ end
458
+ end
459
+
460
+ class Lead < ::Stripe::StripeObject
461
+ class DebitCard < ::Stripe::StripeObject
462
+ class StatusDetail < ::Stripe::StripeObject
463
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
464
+ attr_reader :code
465
+ # Machine-readable code explaining how to make the Capability active.
466
+ attr_reader :resolution
467
+
468
+ def self.inner_class_types
469
+ @inner_class_types = {}
470
+ end
471
+
472
+ def self.field_remappings
473
+ @field_remappings = {}
474
+ end
475
+ end
476
+ # The status of the Capability.
477
+ attr_reader :status
478
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
479
+ attr_reader :status_details
480
+
481
+ def self.inner_class_types
482
+ @inner_class_types = { status_details: StatusDetail }
483
+ end
484
+
485
+ def self.field_remappings
486
+ @field_remappings = {}
487
+ end
488
+ end
489
+
490
+ class PrepaidCard < ::Stripe::StripeObject
491
+ class StatusDetail < ::Stripe::StripeObject
492
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
493
+ attr_reader :code
494
+ # Machine-readable code explaining how to make the Capability active.
495
+ attr_reader :resolution
496
+
497
+ def self.inner_class_types
498
+ @inner_class_types = {}
499
+ end
500
+
501
+ def self.field_remappings
502
+ @field_remappings = {}
503
+ end
504
+ end
505
+ # The status of the Capability.
506
+ attr_reader :status
507
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
508
+ attr_reader :status_details
509
+
510
+ def self.inner_class_types
511
+ @inner_class_types = { status_details: StatusDetail }
512
+ end
513
+
514
+ def self.field_remappings
515
+ @field_remappings = {}
516
+ end
517
+ end
518
+ # Can create consumer issuing debit cards with Lead as BIN sponsor.
519
+ attr_reader :debit_card
520
+ # Can create consumer issuing prepaid cards with Lead as BIN sponsor.
521
+ attr_reader :prepaid_card
522
+
523
+ def self.inner_class_types
524
+ @inner_class_types = { debit_card: DebitCard, prepaid_card: PrepaidCard }
525
+ end
526
+
527
+ def self.field_remappings
528
+ @field_remappings = {}
529
+ end
530
+ end
531
+ # Can create consumer issuing cards with Celtic as BIN sponsor.
532
+ attr_reader :celtic
533
+ # Can create consumer issuing cards with Cross River Bank as BIN sponsor.
534
+ attr_reader :cross_river_bank
535
+ # Can create consumer issuing cards with Lead as BIN sponsor.
536
+ attr_reader :lead
537
+
538
+ def self.inner_class_types
539
+ @inner_class_types = {
540
+ celtic: Celtic,
541
+ cross_river_bank: CrossRiverBank,
542
+ lead: Lead,
543
+ }
544
+ end
545
+
546
+ def self.field_remappings
547
+ @field_remappings = {}
548
+ end
549
+ end
550
+ # Can create cards for commercial issuing use cases.
551
+ attr_reader :commercial
552
+ # Can create cards for consumer issuing use cases.
553
+ attr_reader :consumer
554
+
555
+ def self.inner_class_types
556
+ @inner_class_types = { commercial: Commercial, consumer: Consumer }
557
+ end
558
+
559
+ def self.field_remappings
560
+ @field_remappings = {}
561
+ end
562
+ end
563
+ # Indicates whether the card_creator configuration is active. You can deactivate or reactivate the card_creator configuration by updating this property. Deactivating the configuration by setting this value to false will unrequest all capabilities within the configuration. It will not delete any of the configuration's other properties.
564
+ attr_reader :applied
565
+ # Capabilities that have been requested on the CardCreator Configuration.
566
+ attr_reader :capabilities
567
+
568
+ def self.inner_class_types
569
+ @inner_class_types = { capabilities: Capabilities }
570
+ end
571
+
572
+ def self.field_remappings
573
+ @field_remappings = {}
574
+ end
575
+ end
576
+
16
577
  class Customer < ::Stripe::StripeObject
17
578
  class AutomaticIndirectTax < ::Stripe::StripeObject
18
579
  class Location < ::Stripe::StripeObject
@@ -1842,8 +2403,35 @@ module Stripe
1842
2403
  end
1843
2404
  end
1844
2405
 
1845
- class StatementDescriptor < ::Stripe::StripeObject
1846
- # 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.
2406
+ class SmartDisputes < ::Stripe::StripeObject
2407
+ class AutoRespond < ::Stripe::StripeObject
2408
+ # The preference for automatic dispute responses.
2409
+ attr_reader :preference
2410
+ # The effective value for automatic dispute responses.
2411
+ attr_reader :value
2412
+
2413
+ def self.inner_class_types
2414
+ @inner_class_types = {}
2415
+ end
2416
+
2417
+ def self.field_remappings
2418
+ @field_remappings = {}
2419
+ end
2420
+ end
2421
+ # Settings for Smart Disputes auto_respond.
2422
+ attr_reader :auto_respond
2423
+
2424
+ def self.inner_class_types
2425
+ @inner_class_types = { auto_respond: AutoRespond }
2426
+ end
2427
+
2428
+ def self.field_remappings
2429
+ @field_remappings = {}
2430
+ end
2431
+ end
2432
+
2433
+ class StatementDescriptor < ::Stripe::StripeObject
2434
+ # 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.
1847
2435
  attr_reader :descriptor
1848
2436
  # 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.
1849
2437
  attr_reader :prefix
@@ -1917,6 +2505,8 @@ module Stripe
1917
2505
  attr_reader :script_statement_descriptor
1918
2506
  # Settings for SEPA Direct Debit payments.
1919
2507
  attr_reader :sepa_debit_payments
2508
+ # Settings for Smart Disputes automatic response feature.
2509
+ attr_reader :smart_disputes
1920
2510
  # Statement descriptor.
1921
2511
  attr_reader :statement_descriptor
1922
2512
  # Publicly available contact information for sending support issues to.
@@ -1931,6 +2521,7 @@ module Stripe
1931
2521
  konbini_payments: KonbiniPayments,
1932
2522
  script_statement_descriptor: ScriptStatementDescriptor,
1933
2523
  sepa_debit_payments: SepaDebitPayments,
2524
+ smart_disputes: SmartDisputes,
1934
2525
  statement_descriptor: StatementDescriptor,
1935
2526
  support: Support,
1936
2527
  }
@@ -1941,10 +2532,832 @@ module Stripe
1941
2532
  end
1942
2533
  end
1943
2534
 
1944
- class Recipient < ::Stripe::StripeObject
1945
- class Capabilities < ::Stripe::StripeObject
1946
- class StripeBalance < ::Stripe::StripeObject
1947
- class Payouts < ::Stripe::StripeObject
2535
+ class Recipient < ::Stripe::StripeObject
2536
+ class Capabilities < ::Stripe::StripeObject
2537
+ class BankAccounts < ::Stripe::StripeObject
2538
+ class Instant < ::Stripe::StripeObject
2539
+ class StatusDetail < ::Stripe::StripeObject
2540
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
2541
+ attr_reader :code
2542
+ # Machine-readable code explaining how to make the Capability active.
2543
+ attr_reader :resolution
2544
+
2545
+ def self.inner_class_types
2546
+ @inner_class_types = {}
2547
+ end
2548
+
2549
+ def self.field_remappings
2550
+ @field_remappings = {}
2551
+ end
2552
+ end
2553
+ # The status of the Capability.
2554
+ attr_reader :status
2555
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
2556
+ attr_reader :status_details
2557
+
2558
+ def self.inner_class_types
2559
+ @inner_class_types = { status_details: StatusDetail }
2560
+ end
2561
+
2562
+ def self.field_remappings
2563
+ @field_remappings = {}
2564
+ end
2565
+ end
2566
+
2567
+ class Local < ::Stripe::StripeObject
2568
+ class StatusDetail < ::Stripe::StripeObject
2569
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
2570
+ attr_reader :code
2571
+ # Machine-readable code explaining how to make the Capability active.
2572
+ attr_reader :resolution
2573
+
2574
+ def self.inner_class_types
2575
+ @inner_class_types = {}
2576
+ end
2577
+
2578
+ def self.field_remappings
2579
+ @field_remappings = {}
2580
+ end
2581
+ end
2582
+ # The status of the Capability.
2583
+ attr_reader :status
2584
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
2585
+ attr_reader :status_details
2586
+
2587
+ def self.inner_class_types
2588
+ @inner_class_types = { status_details: StatusDetail }
2589
+ end
2590
+
2591
+ def self.field_remappings
2592
+ @field_remappings = {}
2593
+ end
2594
+ end
2595
+
2596
+ class Wire < ::Stripe::StripeObject
2597
+ class StatusDetail < ::Stripe::StripeObject
2598
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
2599
+ attr_reader :code
2600
+ # Machine-readable code explaining how to make the Capability active.
2601
+ attr_reader :resolution
2602
+
2603
+ def self.inner_class_types
2604
+ @inner_class_types = {}
2605
+ end
2606
+
2607
+ def self.field_remappings
2608
+ @field_remappings = {}
2609
+ end
2610
+ end
2611
+ # The status of the Capability.
2612
+ attr_reader :status
2613
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
2614
+ attr_reader :status_details
2615
+
2616
+ def self.inner_class_types
2617
+ @inner_class_types = { status_details: StatusDetail }
2618
+ end
2619
+
2620
+ def self.field_remappings
2621
+ @field_remappings = {}
2622
+ end
2623
+ end
2624
+ # Enables this Account to receive OutboundPayments to linked bank accounts over real time rails.
2625
+ attr_reader :instant
2626
+ # Enables this Account to receive OutboundPayments to linked bank accounts over local networks.
2627
+ attr_reader :local
2628
+ # Enables this Account to receive OutboundPayments to linked bank accounts over wire.
2629
+ attr_reader :wire
2630
+
2631
+ def self.inner_class_types
2632
+ @inner_class_types = { instant: Instant, local: Local, wire: Wire }
2633
+ end
2634
+
2635
+ def self.field_remappings
2636
+ @field_remappings = {}
2637
+ end
2638
+ end
2639
+
2640
+ class Cards < ::Stripe::StripeObject
2641
+ class StatusDetail < ::Stripe::StripeObject
2642
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
2643
+ attr_reader :code
2644
+ # Machine-readable code explaining how to make the Capability active.
2645
+ attr_reader :resolution
2646
+
2647
+ def self.inner_class_types
2648
+ @inner_class_types = {}
2649
+ end
2650
+
2651
+ def self.field_remappings
2652
+ @field_remappings = {}
2653
+ end
2654
+ end
2655
+ # The status of the Capability.
2656
+ attr_reader :status
2657
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
2658
+ attr_reader :status_details
2659
+
2660
+ def self.inner_class_types
2661
+ @inner_class_types = { status_details: StatusDetail }
2662
+ end
2663
+
2664
+ def self.field_remappings
2665
+ @field_remappings = {}
2666
+ end
2667
+ end
2668
+
2669
+ class CryptoWallets < ::Stripe::StripeObject
2670
+ class StatusDetail < ::Stripe::StripeObject
2671
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
2672
+ attr_reader :code
2673
+ # Machine-readable code explaining how to make the Capability active.
2674
+ attr_reader :resolution
2675
+
2676
+ def self.inner_class_types
2677
+ @inner_class_types = {}
2678
+ end
2679
+
2680
+ def self.field_remappings
2681
+ @field_remappings = {}
2682
+ end
2683
+ end
2684
+ # The status of the Capability.
2685
+ attr_reader :status
2686
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
2687
+ attr_reader :status_details
2688
+
2689
+ def self.inner_class_types
2690
+ @inner_class_types = { status_details: StatusDetail }
2691
+ end
2692
+
2693
+ def self.field_remappings
2694
+ @field_remappings = {}
2695
+ end
2696
+ end
2697
+
2698
+ class PaperChecks < ::Stripe::StripeObject
2699
+ class StatusDetail < ::Stripe::StripeObject
2700
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
2701
+ attr_reader :code
2702
+ # Machine-readable code explaining how to make the Capability active.
2703
+ attr_reader :resolution
2704
+
2705
+ def self.inner_class_types
2706
+ @inner_class_types = {}
2707
+ end
2708
+
2709
+ def self.field_remappings
2710
+ @field_remappings = {}
2711
+ end
2712
+ end
2713
+ # The status of the Capability.
2714
+ attr_reader :status
2715
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
2716
+ attr_reader :status_details
2717
+
2718
+ def self.inner_class_types
2719
+ @inner_class_types = { status_details: StatusDetail }
2720
+ end
2721
+
2722
+ def self.field_remappings
2723
+ @field_remappings = {}
2724
+ end
2725
+ end
2726
+
2727
+ class StripeBalance < ::Stripe::StripeObject
2728
+ class Payouts < ::Stripe::StripeObject
2729
+ class StatusDetail < ::Stripe::StripeObject
2730
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
2731
+ attr_reader :code
2732
+ # Machine-readable code explaining how to make the Capability active.
2733
+ attr_reader :resolution
2734
+
2735
+ def self.inner_class_types
2736
+ @inner_class_types = {}
2737
+ end
2738
+
2739
+ def self.field_remappings
2740
+ @field_remappings = {}
2741
+ end
2742
+ end
2743
+ # The status of the Capability.
2744
+ attr_reader :status
2745
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
2746
+ attr_reader :status_details
2747
+
2748
+ def self.inner_class_types
2749
+ @inner_class_types = { status_details: StatusDetail }
2750
+ end
2751
+
2752
+ def self.field_remappings
2753
+ @field_remappings = {}
2754
+ end
2755
+ end
2756
+
2757
+ class StripeTransfers < ::Stripe::StripeObject
2758
+ class StatusDetail < ::Stripe::StripeObject
2759
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
2760
+ attr_reader :code
2761
+ # Machine-readable code explaining how to make the Capability active.
2762
+ attr_reader :resolution
2763
+
2764
+ def self.inner_class_types
2765
+ @inner_class_types = {}
2766
+ end
2767
+
2768
+ def self.field_remappings
2769
+ @field_remappings = {}
2770
+ end
2771
+ end
2772
+ # The status of the Capability.
2773
+ attr_reader :status
2774
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
2775
+ attr_reader :status_details
2776
+
2777
+ def self.inner_class_types
2778
+ @inner_class_types = { status_details: StatusDetail }
2779
+ end
2780
+
2781
+ def self.field_remappings
2782
+ @field_remappings = {}
2783
+ end
2784
+ end
2785
+ # Enables this Account to complete payouts from their Stripe Balance (/v1/balance).
2786
+ attr_reader :payouts
2787
+ # Enables this Account to receive /v1/transfers into their Stripe Balance (/v1/balance).
2788
+ attr_reader :stripe_transfers
2789
+
2790
+ def self.inner_class_types
2791
+ @inner_class_types = { payouts: Payouts, stripe_transfers: StripeTransfers }
2792
+ end
2793
+
2794
+ def self.field_remappings
2795
+ @field_remappings = {}
2796
+ end
2797
+ end
2798
+ # Capabilities that enable OutboundPayments to a bank account linked to this Account.
2799
+ attr_reader :bank_accounts
2800
+ # Enables this Account to receive OutboundPayments to a linked debit card.
2801
+ attr_reader :cards
2802
+ # Enables this Account to receive OutboundPayments to a linked crypto wallet.
2803
+ attr_reader :crypto_wallets
2804
+ # Capabilities that enable OutboundPayments via paper check.
2805
+ attr_reader :paper_checks
2806
+ # Capabilities that enable the recipient to manage their Stripe Balance (/v1/balance).
2807
+ attr_reader :stripe_balance
2808
+
2809
+ def self.inner_class_types
2810
+ @inner_class_types = {
2811
+ bank_accounts: BankAccounts,
2812
+ cards: Cards,
2813
+ crypto_wallets: CryptoWallets,
2814
+ paper_checks: PaperChecks,
2815
+ stripe_balance: StripeBalance,
2816
+ }
2817
+ end
2818
+
2819
+ def self.field_remappings
2820
+ @field_remappings = {}
2821
+ end
2822
+ end
2823
+
2824
+ class DefaultOutboundDestination < ::Stripe::StripeObject
2825
+ # The payout method ID of the default outbound destination.
2826
+ attr_reader :id
2827
+ # Closed Enum. The payout method type of the default outbound destination.
2828
+ attr_reader :type
2829
+
2830
+ def self.inner_class_types
2831
+ @inner_class_types = {}
2832
+ end
2833
+
2834
+ def self.field_remappings
2835
+ @field_remappings = {}
2836
+ end
2837
+ end
2838
+ # Indicates whether the recipient configuration is active. You can deactivate or reactivate the recipient configuration by updating this property. Deactivating the configuration by setting this value to false unrequest all capabilities within the configuration. It will not delete any of the configuration's other properties.
2839
+ attr_reader :applied
2840
+ # Capabilities that have been requested on the Recipient Configuration.
2841
+ attr_reader :capabilities
2842
+ # The payout method to be used as a default outbound destination. This will allow the PayoutMethod to be omitted on OutboundPayments made through the dashboard or APIs.
2843
+ attr_reader :default_outbound_destination
2844
+
2845
+ def self.inner_class_types
2846
+ @inner_class_types = {
2847
+ capabilities: Capabilities,
2848
+ default_outbound_destination: DefaultOutboundDestination,
2849
+ }
2850
+ end
2851
+
2852
+ def self.field_remappings
2853
+ @field_remappings = {}
2854
+ end
2855
+ end
2856
+
2857
+ class Storer < ::Stripe::StripeObject
2858
+ class Capabilities < ::Stripe::StripeObject
2859
+ class Consumer < ::Stripe::StripeObject
2860
+ class HoldsCurrencies < ::Stripe::StripeObject
2861
+ class Usd < ::Stripe::StripeObject
2862
+ class StatusDetail < ::Stripe::StripeObject
2863
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
2864
+ attr_reader :code
2865
+ # Machine-readable code explaining how to make the Capability active.
2866
+ attr_reader :resolution
2867
+
2868
+ def self.inner_class_types
2869
+ @inner_class_types = {}
2870
+ end
2871
+
2872
+ def self.field_remappings
2873
+ @field_remappings = {}
2874
+ end
2875
+ end
2876
+ # The status of the Capability.
2877
+ attr_reader :status
2878
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
2879
+ attr_reader :status_details
2880
+
2881
+ def self.inner_class_types
2882
+ @inner_class_types = { status_details: StatusDetail }
2883
+ end
2884
+
2885
+ def self.field_remappings
2886
+ @field_remappings = {}
2887
+ end
2888
+ end
2889
+ # Can hold storage-type funds on Stripe consumer FAs in USD.
2890
+ attr_reader :usd
2891
+
2892
+ def self.inner_class_types
2893
+ @inner_class_types = { usd: Usd }
2894
+ end
2895
+
2896
+ def self.field_remappings
2897
+ @field_remappings = {}
2898
+ end
2899
+ end
2900
+ # Can hold storage-type funds on Stripe consumer FAs in USD.
2901
+ attr_reader :holds_currencies
2902
+
2903
+ def self.inner_class_types
2904
+ @inner_class_types = { holds_currencies: HoldsCurrencies }
2905
+ end
2906
+
2907
+ def self.field_remappings
2908
+ @field_remappings = {}
2909
+ end
2910
+ end
2911
+
2912
+ class FinancialAddresses < ::Stripe::StripeObject
2913
+ class BankAccounts < ::Stripe::StripeObject
2914
+ class StatusDetail < ::Stripe::StripeObject
2915
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
2916
+ attr_reader :code
2917
+ # Machine-readable code explaining how to make the Capability active.
2918
+ attr_reader :resolution
2919
+
2920
+ def self.inner_class_types
2921
+ @inner_class_types = {}
2922
+ end
2923
+
2924
+ def self.field_remappings
2925
+ @field_remappings = {}
2926
+ end
2927
+ end
2928
+ # The status of the Capability.
2929
+ attr_reader :status
2930
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
2931
+ attr_reader :status_details
2932
+
2933
+ def self.inner_class_types
2934
+ @inner_class_types = { status_details: StatusDetail }
2935
+ end
2936
+
2937
+ def self.field_remappings
2938
+ @field_remappings = {}
2939
+ end
2940
+ end
2941
+
2942
+ class CryptoWallets < ::Stripe::StripeObject
2943
+ class StatusDetail < ::Stripe::StripeObject
2944
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
2945
+ attr_reader :code
2946
+ # Machine-readable code explaining how to make the Capability active.
2947
+ attr_reader :resolution
2948
+
2949
+ def self.inner_class_types
2950
+ @inner_class_types = {}
2951
+ end
2952
+
2953
+ def self.field_remappings
2954
+ @field_remappings = {}
2955
+ end
2956
+ end
2957
+ # The status of the Capability.
2958
+ attr_reader :status
2959
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
2960
+ attr_reader :status_details
2961
+
2962
+ def self.inner_class_types
2963
+ @inner_class_types = { status_details: StatusDetail }
2964
+ end
2965
+
2966
+ def self.field_remappings
2967
+ @field_remappings = {}
2968
+ end
2969
+ end
2970
+ # Can provision a bank-account like financial address (VBAN) to credit/debit a FinancialAccount.
2971
+ attr_reader :bank_accounts
2972
+ # Can provision a crypto wallet like financial address to credit a FinancialAccount.
2973
+ attr_reader :crypto_wallets
2974
+
2975
+ def self.inner_class_types
2976
+ @inner_class_types = { bank_accounts: BankAccounts, crypto_wallets: CryptoWallets }
2977
+ end
2978
+
2979
+ def self.field_remappings
2980
+ @field_remappings = {}
2981
+ end
2982
+ end
2983
+
2984
+ class HoldsCurrencies < ::Stripe::StripeObject
2985
+ class Eur < ::Stripe::StripeObject
2986
+ class StatusDetail < ::Stripe::StripeObject
2987
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
2988
+ attr_reader :code
2989
+ # Machine-readable code explaining how to make the Capability active.
2990
+ attr_reader :resolution
2991
+
2992
+ def self.inner_class_types
2993
+ @inner_class_types = {}
2994
+ end
2995
+
2996
+ def self.field_remappings
2997
+ @field_remappings = {}
2998
+ end
2999
+ end
3000
+ # The status of the Capability.
3001
+ attr_reader :status
3002
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
3003
+ attr_reader :status_details
3004
+
3005
+ def self.inner_class_types
3006
+ @inner_class_types = { status_details: StatusDetail }
3007
+ end
3008
+
3009
+ def self.field_remappings
3010
+ @field_remappings = {}
3011
+ end
3012
+ end
3013
+
3014
+ class Gbp < ::Stripe::StripeObject
3015
+ class StatusDetail < ::Stripe::StripeObject
3016
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
3017
+ attr_reader :code
3018
+ # Machine-readable code explaining how to make the Capability active.
3019
+ attr_reader :resolution
3020
+
3021
+ def self.inner_class_types
3022
+ @inner_class_types = {}
3023
+ end
3024
+
3025
+ def self.field_remappings
3026
+ @field_remappings = {}
3027
+ end
3028
+ end
3029
+ # The status of the Capability.
3030
+ attr_reader :status
3031
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
3032
+ attr_reader :status_details
3033
+
3034
+ def self.inner_class_types
3035
+ @inner_class_types = { status_details: StatusDetail }
3036
+ end
3037
+
3038
+ def self.field_remappings
3039
+ @field_remappings = {}
3040
+ end
3041
+ end
3042
+
3043
+ class Usd < ::Stripe::StripeObject
3044
+ class StatusDetail < ::Stripe::StripeObject
3045
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
3046
+ attr_reader :code
3047
+ # Machine-readable code explaining how to make the Capability active.
3048
+ attr_reader :resolution
3049
+
3050
+ def self.inner_class_types
3051
+ @inner_class_types = {}
3052
+ end
3053
+
3054
+ def self.field_remappings
3055
+ @field_remappings = {}
3056
+ end
3057
+ end
3058
+ # The status of the Capability.
3059
+ attr_reader :status
3060
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
3061
+ attr_reader :status_details
3062
+
3063
+ def self.inner_class_types
3064
+ @inner_class_types = { status_details: StatusDetail }
3065
+ end
3066
+
3067
+ def self.field_remappings
3068
+ @field_remappings = {}
3069
+ end
3070
+ end
3071
+
3072
+ class Usdc < ::Stripe::StripeObject
3073
+ class StatusDetail < ::Stripe::StripeObject
3074
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
3075
+ attr_reader :code
3076
+ # Machine-readable code explaining how to make the Capability active.
3077
+ attr_reader :resolution
3078
+
3079
+ def self.inner_class_types
3080
+ @inner_class_types = {}
3081
+ end
3082
+
3083
+ def self.field_remappings
3084
+ @field_remappings = {}
3085
+ end
3086
+ end
3087
+ # The status of the Capability.
3088
+ attr_reader :status
3089
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
3090
+ attr_reader :status_details
3091
+
3092
+ def self.inner_class_types
3093
+ @inner_class_types = { status_details: StatusDetail }
3094
+ end
3095
+
3096
+ def self.field_remappings
3097
+ @field_remappings = {}
3098
+ end
3099
+ end
3100
+ # Can hold storage-type funds on Stripe in EUR.
3101
+ attr_reader :eur
3102
+ # Can hold storage-type funds on Stripe in GBP.
3103
+ attr_reader :gbp
3104
+ # Can hold storage-type funds on Stripe in USD.
3105
+ attr_reader :usd
3106
+ # Can hold storage-type funds on Stripe in USDC.
3107
+ attr_reader :usdc
3108
+
3109
+ def self.inner_class_types
3110
+ @inner_class_types = { eur: Eur, gbp: Gbp, usd: Usd, usdc: Usdc }
3111
+ end
3112
+
3113
+ def self.field_remappings
3114
+ @field_remappings = {}
3115
+ end
3116
+ end
3117
+
3118
+ class InboundTransfers < ::Stripe::StripeObject
3119
+ class BankAccounts < ::Stripe::StripeObject
3120
+ class StatusDetail < ::Stripe::StripeObject
3121
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
3122
+ attr_reader :code
3123
+ # Machine-readable code explaining how to make the Capability active.
3124
+ attr_reader :resolution
3125
+
3126
+ def self.inner_class_types
3127
+ @inner_class_types = {}
3128
+ end
3129
+
3130
+ def self.field_remappings
3131
+ @field_remappings = {}
3132
+ end
3133
+ end
3134
+ # The status of the Capability.
3135
+ attr_reader :status
3136
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
3137
+ attr_reader :status_details
3138
+
3139
+ def self.inner_class_types
3140
+ @inner_class_types = { status_details: StatusDetail }
3141
+ end
3142
+
3143
+ def self.field_remappings
3144
+ @field_remappings = {}
3145
+ end
3146
+ end
3147
+ # Can pull funds into a FinancialAccount from an external bank account owned by the user.
3148
+ attr_reader :bank_accounts
3149
+
3150
+ def self.inner_class_types
3151
+ @inner_class_types = { bank_accounts: BankAccounts }
3152
+ end
3153
+
3154
+ def self.field_remappings
3155
+ @field_remappings = {}
3156
+ end
3157
+ end
3158
+
3159
+ class OutboundPayments < ::Stripe::StripeObject
3160
+ class BankAccounts < ::Stripe::StripeObject
3161
+ class StatusDetail < ::Stripe::StripeObject
3162
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
3163
+ attr_reader :code
3164
+ # Machine-readable code explaining how to make the Capability active.
3165
+ attr_reader :resolution
3166
+
3167
+ def self.inner_class_types
3168
+ @inner_class_types = {}
3169
+ end
3170
+
3171
+ def self.field_remappings
3172
+ @field_remappings = {}
3173
+ end
3174
+ end
3175
+ # The status of the Capability.
3176
+ attr_reader :status
3177
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
3178
+ attr_reader :status_details
3179
+
3180
+ def self.inner_class_types
3181
+ @inner_class_types = { status_details: StatusDetail }
3182
+ end
3183
+
3184
+ def self.field_remappings
3185
+ @field_remappings = {}
3186
+ end
3187
+ end
3188
+
3189
+ class Cards < ::Stripe::StripeObject
3190
+ class StatusDetail < ::Stripe::StripeObject
3191
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
3192
+ attr_reader :code
3193
+ # Machine-readable code explaining how to make the Capability active.
3194
+ attr_reader :resolution
3195
+
3196
+ def self.inner_class_types
3197
+ @inner_class_types = {}
3198
+ end
3199
+
3200
+ def self.field_remappings
3201
+ @field_remappings = {}
3202
+ end
3203
+ end
3204
+ # The status of the Capability.
3205
+ attr_reader :status
3206
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
3207
+ attr_reader :status_details
3208
+
3209
+ def self.inner_class_types
3210
+ @inner_class_types = { status_details: StatusDetail }
3211
+ end
3212
+
3213
+ def self.field_remappings
3214
+ @field_remappings = {}
3215
+ end
3216
+ end
3217
+
3218
+ class CryptoWallets < ::Stripe::StripeObject
3219
+ class StatusDetail < ::Stripe::StripeObject
3220
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
3221
+ attr_reader :code
3222
+ # Machine-readable code explaining how to make the Capability active.
3223
+ attr_reader :resolution
3224
+
3225
+ def self.inner_class_types
3226
+ @inner_class_types = {}
3227
+ end
3228
+
3229
+ def self.field_remappings
3230
+ @field_remappings = {}
3231
+ end
3232
+ end
3233
+ # The status of the Capability.
3234
+ attr_reader :status
3235
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
3236
+ attr_reader :status_details
3237
+
3238
+ def self.inner_class_types
3239
+ @inner_class_types = { status_details: StatusDetail }
3240
+ end
3241
+
3242
+ def self.field_remappings
3243
+ @field_remappings = {}
3244
+ end
3245
+ end
3246
+
3247
+ class FinancialAccounts < ::Stripe::StripeObject
3248
+ class StatusDetail < ::Stripe::StripeObject
3249
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
3250
+ attr_reader :code
3251
+ # Machine-readable code explaining how to make the Capability active.
3252
+ attr_reader :resolution
3253
+
3254
+ def self.inner_class_types
3255
+ @inner_class_types = {}
3256
+ end
3257
+
3258
+ def self.field_remappings
3259
+ @field_remappings = {}
3260
+ end
3261
+ end
3262
+ # The status of the Capability.
3263
+ attr_reader :status
3264
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
3265
+ attr_reader :status_details
3266
+
3267
+ def self.inner_class_types
3268
+ @inner_class_types = { status_details: StatusDetail }
3269
+ end
3270
+
3271
+ def self.field_remappings
3272
+ @field_remappings = {}
3273
+ end
3274
+ end
3275
+
3276
+ class PaperChecks < ::Stripe::StripeObject
3277
+ class StatusDetail < ::Stripe::StripeObject
3278
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
3279
+ attr_reader :code
3280
+ # Machine-readable code explaining how to make the Capability active.
3281
+ attr_reader :resolution
3282
+
3283
+ def self.inner_class_types
3284
+ @inner_class_types = {}
3285
+ end
3286
+
3287
+ def self.field_remappings
3288
+ @field_remappings = {}
3289
+ end
3290
+ end
3291
+ # The status of the Capability.
3292
+ attr_reader :status
3293
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
3294
+ attr_reader :status_details
3295
+
3296
+ def self.inner_class_types
3297
+ @inner_class_types = { status_details: StatusDetail }
3298
+ end
3299
+
3300
+ def self.field_remappings
3301
+ @field_remappings = {}
3302
+ end
3303
+ end
3304
+ # Can send funds from a FinancialAccount to a bank account owned by a different entity.
3305
+ attr_reader :bank_accounts
3306
+ # Can send funds from a FinancialAccount to a debit card owned by a different entity.
3307
+ attr_reader :cards
3308
+ # Can send funds from a FinancialAccount to a crypto wallet owned by a different entity.
3309
+ attr_reader :crypto_wallets
3310
+ # Can send funds from a FinancialAccount to a FinancialAccount owned by a different entity.
3311
+ attr_reader :financial_accounts
3312
+ # Can send funds from a FinancialAccount to someone else via paper check.
3313
+ attr_reader :paper_checks
3314
+
3315
+ def self.inner_class_types
3316
+ @inner_class_types = {
3317
+ bank_accounts: BankAccounts,
3318
+ cards: Cards,
3319
+ crypto_wallets: CryptoWallets,
3320
+ financial_accounts: FinancialAccounts,
3321
+ paper_checks: PaperChecks,
3322
+ }
3323
+ end
3324
+
3325
+ def self.field_remappings
3326
+ @field_remappings = {}
3327
+ end
3328
+ end
3329
+
3330
+ class OutboundTransfers < ::Stripe::StripeObject
3331
+ class BankAccounts < ::Stripe::StripeObject
3332
+ class StatusDetail < ::Stripe::StripeObject
3333
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
3334
+ attr_reader :code
3335
+ # Machine-readable code explaining how to make the Capability active.
3336
+ attr_reader :resolution
3337
+
3338
+ def self.inner_class_types
3339
+ @inner_class_types = {}
3340
+ end
3341
+
3342
+ def self.field_remappings
3343
+ @field_remappings = {}
3344
+ end
3345
+ end
3346
+ # The status of the Capability.
3347
+ attr_reader :status
3348
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
3349
+ attr_reader :status_details
3350
+
3351
+ def self.inner_class_types
3352
+ @inner_class_types = { status_details: StatusDetail }
3353
+ end
3354
+
3355
+ def self.field_remappings
3356
+ @field_remappings = {}
3357
+ end
3358
+ end
3359
+
3360
+ class CryptoWallets < ::Stripe::StripeObject
1948
3361
  class StatusDetail < ::Stripe::StripeObject
1949
3362
  # Machine-readable code explaining the reason for the Capability to be in its current status.
1950
3363
  attr_reader :code
@@ -1973,7 +3386,7 @@ module Stripe
1973
3386
  end
1974
3387
  end
1975
3388
 
1976
- class StripeTransfers < ::Stripe::StripeObject
3389
+ class FinancialAccounts < ::Stripe::StripeObject
1977
3390
  class StatusDetail < ::Stripe::StripeObject
1978
3391
  # Machine-readable code explaining the reason for the Capability to be in its current status.
1979
3392
  attr_reader :code
@@ -2001,52 +3414,127 @@ module Stripe
2001
3414
  @field_remappings = {}
2002
3415
  end
2003
3416
  end
2004
- # Enables this Account to complete payouts from their Stripe Balance (/v1/balance).
2005
- attr_reader :payouts
2006
- # Enables this Account to receive /v1/transfers into their Stripe Balance (/v1/balance).
2007
- attr_reader :stripe_transfers
3417
+ # Can send funds from a FinancialAccount to a bank account belonging to the same user.
3418
+ attr_reader :bank_accounts
3419
+ # Can send funds from a FinancialAccount to a crypto wallet belonging to the same user.
3420
+ attr_reader :crypto_wallets
3421
+ # Can send funds from a FinancialAccount to another FinancialAccount belonging to the same user.
3422
+ attr_reader :financial_accounts
2008
3423
 
2009
3424
  def self.inner_class_types
2010
- @inner_class_types = { payouts: Payouts, stripe_transfers: StripeTransfers }
3425
+ @inner_class_types = {
3426
+ bank_accounts: BankAccounts,
3427
+ crypto_wallets: CryptoWallets,
3428
+ financial_accounts: FinancialAccounts,
3429
+ }
2011
3430
  end
2012
3431
 
2013
3432
  def self.field_remappings
2014
3433
  @field_remappings = {}
2015
3434
  end
2016
3435
  end
2017
- # Capabilities that enable the recipient to manage their Stripe Balance (/v1/balance).
2018
- attr_reader :stripe_balance
3436
+ # Hash containing capabilities related to consumer financial accounts.
3437
+ attr_reader :consumer
3438
+ # Can provision a financial address to credit/debit a FinancialAccount.
3439
+ attr_reader :financial_addresses
3440
+ # Can hold storage-type funds on Stripe.
3441
+ attr_reader :holds_currencies
3442
+ # Hash containing capabilities related to InboundTransfers.
3443
+ attr_reader :inbound_transfers
3444
+ # Hash containing capabilities related to [OutboundPayments](/api/treasury/outbound_payments?api-version=preview).
3445
+ attr_reader :outbound_payments
3446
+ # Hash containing capabilities related to [OutboundTransfers](/api/treasury/outbound_transfers?api-version=preview).
3447
+ attr_reader :outbound_transfers
3448
+
3449
+ def self.inner_class_types
3450
+ @inner_class_types = {
3451
+ consumer: Consumer,
3452
+ financial_addresses: FinancialAddresses,
3453
+ holds_currencies: HoldsCurrencies,
3454
+ inbound_transfers: InboundTransfers,
3455
+ outbound_payments: OutboundPayments,
3456
+ outbound_transfers: OutboundTransfers,
3457
+ }
3458
+ end
3459
+
3460
+ def self.field_remappings
3461
+ @field_remappings = {}
3462
+ end
3463
+ end
3464
+
3465
+ class RegulatedActivity < ::Stripe::StripeObject
3466
+ # A detailed description of the regulated activities the business is licensed to conduct.
3467
+ attr_reader :description
3468
+ # The license number or registration number assigned by the business's primary regulator.
3469
+ attr_reader :license_number
3470
+ # The country of the primary regulatory authority that oversees the business's regulated activities.
3471
+ attr_reader :primary_regulatory_authority_country
3472
+ # The name of the primary regulatory authority that oversees the business's regulated activities.
3473
+ attr_reader :primary_regulatory_authority_name
2019
3474
 
2020
3475
  def self.inner_class_types
2021
- @inner_class_types = { stripe_balance: StripeBalance }
3476
+ @inner_class_types = {}
2022
3477
  end
2023
3478
 
2024
3479
  def self.field_remappings
2025
3480
  @field_remappings = {}
2026
3481
  end
2027
3482
  end
2028
- # Indicates whether the recipient configuration is active. You can deactivate or reactivate the recipient configuration by updating this property. Deactivating the configuration by setting this value to false unrequest all capabilities within the configuration. It will not delete any of the configuration's other properties.
3483
+ # Indicates whether the storer configuration is active. You cannot deactivate (or reactivate) the storer configuration by updating this property.
2029
3484
  attr_reader :applied
2030
- # Capabilities that have been requested on the Recipient Configuration.
3485
+ # Capabilities that have been requested on the Storer Configuration.
2031
3486
  attr_reader :capabilities
3487
+ # List of high-risk activities the business is involved in.
3488
+ attr_reader :high_risk_activities
3489
+ # Description of the high-risk activities the business offers.
3490
+ attr_reader :high_risk_activities_description
3491
+ # Description of the money services offered by the business.
3492
+ attr_reader :money_services_description
3493
+ # Indicates whether the business operates in any prohibited countries.
3494
+ attr_reader :operates_in_prohibited_countries
3495
+ # Does the business participate in any regulated activity.
3496
+ attr_reader :participates_in_regulated_activity
3497
+ # Primary purpose of the stored funds.
3498
+ attr_reader :purpose_of_funds
3499
+ # Description of the purpose of the stored funds.
3500
+ attr_reader :purpose_of_funds_description
3501
+ # Details of the regulated activity if the business participates in one.
3502
+ attr_reader :regulated_activity
3503
+ # The source of funds for the business, e.g. profits, income, venture capital, etc.
3504
+ attr_reader :source_of_funds
3505
+ # Description of the source of funds for the business' account.
3506
+ attr_reader :source_of_funds_description
2032
3507
 
2033
3508
  def self.inner_class_types
2034
- @inner_class_types = { capabilities: Capabilities }
3509
+ @inner_class_types = {
3510
+ capabilities: Capabilities,
3511
+ regulated_activity: RegulatedActivity,
3512
+ }
2035
3513
  end
2036
3514
 
2037
3515
  def self.field_remappings
2038
3516
  @field_remappings = {}
2039
3517
  end
2040
3518
  end
3519
+ # The CardCreator Configuration allows the Account to create and issue cards to users.
3520
+ attr_reader :card_creator
2041
3521
  # The Customer Configuration allows the Account to be used in inbound payment flows (i.e. customer-facing payment and billing flows).
2042
3522
  attr_reader :customer
2043
3523
  # 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.
2044
3524
  attr_reader :merchant
2045
3525
  # 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.
2046
3526
  attr_reader :recipient
3527
+ # The Storer Configuration allows the Account to store and move funds using stored-value FinancialAccounts.
3528
+ attr_reader :storer
2047
3529
 
2048
3530
  def self.inner_class_types
2049
- @inner_class_types = { customer: Customer, merchant: Merchant, recipient: Recipient }
3531
+ @inner_class_types = {
3532
+ card_creator: CardCreator,
3533
+ customer: Customer,
3534
+ merchant: Merchant,
3535
+ recipient: Recipient,
3536
+ storer: Storer,
3537
+ }
2050
3538
  end
2051
3539
 
2052
3540
  def self.field_remappings
@@ -2096,6 +3584,8 @@ module Stripe
2096
3584
  attr_reader :profile
2097
3585
  # Default responsibilities held by either Stripe or the platform.
2098
3586
  attr_reader :responsibilities
3587
+ # 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).
3588
+ attr_reader :timezone
2099
3589
 
2100
3590
  def self.inner_class_types
2101
3591
  @inner_class_types = { profile: Profile, responsibilities: Responsibilities }
@@ -2368,11 +3858,1167 @@ module Stripe
2368
3858
  @field_remappings = {}
2369
3859
  end
2370
3860
  end
3861
+
3862
+ class CardCreator < ::Stripe::StripeObject
3863
+ class Commercial < ::Stripe::StripeObject
3864
+ class AccountHolder < ::Stripe::StripeObject
3865
+ # 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.
3866
+ attr_reader :date
3867
+ # The IP address from which the Account's representative accepted the terms of service.
3868
+ attr_reader :ip
3869
+ # The URL to the service agreement the Account's representative accepted.
3870
+ attr_reader :url
3871
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
3872
+ attr_reader :user_agent
3873
+
3874
+ def self.inner_class_types
3875
+ @inner_class_types = {}
3876
+ end
3877
+
3878
+ def self.field_remappings
3879
+ @field_remappings = {}
3880
+ end
3881
+ end
3882
+
3883
+ class Celtic < ::Stripe::StripeObject
3884
+ class ApplePay < ::Stripe::StripeObject
3885
+ # 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.
3886
+ attr_reader :date
3887
+ # The IP address from which the Account's representative accepted the terms of service.
3888
+ attr_reader :ip
3889
+ # The URL to the service agreement the Account's representative accepted.
3890
+ attr_reader :url
3891
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
3892
+ attr_reader :user_agent
3893
+
3894
+ def self.inner_class_types
3895
+ @inner_class_types = {}
3896
+ end
3897
+
3898
+ def self.field_remappings
3899
+ @field_remappings = {}
3900
+ end
3901
+ end
3902
+
3903
+ class ChargeCard < ::Stripe::StripeObject
3904
+ class BankTerms < ::Stripe::StripeObject
3905
+ # 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.
3906
+ attr_reader :date
3907
+ # The IP address from which the Account's representative accepted the terms of service.
3908
+ attr_reader :ip
3909
+ # The URL to the service agreement the Account's representative accepted.
3910
+ attr_reader :url
3911
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
3912
+ attr_reader :user_agent
3913
+
3914
+ def self.inner_class_types
3915
+ @inner_class_types = {}
3916
+ end
3917
+
3918
+ def self.field_remappings
3919
+ @field_remappings = {}
3920
+ end
3921
+ end
3922
+
3923
+ class Platform < ::Stripe::StripeObject
3924
+ # 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.
3925
+ attr_reader :date
3926
+ # The IP address from which the Account's representative accepted the terms of service.
3927
+ attr_reader :ip
3928
+ # The URL to the service agreement the Account's representative accepted.
3929
+ attr_reader :url
3930
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
3931
+ attr_reader :user_agent
3932
+
3933
+ def self.inner_class_types
3934
+ @inner_class_types = {}
3935
+ end
3936
+
3937
+ def self.field_remappings
3938
+ @field_remappings = {}
3939
+ end
3940
+ end
3941
+ # Bank terms of service acceptance for commercial issuing charge cards with Celtic as BIN sponsor.
3942
+ attr_reader :bank_terms
3943
+ # Platform terms of service acceptance for commercial issuing charge cards with Celtic as BIN sponsor.
3944
+ attr_reader :platform
3945
+
3946
+ def self.inner_class_types
3947
+ @inner_class_types = { bank_terms: BankTerms, platform: Platform }
3948
+ end
3949
+
3950
+ def self.field_remappings
3951
+ @field_remappings = {}
3952
+ end
3953
+ end
3954
+
3955
+ class SpendCard < ::Stripe::StripeObject
3956
+ class BankTerms < ::Stripe::StripeObject
3957
+ # 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.
3958
+ attr_reader :date
3959
+ # The IP address from which the Account's representative accepted the terms of service.
3960
+ attr_reader :ip
3961
+ # The URL to the service agreement the Account's representative accepted.
3962
+ attr_reader :url
3963
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
3964
+ attr_reader :user_agent
3965
+
3966
+ def self.inner_class_types
3967
+ @inner_class_types = {}
3968
+ end
3969
+
3970
+ def self.field_remappings
3971
+ @field_remappings = {}
3972
+ end
3973
+ end
3974
+
3975
+ class FinancingDisclosures < ::Stripe::StripeObject
3976
+ # 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.
3977
+ attr_reader :date
3978
+ # The IP address from which the Account's representative accepted the terms of service.
3979
+ attr_reader :ip
3980
+ # The URL to the service agreement the Account's representative accepted.
3981
+ attr_reader :url
3982
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
3983
+ attr_reader :user_agent
3984
+
3985
+ def self.inner_class_types
3986
+ @inner_class_types = {}
3987
+ end
3988
+
3989
+ def self.field_remappings
3990
+ @field_remappings = {}
3991
+ end
3992
+ end
3993
+
3994
+ class Platform < ::Stripe::StripeObject
3995
+ # 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.
3996
+ attr_reader :date
3997
+ # The IP address from which the Account's representative accepted the terms of service.
3998
+ attr_reader :ip
3999
+ # The URL to the service agreement the Account's representative accepted.
4000
+ attr_reader :url
4001
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
4002
+ attr_reader :user_agent
4003
+
4004
+ def self.inner_class_types
4005
+ @inner_class_types = {}
4006
+ end
4007
+
4008
+ def self.field_remappings
4009
+ @field_remappings = {}
4010
+ end
4011
+ end
4012
+ # Bank terms of service acceptance for commercial issuing spend cards with Celtic as BIN sponsor.
4013
+ attr_reader :bank_terms
4014
+ # Financial disclosures terms of service acceptance for commercial issuing spend cards with Celtic as BIN sponsor.
4015
+ attr_reader :financing_disclosures
4016
+ # Platform terms of service acceptance for commercial issuing spend cards with Celtic as BIN sponsor.
4017
+ attr_reader :platform
4018
+
4019
+ def self.inner_class_types
4020
+ @inner_class_types = {
4021
+ bank_terms: BankTerms,
4022
+ financing_disclosures: FinancingDisclosures,
4023
+ platform: Platform,
4024
+ }
4025
+ end
4026
+
4027
+ def self.field_remappings
4028
+ @field_remappings = {}
4029
+ end
4030
+ end
4031
+ # Terms of service acceptances for commercial issuing Apple Pay cards with Celtic as BIN sponsor.
4032
+ attr_reader :apple_pay
4033
+ # Terms of service acceptances for commercial issuing charge cards with Celtic as BIN sponsor.
4034
+ attr_reader :charge_card
4035
+ # Terms of service acceptances for commercial issuing spend cards with Celtic as BIN sponsor.
4036
+ attr_reader :spend_card
4037
+
4038
+ def self.inner_class_types
4039
+ @inner_class_types = {
4040
+ apple_pay: ApplePay,
4041
+ charge_card: ChargeCard,
4042
+ spend_card: SpendCard,
4043
+ }
4044
+ end
4045
+
4046
+ def self.field_remappings
4047
+ @field_remappings = {}
4048
+ end
4049
+ end
4050
+
4051
+ class CrossRiverBank < ::Stripe::StripeObject
4052
+ class ApplePay < ::Stripe::StripeObject
4053
+ # 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.
4054
+ attr_reader :date
4055
+ # The IP address from which the Account's representative accepted the terms of service.
4056
+ attr_reader :ip
4057
+ # The URL to the service agreement the Account's representative accepted.
4058
+ attr_reader :url
4059
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
4060
+ attr_reader :user_agent
4061
+
4062
+ def self.inner_class_types
4063
+ @inner_class_types = {}
4064
+ end
4065
+
4066
+ def self.field_remappings
4067
+ @field_remappings = {}
4068
+ end
4069
+ end
4070
+
4071
+ class ChargeCard < ::Stripe::StripeObject
4072
+ class BankTerms < ::Stripe::StripeObject
4073
+ # 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.
4074
+ attr_reader :date
4075
+ # The IP address from which the Account's representative accepted the terms of service.
4076
+ attr_reader :ip
4077
+ # The URL to the service agreement the Account's representative accepted.
4078
+ attr_reader :url
4079
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
4080
+ attr_reader :user_agent
4081
+
4082
+ def self.inner_class_types
4083
+ @inner_class_types = {}
4084
+ end
4085
+
4086
+ def self.field_remappings
4087
+ @field_remappings = {}
4088
+ end
4089
+ end
4090
+
4091
+ class FinancingDisclosures < ::Stripe::StripeObject
4092
+ # 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.
4093
+ attr_reader :date
4094
+ # The IP address from which the Account's representative accepted the terms of service.
4095
+ attr_reader :ip
4096
+ # The URL to the service agreement the Account's representative accepted.
4097
+ attr_reader :url
4098
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
4099
+ attr_reader :user_agent
4100
+
4101
+ def self.inner_class_types
4102
+ @inner_class_types = {}
4103
+ end
4104
+
4105
+ def self.field_remappings
4106
+ @field_remappings = {}
4107
+ end
4108
+ end
4109
+
4110
+ class Platform < ::Stripe::StripeObject
4111
+ # 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.
4112
+ attr_reader :date
4113
+ # The IP address from which the Account's representative accepted the terms of service.
4114
+ attr_reader :ip
4115
+ # The URL to the service agreement the Account's representative accepted.
4116
+ attr_reader :url
4117
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
4118
+ attr_reader :user_agent
4119
+
4120
+ def self.inner_class_types
4121
+ @inner_class_types = {}
4122
+ end
4123
+
4124
+ def self.field_remappings
4125
+ @field_remappings = {}
4126
+ end
4127
+ end
4128
+ # Bank terms of service acceptance for commercial issuing charge cards with Cross River Bank as BIN sponsor.
4129
+ attr_reader :bank_terms
4130
+ # Financial disclosures terms of service acceptance for commercial issuing charge cards with Cross River Bank as BIN sponsor.
4131
+ attr_reader :financing_disclosures
4132
+ # Platform terms of service acceptance for commercial issuing charge cards with Cross River Bank as BIN sponsor.
4133
+ attr_reader :platform
4134
+
4135
+ def self.inner_class_types
4136
+ @inner_class_types = {
4137
+ bank_terms: BankTerms,
4138
+ financing_disclosures: FinancingDisclosures,
4139
+ platform: Platform,
4140
+ }
4141
+ end
4142
+
4143
+ def self.field_remappings
4144
+ @field_remappings = {}
4145
+ end
4146
+ end
4147
+
4148
+ class PrepaidCard < ::Stripe::StripeObject
4149
+ class BankTerms < ::Stripe::StripeObject
4150
+ # 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.
4151
+ attr_reader :date
4152
+ # The IP address from which the Account's representative accepted the terms of service.
4153
+ attr_reader :ip
4154
+ # The URL to the service agreement the Account's representative accepted.
4155
+ attr_reader :url
4156
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
4157
+ attr_reader :user_agent
4158
+
4159
+ def self.inner_class_types
4160
+ @inner_class_types = {}
4161
+ end
4162
+
4163
+ def self.field_remappings
4164
+ @field_remappings = {}
4165
+ end
4166
+ end
4167
+
4168
+ class Platform < ::Stripe::StripeObject
4169
+ # 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.
4170
+ attr_reader :date
4171
+ # The IP address from which the Account's representative accepted the terms of service.
4172
+ attr_reader :ip
4173
+ # The URL to the service agreement the Account's representative accepted.
4174
+ attr_reader :url
4175
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
4176
+ attr_reader :user_agent
4177
+
4178
+ def self.inner_class_types
4179
+ @inner_class_types = {}
4180
+ end
4181
+
4182
+ def self.field_remappings
4183
+ @field_remappings = {}
4184
+ end
4185
+ end
4186
+ # Bank terms of service acceptance for commercial Global issuing prepaid cards with Cross River Bank as BIN sponsor.
4187
+ attr_reader :bank_terms
4188
+ # Platform terms of service acceptance for commercial Global issuing prepaid cards with Cross River Bank as BIN sponsor.
4189
+ attr_reader :platform
4190
+
4191
+ def self.inner_class_types
4192
+ @inner_class_types = { bank_terms: BankTerms, platform: Platform }
4193
+ end
4194
+
4195
+ def self.field_remappings
4196
+ @field_remappings = {}
4197
+ end
4198
+ end
4199
+
4200
+ class SpendCard < ::Stripe::StripeObject
4201
+ class BankTerms < ::Stripe::StripeObject
4202
+ # 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.
4203
+ attr_reader :date
4204
+ # The IP address from which the Account's representative accepted the terms of service.
4205
+ attr_reader :ip
4206
+ # The URL to the service agreement the Account's representative accepted.
4207
+ attr_reader :url
4208
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
4209
+ attr_reader :user_agent
4210
+
4211
+ def self.inner_class_types
4212
+ @inner_class_types = {}
4213
+ end
4214
+
4215
+ def self.field_remappings
4216
+ @field_remappings = {}
4217
+ end
4218
+ end
4219
+
4220
+ class FinancingDisclosures < ::Stripe::StripeObject
4221
+ # The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
4222
+ attr_reader :date
4223
+ # The IP address from which the Account's representative accepted the terms of service.
4224
+ attr_reader :ip
4225
+ # The URL to the service agreement the Account's representative accepted.
4226
+ attr_reader :url
4227
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
4228
+ attr_reader :user_agent
4229
+
4230
+ def self.inner_class_types
4231
+ @inner_class_types = {}
4232
+ end
4233
+
4234
+ def self.field_remappings
4235
+ @field_remappings = {}
4236
+ end
4237
+ end
4238
+ # Bank terms of service acceptance for commercial issuing spend cards with Cross River Bank as BIN sponsor.
4239
+ attr_reader :bank_terms
4240
+ # Financial disclosures terms of service acceptance for commercial issuing spend cards with Cross River Bank as BIN sponsor.
4241
+ attr_reader :financing_disclosures
4242
+
4243
+ def self.inner_class_types
4244
+ @inner_class_types = {
4245
+ bank_terms: BankTerms,
4246
+ financing_disclosures: FinancingDisclosures,
4247
+ }
4248
+ end
4249
+
4250
+ def self.field_remappings
4251
+ @field_remappings = {}
4252
+ end
4253
+ end
4254
+ # Terms of service acceptances for commercial issuing Apple Pay cards with Cross River Bank as BIN sponsor.
4255
+ attr_reader :apple_pay
4256
+ # Terms of service acceptances for commercial issuing charge cards with Cross River Bank as BIN sponsor.
4257
+ attr_reader :charge_card
4258
+ # Terms of service acceptances for commercial issuing prepaid cards with Cross River Bank as BIN sponsor.
4259
+ attr_reader :prepaid_card
4260
+ # Terms of service acceptances for commercial issuing spend cards with Cross River Bank as BIN sponsor.
4261
+ attr_reader :spend_card
4262
+
4263
+ def self.inner_class_types
4264
+ @inner_class_types = {
4265
+ apple_pay: ApplePay,
4266
+ charge_card: ChargeCard,
4267
+ prepaid_card: PrepaidCard,
4268
+ spend_card: SpendCard,
4269
+ }
4270
+ end
4271
+
4272
+ def self.field_remappings
4273
+ @field_remappings = {}
4274
+ end
4275
+ end
4276
+
4277
+ class FifthThird < ::Stripe::StripeObject
4278
+ class BankTerms < ::Stripe::StripeObject
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_reader :date
4281
+ # The IP address from which the Account's representative accepted the terms of service.
4282
+ attr_reader :ip
4283
+ # The URL to the service agreement the Account's representative accepted.
4284
+ attr_reader :url
4285
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
4286
+ attr_reader :user_agent
4287
+
4288
+ def self.inner_class_types
4289
+ @inner_class_types = {}
4290
+ end
4291
+
4292
+ def self.field_remappings
4293
+ @field_remappings = {}
4294
+ end
4295
+ end
4296
+
4297
+ class Platform < ::Stripe::StripeObject
4298
+ # 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.
4299
+ attr_reader :date
4300
+ # The IP address from which the Account's representative accepted the terms of service.
4301
+ attr_reader :ip
4302
+ # The URL to the service agreement the Account's representative accepted.
4303
+ attr_reader :url
4304
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
4305
+ attr_reader :user_agent
4306
+
4307
+ def self.inner_class_types
4308
+ @inner_class_types = {}
4309
+ end
4310
+
4311
+ def self.field_remappings
4312
+ @field_remappings = {}
4313
+ end
4314
+ end
4315
+ # Bank terms of service acceptance for commercial issuing charge cards with Fifth Third as BIN sponsor.
4316
+ attr_reader :bank_terms
4317
+ # Platform terms of service acceptance for commercial issuing charge cards with Fifth Third as BIN sponsor.
4318
+ attr_reader :platform
4319
+
4320
+ def self.inner_class_types
4321
+ @inner_class_types = { bank_terms: BankTerms, platform: Platform }
4322
+ end
4323
+
4324
+ def self.field_remappings
4325
+ @field_remappings = {}
4326
+ end
4327
+ end
4328
+
4329
+ class GlobalAccountHolder < ::Stripe::StripeObject
4330
+ # 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.
4331
+ attr_reader :date
4332
+ # The IP address from which the Account's representative accepted the terms of service.
4333
+ attr_reader :ip
4334
+ # The URL to the service agreement the Account's representative accepted.
4335
+ attr_reader :url
4336
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
4337
+ attr_reader :user_agent
4338
+
4339
+ def self.inner_class_types
4340
+ @inner_class_types = {}
4341
+ end
4342
+
4343
+ def self.field_remappings
4344
+ @field_remappings = {}
4345
+ end
4346
+ end
4347
+
4348
+ class Lead < ::Stripe::StripeObject
4349
+ class ApplePay < ::Stripe::StripeObject
4350
+ # The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
4351
+ attr_reader :date
4352
+ # The IP address from which the Account's representative accepted the terms of service.
4353
+ attr_reader :ip
4354
+ # The URL to the service agreement the Account's representative accepted.
4355
+ attr_reader :url
4356
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
4357
+ attr_reader :user_agent
4358
+
4359
+ def self.inner_class_types
4360
+ @inner_class_types = {}
4361
+ end
4362
+
4363
+ def self.field_remappings
4364
+ @field_remappings = {}
4365
+ end
4366
+ end
4367
+
4368
+ class PrepaidCard < ::Stripe::StripeObject
4369
+ class BankTerms < ::Stripe::StripeObject
4370
+ # 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.
4371
+ attr_reader :date
4372
+ # The IP address from which the Account's representative accepted the terms of service.
4373
+ attr_reader :ip
4374
+ # The URL to the service agreement the Account's representative accepted.
4375
+ attr_reader :url
4376
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
4377
+ attr_reader :user_agent
4378
+
4379
+ def self.inner_class_types
4380
+ @inner_class_types = {}
4381
+ end
4382
+
4383
+ def self.field_remappings
4384
+ @field_remappings = {}
4385
+ end
4386
+ end
4387
+
4388
+ class Platform < ::Stripe::StripeObject
4389
+ # 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.
4390
+ attr_reader :date
4391
+ # The IP address from which the Account's representative accepted the terms of service.
4392
+ attr_reader :ip
4393
+ # The URL to the service agreement the Account's representative accepted.
4394
+ attr_reader :url
4395
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
4396
+ attr_reader :user_agent
4397
+
4398
+ def self.inner_class_types
4399
+ @inner_class_types = {}
4400
+ end
4401
+
4402
+ def self.field_remappings
4403
+ @field_remappings = {}
4404
+ end
4405
+ end
4406
+ # Bank terms of service acceptance for commercial Global issuing prepaid cards with Lead as BIN sponsor.
4407
+ attr_reader :bank_terms
4408
+ # Platform terms of service acceptance for commercial Global issuing prepaid cards with Lead as BIN sponsor.
4409
+ attr_reader :platform
4410
+
4411
+ def self.inner_class_types
4412
+ @inner_class_types = { bank_terms: BankTerms, platform: Platform }
4413
+ end
4414
+
4415
+ def self.field_remappings
4416
+ @field_remappings = {}
4417
+ end
4418
+ end
4419
+ # Terms of service acceptances for commercial issuing Apple Pay cards with Celtic as BIN sponsor.
4420
+ attr_reader :apple_pay
4421
+ # Terms of service acceptances for commercial issuing Global prepaid cards with Lead as BIN sponsor.
4422
+ attr_reader :prepaid_card
4423
+
4424
+ def self.inner_class_types
4425
+ @inner_class_types = { apple_pay: ApplePay, prepaid_card: PrepaidCard }
4426
+ end
4427
+
4428
+ def self.field_remappings
4429
+ @field_remappings = {}
4430
+ end
4431
+ end
4432
+ # Terms of service acceptances for Stripe commercial card issuing.
4433
+ attr_reader :account_holder
4434
+ # Terms of service acceptances for commercial issuing cards with Celtic as BIN sponsor.
4435
+ attr_reader :celtic
4436
+ # Terms of service acceptances for commercial issuing cards with Cross River Bank as BIN sponsor.
4437
+ attr_reader :cross_river_bank
4438
+ # Terms of service acceptances for commercial issuing cards with Fifth Third as BIN sponsor.
4439
+ attr_reader :fifth_third
4440
+ # Terms of service acceptances for Stripe commercial card Global issuing.
4441
+ attr_reader :global_account_holder
4442
+ # Terms of service acceptances for commercial issuing cards with Lead as BIN sponsor.
4443
+ attr_reader :lead
4444
+
4445
+ def self.inner_class_types
4446
+ @inner_class_types = {
4447
+ account_holder: AccountHolder,
4448
+ celtic: Celtic,
4449
+ cross_river_bank: CrossRiverBank,
4450
+ fifth_third: FifthThird,
4451
+ global_account_holder: GlobalAccountHolder,
4452
+ lead: Lead,
4453
+ }
4454
+ end
4455
+
4456
+ def self.field_remappings
4457
+ @field_remappings = {}
4458
+ end
4459
+ end
4460
+
4461
+ class Consumer < ::Stripe::StripeObject
4462
+ class AccountHolder < ::Stripe::StripeObject
4463
+ # 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.
4464
+ attr_reader :date
4465
+ # The IP address from which the Account's representative accepted the terms of service.
4466
+ attr_reader :ip
4467
+ # The URL to the service agreement the Account's representative accepted.
4468
+ attr_reader :url
4469
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
4470
+ attr_reader :user_agent
4471
+
4472
+ def self.inner_class_types
4473
+ @inner_class_types = {}
4474
+ end
4475
+
4476
+ def self.field_remappings
4477
+ @field_remappings = {}
4478
+ end
4479
+ end
4480
+
4481
+ class Celtic < ::Stripe::StripeObject
4482
+ class ApplePay < ::Stripe::StripeObject
4483
+ # 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.
4484
+ attr_reader :date
4485
+ # The IP address from which the Account's representative accepted the terms of service.
4486
+ attr_reader :ip
4487
+ # The URL to the service agreement the Account's representative accepted.
4488
+ attr_reader :url
4489
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
4490
+ attr_reader :user_agent
4491
+
4492
+ def self.inner_class_types
4493
+ @inner_class_types = {}
4494
+ end
4495
+
4496
+ def self.field_remappings
4497
+ @field_remappings = {}
4498
+ end
4499
+ end
4500
+
4501
+ class RevolvingCreditCard < ::Stripe::StripeObject
4502
+ class BankTerms < ::Stripe::StripeObject
4503
+ # 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.
4504
+ attr_reader :date
4505
+ # The IP address from which the Account's representative accepted the terms of service.
4506
+ attr_reader :ip
4507
+ # The URL to the service agreement the Account's representative accepted.
4508
+ attr_reader :url
4509
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
4510
+ attr_reader :user_agent
4511
+
4512
+ def self.inner_class_types
4513
+ @inner_class_types = {}
4514
+ end
4515
+
4516
+ def self.field_remappings
4517
+ @field_remappings = {}
4518
+ end
4519
+ end
4520
+
4521
+ class FinancingDisclosures < ::Stripe::StripeObject
4522
+ # 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.
4523
+ attr_reader :date
4524
+ # The IP address from which the Account's representative accepted the terms of service.
4525
+ attr_reader :ip
4526
+ # The URL to the service agreement the Account's representative accepted.
4527
+ attr_reader :url
4528
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
4529
+ attr_reader :user_agent
4530
+
4531
+ def self.inner_class_types
4532
+ @inner_class_types = {}
4533
+ end
4534
+
4535
+ def self.field_remappings
4536
+ @field_remappings = {}
4537
+ end
4538
+ end
4539
+
4540
+ class Platform < ::Stripe::StripeObject
4541
+ # 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.
4542
+ attr_reader :date
4543
+ # The IP address from which the Account's representative accepted the terms of service.
4544
+ attr_reader :ip
4545
+ # The URL to the service agreement the Account's representative accepted.
4546
+ attr_reader :url
4547
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
4548
+ attr_reader :user_agent
4549
+
4550
+ def self.inner_class_types
4551
+ @inner_class_types = {}
4552
+ end
4553
+
4554
+ def self.field_remappings
4555
+ @field_remappings = {}
4556
+ end
4557
+ end
4558
+ # Bank terms of service acceptance for commercial issuing spend cards with Celtic as BIN sponsor.
4559
+ attr_reader :bank_terms
4560
+ # Financial disclosures terms of service acceptance for commercial issuing spend cards with Celtic as BIN sponsor.
4561
+ attr_reader :financing_disclosures
4562
+ # Platform terms of service acceptance for commercial issuing spend cards with Celtic as BIN sponsor.
4563
+ attr_reader :platform
4564
+
4565
+ def self.inner_class_types
4566
+ @inner_class_types = {
4567
+ bank_terms: BankTerms,
4568
+ financing_disclosures: FinancingDisclosures,
4569
+ platform: Platform,
4570
+ }
4571
+ end
4572
+
4573
+ def self.field_remappings
4574
+ @field_remappings = {}
4575
+ end
4576
+ end
4577
+ # Terms of service acceptances for commercial issuing Apple Pay cards with Celtic as BIN sponsor.
4578
+ attr_reader :apple_pay
4579
+ # Terms of service acceptances for commercial issuing revolving credit cards with Celtic as BIN sponsor.
4580
+ attr_reader :revolving_credit_card
4581
+
4582
+ def self.inner_class_types
4583
+ @inner_class_types = {
4584
+ apple_pay: ApplePay,
4585
+ revolving_credit_card: RevolvingCreditCard,
4586
+ }
4587
+ end
4588
+
4589
+ def self.field_remappings
4590
+ @field_remappings = {}
4591
+ end
4592
+ end
4593
+
4594
+ class CrossRiverBank < ::Stripe::StripeObject
4595
+ class PrepaidCard < ::Stripe::StripeObject
4596
+ class BankTerms < ::Stripe::StripeObject
4597
+ # The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
4598
+ attr_reader :date
4599
+ # The IP address from which the Account's representative accepted the terms of service.
4600
+ attr_reader :ip
4601
+ # The URL to the service agreement the Account's representative accepted.
4602
+ attr_reader :url
4603
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
4604
+ attr_reader :user_agent
4605
+
4606
+ def self.inner_class_types
4607
+ @inner_class_types = {}
4608
+ end
4609
+
4610
+ def self.field_remappings
4611
+ @field_remappings = {}
4612
+ end
4613
+ end
4614
+
4615
+ class FinancingDisclosures < ::Stripe::StripeObject
4616
+ # 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.
4617
+ attr_reader :date
4618
+ # The IP address from which the Account's representative accepted the terms of service.
4619
+ attr_reader :ip
4620
+ # The URL to the service agreement the Account's representative accepted.
4621
+ attr_reader :url
4622
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
4623
+ attr_reader :user_agent
4624
+
4625
+ def self.inner_class_types
4626
+ @inner_class_types = {}
4627
+ end
4628
+
4629
+ def self.field_remappings
4630
+ @field_remappings = {}
4631
+ end
4632
+ end
4633
+
4634
+ class Platform < ::Stripe::StripeObject
4635
+ # 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.
4636
+ attr_reader :date
4637
+ # The IP address from which the Account's representative accepted the terms of service.
4638
+ attr_reader :ip
4639
+ # The URL to the service agreement the Account's representative accepted.
4640
+ attr_reader :url
4641
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
4642
+ attr_reader :user_agent
4643
+
4644
+ def self.inner_class_types
4645
+ @inner_class_types = {}
4646
+ end
4647
+
4648
+ def self.field_remappings
4649
+ @field_remappings = {}
4650
+ end
4651
+ end
4652
+ # Bank terms of service acceptance for consumer issuing prepaid cards with Cross River Bank as BIN sponsor.
4653
+ attr_reader :bank_terms
4654
+ # Financial disclosures terms of service acceptance for consumer issuing prepaid cards with Cross River Bank as BIN sponsor.
4655
+ attr_reader :financing_disclosures
4656
+ # Platform terms of service acceptance for consumer issuing prepaid cards with Cross River Bank as BIN sponsor.
4657
+ attr_reader :platform
4658
+
4659
+ def self.inner_class_types
4660
+ @inner_class_types = {
4661
+ bank_terms: BankTerms,
4662
+ financing_disclosures: FinancingDisclosures,
4663
+ platform: Platform,
4664
+ }
4665
+ end
4666
+
4667
+ def self.field_remappings
4668
+ @field_remappings = {}
4669
+ end
4670
+ end
4671
+ # Terms of service acceptances for consumer issuing prepaid cards with Cross River Bank as BIN sponsor.
4672
+ attr_reader :prepaid_card
4673
+
4674
+ def self.inner_class_types
4675
+ @inner_class_types = { prepaid_card: PrepaidCard }
4676
+ end
4677
+
4678
+ def self.field_remappings
4679
+ @field_remappings = {}
4680
+ end
4681
+ end
4682
+
4683
+ class GlobalAccountHolder < ::Stripe::StripeObject
4684
+ # 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.
4685
+ attr_reader :date
4686
+ # The IP address from which the Account's representative accepted the terms of service.
4687
+ attr_reader :ip
4688
+ # The URL to the service agreement the Account's representative accepted.
4689
+ attr_reader :url
4690
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
4691
+ attr_reader :user_agent
4692
+
4693
+ def self.inner_class_types
4694
+ @inner_class_types = {}
4695
+ end
4696
+
4697
+ def self.field_remappings
4698
+ @field_remappings = {}
4699
+ end
4700
+ end
4701
+
4702
+ class Lead < ::Stripe::StripeObject
4703
+ class ApplePay < ::Stripe::StripeObject
4704
+ # 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.
4705
+ attr_reader :date
4706
+ # The IP address from which the Account's representative accepted the terms of service.
4707
+ attr_reader :ip
4708
+ # The URL to the service agreement the Account's representative accepted.
4709
+ attr_reader :url
4710
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
4711
+ attr_reader :user_agent
4712
+
4713
+ def self.inner_class_types
4714
+ @inner_class_types = {}
4715
+ end
4716
+
4717
+ def self.field_remappings
4718
+ @field_remappings = {}
4719
+ end
4720
+ end
4721
+
4722
+ class DebitCard < ::Stripe::StripeObject
4723
+ class BankTerms < ::Stripe::StripeObject
4724
+ # 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.
4725
+ attr_reader :date
4726
+ # The IP address from which the Account's representative accepted the terms of service.
4727
+ attr_reader :ip
4728
+ # The URL to the service agreement the Account's representative accepted.
4729
+ attr_reader :url
4730
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
4731
+ attr_reader :user_agent
4732
+
4733
+ def self.inner_class_types
4734
+ @inner_class_types = {}
4735
+ end
4736
+
4737
+ def self.field_remappings
4738
+ @field_remappings = {}
4739
+ end
4740
+ end
4741
+
4742
+ class FinancingDisclosures < ::Stripe::StripeObject
4743
+ # 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.
4744
+ attr_reader :date
4745
+ # The IP address from which the Account's representative accepted the terms of service.
4746
+ attr_reader :ip
4747
+ # The URL to the service agreement the Account's representative accepted.
4748
+ attr_reader :url
4749
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
4750
+ attr_reader :user_agent
4751
+
4752
+ def self.inner_class_types
4753
+ @inner_class_types = {}
4754
+ end
4755
+
4756
+ def self.field_remappings
4757
+ @field_remappings = {}
4758
+ end
4759
+ end
4760
+
4761
+ class Platform < ::Stripe::StripeObject
4762
+ # 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.
4763
+ attr_reader :date
4764
+ # The IP address from which the Account's representative accepted the terms of service.
4765
+ attr_reader :ip
4766
+ # The URL to the service agreement the Account's representative accepted.
4767
+ attr_reader :url
4768
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
4769
+ attr_reader :user_agent
4770
+
4771
+ def self.inner_class_types
4772
+ @inner_class_types = {}
4773
+ end
4774
+
4775
+ def self.field_remappings
4776
+ @field_remappings = {}
4777
+ end
4778
+ end
4779
+ # Bank terms of service acceptance for consumer issuing debit cards with Lead as BIN sponsor.
4780
+ attr_reader :bank_terms
4781
+ # Financial disclosures terms of service acceptance for consumer issuing debit cards with Lead as BIN sponsor.
4782
+ attr_reader :financing_disclosures
4783
+ # Platform terms of service acceptance for consumer issuing debit cards with Lead as BIN sponsor.
4784
+ attr_reader :platform
4785
+
4786
+ def self.inner_class_types
4787
+ @inner_class_types = {
4788
+ bank_terms: BankTerms,
4789
+ financing_disclosures: FinancingDisclosures,
4790
+ platform: Platform,
4791
+ }
4792
+ end
4793
+
4794
+ def self.field_remappings
4795
+ @field_remappings = {}
4796
+ end
4797
+ end
4798
+
4799
+ class PrepaidCard < ::Stripe::StripeObject
4800
+ class BankTerms < ::Stripe::StripeObject
4801
+ # The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
4802
+ attr_reader :date
4803
+ # The IP address from which the Account's representative accepted the terms of service.
4804
+ attr_reader :ip
4805
+ # The URL to the service agreement the Account's representative accepted.
4806
+ attr_reader :url
4807
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
4808
+ attr_reader :user_agent
4809
+
4810
+ def self.inner_class_types
4811
+ @inner_class_types = {}
4812
+ end
4813
+
4814
+ def self.field_remappings
4815
+ @field_remappings = {}
4816
+ end
4817
+ end
4818
+
4819
+ class FinancingDisclosures < ::Stripe::StripeObject
4820
+ # 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.
4821
+ attr_reader :date
4822
+ # The IP address from which the Account's representative accepted the terms of service.
4823
+ attr_reader :ip
4824
+ # The URL to the service agreement the Account's representative accepted.
4825
+ attr_reader :url
4826
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
4827
+ attr_reader :user_agent
4828
+
4829
+ def self.inner_class_types
4830
+ @inner_class_types = {}
4831
+ end
4832
+
4833
+ def self.field_remappings
4834
+ @field_remappings = {}
4835
+ end
4836
+ end
4837
+
4838
+ class Platform < ::Stripe::StripeObject
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_reader :date
4841
+ # The IP address from which the Account's representative accepted the terms of service.
4842
+ attr_reader :ip
4843
+ # The URL to the service agreement the Account's representative accepted.
4844
+ attr_reader :url
4845
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
4846
+ attr_reader :user_agent
4847
+
4848
+ def self.inner_class_types
4849
+ @inner_class_types = {}
4850
+ end
4851
+
4852
+ def self.field_remappings
4853
+ @field_remappings = {}
4854
+ end
4855
+ end
4856
+ # Bank terms of service acceptance for consumer issuing prepaid cards with Lead as BIN sponsor.
4857
+ attr_reader :bank_terms
4858
+ # Financial disclosures terms of service acceptance for consumer issuing prepaid cards with Lead as BIN sponsor.
4859
+ attr_reader :financing_disclosures
4860
+ # Platform terms of service acceptance for consumer issuing prepaid cards with Lead as BIN sponsor.
4861
+ attr_reader :platform
4862
+
4863
+ def self.inner_class_types
4864
+ @inner_class_types = {
4865
+ bank_terms: BankTerms,
4866
+ financing_disclosures: FinancingDisclosures,
4867
+ platform: Platform,
4868
+ }
4869
+ end
4870
+
4871
+ def self.field_remappings
4872
+ @field_remappings = {}
4873
+ end
4874
+ end
4875
+ # Terms of service acceptances for commercial issuing Apple Pay cards with Lead as BIN sponsor.
4876
+ attr_reader :apple_pay
4877
+ # Terms of service acceptances for consumer issuing debit cards with Lead as BIN sponsor.
4878
+ attr_reader :debit_card
4879
+ # Terms of service acceptances for commercial issuing revolving credit cards with Lead as BIN sponsor.
4880
+ attr_reader :prepaid_card
4881
+
4882
+ def self.inner_class_types
4883
+ @inner_class_types = {
4884
+ apple_pay: ApplePay,
4885
+ debit_card: DebitCard,
4886
+ prepaid_card: PrepaidCard,
4887
+ }
4888
+ end
4889
+
4890
+ def self.field_remappings
4891
+ @field_remappings = {}
4892
+ end
4893
+ end
4894
+ # Terms of service acceptances for Stripe commercial card issuing.
4895
+ attr_reader :account_holder
4896
+ # Terms of service acceptances for commercial issuing cards with Celtic as BIN sponsor.
4897
+ attr_reader :celtic
4898
+ # Terms of service acceptances for consumer issuing cards with Cross River Bank as BIN sponsor.
4899
+ attr_reader :cross_river_bank
4900
+ # Terms of service acceptances for Stripe commercial card Global issuing.
4901
+ attr_reader :global_account_holder
4902
+ # Terms of service acceptances for commercial issuing cards with Lead as BIN sponsor.
4903
+ attr_reader :lead
4904
+
4905
+ def self.inner_class_types
4906
+ @inner_class_types = {
4907
+ account_holder: AccountHolder,
4908
+ celtic: Celtic,
4909
+ cross_river_bank: CrossRiverBank,
4910
+ global_account_holder: GlobalAccountHolder,
4911
+ lead: Lead,
4912
+ }
4913
+ end
4914
+
4915
+ def self.field_remappings
4916
+ @field_remappings = {}
4917
+ end
4918
+ end
4919
+ # Terms of service acceptances to create cards for commercial issuing use cases.
4920
+ attr_reader :commercial
4921
+ # Terms of service acceptances to create cards for consumer issuing use cases.
4922
+ attr_reader :consumer
4923
+
4924
+ def self.inner_class_types
4925
+ @inner_class_types = { commercial: Commercial, consumer: Consumer }
4926
+ end
4927
+
4928
+ def self.field_remappings
4929
+ @field_remappings = {}
4930
+ end
4931
+ end
4932
+
4933
+ class ConsumerPrivacyDisclosures < ::Stripe::StripeObject
4934
+ # 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.
4935
+ attr_reader :date
4936
+ # The IP address from which the Account's representative accepted the terms of service.
4937
+ attr_reader :ip
4938
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
4939
+ attr_reader :user_agent
4940
+
4941
+ def self.inner_class_types
4942
+ @inner_class_types = {}
4943
+ end
4944
+
4945
+ def self.field_remappings
4946
+ @field_remappings = {}
4947
+ end
4948
+ end
4949
+
4950
+ class ConsumerStorer < ::Stripe::StripeObject
4951
+ # The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
4952
+ attr_reader :date
4953
+ # The IP address from which the Account's representative accepted the terms of service.
4954
+ attr_reader :ip
4955
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
4956
+ attr_reader :user_agent
4957
+
4958
+ def self.inner_class_types
4959
+ @inner_class_types = {}
4960
+ end
4961
+
4962
+ def self.field_remappings
4963
+ @field_remappings = {}
4964
+ end
4965
+ end
4966
+
4967
+ class CryptoStorer < ::Stripe::StripeObject
4968
+ # The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
4969
+ attr_reader :date
4970
+ # The IP address from which the Account's representative accepted the terms of service.
4971
+ attr_reader :ip
4972
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
4973
+ attr_reader :user_agent
4974
+
4975
+ def self.inner_class_types
4976
+ @inner_class_types = {}
4977
+ end
4978
+
4979
+ def self.field_remappings
4980
+ @field_remappings = {}
4981
+ end
4982
+ end
4983
+
4984
+ class Storer < ::Stripe::StripeObject
4985
+ # 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.
4986
+ attr_reader :date
4987
+ # The IP address from which the Account's representative accepted the terms of service.
4988
+ attr_reader :ip
4989
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
4990
+ attr_reader :user_agent
4991
+
4992
+ def self.inner_class_types
4993
+ @inner_class_types = {}
4994
+ end
4995
+
4996
+ def self.field_remappings
4997
+ @field_remappings = {}
4998
+ end
4999
+ end
2371
5000
  # Details on the Account's acceptance of the [Stripe Services Agreement](https://docs.stripe.com/connect/updating-accounts#tos-acceptance).
2372
5001
  attr_reader :account
5002
+ # Details on the Account's acceptance of Issuing-specific terms of service.
5003
+ attr_reader :card_creator
5004
+ # Details on the Account's acceptance of Consumer-privacy-disclosures-specific terms of service.
5005
+ attr_reader :consumer_privacy_disclosures
5006
+ # Details on the Account's acceptance of Consumer-storer-specific terms of service.
5007
+ attr_reader :consumer_storer
5008
+ # Details on the Account's acceptance of Crypto-storer-specific terms of service.
5009
+ attr_reader :crypto_storer
5010
+ # Details on the Account's acceptance of Treasury-specific terms of service.
5011
+ attr_reader :storer
2373
5012
 
2374
5013
  def self.inner_class_types
2375
- @inner_class_types = { account: Account }
5014
+ @inner_class_types = {
5015
+ account: Account,
5016
+ card_creator: CardCreator,
5017
+ consumer_privacy_disclosures: ConsumerPrivacyDisclosures,
5018
+ consumer_storer: ConsumerStorer,
5019
+ crypto_storer: CryptoStorer,
5020
+ storer: Storer,
5021
+ }
2376
5022
  end
2377
5023
 
2378
5024
  def self.field_remappings
@@ -2831,6 +5477,8 @@ module Stripe
2831
5477
  attr_reader :address
2832
5478
  # The business gross annual revenue for its preceding fiscal year.
2833
5479
  attr_reader :annual_revenue
5480
+ # A detailed description of the business's compliance and anti-money laundering controls and practices.
5481
+ attr_reader :compliance_screening_description
2834
5482
  # Documents that may be submitted to satisfy various informational requests.
2835
5483
  attr_reader :documents
2836
5484
  # Estimated maximum number of workers currently engaged by the business (including employees, contractors, and vendors).