stripe 18.1.0 → 18.2.0.pre.alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (770) hide show
  1. checksums.yaml +4 -4
  2. data/lib/stripe/api_requestor.rb +36 -0
  3. data/lib/stripe/api_version.rb +1 -2
  4. data/lib/stripe/errors.rb +66 -0
  5. data/lib/stripe/event_types.rb +569 -0
  6. data/lib/stripe/events/v2_billing_cadence_billed_event.rb +61 -0
  7. data/lib/stripe/events/v2_billing_cadence_canceled_event.rb +44 -0
  8. data/lib/stripe/events/v2_billing_cadence_created_event.rb +61 -0
  9. data/lib/stripe/events/v2_billing_license_fee_created_event.rb +44 -0
  10. data/lib/stripe/events/v2_billing_license_fee_updated_event.rb +44 -0
  11. data/lib/stripe/events/v2_billing_license_fee_version_created_event.rb +61 -0
  12. data/lib/stripe/events/v2_billing_licensed_item_created_event.rb +44 -0
  13. data/lib/stripe/events/v2_billing_licensed_item_updated_event.rb +44 -0
  14. data/lib/stripe/events/v2_billing_metered_item_created_event.rb +44 -0
  15. data/lib/stripe/events/v2_billing_metered_item_updated_event.rb +44 -0
  16. data/lib/stripe/events/v2_billing_pricing_plan_component_created_event.rb +61 -0
  17. data/lib/stripe/events/v2_billing_pricing_plan_component_updated_event.rb +61 -0
  18. data/lib/stripe/events/v2_billing_pricing_plan_created_event.rb +44 -0
  19. data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_awaiting_customer_action_event.rb +44 -0
  20. data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_current_event.rb +44 -0
  21. data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_past_due_event.rb +44 -0
  22. data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_paused_event.rb +44 -0
  23. data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_unpaid_event.rb +44 -0
  24. data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_activated_event.rb +44 -0
  25. data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_canceled_event.rb +44 -0
  26. data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_paused_event.rb +44 -0
  27. data/lib/stripe/events/v2_billing_pricing_plan_updated_event.rb +44 -0
  28. data/lib/stripe/events/v2_billing_pricing_plan_version_created_event.rb +61 -0
  29. data/lib/stripe/events/v2_billing_rate_card_created_event.rb +61 -0
  30. data/lib/stripe/events/v2_billing_rate_card_rate_created_event.rb +67 -0
  31. data/lib/stripe/events/v2_billing_rate_card_subscription_activated_event.rb +44 -0
  32. data/lib/stripe/events/v2_billing_rate_card_subscription_canceled_event.rb +44 -0
  33. data/lib/stripe/events/v2_billing_rate_card_subscription_collection_awaiting_customer_action_event.rb +44 -0
  34. data/lib/stripe/events/v2_billing_rate_card_subscription_collection_current_event.rb +44 -0
  35. data/lib/stripe/events/v2_billing_rate_card_subscription_collection_past_due_event.rb +44 -0
  36. data/lib/stripe/events/v2_billing_rate_card_subscription_collection_paused_event.rb +44 -0
  37. data/lib/stripe/events/v2_billing_rate_card_subscription_collection_unpaid_event.rb +44 -0
  38. data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_activated_event.rb +44 -0
  39. data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_canceled_event.rb +44 -0
  40. data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_paused_event.rb +44 -0
  41. data/lib/stripe/events/v2_billing_rate_card_updated_event.rb +44 -0
  42. data/lib/stripe/events/v2_billing_rate_card_version_created_event.rb +61 -0
  43. data/lib/stripe/events/v2_core_account_closed_event.rb +44 -0
  44. data/lib/stripe/events/v2_core_account_created_event.rb +44 -0
  45. data/lib/stripe/events/v2_core_account_including_configuration_card_creator_capability_status_updated_event.rb +63 -0
  46. data/lib/stripe/events/v2_core_account_including_configuration_card_creator_updated_event.rb +44 -0
  47. data/lib/stripe/events/v2_core_account_including_configuration_customer_capability_status_updated_event.rb +63 -0
  48. data/lib/stripe/events/v2_core_account_including_configuration_customer_updated_event.rb +44 -0
  49. data/lib/stripe/events/v2_core_account_including_configuration_merchant_capability_status_updated_event.rb +63 -0
  50. data/lib/stripe/events/v2_core_account_including_configuration_merchant_updated_event.rb +44 -0
  51. data/lib/stripe/events/v2_core_account_including_configuration_recipient_capability_status_updated_event.rb +63 -0
  52. data/lib/stripe/events/v2_core_account_including_configuration_recipient_updated_event.rb +44 -0
  53. data/lib/stripe/events/v2_core_account_including_configuration_storer_capability_status_updated_event.rb +63 -0
  54. data/lib/stripe/events/v2_core_account_including_configuration_storer_updated_event.rb +44 -0
  55. data/lib/stripe/events/v2_core_account_including_defaults_updated_event.rb +44 -0
  56. data/lib/stripe/events/v2_core_account_including_identity_updated_event.rb +44 -0
  57. data/lib/stripe/events/v2_core_account_including_requirements_updated_event.rb +44 -0
  58. data/lib/stripe/events/v2_core_account_link_returned_event.rb +42 -0
  59. data/lib/stripe/events/v2_core_account_person_created_event.rb +61 -0
  60. data/lib/stripe/events/v2_core_account_person_deleted_event.rb +61 -0
  61. data/lib/stripe/events/v2_core_account_person_updated_event.rb +61 -0
  62. data/lib/stripe/events/v2_core_account_updated_event.rb +44 -0
  63. data/lib/stripe/events/v2_core_claimable_sandbox_claimed_event.rb +44 -0
  64. data/lib/stripe/events/v2_core_claimable_sandbox_created_event.rb +44 -0
  65. data/lib/stripe/events/v2_core_claimable_sandbox_expired_event.rb +44 -0
  66. data/lib/stripe/events/v2_core_claimable_sandbox_expiring_event.rb +44 -0
  67. data/lib/stripe/events/v2_core_claimable_sandbox_sandbox_details_owner_account_updated_event.rb +44 -0
  68. data/lib/stripe/events/v2_core_health_api_error_firing_event.rb +86 -0
  69. data/lib/stripe/events/v2_core_health_api_error_resolved_event.rb +86 -0
  70. data/lib/stripe/events/v2_core_health_api_latency_firing_event.rb +84 -0
  71. data/lib/stripe/events/v2_core_health_api_latency_resolved_event.rb +84 -0
  72. data/lib/stripe/events/v2_core_health_authorization_rate_drop_firing_event.rb +80 -0
  73. data/lib/stripe/events/v2_core_health_authorization_rate_drop_resolved_event.rb +80 -0
  74. data/lib/stripe/events/v2_core_health_event_generation_failure_resolved_event.rb +78 -0
  75. data/lib/stripe/events/v2_core_health_fraud_rate_increased_event.rb +78 -0
  76. data/lib/stripe/events/v2_core_health_issuing_authorization_request_errors_firing_event.rb +91 -0
  77. data/lib/stripe/events/v2_core_health_issuing_authorization_request_errors_resolved_event.rb +93 -0
  78. data/lib/stripe/events/v2_core_health_issuing_authorization_request_timeout_firing_event.rb +93 -0
  79. data/lib/stripe/events/v2_core_health_issuing_authorization_request_timeout_resolved_event.rb +93 -0
  80. data/lib/stripe/events/v2_core_health_payment_method_error_firing_event.rb +82 -0
  81. data/lib/stripe/events/v2_core_health_payment_method_error_resolved_event.rb +82 -0
  82. data/lib/stripe/events/v2_core_health_sepa_debit_delayed_firing_event.rb +58 -0
  83. data/lib/stripe/events/v2_core_health_sepa_debit_delayed_resolved_event.rb +60 -0
  84. data/lib/stripe/events/v2_core_health_traffic_volume_drop_firing_event.rb +62 -0
  85. data/lib/stripe/events/v2_core_health_traffic_volume_drop_resolved_event.rb +62 -0
  86. data/lib/stripe/events/v2_core_health_webhook_latency_firing_event.rb +58 -0
  87. data/lib/stripe/events/v2_core_health_webhook_latency_resolved_event.rb +58 -0
  88. data/lib/stripe/events/v2_iam_api_key_created_event.rb +20 -0
  89. data/lib/stripe/events/v2_iam_api_key_default_secret_revealed_event.rb +20 -0
  90. data/lib/stripe/events/v2_iam_api_key_expired_event.rb +20 -0
  91. data/lib/stripe/events/v2_iam_api_key_permissions_updated_event.rb +20 -0
  92. data/lib/stripe/events/v2_iam_api_key_rotated_event.rb +38 -0
  93. data/lib/stripe/events/v2_iam_api_key_updated_event.rb +20 -0
  94. data/lib/stripe/events/v2_money_management_adjustment_created_event.rb +44 -0
  95. data/lib/stripe/events/v2_money_management_financial_account_created_event.rb +44 -0
  96. data/lib/stripe/events/v2_money_management_financial_account_updated_event.rb +44 -0
  97. data/lib/stripe/events/v2_money_management_financial_address_activated_event.rb +44 -0
  98. data/lib/stripe/events/v2_money_management_financial_address_failed_event.rb +44 -0
  99. data/lib/stripe/events/v2_money_management_inbound_transfer_available_event.rb +61 -0
  100. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_failed_event.rb +44 -0
  101. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_processing_event.rb +44 -0
  102. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_queued_event.rb +44 -0
  103. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_returned_event.rb +44 -0
  104. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_succeeded_event.rb +44 -0
  105. data/lib/stripe/events/v2_money_management_outbound_payment_canceled_event.rb +44 -0
  106. data/lib/stripe/events/v2_money_management_outbound_payment_created_event.rb +44 -0
  107. data/lib/stripe/events/v2_money_management_outbound_payment_failed_event.rb +44 -0
  108. data/lib/stripe/events/v2_money_management_outbound_payment_posted_event.rb +44 -0
  109. data/lib/stripe/events/v2_money_management_outbound_payment_returned_event.rb +44 -0
  110. data/lib/stripe/events/v2_money_management_outbound_payment_updated_event.rb +44 -0
  111. data/lib/stripe/events/v2_money_management_outbound_transfer_canceled_event.rb +44 -0
  112. data/lib/stripe/events/v2_money_management_outbound_transfer_created_event.rb +44 -0
  113. data/lib/stripe/events/v2_money_management_outbound_transfer_failed_event.rb +44 -0
  114. data/lib/stripe/events/v2_money_management_outbound_transfer_posted_event.rb +44 -0
  115. data/lib/stripe/events/v2_money_management_outbound_transfer_returned_event.rb +44 -0
  116. data/lib/stripe/events/v2_money_management_outbound_transfer_updated_event.rb +44 -0
  117. data/lib/stripe/events/v2_money_management_payout_method_created_event.rb +44 -0
  118. data/lib/stripe/events/v2_money_management_payout_method_updated_event.rb +44 -0
  119. data/lib/stripe/events/v2_money_management_received_credit_available_event.rb +61 -0
  120. data/lib/stripe/events/v2_money_management_received_credit_failed_event.rb +44 -0
  121. data/lib/stripe/events/v2_money_management_received_credit_returned_event.rb +44 -0
  122. data/lib/stripe/events/v2_money_management_received_credit_succeeded_event.rb +44 -0
  123. data/lib/stripe/events/v2_money_management_received_debit_canceled_event.rb +44 -0
  124. data/lib/stripe/events/v2_money_management_received_debit_failed_event.rb +44 -0
  125. data/lib/stripe/events/v2_money_management_received_debit_pending_event.rb +44 -0
  126. data/lib/stripe/events/v2_money_management_received_debit_succeeded_event.rb +44 -0
  127. data/lib/stripe/events/v2_money_management_received_debit_updated_event.rb +44 -0
  128. data/lib/stripe/events/v2_money_management_recipient_verification_created_event.rb +44 -0
  129. data/lib/stripe/events/v2_money_management_recipient_verification_updated_event.rb +44 -0
  130. data/lib/stripe/events/v2_money_management_transaction_created_event.rb +61 -0
  131. data/lib/stripe/events/v2_money_management_transaction_updated_event.rb +44 -0
  132. data/lib/stripe/events/v2_payments_off_session_payment_attempt_failed_event.rb +44 -0
  133. data/lib/stripe/events/v2_payments_off_session_payment_attempt_started_event.rb +46 -0
  134. data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_failed_event.rb +46 -0
  135. data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_started_event.rb +48 -0
  136. data/lib/stripe/events/v2_payments_off_session_payment_canceled_event.rb +44 -0
  137. data/lib/stripe/events/v2_payments_off_session_payment_created_event.rb +44 -0
  138. data/lib/stripe/events/v2_payments_off_session_payment_failed_event.rb +44 -0
  139. data/lib/stripe/events/v2_payments_off_session_payment_requires_capture_event.rb +44 -0
  140. data/lib/stripe/events/v2_payments_off_session_payment_succeeded_event.rb +44 -0
  141. data/lib/stripe/events/v2_payments_settlement_allocation_intent_canceled_event.rb +44 -0
  142. data/lib/stripe/events/v2_payments_settlement_allocation_intent_created_event.rb +44 -0
  143. data/lib/stripe/events/v2_payments_settlement_allocation_intent_errored_event.rb +65 -0
  144. data/lib/stripe/events/v2_payments_settlement_allocation_intent_funds_not_received_event.rb +44 -0
  145. data/lib/stripe/events/v2_payments_settlement_allocation_intent_matched_event.rb +44 -0
  146. data/lib/stripe/events/v2_payments_settlement_allocation_intent_not_found_event.rb +38 -0
  147. data/lib/stripe/events/v2_payments_settlement_allocation_intent_settled_event.rb +44 -0
  148. data/lib/stripe/events/v2_payments_settlement_allocation_intent_split_canceled_event.rb +61 -0
  149. data/lib/stripe/events/v2_payments_settlement_allocation_intent_split_created_event.rb +61 -0
  150. data/lib/stripe/events/v2_payments_settlement_allocation_intent_split_settled_event.rb +61 -0
  151. data/lib/stripe/events/v2_payments_settlement_allocation_intent_submitted_event.rb +44 -0
  152. data/lib/stripe/events/v2_reporting_report_run_created_event.rb +44 -0
  153. data/lib/stripe/events/v2_reporting_report_run_failed_event.rb +44 -0
  154. data/lib/stripe/events/v2_reporting_report_run_succeeded_event.rb +44 -0
  155. data/lib/stripe/events/v2_reporting_report_run_updated_event.rb +44 -0
  156. data/lib/stripe/object_types.rb +89 -0
  157. data/lib/stripe/params/account_create_params.rb +338 -3
  158. data/lib/stripe/params/account_notice_list_params.rb +25 -0
  159. data/lib/stripe/params/account_notice_retrieve_params.rb +13 -0
  160. data/lib/stripe/params/account_notice_update_params.rb +36 -0
  161. data/lib/stripe/params/account_person_create_params.rb +32 -0
  162. data/lib/stripe/params/account_person_update_params.rb +32 -0
  163. data/lib/stripe/params/account_session_create_params.rb +243 -1
  164. data/lib/stripe/params/account_update_params.rb +300 -2
  165. data/lib/stripe/params/balance_transfer_create_params.rb +66 -0
  166. data/lib/stripe/params/billing/alert_create_params.rb +121 -1
  167. data/lib/stripe/params/billing/alert_list_params.rb +4 -0
  168. data/lib/stripe/params/billing/analytics/meter_usage_retrieve_params.rb +69 -0
  169. data/lib/stripe/params/billing/credit_balance_summary_retrieve_params.rb +13 -1
  170. data/lib/stripe/params/billing/credit_grant_create_params.rb +29 -2
  171. data/lib/stripe/params/billing/meter_create_params.rb +4 -0
  172. data/lib/stripe/params/billing/meter_event_summary_list_params.rb +8 -0
  173. data/lib/stripe/params/capital/financing_offer_create_params.rb +37 -0
  174. data/lib/stripe/params/capital/financing_offer_list_params.rb +58 -0
  175. data/lib/stripe/params/capital/financing_offer_mark_delivered_params.rb +15 -0
  176. data/lib/stripe/params/capital/financing_offer_refill_params.rb +37 -0
  177. data/lib/stripe/params/capital/financing_offer_retrieve_params.rb +15 -0
  178. data/lib/stripe/params/capital/financing_summary_retrieve_params.rb +15 -0
  179. data/lib/stripe/params/capital/financing_transaction_list_params.rb +45 -0
  180. data/lib/stripe/params/capital/financing_transaction_retrieve_params.rb +15 -0
  181. data/lib/stripe/params/charge_capture_params.rb +1648 -0
  182. data/lib/stripe/params/charge_update_params.rb +1648 -0
  183. data/lib/stripe/params/checkout/session_create_params.rb +222 -5
  184. data/lib/stripe/params/checkout/session_update_params.rb +154 -2
  185. data/lib/stripe/params/confirmation_token_create_params.rb +77 -0
  186. data/lib/stripe/params/coupon_create_params.rb +17 -1
  187. data/lib/stripe/params/customer_session_create_params.rb +32 -1
  188. data/lib/stripe/params/delegated_checkout/requested_session_confirm_params.rb +138 -0
  189. data/lib/stripe/params/delegated_checkout/requested_session_create_params.rb +205 -0
  190. data/lib/stripe/params/delegated_checkout/requested_session_expire_params.rb +15 -0
  191. data/lib/stripe/params/delegated_checkout/requested_session_retrieve_params.rb +15 -0
  192. data/lib/stripe/params/delegated_checkout/requested_session_update_params.rb +209 -0
  193. data/lib/stripe/params/dispute_update_params.rb +10 -1
  194. data/lib/stripe/params/external_account_create_params.rb +134 -0
  195. data/lib/stripe/params/external_account_delete_params.rb +6 -0
  196. data/lib/stripe/params/external_account_list_params.rb +25 -0
  197. data/lib/stripe/params/external_account_retrieve_params.rb +13 -0
  198. data/lib/stripe/params/external_account_update_params.rb +91 -0
  199. data/lib/stripe/params/financial_connections/account_inferred_balance_list_params.rb +24 -0
  200. data/lib/stripe/params/financial_connections/institution_list_params.rb +24 -0
  201. data/lib/stripe/params/financial_connections/institution_retrieve_params.rb +15 -0
  202. data/lib/stripe/params/financial_connections/session_create_params.rb +30 -1
  203. data/lib/stripe/params/fx_quote_create_params.rb +73 -0
  204. data/lib/stripe/params/fx_quote_list_params.rb +22 -0
  205. data/lib/stripe/params/fx_quote_retrieve_params.rb +13 -0
  206. data/lib/stripe/params/identity/blocklist_entry_create_params.rb +29 -0
  207. data/lib/stripe/params/identity/blocklist_entry_disable_params.rb +15 -0
  208. data/lib/stripe/params/identity/blocklist_entry_list_params.rb +62 -0
  209. data/lib/stripe/params/identity/blocklist_entry_retrieve_params.rb +15 -0
  210. data/lib/stripe/params/identity/verification_report_list_params.rb +4 -0
  211. data/lib/stripe/params/invoice_add_lines_params.rb +46 -2
  212. data/lib/stripe/params/invoice_attach_payment_params.rb +43 -1
  213. data/lib/stripe/params/invoice_create_params.rb +107 -2
  214. data/lib/stripe/params/invoice_create_preview_params.rb +941 -9
  215. data/lib/stripe/params/invoice_item_create_params.rb +33 -1
  216. data/lib/stripe/params/invoice_item_update_params.rb +33 -1
  217. data/lib/stripe/params/invoice_line_item_update_params.rb +46 -2
  218. data/lib/stripe/params/invoice_list_params.rb +4 -0
  219. data/lib/stripe/params/invoice_update_lines_params.rb +46 -2
  220. data/lib/stripe/params/invoice_update_params.rb +107 -2
  221. data/lib/stripe/params/issuing/card_list_params.rb +34 -1
  222. data/lib/stripe/params/issuing/cardholder_create_params.rb +2 -1
  223. data/lib/stripe/params/issuing/credit_underwriting_record_correct_params.rb +163 -0
  224. data/lib/stripe/params/issuing/credit_underwriting_record_create_from_application_params.rb +50 -0
  225. data/lib/stripe/params/issuing/credit_underwriting_record_create_from_proactive_review_params.rb +128 -0
  226. data/lib/stripe/params/issuing/credit_underwriting_record_list_params.rb +24 -0
  227. data/lib/stripe/params/issuing/credit_underwriting_record_report_decision_params.rb +86 -0
  228. data/lib/stripe/params/issuing/credit_underwriting_record_retrieve_params.rb +15 -0
  229. data/lib/stripe/params/issuing/dispute_settlement_detail_list_params.rb +33 -0
  230. data/lib/stripe/params/issuing/dispute_settlement_detail_retrieve_params.rb +15 -0
  231. data/lib/stripe/params/issuing/fraud_liability_debit_list_params.rb +44 -0
  232. data/lib/stripe/params/issuing/fraud_liability_debit_retrieve_params.rb +15 -0
  233. data/lib/stripe/params/issuing/program_create_params.rb +21 -0
  234. data/lib/stripe/params/issuing/program_list_params.rb +24 -0
  235. data/lib/stripe/params/issuing/program_retrieve_params.rb +15 -0
  236. data/lib/stripe/params/issuing/program_update_params.rb +21 -0
  237. data/lib/stripe/params/issuing/transaction_list_params.rb +4 -0
  238. data/lib/stripe/params/mandate_list_params.rb +39 -0
  239. data/lib/stripe/params/margin_create_params.rb +25 -0
  240. data/lib/stripe/params/margin_list_params.rb +25 -0
  241. data/lib/stripe/params/margin_retrieve_params.rb +13 -0
  242. data/lib/stripe/params/margin_update_params.rb +22 -0
  243. data/lib/stripe/params/order_cancel_params.rb +13 -0
  244. data/lib/stripe/params/order_create_params.rb +2061 -0
  245. data/lib/stripe/params/order_line_item_list_params.rb +22 -0
  246. data/lib/stripe/params/order_list_line_items_params.rb +22 -0
  247. data/lib/stripe/params/order_list_params.rb +25 -0
  248. data/lib/stripe/params/order_reopen_params.rb +13 -0
  249. data/lib/stripe/params/order_retrieve_params.rb +13 -0
  250. data/lib/stripe/params/order_submit_params.rb +16 -0
  251. data/lib/stripe/params/order_update_params.rb +2065 -0
  252. data/lib/stripe/params/payment_intent_capture_params.rb +1628 -2
  253. data/lib/stripe/params/payment_intent_confirm_params.rb +3143 -145
  254. data/lib/stripe/params/payment_intent_create_params.rb +3135 -124
  255. data/lib/stripe/params/payment_intent_decrement_authorization_params.rb +73 -0
  256. data/lib/stripe/params/payment_intent_increment_authorization_params.rb +22 -1
  257. data/lib/stripe/params/payment_intent_trigger_action_params.rb +27 -0
  258. data/lib/stripe/params/payment_intent_update_params.rb +3186 -161
  259. data/lib/stripe/params/payment_link_create_params.rb +13 -1
  260. data/lib/stripe/params/payment_method_check_balance_params.rb +13 -0
  261. data/lib/stripe/params/payment_method_configuration_create_params.rb +105 -0
  262. data/lib/stripe/params/payment_method_configuration_update_params.rb +105 -0
  263. data/lib/stripe/params/payment_method_create_params.rb +77 -0
  264. data/lib/stripe/params/price_update_params.rb +19 -0
  265. data/lib/stripe/params/privacy/redaction_job_cancel_params.rb +15 -0
  266. data/lib/stripe/params/privacy/redaction_job_create_params.rb +67 -0
  267. data/lib/stripe/params/privacy/redaction_job_list_params.rb +27 -0
  268. data/lib/stripe/params/privacy/redaction_job_retrieve_params.rb +15 -0
  269. data/lib/stripe/params/privacy/redaction_job_run_params.rb +15 -0
  270. data/lib/stripe/params/privacy/redaction_job_update_params.rb +18 -0
  271. data/lib/stripe/params/privacy/redaction_job_validate_params.rb +15 -0
  272. data/lib/stripe/params/privacy/redaction_job_validation_error_list_params.rb +24 -0
  273. data/lib/stripe/params/product_catalog/trial_offer_create_params.rb +60 -0
  274. data/lib/stripe/params/product_create_params.rb +14 -1
  275. data/lib/stripe/params/product_update_params.rb +14 -1
  276. data/lib/stripe/params/quote_create_params.rb +1021 -3
  277. data/lib/stripe/params/quote_line_list_params.rb +22 -0
  278. data/lib/stripe/params/quote_list_lines_params.rb +22 -0
  279. data/lib/stripe/params/quote_list_params.rb +4 -0
  280. data/lib/stripe/params/quote_list_preview_invoice_lines_params.rb +22 -0
  281. data/lib/stripe/params/quote_mark_draft_params.rb +13 -0
  282. data/lib/stripe/params/quote_mark_stale_params.rb +16 -0
  283. data/lib/stripe/params/quote_preview_invoice_list_params.rb +22 -0
  284. data/lib/stripe/params/quote_preview_subscription_schedule_list_params.rb +22 -0
  285. data/lib/stripe/params/quote_reestimate_params.rb +13 -0
  286. data/lib/stripe/params/quote_update_params.rb +1029 -4
  287. data/lib/stripe/params/radar/account_evaluation_create_params.rb +81 -0
  288. data/lib/stripe/params/radar/account_evaluation_retrieve_params.rb +15 -0
  289. data/lib/stripe/params/radar/account_evaluation_update_params.rb +18 -0
  290. data/lib/stripe/params/setup_intent_confirm_params.rb +187 -3
  291. data/lib/stripe/params/setup_intent_create_params.rb +187 -3
  292. data/lib/stripe/params/setup_intent_update_params.rb +188 -4
  293. data/lib/stripe/params/shared_payment/granted_token_create_params.rb +47 -0
  294. data/lib/stripe/params/shared_payment/granted_token_retrieve_params.rb +15 -0
  295. data/lib/stripe/params/shared_payment/granted_token_update_params.rb +15 -0
  296. data/lib/stripe/params/subscription_attach_cadence_params.rb +16 -0
  297. data/lib/stripe/params/subscription_create_params.rb +270 -5
  298. data/lib/stripe/params/subscription_item_create_params.rb +62 -2
  299. data/lib/stripe/params/subscription_item_update_params.rb +45 -1
  300. data/lib/stripe/params/subscription_schedule_amend_params.rb +609 -0
  301. data/lib/stripe/params/subscription_schedule_create_params.rb +231 -5
  302. data/lib/stripe/params/subscription_schedule_update_params.rb +231 -5
  303. data/lib/stripe/params/subscription_update_params.rb +253 -4
  304. data/lib/stripe/params/tax/form_list_params.rb +51 -0
  305. data/lib/stripe/params/tax/form_pdf_params.rb +15 -0
  306. data/lib/stripe/params/tax/form_retrieve_params.rb +15 -0
  307. data/lib/stripe/params/terminal/configuration_create_params.rb +13 -0
  308. data/lib/stripe/params/terminal/configuration_update_params.rb +13 -0
  309. data/lib/stripe/params/terminal/reader_collected_data_retrieve_params.rb +15 -0
  310. data/lib/stripe/params/test_helpers/capital/financing_offer_create_params.rb +39 -0
  311. data/lib/stripe/params/test_helpers/capital/financing_offer_refill_params.rb +39 -0
  312. data/lib/stripe/params/test_helpers/confirmation_token_create_params.rb +77 -0
  313. data/lib/stripe/params/test_helpers/shared_payment/granted_token_create_params.rb +49 -0
  314. data/lib/stripe/params/test_helpers/shared_payment/granted_token_update_params.rb +17 -0
  315. data/lib/stripe/params/test_helpers/treasury/received_credit_create_params.rb +25 -1
  316. data/lib/stripe/params/test_helpers/treasury/received_debit_create_params.rb +25 -1
  317. data/lib/stripe/params/token_create_params.rb +64 -0
  318. data/lib/stripe/params/transfer_create_params.rb +8 -0
  319. data/lib/stripe/params/treasury/financial_account_create_params.rb +8 -1
  320. data/lib/stripe/params/treasury/financial_account_features_update_params.rb +4 -1
  321. data/lib/stripe/params/treasury/financial_account_update_features_params.rb +4 -1
  322. data/lib/stripe/params/treasury/financial_account_update_params.rb +8 -1
  323. data/lib/stripe/params/treasury/outbound_transfer_create_params.rb +24 -0
  324. data/lib/stripe/params/treasury/received_credit_create_params.rb +25 -1
  325. data/lib/stripe/params/treasury/received_debit_create_params.rb +25 -1
  326. data/lib/stripe/params/v2/billing/bill_setting_create_params.rb +74 -0
  327. data/lib/stripe/params/v2/billing/bill_setting_list_params.rb +21 -0
  328. data/lib/stripe/params/v2/billing/bill_setting_retrieve_params.rb +10 -0
  329. data/lib/stripe/params/v2/billing/bill_setting_update_params.rb +80 -0
  330. data/lib/stripe/params/v2/billing/bill_settings/version_list_params.rb +19 -0
  331. data/lib/stripe/params/v2/billing/bill_settings/version_retrieve_params.rb +12 -0
  332. data/lib/stripe/params/v2/billing/cadence_cancel_params.rb +17 -0
  333. data/lib/stripe/params/v2/billing/cadence_create_params.rb +257 -0
  334. data/lib/stripe/params/v2/billing/cadence_list_params.rb +43 -0
  335. data/lib/stripe/params/v2/billing/cadence_retrieve_params.rb +17 -0
  336. data/lib/stripe/params/v2/billing/cadence_update_params.rb +78 -0
  337. data/lib/stripe/params/v2/billing/collection_setting_create_params.rb +223 -0
  338. data/lib/stripe/params/v2/billing/collection_setting_list_params.rb +21 -0
  339. data/lib/stripe/params/v2/billing/collection_setting_retrieve_params.rb +10 -0
  340. data/lib/stripe/params/v2/billing/collection_setting_update_params.rb +229 -0
  341. data/lib/stripe/params/v2/billing/collection_settings/version_list_params.rb +19 -0
  342. data/lib/stripe/params/v2/billing/collection_settings/version_retrieve_params.rb +12 -0
  343. data/lib/stripe/params/v2/billing/custom_pricing_unit_create_params.rb +26 -0
  344. data/lib/stripe/params/v2/billing/custom_pricing_unit_list_params.rb +24 -0
  345. data/lib/stripe/params/v2/billing/custom_pricing_unit_retrieve_params.rb +10 -0
  346. data/lib/stripe/params/v2/billing/custom_pricing_unit_update_params.rb +26 -0
  347. data/lib/stripe/params/v2/billing/intent_cancel_params.rb +10 -0
  348. data/lib/stripe/params/v2/billing/intent_commit_params.rb +17 -0
  349. data/lib/stripe/params/v2/billing/intent_create_params.rb +425 -0
  350. data/lib/stripe/params/v2/billing/intent_list_params.rb +17 -0
  351. data/lib/stripe/params/v2/billing/intent_release_reservation_params.rb +10 -0
  352. data/lib/stripe/params/v2/billing/intent_reserve_params.rb +10 -0
  353. data/lib/stripe/params/v2/billing/intent_retrieve_params.rb +10 -0
  354. data/lib/stripe/params/v2/billing/intents/action_list_params.rb +19 -0
  355. data/lib/stripe/params/v2/billing/intents/action_retrieve_params.rb +12 -0
  356. data/lib/stripe/params/v2/billing/license_fee_create_params.rb +103 -0
  357. data/lib/stripe/params/v2/billing/license_fee_list_params.rb +24 -0
  358. data/lib/stripe/params/v2/billing/license_fee_retrieve_params.rb +10 -0
  359. data/lib/stripe/params/v2/billing/license_fee_subscription_retrieve_params.rb +10 -0
  360. data/lib/stripe/params/v2/billing/license_fee_update_params.rb +84 -0
  361. data/lib/stripe/params/v2/billing/license_fees/version_list_params.rb +19 -0
  362. data/lib/stripe/params/v2/billing/license_fees/version_retrieve_params.rb +12 -0
  363. data/lib/stripe/params/v2/billing/licensed_item_create_params.rb +48 -0
  364. data/lib/stripe/params/v2/billing/licensed_item_list_params.rb +21 -0
  365. data/lib/stripe/params/v2/billing/licensed_item_retrieve_params.rb +10 -0
  366. data/lib/stripe/params/v2/billing/licensed_item_update_params.rb +48 -0
  367. data/lib/stripe/params/v2/billing/metered_item_create_params.rb +73 -0
  368. data/lib/stripe/params/v2/billing/metered_item_list_params.rb +21 -0
  369. data/lib/stripe/params/v2/billing/metered_item_retrieve_params.rb +10 -0
  370. data/lib/stripe/params/v2/billing/metered_item_update_params.rb +50 -0
  371. data/lib/stripe/params/v2/billing/pricing_plan_create_params.rb +39 -0
  372. data/lib/stripe/params/v2/billing/pricing_plan_list_params.rb +24 -0
  373. data/lib/stripe/params/v2/billing/pricing_plan_retrieve_params.rb +10 -0
  374. data/lib/stripe/params/v2/billing/pricing_plan_subscription_list_params.rb +50 -0
  375. data/lib/stripe/params/v2/billing/pricing_plan_subscription_retrieve_params.rb +10 -0
  376. data/lib/stripe/params/v2/billing/pricing_plan_subscription_update_params.rb +20 -0
  377. data/lib/stripe/params/v2/billing/pricing_plan_subscriptions/component_retrieve_params.rb +12 -0
  378. data/lib/stripe/params/v2/billing/pricing_plan_update_params.rb +39 -0
  379. data/lib/stripe/params/v2/billing/pricing_plans/component_create_params.rb +73 -0
  380. data/lib/stripe/params/v2/billing/pricing_plans/component_delete_params.rb +12 -0
  381. data/lib/stripe/params/v2/billing/pricing_plans/component_list_params.rb +27 -0
  382. data/lib/stripe/params/v2/billing/pricing_plans/component_retrieve_params.rb +12 -0
  383. data/lib/stripe/params/v2/billing/pricing_plans/component_update_params.rb +22 -0
  384. data/lib/stripe/params/v2/billing/pricing_plans/version_list_params.rb +19 -0
  385. data/lib/stripe/params/v2/billing/pricing_plans/version_retrieve_params.rb +12 -0
  386. data/lib/stripe/params/v2/billing/profile_create_params.rb +37 -0
  387. data/lib/stripe/params/v2/billing/profile_list_params.rb +40 -0
  388. data/lib/stripe/params/v2/billing/profile_retrieve_params.rb +10 -0
  389. data/lib/stripe/params/v2/billing/profile_update_params.rb +35 -0
  390. data/lib/stripe/params/v2/billing/rate_card_create_params.rb +49 -0
  391. data/lib/stripe/params/v2/billing/rate_card_list_params.rb +24 -0
  392. data/lib/stripe/params/v2/billing/rate_card_retrieve_params.rb +10 -0
  393. data/lib/stripe/params/v2/billing/rate_card_subscription_cancel_params.rb +10 -0
  394. data/lib/stripe/params/v2/billing/rate_card_subscription_create_params.rb +26 -0
  395. data/lib/stripe/params/v2/billing/rate_card_subscription_list_params.rb +51 -0
  396. data/lib/stripe/params/v2/billing/rate_card_subscription_retrieve_params.rb +10 -0
  397. data/lib/stripe/params/v2/billing/rate_card_subscription_update_params.rb +17 -0
  398. data/lib/stripe/params/v2/billing/rate_card_update_params.rb +38 -0
  399. data/lib/stripe/params/v2/billing/rate_cards/rate_create_params.rb +91 -0
  400. data/lib/stripe/params/v2/billing/rate_cards/rate_delete_params.rb +12 -0
  401. data/lib/stripe/params/v2/billing/rate_cards/rate_list_params.rb +25 -0
  402. data/lib/stripe/params/v2/billing/rate_cards/rate_retrieve_params.rb +12 -0
  403. data/lib/stripe/params/v2/billing/rate_cards/version_list_params.rb +19 -0
  404. data/lib/stripe/params/v2/billing/rate_cards/version_retrieve_params.rb +12 -0
  405. data/lib/stripe/params/v2/billing/service_action_create_params.rb +278 -0
  406. data/lib/stripe/params/v2/billing/service_action_retrieve_params.rb +10 -0
  407. data/lib/stripe/params/v2/billing/service_action_update_params.rb +40 -0
  408. data/lib/stripe/params/v2/core/account_create_params.rb +959 -5
  409. data/lib/stripe/params/v2/core/account_token_create_params.rb +250 -2
  410. data/lib/stripe/params/v2/core/account_update_params.rb +938 -5
  411. data/lib/stripe/params/v2/core/claimable_sandbox_create_params.rb +36 -0
  412. data/lib/stripe/params/v2/core/claimable_sandbox_retrieve_params.rb +10 -0
  413. data/lib/stripe/params/v2/core/event_list_params.rb +4 -1
  414. data/lib/stripe/params/v2/core/event_retrieve_params.rb +8 -1
  415. data/lib/stripe/params/v2/core/vault/gb_bank_account_acknowledge_confirmation_of_payee_params.rb +12 -0
  416. data/lib/stripe/params/v2/core/vault/gb_bank_account_archive_params.rb +12 -0
  417. data/lib/stripe/params/v2/core/vault/gb_bank_account_create_params.rb +50 -0
  418. data/lib/stripe/params/v2/core/vault/gb_bank_account_initiate_confirmation_of_payee_params.rb +22 -0
  419. data/lib/stripe/params/v2/core/vault/gb_bank_account_list_params.rb +19 -0
  420. data/lib/stripe/params/v2/core/vault/gb_bank_account_retrieve_params.rb +12 -0
  421. data/lib/stripe/params/v2/core/vault/us_bank_account_archive_params.rb +12 -0
  422. data/lib/stripe/params/v2/core/vault/us_bank_account_confirm_microdeposits_params.rb +22 -0
  423. data/lib/stripe/params/v2/core/vault/us_bank_account_create_params.rb +33 -0
  424. data/lib/stripe/params/v2/core/vault/us_bank_account_list_params.rb +22 -0
  425. data/lib/stripe/params/v2/core/vault/us_bank_account_retrieve_params.rb +12 -0
  426. data/lib/stripe/params/v2/core/vault/us_bank_account_send_microdeposits_params.rb +12 -0
  427. data/lib/stripe/params/v2/core/vault/us_bank_account_update_params.rb +22 -0
  428. data/lib/stripe/params/v2/iam/api_key_create_params.rb +51 -0
  429. data/lib/stripe/params/v2/iam/api_key_expire_params.rb +10 -0
  430. data/lib/stripe/params/v2/iam/api_key_list_params.rb +20 -0
  431. data/lib/stripe/params/v2/iam/api_key_retrieve_params.rb +10 -0
  432. data/lib/stripe/params/v2/iam/api_key_rotate_params.rb +46 -0
  433. data/lib/stripe/params/v2/iam/api_key_update_params.rb +20 -0
  434. data/lib/stripe/params/v2/money_management/adjustment_list_params.rb +48 -0
  435. data/lib/stripe/params/v2/money_management/adjustment_retrieve_params.rb +10 -0
  436. data/lib/stripe/params/v2/money_management/currency_conversion_create_params.rb +68 -0
  437. data/lib/stripe/params/v2/money_management/currency_conversion_list_params.rb +20 -0
  438. data/lib/stripe/params/v2/money_management/currency_conversion_retrieve_params.rb +10 -0
  439. data/lib/stripe/params/v2/money_management/financial_account_close_params.rb +28 -0
  440. data/lib/stripe/params/v2/money_management/financial_account_create_params.rb +34 -0
  441. data/lib/stripe/params/v2/money_management/financial_account_list_params.rb +23 -0
  442. data/lib/stripe/params/v2/money_management/financial_account_retrieve_params.rb +10 -0
  443. data/lib/stripe/params/v2/money_management/financial_account_update_params.rb +20 -0
  444. data/lib/stripe/params/v2/money_management/financial_address_create_params.rb +31 -0
  445. data/lib/stripe/params/v2/money_management/financial_address_list_params.rb +23 -0
  446. data/lib/stripe/params/v2/money_management/financial_address_retrieve_params.rb +17 -0
  447. data/lib/stripe/params/v2/money_management/inbound_transfer_create_params.rb +62 -0
  448. data/lib/stripe/params/v2/money_management/inbound_transfer_list_params.rb +44 -0
  449. data/lib/stripe/params/v2/money_management/inbound_transfer_retrieve_params.rb +10 -0
  450. data/lib/stripe/params/v2/money_management/outbound_payment_cancel_params.rb +10 -0
  451. data/lib/stripe/params/v2/money_management/outbound_payment_create_params.rb +117 -0
  452. data/lib/stripe/params/v2/money_management/outbound_payment_list_params.rb +52 -0
  453. data/lib/stripe/params/v2/money_management/outbound_payment_quote_create_params.rb +82 -0
  454. data/lib/stripe/params/v2/money_management/outbound_payment_quote_retrieve_params.rb +10 -0
  455. data/lib/stripe/params/v2/money_management/outbound_payment_retrieve_params.rb +10 -0
  456. data/lib/stripe/params/v2/money_management/outbound_setup_intent_cancel_params.rb +10 -0
  457. data/lib/stripe/params/v2/money_management/outbound_setup_intent_create_params.rb +103 -0
  458. data/lib/stripe/params/v2/money_management/outbound_setup_intent_list_params.rb +17 -0
  459. data/lib/stripe/params/v2/money_management/outbound_setup_intent_retrieve_params.rb +10 -0
  460. data/lib/stripe/params/v2/money_management/outbound_setup_intent_update_params.rb +80 -0
  461. data/lib/stripe/params/v2/money_management/outbound_transfer_cancel_params.rb +10 -0
  462. data/lib/stripe/params/v2/money_management/outbound_transfer_create_params.rb +93 -0
  463. data/lib/stripe/params/v2/money_management/outbound_transfer_list_params.rb +48 -0
  464. data/lib/stripe/params/v2/money_management/outbound_transfer_retrieve_params.rb +10 -0
  465. data/lib/stripe/params/v2/money_management/payout_method_archive_params.rb +10 -0
  466. data/lib/stripe/params/v2/money_management/payout_method_list_params.rb +31 -0
  467. data/lib/stripe/params/v2/money_management/payout_method_retrieve_params.rb +10 -0
  468. data/lib/stripe/params/v2/money_management/payout_method_unarchive_params.rb +10 -0
  469. data/lib/stripe/params/v2/money_management/payout_methods_bank_account_spec_retrieve_params.rb +17 -0
  470. data/lib/stripe/params/v2/money_management/received_credit_list_params.rb +44 -0
  471. data/lib/stripe/params/v2/money_management/received_credit_retrieve_params.rb +10 -0
  472. data/lib/stripe/params/v2/money_management/received_debit_list_params.rb +17 -0
  473. data/lib/stripe/params/v2/money_management/received_debit_retrieve_params.rb +10 -0
  474. data/lib/stripe/params/v2/money_management/recipient_verification_acknowledge_params.rb +10 -0
  475. data/lib/stripe/params/v2/money_management/recipient_verification_create_params.rb +20 -0
  476. data/lib/stripe/params/v2/money_management/recipient_verification_retrieve_params.rb +10 -0
  477. data/lib/stripe/params/v2/money_management/transaction_entry_list_params.rb +43 -0
  478. data/lib/stripe/params/v2/money_management/transaction_entry_retrieve_params.rb +10 -0
  479. data/lib/stripe/params/v2/money_management/transaction_list_params.rb +47 -0
  480. data/lib/stripe/params/v2/money_management/transaction_retrieve_params.rb +10 -0
  481. data/lib/stripe/params/v2/payments/off_session_payment_cancel_params.rb +10 -0
  482. data/lib/stripe/params/v2/payments/off_session_payment_capture_params.rb +57 -0
  483. data/lib/stripe/params/v2/payments/off_session_payment_create_params.rb +161 -0
  484. data/lib/stripe/params/v2/payments/off_session_payment_list_params.rb +17 -0
  485. data/lib/stripe/params/v2/payments/off_session_payment_retrieve_params.rb +10 -0
  486. data/lib/stripe/params/v2/payments/settlement_allocation_intent_cancel_params.rb +10 -0
  487. data/lib/stripe/params/v2/payments/settlement_allocation_intent_create_params.rb +46 -0
  488. data/lib/stripe/params/v2/payments/settlement_allocation_intent_retrieve_params.rb +10 -0
  489. data/lib/stripe/params/v2/payments/settlement_allocation_intent_submit_params.rb +10 -0
  490. data/lib/stripe/params/v2/payments/settlement_allocation_intent_update_params.rb +31 -0
  491. data/lib/stripe/params/v2/payments/settlement_allocation_intents/split_cancel_params.rb +12 -0
  492. data/lib/stripe/params/v2/payments/settlement_allocation_intents/split_create_params.rb +39 -0
  493. data/lib/stripe/params/v2/payments/settlement_allocation_intents/split_retrieve_params.rb +12 -0
  494. data/lib/stripe/params/v2/reporting/report_retrieve_params.rb +10 -0
  495. data/lib/stripe/params/v2/reporting/report_run_create_params.rb +33 -0
  496. data/lib/stripe/params/v2/reporting/report_run_retrieve_params.rb +10 -0
  497. data/lib/stripe/params/v2/tax/manual_rule_create_params.rb +94 -0
  498. data/lib/stripe/params/v2/tax/manual_rule_deactivate_params.rb +10 -0
  499. data/lib/stripe/params/v2/tax/manual_rule_list_params.rb +17 -0
  500. data/lib/stripe/params/v2/tax/manual_rule_retrieve_params.rb +10 -0
  501. data/lib/stripe/params/v2/tax/manual_rule_update_params.rb +94 -0
  502. data/lib/stripe/params/v2/test_helpers/financial_address_credit_params.rb +34 -0
  503. data/lib/stripe/params/v2/test_helpers/financial_address_generate_microdeposits_params.rb +10 -0
  504. data/lib/stripe/params/v2/test_helpers/money_management_recipient_verifications_params.rb +24 -0
  505. data/lib/stripe/params.rb +271 -0
  506. data/lib/stripe/resources/account.rb +182 -1
  507. data/lib/stripe/resources/account_notice.rb +94 -0
  508. data/lib/stripe/resources/account_session.rb +108 -0
  509. data/lib/stripe/resources/application_fee.rb +2 -0
  510. data/lib/stripe/resources/balance.rb +83 -0
  511. data/lib/stripe/resources/balance_transfer.rb +139 -0
  512. data/lib/stripe/resources/billing/alert.rb +105 -1
  513. data/lib/stripe/resources/billing/alert_triggered.rb +6 -0
  514. data/lib/stripe/resources/billing/analytics/meter_usage.rb +33 -0
  515. data/lib/stripe/resources/billing/analytics/meter_usage_row.rb +40 -0
  516. data/lib/stripe/resources/billing/credit_balance_summary.rb +84 -2
  517. data/lib/stripe/resources/billing/credit_balance_transaction.rb +84 -2
  518. data/lib/stripe/resources/billing/credit_grant.rb +58 -2
  519. data/lib/stripe/resources/billing/meter.rb +2 -0
  520. data/lib/stripe/resources/billing/meter_event_summary.rb +2 -0
  521. data/lib/stripe/resources/capital/financing_offer.rb +183 -0
  522. data/lib/stripe/resources/capital/financing_summary.rb +82 -0
  523. data/lib/stripe/resources/capital/financing_transaction.rb +99 -0
  524. data/lib/stripe/resources/card.rb +20 -1
  525. data/lib/stripe/resources/charge.rb +233 -1
  526. data/lib/stripe/resources/checkout/session.rb +196 -4
  527. data/lib/stripe/resources/confirmation_token.rb +151 -0
  528. data/lib/stripe/resources/coupon.rb +26 -1
  529. data/lib/stripe/resources/credit_note_line_item.rb +18 -0
  530. data/lib/stripe/resources/customer_session.rb +36 -0
  531. data/lib/stripe/resources/delegated_checkout/requested_session.rb +479 -0
  532. data/lib/stripe/resources/discount.rb +2 -0
  533. data/lib/stripe/resources/dispute.rb +22 -0
  534. data/lib/stripe/resources/event.rb +64 -1
  535. data/lib/stripe/resources/financial_connections/account.rb +25 -0
  536. data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +35 -0
  537. data/lib/stripe/resources/financial_connections/institution.rb +127 -0
  538. data/lib/stripe/resources/financial_connections/session.rb +65 -1
  539. data/lib/stripe/resources/fx_quote.rb +147 -0
  540. data/lib/stripe/resources/identity/blocklist_entry.rb +116 -0
  541. data/lib/stripe/resources/identity/verification_report.rb +4 -0
  542. data/lib/stripe/resources/invoice.rb +166 -1
  543. data/lib/stripe/resources/invoice_item.rb +108 -2
  544. data/lib/stripe/resources/invoice_line_item.rb +147 -3
  545. data/lib/stripe/resources/issuing/card.rb +4 -0
  546. data/lib/stripe/resources/issuing/credit_underwriting_record.rb +263 -0
  547. data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +71 -0
  548. data/lib/stripe/resources/issuing/fraud_liability_debit.rb +51 -0
  549. data/lib/stripe/resources/issuing/program.rb +69 -0
  550. data/lib/stripe/resources/issuing/settlement.rb +61 -0
  551. data/lib/stripe/resources/issuing/transaction.rb +2 -0
  552. data/lib/stripe/resources/line_item.rb +66 -1
  553. data/lib/stripe/resources/mandate.rb +43 -0
  554. data/lib/stripe/resources/margin.rb +64 -0
  555. data/lib/stripe/resources/order.rb +987 -0
  556. data/lib/stripe/resources/payment_attempt_record.rb +181 -1
  557. data/lib/stripe/resources/payment_intent.rb +800 -5
  558. data/lib/stripe/resources/payment_method.rb +173 -0
  559. data/lib/stripe/resources/payment_method_balance.rb +68 -0
  560. data/lib/stripe/resources/payment_method_configuration.rb +170 -0
  561. data/lib/stripe/resources/payment_record.rb +181 -1
  562. data/lib/stripe/resources/person.rb +36 -0
  563. data/lib/stripe/resources/price.rb +20 -0
  564. data/lib/stripe/resources/privacy/redaction_job.rb +187 -0
  565. data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +49 -0
  566. data/lib/stripe/resources/product_catalog/trial_offer.rb +101 -0
  567. data/lib/stripe/resources/quote.rb +806 -2
  568. data/lib/stripe/resources/quote_line.rb +527 -0
  569. data/lib/stripe/resources/quote_preview_invoice.rb +1198 -0
  570. data/lib/stripe/resources/quote_preview_subscription_schedule.rb +826 -0
  571. data/lib/stripe/resources/radar/account_evaluation.rb +116 -0
  572. data/lib/stripe/resources/refund.rb +18 -0
  573. data/lib/stripe/resources/setup_attempt.rb +48 -0
  574. data/lib/stripe/resources/setup_intent.rb +128 -1
  575. data/lib/stripe/resources/shared_payment/granted_token.rb +126 -0
  576. data/lib/stripe/resources/source.rb +38 -0
  577. data/lib/stripe/resources/subscription.rb +249 -0
  578. data/lib/stripe/resources/subscription_item.rb +43 -1
  579. data/lib/stripe/resources/subscription_schedule.rb +290 -3
  580. data/lib/stripe/resources/tax/form.rb +264 -0
  581. data/lib/stripe/resources/terminal/configuration.rb +16 -0
  582. data/lib/stripe/resources/terminal/reader.rb +8 -0
  583. data/lib/stripe/resources/terminal/reader_collected_data.rb +47 -0
  584. data/lib/stripe/resources/transfer.rb +6 -0
  585. data/lib/stripe/resources/transit_balance.rb +45 -0
  586. data/lib/stripe/resources/treasury/financial_account.rb +2 -0
  587. data/lib/stripe/resources/treasury/financial_account_features.rb +2 -0
  588. data/lib/stripe/resources/treasury/outbound_transfer.rb +30 -0
  589. data/lib/stripe/resources/treasury/received_credit.rb +30 -0
  590. data/lib/stripe/resources/treasury/received_debit.rb +32 -0
  591. data/lib/stripe/resources/v2/billing/bill_setting.rb +102 -0
  592. data/lib/stripe/resources/v2/billing/bill_setting_version.rb +90 -0
  593. data/lib/stripe/resources/v2/billing/cadence.rb +655 -0
  594. data/lib/stripe/resources/v2/billing/collection_setting.rb +274 -0
  595. data/lib/stripe/resources/v2/billing/collection_setting_version.rb +262 -0
  596. data/lib/stripe/resources/v2/billing/custom_pricing_unit.rb +43 -0
  597. data/lib/stripe/resources/v2/billing/intent.rb +86 -0
  598. data/lib/stripe/resources/v2/billing/intent_action.rb +483 -0
  599. data/lib/stripe/resources/v2/billing/license_fee.rb +104 -0
  600. data/lib/stripe/resources/v2/billing/license_fee_subscription.rb +44 -0
  601. data/lib/stripe/resources/v2/billing/license_fee_version.rb +80 -0
  602. data/lib/stripe/resources/v2/billing/licensed_item.rb +60 -0
  603. data/lib/stripe/resources/v2/billing/metered_item.rb +85 -0
  604. data/lib/stripe/resources/v2/billing/pricing_plan.rb +51 -0
  605. data/lib/stripe/resources/v2/billing/pricing_plan_component.rb +94 -0
  606. data/lib/stripe/resources/v2/billing/pricing_plan_subscription.rb +94 -0
  607. data/lib/stripe/resources/v2/billing/pricing_plan_subscription_components.rb +49 -0
  608. data/lib/stripe/resources/v2/billing/pricing_plan_version.rb +38 -0
  609. data/lib/stripe/resources/v2/billing/profile.rb +46 -0
  610. data/lib/stripe/resources/v2/billing/rate_card.rb +61 -0
  611. data/lib/stripe/resources/v2/billing/rate_card_rate.rb +110 -0
  612. data/lib/stripe/resources/v2/billing/rate_card_subscription.rb +94 -0
  613. data/lib/stripe/resources/v2/billing/rate_card_version.rb +34 -0
  614. data/lib/stripe/resources/v2/billing/service_action.rb +274 -0
  615. data/lib/stripe/resources/v2/core/account.rb +1688 -58
  616. data/lib/stripe/resources/v2/core/claimable_sandbox.rb +105 -0
  617. data/lib/stripe/resources/v2/core/event.rb +50 -1
  618. data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +134 -0
  619. data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +103 -0
  620. data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +28 -0
  621. data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +44 -0
  622. data/lib/stripe/resources/v2/iam/api_key.rb +129 -0
  623. data/lib/stripe/resources/v2/money_management/adjustment.rb +82 -0
  624. data/lib/stripe/resources/v2/money_management/currency_conversion.rb +94 -0
  625. data/lib/stripe/resources/v2/money_management/financial_account.rb +223 -0
  626. data/lib/stripe/resources/v2/money_management/financial_address.rb +132 -0
  627. data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +197 -0
  628. data/lib/stripe/resources/v2/money_management/outbound_payment.rb +265 -0
  629. data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +204 -0
  630. data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +69 -0
  631. data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +242 -0
  632. data/lib/stripe/resources/v2/money_management/payout_method.rb +157 -0
  633. data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +81 -0
  634. data/lib/stripe/resources/v2/money_management/received_credit.rb +280 -0
  635. data/lib/stripe/resources/v2/money_management/received_debit.rb +208 -0
  636. data/lib/stripe/resources/v2/money_management/recipient_verification.rb +83 -0
  637. data/lib/stripe/resources/v2/money_management/transaction.rb +180 -0
  638. data/lib/stripe/resources/v2/money_management/transaction_entry.rb +153 -0
  639. data/lib/stripe/resources/v2/payments/off_session_payment.rb +186 -0
  640. data/lib/stripe/resources/v2/payments/settlement_allocation_intent.rb +92 -0
  641. data/lib/stripe/resources/v2/payments/settlement_allocation_intent_split.rb +78 -0
  642. data/lib/stripe/resources/v2/reporting/report.rb +116 -0
  643. data/lib/stripe/resources/v2/reporting/report_run.rb +128 -0
  644. data/lib/stripe/resources/v2/tax/manual_rule.rb +115 -0
  645. data/lib/stripe/resources.rb +233 -0
  646. data/lib/stripe/services/account_notice_service.rb +39 -0
  647. data/lib/stripe/services/balance_transfer_service.rb +17 -0
  648. data/lib/stripe/services/billing/analytics/meter_usage_service.rb +21 -0
  649. data/lib/stripe/services/billing/analytics_service.rb +15 -0
  650. data/lib/stripe/services/billing_service.rb +2 -1
  651. data/lib/stripe/services/capital/financing_offer_service.rb +42 -0
  652. data/lib/stripe/services/capital/financing_summary_service.rb +19 -0
  653. data/lib/stripe/services/capital/financing_transaction_service.rb +31 -0
  654. data/lib/stripe/services/capital_service.rb +15 -0
  655. data/lib/stripe/services/delegated_checkout/requested_session_service.rb +63 -0
  656. data/lib/stripe/services/delegated_checkout_service.rb +13 -0
  657. data/lib/stripe/services/external_account_service.rb +68 -0
  658. data/lib/stripe/services/financial_connections/account_inferred_balance_service.rb +19 -0
  659. data/lib/stripe/services/financial_connections/account_service.rb +3 -1
  660. data/lib/stripe/services/financial_connections/institution_service.rb +30 -0
  661. data/lib/stripe/services/financial_connections_service.rb +2 -1
  662. data/lib/stripe/services/fx_quote_service.rb +27 -0
  663. data/lib/stripe/services/identity/blocklist_entry_service.rb +71 -0
  664. data/lib/stripe/services/identity_service.rb +2 -1
  665. data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +74 -0
  666. data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +30 -0
  667. data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +30 -0
  668. data/lib/stripe/services/issuing/program_service.rb +52 -0
  669. data/lib/stripe/services/issuing_service.rb +6 -1
  670. data/lib/stripe/services/mandate_service.rb +5 -0
  671. data/lib/stripe/services/margin_service.rb +50 -0
  672. data/lib/stripe/services/order_line_item_service.rb +17 -0
  673. data/lib/stripe/services/order_service.rb +78 -0
  674. data/lib/stripe/services/payment_intent_service.rb +37 -0
  675. data/lib/stripe/services/payment_method_service.rb +11 -0
  676. data/lib/stripe/services/privacy/redaction_job_service.rb +104 -0
  677. data/lib/stripe/services/privacy/redaction_job_validation_error_service.rb +19 -0
  678. data/lib/stripe/services/privacy_service.rb +13 -0
  679. data/lib/stripe/services/product_catalog/trial_offer_service.rb +19 -0
  680. data/lib/stripe/services/product_catalog_service.rb +13 -0
  681. data/lib/stripe/services/quote_line_service.rb +17 -0
  682. data/lib/stripe/services/quote_preview_invoice_service.rb +17 -0
  683. data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +17 -0
  684. data/lib/stripe/services/quote_service.rb +49 -1
  685. data/lib/stripe/services/radar/account_evaluation_service.rb +41 -0
  686. data/lib/stripe/services/radar_service.rb +2 -1
  687. data/lib/stripe/services/shared_payment/granted_token_service.rb +19 -0
  688. data/lib/stripe/services/shared_payment_service.rb +13 -0
  689. data/lib/stripe/services/subscription_schedule_service.rb +11 -0
  690. data/lib/stripe/services/subscription_service.rb +11 -0
  691. data/lib/stripe/services/tax/form_service.rb +37 -0
  692. data/lib/stripe/services/tax_service.rb +2 -1
  693. data/lib/stripe/services/terminal/reader_collected_data_service.rb +19 -0
  694. data/lib/stripe/services/terminal_service.rb +2 -1
  695. data/lib/stripe/services/test_helpers/capital/financing_offer_service.rb +32 -0
  696. data/lib/stripe/services/test_helpers/capital_service.rb +15 -0
  697. data/lib/stripe/services/test_helpers/shared_payment/granted_token_service.rb +32 -0
  698. data/lib/stripe/services/test_helpers/shared_payment_service.rb +15 -0
  699. data/lib/stripe/services/test_helpers_service.rb +3 -1
  700. data/lib/stripe/services/v1_services.rb +12 -1
  701. data/lib/stripe/services/v2/billing/bill_setting_service.rb +61 -0
  702. data/lib/stripe/services/v2/billing/bill_settings/version_service.rb +34 -0
  703. data/lib/stripe/services/v2/billing/cadence_service.rb +65 -0
  704. data/lib/stripe/services/v2/billing/collection_setting_service.rb +61 -0
  705. data/lib/stripe/services/v2/billing/collection_settings/version_service.rb +34 -0
  706. data/lib/stripe/services/v2/billing/custom_pricing_unit_service.rb +54 -0
  707. data/lib/stripe/services/v2/billing/intent_service.rb +94 -0
  708. data/lib/stripe/services/v2/billing/intents/action_service.rb +34 -0
  709. data/lib/stripe/services/v2/billing/license_fee_service.rb +61 -0
  710. data/lib/stripe/services/v2/billing/license_fee_subscription_service.rb +21 -0
  711. data/lib/stripe/services/v2/billing/license_fees/version_service.rb +34 -0
  712. data/lib/stripe/services/v2/billing/licensed_item_service.rb +54 -0
  713. data/lib/stripe/services/v2/billing/metered_item_service.rb +54 -0
  714. data/lib/stripe/services/v2/billing/pricing_plan_service.rb +62 -0
  715. data/lib/stripe/services/v2/billing/pricing_plan_subscription_service.rb +51 -0
  716. data/lib/stripe/services/v2/billing/pricing_plan_subscriptions/component_service.rb +23 -0
  717. data/lib/stripe/services/v2/billing/pricing_plans/component_service.rb +67 -0
  718. data/lib/stripe/services/v2/billing/pricing_plans/version_service.rb +34 -0
  719. data/lib/stripe/services/v2/billing/profile_service.rb +54 -0
  720. data/lib/stripe/services/v2/billing/rate_card_service.rb +62 -0
  721. data/lib/stripe/services/v2/billing/rate_card_subscription_service.rb +65 -0
  722. data/lib/stripe/services/v2/billing/rate_cards/rate_service.rb +57 -0
  723. data/lib/stripe/services/v2/billing/rate_cards/version_service.rb +34 -0
  724. data/lib/stripe/services/v2/billing/service_action_service.rb +43 -0
  725. data/lib/stripe/services/v2/billing_service.rb +18 -1
  726. data/lib/stripe/services/v2/core/claimable_sandbox_service.rb +35 -0
  727. data/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb +85 -0
  728. data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +101 -0
  729. data/lib/stripe/services/v2/core/vault_service.rb +18 -0
  730. data/lib/stripe/services/v2/core_service.rb +3 -1
  731. data/lib/stripe/services/v2/iam/api_key_service.rb +76 -0
  732. data/lib/stripe/services/v2/iam_service.rb +15 -0
  733. data/lib/stripe/services/v2/money_management/adjustment_service.rb +32 -0
  734. data/lib/stripe/services/v2/money_management/currency_conversion_service.rb +45 -0
  735. data/lib/stripe/services/v2/money_management/financial_account_service.rb +70 -0
  736. data/lib/stripe/services/v2/money_management/financial_address_service.rb +46 -0
  737. data/lib/stripe/services/v2/money_management/inbound_transfer_service.rb +45 -0
  738. data/lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb +34 -0
  739. data/lib/stripe/services/v2/money_management/outbound_payment_service.rb +62 -0
  740. data/lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb +75 -0
  741. data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +60 -0
  742. data/lib/stripe/services/v2/money_management/payout_method_service.rb +65 -0
  743. data/lib/stripe/services/v2/money_management/payout_methods_bank_account_spec_service.rb +23 -0
  744. data/lib/stripe/services/v2/money_management/received_credit_service.rb +32 -0
  745. data/lib/stripe/services/v2/money_management/received_debit_service.rb +32 -0
  746. data/lib/stripe/services/v2/money_management/recipient_verification_service.rb +43 -0
  747. data/lib/stripe/services/v2/money_management/transaction_entry_service.rb +32 -0
  748. data/lib/stripe/services/v2/money_management/transaction_service.rb +32 -0
  749. data/lib/stripe/services/v2/money_management_service.rb +35 -0
  750. data/lib/stripe/services/v2/payment_service.rb +17 -0
  751. data/lib/stripe/services/v2/payments/off_session_payment_service.rb +65 -0
  752. data/lib/stripe/services/v2/payments/settlement_allocation_intent_service.rb +72 -0
  753. data/lib/stripe/services/v2/payments/settlement_allocation_intents/split_service.rb +45 -0
  754. data/lib/stripe/services/v2/reporting/report_run_service.rb +38 -0
  755. data/lib/stripe/services/v2/reporting/report_service.rb +23 -0
  756. data/lib/stripe/services/v2/reporting_service.rb +16 -0
  757. data/lib/stripe/services/v2/tax/manual_rule_service.rb +65 -0
  758. data/lib/stripe/services/v2/tax_service.rb +15 -0
  759. data/lib/stripe/services/v2/test_helper_service.rb +16 -0
  760. data/lib/stripe/services/v2/test_helpers/financial_address_service.rb +36 -0
  761. data/lib/stripe/services/v2/test_helpers/money_management_service.rb +21 -0
  762. data/lib/stripe/services/v2_services.rb +7 -1
  763. data/lib/stripe/services.rb +98 -0
  764. data/lib/stripe/stripe_configuration.rb +3 -1
  765. data/lib/stripe/stripe_object.rb +1 -1
  766. data/lib/stripe/util.rb +7 -1
  767. data/lib/stripe/version.rb +1 -1
  768. data/lib/stripe.rb +53 -0
  769. data/rbi/stripe.rbi +129099 -49595
  770. metadata +606 -4
@@ -12,6 +12,312 @@ module Stripe
12
12
  end
13
13
 
14
14
  class Configuration < ::Stripe::StripeObject
15
+ class CardCreator < ::Stripe::StripeObject
16
+ class Capabilities < ::Stripe::StripeObject
17
+ class Commercial < ::Stripe::StripeObject
18
+ class Celtic < ::Stripe::StripeObject
19
+ class ChargeCard < ::Stripe::StripeObject
20
+ class StatusDetail < ::Stripe::StripeObject
21
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
22
+ attr_reader :code
23
+ # Machine-readable code explaining how to make the Capability active.
24
+ attr_reader :resolution
25
+
26
+ def self.inner_class_types
27
+ @inner_class_types = {}
28
+ end
29
+
30
+ def self.field_remappings
31
+ @field_remappings = {}
32
+ end
33
+ end
34
+ # The status of the Capability.
35
+ attr_reader :status
36
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
37
+ attr_reader :status_details
38
+
39
+ def self.inner_class_types
40
+ @inner_class_types = { status_details: StatusDetail }
41
+ end
42
+
43
+ def self.field_remappings
44
+ @field_remappings = {}
45
+ end
46
+ end
47
+
48
+ class SpendCard < ::Stripe::StripeObject
49
+ class StatusDetail < ::Stripe::StripeObject
50
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
51
+ attr_reader :code
52
+ # Machine-readable code explaining how to make the Capability active.
53
+ attr_reader :resolution
54
+
55
+ def self.inner_class_types
56
+ @inner_class_types = {}
57
+ end
58
+
59
+ def self.field_remappings
60
+ @field_remappings = {}
61
+ end
62
+ end
63
+ # The status of the Capability.
64
+ attr_reader :status
65
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
66
+ attr_reader :status_details
67
+
68
+ def self.inner_class_types
69
+ @inner_class_types = { status_details: StatusDetail }
70
+ end
71
+
72
+ def self.field_remappings
73
+ @field_remappings = {}
74
+ end
75
+ end
76
+ # Can create commercial issuing charge cards with Celtic as BIN sponsor.
77
+ attr_reader :charge_card
78
+ # Can create commercial issuing spend cards with Celtic as BIN sponsor.
79
+ attr_reader :spend_card
80
+
81
+ def self.inner_class_types
82
+ @inner_class_types = { charge_card: ChargeCard, spend_card: SpendCard }
83
+ end
84
+
85
+ def self.field_remappings
86
+ @field_remappings = {}
87
+ end
88
+ end
89
+
90
+ class CrossRiverBank < ::Stripe::StripeObject
91
+ class ChargeCard < ::Stripe::StripeObject
92
+ class StatusDetail < ::Stripe::StripeObject
93
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
94
+ attr_reader :code
95
+ # Machine-readable code explaining how to make the Capability active.
96
+ attr_reader :resolution
97
+
98
+ def self.inner_class_types
99
+ @inner_class_types = {}
100
+ end
101
+
102
+ def self.field_remappings
103
+ @field_remappings = {}
104
+ end
105
+ end
106
+ # The status of the Capability.
107
+ attr_reader :status
108
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
109
+ attr_reader :status_details
110
+
111
+ def self.inner_class_types
112
+ @inner_class_types = { status_details: StatusDetail }
113
+ end
114
+
115
+ def self.field_remappings
116
+ @field_remappings = {}
117
+ end
118
+ end
119
+
120
+ class SpendCard < ::Stripe::StripeObject
121
+ class StatusDetail < ::Stripe::StripeObject
122
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
123
+ attr_reader :code
124
+ # Machine-readable code explaining how to make the Capability active.
125
+ attr_reader :resolution
126
+
127
+ def self.inner_class_types
128
+ @inner_class_types = {}
129
+ end
130
+
131
+ def self.field_remappings
132
+ @field_remappings = {}
133
+ end
134
+ end
135
+ # The status of the Capability.
136
+ attr_reader :status
137
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
138
+ attr_reader :status_details
139
+
140
+ def self.inner_class_types
141
+ @inner_class_types = { status_details: StatusDetail }
142
+ end
143
+
144
+ def self.field_remappings
145
+ @field_remappings = {}
146
+ end
147
+ end
148
+ # Can create commercial issuing charge cards with Cross River Bank as BIN sponsor.
149
+ attr_reader :charge_card
150
+ # Can create commercial issuing spend cards with Cross River Bank as BIN sponsor.
151
+ attr_reader :spend_card
152
+
153
+ def self.inner_class_types
154
+ @inner_class_types = { charge_card: ChargeCard, spend_card: SpendCard }
155
+ end
156
+
157
+ def self.field_remappings
158
+ @field_remappings = {}
159
+ end
160
+ end
161
+
162
+ class Lead < ::Stripe::StripeObject
163
+ class PrepaidCard < ::Stripe::StripeObject
164
+ class StatusDetail < ::Stripe::StripeObject
165
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
166
+ attr_reader :code
167
+ # Machine-readable code explaining how to make the Capability active.
168
+ attr_reader :resolution
169
+
170
+ def self.inner_class_types
171
+ @inner_class_types = {}
172
+ end
173
+
174
+ def self.field_remappings
175
+ @field_remappings = {}
176
+ end
177
+ end
178
+ # The status of the Capability.
179
+ attr_reader :status
180
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
181
+ attr_reader :status_details
182
+
183
+ def self.inner_class_types
184
+ @inner_class_types = { status_details: StatusDetail }
185
+ end
186
+
187
+ def self.field_remappings
188
+ @field_remappings = {}
189
+ end
190
+ end
191
+ # Can create commercial Global(cross border) issuing prepaid cards with Lead as BIN sponsor.
192
+ attr_reader :prepaid_card
193
+
194
+ def self.inner_class_types
195
+ @inner_class_types = { prepaid_card: PrepaidCard }
196
+ end
197
+
198
+ def self.field_remappings
199
+ @field_remappings = {}
200
+ end
201
+ end
202
+
203
+ class Stripe < ::Stripe::StripeObject
204
+ class ChargeCard < ::Stripe::StripeObject
205
+ class StatusDetail < ::Stripe::StripeObject
206
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
207
+ attr_reader :code
208
+ # Machine-readable code explaining how to make the Capability active.
209
+ attr_reader :resolution
210
+
211
+ def self.inner_class_types
212
+ @inner_class_types = {}
213
+ end
214
+
215
+ def self.field_remappings
216
+ @field_remappings = {}
217
+ end
218
+ end
219
+ # The status of the Capability.
220
+ attr_reader :status
221
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
222
+ attr_reader :status_details
223
+
224
+ def self.inner_class_types
225
+ @inner_class_types = { status_details: StatusDetail }
226
+ end
227
+
228
+ def self.field_remappings
229
+ @field_remappings = {}
230
+ end
231
+ end
232
+
233
+ class PrepaidCard < ::Stripe::StripeObject
234
+ class StatusDetail < ::Stripe::StripeObject
235
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
236
+ attr_reader :code
237
+ # Machine-readable code explaining how to make the Capability active.
238
+ attr_reader :resolution
239
+
240
+ def self.inner_class_types
241
+ @inner_class_types = {}
242
+ end
243
+
244
+ def self.field_remappings
245
+ @field_remappings = {}
246
+ end
247
+ end
248
+ # The status of the Capability.
249
+ attr_reader :status
250
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
251
+ attr_reader :status_details
252
+
253
+ def self.inner_class_types
254
+ @inner_class_types = { status_details: StatusDetail }
255
+ end
256
+
257
+ def self.field_remappings
258
+ @field_remappings = {}
259
+ end
260
+ end
261
+ # Can create commercial issuing charge cards with Stripe as BIN sponsor.
262
+ attr_reader :charge_card
263
+ # Can create commercial issuing prepaid cards with Stripe as BIN sponsor.
264
+ attr_reader :prepaid_card
265
+
266
+ def self.inner_class_types
267
+ @inner_class_types = { charge_card: ChargeCard, prepaid_card: PrepaidCard }
268
+ end
269
+
270
+ def self.field_remappings
271
+ @field_remappings = {}
272
+ end
273
+ end
274
+ # Can create commercial issuing cards with Celtic as BIN sponsor.
275
+ attr_reader :celtic
276
+ # Can create commercial issuing cards with Cross River Bank as BIN sponsor.
277
+ attr_reader :cross_river_bank
278
+ # Can create commercial issuing cards with Lead as a BIN sponsor.
279
+ attr_reader :lead
280
+ # Can create commercial issuing cards with Stripe as a BIN sponsor.
281
+ attr_reader :stripe
282
+
283
+ def self.inner_class_types
284
+ @inner_class_types = {
285
+ celtic: Celtic,
286
+ cross_river_bank: CrossRiverBank,
287
+ lead: Lead,
288
+ stripe: Stripe,
289
+ }
290
+ end
291
+
292
+ def self.field_remappings
293
+ @field_remappings = {}
294
+ end
295
+ end
296
+ # Can create cards for commercial issuing use cases.
297
+ attr_reader :commercial
298
+
299
+ def self.inner_class_types
300
+ @inner_class_types = { commercial: Commercial }
301
+ end
302
+
303
+ def self.field_remappings
304
+ @field_remappings = {}
305
+ end
306
+ end
307
+ # 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.
308
+ attr_reader :applied
309
+ # Capabilities that have been requested on the CardCreator Configuration.
310
+ attr_reader :capabilities
311
+
312
+ def self.inner_class_types
313
+ @inner_class_types = { capabilities: Capabilities }
314
+ end
315
+
316
+ def self.field_remappings
317
+ @field_remappings = {}
318
+ end
319
+ end
320
+
15
321
  class Customer < ::Stripe::StripeObject
16
322
  class AutomaticIndirectTax < ::Stripe::StripeObject
17
323
  class Location < ::Stripe::StripeObject
@@ -1942,8 +2248,8 @@ module Stripe
1942
2248
 
1943
2249
  class Recipient < ::Stripe::StripeObject
1944
2250
  class Capabilities < ::Stripe::StripeObject
1945
- class StripeBalance < ::Stripe::StripeObject
1946
- class Payouts < ::Stripe::StripeObject
2251
+ class BankAccounts < ::Stripe::StripeObject
2252
+ class Instant < ::Stripe::StripeObject
1947
2253
  class StatusDetail < ::Stripe::StripeObject
1948
2254
  # Machine-readable code explaining the reason for the Capability to be in its current status.
1949
2255
  attr_reader :code
@@ -1972,7 +2278,7 @@ module Stripe
1972
2278
  end
1973
2279
  end
1974
2280
 
1975
- class StripeTransfers < ::Stripe::StripeObject
2281
+ class Local < ::Stripe::StripeObject
1976
2282
  class StatusDetail < ::Stripe::StripeObject
1977
2283
  # Machine-readable code explaining the reason for the Capability to be in its current status.
1978
2284
  attr_reader :code
@@ -2000,76 +2306,853 @@ module Stripe
2000
2306
  @field_remappings = {}
2001
2307
  end
2002
2308
  end
2003
- # Enables this Account to complete payouts from their Stripe Balance (/v1/balance).
2004
- attr_reader :payouts
2005
- # Enables this Account to receive /v1/transfers into their Stripe Balance (/v1/balance).
2006
- attr_reader :stripe_transfers
2309
+
2310
+ class Wire < ::Stripe::StripeObject
2311
+ class StatusDetail < ::Stripe::StripeObject
2312
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
2313
+ attr_reader :code
2314
+ # Machine-readable code explaining how to make the Capability active.
2315
+ attr_reader :resolution
2316
+
2317
+ def self.inner_class_types
2318
+ @inner_class_types = {}
2319
+ end
2320
+
2321
+ def self.field_remappings
2322
+ @field_remappings = {}
2323
+ end
2324
+ end
2325
+ # The status of the Capability.
2326
+ attr_reader :status
2327
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
2328
+ attr_reader :status_details
2329
+
2330
+ def self.inner_class_types
2331
+ @inner_class_types = { status_details: StatusDetail }
2332
+ end
2333
+
2334
+ def self.field_remappings
2335
+ @field_remappings = {}
2336
+ end
2337
+ end
2338
+ # Enables this Account to receive OutboundPayments to linked bank accounts over real time rails.
2339
+ attr_reader :instant
2340
+ # Enables this Account to receive OutboundPayments to linked bank accounts over local networks.
2341
+ attr_reader :local
2342
+ # Enables this Account to receive OutboundPayments to linked bank accounts over wire.
2343
+ attr_reader :wire
2007
2344
 
2008
2345
  def self.inner_class_types
2009
- @inner_class_types = { payouts: Payouts, stripe_transfers: StripeTransfers }
2346
+ @inner_class_types = { instant: Instant, local: Local, wire: Wire }
2010
2347
  end
2011
2348
 
2012
2349
  def self.field_remappings
2013
2350
  @field_remappings = {}
2014
2351
  end
2015
2352
  end
2016
- # Capabilities that enable the recipient to manage their Stripe Balance (/v1/balance).
2017
- attr_reader :stripe_balance
2018
-
2019
- def self.inner_class_types
2020
- @inner_class_types = { stripe_balance: StripeBalance }
2021
- end
2022
2353
 
2023
- def self.field_remappings
2024
- @field_remappings = {}
2025
- end
2026
- end
2027
- # 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.
2028
- attr_reader :applied
2029
- # Capabilities that have been requested on the Recipient Configuration.
2030
- attr_reader :capabilities
2354
+ class Cards < ::Stripe::StripeObject
2355
+ class StatusDetail < ::Stripe::StripeObject
2356
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
2357
+ attr_reader :code
2358
+ # Machine-readable code explaining how to make the Capability active.
2359
+ attr_reader :resolution
2031
2360
 
2032
- def self.inner_class_types
2033
- @inner_class_types = { capabilities: Capabilities }
2034
- end
2361
+ def self.inner_class_types
2362
+ @inner_class_types = {}
2363
+ end
2035
2364
 
2036
- def self.field_remappings
2037
- @field_remappings = {}
2038
- end
2039
- end
2040
- # The Customer Configuration allows the Account to be used in inbound payment flows.
2041
- attr_reader :customer
2042
- # 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.
2043
- attr_reader :merchant
2044
- # 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.
2045
- attr_reader :recipient
2365
+ def self.field_remappings
2366
+ @field_remappings = {}
2367
+ end
2368
+ end
2369
+ # The status of the Capability.
2370
+ attr_reader :status
2371
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
2372
+ attr_reader :status_details
2046
2373
 
2047
- def self.inner_class_types
2048
- @inner_class_types = { customer: Customer, merchant: Merchant, recipient: Recipient }
2049
- end
2374
+ def self.inner_class_types
2375
+ @inner_class_types = { status_details: StatusDetail }
2376
+ end
2050
2377
 
2051
- def self.field_remappings
2052
- @field_remappings = {}
2053
- end
2054
- end
2378
+ def self.field_remappings
2379
+ @field_remappings = {}
2380
+ end
2381
+ end
2055
2382
 
2056
- class Defaults < ::Stripe::StripeObject
2057
- class Profile < ::Stripe::StripeObject
2058
- # The business's publicly-available website.
2059
- attr_reader :business_url
2060
- # The customer-facing business name.
2061
- attr_reader :doing_business_as
2062
- # Internal-only description of the product sold or service provided by the business. It's used by Stripe for risk and underwriting purposes.
2063
- attr_reader :product_description
2383
+ class CryptoWallets < ::Stripe::StripeObject
2384
+ class StatusDetail < ::Stripe::StripeObject
2385
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
2386
+ attr_reader :code
2387
+ # Machine-readable code explaining how to make the Capability active.
2388
+ attr_reader :resolution
2064
2389
 
2065
- def self.inner_class_types
2066
- @inner_class_types = {}
2067
- end
2390
+ def self.inner_class_types
2391
+ @inner_class_types = {}
2392
+ end
2068
2393
 
2069
- def self.field_remappings
2070
- @field_remappings = {}
2071
- end
2072
- end
2394
+ def self.field_remappings
2395
+ @field_remappings = {}
2396
+ end
2397
+ end
2398
+ # The status of the Capability.
2399
+ attr_reader :status
2400
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
2401
+ attr_reader :status_details
2402
+
2403
+ def self.inner_class_types
2404
+ @inner_class_types = { status_details: StatusDetail }
2405
+ end
2406
+
2407
+ def self.field_remappings
2408
+ @field_remappings = {}
2409
+ end
2410
+ end
2411
+
2412
+ class StripeBalance < ::Stripe::StripeObject
2413
+ class Payouts < ::Stripe::StripeObject
2414
+ class StatusDetail < ::Stripe::StripeObject
2415
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
2416
+ attr_reader :code
2417
+ # Machine-readable code explaining how to make the Capability active.
2418
+ attr_reader :resolution
2419
+
2420
+ def self.inner_class_types
2421
+ @inner_class_types = {}
2422
+ end
2423
+
2424
+ def self.field_remappings
2425
+ @field_remappings = {}
2426
+ end
2427
+ end
2428
+ # The status of the Capability.
2429
+ attr_reader :status
2430
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
2431
+ attr_reader :status_details
2432
+
2433
+ def self.inner_class_types
2434
+ @inner_class_types = { status_details: StatusDetail }
2435
+ end
2436
+
2437
+ def self.field_remappings
2438
+ @field_remappings = {}
2439
+ end
2440
+ end
2441
+
2442
+ class StripeTransfers < ::Stripe::StripeObject
2443
+ class StatusDetail < ::Stripe::StripeObject
2444
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
2445
+ attr_reader :code
2446
+ # Machine-readable code explaining how to make the Capability active.
2447
+ attr_reader :resolution
2448
+
2449
+ def self.inner_class_types
2450
+ @inner_class_types = {}
2451
+ end
2452
+
2453
+ def self.field_remappings
2454
+ @field_remappings = {}
2455
+ end
2456
+ end
2457
+ # The status of the Capability.
2458
+ attr_reader :status
2459
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
2460
+ attr_reader :status_details
2461
+
2462
+ def self.inner_class_types
2463
+ @inner_class_types = { status_details: StatusDetail }
2464
+ end
2465
+
2466
+ def self.field_remappings
2467
+ @field_remappings = {}
2468
+ end
2469
+ end
2470
+ # Enables this Account to complete payouts from their Stripe Balance (/v1/balance).
2471
+ attr_reader :payouts
2472
+ # Enables this Account to receive /v1/transfers into their Stripe Balance (/v1/balance).
2473
+ attr_reader :stripe_transfers
2474
+
2475
+ def self.inner_class_types
2476
+ @inner_class_types = { payouts: Payouts, stripe_transfers: StripeTransfers }
2477
+ end
2478
+
2479
+ def self.field_remappings
2480
+ @field_remappings = {}
2481
+ end
2482
+ end
2483
+ # Capabilities that enable OutboundPayments to a bank account linked to this Account.
2484
+ attr_reader :bank_accounts
2485
+ # Enables this Account to receive OutboundPayments to a linked debit card.
2486
+ attr_reader :cards
2487
+ # Enables this Account to receive OutboundPayments to a linked crypto wallet.
2488
+ attr_reader :crypto_wallets
2489
+ # Capabilities that enable the recipient to manage their Stripe Balance (/v1/balance).
2490
+ attr_reader :stripe_balance
2491
+
2492
+ def self.inner_class_types
2493
+ @inner_class_types = {
2494
+ bank_accounts: BankAccounts,
2495
+ cards: Cards,
2496
+ crypto_wallets: CryptoWallets,
2497
+ stripe_balance: StripeBalance,
2498
+ }
2499
+ end
2500
+
2501
+ def self.field_remappings
2502
+ @field_remappings = {}
2503
+ end
2504
+ end
2505
+
2506
+ class DefaultOutboundDestination < ::Stripe::StripeObject
2507
+ # The payout method ID of the default outbound destination.
2508
+ attr_reader :id
2509
+ # Closed Enum. The payout method type of the default outbound destination.
2510
+ attr_reader :type
2511
+
2512
+ def self.inner_class_types
2513
+ @inner_class_types = {}
2514
+ end
2515
+
2516
+ def self.field_remappings
2517
+ @field_remappings = {}
2518
+ end
2519
+ end
2520
+ # 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.
2521
+ attr_reader :applied
2522
+ # Capabilities that have been requested on the Recipient Configuration.
2523
+ attr_reader :capabilities
2524
+ # 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.
2525
+ attr_reader :default_outbound_destination
2526
+
2527
+ def self.inner_class_types
2528
+ @inner_class_types = {
2529
+ capabilities: Capabilities,
2530
+ default_outbound_destination: DefaultOutboundDestination,
2531
+ }
2532
+ end
2533
+
2534
+ def self.field_remappings
2535
+ @field_remappings = {}
2536
+ end
2537
+ end
2538
+
2539
+ class Storer < ::Stripe::StripeObject
2540
+ class Capabilities < ::Stripe::StripeObject
2541
+ class FinancialAddresses < ::Stripe::StripeObject
2542
+ class BankAccounts < ::Stripe::StripeObject
2543
+ class StatusDetail < ::Stripe::StripeObject
2544
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
2545
+ attr_reader :code
2546
+ # Machine-readable code explaining how to make the Capability active.
2547
+ attr_reader :resolution
2548
+
2549
+ def self.inner_class_types
2550
+ @inner_class_types = {}
2551
+ end
2552
+
2553
+ def self.field_remappings
2554
+ @field_remappings = {}
2555
+ end
2556
+ end
2557
+ # The status of the Capability.
2558
+ attr_reader :status
2559
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
2560
+ attr_reader :status_details
2561
+
2562
+ def self.inner_class_types
2563
+ @inner_class_types = { status_details: StatusDetail }
2564
+ end
2565
+
2566
+ def self.field_remappings
2567
+ @field_remappings = {}
2568
+ end
2569
+ end
2570
+
2571
+ class CryptoWallets < ::Stripe::StripeObject
2572
+ class StatusDetail < ::Stripe::StripeObject
2573
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
2574
+ attr_reader :code
2575
+ # Machine-readable code explaining how to make the Capability active.
2576
+ attr_reader :resolution
2577
+
2578
+ def self.inner_class_types
2579
+ @inner_class_types = {}
2580
+ end
2581
+
2582
+ def self.field_remappings
2583
+ @field_remappings = {}
2584
+ end
2585
+ end
2586
+ # The status of the Capability.
2587
+ attr_reader :status
2588
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
2589
+ attr_reader :status_details
2590
+
2591
+ def self.inner_class_types
2592
+ @inner_class_types = { status_details: StatusDetail }
2593
+ end
2594
+
2595
+ def self.field_remappings
2596
+ @field_remappings = {}
2597
+ end
2598
+ end
2599
+ # Can provision a bank-account like financial address (VBAN) to credit/debit a FinancialAccount.
2600
+ attr_reader :bank_accounts
2601
+ # Can provision a crypto wallet like financial address to credit a FinancialAccount.
2602
+ attr_reader :crypto_wallets
2603
+
2604
+ def self.inner_class_types
2605
+ @inner_class_types = { bank_accounts: BankAccounts, crypto_wallets: CryptoWallets }
2606
+ end
2607
+
2608
+ def self.field_remappings
2609
+ @field_remappings = {}
2610
+ end
2611
+ end
2612
+
2613
+ class HoldsCurrencies < ::Stripe::StripeObject
2614
+ class Eur < ::Stripe::StripeObject
2615
+ class StatusDetail < ::Stripe::StripeObject
2616
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
2617
+ attr_reader :code
2618
+ # Machine-readable code explaining how to make the Capability active.
2619
+ attr_reader :resolution
2620
+
2621
+ def self.inner_class_types
2622
+ @inner_class_types = {}
2623
+ end
2624
+
2625
+ def self.field_remappings
2626
+ @field_remappings = {}
2627
+ end
2628
+ end
2629
+ # The status of the Capability.
2630
+ attr_reader :status
2631
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
2632
+ attr_reader :status_details
2633
+
2634
+ def self.inner_class_types
2635
+ @inner_class_types = { status_details: StatusDetail }
2636
+ end
2637
+
2638
+ def self.field_remappings
2639
+ @field_remappings = {}
2640
+ end
2641
+ end
2642
+
2643
+ class Gbp < ::Stripe::StripeObject
2644
+ class StatusDetail < ::Stripe::StripeObject
2645
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
2646
+ attr_reader :code
2647
+ # Machine-readable code explaining how to make the Capability active.
2648
+ attr_reader :resolution
2649
+
2650
+ def self.inner_class_types
2651
+ @inner_class_types = {}
2652
+ end
2653
+
2654
+ def self.field_remappings
2655
+ @field_remappings = {}
2656
+ end
2657
+ end
2658
+ # The status of the Capability.
2659
+ attr_reader :status
2660
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
2661
+ attr_reader :status_details
2662
+
2663
+ def self.inner_class_types
2664
+ @inner_class_types = { status_details: StatusDetail }
2665
+ end
2666
+
2667
+ def self.field_remappings
2668
+ @field_remappings = {}
2669
+ end
2670
+ end
2671
+
2672
+ class Usd < ::Stripe::StripeObject
2673
+ class StatusDetail < ::Stripe::StripeObject
2674
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
2675
+ attr_reader :code
2676
+ # Machine-readable code explaining how to make the Capability active.
2677
+ attr_reader :resolution
2678
+
2679
+ def self.inner_class_types
2680
+ @inner_class_types = {}
2681
+ end
2682
+
2683
+ def self.field_remappings
2684
+ @field_remappings = {}
2685
+ end
2686
+ end
2687
+ # The status of the Capability.
2688
+ attr_reader :status
2689
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
2690
+ attr_reader :status_details
2691
+
2692
+ def self.inner_class_types
2693
+ @inner_class_types = { status_details: StatusDetail }
2694
+ end
2695
+
2696
+ def self.field_remappings
2697
+ @field_remappings = {}
2698
+ end
2699
+ end
2700
+
2701
+ class Usdc < ::Stripe::StripeObject
2702
+ class StatusDetail < ::Stripe::StripeObject
2703
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
2704
+ attr_reader :code
2705
+ # Machine-readable code explaining how to make the Capability active.
2706
+ attr_reader :resolution
2707
+
2708
+ def self.inner_class_types
2709
+ @inner_class_types = {}
2710
+ end
2711
+
2712
+ def self.field_remappings
2713
+ @field_remappings = {}
2714
+ end
2715
+ end
2716
+ # The status of the Capability.
2717
+ attr_reader :status
2718
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
2719
+ attr_reader :status_details
2720
+
2721
+ def self.inner_class_types
2722
+ @inner_class_types = { status_details: StatusDetail }
2723
+ end
2724
+
2725
+ def self.field_remappings
2726
+ @field_remappings = {}
2727
+ end
2728
+ end
2729
+ # Can hold storage-type funds on Stripe in EUR.
2730
+ attr_reader :eur
2731
+ # Can hold storage-type funds on Stripe in GBP.
2732
+ attr_reader :gbp
2733
+ # Can hold storage-type funds on Stripe in USD.
2734
+ attr_reader :usd
2735
+ # Can hold storage-type funds on Stripe in USDC.
2736
+ attr_reader :usdc
2737
+
2738
+ def self.inner_class_types
2739
+ @inner_class_types = { eur: Eur, gbp: Gbp, usd: Usd, usdc: Usdc }
2740
+ end
2741
+
2742
+ def self.field_remappings
2743
+ @field_remappings = {}
2744
+ end
2745
+ end
2746
+
2747
+ class InboundTransfers < ::Stripe::StripeObject
2748
+ class BankAccounts < ::Stripe::StripeObject
2749
+ class StatusDetail < ::Stripe::StripeObject
2750
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
2751
+ attr_reader :code
2752
+ # Machine-readable code explaining how to make the Capability active.
2753
+ attr_reader :resolution
2754
+
2755
+ def self.inner_class_types
2756
+ @inner_class_types = {}
2757
+ end
2758
+
2759
+ def self.field_remappings
2760
+ @field_remappings = {}
2761
+ end
2762
+ end
2763
+ # The status of the Capability.
2764
+ attr_reader :status
2765
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
2766
+ attr_reader :status_details
2767
+
2768
+ def self.inner_class_types
2769
+ @inner_class_types = { status_details: StatusDetail }
2770
+ end
2771
+
2772
+ def self.field_remappings
2773
+ @field_remappings = {}
2774
+ end
2775
+ end
2776
+ # Can pull funds into a FinancialAccount from an external bank account owned by the user.
2777
+ attr_reader :bank_accounts
2778
+
2779
+ def self.inner_class_types
2780
+ @inner_class_types = { bank_accounts: BankAccounts }
2781
+ end
2782
+
2783
+ def self.field_remappings
2784
+ @field_remappings = {}
2785
+ end
2786
+ end
2787
+
2788
+ class OutboundPayments < ::Stripe::StripeObject
2789
+ class BankAccounts < ::Stripe::StripeObject
2790
+ class StatusDetail < ::Stripe::StripeObject
2791
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
2792
+ attr_reader :code
2793
+ # Machine-readable code explaining how to make the Capability active.
2794
+ attr_reader :resolution
2795
+
2796
+ def self.inner_class_types
2797
+ @inner_class_types = {}
2798
+ end
2799
+
2800
+ def self.field_remappings
2801
+ @field_remappings = {}
2802
+ end
2803
+ end
2804
+ # The status of the Capability.
2805
+ attr_reader :status
2806
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
2807
+ attr_reader :status_details
2808
+
2809
+ def self.inner_class_types
2810
+ @inner_class_types = { status_details: StatusDetail }
2811
+ end
2812
+
2813
+ def self.field_remappings
2814
+ @field_remappings = {}
2815
+ end
2816
+ end
2817
+
2818
+ class Cards < ::Stripe::StripeObject
2819
+ class StatusDetail < ::Stripe::StripeObject
2820
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
2821
+ attr_reader :code
2822
+ # Machine-readable code explaining how to make the Capability active.
2823
+ attr_reader :resolution
2824
+
2825
+ def self.inner_class_types
2826
+ @inner_class_types = {}
2827
+ end
2828
+
2829
+ def self.field_remappings
2830
+ @field_remappings = {}
2831
+ end
2832
+ end
2833
+ # The status of the Capability.
2834
+ attr_reader :status
2835
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
2836
+ attr_reader :status_details
2837
+
2838
+ def self.inner_class_types
2839
+ @inner_class_types = { status_details: StatusDetail }
2840
+ end
2841
+
2842
+ def self.field_remappings
2843
+ @field_remappings = {}
2844
+ end
2845
+ end
2846
+
2847
+ class CryptoWallets < ::Stripe::StripeObject
2848
+ class StatusDetail < ::Stripe::StripeObject
2849
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
2850
+ attr_reader :code
2851
+ # Machine-readable code explaining how to make the Capability active.
2852
+ attr_reader :resolution
2853
+
2854
+ def self.inner_class_types
2855
+ @inner_class_types = {}
2856
+ end
2857
+
2858
+ def self.field_remappings
2859
+ @field_remappings = {}
2860
+ end
2861
+ end
2862
+ # The status of the Capability.
2863
+ attr_reader :status
2864
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
2865
+ attr_reader :status_details
2866
+
2867
+ def self.inner_class_types
2868
+ @inner_class_types = { status_details: StatusDetail }
2869
+ end
2870
+
2871
+ def self.field_remappings
2872
+ @field_remappings = {}
2873
+ end
2874
+ end
2875
+
2876
+ class FinancialAccounts < ::Stripe::StripeObject
2877
+ class StatusDetail < ::Stripe::StripeObject
2878
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
2879
+ attr_reader :code
2880
+ # Machine-readable code explaining how to make the Capability active.
2881
+ attr_reader :resolution
2882
+
2883
+ def self.inner_class_types
2884
+ @inner_class_types = {}
2885
+ end
2886
+
2887
+ def self.field_remappings
2888
+ @field_remappings = {}
2889
+ end
2890
+ end
2891
+ # The status of the Capability.
2892
+ attr_reader :status
2893
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
2894
+ attr_reader :status_details
2895
+
2896
+ def self.inner_class_types
2897
+ @inner_class_types = { status_details: StatusDetail }
2898
+ end
2899
+
2900
+ def self.field_remappings
2901
+ @field_remappings = {}
2902
+ end
2903
+ end
2904
+ # Can send funds from a FinancialAccount to a bank account owned by a different entity.
2905
+ attr_reader :bank_accounts
2906
+ # Can send funds from a FinancialAccount to a debit card owned by a different entity.
2907
+ attr_reader :cards
2908
+ # Can send funds from a FinancialAccount to a crypto wallet owned by a different entity.
2909
+ attr_reader :crypto_wallets
2910
+ # Can send funds from a FinancialAccount to a FinancialAccount owned by a different entity.
2911
+ attr_reader :financial_accounts
2912
+
2913
+ def self.inner_class_types
2914
+ @inner_class_types = {
2915
+ bank_accounts: BankAccounts,
2916
+ cards: Cards,
2917
+ crypto_wallets: CryptoWallets,
2918
+ financial_accounts: FinancialAccounts,
2919
+ }
2920
+ end
2921
+
2922
+ def self.field_remappings
2923
+ @field_remappings = {}
2924
+ end
2925
+ end
2926
+
2927
+ class OutboundTransfers < ::Stripe::StripeObject
2928
+ class BankAccounts < ::Stripe::StripeObject
2929
+ class StatusDetail < ::Stripe::StripeObject
2930
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
2931
+ attr_reader :code
2932
+ # Machine-readable code explaining how to make the Capability active.
2933
+ attr_reader :resolution
2934
+
2935
+ def self.inner_class_types
2936
+ @inner_class_types = {}
2937
+ end
2938
+
2939
+ def self.field_remappings
2940
+ @field_remappings = {}
2941
+ end
2942
+ end
2943
+ # The status of the Capability.
2944
+ attr_reader :status
2945
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
2946
+ attr_reader :status_details
2947
+
2948
+ def self.inner_class_types
2949
+ @inner_class_types = { status_details: StatusDetail }
2950
+ end
2951
+
2952
+ def self.field_remappings
2953
+ @field_remappings = {}
2954
+ end
2955
+ end
2956
+
2957
+ class CryptoWallets < ::Stripe::StripeObject
2958
+ class StatusDetail < ::Stripe::StripeObject
2959
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
2960
+ attr_reader :code
2961
+ # Machine-readable code explaining how to make the Capability active.
2962
+ attr_reader :resolution
2963
+
2964
+ def self.inner_class_types
2965
+ @inner_class_types = {}
2966
+ end
2967
+
2968
+ def self.field_remappings
2969
+ @field_remappings = {}
2970
+ end
2971
+ end
2972
+ # The status of the Capability.
2973
+ attr_reader :status
2974
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
2975
+ attr_reader :status_details
2976
+
2977
+ def self.inner_class_types
2978
+ @inner_class_types = { status_details: StatusDetail }
2979
+ end
2980
+
2981
+ def self.field_remappings
2982
+ @field_remappings = {}
2983
+ end
2984
+ end
2985
+
2986
+ class FinancialAccounts < ::Stripe::StripeObject
2987
+ class StatusDetail < ::Stripe::StripeObject
2988
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
2989
+ attr_reader :code
2990
+ # Machine-readable code explaining how to make the Capability active.
2991
+ attr_reader :resolution
2992
+
2993
+ def self.inner_class_types
2994
+ @inner_class_types = {}
2995
+ end
2996
+
2997
+ def self.field_remappings
2998
+ @field_remappings = {}
2999
+ end
3000
+ end
3001
+ # The status of the Capability.
3002
+ attr_reader :status
3003
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
3004
+ attr_reader :status_details
3005
+
3006
+ def self.inner_class_types
3007
+ @inner_class_types = { status_details: StatusDetail }
3008
+ end
3009
+
3010
+ def self.field_remappings
3011
+ @field_remappings = {}
3012
+ end
3013
+ end
3014
+ # Can send funds from a FinancialAccount to a bank account belonging to the same user.
3015
+ attr_reader :bank_accounts
3016
+ # Can send funds from a FinancialAccount to a crypto wallet belonging to the same user.
3017
+ attr_reader :crypto_wallets
3018
+ # Can send funds from a FinancialAccount to another FinancialAccount belonging to the same user.
3019
+ attr_reader :financial_accounts
3020
+
3021
+ def self.inner_class_types
3022
+ @inner_class_types = {
3023
+ bank_accounts: BankAccounts,
3024
+ crypto_wallets: CryptoWallets,
3025
+ financial_accounts: FinancialAccounts,
3026
+ }
3027
+ end
3028
+
3029
+ def self.field_remappings
3030
+ @field_remappings = {}
3031
+ end
3032
+ end
3033
+ # Can provision a financial address to credit/debit a FinancialAccount.
3034
+ attr_reader :financial_addresses
3035
+ # Can hold storage-type funds on Stripe.
3036
+ attr_reader :holds_currencies
3037
+ # Hash containing capabilities related to InboundTransfers.
3038
+ attr_reader :inbound_transfers
3039
+ # Hash containing capabilities related to [OutboundPayments](/api/treasury/outbound_payments?api-version=preview).
3040
+ attr_reader :outbound_payments
3041
+ # Hash containing capabilities related to [OutboundTransfers](/api/treasury/outbound_transfers?api-version=preview).
3042
+ attr_reader :outbound_transfers
3043
+
3044
+ def self.inner_class_types
3045
+ @inner_class_types = {
3046
+ financial_addresses: FinancialAddresses,
3047
+ holds_currencies: HoldsCurrencies,
3048
+ inbound_transfers: InboundTransfers,
3049
+ outbound_payments: OutboundPayments,
3050
+ outbound_transfers: OutboundTransfers,
3051
+ }
3052
+ end
3053
+
3054
+ def self.field_remappings
3055
+ @field_remappings = {}
3056
+ end
3057
+ end
3058
+
3059
+ class RegulatedActivity < ::Stripe::StripeObject
3060
+ # A detailed description of the regulated activities the business is licensed to conduct.
3061
+ attr_reader :description
3062
+ # The license number or registration number assigned by the business's primary regulator.
3063
+ attr_reader :license_number
3064
+ # The country of the primary regulatory authority that oversees the business's regulated activities.
3065
+ attr_reader :primary_regulatory_authority_country
3066
+ # The name of the primary regulatory authority that oversees the business's regulated activities.
3067
+ attr_reader :primary_regulatory_authority_name
3068
+
3069
+ def self.inner_class_types
3070
+ @inner_class_types = {}
3071
+ end
3072
+
3073
+ def self.field_remappings
3074
+ @field_remappings = {}
3075
+ end
3076
+ end
3077
+ # Indicates whether the storer configuration is active. You cannot deactivate (or reactivate) the storer configuration by updating this property.
3078
+ attr_reader :applied
3079
+ # Capabilities that have been requested on the Storer Configuration.
3080
+ attr_reader :capabilities
3081
+ # List of high-risk activities the business is involved in.
3082
+ attr_reader :high_risk_activities
3083
+ # Description of the high-risk activities the business offers.
3084
+ attr_reader :high_risk_activities_description
3085
+ # Description of the money services offered by the business.
3086
+ attr_reader :money_services_description
3087
+ # Indicates whether the business operates in any prohibited countries.
3088
+ attr_reader :operates_in_prohibited_countries
3089
+ # Does the business participate in any regulated activity.
3090
+ attr_reader :participates_in_regulated_activity
3091
+ # Primary purpose of the stored funds.
3092
+ attr_reader :purpose_of_funds
3093
+ # Description of the purpose of the stored funds.
3094
+ attr_reader :purpose_of_funds_description
3095
+ # Details of the regulated activity if the business participates in one.
3096
+ attr_reader :regulated_activity
3097
+ # The source of funds for the business, e.g. profits, income, venture capital, etc.
3098
+ attr_reader :source_of_funds
3099
+ # Description of the source of funds for the business' account.
3100
+ attr_reader :source_of_funds_description
3101
+
3102
+ def self.inner_class_types
3103
+ @inner_class_types = {
3104
+ capabilities: Capabilities,
3105
+ regulated_activity: RegulatedActivity,
3106
+ }
3107
+ end
3108
+
3109
+ def self.field_remappings
3110
+ @field_remappings = {}
3111
+ end
3112
+ end
3113
+ # The CardCreator Configuration allows the Account to create and issue cards to users.
3114
+ attr_reader :card_creator
3115
+ # The Customer Configuration allows the Account to be used in inbound payment flows.
3116
+ attr_reader :customer
3117
+ # 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.
3118
+ attr_reader :merchant
3119
+ # 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.
3120
+ attr_reader :recipient
3121
+ # The Storer Configuration allows the Account to store and move funds using stored-value FinancialAccounts.
3122
+ attr_reader :storer
3123
+
3124
+ def self.inner_class_types
3125
+ @inner_class_types = {
3126
+ card_creator: CardCreator,
3127
+ customer: Customer,
3128
+ merchant: Merchant,
3129
+ recipient: Recipient,
3130
+ storer: Storer,
3131
+ }
3132
+ end
3133
+
3134
+ def self.field_remappings
3135
+ @field_remappings = {}
3136
+ end
3137
+ end
3138
+
3139
+ class Defaults < ::Stripe::StripeObject
3140
+ class Profile < ::Stripe::StripeObject
3141
+ # The business's publicly-available website.
3142
+ attr_reader :business_url
3143
+ # The customer-facing business name.
3144
+ attr_reader :doing_business_as
3145
+ # Internal-only description of the product sold or service provided by the business. It's used by Stripe for risk and underwriting purposes.
3146
+ attr_reader :product_description
3147
+
3148
+ def self.inner_class_types
3149
+ @inner_class_types = {}
3150
+ end
3151
+
3152
+ def self.field_remappings
3153
+ @field_remappings = {}
3154
+ end
3155
+ end
2073
3156
 
2074
3157
  class Responsibilities < ::Stripe::StripeObject
2075
3158
  # Indicates whether the platform or connected account is responsible for paying Stripe fees for pricing-control-eligible products.
@@ -2367,11 +3450,556 @@ module Stripe
2367
3450
  @field_remappings = {}
2368
3451
  end
2369
3452
  end
3453
+
3454
+ class CardCreator < ::Stripe::StripeObject
3455
+ class Commercial < ::Stripe::StripeObject
3456
+ class AccountHolder < ::Stripe::StripeObject
3457
+ # 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.
3458
+ attr_reader :date
3459
+ # The IP address from which the Account's representative accepted the terms of service.
3460
+ attr_reader :ip
3461
+ # The URL to the service agreement the Account's representative accepted.
3462
+ attr_reader :url
3463
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
3464
+ attr_reader :user_agent
3465
+
3466
+ def self.inner_class_types
3467
+ @inner_class_types = {}
3468
+ end
3469
+
3470
+ def self.field_remappings
3471
+ @field_remappings = {}
3472
+ end
3473
+ end
3474
+
3475
+ class Celtic < ::Stripe::StripeObject
3476
+ class ApplePay < ::Stripe::StripeObject
3477
+ # 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.
3478
+ attr_reader :date
3479
+ # The IP address from which the Account's representative accepted the terms of service.
3480
+ attr_reader :ip
3481
+ # The URL to the service agreement the Account's representative accepted.
3482
+ attr_reader :url
3483
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
3484
+ attr_reader :user_agent
3485
+
3486
+ def self.inner_class_types
3487
+ @inner_class_types = {}
3488
+ end
3489
+
3490
+ def self.field_remappings
3491
+ @field_remappings = {}
3492
+ end
3493
+ end
3494
+
3495
+ class ChargeCard < ::Stripe::StripeObject
3496
+ class BankTerms < ::Stripe::StripeObject
3497
+ # 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.
3498
+ attr_reader :date
3499
+ # The IP address from which the Account's representative accepted the terms of service.
3500
+ attr_reader :ip
3501
+ # The URL to the service agreement the Account's representative accepted.
3502
+ attr_reader :url
3503
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
3504
+ attr_reader :user_agent
3505
+
3506
+ def self.inner_class_types
3507
+ @inner_class_types = {}
3508
+ end
3509
+
3510
+ def self.field_remappings
3511
+ @field_remappings = {}
3512
+ end
3513
+ end
3514
+
3515
+ class Platform < ::Stripe::StripeObject
3516
+ # 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.
3517
+ attr_reader :date
3518
+ # The IP address from which the Account's representative accepted the terms of service.
3519
+ attr_reader :ip
3520
+ # The URL to the service agreement the Account's representative accepted.
3521
+ attr_reader :url
3522
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
3523
+ attr_reader :user_agent
3524
+
3525
+ def self.inner_class_types
3526
+ @inner_class_types = {}
3527
+ end
3528
+
3529
+ def self.field_remappings
3530
+ @field_remappings = {}
3531
+ end
3532
+ end
3533
+ # Bank terms of service acceptance for commercial issuing charge cards with Celtic as BIN sponsor.
3534
+ attr_reader :bank_terms
3535
+ # Platform terms of service acceptance for commercial issuing charge cards with Celtic as BIN sponsor.
3536
+ attr_reader :platform
3537
+
3538
+ def self.inner_class_types
3539
+ @inner_class_types = { bank_terms: BankTerms, platform: Platform }
3540
+ end
3541
+
3542
+ def self.field_remappings
3543
+ @field_remappings = {}
3544
+ end
3545
+ end
3546
+
3547
+ class SpendCard < ::Stripe::StripeObject
3548
+ class BankTerms < ::Stripe::StripeObject
3549
+ # 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.
3550
+ attr_reader :date
3551
+ # The IP address from which the Account's representative accepted the terms of service.
3552
+ attr_reader :ip
3553
+ # The URL to the service agreement the Account's representative accepted.
3554
+ attr_reader :url
3555
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
3556
+ attr_reader :user_agent
3557
+
3558
+ def self.inner_class_types
3559
+ @inner_class_types = {}
3560
+ end
3561
+
3562
+ def self.field_remappings
3563
+ @field_remappings = {}
3564
+ end
3565
+ end
3566
+
3567
+ class FinancingDisclosures < ::Stripe::StripeObject
3568
+ # 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.
3569
+ attr_reader :date
3570
+ # The IP address from which the Account's representative accepted the terms of service.
3571
+ attr_reader :ip
3572
+ # The URL to the service agreement the Account's representative accepted.
3573
+ attr_reader :url
3574
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
3575
+ attr_reader :user_agent
3576
+
3577
+ def self.inner_class_types
3578
+ @inner_class_types = {}
3579
+ end
3580
+
3581
+ def self.field_remappings
3582
+ @field_remappings = {}
3583
+ end
3584
+ end
3585
+
3586
+ class Platform < ::Stripe::StripeObject
3587
+ # 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.
3588
+ attr_reader :date
3589
+ # The IP address from which the Account's representative accepted the terms of service.
3590
+ attr_reader :ip
3591
+ # The URL to the service agreement the Account's representative accepted.
3592
+ attr_reader :url
3593
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
3594
+ attr_reader :user_agent
3595
+
3596
+ def self.inner_class_types
3597
+ @inner_class_types = {}
3598
+ end
3599
+
3600
+ def self.field_remappings
3601
+ @field_remappings = {}
3602
+ end
3603
+ end
3604
+ # Bank terms of service acceptance for commercial issuing spend cards with Celtic as BIN sponsor.
3605
+ attr_reader :bank_terms
3606
+ # Financial disclosures terms of service acceptance for commercial issuing spend cards with Celtic as BIN sponsor.
3607
+ attr_reader :financing_disclosures
3608
+ # Platform terms of service acceptance for commercial issuing spend cards with Celtic as BIN sponsor.
3609
+ attr_reader :platform
3610
+
3611
+ def self.inner_class_types
3612
+ @inner_class_types = {
3613
+ bank_terms: BankTerms,
3614
+ financing_disclosures: FinancingDisclosures,
3615
+ platform: Platform,
3616
+ }
3617
+ end
3618
+
3619
+ def self.field_remappings
3620
+ @field_remappings = {}
3621
+ end
3622
+ end
3623
+ # Terms of service acceptances for commercial issuing Apple Pay cards with Celtic as BIN sponsor.
3624
+ attr_reader :apple_pay
3625
+ # Terms of service acceptances for commercial issuing charge cards with Celtic as BIN sponsor.
3626
+ attr_reader :charge_card
3627
+ # Terms of service acceptances for commercial issuing spend cards with Celtic as BIN sponsor.
3628
+ attr_reader :spend_card
3629
+
3630
+ def self.inner_class_types
3631
+ @inner_class_types = {
3632
+ apple_pay: ApplePay,
3633
+ charge_card: ChargeCard,
3634
+ spend_card: SpendCard,
3635
+ }
3636
+ end
3637
+
3638
+ def self.field_remappings
3639
+ @field_remappings = {}
3640
+ end
3641
+ end
3642
+
3643
+ class CrossRiverBank < ::Stripe::StripeObject
3644
+ class ApplePay < ::Stripe::StripeObject
3645
+ # 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.
3646
+ attr_reader :date
3647
+ # The IP address from which the Account's representative accepted the terms of service.
3648
+ attr_reader :ip
3649
+ # The URL to the service agreement the Account's representative accepted.
3650
+ attr_reader :url
3651
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
3652
+ attr_reader :user_agent
3653
+
3654
+ def self.inner_class_types
3655
+ @inner_class_types = {}
3656
+ end
3657
+
3658
+ def self.field_remappings
3659
+ @field_remappings = {}
3660
+ end
3661
+ end
3662
+
3663
+ class ChargeCard < ::Stripe::StripeObject
3664
+ class BankTerms < ::Stripe::StripeObject
3665
+ # 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.
3666
+ attr_reader :date
3667
+ # The IP address from which the Account's representative accepted the terms of service.
3668
+ attr_reader :ip
3669
+ # The URL to the service agreement the Account's representative accepted.
3670
+ attr_reader :url
3671
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
3672
+ attr_reader :user_agent
3673
+
3674
+ def self.inner_class_types
3675
+ @inner_class_types = {}
3676
+ end
3677
+
3678
+ def self.field_remappings
3679
+ @field_remappings = {}
3680
+ end
3681
+ end
3682
+
3683
+ class FinancingDisclosures < ::Stripe::StripeObject
3684
+ # 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.
3685
+ attr_reader :date
3686
+ # The IP address from which the Account's representative accepted the terms of service.
3687
+ attr_reader :ip
3688
+ # The URL to the service agreement the Account's representative accepted.
3689
+ attr_reader :url
3690
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
3691
+ attr_reader :user_agent
3692
+
3693
+ def self.inner_class_types
3694
+ @inner_class_types = {}
3695
+ end
3696
+
3697
+ def self.field_remappings
3698
+ @field_remappings = {}
3699
+ end
3700
+ end
3701
+
3702
+ class Platform < ::Stripe::StripeObject
3703
+ # 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.
3704
+ attr_reader :date
3705
+ # The IP address from which the Account's representative accepted the terms of service.
3706
+ attr_reader :ip
3707
+ # The URL to the service agreement the Account's representative accepted.
3708
+ attr_reader :url
3709
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
3710
+ attr_reader :user_agent
3711
+
3712
+ def self.inner_class_types
3713
+ @inner_class_types = {}
3714
+ end
3715
+
3716
+ def self.field_remappings
3717
+ @field_remappings = {}
3718
+ end
3719
+ end
3720
+ # Bank terms of service acceptance for commercial issuing charge cards with Cross River Bank as BIN sponsor.
3721
+ attr_reader :bank_terms
3722
+ # Financial disclosures terms of service acceptance for commercial issuing charge cards with Cross River Bank as BIN sponsor.
3723
+ attr_reader :financing_disclosures
3724
+ # Platform terms of service acceptance for commercial issuing charge cards with Cross River Bank as BIN sponsor.
3725
+ attr_reader :platform
3726
+
3727
+ def self.inner_class_types
3728
+ @inner_class_types = {
3729
+ bank_terms: BankTerms,
3730
+ financing_disclosures: FinancingDisclosures,
3731
+ platform: Platform,
3732
+ }
3733
+ end
3734
+
3735
+ def self.field_remappings
3736
+ @field_remappings = {}
3737
+ end
3738
+ end
3739
+
3740
+ class SpendCard < ::Stripe::StripeObject
3741
+ class BankTerms < ::Stripe::StripeObject
3742
+ # 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.
3743
+ attr_reader :date
3744
+ # The IP address from which the Account's representative accepted the terms of service.
3745
+ attr_reader :ip
3746
+ # The URL to the service agreement the Account's representative accepted.
3747
+ attr_reader :url
3748
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
3749
+ attr_reader :user_agent
3750
+
3751
+ def self.inner_class_types
3752
+ @inner_class_types = {}
3753
+ end
3754
+
3755
+ def self.field_remappings
3756
+ @field_remappings = {}
3757
+ end
3758
+ end
3759
+
3760
+ class FinancingDisclosures < ::Stripe::StripeObject
3761
+ # 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.
3762
+ attr_reader :date
3763
+ # The IP address from which the Account's representative accepted the terms of service.
3764
+ attr_reader :ip
3765
+ # The URL to the service agreement the Account's representative accepted.
3766
+ attr_reader :url
3767
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
3768
+ attr_reader :user_agent
3769
+
3770
+ def self.inner_class_types
3771
+ @inner_class_types = {}
3772
+ end
3773
+
3774
+ def self.field_remappings
3775
+ @field_remappings = {}
3776
+ end
3777
+ end
3778
+ # Bank terms of service acceptance for commercial issuing spend cards with Cross River Bank as BIN sponsor.
3779
+ attr_reader :bank_terms
3780
+ # Financial disclosures terms of service acceptance for commercial issuing spend cards with Cross River Bank as BIN sponsor.
3781
+ attr_reader :financing_disclosures
3782
+
3783
+ def self.inner_class_types
3784
+ @inner_class_types = {
3785
+ bank_terms: BankTerms,
3786
+ financing_disclosures: FinancingDisclosures,
3787
+ }
3788
+ end
3789
+
3790
+ def self.field_remappings
3791
+ @field_remappings = {}
3792
+ end
3793
+ end
3794
+ # Terms of service acceptances for commercial issuing Apple Pay cards with Cross River Bank as BIN sponsor.
3795
+ attr_reader :apple_pay
3796
+ # Terms of service acceptances for commercial issuing charge cards with Cross River Bank as BIN sponsor.
3797
+ attr_reader :charge_card
3798
+ # Terms of service acceptances for commercial issuing spend cards with Cross River Bank as BIN sponsor.
3799
+ attr_reader :spend_card
3800
+
3801
+ def self.inner_class_types
3802
+ @inner_class_types = {
3803
+ apple_pay: ApplePay,
3804
+ charge_card: ChargeCard,
3805
+ spend_card: SpendCard,
3806
+ }
3807
+ end
3808
+
3809
+ def self.field_remappings
3810
+ @field_remappings = {}
3811
+ end
3812
+ end
3813
+
3814
+ class GlobalAccountHolder < ::Stripe::StripeObject
3815
+ # 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.
3816
+ attr_reader :date
3817
+ # The IP address from which the Account's representative accepted the terms of service.
3818
+ attr_reader :ip
3819
+ # The URL to the service agreement the Account's representative accepted.
3820
+ attr_reader :url
3821
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
3822
+ attr_reader :user_agent
3823
+
3824
+ def self.inner_class_types
3825
+ @inner_class_types = {}
3826
+ end
3827
+
3828
+ def self.field_remappings
3829
+ @field_remappings = {}
3830
+ end
3831
+ end
3832
+
3833
+ class Lead < ::Stripe::StripeObject
3834
+ class ApplePay < ::Stripe::StripeObject
3835
+ # 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.
3836
+ attr_reader :date
3837
+ # The IP address from which the Account's representative accepted the terms of service.
3838
+ attr_reader :ip
3839
+ # The URL to the service agreement the Account's representative accepted.
3840
+ attr_reader :url
3841
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
3842
+ attr_reader :user_agent
3843
+
3844
+ def self.inner_class_types
3845
+ @inner_class_types = {}
3846
+ end
3847
+
3848
+ def self.field_remappings
3849
+ @field_remappings = {}
3850
+ end
3851
+ end
3852
+
3853
+ class PrepaidCard < ::Stripe::StripeObject
3854
+ class BankTerms < ::Stripe::StripeObject
3855
+ # 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.
3856
+ attr_reader :date
3857
+ # The IP address from which the Account's representative accepted the terms of service.
3858
+ attr_reader :ip
3859
+ # The URL to the service agreement the Account's representative accepted.
3860
+ attr_reader :url
3861
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
3862
+ attr_reader :user_agent
3863
+
3864
+ def self.inner_class_types
3865
+ @inner_class_types = {}
3866
+ end
3867
+
3868
+ def self.field_remappings
3869
+ @field_remappings = {}
3870
+ end
3871
+ end
3872
+
3873
+ class Platform < ::Stripe::StripeObject
3874
+ # 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.
3875
+ attr_reader :date
3876
+ # The IP address from which the Account's representative accepted the terms of service.
3877
+ attr_reader :ip
3878
+ # The URL to the service agreement the Account's representative accepted.
3879
+ attr_reader :url
3880
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
3881
+ attr_reader :user_agent
3882
+
3883
+ def self.inner_class_types
3884
+ @inner_class_types = {}
3885
+ end
3886
+
3887
+ def self.field_remappings
3888
+ @field_remappings = {}
3889
+ end
3890
+ end
3891
+ # Bank terms of service acceptance for commercial Global issuing prepaid cards with Lead as BIN sponsor.
3892
+ attr_reader :bank_terms
3893
+ # Platform terms of service acceptance for commercial Global issuing prepaid cards with Lead as BIN sponsor.
3894
+ attr_reader :platform
3895
+
3896
+ def self.inner_class_types
3897
+ @inner_class_types = { bank_terms: BankTerms, platform: Platform }
3898
+ end
3899
+
3900
+ def self.field_remappings
3901
+ @field_remappings = {}
3902
+ end
3903
+ end
3904
+ # Terms of service acceptances for commercial issuing Apple Pay cards with Celtic as BIN sponsor.
3905
+ attr_reader :apple_pay
3906
+ # Terms of service acceptances for commercial issuing Global prepaid cards with Lead as BIN sponsor.
3907
+ attr_reader :prepaid_card
3908
+
3909
+ def self.inner_class_types
3910
+ @inner_class_types = { apple_pay: ApplePay, prepaid_card: PrepaidCard }
3911
+ end
3912
+
3913
+ def self.field_remappings
3914
+ @field_remappings = {}
3915
+ end
3916
+ end
3917
+ # Terms of service acceptances for Stripe commercial card issuing.
3918
+ attr_reader :account_holder
3919
+ # Terms of service acceptances for commercial issuing cards with Celtic as BIN sponsor.
3920
+ attr_reader :celtic
3921
+ # Terms of service acceptances for commercial issuing cards with Cross River Bank as BIN sponsor.
3922
+ attr_reader :cross_river_bank
3923
+ # Terms of service acceptances for Stripe commercial card Global issuing.
3924
+ attr_reader :global_account_holder
3925
+ # Terms of service acceptances for commercial issuing cards with Lead as BIN sponsor.
3926
+ attr_reader :lead
3927
+
3928
+ def self.inner_class_types
3929
+ @inner_class_types = {
3930
+ account_holder: AccountHolder,
3931
+ celtic: Celtic,
3932
+ cross_river_bank: CrossRiverBank,
3933
+ global_account_holder: GlobalAccountHolder,
3934
+ lead: Lead,
3935
+ }
3936
+ end
3937
+
3938
+ def self.field_remappings
3939
+ @field_remappings = {}
3940
+ end
3941
+ end
3942
+ # Terms of service acceptances to create cards for commercial issuing use cases.
3943
+ attr_reader :commercial
3944
+
3945
+ def self.inner_class_types
3946
+ @inner_class_types = { commercial: Commercial }
3947
+ end
3948
+
3949
+ def self.field_remappings
3950
+ @field_remappings = {}
3951
+ end
3952
+ end
3953
+
3954
+ class CryptoStorer < ::Stripe::StripeObject
3955
+ # 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.
3956
+ attr_reader :date
3957
+ # The IP address from which the Account's representative accepted the terms of service.
3958
+ attr_reader :ip
3959
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
3960
+ attr_reader :user_agent
3961
+
3962
+ def self.inner_class_types
3963
+ @inner_class_types = {}
3964
+ end
3965
+
3966
+ def self.field_remappings
3967
+ @field_remappings = {}
3968
+ end
3969
+ end
3970
+
3971
+ class Storer < ::Stripe::StripeObject
3972
+ # 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.
3973
+ attr_reader :date
3974
+ # The IP address from which the Account's representative accepted the terms of service.
3975
+ attr_reader :ip
3976
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
3977
+ attr_reader :user_agent
3978
+
3979
+ def self.inner_class_types
3980
+ @inner_class_types = {}
3981
+ end
3982
+
3983
+ def self.field_remappings
3984
+ @field_remappings = {}
3985
+ end
3986
+ end
2370
3987
  # Details on the Account's acceptance of the [Stripe Services Agreement](https://docs.stripe.com/connect/updating-accounts#tos-acceptance).
2371
3988
  attr_reader :account
3989
+ # Details on the Account's acceptance of Issuing-specific terms of service.
3990
+ attr_reader :card_creator
3991
+ # Details on the Account's acceptance of Crypto-storer-specific terms of service.
3992
+ attr_reader :crypto_storer
3993
+ # Details on the Account's acceptance of Treasury-specific terms of service.
3994
+ attr_reader :storer
2372
3995
 
2373
3996
  def self.inner_class_types
2374
- @inner_class_types = { account: Account }
3997
+ @inner_class_types = {
3998
+ account: Account,
3999
+ card_creator: CardCreator,
4000
+ crypto_storer: CryptoStorer,
4001
+ storer: Storer,
4002
+ }
2375
4003
  end
2376
4004
 
2377
4005
  def self.field_remappings
@@ -2813,6 +4441,8 @@ module Stripe
2813
4441
  attr_reader :address
2814
4442
  # The business gross annual revenue for its preceding fiscal year.
2815
4443
  attr_reader :annual_revenue
4444
+ # A detailed description of the business's compliance and anti-money laundering controls and practices.
4445
+ attr_reader :compliance_screening_description
2816
4446
  # Documents that may be submitted to satisfy various informational requests.
2817
4447
  attr_reader :documents
2818
4448
  # Estimated maximum number of workers currently engaged by the business (including employees, contractors, and vendors).