stripe 15.3.0 → 15.4.0.pre.beta.2

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 (591) hide show
  1. checksums.yaml +4 -4
  2. data/API_VERSION +1 -1
  3. data/CHANGELOG.md +1603 -667
  4. data/README.md +1 -1
  5. data/VERSION +1 -1
  6. data/lib/stripe/api_requestor.rb +32 -0
  7. data/lib/stripe/api_version.rb +1 -2
  8. data/lib/stripe/errors.rb +60 -0
  9. data/lib/stripe/event_types.rb +102 -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_configuration_storer_capability_status_updated_event.rb +23 -0
  19. data/lib/stripe/events/v2_core_account_including_configuration_storer_updated_event.rb +21 -0
  20. data/lib/stripe/events/v2_core_account_including_defaults_updated_event.rb +21 -0
  21. data/lib/stripe/events/v2_core_account_including_identity_updated_event.rb +21 -0
  22. data/lib/stripe/events/v2_core_account_including_requirements_updated_event.rb +21 -0
  23. data/lib/stripe/events/v2_core_account_link_completed_event.rb +13 -0
  24. data/lib/stripe/events/v2_core_account_person_created_event.rb +23 -0
  25. data/lib/stripe/events/v2_core_account_person_deleted_event.rb +23 -0
  26. data/lib/stripe/events/v2_core_account_person_updated_event.rb +23 -0
  27. data/lib/stripe/events/v2_core_account_updated_event.rb +21 -0
  28. data/lib/stripe/events/v2_money_management_adjustment_created_event.rb +21 -0
  29. data/lib/stripe/events/v2_money_management_financial_account_created_event.rb +21 -0
  30. data/lib/stripe/events/v2_money_management_financial_account_updated_event.rb +21 -0
  31. data/lib/stripe/events/v2_money_management_financial_address_activated_event.rb +21 -0
  32. data/lib/stripe/events/v2_money_management_financial_address_failed_event.rb +21 -0
  33. data/lib/stripe/events/v2_money_management_inbound_transfer_available_event.rb +23 -0
  34. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_failed_event.rb +21 -0
  35. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_processing_event.rb +21 -0
  36. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_queued_event.rb +21 -0
  37. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_returned_event.rb +21 -0
  38. data/lib/stripe/events/v2_money_management_inbound_transfer_bank_debit_succeeded_event.rb +21 -0
  39. data/lib/stripe/events/v2_money_management_outbound_payment_canceled_event.rb +21 -0
  40. data/lib/stripe/events/v2_money_management_outbound_payment_created_event.rb +21 -0
  41. data/lib/stripe/events/v2_money_management_outbound_payment_failed_event.rb +21 -0
  42. data/lib/stripe/events/v2_money_management_outbound_payment_posted_event.rb +21 -0
  43. data/lib/stripe/events/v2_money_management_outbound_payment_returned_event.rb +21 -0
  44. data/lib/stripe/events/v2_money_management_outbound_payment_updated_event.rb +21 -0
  45. data/lib/stripe/events/v2_money_management_outbound_transfer_canceled_event.rb +21 -0
  46. data/lib/stripe/events/v2_money_management_outbound_transfer_created_event.rb +21 -0
  47. data/lib/stripe/events/v2_money_management_outbound_transfer_failed_event.rb +21 -0
  48. data/lib/stripe/events/v2_money_management_outbound_transfer_posted_event.rb +21 -0
  49. data/lib/stripe/events/v2_money_management_outbound_transfer_returned_event.rb +21 -0
  50. data/lib/stripe/events/v2_money_management_outbound_transfer_updated_event.rb +21 -0
  51. data/lib/stripe/events/v2_money_management_received_credit_available_event.rb +23 -0
  52. data/lib/stripe/events/v2_money_management_received_credit_failed_event.rb +21 -0
  53. data/lib/stripe/events/v2_money_management_received_credit_returned_event.rb +21 -0
  54. data/lib/stripe/events/v2_money_management_received_credit_succeeded_event.rb +21 -0
  55. data/lib/stripe/events/v2_money_management_received_debit_canceled_event.rb +21 -0
  56. data/lib/stripe/events/v2_money_management_received_debit_failed_event.rb +21 -0
  57. data/lib/stripe/events/v2_money_management_received_debit_pending_event.rb +21 -0
  58. data/lib/stripe/events/v2_money_management_received_debit_succeeded_event.rb +21 -0
  59. data/lib/stripe/events/v2_money_management_received_debit_updated_event.rb +21 -0
  60. data/lib/stripe/events/v2_money_management_transaction_created_event.rb +21 -0
  61. data/lib/stripe/events/v2_money_management_transaction_updated_event.rb +21 -0
  62. data/lib/stripe/events/v2_off_session_payment_requires_capture_event.rb +21 -0
  63. data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_failed_event.rb +21 -0
  64. data/lib/stripe/events/v2_payments_off_session_payment_authorization_attempt_started_event.rb +21 -0
  65. data/lib/stripe/events/v2_payments_off_session_payment_canceled_event.rb +21 -0
  66. data/lib/stripe/events/v2_payments_off_session_payment_created_event.rb +21 -0
  67. data/lib/stripe/events/v2_payments_off_session_payment_failed_event.rb +21 -0
  68. data/lib/stripe/events/v2_payments_off_session_payment_succeeded_event.rb +21 -0
  69. data/lib/stripe/object_types.rb +50 -0
  70. data/lib/stripe/resources/account.rb +653 -1
  71. data/lib/stripe/resources/account_notice.rb +123 -0
  72. data/lib/stripe/resources/account_session.rb +256 -1
  73. data/lib/stripe/resources/balance_settings.rb +105 -0
  74. data/lib/stripe/resources/billing/credit_balance_summary.rb +2 -0
  75. data/lib/stripe/resources/billing/credit_balance_transaction.rb +4 -0
  76. data/lib/stripe/resources/billing/credit_grant.rb +10 -0
  77. data/lib/stripe/resources/billing_portal/session.rb +6 -0
  78. data/lib/stripe/resources/capital/financing_offer.rb +179 -0
  79. data/lib/stripe/resources/capital/financing_summary.rb +55 -0
  80. data/lib/stripe/resources/capital/financing_transaction.rb +114 -0
  81. data/lib/stripe/resources/card.rb +2 -0
  82. data/lib/stripe/resources/cash_balance.rb +2 -0
  83. data/lib/stripe/resources/charge.rb +1538 -0
  84. data/lib/stripe/resources/checkout/session.rb +326 -2
  85. data/lib/stripe/resources/confirmation_token.rb +170 -0
  86. data/lib/stripe/resources/coupon.rb +30 -1
  87. data/lib/stripe/resources/credit_note.rb +6 -0
  88. data/lib/stripe/resources/credit_note_line_item.rb +9 -0
  89. data/lib/stripe/resources/customer.rb +2 -0
  90. data/lib/stripe/resources/customer_balance_transaction.rb +2 -0
  91. data/lib/stripe/resources/customer_cash_balance_transaction.rb +2 -0
  92. data/lib/stripe/resources/customer_session.rb +6 -1
  93. data/lib/stripe/resources/discount.rb +2 -0
  94. data/lib/stripe/resources/dispute.rb +2 -0
  95. data/lib/stripe/resources/event.rb +31 -0
  96. data/lib/stripe/resources/financial_connections/account.rb +22 -1
  97. data/lib/stripe/resources/financial_connections/account_inferred_balance.rb +27 -0
  98. data/lib/stripe/resources/financial_connections/institution.rb +92 -0
  99. data/lib/stripe/resources/financial_connections/session.rb +62 -2
  100. data/lib/stripe/resources/fx_quote.rb +184 -0
  101. data/lib/stripe/resources/identity/verification_session.rb +10 -0
  102. data/lib/stripe/resources/invoice.rb +1063 -16
  103. data/lib/stripe/resources/invoice_item.rb +78 -2
  104. data/lib/stripe/resources/invoice_line_item.rb +55 -1
  105. data/lib/stripe/resources/invoice_payment.rb +2 -53
  106. data/lib/stripe/resources/issuing/cardholder.rb +2 -1
  107. data/lib/stripe/resources/issuing/credit_underwriting_record.rb +602 -0
  108. data/lib/stripe/resources/issuing/dispute_settlement_detail.rb +82 -0
  109. data/lib/stripe/resources/issuing/fraud_liability_debit.rb +86 -0
  110. data/lib/stripe/resources/issuing/settlement.rb +53 -0
  111. data/lib/stripe/resources/issuing/transaction.rb +6 -0
  112. data/lib/stripe/resources/line_item.rb +37 -0
  113. data/lib/stripe/resources/mandate.rb +24 -0
  114. data/lib/stripe/resources/margin.rb +115 -0
  115. data/lib/stripe/resources/order.rb +2958 -0
  116. data/lib/stripe/resources/payment_attempt_record.rb +1099 -0
  117. data/lib/stripe/resources/payment_intent.rb +8540 -3584
  118. data/lib/stripe/resources/payment_intent_amount_details_line_item.rb +72 -0
  119. data/lib/stripe/resources/payment_method.rb +192 -1
  120. data/lib/stripe/resources/payment_method_configuration.rb +295 -0
  121. data/lib/stripe/resources/payment_record.rb +1628 -0
  122. data/lib/stripe/resources/payout.rb +6 -0
  123. data/lib/stripe/resources/price.rb +30 -0
  124. data/lib/stripe/resources/privacy/redaction_job.rb +298 -0
  125. data/lib/stripe/resources/privacy/redaction_job_validation_error.rb +33 -0
  126. data/lib/stripe/resources/promotion_code.rb +10 -0
  127. data/lib/stripe/resources/quote.rb +2038 -7
  128. data/lib/stripe/resources/quote_line.rb +274 -0
  129. data/lib/stripe/resources/quote_preview_invoice.rb +663 -0
  130. data/lib/stripe/resources/quote_preview_subscription_schedule.rb +371 -0
  131. data/lib/stripe/resources/refund.rb +9 -0
  132. data/lib/stripe/resources/setup_attempt.rb +21 -0
  133. data/lib/stripe/resources/setup_intent.rb +578 -9
  134. data/lib/stripe/resources/source.rb +29 -0
  135. data/lib/stripe/resources/subscription.rb +288 -9
  136. data/lib/stripe/resources/subscription_item.rb +84 -3
  137. data/lib/stripe/resources/subscription_schedule.rb +1007 -10
  138. data/lib/stripe/resources/tax/association.rb +66 -0
  139. data/lib/stripe/resources/tax/form.rb +211 -0
  140. data/lib/stripe/resources/tax_id.rb +12 -2
  141. data/lib/stripe/resources/terminal/reader.rb +8 -0
  142. data/lib/stripe/resources/terminal/reader_collected_data.rb +31 -0
  143. data/lib/stripe/resources/transfer.rb +6 -0
  144. data/lib/stripe/resources/treasury/financial_account.rb +22 -3
  145. data/lib/stripe/resources/treasury/financial_account_features.rb +2 -0
  146. data/lib/stripe/resources/treasury/outbound_transfer.rb +37 -0
  147. data/lib/stripe/resources/treasury/received_credit.rb +38 -1
  148. data/lib/stripe/resources/treasury/received_debit.rb +40 -1
  149. data/lib/stripe/resources/v2/core/account.rb +1919 -0
  150. data/lib/stripe/resources/v2/core/account_link.rb +56 -0
  151. data/lib/stripe/resources/v2/core/person.rb +276 -0
  152. data/lib/stripe/resources/v2/core/vault/gb_bank_account.rb +74 -0
  153. data/lib/stripe/resources/v2/core/vault/us_bank_account.rb +39 -0
  154. data/lib/stripe/resources/v2/financial_address_credit_simulation.rb +20 -0
  155. data/lib/stripe/resources/v2/financial_address_generated_microdeposits.rb +22 -0
  156. data/lib/stripe/resources/v2/money_management/adjustment.rb +51 -0
  157. data/lib/stripe/resources/v2/money_management/financial_account.rb +77 -0
  158. data/lib/stripe/resources/v2/money_management/financial_address.rb +68 -0
  159. data/lib/stripe/resources/v2/money_management/inbound_transfer.rb +94 -0
  160. data/lib/stripe/resources/v2/money_management/outbound_payment.rb +129 -0
  161. data/lib/stripe/resources/v2/money_management/outbound_payment_quote.rb +82 -0
  162. data/lib/stripe/resources/v2/money_management/outbound_setup_intent.rb +45 -0
  163. data/lib/stripe/resources/v2/money_management/outbound_transfer.rb +117 -0
  164. data/lib/stripe/resources/v2/money_management/payout_method.rb +75 -0
  165. data/lib/stripe/resources/v2/money_management/payout_methods_bank_account_spec.rb +49 -0
  166. data/lib/stripe/resources/v2/money_management/received_credit.rb +122 -0
  167. data/lib/stripe/resources/v2/money_management/received_debit.rb +84 -0
  168. data/lib/stripe/resources/v2/money_management/transaction.rb +78 -0
  169. data/lib/stripe/resources/v2/money_management/transaction_entry.rb +68 -0
  170. data/lib/stripe/resources/v2/payments/off_session_payment.rb +72 -0
  171. data/lib/stripe/resources.rb +106 -0
  172. data/lib/stripe/services/account_notice_service.rb +101 -0
  173. data/lib/stripe/services/account_service.rb +562 -1
  174. data/lib/stripe/services/account_session_service.rb +226 -1
  175. data/lib/stripe/services/balance_settings_service.rb +96 -0
  176. data/lib/stripe/services/billing/credit_balance_summary_service.rb +4 -1
  177. data/lib/stripe/services/billing/credit_balance_transaction_service.rb +4 -0
  178. data/lib/stripe/services/billing/credit_grant_service.rb +8 -0
  179. data/lib/stripe/services/billing_portal/session_service.rb +4 -0
  180. data/lib/stripe/services/capital/financing_offer_service.rb +112 -0
  181. data/lib/stripe/services/capital/financing_summary_service.rb +28 -0
  182. data/lib/stripe/services/capital/financing_transaction_service.rb +79 -0
  183. data/lib/stripe/services/capital_service.rb +15 -0
  184. data/lib/stripe/services/charge_service.rb +1418 -0
  185. data/lib/stripe/services/checkout/session_service.rb +243 -2
  186. data/lib/stripe/services/coupon_service.rb +17 -1
  187. data/lib/stripe/services/credit_note_service.rb +4 -0
  188. data/lib/stripe/services/customer_session_service.rb +4 -1
  189. data/{rbi/stripe/services/account_external_account_service.rbi → lib/stripe/services/external_account_service.rb} +135 -122
  190. data/{rbi/stripe/services/tax/transaction_line_item_service.rbi → lib/stripe/services/financial_connections/account_inferred_balance_service.rb} +21 -17
  191. data/lib/stripe/services/financial_connections/account_service.rb +7 -2
  192. data/{rbi/stripe/services/climate/supplier_service.rbi → lib/stripe/services/financial_connections/institution_service.rb} +36 -25
  193. data/lib/stripe/services/financial_connections/session_service.rb +34 -2
  194. data/lib/stripe/services/financial_connections_service.rb +2 -1
  195. data/lib/stripe/services/fx_quote_service.rb +123 -0
  196. data/lib/stripe/services/identity/verification_session_service.rb +8 -0
  197. data/lib/stripe/services/invoice_item_service.rb +74 -2
  198. data/lib/stripe/services/invoice_line_item_service.rb +33 -1
  199. data/lib/stripe/services/invoice_service.rb +1014 -16
  200. data/lib/stripe/services/issuing/cardholder_service.rb +2 -1
  201. data/lib/stripe/services/issuing/credit_underwriting_record_service.rb +504 -0
  202. data/lib/stripe/services/issuing/dispute_settlement_detail_service.rb +66 -0
  203. data/lib/stripe/services/issuing/fraud_liability_debit_service.rb +83 -0
  204. data/lib/stripe/services/issuing/transaction_service.rb +4 -0
  205. data/lib/stripe/services/issuing_service.rb +5 -1
  206. data/lib/stripe/services/margin_service.rb +119 -0
  207. data/{rbi/stripe/services/source_transaction_service.rbi → lib/stripe/services/order_line_item_service.rb} +20 -16
  208. data/lib/stripe/services/order_service.rb +2388 -0
  209. data/lib/stripe/services/payment_attempt_record_service.rb +49 -0
  210. data/{rbi/stripe/services/quote_line_item_service.rbi → lib/stripe/services/payment_intent_amount_details_line_item_service.rb} +20 -16
  211. data/lib/stripe/services/payment_intent_service.rb +4879 -391
  212. data/lib/stripe/services/payment_method_configuration_service.rb +210 -0
  213. data/lib/stripe/services/payment_method_service.rb +120 -1
  214. data/lib/stripe/services/payment_record_service.rb +542 -0
  215. data/lib/stripe/services/payout_service.rb +4 -0
  216. data/lib/stripe/services/price_service.rb +19 -0
  217. data/lib/stripe/services/privacy/redaction_job_service.rb +240 -0
  218. data/{rbi/stripe/services/tax/calculation_line_item_service.rbi → lib/stripe/services/privacy/redaction_job_validation_error_service.rb} +21 -17
  219. data/lib/stripe/services/privacy_service.rb +13 -0
  220. data/lib/stripe/services/promotion_code_service.rb +8 -0
  221. data/{rbi/stripe/services/credit_note_line_item_service.rbi → lib/stripe/services/quote_line_service.rb} +20 -16
  222. data/{rbi/stripe/services/payment_link_line_item_service.rbi → lib/stripe/services/quote_preview_invoice_service.rb} +20 -16
  223. data/lib/stripe/services/quote_preview_subscription_schedule_service.rb +35 -0
  224. data/lib/stripe/services/quote_service.rb +1723 -8
  225. data/lib/stripe/services/setup_intent_service.rb +538 -9
  226. data/lib/stripe/services/subscription_item_service.rb +75 -3
  227. data/lib/stripe/services/subscription_schedule_service.rb +911 -10
  228. data/lib/stripe/services/subscription_service.rb +249 -9
  229. data/lib/stripe/services/tax/association_service.rb +31 -0
  230. data/lib/stripe/services/tax/form_service.rb +100 -0
  231. data/lib/stripe/services/tax_id_service.rb +8 -2
  232. data/lib/stripe/services/tax_service.rb +3 -1
  233. data/lib/stripe/services/terminal/reader_collected_data_service.rb +28 -0
  234. data/lib/stripe/services/terminal_service.rb +2 -1
  235. data/lib/stripe/services/test_helpers/confirmation_token_service.rb +97 -0
  236. data/lib/stripe/services/test_helpers/treasury/received_credit_service.rb +25 -1
  237. data/lib/stripe/services/test_helpers/treasury/received_debit_service.rb +25 -1
  238. data/lib/stripe/services/transfer_service.rb +4 -0
  239. data/lib/stripe/services/treasury/financial_account_features_service.rb +4 -1
  240. data/lib/stripe/services/treasury/financial_account_service.rb +16 -2
  241. data/lib/stripe/services/treasury/outbound_transfer_service.rb +24 -0
  242. data/lib/stripe/services/v1_services.rb +11 -2
  243. data/lib/stripe/services/v2/core/account_link_service.rb +76 -0
  244. data/lib/stripe/services/v2/core/account_service.rb +4486 -0
  245. data/lib/stripe/services/v2/core/accounts/person_service.rb +1045 -0
  246. data/lib/stripe/services/v2/core/vault/gb_bank_account_service.rb +130 -0
  247. data/lib/stripe/services/v2/core/vault/us_bank_account_service.rb +107 -0
  248. data/lib/stripe/services/v2/core/vault_service.rb +18 -0
  249. data/lib/stripe/services/v2/core_service.rb +4 -1
  250. data/lib/stripe/services/v2/money_management/adjustment_service.rb +74 -0
  251. data/lib/stripe/services/v2/money_management/financial_account_service.rb +116 -0
  252. data/lib/stripe/services/v2/money_management/financial_address_service.rb +82 -0
  253. data/lib/stripe/services/v2/money_management/inbound_transfer_service.rb +125 -0
  254. data/lib/stripe/services/v2/money_management/outbound_payment_quote_service.rb +95 -0
  255. data/lib/stripe/services/v2/money_management/outbound_payment_service.rb +199 -0
  256. data/lib/stripe/services/v2/money_management/outbound_setup_intent_service.rb +235 -0
  257. data/lib/stripe/services/v2/money_management/outbound_transfer_service.rb +172 -0
  258. data/lib/stripe/services/v2/money_management/payout_method_service.rb +90 -0
  259. data/lib/stripe/services/v2/money_management/payout_methods_bank_account_spec_service.rb +32 -0
  260. data/lib/stripe/services/v2/money_management/received_credit_service.rb +70 -0
  261. data/lib/stripe/services/v2/money_management/received_debit_service.rb +43 -0
  262. data/lib/stripe/services/v2/money_management/transaction_entry_service.rb +69 -0
  263. data/lib/stripe/services/v2/money_management/transaction_service.rb +73 -0
  264. data/lib/stripe/services/v2/money_management_service.rb +31 -0
  265. data/lib/stripe/services/v2/payment_service.rb +15 -0
  266. data/lib/stripe/services/v2/payments/off_session_payment_service.rb +137 -0
  267. data/lib/stripe/services/v2/test_helper_service.rb +15 -0
  268. data/lib/stripe/services/v2/test_helpers/financial_address_service.rb +49 -0
  269. data/lib/stripe/services/v2_services.rb +4 -1
  270. data/lib/stripe/services.rb +53 -1
  271. data/lib/stripe/stripe_configuration.rb +3 -1
  272. data/lib/stripe/stripe_object.rb +1 -1
  273. data/lib/stripe/util.rb +7 -1
  274. data/lib/stripe/version.rb +1 -1
  275. data/lib/stripe.rb +53 -0
  276. data/rbi/stripe.rbi +194513 -0
  277. data/stripe.gemspec +4 -1
  278. metadata +164 -325
  279. data/lib/stripe/services/invoice_payment_service.rb +0 -83
  280. data/rbi/stripe/resources/account.rbi +0 -4995
  281. data/rbi/stripe/resources/account_link.rbi +0 -74
  282. data/rbi/stripe/resources/account_session.rbi +0 -1013
  283. data/rbi/stripe/resources/apple_pay_domain.rbi +0 -88
  284. data/rbi/stripe/resources/application.rbi +0 -20
  285. data/rbi/stripe/resources/application_fee.rbi +0 -118
  286. data/rbi/stripe/resources/application_fee_refund.rbi +0 -37
  287. data/rbi/stripe/resources/apps/secret.rbi +0 -195
  288. data/rbi/stripe/resources/balance.rbi +0 -235
  289. data/rbi/stripe/resources/balance_transaction.rbi +0 -147
  290. data/rbi/stripe/resources/bank_account.rbi +0 -127
  291. data/rbi/stripe/resources/billing/alert.rbi +0 -201
  292. data/rbi/stripe/resources/billing/alert_triggered.rbi +0 -28
  293. data/rbi/stripe/resources/billing/credit_balance_summary.rbi +0 -63
  294. data/rbi/stripe/resources/billing/credit_balance_transaction.rbi +0 -147
  295. data/rbi/stripe/resources/billing/credit_grant.rbi +0 -291
  296. data/rbi/stripe/resources/billing/meter.rbi +0 -226
  297. data/rbi/stripe/resources/billing/meter_event.rbi +0 -64
  298. data/rbi/stripe/resources/billing/meter_event_adjustment.rbi +0 -64
  299. data/rbi/stripe/resources/billing/meter_event_summary.rbi +0 -35
  300. data/rbi/stripe/resources/billing_portal/configuration.rbi +0 -645
  301. data/rbi/stripe/resources/billing_portal/session.rbi +0 -345
  302. data/rbi/stripe/resources/capability.rbi +0 -125
  303. data/rbi/stripe/resources/card.rbi +0 -125
  304. data/rbi/stripe/resources/cash_balance.rbi +0 -32
  305. data/rbi/stripe/resources/charge.rbi +0 -2086
  306. data/rbi/stripe/resources/checkout/session.rbi +0 -4060
  307. data/rbi/stripe/resources/climate/order.rbi +0 -245
  308. data/rbi/stripe/resources/climate/product.rbi +0 -75
  309. data/rbi/stripe/resources/climate/supplier.rbi +0 -72
  310. data/rbi/stripe/resources/confirmation_token.rbi +0 -1818
  311. data/rbi/stripe/resources/connect_collection_transfer.rbi +0 -26
  312. data/rbi/stripe/resources/country_spec.rbi +0 -85
  313. data/rbi/stripe/resources/coupon.rbi +0 -250
  314. data/rbi/stripe/resources/credit_note.rbi +0 -752
  315. data/rbi/stripe/resources/credit_note_line_item.rbi +0 -101
  316. data/rbi/stripe/resources/customer.rbi +0 -1005
  317. data/rbi/stripe/resources/customer_balance_transaction.rbi +0 -56
  318. data/rbi/stripe/resources/customer_cash_balance_transaction.rbi +0 -151
  319. data/rbi/stripe/resources/customer_session.rbi +0 -200
  320. data/rbi/stripe/resources/discount.rbi +0 -53
  321. data/rbi/stripe/resources/dispute.rbi +0 -761
  322. data/rbi/stripe/resources/entitlements/active_entitlement.rbi +0 -58
  323. data/rbi/stripe/resources/entitlements/active_entitlement_summary.rbi +0 -23
  324. data/rbi/stripe/resources/entitlements/feature.rbi +0 -117
  325. data/rbi/stripe/resources/ephemeral_key.rbi +0 -44
  326. data/rbi/stripe/resources/event.rbi +0 -149
  327. data/rbi/stripe/resources/exchange_rate.rbi +0 -66
  328. data/rbi/stripe/resources/file.rbi +0 -143
  329. data/rbi/stripe/resources/file_link.rbi +0 -141
  330. data/rbi/stripe/resources/financial_connections/account.rbi +0 -339
  331. data/rbi/stripe/resources/financial_connections/account_owner.rbi +0 -35
  332. data/rbi/stripe/resources/financial_connections/account_ownership.rbi +0 -23
  333. data/rbi/stripe/resources/financial_connections/session.rbi +0 -123
  334. data/rbi/stripe/resources/financial_connections/transaction.rbi +0 -124
  335. data/rbi/stripe/resources/forwarding/request.rbi +0 -216
  336. data/rbi/stripe/resources/funding_instructions.rbi +0 -437
  337. data/rbi/stripe/resources/identity/verification_report.rbi +0 -360
  338. data/rbi/stripe/resources/identity/verification_session.rbi +0 -564
  339. data/rbi/stripe/resources/invoice.rbi +0 -3842
  340. data/rbi/stripe/resources/invoice_item.rbi +0 -470
  341. data/rbi/stripe/resources/invoice_line_item.rbi +0 -432
  342. data/rbi/stripe/resources/invoice_payment.rbi +0 -121
  343. data/rbi/stripe/resources/invoice_rendering_template.rbi +0 -104
  344. data/rbi/stripe/resources/issuing/authorization.rbi +0 -1283
  345. data/rbi/stripe/resources/issuing/card.rbi +0 -741
  346. data/rbi/stripe/resources/issuing/cardholder.rbi +0 -744
  347. data/rbi/stripe/resources/issuing/dispute.rbi +0 -913
  348. data/rbi/stripe/resources/issuing/personalization_design.rbi +0 -338
  349. data/rbi/stripe/resources/issuing/physical_bundle.rbi +0 -79
  350. data/rbi/stripe/resources/issuing/token.rbi +0 -226
  351. data/rbi/stripe/resources/issuing/transaction.rbi +0 -1061
  352. data/rbi/stripe/resources/line_item.rbi +0 -72
  353. data/rbi/stripe/resources/login_link.rbi +0 -19
  354. data/rbi/stripe/resources/mandate.rbi +0 -191
  355. data/rbi/stripe/resources/payment_intent.rbi +0 -9987
  356. data/rbi/stripe/resources/payment_link.rbi +0 -1801
  357. data/rbi/stripe/resources/payment_method.rbi +0 -1770
  358. data/rbi/stripe/resources/payment_method_configuration.rbi +0 -3550
  359. data/rbi/stripe/resources/payment_method_domain.rbi +0 -228
  360. data/rbi/stripe/resources/payout.rbi +0 -300
  361. data/rbi/stripe/resources/person.rbi +0 -401
  362. data/rbi/stripe/resources/plan.rbi +0 -371
  363. data/rbi/stripe/resources/price.rbi +0 -694
  364. data/rbi/stripe/resources/product.rbi +0 -555
  365. data/rbi/stripe/resources/product_feature.rbi +0 -26
  366. data/rbi/stripe/resources/promotion_code.rbi +0 -261
  367. data/rbi/stripe/resources/quote.rbi +0 -1145
  368. data/rbi/stripe/resources/radar/early_fraud_warning.rbi +0 -98
  369. data/rbi/stripe/resources/radar/value_list.rbi +0 -168
  370. data/rbi/stripe/resources/radar/value_list_item.rbi +0 -129
  371. data/rbi/stripe/resources/refund.rbi +0 -523
  372. data/rbi/stripe/resources/reporting/report_run.rbi +0 -191
  373. data/rbi/stripe/resources/reporting/report_type.rbi +0 -57
  374. data/rbi/stripe/resources/reserve_transaction.rbi +0 -23
  375. data/rbi/stripe/resources/reversal.rbi +0 -51
  376. data/rbi/stripe/resources/review.rbi +0 -154
  377. data/rbi/stripe/resources/setup_attempt.rbi +0 -477
  378. data/rbi/stripe/resources/setup_intent.rbi +0 -3978
  379. data/rbi/stripe/resources/shipping_rate.rbi +0 -305
  380. data/rbi/stripe/resources/sigma/scheduled_query_run.rbi +0 -75
  381. data/rbi/stripe/resources/source.rbi +0 -1496
  382. data/rbi/stripe/resources/source_mandate_notification.rbi +0 -77
  383. data/rbi/stripe/resources/source_transaction.rbi +0 -127
  384. data/rbi/stripe/resources/subscription.rbi +0 -2080
  385. data/rbi/stripe/resources/subscription_item.rbi +0 -404
  386. data/rbi/stripe/resources/subscription_schedule.rbi +0 -1645
  387. data/rbi/stripe/resources/tax/calculation.rbi +0 -478
  388. data/rbi/stripe/resources/tax/calculation_line_item.rbi +0 -91
  389. data/rbi/stripe/resources/tax/registration.rbi +0 -2732
  390. data/rbi/stripe/resources/tax/settings.rbi +0 -141
  391. data/rbi/stripe/resources/tax/transaction.rbi +0 -351
  392. data/rbi/stripe/resources/tax/transaction_line_item.rbi +0 -54
  393. data/rbi/stripe/resources/tax_code.rbi +0 -44
  394. data/rbi/stripe/resources/tax_deducted_at_source.rbi +0 -23
  395. data/rbi/stripe/resources/tax_id.rbi +0 -165
  396. data/rbi/stripe/resources/tax_rate.rbi +0 -239
  397. data/rbi/stripe/resources/terminal/configuration.rbi +0 -1387
  398. data/rbi/stripe/resources/terminal/connection_token.rbi +0 -37
  399. data/rbi/stripe/resources/terminal/location.rbi +0 -222
  400. data/rbi/stripe/resources/terminal/reader.rbi +0 -994
  401. data/rbi/stripe/resources/test_helpers/test_clock.rbi +0 -132
  402. data/rbi/stripe/resources/token.rbi +0 -1283
  403. data/rbi/stripe/resources/topup.rbi +0 -222
  404. data/rbi/stripe/resources/transfer.rbi +0 -199
  405. data/rbi/stripe/resources/treasury/credit_reversal.rbi +0 -119
  406. data/rbi/stripe/resources/treasury/debit_reversal.rbi +0 -131
  407. data/rbi/stripe/resources/treasury/financial_account.rbi +0 -869
  408. data/rbi/stripe/resources/treasury/financial_account_features.rbi +0 -260
  409. data/rbi/stripe/resources/treasury/inbound_transfer.rbi +0 -295
  410. data/rbi/stripe/resources/treasury/outbound_payment.rbi +0 -592
  411. data/rbi/stripe/resources/treasury/outbound_transfer.rbi +0 -431
  412. data/rbi/stripe/resources/treasury/received_credit.rbi +0 -302
  413. data/rbi/stripe/resources/treasury/received_debit.rbi +0 -256
  414. data/rbi/stripe/resources/treasury/transaction.rbi +0 -215
  415. data/rbi/stripe/resources/treasury/transaction_entry.rbi +0 -192
  416. data/rbi/stripe/resources/v2/amount.rbi +0 -14
  417. data/rbi/stripe/resources/v2/billing/meter_event.rbi +0 -37
  418. data/rbi/stripe/resources/v2/billing/meter_event_adjustment.rbi +0 -41
  419. data/rbi/stripe/resources/v2/billing/meter_event_session.rbi +0 -31
  420. data/rbi/stripe/resources/v2/event.rbi +0 -48
  421. data/rbi/stripe/resources/v2/event_destination.rbi +0 -91
  422. data/rbi/stripe/resources/webhook_endpoint.rbi +0 -168
  423. data/rbi/stripe/services/account_capability_service.rbi +0 -51
  424. data/rbi/stripe/services/account_link_service.rbi +0 -58
  425. data/rbi/stripe/services/account_login_link_service.rbi +0 -22
  426. data/rbi/stripe/services/account_person_service.rbi +0 -1011
  427. data/rbi/stripe/services/account_service.rbi +0 -4281
  428. data/rbi/stripe/services/account_session_service.rbi +0 -646
  429. data/rbi/stripe/services/apple_pay_domain_service.rbi +0 -76
  430. data/rbi/stripe/services/application_fee_refund_service.rbi +0 -93
  431. data/rbi/stripe/services/application_fee_service.rbi +0 -78
  432. data/rbi/stripe/services/apps/secret_service.rbi +0 -151
  433. data/rbi/stripe/services/apps_service.rbi +0 -9
  434. data/rbi/stripe/services/balance_service.rbi +0 -21
  435. data/rbi/stripe/services/balance_transaction_service.rbi +0 -93
  436. data/rbi/stripe/services/billing/alert_service.rbi +0 -152
  437. data/rbi/stripe/services/billing/credit_balance_summary_service.rbi +0 -68
  438. data/rbi/stripe/services/billing/credit_balance_transaction_service.rbi +0 -59
  439. data/rbi/stripe/services/billing/credit_grant_service.rbi +0 -211
  440. data/rbi/stripe/services/billing/meter_event_adjustment_service.rbi +0 -42
  441. data/rbi/stripe/services/billing/meter_event_service.rbi +0 -42
  442. data/rbi/stripe/services/billing/meter_event_summary_service.rbi +0 -54
  443. data/rbi/stripe/services/billing/meter_service.rbi +0 -163
  444. data/rbi/stripe/services/billing_portal/configuration_service.rbi +0 -511
  445. data/rbi/stripe/services/billing_portal/session_service.rbi +0 -204
  446. data/rbi/stripe/services/billing_portal_service.rbi +0 -10
  447. data/rbi/stripe/services/billing_service.rbi +0 -15
  448. data/rbi/stripe/services/charge_service.rbi +0 -448
  449. data/rbi/stripe/services/checkout/session_line_item_service.rbi +0 -33
  450. data/rbi/stripe/services/checkout/session_service.rbi +0 -2670
  451. data/rbi/stripe/services/checkout_service.rbi +0 -9
  452. data/rbi/stripe/services/climate/order_service.rbi +0 -142
  453. data/rbi/stripe/services/climate/product_service.rbi +0 -46
  454. data/rbi/stripe/services/climate_service.rbi +0 -11
  455. data/rbi/stripe/services/confirmation_token_service.rbi +0 -20
  456. data/rbi/stripe/services/country_spec_service.rbi +0 -44
  457. data/rbi/stripe/services/coupon_service.rbi +0 -194
  458. data/rbi/stripe/services/credit_note_preview_lines_service.rbi +0 -167
  459. data/rbi/stripe/services/credit_note_service.rbi +0 -415
  460. data/rbi/stripe/services/customer_balance_transaction_service.rbi +0 -92
  461. data/rbi/stripe/services/customer_cash_balance_service.rbi +0 -45
  462. data/rbi/stripe/services/customer_cash_balance_transaction_service.rbi +0 -44
  463. data/rbi/stripe/services/customer_funding_instructions_service.rbi +0 -59
  464. data/rbi/stripe/services/customer_payment_method_service.rbi +0 -57
  465. data/rbi/stripe/services/customer_payment_source_service.rbi +0 -232
  466. data/rbi/stripe/services/customer_service.rbi +0 -647
  467. data/rbi/stripe/services/customer_session_service.rbi +0 -116
  468. data/rbi/stripe/services/customer_tax_id_service.rbi +0 -70
  469. data/rbi/stripe/services/dispute_service.rbi +0 -424
  470. data/rbi/stripe/services/entitlements/active_entitlement_service.rbi +0 -55
  471. data/rbi/stripe/services/entitlements/feature_service.rbi +0 -107
  472. data/rbi/stripe/services/entitlements_service.rbi +0 -10
  473. data/rbi/stripe/services/ephemeral_key_service.rbi +0 -53
  474. data/rbi/stripe/services/event_service.rbi +0 -83
  475. data/rbi/stripe/services/exchange_rate_service.rbi +0 -44
  476. data/rbi/stripe/services/file_link_service.rbi +0 -124
  477. data/rbi/stripe/services/file_service.rbi +0 -116
  478. data/rbi/stripe/services/financial_connections/account_owner_service.rbi +0 -42
  479. data/rbi/stripe/services/financial_connections/account_service.rbi +0 -133
  480. data/rbi/stripe/services/financial_connections/session_service.rbi +0 -88
  481. data/rbi/stripe/services/financial_connections/transaction_service.rbi +0 -92
  482. data/rbi/stripe/services/financial_connections_service.rbi +0 -11
  483. data/rbi/stripe/services/forwarding/request_service.rbi +0 -134
  484. data/rbi/stripe/services/forwarding_service.rbi +0 -9
  485. data/rbi/stripe/services/identity/verification_report_service.rbi +0 -87
  486. data/rbi/stripe/services/identity/verification_session_service.rbi +0 -339
  487. data/rbi/stripe/services/identity_service.rbi +0 -10
  488. data/rbi/stripe/services/invoice_item_service.rbi +0 -366
  489. data/rbi/stripe/services/invoice_line_item_service.rbi +0 -259
  490. data/rbi/stripe/services/invoice_payment_service.rbi +0 -71
  491. data/rbi/stripe/services/invoice_rendering_template_service.rbi +0 -82
  492. data/rbi/stripe/services/invoice_service.rbi +0 -3011
  493. data/rbi/stripe/services/issuing/authorization_service.rbi +0 -146
  494. data/rbi/stripe/services/issuing/card_service.rbi +0 -495
  495. data/rbi/stripe/services/issuing/cardholder_service.rbi +0 -587
  496. data/rbi/stripe/services/issuing/dispute_service.rbi +0 -707
  497. data/rbi/stripe/services/issuing/personalization_design_service.rbi +0 -243
  498. data/rbi/stripe/services/issuing/physical_bundle_service.rbi +0 -59
  499. data/rbi/stripe/services/issuing/token_service.rbi +0 -99
  500. data/rbi/stripe/services/issuing/transaction_service.rbi +0 -105
  501. data/rbi/stripe/services/issuing_service.rbi +0 -16
  502. data/rbi/stripe/services/mandate_service.rbi +0 -20
  503. data/rbi/stripe/services/payment_intent_service.rbi +0 -7989
  504. data/rbi/stripe/services/payment_link_service.rbi +0 -1352
  505. data/rbi/stripe/services/payment_method_configuration_service.rbi +0 -2487
  506. data/rbi/stripe/services/payment_method_domain_service.rbi +0 -112
  507. data/rbi/stripe/services/payment_method_service.rbi +0 -781
  508. data/rbi/stripe/services/payout_service.rbi +0 -205
  509. data/rbi/stripe/services/plan_service.rbi +0 -282
  510. data/rbi/stripe/services/price_service.rbi +0 -546
  511. data/rbi/stripe/services/product_feature_service.rbi +0 -67
  512. data/rbi/stripe/services/product_service.rbi +0 -477
  513. data/rbi/stripe/services/promotion_code_service.rbi +0 -214
  514. data/rbi/stripe/services/quote_computed_upfront_line_items_service.rbi +0 -31
  515. data/rbi/stripe/services/quote_service.rbi +0 -699
  516. data/rbi/stripe/services/radar/early_fraud_warning_service.rbi +0 -85
  517. data/rbi/stripe/services/radar/value_list_item_service.rbi +0 -109
  518. data/rbi/stripe/services/radar/value_list_service.rbi +0 -141
  519. data/rbi/stripe/services/radar_service.rbi +0 -11
  520. data/rbi/stripe/services/refund_service.rbi +0 -185
  521. data/rbi/stripe/services/reporting/report_run_service.rbi +0 -135
  522. data/rbi/stripe/services/reporting/report_type_service.rbi +0 -35
  523. data/rbi/stripe/services/reporting_service.rbi +0 -10
  524. data/rbi/stripe/services/review_service.rbi +0 -84
  525. data/rbi/stripe/services/setup_attempt_service.rbi +0 -65
  526. data/rbi/stripe/services/setup_intent_service.rbi +0 -3709
  527. data/rbi/stripe/services/shipping_rate_service.rbi +0 -241
  528. data/rbi/stripe/services/sigma/scheduled_query_run_service.rbi +0 -46
  529. data/rbi/stripe/services/sigma_service.rbi +0 -9
  530. data/rbi/stripe/services/source_service.rbi +0 -663
  531. data/rbi/stripe/services/subscription_item_service.rbi +0 -350
  532. data/rbi/stripe/services/subscription_schedule_service.rbi +0 -1301
  533. data/rbi/stripe/services/subscription_service.rbi +0 -1684
  534. data/rbi/stripe/services/tax/calculation_service.rbi +0 -234
  535. data/rbi/stripe/services/tax/registration_service.rbi +0 -1858
  536. data/rbi/stripe/services/tax/settings_service.rbi +0 -93
  537. data/rbi/stripe/services/tax/transaction_service.rbi +0 -146
  538. data/rbi/stripe/services/tax_code_service.rbi +0 -44
  539. data/rbi/stripe/services/tax_id_service.rbi +0 -110
  540. data/rbi/stripe/services/tax_rate_service.rbi +0 -185
  541. data/rbi/stripe/services/tax_service.rbi +0 -12
  542. data/rbi/stripe/services/terminal/configuration_service.rbi +0 -1118
  543. data/rbi/stripe/services/terminal/connection_token_service.rbi +0 -25
  544. data/rbi/stripe/services/terminal/location_service.rbi +0 -182
  545. data/rbi/stripe/services/terminal/reader_service.rbi +0 -540
  546. data/rbi/stripe/services/terminal_service.rbi +0 -12
  547. data/rbi/stripe/services/test_helpers/confirmation_token_service.rbi +0 -746
  548. data/rbi/stripe/services/test_helpers/customer_service.rbi +0 -33
  549. data/rbi/stripe/services/test_helpers/issuing/authorization_service.rbi +0 -848
  550. data/rbi/stripe/services/test_helpers/issuing/card_service.rbi +0 -76
  551. data/rbi/stripe/services/test_helpers/issuing/personalization_design_service.rbi +0 -69
  552. data/rbi/stripe/services/test_helpers/issuing/transaction_service.rbi +0 -711
  553. data/rbi/stripe/services/test_helpers/issuing_service.rbi +0 -14
  554. data/rbi/stripe/services/test_helpers/refund_service.rbi +0 -22
  555. data/rbi/stripe/services/test_helpers/terminal/reader_service.rbi +0 -93
  556. data/rbi/stripe/services/test_helpers/terminal_service.rbi +0 -11
  557. data/rbi/stripe/services/test_helpers/test_clock_service.rbi +0 -90
  558. data/rbi/stripe/services/test_helpers/treasury/inbound_transfer_service.rbi +0 -64
  559. data/rbi/stripe/services/test_helpers/treasury/outbound_payment_service.rbi +0 -125
  560. data/rbi/stripe/services/test_helpers/treasury/outbound_transfer_service.rbi +0 -125
  561. data/rbi/stripe/services/test_helpers/treasury/received_credit_service.rbi +0 -87
  562. data/rbi/stripe/services/test_helpers/treasury/received_debit_service.rbi +0 -87
  563. data/rbi/stripe/services/test_helpers/treasury_service.rbi +0 -15
  564. data/rbi/stripe/services/test_helpers_service.rbi +0 -15
  565. data/rbi/stripe/services/token_service.rbi +0 -1257
  566. data/rbi/stripe/services/topup_service.rbi +0 -176
  567. data/rbi/stripe/services/transfer_reversal_service.rbi +0 -101
  568. data/rbi/stripe/services/transfer_service.rbi +0 -152
  569. data/rbi/stripe/services/treasury/credit_reversal_service.rbi +0 -84
  570. data/rbi/stripe/services/treasury/debit_reversal_service.rbi +0 -88
  571. data/rbi/stripe/services/treasury/financial_account_features_service.rbi +0 -198
  572. data/rbi/stripe/services/treasury/financial_account_service.rbi +0 -566
  573. data/rbi/stripe/services/treasury/inbound_transfer_service.rbi +0 -117
  574. data/rbi/stripe/services/treasury/outbound_payment_service.rbi +0 -304
  575. data/rbi/stripe/services/treasury/outbound_transfer_service.rbi +0 -157
  576. data/rbi/stripe/services/treasury/received_credit_service.rbi +0 -72
  577. data/rbi/stripe/services/treasury/received_debit_service.rbi +0 -59
  578. data/rbi/stripe/services/treasury/transaction_entry_service.rbi +0 -111
  579. data/rbi/stripe/services/treasury/transaction_service.rbi +0 -122
  580. data/rbi/stripe/services/treasury_service.rbi +0 -18
  581. data/rbi/stripe/services/v1_services.rbi +0 -77
  582. data/rbi/stripe/services/v2/billing/meter_event_adjustment_service.rbi +0 -39
  583. data/rbi/stripe/services/v2/billing/meter_event_service.rbi +0 -42
  584. data/rbi/stripe/services/v2/billing/meter_event_session_service.rbi +0 -18
  585. data/rbi/stripe/services/v2/billing/meter_event_stream_service.rbi +0 -55
  586. data/rbi/stripe/services/v2/billing_service.rbi +0 -14
  587. data/rbi/stripe/services/v2/core/event_destination_service.rbi +0 -192
  588. data/rbi/stripe/services/v2/core/event_service.rbi +0 -36
  589. data/rbi/stripe/services/v2/core_service.rbi +0 -12
  590. data/rbi/stripe/services/v2_services.rbi +0 -10
  591. data/rbi/stripe/services/webhook_endpoint_service.rbi +0 -129
@@ -0,0 +1,1919 @@
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
+
1083
+ class Storer < Stripe::StripeObject
1084
+ class Capabilities < Stripe::StripeObject
1085
+ class FinancialAddresses < Stripe::StripeObject
1086
+ class BankAccounts < Stripe::StripeObject
1087
+ class StatusDetail < Stripe::StripeObject
1088
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
1089
+ attr_reader :code
1090
+ # Machine-readable code explaining how to make the Capability active.
1091
+ attr_reader :resolution
1092
+ end
1093
+ # Whether the Capability has been requested.
1094
+ attr_reader :requested
1095
+ # The status of the Capability.
1096
+ attr_reader :status
1097
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
1098
+ attr_reader :status_details
1099
+ end
1100
+ # Can provision a bank-account like financial address (VBAN) to credit/debit a FinancialAccount.
1101
+ attr_reader :bank_accounts
1102
+ end
1103
+
1104
+ class HoldsCurrencies < Stripe::StripeObject
1105
+ class Gbp < Stripe::StripeObject
1106
+ class StatusDetail < Stripe::StripeObject
1107
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
1108
+ attr_reader :code
1109
+ # Machine-readable code explaining how to make the Capability active.
1110
+ attr_reader :resolution
1111
+ end
1112
+ # Whether the Capability has been requested.
1113
+ attr_reader :requested
1114
+ # The status of the Capability.
1115
+ attr_reader :status
1116
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
1117
+ attr_reader :status_details
1118
+ end
1119
+ # Can hold storage-type funds on Stripe in GBP.
1120
+ attr_reader :gbp
1121
+ end
1122
+
1123
+ class InboundTransfers < Stripe::StripeObject
1124
+ class BankAccounts < Stripe::StripeObject
1125
+ class StatusDetail < Stripe::StripeObject
1126
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
1127
+ attr_reader :code
1128
+ # Machine-readable code explaining how to make the Capability active.
1129
+ attr_reader :resolution
1130
+ end
1131
+ # Whether the Capability has been requested.
1132
+ attr_reader :requested
1133
+ # The status of the Capability.
1134
+ attr_reader :status
1135
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
1136
+ attr_reader :status_details
1137
+ end
1138
+ # Can pull funds from an external bank account, owned by yourself, to a FinancialAccount.
1139
+ attr_reader :bank_accounts
1140
+ end
1141
+
1142
+ class OutboundPayments < Stripe::StripeObject
1143
+ class BankAccounts < Stripe::StripeObject
1144
+ class StatusDetail < Stripe::StripeObject
1145
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
1146
+ attr_reader :code
1147
+ # Machine-readable code explaining how to make the Capability active.
1148
+ attr_reader :resolution
1149
+ end
1150
+ # Whether the Capability has been requested.
1151
+ attr_reader :requested
1152
+ # The status of the Capability.
1153
+ attr_reader :status
1154
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
1155
+ attr_reader :status_details
1156
+ end
1157
+
1158
+ class Cards < Stripe::StripeObject
1159
+ class StatusDetail < Stripe::StripeObject
1160
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
1161
+ attr_reader :code
1162
+ # Machine-readable code explaining how to make the Capability active.
1163
+ attr_reader :resolution
1164
+ end
1165
+ # Whether the Capability has been requested.
1166
+ attr_reader :requested
1167
+ # The status of the Capability.
1168
+ attr_reader :status
1169
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
1170
+ attr_reader :status_details
1171
+ end
1172
+
1173
+ class FinancialAccounts < Stripe::StripeObject
1174
+ class StatusDetail < Stripe::StripeObject
1175
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
1176
+ attr_reader :code
1177
+ # Machine-readable code explaining how to make the Capability active.
1178
+ attr_reader :resolution
1179
+ end
1180
+ # Whether the Capability has been requested.
1181
+ attr_reader :requested
1182
+ # The status of the Capability.
1183
+ attr_reader :status
1184
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
1185
+ attr_reader :status_details
1186
+ end
1187
+ # Can send funds from a FinancialAccount to a bank account, owned by someone else.
1188
+ attr_reader :bank_accounts
1189
+ # Can send funds from a FinancialAccount to a debit card, owned by someone else.
1190
+ attr_reader :cards
1191
+ # Can send funds from a FinancialAccount to another FinancialAccount, owned by someone else.
1192
+ attr_reader :financial_accounts
1193
+ end
1194
+
1195
+ class OutboundTransfers < Stripe::StripeObject
1196
+ class BankAccounts < Stripe::StripeObject
1197
+ class StatusDetail < Stripe::StripeObject
1198
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
1199
+ attr_reader :code
1200
+ # Machine-readable code explaining how to make the Capability active.
1201
+ attr_reader :resolution
1202
+ end
1203
+ # Whether the Capability has been requested.
1204
+ attr_reader :requested
1205
+ # The status of the Capability.
1206
+ attr_reader :status
1207
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
1208
+ attr_reader :status_details
1209
+ end
1210
+
1211
+ class FinancialAccounts < Stripe::StripeObject
1212
+ class StatusDetail < Stripe::StripeObject
1213
+ # Machine-readable code explaining the reason for the Capability to be in its current status.
1214
+ attr_reader :code
1215
+ # Machine-readable code explaining how to make the Capability active.
1216
+ attr_reader :resolution
1217
+ end
1218
+ # Whether the Capability has been requested.
1219
+ attr_reader :requested
1220
+ # The status of the Capability.
1221
+ attr_reader :status
1222
+ # Additional details regarding the status of the Capability. `status_details` will be empty if the Capability's status is `active`.
1223
+ attr_reader :status_details
1224
+ end
1225
+ # Can send funds from a FinancialAccount, to a bank account, owned by yourself.
1226
+ attr_reader :bank_accounts
1227
+ # Can send funds from a FinancialAccount to another FinancialAccount, owned by yourself.
1228
+ attr_reader :financial_accounts
1229
+ end
1230
+ # Can provision a financial address to credit/debit a FinancialAccount.
1231
+ attr_reader :financial_addresses
1232
+ # Can hold storage-type funds on Stripe.
1233
+ attr_reader :holds_currencies
1234
+ # Can pull funds from an external source, owned by yourself, to a FinancialAccount.
1235
+ attr_reader :inbound_transfers
1236
+ # Can send funds from a FinancialAccount to a destination owned by someone else.
1237
+ attr_reader :outbound_payments
1238
+ # Can send funds from a FinancialAccount to a destination owned by yourself.
1239
+ attr_reader :outbound_transfers
1240
+ end
1241
+ # Capabilities that have been requested on the Storer Configuration.
1242
+ attr_reader :capabilities
1243
+ end
1244
+ # The Customer Configuration allows the Account to be used in inbound payment flows.
1245
+ attr_reader :customer
1246
+ # 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.
1247
+ attr_reader :merchant
1248
+ # The Recipient Configuration allows the Account to receive funds.
1249
+ attr_reader :recipient
1250
+ # The Storer Configuration allows the Account to store and move funds using stored-value FinancialAccounts.
1251
+ attr_reader :storer
1252
+ end
1253
+
1254
+ class Defaults < Stripe::StripeObject
1255
+ class Responsibilities < Stripe::StripeObject
1256
+ # A value indicating the responsible payer of a bundle of Stripe fees for pricing-control eligible products on this Account.
1257
+ attr_reader :fees_collector
1258
+ # A value indicating who is responsible for losses when this Account can’t pay back negative balances from payments.
1259
+ attr_reader :losses_collector
1260
+ end
1261
+ # 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).
1262
+ attr_reader :currency
1263
+ # The Account's preferred locales (languages), ordered by preference.
1264
+ attr_reader :locales
1265
+ # Default responsibilities held by either Stripe or the platform.
1266
+ attr_reader :responsibilities
1267
+ end
1268
+
1269
+ class Identity < Stripe::StripeObject
1270
+ class Attestations < Stripe::StripeObject
1271
+ class DirectorshipDeclaration < Stripe::StripeObject
1272
+ # 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.
1273
+ attr_reader :date
1274
+ # The IP address from which the director attestation was made.
1275
+ attr_reader :ip
1276
+ # The user agent of the browser from which the director attestation was made.
1277
+ attr_reader :user_agent
1278
+ end
1279
+
1280
+ class OwnershipDeclaration < Stripe::StripeObject
1281
+ # 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.
1282
+ attr_reader :date
1283
+ # The IP address from which the beneficial owner attestation was made.
1284
+ attr_reader :ip
1285
+ # The user agent of the browser from which the beneficial owner attestation was made.
1286
+ attr_reader :user_agent
1287
+ end
1288
+
1289
+ class PersonsProvided < Stripe::StripeObject
1290
+ # 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).
1291
+ attr_reader :directors
1292
+ # 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).
1293
+ attr_reader :executives
1294
+ # 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).
1295
+ attr_reader :owners
1296
+ # Reason for why the company is exempt from providing ownership information.
1297
+ attr_reader :ownership_exemption_reason
1298
+ end
1299
+
1300
+ class TermsOfService < Stripe::StripeObject
1301
+ class Account < Stripe::StripeObject
1302
+ # 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.
1303
+ attr_reader :date
1304
+ # The IP address from which the Account's representative accepted the terms of service.
1305
+ attr_reader :ip
1306
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
1307
+ attr_reader :user_agent
1308
+ end
1309
+ # Details on the Account's acceptance of the [Stripe Services Agreement](https://docs.stripe.com/connect/updating-accounts#tos-acceptance).
1310
+ attr_reader :account
1311
+ end
1312
+ # This hash is used to attest that the directors information provided to Stripe is both current and correct.
1313
+ attr_reader :directorship_declaration
1314
+ # This hash is used to attest that the beneficial owner information provided to Stripe is both current and correct.
1315
+ attr_reader :ownership_declaration
1316
+ # Attestation that all Persons with a specific Relationship value have been provided.
1317
+ attr_reader :persons_provided
1318
+ # Attestations of accepted terms of service agreements.
1319
+ attr_reader :terms_of_service
1320
+ end
1321
+
1322
+ class BusinessDetails < Stripe::StripeObject
1323
+ class Address < Stripe::StripeObject
1324
+ # City, district, suburb, town, or village.
1325
+ attr_reader :city
1326
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1327
+ attr_reader :country
1328
+ # Address line 1 (e.g., street, PO Box, or company name).
1329
+ attr_reader :line1
1330
+ # Address line 2 (e.g., apartment, suite, unit, or building).
1331
+ attr_reader :line2
1332
+ # ZIP or postal code.
1333
+ attr_reader :postal_code
1334
+ # State, county, province, or region.
1335
+ attr_reader :state
1336
+ # Town or cho-me.
1337
+ attr_reader :town
1338
+ end
1339
+
1340
+ class AnnualRevenue < Stripe::StripeObject
1341
+ # A non-negative integer representing the amount in the smallest currency unit.
1342
+ attr_reader :amount
1343
+ # The close-out date of the preceding fiscal year in ISO 8601 format. E.g. 2023-12-31 for the 31st of December, 2023.
1344
+ attr_reader :fiscal_year_end
1345
+ end
1346
+
1347
+ class Documents < Stripe::StripeObject
1348
+ class BankAccountOwnershipVerification < Stripe::StripeObject
1349
+ # 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`.
1350
+ attr_reader :files
1351
+ # The format of the document. Currently supports `files` only.
1352
+ attr_reader :type
1353
+ end
1354
+
1355
+ class CompanyLicense < Stripe::StripeObject
1356
+ # 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`.
1357
+ attr_reader :files
1358
+ # The format of the document. Currently supports `files` only.
1359
+ attr_reader :type
1360
+ end
1361
+
1362
+ class CompanyMemorandumOfAssociation < Stripe::StripeObject
1363
+ # 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`.
1364
+ attr_reader :files
1365
+ # The format of the document. Currently supports `files` only.
1366
+ attr_reader :type
1367
+ end
1368
+
1369
+ class CompanyMinisterialDecree < Stripe::StripeObject
1370
+ # 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`.
1371
+ attr_reader :files
1372
+ # The format of the document. Currently supports `files` only.
1373
+ attr_reader :type
1374
+ end
1375
+
1376
+ class CompanyRegistrationVerification < Stripe::StripeObject
1377
+ # 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`.
1378
+ attr_reader :files
1379
+ # The format of the document. Currently supports `files` only.
1380
+ attr_reader :type
1381
+ end
1382
+
1383
+ class CompanyTaxIdVerification < Stripe::StripeObject
1384
+ # 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`.
1385
+ attr_reader :files
1386
+ # The format of the document. Currently supports `files` only.
1387
+ attr_reader :type
1388
+ end
1389
+
1390
+ class PrimaryVerification < Stripe::StripeObject
1391
+ class FrontBack < Stripe::StripeObject
1392
+ # 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.
1393
+ attr_reader :back
1394
+ # 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.
1395
+ attr_reader :front
1396
+ end
1397
+ # The [file upload](https://docs.stripe.com/api/persons/update#create_file) tokens for the front and back of the verification document.
1398
+ attr_reader :front_back
1399
+ # The format of the verification document. Currently supports `front_back` only.
1400
+ attr_reader :type
1401
+ end
1402
+
1403
+ class ProofOfAddress < Stripe::StripeObject
1404
+ # 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`.
1405
+ attr_reader :files
1406
+ # The format of the document. Currently supports `files` only.
1407
+ attr_reader :type
1408
+ end
1409
+
1410
+ class ProofOfRegistration < Stripe::StripeObject
1411
+ # 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`.
1412
+ attr_reader :files
1413
+ # The format of the document. Currently supports `files` only.
1414
+ attr_reader :type
1415
+ end
1416
+
1417
+ class ProofOfUltimateBeneficialOwnership < Stripe::StripeObject
1418
+ # 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`.
1419
+ attr_reader :files
1420
+ # The format of the document. Currently supports `files` only.
1421
+ attr_reader :type
1422
+ end
1423
+ # 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.
1424
+ attr_reader :bank_account_ownership_verification
1425
+ # One or more documents that demonstrate proof of a company’s license to operate.
1426
+ attr_reader :company_license
1427
+ # One or more documents showing the company’s Memorandum of Association.
1428
+ attr_reader :company_memorandum_of_association
1429
+ # Certain countries only: One or more documents showing the ministerial decree legalizing the company’s establishment.
1430
+ attr_reader :company_ministerial_decree
1431
+ # One or more documents that demonstrate proof of a company’s registration with the appropriate local authorities.
1432
+ attr_reader :company_registration_verification
1433
+ # One or more documents that demonstrate proof of a company’s tax ID.
1434
+ attr_reader :company_tax_id_verification
1435
+ # A document verifying the business.
1436
+ attr_reader :primary_verification
1437
+ # One or more documents that demonstrate proof of address.
1438
+ attr_reader :proof_of_address
1439
+ # One or more documents showing the company’s proof of registration with the national business registry.
1440
+ attr_reader :proof_of_registration
1441
+ # One or more documents that demonstrate proof of ultimate beneficial ownership.
1442
+ attr_reader :proof_of_ultimate_beneficial_ownership
1443
+ end
1444
+
1445
+ class IdNumber < Stripe::StripeObject
1446
+ # The registrar of the ID number (Only valid for DE ID number types).
1447
+ attr_reader :registrar
1448
+ # Open Enum. The ID number type of a business entity.
1449
+ attr_reader :type
1450
+ end
1451
+
1452
+ class MonthlyEstimatedRevenue < Stripe::StripeObject
1453
+ # A non-negative integer representing the amount in the smallest currency unit.
1454
+ attr_reader :amount
1455
+ end
1456
+
1457
+ class ScriptAddresses < Stripe::StripeObject
1458
+ class Kana < Stripe::StripeObject
1459
+ # City, district, suburb, town, or village.
1460
+ attr_reader :city
1461
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1462
+ attr_reader :country
1463
+ # Address line 1 (e.g., street, PO Box, or company name).
1464
+ attr_reader :line1
1465
+ # Address line 2 (e.g., apartment, suite, unit, or building).
1466
+ attr_reader :line2
1467
+ # ZIP or postal code.
1468
+ attr_reader :postal_code
1469
+ # State, county, province, or region.
1470
+ attr_reader :state
1471
+ # Town or cho-me.
1472
+ attr_reader :town
1473
+ end
1474
+
1475
+ class Kanji < Stripe::StripeObject
1476
+ # City, district, suburb, town, or village.
1477
+ attr_reader :city
1478
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1479
+ attr_reader :country
1480
+ # Address line 1 (e.g., street, PO Box, or company name).
1481
+ attr_reader :line1
1482
+ # Address line 2 (e.g., apartment, suite, unit, or building).
1483
+ attr_reader :line2
1484
+ # ZIP or postal code.
1485
+ attr_reader :postal_code
1486
+ # State, county, province, or region.
1487
+ attr_reader :state
1488
+ # Town or cho-me.
1489
+ attr_reader :town
1490
+ end
1491
+ # Kana Address.
1492
+ attr_reader :kana
1493
+ # Kanji Address.
1494
+ attr_reader :kanji
1495
+ end
1496
+
1497
+ class ScriptNames < Stripe::StripeObject
1498
+ class Kana < Stripe::StripeObject
1499
+ # Registered name of the business.
1500
+ attr_reader :registered_name
1501
+ end
1502
+
1503
+ class Kanji < Stripe::StripeObject
1504
+ # Registered name of the business.
1505
+ attr_reader :registered_name
1506
+ end
1507
+ # Kana name.
1508
+ attr_reader :kana
1509
+ # Kanji name.
1510
+ attr_reader :kanji
1511
+ end
1512
+ # The company’s primary address.
1513
+ attr_reader :address
1514
+ # The business gross annual revenue for its preceding fiscal year.
1515
+ attr_reader :annual_revenue
1516
+ # Documents that may be submitted to satisfy various informational requests.
1517
+ attr_reader :documents
1518
+ # The company’s legal name.
1519
+ attr_reader :doing_business_as
1520
+ # An estimated upper bound of employees, contractors, vendors, etc. currently working for the business.
1521
+ attr_reader :estimated_worker_count
1522
+ # The provided ID numbers of a business entity.
1523
+ attr_reader :id_numbers
1524
+ # An estimate of the monthly revenue of the business.
1525
+ attr_reader :monthly_estimated_revenue
1526
+ # The company’s phone number (used for verification).
1527
+ attr_reader :phone
1528
+ # Internal-only description of the product sold or service provided by the business. It’s used by Stripe for risk and underwriting purposes.
1529
+ attr_reader :product_description
1530
+ # The business legal name.
1531
+ attr_reader :registered_name
1532
+ # The business registration address of the business entity in non latin script.
1533
+ attr_reader :script_addresses
1534
+ # The business legal name in non latin script.
1535
+ attr_reader :script_names
1536
+ # The category identifying the legal structure of the business.
1537
+ attr_reader :structure
1538
+ # The business's publicly available website.
1539
+ attr_reader :url
1540
+ end
1541
+
1542
+ class Individual < Stripe::StripeObject
1543
+ class AdditionalAddress < Stripe::StripeObject
1544
+ # City, district, suburb, town, or village.
1545
+ attr_reader :city
1546
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1547
+ attr_reader :country
1548
+ # Address line 1 (e.g., street, PO Box, or company name).
1549
+ attr_reader :line1
1550
+ # Address line 2 (e.g., apartment, suite, unit, or building).
1551
+ attr_reader :line2
1552
+ # ZIP or postal code.
1553
+ attr_reader :postal_code
1554
+ # Purpose of additional address.
1555
+ attr_reader :purpose
1556
+ # State, county, province, or region.
1557
+ attr_reader :state
1558
+ # Town or cho-me.
1559
+ attr_reader :town
1560
+ end
1561
+
1562
+ class AdditionalName < Stripe::StripeObject
1563
+ # The individual's full name.
1564
+ attr_reader :full_name
1565
+ # The individual's first or given name.
1566
+ attr_reader :given_name
1567
+ # The purpose or type of the additional name.
1568
+ attr_reader :purpose
1569
+ # The individual's last or family name.
1570
+ attr_reader :surname
1571
+ end
1572
+
1573
+ class AdditionalTermsOfService < Stripe::StripeObject
1574
+ class Account < Stripe::StripeObject
1575
+ # 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.
1576
+ attr_reader :date
1577
+ # The IP address from which the Account's representative accepted the terms of service.
1578
+ attr_reader :ip
1579
+ # The user agent of the browser from which the Account's representative accepted the terms of service.
1580
+ attr_reader :user_agent
1581
+ end
1582
+ # Stripe terms of service agreement.
1583
+ attr_reader :account
1584
+ end
1585
+
1586
+ class Address < Stripe::StripeObject
1587
+ # City, district, suburb, town, or village.
1588
+ attr_reader :city
1589
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1590
+ attr_reader :country
1591
+ # Address line 1 (e.g., street, PO Box, or company name).
1592
+ attr_reader :line1
1593
+ # Address line 2 (e.g., apartment, suite, unit, or building).
1594
+ attr_reader :line2
1595
+ # ZIP or postal code.
1596
+ attr_reader :postal_code
1597
+ # State, county, province, or region.
1598
+ attr_reader :state
1599
+ # Town or cho-me.
1600
+ attr_reader :town
1601
+ end
1602
+
1603
+ class DateOfBirth < Stripe::StripeObject
1604
+ # The day of birth, between 1 and 31.
1605
+ attr_reader :day
1606
+ # The month of birth, between 1 and 12.
1607
+ attr_reader :month
1608
+ # The four-digit year of birth.
1609
+ attr_reader :year
1610
+ end
1611
+
1612
+ class Documents < Stripe::StripeObject
1613
+ class CompanyAuthorization < Stripe::StripeObject
1614
+ # 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`.
1615
+ attr_reader :files
1616
+ # The format of the document. Currently supports `files` only.
1617
+ attr_reader :type
1618
+ end
1619
+
1620
+ class Passport < Stripe::StripeObject
1621
+ # 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`.
1622
+ attr_reader :files
1623
+ # The format of the document. Currently supports `files` only.
1624
+ attr_reader :type
1625
+ end
1626
+
1627
+ class PrimaryVerification < Stripe::StripeObject
1628
+ class FrontBack < Stripe::StripeObject
1629
+ # 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.
1630
+ attr_reader :back
1631
+ # 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.
1632
+ attr_reader :front
1633
+ end
1634
+ # The [file upload](https://docs.stripe.com/api/persons/update#create_file) tokens for the front and back of the verification document.
1635
+ attr_reader :front_back
1636
+ # The format of the verification document. Currently supports `front_back` only.
1637
+ attr_reader :type
1638
+ end
1639
+
1640
+ class SecondaryVerification < Stripe::StripeObject
1641
+ class FrontBack < Stripe::StripeObject
1642
+ # 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.
1643
+ attr_reader :back
1644
+ # 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.
1645
+ attr_reader :front
1646
+ end
1647
+ # The [file upload](https://docs.stripe.com/api/persons/update#create_file) tokens for the front and back of the verification document.
1648
+ attr_reader :front_back
1649
+ # The format of the verification document. Currently supports `front_back` only.
1650
+ attr_reader :type
1651
+ end
1652
+
1653
+ class Visa < Stripe::StripeObject
1654
+ # 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`.
1655
+ attr_reader :files
1656
+ # The format of the document. Currently supports `files` only.
1657
+ attr_reader :type
1658
+ end
1659
+ # One or more documents that demonstrate proof that this person is authorized to represent the company.
1660
+ attr_reader :company_authorization
1661
+ # One or more documents showing the person’s passport page with photo and personal data.
1662
+ attr_reader :passport
1663
+ # An identifying document showing the person's name, either a passport or local ID card.
1664
+ attr_reader :primary_verification
1665
+ # A document showing address, either a passport, local ID card, or utility bill from a well-known utility company.
1666
+ attr_reader :secondary_verification
1667
+ # One or more documents showing the person’s visa required for living in the country where they are residing.
1668
+ attr_reader :visa
1669
+ end
1670
+
1671
+ class IdNumber < Stripe::StripeObject
1672
+ # The ID number type of an individual.
1673
+ attr_reader :type
1674
+ end
1675
+
1676
+ class Relationship < Stripe::StripeObject
1677
+ # Whether the individual is an authorizer of the Account’s legal entity.
1678
+ attr_reader :authorizer
1679
+ # 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.
1680
+ attr_reader :director
1681
+ # Whether the individual has significant responsibility to control, manage, or direct the organization.
1682
+ attr_reader :executive
1683
+ # Whether the individual is the legal guardian of the Account’s representative.
1684
+ attr_reader :legal_guardian
1685
+ # Whether the individual is an owner of the Account’s legal entity.
1686
+ attr_reader :owner
1687
+ # The percent owned by the individual of the Account’s legal entity.
1688
+ attr_reader :percent_ownership
1689
+ # 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.
1690
+ attr_reader :representative
1691
+ # The individual's title (e.g., CEO, Support Engineer).
1692
+ attr_reader :title
1693
+ end
1694
+
1695
+ class ScriptAddresses < Stripe::StripeObject
1696
+ class Kana < Stripe::StripeObject
1697
+ # City, district, suburb, town, or village.
1698
+ attr_reader :city
1699
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1700
+ attr_reader :country
1701
+ # Address line 1 (e.g., street, PO Box, or company name).
1702
+ attr_reader :line1
1703
+ # Address line 2 (e.g., apartment, suite, unit, or building).
1704
+ attr_reader :line2
1705
+ # ZIP or postal code.
1706
+ attr_reader :postal_code
1707
+ # State, county, province, or region.
1708
+ attr_reader :state
1709
+ # Town or cho-me.
1710
+ attr_reader :town
1711
+ end
1712
+
1713
+ class Kanji < Stripe::StripeObject
1714
+ # City, district, suburb, town, or village.
1715
+ attr_reader :city
1716
+ # Two-letter country code ([ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
1717
+ attr_reader :country
1718
+ # Address line 1 (e.g., street, PO Box, or company name).
1719
+ attr_reader :line1
1720
+ # Address line 2 (e.g., apartment, suite, unit, or building).
1721
+ attr_reader :line2
1722
+ # ZIP or postal code.
1723
+ attr_reader :postal_code
1724
+ # State, county, province, or region.
1725
+ attr_reader :state
1726
+ # Town or cho-me.
1727
+ attr_reader :town
1728
+ end
1729
+ # Kana Address.
1730
+ attr_reader :kana
1731
+ # Kanji Address.
1732
+ attr_reader :kanji
1733
+ end
1734
+
1735
+ class ScriptNames < Stripe::StripeObject
1736
+ class Kana < Stripe::StripeObject
1737
+ # The person's first or given name.
1738
+ attr_reader :given_name
1739
+ # The person's last or family name.
1740
+ attr_reader :surname
1741
+ end
1742
+
1743
+ class Kanji < Stripe::StripeObject
1744
+ # The person's first or given name.
1745
+ attr_reader :given_name
1746
+ # The person's last or family name.
1747
+ attr_reader :surname
1748
+ end
1749
+ # Persons name in kana script.
1750
+ attr_reader :kana
1751
+ # Persons name in kanji script.
1752
+ attr_reader :kanji
1753
+ end
1754
+ # The account ID which the individual belongs to.
1755
+ attr_reader :account
1756
+ # Additional addresses associated with the individual.
1757
+ attr_reader :additional_addresses
1758
+ # Additional names (e.g. aliases) associated with the individual.
1759
+ attr_reader :additional_names
1760
+ # Terms of service acceptances.
1761
+ attr_reader :additional_terms_of_service
1762
+ # The individual's residential address.
1763
+ attr_reader :address
1764
+ # 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.
1765
+ attr_reader :created
1766
+ # The individual's date of birth.
1767
+ attr_reader :date_of_birth
1768
+ # Documents that may be submitted to satisfy various informational requests.
1769
+ attr_reader :documents
1770
+ # The individual's email address.
1771
+ attr_reader :email
1772
+ # The individual's first name.
1773
+ attr_reader :given_name
1774
+ # Unique identifier for the object.
1775
+ attr_reader :id
1776
+ # The identification numbers (e.g., SSN) associated with the individual.
1777
+ attr_reader :id_numbers
1778
+ # The individual's gender (International regulations require either "male” or "female").
1779
+ attr_reader :legal_gender
1780
+ # 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.
1781
+ attr_reader :metadata
1782
+ # 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)).
1783
+ attr_reader :nationalities
1784
+ # String representing the object's type. Objects of the same type share the same value.
1785
+ attr_reader :object
1786
+ # The individual's phone number.
1787
+ attr_reader :phone
1788
+ # 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.
1789
+ attr_reader :political_exposure
1790
+ # The relationship that this individual has with the Account's identity.
1791
+ attr_reader :relationship
1792
+ # The script addresses (e.g., non-Latin characters) associated with the individual.
1793
+ attr_reader :script_addresses
1794
+ # The script names (e.g. non-Latin characters) associated with the individual.
1795
+ attr_reader :script_names
1796
+ # The individual's last name.
1797
+ attr_reader :surname
1798
+ # Time at which the object was last updated.
1799
+ attr_reader :updated
1800
+ end
1801
+ # Attestations from the identity's key people, e.g. owners, executives, directors.
1802
+ attr_reader :attestations
1803
+ # Information about the company or business.
1804
+ attr_reader :business_details
1805
+ # 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.
1806
+ attr_reader :country
1807
+ # The entity type.
1808
+ attr_reader :entity_type
1809
+ # Information about the individual represented by the Account. This property is `null` unless `entity_type` is set to `individual`.
1810
+ attr_reader :individual
1811
+ end
1812
+
1813
+ class Requirements < Stripe::StripeObject
1814
+ class Entry < Stripe::StripeObject
1815
+ class Error < Stripe::StripeObject
1816
+ # Machine-readable code describing the error.
1817
+ attr_reader :code
1818
+ # Human-readable description of the error.
1819
+ attr_reader :description
1820
+ end
1821
+
1822
+ class Impact < Stripe::StripeObject
1823
+ class RestrictsCapability < Stripe::StripeObject
1824
+ class Deadline < Stripe::StripeObject
1825
+ # The current status of the requirement's impact.
1826
+ attr_reader :status
1827
+ end
1828
+ # The name of the Capability which will be restricted.
1829
+ attr_reader :capability
1830
+ # The configuration which specifies the Capability which will be restricted.
1831
+ attr_reader :configuration
1832
+ # Details about when in the account lifecycle the requirement must be collected by the avoid the Capability restriction.
1833
+ attr_reader :deadline
1834
+ end
1835
+ # The Capabilities that will be restricted if the requirement is not collected and satisfactory to Stripe.
1836
+ attr_reader :restricts_capabilities
1837
+ end
1838
+
1839
+ class MinimumDeadline < Stripe::StripeObject
1840
+ # The current status of the requirement's impact.
1841
+ attr_reader :status
1842
+ end
1843
+
1844
+ class Reference < Stripe::StripeObject
1845
+ # If `inquiry` is the type, the inquiry token.
1846
+ attr_reader :inquiry
1847
+ # If `resource` is the type, the resource token.
1848
+ attr_reader :resource
1849
+ # The type of the reference. An additional hash is included with a name matching the type. It contains additional information specific to the type.
1850
+ attr_reader :type
1851
+ end
1852
+
1853
+ class RequestedReason < Stripe::StripeObject
1854
+ # Machine-readable description of Stripe's reason for collecting the requirement.
1855
+ attr_reader :code
1856
+ end
1857
+ # Whether the responsibility is with the integrator or with Stripe (to review info, to wait for some condition, etc.) to action the requirement.
1858
+ attr_reader :awaiting_action_from
1859
+ # Machine-readable string describing the requirement.
1860
+ attr_reader :description
1861
+ # Descriptions of why the requirement must be collected, or why the collected information isn't satisfactory to Stripe.
1862
+ attr_reader :errors
1863
+ # A hash describing the impact of not collecting the requirement, or Stripe not being able to verify the collected information.
1864
+ attr_reader :impact
1865
+ # The soonest point when the account will be impacted by not providing the requirement.
1866
+ attr_reader :minimum_deadline
1867
+ # A reference to the location of the requirement.
1868
+ attr_reader :reference
1869
+ # A list of reasons why Stripe is collecting the requirement.
1870
+ attr_reader :requested_reasons
1871
+ end
1872
+
1873
+ class Summary < Stripe::StripeObject
1874
+ class MinimumDeadline < Stripe::StripeObject
1875
+ # The current strictest status of all requirements on the Account.
1876
+ attr_reader :status
1877
+ # The soonest RFC3339 date & time UTC value a requirement can impact the Account.
1878
+ attr_reader :time
1879
+ end
1880
+ # 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`.
1881
+ attr_reader :minimum_deadline
1882
+ end
1883
+ # A value indicating responsibility for collecting requirements on this account.
1884
+ attr_reader :collector
1885
+ # A list of requirements for the Account.
1886
+ attr_reader :entries
1887
+ # An object containing an overview of requirements for the Account.
1888
+ attr_reader :summary
1889
+ end
1890
+ # Filter only accounts that have all of the configurations specified. If omitted, returns all accounts regardless of which configurations they have.
1891
+ attr_reader :applied_configurations
1892
+ # An Account Configuration which allows the Account to take on a key persona across Stripe products.
1893
+ attr_reader :configuration
1894
+ # The default contact email address for the Account. Required when configuring the account as a merchant or recipient.
1895
+ attr_reader :contact_email
1896
+ # 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.
1897
+ attr_reader :created
1898
+ # A value indicating the Stripe dashboard this Account has access to. This will depend on which configurations are enabled for this account.
1899
+ attr_reader :dashboard
1900
+ # Default values to be used on Account Configurations.
1901
+ attr_reader :defaults
1902
+ # A descriptive name for the Account. This name will be surfaced in the Stripe Dashboard and on any invoices sent to the Account.
1903
+ attr_reader :display_name
1904
+ # Unique identifier for the Account.
1905
+ attr_reader :id
1906
+ # Information about the company, individual, and business represented by the Account.
1907
+ attr_reader :identity
1908
+ # 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.
1909
+ attr_reader :metadata
1910
+ # String representing the object's type. Objects of the same type share the same value of the object field.
1911
+ attr_reader :object
1912
+ # Information about the requirements for the Account, including what information needs to be collected, and by when.
1913
+ attr_reader :requirements
1914
+ # Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
1915
+ attr_reader :livemode
1916
+ end
1917
+ end
1918
+ end
1919
+ end