stripe 15.3.0 → 15.4.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 (589) hide show
  1. checksums.yaml +4 -4
  2. data/API_VERSION +1 -1
  3. data/CHANGELOG.md +1594 -667
  4. data/README.md +1 -1
  5. data/VERSION +1 -1
  6. data/lib/stripe/api_requestor.rb +28 -0
  7. data/lib/stripe/api_version.rb +1 -2
  8. data/lib/stripe/errors.rb +54 -0
  9. data/lib/stripe/event_types.rb +98 -0
  10. data/lib/stripe/events/v2_core_account_closed_event.rb +21 -0
  11. data/lib/stripe/events/v2_core_account_created_event.rb +21 -0
  12. data/lib/stripe/events/v2_core_account_including_configuration_customer_capability_status_updated_event.rb +23 -0
  13. data/lib/stripe/events/v2_core_account_including_configuration_customer_updated_event.rb +21 -0
  14. data/lib/stripe/events/v2_core_account_including_configuration_merchant_capability_status_updated_event.rb +23 -0
  15. data/lib/stripe/events/v2_core_account_including_configuration_merchant_updated_event.rb +21 -0
  16. data/lib/stripe/events/v2_core_account_including_configuration_recipient_capability_status_updated_event.rb +23 -0
  17. data/lib/stripe/events/v2_core_account_including_configuration_recipient_updated_event.rb +21 -0
  18. data/lib/stripe/events/v2_core_account_including_defaults_updated_event.rb +21 -0
  19. data/lib/stripe/events/v2_core_account_including_identity_updated_event.rb +21 -0
  20. data/lib/stripe/events/v2_core_account_including_requirements_updated_event.rb +21 -0
  21. data/lib/stripe/events/v2_core_account_link_completed_event.rb +13 -0
  22. data/lib/stripe/events/v2_core_account_person_created_event.rb +23 -0
  23. data/lib/stripe/events/v2_core_account_person_deleted_event.rb +23 -0
  24. data/lib/stripe/events/v2_core_account_person_updated_event.rb +23 -0
  25. data/lib/stripe/events/v2_core_account_updated_event.rb +21 -0
  26. data/lib/stripe/events/v2_money_management_adjustment_created_event.rb +21 -0
  27. data/lib/stripe/events/v2_money_management_financial_account_created_event.rb +21 -0
  28. data/lib/stripe/events/v2_money_management_financial_account_updated_event.rb +21 -0
  29. data/lib/stripe/events/v2_money_management_financial_address_activated_event.rb +21 -0
  30. data/lib/stripe/events/v2_money_management_financial_address_failed_event.rb +21 -0
  31. data/lib/stripe/events/v2_money_management_inbound_transfer_available_event.rb +23 -0
  32. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_failed_event.rb +21 -0
  33. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_processing_event.rb +21 -0
  34. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_queued_event.rb +21 -0
  35. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_returned_event.rb +21 -0
  36. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_succeeded_event.rb +21 -0
  37. data/lib/stripe/events/v2_money_management_outbound_payment_canceled_event.rb +21 -0
  38. data/lib/stripe/events/v2_money_management_outbound_payment_created_event.rb +21 -0
  39. data/lib/stripe/events/v2_money_management_outbound_payment_failed_event.rb +21 -0
  40. data/lib/stripe/events/v2_money_management_outbound_payment_posted_event.rb +21 -0
  41. data/lib/stripe/events/v2_money_management_outbound_payment_returned_event.rb +21 -0
  42. data/lib/stripe/events/v2_money_management_outbound_payment_updated_event.rb +21 -0
  43. data/lib/stripe/events/v2_money_management_outbound_transfer_canceled_event.rb +21 -0
  44. data/lib/stripe/events/v2_money_management_outbound_transfer_created_event.rb +21 -0
  45. data/lib/stripe/events/v2_money_management_outbound_transfer_failed_event.rb +21 -0
  46. data/lib/stripe/events/v2_money_management_outbound_transfer_posted_event.rb +21 -0
  47. data/lib/stripe/events/v2_money_management_outbound_transfer_returned_event.rb +21 -0
  48. data/lib/stripe/events/v2_money_management_outbound_transfer_updated_event.rb +21 -0
  49. data/lib/stripe/events/v2_money_management_received_credit_available_event.rb +23 -0
  50. data/lib/stripe/events/v2_money_management_received_credit_failed_event.rb +21 -0
  51. data/lib/stripe/events/v2_money_management_received_credit_returned_event.rb +21 -0
  52. data/lib/stripe/events/v2_money_management_received_credit_succeeded_event.rb +21 -0
  53. data/lib/stripe/events/v2_money_management_received_debit_canceled_event.rb +21 -0
  54. data/lib/stripe/events/v2_money_management_received_debit_failed_event.rb +21 -0
  55. data/lib/stripe/events/v2_money_management_received_debit_pending_event.rb +21 -0
  56. data/lib/stripe/events/v2_money_management_received_debit_succeeded_event.rb +21 -0
  57. data/lib/stripe/events/v2_money_management_received_debit_updated_event.rb +21 -0
  58. data/lib/stripe/events/v2_money_management_transaction_created_event.rb +21 -0
  59. data/lib/stripe/events/v2_money_management_transaction_updated_event.rb +21 -0
  60. data/lib/stripe/events/v2_off_session_payment_requires_capture_event.rb +21 -0
  61. data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_failed_event.rb +21 -0
  62. data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_started_event.rb +21 -0
  63. data/lib/stripe/events/v2_payments_off_session_payment_canceled_event.rb +21 -0
  64. data/lib/stripe/events/v2_payments_off_session_payment_created_event.rb +21 -0
  65. data/lib/stripe/events/v2_payments_off_session_payment_failed_event.rb +21 -0
  66. data/lib/stripe/events/v2_payments_off_session_payment_succeeded_event.rb +21 -0
  67. data/lib/stripe/object_types.rb +50 -0
  68. data/lib/stripe/resources/account.rb +653 -1
  69. data/lib/stripe/resources/account_notice.rb +123 -0
  70. data/lib/stripe/resources/account_session.rb +256 -1
  71. data/lib/stripe/resources/balance_settings.rb +105 -0
  72. data/lib/stripe/resources/billing/credit_balance_summary.rb +2 -0
  73. data/lib/stripe/resources/billing/credit_balance_transaction.rb +4 -0
  74. data/lib/stripe/resources/billing/credit_grant.rb +10 -0
  75. data/lib/stripe/resources/billing_portal/session.rb +6 -0
  76. data/lib/stripe/resources/capital/financing_offer.rb +179 -0
  77. data/lib/stripe/resources/capital/financing_summary.rb +55 -0
  78. data/lib/stripe/resources/capital/financing_transaction.rb +114 -0
  79. data/lib/stripe/resources/card.rb +2 -0
  80. data/lib/stripe/resources/cash_balance.rb +2 -0
  81. data/lib/stripe/resources/charge.rb +1538 -0
  82. data/lib/stripe/resources/checkout/session.rb +326 -2
  83. data/lib/stripe/resources/confirmation_token.rb +170 -0
  84. data/lib/stripe/resources/coupon.rb +30 -1
  85. data/lib/stripe/resources/credit_note.rb +6 -0
  86. data/lib/stripe/resources/credit_note_line_item.rb +9 -0
  87. data/lib/stripe/resources/customer.rb +2 -0
  88. data/lib/stripe/resources/customer_balance_transaction.rb +2 -0
  89. data/lib/stripe/resources/customer_cash_balance_transaction.rb +2 -0
  90. data/lib/stripe/resources/customer_session.rb +6 -1
  91. data/lib/stripe/resources/discount.rb +2 -0
  92. data/lib/stripe/resources/dispute.rb +2 -0
  93. data/lib/stripe/resources/event.rb +31 -0
  94. data/lib/stripe/resources/financial_connections/account.rb +22 -1
  95. data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +27 -0
  96. data/lib/stripe/resources/financial_connections/institution.rb +92 -0
  97. data/lib/stripe/resources/financial_connections/session.rb +62 -2
  98. data/lib/stripe/resources/fx_quote.rb +184 -0
  99. data/lib/stripe/resources/identity/verification_session.rb +10 -0
  100. data/lib/stripe/resources/invoice.rb +1063 -16
  101. data/lib/stripe/resources/invoice_item.rb +78 -2
  102. data/lib/stripe/resources/invoice_line_item.rb +55 -1
  103. data/lib/stripe/resources/invoice_payment.rb +2 -53
  104. data/lib/stripe/resources/issuing/cardholder.rb +2 -1
  105. data/lib/stripe/resources/issuing/credit_underwriting_record.rb +602 -0
  106. data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +82 -0
  107. data/lib/stripe/resources/issuing/fraud_liability_debit.rb +86 -0
  108. data/lib/stripe/resources/issuing/settlement.rb +53 -0
  109. data/lib/stripe/resources/issuing/transaction.rb +6 -0
  110. data/lib/stripe/resources/line_item.rb +37 -0
  111. data/lib/stripe/resources/mandate.rb +24 -0
  112. data/lib/stripe/resources/margin.rb +115 -0
  113. data/lib/stripe/resources/order.rb +2958 -0
  114. data/lib/stripe/resources/payment_attempt_record.rb +1099 -0
  115. data/lib/stripe/resources/payment_intent.rb +8540 -3584
  116. data/lib/stripe/resources/payment_intent_amount_details_line_item.rb +72 -0
  117. data/lib/stripe/resources/payment_method.rb +192 -1
  118. data/lib/stripe/resources/payment_method_configuration.rb +295 -0
  119. data/lib/stripe/resources/payment_record.rb +1628 -0
  120. data/lib/stripe/resources/payout.rb +6 -0
  121. data/lib/stripe/resources/price.rb +30 -0
  122. data/lib/stripe/resources/privacy/redaction_job.rb +298 -0
  123. data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +33 -0
  124. data/lib/stripe/resources/promotion_code.rb +10 -0
  125. data/lib/stripe/resources/quote.rb +2038 -7
  126. data/lib/stripe/resources/quote_line.rb +274 -0
  127. data/lib/stripe/resources/quote_preview_invoice.rb +663 -0
  128. data/lib/stripe/resources/quote_preview_subscription_schedule.rb +371 -0
  129. data/lib/stripe/resources/refund.rb +9 -0
  130. data/lib/stripe/resources/setup_attempt.rb +21 -0
  131. data/lib/stripe/resources/setup_intent.rb +578 -9
  132. data/lib/stripe/resources/source.rb +29 -0
  133. data/lib/stripe/resources/subscription.rb +288 -9
  134. data/lib/stripe/resources/subscription_item.rb +84 -3
  135. data/lib/stripe/resources/subscription_schedule.rb +1007 -10
  136. data/lib/stripe/resources/tax/association.rb +66 -0
  137. data/lib/stripe/resources/tax/form.rb +211 -0
  138. data/lib/stripe/resources/tax_id.rb +12 -2
  139. data/lib/stripe/resources/terminal/reader.rb +8 -0
  140. data/lib/stripe/resources/terminal/reader_collected_data.rb +31 -0
  141. data/lib/stripe/resources/transfer.rb +6 -0
  142. data/lib/stripe/resources/treasury/financial_account.rb +22 -3
  143. data/lib/stripe/resources/treasury/financial_account_features.rb +2 -0
  144. data/lib/stripe/resources/treasury/outbound_transfer.rb +37 -0
  145. data/lib/stripe/resources/treasury/received_credit.rb +38 -1
  146. data/lib/stripe/resources/treasury/received_debit.rb +40 -1
  147. data/lib/stripe/resources/v2/core/account.rb +1755 -0
  148. data/lib/stripe/resources/v2/core/account_link.rb +56 -0
  149. data/lib/stripe/resources/v2/core/person.rb +276 -0
  150. data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +74 -0
  151. data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +39 -0
  152. data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +20 -0
  153. data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +22 -0
  154. data/lib/stripe/resources/v2/money_management/adjustment.rb +51 -0
  155. data/lib/stripe/resources/v2/money_management/financial_account.rb +58 -0
  156. data/lib/stripe/resources/v2/money_management/financial_address.rb +68 -0
  157. data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +94 -0
  158. data/lib/stripe/resources/v2/money_management/outbound_payment.rb +129 -0
  159. data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +82 -0
  160. data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +45 -0
  161. data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +117 -0
  162. data/lib/stripe/resources/v2/money_management/payout_method.rb +75 -0
  163. data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +49 -0
  164. data/lib/stripe/resources/v2/money_management/received_credit.rb +122 -0
  165. data/lib/stripe/resources/v2/money_management/received_debit.rb +84 -0
  166. data/lib/stripe/resources/v2/money_management/transaction.rb +78 -0
  167. data/lib/stripe/resources/v2/money_management/transaction_entry.rb +68 -0
  168. data/lib/stripe/resources/v2/payments/off_session_payment.rb +72 -0
  169. data/lib/stripe/resources.rb +104 -0
  170. data/lib/stripe/services/account_notice_service.rb +101 -0
  171. data/lib/stripe/services/account_service.rb +562 -1
  172. data/lib/stripe/services/account_session_service.rb +226 -1
  173. data/lib/stripe/services/balance_settings_service.rb +96 -0
  174. data/lib/stripe/services/billing/credit_balance_summary_service.rb +4 -1
  175. data/lib/stripe/services/billing/credit_balance_transaction_service.rb +4 -0
  176. data/lib/stripe/services/billing/credit_grant_service.rb +8 -0
  177. data/lib/stripe/services/billing_portal/session_service.rb +4 -0
  178. data/lib/stripe/services/capital/financing_offer_service.rb +112 -0
  179. data/lib/stripe/services/capital/financing_summary_service.rb +28 -0
  180. data/lib/stripe/services/capital/financing_transaction_service.rb +79 -0
  181. data/lib/stripe/services/capital_service.rb +15 -0
  182. data/lib/stripe/services/charge_service.rb +1418 -0
  183. data/lib/stripe/services/checkout/session_service.rb +243 -2
  184. data/lib/stripe/services/coupon_service.rb +17 -1
  185. data/lib/stripe/services/credit_note_service.rb +4 -0
  186. data/lib/stripe/services/customer_session_service.rb +4 -1
  187. data/{rbi/stripe/services/account_external_account_service.rbi → lib/stripe/services/external_account_service.rb} +135 -122
  188. data/{rbi/stripe/services/tax/transaction_line_item_service.rbi → lib/stripe/services/financial_connections/account_inferred_balance_service.rb} +21 -17
  189. data/lib/stripe/services/financial_connections/account_service.rb +7 -2
  190. data/{rbi/stripe/services/climate/supplier_service.rbi → lib/stripe/services/financial_connections/institution_service.rb} +36 -25
  191. data/lib/stripe/services/financial_connections/session_service.rb +34 -2
  192. data/lib/stripe/services/financial_connections_service.rb +2 -1
  193. data/lib/stripe/services/fx_quote_service.rb +123 -0
  194. data/lib/stripe/services/identity/verification_session_service.rb +8 -0
  195. data/lib/stripe/services/invoice_item_service.rb +74 -2
  196. data/lib/stripe/services/invoice_line_item_service.rb +33 -1
  197. data/lib/stripe/services/invoice_service.rb +1014 -16
  198. data/lib/stripe/services/issuing/cardholder_service.rb +2 -1
  199. data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +504 -0
  200. data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +66 -0
  201. data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +83 -0
  202. data/lib/stripe/services/issuing/transaction_service.rb +4 -0
  203. data/lib/stripe/services/issuing_service.rb +5 -1
  204. data/lib/stripe/services/margin_service.rb +119 -0
  205. data/{rbi/stripe/services/source_transaction_service.rbi → lib/stripe/services/order_line_item_service.rb} +20 -16
  206. data/lib/stripe/services/order_service.rb +2388 -0
  207. data/lib/stripe/services/payment_attempt_record_service.rb +49 -0
  208. data/{rbi/stripe/services/quote_line_item_service.rbi → lib/stripe/services/payment_intent_amount_details_line_item_service.rb} +20 -16
  209. data/lib/stripe/services/payment_intent_service.rb +4879 -391
  210. data/lib/stripe/services/payment_method_configuration_service.rb +210 -0
  211. data/lib/stripe/services/payment_method_service.rb +120 -1
  212. data/lib/stripe/services/payment_record_service.rb +542 -0
  213. data/lib/stripe/services/payout_service.rb +4 -0
  214. data/lib/stripe/services/price_service.rb +19 -0
  215. data/lib/stripe/services/privacy/redaction_job_service.rb +240 -0
  216. data/{rbi/stripe/services/tax/calculation_line_item_service.rbi → lib/stripe/services/privacy/redaction_job_validation_error_service.rb} +21 -17
  217. data/lib/stripe/services/privacy_service.rb +13 -0
  218. data/lib/stripe/services/promotion_code_service.rb +8 -0
  219. data/{rbi/stripe/services/credit_note_line_item_service.rbi → lib/stripe/services/quote_line_service.rb} +20 -16
  220. data/{rbi/stripe/services/payment_link_line_item_service.rbi → lib/stripe/services/quote_preview_invoice_service.rb} +20 -16
  221. data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +35 -0
  222. data/lib/stripe/services/quote_service.rb +1723 -8
  223. data/lib/stripe/services/setup_intent_service.rb +538 -9
  224. data/lib/stripe/services/subscription_item_service.rb +75 -3
  225. data/lib/stripe/services/subscription_schedule_service.rb +911 -10
  226. data/lib/stripe/services/subscription_service.rb +249 -9
  227. data/lib/stripe/services/tax/association_service.rb +31 -0
  228. data/lib/stripe/services/tax/form_service.rb +100 -0
  229. data/lib/stripe/services/tax_id_service.rb +8 -2
  230. data/lib/stripe/services/tax_service.rb +3 -1
  231. data/lib/stripe/services/terminal/reader_collected_data_service.rb +28 -0
  232. data/lib/stripe/services/terminal_service.rb +2 -1
  233. data/lib/stripe/services/test_helpers/confirmation_token_service.rb +97 -0
  234. data/lib/stripe/services/test_helpers/treasury/received_credit_service.rb +25 -1
  235. data/lib/stripe/services/test_helpers/treasury/received_debit_service.rb +25 -1
  236. data/lib/stripe/services/transfer_service.rb +4 -0
  237. data/lib/stripe/services/treasury/financial_account_features_service.rb +4 -1
  238. data/lib/stripe/services/treasury/financial_account_service.rb +16 -2
  239. data/lib/stripe/services/treasury/outbound_transfer_service.rb +24 -0
  240. data/lib/stripe/services/v1_services.rb +11 -2
  241. data/lib/stripe/services/v2/core/account_link_service.rb +76 -0
  242. data/lib/stripe/services/v2/core/account_service.rb +4170 -0
  243. data/lib/stripe/services/v2/core/accounts/person_service.rb +1045 -0
  244. data/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb +130 -0
  245. data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +107 -0
  246. data/lib/stripe/services/v2/core/vault_service.rb +18 -0
  247. data/lib/stripe/services/v2/core_service.rb +4 -1
  248. data/lib/stripe/services/v2/money_management/adjustment_service.rb +74 -0
  249. data/lib/stripe/services/v2/money_management/financial_account_service.rb +43 -0
  250. data/lib/stripe/services/v2/money_management/financial_address_service.rb +82 -0
  251. data/lib/stripe/services/v2/money_management/inbound_transfer_service.rb +125 -0
  252. data/lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb +95 -0
  253. data/lib/stripe/services/v2/money_management/outbound_payment_service.rb +199 -0
  254. data/lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb +235 -0
  255. data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +172 -0
  256. data/lib/stripe/services/v2/money_management/payout_method_service.rb +90 -0
  257. data/lib/stripe/services/v2/money_management/payout_methods_bank_account_spec_service.rb +32 -0
  258. data/lib/stripe/services/v2/money_management/received_credit_service.rb +70 -0
  259. data/lib/stripe/services/v2/money_management/received_debit_service.rb +43 -0
  260. data/lib/stripe/services/v2/money_management/transaction_entry_service.rb +69 -0
  261. data/lib/stripe/services/v2/money_management/transaction_service.rb +73 -0
  262. data/lib/stripe/services/v2/money_management_service.rb +31 -0
  263. data/lib/stripe/services/v2/payment_service.rb +15 -0
  264. data/lib/stripe/services/v2/payments/off_session_payment_service.rb +137 -0
  265. data/lib/stripe/services/v2/test_helper_service.rb +15 -0
  266. data/lib/stripe/services/v2/test_helpers/financial_address_service.rb +49 -0
  267. data/lib/stripe/services/v2_services.rb +4 -1
  268. data/lib/stripe/services.rb +53 -1
  269. data/lib/stripe/stripe_configuration.rb +3 -1
  270. data/lib/stripe/stripe_object.rb +1 -1
  271. data/lib/stripe/util.rb +7 -1
  272. data/lib/stripe/version.rb +1 -1
  273. data/lib/stripe.rb +53 -0
  274. data/rbi/stripe.rbi +193855 -0
  275. data/stripe.gemspec +4 -1
  276. metadata +161 -324
  277. data/lib/stripe/services/invoice_payment_service.rb +0 -83
  278. data/rbi/stripe/resources/account.rbi +0 -4995
  279. data/rbi/stripe/resources/account_link.rbi +0 -74
  280. data/rbi/stripe/resources/account_session.rbi +0 -1013
  281. data/rbi/stripe/resources/apple_pay_domain.rbi +0 -88
  282. data/rbi/stripe/resources/application.rbi +0 -20
  283. data/rbi/stripe/resources/application_fee.rbi +0 -118
  284. data/rbi/stripe/resources/application_fee_refund.rbi +0 -37
  285. data/rbi/stripe/resources/apps/secret.rbi +0 -195
  286. data/rbi/stripe/resources/balance.rbi +0 -235
  287. data/rbi/stripe/resources/balance_transaction.rbi +0 -147
  288. data/rbi/stripe/resources/bank_account.rbi +0 -127
  289. data/rbi/stripe/resources/billing/alert.rbi +0 -201
  290. data/rbi/stripe/resources/billing/alert_triggered.rbi +0 -28
  291. data/rbi/stripe/resources/billing/credit_balance_summary.rbi +0 -63
  292. data/rbi/stripe/resources/billing/credit_balance_transaction.rbi +0 -147
  293. data/rbi/stripe/resources/billing/credit_grant.rbi +0 -291
  294. data/rbi/stripe/resources/billing/meter.rbi +0 -226
  295. data/rbi/stripe/resources/billing/meter_event.rbi +0 -64
  296. data/rbi/stripe/resources/billing/meter_event_adjustment.rbi +0 -64
  297. data/rbi/stripe/resources/billing/meter_event_summary.rbi +0 -35
  298. data/rbi/stripe/resources/billing_portal/configuration.rbi +0 -645
  299. data/rbi/stripe/resources/billing_portal/session.rbi +0 -345
  300. data/rbi/stripe/resources/capability.rbi +0 -125
  301. data/rbi/stripe/resources/card.rbi +0 -125
  302. data/rbi/stripe/resources/cash_balance.rbi +0 -32
  303. data/rbi/stripe/resources/charge.rbi +0 -2086
  304. data/rbi/stripe/resources/checkout/session.rbi +0 -4060
  305. data/rbi/stripe/resources/climate/order.rbi +0 -245
  306. data/rbi/stripe/resources/climate/product.rbi +0 -75
  307. data/rbi/stripe/resources/climate/supplier.rbi +0 -72
  308. data/rbi/stripe/resources/confirmation_token.rbi +0 -1818
  309. data/rbi/stripe/resources/connect_collection_transfer.rbi +0 -26
  310. data/rbi/stripe/resources/country_spec.rbi +0 -85
  311. data/rbi/stripe/resources/coupon.rbi +0 -250
  312. data/rbi/stripe/resources/credit_note.rbi +0 -752
  313. data/rbi/stripe/resources/credit_note_line_item.rbi +0 -101
  314. data/rbi/stripe/resources/customer.rbi +0 -1005
  315. data/rbi/stripe/resources/customer_balance_transaction.rbi +0 -56
  316. data/rbi/stripe/resources/customer_cash_balance_transaction.rbi +0 -151
  317. data/rbi/stripe/resources/customer_session.rbi +0 -200
  318. data/rbi/stripe/resources/discount.rbi +0 -53
  319. data/rbi/stripe/resources/dispute.rbi +0 -761
  320. data/rbi/stripe/resources/entitlements/active_entitlement.rbi +0 -58
  321. data/rbi/stripe/resources/entitlements/active_entitlement_summary.rbi +0 -23
  322. data/rbi/stripe/resources/entitlements/feature.rbi +0 -117
  323. data/rbi/stripe/resources/ephemeral_key.rbi +0 -44
  324. data/rbi/stripe/resources/event.rbi +0 -149
  325. data/rbi/stripe/resources/exchange_rate.rbi +0 -66
  326. data/rbi/stripe/resources/file.rbi +0 -143
  327. data/rbi/stripe/resources/file_link.rbi +0 -141
  328. data/rbi/stripe/resources/financial_connections/account.rbi +0 -339
  329. data/rbi/stripe/resources/financial_connections/account_owner.rbi +0 -35
  330. data/rbi/stripe/resources/financial_connections/account_ownership.rbi +0 -23
  331. data/rbi/stripe/resources/financial_connections/session.rbi +0 -123
  332. data/rbi/stripe/resources/financial_connections/transaction.rbi +0 -124
  333. data/rbi/stripe/resources/forwarding/request.rbi +0 -216
  334. data/rbi/stripe/resources/funding_instructions.rbi +0 -437
  335. data/rbi/stripe/resources/identity/verification_report.rbi +0 -360
  336. data/rbi/stripe/resources/identity/verification_session.rbi +0 -564
  337. data/rbi/stripe/resources/invoice.rbi +0 -3842
  338. data/rbi/stripe/resources/invoice_item.rbi +0 -470
  339. data/rbi/stripe/resources/invoice_line_item.rbi +0 -432
  340. data/rbi/stripe/resources/invoice_payment.rbi +0 -121
  341. data/rbi/stripe/resources/invoice_rendering_template.rbi +0 -104
  342. data/rbi/stripe/resources/issuing/authorization.rbi +0 -1283
  343. data/rbi/stripe/resources/issuing/card.rbi +0 -741
  344. data/rbi/stripe/resources/issuing/cardholder.rbi +0 -744
  345. data/rbi/stripe/resources/issuing/dispute.rbi +0 -913
  346. data/rbi/stripe/resources/issuing/personalization_design.rbi +0 -338
  347. data/rbi/stripe/resources/issuing/physical_bundle.rbi +0 -79
  348. data/rbi/stripe/resources/issuing/token.rbi +0 -226
  349. data/rbi/stripe/resources/issuing/transaction.rbi +0 -1061
  350. data/rbi/stripe/resources/line_item.rbi +0 -72
  351. data/rbi/stripe/resources/login_link.rbi +0 -19
  352. data/rbi/stripe/resources/mandate.rbi +0 -191
  353. data/rbi/stripe/resources/payment_intent.rbi +0 -9987
  354. data/rbi/stripe/resources/payment_link.rbi +0 -1801
  355. data/rbi/stripe/resources/payment_method.rbi +0 -1770
  356. data/rbi/stripe/resources/payment_method_configuration.rbi +0 -3550
  357. data/rbi/stripe/resources/payment_method_domain.rbi +0 -228
  358. data/rbi/stripe/resources/payout.rbi +0 -300
  359. data/rbi/stripe/resources/person.rbi +0 -401
  360. data/rbi/stripe/resources/plan.rbi +0 -371
  361. data/rbi/stripe/resources/price.rbi +0 -694
  362. data/rbi/stripe/resources/product.rbi +0 -555
  363. data/rbi/stripe/resources/product_feature.rbi +0 -26
  364. data/rbi/stripe/resources/promotion_code.rbi +0 -261
  365. data/rbi/stripe/resources/quote.rbi +0 -1145
  366. data/rbi/stripe/resources/radar/early_fraud_warning.rbi +0 -98
  367. data/rbi/stripe/resources/radar/value_list.rbi +0 -168
  368. data/rbi/stripe/resources/radar/value_list_item.rbi +0 -129
  369. data/rbi/stripe/resources/refund.rbi +0 -523
  370. data/rbi/stripe/resources/reporting/report_run.rbi +0 -191
  371. data/rbi/stripe/resources/reporting/report_type.rbi +0 -57
  372. data/rbi/stripe/resources/reserve_transaction.rbi +0 -23
  373. data/rbi/stripe/resources/reversal.rbi +0 -51
  374. data/rbi/stripe/resources/review.rbi +0 -154
  375. data/rbi/stripe/resources/setup_attempt.rbi +0 -477
  376. data/rbi/stripe/resources/setup_intent.rbi +0 -3978
  377. data/rbi/stripe/resources/shipping_rate.rbi +0 -305
  378. data/rbi/stripe/resources/sigma/scheduled_query_run.rbi +0 -75
  379. data/rbi/stripe/resources/source.rbi +0 -1496
  380. data/rbi/stripe/resources/source_mandate_notification.rbi +0 -77
  381. data/rbi/stripe/resources/source_transaction.rbi +0 -127
  382. data/rbi/stripe/resources/subscription.rbi +0 -2080
  383. data/rbi/stripe/resources/subscription_item.rbi +0 -404
  384. data/rbi/stripe/resources/subscription_schedule.rbi +0 -1645
  385. data/rbi/stripe/resources/tax/calculation.rbi +0 -478
  386. data/rbi/stripe/resources/tax/calculation_line_item.rbi +0 -91
  387. data/rbi/stripe/resources/tax/registration.rbi +0 -2732
  388. data/rbi/stripe/resources/tax/settings.rbi +0 -141
  389. data/rbi/stripe/resources/tax/transaction.rbi +0 -351
  390. data/rbi/stripe/resources/tax/transaction_line_item.rbi +0 -54
  391. data/rbi/stripe/resources/tax_code.rbi +0 -44
  392. data/rbi/stripe/resources/tax_deducted_at_source.rbi +0 -23
  393. data/rbi/stripe/resources/tax_id.rbi +0 -165
  394. data/rbi/stripe/resources/tax_rate.rbi +0 -239
  395. data/rbi/stripe/resources/terminal/configuration.rbi +0 -1387
  396. data/rbi/stripe/resources/terminal/connection_token.rbi +0 -37
  397. data/rbi/stripe/resources/terminal/location.rbi +0 -222
  398. data/rbi/stripe/resources/terminal/reader.rbi +0 -994
  399. data/rbi/stripe/resources/test_helpers/test_clock.rbi +0 -132
  400. data/rbi/stripe/resources/token.rbi +0 -1283
  401. data/rbi/stripe/resources/topup.rbi +0 -222
  402. data/rbi/stripe/resources/transfer.rbi +0 -199
  403. data/rbi/stripe/resources/treasury/credit_reversal.rbi +0 -119
  404. data/rbi/stripe/resources/treasury/debit_reversal.rbi +0 -131
  405. data/rbi/stripe/resources/treasury/financial_account.rbi +0 -869
  406. data/rbi/stripe/resources/treasury/financial_account_features.rbi +0 -260
  407. data/rbi/stripe/resources/treasury/inbound_transfer.rbi +0 -295
  408. data/rbi/stripe/resources/treasury/outbound_payment.rbi +0 -592
  409. data/rbi/stripe/resources/treasury/outbound_transfer.rbi +0 -431
  410. data/rbi/stripe/resources/treasury/received_credit.rbi +0 -302
  411. data/rbi/stripe/resources/treasury/received_debit.rbi +0 -256
  412. data/rbi/stripe/resources/treasury/transaction.rbi +0 -215
  413. data/rbi/stripe/resources/treasury/transaction_entry.rbi +0 -192
  414. data/rbi/stripe/resources/v2/amount.rbi +0 -14
  415. data/rbi/stripe/resources/v2/billing/meter_event.rbi +0 -37
  416. data/rbi/stripe/resources/v2/billing/meter_event_adjustment.rbi +0 -41
  417. data/rbi/stripe/resources/v2/billing/meter_event_session.rbi +0 -31
  418. data/rbi/stripe/resources/v2/event.rbi +0 -48
  419. data/rbi/stripe/resources/v2/event_destination.rbi +0 -91
  420. data/rbi/stripe/resources/webhook_endpoint.rbi +0 -168
  421. data/rbi/stripe/services/account_capability_service.rbi +0 -51
  422. data/rbi/stripe/services/account_link_service.rbi +0 -58
  423. data/rbi/stripe/services/account_login_link_service.rbi +0 -22
  424. data/rbi/stripe/services/account_person_service.rbi +0 -1011
  425. data/rbi/stripe/services/account_service.rbi +0 -4281
  426. data/rbi/stripe/services/account_session_service.rbi +0 -646
  427. data/rbi/stripe/services/apple_pay_domain_service.rbi +0 -76
  428. data/rbi/stripe/services/application_fee_refund_service.rbi +0 -93
  429. data/rbi/stripe/services/application_fee_service.rbi +0 -78
  430. data/rbi/stripe/services/apps/secret_service.rbi +0 -151
  431. data/rbi/stripe/services/apps_service.rbi +0 -9
  432. data/rbi/stripe/services/balance_service.rbi +0 -21
  433. data/rbi/stripe/services/balance_transaction_service.rbi +0 -93
  434. data/rbi/stripe/services/billing/alert_service.rbi +0 -152
  435. data/rbi/stripe/services/billing/credit_balance_summary_service.rbi +0 -68
  436. data/rbi/stripe/services/billing/credit_balance_transaction_service.rbi +0 -59
  437. data/rbi/stripe/services/billing/credit_grant_service.rbi +0 -211
  438. data/rbi/stripe/services/billing/meter_event_adjustment_service.rbi +0 -42
  439. data/rbi/stripe/services/billing/meter_event_service.rbi +0 -42
  440. data/rbi/stripe/services/billing/meter_event_summary_service.rbi +0 -54
  441. data/rbi/stripe/services/billing/meter_service.rbi +0 -163
  442. data/rbi/stripe/services/billing_portal/configuration_service.rbi +0 -511
  443. data/rbi/stripe/services/billing_portal/session_service.rbi +0 -204
  444. data/rbi/stripe/services/billing_portal_service.rbi +0 -10
  445. data/rbi/stripe/services/billing_service.rbi +0 -15
  446. data/rbi/stripe/services/charge_service.rbi +0 -448
  447. data/rbi/stripe/services/checkout/session_line_item_service.rbi +0 -33
  448. data/rbi/stripe/services/checkout/session_service.rbi +0 -2670
  449. data/rbi/stripe/services/checkout_service.rbi +0 -9
  450. data/rbi/stripe/services/climate/order_service.rbi +0 -142
  451. data/rbi/stripe/services/climate/product_service.rbi +0 -46
  452. data/rbi/stripe/services/climate_service.rbi +0 -11
  453. data/rbi/stripe/services/confirmation_token_service.rbi +0 -20
  454. data/rbi/stripe/services/country_spec_service.rbi +0 -44
  455. data/rbi/stripe/services/coupon_service.rbi +0 -194
  456. data/rbi/stripe/services/credit_note_preview_lines_service.rbi +0 -167
  457. data/rbi/stripe/services/credit_note_service.rbi +0 -415
  458. data/rbi/stripe/services/customer_balance_transaction_service.rbi +0 -92
  459. data/rbi/stripe/services/customer_cash_balance_service.rbi +0 -45
  460. data/rbi/stripe/services/customer_cash_balance_transaction_service.rbi +0 -44
  461. data/rbi/stripe/services/customer_funding_instructions_service.rbi +0 -59
  462. data/rbi/stripe/services/customer_payment_method_service.rbi +0 -57
  463. data/rbi/stripe/services/customer_payment_source_service.rbi +0 -232
  464. data/rbi/stripe/services/customer_service.rbi +0 -647
  465. data/rbi/stripe/services/customer_session_service.rbi +0 -116
  466. data/rbi/stripe/services/customer_tax_id_service.rbi +0 -70
  467. data/rbi/stripe/services/dispute_service.rbi +0 -424
  468. data/rbi/stripe/services/entitlements/active_entitlement_service.rbi +0 -55
  469. data/rbi/stripe/services/entitlements/feature_service.rbi +0 -107
  470. data/rbi/stripe/services/entitlements_service.rbi +0 -10
  471. data/rbi/stripe/services/ephemeral_key_service.rbi +0 -53
  472. data/rbi/stripe/services/event_service.rbi +0 -83
  473. data/rbi/stripe/services/exchange_rate_service.rbi +0 -44
  474. data/rbi/stripe/services/file_link_service.rbi +0 -124
  475. data/rbi/stripe/services/file_service.rbi +0 -116
  476. data/rbi/stripe/services/financial_connections/account_owner_service.rbi +0 -42
  477. data/rbi/stripe/services/financial_connections/account_service.rbi +0 -133
  478. data/rbi/stripe/services/financial_connections/session_service.rbi +0 -88
  479. data/rbi/stripe/services/financial_connections/transaction_service.rbi +0 -92
  480. data/rbi/stripe/services/financial_connections_service.rbi +0 -11
  481. data/rbi/stripe/services/forwarding/request_service.rbi +0 -134
  482. data/rbi/stripe/services/forwarding_service.rbi +0 -9
  483. data/rbi/stripe/services/identity/verification_report_service.rbi +0 -87
  484. data/rbi/stripe/services/identity/verification_session_service.rbi +0 -339
  485. data/rbi/stripe/services/identity_service.rbi +0 -10
  486. data/rbi/stripe/services/invoice_item_service.rbi +0 -366
  487. data/rbi/stripe/services/invoice_line_item_service.rbi +0 -259
  488. data/rbi/stripe/services/invoice_payment_service.rbi +0 -71
  489. data/rbi/stripe/services/invoice_rendering_template_service.rbi +0 -82
  490. data/rbi/stripe/services/invoice_service.rbi +0 -3011
  491. data/rbi/stripe/services/issuing/authorization_service.rbi +0 -146
  492. data/rbi/stripe/services/issuing/card_service.rbi +0 -495
  493. data/rbi/stripe/services/issuing/cardholder_service.rbi +0 -587
  494. data/rbi/stripe/services/issuing/dispute_service.rbi +0 -707
  495. data/rbi/stripe/services/issuing/personalization_design_service.rbi +0 -243
  496. data/rbi/stripe/services/issuing/physical_bundle_service.rbi +0 -59
  497. data/rbi/stripe/services/issuing/token_service.rbi +0 -99
  498. data/rbi/stripe/services/issuing/transaction_service.rbi +0 -105
  499. data/rbi/stripe/services/issuing_service.rbi +0 -16
  500. data/rbi/stripe/services/mandate_service.rbi +0 -20
  501. data/rbi/stripe/services/payment_intent_service.rbi +0 -7989
  502. data/rbi/stripe/services/payment_link_service.rbi +0 -1352
  503. data/rbi/stripe/services/payment_method_configuration_service.rbi +0 -2487
  504. data/rbi/stripe/services/payment_method_domain_service.rbi +0 -112
  505. data/rbi/stripe/services/payment_method_service.rbi +0 -781
  506. data/rbi/stripe/services/payout_service.rbi +0 -205
  507. data/rbi/stripe/services/plan_service.rbi +0 -282
  508. data/rbi/stripe/services/price_service.rbi +0 -546
  509. data/rbi/stripe/services/product_feature_service.rbi +0 -67
  510. data/rbi/stripe/services/product_service.rbi +0 -477
  511. data/rbi/stripe/services/promotion_code_service.rbi +0 -214
  512. data/rbi/stripe/services/quote_computed_upfront_line_items_service.rbi +0 -31
  513. data/rbi/stripe/services/quote_service.rbi +0 -699
  514. data/rbi/stripe/services/radar/early_fraud_warning_service.rbi +0 -85
  515. data/rbi/stripe/services/radar/value_list_item_service.rbi +0 -109
  516. data/rbi/stripe/services/radar/value_list_service.rbi +0 -141
  517. data/rbi/stripe/services/radar_service.rbi +0 -11
  518. data/rbi/stripe/services/refund_service.rbi +0 -185
  519. data/rbi/stripe/services/reporting/report_run_service.rbi +0 -135
  520. data/rbi/stripe/services/reporting/report_type_service.rbi +0 -35
  521. data/rbi/stripe/services/reporting_service.rbi +0 -10
  522. data/rbi/stripe/services/review_service.rbi +0 -84
  523. data/rbi/stripe/services/setup_attempt_service.rbi +0 -65
  524. data/rbi/stripe/services/setup_intent_service.rbi +0 -3709
  525. data/rbi/stripe/services/shipping_rate_service.rbi +0 -241
  526. data/rbi/stripe/services/sigma/scheduled_query_run_service.rbi +0 -46
  527. data/rbi/stripe/services/sigma_service.rbi +0 -9
  528. data/rbi/stripe/services/source_service.rbi +0 -663
  529. data/rbi/stripe/services/subscription_item_service.rbi +0 -350
  530. data/rbi/stripe/services/subscription_schedule_service.rbi +0 -1301
  531. data/rbi/stripe/services/subscription_service.rbi +0 -1684
  532. data/rbi/stripe/services/tax/calculation_service.rbi +0 -234
  533. data/rbi/stripe/services/tax/registration_service.rbi +0 -1858
  534. data/rbi/stripe/services/tax/settings_service.rbi +0 -93
  535. data/rbi/stripe/services/tax/transaction_service.rbi +0 -146
  536. data/rbi/stripe/services/tax_code_service.rbi +0 -44
  537. data/rbi/stripe/services/tax_id_service.rbi +0 -110
  538. data/rbi/stripe/services/tax_rate_service.rbi +0 -185
  539. data/rbi/stripe/services/tax_service.rbi +0 -12
  540. data/rbi/stripe/services/terminal/configuration_service.rbi +0 -1118
  541. data/rbi/stripe/services/terminal/connection_token_service.rbi +0 -25
  542. data/rbi/stripe/services/terminal/location_service.rbi +0 -182
  543. data/rbi/stripe/services/terminal/reader_service.rbi +0 -540
  544. data/rbi/stripe/services/terminal_service.rbi +0 -12
  545. data/rbi/stripe/services/test_helpers/confirmation_token_service.rbi +0 -746
  546. data/rbi/stripe/services/test_helpers/customer_service.rbi +0 -33
  547. data/rbi/stripe/services/test_helpers/issuing/authorization_service.rbi +0 -848
  548. data/rbi/stripe/services/test_helpers/issuing/card_service.rbi +0 -76
  549. data/rbi/stripe/services/test_helpers/issuing/personalization_design_service.rbi +0 -69
  550. data/rbi/stripe/services/test_helpers/issuing/transaction_service.rbi +0 -711
  551. data/rbi/stripe/services/test_helpers/issuing_service.rbi +0 -14
  552. data/rbi/stripe/services/test_helpers/refund_service.rbi +0 -22
  553. data/rbi/stripe/services/test_helpers/terminal/reader_service.rbi +0 -93
  554. data/rbi/stripe/services/test_helpers/terminal_service.rbi +0 -11
  555. data/rbi/stripe/services/test_helpers/test_clock_service.rbi +0 -90
  556. data/rbi/stripe/services/test_helpers/treasury/inbound_transfer_service.rbi +0 -64
  557. data/rbi/stripe/services/test_helpers/treasury/outbound_payment_service.rbi +0 -125
  558. data/rbi/stripe/services/test_helpers/treasury/outbound_transfer_service.rbi +0 -125
  559. data/rbi/stripe/services/test_helpers/treasury/received_credit_service.rbi +0 -87
  560. data/rbi/stripe/services/test_helpers/treasury/received_debit_service.rbi +0 -87
  561. data/rbi/stripe/services/test_helpers/treasury_service.rbi +0 -15
  562. data/rbi/stripe/services/test_helpers_service.rbi +0 -15
  563. data/rbi/stripe/services/token_service.rbi +0 -1257
  564. data/rbi/stripe/services/topup_service.rbi +0 -176
  565. data/rbi/stripe/services/transfer_reversal_service.rbi +0 -101
  566. data/rbi/stripe/services/transfer_service.rbi +0 -152
  567. data/rbi/stripe/services/treasury/credit_reversal_service.rbi +0 -84
  568. data/rbi/stripe/services/treasury/debit_reversal_service.rbi +0 -88
  569. data/rbi/stripe/services/treasury/financial_account_features_service.rbi +0 -198
  570. data/rbi/stripe/services/treasury/financial_account_service.rbi +0 -566
  571. data/rbi/stripe/services/treasury/inbound_transfer_service.rbi +0 -117
  572. data/rbi/stripe/services/treasury/outbound_payment_service.rbi +0 -304
  573. data/rbi/stripe/services/treasury/outbound_transfer_service.rbi +0 -157
  574. data/rbi/stripe/services/treasury/received_credit_service.rbi +0 -72
  575. data/rbi/stripe/services/treasury/received_debit_service.rbi +0 -59
  576. data/rbi/stripe/services/treasury/transaction_entry_service.rbi +0 -111
  577. data/rbi/stripe/services/treasury/transaction_service.rbi +0 -122
  578. data/rbi/stripe/services/treasury_service.rbi +0 -18
  579. data/rbi/stripe/services/v1_services.rbi +0 -77
  580. data/rbi/stripe/services/v2/billing/meter_event_adjustment_service.rbi +0 -39
  581. data/rbi/stripe/services/v2/billing/meter_event_service.rbi +0 -42
  582. data/rbi/stripe/services/v2/billing/meter_event_session_service.rbi +0 -18
  583. data/rbi/stripe/services/v2/billing/meter_event_stream_service.rbi +0 -55
  584. data/rbi/stripe/services/v2/billing_service.rbi +0 -14
  585. data/rbi/stripe/services/v2/core/event_destination_service.rbi +0 -192
  586. data/rbi/stripe/services/v2/core/event_service.rbi +0 -36
  587. data/rbi/stripe/services/v2/core_service.rbi +0 -12
  588. data/rbi/stripe/services/v2_services.rbi +0 -10
  589. data/rbi/stripe/services/webhook_endpoint_service.rbi +0 -129
@@ -0,0 +1,1755 @@
1
+ # File generated from our OpenAPI spec
2
+ # frozen_string_literal: true
3
+
4
+ module Stripe
5
+ module V2
6
+ module Core
7
+ # A V2 Account is a representation of a company or individual that a Stripe user does business with. Accounts contain the contact details, Legal Entity information, and configuration required to enable the Account for use across Stripe products.
8
+ class Account < APIResource
9
+ OBJECT_NAME = "v2.core.account"
10
+ def self.object_name
11
+ "v2.core.account"
12
+ end
13
+
14
+ class Configuration < Stripe::StripeObject
15
+ class Customer < Stripe::StripeObject
16
+ class AutomaticIndirectTax < Stripe::StripeObject
17
+ class Location < Stripe::StripeObject
18
+ # The identified tax country of the customer.
19
+ attr_reader :country
20
+ # The identified tax state, county, province, or region of the customer.
21
+ attr_reader :state
22
+ end
23
+ # Describes the customer's tax exemption status, which is `none`, `exempt`, or `reverse`. When set to reverse, invoice and receipt PDFs include the following text: “Reverse charge”.
24
+ attr_reader :exempt
25
+ # A recent IP address of the customer used for tax reporting and tax location inference.
26
+ attr_reader :ip_address
27
+ # The customer’s identified tax location - uses `location_source`. Will only be rendered if the `automatic_indirect_tax` feature is requested and `active`.
28
+ attr_reader :location
29
+ # The data source used to identify the customer's tax location - defaults to 'identity_address'. Will only be used for automatic tax calculation on the customer's Invoices and Subscriptions.
30
+ attr_reader :location_source
31
+ end
32
+
33
+ class Billing < Stripe::StripeObject
34
+ class Invoice < Stripe::StripeObject
35
+ class CustomField < Stripe::StripeObject
36
+ # The name of the custom field. This may be up to 40 characters.
37
+ attr_reader :name
38
+ # The value of the custom field. This may be up to 140 characters. When updating, pass an empty string to remove previously-defined values.
39
+ attr_reader :value
40
+ end
41
+
42
+ class Rendering < Stripe::StripeObject
43
+ # How line-item prices and amounts will be displayed with respect to tax on invoice PDFs. One of exclude_tax or include_inclusive_tax. include_inclusive_tax will include inclusive tax (and exclude exclusive tax) in invoice PDF amounts. exclude_tax will exclude all tax (inclusive and exclusive alike) from invoice PDF amounts.
44
+ attr_reader :amount_tax_display
45
+ # ID of the invoice rendering template to use for future invoices.
46
+ attr_reader :template
47
+ end
48
+ # The list of up to 4 default custom fields to be displayed on invoices for this customer. When updating, pass an empty string to remove previously-defined fields.
49
+ attr_reader :custom_fields
50
+ # Default footer to be displayed on invoices for this customer.
51
+ attr_reader :footer
52
+ # The sequence to be used on the customer's next invoice. Defaults to 1.
53
+ attr_reader :next_sequence
54
+ # The prefix for the customer used to generate unique invoice numbers. Must be 3–12 uppercase letters or numbers.
55
+ attr_reader :prefix
56
+ # Default options for invoice PDF rendering for this customer.
57
+ attr_reader :rendering
58
+ end
59
+ # ID of a payment method that’s attached to the customer, to be used as the customer’s default payment method for invoices and subscriptions.
60
+ attr_reader :default_payment_method
61
+ # Default settings used on invoices for this customer.
62
+ attr_reader :invoice
63
+ end
64
+
65
+ class Capabilities < Stripe::StripeObject
66
+ class AutomaticIndirectTax < Stripe::StripeObject
67
+ class StatusDetail < Stripe::StripeObject
68
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
69
+ attr_reader :code
70
+ # Machine-readable code explaining how to make the Capability active.
71
+ attr_reader :resolution
72
+ end
73
+ # Whether the Capability has been requested.
74
+ attr_reader :requested
75
+ # The status of the Capability.
76
+ attr_reader :status
77
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
78
+ attr_reader :status_details
79
+ end
80
+ # Generates requirements for enabling automatic indirect tax calculation on this customer's invoices or subscriptions. Recommended to request this capability if planning to enable automatic tax calculation on this customer's invoices or subscriptions. Uses the `location_source` field.
81
+ attr_reader :automatic_indirect_tax
82
+ end
83
+
84
+ class Shipping < Stripe::StripeObject
85
+ class Address < Stripe::StripeObject
86
+ # City, district, suburb, town, or village.
87
+ attr_reader :city
88
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
89
+ attr_reader :country
90
+ # Address line 1 (e.g., street, PO Box, or company name).
91
+ attr_reader :line1
92
+ # Address line 2 (e.g., apartment, suite, unit, or building).
93
+ attr_reader :line2
94
+ # ZIP or postal code.
95
+ attr_reader :postal_code
96
+ # State, county, province, or region.
97
+ attr_reader :state
98
+ end
99
+ # Customer shipping address.
100
+ attr_reader :address
101
+ # Customer name.
102
+ attr_reader :name
103
+ # Customer phone (including extension).
104
+ attr_reader :phone
105
+ end
106
+ # 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 merchant 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 ProofOfAddress < 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 ProofOfRegistration < 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
+
1253
+ class ProofOfUltimateBeneficialOwnership < Stripe::StripeObject
1254
+ # 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`.
1255
+ attr_reader :files
1256
+ # The format of the document. Currently supports `files` only.
1257
+ attr_reader :type
1258
+ end
1259
+ # 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.
1260
+ attr_reader :bank_account_ownership_verification
1261
+ # One or more documents that demonstrate proof of a company’s license to operate.
1262
+ attr_reader :company_license
1263
+ # One or more documents showing the company’s Memorandum of Association.
1264
+ attr_reader :company_memorandum_of_association
1265
+ # Certain countries only: One or more documents showing the ministerial decree legalizing the company’s establishment.
1266
+ attr_reader :company_ministerial_decree
1267
+ # One or more documents that demonstrate proof of a company’s registration with the appropriate local authorities.
1268
+ attr_reader :company_registration_verification
1269
+ # One or more documents that demonstrate proof of a company’s tax ID.
1270
+ attr_reader :company_tax_id_verification
1271
+ # A document verifying the business.
1272
+ attr_reader :primary_verification
1273
+ # One or more documents that demonstrate proof of address.
1274
+ attr_reader :proof_of_address
1275
+ # One or more documents showing the company’s proof of registration with the national business registry.
1276
+ attr_reader :proof_of_registration
1277
+ # One or more documents that demonstrate proof of ultimate beneficial ownership.
1278
+ attr_reader :proof_of_ultimate_beneficial_ownership
1279
+ end
1280
+
1281
+ class IdNumber < Stripe::StripeObject
1282
+ # The registrar of the ID number (Only valid for DE ID number types).
1283
+ attr_reader :registrar
1284
+ # Open Enum. The ID number type of a business entity.
1285
+ attr_reader :type
1286
+ end
1287
+
1288
+ class MonthlyEstimatedRevenue < Stripe::StripeObject
1289
+ # A non-negative integer representing the amount in the smallest currency unit.
1290
+ attr_reader :amount
1291
+ end
1292
+
1293
+ class ScriptAddresses < Stripe::StripeObject
1294
+ class Kana < Stripe::StripeObject
1295
+ # City, district, suburb, town, or village.
1296
+ attr_reader :city
1297
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1298
+ attr_reader :country
1299
+ # Address line 1 (e.g., street, PO Box, or company name).
1300
+ attr_reader :line1
1301
+ # Address line 2 (e.g., apartment, suite, unit, or building).
1302
+ attr_reader :line2
1303
+ # ZIP or postal code.
1304
+ attr_reader :postal_code
1305
+ # State, county, province, or region.
1306
+ attr_reader :state
1307
+ # Town or cho-me.
1308
+ attr_reader :town
1309
+ end
1310
+
1311
+ class Kanji < Stripe::StripeObject
1312
+ # City, district, suburb, town, or village.
1313
+ attr_reader :city
1314
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1315
+ attr_reader :country
1316
+ # Address line 1 (e.g., street, PO Box, or company name).
1317
+ attr_reader :line1
1318
+ # Address line 2 (e.g., apartment, suite, unit, or building).
1319
+ attr_reader :line2
1320
+ # ZIP or postal code.
1321
+ attr_reader :postal_code
1322
+ # State, county, province, or region.
1323
+ attr_reader :state
1324
+ # Town or cho-me.
1325
+ attr_reader :town
1326
+ end
1327
+ # Kana Address.
1328
+ attr_reader :kana
1329
+ # Kanji Address.
1330
+ attr_reader :kanji
1331
+ end
1332
+
1333
+ class ScriptNames < Stripe::StripeObject
1334
+ class Kana < Stripe::StripeObject
1335
+ # Registered name of the business.
1336
+ attr_reader :registered_name
1337
+ end
1338
+
1339
+ class Kanji < Stripe::StripeObject
1340
+ # Registered name of the business.
1341
+ attr_reader :registered_name
1342
+ end
1343
+ # Kana name.
1344
+ attr_reader :kana
1345
+ # Kanji name.
1346
+ attr_reader :kanji
1347
+ end
1348
+ # The company’s primary address.
1349
+ attr_reader :address
1350
+ # The business gross annual revenue for its preceding fiscal year.
1351
+ attr_reader :annual_revenue
1352
+ # Documents that may be submitted to satisfy various informational requests.
1353
+ attr_reader :documents
1354
+ # The company’s legal name.
1355
+ attr_reader :doing_business_as
1356
+ # An estimated upper bound of employees, contractors, vendors, etc. currently working for the business.
1357
+ attr_reader :estimated_worker_count
1358
+ # The provided ID numbers of a business entity.
1359
+ attr_reader :id_numbers
1360
+ # An estimate of the monthly revenue of the business.
1361
+ attr_reader :monthly_estimated_revenue
1362
+ # The company’s phone number (used for verification).
1363
+ attr_reader :phone
1364
+ # Internal-only description of the product sold or service provided by the business. It’s used by Stripe for risk and underwriting purposes.
1365
+ attr_reader :product_description
1366
+ # The business legal name.
1367
+ attr_reader :registered_name
1368
+ # The business registration address of the business entity in non latin script.
1369
+ attr_reader :script_addresses
1370
+ # The business legal name in non latin script.
1371
+ attr_reader :script_names
1372
+ # The category identifying the legal structure of the business.
1373
+ attr_reader :structure
1374
+ # The business's publicly available website.
1375
+ attr_reader :url
1376
+ end
1377
+
1378
+ class Individual < Stripe::StripeObject
1379
+ class AdditionalAddress < Stripe::StripeObject
1380
+ # City, district, suburb, town, or village.
1381
+ attr_reader :city
1382
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1383
+ attr_reader :country
1384
+ # Address line 1 (e.g., street, PO Box, or company name).
1385
+ attr_reader :line1
1386
+ # Address line 2 (e.g., apartment, suite, unit, or building).
1387
+ attr_reader :line2
1388
+ # ZIP or postal code.
1389
+ attr_reader :postal_code
1390
+ # Purpose of additional address.
1391
+ attr_reader :purpose
1392
+ # State, county, province, or region.
1393
+ attr_reader :state
1394
+ # Town or cho-me.
1395
+ attr_reader :town
1396
+ end
1397
+
1398
+ class AdditionalName < Stripe::StripeObject
1399
+ # The individual's full name.
1400
+ attr_reader :full_name
1401
+ # The individual's first or given name.
1402
+ attr_reader :given_name
1403
+ # The purpose or type of the additional name.
1404
+ attr_reader :purpose
1405
+ # The individual's last or family name.
1406
+ attr_reader :surname
1407
+ end
1408
+
1409
+ class AdditionalTermsOfService < Stripe::StripeObject
1410
+ class Account < Stripe::StripeObject
1411
+ # 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.
1412
+ attr_reader :date
1413
+ # The IP address from which the Account's representative accepted the terms of service.
1414
+ attr_reader :ip
1415
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
1416
+ attr_reader :user_agent
1417
+ end
1418
+ # Stripe terms of service agreement.
1419
+ attr_reader :account
1420
+ end
1421
+
1422
+ class Address < Stripe::StripeObject
1423
+ # City, district, suburb, town, or village.
1424
+ attr_reader :city
1425
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1426
+ attr_reader :country
1427
+ # Address line 1 (e.g., street, PO Box, or company name).
1428
+ attr_reader :line1
1429
+ # Address line 2 (e.g., apartment, suite, unit, or building).
1430
+ attr_reader :line2
1431
+ # ZIP or postal code.
1432
+ attr_reader :postal_code
1433
+ # State, county, province, or region.
1434
+ attr_reader :state
1435
+ # Town or cho-me.
1436
+ attr_reader :town
1437
+ end
1438
+
1439
+ class DateOfBirth < Stripe::StripeObject
1440
+ # The day of birth, between 1 and 31.
1441
+ attr_reader :day
1442
+ # The month of birth, between 1 and 12.
1443
+ attr_reader :month
1444
+ # The four-digit year of birth.
1445
+ attr_reader :year
1446
+ end
1447
+
1448
+ class Documents < Stripe::StripeObject
1449
+ class CompanyAuthorization < Stripe::StripeObject
1450
+ # 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`.
1451
+ attr_reader :files
1452
+ # The format of the document. Currently supports `files` only.
1453
+ attr_reader :type
1454
+ end
1455
+
1456
+ class Passport < Stripe::StripeObject
1457
+ # 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`.
1458
+ attr_reader :files
1459
+ # The format of the document. Currently supports `files` only.
1460
+ attr_reader :type
1461
+ end
1462
+
1463
+ class PrimaryVerification < Stripe::StripeObject
1464
+ class FrontBack < Stripe::StripeObject
1465
+ # 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.
1466
+ attr_reader :back
1467
+ # 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.
1468
+ attr_reader :front
1469
+ end
1470
+ # The [file upload](https://docs.stripe.com/api/persons/update#create_file) tokens for the front and back of the verification document.
1471
+ attr_reader :front_back
1472
+ # The format of the verification document. Currently supports `front_back` only.
1473
+ attr_reader :type
1474
+ end
1475
+
1476
+ class SecondaryVerification < Stripe::StripeObject
1477
+ class FrontBack < Stripe::StripeObject
1478
+ # 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.
1479
+ attr_reader :back
1480
+ # 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.
1481
+ attr_reader :front
1482
+ end
1483
+ # The [file upload](https://docs.stripe.com/api/persons/update#create_file) tokens for the front and back of the verification document.
1484
+ attr_reader :front_back
1485
+ # The format of the verification document. Currently supports `front_back` only.
1486
+ attr_reader :type
1487
+ end
1488
+
1489
+ class Visa < Stripe::StripeObject
1490
+ # 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`.
1491
+ attr_reader :files
1492
+ # The format of the document. Currently supports `files` only.
1493
+ attr_reader :type
1494
+ end
1495
+ # One or more documents that demonstrate proof that this person is authorized to represent the company.
1496
+ attr_reader :company_authorization
1497
+ # One or more documents showing the person’s passport page with photo and personal data.
1498
+ attr_reader :passport
1499
+ # An identifying document showing the person's name, either a passport or local ID card.
1500
+ attr_reader :primary_verification
1501
+ # A document showing address, either a passport, local ID card, or utility bill from a well-known utility company.
1502
+ attr_reader :secondary_verification
1503
+ # One or more documents showing the person’s visa required for living in the country where they are residing.
1504
+ attr_reader :visa
1505
+ end
1506
+
1507
+ class IdNumber < Stripe::StripeObject
1508
+ # The ID number type of an individual.
1509
+ attr_reader :type
1510
+ end
1511
+
1512
+ class Relationship < Stripe::StripeObject
1513
+ # Whether the individual is an authorizer of the Account’s legal entity.
1514
+ attr_reader :authorizer
1515
+ # 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.
1516
+ attr_reader :director
1517
+ # Whether the individual has significant responsibility to control, manage, or direct the organization.
1518
+ attr_reader :executive
1519
+ # Whether the individual is the legal guardian of the Account’s representative.
1520
+ attr_reader :legal_guardian
1521
+ # Whether the individual is an owner of the Account’s legal entity.
1522
+ attr_reader :owner
1523
+ # The percent owned by the individual of the Account’s legal entity.
1524
+ attr_reader :percent_ownership
1525
+ # 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.
1526
+ attr_reader :representative
1527
+ # The individual's title (e.g., CEO, Support Engineer).
1528
+ attr_reader :title
1529
+ end
1530
+
1531
+ class ScriptAddresses < Stripe::StripeObject
1532
+ class Kana < Stripe::StripeObject
1533
+ # City, district, suburb, town, or village.
1534
+ attr_reader :city
1535
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1536
+ attr_reader :country
1537
+ # Address line 1 (e.g., street, PO Box, or company name).
1538
+ attr_reader :line1
1539
+ # Address line 2 (e.g., apartment, suite, unit, or building).
1540
+ attr_reader :line2
1541
+ # ZIP or postal code.
1542
+ attr_reader :postal_code
1543
+ # State, county, province, or region.
1544
+ attr_reader :state
1545
+ # Town or cho-me.
1546
+ attr_reader :town
1547
+ end
1548
+
1549
+ class Kanji < Stripe::StripeObject
1550
+ # City, district, suburb, town, or village.
1551
+ attr_reader :city
1552
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1553
+ attr_reader :country
1554
+ # Address line 1 (e.g., street, PO Box, or company name).
1555
+ attr_reader :line1
1556
+ # Address line 2 (e.g., apartment, suite, unit, or building).
1557
+ attr_reader :line2
1558
+ # ZIP or postal code.
1559
+ attr_reader :postal_code
1560
+ # State, county, province, or region.
1561
+ attr_reader :state
1562
+ # Town or cho-me.
1563
+ attr_reader :town
1564
+ end
1565
+ # Kana Address.
1566
+ attr_reader :kana
1567
+ # Kanji Address.
1568
+ attr_reader :kanji
1569
+ end
1570
+
1571
+ class ScriptNames < Stripe::StripeObject
1572
+ class Kana < Stripe::StripeObject
1573
+ # The person's first or given name.
1574
+ attr_reader :given_name
1575
+ # The person's last or family name.
1576
+ attr_reader :surname
1577
+ end
1578
+
1579
+ class Kanji < Stripe::StripeObject
1580
+ # The person's first or given name.
1581
+ attr_reader :given_name
1582
+ # The person's last or family name.
1583
+ attr_reader :surname
1584
+ end
1585
+ # Persons name in kana script.
1586
+ attr_reader :kana
1587
+ # Persons name in kanji script.
1588
+ attr_reader :kanji
1589
+ end
1590
+ # The account ID which the individual belongs to.
1591
+ attr_reader :account
1592
+ # Additional addresses associated with the individual.
1593
+ attr_reader :additional_addresses
1594
+ # Additional names (e.g. aliases) associated with the individual.
1595
+ attr_reader :additional_names
1596
+ # Terms of service acceptances.
1597
+ attr_reader :additional_terms_of_service
1598
+ # The individual's residential address.
1599
+ attr_reader :address
1600
+ # 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.
1601
+ attr_reader :created
1602
+ # The individual's date of birth.
1603
+ attr_reader :date_of_birth
1604
+ # Documents that may be submitted to satisfy various informational requests.
1605
+ attr_reader :documents
1606
+ # The individual's email address.
1607
+ attr_reader :email
1608
+ # The individual's first name.
1609
+ attr_reader :given_name
1610
+ # Unique identifier for the object.
1611
+ attr_reader :id
1612
+ # The identification numbers (e.g., SSN) associated with the individual.
1613
+ attr_reader :id_numbers
1614
+ # The individual's gender (International regulations require either "male” or "female").
1615
+ attr_reader :legal_gender
1616
+ # 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.
1617
+ attr_reader :metadata
1618
+ # 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)).
1619
+ attr_reader :nationalities
1620
+ # String representing the object's type. Objects of the same type share the same value.
1621
+ attr_reader :object
1622
+ # The individual's phone number.
1623
+ attr_reader :phone
1624
+ # 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.
1625
+ attr_reader :political_exposure
1626
+ # The relationship that this individual has with the Account's identity.
1627
+ attr_reader :relationship
1628
+ # The script addresses (e.g., non-Latin characters) associated with the individual.
1629
+ attr_reader :script_addresses
1630
+ # The script names (e.g. non-Latin characters) associated with the individual.
1631
+ attr_reader :script_names
1632
+ # The individual's last name.
1633
+ attr_reader :surname
1634
+ # Time at which the object was last updated.
1635
+ attr_reader :updated
1636
+ end
1637
+ # Attestations from the identity's key people, e.g. owners, executives, directors.
1638
+ attr_reader :attestations
1639
+ # Information about the company or business.
1640
+ attr_reader :business_details
1641
+ # 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.
1642
+ attr_reader :country
1643
+ # The entity type.
1644
+ attr_reader :entity_type
1645
+ # Information about the individual represented by the Account. This property is `null` unless `entity_type` is set to `individual`.
1646
+ attr_reader :individual
1647
+ end
1648
+
1649
+ class Requirements < Stripe::StripeObject
1650
+ class Entry < Stripe::StripeObject
1651
+ class Error < Stripe::StripeObject
1652
+ # Machine-readable code describing the error.
1653
+ attr_reader :code
1654
+ # Human-readable description of the error.
1655
+ attr_reader :description
1656
+ end
1657
+
1658
+ class Impact < Stripe::StripeObject
1659
+ class RestrictsCapability < Stripe::StripeObject
1660
+ class Deadline < Stripe::StripeObject
1661
+ # The current status of the requirement's impact.
1662
+ attr_reader :status
1663
+ end
1664
+ # The name of the Capability which will be restricted.
1665
+ attr_reader :capability
1666
+ # The configuration which specifies the Capability which will be restricted.
1667
+ attr_reader :configuration
1668
+ # Details about when in the account lifecycle the requirement must be collected by the avoid the Capability restriction.
1669
+ attr_reader :deadline
1670
+ end
1671
+ # The Capabilities that will be restricted if the requirement is not collected and satisfactory to Stripe.
1672
+ attr_reader :restricts_capabilities
1673
+ end
1674
+
1675
+ class MinimumDeadline < Stripe::StripeObject
1676
+ # The current status of the requirement's impact.
1677
+ attr_reader :status
1678
+ end
1679
+
1680
+ class Reference < Stripe::StripeObject
1681
+ # If `inquiry` is the type, the inquiry token.
1682
+ attr_reader :inquiry
1683
+ # If `resource` is the type, the resource token.
1684
+ attr_reader :resource
1685
+ # The type of the reference. An additional hash is included with a name matching the type. It contains additional information specific to the type.
1686
+ attr_reader :type
1687
+ end
1688
+
1689
+ class RequestedReason < Stripe::StripeObject
1690
+ # Machine-readable description of Stripe's reason for collecting the requirement.
1691
+ attr_reader :code
1692
+ end
1693
+ # Whether the responsibility is with the integrator or with Stripe (to review info, to wait for some condition, etc.) to action the requirement.
1694
+ attr_reader :awaiting_action_from
1695
+ # Machine-readable string describing the requirement.
1696
+ attr_reader :description
1697
+ # Descriptions of why the requirement must be collected, or why the collected information isn't satisfactory to Stripe.
1698
+ attr_reader :errors
1699
+ # A hash describing the impact of not collecting the requirement, or Stripe not being able to verify the collected information.
1700
+ attr_reader :impact
1701
+ # The soonest point when the account will be impacted by not providing the requirement.
1702
+ attr_reader :minimum_deadline
1703
+ # A reference to the location of the requirement.
1704
+ attr_reader :reference
1705
+ # A list of reasons why Stripe is collecting the requirement.
1706
+ attr_reader :requested_reasons
1707
+ end
1708
+
1709
+ class Summary < Stripe::StripeObject
1710
+ class MinimumDeadline < Stripe::StripeObject
1711
+ # The current strictest status of all requirements on the Account.
1712
+ attr_reader :status
1713
+ # The soonest RFC3339 date & time UTC value a requirement can impact the Account.
1714
+ attr_reader :time
1715
+ end
1716
+ # 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`.
1717
+ attr_reader :minimum_deadline
1718
+ end
1719
+ # A value indicating responsibility for collecting requirements on this account.
1720
+ attr_reader :collector
1721
+ # A list of requirements for the Account.
1722
+ attr_reader :entries
1723
+ # An object containing an overview of requirements for the Account.
1724
+ attr_reader :summary
1725
+ end
1726
+ # Filter only accounts that have all of the configurations specified. If omitted, returns all accounts regardless of which configurations they have.
1727
+ attr_reader :applied_configurations
1728
+ # An Account Configuration which allows the Account to take on a key persona across Stripe products.
1729
+ attr_reader :configuration
1730
+ # The default contact email address for the Account. Required when configuring the account as a merchant or recipient.
1731
+ attr_reader :contact_email
1732
+ # 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.
1733
+ attr_reader :created
1734
+ # A value indicating the Stripe dashboard this Account has access to. This will depend on which configurations are enabled for this account.
1735
+ attr_reader :dashboard
1736
+ # Default values to be used on Account Configurations.
1737
+ attr_reader :defaults
1738
+ # A descriptive name for the Account. This name will be surfaced in the Stripe Dashboard and on any invoices sent to the Account.
1739
+ attr_reader :display_name
1740
+ # Unique identifier for the Account.
1741
+ attr_reader :id
1742
+ # Information about the company, individual, and business represented by the Account.
1743
+ attr_reader :identity
1744
+ # 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.
1745
+ attr_reader :metadata
1746
+ # String representing the object's type. Objects of the same type share the same value of the object field.
1747
+ attr_reader :object
1748
+ # Information about the requirements for the Account, including what information needs to be collected, and by when.
1749
+ attr_reader :requirements
1750
+ # Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
1751
+ attr_reader :livemode
1752
+ end
1753
+ end
1754
+ end
1755
+ end