stripe 15.5.0 → 15.6.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 (717) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +1717 -642
  3. data/OPENAPI_VERSION +1 -1
  4. data/VERSION +1 -1
  5. data/lib/stripe/api_requestor.rb +34 -0
  6. data/lib/stripe/api_version.rb +1 -2
  7. data/lib/stripe/errors.rb +63 -0
  8. data/lib/stripe/event_types.rb +185 -0
  9. data/lib/stripe/events/v2_billing_cadence_billed_event.rb +21 -0
  10. data/lib/stripe/events/v2_billing_cadence_canceled_event.rb +21 -0
  11. data/lib/stripe/events/v2_billing_cadence_created_event.rb +23 -0
  12. data/lib/stripe/events/v2_billing_cadence_errored_event.rb +21 -0
  13. data/lib/stripe/events/v2_billing_license_fee_created_event.rb +21 -0
  14. data/lib/stripe/events/v2_billing_license_fee_updated_event.rb +21 -0
  15. data/lib/stripe/events/v2_billing_license_fee_version_created_event.rb +23 -0
  16. data/lib/stripe/events/v2_billing_licensed_item_created_event.rb +21 -0
  17. data/lib/stripe/events/v2_billing_licensed_item_updated_event.rb +21 -0
  18. data/lib/stripe/events/v2_billing_metered_item_created_event.rb +21 -0
  19. data/lib/stripe/events/v2_billing_metered_item_updated_event.rb +21 -0
  20. data/lib/stripe/events/v2_billing_pricing_plan_component_created_event.rb +23 -0
  21. data/lib/stripe/events/v2_billing_pricing_plan_component_updated_event.rb +23 -0
  22. data/lib/stripe/events/v2_billing_pricing_plan_created_event.rb +21 -0
  23. data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_awaiting_customer_action_event.rb +21 -0
  24. data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_current_event.rb +21 -0
  25. data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_past_due_event.rb +21 -0
  26. data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_paused_event.rb +21 -0
  27. data/lib/stripe/events/v2_billing_pricing_plan_subscription_collection_unpaid_event.rb +21 -0
  28. data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_activated_event.rb +21 -0
  29. data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_canceled_event.rb +21 -0
  30. data/lib/stripe/events/v2_billing_pricing_plan_subscription_servicing_paused_event.rb +21 -0
  31. data/lib/stripe/events/v2_billing_pricing_plan_updated_event.rb +21 -0
  32. data/lib/stripe/events/v2_billing_pricing_plan_version_created_event.rb +23 -0
  33. data/lib/stripe/events/v2_billing_rate_card_created_event.rb +23 -0
  34. data/lib/stripe/events/v2_billing_rate_card_rate_created_event.rb +23 -0
  35. data/lib/stripe/events/v2_billing_rate_card_subscription_activated_event.rb +21 -0
  36. data/lib/stripe/events/v2_billing_rate_card_subscription_canceled_event.rb +21 -0
  37. data/lib/stripe/events/v2_billing_rate_card_subscription_collection_awaiting_customer_action_event.rb +21 -0
  38. data/lib/stripe/events/v2_billing_rate_card_subscription_collection_current_event.rb +21 -0
  39. data/lib/stripe/events/v2_billing_rate_card_subscription_collection_past_due_event.rb +21 -0
  40. data/lib/stripe/events/v2_billing_rate_card_subscription_collection_paused_event.rb +21 -0
  41. data/lib/stripe/events/v2_billing_rate_card_subscription_collection_unpaid_event.rb +21 -0
  42. data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_activated_event.rb +21 -0
  43. data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_canceled_event.rb +21 -0
  44. data/lib/stripe/events/v2_billing_rate_card_subscription_servicing_paused_event.rb +21 -0
  45. data/lib/stripe/events/v2_billing_rate_card_updated_event.rb +21 -0
  46. data/lib/stripe/events/v2_billing_rate_card_version_created_event.rb +23 -0
  47. data/lib/stripe/events/v2_core_account_closed_event.rb +21 -0
  48. data/lib/stripe/events/v2_core_account_created_event.rb +21 -0
  49. data/lib/stripe/events/v2_core_account_including_configuration_customer_capability_status_updated_event.rb +23 -0
  50. data/lib/stripe/events/v2_core_account_including_configuration_customer_updated_event.rb +21 -0
  51. data/lib/stripe/events/v2_core_account_including_configuration_merchant_capability_status_updated_event.rb +23 -0
  52. data/lib/stripe/events/v2_core_account_including_configuration_merchant_updated_event.rb +21 -0
  53. data/lib/stripe/events/v2_core_account_including_configuration_recipient_capability_status_updated_event.rb +23 -0
  54. data/lib/stripe/events/v2_core_account_including_configuration_recipient_updated_event.rb +21 -0
  55. data/lib/stripe/events/v2_core_account_including_configuration_storer_capability_status_updated_event.rb +23 -0
  56. data/lib/stripe/events/v2_core_account_including_configuration_storer_updated_event.rb +21 -0
  57. data/lib/stripe/events/v2_core_account_including_defaults_updated_event.rb +21 -0
  58. data/lib/stripe/events/v2_core_account_including_identity_updated_event.rb +21 -0
  59. data/lib/stripe/events/v2_core_account_including_requirements_updated_event.rb +21 -0
  60. data/lib/stripe/events/v2_core_account_link_returned_event.rb +13 -0
  61. data/lib/stripe/events/v2_core_account_person_created_event.rb +23 -0
  62. data/lib/stripe/events/v2_core_account_person_deleted_event.rb +23 -0
  63. data/lib/stripe/events/v2_core_account_person_updated_event.rb +23 -0
  64. data/lib/stripe/events/v2_core_account_updated_event.rb +21 -0
  65. data/lib/stripe/events/v2_core_health_api_error_firing_event.rb +13 -0
  66. data/lib/stripe/events/v2_core_health_api_error_resolved_event.rb +13 -0
  67. data/lib/stripe/events/v2_core_health_api_latency_firing_event.rb +13 -0
  68. data/lib/stripe/events/v2_core_health_api_latency_resolved_event.rb +13 -0
  69. data/lib/stripe/events/v2_core_health_authorization_rate_drop_firing_event.rb +13 -0
  70. data/lib/stripe/events/v2_core_health_authorization_rate_drop_resolved_event.rb +13 -0
  71. data/lib/stripe/events/v2_core_health_event_generation_failure_resolved_event.rb +13 -0
  72. data/lib/stripe/events/v2_core_health_fraud_rate_increased_event.rb +13 -0
  73. data/lib/stripe/events/v2_core_health_issuing_authorization_request_timeout_firing_event.rb +13 -0
  74. data/lib/stripe/events/v2_core_health_issuing_authorization_request_timeout_resolved_event.rb +13 -0
  75. data/lib/stripe/events/v2_core_health_payment_method_error_firing_event.rb +13 -0
  76. data/lib/stripe/events/v2_core_health_payment_method_error_resolved_event.rb +13 -0
  77. data/lib/stripe/events/v2_core_health_traffic_volume_drop_firing_event.rb +13 -0
  78. data/lib/stripe/events/v2_core_health_traffic_volume_drop_resolved_event.rb +13 -0
  79. data/lib/stripe/events/v2_core_health_webhook_latency_firing_event.rb +13 -0
  80. data/lib/stripe/events/v2_core_health_webhook_latency_resolved_event.rb +13 -0
  81. data/lib/stripe/events/v2_money_management_adjustment_created_event.rb +21 -0
  82. data/lib/stripe/events/v2_money_management_financial_account_created_event.rb +21 -0
  83. data/lib/stripe/events/v2_money_management_financial_account_updated_event.rb +21 -0
  84. data/lib/stripe/events/v2_money_management_financial_address_activated_event.rb +21 -0
  85. data/lib/stripe/events/v2_money_management_financial_address_failed_event.rb +21 -0
  86. data/lib/stripe/events/v2_money_management_inbound_transfer_available_event.rb +23 -0
  87. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_failed_event.rb +21 -0
  88. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_processing_event.rb +21 -0
  89. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_queued_event.rb +21 -0
  90. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_returned_event.rb +21 -0
  91. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_succeeded_event.rb +21 -0
  92. data/lib/stripe/events/v2_money_management_outbound_payment_canceled_event.rb +21 -0
  93. data/lib/stripe/events/v2_money_management_outbound_payment_created_event.rb +21 -0
  94. data/lib/stripe/events/v2_money_management_outbound_payment_failed_event.rb +21 -0
  95. data/lib/stripe/events/v2_money_management_outbound_payment_posted_event.rb +21 -0
  96. data/lib/stripe/events/v2_money_management_outbound_payment_returned_event.rb +21 -0
  97. data/lib/stripe/events/v2_money_management_outbound_payment_updated_event.rb +21 -0
  98. data/lib/stripe/events/v2_money_management_outbound_transfer_canceled_event.rb +21 -0
  99. data/lib/stripe/events/v2_money_management_outbound_transfer_created_event.rb +21 -0
  100. data/lib/stripe/events/v2_money_management_outbound_transfer_failed_event.rb +21 -0
  101. data/lib/stripe/events/v2_money_management_outbound_transfer_posted_event.rb +21 -0
  102. data/lib/stripe/events/v2_money_management_outbound_transfer_returned_event.rb +21 -0
  103. data/lib/stripe/events/v2_money_management_outbound_transfer_updated_event.rb +21 -0
  104. data/lib/stripe/events/v2_money_management_payout_method_updated_event.rb +21 -0
  105. data/lib/stripe/events/v2_money_management_received_credit_available_event.rb +23 -0
  106. data/lib/stripe/events/v2_money_management_received_credit_failed_event.rb +21 -0
  107. data/lib/stripe/events/v2_money_management_received_credit_returned_event.rb +21 -0
  108. data/lib/stripe/events/v2_money_management_received_credit_succeeded_event.rb +21 -0
  109. data/lib/stripe/events/v2_money_management_received_debit_canceled_event.rb +21 -0
  110. data/lib/stripe/events/v2_money_management_received_debit_failed_event.rb +21 -0
  111. data/lib/stripe/events/v2_money_management_received_debit_pending_event.rb +21 -0
  112. data/lib/stripe/events/v2_money_management_received_debit_succeeded_event.rb +21 -0
  113. data/lib/stripe/events/v2_money_management_received_debit_updated_event.rb +21 -0
  114. data/lib/stripe/events/v2_money_management_transaction_created_event.rb +21 -0
  115. data/lib/stripe/events/v2_money_management_transaction_updated_event.rb +21 -0
  116. data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_failed_event.rb +21 -0
  117. data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_started_event.rb +22 -0
  118. data/lib/stripe/events/v2_payments_off_session_payment_canceled_event.rb +21 -0
  119. data/lib/stripe/events/v2_payments_off_session_payment_created_event.rb +21 -0
  120. data/lib/stripe/events/v2_payments_off_session_payment_failed_event.rb +21 -0
  121. data/lib/stripe/events/v2_payments_off_session_payment_succeeded_event.rb +21 -0
  122. data/lib/stripe/events/v2_reporting_report_run_created_event.rb +21 -0
  123. data/lib/stripe/events/v2_reporting_report_run_failed_event.rb +21 -0
  124. data/lib/stripe/events/v2_reporting_report_run_succeeded_event.rb +21 -0
  125. data/lib/stripe/events/v2_reporting_report_run_updated_event.rb +21 -0
  126. data/lib/stripe/object_types.rb +80 -0
  127. data/lib/stripe/resources/account.rb +653 -1
  128. data/lib/stripe/resources/account_notice.rb +123 -0
  129. data/lib/stripe/resources/account_session.rb +256 -1
  130. data/lib/stripe/resources/balance_settings.rb +112 -0
  131. data/lib/stripe/resources/billing/alert.rb +128 -1
  132. data/lib/stripe/resources/billing/alert_triggered.rb +6 -0
  133. data/lib/stripe/resources/billing/credit_balance_summary.rb +52 -0
  134. data/lib/stripe/resources/billing/credit_balance_transaction.rb +54 -0
  135. data/lib/stripe/resources/billing/credit_grant.rb +71 -2
  136. data/lib/stripe/resources/billing/meter_usage.rb +23 -0
  137. data/lib/stripe/resources/billing/meter_usage_row.rb +28 -0
  138. data/lib/stripe/resources/billing_portal/session.rb +6 -0
  139. data/lib/stripe/resources/capital/financing_offer.rb +179 -0
  140. data/lib/stripe/resources/capital/financing_summary.rb +55 -0
  141. data/lib/stripe/resources/capital/financing_transaction.rb +114 -0
  142. data/lib/stripe/resources/card.rb +2 -0
  143. data/lib/stripe/resources/cash_balance.rb +2 -0
  144. data/lib/stripe/resources/charge.rb +1540 -4
  145. data/lib/stripe/resources/checkout/session.rb +623 -5
  146. data/lib/stripe/resources/confirmation_token.rb +170 -0
  147. data/lib/stripe/resources/coupon.rb +30 -1
  148. data/lib/stripe/resources/credit_note.rb +6 -0
  149. data/lib/stripe/resources/credit_note_line_item.rb +9 -0
  150. data/lib/stripe/resources/customer.rb +2 -0
  151. data/lib/stripe/resources/customer_balance_transaction.rb +2 -0
  152. data/lib/stripe/resources/customer_cash_balance_transaction.rb +2 -0
  153. data/lib/stripe/resources/customer_session.rb +6 -1
  154. data/lib/stripe/resources/discount.rb +2 -0
  155. data/lib/stripe/resources/dispute.rb +11 -0
  156. data/lib/stripe/resources/event.rb +31 -0
  157. data/lib/stripe/resources/financial_connections/account.rb +22 -1
  158. data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +27 -0
  159. data/lib/stripe/resources/financial_connections/institution.rb +92 -0
  160. data/lib/stripe/resources/financial_connections/session.rb +62 -2
  161. data/lib/stripe/resources/fx_quote.rb +186 -0
  162. data/lib/stripe/resources/identity/verification_session.rb +10 -0
  163. data/lib/stripe/resources/invoice.rb +1151 -16
  164. data/lib/stripe/resources/invoice_item.rb +126 -2
  165. data/lib/stripe/resources/invoice_line_item.rb +107 -1
  166. data/lib/stripe/resources/invoice_payment.rb +6 -1
  167. data/lib/stripe/resources/issuing/card.rb +0 -8
  168. data/lib/stripe/resources/issuing/cardholder.rb +2 -1
  169. data/lib/stripe/resources/issuing/credit_underwriting_record.rb +602 -0
  170. data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +82 -0
  171. data/lib/stripe/resources/issuing/fraud_liability_debit.rb +86 -0
  172. data/lib/stripe/resources/issuing/settlement.rb +53 -0
  173. data/lib/stripe/resources/issuing/transaction.rb +6 -0
  174. data/lib/stripe/resources/line_item.rb +37 -0
  175. data/lib/stripe/resources/mandate.rb +89 -1
  176. data/lib/stripe/resources/margin.rb +115 -0
  177. data/lib/stripe/resources/order.rb +2958 -0
  178. data/lib/stripe/resources/payment_attempt_record.rb +1177 -0
  179. data/lib/stripe/resources/payment_intent.rb +6448 -545
  180. data/lib/stripe/resources/payment_intent_amount_details_line_item.rb +72 -0
  181. data/lib/stripe/resources/payment_method.rb +194 -1
  182. data/lib/stripe/resources/payment_method_configuration.rb +295 -0
  183. data/lib/stripe/resources/payment_record.rb +1723 -0
  184. data/lib/stripe/resources/price.rb +30 -0
  185. data/lib/stripe/resources/privacy/redaction_job.rb +298 -0
  186. data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +33 -0
  187. data/lib/stripe/resources/promotion_code.rb +10 -0
  188. data/lib/stripe/resources/quote.rb +2038 -7
  189. data/lib/stripe/resources/quote_line.rb +274 -0
  190. data/lib/stripe/resources/quote_preview_invoice.rb +687 -0
  191. data/lib/stripe/resources/quote_preview_subscription_schedule.rb +395 -0
  192. data/lib/stripe/resources/refund.rb +9 -0
  193. data/lib/stripe/resources/setup_attempt.rb +24 -0
  194. data/lib/stripe/resources/setup_intent.rb +771 -9
  195. data/lib/stripe/resources/source.rb +29 -0
  196. data/lib/stripe/resources/subscription.rb +403 -9
  197. data/lib/stripe/resources/subscription_item.rb +84 -3
  198. data/lib/stripe/resources/subscription_schedule.rb +1007 -10
  199. data/lib/stripe/resources/tax/association.rb +66 -0
  200. data/lib/stripe/resources/tax/form.rb +211 -0
  201. data/lib/stripe/resources/tax_id.rb +12 -2
  202. data/lib/stripe/resources/terminal/configuration.rb +33 -0
  203. data/lib/stripe/resources/terminal/onboarding_link.rb +84 -0
  204. data/lib/stripe/resources/terminal/reader.rb +8 -0
  205. data/lib/stripe/resources/terminal/reader_collected_data.rb +31 -0
  206. data/lib/stripe/resources/transfer.rb +6 -0
  207. data/lib/stripe/resources/treasury/financial_account.rb +22 -3
  208. data/lib/stripe/resources/treasury/financial_account_features.rb +2 -0
  209. data/lib/stripe/resources/treasury/outbound_transfer.rb +37 -0
  210. data/lib/stripe/resources/treasury/received_credit.rb +38 -1
  211. data/lib/stripe/resources/treasury/received_debit.rb +40 -1
  212. data/lib/stripe/resources/v2/billing/bill_setting.rb +62 -0
  213. data/lib/stripe/resources/v2/billing/bill_setting_version.rb +50 -0
  214. data/lib/stripe/resources/v2/billing/cadence.rb +182 -0
  215. data/lib/stripe/resources/v2/billing/collection_setting.rb +148 -0
  216. data/lib/stripe/resources/v2/billing/collection_setting_version.rb +136 -0
  217. data/lib/stripe/resources/v2/billing/custom_pricing_unit.rb +35 -0
  218. data/lib/stripe/resources/v2/billing/intent.rb +59 -0
  219. data/lib/stripe/resources/v2/billing/intent_action.rb +200 -0
  220. data/lib/stripe/resources/v2/billing/license_fee.rb +79 -0
  221. data/lib/stripe/resources/v2/billing/license_fee_subscription.rb +36 -0
  222. data/lib/stripe/resources/v2/billing/license_fee_version.rb +56 -0
  223. data/lib/stripe/resources/v2/billing/licensed_item.rb +44 -0
  224. data/lib/stripe/resources/v2/billing/metered_item.rb +58 -0
  225. data/lib/stripe/resources/v2/billing/pricing_plan.rb +43 -0
  226. data/lib/stripe/resources/v2/billing/pricing_plan_component.rb +58 -0
  227. data/lib/stripe/resources/v2/billing/pricing_plan_subscription.rb +63 -0
  228. data/lib/stripe/resources/v2/billing/pricing_plan_version.rb +30 -0
  229. data/lib/stripe/resources/v2/billing/profile.rb +38 -0
  230. data/lib/stripe/resources/v2/billing/rate_card.rb +53 -0
  231. data/lib/stripe/resources/v2/billing/rate_card_rate.rb +71 -0
  232. data/lib/stripe/resources/v2/billing/rate_card_subscription.rb +63 -0
  233. data/lib/stripe/resources/v2/billing/rate_card_version.rb +26 -0
  234. data/lib/stripe/resources/v2/billing/service_action.rb +117 -0
  235. data/lib/stripe/resources/v2/core/account.rb +1938 -0
  236. data/lib/stripe/resources/v2/core/account_link.rb +72 -0
  237. data/lib/stripe/resources/v2/core/claimable_sandbox.rb +57 -0
  238. data/lib/stripe/resources/v2/core/person.rb +276 -0
  239. data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +74 -0
  240. data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +39 -0
  241. data/lib/stripe/resources/v2/event.rb +2 -0
  242. data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +20 -0
  243. data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +22 -0
  244. data/lib/stripe/resources/v2/money_management/adjustment.rb +51 -0
  245. data/lib/stripe/resources/v2/money_management/financial_account.rb +79 -0
  246. data/lib/stripe/resources/v2/money_management/financial_address.rb +68 -0
  247. data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +94 -0
  248. data/lib/stripe/resources/v2/money_management/outbound_payment.rb +129 -0
  249. data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +82 -0
  250. data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +45 -0
  251. data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +117 -0
  252. data/lib/stripe/resources/v2/money_management/payout_method.rb +77 -0
  253. data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +49 -0
  254. data/lib/stripe/resources/v2/money_management/received_credit.rb +122 -0
  255. data/lib/stripe/resources/v2/money_management/received_debit.rb +84 -0
  256. data/lib/stripe/resources/v2/money_management/transaction.rb +80 -0
  257. data/lib/stripe/resources/v2/money_management/transaction_entry.rb +70 -0
  258. data/lib/stripe/resources/v2/payments/off_session_payment.rb +89 -0
  259. data/lib/stripe/resources/v2/reporting/report.rb +64 -0
  260. data/lib/stripe/resources/v2/reporting/report_run.rb +89 -0
  261. data/lib/stripe/resources/v2/tax/automatic_rule.rb +31 -0
  262. data/lib/stripe/resources.rb +194 -0
  263. data/lib/stripe/services/account_notice_service.rb +101 -0
  264. data/lib/stripe/services/account_service.rb +562 -1
  265. data/lib/stripe/services/account_session_service.rb +226 -1
  266. data/lib/stripe/services/balance_settings_service.rb +99 -0
  267. data/lib/stripe/services/billing/alert_service.rb +75 -1
  268. data/lib/stripe/services/billing/credit_balance_summary_service.rb +17 -2
  269. data/lib/stripe/services/billing/credit_balance_transaction_service.rb +4 -0
  270. data/lib/stripe/services/billing/credit_grant_service.rb +37 -2
  271. data/lib/stripe/services/billing/meter_usage_service.rb +76 -0
  272. data/lib/stripe/services/billing_portal/session_service.rb +4 -0
  273. data/lib/stripe/services/billing_service.rb +2 -1
  274. data/lib/stripe/services/capital/financing_offer_service.rb +112 -0
  275. data/lib/stripe/services/capital/financing_summary_service.rb +28 -0
  276. data/lib/stripe/services/capital/financing_transaction_service.rb +79 -0
  277. data/lib/stripe/services/capital_service.rb +15 -0
  278. data/lib/stripe/services/charge_service.rb +1418 -0
  279. data/lib/stripe/services/checkout/session_service.rb +472 -5
  280. data/lib/stripe/services/coupon_service.rb +17 -1
  281. data/lib/stripe/services/credit_note_service.rb +4 -0
  282. data/lib/stripe/services/customer_session_service.rb +4 -1
  283. data/{rbi/stripe/services/account_external_account_service.rbi → lib/stripe/services/external_account_service.rb} +135 -122
  284. data/{rbi/stripe/services/tax/transaction_line_item_service.rbi → lib/stripe/services/financial_connections/account_inferred_balance_service.rb} +21 -17
  285. data/lib/stripe/services/financial_connections/account_service.rb +7 -2
  286. data/{rbi/stripe/services/climate/supplier_service.rbi → lib/stripe/services/financial_connections/institution_service.rb} +36 -25
  287. data/lib/stripe/services/financial_connections/session_service.rb +34 -2
  288. data/lib/stripe/services/financial_connections_service.rb +2 -1
  289. data/lib/stripe/services/fx_quote_service.rb +123 -0
  290. data/lib/stripe/services/identity/verification_session_service.rb +8 -0
  291. data/lib/stripe/services/invoice_item_service.rb +74 -2
  292. data/lib/stripe/services/invoice_line_item_service.rb +33 -1
  293. data/lib/stripe/services/invoice_payment_service.rb +4 -1
  294. data/lib/stripe/services/invoice_service.rb +1078 -16
  295. data/lib/stripe/services/issuing/card_service.rb +0 -8
  296. data/lib/stripe/services/issuing/cardholder_service.rb +2 -1
  297. data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +504 -0
  298. data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +66 -0
  299. data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +83 -0
  300. data/lib/stripe/services/issuing/transaction_service.rb +4 -0
  301. data/lib/stripe/services/issuing_service.rb +5 -1
  302. data/lib/stripe/services/mandate_service.rb +40 -0
  303. data/lib/stripe/services/margin_service.rb +119 -0
  304. data/{rbi/stripe/services/source_transaction_service.rbi → lib/stripe/services/order_line_item_service.rb} +20 -16
  305. data/lib/stripe/services/order_service.rb +2388 -0
  306. data/lib/stripe/services/payment_attempt_record_service.rb +52 -0
  307. data/{rbi/stripe/services/quote_line_item_service.rbi → lib/stripe/services/payment_intent_amount_details_line_item_service.rb} +20 -16
  308. data/lib/stripe/services/payment_intent_service.rb +7630 -2215
  309. data/lib/stripe/services/payment_method_configuration_service.rb +210 -0
  310. data/lib/stripe/services/payment_method_service.rb +120 -1
  311. data/lib/stripe/services/payment_record_service.rb +562 -0
  312. data/lib/stripe/services/price_service.rb +19 -0
  313. data/lib/stripe/services/privacy/redaction_job_service.rb +240 -0
  314. data/{rbi/stripe/services/tax/calculation_line_item_service.rbi → lib/stripe/services/privacy/redaction_job_validation_error_service.rb} +21 -17
  315. data/lib/stripe/services/privacy_service.rb +13 -0
  316. data/lib/stripe/services/promotion_code_service.rb +8 -0
  317. data/{rbi/stripe/services/credit_note_line_item_service.rbi → lib/stripe/services/quote_line_service.rb} +20 -16
  318. data/{rbi/stripe/services/payment_link_line_item_service.rbi → lib/stripe/services/quote_preview_invoice_service.rb} +20 -16
  319. data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +35 -0
  320. data/lib/stripe/services/quote_service.rb +1723 -8
  321. data/lib/stripe/services/setup_intent_service.rb +691 -9
  322. data/lib/stripe/services/subscription_item_service.rb +75 -3
  323. data/lib/stripe/services/subscription_schedule_service.rb +911 -10
  324. data/lib/stripe/services/subscription_service.rb +336 -9
  325. data/lib/stripe/services/tax/association_service.rb +31 -0
  326. data/lib/stripe/services/tax/form_service.rb +100 -0
  327. data/lib/stripe/services/tax_id_service.rb +8 -2
  328. data/lib/stripe/services/tax_service.rb +3 -1
  329. data/lib/stripe/services/terminal/configuration_service.rb +26 -0
  330. data/lib/stripe/services/terminal/onboarding_link_service.rb +56 -0
  331. data/lib/stripe/services/terminal/reader_collected_data_service.rb +28 -0
  332. data/lib/stripe/services/terminal_service.rb +3 -1
  333. data/lib/stripe/services/test_helpers/confirmation_token_service.rb +97 -0
  334. data/lib/stripe/services/test_helpers/treasury/received_credit_service.rb +25 -1
  335. data/lib/stripe/services/test_helpers/treasury/received_debit_service.rb +25 -1
  336. data/lib/stripe/services/transfer_service.rb +4 -0
  337. data/lib/stripe/services/treasury/financial_account_features_service.rb +4 -1
  338. data/lib/stripe/services/treasury/financial_account_service.rb +16 -2
  339. data/lib/stripe/services/treasury/outbound_transfer_service.rb +24 -0
  340. data/lib/stripe/services/v1_services.rb +11 -1
  341. data/lib/stripe/services/v2/billing/bill_setting_service.rb +214 -0
  342. data/lib/stripe/services/v2/billing/bill_settings/version_service.rb +45 -0
  343. data/lib/stripe/services/v2/billing/cadence_service.rb +428 -0
  344. data/lib/stripe/services/v2/billing/collection_setting_service.rb +518 -0
  345. data/lib/stripe/services/v2/billing/collection_settings/version_service.rb +45 -0
  346. data/lib/stripe/services/v2/billing/custom_pricing_unit_service.rb +108 -0
  347. data/lib/stripe/services/v2/billing/intent_service.rb +465 -0
  348. data/lib/stripe/services/v2/billing/intents/action_service.rb +45 -0
  349. data/lib/stripe/services/v2/billing/license_fee_service.rb +250 -0
  350. data/lib/stripe/services/v2/billing/license_fee_subscription_service.rb +23 -0
  351. data/lib/stripe/services/v2/billing/license_fees/version_service.rb +45 -0
  352. data/lib/stripe/services/v2/billing/licensed_item_service.rb +149 -0
  353. data/lib/stripe/services/v2/billing/metered_item_service.rb +176 -0
  354. data/lib/stripe/services/v2/billing/pricing_plan_service.rb +142 -0
  355. data/lib/stripe/services/v2/billing/pricing_plan_subscription_service.rb +76 -0
  356. data/lib/stripe/services/v2/billing/pricing_plans/component_service.rb +162 -0
  357. data/lib/stripe/services/v2/billing/pricing_plans/version_service.rb +45 -0
  358. data/lib/stripe/services/v2/billing/profile_service.rb +144 -0
  359. data/lib/stripe/services/v2/billing/rate_card_service.rb +151 -0
  360. data/lib/stripe/services/v2/billing/rate_card_subscription_service.rb +144 -0
  361. data/lib/stripe/services/v2/billing/rate_cards/rate_service.rb +161 -0
  362. data/lib/stripe/services/v2/billing/rate_cards/version_service.rb +45 -0
  363. data/lib/stripe/services/v2/billing/service_action_service.rb +259 -0
  364. data/lib/stripe/services/v2/billing_service.rb +18 -1
  365. data/lib/stripe/services/v2/core/account_link_service.rb +114 -0
  366. data/lib/stripe/services/v2/core/account_service.rb +4536 -0
  367. data/lib/stripe/services/v2/core/accounts/person_service.rb +1045 -0
  368. data/lib/stripe/services/v2/core/claimable_sandbox_service.rb +50 -0
  369. data/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb +130 -0
  370. data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +107 -0
  371. data/lib/stripe/services/v2/core/vault_service.rb +18 -0
  372. data/lib/stripe/services/v2/core_service.rb +5 -1
  373. data/lib/stripe/services/v2/money_management/adjustment_service.rb +74 -0
  374. data/lib/stripe/services/v2/money_management/financial_account_service.rb +119 -0
  375. data/lib/stripe/services/v2/money_management/financial_address_service.rb +82 -0
  376. data/lib/stripe/services/v2/money_management/inbound_transfer_service.rb +125 -0
  377. data/lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb +95 -0
  378. data/lib/stripe/services/v2/money_management/outbound_payment_service.rb +199 -0
  379. data/lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb +235 -0
  380. data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +172 -0
  381. data/lib/stripe/services/v2/money_management/payout_method_service.rb +90 -0
  382. data/lib/stripe/services/v2/money_management/payout_methods_bank_account_spec_service.rb +32 -0
  383. data/lib/stripe/services/v2/money_management/received_credit_service.rb +70 -0
  384. data/lib/stripe/services/v2/money_management/received_debit_service.rb +43 -0
  385. data/lib/stripe/services/v2/money_management/transaction_entry_service.rb +69 -0
  386. data/lib/stripe/services/v2/money_management/transaction_service.rb +73 -0
  387. data/lib/stripe/services/v2/money_management_service.rb +31 -0
  388. data/lib/stripe/services/v2/payment_service.rb +15 -0
  389. data/lib/stripe/services/v2/payments/off_session_payment_service.rb +152 -0
  390. data/lib/stripe/services/v2/reporting/report_run_service.rb +88 -0
  391. data/lib/stripe/services/v2/reporting/report_service.rb +25 -0
  392. data/lib/stripe/services/v2/reporting_service.rb +16 -0
  393. data/lib/stripe/services/v2/tax/automatic_rule_service.rb +99 -0
  394. data/lib/stripe/services/v2/tax_service.rb +15 -0
  395. data/lib/stripe/services/v2/test_helper_service.rb +15 -0
  396. data/lib/stripe/services/v2/test_helpers/financial_address_service.rb +53 -0
  397. data/lib/stripe/services/v2_services.rb +6 -1
  398. data/lib/stripe/services.rb +84 -0
  399. data/lib/stripe/stripe_configuration.rb +3 -1
  400. data/lib/stripe/stripe_object.rb +1 -1
  401. data/lib/stripe/util.rb +7 -1
  402. data/lib/stripe/version.rb +1 -1
  403. data/lib/stripe.rb +53 -0
  404. data/stripe.gemspec +4 -1
  405. metadata +281 -323
  406. data/rbi/stripe/resources/account.rbi +0 -4991
  407. data/rbi/stripe/resources/account_link.rbi +0 -76
  408. data/rbi/stripe/resources/account_session.rbi +0 -1173
  409. data/rbi/stripe/resources/apple_pay_domain.rbi +0 -88
  410. data/rbi/stripe/resources/application.rbi +0 -20
  411. data/rbi/stripe/resources/application_fee.rbi +0 -118
  412. data/rbi/stripe/resources/application_fee_refund.rbi +0 -37
  413. data/rbi/stripe/resources/apps/secret.rbi +0 -195
  414. data/rbi/stripe/resources/balance.rbi +0 -230
  415. data/rbi/stripe/resources/balance_transaction.rbi +0 -147
  416. data/rbi/stripe/resources/bank_account.rbi +0 -127
  417. data/rbi/stripe/resources/billing/alert.rbi +0 -201
  418. data/rbi/stripe/resources/billing/alert_triggered.rbi +0 -28
  419. data/rbi/stripe/resources/billing/credit_balance_summary.rbi +0 -63
  420. data/rbi/stripe/resources/billing/credit_balance_transaction.rbi +0 -147
  421. data/rbi/stripe/resources/billing/credit_grant.rbi +0 -291
  422. data/rbi/stripe/resources/billing/meter.rbi +0 -226
  423. data/rbi/stripe/resources/billing/meter_event.rbi +0 -64
  424. data/rbi/stripe/resources/billing/meter_event_adjustment.rbi +0 -64
  425. data/rbi/stripe/resources/billing/meter_event_summary.rbi +0 -35
  426. data/rbi/stripe/resources/billing_portal/configuration.rbi +0 -712
  427. data/rbi/stripe/resources/billing_portal/session.rbi +0 -345
  428. data/rbi/stripe/resources/capability.rbi +0 -125
  429. data/rbi/stripe/resources/card.rbi +0 -125
  430. data/rbi/stripe/resources/cash_balance.rbi +0 -32
  431. data/rbi/stripe/resources/charge.rbi +0 -2136
  432. data/rbi/stripe/resources/checkout/session.rbi +0 -4105
  433. data/rbi/stripe/resources/climate/order.rbi +0 -245
  434. data/rbi/stripe/resources/climate/product.rbi +0 -75
  435. data/rbi/stripe/resources/climate/supplier.rbi +0 -72
  436. data/rbi/stripe/resources/confirmation_token.rbi +0 -1818
  437. data/rbi/stripe/resources/connect_collection_transfer.rbi +0 -26
  438. data/rbi/stripe/resources/country_spec.rbi +0 -85
  439. data/rbi/stripe/resources/coupon.rbi +0 -250
  440. data/rbi/stripe/resources/credit_note.rbi +0 -752
  441. data/rbi/stripe/resources/credit_note_line_item.rbi +0 -101
  442. data/rbi/stripe/resources/customer.rbi +0 -993
  443. data/rbi/stripe/resources/customer_balance_transaction.rbi +0 -56
  444. data/rbi/stripe/resources/customer_cash_balance_transaction.rbi +0 -151
  445. data/rbi/stripe/resources/customer_session.rbi +0 -200
  446. data/rbi/stripe/resources/discount.rbi +0 -53
  447. data/rbi/stripe/resources/dispute.rbi +0 -761
  448. data/rbi/stripe/resources/entitlements/active_entitlement.rbi +0 -58
  449. data/rbi/stripe/resources/entitlements/active_entitlement_summary.rbi +0 -23
  450. data/rbi/stripe/resources/entitlements/feature.rbi +0 -117
  451. data/rbi/stripe/resources/ephemeral_key.rbi +0 -44
  452. data/rbi/stripe/resources/event.rbi +0 -137
  453. data/rbi/stripe/resources/exchange_rate.rbi +0 -66
  454. data/rbi/stripe/resources/file.rbi +0 -143
  455. data/rbi/stripe/resources/file_link.rbi +0 -141
  456. data/rbi/stripe/resources/financial_connections/account.rbi +0 -339
  457. data/rbi/stripe/resources/financial_connections/account_owner.rbi +0 -35
  458. data/rbi/stripe/resources/financial_connections/account_ownership.rbi +0 -23
  459. data/rbi/stripe/resources/financial_connections/session.rbi +0 -123
  460. data/rbi/stripe/resources/financial_connections/transaction.rbi +0 -124
  461. data/rbi/stripe/resources/forwarding/request.rbi +0 -216
  462. data/rbi/stripe/resources/funding_instructions.rbi +0 -437
  463. data/rbi/stripe/resources/identity/verification_report.rbi +0 -360
  464. data/rbi/stripe/resources/identity/verification_session.rbi +0 -564
  465. data/rbi/stripe/resources/invoice.rbi +0 -3894
  466. data/rbi/stripe/resources/invoice_item.rbi +0 -470
  467. data/rbi/stripe/resources/invoice_line_item.rbi +0 -432
  468. data/rbi/stripe/resources/invoice_payment.rbi +0 -121
  469. data/rbi/stripe/resources/invoice_rendering_template.rbi +0 -104
  470. data/rbi/stripe/resources/issuing/authorization.rbi +0 -1283
  471. data/rbi/stripe/resources/issuing/card.rbi +0 -749
  472. data/rbi/stripe/resources/issuing/cardholder.rbi +0 -744
  473. data/rbi/stripe/resources/issuing/dispute.rbi +0 -913
  474. data/rbi/stripe/resources/issuing/personalization_design.rbi +0 -338
  475. data/rbi/stripe/resources/issuing/physical_bundle.rbi +0 -79
  476. data/rbi/stripe/resources/issuing/token.rbi +0 -226
  477. data/rbi/stripe/resources/issuing/transaction.rbi +0 -1061
  478. data/rbi/stripe/resources/line_item.rbi +0 -72
  479. data/rbi/stripe/resources/login_link.rbi +0 -19
  480. data/rbi/stripe/resources/mandate.rbi +0 -191
  481. data/rbi/stripe/resources/payment_intent.rbi +0 -10011
  482. data/rbi/stripe/resources/payment_link.rbi +0 -1891
  483. data/rbi/stripe/resources/payment_method.rbi +0 -1770
  484. data/rbi/stripe/resources/payment_method_configuration.rbi +0 -3550
  485. data/rbi/stripe/resources/payment_method_domain.rbi +0 -228
  486. data/rbi/stripe/resources/payout.rbi +0 -307
  487. data/rbi/stripe/resources/person.rbi +0 -401
  488. data/rbi/stripe/resources/plan.rbi +0 -371
  489. data/rbi/stripe/resources/price.rbi +0 -694
  490. data/rbi/stripe/resources/product.rbi +0 -553
  491. data/rbi/stripe/resources/product_feature.rbi +0 -26
  492. data/rbi/stripe/resources/promotion_code.rbi +0 -264
  493. data/rbi/stripe/resources/quote.rbi +0 -1137
  494. data/rbi/stripe/resources/radar/early_fraud_warning.rbi +0 -98
  495. data/rbi/stripe/resources/radar/value_list.rbi +0 -168
  496. data/rbi/stripe/resources/radar/value_list_item.rbi +0 -129
  497. data/rbi/stripe/resources/refund.rbi +0 -523
  498. data/rbi/stripe/resources/reporting/report_run.rbi +0 -191
  499. data/rbi/stripe/resources/reporting/report_type.rbi +0 -57
  500. data/rbi/stripe/resources/reserve_transaction.rbi +0 -23
  501. data/rbi/stripe/resources/reversal.rbi +0 -51
  502. data/rbi/stripe/resources/review.rbi +0 -154
  503. data/rbi/stripe/resources/setup_attempt.rbi +0 -477
  504. data/rbi/stripe/resources/setup_intent.rbi +0 -3974
  505. data/rbi/stripe/resources/shipping_rate.rbi +0 -305
  506. data/rbi/stripe/resources/sigma/scheduled_query_run.rbi +0 -75
  507. data/rbi/stripe/resources/source.rbi +0 -1496
  508. data/rbi/stripe/resources/source_mandate_notification.rbi +0 -77
  509. data/rbi/stripe/resources/source_transaction.rbi +0 -127
  510. data/rbi/stripe/resources/subscription.rbi +0 -2154
  511. data/rbi/stripe/resources/subscription_item.rbi +0 -404
  512. data/rbi/stripe/resources/subscription_schedule.rbi +0 -1795
  513. data/rbi/stripe/resources/tax/calculation.rbi +0 -478
  514. data/rbi/stripe/resources/tax/calculation_line_item.rbi +0 -91
  515. data/rbi/stripe/resources/tax/registration.rbi +0 -3216
  516. data/rbi/stripe/resources/tax/settings.rbi +0 -141
  517. data/rbi/stripe/resources/tax/transaction.rbi +0 -351
  518. data/rbi/stripe/resources/tax/transaction_line_item.rbi +0 -54
  519. data/rbi/stripe/resources/tax_code.rbi +0 -44
  520. data/rbi/stripe/resources/tax_deducted_at_source.rbi +0 -23
  521. data/rbi/stripe/resources/tax_id.rbi +0 -165
  522. data/rbi/stripe/resources/tax_rate.rbi +0 -239
  523. data/rbi/stripe/resources/terminal/configuration.rbi +0 -1647
  524. data/rbi/stripe/resources/terminal/connection_token.rbi +0 -37
  525. data/rbi/stripe/resources/terminal/location.rbi +0 -222
  526. data/rbi/stripe/resources/terminal/reader.rbi +0 -1016
  527. data/rbi/stripe/resources/test_helpers/test_clock.rbi +0 -132
  528. data/rbi/stripe/resources/token.rbi +0 -1281
  529. data/rbi/stripe/resources/topup.rbi +0 -222
  530. data/rbi/stripe/resources/transfer.rbi +0 -199
  531. data/rbi/stripe/resources/treasury/credit_reversal.rbi +0 -119
  532. data/rbi/stripe/resources/treasury/debit_reversal.rbi +0 -131
  533. data/rbi/stripe/resources/treasury/financial_account.rbi +0 -869
  534. data/rbi/stripe/resources/treasury/financial_account_features.rbi +0 -260
  535. data/rbi/stripe/resources/treasury/inbound_transfer.rbi +0 -295
  536. data/rbi/stripe/resources/treasury/outbound_payment.rbi +0 -592
  537. data/rbi/stripe/resources/treasury/outbound_transfer.rbi +0 -431
  538. data/rbi/stripe/resources/treasury/received_credit.rbi +0 -302
  539. data/rbi/stripe/resources/treasury/received_debit.rbi +0 -256
  540. data/rbi/stripe/resources/treasury/transaction.rbi +0 -215
  541. data/rbi/stripe/resources/treasury/transaction_entry.rbi +0 -192
  542. data/rbi/stripe/resources/v2/amount.rbi +0 -14
  543. data/rbi/stripe/resources/v2/billing/meter_event.rbi +0 -37
  544. data/rbi/stripe/resources/v2/billing/meter_event_adjustment.rbi +0 -41
  545. data/rbi/stripe/resources/v2/billing/meter_event_session.rbi +0 -31
  546. data/rbi/stripe/resources/v2/event.rbi +0 -48
  547. data/rbi/stripe/resources/v2/event_destination.rbi +0 -91
  548. data/rbi/stripe/resources/webhook_endpoint.rbi +0 -168
  549. data/rbi/stripe/services/account_capability_service.rbi +0 -51
  550. data/rbi/stripe/services/account_link_service.rbi +0 -60
  551. data/rbi/stripe/services/account_login_link_service.rbi +0 -22
  552. data/rbi/stripe/services/account_person_service.rbi +0 -1007
  553. data/rbi/stripe/services/account_service.rbi +0 -4281
  554. data/rbi/stripe/services/account_session_service.rbi +0 -748
  555. data/rbi/stripe/services/apple_pay_domain_service.rbi +0 -76
  556. data/rbi/stripe/services/application_fee_refund_service.rbi +0 -93
  557. data/rbi/stripe/services/application_fee_service.rbi +0 -78
  558. data/rbi/stripe/services/apps/secret_service.rbi +0 -151
  559. data/rbi/stripe/services/apps_service.rbi +0 -9
  560. data/rbi/stripe/services/balance_service.rbi +0 -21
  561. data/rbi/stripe/services/balance_transaction_service.rbi +0 -93
  562. data/rbi/stripe/services/billing/alert_service.rbi +0 -152
  563. data/rbi/stripe/services/billing/credit_balance_summary_service.rbi +0 -68
  564. data/rbi/stripe/services/billing/credit_balance_transaction_service.rbi +0 -59
  565. data/rbi/stripe/services/billing/credit_grant_service.rbi +0 -211
  566. data/rbi/stripe/services/billing/meter_event_adjustment_service.rbi +0 -42
  567. data/rbi/stripe/services/billing/meter_event_service.rbi +0 -42
  568. data/rbi/stripe/services/billing/meter_event_summary_service.rbi +0 -54
  569. data/rbi/stripe/services/billing/meter_service.rbi +0 -163
  570. data/rbi/stripe/services/billing_portal/configuration_service.rbi +0 -561
  571. data/rbi/stripe/services/billing_portal/session_service.rbi +0 -204
  572. data/rbi/stripe/services/billing_portal_service.rbi +0 -10
  573. data/rbi/stripe/services/billing_service.rbi +0 -15
  574. data/rbi/stripe/services/charge_service.rbi +0 -448
  575. data/rbi/stripe/services/checkout/session_line_item_service.rbi +0 -33
  576. data/rbi/stripe/services/checkout/session_service.rbi +0 -2697
  577. data/rbi/stripe/services/checkout_service.rbi +0 -9
  578. data/rbi/stripe/services/climate/order_service.rbi +0 -142
  579. data/rbi/stripe/services/climate/product_service.rbi +0 -46
  580. data/rbi/stripe/services/climate_service.rbi +0 -11
  581. data/rbi/stripe/services/confirmation_token_service.rbi +0 -20
  582. data/rbi/stripe/services/country_spec_service.rbi +0 -44
  583. data/rbi/stripe/services/coupon_service.rbi +0 -194
  584. data/rbi/stripe/services/credit_note_preview_lines_service.rbi +0 -167
  585. data/rbi/stripe/services/credit_note_service.rbi +0 -415
  586. data/rbi/stripe/services/customer_balance_transaction_service.rbi +0 -92
  587. data/rbi/stripe/services/customer_cash_balance_service.rbi +0 -45
  588. data/rbi/stripe/services/customer_cash_balance_transaction_service.rbi +0 -44
  589. data/rbi/stripe/services/customer_funding_instructions_service.rbi +0 -59
  590. data/rbi/stripe/services/customer_payment_method_service.rbi +0 -57
  591. data/rbi/stripe/services/customer_payment_source_service.rbi +0 -232
  592. data/rbi/stripe/services/customer_service.rbi +0 -635
  593. data/rbi/stripe/services/customer_session_service.rbi +0 -116
  594. data/rbi/stripe/services/customer_tax_id_service.rbi +0 -70
  595. data/rbi/stripe/services/dispute_service.rbi +0 -424
  596. data/rbi/stripe/services/entitlements/active_entitlement_service.rbi +0 -55
  597. data/rbi/stripe/services/entitlements/feature_service.rbi +0 -107
  598. data/rbi/stripe/services/entitlements_service.rbi +0 -10
  599. data/rbi/stripe/services/ephemeral_key_service.rbi +0 -53
  600. data/rbi/stripe/services/event_service.rbi +0 -83
  601. data/rbi/stripe/services/exchange_rate_service.rbi +0 -44
  602. data/rbi/stripe/services/file_link_service.rbi +0 -124
  603. data/rbi/stripe/services/file_service.rbi +0 -116
  604. data/rbi/stripe/services/financial_connections/account_owner_service.rbi +0 -42
  605. data/rbi/stripe/services/financial_connections/account_service.rbi +0 -133
  606. data/rbi/stripe/services/financial_connections/session_service.rbi +0 -88
  607. data/rbi/stripe/services/financial_connections/transaction_service.rbi +0 -92
  608. data/rbi/stripe/services/financial_connections_service.rbi +0 -11
  609. data/rbi/stripe/services/forwarding/request_service.rbi +0 -134
  610. data/rbi/stripe/services/forwarding_service.rbi +0 -9
  611. data/rbi/stripe/services/identity/verification_report_service.rbi +0 -87
  612. data/rbi/stripe/services/identity/verification_session_service.rbi +0 -339
  613. data/rbi/stripe/services/identity_service.rbi +0 -10
  614. data/rbi/stripe/services/invoice_item_service.rbi +0 -366
  615. data/rbi/stripe/services/invoice_line_item_service.rbi +0 -259
  616. data/rbi/stripe/services/invoice_payment_service.rbi +0 -71
  617. data/rbi/stripe/services/invoice_rendering_template_service.rbi +0 -82
  618. data/rbi/stripe/services/invoice_service.rbi +0 -3073
  619. data/rbi/stripe/services/issuing/authorization_service.rbi +0 -146
  620. data/rbi/stripe/services/issuing/card_service.rbi +0 -503
  621. data/rbi/stripe/services/issuing/cardholder_service.rbi +0 -587
  622. data/rbi/stripe/services/issuing/dispute_service.rbi +0 -707
  623. data/rbi/stripe/services/issuing/personalization_design_service.rbi +0 -243
  624. data/rbi/stripe/services/issuing/physical_bundle_service.rbi +0 -59
  625. data/rbi/stripe/services/issuing/token_service.rbi +0 -99
  626. data/rbi/stripe/services/issuing/transaction_service.rbi +0 -105
  627. data/rbi/stripe/services/issuing_service.rbi +0 -16
  628. data/rbi/stripe/services/mandate_service.rbi +0 -20
  629. data/rbi/stripe/services/payment_intent_service.rbi +0 -8010
  630. data/rbi/stripe/services/payment_link_service.rbi +0 -1441
  631. data/rbi/stripe/services/payment_method_configuration_service.rbi +0 -2487
  632. data/rbi/stripe/services/payment_method_domain_service.rbi +0 -112
  633. data/rbi/stripe/services/payment_method_service.rbi +0 -781
  634. data/rbi/stripe/services/payout_service.rbi +0 -209
  635. data/rbi/stripe/services/plan_service.rbi +0 -282
  636. data/rbi/stripe/services/price_service.rbi +0 -546
  637. data/rbi/stripe/services/product_feature_service.rbi +0 -67
  638. data/rbi/stripe/services/product_service.rbi +0 -477
  639. data/rbi/stripe/services/promotion_code_service.rbi +0 -214
  640. data/rbi/stripe/services/quote_computed_upfront_line_items_service.rbi +0 -31
  641. data/rbi/stripe/services/quote_service.rbi +0 -695
  642. data/rbi/stripe/services/radar/early_fraud_warning_service.rbi +0 -85
  643. data/rbi/stripe/services/radar/value_list_item_service.rbi +0 -109
  644. data/rbi/stripe/services/radar/value_list_service.rbi +0 -141
  645. data/rbi/stripe/services/radar_service.rbi +0 -11
  646. data/rbi/stripe/services/refund_service.rbi +0 -185
  647. data/rbi/stripe/services/reporting/report_run_service.rbi +0 -135
  648. data/rbi/stripe/services/reporting/report_type_service.rbi +0 -35
  649. data/rbi/stripe/services/reporting_service.rbi +0 -10
  650. data/rbi/stripe/services/review_service.rbi +0 -84
  651. data/rbi/stripe/services/setup_attempt_service.rbi +0 -65
  652. data/rbi/stripe/services/setup_intent_service.rbi +0 -3709
  653. data/rbi/stripe/services/shipping_rate_service.rbi +0 -241
  654. data/rbi/stripe/services/sigma/scheduled_query_run_service.rbi +0 -46
  655. data/rbi/stripe/services/sigma_service.rbi +0 -9
  656. data/rbi/stripe/services/source_service.rbi +0 -663
  657. data/rbi/stripe/services/subscription_item_service.rbi +0 -350
  658. data/rbi/stripe/services/subscription_schedule_service.rbi +0 -1425
  659. data/rbi/stripe/services/subscription_service.rbi +0 -1768
  660. data/rbi/stripe/services/tax/calculation_service.rbi +0 -234
  661. data/rbi/stripe/services/tax/registration_service.rbi +0 -2278
  662. data/rbi/stripe/services/tax/settings_service.rbi +0 -93
  663. data/rbi/stripe/services/tax/transaction_service.rbi +0 -146
  664. data/rbi/stripe/services/tax_code_service.rbi +0 -44
  665. data/rbi/stripe/services/tax_id_service.rbi +0 -110
  666. data/rbi/stripe/services/tax_rate_service.rbi +0 -185
  667. data/rbi/stripe/services/tax_service.rbi +0 -12
  668. data/rbi/stripe/services/terminal/configuration_service.rbi +0 -1328
  669. data/rbi/stripe/services/terminal/connection_token_service.rbi +0 -25
  670. data/rbi/stripe/services/terminal/location_service.rbi +0 -182
  671. data/rbi/stripe/services/terminal/reader_service.rbi +0 -540
  672. data/rbi/stripe/services/terminal_service.rbi +0 -12
  673. data/rbi/stripe/services/test_helpers/confirmation_token_service.rbi +0 -746
  674. data/rbi/stripe/services/test_helpers/customer_service.rbi +0 -33
  675. data/rbi/stripe/services/test_helpers/issuing/authorization_service.rbi +0 -848
  676. data/rbi/stripe/services/test_helpers/issuing/card_service.rbi +0 -76
  677. data/rbi/stripe/services/test_helpers/issuing/personalization_design_service.rbi +0 -69
  678. data/rbi/stripe/services/test_helpers/issuing/transaction_service.rbi +0 -711
  679. data/rbi/stripe/services/test_helpers/issuing_service.rbi +0 -14
  680. data/rbi/stripe/services/test_helpers/refund_service.rbi +0 -22
  681. data/rbi/stripe/services/test_helpers/terminal/reader_service.rbi +0 -117
  682. data/rbi/stripe/services/test_helpers/terminal_service.rbi +0 -11
  683. data/rbi/stripe/services/test_helpers/test_clock_service.rbi +0 -90
  684. data/rbi/stripe/services/test_helpers/treasury/inbound_transfer_service.rbi +0 -64
  685. data/rbi/stripe/services/test_helpers/treasury/outbound_payment_service.rbi +0 -125
  686. data/rbi/stripe/services/test_helpers/treasury/outbound_transfer_service.rbi +0 -125
  687. data/rbi/stripe/services/test_helpers/treasury/received_credit_service.rbi +0 -87
  688. data/rbi/stripe/services/test_helpers/treasury/received_debit_service.rbi +0 -87
  689. data/rbi/stripe/services/test_helpers/treasury_service.rbi +0 -15
  690. data/rbi/stripe/services/test_helpers_service.rbi +0 -15
  691. data/rbi/stripe/services/token_service.rbi +0 -1255
  692. data/rbi/stripe/services/topup_service.rbi +0 -176
  693. data/rbi/stripe/services/transfer_reversal_service.rbi +0 -101
  694. data/rbi/stripe/services/transfer_service.rbi +0 -152
  695. data/rbi/stripe/services/treasury/credit_reversal_service.rbi +0 -84
  696. data/rbi/stripe/services/treasury/debit_reversal_service.rbi +0 -88
  697. data/rbi/stripe/services/treasury/financial_account_features_service.rbi +0 -198
  698. data/rbi/stripe/services/treasury/financial_account_service.rbi +0 -566
  699. data/rbi/stripe/services/treasury/inbound_transfer_service.rbi +0 -117
  700. data/rbi/stripe/services/treasury/outbound_payment_service.rbi +0 -304
  701. data/rbi/stripe/services/treasury/outbound_transfer_service.rbi +0 -157
  702. data/rbi/stripe/services/treasury/received_credit_service.rbi +0 -72
  703. data/rbi/stripe/services/treasury/received_debit_service.rbi +0 -59
  704. data/rbi/stripe/services/treasury/transaction_entry_service.rbi +0 -111
  705. data/rbi/stripe/services/treasury/transaction_service.rbi +0 -122
  706. data/rbi/stripe/services/treasury_service.rbi +0 -18
  707. data/rbi/stripe/services/v1_services.rbi +0 -77
  708. data/rbi/stripe/services/v2/billing/meter_event_adjustment_service.rbi +0 -39
  709. data/rbi/stripe/services/v2/billing/meter_event_service.rbi +0 -42
  710. data/rbi/stripe/services/v2/billing/meter_event_session_service.rbi +0 -18
  711. data/rbi/stripe/services/v2/billing/meter_event_stream_service.rbi +0 -55
  712. data/rbi/stripe/services/v2/billing_service.rbi +0 -14
  713. data/rbi/stripe/services/v2/core/event_destination_service.rbi +0 -192
  714. data/rbi/stripe/services/v2/core/event_service.rbi +0 -36
  715. data/rbi/stripe/services/v2/core_service.rbi +0 -12
  716. data/rbi/stripe/services/v2_services.rbi +0 -10
  717. data/rbi/stripe/services/webhook_endpoint_service.rbi +0 -129
@@ -0,0 +1,1938 @@
1
+ # File generated from our OpenAPI spec
2
+ # frozen_string_literal: true
3
+
4
+ module Stripe
5
+ module V2
6
+ module Core
7
+ # A V2 Account is a representation of a company or individual that a Stripe user does business with. Accounts contain the contact details, Legal Entity information, and configuration required to enable the Account for use across Stripe products.
8
+ class Account < APIResource
9
+ OBJECT_NAME = "v2.core.account"
10
+ def self.object_name
11
+ "v2.core.account"
12
+ end
13
+
14
+ class Configuration < Stripe::StripeObject
15
+ class Customer < Stripe::StripeObject
16
+ class AutomaticIndirectTax < Stripe::StripeObject
17
+ class Location < Stripe::StripeObject
18
+ # The identified tax country of the customer.
19
+ attr_reader :country
20
+ # The identified tax state, county, province, or region of the customer.
21
+ attr_reader :state
22
+ end
23
+ # 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”.
24
+ attr_reader :exempt
25
+ # A recent IP address of the customer used for tax reporting and tax location inference.
26
+ attr_reader :ip_address
27
+ # The customer’s identified tax location - uses `location_source`. Will only be rendered if the `automatic_indirect_tax` feature is requested and `active`.
28
+ attr_reader :location
29
+ # The data source used to identify the customer's tax location - defaults to 'identity_address'. Will only be used for automatic tax calculation on the customer's Invoices and Subscriptions.
30
+ attr_reader :location_source
31
+ end
32
+
33
+ class Billing < Stripe::StripeObject
34
+ class Invoice < Stripe::StripeObject
35
+ class CustomField < Stripe::StripeObject
36
+ # The name of the custom field. This may be up to 40 characters.
37
+ attr_reader :name
38
+ # The value of the custom field. This may be up to 140 characters. When updating, pass an empty string to remove previously-defined values.
39
+ attr_reader :value
40
+ end
41
+
42
+ class Rendering < Stripe::StripeObject
43
+ # 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.
44
+ attr_reader :amount_tax_display
45
+ # ID of the invoice rendering template to use for future invoices.
46
+ attr_reader :template
47
+ end
48
+ # 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.
49
+ attr_reader :custom_fields
50
+ # Default footer to be displayed on invoices for this customer.
51
+ attr_reader :footer
52
+ # The sequence to be used on the customer's next invoice. Defaults to 1.
53
+ attr_reader :next_sequence
54
+ # The prefix for the customer used to generate unique invoice numbers. Must be 3–12 uppercase letters or numbers.
55
+ attr_reader :prefix
56
+ # Default options for invoice PDF rendering for this customer.
57
+ attr_reader :rendering
58
+ end
59
+ # 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.
60
+ attr_reader :default_payment_method
61
+ # Default settings used on invoices for this customer.
62
+ attr_reader :invoice
63
+ end
64
+
65
+ class Capabilities < Stripe::StripeObject
66
+ class AutomaticIndirectTax < Stripe::StripeObject
67
+ class StatusDetail < Stripe::StripeObject
68
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
69
+ attr_reader :code
70
+ # Machine-readable code explaining how to make the Capability active.
71
+ attr_reader :resolution
72
+ end
73
+ # Whether the Capability has been requested.
74
+ attr_reader :requested
75
+ # The status of the Capability.
76
+ attr_reader :status
77
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
78
+ attr_reader :status_details
79
+ end
80
+ # Generates requirements for enabling automatic indirect tax calculation on this customer's invoices or subscriptions. Recommended to request this capability if planning to enable automatic tax calculation on this customer's invoices or subscriptions. Uses the `location_source` field.
81
+ attr_reader :automatic_indirect_tax
82
+ end
83
+
84
+ class Shipping < Stripe::StripeObject
85
+ class Address < Stripe::StripeObject
86
+ # City, district, suburb, town, or village.
87
+ attr_reader :city
88
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
89
+ attr_reader :country
90
+ # Address line 1 (e.g., street, PO Box, or company name).
91
+ attr_reader :line1
92
+ # Address line 2 (e.g., apartment, suite, unit, or building).
93
+ attr_reader :line2
94
+ # ZIP or postal code.
95
+ attr_reader :postal_code
96
+ # State, county, province, or region.
97
+ attr_reader :state
98
+ end
99
+ # Customer shipping address.
100
+ attr_reader :address
101
+ # Customer name.
102
+ attr_reader :name
103
+ # Customer phone (including extension).
104
+ attr_reader :phone
105
+ end
106
+ # Represents the state of the configuration, and can be updated to deactivate or re-apply a configuration.
107
+ attr_reader :applied
108
+ # 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.
109
+ attr_reader :automatic_indirect_tax
110
+ # Billing settings - default settings used for this customer in Billing flows such as Invoices and Subscriptions.
111
+ attr_reader :billing
112
+ # Capabilities that have been requested on the Customer Configuration.
113
+ attr_reader :capabilities
114
+ # The customer's shipping information. Appears on invoices emailed to this customer.
115
+ attr_reader :shipping
116
+ # ID of the test clock to attach to the customer. Can only be set on testmode Accounts, and when the Customer Configuration is first set on an Account.
117
+ attr_reader :test_clock
118
+ end
119
+
120
+ class Merchant < Stripe::StripeObject
121
+ class BacsDebitPayments < Stripe::StripeObject
122
+ # Display name for Bacs debit payments.
123
+ attr_reader :display_name
124
+ # Service user number for Bacs debit payments.
125
+ attr_reader :service_user_number
126
+ end
127
+
128
+ class Branding < Stripe::StripeObject
129
+ # ID of a [file upload](https://docs.stripe.com/api/persons/update#create_file): An icon for the merchant. Must be square and at least 128px x 128px.
130
+ attr_reader :icon
131
+ # ID of a [file upload](https://docs.stripe.com/api/persons/update#create_file): A logo for the merchant that will be used in Checkout instead of the icon and without the merchant's name next to it if provided. Must be at least 128px x 128px.
132
+ attr_reader :logo
133
+ # A CSS hex color value representing the primary branding color for the merchant.
134
+ attr_reader :primary_color
135
+ # A CSS hex color value representing the secondary branding color for the merchant.
136
+ attr_reader :secondary_color
137
+ end
138
+
139
+ class Capabilities < Stripe::StripeObject
140
+ class AchDebitPayments < Stripe::StripeObject
141
+ class StatusDetail < Stripe::StripeObject
142
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
143
+ attr_reader :code
144
+ # Machine-readable code explaining how to make the Capability active.
145
+ attr_reader :resolution
146
+ end
147
+ # Whether the Capability has been requested.
148
+ attr_reader :requested
149
+ # The status of the Capability.
150
+ attr_reader :status
151
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
152
+ attr_reader :status_details
153
+ end
154
+
155
+ class AcssDebitPayments < Stripe::StripeObject
156
+ class StatusDetail < Stripe::StripeObject
157
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
158
+ attr_reader :code
159
+ # Machine-readable code explaining how to make the Capability active.
160
+ attr_reader :resolution
161
+ end
162
+ # Whether the Capability has been requested.
163
+ attr_reader :requested
164
+ # The status of the Capability.
165
+ attr_reader :status
166
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
167
+ attr_reader :status_details
168
+ end
169
+
170
+ class AffirmPayments < Stripe::StripeObject
171
+ class StatusDetail < Stripe::StripeObject
172
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
173
+ attr_reader :code
174
+ # Machine-readable code explaining how to make the Capability active.
175
+ attr_reader :resolution
176
+ end
177
+ # Whether the Capability has been requested.
178
+ attr_reader :requested
179
+ # The status of the Capability.
180
+ attr_reader :status
181
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
182
+ attr_reader :status_details
183
+ end
184
+
185
+ class AfterpayClearpayPayments < Stripe::StripeObject
186
+ class StatusDetail < Stripe::StripeObject
187
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
188
+ attr_reader :code
189
+ # Machine-readable code explaining how to make the Capability active.
190
+ attr_reader :resolution
191
+ end
192
+ # Whether the Capability has been requested.
193
+ attr_reader :requested
194
+ # The status of the Capability.
195
+ attr_reader :status
196
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
197
+ attr_reader :status_details
198
+ end
199
+
200
+ class AlmaPayments < Stripe::StripeObject
201
+ class StatusDetail < Stripe::StripeObject
202
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
203
+ attr_reader :code
204
+ # Machine-readable code explaining how to make the Capability active.
205
+ attr_reader :resolution
206
+ end
207
+ # Whether the Capability has been requested.
208
+ attr_reader :requested
209
+ # The status of the Capability.
210
+ attr_reader :status
211
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
212
+ attr_reader :status_details
213
+ end
214
+
215
+ class AmazonPayPayments < Stripe::StripeObject
216
+ class StatusDetail < Stripe::StripeObject
217
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
218
+ attr_reader :code
219
+ # Machine-readable code explaining how to make the Capability active.
220
+ attr_reader :resolution
221
+ end
222
+ # Whether the Capability has been requested.
223
+ attr_reader :requested
224
+ # The status of the Capability.
225
+ attr_reader :status
226
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
227
+ attr_reader :status_details
228
+ end
229
+
230
+ class AuBecsDebitPayments < Stripe::StripeObject
231
+ class StatusDetail < Stripe::StripeObject
232
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
233
+ attr_reader :code
234
+ # Machine-readable code explaining how to make the Capability active.
235
+ attr_reader :resolution
236
+ end
237
+ # Whether the Capability has been requested.
238
+ attr_reader :requested
239
+ # The status of the Capability.
240
+ attr_reader :status
241
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
242
+ attr_reader :status_details
243
+ end
244
+
245
+ class BacsDebitPayments < Stripe::StripeObject
246
+ class StatusDetail < Stripe::StripeObject
247
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
248
+ attr_reader :code
249
+ # Machine-readable code explaining how to make the Capability active.
250
+ attr_reader :resolution
251
+ end
252
+ # Whether the Capability has been requested.
253
+ attr_reader :requested
254
+ # The status of the Capability.
255
+ attr_reader :status
256
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
257
+ attr_reader :status_details
258
+ end
259
+
260
+ class BancontactPayments < Stripe::StripeObject
261
+ class StatusDetail < Stripe::StripeObject
262
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
263
+ attr_reader :code
264
+ # Machine-readable code explaining how to make the Capability active.
265
+ attr_reader :resolution
266
+ end
267
+ # Whether the Capability has been requested.
268
+ attr_reader :requested
269
+ # The status of the Capability.
270
+ attr_reader :status
271
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
272
+ attr_reader :status_details
273
+ end
274
+
275
+ class BlikPayments < Stripe::StripeObject
276
+ class StatusDetail < Stripe::StripeObject
277
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
278
+ attr_reader :code
279
+ # Machine-readable code explaining how to make the Capability active.
280
+ attr_reader :resolution
281
+ end
282
+ # Whether the Capability has been requested.
283
+ attr_reader :requested
284
+ # The status of the Capability.
285
+ attr_reader :status
286
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
287
+ attr_reader :status_details
288
+ end
289
+
290
+ class BoletoPayments < Stripe::StripeObject
291
+ class StatusDetail < Stripe::StripeObject
292
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
293
+ attr_reader :code
294
+ # Machine-readable code explaining how to make the Capability active.
295
+ attr_reader :resolution
296
+ end
297
+ # Whether the Capability has been requested.
298
+ attr_reader :requested
299
+ # The status of the Capability.
300
+ attr_reader :status
301
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
302
+ attr_reader :status_details
303
+ end
304
+
305
+ class CardPayments < Stripe::StripeObject
306
+ class StatusDetail < Stripe::StripeObject
307
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
308
+ attr_reader :code
309
+ # Machine-readable code explaining how to make the Capability active.
310
+ attr_reader :resolution
311
+ end
312
+ # Whether the Capability has been requested.
313
+ attr_reader :requested
314
+ # The status of the Capability.
315
+ attr_reader :status
316
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
317
+ attr_reader :status_details
318
+ end
319
+
320
+ class CartesBancairesPayments < Stripe::StripeObject
321
+ class StatusDetail < Stripe::StripeObject
322
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
323
+ attr_reader :code
324
+ # Machine-readable code explaining how to make the Capability active.
325
+ attr_reader :resolution
326
+ end
327
+ # Whether the Capability has been requested.
328
+ attr_reader :requested
329
+ # The status of the Capability.
330
+ attr_reader :status
331
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
332
+ attr_reader :status_details
333
+ end
334
+
335
+ class CashappPayments < Stripe::StripeObject
336
+ class StatusDetail < Stripe::StripeObject
337
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
338
+ attr_reader :code
339
+ # Machine-readable code explaining how to make the Capability active.
340
+ attr_reader :resolution
341
+ end
342
+ # Whether the Capability has been requested.
343
+ attr_reader :requested
344
+ # The status of the Capability.
345
+ attr_reader :status
346
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
347
+ attr_reader :status_details
348
+ end
349
+
350
+ class EpsPayments < Stripe::StripeObject
351
+ class StatusDetail < Stripe::StripeObject
352
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
353
+ attr_reader :code
354
+ # Machine-readable code explaining how to make the Capability active.
355
+ attr_reader :resolution
356
+ end
357
+ # Whether the Capability has been requested.
358
+ attr_reader :requested
359
+ # The status of the Capability.
360
+ attr_reader :status
361
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
362
+ attr_reader :status_details
363
+ end
364
+
365
+ class FpxPayments < Stripe::StripeObject
366
+ class StatusDetail < Stripe::StripeObject
367
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
368
+ attr_reader :code
369
+ # Machine-readable code explaining how to make the Capability active.
370
+ attr_reader :resolution
371
+ end
372
+ # Whether the Capability has been requested.
373
+ attr_reader :requested
374
+ # The status of the Capability.
375
+ attr_reader :status
376
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
377
+ attr_reader :status_details
378
+ end
379
+
380
+ class GbBankTransferPayments < Stripe::StripeObject
381
+ class StatusDetail < Stripe::StripeObject
382
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
383
+ attr_reader :code
384
+ # Machine-readable code explaining how to make the Capability active.
385
+ attr_reader :resolution
386
+ end
387
+ # Whether the Capability has been requested.
388
+ attr_reader :requested
389
+ # The status of the Capability.
390
+ attr_reader :status
391
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
392
+ attr_reader :status_details
393
+ end
394
+
395
+ class GrabpayPayments < Stripe::StripeObject
396
+ class StatusDetail < Stripe::StripeObject
397
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
398
+ attr_reader :code
399
+ # Machine-readable code explaining how to make the Capability active.
400
+ attr_reader :resolution
401
+ end
402
+ # Whether the Capability has been requested.
403
+ attr_reader :requested
404
+ # The status of the Capability.
405
+ attr_reader :status
406
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
407
+ attr_reader :status_details
408
+ end
409
+
410
+ class IdealPayments < Stripe::StripeObject
411
+ class StatusDetail < Stripe::StripeObject
412
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
413
+ attr_reader :code
414
+ # Machine-readable code explaining how to make the Capability active.
415
+ attr_reader :resolution
416
+ end
417
+ # Whether the Capability has been requested.
418
+ attr_reader :requested
419
+ # The status of the Capability.
420
+ attr_reader :status
421
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
422
+ attr_reader :status_details
423
+ end
424
+
425
+ class JcbPayments < Stripe::StripeObject
426
+ class StatusDetail < Stripe::StripeObject
427
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
428
+ attr_reader :code
429
+ # Machine-readable code explaining how to make the Capability active.
430
+ attr_reader :resolution
431
+ end
432
+ # Whether the Capability has been requested.
433
+ attr_reader :requested
434
+ # The status of the Capability.
435
+ attr_reader :status
436
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
437
+ attr_reader :status_details
438
+ end
439
+
440
+ class JpBankTransferPayments < Stripe::StripeObject
441
+ class StatusDetail < Stripe::StripeObject
442
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
443
+ attr_reader :code
444
+ # Machine-readable code explaining how to make the Capability active.
445
+ attr_reader :resolution
446
+ end
447
+ # Whether the Capability has been requested.
448
+ attr_reader :requested
449
+ # The status of the Capability.
450
+ attr_reader :status
451
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
452
+ attr_reader :status_details
453
+ end
454
+
455
+ class KakaoPayPayments < Stripe::StripeObject
456
+ class StatusDetail < Stripe::StripeObject
457
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
458
+ attr_reader :code
459
+ # Machine-readable code explaining how to make the Capability active.
460
+ attr_reader :resolution
461
+ end
462
+ # Whether the Capability has been requested.
463
+ attr_reader :requested
464
+ # The status of the Capability.
465
+ attr_reader :status
466
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
467
+ attr_reader :status_details
468
+ end
469
+
470
+ class KlarnaPayments < Stripe::StripeObject
471
+ class StatusDetail < Stripe::StripeObject
472
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
473
+ attr_reader :code
474
+ # Machine-readable code explaining how to make the Capability active.
475
+ attr_reader :resolution
476
+ end
477
+ # Whether the Capability has been requested.
478
+ attr_reader :requested
479
+ # The status of the Capability.
480
+ attr_reader :status
481
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
482
+ attr_reader :status_details
483
+ end
484
+
485
+ class KonbiniPayments < Stripe::StripeObject
486
+ class StatusDetail < Stripe::StripeObject
487
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
488
+ attr_reader :code
489
+ # Machine-readable code explaining how to make the Capability active.
490
+ attr_reader :resolution
491
+ end
492
+ # Whether the Capability has been requested.
493
+ attr_reader :requested
494
+ # The status of the Capability.
495
+ attr_reader :status
496
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
497
+ attr_reader :status_details
498
+ end
499
+
500
+ class KrCardPayments < Stripe::StripeObject
501
+ class StatusDetail < Stripe::StripeObject
502
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
503
+ attr_reader :code
504
+ # Machine-readable code explaining how to make the Capability active.
505
+ attr_reader :resolution
506
+ end
507
+ # Whether the Capability has been requested.
508
+ attr_reader :requested
509
+ # The status of the Capability.
510
+ attr_reader :status
511
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
512
+ attr_reader :status_details
513
+ end
514
+
515
+ class LinkPayments < Stripe::StripeObject
516
+ class StatusDetail < Stripe::StripeObject
517
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
518
+ attr_reader :code
519
+ # Machine-readable code explaining how to make the Capability active.
520
+ attr_reader :resolution
521
+ end
522
+ # Whether the Capability has been requested.
523
+ attr_reader :requested
524
+ # The status of the Capability.
525
+ attr_reader :status
526
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
527
+ attr_reader :status_details
528
+ end
529
+
530
+ class MobilepayPayments < Stripe::StripeObject
531
+ class StatusDetail < Stripe::StripeObject
532
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
533
+ attr_reader :code
534
+ # Machine-readable code explaining how to make the Capability active.
535
+ attr_reader :resolution
536
+ end
537
+ # Whether the Capability has been requested.
538
+ attr_reader :requested
539
+ # The status of the Capability.
540
+ attr_reader :status
541
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
542
+ attr_reader :status_details
543
+ end
544
+
545
+ class MultibancoPayments < Stripe::StripeObject
546
+ class StatusDetail < Stripe::StripeObject
547
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
548
+ attr_reader :code
549
+ # Machine-readable code explaining how to make the Capability active.
550
+ attr_reader :resolution
551
+ end
552
+ # Whether the Capability has been requested.
553
+ attr_reader :requested
554
+ # The status of the Capability.
555
+ attr_reader :status
556
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
557
+ attr_reader :status_details
558
+ end
559
+
560
+ class MxBankTransferPayments < Stripe::StripeObject
561
+ class StatusDetail < Stripe::StripeObject
562
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
563
+ attr_reader :code
564
+ # Machine-readable code explaining how to make the Capability active.
565
+ attr_reader :resolution
566
+ end
567
+ # Whether the Capability has been requested.
568
+ attr_reader :requested
569
+ # The status of the Capability.
570
+ attr_reader :status
571
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
572
+ attr_reader :status_details
573
+ end
574
+
575
+ class NaverPayPayments < Stripe::StripeObject
576
+ class StatusDetail < Stripe::StripeObject
577
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
578
+ attr_reader :code
579
+ # Machine-readable code explaining how to make the Capability active.
580
+ attr_reader :resolution
581
+ end
582
+ # Whether the Capability has been requested.
583
+ attr_reader :requested
584
+ # The status of the Capability.
585
+ attr_reader :status
586
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
587
+ attr_reader :status_details
588
+ end
589
+
590
+ class OxxoPayments < Stripe::StripeObject
591
+ class StatusDetail < Stripe::StripeObject
592
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
593
+ attr_reader :code
594
+ # Machine-readable code explaining how to make the Capability active.
595
+ attr_reader :resolution
596
+ end
597
+ # Whether the Capability has been requested.
598
+ attr_reader :requested
599
+ # The status of the Capability.
600
+ attr_reader :status
601
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
602
+ attr_reader :status_details
603
+ end
604
+
605
+ class P24Payments < Stripe::StripeObject
606
+ class StatusDetail < Stripe::StripeObject
607
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
608
+ attr_reader :code
609
+ # Machine-readable code explaining how to make the Capability active.
610
+ attr_reader :resolution
611
+ end
612
+ # Whether the Capability has been requested.
613
+ attr_reader :requested
614
+ # The status of the Capability.
615
+ attr_reader :status
616
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
617
+ attr_reader :status_details
618
+ end
619
+
620
+ class PayByBankPayments < Stripe::StripeObject
621
+ class StatusDetail < Stripe::StripeObject
622
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
623
+ attr_reader :code
624
+ # Machine-readable code explaining how to make the Capability active.
625
+ attr_reader :resolution
626
+ end
627
+ # Whether the Capability has been requested.
628
+ attr_reader :requested
629
+ # The status of the Capability.
630
+ attr_reader :status
631
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
632
+ attr_reader :status_details
633
+ end
634
+
635
+ class PaycoPayments < Stripe::StripeObject
636
+ class StatusDetail < Stripe::StripeObject
637
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
638
+ attr_reader :code
639
+ # Machine-readable code explaining how to make the Capability active.
640
+ attr_reader :resolution
641
+ end
642
+ # Whether the Capability has been requested.
643
+ attr_reader :requested
644
+ # The status of the Capability.
645
+ attr_reader :status
646
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
647
+ attr_reader :status_details
648
+ end
649
+
650
+ class PaynowPayments < Stripe::StripeObject
651
+ class StatusDetail < Stripe::StripeObject
652
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
653
+ attr_reader :code
654
+ # Machine-readable code explaining how to make the Capability active.
655
+ attr_reader :resolution
656
+ end
657
+ # Whether the Capability has been requested.
658
+ attr_reader :requested
659
+ # The status of the Capability.
660
+ attr_reader :status
661
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
662
+ attr_reader :status_details
663
+ end
664
+
665
+ class PromptpayPayments < Stripe::StripeObject
666
+ class StatusDetail < Stripe::StripeObject
667
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
668
+ attr_reader :code
669
+ # Machine-readable code explaining how to make the Capability active.
670
+ attr_reader :resolution
671
+ end
672
+ # Whether the Capability has been requested.
673
+ attr_reader :requested
674
+ # The status of the Capability.
675
+ attr_reader :status
676
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
677
+ attr_reader :status_details
678
+ end
679
+
680
+ class RevolutPayPayments < Stripe::StripeObject
681
+ class StatusDetail < Stripe::StripeObject
682
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
683
+ attr_reader :code
684
+ # Machine-readable code explaining how to make the Capability active.
685
+ attr_reader :resolution
686
+ end
687
+ # Whether the Capability has been requested.
688
+ attr_reader :requested
689
+ # The status of the Capability.
690
+ attr_reader :status
691
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
692
+ attr_reader :status_details
693
+ end
694
+
695
+ class SamsungPayPayments < Stripe::StripeObject
696
+ class StatusDetail < Stripe::StripeObject
697
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
698
+ attr_reader :code
699
+ # Machine-readable code explaining how to make the Capability active.
700
+ attr_reader :resolution
701
+ end
702
+ # Whether the Capability has been requested.
703
+ attr_reader :requested
704
+ # The status of the Capability.
705
+ attr_reader :status
706
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
707
+ attr_reader :status_details
708
+ end
709
+
710
+ class SepaBankTransferPayments < Stripe::StripeObject
711
+ class StatusDetail < Stripe::StripeObject
712
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
713
+ attr_reader :code
714
+ # Machine-readable code explaining how to make the Capability active.
715
+ attr_reader :resolution
716
+ end
717
+ # Whether the Capability has been requested.
718
+ attr_reader :requested
719
+ # The status of the Capability.
720
+ attr_reader :status
721
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
722
+ attr_reader :status_details
723
+ end
724
+
725
+ class SepaDebitPayments < Stripe::StripeObject
726
+ class StatusDetail < Stripe::StripeObject
727
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
728
+ attr_reader :code
729
+ # Machine-readable code explaining how to make the Capability active.
730
+ attr_reader :resolution
731
+ end
732
+ # Whether the Capability has been requested.
733
+ attr_reader :requested
734
+ # The status of the Capability.
735
+ attr_reader :status
736
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
737
+ attr_reader :status_details
738
+ end
739
+
740
+ class StripeBalance < Stripe::StripeObject
741
+ class Payouts < Stripe::StripeObject
742
+ class StatusDetail < Stripe::StripeObject
743
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
744
+ attr_reader :code
745
+ # Machine-readable code explaining how to make the Capability active.
746
+ attr_reader :resolution
747
+ end
748
+ # Whether the Capability has been requested.
749
+ attr_reader :requested
750
+ # The status of the Capability.
751
+ attr_reader :status
752
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
753
+ attr_reader :status_details
754
+ end
755
+ # Allows the account to do payouts using their Stripe Balance (/v1/balance).
756
+ attr_reader :payouts
757
+ end
758
+
759
+ class SwishPayments < Stripe::StripeObject
760
+ class StatusDetail < Stripe::StripeObject
761
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
762
+ attr_reader :code
763
+ # Machine-readable code explaining how to make the Capability active.
764
+ attr_reader :resolution
765
+ end
766
+ # Whether the Capability has been requested.
767
+ attr_reader :requested
768
+ # The status of the Capability.
769
+ attr_reader :status
770
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
771
+ attr_reader :status_details
772
+ end
773
+
774
+ class TwintPayments < Stripe::StripeObject
775
+ class StatusDetail < Stripe::StripeObject
776
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
777
+ attr_reader :code
778
+ # Machine-readable code explaining how to make the Capability active.
779
+ attr_reader :resolution
780
+ end
781
+ # Whether the Capability has been requested.
782
+ attr_reader :requested
783
+ # The status of the Capability.
784
+ attr_reader :status
785
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
786
+ attr_reader :status_details
787
+ end
788
+
789
+ class UsBankTransferPayments < Stripe::StripeObject
790
+ class StatusDetail < Stripe::StripeObject
791
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
792
+ attr_reader :code
793
+ # Machine-readable code explaining how to make the Capability active.
794
+ attr_reader :resolution
795
+ end
796
+ # Whether the Capability has been requested.
797
+ attr_reader :requested
798
+ # The status of the Capability.
799
+ attr_reader :status
800
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
801
+ attr_reader :status_details
802
+ end
803
+
804
+ class ZipPayments < Stripe::StripeObject
805
+ class StatusDetail < Stripe::StripeObject
806
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
807
+ attr_reader :code
808
+ # Machine-readable code explaining how to make the Capability active.
809
+ attr_reader :resolution
810
+ end
811
+ # Whether the Capability has been requested.
812
+ attr_reader :requested
813
+ # The status of the Capability.
814
+ attr_reader :status
815
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
816
+ attr_reader :status_details
817
+ end
818
+ # Allow the merchant to process ACH debit payments.
819
+ attr_reader :ach_debit_payments
820
+ # Allow the merchant to process ACSS debit payments.
821
+ attr_reader :acss_debit_payments
822
+ # Allow the merchant to process Affirm payments.
823
+ attr_reader :affirm_payments
824
+ # Allow the merchant to process Afterpay/Clearpay payments.
825
+ attr_reader :afterpay_clearpay_payments
826
+ # Allow the merchant to process Alma payments.
827
+ attr_reader :alma_payments
828
+ # Allow the merchant to process Amazon Pay payments.
829
+ attr_reader :amazon_pay_payments
830
+ # Allow the merchant to process Australian BECS Direct Debit payments.
831
+ attr_reader :au_becs_debit_payments
832
+ # Allow the merchant to process BACS Direct Debit payments.
833
+ attr_reader :bacs_debit_payments
834
+ # Allow the merchant to process Bancontact payments.
835
+ attr_reader :bancontact_payments
836
+ # Allow the merchant to process BLIK payments.
837
+ attr_reader :blik_payments
838
+ # Allow the merchant to process Boleto payments.
839
+ attr_reader :boleto_payments
840
+ # Allow the merchant to collect card payments.
841
+ attr_reader :card_payments
842
+ # Allow the merchant to process Cartes Bancaires payments.
843
+ attr_reader :cartes_bancaires_payments
844
+ # Allow the merchant to process Cash App payments.
845
+ attr_reader :cashapp_payments
846
+ # Allow the merchant to process EPS payments.
847
+ attr_reader :eps_payments
848
+ # Allow the merchant to process FPX payments.
849
+ attr_reader :fpx_payments
850
+ # Allow the merchant to process UK bank transfer payments.
851
+ attr_reader :gb_bank_transfer_payments
852
+ # Allow the merchant to process GrabPay payments.
853
+ attr_reader :grabpay_payments
854
+ # Allow the merchant to process iDEAL payments.
855
+ attr_reader :ideal_payments
856
+ # Allow the merchant to process JCB card payments.
857
+ attr_reader :jcb_payments
858
+ # Allow the merchant to process Japanese bank transfer payments.
859
+ attr_reader :jp_bank_transfer_payments
860
+ # Allow the merchant to process Kakao Pay payments.
861
+ attr_reader :kakao_pay_payments
862
+ # Allow the merchant to process Klarna payments.
863
+ attr_reader :klarna_payments
864
+ # Allow the merchant to process Konbini convenience store payments.
865
+ attr_reader :konbini_payments
866
+ # Allow the merchant to process Korean card payments.
867
+ attr_reader :kr_card_payments
868
+ # Allow the merchant to process Link payments.
869
+ attr_reader :link_payments
870
+ # Allow the merchant to process MobilePay payments.
871
+ attr_reader :mobilepay_payments
872
+ # Allow the merchant to process Multibanco payments.
873
+ attr_reader :multibanco_payments
874
+ # Allow the merchant to process Mexican bank transfer payments.
875
+ attr_reader :mx_bank_transfer_payments
876
+ # Allow the merchant to process Naver Pay payments.
877
+ attr_reader :naver_pay_payments
878
+ # Allow the merchant to process OXXO payments.
879
+ attr_reader :oxxo_payments
880
+ # Allow the merchant to process Przelewy24 (P24) payments.
881
+ attr_reader :p24_payments
882
+ # Allow the merchant to process Pay by Bank payments.
883
+ attr_reader :pay_by_bank_payments
884
+ # Allow the merchant to process PAYCO payments.
885
+ attr_reader :payco_payments
886
+ # Allow the merchant to process PayNow payments.
887
+ attr_reader :paynow_payments
888
+ # Allow the merchant to process PromptPay payments.
889
+ attr_reader :promptpay_payments
890
+ # Allow the merchant to process Revolut Pay payments.
891
+ attr_reader :revolut_pay_payments
892
+ # Allow the merchant to process Samsung Pay payments.
893
+ attr_reader :samsung_pay_payments
894
+ # Allow the merchant to process SEPA bank transfer payments.
895
+ attr_reader :sepa_bank_transfer_payments
896
+ # Allow the merchant to process SEPA Direct Debit payments.
897
+ attr_reader :sepa_debit_payments
898
+ # Capabilities that enable the merchant to manage their Stripe Balance (/v1/balance).
899
+ attr_reader :stripe_balance
900
+ # Allow the merchant to process Swish payments.
901
+ attr_reader :swish_payments
902
+ # Allow the merchant to process TWINT payments.
903
+ attr_reader :twint_payments
904
+ # Allow the merchant to process US bank transfer payments.
905
+ attr_reader :us_bank_transfer_payments
906
+ # Allow the merchant to process Zip payments.
907
+ attr_reader :zip_payments
908
+ end
909
+
910
+ class CardPayments < Stripe::StripeObject
911
+ class DeclineOn < Stripe::StripeObject
912
+ # Whether Stripe automatically declines charges with an incorrect ZIP or postal code. This setting only applies when a ZIP or postal code is provided and they fail bank verification.
913
+ attr_reader :avs_failure
914
+ # Whether Stripe automatically declines charges with an incorrect CVC. This setting only applies when a CVC is provided and it fails bank verification.
915
+ attr_reader :cvc_failure
916
+ end
917
+ # Automatically declines certain charge types regardless of whether the card issuer accepted or declined the charge.
918
+ attr_reader :decline_on
919
+ end
920
+
921
+ class SepaDebitPayments < Stripe::StripeObject
922
+ # Creditor ID for SEPA debit payments.
923
+ attr_reader :creditor_id
924
+ end
925
+
926
+ class StatementDescriptor < Stripe::StripeObject
927
+ # The default text that appears on statements for non-card charges outside of Japan. For card charges, if you don’t set a statement_descriptor_prefix, this text is also used as the statement descriptor prefix. In that case, if concatenating the statement descriptor suffix causes the combined statement descriptor to exceed 22 characters, we truncate the statement_descriptor text to limit the full descriptor to 22 characters. For more information about statement descriptors and their requirements, see the Merchant Configuration settings documentation.
928
+ attr_reader :descriptor
929
+ # Default text that appears on statements for card charges outside of Japan, prefixing any dynamic statement_descriptor_suffix specified on the charge. To maximize space for the dynamic part of the descriptor, keep this text short. If you don’t specify this value, statement_descriptor is used as the prefix. For more information about statement descriptors and their requirements, see the Merchant Configuration settings documentation.
930
+ attr_reader :prefix
931
+ end
932
+
933
+ class Support < Stripe::StripeObject
934
+ class Address < Stripe::StripeObject
935
+ # City, district, suburb, town, or village.
936
+ attr_reader :city
937
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
938
+ attr_reader :country
939
+ # Address line 1 (e.g., street, PO Box, or company name).
940
+ attr_reader :line1
941
+ # Address line 2 (e.g., apartment, suite, unit, or building).
942
+ attr_reader :line2
943
+ # ZIP or postal code.
944
+ attr_reader :postal_code
945
+ # State, county, province, or region.
946
+ attr_reader :state
947
+ # Town or cho-me.
948
+ attr_reader :town
949
+ end
950
+ # A publicly available mailing address for sending support issues to.
951
+ attr_reader :address
952
+ # A publicly available email address for sending support issues to.
953
+ attr_reader :email
954
+ # A publicly available phone number to call with support issues.
955
+ attr_reader :phone
956
+ # A publicly available website for handling support issues.
957
+ attr_reader :url
958
+ end
959
+ # Represents the state of the configuration, and can be updated to deactivate or re-apply a configuration.
960
+ attr_reader :applied
961
+ # Settings used for Bacs debit payments.
962
+ attr_reader :bacs_debit_payments
963
+ # Settings used to apply the merchant's branding to email receipts, invoices, Checkout, and other products.
964
+ attr_reader :branding
965
+ # Capabilities that have been requested on the Merchant Configuration.
966
+ attr_reader :capabilities
967
+ # Card payments settings.
968
+ attr_reader :card_payments
969
+ # The merchant category code for the merchant. MCCs are used to classify businesses based on the goods or services they provide.
970
+ attr_reader :mcc
971
+ # Settings used for SEPA debit payments.
972
+ attr_reader :sepa_debit_payments
973
+ # Statement descriptor.
974
+ attr_reader :statement_descriptor
975
+ # Publicly available contact information for sending support issues to.
976
+ attr_reader :support
977
+ end
978
+
979
+ class Recipient < Stripe::StripeObject
980
+ class Capabilities < Stripe::StripeObject
981
+ class BankAccounts < Stripe::StripeObject
982
+ class Local < Stripe::StripeObject
983
+ class StatusDetail < Stripe::StripeObject
984
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
985
+ attr_reader :code
986
+ # Machine-readable code explaining how to make the Capability active.
987
+ attr_reader :resolution
988
+ end
989
+ # Whether the Capability has been requested.
990
+ attr_reader :requested
991
+ # The status of the Capability.
992
+ attr_reader :status
993
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
994
+ attr_reader :status_details
995
+ end
996
+
997
+ class Wire < Stripe::StripeObject
998
+ class StatusDetail < Stripe::StripeObject
999
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
1000
+ attr_reader :code
1001
+ # Machine-readable code explaining how to make the Capability active.
1002
+ attr_reader :resolution
1003
+ end
1004
+ # Whether the Capability has been requested.
1005
+ attr_reader :requested
1006
+ # The status of the Capability.
1007
+ attr_reader :status
1008
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
1009
+ attr_reader :status_details
1010
+ end
1011
+ # Enables this Account to receive OutboundPayments to linked bank accounts over local networks.
1012
+ attr_reader :local
1013
+ # Enables this Account to receive OutboundPayments to linked bank accounts over wire.
1014
+ attr_reader :wire
1015
+ end
1016
+
1017
+ class Cards < Stripe::StripeObject
1018
+ class StatusDetail < Stripe::StripeObject
1019
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
1020
+ attr_reader :code
1021
+ # Machine-readable code explaining how to make the Capability active.
1022
+ attr_reader :resolution
1023
+ end
1024
+ # Whether the Capability has been requested.
1025
+ attr_reader :requested
1026
+ # The status of the Capability.
1027
+ attr_reader :status
1028
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
1029
+ attr_reader :status_details
1030
+ end
1031
+
1032
+ class StripeBalance < Stripe::StripeObject
1033
+ class Payouts < Stripe::StripeObject
1034
+ class StatusDetail < Stripe::StripeObject
1035
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
1036
+ attr_reader :code
1037
+ # Machine-readable code explaining how to make the Capability active.
1038
+ attr_reader :resolution
1039
+ end
1040
+ # Whether the Capability has been requested.
1041
+ attr_reader :requested
1042
+ # The status of the Capability.
1043
+ attr_reader :status
1044
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
1045
+ attr_reader :status_details
1046
+ end
1047
+
1048
+ class StripeTransfers < Stripe::StripeObject
1049
+ class StatusDetail < Stripe::StripeObject
1050
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
1051
+ attr_reader :code
1052
+ # Machine-readable code explaining how to make the Capability active.
1053
+ attr_reader :resolution
1054
+ end
1055
+ # Whether the Capability has been requested.
1056
+ attr_reader :requested
1057
+ # The status of the Capability.
1058
+ attr_reader :status
1059
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
1060
+ attr_reader :status_details
1061
+ end
1062
+ # Allows the account to do payouts using their Stripe Balance (/v1/balance).
1063
+ attr_reader :payouts
1064
+ # Allows the account to receive /v1/transfers into their Stripe Balance (/v1/balance).
1065
+ attr_reader :stripe_transfers
1066
+ end
1067
+ # Capabilities that enable OutboundPayments to a bank account linked to this Account.
1068
+ attr_reader :bank_accounts
1069
+ # Capability that enable OutboundPayments to a debit card linked to this Account.
1070
+ attr_reader :cards
1071
+ # Capabilities that enable the recipient to manage their Stripe Balance (/v1/balance).
1072
+ attr_reader :stripe_balance
1073
+ end
1074
+
1075
+ class DefaultOutboundDestination < Stripe::StripeObject
1076
+ # The payout method ID of the default outbound destination.
1077
+ attr_reader :id
1078
+ # Closed Enum. The payout method type of the default outbound destination.
1079
+ attr_reader :type
1080
+ end
1081
+ # Represents the state of the configuration, and can be updated to deactivate or re-apply a configuration.
1082
+ attr_reader :applied
1083
+ # Capabilities that have been requested on the Recipient Configuration.
1084
+ attr_reader :capabilities
1085
+ # The payout method to be used as a default outbound destination. This will allow the PayoutMethod to be omitted on OutboundPayments made through the dashboard.
1086
+ attr_reader :default_outbound_destination
1087
+ end
1088
+
1089
+ class Storer < Stripe::StripeObject
1090
+ class Capabilities < Stripe::StripeObject
1091
+ class FinancialAddresses < Stripe::StripeObject
1092
+ class BankAccounts < Stripe::StripeObject
1093
+ class StatusDetail < Stripe::StripeObject
1094
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
1095
+ attr_reader :code
1096
+ # Machine-readable code explaining how to make the Capability active.
1097
+ attr_reader :resolution
1098
+ end
1099
+ # Whether the Capability has been requested.
1100
+ attr_reader :requested
1101
+ # The status of the Capability.
1102
+ attr_reader :status
1103
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
1104
+ attr_reader :status_details
1105
+ end
1106
+ # Can provision a bank-account like financial address (VBAN) to credit/debit a FinancialAccount.
1107
+ attr_reader :bank_accounts
1108
+ end
1109
+
1110
+ class HoldsCurrencies < Stripe::StripeObject
1111
+ class Gbp < Stripe::StripeObject
1112
+ class StatusDetail < Stripe::StripeObject
1113
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
1114
+ attr_reader :code
1115
+ # Machine-readable code explaining how to make the Capability active.
1116
+ attr_reader :resolution
1117
+ end
1118
+ # Whether the Capability has been requested.
1119
+ attr_reader :requested
1120
+ # The status of the Capability.
1121
+ attr_reader :status
1122
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
1123
+ attr_reader :status_details
1124
+ end
1125
+ # Can hold storage-type funds on Stripe in GBP.
1126
+ attr_reader :gbp
1127
+ end
1128
+
1129
+ class InboundTransfers < Stripe::StripeObject
1130
+ class BankAccounts < Stripe::StripeObject
1131
+ class StatusDetail < Stripe::StripeObject
1132
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
1133
+ attr_reader :code
1134
+ # Machine-readable code explaining how to make the Capability active.
1135
+ attr_reader :resolution
1136
+ end
1137
+ # Whether the Capability has been requested.
1138
+ attr_reader :requested
1139
+ # The status of the Capability.
1140
+ attr_reader :status
1141
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
1142
+ attr_reader :status_details
1143
+ end
1144
+ # Can pull funds from an external bank account, owned by yourself, to a FinancialAccount.
1145
+ attr_reader :bank_accounts
1146
+ end
1147
+
1148
+ class OutboundPayments < Stripe::StripeObject
1149
+ class BankAccounts < Stripe::StripeObject
1150
+ class StatusDetail < Stripe::StripeObject
1151
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
1152
+ attr_reader :code
1153
+ # Machine-readable code explaining how to make the Capability active.
1154
+ attr_reader :resolution
1155
+ end
1156
+ # Whether the Capability has been requested.
1157
+ attr_reader :requested
1158
+ # The status of the Capability.
1159
+ attr_reader :status
1160
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
1161
+ attr_reader :status_details
1162
+ end
1163
+
1164
+ class Cards < Stripe::StripeObject
1165
+ class StatusDetail < Stripe::StripeObject
1166
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
1167
+ attr_reader :code
1168
+ # Machine-readable code explaining how to make the Capability active.
1169
+ attr_reader :resolution
1170
+ end
1171
+ # Whether the Capability has been requested.
1172
+ attr_reader :requested
1173
+ # The status of the Capability.
1174
+ attr_reader :status
1175
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
1176
+ attr_reader :status_details
1177
+ end
1178
+
1179
+ class FinancialAccounts < Stripe::StripeObject
1180
+ class StatusDetail < Stripe::StripeObject
1181
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
1182
+ attr_reader :code
1183
+ # Machine-readable code explaining how to make the Capability active.
1184
+ attr_reader :resolution
1185
+ end
1186
+ # Whether the Capability has been requested.
1187
+ attr_reader :requested
1188
+ # The status of the Capability.
1189
+ attr_reader :status
1190
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
1191
+ attr_reader :status_details
1192
+ end
1193
+ # Can send funds from a FinancialAccount to a bank account, owned by someone else.
1194
+ attr_reader :bank_accounts
1195
+ # Can send funds from a FinancialAccount to a debit card, owned by someone else.
1196
+ attr_reader :cards
1197
+ # Can send funds from a FinancialAccount to another FinancialAccount, owned by someone else.
1198
+ attr_reader :financial_accounts
1199
+ end
1200
+
1201
+ class OutboundTransfers < Stripe::StripeObject
1202
+ class BankAccounts < Stripe::StripeObject
1203
+ class StatusDetail < Stripe::StripeObject
1204
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
1205
+ attr_reader :code
1206
+ # Machine-readable code explaining how to make the Capability active.
1207
+ attr_reader :resolution
1208
+ end
1209
+ # Whether the Capability has been requested.
1210
+ attr_reader :requested
1211
+ # The status of the Capability.
1212
+ attr_reader :status
1213
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
1214
+ attr_reader :status_details
1215
+ end
1216
+
1217
+ class FinancialAccounts < Stripe::StripeObject
1218
+ class StatusDetail < Stripe::StripeObject
1219
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
1220
+ attr_reader :code
1221
+ # Machine-readable code explaining how to make the Capability active.
1222
+ attr_reader :resolution
1223
+ end
1224
+ # Whether the Capability has been requested.
1225
+ attr_reader :requested
1226
+ # The status of the Capability.
1227
+ attr_reader :status
1228
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
1229
+ attr_reader :status_details
1230
+ end
1231
+ # Can send funds from a FinancialAccount, to a bank account, owned by yourself.
1232
+ attr_reader :bank_accounts
1233
+ # Can send funds from a FinancialAccount to another FinancialAccount, owned by yourself.
1234
+ attr_reader :financial_accounts
1235
+ end
1236
+ # Can provision a financial address to credit/debit a FinancialAccount.
1237
+ attr_reader :financial_addresses
1238
+ # Can hold storage-type funds on Stripe.
1239
+ attr_reader :holds_currencies
1240
+ # Can pull funds from an external source, owned by yourself, to a FinancialAccount.
1241
+ attr_reader :inbound_transfers
1242
+ # Can send funds from a FinancialAccount to a destination owned by someone else.
1243
+ attr_reader :outbound_payments
1244
+ # Can send funds from a FinancialAccount to a destination owned by yourself.
1245
+ attr_reader :outbound_transfers
1246
+ end
1247
+ # Represents the state of the configuration, and can be updated to deactivate or re-apply a configuration.
1248
+ attr_reader :applied
1249
+ # Capabilities that have been requested on the Storer Configuration.
1250
+ attr_reader :capabilities
1251
+ end
1252
+ # The Customer Configuration allows the Account to be used in inbound payment flows.
1253
+ attr_reader :customer
1254
+ # 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.
1255
+ attr_reader :merchant
1256
+ # The Recipient Configuration allows the Account to receive funds.
1257
+ attr_reader :recipient
1258
+ # The Storer Configuration allows the Account to store and move funds using stored-value FinancialAccounts.
1259
+ attr_reader :storer
1260
+ end
1261
+
1262
+ class Defaults < Stripe::StripeObject
1263
+ class Responsibilities < Stripe::StripeObject
1264
+ # A value indicating the responsible payer of a bundle of Stripe fees for pricing-control eligible products on this Account.
1265
+ attr_reader :fees_collector
1266
+ # A value indicating who is responsible for losses when this Account can’t pay back negative balances from payments.
1267
+ attr_reader :losses_collector
1268
+ end
1269
+ # Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).
1270
+ attr_reader :currency
1271
+ # The Account's preferred locales (languages), ordered by preference.
1272
+ attr_reader :locales
1273
+ # Default responsibilities held by either Stripe or the platform.
1274
+ attr_reader :responsibilities
1275
+ end
1276
+
1277
+ class Identity < Stripe::StripeObject
1278
+ class Attestations < Stripe::StripeObject
1279
+ class DirectorshipDeclaration < Stripe::StripeObject
1280
+ # The time marking when the director attestation was made. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
1281
+ attr_reader :date
1282
+ # The IP address from which the director attestation was made.
1283
+ attr_reader :ip
1284
+ # The user agent of the browser from which the director attestation was made.
1285
+ attr_reader :user_agent
1286
+ end
1287
+
1288
+ class OwnershipDeclaration < Stripe::StripeObject
1289
+ # The time marking when the beneficial owner attestation was made. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
1290
+ attr_reader :date
1291
+ # The IP address from which the beneficial owner attestation was made.
1292
+ attr_reader :ip
1293
+ # The user agent of the browser from which the beneficial owner attestation was made.
1294
+ attr_reader :user_agent
1295
+ end
1296
+
1297
+ class PersonsProvided < Stripe::StripeObject
1298
+ # Whether the company’s directors have been provided. Set this Boolean to true after creating all the company’s directors with the [Persons API](https://docs.stripe.com/api/v2/core/accounts/createperson).
1299
+ attr_reader :directors
1300
+ # Whether the company’s executives have been provided. Set this Boolean to true after creating all the company’s executives with the [Persons API](https://docs.stripe.com/api/v2/core/accounts/createperson).
1301
+ attr_reader :executives
1302
+ # Whether the company’s owners have been provided. Set this Boolean to true after creating all the company’s owners with the [Persons API](https://docs.stripe.com/api/v2/core/accounts/createperson).
1303
+ attr_reader :owners
1304
+ # Reason for why the company is exempt from providing ownership information.
1305
+ attr_reader :ownership_exemption_reason
1306
+ end
1307
+
1308
+ class TermsOfService < Stripe::StripeObject
1309
+ class Account < Stripe::StripeObject
1310
+ # The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
1311
+ attr_reader :date
1312
+ # The IP address from which the Account's representative accepted the terms of service.
1313
+ attr_reader :ip
1314
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
1315
+ attr_reader :user_agent
1316
+ end
1317
+
1318
+ class Storer < Stripe::StripeObject
1319
+ # The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
1320
+ attr_reader :date
1321
+ # The IP address from which the Account's representative accepted the terms of service.
1322
+ attr_reader :ip
1323
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
1324
+ attr_reader :user_agent
1325
+ end
1326
+ # Details on the Account's acceptance of the [Stripe Services Agreement](https://docs.stripe.com/connect/updating-accounts#tos-acceptance).
1327
+ attr_reader :account
1328
+ # Details on the Account's acceptance of Treasury-specific terms of service.
1329
+ attr_reader :storer
1330
+ end
1331
+ # This hash is used to attest that the directors information provided to Stripe is both current and correct.
1332
+ attr_reader :directorship_declaration
1333
+ # This hash is used to attest that the beneficial owner information provided to Stripe is both current and correct.
1334
+ attr_reader :ownership_declaration
1335
+ # Attestation that all Persons with a specific Relationship value have been provided.
1336
+ attr_reader :persons_provided
1337
+ # Attestations of accepted terms of service agreements.
1338
+ attr_reader :terms_of_service
1339
+ end
1340
+
1341
+ class BusinessDetails < Stripe::StripeObject
1342
+ class Address < Stripe::StripeObject
1343
+ # City, district, suburb, town, or village.
1344
+ attr_reader :city
1345
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1346
+ attr_reader :country
1347
+ # Address line 1 (e.g., street, PO Box, or company name).
1348
+ attr_reader :line1
1349
+ # Address line 2 (e.g., apartment, suite, unit, or building).
1350
+ attr_reader :line2
1351
+ # ZIP or postal code.
1352
+ attr_reader :postal_code
1353
+ # State, county, province, or region.
1354
+ attr_reader :state
1355
+ # Town or cho-me.
1356
+ attr_reader :town
1357
+ end
1358
+
1359
+ class AnnualRevenue < Stripe::StripeObject
1360
+ # A non-negative integer representing the amount in the smallest currency unit.
1361
+ attr_reader :amount
1362
+ # The close-out date of the preceding fiscal year in ISO 8601 format. E.g. 2023-12-31 for the 31st of December, 2023.
1363
+ attr_reader :fiscal_year_end
1364
+ end
1365
+
1366
+ class Documents < Stripe::StripeObject
1367
+ class BankAccountOwnershipVerification < Stripe::StripeObject
1368
+ # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.
1369
+ attr_reader :files
1370
+ # The format of the document. Currently supports `files` only.
1371
+ attr_reader :type
1372
+ end
1373
+
1374
+ class CompanyLicense < Stripe::StripeObject
1375
+ # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.
1376
+ attr_reader :files
1377
+ # The format of the document. Currently supports `files` only.
1378
+ attr_reader :type
1379
+ end
1380
+
1381
+ class CompanyMemorandumOfAssociation < Stripe::StripeObject
1382
+ # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.
1383
+ attr_reader :files
1384
+ # The format of the document. Currently supports `files` only.
1385
+ attr_reader :type
1386
+ end
1387
+
1388
+ class CompanyMinisterialDecree < Stripe::StripeObject
1389
+ # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.
1390
+ attr_reader :files
1391
+ # The format of the document. Currently supports `files` only.
1392
+ attr_reader :type
1393
+ end
1394
+
1395
+ class CompanyRegistrationVerification < Stripe::StripeObject
1396
+ # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.
1397
+ attr_reader :files
1398
+ # The format of the document. Currently supports `files` only.
1399
+ attr_reader :type
1400
+ end
1401
+
1402
+ class CompanyTaxIdVerification < Stripe::StripeObject
1403
+ # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.
1404
+ attr_reader :files
1405
+ # The format of the document. Currently supports `files` only.
1406
+ attr_reader :type
1407
+ end
1408
+
1409
+ class PrimaryVerification < Stripe::StripeObject
1410
+ class FrontBack < Stripe::StripeObject
1411
+ # A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the back of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
1412
+ attr_reader :back
1413
+ # A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the front of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
1414
+ attr_reader :front
1415
+ end
1416
+ # The [file upload](https://docs.stripe.com/api/persons/update#create_file) tokens for the front and back of the verification document.
1417
+ attr_reader :front_back
1418
+ # The format of the verification document. Currently supports `front_back` only.
1419
+ attr_reader :type
1420
+ end
1421
+
1422
+ class ProofOfAddress < Stripe::StripeObject
1423
+ # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.
1424
+ attr_reader :files
1425
+ # The format of the document. Currently supports `files` only.
1426
+ attr_reader :type
1427
+ end
1428
+
1429
+ class ProofOfRegistration < Stripe::StripeObject
1430
+ # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.
1431
+ attr_reader :files
1432
+ # The format of the document. Currently supports `files` only.
1433
+ attr_reader :type
1434
+ end
1435
+
1436
+ class ProofOfUltimateBeneficialOwnership < Stripe::StripeObject
1437
+ # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.
1438
+ attr_reader :files
1439
+ # The format of the document. Currently supports `files` only.
1440
+ attr_reader :type
1441
+ end
1442
+ # One or more documents that support the Bank account ownership verification requirement. Must be a document associated with the account’s primary active bank account that displays the last 4 digits of the account number, either a statement or a check.
1443
+ attr_reader :bank_account_ownership_verification
1444
+ # One or more documents that demonstrate proof of a company’s license to operate.
1445
+ attr_reader :company_license
1446
+ # One or more documents showing the company’s Memorandum of Association.
1447
+ attr_reader :company_memorandum_of_association
1448
+ # Certain countries only: One or more documents showing the ministerial decree legalizing the company’s establishment.
1449
+ attr_reader :company_ministerial_decree
1450
+ # One or more documents that demonstrate proof of a company’s registration with the appropriate local authorities.
1451
+ attr_reader :company_registration_verification
1452
+ # One or more documents that demonstrate proof of a company’s tax ID.
1453
+ attr_reader :company_tax_id_verification
1454
+ # A document verifying the business.
1455
+ attr_reader :primary_verification
1456
+ # One or more documents that demonstrate proof of address.
1457
+ attr_reader :proof_of_address
1458
+ # One or more documents showing the company’s proof of registration with the national business registry.
1459
+ attr_reader :proof_of_registration
1460
+ # One or more documents that demonstrate proof of ultimate beneficial ownership.
1461
+ attr_reader :proof_of_ultimate_beneficial_ownership
1462
+ end
1463
+
1464
+ class IdNumber < Stripe::StripeObject
1465
+ # The registrar of the ID number (Only valid for DE ID number types).
1466
+ attr_reader :registrar
1467
+ # Open Enum. The ID number type of a business entity.
1468
+ attr_reader :type
1469
+ end
1470
+
1471
+ class MonthlyEstimatedRevenue < Stripe::StripeObject
1472
+ # A non-negative integer representing the amount in the smallest currency unit.
1473
+ attr_reader :amount
1474
+ end
1475
+
1476
+ class ScriptAddresses < Stripe::StripeObject
1477
+ class Kana < Stripe::StripeObject
1478
+ # City, district, suburb, town, or village.
1479
+ attr_reader :city
1480
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1481
+ attr_reader :country
1482
+ # Address line 1 (e.g., street, PO Box, or company name).
1483
+ attr_reader :line1
1484
+ # Address line 2 (e.g., apartment, suite, unit, or building).
1485
+ attr_reader :line2
1486
+ # ZIP or postal code.
1487
+ attr_reader :postal_code
1488
+ # State, county, province, or region.
1489
+ attr_reader :state
1490
+ # Town or cho-me.
1491
+ attr_reader :town
1492
+ end
1493
+
1494
+ class Kanji < Stripe::StripeObject
1495
+ # City, district, suburb, town, or village.
1496
+ attr_reader :city
1497
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1498
+ attr_reader :country
1499
+ # Address line 1 (e.g., street, PO Box, or company name).
1500
+ attr_reader :line1
1501
+ # Address line 2 (e.g., apartment, suite, unit, or building).
1502
+ attr_reader :line2
1503
+ # ZIP or postal code.
1504
+ attr_reader :postal_code
1505
+ # State, county, province, or region.
1506
+ attr_reader :state
1507
+ # Town or cho-me.
1508
+ attr_reader :town
1509
+ end
1510
+ # Kana Address.
1511
+ attr_reader :kana
1512
+ # Kanji Address.
1513
+ attr_reader :kanji
1514
+ end
1515
+
1516
+ class ScriptNames < Stripe::StripeObject
1517
+ class Kana < Stripe::StripeObject
1518
+ # Registered name of the business.
1519
+ attr_reader :registered_name
1520
+ end
1521
+
1522
+ class Kanji < Stripe::StripeObject
1523
+ # Registered name of the business.
1524
+ attr_reader :registered_name
1525
+ end
1526
+ # Kana name.
1527
+ attr_reader :kana
1528
+ # Kanji name.
1529
+ attr_reader :kanji
1530
+ end
1531
+ # The company’s primary address.
1532
+ attr_reader :address
1533
+ # The business gross annual revenue for its preceding fiscal year.
1534
+ attr_reader :annual_revenue
1535
+ # Documents that may be submitted to satisfy various informational requests.
1536
+ attr_reader :documents
1537
+ # The company’s legal name.
1538
+ attr_reader :doing_business_as
1539
+ # An estimated upper bound of employees, contractors, vendors, etc. currently working for the business.
1540
+ attr_reader :estimated_worker_count
1541
+ # The provided ID numbers of a business entity.
1542
+ attr_reader :id_numbers
1543
+ # An estimate of the monthly revenue of the business.
1544
+ attr_reader :monthly_estimated_revenue
1545
+ # The company’s phone number (used for verification).
1546
+ attr_reader :phone
1547
+ # Internal-only description of the product sold or service provided by the business. It’s used by Stripe for risk and underwriting purposes.
1548
+ attr_reader :product_description
1549
+ # The business legal name.
1550
+ attr_reader :registered_name
1551
+ # The business registration address of the business entity in non latin script.
1552
+ attr_reader :script_addresses
1553
+ # The business legal name in non latin script.
1554
+ attr_reader :script_names
1555
+ # The category identifying the legal structure of the business.
1556
+ attr_reader :structure
1557
+ # The business's publicly available website.
1558
+ attr_reader :url
1559
+ end
1560
+
1561
+ class Individual < Stripe::StripeObject
1562
+ class AdditionalAddress < Stripe::StripeObject
1563
+ # City, district, suburb, town, or village.
1564
+ attr_reader :city
1565
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1566
+ attr_reader :country
1567
+ # Address line 1 (e.g., street, PO Box, or company name).
1568
+ attr_reader :line1
1569
+ # Address line 2 (e.g., apartment, suite, unit, or building).
1570
+ attr_reader :line2
1571
+ # ZIP or postal code.
1572
+ attr_reader :postal_code
1573
+ # Purpose of additional address.
1574
+ attr_reader :purpose
1575
+ # State, county, province, or region.
1576
+ attr_reader :state
1577
+ # Town or cho-me.
1578
+ attr_reader :town
1579
+ end
1580
+
1581
+ class AdditionalName < Stripe::StripeObject
1582
+ # The individual's full name.
1583
+ attr_reader :full_name
1584
+ # The individual's first or given name.
1585
+ attr_reader :given_name
1586
+ # The purpose or type of the additional name.
1587
+ attr_reader :purpose
1588
+ # The individual's last or family name.
1589
+ attr_reader :surname
1590
+ end
1591
+
1592
+ class AdditionalTermsOfService < Stripe::StripeObject
1593
+ class Account < Stripe::StripeObject
1594
+ # The time when the Account's representative accepted the terms of service. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
1595
+ attr_reader :date
1596
+ # The IP address from which the Account's representative accepted the terms of service.
1597
+ attr_reader :ip
1598
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
1599
+ attr_reader :user_agent
1600
+ end
1601
+ # Stripe terms of service agreement.
1602
+ attr_reader :account
1603
+ end
1604
+
1605
+ class Address < Stripe::StripeObject
1606
+ # City, district, suburb, town, or village.
1607
+ attr_reader :city
1608
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1609
+ attr_reader :country
1610
+ # Address line 1 (e.g., street, PO Box, or company name).
1611
+ attr_reader :line1
1612
+ # Address line 2 (e.g., apartment, suite, unit, or building).
1613
+ attr_reader :line2
1614
+ # ZIP or postal code.
1615
+ attr_reader :postal_code
1616
+ # State, county, province, or region.
1617
+ attr_reader :state
1618
+ # Town or cho-me.
1619
+ attr_reader :town
1620
+ end
1621
+
1622
+ class DateOfBirth < Stripe::StripeObject
1623
+ # The day of birth, between 1 and 31.
1624
+ attr_reader :day
1625
+ # The month of birth, between 1 and 12.
1626
+ attr_reader :month
1627
+ # The four-digit year of birth.
1628
+ attr_reader :year
1629
+ end
1630
+
1631
+ class Documents < Stripe::StripeObject
1632
+ class CompanyAuthorization < Stripe::StripeObject
1633
+ # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.
1634
+ attr_reader :files
1635
+ # The format of the document. Currently supports `files` only.
1636
+ attr_reader :type
1637
+ end
1638
+
1639
+ class Passport < Stripe::StripeObject
1640
+ # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.
1641
+ attr_reader :files
1642
+ # The format of the document. Currently supports `files` only.
1643
+ attr_reader :type
1644
+ end
1645
+
1646
+ class PrimaryVerification < Stripe::StripeObject
1647
+ class FrontBack < Stripe::StripeObject
1648
+ # A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the back of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
1649
+ attr_reader :back
1650
+ # A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the front of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
1651
+ attr_reader :front
1652
+ end
1653
+ # The [file upload](https://docs.stripe.com/api/persons/update#create_file) tokens for the front and back of the verification document.
1654
+ attr_reader :front_back
1655
+ # The format of the verification document. Currently supports `front_back` only.
1656
+ attr_reader :type
1657
+ end
1658
+
1659
+ class SecondaryVerification < Stripe::StripeObject
1660
+ class FrontBack < Stripe::StripeObject
1661
+ # A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the back of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
1662
+ attr_reader :back
1663
+ # A [file upload](https://docs.stripe.com/api/persons/update#create_file) token representing the front of the verification document. The purpose of the uploaded file should be 'identity_document'. The uploaded file needs to be a color image (smaller than 8,000px by 8,000px), in JPG, PNG, or PDF format, and less than 10 MB in size.
1664
+ attr_reader :front
1665
+ end
1666
+ # The [file upload](https://docs.stripe.com/api/persons/update#create_file) tokens for the front and back of the verification document.
1667
+ attr_reader :front_back
1668
+ # The format of the verification document. Currently supports `front_back` only.
1669
+ attr_reader :type
1670
+ end
1671
+
1672
+ class Visa < Stripe::StripeObject
1673
+ # One or more document IDs returned by a [file upload](https://docs.stripe.com/api/persons/update#create_file) with a purpose value of `account_requirement`.
1674
+ attr_reader :files
1675
+ # The format of the document. Currently supports `files` only.
1676
+ attr_reader :type
1677
+ end
1678
+ # One or more documents that demonstrate proof that this person is authorized to represent the company.
1679
+ attr_reader :company_authorization
1680
+ # One or more documents showing the person’s passport page with photo and personal data.
1681
+ attr_reader :passport
1682
+ # An identifying document showing the person's name, either a passport or local ID card.
1683
+ attr_reader :primary_verification
1684
+ # A document showing address, either a passport, local ID card, or utility bill from a well-known utility company.
1685
+ attr_reader :secondary_verification
1686
+ # One or more documents showing the person’s visa required for living in the country where they are residing.
1687
+ attr_reader :visa
1688
+ end
1689
+
1690
+ class IdNumber < Stripe::StripeObject
1691
+ # The ID number type of an individual.
1692
+ attr_reader :type
1693
+ end
1694
+
1695
+ class Relationship < Stripe::StripeObject
1696
+ # Whether the individual is an authorizer of the Account’s legal entity.
1697
+ attr_reader :authorizer
1698
+ # Whether the individual is a director of the Account’s legal entity. Directors are typically members of the governing board of the company, or responsible for ensuring the company meets its regulatory obligations.
1699
+ attr_reader :director
1700
+ # Whether the individual has significant responsibility to control, manage, or direct the organization.
1701
+ attr_reader :executive
1702
+ # Whether the individual is the legal guardian of the Account’s representative.
1703
+ attr_reader :legal_guardian
1704
+ # Whether the individual is an owner of the Account’s legal entity.
1705
+ attr_reader :owner
1706
+ # The percent owned by the individual of the Account’s legal entity.
1707
+ attr_reader :percent_ownership
1708
+ # 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.
1709
+ attr_reader :representative
1710
+ # The individual's title (e.g., CEO, Support Engineer).
1711
+ attr_reader :title
1712
+ end
1713
+
1714
+ class ScriptAddresses < Stripe::StripeObject
1715
+ class Kana < Stripe::StripeObject
1716
+ # City, district, suburb, town, or village.
1717
+ attr_reader :city
1718
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1719
+ attr_reader :country
1720
+ # Address line 1 (e.g., street, PO Box, or company name).
1721
+ attr_reader :line1
1722
+ # Address line 2 (e.g., apartment, suite, unit, or building).
1723
+ attr_reader :line2
1724
+ # ZIP or postal code.
1725
+ attr_reader :postal_code
1726
+ # State, county, province, or region.
1727
+ attr_reader :state
1728
+ # Town or cho-me.
1729
+ attr_reader :town
1730
+ end
1731
+
1732
+ class Kanji < Stripe::StripeObject
1733
+ # City, district, suburb, town, or village.
1734
+ attr_reader :city
1735
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1736
+ attr_reader :country
1737
+ # Address line 1 (e.g., street, PO Box, or company name).
1738
+ attr_reader :line1
1739
+ # Address line 2 (e.g., apartment, suite, unit, or building).
1740
+ attr_reader :line2
1741
+ # ZIP or postal code.
1742
+ attr_reader :postal_code
1743
+ # State, county, province, or region.
1744
+ attr_reader :state
1745
+ # Town or cho-me.
1746
+ attr_reader :town
1747
+ end
1748
+ # Kana Address.
1749
+ attr_reader :kana
1750
+ # Kanji Address.
1751
+ attr_reader :kanji
1752
+ end
1753
+
1754
+ class ScriptNames < Stripe::StripeObject
1755
+ class Kana < Stripe::StripeObject
1756
+ # The person's first or given name.
1757
+ attr_reader :given_name
1758
+ # The person's last or family name.
1759
+ attr_reader :surname
1760
+ end
1761
+
1762
+ class Kanji < Stripe::StripeObject
1763
+ # The person's first or given name.
1764
+ attr_reader :given_name
1765
+ # The person's last or family name.
1766
+ attr_reader :surname
1767
+ end
1768
+ # Persons name in kana script.
1769
+ attr_reader :kana
1770
+ # Persons name in kanji script.
1771
+ attr_reader :kanji
1772
+ end
1773
+ # The account ID which the individual belongs to.
1774
+ attr_reader :account
1775
+ # Additional addresses associated with the individual.
1776
+ attr_reader :additional_addresses
1777
+ # Additional names (e.g. aliases) associated with the individual.
1778
+ attr_reader :additional_names
1779
+ # Terms of service acceptances.
1780
+ attr_reader :additional_terms_of_service
1781
+ # The individual's residential address.
1782
+ attr_reader :address
1783
+ # Time at which the object was created. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
1784
+ attr_reader :created
1785
+ # The individual's date of birth.
1786
+ attr_reader :date_of_birth
1787
+ # Documents that may be submitted to satisfy various informational requests.
1788
+ attr_reader :documents
1789
+ # The individual's email address.
1790
+ attr_reader :email
1791
+ # The individual's first name.
1792
+ attr_reader :given_name
1793
+ # Unique identifier for the object.
1794
+ attr_reader :id
1795
+ # The identification numbers (e.g., SSN) associated with the individual.
1796
+ attr_reader :id_numbers
1797
+ # The individual's gender (International regulations require either "male” or "female").
1798
+ attr_reader :legal_gender
1799
+ # Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
1800
+ attr_reader :metadata
1801
+ # The countries where the individual is a national. Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1802
+ attr_reader :nationalities
1803
+ # String representing the object's type. Objects of the same type share the same value.
1804
+ attr_reader :object
1805
+ # The individual's phone number.
1806
+ attr_reader :phone
1807
+ # Indicates if the individual or any of their representatives, family members, or other closely related persons, declares that they hold or have held an important public job or function, in any jurisdiction.
1808
+ attr_reader :political_exposure
1809
+ # The relationship that this individual has with the Account's identity.
1810
+ attr_reader :relationship
1811
+ # The script addresses (e.g., non-Latin characters) associated with the individual.
1812
+ attr_reader :script_addresses
1813
+ # The script names (e.g. non-Latin characters) associated with the individual.
1814
+ attr_reader :script_names
1815
+ # The individual's last name.
1816
+ attr_reader :surname
1817
+ # Time at which the object was last updated.
1818
+ attr_reader :updated
1819
+ end
1820
+ # Attestations from the identity's key people, e.g. owners, executives, directors.
1821
+ attr_reader :attestations
1822
+ # Information about the company or business.
1823
+ attr_reader :business_details
1824
+ # The country in which the account holder resides, or in which the business is legally established. This should be an [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code.
1825
+ attr_reader :country
1826
+ # The entity type.
1827
+ attr_reader :entity_type
1828
+ # Information about the individual represented by the Account. This property is `null` unless `entity_type` is set to `individual`.
1829
+ attr_reader :individual
1830
+ end
1831
+
1832
+ class Requirements < Stripe::StripeObject
1833
+ class Entry < Stripe::StripeObject
1834
+ class Error < Stripe::StripeObject
1835
+ # Machine-readable code describing the error.
1836
+ attr_reader :code
1837
+ # Human-readable description of the error.
1838
+ attr_reader :description
1839
+ end
1840
+
1841
+ class Impact < Stripe::StripeObject
1842
+ class RestrictsCapability < Stripe::StripeObject
1843
+ class Deadline < Stripe::StripeObject
1844
+ # The current status of the requirement's impact.
1845
+ attr_reader :status
1846
+ end
1847
+ # The name of the Capability which will be restricted.
1848
+ attr_reader :capability
1849
+ # The configuration which specifies the Capability which will be restricted.
1850
+ attr_reader :configuration
1851
+ # Details about when in the account lifecycle the requirement must be collected by the avoid the Capability restriction.
1852
+ attr_reader :deadline
1853
+ end
1854
+ # The Capabilities that will be restricted if the requirement is not collected and satisfactory to Stripe.
1855
+ attr_reader :restricts_capabilities
1856
+ end
1857
+
1858
+ class MinimumDeadline < Stripe::StripeObject
1859
+ # The current status of the requirement's impact.
1860
+ attr_reader :status
1861
+ end
1862
+
1863
+ class Reference < Stripe::StripeObject
1864
+ # If `inquiry` is the type, the inquiry token.
1865
+ attr_reader :inquiry
1866
+ # If `resource` is the type, the resource token.
1867
+ attr_reader :resource
1868
+ # The type of the reference. An additional hash is included with a name matching the type. It contains additional information specific to the type.
1869
+ attr_reader :type
1870
+ end
1871
+
1872
+ class RequestedReason < Stripe::StripeObject
1873
+ # Machine-readable description of Stripe's reason for collecting the requirement.
1874
+ attr_reader :code
1875
+ end
1876
+ # Whether the responsibility is with the integrator or with Stripe (to review info, to wait for some condition, etc.) to action the requirement.
1877
+ attr_reader :awaiting_action_from
1878
+ # Machine-readable string describing the requirement.
1879
+ attr_reader :description
1880
+ # Descriptions of why the requirement must be collected, or why the collected information isn't satisfactory to Stripe.
1881
+ attr_reader :errors
1882
+ # A hash describing the impact of not collecting the requirement, or Stripe not being able to verify the collected information.
1883
+ attr_reader :impact
1884
+ # The soonest point when the account will be impacted by not providing the requirement.
1885
+ attr_reader :minimum_deadline
1886
+ # A reference to the location of the requirement.
1887
+ attr_reader :reference
1888
+ # A list of reasons why Stripe is collecting the requirement.
1889
+ attr_reader :requested_reasons
1890
+ end
1891
+
1892
+ class Summary < Stripe::StripeObject
1893
+ class MinimumDeadline < Stripe::StripeObject
1894
+ # The current strictest status of all requirements on the Account.
1895
+ attr_reader :status
1896
+ # The soonest RFC3339 date & time UTC value a requirement can impact the Account.
1897
+ attr_reader :time
1898
+ end
1899
+ # The soonest date and time a requirement on the Account will become `past due`. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: `2022-09-18T13:22:18.123Z`.
1900
+ attr_reader :minimum_deadline
1901
+ end
1902
+ # A value indicating responsibility for collecting requirements on this account.
1903
+ attr_reader :collector
1904
+ # A list of requirements for the Account.
1905
+ attr_reader :entries
1906
+ # An object containing an overview of requirements for the Account.
1907
+ attr_reader :summary
1908
+ end
1909
+ # Filter only accounts that have all of the configurations specified. If omitted, returns all accounts regardless of which configurations they have.
1910
+ attr_reader :applied_configurations
1911
+ # An Account Configuration which allows the Account to take on a key persona across Stripe products.
1912
+ attr_reader :configuration
1913
+ # The default contact email address for the Account. Required when configuring the account as a merchant or recipient.
1914
+ attr_reader :contact_email
1915
+ # Time at which the object was created. Represented as a RFC 3339 date & time UTC value in millisecond precision, for example: 2022-09-18T13:22:18.123Z.
1916
+ attr_reader :created
1917
+ # A value indicating the Stripe dashboard this Account has access to. This will depend on which configurations are enabled for this account.
1918
+ attr_reader :dashboard
1919
+ # Default values to be used on Account Configurations.
1920
+ attr_reader :defaults
1921
+ # A descriptive name for the Account. This name will be surfaced in the Stripe Dashboard and on any invoices sent to the Account.
1922
+ attr_reader :display_name
1923
+ # Unique identifier for the Account.
1924
+ attr_reader :id
1925
+ # Information about the company, individual, and business represented by the Account.
1926
+ attr_reader :identity
1927
+ # Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.
1928
+ attr_reader :metadata
1929
+ # String representing the object's type. Objects of the same type share the same value of the object field.
1930
+ attr_reader :object
1931
+ # Information about the requirements for the Account, including what information needs to be collected, and by when.
1932
+ attr_reader :requirements
1933
+ # Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
1934
+ attr_reader :livemode
1935
+ end
1936
+ end
1937
+ end
1938
+ end