stripe 18.1.0.pre.beta.1 → 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 (721) hide show
  1. checksums.yaml +4 -4
  2. data/lib/data/ca-certificates.crt +682 -518
  3. data/lib/stripe/api_requestor.rb +2 -0
  4. data/lib/stripe/api_version.rb +1 -1
  5. data/lib/stripe/errors.rb +3 -0
  6. data/lib/stripe/event_types.rb +360 -0
  7. data/lib/stripe/events/v2_billing_cadence_billed_event.rb +61 -0
  8. data/lib/stripe/events/v2_billing_cadence_canceled_event.rb +44 -0
  9. data/lib/stripe/events/v2_billing_cadence_created_event.rb +61 -0
  10. data/lib/stripe/events/v2_billing_license_fee_created_event.rb +44 -0
  11. data/lib/stripe/events/v2_billing_license_fee_updated_event.rb +44 -0
  12. data/lib/stripe/events/v2_billing_license_fee_version_created_event.rb +61 -0
  13. data/lib/stripe/events/v2_billing_licensed_item_created_event.rb +44 -0
  14. data/lib/stripe/events/v2_billing_licensed_item_updated_event.rb +44 -0
  15. data/lib/stripe/events/v2_billing_metered_item_created_event.rb +44 -0
  16. data/lib/stripe/events/v2_billing_metered_item_updated_event.rb +44 -0
  17. data/lib/stripe/events/v2_billing_pricing_plan_component_created_event.rb +61 -0
  18. data/lib/stripe/events/v2_billing_pricing_plan_component_updated_event.rb +61 -0
  19. data/lib/stripe/events/v2_billing_pricing_plan_created_event.rb +44 -0
  20. data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_awaiting_customer_action_event.rb +44 -0
  21. data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_current_event.rb +44 -0
  22. data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_past_due_event.rb +44 -0
  23. data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_paused_event.rb +44 -0
  24. data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_unpaid_event.rb +44 -0
  25. data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_activated_event.rb +44 -0
  26. data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_canceled_event.rb +44 -0
  27. data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_paused_event.rb +44 -0
  28. data/lib/stripe/events/v2_billing_pricing_plan_updated_event.rb +44 -0
  29. data/lib/stripe/events/v2_billing_pricing_plan_version_created_event.rb +61 -0
  30. data/lib/stripe/events/v2_billing_rate_card_created_event.rb +61 -0
  31. data/lib/stripe/events/v2_billing_rate_card_rate_created_event.rb +67 -0
  32. data/lib/stripe/events/v2_billing_rate_card_subscription_activated_event.rb +44 -0
  33. data/lib/stripe/events/v2_billing_rate_card_subscription_canceled_event.rb +44 -0
  34. data/lib/stripe/events/v2_billing_rate_card_subscription_collection_awaiting_customer_action_event.rb +44 -0
  35. data/lib/stripe/events/v2_billing_rate_card_subscription_collection_current_event.rb +44 -0
  36. data/lib/stripe/events/v2_billing_rate_card_subscription_collection_past_due_event.rb +44 -0
  37. data/lib/stripe/events/v2_billing_rate_card_subscription_collection_paused_event.rb +44 -0
  38. data/lib/stripe/events/v2_billing_rate_card_subscription_collection_unpaid_event.rb +44 -0
  39. data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_activated_event.rb +44 -0
  40. data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_canceled_event.rb +44 -0
  41. data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_paused_event.rb +44 -0
  42. data/lib/stripe/events/v2_billing_rate_card_updated_event.rb +44 -0
  43. data/lib/stripe/events/v2_billing_rate_card_version_created_event.rb +61 -0
  44. data/lib/stripe/events/v2_core_account_including_configuration_card_creator_capability_status_updated_event.rb +63 -0
  45. data/lib/stripe/events/v2_core_account_including_configuration_card_creator_updated_event.rb +44 -0
  46. data/lib/stripe/events/v2_core_claimable_sandbox_claimed_event.rb +44 -0
  47. data/lib/stripe/events/v2_core_claimable_sandbox_created_event.rb +44 -0
  48. data/lib/stripe/events/v2_core_claimable_sandbox_expired_event.rb +44 -0
  49. data/lib/stripe/events/v2_core_claimable_sandbox_expiring_event.rb +44 -0
  50. data/lib/stripe/events/v2_core_claimable_sandbox_sandbox_details_owner_account_updated_event.rb +44 -0
  51. data/lib/stripe/events/v2_core_health_api_error_firing_event.rb +86 -0
  52. data/lib/stripe/events/v2_core_health_api_error_resolved_event.rb +86 -0
  53. data/lib/stripe/events/v2_core_health_api_latency_firing_event.rb +84 -0
  54. data/lib/stripe/events/v2_core_health_api_latency_resolved_event.rb +84 -0
  55. data/lib/stripe/events/v2_core_health_authorization_rate_drop_firing_event.rb +80 -0
  56. data/lib/stripe/events/v2_core_health_authorization_rate_drop_resolved_event.rb +80 -0
  57. data/lib/stripe/events/v2_core_health_fraud_rate_increased_event.rb +78 -0
  58. data/lib/stripe/events/v2_core_health_issuing_authorization_request_errors_firing_event.rb +91 -0
  59. data/lib/stripe/events/v2_core_health_issuing_authorization_request_errors_resolved_event.rb +93 -0
  60. data/lib/stripe/events/v2_core_health_issuing_authorization_request_timeout_firing_event.rb +93 -0
  61. data/lib/stripe/events/v2_core_health_issuing_authorization_request_timeout_resolved_event.rb +93 -0
  62. data/lib/stripe/events/v2_core_health_payment_method_error_firing_event.rb +82 -0
  63. data/lib/stripe/events/v2_core_health_payment_method_error_resolved_event.rb +82 -0
  64. data/lib/stripe/events/v2_core_health_sepa_debit_delayed_firing_event.rb +58 -0
  65. data/lib/stripe/events/v2_core_health_sepa_debit_delayed_resolved_event.rb +60 -0
  66. data/lib/stripe/events/v2_core_health_traffic_volume_drop_firing_event.rb +62 -0
  67. data/lib/stripe/events/v2_core_health_traffic_volume_drop_resolved_event.rb +62 -0
  68. data/lib/stripe/events/v2_core_health_webhook_latency_firing_event.rb +58 -0
  69. data/lib/stripe/events/v2_core_health_webhook_latency_resolved_event.rb +58 -0
  70. data/lib/stripe/events/v2_iam_api_key_created_event.rb +20 -0
  71. data/lib/stripe/events/v2_iam_api_key_default_secret_revealed_event.rb +20 -0
  72. data/lib/stripe/events/v2_iam_api_key_expired_event.rb +20 -0
  73. data/lib/stripe/events/v2_iam_api_key_permissions_updated_event.rb +20 -0
  74. data/lib/stripe/events/v2_iam_api_key_rotated_event.rb +38 -0
  75. data/lib/stripe/events/v2_iam_api_key_updated_event.rb +20 -0
  76. data/lib/stripe/events/v2_money_management_payout_method_created_event.rb +44 -0
  77. data/lib/stripe/events/v2_money_management_recipient_verification_created_event.rb +44 -0
  78. data/lib/stripe/events/v2_money_management_recipient_verification_updated_event.rb +44 -0
  79. data/lib/stripe/events/v2_payments_off_session_payment_attempt_failed_event.rb +44 -0
  80. data/lib/stripe/events/v2_payments_off_session_payment_attempt_started_event.rb +46 -0
  81. data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_failed_event.rb +46 -0
  82. data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_started_event.rb +48 -0
  83. data/lib/stripe/events/v2_payments_off_session_payment_canceled_event.rb +44 -0
  84. data/lib/stripe/events/v2_payments_off_session_payment_created_event.rb +44 -0
  85. data/lib/stripe/events/v2_payments_off_session_payment_failed_event.rb +44 -0
  86. data/lib/stripe/events/v2_payments_off_session_payment_requires_capture_event.rb +44 -0
  87. data/lib/stripe/events/v2_payments_off_session_payment_succeeded_event.rb +44 -0
  88. data/lib/stripe/events/v2_payments_settlement_allocation_intent_canceled_event.rb +44 -0
  89. data/lib/stripe/events/v2_payments_settlement_allocation_intent_created_event.rb +44 -0
  90. data/lib/stripe/events/v2_payments_settlement_allocation_intent_errored_event.rb +65 -0
  91. data/lib/stripe/events/v2_payments_settlement_allocation_intent_funds_not_received_event.rb +44 -0
  92. data/lib/stripe/events/v2_payments_settlement_allocation_intent_matched_event.rb +44 -0
  93. data/lib/stripe/events/v2_payments_settlement_allocation_intent_not_found_event.rb +38 -0
  94. data/lib/stripe/events/v2_payments_settlement_allocation_intent_settled_event.rb +44 -0
  95. data/lib/stripe/events/v2_payments_settlement_allocation_intent_split_canceled_event.rb +61 -0
  96. data/lib/stripe/events/v2_payments_settlement_allocation_intent_split_created_event.rb +61 -0
  97. data/lib/stripe/events/v2_payments_settlement_allocation_intent_split_settled_event.rb +61 -0
  98. data/lib/stripe/events/v2_payments_settlement_allocation_intent_submitted_event.rb +44 -0
  99. data/lib/stripe/events/v2_reporting_report_run_created_event.rb +44 -0
  100. data/lib/stripe/events/v2_reporting_report_run_failed_event.rb +44 -0
  101. data/lib/stripe/events/v2_reporting_report_run_succeeded_event.rb +44 -0
  102. data/lib/stripe/events/v2_reporting_report_run_updated_event.rb +44 -0
  103. data/lib/stripe/object_types.rb +40 -0
  104. data/lib/stripe/params/account_create_params.rb +82 -28
  105. data/lib/stripe/params/account_external_account_create_params.rb +2 -2
  106. data/lib/stripe/params/account_external_account_update_params.rb +2 -2
  107. data/lib/stripe/params/account_notice_update_params.rb +1 -1
  108. data/lib/stripe/params/account_person_create_params.rb +42 -10
  109. data/lib/stripe/params/account_person_update_params.rb +42 -10
  110. data/lib/stripe/params/account_session_create_params.rb +17 -0
  111. data/lib/stripe/params/account_update_params.rb +81 -27
  112. data/lib/stripe/params/application_fee_refund_create_params.rb +1 -1
  113. data/lib/stripe/params/application_fee_refund_update_params.rb +1 -1
  114. data/lib/stripe/params/balance_transfer_create_params.rb +66 -0
  115. data/lib/stripe/params/billing/alert_create_params.rb +121 -1
  116. data/lib/stripe/params/billing/alert_list_params.rb +4 -0
  117. data/lib/stripe/params/billing/analytics/meter_usage_retrieve_params.rb +5 -1
  118. data/lib/stripe/params/billing/credit_balance_summary_retrieve_params.rb +15 -3
  119. data/lib/stripe/params/billing/credit_balance_transaction_list_params.rb +2 -2
  120. data/lib/stripe/params/billing/credit_grant_create_params.rb +31 -4
  121. data/lib/stripe/params/billing/credit_grant_list_params.rb +1 -1
  122. data/lib/stripe/params/billing/meter_create_params.rb +4 -0
  123. data/lib/stripe/params/billing/meter_event_create_params.rb +1 -1
  124. data/lib/stripe/params/billing/meter_event_summary_list_params.rb +8 -0
  125. data/lib/stripe/params/billing_portal/configuration_create_params.rb +7 -3
  126. data/lib/stripe/params/billing_portal/configuration_update_params.rb +7 -3
  127. data/lib/stripe/params/billing_portal/session_create_params.rb +7 -7
  128. data/lib/stripe/params/capital/financing_offer_create_params.rb +37 -0
  129. data/lib/stripe/params/capital/financing_offer_refill_params.rb +37 -0
  130. data/lib/stripe/params/charge_capture_params.rb +9 -9
  131. data/lib/stripe/params/charge_create_params.rb +12 -12
  132. data/lib/stripe/params/charge_search_params.rb +1 -1
  133. data/lib/stripe/params/charge_update_params.rb +10 -10
  134. data/lib/stripe/params/checkout/session_create_params.rb +133 -42
  135. data/lib/stripe/params/checkout/session_update_params.rb +27 -15
  136. data/lib/stripe/params/climate/order_create_params.rb +1 -1
  137. data/lib/stripe/params/climate/order_update_params.rb +1 -1
  138. data/lib/stripe/params/confirmation_token_create_params.rb +6 -6
  139. data/lib/stripe/params/coupon_create_params.rb +1 -1
  140. data/lib/stripe/params/coupon_update_params.rb +1 -1
  141. data/lib/stripe/params/credit_note_create_params.rb +1 -1
  142. data/lib/stripe/params/credit_note_list_params.rb +1 -1
  143. data/lib/stripe/params/credit_note_list_preview_line_items_params.rb +1 -1
  144. data/lib/stripe/params/credit_note_preview_lines_list_params.rb +1 -1
  145. data/lib/stripe/params/credit_note_preview_params.rb +1 -1
  146. data/lib/stripe/params/credit_note_update_params.rb +1 -1
  147. data/lib/stripe/params/customer_balance_transaction_create_params.rb +2 -2
  148. data/lib/stripe/params/customer_balance_transaction_list_params.rb +11 -1
  149. data/lib/stripe/params/customer_balance_transaction_update_params.rb +1 -1
  150. data/lib/stripe/params/customer_cash_balance_update_params.rb +1 -1
  151. data/lib/stripe/params/customer_create_params.rb +5 -5
  152. data/lib/stripe/params/customer_fund_cash_balance_params.rb +2 -2
  153. data/lib/stripe/params/customer_payment_source_create_params.rb +2 -2
  154. data/lib/stripe/params/customer_payment_source_update_params.rb +2 -2
  155. data/lib/stripe/params/customer_search_params.rb +1 -1
  156. data/lib/stripe/params/customer_update_params.rb +7 -7
  157. data/lib/stripe/params/delegated_checkout/requested_session_confirm_params.rb +138 -0
  158. data/lib/stripe/params/delegated_checkout/requested_session_create_params.rb +205 -0
  159. data/lib/stripe/params/delegated_checkout/requested_session_expire_params.rb +15 -0
  160. data/lib/stripe/params/delegated_checkout/requested_session_retrieve_params.rb +15 -0
  161. data/lib/stripe/params/delegated_checkout/requested_session_update_params.rb +209 -0
  162. data/lib/stripe/params/dispute_update_params.rb +3 -3
  163. data/lib/stripe/params/external_account_create_params.rb +2 -2
  164. data/lib/stripe/params/external_account_update_params.rb +2 -2
  165. data/lib/stripe/params/file_create_params.rb +3 -3
  166. data/lib/stripe/params/file_link_create_params.rb +1 -1
  167. data/lib/stripe/params/file_link_update_params.rb +1 -1
  168. data/lib/stripe/params/financial_connections/account_list_params.rb +3 -3
  169. data/lib/stripe/params/financial_connections/session_create_params.rb +3 -3
  170. data/lib/stripe/params/forwarding/request_create_params.rb +1 -1
  171. data/lib/stripe/params/identity/blocklist_entry_create_params.rb +29 -0
  172. data/lib/stripe/params/identity/blocklist_entry_disable_params.rb +15 -0
  173. data/lib/stripe/params/identity/blocklist_entry_list_params.rb +62 -0
  174. data/lib/stripe/params/identity/blocklist_entry_retrieve_params.rb +15 -0
  175. data/lib/stripe/params/identity/verification_report_list_params.rb +4 -0
  176. data/lib/stripe/params/identity/verification_session_create_params.rb +6 -6
  177. data/lib/stripe/params/identity/verification_session_list_params.rb +3 -3
  178. data/lib/stripe/params/identity/verification_session_update_params.rb +5 -5
  179. data/lib/stripe/params/invoice_add_lines_params.rb +21 -9
  180. data/lib/stripe/params/invoice_attach_payment_params.rb +1 -1
  181. data/lib/stripe/params/invoice_create_params.rb +37 -13
  182. data/lib/stripe/params/invoice_create_preview_params.rb +158 -39
  183. data/lib/stripe/params/invoice_finalize_invoice_params.rb +1 -1
  184. data/lib/stripe/params/invoice_item_create_params.rb +8 -8
  185. data/lib/stripe/params/invoice_item_list_params.rb +2 -2
  186. data/lib/stripe/params/invoice_item_update_params.rb +6 -6
  187. data/lib/stripe/params/invoice_line_item_update_params.rb +20 -8
  188. data/lib/stripe/params/invoice_list_params.rb +6 -2
  189. data/lib/stripe/params/invoice_remove_lines_params.rb +1 -1
  190. data/lib/stripe/params/invoice_search_params.rb +1 -1
  191. data/lib/stripe/params/invoice_update_lines_params.rb +21 -9
  192. data/lib/stripe/params/invoice_update_params.rb +34 -10
  193. data/lib/stripe/params/issuing/authorization_approve_params.rb +2 -2
  194. data/lib/stripe/params/issuing/authorization_capture_params.rb +1 -1
  195. data/lib/stripe/params/issuing/authorization_create_params.rb +5 -5
  196. data/lib/stripe/params/issuing/authorization_decline_params.rb +1 -1
  197. data/lib/stripe/params/issuing/authorization_finalize_amount_params.rb +1 -1
  198. data/lib/stripe/params/issuing/authorization_increment_params.rb +2 -2
  199. data/lib/stripe/params/issuing/authorization_reverse_params.rb +1 -1
  200. data/lib/stripe/params/issuing/authorization_update_params.rb +1 -1
  201. data/lib/stripe/params/issuing/card_create_params.rb +7 -7
  202. data/lib/stripe/params/issuing/card_list_params.rb +34 -1
  203. data/lib/stripe/params/issuing/card_update_params.rb +6 -6
  204. data/lib/stripe/params/issuing/cardholder_create_params.rb +11 -11
  205. data/lib/stripe/params/issuing/cardholder_update_params.rb +10 -10
  206. data/lib/stripe/params/issuing/credit_underwriting_record_correct_params.rb +5 -5
  207. data/lib/stripe/params/issuing/credit_underwriting_record_create_from_application_params.rb +1 -1
  208. data/lib/stripe/params/issuing/credit_underwriting_record_create_from_proactive_review_params.rb +5 -5
  209. data/lib/stripe/params/issuing/credit_underwriting_record_report_decision_params.rb +4 -4
  210. data/lib/stripe/params/issuing/dispute_create_params.rb +2 -2
  211. data/lib/stripe/params/issuing/dispute_submit_params.rb +1 -1
  212. data/lib/stripe/params/issuing/dispute_update_params.rb +2 -2
  213. data/lib/stripe/params/issuing/personalization_design_create_params.rb +1 -1
  214. data/lib/stripe/params/issuing/personalization_design_update_params.rb +1 -1
  215. data/lib/stripe/params/issuing/program_create_params.rb +21 -0
  216. data/lib/stripe/params/issuing/program_list_params.rb +24 -0
  217. data/lib/stripe/params/issuing/program_retrieve_params.rb +15 -0
  218. data/lib/stripe/params/issuing/program_update_params.rb +21 -0
  219. data/lib/stripe/params/issuing/transaction_create_force_capture_params.rb +2 -2
  220. data/lib/stripe/params/issuing/transaction_create_unlinked_refund_params.rb +2 -2
  221. data/lib/stripe/params/issuing/transaction_refund_params.rb +1 -1
  222. data/lib/stripe/params/issuing/transaction_update_params.rb +1 -1
  223. data/lib/stripe/params/mandate_list_params.rb +1 -1
  224. data/lib/stripe/params/margin_create_params.rb +1 -1
  225. data/lib/stripe/params/margin_update_params.rb +1 -1
  226. data/lib/stripe/params/order_create_params.rb +12 -12
  227. data/lib/stripe/params/order_update_params.rb +12 -12
  228. data/lib/stripe/params/payment_intent_apply_customer_balance_params.rb +1 -1
  229. data/lib/stripe/params/payment_intent_capture_params.rb +18 -18
  230. data/lib/stripe/params/payment_intent_confirm_params.rb +77 -39
  231. data/lib/stripe/params/payment_intent_create_params.rb +105 -54
  232. data/lib/stripe/params/payment_intent_decrement_authorization_params.rb +4 -4
  233. data/lib/stripe/params/payment_intent_increment_authorization_params.rb +10 -10
  234. data/lib/stripe/params/payment_intent_list_params.rb +1 -1
  235. data/lib/stripe/params/payment_intent_search_params.rb +1 -1
  236. data/lib/stripe/params/payment_intent_update_params.rb +74 -40
  237. data/lib/stripe/params/payment_link_create_params.rb +32 -20
  238. data/lib/stripe/params/payment_link_update_params.rb +9 -9
  239. data/lib/stripe/params/payment_method_attach_params.rb +1 -1
  240. data/lib/stripe/params/payment_method_check_balance_params.rb +13 -0
  241. data/lib/stripe/params/payment_method_configuration_create_params.rb +40 -40
  242. data/lib/stripe/params/payment_method_configuration_update_params.rb +40 -40
  243. data/lib/stripe/params/payment_method_create_params.rb +4 -4
  244. data/lib/stripe/params/payment_method_update_params.rb +2 -2
  245. data/lib/stripe/params/payment_record_report_payment_attempt_informational_params.rb +2 -2
  246. data/lib/stripe/params/payment_record_report_payment_attempt_params.rb +3 -3
  247. data/lib/stripe/params/payment_record_report_payment_params.rb +4 -4
  248. data/lib/stripe/params/payment_record_report_refund_params.rb +3 -3
  249. data/lib/stripe/params/payout_create_params.rb +1 -1
  250. data/lib/stripe/params/payout_reverse_params.rb +1 -1
  251. data/lib/stripe/params/payout_update_params.rb +1 -1
  252. data/lib/stripe/params/plan_create_params.rb +4 -4
  253. data/lib/stripe/params/plan_update_params.rb +2 -2
  254. data/lib/stripe/params/price_create_params.rb +6 -6
  255. data/lib/stripe/params/price_search_params.rb +1 -1
  256. data/lib/stripe/params/price_update_params.rb +3 -3
  257. data/lib/stripe/params/product_catalog/trial_offer_create_params.rb +60 -0
  258. data/lib/stripe/params/product_create_params.rb +21 -8
  259. data/lib/stripe/params/product_feature_create_params.rb +1 -1
  260. data/lib/stripe/params/product_list_params.rb +1 -1
  261. data/lib/stripe/params/product_search_params.rb +1 -1
  262. data/lib/stripe/params/product_update_params.rb +18 -5
  263. data/lib/stripe/params/promotion_code_create_params.rb +3 -3
  264. data/lib/stripe/params/promotion_code_list_params.rb +1 -1
  265. data/lib/stripe/params/promotion_code_update_params.rb +1 -1
  266. data/lib/stripe/params/quote_create_params.rb +231 -11
  267. data/lib/stripe/params/quote_list_params.rb +2 -2
  268. data/lib/stripe/params/quote_update_params.rb +231 -11
  269. data/lib/stripe/params/radar/account_evaluation_create_params.rb +81 -0
  270. data/lib/stripe/params/radar/account_evaluation_retrieve_params.rb +15 -0
  271. data/lib/stripe/params/radar/account_evaluation_update_params.rb +18 -0
  272. data/lib/stripe/params/radar/value_list_create_params.rb +1 -1
  273. data/lib/stripe/params/radar/value_list_update_params.rb +1 -1
  274. data/lib/stripe/params/refund_create_params.rb +2 -2
  275. data/lib/stripe/params/refund_update_params.rb +1 -1
  276. data/lib/stripe/params/reporting/report_run_create_params.rb +2 -2
  277. data/lib/stripe/params/setup_intent_confirm_params.rb +35 -6
  278. data/lib/stripe/params/setup_intent_create_params.rb +41 -12
  279. data/lib/stripe/params/setup_intent_update_params.rb +38 -9
  280. data/lib/stripe/params/shared_payment/granted_token_create_params.rb +47 -0
  281. data/lib/stripe/params/shared_payment/granted_token_retrieve_params.rb +15 -0
  282. data/lib/stripe/params/shared_payment/granted_token_update_params.rb +15 -0
  283. data/lib/stripe/params/shipping_rate_create_params.rb +2 -2
  284. data/lib/stripe/params/shipping_rate_update_params.rb +1 -1
  285. data/lib/stripe/params/source_create_params.rb +3 -3
  286. data/lib/stripe/params/source_update_params.rb +3 -3
  287. data/lib/stripe/params/subscription_create_params.rb +62 -22
  288. data/lib/stripe/params/subscription_item_create_params.rb +26 -10
  289. data/lib/stripe/params/subscription_item_delete_params.rb +2 -2
  290. data/lib/stripe/params/subscription_item_update_params.rb +26 -10
  291. data/lib/stripe/params/subscription_list_params.rb +3 -3
  292. data/lib/stripe/params/subscription_resume_params.rb +2 -2
  293. data/lib/stripe/params/subscription_schedule_amend_params.rb +42 -3
  294. data/lib/stripe/params/subscription_schedule_create_params.rb +85 -17
  295. data/lib/stripe/params/subscription_schedule_update_params.rb +85 -17
  296. data/lib/stripe/params/subscription_search_params.rb +1 -1
  297. data/lib/stripe/params/subscription_update_params.rb +60 -20
  298. data/lib/stripe/params/tax/association_find_params.rb +1 -1
  299. data/lib/stripe/params/tax/calculation_create_params.rb +7 -7
  300. data/lib/stripe/params/tax/settings_update_params.rb +1 -1
  301. data/lib/stripe/params/tax/transaction_create_from_calculation_params.rb +1 -1
  302. data/lib/stripe/params/tax/transaction_create_reversal_params.rb +9 -9
  303. data/lib/stripe/params/tax_id_create_params.rb +2 -2
  304. data/lib/stripe/params/tax_id_list_params.rb +2 -2
  305. data/lib/stripe/params/tax_rate_create_params.rb +1 -1
  306. data/lib/stripe/params/tax_rate_update_params.rb +1 -1
  307. data/lib/stripe/params/terminal/location_create_params.rb +2 -2
  308. data/lib/stripe/params/terminal/location_update_params.rb +2 -2
  309. data/lib/stripe/params/terminal/reader_collect_inputs_params.rb +1 -1
  310. data/lib/stripe/params/terminal/reader_create_params.rb +1 -1
  311. data/lib/stripe/params/terminal/reader_refund_payment_params.rb +1 -1
  312. data/lib/stripe/params/terminal/reader_set_reader_display_params.rb +3 -3
  313. data/lib/stripe/params/terminal/reader_update_params.rb +1 -1
  314. data/lib/stripe/params/test_helpers/capital/financing_offer_create_params.rb +39 -0
  315. data/lib/stripe/params/test_helpers/capital/financing_offer_refill_params.rb +39 -0
  316. data/lib/stripe/params/test_helpers/confirmation_token_create_params.rb +6 -6
  317. data/lib/stripe/params/test_helpers/customer_fund_cash_balance_params.rb +2 -2
  318. data/lib/stripe/params/test_helpers/issuing/authorization_capture_params.rb +1 -1
  319. data/lib/stripe/params/test_helpers/issuing/authorization_create_params.rb +5 -5
  320. data/lib/stripe/params/test_helpers/issuing/authorization_finalize_amount_params.rb +1 -1
  321. data/lib/stripe/params/test_helpers/issuing/authorization_increment_params.rb +2 -2
  322. data/lib/stripe/params/test_helpers/issuing/authorization_reverse_params.rb +1 -1
  323. data/lib/stripe/params/test_helpers/issuing/transaction_create_force_capture_params.rb +2 -2
  324. data/lib/stripe/params/test_helpers/issuing/transaction_create_unlinked_refund_params.rb +2 -2
  325. data/lib/stripe/params/test_helpers/issuing/transaction_refund_params.rb +1 -1
  326. data/lib/stripe/params/test_helpers/shared_payment/granted_token_create_params.rb +49 -0
  327. data/lib/stripe/params/test_helpers/shared_payment/granted_token_update_params.rb +17 -0
  328. data/lib/stripe/params/test_helpers/treasury/received_credit_create_params.rb +1 -1
  329. data/lib/stripe/params/test_helpers/treasury/received_debit_create_params.rb +1 -1
  330. data/lib/stripe/params/token_create_params.rb +86 -22
  331. data/lib/stripe/params/topup_create_params.rb +2 -2
  332. data/lib/stripe/params/topup_update_params.rb +1 -1
  333. data/lib/stripe/params/transfer_create_params.rb +7 -3
  334. data/lib/stripe/params/transfer_reversal_create_params.rb +1 -1
  335. data/lib/stripe/params/transfer_reversal_update_params.rb +1 -1
  336. data/lib/stripe/params/transfer_update_params.rb +1 -1
  337. data/lib/stripe/params/treasury/credit_reversal_create_params.rb +1 -1
  338. data/lib/stripe/params/treasury/debit_reversal_create_params.rb +1 -1
  339. data/lib/stripe/params/treasury/financial_account_create_params.rb +1 -1
  340. data/lib/stripe/params/treasury/financial_account_update_params.rb +1 -1
  341. data/lib/stripe/params/treasury/inbound_transfer_create_params.rb +2 -2
  342. data/lib/stripe/params/treasury/outbound_payment_create_params.rb +5 -5
  343. data/lib/stripe/params/treasury/outbound_transfer_create_params.rb +3 -3
  344. data/lib/stripe/params/treasury/received_credit_create_params.rb +1 -1
  345. data/lib/stripe/params/treasury/received_debit_create_params.rb +1 -1
  346. data/lib/stripe/params/v2/billing/cadence_cancel_params.rb +8 -1
  347. data/lib/stripe/params/v2/billing/cadence_create_params.rb +4 -0
  348. data/lib/stripe/params/v2/billing/cadence_update_params.rb +4 -1
  349. data/lib/stripe/params/v2/billing/custom_pricing_unit_create_params.rb +26 -0
  350. data/lib/stripe/params/v2/billing/custom_pricing_unit_list_params.rb +24 -0
  351. data/lib/stripe/params/v2/billing/custom_pricing_unit_retrieve_params.rb +10 -0
  352. data/lib/stripe/params/v2/billing/custom_pricing_unit_update_params.rb +26 -0
  353. data/lib/stripe/params/v2/billing/intent_cancel_params.rb +10 -0
  354. data/lib/stripe/params/v2/billing/intent_commit_params.rb +17 -0
  355. data/lib/stripe/params/v2/billing/intent_create_params.rb +425 -0
  356. data/lib/stripe/params/v2/billing/intent_list_params.rb +17 -0
  357. data/lib/stripe/params/v2/billing/intent_release_reservation_params.rb +10 -0
  358. data/lib/stripe/params/v2/billing/intent_reserve_params.rb +10 -0
  359. data/lib/stripe/params/v2/billing/intent_retrieve_params.rb +10 -0
  360. data/lib/stripe/params/v2/billing/intents/action_list_params.rb +19 -0
  361. data/lib/stripe/params/v2/billing/intents/action_retrieve_params.rb +12 -0
  362. data/lib/stripe/params/v2/billing/license_fee_create_params.rb +103 -0
  363. data/lib/stripe/params/v2/billing/license_fee_list_params.rb +24 -0
  364. data/lib/stripe/params/v2/billing/license_fee_retrieve_params.rb +10 -0
  365. data/lib/stripe/params/v2/billing/license_fee_subscription_retrieve_params.rb +10 -0
  366. data/lib/stripe/params/v2/billing/license_fee_update_params.rb +84 -0
  367. data/lib/stripe/params/v2/billing/license_fees/version_list_params.rb +19 -0
  368. data/lib/stripe/params/v2/billing/license_fees/version_retrieve_params.rb +12 -0
  369. data/lib/stripe/params/v2/billing/licensed_item_create_params.rb +48 -0
  370. data/lib/stripe/params/v2/billing/licensed_item_list_params.rb +21 -0
  371. data/lib/stripe/params/v2/billing/licensed_item_retrieve_params.rb +10 -0
  372. data/lib/stripe/params/v2/billing/licensed_item_update_params.rb +48 -0
  373. data/lib/stripe/params/v2/billing/metered_item_create_params.rb +73 -0
  374. data/lib/stripe/params/v2/billing/metered_item_list_params.rb +21 -0
  375. data/lib/stripe/params/v2/billing/metered_item_retrieve_params.rb +10 -0
  376. data/lib/stripe/params/v2/billing/metered_item_update_params.rb +50 -0
  377. data/lib/stripe/params/v2/billing/pricing_plan_create_params.rb +39 -0
  378. data/lib/stripe/params/v2/billing/pricing_plan_list_params.rb +24 -0
  379. data/lib/stripe/params/v2/billing/pricing_plan_retrieve_params.rb +10 -0
  380. data/lib/stripe/params/v2/billing/pricing_plan_subscription_list_params.rb +50 -0
  381. data/lib/stripe/params/v2/billing/pricing_plan_subscription_retrieve_params.rb +10 -0
  382. data/lib/stripe/params/v2/billing/pricing_plan_subscription_update_params.rb +20 -0
  383. data/lib/stripe/params/v2/billing/pricing_plan_subscriptions/component_retrieve_params.rb +12 -0
  384. data/lib/stripe/params/v2/billing/pricing_plan_update_params.rb +39 -0
  385. data/lib/stripe/params/v2/billing/pricing_plans/component_create_params.rb +73 -0
  386. data/lib/stripe/params/v2/billing/pricing_plans/component_delete_params.rb +12 -0
  387. data/lib/stripe/params/v2/billing/pricing_plans/component_list_params.rb +27 -0
  388. data/lib/stripe/params/v2/billing/pricing_plans/component_retrieve_params.rb +12 -0
  389. data/lib/stripe/params/v2/billing/pricing_plans/component_update_params.rb +22 -0
  390. data/lib/stripe/params/v2/billing/pricing_plans/version_list_params.rb +19 -0
  391. data/lib/stripe/params/v2/billing/pricing_plans/version_retrieve_params.rb +12 -0
  392. data/lib/stripe/params/v2/billing/rate_card_create_params.rb +49 -0
  393. data/lib/stripe/params/v2/billing/rate_card_list_params.rb +24 -0
  394. data/lib/stripe/params/v2/billing/rate_card_retrieve_params.rb +10 -0
  395. data/lib/stripe/params/v2/billing/rate_card_subscription_cancel_params.rb +10 -0
  396. data/lib/stripe/params/v2/billing/rate_card_subscription_create_params.rb +26 -0
  397. data/lib/stripe/params/v2/billing/rate_card_subscription_list_params.rb +51 -0
  398. data/lib/stripe/params/v2/billing/rate_card_subscription_retrieve_params.rb +10 -0
  399. data/lib/stripe/params/v2/billing/rate_card_subscription_update_params.rb +17 -0
  400. data/lib/stripe/params/v2/billing/rate_card_update_params.rb +38 -0
  401. data/lib/stripe/params/v2/billing/rate_cards/rate_create_params.rb +91 -0
  402. data/lib/stripe/params/v2/billing/rate_cards/rate_delete_params.rb +12 -0
  403. data/lib/stripe/params/v2/billing/rate_cards/rate_list_params.rb +25 -0
  404. data/lib/stripe/params/v2/billing/rate_cards/rate_retrieve_params.rb +12 -0
  405. data/lib/stripe/params/v2/billing/rate_cards/version_list_params.rb +19 -0
  406. data/lib/stripe/params/v2/billing/rate_cards/version_retrieve_params.rb +12 -0
  407. data/lib/stripe/params/v2/billing/service_action_create_params.rb +278 -0
  408. data/lib/stripe/params/v2/billing/service_action_retrieve_params.rb +10 -0
  409. data/lib/stripe/params/v2/billing/service_action_update_params.rb +40 -0
  410. data/lib/stripe/params/v2/core/account_create_params.rb +758 -29
  411. data/lib/stripe/params/v2/core/account_link_create_params.rb +5 -5
  412. data/lib/stripe/params/v2/core/account_token_create_params.rb +267 -9
  413. data/lib/stripe/params/v2/core/account_update_params.rb +750 -35
  414. data/lib/stripe/params/v2/core/accounts/person_create_params.rb +5 -5
  415. data/lib/stripe/params/v2/core/accounts/person_token_create_params.rb +5 -5
  416. data/lib/stripe/params/v2/core/accounts/person_update_params.rb +5 -5
  417. data/lib/stripe/params/v2/core/claimable_sandbox_create_params.rb +36 -0
  418. data/lib/stripe/params/v2/core/claimable_sandbox_retrieve_params.rb +10 -0
  419. data/lib/stripe/params/v2/core/event_list_params.rb +4 -1
  420. data/lib/stripe/params/v2/core/event_retrieve_params.rb +8 -1
  421. data/lib/stripe/params/v2/iam/api_key_create_params.rb +51 -0
  422. data/lib/stripe/params/v2/iam/api_key_expire_params.rb +10 -0
  423. data/lib/stripe/params/v2/iam/api_key_list_params.rb +20 -0
  424. data/lib/stripe/params/v2/iam/api_key_retrieve_params.rb +10 -0
  425. data/lib/stripe/params/v2/iam/api_key_rotate_params.rb +46 -0
  426. data/lib/stripe/params/v2/iam/api_key_update_params.rb +20 -0
  427. data/lib/stripe/params/v2/money_management/currency_conversion_create_params.rb +68 -0
  428. data/lib/stripe/params/v2/money_management/currency_conversion_list_params.rb +20 -0
  429. data/lib/stripe/params/v2/money_management/currency_conversion_retrieve_params.rb +10 -0
  430. data/lib/stripe/params/v2/money_management/financial_account_list_params.rb +4 -1
  431. data/lib/stripe/params/v2/money_management/financial_address_create_params.rb +12 -1
  432. data/lib/stripe/params/v2/money_management/inbound_transfer_create_params.rb +12 -0
  433. data/lib/stripe/params/v2/money_management/outbound_payment_create_params.rb +20 -1
  434. data/lib/stripe/params/v2/money_management/outbound_payment_quote_create_params.rb +16 -1
  435. data/lib/stripe/params/v2/money_management/outbound_setup_intent_create_params.rb +19 -1
  436. data/lib/stripe/params/v2/money_management/outbound_transfer_create_params.rb +16 -0
  437. data/lib/stripe/params/v2/money_management/recipient_verification_acknowledge_params.rb +10 -0
  438. data/lib/stripe/params/v2/money_management/recipient_verification_create_params.rb +20 -0
  439. data/lib/stripe/params/v2/money_management/recipient_verification_retrieve_params.rb +10 -0
  440. data/lib/stripe/params/v2/payments/off_session_payment_cancel_params.rb +10 -0
  441. data/lib/stripe/params/v2/payments/off_session_payment_capture_params.rb +57 -0
  442. data/lib/stripe/params/v2/payments/off_session_payment_create_params.rb +161 -0
  443. data/lib/stripe/params/v2/payments/off_session_payment_list_params.rb +17 -0
  444. data/lib/stripe/params/v2/payments/off_session_payment_retrieve_params.rb +10 -0
  445. data/lib/stripe/params/v2/payments/settlement_allocation_intent_cancel_params.rb +10 -0
  446. data/lib/stripe/params/v2/payments/settlement_allocation_intent_create_params.rb +46 -0
  447. data/lib/stripe/params/v2/payments/settlement_allocation_intent_retrieve_params.rb +10 -0
  448. data/lib/stripe/params/v2/payments/settlement_allocation_intent_submit_params.rb +10 -0
  449. data/lib/stripe/params/v2/payments/settlement_allocation_intent_update_params.rb +31 -0
  450. data/lib/stripe/params/v2/payments/settlement_allocation_intents/split_cancel_params.rb +12 -0
  451. data/lib/stripe/params/v2/payments/settlement_allocation_intents/split_create_params.rb +39 -0
  452. data/lib/stripe/params/v2/payments/settlement_allocation_intents/split_retrieve_params.rb +12 -0
  453. data/lib/stripe/params/v2/reporting/report_retrieve_params.rb +10 -0
  454. data/lib/stripe/params/v2/reporting/report_run_create_params.rb +33 -0
  455. data/lib/stripe/params/v2/reporting/report_run_retrieve_params.rb +10 -0
  456. data/lib/stripe/params/v2/tax/manual_rule_create_params.rb +94 -0
  457. data/lib/stripe/params/v2/tax/manual_rule_deactivate_params.rb +10 -0
  458. data/lib/stripe/params/v2/tax/manual_rule_list_params.rb +17 -0
  459. data/lib/stripe/params/v2/tax/manual_rule_retrieve_params.rb +10 -0
  460. data/lib/stripe/params/v2/tax/manual_rule_update_params.rb +94 -0
  461. data/lib/stripe/params/v2/test_helpers/financial_address_credit_params.rb +11 -0
  462. data/lib/stripe/params/v2/test_helpers/money_management_recipient_verifications_params.rb +24 -0
  463. data/lib/stripe/params/webhook_endpoint_create_params.rb +1 -1
  464. data/lib/stripe/params/webhook_endpoint_update_params.rb +1 -1
  465. data/lib/stripe/params.rb +125 -0
  466. data/lib/stripe/resources/account.rb +27 -27
  467. data/lib/stripe/resources/account_link.rb +1 -1
  468. data/lib/stripe/resources/account_notice.rb +6 -6
  469. data/lib/stripe/resources/account_session.rb +29 -2
  470. data/lib/stripe/resources/application_fee.rb +2 -0
  471. data/lib/stripe/resources/application_fee_refund.rb +2 -2
  472. data/lib/stripe/resources/apps/secret.rb +1 -1
  473. data/lib/stripe/resources/balance.rb +85 -2
  474. data/lib/stripe/resources/balance_settings.rb +1 -1
  475. data/lib/stripe/resources/balance_transaction.rb +1 -1
  476. data/lib/stripe/resources/balance_transfer.rb +139 -0
  477. data/lib/stripe/resources/bank_account.rb +10 -10
  478. data/lib/stripe/resources/billing/alert.rb +106 -2
  479. data/lib/stripe/resources/billing/alert_triggered.rb +6 -0
  480. data/lib/stripe/resources/billing/analytics/meter_usage_row.rb +2 -0
  481. data/lib/stripe/resources/billing/credit_balance_summary.rb +84 -2
  482. data/lib/stripe/resources/billing/credit_balance_transaction.rb +84 -2
  483. data/lib/stripe/resources/billing/credit_grant.rb +60 -4
  484. data/lib/stripe/resources/billing/meter.rb +2 -0
  485. data/lib/stripe/resources/billing/meter_event.rb +1 -1
  486. data/lib/stripe/resources/billing/meter_event_summary.rb +2 -0
  487. data/lib/stripe/resources/billing_portal/configuration.rb +5 -3
  488. data/lib/stripe/resources/billing_portal/session.rb +6 -6
  489. data/lib/stripe/resources/capability.rb +16 -16
  490. data/lib/stripe/resources/capital/financing_offer.rb +43 -2
  491. data/lib/stripe/resources/capital/financing_summary.rb +7 -4
  492. data/lib/stripe/resources/card.rb +20 -3
  493. data/lib/stripe/resources/cash_balance.rb +2 -2
  494. data/lib/stripe/resources/charge.rb +65 -35
  495. data/lib/stripe/resources/checkout/session.rb +111 -19
  496. data/lib/stripe/resources/climate/order.rb +1 -1
  497. data/lib/stripe/resources/confirmation_token.rb +29 -11
  498. data/lib/stripe/resources/coupon.rb +3 -3
  499. data/lib/stripe/resources/credit_note.rb +5 -5
  500. data/lib/stripe/resources/credit_note_line_item.rb +1 -1
  501. data/lib/stripe/resources/customer.rb +8 -8
  502. data/lib/stripe/resources/customer_balance_transaction.rb +6 -6
  503. data/lib/stripe/resources/customer_cash_balance_transaction.rb +10 -10
  504. data/lib/stripe/resources/delegated_checkout/requested_session.rb +479 -0
  505. data/lib/stripe/resources/discount.rb +5 -3
  506. data/lib/stripe/resources/dispute.rb +5 -5
  507. data/lib/stripe/resources/entitlements/active_entitlement.rb +1 -1
  508. data/lib/stripe/resources/event.rb +1 -1
  509. data/lib/stripe/resources/exchange_rate.rb +2 -2
  510. data/lib/stripe/resources/file.rb +4 -4
  511. data/lib/stripe/resources/file_link.rb +1 -1
  512. data/lib/stripe/resources/financial_connections/account.rb +3 -3
  513. data/lib/stripe/resources/financial_connections/session.rb +2 -2
  514. data/lib/stripe/resources/forwarding/request.rb +1 -1
  515. data/lib/stripe/resources/funding_instructions.rb +14 -14
  516. data/lib/stripe/resources/identity/blocklist_entry.rb +116 -0
  517. data/lib/stripe/resources/identity/verification_report.rb +13 -9
  518. data/lib/stripe/resources/identity/verification_session.rb +11 -11
  519. data/lib/stripe/resources/invoice.rb +79 -31
  520. data/lib/stripe/resources/invoice_item.rb +112 -8
  521. data/lib/stripe/resources/invoice_line_item.rb +111 -5
  522. data/lib/stripe/resources/invoice_payment.rb +1 -1
  523. data/lib/stripe/resources/invoice_rendering_template.rb +1 -1
  524. data/lib/stripe/resources/issuing/authorization.rb +20 -20
  525. data/lib/stripe/resources/issuing/card.rb +16 -12
  526. data/lib/stripe/resources/issuing/cardholder.rb +14 -14
  527. data/lib/stripe/resources/issuing/credit_underwriting_record.rb +5 -5
  528. data/lib/stripe/resources/issuing/dispute.rb +7 -7
  529. data/lib/stripe/resources/issuing/fraud_liability_debit.rb +1 -1
  530. data/lib/stripe/resources/issuing/personalization_design.rb +1 -1
  531. data/lib/stripe/resources/issuing/program.rb +69 -0
  532. data/lib/stripe/resources/issuing/settlement.rb +2 -2
  533. data/lib/stripe/resources/issuing/token.rb +1 -1
  534. data/lib/stripe/resources/issuing/transaction.rb +13 -13
  535. data/lib/stripe/resources/line_item.rb +3 -3
  536. data/lib/stripe/resources/login_link.rb +1 -1
  537. data/lib/stripe/resources/margin.rb +1 -1
  538. data/lib/stripe/resources/order.rb +13 -13
  539. data/lib/stripe/resources/payment_attempt_record.rb +80 -22
  540. data/lib/stripe/resources/payment_intent.rb +161 -58
  541. data/lib/stripe/resources/payment_intent_amount_details_line_item.rb +3 -3
  542. data/lib/stripe/resources/payment_link.rb +7 -7
  543. data/lib/stripe/resources/payment_method.rb +51 -13
  544. data/lib/stripe/resources/payment_method_balance.rb +68 -0
  545. data/lib/stripe/resources/payment_method_configuration.rb +4 -4
  546. data/lib/stripe/resources/payment_method_domain.rb +1 -1
  547. data/lib/stripe/resources/payment_record.rb +82 -22
  548. data/lib/stripe/resources/payout.rb +7 -7
  549. data/lib/stripe/resources/person.rb +59 -23
  550. data/lib/stripe/resources/plan.rb +5 -5
  551. data/lib/stripe/resources/price.rb +6 -6
  552. data/lib/stripe/resources/product.rb +9 -9
  553. data/lib/stripe/resources/product_catalog/trial_offer.rb +101 -0
  554. data/lib/stripe/resources/promotion_code.rb +4 -4
  555. data/lib/stripe/resources/quote.rb +253 -16
  556. data/lib/stripe/resources/quote_line.rb +9 -3
  557. data/lib/stripe/resources/quote_preview_invoice.rb +77 -29
  558. data/lib/stripe/resources/quote_preview_subscription_schedule.rb +102 -8
  559. data/lib/stripe/resources/radar/account_evaluation.rb +116 -0
  560. data/lib/stripe/resources/radar/early_fraud_warning.rb +1 -1
  561. data/lib/stripe/resources/radar/value_list.rb +2 -2
  562. data/lib/stripe/resources/radar/value_list_item.rb +1 -1
  563. data/lib/stripe/resources/refund.rb +3 -3
  564. data/lib/stripe/resources/reporting/report_run.rb +3 -3
  565. data/lib/stripe/resources/reporting/report_type.rb +3 -3
  566. data/lib/stripe/resources/reversal.rb +4 -4
  567. data/lib/stripe/resources/review.rb +1 -1
  568. data/lib/stripe/resources/setup_attempt.rb +17 -17
  569. data/lib/stripe/resources/setup_intent.rb +59 -19
  570. data/lib/stripe/resources/shared_payment/granted_token.rb +126 -0
  571. data/lib/stripe/resources/shipping_rate.rb +3 -3
  572. data/lib/stripe/resources/sigma/scheduled_query_run.rb +1 -1
  573. data/lib/stripe/resources/source.rb +8 -8
  574. data/lib/stripe/resources/source_mandate_notification.rb +3 -3
  575. data/lib/stripe/resources/subscription.rb +66 -15
  576. data/lib/stripe/resources/subscription_item.rb +31 -8
  577. data/lib/stripe/resources/subscription_schedule.rb +103 -9
  578. data/lib/stripe/resources/tax/association.rb +3 -3
  579. data/lib/stripe/resources/tax/calculation.rb +12 -12
  580. data/lib/stripe/resources/tax/calculation_line_item.rb +7 -7
  581. data/lib/stripe/resources/tax/registration.rb +3 -3
  582. data/lib/stripe/resources/tax/settings.rb +2 -2
  583. data/lib/stripe/resources/tax/transaction.rb +9 -9
  584. data/lib/stripe/resources/tax/transaction_line_item.rb +5 -5
  585. data/lib/stripe/resources/tax_id.rb +4 -4
  586. data/lib/stripe/resources/tax_rate.rb +1 -1
  587. data/lib/stripe/resources/terminal/connection_token.rb +1 -1
  588. data/lib/stripe/resources/terminal/location.rb +3 -3
  589. data/lib/stripe/resources/terminal/reader.rb +10 -10
  590. data/lib/stripe/resources/token.rb +4 -4
  591. data/lib/stripe/resources/topup.rb +3 -3
  592. data/lib/stripe/resources/transfer.rb +9 -5
  593. data/lib/stripe/resources/transit_balance.rb +45 -0
  594. data/lib/stripe/resources/treasury/credit_reversal.rb +3 -3
  595. data/lib/stripe/resources/treasury/debit_reversal.rb +3 -3
  596. data/lib/stripe/resources/treasury/financial_account.rb +1 -1
  597. data/lib/stripe/resources/treasury/inbound_transfer.rb +5 -5
  598. data/lib/stripe/resources/treasury/outbound_payment.rb +6 -6
  599. data/lib/stripe/resources/treasury/outbound_transfer.rb +5 -5
  600. data/lib/stripe/resources/treasury/received_credit.rb +10 -10
  601. data/lib/stripe/resources/treasury/received_debit.rb +7 -7
  602. data/lib/stripe/resources/treasury/transaction.rb +11 -11
  603. data/lib/stripe/resources/treasury/transaction_entry.rb +11 -11
  604. data/lib/stripe/resources/v2/billing/cadence.rb +46 -0
  605. data/lib/stripe/resources/v2/billing/custom_pricing_unit.rb +43 -0
  606. data/lib/stripe/resources/v2/billing/intent.rb +86 -0
  607. data/lib/stripe/resources/v2/billing/intent_action.rb +483 -0
  608. data/lib/stripe/resources/v2/billing/license_fee.rb +104 -0
  609. data/lib/stripe/resources/v2/billing/license_fee_subscription.rb +44 -0
  610. data/lib/stripe/resources/v2/billing/license_fee_version.rb +80 -0
  611. data/lib/stripe/resources/v2/billing/licensed_item.rb +60 -0
  612. data/lib/stripe/resources/v2/billing/metered_item.rb +85 -0
  613. data/lib/stripe/resources/v2/billing/pricing_plan.rb +51 -0
  614. data/lib/stripe/resources/v2/billing/pricing_plan_component.rb +94 -0
  615. data/lib/stripe/resources/v2/billing/pricing_plan_subscription.rb +94 -0
  616. data/lib/stripe/resources/v2/billing/pricing_plan_subscription_components.rb +49 -0
  617. data/lib/stripe/resources/v2/billing/pricing_plan_version.rb +38 -0
  618. data/lib/stripe/resources/v2/billing/rate_card.rb +61 -0
  619. data/lib/stripe/resources/v2/billing/rate_card_rate.rb +110 -0
  620. data/lib/stripe/resources/v2/billing/rate_card_subscription.rb +94 -0
  621. data/lib/stripe/resources/v2/billing/rate_card_version.rb +34 -0
  622. data/lib/stripe/resources/v2/billing/service_action.rb +274 -0
  623. data/lib/stripe/resources/v2/core/account.rb +1227 -253
  624. data/lib/stripe/resources/v2/core/account_link.rb +11 -11
  625. data/lib/stripe/resources/v2/core/account_person.rb +10 -10
  626. data/lib/stripe/resources/v2/core/claimable_sandbox.rb +105 -0
  627. data/lib/stripe/resources/v2/core/event.rb +50 -1
  628. data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +21 -1
  629. data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +23 -1
  630. data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +15 -1
  631. data/lib/stripe/resources/v2/iam/api_key.rb +129 -0
  632. data/lib/stripe/resources/v2/money_management/adjustment.rb +16 -1
  633. data/lib/stripe/resources/v2/money_management/currency_conversion.rb +94 -0
  634. data/lib/stripe/resources/v2/money_management/financial_account.rb +83 -0
  635. data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +52 -3
  636. data/lib/stripe/resources/v2/money_management/outbound_payment.rb +50 -2
  637. data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +63 -3
  638. data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +48 -2
  639. data/lib/stripe/resources/v2/money_management/payout_method.rb +49 -1
  640. data/lib/stripe/resources/v2/money_management/received_credit.rb +52 -0
  641. data/lib/stripe/resources/v2/money_management/received_debit.rb +73 -1
  642. data/lib/stripe/resources/v2/money_management/recipient_verification.rb +83 -0
  643. data/lib/stripe/resources/v2/money_management/transaction.rb +65 -1
  644. data/lib/stripe/resources/v2/money_management/transaction_entry.rb +49 -1
  645. data/lib/stripe/resources/v2/payments/off_session_payment.rb +186 -0
  646. data/lib/stripe/resources/v2/payments/settlement_allocation_intent.rb +92 -0
  647. data/lib/stripe/resources/v2/payments/settlement_allocation_intent_split.rb +78 -0
  648. data/lib/stripe/resources/v2/reporting/report.rb +116 -0
  649. data/lib/stripe/resources/v2/reporting/report_run.rb +128 -0
  650. data/lib/stripe/resources/v2/tax/manual_rule.rb +115 -0
  651. data/lib/stripe/resources/webhook_endpoint.rb +1 -1
  652. data/lib/stripe/resources.rb +133 -0
  653. data/lib/stripe/services/balance_transfer_service.rb +17 -0
  654. data/lib/stripe/services/capital/financing_summary_service.rb +1 -1
  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/identity/blocklist_entry_service.rb +71 -0
  658. data/lib/stripe/services/identity_service.rb +2 -1
  659. data/lib/stripe/services/issuing/program_service.rb +52 -0
  660. data/lib/stripe/services/issuing_service.rb +2 -1
  661. data/lib/stripe/services/payment_method_service.rb +12 -1
  662. data/lib/stripe/services/product_catalog/trial_offer_service.rb +19 -0
  663. data/lib/stripe/services/product_catalog_service.rb +13 -0
  664. data/lib/stripe/services/radar/account_evaluation_service.rb +41 -0
  665. data/lib/stripe/services/radar_service.rb +2 -1
  666. data/lib/stripe/services/shared_payment/granted_token_service.rb +19 -0
  667. data/lib/stripe/services/shared_payment_service.rb +13 -0
  668. data/lib/stripe/services/test_helpers/capital/financing_offer_service.rb +32 -0
  669. data/lib/stripe/services/test_helpers/capital_service.rb +15 -0
  670. data/lib/stripe/services/test_helpers/shared_payment/granted_token_service.rb +32 -0
  671. data/lib/stripe/services/test_helpers/shared_payment_service.rb +15 -0
  672. data/lib/stripe/services/test_helpers_service.rb +3 -1
  673. data/lib/stripe/services/v1_services.rb +5 -1
  674. data/lib/stripe/services/v2/billing/custom_pricing_unit_service.rb +54 -0
  675. data/lib/stripe/services/v2/billing/intent_service.rb +94 -0
  676. data/lib/stripe/services/v2/billing/intents/action_service.rb +34 -0
  677. data/lib/stripe/services/v2/billing/license_fee_service.rb +61 -0
  678. data/lib/stripe/services/v2/billing/license_fee_subscription_service.rb +21 -0
  679. data/lib/stripe/services/v2/billing/license_fees/version_service.rb +34 -0
  680. data/lib/stripe/services/v2/billing/licensed_item_service.rb +54 -0
  681. data/lib/stripe/services/v2/billing/metered_item_service.rb +54 -0
  682. data/lib/stripe/services/v2/billing/pricing_plan_service.rb +62 -0
  683. data/lib/stripe/services/v2/billing/pricing_plan_subscription_service.rb +51 -0
  684. data/lib/stripe/services/v2/billing/pricing_plan_subscriptions/component_service.rb +23 -0
  685. data/lib/stripe/services/v2/billing/pricing_plans/component_service.rb +67 -0
  686. data/lib/stripe/services/v2/billing/pricing_plans/version_service.rb +34 -0
  687. data/lib/stripe/services/v2/billing/rate_card_service.rb +62 -0
  688. data/lib/stripe/services/v2/billing/rate_card_subscription_service.rb +65 -0
  689. data/lib/stripe/services/v2/billing/rate_cards/rate_service.rb +57 -0
  690. data/lib/stripe/services/v2/billing/rate_cards/version_service.rb +34 -0
  691. data/lib/stripe/services/v2/billing/service_action_service.rb +43 -0
  692. data/lib/stripe/services/v2/billing_service.rb +14 -1
  693. data/lib/stripe/services/v2/core/account_link_service.rb +1 -1
  694. data/lib/stripe/services/v2/core/account_service.rb +0 -4
  695. data/lib/stripe/services/v2/core/accounts/person_service.rb +2 -2
  696. data/lib/stripe/services/v2/core/claimable_sandbox_service.rb +35 -0
  697. data/lib/stripe/services/v2/core_service.rb +2 -1
  698. data/lib/stripe/services/v2/iam/api_key_service.rb +76 -0
  699. data/lib/stripe/services/v2/iam_service.rb +15 -0
  700. data/lib/stripe/services/v2/money_management/currency_conversion_service.rb +45 -0
  701. data/lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb +2 -0
  702. data/lib/stripe/services/v2/money_management/payout_method_service.rb +2 -0
  703. data/lib/stripe/services/v2/money_management/recipient_verification_service.rb +43 -0
  704. data/lib/stripe/services/v2/money_management_service.rb +5 -1
  705. data/lib/stripe/services/v2/payment_service.rb +17 -0
  706. data/lib/stripe/services/v2/payments/off_session_payment_service.rb +65 -0
  707. data/lib/stripe/services/v2/payments/settlement_allocation_intent_service.rb +72 -0
  708. data/lib/stripe/services/v2/payments/settlement_allocation_intents/split_service.rb +45 -0
  709. data/lib/stripe/services/v2/reporting/report_run_service.rb +38 -0
  710. data/lib/stripe/services/v2/reporting/report_service.rb +23 -0
  711. data/lib/stripe/services/v2/reporting_service.rb +16 -0
  712. data/lib/stripe/services/v2/tax/manual_rule_service.rb +65 -0
  713. data/lib/stripe/services/v2/tax_service.rb +15 -0
  714. data/lib/stripe/services/v2/test_helper_service.rb +2 -1
  715. data/lib/stripe/services/v2/test_helpers/money_management_service.rb +21 -0
  716. data/lib/stripe/services/v2_services.rb +5 -1
  717. data/lib/stripe/services.rb +47 -0
  718. data/lib/stripe/stripe_object.rb +30 -1
  719. data/lib/stripe/version.rb +1 -1
  720. data/rbi/stripe.rbi +24028 -3406
  721. metadata +307 -2
@@ -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
@@ -28,13 +334,13 @@ module Stripe
28
334
  @field_remappings = {}
29
335
  end
30
336
  end
31
- # Describes the customer's tax exemption status, which is `none`, `exempt`, or `reverse`. When set to reverse, invoice and receipt PDFs include the following text: “Reverse charge”.
337
+ # The customer account's tax exemption status: `none`, `exempt`, or `reverse`. When `reverse`, invoice and receipt PDFs include "Reverse charge".
32
338
  attr_reader :exempt
33
339
  # A recent IP address of the customer used for tax reporting and tax location inference.
34
340
  attr_reader :ip_address
35
- # The [identified](https://docs.stripe.com/tax/customer-locations#address-hierarchy-other) tax location of the customer. Will only be rendered if the `automatic_indirect_tax` feature is requested and `active`.
341
+ # The customer account's identified tax location, derived from `location_source`. Only rendered if the `automatic_indirect_tax` feature is requested and `active`.
36
342
  attr_reader :location
37
- # The data source used to identify the customer's tax location. Will only be used for automatic tax calculation on the customer's Invoices and Subscriptions.
343
+ # Data source used to identify the customer account's tax location. Defaults to `identity_address`. Used for automatic indirect tax calculation.
38
344
  attr_reader :location_source
39
345
 
40
346
  def self.inner_class_types
@@ -64,7 +370,7 @@ module Stripe
64
370
  end
65
371
 
66
372
  class Rendering < ::Stripe::StripeObject
67
- # How line-item prices and amounts will be displayed with respect to tax on invoice PDFs. One of exclude_tax or include_inclusive_tax. include_inclusive_tax will include inclusive tax (and exclude exclusive tax) in invoice PDF amounts. exclude_tax will exclude all tax (inclusive and exclusive alike) from invoice PDF amounts.
373
+ # Indicates whether displayed line item prices and amounts on invoice PDFs include inclusive tax amounts. Must be either `include_inclusive_tax` or `exclude_tax`.
68
374
  attr_reader :amount_tax_display
69
375
  # ID of the invoice rendering template to use for future invoices.
70
376
  attr_reader :template
@@ -79,13 +385,13 @@ module Stripe
79
385
  end
80
386
  # The list of up to 4 default custom fields to be displayed on invoices for this customer. When updating, pass an empty string to remove previously-defined fields.
81
387
  attr_reader :custom_fields
82
- # Default footer to be displayed on invoices for this customer.
388
+ # Default invoice footer.
83
389
  attr_reader :footer
84
- # The sequence to be used on the customer's next invoice. Defaults to 1.
390
+ # Sequence number to use on the customer account's next invoice. Defaults to 1.
85
391
  attr_reader :next_sequence
86
- # The prefix for the customer used to generate unique invoice numbers. Must be 312 uppercase letters or numbers.
392
+ # Prefix used to generate unique invoice numbers. Must be 3-12 uppercase letters or numbers.
87
393
  attr_reader :prefix
88
- # Default options for invoice PDF rendering for this customer.
394
+ # Default invoice PDF rendering options.
89
395
  attr_reader :rendering
90
396
 
91
397
  def self.inner_class_types
@@ -96,9 +402,9 @@ module Stripe
96
402
  @field_remappings = {}
97
403
  end
98
404
  end
99
- # ID of a payment method that’s attached to the customer, to be used as the customer’s default payment method for invoices and subscriptions.
405
+ # ID of a PaymentMethod attached to the customer account to use as the default for invoices and subscriptions.
100
406
  attr_reader :default_payment_method
101
- # Default settings used on invoices for this customer.
407
+ # Default invoice settings for the customer account.
102
408
  attr_reader :invoice
103
409
 
104
410
  def self.inner_class_types
@@ -126,11 +432,9 @@ module Stripe
126
432
  @field_remappings = {}
127
433
  end
128
434
  end
129
- # Whether the Capability has been requested.
130
- attr_reader :requested
131
435
  # The status of the Capability.
132
436
  attr_reader :status
133
- # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
437
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
134
438
  attr_reader :status_details
135
439
 
136
440
  def self.inner_class_types
@@ -191,11 +495,11 @@ module Stripe
191
495
  @field_remappings = {}
192
496
  end
193
497
  end
194
- # Represents the state of the configuration, and can be updated to deactivate or re-apply a configuration.
498
+ # Indicates whether the customer configuration is active. You can deactivate or reactivate the customer 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.
195
499
  attr_reader :applied
196
- # Automatic indirect tax settings to be used when automatic tax calculation is enabled on the customer's invoices, subscriptions, checkout sessions, or payment links. Surfaces if automatic tax calculation is possible given the current customer location information.
500
+ # Settings for automatic indirect tax calculation on the customer's invoices, subscriptions, Checkout Sessions, and Payment Links. Available when automatic tax calculation is available for the customer account's location.
197
501
  attr_reader :automatic_indirect_tax
198
- # Billing settings - default settings used for this customer in Billing flows such as Invoices and Subscriptions.
502
+ # Default Billing settings for the customer account, used in Invoices and Subscriptions.
199
503
  attr_reader :billing
200
504
  # Capabilities that have been requested on the Customer Configuration.
201
505
  attr_reader :capabilities
@@ -220,9 +524,9 @@ module Stripe
220
524
 
221
525
  class Merchant < ::Stripe::StripeObject
222
526
  class BacsDebitPayments < ::Stripe::StripeObject
223
- # Display name for Bacs debit payments.
527
+ # Display name for Bacs Direct Debit payments.
224
528
  attr_reader :display_name
225
- # Service user number for Bacs debit payments.
529
+ # Service User Number (SUN) for Bacs Direct Debit payments.
226
530
  attr_reader :service_user_number
227
531
 
228
532
  def self.inner_class_types
@@ -269,11 +573,9 @@ module Stripe
269
573
  @field_remappings = {}
270
574
  end
271
575
  end
272
- # Whether the Capability has been requested.
273
- attr_reader :requested
274
576
  # The status of the Capability.
275
577
  attr_reader :status
276
- # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
578
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
277
579
  attr_reader :status_details
278
580
 
279
581
  def self.inner_class_types
@@ -300,11 +602,9 @@ module Stripe
300
602
  @field_remappings = {}
301
603
  end
302
604
  end
303
- # Whether the Capability has been requested.
304
- attr_reader :requested
305
605
  # The status of the Capability.
306
606
  attr_reader :status
307
- # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
607
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
308
608
  attr_reader :status_details
309
609
 
310
610
  def self.inner_class_types
@@ -331,11 +631,9 @@ module Stripe
331
631
  @field_remappings = {}
332
632
  end
333
633
  end
334
- # Whether the Capability has been requested.
335
- attr_reader :requested
336
634
  # The status of the Capability.
337
635
  attr_reader :status
338
- # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
636
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
339
637
  attr_reader :status_details
340
638
 
341
639
  def self.inner_class_types
@@ -362,11 +660,9 @@ module Stripe
362
660
  @field_remappings = {}
363
661
  end
364
662
  end
365
- # Whether the Capability has been requested.
366
- attr_reader :requested
367
663
  # The status of the Capability.
368
664
  attr_reader :status
369
- # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
665
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
370
666
  attr_reader :status_details
371
667
 
372
668
  def self.inner_class_types
@@ -393,11 +689,9 @@ module Stripe
393
689
  @field_remappings = {}
394
690
  end
395
691
  end
396
- # Whether the Capability has been requested.
397
- attr_reader :requested
398
692
  # The status of the Capability.
399
693
  attr_reader :status
400
- # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
694
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
401
695
  attr_reader :status_details
402
696
 
403
697
  def self.inner_class_types
@@ -424,11 +718,9 @@ module Stripe
424
718
  @field_remappings = {}
425
719
  end
426
720
  end
427
- # Whether the Capability has been requested.
428
- attr_reader :requested
429
721
  # The status of the Capability.
430
722
  attr_reader :status
431
- # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
723
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
432
724
  attr_reader :status_details
433
725
 
434
726
  def self.inner_class_types
@@ -455,11 +747,9 @@ module Stripe
455
747
  @field_remappings = {}
456
748
  end
457
749
  end
458
- # Whether the Capability has been requested.
459
- attr_reader :requested
460
750
  # The status of the Capability.
461
751
  attr_reader :status
462
- # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
752
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
463
753
  attr_reader :status_details
464
754
 
465
755
  def self.inner_class_types
@@ -486,11 +776,9 @@ module Stripe
486
776
  @field_remappings = {}
487
777
  end
488
778
  end
489
- # Whether the Capability has been requested.
490
- attr_reader :requested
491
779
  # The status of the Capability.
492
780
  attr_reader :status
493
- # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
781
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
494
782
  attr_reader :status_details
495
783
 
496
784
  def self.inner_class_types
@@ -517,11 +805,9 @@ module Stripe
517
805
  @field_remappings = {}
518
806
  end
519
807
  end
520
- # Whether the Capability has been requested.
521
- attr_reader :requested
522
808
  # The status of the Capability.
523
809
  attr_reader :status
524
- # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
810
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
525
811
  attr_reader :status_details
526
812
 
527
813
  def self.inner_class_types
@@ -548,11 +834,9 @@ module Stripe
548
834
  @field_remappings = {}
549
835
  end
550
836
  end
551
- # Whether the Capability has been requested.
552
- attr_reader :requested
553
837
  # The status of the Capability.
554
838
  attr_reader :status
555
- # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
839
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
556
840
  attr_reader :status_details
557
841
 
558
842
  def self.inner_class_types
@@ -579,11 +863,9 @@ module Stripe
579
863
  @field_remappings = {}
580
864
  end
581
865
  end
582
- # Whether the Capability has been requested.
583
- attr_reader :requested
584
866
  # The status of the Capability.
585
867
  attr_reader :status
586
- # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
868
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
587
869
  attr_reader :status_details
588
870
 
589
871
  def self.inner_class_types
@@ -610,11 +892,9 @@ module Stripe
610
892
  @field_remappings = {}
611
893
  end
612
894
  end
613
- # Whether the Capability has been requested.
614
- attr_reader :requested
615
895
  # The status of the Capability.
616
896
  attr_reader :status
617
- # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
897
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
618
898
  attr_reader :status_details
619
899
 
620
900
  def self.inner_class_types
@@ -641,11 +921,9 @@ module Stripe
641
921
  @field_remappings = {}
642
922
  end
643
923
  end
644
- # Whether the Capability has been requested.
645
- attr_reader :requested
646
924
  # The status of the Capability.
647
925
  attr_reader :status
648
- # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
926
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
649
927
  attr_reader :status_details
650
928
 
651
929
  def self.inner_class_types
@@ -672,11 +950,9 @@ module Stripe
672
950
  @field_remappings = {}
673
951
  end
674
952
  end
675
- # Whether the Capability has been requested.
676
- attr_reader :requested
677
953
  # The status of the Capability.
678
954
  attr_reader :status
679
- # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
955
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
680
956
  attr_reader :status_details
681
957
 
682
958
  def self.inner_class_types
@@ -703,11 +979,9 @@ module Stripe
703
979
  @field_remappings = {}
704
980
  end
705
981
  end
706
- # Whether the Capability has been requested.
707
- attr_reader :requested
708
982
  # The status of the Capability.
709
983
  attr_reader :status
710
- # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
984
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
711
985
  attr_reader :status_details
712
986
 
713
987
  def self.inner_class_types
@@ -734,11 +1008,9 @@ module Stripe
734
1008
  @field_remappings = {}
735
1009
  end
736
1010
  end
737
- # Whether the Capability has been requested.
738
- attr_reader :requested
739
1011
  # The status of the Capability.
740
1012
  attr_reader :status
741
- # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
1013
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
742
1014
  attr_reader :status_details
743
1015
 
744
1016
  def self.inner_class_types
@@ -765,11 +1037,9 @@ module Stripe
765
1037
  @field_remappings = {}
766
1038
  end
767
1039
  end
768
- # Whether the Capability has been requested.
769
- attr_reader :requested
770
1040
  # The status of the Capability.
771
1041
  attr_reader :status
772
- # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
1042
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
773
1043
  attr_reader :status_details
774
1044
 
775
1045
  def self.inner_class_types
@@ -796,11 +1066,9 @@ module Stripe
796
1066
  @field_remappings = {}
797
1067
  end
798
1068
  end
799
- # Whether the Capability has been requested.
800
- attr_reader :requested
801
1069
  # The status of the Capability.
802
1070
  attr_reader :status
803
- # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
1071
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
804
1072
  attr_reader :status_details
805
1073
 
806
1074
  def self.inner_class_types
@@ -827,11 +1095,9 @@ module Stripe
827
1095
  @field_remappings = {}
828
1096
  end
829
1097
  end
830
- # Whether the Capability has been requested.
831
- attr_reader :requested
832
1098
  # The status of the Capability.
833
1099
  attr_reader :status
834
- # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
1100
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
835
1101
  attr_reader :status_details
836
1102
 
837
1103
  def self.inner_class_types
@@ -858,11 +1124,9 @@ module Stripe
858
1124
  @field_remappings = {}
859
1125
  end
860
1126
  end
861
- # Whether the Capability has been requested.
862
- attr_reader :requested
863
1127
  # The status of the Capability.
864
1128
  attr_reader :status
865
- # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
1129
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
866
1130
  attr_reader :status_details
867
1131
 
868
1132
  def self.inner_class_types
@@ -889,11 +1153,9 @@ module Stripe
889
1153
  @field_remappings = {}
890
1154
  end
891
1155
  end
892
- # Whether the Capability has been requested.
893
- attr_reader :requested
894
1156
  # The status of the Capability.
895
1157
  attr_reader :status
896
- # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
1158
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
897
1159
  attr_reader :status_details
898
1160
 
899
1161
  def self.inner_class_types
@@ -920,11 +1182,9 @@ module Stripe
920
1182
  @field_remappings = {}
921
1183
  end
922
1184
  end
923
- # Whether the Capability has been requested.
924
- attr_reader :requested
925
1185
  # The status of the Capability.
926
1186
  attr_reader :status
927
- # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
1187
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
928
1188
  attr_reader :status_details
929
1189
 
930
1190
  def self.inner_class_types
@@ -951,11 +1211,9 @@ module Stripe
951
1211
  @field_remappings = {}
952
1212
  end
953
1213
  end
954
- # Whether the Capability has been requested.
955
- attr_reader :requested
956
1214
  # The status of the Capability.
957
1215
  attr_reader :status
958
- # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
1216
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
959
1217
  attr_reader :status_details
960
1218
 
961
1219
  def self.inner_class_types
@@ -982,11 +1240,9 @@ module Stripe
982
1240
  @field_remappings = {}
983
1241
  end
984
1242
  end
985
- # Whether the Capability has been requested.
986
- attr_reader :requested
987
1243
  # The status of the Capability.
988
1244
  attr_reader :status
989
- # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
1245
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
990
1246
  attr_reader :status_details
991
1247
 
992
1248
  def self.inner_class_types
@@ -1013,11 +1269,9 @@ module Stripe
1013
1269
  @field_remappings = {}
1014
1270
  end
1015
1271
  end
1016
- # Whether the Capability has been requested.
1017
- attr_reader :requested
1018
1272
  # The status of the Capability.
1019
1273
  attr_reader :status
1020
- # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
1274
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
1021
1275
  attr_reader :status_details
1022
1276
 
1023
1277
  def self.inner_class_types
@@ -1044,11 +1298,9 @@ module Stripe
1044
1298
  @field_remappings = {}
1045
1299
  end
1046
1300
  end
1047
- # Whether the Capability has been requested.
1048
- attr_reader :requested
1049
1301
  # The status of the Capability.
1050
1302
  attr_reader :status
1051
- # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
1303
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
1052
1304
  attr_reader :status_details
1053
1305
 
1054
1306
  def self.inner_class_types
@@ -1075,11 +1327,9 @@ module Stripe
1075
1327
  @field_remappings = {}
1076
1328
  end
1077
1329
  end
1078
- # Whether the Capability has been requested.
1079
- attr_reader :requested
1080
1330
  # The status of the Capability.
1081
1331
  attr_reader :status
1082
- # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
1332
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
1083
1333
  attr_reader :status_details
1084
1334
 
1085
1335
  def self.inner_class_types
@@ -1106,11 +1356,9 @@ module Stripe
1106
1356
  @field_remappings = {}
1107
1357
  end
1108
1358
  end
1109
- # Whether the Capability has been requested.
1110
- attr_reader :requested
1111
1359
  # The status of the Capability.
1112
1360
  attr_reader :status
1113
- # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
1361
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
1114
1362
  attr_reader :status_details
1115
1363
 
1116
1364
  def self.inner_class_types
@@ -1137,11 +1385,9 @@ module Stripe
1137
1385
  @field_remappings = {}
1138
1386
  end
1139
1387
  end
1140
- # Whether the Capability has been requested.
1141
- attr_reader :requested
1142
1388
  # The status of the Capability.
1143
1389
  attr_reader :status
1144
- # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
1390
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
1145
1391
  attr_reader :status_details
1146
1392
 
1147
1393
  def self.inner_class_types
@@ -1168,11 +1414,9 @@ module Stripe
1168
1414
  @field_remappings = {}
1169
1415
  end
1170
1416
  end
1171
- # Whether the Capability has been requested.
1172
- attr_reader :requested
1173
1417
  # The status of the Capability.
1174
1418
  attr_reader :status
1175
- # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
1419
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
1176
1420
  attr_reader :status_details
1177
1421
 
1178
1422
  def self.inner_class_types
@@ -1199,11 +1443,9 @@ module Stripe
1199
1443
  @field_remappings = {}
1200
1444
  end
1201
1445
  end
1202
- # Whether the Capability has been requested.
1203
- attr_reader :requested
1204
1446
  # The status of the Capability.
1205
1447
  attr_reader :status
1206
- # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
1448
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
1207
1449
  attr_reader :status_details
1208
1450
 
1209
1451
  def self.inner_class_types
@@ -1230,11 +1472,9 @@ module Stripe
1230
1472
  @field_remappings = {}
1231
1473
  end
1232
1474
  end
1233
- # Whether the Capability has been requested.
1234
- attr_reader :requested
1235
1475
  # The status of the Capability.
1236
1476
  attr_reader :status
1237
- # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
1477
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
1238
1478
  attr_reader :status_details
1239
1479
 
1240
1480
  def self.inner_class_types
@@ -1261,11 +1501,9 @@ module Stripe
1261
1501
  @field_remappings = {}
1262
1502
  end
1263
1503
  end
1264
- # Whether the Capability has been requested.
1265
- attr_reader :requested
1266
1504
  # The status of the Capability.
1267
1505
  attr_reader :status
1268
- # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
1506
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
1269
1507
  attr_reader :status_details
1270
1508
 
1271
1509
  def self.inner_class_types
@@ -1292,11 +1530,9 @@ module Stripe
1292
1530
  @field_remappings = {}
1293
1531
  end
1294
1532
  end
1295
- # Whether the Capability has been requested.
1296
- attr_reader :requested
1297
1533
  # The status of the Capability.
1298
1534
  attr_reader :status
1299
- # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
1535
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
1300
1536
  attr_reader :status_details
1301
1537
 
1302
1538
  def self.inner_class_types
@@ -1323,11 +1559,9 @@ module Stripe
1323
1559
  @field_remappings = {}
1324
1560
  end
1325
1561
  end
1326
- # Whether the Capability has been requested.
1327
- attr_reader :requested
1328
1562
  # The status of the Capability.
1329
1563
  attr_reader :status
1330
- # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
1564
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
1331
1565
  attr_reader :status_details
1332
1566
 
1333
1567
  def self.inner_class_types
@@ -1354,11 +1588,9 @@ module Stripe
1354
1588
  @field_remappings = {}
1355
1589
  end
1356
1590
  end
1357
- # Whether the Capability has been requested.
1358
- attr_reader :requested
1359
1591
  # The status of the Capability.
1360
1592
  attr_reader :status
1361
- # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
1593
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
1362
1594
  attr_reader :status_details
1363
1595
 
1364
1596
  def self.inner_class_types
@@ -1385,11 +1617,9 @@ module Stripe
1385
1617
  @field_remappings = {}
1386
1618
  end
1387
1619
  end
1388
- # Whether the Capability has been requested.
1389
- attr_reader :requested
1390
1620
  # The status of the Capability.
1391
1621
  attr_reader :status
1392
- # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
1622
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
1393
1623
  attr_reader :status_details
1394
1624
 
1395
1625
  def self.inner_class_types
@@ -1416,11 +1646,9 @@ module Stripe
1416
1646
  @field_remappings = {}
1417
1647
  end
1418
1648
  end
1419
- # Whether the Capability has been requested.
1420
- attr_reader :requested
1421
1649
  # The status of the Capability.
1422
1650
  attr_reader :status
1423
- # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
1651
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
1424
1652
  attr_reader :status_details
1425
1653
 
1426
1654
  def self.inner_class_types
@@ -1447,11 +1675,9 @@ module Stripe
1447
1675
  @field_remappings = {}
1448
1676
  end
1449
1677
  end
1450
- # Whether the Capability has been requested.
1451
- attr_reader :requested
1452
1678
  # The status of the Capability.
1453
1679
  attr_reader :status
1454
- # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
1680
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
1455
1681
  attr_reader :status_details
1456
1682
 
1457
1683
  def self.inner_class_types
@@ -1478,11 +1704,9 @@ module Stripe
1478
1704
  @field_remappings = {}
1479
1705
  end
1480
1706
  end
1481
- # Whether the Capability has been requested.
1482
- attr_reader :requested
1483
1707
  # The status of the Capability.
1484
1708
  attr_reader :status
1485
- # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
1709
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
1486
1710
  attr_reader :status_details
1487
1711
 
1488
1712
  def self.inner_class_types
@@ -1510,11 +1734,9 @@ module Stripe
1510
1734
  @field_remappings = {}
1511
1735
  end
1512
1736
  end
1513
- # Whether the Capability has been requested.
1514
- attr_reader :requested
1515
1737
  # The status of the Capability.
1516
1738
  attr_reader :status
1517
- # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
1739
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
1518
1740
  attr_reader :status_details
1519
1741
 
1520
1742
  def self.inner_class_types
@@ -1525,7 +1747,7 @@ module Stripe
1525
1747
  @field_remappings = {}
1526
1748
  end
1527
1749
  end
1528
- # Allows the account to do payouts using their Stripe Balance (/v1/balance).
1750
+ # Enables this Account to complete payouts from their Stripe Balance (/v1/balance).
1529
1751
  attr_reader :payouts
1530
1752
 
1531
1753
  def self.inner_class_types
@@ -1552,11 +1774,9 @@ module Stripe
1552
1774
  @field_remappings = {}
1553
1775
  end
1554
1776
  end
1555
- # Whether the Capability has been requested.
1556
- attr_reader :requested
1557
1777
  # The status of the Capability.
1558
1778
  attr_reader :status
1559
- # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
1779
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
1560
1780
  attr_reader :status_details
1561
1781
 
1562
1782
  def self.inner_class_types
@@ -1583,11 +1803,9 @@ module Stripe
1583
1803
  @field_remappings = {}
1584
1804
  end
1585
1805
  end
1586
- # Whether the Capability has been requested.
1587
- attr_reader :requested
1588
1806
  # The status of the Capability.
1589
1807
  attr_reader :status
1590
- # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
1808
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
1591
1809
  attr_reader :status_details
1592
1810
 
1593
1811
  def self.inner_class_types
@@ -1614,11 +1832,9 @@ module Stripe
1614
1832
  @field_remappings = {}
1615
1833
  end
1616
1834
  end
1617
- # Whether the Capability has been requested.
1618
- attr_reader :requested
1619
1835
  # The status of the Capability.
1620
1836
  attr_reader :status
1621
- # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
1837
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
1622
1838
  attr_reader :status_details
1623
1839
 
1624
1840
  def self.inner_class_types
@@ -1645,11 +1861,9 @@ module Stripe
1645
1861
  @field_remappings = {}
1646
1862
  end
1647
1863
  end
1648
- # Whether the Capability has been requested.
1649
- attr_reader :requested
1650
1864
  # The status of the Capability.
1651
1865
  attr_reader :status
1652
- # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
1866
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
1653
1867
  attr_reader :status_details
1654
1868
 
1655
1869
  def self.inner_class_types
@@ -1921,7 +2135,7 @@ module Stripe
1921
2135
  end
1922
2136
 
1923
2137
  class SepaDebitPayments < ::Stripe::StripeObject
1924
- # Creditor ID for SEPA debit payments.
2138
+ # Creditor ID for SEPA Direct Debit payments.
1925
2139
  attr_reader :creditor_id
1926
2140
 
1927
2141
  def self.inner_class_types
@@ -1962,7 +2176,7 @@ module Stripe
1962
2176
  attr_reader :postal_code
1963
2177
  # State, county, province, or region.
1964
2178
  attr_reader :state
1965
- # Town or cho-me.
2179
+ # Town or district.
1966
2180
  attr_reader :town
1967
2181
 
1968
2182
  def self.inner_class_types
@@ -1990,9 +2204,9 @@ module Stripe
1990
2204
  @field_remappings = {}
1991
2205
  end
1992
2206
  end
1993
- # Represents the state of the configuration, and can be updated to deactivate or re-apply a configuration.
2207
+ # Indicates whether the merchant configuration is active. You can deactivate or reactivate the merchant configuration by updating this property. Deactivating the configuration by setting this value to false doesn't delete the configuration's properties.
1994
2208
  attr_reader :applied
1995
- # Settings used for Bacs debit payments.
2209
+ # Settings for Bacs Direct Debit payments.
1996
2210
  attr_reader :bacs_debit_payments
1997
2211
  # Settings used to apply the merchant's branding to email receipts, invoices, Checkout, and other products.
1998
2212
  attr_reader :branding
@@ -2002,11 +2216,11 @@ module Stripe
2002
2216
  attr_reader :card_payments
2003
2217
  # Settings specific to Konbini payments on the account.
2004
2218
  attr_reader :konbini_payments
2005
- # The merchant category code for the merchant. MCCs are used to classify businesses based on the goods or services they provide.
2219
+ # The Merchant Category Code (MCC) for the merchant. MCCs classify businesses based on the goods or services they provide.
2006
2220
  attr_reader :mcc
2007
2221
  # Settings for the default text that appears on statements for language variations.
2008
2222
  attr_reader :script_statement_descriptor
2009
- # Settings used for SEPA debit payments.
2223
+ # Settings for SEPA Direct Debit payments.
2010
2224
  attr_reader :sepa_debit_payments
2011
2225
  # Statement descriptor.
2012
2226
  attr_reader :statement_descriptor
@@ -2035,6 +2249,35 @@ module Stripe
2035
2249
  class Recipient < ::Stripe::StripeObject
2036
2250
  class Capabilities < ::Stripe::StripeObject
2037
2251
  class BankAccounts < ::Stripe::StripeObject
2252
+ class Instant < ::Stripe::StripeObject
2253
+ class StatusDetail < ::Stripe::StripeObject
2254
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
2255
+ attr_reader :code
2256
+ # Machine-readable code explaining how to make the Capability active.
2257
+ attr_reader :resolution
2258
+
2259
+ def self.inner_class_types
2260
+ @inner_class_types = {}
2261
+ end
2262
+
2263
+ def self.field_remappings
2264
+ @field_remappings = {}
2265
+ end
2266
+ end
2267
+ # The status of the Capability.
2268
+ attr_reader :status
2269
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
2270
+ attr_reader :status_details
2271
+
2272
+ def self.inner_class_types
2273
+ @inner_class_types = { status_details: StatusDetail }
2274
+ end
2275
+
2276
+ def self.field_remappings
2277
+ @field_remappings = {}
2278
+ end
2279
+ end
2280
+
2038
2281
  class Local < ::Stripe::StripeObject
2039
2282
  class StatusDetail < ::Stripe::StripeObject
2040
2283
  # Machine-readable code explaining the reason for the Capability to be in its current status.
@@ -2050,11 +2293,9 @@ module Stripe
2050
2293
  @field_remappings = {}
2051
2294
  end
2052
2295
  end
2053
- # Whether the Capability has been requested.
2054
- attr_reader :requested
2055
2296
  # The status of the Capability.
2056
2297
  attr_reader :status
2057
- # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
2298
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
2058
2299
  attr_reader :status_details
2059
2300
 
2060
2301
  def self.inner_class_types
@@ -2081,11 +2322,9 @@ module Stripe
2081
2322
  @field_remappings = {}
2082
2323
  end
2083
2324
  end
2084
- # Whether the Capability has been requested.
2085
- attr_reader :requested
2086
2325
  # The status of the Capability.
2087
2326
  attr_reader :status
2088
- # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
2327
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
2089
2328
  attr_reader :status_details
2090
2329
 
2091
2330
  def self.inner_class_types
@@ -2096,13 +2335,15 @@ module Stripe
2096
2335
  @field_remappings = {}
2097
2336
  end
2098
2337
  end
2338
+ # Enables this Account to receive OutboundPayments to linked bank accounts over real time rails.
2339
+ attr_reader :instant
2099
2340
  # Enables this Account to receive OutboundPayments to linked bank accounts over local networks.
2100
2341
  attr_reader :local
2101
2342
  # Enables this Account to receive OutboundPayments to linked bank accounts over wire.
2102
2343
  attr_reader :wire
2103
2344
 
2104
2345
  def self.inner_class_types
2105
- @inner_class_types = { local: Local, wire: Wire }
2346
+ @inner_class_types = { instant: Instant, local: Local, wire: Wire }
2106
2347
  end
2107
2348
 
2108
2349
  def self.field_remappings
@@ -2125,11 +2366,38 @@ module Stripe
2125
2366
  @field_remappings = {}
2126
2367
  end
2127
2368
  end
2128
- # Whether the Capability has been requested.
2129
- attr_reader :requested
2130
2369
  # The status of the Capability.
2131
2370
  attr_reader :status
2132
- # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
2371
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
2372
+ attr_reader :status_details
2373
+
2374
+ def self.inner_class_types
2375
+ @inner_class_types = { status_details: StatusDetail }
2376
+ end
2377
+
2378
+ def self.field_remappings
2379
+ @field_remappings = {}
2380
+ end
2381
+ end
2382
+
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
2389
+
2390
+ def self.inner_class_types
2391
+ @inner_class_types = {}
2392
+ end
2393
+
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`.
2133
2401
  attr_reader :status_details
2134
2402
 
2135
2403
  def self.inner_class_types
@@ -2157,11 +2425,9 @@ module Stripe
2157
2425
  @field_remappings = {}
2158
2426
  end
2159
2427
  end
2160
- # Whether the Capability has been requested.
2161
- attr_reader :requested
2162
2428
  # The status of the Capability.
2163
2429
  attr_reader :status
2164
- # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
2430
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
2165
2431
  attr_reader :status_details
2166
2432
 
2167
2433
  def self.inner_class_types
@@ -2188,11 +2454,9 @@ module Stripe
2188
2454
  @field_remappings = {}
2189
2455
  end
2190
2456
  end
2191
- # Whether the Capability has been requested.
2192
- attr_reader :requested
2193
2457
  # The status of the Capability.
2194
2458
  attr_reader :status
2195
- # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
2459
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
2196
2460
  attr_reader :status_details
2197
2461
 
2198
2462
  def self.inner_class_types
@@ -2203,9 +2467,9 @@ module Stripe
2203
2467
  @field_remappings = {}
2204
2468
  end
2205
2469
  end
2206
- # Allows the account to do payouts using their Stripe Balance (/v1/balance).
2470
+ # Enables this Account to complete payouts from their Stripe Balance (/v1/balance).
2207
2471
  attr_reader :payouts
2208
- # Allows the account to receive /v1/transfers into their Stripe Balance (/v1/balance).
2472
+ # Enables this Account to receive /v1/transfers into their Stripe Balance (/v1/balance).
2209
2473
  attr_reader :stripe_transfers
2210
2474
 
2211
2475
  def self.inner_class_types
@@ -2218,8 +2482,10 @@ module Stripe
2218
2482
  end
2219
2483
  # Capabilities that enable OutboundPayments to a bank account linked to this Account.
2220
2484
  attr_reader :bank_accounts
2221
- # Capability that enable OutboundPayments to a debit card linked to this Account.
2485
+ # Enables this Account to receive OutboundPayments to a linked debit card.
2222
2486
  attr_reader :cards
2487
+ # Enables this Account to receive OutboundPayments to a linked crypto wallet.
2488
+ attr_reader :crypto_wallets
2223
2489
  # Capabilities that enable the recipient to manage their Stripe Balance (/v1/balance).
2224
2490
  attr_reader :stripe_balance
2225
2491
 
@@ -2227,6 +2493,7 @@ module Stripe
2227
2493
  @inner_class_types = {
2228
2494
  bank_accounts: BankAccounts,
2229
2495
  cards: Cards,
2496
+ crypto_wallets: CryptoWallets,
2230
2497
  stripe_balance: StripeBalance,
2231
2498
  }
2232
2499
  end
@@ -2250,7 +2517,7 @@ module Stripe
2250
2517
  @field_remappings = {}
2251
2518
  end
2252
2519
  end
2253
- # Represents the state of the configuration, and can be updated to deactivate or re-apply a configuration.
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.
2254
2521
  attr_reader :applied
2255
2522
  # Capabilities that have been requested on the Recipient Configuration.
2256
2523
  attr_reader :capabilities
@@ -2287,11 +2554,38 @@ module Stripe
2287
2554
  @field_remappings = {}
2288
2555
  end
2289
2556
  end
2290
- # Whether the Capability has been requested.
2291
- attr_reader :requested
2292
2557
  # The status of the Capability.
2293
2558
  attr_reader :status
2294
- # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
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`.
2295
2589
  attr_reader :status_details
2296
2590
 
2297
2591
  def self.inner_class_types
@@ -2304,9 +2598,11 @@ module Stripe
2304
2598
  end
2305
2599
  # Can provision a bank-account like financial address (VBAN) to credit/debit a FinancialAccount.
2306
2600
  attr_reader :bank_accounts
2601
+ # Can provision a crypto wallet like financial address to credit a FinancialAccount.
2602
+ attr_reader :crypto_wallets
2307
2603
 
2308
2604
  def self.inner_class_types
2309
- @inner_class_types = { bank_accounts: BankAccounts }
2605
+ @inner_class_types = { bank_accounts: BankAccounts, crypto_wallets: CryptoWallets }
2310
2606
  end
2311
2607
 
2312
2608
  def self.field_remappings
@@ -2330,11 +2626,9 @@ module Stripe
2330
2626
  @field_remappings = {}
2331
2627
  end
2332
2628
  end
2333
- # Whether the Capability has been requested.
2334
- attr_reader :requested
2335
2629
  # The status of the Capability.
2336
2630
  attr_reader :status
2337
- # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
2631
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
2338
2632
  attr_reader :status_details
2339
2633
 
2340
2634
  def self.inner_class_types
@@ -2361,11 +2655,9 @@ module Stripe
2361
2655
  @field_remappings = {}
2362
2656
  end
2363
2657
  end
2364
- # Whether the Capability has been requested.
2365
- attr_reader :requested
2366
2658
  # The status of the Capability.
2367
2659
  attr_reader :status
2368
- # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
2660
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
2369
2661
  attr_reader :status_details
2370
2662
 
2371
2663
  def self.inner_class_types
@@ -2392,11 +2684,38 @@ module Stripe
2392
2684
  @field_remappings = {}
2393
2685
  end
2394
2686
  end
2395
- # Whether the Capability has been requested.
2396
- attr_reader :requested
2397
2687
  # The status of the Capability.
2398
2688
  attr_reader :status
2399
- # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
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`.
2400
2719
  attr_reader :status_details
2401
2720
 
2402
2721
  def self.inner_class_types
@@ -2413,9 +2732,11 @@ module Stripe
2413
2732
  attr_reader :gbp
2414
2733
  # Can hold storage-type funds on Stripe in USD.
2415
2734
  attr_reader :usd
2735
+ # Can hold storage-type funds on Stripe in USDC.
2736
+ attr_reader :usdc
2416
2737
 
2417
2738
  def self.inner_class_types
2418
- @inner_class_types = { eur: Eur, gbp: Gbp, usd: Usd }
2739
+ @inner_class_types = { eur: Eur, gbp: Gbp, usd: Usd, usdc: Usdc }
2419
2740
  end
2420
2741
 
2421
2742
  def self.field_remappings
@@ -2439,11 +2760,9 @@ module Stripe
2439
2760
  @field_remappings = {}
2440
2761
  end
2441
2762
  end
2442
- # Whether the Capability has been requested.
2443
- attr_reader :requested
2444
2763
  # The status of the Capability.
2445
2764
  attr_reader :status
2446
- # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
2765
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
2447
2766
  attr_reader :status_details
2448
2767
 
2449
2768
  def self.inner_class_types
@@ -2454,7 +2773,7 @@ module Stripe
2454
2773
  @field_remappings = {}
2455
2774
  end
2456
2775
  end
2457
- # Can pull funds from an external bank account, owned by yourself, to a FinancialAccount.
2776
+ # Can pull funds into a FinancialAccount from an external bank account owned by the user.
2458
2777
  attr_reader :bank_accounts
2459
2778
 
2460
2779
  def self.inner_class_types
@@ -2482,11 +2801,9 @@ module Stripe
2482
2801
  @field_remappings = {}
2483
2802
  end
2484
2803
  end
2485
- # Whether the Capability has been requested.
2486
- attr_reader :requested
2487
2804
  # The status of the Capability.
2488
2805
  attr_reader :status
2489
- # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
2806
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
2490
2807
  attr_reader :status_details
2491
2808
 
2492
2809
  def self.inner_class_types
@@ -2513,11 +2830,38 @@ module Stripe
2513
2830
  @field_remappings = {}
2514
2831
  end
2515
2832
  end
2516
- # Whether the Capability has been requested.
2517
- attr_reader :requested
2518
2833
  # The status of the Capability.
2519
2834
  attr_reader :status
2520
- # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
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`.
2521
2865
  attr_reader :status_details
2522
2866
 
2523
2867
  def self.inner_class_types
@@ -2544,11 +2888,9 @@ module Stripe
2544
2888
  @field_remappings = {}
2545
2889
  end
2546
2890
  end
2547
- # Whether the Capability has been requested.
2548
- attr_reader :requested
2549
2891
  # The status of the Capability.
2550
2892
  attr_reader :status
2551
- # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
2893
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
2552
2894
  attr_reader :status_details
2553
2895
 
2554
2896
  def self.inner_class_types
@@ -2559,17 +2901,20 @@ module Stripe
2559
2901
  @field_remappings = {}
2560
2902
  end
2561
2903
  end
2562
- # Can send funds from a FinancialAccount to a bank account, owned by someone else.
2904
+ # Can send funds from a FinancialAccount to a bank account owned by a different entity.
2563
2905
  attr_reader :bank_accounts
2564
- # Can send funds from a FinancialAccount to a debit card, owned by someone else.
2906
+ # Can send funds from a FinancialAccount to a debit card owned by a different entity.
2565
2907
  attr_reader :cards
2566
- # Can send funds from a FinancialAccount to another FinancialAccount, owned by someone else.
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.
2567
2911
  attr_reader :financial_accounts
2568
2912
 
2569
2913
  def self.inner_class_types
2570
2914
  @inner_class_types = {
2571
2915
  bank_accounts: BankAccounts,
2572
2916
  cards: Cards,
2917
+ crypto_wallets: CryptoWallets,
2573
2918
  financial_accounts: FinancialAccounts,
2574
2919
  }
2575
2920
  end
@@ -2595,11 +2940,38 @@ module Stripe
2595
2940
  @field_remappings = {}
2596
2941
  end
2597
2942
  end
2598
- # Whether the Capability has been requested.
2599
- attr_reader :requested
2600
2943
  # The status of the Capability.
2601
2944
  attr_reader :status
2602
- # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
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`.
2603
2975
  attr_reader :status_details
2604
2976
 
2605
2977
  def self.inner_class_types
@@ -2626,11 +2998,9 @@ module Stripe
2626
2998
  @field_remappings = {}
2627
2999
  end
2628
3000
  end
2629
- # Whether the Capability has been requested.
2630
- attr_reader :requested
2631
3001
  # The status of the Capability.
2632
3002
  attr_reader :status
2633
- # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
3003
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
2634
3004
  attr_reader :status_details
2635
3005
 
2636
3006
  def self.inner_class_types
@@ -2641,14 +3011,17 @@ module Stripe
2641
3011
  @field_remappings = {}
2642
3012
  end
2643
3013
  end
2644
- # Can send funds from a FinancialAccount, to a bank account, owned by yourself.
3014
+ # Can send funds from a FinancialAccount to a bank account belonging to the same user.
2645
3015
  attr_reader :bank_accounts
2646
- # Can send funds from a FinancialAccount to another FinancialAccount, owned by yourself.
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.
2647
3019
  attr_reader :financial_accounts
2648
3020
 
2649
3021
  def self.inner_class_types
2650
3022
  @inner_class_types = {
2651
3023
  bank_accounts: BankAccounts,
3024
+ crypto_wallets: CryptoWallets,
2652
3025
  financial_accounts: FinancialAccounts,
2653
3026
  }
2654
3027
  end
@@ -2661,11 +3034,11 @@ module Stripe
2661
3034
  attr_reader :financial_addresses
2662
3035
  # Can hold storage-type funds on Stripe.
2663
3036
  attr_reader :holds_currencies
2664
- # Can pull funds from an external source, owned by yourself, to a FinancialAccount.
3037
+ # Hash containing capabilities related to InboundTransfers.
2665
3038
  attr_reader :inbound_transfers
2666
- # Can send funds from a FinancialAccount to a destination owned by someone else.
3039
+ # Hash containing capabilities related to [OutboundPayments](/api/treasury/outbound_payments?api-version=preview).
2667
3040
  attr_reader :outbound_payments
2668
- # Can send funds from a FinancialAccount to a destination owned by yourself.
3041
+ # Hash containing capabilities related to [OutboundTransfers](/api/treasury/outbound_transfers?api-version=preview).
2669
3042
  attr_reader :outbound_transfers
2670
3043
 
2671
3044
  def self.inner_class_types
@@ -2682,30 +3055,75 @@ module Stripe
2682
3055
  @field_remappings = {}
2683
3056
  end
2684
3057
  end
2685
- # Represents the state of the configuration, and can be updated to deactivate or re-apply a configuration.
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.
2686
3078
  attr_reader :applied
2687
3079
  # Capabilities that have been requested on the Storer Configuration.
2688
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
2689
3101
 
2690
3102
  def self.inner_class_types
2691
- @inner_class_types = { capabilities: Capabilities }
3103
+ @inner_class_types = {
3104
+ capabilities: Capabilities,
3105
+ regulated_activity: RegulatedActivity,
3106
+ }
2692
3107
  end
2693
3108
 
2694
3109
  def self.field_remappings
2695
3110
  @field_remappings = {}
2696
3111
  end
2697
3112
  end
3113
+ # The CardCreator Configuration allows the Account to create and issue cards to users.
3114
+ attr_reader :card_creator
2698
3115
  # The Customer Configuration allows the Account to be used in inbound payment flows.
2699
3116
  attr_reader :customer
2700
- # The Merchant configuration allows the Account to act as a connected account and collect payments facilitated by a Connect platform. You can add this configuration to your connected accounts only if you’ve completed onboarding as a Connect platform.
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.
2701
3118
  attr_reader :merchant
2702
- # The Recipient Configuration allows the Account to receive funds.
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.
2703
3120
  attr_reader :recipient
2704
3121
  # The Storer Configuration allows the Account to store and move funds using stored-value FinancialAccounts.
2705
3122
  attr_reader :storer
2706
3123
 
2707
3124
  def self.inner_class_types
2708
3125
  @inner_class_types = {
3126
+ card_creator: CardCreator,
2709
3127
  customer: Customer,
2710
3128
  merchant: Merchant,
2711
3129
  recipient: Recipient,
@@ -2722,7 +3140,7 @@ module Stripe
2722
3140
  class Profile < ::Stripe::StripeObject
2723
3141
  # The business's publicly-available website.
2724
3142
  attr_reader :business_url
2725
- # The company’s legal name.
3143
+ # The customer-facing business name.
2726
3144
  attr_reader :doing_business_as
2727
3145
  # Internal-only description of the product sold or service provided by the business. It's used by Stripe for risk and underwriting purposes.
2728
3146
  attr_reader :product_description
@@ -2737,9 +3155,9 @@ module Stripe
2737
3155
  end
2738
3156
 
2739
3157
  class Responsibilities < ::Stripe::StripeObject
2740
- # A value indicating the responsible payer of a bundle of Stripe fees for pricing-control eligible products on this Account.
3158
+ # Indicates whether the platform or connected account is responsible for paying Stripe fees for pricing-control-eligible products.
2741
3159
  attr_reader :fees_collector
2742
- # A value indicating who is responsible for losses when this Account can’t pay back negative balances from payments.
3160
+ # A value indicating responsibility for collecting requirements on this account.
2743
3161
  attr_reader :losses_collector
2744
3162
  # A value indicating responsibility for collecting requirements on this account.
2745
3163
  attr_reader :requirements_collector
@@ -2871,7 +3289,7 @@ module Stripe
2871
3289
  @field_remappings = {}
2872
3290
  end
2873
3291
  end
2874
- # Whether the responsibility is with the integrator or with Stripe (to review info, to wait for some condition, etc.) to action the requirement.
3292
+ # Indicates whether the platform or Stripe is currently responsible for taking action on the requirement. Value can be `user` or `stripe`.
2875
3293
  attr_reader :awaiting_action_from
2876
3294
  # Machine-readable string describing the requirement.
2877
3295
  attr_reader :description
@@ -3033,6 +3451,523 @@ module Stripe
3033
3451
  end
3034
3452
  end
3035
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
+
3036
3971
  class Storer < ::Stripe::StripeObject
3037
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.
3038
3973
  attr_reader :date
@@ -3051,11 +3986,20 @@ module Stripe
3051
3986
  end
3052
3987
  # Details on the Account's acceptance of the [Stripe Services Agreement](https://docs.stripe.com/connect/updating-accounts#tos-acceptance).
3053
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
3054
3993
  # Details on the Account's acceptance of Treasury-specific terms of service.
3055
3994
  attr_reader :storer
3056
3995
 
3057
3996
  def self.inner_class_types
3058
- @inner_class_types = { account: Account, storer: Storer }
3997
+ @inner_class_types = {
3998
+ account: Account,
3999
+ card_creator: CardCreator,
4000
+ crypto_storer: CryptoStorer,
4001
+ storer: Storer,
4002
+ }
3059
4003
  end
3060
4004
 
3061
4005
  def self.field_remappings
@@ -3102,7 +4046,7 @@ module Stripe
3102
4046
  attr_reader :postal_code
3103
4047
  # State, county, province, or region.
3104
4048
  attr_reader :state
3105
- # Town or cho-me.
4049
+ # Town or district.
3106
4050
  attr_reader :town
3107
4051
 
3108
4052
  def self.inner_class_types
@@ -3115,13 +4059,27 @@ module Stripe
3115
4059
  end
3116
4060
 
3117
4061
  class AnnualRevenue < ::Stripe::StripeObject
3118
- # A non-negative integer representing the amount in the smallest currency unit.
4062
+ class Amount < ::Stripe::StripeObject
4063
+ # A non-negative integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units).
4064
+ attr_reader :value
4065
+ # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
4066
+ attr_reader :currency
4067
+
4068
+ def self.inner_class_types
4069
+ @inner_class_types = {}
4070
+ end
4071
+
4072
+ def self.field_remappings
4073
+ @field_remappings = {}
4074
+ end
4075
+ end
4076
+ # Annual revenue amount in minor currency units (for example, '123' for 1.23 USD).
3119
4077
  attr_reader :amount
3120
4078
  # The close-out date of the preceding fiscal year in ISO 8601 format. E.g. 2023-12-31 for the 31st of December, 2023.
3121
4079
  attr_reader :fiscal_year_end
3122
4080
 
3123
4081
  def self.inner_class_types
3124
- @inner_class_types = {}
4082
+ @inner_class_types = { amount: Amount }
3125
4083
  end
3126
4084
 
3127
4085
  def self.field_remappings
@@ -3350,11 +4308,25 @@ module Stripe
3350
4308
  end
3351
4309
 
3352
4310
  class MonthlyEstimatedRevenue < ::Stripe::StripeObject
3353
- # A non-negative integer representing the amount in the smallest currency unit.
4311
+ class Amount < ::Stripe::StripeObject
4312
+ # A non-negative integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#minor-units).
4313
+ attr_reader :value
4314
+ # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
4315
+ attr_reader :currency
4316
+
4317
+ def self.inner_class_types
4318
+ @inner_class_types = {}
4319
+ end
4320
+
4321
+ def self.field_remappings
4322
+ @field_remappings = {}
4323
+ end
4324
+ end
4325
+ # Estimated monthly revenue amount in minor currency units (for example, '123' for 1.23 USD).
3354
4326
  attr_reader :amount
3355
4327
 
3356
4328
  def self.inner_class_types
3357
- @inner_class_types = {}
4329
+ @inner_class_types = { amount: Amount }
3358
4330
  end
3359
4331
 
3360
4332
  def self.field_remappings
@@ -3376,7 +4348,7 @@ module Stripe
3376
4348
  attr_reader :postal_code
3377
4349
  # State, county, province, or region.
3378
4350
  attr_reader :state
3379
- # Town or cho-me.
4351
+ # Town or district.
3380
4352
  attr_reader :town
3381
4353
 
3382
4354
  def self.inner_class_types
@@ -3401,7 +4373,7 @@ module Stripe
3401
4373
  attr_reader :postal_code
3402
4374
  # State, county, province, or region.
3403
4375
  attr_reader :state
3404
- # Town or cho-me.
4376
+ # Town or district.
3405
4377
  attr_reader :town
3406
4378
 
3407
4379
  def self.inner_class_types
@@ -3469,13 +4441,15 @@ module Stripe
3469
4441
  attr_reader :address
3470
4442
  # The business gross annual revenue for its preceding fiscal year.
3471
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
3472
4446
  # Documents that may be submitted to satisfy various informational requests.
3473
4447
  attr_reader :documents
3474
- # An estimated upper bound of employees, contractors, vendors, etc. currently working for the business.
4448
+ # Estimated maximum number of workers currently engaged by the business (including employees, contractors, and vendors).
3475
4449
  attr_reader :estimated_worker_count
3476
4450
  # The provided ID numbers of a business entity.
3477
4451
  attr_reader :id_numbers
3478
- # An estimate of the monthly revenue of the business.
4452
+ # An estimate of the monthly revenue of the business. Only accepted for accounts in Brazil and India.
3479
4453
  attr_reader :monthly_estimated_revenue
3480
4454
  # The company’s phone number (used for verification).
3481
4455
  attr_reader :phone
@@ -3521,7 +4495,7 @@ module Stripe
3521
4495
  attr_reader :purpose
3522
4496
  # State, county, province, or region.
3523
4497
  attr_reader :state
3524
- # Town or cho-me.
4498
+ # Town or district.
3525
4499
  attr_reader :town
3526
4500
 
3527
4501
  def self.inner_class_types
@@ -3594,7 +4568,7 @@ module Stripe
3594
4568
  attr_reader :postal_code
3595
4569
  # State, county, province, or region.
3596
4570
  attr_reader :state
3597
- # Town or cho-me.
4571
+ # Town or district.
3598
4572
  attr_reader :town
3599
4573
 
3600
4574
  def self.inner_class_types
@@ -3766,17 +4740,17 @@ module Stripe
3766
4740
  end
3767
4741
 
3768
4742
  class Relationship < ::Stripe::StripeObject
3769
- # Whether the individual is an authorizer of the Accounts legal entity.
4743
+ # Whether the individual is an authorizer of the Account's identity.
3770
4744
  attr_reader :authorizer
3771
- # Whether the individual is a director of the Accounts legal entity. Directors are typically members of the governing board of the company, or responsible for ensuring the company meets its regulatory obligations.
4745
+ # Whether the individual is a director of the Account's identity. Directors are typically members of the governing board of the company or are responsible for making sure that the company meets its regulatory obligations.
3772
4746
  attr_reader :director
3773
4747
  # Whether the individual has significant responsibility to control, manage, or direct the organization.
3774
4748
  attr_reader :executive
3775
- # Whether the individual is the legal guardian of the Accounts representative.
4749
+ # Whether the individual is the legal guardian of the Account's representative.
3776
4750
  attr_reader :legal_guardian
3777
- # Whether the individual is an owner of the Accounts legal entity.
4751
+ # Whether the individual is an owner of the Account's identity.
3778
4752
  attr_reader :owner
3779
- # The percent owned by the individual of the Account’s legal entity.
4753
+ # The percentage of the Account's identity that the individual owns.
3780
4754
  attr_reader :percent_ownership
3781
4755
  # Whether the individual is authorized as the primary representative of the Account. This is the person nominated by the business to provide information about themselves, and general information about the account. There can only be one representative at any given time. At the time the account is created, this person should be set to the person responsible for opening the account.
3782
4756
  attr_reader :representative
@@ -3806,7 +4780,7 @@ module Stripe
3806
4780
  attr_reader :postal_code
3807
4781
  # State, county, province, or region.
3808
4782
  attr_reader :state
3809
- # Town or cho-me.
4783
+ # Town or district.
3810
4784
  attr_reader :town
3811
4785
 
3812
4786
  def self.inner_class_types
@@ -3831,7 +4805,7 @@ module Stripe
3831
4805
  attr_reader :postal_code
3832
4806
  # State, county, province, or region.
3833
4807
  attr_reader :state
3834
- # Town or cho-me.
4808
+ # Town or district.
3835
4809
  attr_reader :town
3836
4810
 
3837
4811
  def self.inner_class_types
@@ -4090,7 +5064,7 @@ module Stripe
4090
5064
  @field_remappings = {}
4091
5065
  end
4092
5066
  end
4093
- # Whether the responsibility is with the integrator or with Stripe (to review info, to wait for some condition, etc.) to action the requirement.
5067
+ # Indicates whether the platform or Stripe is currently responsible for taking action on the requirement. Value can be `user` or `stripe`.
4094
5068
  attr_reader :awaiting_action_from
4095
5069
  # Machine-readable string describing the requirement.
4096
5070
  attr_reader :description
@@ -4159,11 +5133,11 @@ module Stripe
4159
5133
  @field_remappings = {}
4160
5134
  end
4161
5135
  end
4162
- # Filter only accounts that have all of the configurations specified. If omitted, returns all accounts regardless of which configurations they have.
5136
+ # The configurations that have been applied to this account.
4163
5137
  attr_reader :applied_configurations
4164
- # A value indicating if the Account has been closed.
5138
+ # Indicates whether the account has been closed.
4165
5139
  attr_reader :closed
4166
- # An Account Configuration which allows the Account to take on a key persona across Stripe products.
5140
+ # An Account represents a company, individual, or other entity that a user interacts with. Accounts store identity information and one or more configurations that enable product-specific capabilities. You can assign configurations at creation or add them later.
4167
5141
  attr_reader :configuration
4168
5142
  # The default contact email address for the Account. Required when configuring the account as a merchant or recipient.
4169
5143
  attr_reader :contact_email
@@ -4171,7 +5145,7 @@ module Stripe
4171
5145
  attr_reader :created
4172
5146
  # A value indicating the Stripe dashboard this Account has access to. This will depend on which configurations are enabled for this account.
4173
5147
  attr_reader :dashboard
4174
- # Default values to be used on Account Configurations.
5148
+ # Default values for settings shared across Account configurations.
4175
5149
  attr_reader :defaults
4176
5150
  # A descriptive name for the Account. This name will be surfaced in the Stripe Dashboard and on any invoices sent to the Account.
4177
5151
  attr_reader :display_name