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