stripe 18.1.0.pre.alpha.4 → 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 (449) 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 +56 -0
  7. data/lib/stripe/events/v2_core_health_api_error_firing_event.rb +19 -1
  8. data/lib/stripe/events/v2_core_health_api_error_resolved_event.rb +19 -1
  9. data/lib/stripe/events/v2_core_health_api_latency_firing_event.rb +19 -1
  10. data/lib/stripe/events/v2_core_health_api_latency_resolved_event.rb +19 -1
  11. data/lib/stripe/events/v2_core_health_payment_method_error_firing_event.rb +19 -1
  12. data/lib/stripe/events/v2_core_health_payment_method_error_resolved_event.rb +19 -1
  13. data/lib/stripe/events/v2_core_health_sepa_debit_delayed_firing_event.rb +58 -0
  14. data/lib/stripe/events/v2_core_health_sepa_debit_delayed_resolved_event.rb +60 -0
  15. data/lib/stripe/events/v2_money_management_payout_method_created_event.rb +44 -0
  16. data/lib/stripe/events/v2_payments_settlement_allocation_intent_canceled_event.rb +44 -0
  17. data/lib/stripe/events/v2_payments_settlement_allocation_intent_created_event.rb +44 -0
  18. data/lib/stripe/events/v2_payments_settlement_allocation_intent_errored_event.rb +65 -0
  19. data/lib/stripe/events/v2_payments_settlement_allocation_intent_funds_not_received_event.rb +44 -0
  20. data/lib/stripe/events/v2_payments_settlement_allocation_intent_matched_event.rb +44 -0
  21. data/lib/stripe/events/v2_payments_settlement_allocation_intent_not_found_event.rb +38 -0
  22. data/lib/stripe/events/v2_payments_settlement_allocation_intent_settled_event.rb +44 -0
  23. data/lib/stripe/events/v2_payments_settlement_allocation_intent_split_canceled_event.rb +61 -0
  24. data/lib/stripe/events/v2_payments_settlement_allocation_intent_split_created_event.rb +61 -0
  25. data/lib/stripe/events/v2_payments_settlement_allocation_intent_split_settled_event.rb +61 -0
  26. data/lib/stripe/events/v2_payments_settlement_allocation_intent_submitted_event.rb +44 -0
  27. data/lib/stripe/object_types.rb +6 -0
  28. data/lib/stripe/params/account_create_params.rb +50 -28
  29. data/lib/stripe/params/account_external_account_create_params.rb +2 -2
  30. data/lib/stripe/params/account_external_account_update_params.rb +2 -2
  31. data/lib/stripe/params/account_notice_update_params.rb +1 -1
  32. data/lib/stripe/params/account_person_create_params.rb +10 -10
  33. data/lib/stripe/params/account_person_update_params.rb +10 -10
  34. data/lib/stripe/params/account_session_create_params.rb +17 -0
  35. data/lib/stripe/params/account_update_params.rb +49 -27
  36. data/lib/stripe/params/application_fee_refund_create_params.rb +1 -1
  37. data/lib/stripe/params/application_fee_refund_update_params.rb +1 -1
  38. data/lib/stripe/params/balance_transfer_create_params.rb +1 -1
  39. data/lib/stripe/params/billing/credit_balance_summary_retrieve_params.rb +2 -2
  40. data/lib/stripe/params/billing/credit_balance_transaction_list_params.rb +2 -2
  41. data/lib/stripe/params/billing/credit_grant_create_params.rb +2 -2
  42. data/lib/stripe/params/billing/credit_grant_list_params.rb +1 -1
  43. data/lib/stripe/params/billing/meter_event_create_params.rb +1 -1
  44. data/lib/stripe/params/billing_portal/configuration_create_params.rb +7 -3
  45. data/lib/stripe/params/billing_portal/configuration_update_params.rb +7 -3
  46. data/lib/stripe/params/billing_portal/session_create_params.rb +7 -7
  47. data/lib/stripe/params/charge_capture_params.rb +9 -9
  48. data/lib/stripe/params/charge_create_params.rb +12 -12
  49. data/lib/stripe/params/charge_search_params.rb +1 -1
  50. data/lib/stripe/params/charge_update_params.rb +10 -10
  51. data/lib/stripe/params/checkout/session_create_params.rb +53 -41
  52. data/lib/stripe/params/checkout/session_update_params.rb +27 -15
  53. data/lib/stripe/params/climate/order_create_params.rb +1 -1
  54. data/lib/stripe/params/climate/order_update_params.rb +1 -1
  55. data/lib/stripe/params/confirmation_token_create_params.rb +6 -6
  56. data/lib/stripe/params/coupon_create_params.rb +1 -1
  57. data/lib/stripe/params/coupon_update_params.rb +1 -1
  58. data/lib/stripe/params/credit_note_create_params.rb +1 -1
  59. data/lib/stripe/params/credit_note_list_params.rb +1 -1
  60. data/lib/stripe/params/credit_note_list_preview_line_items_params.rb +1 -1
  61. data/lib/stripe/params/credit_note_preview_lines_list_params.rb +1 -1
  62. data/lib/stripe/params/credit_note_preview_params.rb +1 -1
  63. data/lib/stripe/params/credit_note_update_params.rb +1 -1
  64. data/lib/stripe/params/customer_balance_transaction_create_params.rb +2 -2
  65. data/lib/stripe/params/customer_balance_transaction_list_params.rb +11 -1
  66. data/lib/stripe/params/customer_balance_transaction_update_params.rb +1 -1
  67. data/lib/stripe/params/customer_cash_balance_update_params.rb +1 -1
  68. data/lib/stripe/params/customer_create_params.rb +5 -5
  69. data/lib/stripe/params/customer_fund_cash_balance_params.rb +2 -2
  70. data/lib/stripe/params/customer_payment_source_create_params.rb +2 -2
  71. data/lib/stripe/params/customer_payment_source_update_params.rb +2 -2
  72. data/lib/stripe/params/customer_search_params.rb +1 -1
  73. data/lib/stripe/params/customer_update_params.rb +7 -7
  74. data/lib/stripe/params/delegated_checkout/requested_session_confirm_params.rb +84 -1
  75. data/lib/stripe/params/dispute_update_params.rb +3 -3
  76. data/lib/stripe/params/external_account_create_params.rb +2 -2
  77. data/lib/stripe/params/external_account_update_params.rb +2 -2
  78. data/lib/stripe/params/file_create_params.rb +3 -3
  79. data/lib/stripe/params/file_link_create_params.rb +1 -1
  80. data/lib/stripe/params/file_link_update_params.rb +1 -1
  81. data/lib/stripe/params/financial_connections/account_list_params.rb +3 -3
  82. data/lib/stripe/params/financial_connections/session_create_params.rb +3 -3
  83. data/lib/stripe/params/forwarding/request_create_params.rb +1 -1
  84. data/lib/stripe/params/identity/verification_session_create_params.rb +6 -6
  85. data/lib/stripe/params/identity/verification_session_list_params.rb +3 -3
  86. data/lib/stripe/params/identity/verification_session_update_params.rb +5 -5
  87. data/lib/stripe/params/invoice_add_lines_params.rb +21 -9
  88. data/lib/stripe/params/invoice_attach_payment_params.rb +1 -1
  89. data/lib/stripe/params/invoice_create_params.rb +37 -13
  90. data/lib/stripe/params/invoice_create_preview_params.rb +60 -60
  91. data/lib/stripe/params/invoice_finalize_invoice_params.rb +1 -1
  92. data/lib/stripe/params/invoice_item_create_params.rb +8 -8
  93. data/lib/stripe/params/invoice_item_list_params.rb +2 -2
  94. data/lib/stripe/params/invoice_item_update_params.rb +6 -6
  95. data/lib/stripe/params/invoice_line_item_update_params.rb +20 -8
  96. data/lib/stripe/params/invoice_list_params.rb +2 -2
  97. data/lib/stripe/params/invoice_remove_lines_params.rb +1 -1
  98. data/lib/stripe/params/invoice_search_params.rb +1 -1
  99. data/lib/stripe/params/invoice_update_lines_params.rb +21 -9
  100. data/lib/stripe/params/invoice_update_params.rb +34 -10
  101. data/lib/stripe/params/issuing/authorization_approve_params.rb +2 -2
  102. data/lib/stripe/params/issuing/authorization_capture_params.rb +1 -1
  103. data/lib/stripe/params/issuing/authorization_create_params.rb +5 -5
  104. data/lib/stripe/params/issuing/authorization_decline_params.rb +1 -1
  105. data/lib/stripe/params/issuing/authorization_finalize_amount_params.rb +1 -1
  106. data/lib/stripe/params/issuing/authorization_increment_params.rb +2 -2
  107. data/lib/stripe/params/issuing/authorization_reverse_params.rb +1 -1
  108. data/lib/stripe/params/issuing/authorization_update_params.rb +1 -1
  109. data/lib/stripe/params/issuing/card_create_params.rb +7 -7
  110. data/lib/stripe/params/issuing/card_list_params.rb +34 -1
  111. data/lib/stripe/params/issuing/card_update_params.rb +6 -6
  112. data/lib/stripe/params/issuing/cardholder_create_params.rb +11 -11
  113. data/lib/stripe/params/issuing/cardholder_update_params.rb +10 -10
  114. data/lib/stripe/params/issuing/credit_underwriting_record_correct_params.rb +5 -5
  115. data/lib/stripe/params/issuing/credit_underwriting_record_create_from_application_params.rb +1 -1
  116. data/lib/stripe/params/issuing/credit_underwriting_record_create_from_proactive_review_params.rb +5 -5
  117. data/lib/stripe/params/issuing/credit_underwriting_record_report_decision_params.rb +4 -4
  118. data/lib/stripe/params/issuing/dispute_create_params.rb +2 -2
  119. data/lib/stripe/params/issuing/dispute_submit_params.rb +1 -1
  120. data/lib/stripe/params/issuing/dispute_update_params.rb +2 -2
  121. data/lib/stripe/params/issuing/personalization_design_create_params.rb +1 -1
  122. data/lib/stripe/params/issuing/personalization_design_update_params.rb +1 -1
  123. data/lib/stripe/params/issuing/program_update_params.rb +1 -1
  124. data/lib/stripe/params/issuing/transaction_create_force_capture_params.rb +2 -2
  125. data/lib/stripe/params/issuing/transaction_create_unlinked_refund_params.rb +2 -2
  126. data/lib/stripe/params/issuing/transaction_refund_params.rb +1 -1
  127. data/lib/stripe/params/issuing/transaction_update_params.rb +1 -1
  128. data/lib/stripe/params/mandate_list_params.rb +1 -1
  129. data/lib/stripe/params/margin_create_params.rb +1 -1
  130. data/lib/stripe/params/margin_update_params.rb +1 -1
  131. data/lib/stripe/params/order_create_params.rb +12 -12
  132. data/lib/stripe/params/order_update_params.rb +12 -12
  133. data/lib/stripe/params/payment_intent_apply_customer_balance_params.rb +1 -1
  134. data/lib/stripe/params/payment_intent_capture_params.rb +18 -18
  135. data/lib/stripe/params/payment_intent_confirm_params.rb +43 -39
  136. data/lib/stripe/params/payment_intent_create_params.rb +61 -57
  137. data/lib/stripe/params/payment_intent_decrement_authorization_params.rb +4 -4
  138. data/lib/stripe/params/payment_intent_increment_authorization_params.rb +10 -10
  139. data/lib/stripe/params/payment_intent_list_params.rb +1 -1
  140. data/lib/stripe/params/payment_intent_search_params.rb +1 -1
  141. data/lib/stripe/params/payment_intent_update_params.rb +40 -40
  142. data/lib/stripe/params/payment_link_create_params.rb +32 -20
  143. data/lib/stripe/params/payment_link_update_params.rb +9 -9
  144. data/lib/stripe/params/payment_method_attach_params.rb +1 -1
  145. data/lib/stripe/params/payment_method_configuration_create_params.rb +40 -40
  146. data/lib/stripe/params/payment_method_configuration_update_params.rb +40 -40
  147. data/lib/stripe/params/payment_method_create_params.rb +4 -4
  148. data/lib/stripe/params/payment_method_update_params.rb +2 -2
  149. data/lib/stripe/params/payment_record_report_payment_attempt_informational_params.rb +2 -2
  150. data/lib/stripe/params/payment_record_report_payment_attempt_params.rb +3 -3
  151. data/lib/stripe/params/payment_record_report_payment_params.rb +4 -4
  152. data/lib/stripe/params/payment_record_report_refund_params.rb +3 -3
  153. data/lib/stripe/params/payout_create_params.rb +1 -1
  154. data/lib/stripe/params/payout_reverse_params.rb +1 -1
  155. data/lib/stripe/params/payout_update_params.rb +1 -1
  156. data/lib/stripe/params/plan_create_params.rb +4 -4
  157. data/lib/stripe/params/plan_update_params.rb +2 -2
  158. data/lib/stripe/params/price_create_params.rb +6 -6
  159. data/lib/stripe/params/price_search_params.rb +1 -1
  160. data/lib/stripe/params/price_update_params.rb +3 -3
  161. data/lib/stripe/params/product_create_params.rb +21 -8
  162. data/lib/stripe/params/product_feature_create_params.rb +1 -1
  163. data/lib/stripe/params/product_list_params.rb +1 -1
  164. data/lib/stripe/params/product_search_params.rb +1 -1
  165. data/lib/stripe/params/product_update_params.rb +18 -5
  166. data/lib/stripe/params/promotion_code_create_params.rb +3 -3
  167. data/lib/stripe/params/promotion_code_list_params.rb +1 -1
  168. data/lib/stripe/params/promotion_code_update_params.rb +1 -1
  169. data/lib/stripe/params/quote_create_params.rb +14 -14
  170. data/lib/stripe/params/quote_list_params.rb +2 -2
  171. data/lib/stripe/params/quote_update_params.rb +14 -14
  172. data/lib/stripe/params/radar/value_list_create_params.rb +1 -1
  173. data/lib/stripe/params/radar/value_list_update_params.rb +1 -1
  174. data/lib/stripe/params/refund_create_params.rb +2 -2
  175. data/lib/stripe/params/refund_update_params.rb +1 -1
  176. data/lib/stripe/params/reporting/report_run_create_params.rb +2 -2
  177. data/lib/stripe/params/setup_intent_confirm_params.rb +6 -6
  178. data/lib/stripe/params/setup_intent_create_params.rb +12 -12
  179. data/lib/stripe/params/setup_intent_update_params.rb +8 -8
  180. data/lib/stripe/params/shared_payment/granted_token_create_params.rb +47 -0
  181. data/lib/stripe/params/shared_payment/granted_token_retrieve_params.rb +15 -0
  182. data/lib/stripe/params/shared_payment/granted_token_update_params.rb +15 -0
  183. data/lib/stripe/params/shipping_rate_create_params.rb +2 -2
  184. data/lib/stripe/params/shipping_rate_update_params.rb +1 -1
  185. data/lib/stripe/params/source_create_params.rb +3 -3
  186. data/lib/stripe/params/source_update_params.rb +3 -3
  187. data/lib/stripe/params/subscription_create_params.rb +51 -27
  188. data/lib/stripe/params/subscription_item_create_params.rb +15 -15
  189. data/lib/stripe/params/subscription_item_delete_params.rb +2 -2
  190. data/lib/stripe/params/subscription_item_update_params.rb +15 -15
  191. data/lib/stripe/params/subscription_list_params.rb +3 -3
  192. data/lib/stripe/params/subscription_resume_params.rb +2 -2
  193. data/lib/stripe/params/subscription_schedule_amend_params.rb +10 -10
  194. data/lib/stripe/params/subscription_schedule_create_params.rb +31 -31
  195. data/lib/stripe/params/subscription_schedule_update_params.rb +31 -31
  196. data/lib/stripe/params/subscription_search_params.rb +1 -1
  197. data/lib/stripe/params/subscription_update_params.rb +49 -25
  198. data/lib/stripe/params/tax/association_find_params.rb +1 -1
  199. data/lib/stripe/params/tax/calculation_create_params.rb +7 -7
  200. data/lib/stripe/params/tax/settings_update_params.rb +1 -1
  201. data/lib/stripe/params/tax/transaction_create_from_calculation_params.rb +1 -1
  202. data/lib/stripe/params/tax/transaction_create_reversal_params.rb +9 -9
  203. data/lib/stripe/params/tax_id_create_params.rb +2 -2
  204. data/lib/stripe/params/tax_id_list_params.rb +2 -2
  205. data/lib/stripe/params/tax_rate_create_params.rb +1 -1
  206. data/lib/stripe/params/tax_rate_update_params.rb +1 -1
  207. data/lib/stripe/params/terminal/location_create_params.rb +2 -2
  208. data/lib/stripe/params/terminal/location_update_params.rb +2 -2
  209. data/lib/stripe/params/terminal/reader_collect_inputs_params.rb +1 -1
  210. data/lib/stripe/params/terminal/reader_create_params.rb +1 -1
  211. data/lib/stripe/params/terminal/reader_refund_payment_params.rb +1 -1
  212. data/lib/stripe/params/terminal/reader_set_reader_display_params.rb +3 -3
  213. data/lib/stripe/params/terminal/reader_update_params.rb +1 -1
  214. data/lib/stripe/params/test_helpers/confirmation_token_create_params.rb +6 -6
  215. data/lib/stripe/params/test_helpers/customer_fund_cash_balance_params.rb +2 -2
  216. data/lib/stripe/params/test_helpers/issuing/authorization_capture_params.rb +1 -1
  217. data/lib/stripe/params/test_helpers/issuing/authorization_create_params.rb +5 -5
  218. data/lib/stripe/params/test_helpers/issuing/authorization_finalize_amount_params.rb +1 -1
  219. data/lib/stripe/params/test_helpers/issuing/authorization_increment_params.rb +2 -2
  220. data/lib/stripe/params/test_helpers/issuing/authorization_reverse_params.rb +1 -1
  221. data/lib/stripe/params/test_helpers/issuing/transaction_create_force_capture_params.rb +2 -2
  222. data/lib/stripe/params/test_helpers/issuing/transaction_create_unlinked_refund_params.rb +2 -2
  223. data/lib/stripe/params/test_helpers/issuing/transaction_refund_params.rb +1 -1
  224. data/lib/stripe/params/test_helpers/shared_payment/granted_token_create_params.rb +49 -0
  225. data/lib/stripe/params/test_helpers/shared_payment/granted_token_update_params.rb +17 -0
  226. data/lib/stripe/params/test_helpers/treasury/received_credit_create_params.rb +1 -1
  227. data/lib/stripe/params/test_helpers/treasury/received_debit_create_params.rb +1 -1
  228. data/lib/stripe/params/token_create_params.rb +22 -22
  229. data/lib/stripe/params/topup_create_params.rb +2 -2
  230. data/lib/stripe/params/topup_update_params.rb +1 -1
  231. data/lib/stripe/params/transfer_create_params.rb +3 -3
  232. data/lib/stripe/params/transfer_reversal_create_params.rb +1 -1
  233. data/lib/stripe/params/transfer_reversal_update_params.rb +1 -1
  234. data/lib/stripe/params/transfer_update_params.rb +1 -1
  235. data/lib/stripe/params/treasury/credit_reversal_create_params.rb +1 -1
  236. data/lib/stripe/params/treasury/debit_reversal_create_params.rb +1 -1
  237. data/lib/stripe/params/treasury/financial_account_create_params.rb +1 -1
  238. data/lib/stripe/params/treasury/financial_account_update_params.rb +1 -1
  239. data/lib/stripe/params/treasury/inbound_transfer_create_params.rb +2 -2
  240. data/lib/stripe/params/treasury/outbound_payment_create_params.rb +5 -5
  241. data/lib/stripe/params/treasury/outbound_transfer_create_params.rb +3 -3
  242. data/lib/stripe/params/treasury/received_credit_create_params.rb +1 -1
  243. data/lib/stripe/params/treasury/received_debit_create_params.rb +1 -1
  244. data/lib/stripe/params/v2/billing/intent_create_params.rb +110 -40
  245. data/lib/stripe/params/v2/core/account_create_params.rb +36 -24
  246. data/lib/stripe/params/v2/core/account_link_create_params.rb +5 -5
  247. data/lib/stripe/params/v2/core/account_token_create_params.rb +8 -8
  248. data/lib/stripe/params/v2/core/account_update_params.rb +41 -29
  249. data/lib/stripe/params/v2/core/accounts/person_create_params.rb +5 -5
  250. data/lib/stripe/params/v2/core/accounts/person_token_create_params.rb +5 -5
  251. data/lib/stripe/params/v2/core/accounts/person_update_params.rb +5 -5
  252. data/lib/stripe/params/v2/core/claimable_sandbox_create_params.rb +1 -1
  253. data/lib/stripe/params/v2/iam/api_key_create_params.rb +51 -0
  254. data/lib/stripe/params/v2/iam/api_key_expire_params.rb +10 -0
  255. data/lib/stripe/params/v2/iam/api_key_list_params.rb +20 -0
  256. data/lib/stripe/params/v2/iam/api_key_retrieve_params.rb +10 -0
  257. data/lib/stripe/params/v2/iam/api_key_rotate_params.rb +46 -0
  258. data/lib/stripe/params/v2/iam/api_key_update_params.rb +20 -0
  259. data/lib/stripe/params/v2/money_management/financial_account_list_params.rb +4 -1
  260. data/lib/stripe/params/v2/money_management/outbound_payment_create_params.rb +4 -1
  261. data/lib/stripe/params/v2/money_management/outbound_payment_quote_create_params.rb +4 -1
  262. data/lib/stripe/params/v2/payments/settlement_allocation_intent_cancel_params.rb +10 -0
  263. data/lib/stripe/params/v2/payments/settlement_allocation_intent_create_params.rb +46 -0
  264. data/lib/stripe/params/v2/payments/settlement_allocation_intent_retrieve_params.rb +10 -0
  265. data/lib/stripe/params/v2/payments/settlement_allocation_intent_submit_params.rb +10 -0
  266. data/lib/stripe/params/v2/payments/settlement_allocation_intent_update_params.rb +31 -0
  267. data/lib/stripe/params/v2/payments/settlement_allocation_intents/split_cancel_params.rb +12 -0
  268. data/lib/stripe/params/v2/payments/settlement_allocation_intents/split_create_params.rb +39 -0
  269. data/lib/stripe/params/v2/payments/settlement_allocation_intents/split_retrieve_params.rb +12 -0
  270. data/lib/stripe/params/v2/tax/manual_rule_create_params.rb +94 -0
  271. data/lib/stripe/params/v2/tax/manual_rule_deactivate_params.rb +10 -0
  272. data/lib/stripe/params/v2/tax/manual_rule_list_params.rb +17 -0
  273. data/lib/stripe/params/v2/tax/manual_rule_retrieve_params.rb +10 -0
  274. data/lib/stripe/params/v2/tax/manual_rule_update_params.rb +94 -0
  275. data/lib/stripe/params/webhook_endpoint_create_params.rb +1 -1
  276. data/lib/stripe/params/webhook_endpoint_update_params.rb +1 -1
  277. data/lib/stripe/params.rb +24 -0
  278. data/lib/stripe/resources/account.rb +27 -27
  279. data/lib/stripe/resources/account_link.rb +1 -1
  280. data/lib/stripe/resources/account_notice.rb +6 -6
  281. data/lib/stripe/resources/account_session.rb +5 -5
  282. data/lib/stripe/resources/application_fee_refund.rb +2 -2
  283. data/lib/stripe/resources/apps/secret.rb +1 -1
  284. data/lib/stripe/resources/balance.rb +2 -2
  285. data/lib/stripe/resources/balance_settings.rb +1 -1
  286. data/lib/stripe/resources/balance_transaction.rb +1 -1
  287. data/lib/stripe/resources/balance_transfer.rb +3 -3
  288. data/lib/stripe/resources/bank_account.rb +10 -10
  289. data/lib/stripe/resources/billing/alert.rb +2 -2
  290. data/lib/stripe/resources/billing/credit_balance_summary.rb +2 -2
  291. data/lib/stripe/resources/billing/credit_balance_transaction.rb +2 -2
  292. data/lib/stripe/resources/billing/credit_grant.rb +3 -3
  293. data/lib/stripe/resources/billing/meter_event.rb +1 -1
  294. data/lib/stripe/resources/billing_portal/configuration.rb +5 -3
  295. data/lib/stripe/resources/billing_portal/session.rb +6 -6
  296. data/lib/stripe/resources/capability.rb +16 -16
  297. data/lib/stripe/resources/capital/financing_offer.rb +2 -2
  298. data/lib/stripe/resources/capital/financing_summary.rb +7 -4
  299. data/lib/stripe/resources/card.rb +2 -2
  300. data/lib/stripe/resources/cash_balance.rb +2 -2
  301. data/lib/stripe/resources/charge.rb +47 -35
  302. data/lib/stripe/resources/checkout/session.rb +19 -19
  303. data/lib/stripe/resources/climate/order.rb +1 -1
  304. data/lib/stripe/resources/confirmation_token.rb +11 -11
  305. data/lib/stripe/resources/coupon.rb +3 -3
  306. data/lib/stripe/resources/credit_note.rb +5 -5
  307. data/lib/stripe/resources/credit_note_line_item.rb +1 -1
  308. data/lib/stripe/resources/customer.rb +8 -8
  309. data/lib/stripe/resources/customer_balance_transaction.rb +6 -6
  310. data/lib/stripe/resources/customer_cash_balance_transaction.rb +10 -10
  311. data/lib/stripe/resources/delegated_checkout/requested_session.rb +63 -10
  312. data/lib/stripe/resources/discount.rb +5 -5
  313. data/lib/stripe/resources/dispute.rb +5 -5
  314. data/lib/stripe/resources/entitlements/active_entitlement.rb +1 -1
  315. data/lib/stripe/resources/event.rb +1 -1
  316. data/lib/stripe/resources/exchange_rate.rb +2 -2
  317. data/lib/stripe/resources/file.rb +4 -4
  318. data/lib/stripe/resources/file_link.rb +1 -1
  319. data/lib/stripe/resources/financial_connections/account.rb +3 -3
  320. data/lib/stripe/resources/financial_connections/session.rb +2 -2
  321. data/lib/stripe/resources/forwarding/request.rb +1 -1
  322. data/lib/stripe/resources/funding_instructions.rb +14 -14
  323. data/lib/stripe/resources/identity/blocklist_entry.rb +1 -1
  324. data/lib/stripe/resources/identity/verification_report.rb +9 -9
  325. data/lib/stripe/resources/identity/verification_session.rb +11 -11
  326. data/lib/stripe/resources/invoice.rb +66 -34
  327. data/lib/stripe/resources/invoice_item.rb +9 -9
  328. data/lib/stripe/resources/invoice_line_item.rb +7 -7
  329. data/lib/stripe/resources/invoice_payment.rb +1 -1
  330. data/lib/stripe/resources/invoice_rendering_template.rb +1 -1
  331. data/lib/stripe/resources/issuing/authorization.rb +20 -20
  332. data/lib/stripe/resources/issuing/card.rb +16 -12
  333. data/lib/stripe/resources/issuing/cardholder.rb +14 -14
  334. data/lib/stripe/resources/issuing/credit_underwriting_record.rb +5 -5
  335. data/lib/stripe/resources/issuing/dispute.rb +7 -7
  336. data/lib/stripe/resources/issuing/fraud_liability_debit.rb +1 -1
  337. data/lib/stripe/resources/issuing/personalization_design.rb +1 -1
  338. data/lib/stripe/resources/issuing/program.rb +1 -1
  339. data/lib/stripe/resources/issuing/settlement.rb +2 -2
  340. data/lib/stripe/resources/issuing/token.rb +1 -1
  341. data/lib/stripe/resources/issuing/transaction.rb +13 -13
  342. data/lib/stripe/resources/line_item.rb +3 -3
  343. data/lib/stripe/resources/login_link.rb +1 -1
  344. data/lib/stripe/resources/margin.rb +1 -1
  345. data/lib/stripe/resources/order.rb +13 -13
  346. data/lib/stripe/resources/payment_attempt_record.rb +80 -22
  347. data/lib/stripe/resources/payment_intent.rb +117 -74
  348. data/lib/stripe/resources/payment_intent_amount_details_line_item.rb +3 -3
  349. data/lib/stripe/resources/payment_link.rb +7 -7
  350. data/lib/stripe/resources/payment_method.rb +13 -13
  351. data/lib/stripe/resources/payment_method_configuration.rb +4 -4
  352. data/lib/stripe/resources/payment_method_domain.rb +1 -1
  353. data/lib/stripe/resources/payment_record.rb +82 -22
  354. data/lib/stripe/resources/payout.rb +7 -7
  355. data/lib/stripe/resources/person.rb +23 -23
  356. data/lib/stripe/resources/plan.rb +5 -5
  357. data/lib/stripe/resources/price.rb +6 -6
  358. data/lib/stripe/resources/product.rb +9 -9
  359. data/lib/stripe/resources/promotion_code.rb +4 -4
  360. data/lib/stripe/resources/quote.rb +15 -15
  361. data/lib/stripe/resources/quote_line.rb +5 -5
  362. data/lib/stripe/resources/quote_preview_invoice.rb +64 -32
  363. data/lib/stripe/resources/quote_preview_subscription_schedule.rb +100 -100
  364. data/lib/stripe/resources/radar/early_fraud_warning.rb +1 -1
  365. data/lib/stripe/resources/radar/value_list.rb +2 -2
  366. data/lib/stripe/resources/radar/value_list_item.rb +1 -1
  367. data/lib/stripe/resources/refund.rb +3 -3
  368. data/lib/stripe/resources/reporting/report_run.rb +3 -3
  369. data/lib/stripe/resources/reporting/report_type.rb +3 -3
  370. data/lib/stripe/resources/reversal.rb +4 -4
  371. data/lib/stripe/resources/review.rb +1 -1
  372. data/lib/stripe/resources/setup_attempt.rb +17 -17
  373. data/lib/stripe/resources/setup_intent.rb +19 -19
  374. data/lib/stripe/resources/shared_payment/granted_token.rb +126 -0
  375. data/lib/stripe/resources/shipping_rate.rb +3 -3
  376. data/lib/stripe/resources/sigma/scheduled_query_run.rb +1 -1
  377. data/lib/stripe/resources/source.rb +8 -8
  378. data/lib/stripe/resources/source_mandate_notification.rb +3 -3
  379. data/lib/stripe/resources/subscription.rb +46 -14
  380. data/lib/stripe/resources/subscription_item.rb +22 -22
  381. data/lib/stripe/resources/subscription_schedule.rb +101 -101
  382. data/lib/stripe/resources/tax/association.rb +3 -3
  383. data/lib/stripe/resources/tax/calculation.rb +12 -12
  384. data/lib/stripe/resources/tax/calculation_line_item.rb +7 -7
  385. data/lib/stripe/resources/tax/registration.rb +3 -3
  386. data/lib/stripe/resources/tax/settings.rb +2 -2
  387. data/lib/stripe/resources/tax/transaction.rb +9 -9
  388. data/lib/stripe/resources/tax/transaction_line_item.rb +5 -5
  389. data/lib/stripe/resources/tax_id.rb +4 -4
  390. data/lib/stripe/resources/tax_rate.rb +1 -1
  391. data/lib/stripe/resources/terminal/connection_token.rb +1 -1
  392. data/lib/stripe/resources/terminal/location.rb +3 -3
  393. data/lib/stripe/resources/terminal/reader.rb +10 -10
  394. data/lib/stripe/resources/token.rb +4 -4
  395. data/lib/stripe/resources/topup.rb +3 -3
  396. data/lib/stripe/resources/transfer.rb +5 -5
  397. data/lib/stripe/resources/treasury/credit_reversal.rb +3 -3
  398. data/lib/stripe/resources/treasury/debit_reversal.rb +3 -3
  399. data/lib/stripe/resources/treasury/financial_account.rb +1 -1
  400. data/lib/stripe/resources/treasury/inbound_transfer.rb +5 -5
  401. data/lib/stripe/resources/treasury/outbound_payment.rb +6 -6
  402. data/lib/stripe/resources/treasury/outbound_transfer.rb +5 -5
  403. data/lib/stripe/resources/treasury/received_credit.rb +10 -10
  404. data/lib/stripe/resources/treasury/received_debit.rb +7 -7
  405. data/lib/stripe/resources/treasury/transaction.rb +11 -11
  406. data/lib/stripe/resources/treasury/transaction_entry.rb +11 -11
  407. data/lib/stripe/resources/v2/billing/intent_action.rb +139 -51
  408. data/lib/stripe/resources/v2/core/account.rb +174 -289
  409. data/lib/stripe/resources/v2/core/account_link.rb +11 -11
  410. data/lib/stripe/resources/v2/core/account_person.rb +10 -10
  411. data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +21 -1
  412. data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +23 -1
  413. data/lib/stripe/resources/v2/iam/api_key.rb +129 -0
  414. data/lib/stripe/resources/v2/money_management/financial_account.rb +35 -0
  415. data/lib/stripe/resources/v2/money_management/outbound_payment.rb +2 -0
  416. data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +2 -0
  417. data/lib/stripe/resources/v2/money_management/payout_method.rb +20 -0
  418. data/lib/stripe/resources/v2/money_management/received_credit.rb +2 -0
  419. data/lib/stripe/resources/v2/payments/settlement_allocation_intent.rb +92 -0
  420. data/lib/stripe/resources/v2/payments/settlement_allocation_intent_split.rb +78 -0
  421. data/lib/stripe/resources/v2/tax/manual_rule.rb +115 -0
  422. data/lib/stripe/resources/webhook_endpoint.rb +1 -1
  423. data/lib/stripe/resources.rb +19 -0
  424. data/lib/stripe/services/capital/financing_summary_service.rb +1 -1
  425. data/lib/stripe/services/payment_method_service.rb +1 -1
  426. data/lib/stripe/services/shared_payment/granted_token_service.rb +19 -0
  427. data/lib/stripe/services/shared_payment_service.rb +13 -0
  428. data/lib/stripe/services/test_helpers/shared_payment/granted_token_service.rb +32 -0
  429. data/lib/stripe/services/test_helpers/shared_payment_service.rb +15 -0
  430. data/lib/stripe/services/test_helpers_service.rb +2 -1
  431. data/lib/stripe/services/v1_services.rb +2 -1
  432. data/lib/stripe/services/v2/core/account_link_service.rb +1 -1
  433. data/lib/stripe/services/v2/core/account_service.rb +0 -4
  434. data/lib/stripe/services/v2/core/accounts/person_service.rb +2 -2
  435. data/lib/stripe/services/v2/iam/api_key_service.rb +76 -0
  436. data/lib/stripe/services/v2/iam_service.rb +15 -0
  437. data/lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb +2 -0
  438. data/lib/stripe/services/v2/money_management/payout_method_service.rb +2 -0
  439. data/lib/stripe/services/v2/payment_service.rb +3 -1
  440. data/lib/stripe/services/v2/payments/settlement_allocation_intent_service.rb +72 -0
  441. data/lib/stripe/services/v2/payments/settlement_allocation_intents/split_service.rb +45 -0
  442. data/lib/stripe/services/v2/tax/manual_rule_service.rb +65 -0
  443. data/lib/stripe/services/v2/tax_service.rb +15 -0
  444. data/lib/stripe/services/v2_services.rb +3 -1
  445. data/lib/stripe/services.rb +10 -0
  446. data/lib/stripe/stripe_object.rb +11 -3
  447. data/lib/stripe/version.rb +1 -1
  448. data/rbi/stripe.rbi +6022 -3221
  449. metadata +55 -2
@@ -31,11 +31,9 @@ module Stripe
31
31
  @field_remappings = {}
32
32
  end
33
33
  end
34
- # Whether the Capability has been requested.
35
- attr_reader :requested
36
34
  # The status of the Capability.
37
35
  attr_reader :status
38
- # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
36
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
39
37
  attr_reader :status_details
40
38
 
41
39
  def self.inner_class_types
@@ -62,11 +60,9 @@ module Stripe
62
60
  @field_remappings = {}
63
61
  end
64
62
  end
65
- # Whether the Capability has been requested.
66
- attr_reader :requested
67
63
  # The status of the Capability.
68
64
  attr_reader :status
69
- # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
65
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
70
66
  attr_reader :status_details
71
67
 
72
68
  def self.inner_class_types
@@ -107,11 +103,9 @@ module Stripe
107
103
  @field_remappings = {}
108
104
  end
109
105
  end
110
- # Whether the Capability has been requested.
111
- attr_reader :requested
112
106
  # The status of the Capability.
113
107
  attr_reader :status
114
- # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
108
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
115
109
  attr_reader :status_details
116
110
 
117
111
  def self.inner_class_types
@@ -138,11 +132,9 @@ module Stripe
138
132
  @field_remappings = {}
139
133
  end
140
134
  end
141
- # Whether the Capability has been requested.
142
- attr_reader :requested
143
135
  # The status of the Capability.
144
136
  attr_reader :status
145
- # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
137
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
146
138
  attr_reader :status_details
147
139
 
148
140
  def self.inner_class_types
@@ -183,11 +175,9 @@ module Stripe
183
175
  @field_remappings = {}
184
176
  end
185
177
  end
186
- # Whether the Capability has been requested.
187
- attr_reader :requested
188
178
  # The status of the Capability.
189
179
  attr_reader :status
190
- # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
180
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
191
181
  attr_reader :status_details
192
182
 
193
183
  def self.inner_class_types
@@ -226,11 +216,9 @@ module Stripe
226
216
  @field_remappings = {}
227
217
  end
228
218
  end
229
- # Whether the Capability has been requested.
230
- attr_reader :requested
231
219
  # The status of the Capability.
232
220
  attr_reader :status
233
- # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
221
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
234
222
  attr_reader :status_details
235
223
 
236
224
  def self.inner_class_types
@@ -257,11 +245,9 @@ module Stripe
257
245
  @field_remappings = {}
258
246
  end
259
247
  end
260
- # Whether the Capability has been requested.
261
- attr_reader :requested
262
248
  # The status of the Capability.
263
249
  attr_reader :status
264
- # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
250
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
265
251
  attr_reader :status_details
266
252
 
267
253
  def self.inner_class_types
@@ -318,7 +304,7 @@ module Stripe
318
304
  @field_remappings = {}
319
305
  end
320
306
  end
321
- # Represents the state of the configuration, and can be updated to deactivate or re-apply a configuration.
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.
322
308
  attr_reader :applied
323
309
  # Capabilities that have been requested on the CardCreator Configuration.
324
310
  attr_reader :capabilities
@@ -348,13 +334,13 @@ module Stripe
348
334
  @field_remappings = {}
349
335
  end
350
336
  end
351
- # 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".
352
338
  attr_reader :exempt
353
339
  # A recent IP address of the customer used for tax reporting and tax location inference.
354
340
  attr_reader :ip_address
355
- # 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`.
356
342
  attr_reader :location
357
- # 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.
358
344
  attr_reader :location_source
359
345
 
360
346
  def self.inner_class_types
@@ -384,7 +370,7 @@ module Stripe
384
370
  end
385
371
 
386
372
  class Rendering < ::Stripe::StripeObject
387
- # 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`.
388
374
  attr_reader :amount_tax_display
389
375
  # ID of the invoice rendering template to use for future invoices.
390
376
  attr_reader :template
@@ -399,13 +385,13 @@ module Stripe
399
385
  end
400
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.
401
387
  attr_reader :custom_fields
402
- # Default footer to be displayed on invoices for this customer.
388
+ # Default invoice footer.
403
389
  attr_reader :footer
404
- # 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.
405
391
  attr_reader :next_sequence
406
- # 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.
407
393
  attr_reader :prefix
408
- # Default options for invoice PDF rendering for this customer.
394
+ # Default invoice PDF rendering options.
409
395
  attr_reader :rendering
410
396
 
411
397
  def self.inner_class_types
@@ -416,9 +402,9 @@ module Stripe
416
402
  @field_remappings = {}
417
403
  end
418
404
  end
419
- # 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.
420
406
  attr_reader :default_payment_method
421
- # Default settings used on invoices for this customer.
407
+ # Default invoice settings for the customer account.
422
408
  attr_reader :invoice
423
409
 
424
410
  def self.inner_class_types
@@ -446,11 +432,9 @@ module Stripe
446
432
  @field_remappings = {}
447
433
  end
448
434
  end
449
- # Whether the Capability has been requested.
450
- attr_reader :requested
451
435
  # The status of the Capability.
452
436
  attr_reader :status
453
- # 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`.
454
438
  attr_reader :status_details
455
439
 
456
440
  def self.inner_class_types
@@ -511,11 +495,11 @@ module Stripe
511
495
  @field_remappings = {}
512
496
  end
513
497
  end
514
- # 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.
515
499
  attr_reader :applied
516
- # 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.
517
501
  attr_reader :automatic_indirect_tax
518
- # 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.
519
503
  attr_reader :billing
520
504
  # Capabilities that have been requested on the Customer Configuration.
521
505
  attr_reader :capabilities
@@ -540,9 +524,9 @@ module Stripe
540
524
 
541
525
  class Merchant < ::Stripe::StripeObject
542
526
  class BacsDebitPayments < ::Stripe::StripeObject
543
- # Display name for Bacs debit payments.
527
+ # Display name for Bacs Direct Debit payments.
544
528
  attr_reader :display_name
545
- # Service user number for Bacs debit payments.
529
+ # Service User Number (SUN) for Bacs Direct Debit payments.
546
530
  attr_reader :service_user_number
547
531
 
548
532
  def self.inner_class_types
@@ -589,11 +573,9 @@ module Stripe
589
573
  @field_remappings = {}
590
574
  end
591
575
  end
592
- # Whether the Capability has been requested.
593
- attr_reader :requested
594
576
  # The status of the Capability.
595
577
  attr_reader :status
596
- # 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`.
597
579
  attr_reader :status_details
598
580
 
599
581
  def self.inner_class_types
@@ -620,11 +602,9 @@ module Stripe
620
602
  @field_remappings = {}
621
603
  end
622
604
  end
623
- # Whether the Capability has been requested.
624
- attr_reader :requested
625
605
  # The status of the Capability.
626
606
  attr_reader :status
627
- # 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`.
628
608
  attr_reader :status_details
629
609
 
630
610
  def self.inner_class_types
@@ -651,11 +631,9 @@ module Stripe
651
631
  @field_remappings = {}
652
632
  end
653
633
  end
654
- # Whether the Capability has been requested.
655
- attr_reader :requested
656
634
  # The status of the Capability.
657
635
  attr_reader :status
658
- # 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`.
659
637
  attr_reader :status_details
660
638
 
661
639
  def self.inner_class_types
@@ -682,11 +660,9 @@ module Stripe
682
660
  @field_remappings = {}
683
661
  end
684
662
  end
685
- # Whether the Capability has been requested.
686
- attr_reader :requested
687
663
  # The status of the Capability.
688
664
  attr_reader :status
689
- # 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`.
690
666
  attr_reader :status_details
691
667
 
692
668
  def self.inner_class_types
@@ -713,11 +689,9 @@ module Stripe
713
689
  @field_remappings = {}
714
690
  end
715
691
  end
716
- # Whether the Capability has been requested.
717
- attr_reader :requested
718
692
  # The status of the Capability.
719
693
  attr_reader :status
720
- # 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`.
721
695
  attr_reader :status_details
722
696
 
723
697
  def self.inner_class_types
@@ -744,11 +718,9 @@ module Stripe
744
718
  @field_remappings = {}
745
719
  end
746
720
  end
747
- # Whether the Capability has been requested.
748
- attr_reader :requested
749
721
  # The status of the Capability.
750
722
  attr_reader :status
751
- # 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`.
752
724
  attr_reader :status_details
753
725
 
754
726
  def self.inner_class_types
@@ -775,11 +747,9 @@ module Stripe
775
747
  @field_remappings = {}
776
748
  end
777
749
  end
778
- # Whether the Capability has been requested.
779
- attr_reader :requested
780
750
  # The status of the Capability.
781
751
  attr_reader :status
782
- # 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`.
783
753
  attr_reader :status_details
784
754
 
785
755
  def self.inner_class_types
@@ -806,11 +776,9 @@ module Stripe
806
776
  @field_remappings = {}
807
777
  end
808
778
  end
809
- # Whether the Capability has been requested.
810
- attr_reader :requested
811
779
  # The status of the Capability.
812
780
  attr_reader :status
813
- # 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`.
814
782
  attr_reader :status_details
815
783
 
816
784
  def self.inner_class_types
@@ -837,11 +805,9 @@ module Stripe
837
805
  @field_remappings = {}
838
806
  end
839
807
  end
840
- # Whether the Capability has been requested.
841
- attr_reader :requested
842
808
  # The status of the Capability.
843
809
  attr_reader :status
844
- # 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`.
845
811
  attr_reader :status_details
846
812
 
847
813
  def self.inner_class_types
@@ -868,11 +834,9 @@ module Stripe
868
834
  @field_remappings = {}
869
835
  end
870
836
  end
871
- # Whether the Capability has been requested.
872
- attr_reader :requested
873
837
  # The status of the Capability.
874
838
  attr_reader :status
875
- # 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`.
876
840
  attr_reader :status_details
877
841
 
878
842
  def self.inner_class_types
@@ -899,11 +863,9 @@ module Stripe
899
863
  @field_remappings = {}
900
864
  end
901
865
  end
902
- # Whether the Capability has been requested.
903
- attr_reader :requested
904
866
  # The status of the Capability.
905
867
  attr_reader :status
906
- # 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`.
907
869
  attr_reader :status_details
908
870
 
909
871
  def self.inner_class_types
@@ -930,11 +892,9 @@ module Stripe
930
892
  @field_remappings = {}
931
893
  end
932
894
  end
933
- # Whether the Capability has been requested.
934
- attr_reader :requested
935
895
  # The status of the Capability.
936
896
  attr_reader :status
937
- # 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`.
938
898
  attr_reader :status_details
939
899
 
940
900
  def self.inner_class_types
@@ -961,11 +921,9 @@ module Stripe
961
921
  @field_remappings = {}
962
922
  end
963
923
  end
964
- # Whether the Capability has been requested.
965
- attr_reader :requested
966
924
  # The status of the Capability.
967
925
  attr_reader :status
968
- # 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`.
969
927
  attr_reader :status_details
970
928
 
971
929
  def self.inner_class_types
@@ -992,11 +950,9 @@ module Stripe
992
950
  @field_remappings = {}
993
951
  end
994
952
  end
995
- # Whether the Capability has been requested.
996
- attr_reader :requested
997
953
  # The status of the Capability.
998
954
  attr_reader :status
999
- # 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`.
1000
956
  attr_reader :status_details
1001
957
 
1002
958
  def self.inner_class_types
@@ -1023,11 +979,9 @@ module Stripe
1023
979
  @field_remappings = {}
1024
980
  end
1025
981
  end
1026
- # Whether the Capability has been requested.
1027
- attr_reader :requested
1028
982
  # The status of the Capability.
1029
983
  attr_reader :status
1030
- # 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`.
1031
985
  attr_reader :status_details
1032
986
 
1033
987
  def self.inner_class_types
@@ -1054,11 +1008,9 @@ module Stripe
1054
1008
  @field_remappings = {}
1055
1009
  end
1056
1010
  end
1057
- # Whether the Capability has been requested.
1058
- attr_reader :requested
1059
1011
  # The status of the Capability.
1060
1012
  attr_reader :status
1061
- # 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`.
1062
1014
  attr_reader :status_details
1063
1015
 
1064
1016
  def self.inner_class_types
@@ -1085,11 +1037,9 @@ module Stripe
1085
1037
  @field_remappings = {}
1086
1038
  end
1087
1039
  end
1088
- # Whether the Capability has been requested.
1089
- attr_reader :requested
1090
1040
  # The status of the Capability.
1091
1041
  attr_reader :status
1092
- # 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`.
1093
1043
  attr_reader :status_details
1094
1044
 
1095
1045
  def self.inner_class_types
@@ -1116,11 +1066,9 @@ module Stripe
1116
1066
  @field_remappings = {}
1117
1067
  end
1118
1068
  end
1119
- # Whether the Capability has been requested.
1120
- attr_reader :requested
1121
1069
  # The status of the Capability.
1122
1070
  attr_reader :status
1123
- # 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`.
1124
1072
  attr_reader :status_details
1125
1073
 
1126
1074
  def self.inner_class_types
@@ -1147,11 +1095,9 @@ module Stripe
1147
1095
  @field_remappings = {}
1148
1096
  end
1149
1097
  end
1150
- # Whether the Capability has been requested.
1151
- attr_reader :requested
1152
1098
  # The status of the Capability.
1153
1099
  attr_reader :status
1154
- # 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`.
1155
1101
  attr_reader :status_details
1156
1102
 
1157
1103
  def self.inner_class_types
@@ -1178,11 +1124,9 @@ module Stripe
1178
1124
  @field_remappings = {}
1179
1125
  end
1180
1126
  end
1181
- # Whether the Capability has been requested.
1182
- attr_reader :requested
1183
1127
  # The status of the Capability.
1184
1128
  attr_reader :status
1185
- # 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`.
1186
1130
  attr_reader :status_details
1187
1131
 
1188
1132
  def self.inner_class_types
@@ -1209,11 +1153,9 @@ module Stripe
1209
1153
  @field_remappings = {}
1210
1154
  end
1211
1155
  end
1212
- # Whether the Capability has been requested.
1213
- attr_reader :requested
1214
1156
  # The status of the Capability.
1215
1157
  attr_reader :status
1216
- # 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`.
1217
1159
  attr_reader :status_details
1218
1160
 
1219
1161
  def self.inner_class_types
@@ -1240,11 +1182,9 @@ module Stripe
1240
1182
  @field_remappings = {}
1241
1183
  end
1242
1184
  end
1243
- # Whether the Capability has been requested.
1244
- attr_reader :requested
1245
1185
  # The status of the Capability.
1246
1186
  attr_reader :status
1247
- # 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`.
1248
1188
  attr_reader :status_details
1249
1189
 
1250
1190
  def self.inner_class_types
@@ -1271,11 +1211,9 @@ module Stripe
1271
1211
  @field_remappings = {}
1272
1212
  end
1273
1213
  end
1274
- # Whether the Capability has been requested.
1275
- attr_reader :requested
1276
1214
  # The status of the Capability.
1277
1215
  attr_reader :status
1278
- # 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`.
1279
1217
  attr_reader :status_details
1280
1218
 
1281
1219
  def self.inner_class_types
@@ -1302,11 +1240,9 @@ module Stripe
1302
1240
  @field_remappings = {}
1303
1241
  end
1304
1242
  end
1305
- # Whether the Capability has been requested.
1306
- attr_reader :requested
1307
1243
  # The status of the Capability.
1308
1244
  attr_reader :status
1309
- # 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`.
1310
1246
  attr_reader :status_details
1311
1247
 
1312
1248
  def self.inner_class_types
@@ -1333,11 +1269,9 @@ module Stripe
1333
1269
  @field_remappings = {}
1334
1270
  end
1335
1271
  end
1336
- # Whether the Capability has been requested.
1337
- attr_reader :requested
1338
1272
  # The status of the Capability.
1339
1273
  attr_reader :status
1340
- # 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`.
1341
1275
  attr_reader :status_details
1342
1276
 
1343
1277
  def self.inner_class_types
@@ -1364,11 +1298,9 @@ module Stripe
1364
1298
  @field_remappings = {}
1365
1299
  end
1366
1300
  end
1367
- # Whether the Capability has been requested.
1368
- attr_reader :requested
1369
1301
  # The status of the Capability.
1370
1302
  attr_reader :status
1371
- # 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`.
1372
1304
  attr_reader :status_details
1373
1305
 
1374
1306
  def self.inner_class_types
@@ -1395,11 +1327,9 @@ module Stripe
1395
1327
  @field_remappings = {}
1396
1328
  end
1397
1329
  end
1398
- # Whether the Capability has been requested.
1399
- attr_reader :requested
1400
1330
  # The status of the Capability.
1401
1331
  attr_reader :status
1402
- # 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`.
1403
1333
  attr_reader :status_details
1404
1334
 
1405
1335
  def self.inner_class_types
@@ -1426,11 +1356,9 @@ module Stripe
1426
1356
  @field_remappings = {}
1427
1357
  end
1428
1358
  end
1429
- # Whether the Capability has been requested.
1430
- attr_reader :requested
1431
1359
  # The status of the Capability.
1432
1360
  attr_reader :status
1433
- # 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`.
1434
1362
  attr_reader :status_details
1435
1363
 
1436
1364
  def self.inner_class_types
@@ -1457,11 +1385,9 @@ module Stripe
1457
1385
  @field_remappings = {}
1458
1386
  end
1459
1387
  end
1460
- # Whether the Capability has been requested.
1461
- attr_reader :requested
1462
1388
  # The status of the Capability.
1463
1389
  attr_reader :status
1464
- # 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`.
1465
1391
  attr_reader :status_details
1466
1392
 
1467
1393
  def self.inner_class_types
@@ -1488,11 +1414,9 @@ module Stripe
1488
1414
  @field_remappings = {}
1489
1415
  end
1490
1416
  end
1491
- # Whether the Capability has been requested.
1492
- attr_reader :requested
1493
1417
  # The status of the Capability.
1494
1418
  attr_reader :status
1495
- # 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`.
1496
1420
  attr_reader :status_details
1497
1421
 
1498
1422
  def self.inner_class_types
@@ -1519,11 +1443,9 @@ module Stripe
1519
1443
  @field_remappings = {}
1520
1444
  end
1521
1445
  end
1522
- # Whether the Capability has been requested.
1523
- attr_reader :requested
1524
1446
  # The status of the Capability.
1525
1447
  attr_reader :status
1526
- # 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`.
1527
1449
  attr_reader :status_details
1528
1450
 
1529
1451
  def self.inner_class_types
@@ -1550,11 +1472,9 @@ module Stripe
1550
1472
  @field_remappings = {}
1551
1473
  end
1552
1474
  end
1553
- # Whether the Capability has been requested.
1554
- attr_reader :requested
1555
1475
  # The status of the Capability.
1556
1476
  attr_reader :status
1557
- # 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`.
1558
1478
  attr_reader :status_details
1559
1479
 
1560
1480
  def self.inner_class_types
@@ -1581,11 +1501,9 @@ module Stripe
1581
1501
  @field_remappings = {}
1582
1502
  end
1583
1503
  end
1584
- # Whether the Capability has been requested.
1585
- attr_reader :requested
1586
1504
  # The status of the Capability.
1587
1505
  attr_reader :status
1588
- # 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`.
1589
1507
  attr_reader :status_details
1590
1508
 
1591
1509
  def self.inner_class_types
@@ -1612,11 +1530,9 @@ module Stripe
1612
1530
  @field_remappings = {}
1613
1531
  end
1614
1532
  end
1615
- # Whether the Capability has been requested.
1616
- attr_reader :requested
1617
1533
  # The status of the Capability.
1618
1534
  attr_reader :status
1619
- # 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`.
1620
1536
  attr_reader :status_details
1621
1537
 
1622
1538
  def self.inner_class_types
@@ -1643,11 +1559,9 @@ module Stripe
1643
1559
  @field_remappings = {}
1644
1560
  end
1645
1561
  end
1646
- # Whether the Capability has been requested.
1647
- attr_reader :requested
1648
1562
  # The status of the Capability.
1649
1563
  attr_reader :status
1650
- # 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`.
1651
1565
  attr_reader :status_details
1652
1566
 
1653
1567
  def self.inner_class_types
@@ -1674,11 +1588,9 @@ module Stripe
1674
1588
  @field_remappings = {}
1675
1589
  end
1676
1590
  end
1677
- # Whether the Capability has been requested.
1678
- attr_reader :requested
1679
1591
  # The status of the Capability.
1680
1592
  attr_reader :status
1681
- # 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`.
1682
1594
  attr_reader :status_details
1683
1595
 
1684
1596
  def self.inner_class_types
@@ -1705,11 +1617,9 @@ module Stripe
1705
1617
  @field_remappings = {}
1706
1618
  end
1707
1619
  end
1708
- # Whether the Capability has been requested.
1709
- attr_reader :requested
1710
1620
  # The status of the Capability.
1711
1621
  attr_reader :status
1712
- # 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`.
1713
1623
  attr_reader :status_details
1714
1624
 
1715
1625
  def self.inner_class_types
@@ -1736,11 +1646,9 @@ module Stripe
1736
1646
  @field_remappings = {}
1737
1647
  end
1738
1648
  end
1739
- # Whether the Capability has been requested.
1740
- attr_reader :requested
1741
1649
  # The status of the Capability.
1742
1650
  attr_reader :status
1743
- # 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`.
1744
1652
  attr_reader :status_details
1745
1653
 
1746
1654
  def self.inner_class_types
@@ -1767,11 +1675,9 @@ module Stripe
1767
1675
  @field_remappings = {}
1768
1676
  end
1769
1677
  end
1770
- # Whether the Capability has been requested.
1771
- attr_reader :requested
1772
1678
  # The status of the Capability.
1773
1679
  attr_reader :status
1774
- # 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`.
1775
1681
  attr_reader :status_details
1776
1682
 
1777
1683
  def self.inner_class_types
@@ -1798,11 +1704,9 @@ module Stripe
1798
1704
  @field_remappings = {}
1799
1705
  end
1800
1706
  end
1801
- # Whether the Capability has been requested.
1802
- attr_reader :requested
1803
1707
  # The status of the Capability.
1804
1708
  attr_reader :status
1805
- # 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`.
1806
1710
  attr_reader :status_details
1807
1711
 
1808
1712
  def self.inner_class_types
@@ -1830,11 +1734,9 @@ module Stripe
1830
1734
  @field_remappings = {}
1831
1735
  end
1832
1736
  end
1833
- # Whether the Capability has been requested.
1834
- attr_reader :requested
1835
1737
  # The status of the Capability.
1836
1738
  attr_reader :status
1837
- # 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`.
1838
1740
  attr_reader :status_details
1839
1741
 
1840
1742
  def self.inner_class_types
@@ -1845,7 +1747,7 @@ module Stripe
1845
1747
  @field_remappings = {}
1846
1748
  end
1847
1749
  end
1848
- # 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).
1849
1751
  attr_reader :payouts
1850
1752
 
1851
1753
  def self.inner_class_types
@@ -1872,11 +1774,9 @@ module Stripe
1872
1774
  @field_remappings = {}
1873
1775
  end
1874
1776
  end
1875
- # Whether the Capability has been requested.
1876
- attr_reader :requested
1877
1777
  # The status of the Capability.
1878
1778
  attr_reader :status
1879
- # 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`.
1880
1780
  attr_reader :status_details
1881
1781
 
1882
1782
  def self.inner_class_types
@@ -1903,11 +1803,9 @@ module Stripe
1903
1803
  @field_remappings = {}
1904
1804
  end
1905
1805
  end
1906
- # Whether the Capability has been requested.
1907
- attr_reader :requested
1908
1806
  # The status of the Capability.
1909
1807
  attr_reader :status
1910
- # 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`.
1911
1809
  attr_reader :status_details
1912
1810
 
1913
1811
  def self.inner_class_types
@@ -1934,11 +1832,9 @@ module Stripe
1934
1832
  @field_remappings = {}
1935
1833
  end
1936
1834
  end
1937
- # Whether the Capability has been requested.
1938
- attr_reader :requested
1939
1835
  # The status of the Capability.
1940
1836
  attr_reader :status
1941
- # 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`.
1942
1838
  attr_reader :status_details
1943
1839
 
1944
1840
  def self.inner_class_types
@@ -1965,11 +1861,9 @@ module Stripe
1965
1861
  @field_remappings = {}
1966
1862
  end
1967
1863
  end
1968
- # Whether the Capability has been requested.
1969
- attr_reader :requested
1970
1864
  # The status of the Capability.
1971
1865
  attr_reader :status
1972
- # 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`.
1973
1867
  attr_reader :status_details
1974
1868
 
1975
1869
  def self.inner_class_types
@@ -2241,7 +2135,7 @@ module Stripe
2241
2135
  end
2242
2136
 
2243
2137
  class SepaDebitPayments < ::Stripe::StripeObject
2244
- # Creditor ID for SEPA debit payments.
2138
+ # Creditor ID for SEPA Direct Debit payments.
2245
2139
  attr_reader :creditor_id
2246
2140
 
2247
2141
  def self.inner_class_types
@@ -2282,7 +2176,7 @@ module Stripe
2282
2176
  attr_reader :postal_code
2283
2177
  # State, county, province, or region.
2284
2178
  attr_reader :state
2285
- # Town or cho-me.
2179
+ # Town or district.
2286
2180
  attr_reader :town
2287
2181
 
2288
2182
  def self.inner_class_types
@@ -2310,9 +2204,9 @@ module Stripe
2310
2204
  @field_remappings = {}
2311
2205
  end
2312
2206
  end
2313
- # 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.
2314
2208
  attr_reader :applied
2315
- # Settings used for Bacs debit payments.
2209
+ # Settings for Bacs Direct Debit payments.
2316
2210
  attr_reader :bacs_debit_payments
2317
2211
  # Settings used to apply the merchant's branding to email receipts, invoices, Checkout, and other products.
2318
2212
  attr_reader :branding
@@ -2322,11 +2216,11 @@ module Stripe
2322
2216
  attr_reader :card_payments
2323
2217
  # Settings specific to Konbini payments on the account.
2324
2218
  attr_reader :konbini_payments
2325
- # 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.
2326
2220
  attr_reader :mcc
2327
2221
  # Settings for the default text that appears on statements for language variations.
2328
2222
  attr_reader :script_statement_descriptor
2329
- # Settings used for SEPA debit payments.
2223
+ # Settings for SEPA Direct Debit payments.
2330
2224
  attr_reader :sepa_debit_payments
2331
2225
  # Statement descriptor.
2332
2226
  attr_reader :statement_descriptor
@@ -2355,6 +2249,35 @@ module Stripe
2355
2249
  class Recipient < ::Stripe::StripeObject
2356
2250
  class Capabilities < ::Stripe::StripeObject
2357
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
+
2358
2281
  class Local < ::Stripe::StripeObject
2359
2282
  class StatusDetail < ::Stripe::StripeObject
2360
2283
  # Machine-readable code explaining the reason for the Capability to be in its current status.
@@ -2370,11 +2293,9 @@ module Stripe
2370
2293
  @field_remappings = {}
2371
2294
  end
2372
2295
  end
2373
- # Whether the Capability has been requested.
2374
- attr_reader :requested
2375
2296
  # The status of the Capability.
2376
2297
  attr_reader :status
2377
- # 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`.
2378
2299
  attr_reader :status_details
2379
2300
 
2380
2301
  def self.inner_class_types
@@ -2401,11 +2322,9 @@ module Stripe
2401
2322
  @field_remappings = {}
2402
2323
  end
2403
2324
  end
2404
- # Whether the Capability has been requested.
2405
- attr_reader :requested
2406
2325
  # The status of the Capability.
2407
2326
  attr_reader :status
2408
- # 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`.
2409
2328
  attr_reader :status_details
2410
2329
 
2411
2330
  def self.inner_class_types
@@ -2416,13 +2335,15 @@ module Stripe
2416
2335
  @field_remappings = {}
2417
2336
  end
2418
2337
  end
2338
+ # Enables this Account to receive OutboundPayments to linked bank accounts over real time rails.
2339
+ attr_reader :instant
2419
2340
  # Enables this Account to receive OutboundPayments to linked bank accounts over local networks.
2420
2341
  attr_reader :local
2421
2342
  # Enables this Account to receive OutboundPayments to linked bank accounts over wire.
2422
2343
  attr_reader :wire
2423
2344
 
2424
2345
  def self.inner_class_types
2425
- @inner_class_types = { local: Local, wire: Wire }
2346
+ @inner_class_types = { instant: Instant, local: Local, wire: Wire }
2426
2347
  end
2427
2348
 
2428
2349
  def self.field_remappings
@@ -2445,11 +2366,9 @@ module Stripe
2445
2366
  @field_remappings = {}
2446
2367
  end
2447
2368
  end
2448
- # Whether the Capability has been requested.
2449
- attr_reader :requested
2450
2369
  # The status of the Capability.
2451
2370
  attr_reader :status
2452
- # 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`.
2453
2372
  attr_reader :status_details
2454
2373
 
2455
2374
  def self.inner_class_types
@@ -2476,11 +2395,9 @@ module Stripe
2476
2395
  @field_remappings = {}
2477
2396
  end
2478
2397
  end
2479
- # Whether the Capability has been requested.
2480
- attr_reader :requested
2481
2398
  # The status of the Capability.
2482
2399
  attr_reader :status
2483
- # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
2400
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
2484
2401
  attr_reader :status_details
2485
2402
 
2486
2403
  def self.inner_class_types
@@ -2508,11 +2425,9 @@ module Stripe
2508
2425
  @field_remappings = {}
2509
2426
  end
2510
2427
  end
2511
- # Whether the Capability has been requested.
2512
- attr_reader :requested
2513
2428
  # The status of the Capability.
2514
2429
  attr_reader :status
2515
- # 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`.
2516
2431
  attr_reader :status_details
2517
2432
 
2518
2433
  def self.inner_class_types
@@ -2539,11 +2454,9 @@ module Stripe
2539
2454
  @field_remappings = {}
2540
2455
  end
2541
2456
  end
2542
- # Whether the Capability has been requested.
2543
- attr_reader :requested
2544
2457
  # The status of the Capability.
2545
2458
  attr_reader :status
2546
- # 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`.
2547
2460
  attr_reader :status_details
2548
2461
 
2549
2462
  def self.inner_class_types
@@ -2554,9 +2467,9 @@ module Stripe
2554
2467
  @field_remappings = {}
2555
2468
  end
2556
2469
  end
2557
- # 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).
2558
2471
  attr_reader :payouts
2559
- # 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).
2560
2473
  attr_reader :stripe_transfers
2561
2474
 
2562
2475
  def self.inner_class_types
@@ -2569,9 +2482,9 @@ module Stripe
2569
2482
  end
2570
2483
  # Capabilities that enable OutboundPayments to a bank account linked to this Account.
2571
2484
  attr_reader :bank_accounts
2572
- # Capability that enable OutboundPayments to a debit card linked to this Account.
2485
+ # Enables this Account to receive OutboundPayments to a linked debit card.
2573
2486
  attr_reader :cards
2574
- # Capability that enable OutboundPayments to a crypto wallet linked to this Account.
2487
+ # Enables this Account to receive OutboundPayments to a linked crypto wallet.
2575
2488
  attr_reader :crypto_wallets
2576
2489
  # Capabilities that enable the recipient to manage their Stripe Balance (/v1/balance).
2577
2490
  attr_reader :stripe_balance
@@ -2604,7 +2517,7 @@ module Stripe
2604
2517
  @field_remappings = {}
2605
2518
  end
2606
2519
  end
2607
- # 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.
2608
2521
  attr_reader :applied
2609
2522
  # Capabilities that have been requested on the Recipient Configuration.
2610
2523
  attr_reader :capabilities
@@ -2641,11 +2554,9 @@ module Stripe
2641
2554
  @field_remappings = {}
2642
2555
  end
2643
2556
  end
2644
- # Whether the Capability has been requested.
2645
- attr_reader :requested
2646
2557
  # The status of the Capability.
2647
2558
  attr_reader :status
2648
- # 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`.
2649
2560
  attr_reader :status_details
2650
2561
 
2651
2562
  def self.inner_class_types
@@ -2672,11 +2583,9 @@ module Stripe
2672
2583
  @field_remappings = {}
2673
2584
  end
2674
2585
  end
2675
- # Whether the Capability has been requested.
2676
- attr_reader :requested
2677
2586
  # The status of the Capability.
2678
2587
  attr_reader :status
2679
- # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
2588
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
2680
2589
  attr_reader :status_details
2681
2590
 
2682
2591
  def self.inner_class_types
@@ -2717,11 +2626,9 @@ module Stripe
2717
2626
  @field_remappings = {}
2718
2627
  end
2719
2628
  end
2720
- # Whether the Capability has been requested.
2721
- attr_reader :requested
2722
2629
  # The status of the Capability.
2723
2630
  attr_reader :status
2724
- # 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`.
2725
2632
  attr_reader :status_details
2726
2633
 
2727
2634
  def self.inner_class_types
@@ -2748,11 +2655,9 @@ module Stripe
2748
2655
  @field_remappings = {}
2749
2656
  end
2750
2657
  end
2751
- # Whether the Capability has been requested.
2752
- attr_reader :requested
2753
2658
  # The status of the Capability.
2754
2659
  attr_reader :status
2755
- # 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`.
2756
2661
  attr_reader :status_details
2757
2662
 
2758
2663
  def self.inner_class_types
@@ -2779,11 +2684,9 @@ module Stripe
2779
2684
  @field_remappings = {}
2780
2685
  end
2781
2686
  end
2782
- # Whether the Capability has been requested.
2783
- attr_reader :requested
2784
2687
  # The status of the Capability.
2785
2688
  attr_reader :status
2786
- # 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`.
2787
2690
  attr_reader :status_details
2788
2691
 
2789
2692
  def self.inner_class_types
@@ -2810,11 +2713,9 @@ module Stripe
2810
2713
  @field_remappings = {}
2811
2714
  end
2812
2715
  end
2813
- # Whether the Capability has been requested.
2814
- attr_reader :requested
2815
2716
  # The status of the Capability.
2816
2717
  attr_reader :status
2817
- # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
2718
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
2818
2719
  attr_reader :status_details
2819
2720
 
2820
2721
  def self.inner_class_types
@@ -2859,11 +2760,9 @@ module Stripe
2859
2760
  @field_remappings = {}
2860
2761
  end
2861
2762
  end
2862
- # Whether the Capability has been requested.
2863
- attr_reader :requested
2864
2763
  # The status of the Capability.
2865
2764
  attr_reader :status
2866
- # 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`.
2867
2766
  attr_reader :status_details
2868
2767
 
2869
2768
  def self.inner_class_types
@@ -2874,7 +2773,7 @@ module Stripe
2874
2773
  @field_remappings = {}
2875
2774
  end
2876
2775
  end
2877
- # 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.
2878
2777
  attr_reader :bank_accounts
2879
2778
 
2880
2779
  def self.inner_class_types
@@ -2902,11 +2801,9 @@ module Stripe
2902
2801
  @field_remappings = {}
2903
2802
  end
2904
2803
  end
2905
- # Whether the Capability has been requested.
2906
- attr_reader :requested
2907
2804
  # The status of the Capability.
2908
2805
  attr_reader :status
2909
- # 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`.
2910
2807
  attr_reader :status_details
2911
2808
 
2912
2809
  def self.inner_class_types
@@ -2933,11 +2830,9 @@ module Stripe
2933
2830
  @field_remappings = {}
2934
2831
  end
2935
2832
  end
2936
- # Whether the Capability has been requested.
2937
- attr_reader :requested
2938
2833
  # The status of the Capability.
2939
2834
  attr_reader :status
2940
- # 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`.
2941
2836
  attr_reader :status_details
2942
2837
 
2943
2838
  def self.inner_class_types
@@ -2964,11 +2859,9 @@ module Stripe
2964
2859
  @field_remappings = {}
2965
2860
  end
2966
2861
  end
2967
- # Whether the Capability has been requested.
2968
- attr_reader :requested
2969
2862
  # The status of the Capability.
2970
2863
  attr_reader :status
2971
- # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
2864
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
2972
2865
  attr_reader :status_details
2973
2866
 
2974
2867
  def self.inner_class_types
@@ -2995,11 +2888,9 @@ module Stripe
2995
2888
  @field_remappings = {}
2996
2889
  end
2997
2890
  end
2998
- # Whether the Capability has been requested.
2999
- attr_reader :requested
3000
2891
  # The status of the Capability.
3001
2892
  attr_reader :status
3002
- # 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`.
3003
2894
  attr_reader :status_details
3004
2895
 
3005
2896
  def self.inner_class_types
@@ -3010,13 +2901,13 @@ module Stripe
3010
2901
  @field_remappings = {}
3011
2902
  end
3012
2903
  end
3013
- # 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.
3014
2905
  attr_reader :bank_accounts
3015
- # 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.
3016
2907
  attr_reader :cards
3017
- # Can send funds from a FinancialAccount to a crypto wallet, owned by someone else.
2908
+ # Can send funds from a FinancialAccount to a crypto wallet owned by a different entity.
3018
2909
  attr_reader :crypto_wallets
3019
- # Can send funds from a FinancialAccount to another FinancialAccount, owned by someone else.
2910
+ # Can send funds from a FinancialAccount to a FinancialAccount owned by a different entity.
3020
2911
  attr_reader :financial_accounts
3021
2912
 
3022
2913
  def self.inner_class_types
@@ -3049,11 +2940,9 @@ module Stripe
3049
2940
  @field_remappings = {}
3050
2941
  end
3051
2942
  end
3052
- # Whether the Capability has been requested.
3053
- attr_reader :requested
3054
2943
  # The status of the Capability.
3055
2944
  attr_reader :status
3056
- # 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`.
3057
2946
  attr_reader :status_details
3058
2947
 
3059
2948
  def self.inner_class_types
@@ -3080,11 +2969,9 @@ module Stripe
3080
2969
  @field_remappings = {}
3081
2970
  end
3082
2971
  end
3083
- # Whether the Capability has been requested.
3084
- attr_reader :requested
3085
2972
  # The status of the Capability.
3086
2973
  attr_reader :status
3087
- # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
2974
+ # Additional details about the capability's status. This value is empty when `status` is `active`.
3088
2975
  attr_reader :status_details
3089
2976
 
3090
2977
  def self.inner_class_types
@@ -3111,11 +2998,9 @@ module Stripe
3111
2998
  @field_remappings = {}
3112
2999
  end
3113
3000
  end
3114
- # Whether the Capability has been requested.
3115
- attr_reader :requested
3116
3001
  # The status of the Capability.
3117
3002
  attr_reader :status
3118
- # 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`.
3119
3004
  attr_reader :status_details
3120
3005
 
3121
3006
  def self.inner_class_types
@@ -3126,11 +3011,11 @@ module Stripe
3126
3011
  @field_remappings = {}
3127
3012
  end
3128
3013
  end
3129
- # 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.
3130
3015
  attr_reader :bank_accounts
3131
- # Can send funds from a FinancialAccount to a crypto wallet, owned by yourself.
3016
+ # Can send funds from a FinancialAccount to a crypto wallet belonging to the same user.
3132
3017
  attr_reader :crypto_wallets
3133
- # Can send funds from a FinancialAccount to another FinancialAccount, owned by yourself.
3018
+ # Can send funds from a FinancialAccount to another FinancialAccount belonging to the same user.
3134
3019
  attr_reader :financial_accounts
3135
3020
 
3136
3021
  def self.inner_class_types
@@ -3149,11 +3034,11 @@ module Stripe
3149
3034
  attr_reader :financial_addresses
3150
3035
  # Can hold storage-type funds on Stripe.
3151
3036
  attr_reader :holds_currencies
3152
- # Can pull funds from an external source, owned by yourself, to a FinancialAccount.
3037
+ # Hash containing capabilities related to InboundTransfers.
3153
3038
  attr_reader :inbound_transfers
3154
- # 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).
3155
3040
  attr_reader :outbound_payments
3156
- # 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).
3157
3042
  attr_reader :outbound_transfers
3158
3043
 
3159
3044
  def self.inner_class_types
@@ -3189,17 +3074,17 @@ module Stripe
3189
3074
  @field_remappings = {}
3190
3075
  end
3191
3076
  end
3192
- # Represents the state of the configuration, and can be updated to deactivate or re-apply a configuration.
3077
+ # Indicates whether the storer configuration is active. You cannot deactivate (or reactivate) the storer configuration by updating this property.
3193
3078
  attr_reader :applied
3194
3079
  # Capabilities that have been requested on the Storer Configuration.
3195
3080
  attr_reader :capabilities
3196
3081
  # List of high-risk activities the business is involved in.
3197
3082
  attr_reader :high_risk_activities
3198
- # An explanation of the high risk activities that the business performs.
3083
+ # Description of the high-risk activities the business offers.
3199
3084
  attr_reader :high_risk_activities_description
3200
3085
  # Description of the money services offered by the business.
3201
3086
  attr_reader :money_services_description
3202
- # Does the business operate in any prohibited countries.
3087
+ # Indicates whether the business operates in any prohibited countries.
3203
3088
  attr_reader :operates_in_prohibited_countries
3204
3089
  # Does the business participate in any regulated activity.
3205
3090
  attr_reader :participates_in_regulated_activity
@@ -3229,9 +3114,9 @@ module Stripe
3229
3114
  attr_reader :card_creator
3230
3115
  # The Customer Configuration allows the Account to be used in inbound payment flows.
3231
3116
  attr_reader :customer
3232
- # 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.
3233
3118
  attr_reader :merchant
3234
- # 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.
3235
3120
  attr_reader :recipient
3236
3121
  # The Storer Configuration allows the Account to store and move funds using stored-value FinancialAccounts.
3237
3122
  attr_reader :storer
@@ -3255,7 +3140,7 @@ module Stripe
3255
3140
  class Profile < ::Stripe::StripeObject
3256
3141
  # The business's publicly-available website.
3257
3142
  attr_reader :business_url
3258
- # The company’s legal name.
3143
+ # The customer-facing business name.
3259
3144
  attr_reader :doing_business_as
3260
3145
  # Internal-only description of the product sold or service provided by the business. It's used by Stripe for risk and underwriting purposes.
3261
3146
  attr_reader :product_description
@@ -3270,9 +3155,9 @@ module Stripe
3270
3155
  end
3271
3156
 
3272
3157
  class Responsibilities < ::Stripe::StripeObject
3273
- # 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.
3274
3159
  attr_reader :fees_collector
3275
- # 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.
3276
3161
  attr_reader :losses_collector
3277
3162
  # A value indicating responsibility for collecting requirements on this account.
3278
3163
  attr_reader :requirements_collector
@@ -3404,7 +3289,7 @@ module Stripe
3404
3289
  @field_remappings = {}
3405
3290
  end
3406
3291
  end
3407
- # 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`.
3408
3293
  attr_reader :awaiting_action_from
3409
3294
  # Machine-readable string describing the requirement.
3410
3295
  attr_reader :description
@@ -4161,7 +4046,7 @@ module Stripe
4161
4046
  attr_reader :postal_code
4162
4047
  # State, county, province, or region.
4163
4048
  attr_reader :state
4164
- # Town or cho-me.
4049
+ # Town or district.
4165
4050
  attr_reader :town
4166
4051
 
4167
4052
  def self.inner_class_types
@@ -4188,7 +4073,7 @@ module Stripe
4188
4073
  @field_remappings = {}
4189
4074
  end
4190
4075
  end
4191
- # A non-negative integer representing the amount in the smallest currency unit.
4076
+ # Annual revenue amount in minor currency units (for example, '123' for 1.23 USD).
4192
4077
  attr_reader :amount
4193
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.
4194
4079
  attr_reader :fiscal_year_end
@@ -4437,7 +4322,7 @@ module Stripe
4437
4322
  @field_remappings = {}
4438
4323
  end
4439
4324
  end
4440
- # A non-negative integer representing the amount in the smallest currency unit.
4325
+ # Estimated monthly revenue amount in minor currency units (for example, '123' for 1.23 USD).
4441
4326
  attr_reader :amount
4442
4327
 
4443
4328
  def self.inner_class_types
@@ -4463,7 +4348,7 @@ module Stripe
4463
4348
  attr_reader :postal_code
4464
4349
  # State, county, province, or region.
4465
4350
  attr_reader :state
4466
- # Town or cho-me.
4351
+ # Town or district.
4467
4352
  attr_reader :town
4468
4353
 
4469
4354
  def self.inner_class_types
@@ -4488,7 +4373,7 @@ module Stripe
4488
4373
  attr_reader :postal_code
4489
4374
  # State, county, province, or region.
4490
4375
  attr_reader :state
4491
- # Town or cho-me.
4376
+ # Town or district.
4492
4377
  attr_reader :town
4493
4378
 
4494
4379
  def self.inner_class_types
@@ -4560,11 +4445,11 @@ module Stripe
4560
4445
  attr_reader :compliance_screening_description
4561
4446
  # Documents that may be submitted to satisfy various informational requests.
4562
4447
  attr_reader :documents
4563
- # 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).
4564
4449
  attr_reader :estimated_worker_count
4565
4450
  # The provided ID numbers of a business entity.
4566
4451
  attr_reader :id_numbers
4567
- # 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.
4568
4453
  attr_reader :monthly_estimated_revenue
4569
4454
  # The company’s phone number (used for verification).
4570
4455
  attr_reader :phone
@@ -4610,7 +4495,7 @@ module Stripe
4610
4495
  attr_reader :purpose
4611
4496
  # State, county, province, or region.
4612
4497
  attr_reader :state
4613
- # Town or cho-me.
4498
+ # Town or district.
4614
4499
  attr_reader :town
4615
4500
 
4616
4501
  def self.inner_class_types
@@ -4683,7 +4568,7 @@ module Stripe
4683
4568
  attr_reader :postal_code
4684
4569
  # State, county, province, or region.
4685
4570
  attr_reader :state
4686
- # Town or cho-me.
4571
+ # Town or district.
4687
4572
  attr_reader :town
4688
4573
 
4689
4574
  def self.inner_class_types
@@ -4855,17 +4740,17 @@ module Stripe
4855
4740
  end
4856
4741
 
4857
4742
  class Relationship < ::Stripe::StripeObject
4858
- # Whether the individual is an authorizer of the Accounts legal entity.
4743
+ # Whether the individual is an authorizer of the Account's identity.
4859
4744
  attr_reader :authorizer
4860
- # 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.
4861
4746
  attr_reader :director
4862
4747
  # Whether the individual has significant responsibility to control, manage, or direct the organization.
4863
4748
  attr_reader :executive
4864
- # Whether the individual is the legal guardian of the Accounts representative.
4749
+ # Whether the individual is the legal guardian of the Account's representative.
4865
4750
  attr_reader :legal_guardian
4866
- # Whether the individual is an owner of the Accounts legal entity.
4751
+ # Whether the individual is an owner of the Account's identity.
4867
4752
  attr_reader :owner
4868
- # The percent owned by the individual of the Account’s legal entity.
4753
+ # The percentage of the Account's identity that the individual owns.
4869
4754
  attr_reader :percent_ownership
4870
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.
4871
4756
  attr_reader :representative
@@ -4895,7 +4780,7 @@ module Stripe
4895
4780
  attr_reader :postal_code
4896
4781
  # State, county, province, or region.
4897
4782
  attr_reader :state
4898
- # Town or cho-me.
4783
+ # Town or district.
4899
4784
  attr_reader :town
4900
4785
 
4901
4786
  def self.inner_class_types
@@ -4920,7 +4805,7 @@ module Stripe
4920
4805
  attr_reader :postal_code
4921
4806
  # State, county, province, or region.
4922
4807
  attr_reader :state
4923
- # Town or cho-me.
4808
+ # Town or district.
4924
4809
  attr_reader :town
4925
4810
 
4926
4811
  def self.inner_class_types
@@ -5179,7 +5064,7 @@ module Stripe
5179
5064
  @field_remappings = {}
5180
5065
  end
5181
5066
  end
5182
- # 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`.
5183
5068
  attr_reader :awaiting_action_from
5184
5069
  # Machine-readable string describing the requirement.
5185
5070
  attr_reader :description
@@ -5248,11 +5133,11 @@ module Stripe
5248
5133
  @field_remappings = {}
5249
5134
  end
5250
5135
  end
5251
- # 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.
5252
5137
  attr_reader :applied_configurations
5253
- # A value indicating if the Account has been closed.
5138
+ # Indicates whether the account has been closed.
5254
5139
  attr_reader :closed
5255
- # 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.
5256
5141
  attr_reader :configuration
5257
5142
  # The default contact email address for the Account. Required when configuring the account as a merchant or recipient.
5258
5143
  attr_reader :contact_email
@@ -5260,7 +5145,7 @@ module Stripe
5260
5145
  attr_reader :created
5261
5146
  # A value indicating the Stripe dashboard this Account has access to. This will depend on which configurations are enabled for this account.
5262
5147
  attr_reader :dashboard
5263
- # Default values to be used on Account Configurations.
5148
+ # Default values for settings shared across Account configurations.
5264
5149
  attr_reader :defaults
5265
5150
  # A descriptive name for the Account. This name will be surfaced in the Stripe Dashboard and on any invoices sent to the Account.
5266
5151
  attr_reader :display_name