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